From a07f56db6f334ad4878a8418b1e84a4da3f99589 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Tue, 31 Mar 2026 15:32:36 +0200 Subject: [PATCH] Restructure and rename --- src/examples/IfcAdvancedHouse.cpp | 10 +- src/examples/IfcAlignment.cpp | 40 +- src/examples/IfcOpenHouse.cpp | 10 +- src/examples/IfcParseExamples.cpp | 26 +- src/examples/IfcSimplifiedAlignment.cpp | 10 +- src/examples/arbitrary_open_profile_def.cpp | 44 +- src/examples/composite_profile_def.cpp | 22 +- src/examples/csg_primitive.cpp | 14 +- src/examples/ellipse_pies.cpp | 24 +- src/examples/faces.cpp | 10 +- src/examples/ifc_curve_rebar.cpp | 28 +- src/examples/profiles.cpp | 12 +- src/examples/triangulated_faceset.cpp | 8 +- src/ifcconvert/IfcConvert.cpp | 312 +- src/ifcconvert/validate_space_boundaries.cpp | 30 +- .../validate_storey_containment.cpp | 32 +- src/ifcconvert/validate_wall_connectivity.cpp | 36 +- src/ifcconvert/validation_utils.h | 14 +- src/ifcgeom/AbstractKernel.cpp | 4 +- src/ifcgeom/AbstractKernel.h | 10 +- src/ifcgeom/Converter.cpp | 34 +- src/ifcgeom/Converter.h | 4 +- src/ifcgeom/GeometrySerializer.h | 6 +- src/ifcgeom/IfcGeomElement.h | 12 +- src/ifcgeom/IfcGeomFilter.h | 2 +- src/ifcgeom/Iterator.cpp | 58 +- src/ifcgeom/Iterator.h | 14 +- src/ifcgeom/Serialization/Serialization.cpp | 22 +- src/ifcgeom/Serialization/Serialization.h | 4 +- .../Serialization/schema/Serialization.cpp | 38 +- src/ifcgeom/Serializer.h | 4 +- src/ifcgeom/abstract_mapping.cpp | 6 +- src/ifcgeom/abstract_mapping.h | 4 +- src/ifcgeom/function_item_evaluator.cpp | 4 +- src/ifcgeom/hybrid_kernel.h | 12 +- src/ifcgeom/infra_sweep_helper.cpp | 22 +- .../kernels/cgal/CgalConversionResult.cpp | 18 +- .../kernels/cgal/CgalConversionResult.h | 2 +- src/ifcgeom/kernels/cgal/CgalKernel.cpp | 96 +- src/ifcgeom/kernels/cgal/CgalKernel.h | 2 +- src/ifcgeom/kernels/opencascade/IfcGeomTree.h | 8 +- .../OpenCascadeConversionResult.cpp | 12 +- .../opencascade/OpenCascadeConversionResult.h | 2 +- .../kernels/opencascade/OpenCascadeKernel.cpp | 80 +- .../kernels/opencascade/base_utils.cpp | 28 +- .../kernels/opencascade/boolean_result.cpp | 6 +- .../kernels/opencascade/boolean_utils.cpp | 72 +- src/ifcgeom/kernels/opencascade/extrusion.cpp | 4 +- src/ifcgeom/kernels/opencascade/face.cpp | 28 +- .../kernels/opencascade/faceset_helper.cpp | 6 +- src/ifcgeom/kernels/opencascade/layerset.cpp | 14 +- src/ifcgeom/kernels/opencascade/loft.cpp | 2 +- src/ifcgeom/kernels/opencascade/loop.cpp | 10 +- src/ifcgeom/kernels/opencascade/shell.cpp | 14 +- src/ifcgeom/kernels/opencascade/solid.cpp | 2 +- .../kernels/opencascade/sweep_along_curve.cpp | 4 +- .../kernels/opencascade/sweep_utils.cpp | 6 +- .../kernels/opencascade/wire_builder.cpp | 24 +- .../kernels/opencascade/wire_utils.cpp | 38 +- src/ifcgeom/mapping/IfcAxis1Placement.cpp | 2 +- src/ifcgeom/mapping/IfcAxis2Placement2D.cpp | 2 +- src/ifcgeom/mapping/IfcAxis2Placement3D.cpp | 4 +- .../mapping/IfcAxis2PlacementLinear.cpp | 4 +- src/ifcgeom/mapping/IfcCShapeProfileDef.cpp | 2 +- src/ifcgeom/mapping/IfcCircle.cpp | 2 +- src/ifcgeom/mapping/IfcCompositeCurve.cpp | 20 +- src/ifcgeom/mapping/IfcCurveSegment.cpp | 34 +- src/ifcgeom/mapping/IfcEdge.cpp | 4 +- src/ifcgeom/mapping/IfcEllipse.cpp | 2 +- src/ifcgeom/mapping/IfcEllipseProfileDef.cpp | 2 +- src/ifcgeom/mapping/IfcExtrudedAreaSolid.cpp | 2 +- .../mapping/IfcExtrudedAreaSolidTapered.cpp | 2 +- .../IfcFixedReferenceSweptAreaSolid.cpp | 2 +- src/ifcgeom/mapping/IfcGradientCurve.cpp | 8 +- src/ifcgeom/mapping/IfcHalfSpaceSolid.cpp | 2 +- src/ifcgeom/mapping/IfcIShapeProfileDef.cpp | 2 +- src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp | 12 +- src/ifcgeom/mapping/IfcLShapeProfileDef.cpp | 4 +- src/ifcgeom/mapping/IfcObjectPlacement.cpp | 16 +- .../mapping/IfcOffsetCurveByDistance.cpp | 8 +- .../mapping/IfcOpenCrossProfileDef.cpp | 4 +- src/ifcgeom/mapping/IfcPolyLoop.cpp | 8 +- src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp | 4 +- src/ifcgeom/mapping/IfcPolyline.cpp | 4 +- .../mapping/IfcRectangleHollowProfileDef.cpp | 2 +- .../mapping/IfcRectangleProfileDef.cpp | 2 +- .../mapping/IfcRectangularTrimmedSurface.cpp | 2 +- src/ifcgeom/mapping/IfcRevolvedAreaSolid.cpp | 2 +- .../mapping/IfcRoundedRectangleProfileDef.cpp | 2 +- .../mapping/IfcSectionedSolidHorizontal.cpp | 6 +- src/ifcgeom/mapping/IfcSectionedSurface.cpp | 6 +- .../mapping/IfcSegmentedReferenceCurve.cpp | 8 +- .../mapping/IfcSurfaceCurveSweptAreaSolid.cpp | 6 +- src/ifcgeom/mapping/IfcSweptDiskSolid.cpp | 18 +- src/ifcgeom/mapping/IfcTShapeProfileDef.cpp | 4 +- .../mapping/IfcTrapeziumProfileDef.cpp | 2 +- .../mapping/IfcTriangulatedFaceSet.cpp | 2 +- src/ifcgeom/mapping/IfcTrimmedCurve.cpp | 10 +- src/ifcgeom/mapping/IfcUShapeProfileDef.cpp | 2 +- src/ifcgeom/mapping/IfcZShapeProfileDef.cpp | 2 +- src/ifcgeom/mapping/mapping.cpp | 92 +- src/ifcgeom/mapping/mapping.h | 16 +- src/ifcgeom/profile_helper.cpp | 2 +- src/ifcgeom/taxonomy.cpp | 8 +- src/ifcgeom/taxonomy.h | 2 +- src/ifcgeomserver/IfcGeomServer.cpp | 18 +- src/ifcmax/IfcMax.cpp | 2 +- .../ifcopenshell/express/header.py | 10 +- .../ifcopenshell/express/implementation.py | 14 +- .../ifcopenshell/express/mapping.py | 6 +- .../ifcopenshell/express/rules/IFC2X3.py | 2 +- .../ifcopenshell/express/rules/IFC4.py | 2 +- .../ifcopenshell/express/rules/IFC4X1.py | 2 +- .../ifcopenshell/express/rules/IFC4X2.py | 2 +- .../ifcopenshell/express/rules/IFC4X3.py | 2 +- .../ifcopenshell/express/rules/IFC4X3_ADD1.py | 2 +- .../ifcopenshell/express/rules/IFC4X3_ADD2.py | 2 +- .../ifcopenshell/express/rules/IFC4X3_RC1.py | 2 +- .../ifcopenshell/express/rules/IFC4X3_RC2.py | 2 +- .../ifcopenshell/express/rules/IFC4X3_RC3.py | 2 +- .../ifcopenshell/express/rules/IFC4X3_RC4.py | 2 +- .../ifcopenshell/express/rules/IFC4X3_TC1.py | 2 +- .../ifcopenshell/express/schema_class.py | 12 +- .../ifcopenshell/express/templates.py | 74 +- src/ifcparse/CMakeLists.txt | 8 + src/ifcparse/IfcException.cpp | 7 - src/ifcparse/IfcSpfHeader.cpp | 97 - src/ifcparse/IfcWrite.cpp | 0 src/ifcparse/IfcWrite.h | 31 - ...ignmentHelper.cpp => alignment_helper.cpp} | 82 +- ...fcAlignmentHelper.h => alignment_helper.h} | 16 +- src/ifcparse/{Argument.h => argument.h} | 10 +- .../{ArgumentType.h => argument_type.h} | 12 +- ...acterDecoder.cpp => character_decoder.cpp} | 62 +- ...CharacterDecoder.h => character_decoder.h} | 24 +- ...tanceData.cpp => entity_instance_data.cpp} | 204 +- src/ifcparse/exception.cpp | 7 + src/ifcparse/{IfcException.h => exception.h} | 34 +- src/ifcparse/express.cpp | 8 +- src/ifcparse/express.h | 38 +- src/ifcparse/{IfcFile.cpp => file.cpp} | 140 +- src/ifcparse/{IfcFile.h => file.h} | 178 +- src/ifcparse/file_open_status.h | 2 +- .../{FileReader.cpp => file_reader.cpp} | 93 +- src/ifcparse/{FileReader.h => file_reader.h} | 112 +- .../{IfcGlobalId.cpp => global_id.cpp} | 22 +- src/ifcparse/{IfcGlobalId.h => global_id.h} | 10 +- ...erarchyHelper.cpp => hierarchy_helper.cpp} | 252 +- ...fcHierarchyHelper.h => hierarchy_helper.h} | 145 +- .../{InstanceData.h => instance_data.h} | 154 +- src/ifcparse/{IfcLogger.cpp => logger.cpp} | 108 +- src/ifcparse/{IfcLogger.h => logger.h} | 50 +- src/ifcparse/map_variant.h | 10 +- src/ifcparse/{IfcParse.cpp => parse.cpp} | 778 +- src/ifcparse/{IfcParse.h => parse.h} | 36 +- src/ifcparse/{IfcSchema.cpp => schema.cpp} | 40 +- src/ifcparse/{IfcSchema.h => schema.h} | 22 +- .../Header_section_schema-schema.cpp | 8 +- .../{ => schemas}/Header_section_schema.cpp | 20 +- .../{ => schemas}/Header_section_schema.h | 40 +- src/ifcparse/schemas/Ifc2x3-schema.cpp | 6 +- src/ifcparse/schemas/Ifc2x3.cpp | 4642 +++++------ src/ifcparse/schemas/Ifc2x3.h | 3844 ++++----- src/ifcparse/schemas/Ifc4-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4.cpp | 6160 +++++++------- src/ifcparse/schemas/Ifc4.h | 4588 +++++------ src/ifcparse/schemas/Ifc4x1-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x1.cpp | 6268 +++++++-------- src/ifcparse/schemas/Ifc4x1.h | 4700 +++++------ src/ifcparse/schemas/Ifc4x2-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x2.cpp | 6430 +++++++-------- src/ifcparse/schemas/Ifc4x2.h | 4788 +++++------ src/ifcparse/schemas/Ifc4x3-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x3.cpp | 7080 ++++++++--------- src/ifcparse/schemas/Ifc4x3.h | 5138 ++++++------ src/ifcparse/schemas/Ifc4x3_add1-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x3_add1.cpp | 7024 ++++++++-------- src/ifcparse/schemas/Ifc4x3_add1.h | 5142 ++++++------ src/ifcparse/schemas/Ifc4x3_add2-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x3_add2.cpp | 7024 ++++++++-------- src/ifcparse/schemas/Ifc4x3_add2.h | 5142 ++++++------ src/ifcparse/schemas/Ifc4x3_rc1-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x3_rc1.cpp | 7002 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc1.h | 5152 ++++++------ src/ifcparse/schemas/Ifc4x3_rc2-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x3_rc2.cpp | 7056 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc2.h | 5190 ++++++------ src/ifcparse/schemas/Ifc4x3_rc3-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x3_rc3.cpp | 7042 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc3.h | 5156 ++++++------ src/ifcparse/schemas/Ifc4x3_rc4-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x3_rc4.cpp | 7044 ++++++++-------- src/ifcparse/schemas/Ifc4x3_rc4.h | 5152 ++++++------ src/ifcparse/schemas/Ifc4x3_tc1-schema.cpp | 6 +- src/ifcparse/schemas/Ifc4x3_tc1.cpp | 7012 ++++++++-------- src/ifcparse/schemas/Ifc4x3_tc1.h | 5122 ++++++------ .../{IfcSIPrefix.cpp => si_prefix.cpp} | 58 +- src/ifcparse/{IfcSIPrefix.h => si_prefix.h} | 6 +- src/ifcparse/spf_header.cpp | 97 + src/ifcparse/{IfcSpfHeader.h => spf_header.h} | 30 +- src/ifcparse/storage.h | 94 +- src/ifcparse/{IfcUtil.cpp => utils.cpp} | 136 +- src/ifcparse/utils.h | 4 +- .../{variantarray.h => variant_array.h} | 32 +- src/ifcwrap/IfcGeomWrapper.i | 54 +- src/ifcwrap/IfcParseWrapper.i | 342 +- src/ifcwrap/IfcPython.i | 12 +- src/ifcwrap/utils/type_conversion.i | 18 +- src/ifcwrap/utils/typemaps_in.i | 32 +- src/ifcwrap/utils/typemaps_out.i | 38 +- src/qtviewer/ParseIfcFile.cpp | 2 +- src/serializers/ColladaSerializer.cpp | 8 +- src/serializers/ColladaSerializer.h | 2 +- src/serializers/GltfSerializer.cpp | 30 +- src/serializers/GltfSerializer.h | 2 +- src/serializers/HdfSerializer.cpp | 6 +- src/serializers/HdfSerializer.h | 6 +- src/serializers/IgesSerializer.h | 4 +- src/serializers/JsonSerializer.cpp | 6 +- src/serializers/JsonSerializer.h | 10 +- .../OpenCascadeBasedSerializer.cpp | 4 +- src/serializers/OpenCascadeBasedSerializer.h | 2 +- src/serializers/RocksDbSerializer.cpp | 46 +- src/serializers/RocksDbSerializer.h | 10 +- src/serializers/SvgSerializer.cpp | 58 +- src/serializers/SvgSerializer.h | 8 +- src/serializers/TtlWktSerializer.cpp | 20 +- src/serializers/TtlWktSerializer.h | 2 +- src/serializers/USDSerializer.h | 2 +- src/serializers/WavefrontObjSerializer.cpp | 6 +- src/serializers/WavefrontObjSerializer.h | 2 +- src/serializers/XmlSerializer.cpp | 6 +- src/serializers/XmlSerializer.h | 10 +- .../schema_dependent/JsonSerializer.cpp | 24 +- .../schema_dependent/JsonSerializer.h | 6 +- .../schema_dependent/XmlSerializer.cpp | 64 +- .../schema_dependent/XmlSerializer.h | 6 +- 237 files changed, 72532 insertions(+), 72535 deletions(-) delete mode 100644 src/ifcparse/IfcException.cpp delete mode 100644 src/ifcparse/IfcSpfHeader.cpp delete mode 100644 src/ifcparse/IfcWrite.cpp delete mode 100644 src/ifcparse/IfcWrite.h rename src/ifcparse/{IfcAlignmentHelper.cpp => alignment_helper.cpp} (91%) rename src/ifcparse/{IfcAlignmentHelper.h => alignment_helper.h} (71%) rename src/ifcparse/{Argument.h => argument.h} (87%) rename src/ifcparse/{ArgumentType.h => argument_type.h} (89%) rename src/ifcparse/{IfcCharacterDecoder.cpp => character_decoder.cpp} (94%) rename src/ifcparse/{IfcCharacterDecoder.h => character_decoder.h} (87%) rename src/ifcparse/{IfcEntityInstanceData.cpp => entity_instance_data.cpp} (63%) create mode 100644 src/ifcparse/exception.cpp rename src/ifcparse/{IfcException.h => exception.h} (76%) rename src/ifcparse/{IfcFile.cpp => file.cpp} (80%) rename src/ifcparse/{IfcFile.h => file.h} (68%) rename src/ifcparse/{FileReader.cpp => file_reader.cpp} (76%) rename src/ifcparse/{FileReader.h => file_reader.h} (68%) rename src/ifcparse/{IfcGlobalId.cpp => global_id.cpp} (89%) rename src/ifcparse/{IfcGlobalId.h => global_id.h} (93%) rename src/ifcparse/{IfcHierarchyHelper.cpp => hierarchy_helper.cpp} (67%) rename src/ifcparse/{IfcHierarchyHelper.h => hierarchy_helper.h} (75%) rename src/ifcparse/{InstanceData.h => instance_data.h} (74%) rename src/ifcparse/{IfcLogger.cpp => logger.cpp} (72%) rename src/ifcparse/{IfcLogger.h => logger.h} (64%) rename src/ifcparse/{IfcParse.cpp => parse.cpp} (80%) rename src/ifcparse/{IfcParse.h => parse.h} (84%) rename src/ifcparse/{IfcSchema.cpp => schema.cpp} (82%) rename src/ifcparse/{IfcSchema.h => schema.h} (96%) rename src/ifcparse/{ => schemas}/Header_section_schema-schema.cpp (93%) rename src/ifcparse/{ => schemas}/Header_section_schema.cpp (83%) rename src/ifcparse/{ => schemas}/Header_section_schema.h (70%) rename src/ifcparse/{IfcSIPrefix.cpp => si_prefix.cpp} (59%) rename src/ifcparse/{IfcSIPrefix.h => si_prefix.h} (93%) create mode 100644 src/ifcparse/spf_header.cpp rename src/ifcparse/{IfcSpfHeader.h => spf_header.h} (76%) rename src/ifcparse/{IfcUtil.cpp => utils.cpp} (61%) rename src/ifcparse/{variantarray.h => variant_array.h} (94%) diff --git a/src/examples/IfcAdvancedHouse.cpp b/src/examples/IfcAdvancedHouse.cpp index 1950e425e7..3a653a8fe6 100644 --- a/src/examples/IfcAdvancedHouse.cpp +++ b/src/examples/IfcAdvancedHouse.cpp @@ -41,7 +41,7 @@ #define IfcSchema Ifc2x3 #include "../ifcparse/macros.h" #include "../ifcparse/Ifc2x3.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" #include "../ifcgeom/Serialization/Serialization.h" @@ -56,9 +56,9 @@ void createGroundShape(TopoDS_Shape& shape); int main() { - // The IfcHierarchyHelper is a subclass of the regular IfcFile that provides several + // The hierarchy_helper is a subclass of the regular file that provides several // convenience functions for working with geometry in IFC files. - IfcHierarchyHelper file; + hierarchy_helper file; file.header().file_name().setname("IfcAdvancedHouse.ifc"); auto building = file.addBuilding(); @@ -92,7 +92,7 @@ int main() { // return `0` otherwise. auto building_shape = IfcGeom::serialise(file, building_shell, false).as(); - file.addEntity(building_shape); + file.add_entity(building_shape); auto rep = building_shape.Representations().begin(); rep->setContextOfItems(file.getRepresentationContext("model")); @@ -116,7 +116,7 @@ int main() { for (auto& rep : ground_reps) { rep.setContextOfItems(file.getRepresentationContext("Model")); } - file.addEntity(ground_representation); + file.add_entity(ground_representation); setSurfaceColour(file, ground_representation.as(), 0.15, 0.25, 0.05); /* diff --git a/src/examples/IfcAlignment.cpp b/src/examples/IfcAlignment.cpp index a3028e9044..86e1b5e44c 100644 --- a/src/examples/IfcAlignment.cpp +++ b/src/examples/IfcAlignment.cpp @@ -31,7 +31,7 @@ #pragma warning(disable : 4018 4267 4250 4984 4985) #include "../ifcparse/Ifc4x3_add2.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" #include #include @@ -43,7 +43,7 @@ double to_radian(double deg) { return PI * deg / 180; } // performs basic project setup including created the IfcProject object // and initializing the project units to FEET -Schema::IfcProject setup_project(IfcHierarchyHelper& file) { +Schema::IfcProject setup_project(hierarchy_helper& file) { std::vector file_description; file_description.push_back("ViewDefinition[Alignment-basedReferenceView]"); file.header().file_description().setdescription(file_description); @@ -95,7 +95,7 @@ Schema::IfcProject setup_project(IfcHierarchyHelper& file) { } // creates geometry and business logic segments for horizontal alignment tangent runs -std::pair create_tangent(IfcHierarchyHelper& file, const typename Schema::IfcCartesianPoint& p, double dir, double length) { +std::pair create_tangent(hierarchy_helper& file, const typename Schema::IfcCartesianPoint& p, double dir, double length) { // geometry auto parent_curve = file.create(); parent_curve.setPnt(file.addDoublet(0.0, 0.0)); @@ -125,14 +125,14 @@ std::pair(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); return {curve_segment, alignment_segment}; } // creates geometry and business logic segments for horizontal alignment horizonal curves -std::pair create_hcurve(IfcHierarchyHelper& file, const typename Schema::IfcCartesianPoint& pc, double dir, double radius, double lc) { +std::pair create_hcurve(hierarchy_helper& file, const typename Schema::IfcCartesianPoint& pc, double dir, double radius, double lc) { // geometry double sign = radius / fabs(radius); auto place = file.create(); @@ -163,14 +163,14 @@ std::pair(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); return {curve_segment, alignment_segment}; } // creates geometry and business logic segments for vertical profile gradient runs -std::pair create_gradient(IfcHierarchyHelper& file, const typename Schema::IfcCartesianPoint& p, double slope, double length) { +std::pair create_gradient(hierarchy_helper& file, const typename Schema::IfcCartesianPoint& p, double slope, double length) { // geometry auto parent_curve = file.create(); parent_curve.setPnt(file.addDoublet(0.0, 0.0)); @@ -200,14 +200,14 @@ std::pair(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); return {curve_segment, alignment_segment}; } // creates geometry and business logic segments for vertical profile parabolic vertical curves -std::pair create_vcurve(IfcHierarchyHelper& file, const typename Schema::IfcCartesianPoint& p, double start_slope, double end_slope, double length) { +std::pair create_vcurve(hierarchy_helper& file, const typename Schema::IfcCartesianPoint& p, double start_slope, double end_slope, double length) { // geometry double A = p.Coordinates()[1]; double B = start_slope; @@ -246,7 +246,7 @@ std::pair(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); return {curve_segment, alignment_segment}; @@ -254,7 +254,7 @@ std::pair& file, const Schema::IfcLocalPlacement& global_placement, const Schema::IfcGeometricRepresentationSubContext& segment_axis_subcontext, std::vector& curve_segments, std::vector& segments) { +void create_segment_representations(hierarchy_helper& file, const Schema::IfcLocalPlacement& global_placement, const Schema::IfcGeometricRepresentationSubContext& segment_axis_subcontext, std::vector& curve_segments, std::vector& segments) { auto cs_iter = curve_segments.begin(); auto s_iter = segments.begin(); for (; cs_iter != curve_segments.end(); cs_iter++, s_iter++) { @@ -276,7 +276,7 @@ void create_segment_representations(IfcHierarchyHelper& file, const Sche } int main() { - IfcHierarchyHelper file; + hierarchy_helper file; auto project = setup_project(file); @@ -378,11 +378,11 @@ int main() { // Create the horizontal alignment (IfcAlignmentHorizontal) and nest alignment segments // auto horizontal_alignment = file.create(); - horizontal_alignment.setGlobalId(IfcParse::IfcGlobalId()); + horizontal_alignment.setGlobalId(ifcopenshell::global_id()); horizontal_alignment.setName("Example Alignment"); auto nests_horizontal_segments = file.create(); - nests_horizontal_segments.setGlobalId(IfcParse::IfcGlobalId()); + nests_horizontal_segments.setGlobalId(ifcopenshell::global_id()); nests_horizontal_segments.setName("Nests horizontal alignment segments with horizontal alignment"); nests_horizontal_segments.setRelatingObject(horizontal_alignment); nests_horizontal_segments.setRelatedObjects(horizontal_segments); @@ -483,11 +483,11 @@ int main() { // Create the vertical alignment (IfcAlignmentVertical) and nest alignment segments // auto vertical_profile = file.create(); - vertical_profile.setGlobalId(IfcParse::IfcGlobalId()); + vertical_profile.setGlobalId(ifcopenshell::global_id()); vertical_profile.setName("Example Vertical Profile"); auto nests_vertical_segments = file.create(); - nests_vertical_segments.setGlobalId(IfcParse::IfcGlobalId()); + nests_vertical_segments.setGlobalId(ifcopenshell::global_id()); nests_vertical_segments.setName("Nests vertical alignment segments with vertical profile"); nests_vertical_segments.setRelatingObject(vertical_profile); nests_vertical_segments.setRelatedObjects(vertical_segments); @@ -526,7 +526,7 @@ int main() { // create the alignment auto alignment = file.create(); - alignment.setGlobalId(IfcParse::IfcGlobalId()); + alignment.setGlobalId(ifcopenshell::global_id()); alignment.setName("Example Alignment"); alignment.setObjectPlacement(global_placement); alignment.setRepresentation(alignment_product); @@ -535,7 +535,7 @@ int main() { // 4.1.4.4.1 Alignments nest horizontal and vertical layouts // https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/concepts/Object_Composition/Nesting/Alignment_Layouts/content.html auto nests_alignment_layouts = file.create(); - nests_alignment_layouts.setGlobalId(IfcParse::IfcGlobalId()); + nests_alignment_layouts.setGlobalId(ifcopenshell::global_id()); nests_alignment_layouts.setName("Nest horizontal and vertical alignment layouts with the alignment"); nests_alignment_layouts.setRelatingObject(alignment); nests_alignment_layouts.setRelatedObjects({horizontal_alignment, vertical_profile}); @@ -546,7 +546,7 @@ int main() { // https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/concepts/Object_Composition/Aggregation/Alignment_Aggregation_To_Project/content.html // IfcProject <-> IfcRelAggregates <-> IfcAlignment auto aggregate_alignments_with_project = file.create(); - aggregate_alignments_with_project.setGlobalId(IfcParse::IfcGlobalId()); + aggregate_alignments_with_project.setGlobalId(ifcopenshell::global_id()); aggregate_alignments_with_project.setName("Alignments in project"); aggregate_alignments_with_project.setRelatingObject(project); aggregate_alignments_with_project.setRelatedObjects({alignment}); @@ -571,7 +571,7 @@ int main() { description << "Alignments referenced into the spatial structure of Bridge Site " << i; auto rel_referenced_in_spatial_structure = file.create(); - rel_referenced_in_spatial_structure.setGlobalId(IfcParse::IfcGlobalId()); + rel_referenced_in_spatial_structure.setGlobalId(ifcopenshell::global_id()); rel_referenced_in_spatial_structure.setDescription(description.str()); rel_referenced_in_spatial_structure.setRelatedElements(list_alignments_referenced_in_site); rel_referenced_in_spatial_structure.setRelatingStructure(site); diff --git a/src/examples/IfcOpenHouse.cpp b/src/examples/IfcOpenHouse.cpp index a9e79bf2cb..f33ebaf361 100644 --- a/src/examples/IfcOpenHouse.cpp +++ b/src/examples/IfcOpenHouse.cpp @@ -38,7 +38,7 @@ #define IfcSchema Ifc2x3 #include "../ifcparse/macros.h" #include "../ifcparse/Ifc2x3.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" #include "../ifcgeom/Serialization/Serialization.h" @@ -49,7 +49,7 @@ using namespace std::string_literals; // Some convenience typedefs and definitions. -typedef IfcParse::IfcGlobalId guid; +typedef ifcopenshell::global_id guid; typedef std::pair XY; boost::none_t const null = boost::none; @@ -58,9 +58,9 @@ void createGroundShape(TopoDS_Shape& shape); int main() { - // The IfcHierarchyHelper is a subclass of the regular IfcFile that provides several + // The hierarchy_helper is a subclass of the regular file that provides several // convenience functions for working with geometry in IFC files. - IfcHierarchyHelper file; + hierarchy_helper file; file.header().file_name().setname("IfcOpenHouse.ifc"); // Start by adding a wall to the file, initially leaving most attributes blank. @@ -327,7 +327,7 @@ int main() { for (auto& rep : ground_reps) { rep.setContextOfItems(file.getRepresentationContext("Model")); } - file.addEntity(ground_representation); + file.add_entity(ground_representation); setSurfaceColour(file,ground_representation, 0.15, 0.25, 0.05); // According to the Ifc2x3 schema an IfcWallStandardCase needs to have an IfcMaterialLayerSet diff --git a/src/examples/IfcParseExamples.cpp b/src/examples/IfcParseExamples.cpp index 6ef47edd43..d604ddafd5 100644 --- a/src/examples/IfcParseExamples.cpp +++ b/src/examples/IfcParseExamples.cpp @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -20,8 +20,8 @@ // TODO: Multiple schemas #define IfcSchema Ifc2x3 -#include "../ifcparse/IfcFile.h" -#include "../ifcparse/IfcLogger.h" +#include "../ifcparse/file.h" +#include "../ifcparse/logger.h" #include "../ifcparse/Ifc2x3.h" #include @@ -80,7 +80,7 @@ struct is_ifc4_or_higher> : s typedef std::map> element_properties; -std::string format_string(const AttributeValue& argument) { +std::string format_string(const attribute_value& argument) { // Argument is a runtime tagged variant for the various data types in a IFC model, // in this particular case we only care about flattening it to a string. // @todo mostly duplicated from XmlSerializer.cpp @@ -89,21 +89,21 @@ std::string format_string(const AttributeValue& argument) { } auto argument_type = argument.type(); switch (argument_type) { - case IfcUtil::Argument_BOOL: { + case ifcopenshell::Argument_BOOL: { const bool b = argument; return b ? "true" : "false"; } - case IfcUtil::Argument_DOUBLE: { + case ifcopenshell::Argument_DOUBLE: { const double d = argument; std::stringstream stream; stream << std::setprecision(std::numeric_limits< double >::max_digits10) << d; return stream.str(); break; } - case IfcUtil::Argument_STRING: - case IfcUtil::Argument_ENUMERATION: { + case ifcopenshell::Argument_STRING: + case ifcopenshell::Argument_ENUMERATION: { return static_cast(argument); break; } - case IfcUtil::Argument_INT: { + case ifcopenshell::Argument_INT: { const int v = argument; std::stringstream stream; stream << v; @@ -147,7 +147,7 @@ void process_pset(element_properties& props, const T& inst) { } auto qs = qset.Quantities(); for (auto& q : qs) { - if (q.template as() && q.get_attribute_value(3).type() == IfcUtil::Argument_DOUBLE) { + if (q.template as() && q.get_attribute_value(3).type() == ifcopenshell::Argument_DOUBLE) { double v = q.get_attribute_value(3); props[*qset.Name()][q.Name()] = std::to_string(v); } @@ -227,10 +227,10 @@ int main(int argc, char** argv) { } // Redirect the output (both progress and log) to stdout - Logger::SetOutput(&std::cout, &std::cout); + logger::set_output(&std::cout, &std::cout); // Parse the IFC file provided in argv[1] - IfcParse::IfcFile file(argv[1]); + ifcopenshell::file file(argv[1]); if (!file.good()) { std::cout << "Unable to parse .ifc file" << std::endl; return 1; @@ -257,7 +257,7 @@ int main(int argc, char** argv) { std::cout << "Found " << elements.size() << " elements in " << argv[1] << ":" << std::endl; for (auto& element : elements) { - element.toString(std::cout); + element.to_string(std::cout); std::cout << std::endl; if (auto window = element.as()) { diff --git a/src/examples/IfcSimplifiedAlignment.cpp b/src/examples/IfcSimplifiedAlignment.cpp index fc496a72ec..b59114ec8c 100644 --- a/src/examples/IfcSimplifiedAlignment.cpp +++ b/src/examples/IfcSimplifiedAlignment.cpp @@ -31,7 +31,7 @@ #pragma warning(disable : 4018 4267 4250 4984 4985) #include "../ifcparse/Ifc4x3_add2.h" -#include "../ifcparse/IfcAlignmentHelper.h" +#include "../ifcparse/alignment_helper.h" #include @@ -39,7 +39,7 @@ // performs basic project setup including created the IfcProject object // and initializing the project units to FEET -Schema::IfcProject setup_project(IfcHierarchyHelper& file) { +Schema::IfcProject setup_project(hierarchy_helper& file) { std::vector file_description; file_description.push_back("ViewDefinition[Alignment-basedReferenceView]"); file.header().file_description().setdescription(file_description); @@ -91,7 +91,7 @@ Schema::IfcProject setup_project(IfcHierarchyHelper& file) { } int main() { - IfcHierarchyHelper file; + hierarchy_helper file; auto project = setup_project(file); @@ -142,7 +142,7 @@ int main() { // https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/concepts/Object_Composition/Aggregation/Alignment_Aggregation_To_Project/content.html // IfcProject <-> IfcRelAggregates <-> IfcAlignment auto aggregate_alignments_with_project = file.create(); - aggregate_alignments_with_project.setGlobalId(IfcParse::IfcGlobalId()); + aggregate_alignments_with_project.setGlobalId(ifcopenshell::global_id()); aggregate_alignments_with_project.setName("Alignments in project"); aggregate_alignments_with_project.setRelatingObject(project); aggregate_alignments_with_project.setRelatedObjects({alignment}); @@ -165,7 +165,7 @@ int main() { description << "Alignments referenced into the spatial structure of Bridge Site " << i; auto rel_referenced_in_spatial_structure = file.create(); - rel_referenced_in_spatial_structure.setGlobalId(IfcParse::IfcGlobalId()); + rel_referenced_in_spatial_structure.setGlobalId(ifcopenshell::global_id()); rel_referenced_in_spatial_structure.setDescription(description.str()); rel_referenced_in_spatial_structure.setRelatedElements(std::vector{alignment}); rel_referenced_in_spatial_structure.setRelatingStructure(site); diff --git a/src/examples/arbitrary_open_profile_def.cpp b/src/examples/arbitrary_open_profile_def.cpp index 45495736d5..f159570850 100644 --- a/src/examples/arbitrary_open_profile_def.cpp +++ b/src/examples/arbitrary_open_profile_def.cpp @@ -30,14 +30,14 @@ #include "../ifcparse/Ifc2x3.h" #include "../ifcparse/IfcUtil.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" typedef std::string S; -typedef IfcParse::IfcGlobalId guid; +typedef ifcopenshell::global_id guid; boost::none_t const null = boost::none; static int i = 0; -void create_product_from_item(IfcHierarchyHelper& file, IfcSchema::IfcRepresentationItem* item, const std::string& s) { +void create_product_from_item(hierarchy_helper& file, IfcSchema::IfcRepresentationItem* item, const std::string& s) { IfcSchema::IfcBuildingElementProxy* product = new IfcSchema::IfcBuildingElementProxy( guid(), 0, S("product"), null, null, 0, 0, null, null); file.addBuildingProduct(product); @@ -51,7 +51,7 @@ void create_product_from_item(IfcHierarchyHelper& file, IfcSchema::IfcRepresenta if (s == "GeometricSet") { IfcSchema::IfcGeometricSet* set = new IfcSchema::IfcGeometricSet(items->generalize()); - file.addEntity(set); + file.add_entity(set); items = IfcSchema::IfcRepresentationItem::list::ptr(new IfcSchema::IfcRepresentationItem::list()); items->push(set); } @@ -61,46 +61,46 @@ void create_product_from_item(IfcHierarchyHelper& file, IfcSchema::IfcRepresenta reps->push(rep); IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape(boost::none, boost::none, reps); - file.addEntity(rep); - file.addEntity(shape); + file.add_entity(rep); + file.add_entity(shape); product->setRepresentation(shape); } -void create_surfaces_from_profile(IfcHierarchyHelper& file, IfcSchema::IfcProfileDef* profile) { +void create_surfaces_from_profile(hierarchy_helper& file, IfcSchema::IfcProfileDef* profile) { IfcSchema::IfcSurfaceOfLinearExtrusion* extrusion = new IfcSchema::IfcSurfaceOfLinearExtrusion(profile, file.addPlacement3d(), file.addTriplet(0, 0, 1), 100.); - file.addEntity(extrusion); + file.add_entity(extrusion); IfcSchema::IfcAxis1Placement* ax1 = new IfcSchema::IfcAxis1Placement(file.addTriplet(0,100,0), file.addTriplet(1,0,0)); IfcSchema::IfcSurfaceOfRevolution* revolution = new IfcSchema::IfcSurfaceOfRevolution(profile, file.addPlacement3d(), ax1); - file.addEntity(ax1); - file.addEntity(revolution); + file.add_entity(ax1); + file.add_entity(revolution); create_product_from_item(file, extrusion, "GeometricSet"); create_product_from_item(file, revolution, "GeometricSet"); } -void create_solids_from_profile(IfcHierarchyHelper& file, IfcSchema::IfcProfileDef* profile) { +void create_solids_from_profile(hierarchy_helper& file, IfcSchema::IfcProfileDef* profile) { IfcSchema::IfcExtrudedAreaSolid* extrusion = new IfcSchema::IfcExtrudedAreaSolid(profile, file.addPlacement3d(), file.addTriplet(0, 0, 1), 100.); - file.addEntity(extrusion); + file.add_entity(extrusion); IfcSchema::IfcAxis1Placement* ax1 = new IfcSchema::IfcAxis1Placement(file.addTriplet(0,100,0), file.addTriplet(1,0,0)); IfcSchema::IfcRevolvedAreaSolid* revolution1 = new IfcSchema::IfcRevolvedAreaSolid(profile, file.addPlacement3d(), ax1, 360.); IfcSchema::IfcRevolvedAreaSolid* revolution2 = new IfcSchema::IfcRevolvedAreaSolid(profile, file.addPlacement3d(), ax1, 90.); - file.addEntity(ax1); - file.addEntity(revolution1); - file.addEntity(revolution2); + file.add_entity(ax1); + file.add_entity(revolution1); + file.add_entity(revolution2); create_product_from_item(file, extrusion, "SweptSolid"); create_product_from_item(file, revolution1, "SweptSolid"); create_product_from_item(file, revolution2, "SweptSolid"); } -void create_products_from_curve(IfcHierarchyHelper& file, IfcSchema::IfcBoundedCurve* curve) { +void create_products_from_curve(hierarchy_helper& file, IfcSchema::IfcBoundedCurve* curve) { IfcSchema::IfcArbitraryOpenProfileDef* open = new IfcSchema::IfcArbitraryOpenProfileDef(IfcSchema::IfcProfileTypeEnum::IfcProfileType_CURVE, null, curve); IfcSchema::IfcCenterLineProfileDef* center_line = new IfcSchema::IfcCenterLineProfileDef(IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, null, curve, 10.); - file.addEntity(open); - file.addEntity(center_line); + file.add_entity(open); + file.add_entity(center_line); create_surfaces_from_profile(file, open); create_solids_from_profile(file, center_line); @@ -108,7 +108,7 @@ void create_products_from_curve(IfcHierarchyHelper& file, IfcSchema::IfcBoundedC int main(int argc, char** argv) { const char filename[] = "IfcArbitraryOpenProfileDef.ifc"; - IfcHierarchyHelper file; + hierarchy_helper file; file.header().file_name().name(filename); double coords1[] = {-50.0, 0.0}; @@ -118,18 +118,18 @@ int main(int argc, char** argv) { points->push(new IfcSchema::IfcCartesianPoint(std::vector(coords2, coords2+2))); file.addEntities(points->generalize()); IfcSchema::IfcPolyline* poly = new IfcSchema::IfcPolyline(points); - file.addEntity(poly); + file.add_entity(poly); create_products_from_curve(file, poly); IfcSchema::IfcEllipse* ellipse = new IfcSchema::IfcEllipse(file.addPlacement2d(), 50., 25.); - file.addEntity(ellipse); + file.add_entity(ellipse); IfcEntityList::ptr trim1(new IfcEntityList); IfcEntityList::ptr trim2(new IfcEntityList); trim1->push(new IfcSchema::IfcParameterValue( 0.)); trim2->push(new IfcSchema::IfcParameterValue(180.)); IfcSchema::IfcTrimmedCurve* trim = new IfcSchema::IfcTrimmedCurve(ellipse, trim1, trim2, true, IfcSchema::IfcTrimmingPreference::IfcTrimmingPreference_PARAMETER); - file.addEntity(trim); + file.add_entity(trim); create_products_from_curve(file, trim); diff --git a/src/examples/composite_profile_def.cpp b/src/examples/composite_profile_def.cpp index 5ff41a3b13..bcdda39e75 100644 --- a/src/examples/composite_profile_def.cpp +++ b/src/examples/composite_profile_def.cpp @@ -29,15 +29,15 @@ #include "../ifcparse/Ifc2x3.h" #include "../ifcparse/IfcUtil.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" typedef std::string S; -typedef IfcParse::IfcGlobalId guid; +typedef ifcopenshell::global_id guid; boost::none_t const null = boost::none; int main(int argc, char** argv) { const char filename[] = "IfcCompositeProfileDef.ifc"; - IfcHierarchyHelper file; + hierarchy_helper file; file.header().file_name().name(filename); double coords1[] = {100.0, 0.0}; @@ -65,11 +65,11 @@ int main(int argc, char** argv) { IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, null, file.addPlacement2d(80.), 50.0, 25.0, 5.0, 10.0, 2.0, null); - file.addEntity(p2); - file.addEntity(p3); + file.add_entity(p2); + file.add_entity(p3); - file.addEntity(transform1); - file.addEntity(transform2); + file.add_entity(transform1); + file.add_entity(transform2); IfcSchema::IfcDerivedProfileDef* p5 = new IfcSchema::IfcDerivedProfileDef(IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, null, p2, transform1, null); IfcSchema::IfcDerivedProfileDef* p6 = new IfcSchema::IfcDerivedProfileDef(IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, null, p3, transform2, null); @@ -95,8 +95,8 @@ int main(int argc, char** argv) { IfcSchema::IfcExtrudedAreaSolid* solid = new IfcSchema::IfcExtrudedAreaSolid(composite, file.addPlacement3d(), file.addTriplet(0, 0, 1), 20.0); - file.addEntity(composite); - file.addEntity(solid); + file.add_entity(composite); + file.add_entity(solid); IfcSchema::IfcRepresentation::list::ptr reps (new IfcSchema::IfcRepresentation::list()); IfcSchema::IfcRepresentationItem::list::ptr items (new IfcSchema::IfcRepresentationItem::list()); @@ -107,8 +107,8 @@ int main(int argc, char** argv) { reps->push(rep); IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape(boost::none, boost::none, reps); - file.addEntity(rep); - file.addEntity(shape); + file.add_entity(rep); + file.add_entity(shape); product->setRepresentation(shape); diff --git a/src/examples/csg_primitive.cpp b/src/examples/csg_primitive.cpp index 190236ed6b..83f0760c19 100644 --- a/src/examples/csg_primitive.cpp +++ b/src/examples/csg_primitive.cpp @@ -29,10 +29,10 @@ #include "../ifcparse/Ifc2x3.h" #include "../ifcparse/IfcUtil.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" typedef std::string S; -typedef IfcParse::IfcGlobalId guid; +typedef ifcopenshell::global_id guid; boost::none_t const null = boost::none; class Node { @@ -101,7 +101,7 @@ public: return operate(OP_INTERSECT, p); } - IfcSchema::IfcRepresentationItem* serialize(IfcHierarchyHelper& file) const { + IfcSchema::IfcRepresentationItem* serialize(hierarchy_helper& file) const { IfcSchema::IfcRepresentationItem* my; if (op == OP_TERMINAL) { IfcSchema::IfcAxis2Placement3D* place = file.addPlacement3d(x,y,z,zx,zy,zz,xx,xy,xz); @@ -127,14 +127,14 @@ public: } my = new IfcSchema::IfcBooleanResult(o, left->serialize(file), right->serialize(file)); } - file.addEntity(my); + file.add_entity(my); return my; } }; int main(int argc, char** argv) { const char filename[] = "IfcCsgPrimitive.ifc"; - IfcHierarchyHelper file; + hierarchy_helper file; file.header().file_name().name(filename); IfcSchema::IfcRepresentationItem* csg1 = Node::Box(8000.,6000.,3000.).subtract( @@ -181,8 +181,8 @@ int main(int argc, char** argv) { reps->push(rep); IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape(null, null, reps); - file.addEntity(rep); - file.addEntity(shape); + file.add_entity(rep); + file.add_entity(shape); product->setRepresentation(shape); diff --git a/src/examples/ellipse_pies.cpp b/src/examples/ellipse_pies.cpp index 9994ca820d..0a3816fb1a 100644 --- a/src/examples/ellipse_pies.cpp +++ b/src/examples/ellipse_pies.cpp @@ -29,10 +29,10 @@ #include "../ifcparse/Ifc2x3.h" #include "../ifcparse/IfcUtil.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" typedef std::string S; -typedef IfcParse::IfcGlobalId guid; +typedef ifcopenshell::global_id guid; boost::none_t const null = boost::none; typedef struct { @@ -44,7 +44,7 @@ typedef struct { static int i = 0; -void create_testcase_for(IfcHierarchyHelper& file, const EllipsePie& pie, Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference pref) { +void create_testcase_for(hierarchy_helper& file, const EllipsePie& pie, Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference pref) { const double deg = 1. / 180. * 3.141592653; double flt1[] = {0. , 0. }; double flt2[] = {pie.r1 * cos(pie.t1*deg), pie.r2 * sin(pie.t1*deg)}; @@ -66,7 +66,7 @@ void create_testcase_for(IfcHierarchyHelper& file, const EllipsePie& pie, Ifc2x3 Ifc2x3::IfcEllipse* ellipse = new Ifc2x3::IfcEllipse(file.addPlacement2d(), pie.r1, pie.r2); - file.addEntity(ellipse); + file.add_entity(ellipse); IfcEntityList::ptr trim1(new IfcEntityList); IfcEntityList::ptr trim2(new IfcEntityList); if (pref == Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference_PARAMETER) { @@ -77,13 +77,13 @@ void create_testcase_for(IfcHierarchyHelper& file, const EllipsePie& pie, Ifc2x3 trim2->push(p3); } Ifc2x3::IfcTrimmedCurve* trim = new Ifc2x3::IfcTrimmedCurve(ellipse, trim1, trim2, true, pref); - file.addEntity(trim); + file.add_entity(trim); Ifc2x3::IfcCompositeCurveSegment::list::ptr segments(new Ifc2x3::IfcCompositeCurveSegment::list()); Ifc2x3::IfcCompositeCurveSegment* s2 = new Ifc2x3::IfcCompositeCurveSegment(Ifc2x3::IfcTransitionCode::IfcTransitionCode_CONTINUOUS, true, trim); Ifc2x3::IfcPolyline* poly = new Ifc2x3::IfcPolyline(points); - file.addEntity(poly); + file.add_entity(poly); Ifc2x3::IfcCompositeCurveSegment* s1 = new Ifc2x3::IfcCompositeCurveSegment(Ifc2x3::IfcTransitionCode::IfcTransitionCode_CONTINUOUS, true, poly); segments->push(s1); @@ -92,8 +92,8 @@ void create_testcase_for(IfcHierarchyHelper& file, const EllipsePie& pie, Ifc2x3 Ifc2x3::IfcCompositeCurve* ccurve = new Ifc2x3::IfcCompositeCurve(segments, false); Ifc2x3::IfcArbitraryClosedProfileDef* profile = new Ifc2x3::IfcArbitraryClosedProfileDef(Ifc2x3::IfcProfileTypeEnum::IfcProfileType_AREA, null, ccurve); - file.addEntity(ccurve); - file.addEntity(profile); + file.add_entity(ccurve); + file.add_entity(profile); IfcSchema::IfcBuildingElementProxy* product = new IfcSchema::IfcBuildingElementProxy( guid(), 0, S("profile"), null, null, 0, 0, null, null); @@ -105,7 +105,7 @@ void create_testcase_for(IfcHierarchyHelper& file, const EllipsePie& pie, Ifc2x3 IfcSchema::IfcExtrudedAreaSolid* solid = new IfcSchema::IfcExtrudedAreaSolid(profile, file.addPlacement3d(), file.addTriplet(0, 0, 1), 20.0); - file.addEntity(solid); + file.add_entity(solid); IfcSchema::IfcRepresentation::list::ptr reps (new IfcSchema::IfcRepresentation::list()); IfcSchema::IfcRepresentationItem::list::ptr items (new IfcSchema::IfcRepresentationItem::list()); @@ -116,15 +116,15 @@ void create_testcase_for(IfcHierarchyHelper& file, const EllipsePie& pie, Ifc2x3 reps->push(rep); IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape(boost::none, boost::none, reps); - file.addEntity(rep); - file.addEntity(shape); + file.add_entity(rep); + file.add_entity(shape); product->setRepresentation(shape); } int main(int argc, char** argv) { const std::string filename = "ellipse_pies.ifc"; - IfcHierarchyHelper file; + hierarchy_helper file; { EllipsePie pie = {80., 50., 0., 150.}; create_testcase_for(file, pie, Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference_PARAMETER); create_testcase_for(file, pie, Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference_CARTESIAN);} diff --git a/src/examples/faces.cpp b/src/examples/faces.cpp index 985b23dd8e..e4b4c01083 100644 --- a/src/examples/faces.cpp +++ b/src/examples/faces.cpp @@ -25,15 +25,15 @@ #include "../ifcparse/Ifc2x3.h" #include "../ifcparse/IfcUtil.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" typedef std::string S; -typedef IfcParse::IfcGlobalId guid; +typedef ifcopenshell::global_id guid; boost::none_t const null = (static_cast(0)); static int x = 0; -void create_testcase(IfcHierarchyHelper& file, IfcSchema::IfcFace* face, const std::string& name) { +void create_testcase(hierarchy_helper& file, IfcSchema::IfcFace* face, const std::string& name) { IfcSchema::IfcFace::list::ptr faces(new IfcSchema::IfcFace::list); faces->push(face); IfcSchema::IfcOpenShell* shell = new IfcSchema::IfcOpenShell(faces); @@ -58,13 +58,13 @@ void create_testcase(IfcHierarchyHelper& file, IfcSchema::IfcFace* face, const s reps->push(rep); IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape(0, 0, reps); - file.addEntity(shape); + file.add_entity(shape); product->setRepresentation(shape); } int main(int argc, char** argv) { - IfcHierarchyHelper file; + hierarchy_helper file; { IfcSchema::IfcCartesianPoint::list::ptr points (new IfcSchema::IfcCartesianPoint::list); points->push(file.addTriplet(-400, -400, 0)); diff --git a/src/examples/ifc_curve_rebar.cpp b/src/examples/ifc_curve_rebar.cpp index 2ba269e015..f68b405847 100644 --- a/src/examples/ifc_curve_rebar.cpp +++ b/src/examples/ifc_curve_rebar.cpp @@ -29,14 +29,14 @@ #include "ifcparse\Ifc2x3.h" #include "ifcparse\IfcUtil.h" -#include "ifcparse\IfcHierarchyHelper.h" +#include "ifcparse\hierarchy_helper.h" #include "ifcgeom\IfcGeom.h" typedef std::string S; -typedef IfcParse::IfcGlobalId guid; +typedef ifcopenshell::global_id guid; boost::none_t const null = boost::none; -void create_curve_rebar(IfcHierarchyHelper& file) +void create_curve_rebar(hierarchy_helper& file) { int dia = 24; int R = 3 * dia; @@ -71,17 +71,17 @@ void create_curve_rebar(IfcHierarchyHelper& file) points1->push(p2); file.addEntities(points1->generalize()); IfcSchema::IfcPolyline* poly1 = new IfcSchema::IfcPolyline(points1); - file.addEntity(poly1); + file.add_entity(poly1); IfcSchema::IfcCompositeCurveSegment* segment1 = new IfcSchema::IfcCompositeCurveSegment(IfcSchema::IfcTransitionCode::IfcTransitionCode_CONTINUOUS, true, poly1); - file.addEntity(segment1); + file.add_entity(segment1); segments->push(segment1); /*second segment - arc */ IfcSchema::IfcAxis2Placement3D* axis1 = new IfcSchema::IfcAxis2Placement3D(p3, file.addTriplet(1, 0, 0), file.addTriplet(0, 1, 0)); - file.addEntity(axis1); + file.add_entity(axis1); IfcSchema::IfcCircle* circle = new IfcSchema::IfcCircle(axis1, R); - file.addEntity(circle); + file.add_entity(circle); IfcEntityList::ptr trim1(new IfcEntityList); IfcEntityList::ptr trim2(new IfcEntityList); @@ -92,10 +92,10 @@ void create_curve_rebar(IfcHierarchyHelper& file) trim2->push(new IfcSchema::IfcParameterValue(270)); trim2->push(p4); IfcSchema::IfcTrimmedCurve* trimmed_curve = new IfcSchema::IfcTrimmedCurve(circle, trim1, trim2, false, IfcSchema::IfcTrimmingPreference::IfcTrimmingPreference_PARAMETER); - file.addEntity(trimmed_curve); + file.add_entity(trimmed_curve); IfcSchema::IfcCompositeCurveSegment* segment2 = new IfcSchema::IfcCompositeCurveSegment(IfcSchema::IfcTransitionCode::IfcTransitionCode_CONTSAMEGRADIENT, false, trimmed_curve); - file.addEntity(segment2); + file.add_entity(segment2); segments->push(segment2); /*third segment - line */ @@ -104,14 +104,14 @@ void create_curve_rebar(IfcHierarchyHelper& file) points2->push(p5); file.addEntities(points2->generalize()); IfcSchema::IfcPolyline* poly2 = new IfcSchema::IfcPolyline(points2); - file.addEntity(poly2); + file.add_entity(poly2); IfcSchema::IfcCompositeCurveSegment* segment3 = new IfcSchema::IfcCompositeCurveSegment(IfcSchema::IfcTransitionCode::IfcTransitionCode_CONTINUOUS, true, poly2); - file.addEntity(segment3); + file.add_entity(segment3); segments->push(segment3); IfcSchema::IfcCompositeCurve* curve = new IfcSchema::IfcCompositeCurve(segments, false); - file.addEntity(curve); + file.add_entity(curve); IfcSchema::IfcSweptDiskSolid* solid = new IfcSchema::IfcSweptDiskSolid(curve, dia / 2, null, 0, 1); @@ -123,7 +123,7 @@ void create_curve_rebar(IfcHierarchyHelper& file) reps->push(rep); IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape(null, null, reps); - file.addEntity(shape); + file.add_entity(shape); rebar->setRepresentation(shape); @@ -133,7 +133,7 @@ void create_curve_rebar(IfcHierarchyHelper& file) int main() { - IfcHierarchyHelper file; + hierarchy_helper file; file.header().file_name().name("ifc_curve_rebar.ifc"); create_curve_rebar(file); std::ofstream f("ifc_curve_rebar.ifc"); diff --git a/src/examples/profiles.cpp b/src/examples/profiles.cpp index d171745dc7..31c0053572 100644 --- a/src/examples/profiles.cpp +++ b/src/examples/profiles.cpp @@ -29,7 +29,7 @@ #include "../ifcparse/Ifc2x3.h" #include "../ifcparse/IfcUtil.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" typedef std::string S; typedef IfcWrite::IfcGuidHelper guid; @@ -40,7 +40,7 @@ void create_testcase_for(IfcSchema::IfcProfileDef::list::ptr profiles) { const std::string profile_type = IfcSchema::Type::ToString(profile->type()); const std::string filename = profile_type + ".ifc"; - IfcHierarchyHelper file; + hierarchy_helper file; file.filename(filename); int i = 0; @@ -61,8 +61,8 @@ void create_testcase_for(IfcSchema::IfcProfileDef::list::ptr profiles) { IfcSchema::IfcExtrudedAreaSolid* solid = new IfcSchema::IfcExtrudedAreaSolid(profile, file.addPlacement3d(), file.addTriplet(0, 0, 1), 20.0); - file.addEntity(profile); - file.addEntity(solid); + file.add_entity(profile); + file.add_entity(solid); IfcSchema::IfcRepresentation::list::ptr reps (new IfcSchema::IfcRepresentation::list); IfcSchema::IfcRepresentationItem::list::ptr items (new IfcSchema::IfcRepresentationItem::list); @@ -73,8 +73,8 @@ void create_testcase_for(IfcSchema::IfcProfileDef::list::ptr profiles) { reps->push(rep); IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape(0, 0, reps); - file.addEntity(rep); - file.addEntity(shape); + file.add_entity(rep); + file.add_entity(shape); product->setRepresentation(shape); } diff --git a/src/examples/triangulated_faceset.cpp b/src/examples/triangulated_faceset.cpp index acf56d60c1..547fdb028e 100644 --- a/src/examples/triangulated_faceset.cpp +++ b/src/examples/triangulated_faceset.cpp @@ -25,12 +25,12 @@ #include "../ifcparse/Ifc4.h" #include "../ifcparse/IfcUtil.h" -#include "../ifcparse/IfcHierarchyHelper.h" +#include "../ifcparse/hierarchy_helper.h" #include "suzanne_geometry.h" typedef std::string S; -typedef IfcParse::IfcGlobalId guid; +typedef ifcopenshell::global_id guid; boost::none_t const null = (static_cast(0)); template @@ -50,7 +50,7 @@ std::vector< std::vector > create_vector_from_array(const T* arr, unsigned si } int main(int argc, char** argv) { - IfcHierarchyHelper file; + hierarchy_helper file; IfcSchema::IfcBuildingElementProxy* product = new IfcSchema::IfcBuildingElementProxy( guid(), 0, S("Blender's Suzanne"), null, null, 0, 0, null, null); @@ -74,7 +74,7 @@ int main(int argc, char** argv) { reps->push(rep); IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape(0, 0, reps); - file.addEntity(shape); + file.add_entity(shape); product->setRepresentation(shape); diff --git a/src/ifcconvert/IfcConvert.cpp b/src/ifcconvert/IfcConvert.cpp index 72b0311c22..8d3713500b 100644 --- a/src/ifcconvert/IfcConvert.cpp +++ b/src/ifcconvert/IfcConvert.cpp @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -137,7 +137,7 @@ void print_usage(bool suggest_help = true) << " .ttl TTL/WKT RDF Turtle with Well-Known-Text geometry\n" << " .ifc IFC-SPF Industry Foundation Classes\n" << "\n" - << "If no output filename given, " << IfcUtil::path::from_utf8(DEFAULT_EXTENSION) << " will be used as the output file.\n"; + << "If no output filename given, " << ifcopenshell::path::from_utf8(DEFAULT_EXTENSION) << " will be used as the output file.\n"; if (suggest_help) { cout_ << "\nRun 'IfcConvert --help' for more information."; } @@ -169,13 +169,13 @@ T change_extension(const T& fn, const T& ext) { } bool file_exists(const std::string& filename) { - std::ifstream file(IfcUtil::path::from_utf8(filename).c_str()); + std::ifstream file(ifcopenshell::path::from_utf8(filename).c_str()); return file.good(); } static std::basic_stringstream log_stream; void write_log(bool); -void fix_quantities(IfcParse::IfcFile&, bool, bool, bool); +void fix_quantities(ifcopenshell::file&, bool, bool, bool); std::string format_duration(time_t start, time_t end); /// @todo make the filters non-global @@ -205,7 +205,7 @@ size_t read_filters_from_file(const std::string&, inclusion_filter&, inclusion_t void parse_filter(geom_filter &, const std::vector&); std::vector setup_filters(const std::vector&, const std::string&); -bool init_input_file(const std::string& filename, IfcParse::IfcFile*& ifc_file, bool no_progress, bool mmap, bool bypass_properties=false); +bool init_input_file(const std::string& filename, ifcopenshell::file*& ifc_file, bool no_progress, bool mmap, bool bypass_properties=false); // from https://stackoverflow.com/questions/31696328/boost-program-options-using-zero-parameter-options-multiple-times struct verbosity_counter { @@ -429,18 +429,18 @@ int main(int argc, char** argv) { po::store(command_line_parser(argc, argv). options(cmdline_options).positional(positional_options).run(), vmap); } catch (const po::unknown_option& e) { - cerr_ << "[Error] Unknown option '" << e.get_option_name().c_str() << "'\n\n"; + cerr_ << "[error] Unknown option '" << e.get_option_name().c_str() << "'\n\n"; print_usage(); return EXIT_FAILURE; } catch (const po::error_with_option_name& e) { - cerr_ << "[Error] Invalid usage of '" << e.get_option_name().c_str() << "': " << e.what() << "\n\n"; + cerr_ << "[error] Invalid usage of '" << e.get_option_name().c_str() << "': " << e.what() << "\n\n"; return EXIT_FAILURE; } catch (const std::exception& e) { - cerr_ << "[Error] " << e.what() << "\n\n"; + cerr_ << "[error] " << e.what() << "\n\n"; print_usage(); return EXIT_FAILURE; } catch (...) { - cerr_ << "[Error] Unknown error parsing command line options\n\n"; + cerr_ << "[error] Unknown error parsing command line options\n\n"; print_usage(); return EXIT_FAILURE; } @@ -468,7 +468,7 @@ int main(int argc, char** argv) { print_options(generic_options.add(geom_options).add(serializer_options)); return EXIT_SUCCESS; } else if (!vmap.count("input-file")) { - cerr_ << "[Error] Input file not specified" << std::endl; + cerr_ << "[error] Input file not specified" << std::endl; print_usage(); return EXIT_FAILURE; } @@ -484,7 +484,7 @@ int main(int argc, char** argv) { } else if (storey_height_display == "left") { svg_storey_height_display = SvgSerializer::SH_LEFT; } else { - cerr_ << "[Error] --draw-storey-heights should be none|full|left" << std::endl; + cerr_ << "[error] --draw-storey-heights should be none|full|left" << std::endl; print_usage(); return EXIT_FAILURE; } @@ -493,28 +493,28 @@ int main(int argc, char** argv) { if (num_threads <= 0) { num_threads = std::thread::hardware_concurrency(); - Logger::Notice("Using " + std::to_string(num_threads) + " threads"); + logger::notice("Using " + std::to_string(num_threads) + " threads"); } if (vmap.count("log-format") == 1) { boost::to_lower(log_format); if (log_format == "plain") { - Logger::OutputFormat(Logger::FMT_PLAIN); + logger::output_format(logger::FMT_PLAIN); } else if (log_format == "json") { - Logger::OutputFormat(Logger::FMT_JSON); + logger::output_format(logger::FMT_JSON); } else { - cerr_ << "[Error] --log-format should be either plain or json" << std::endl; + cerr_ << "[error] --log-format should be either plain or json" << std::endl; print_usage(); return EXIT_FAILURE; } } if (!filter_filename.empty()) { - size_t num_filters = read_filters_from_file(IfcUtil::path::to_utf8(filter_filename), include_filter, include_traverse_filter, exclude_filter, exclude_traverse_filter); + size_t num_filters = read_filters_from_file(ifcopenshell::path::to_utf8(filter_filename), include_filter, include_traverse_filter, exclude_filter, exclude_traverse_filter); if (num_filters) { - Logger::Notice(boost::lexical_cast(num_filters) + " filters read from specifified file."); + logger::notice(boost::lexical_cast(num_filters) + " filters read from specifified file."); } else { - cerr_ << "[Error] No filters read from specifified file.\n"; + cerr_ << "[error] No filters read from specifified file.\n"; return EXIT_FAILURE; } } @@ -522,11 +522,11 @@ int main(int argc, char** argv) { #ifdef HAVE_ICU if (!unicode_mode.empty()) { if (unicode_mode == "utf8") { - IfcParse::RuntimeIfcCharacterDecoder::mode = IfcParse::RuntimeIfcCharacterDecoder::UTF8; + ifcopenshell::runtime_character_decoder::mode = ifcopenshell::runtime_character_decoder::UTF8; } else if (unicode_mode == "escape") { - IfcParse::RuntimeIfcCharacterDecoder::mode = IfcParse::RuntimeIfcCharacterDecoder::ESCAPE; + ifcopenshell::runtime_character_decoder::mode = ifcopenshell::runtime_character_decoder::ESCAPE; } else { - cerr_ << "[Error] Invalid value for --unicode" << std::endl; + cerr_ << "[error] Invalid value for --unicode" << std::endl; print_options(serializer_options); return 1; } @@ -535,9 +535,9 @@ int main(int argc, char** argv) { if (!default_material_filename.empty()) { try { - IfcGeom::set_default_style_file(IfcUtil::path::to_utf8(default_material_filename)); + IfcGeom::set_default_style_file(ifcopenshell::path::to_utf8(default_material_filename)); } catch (const std::exception& e) { - cerr_ << "[Error] Could not read default material file:" << std::endl; + cerr_ << "[error] Could not read default material file:" << std::endl; cerr_ << e.what() << std::endl; return EXIT_FAILURE; } @@ -551,7 +551,7 @@ int main(int argc, char** argv) { bounding_width = w; bounding_height = h; } else { - cerr_ << "[Error] Invalid use of --bounds" << std::endl; + cerr_ << "[error] Invalid use of --bounds" << std::endl; print_options(serializer_options); return EXIT_FAILURE; } @@ -563,7 +563,7 @@ int main(int argc, char** argv) { relative_center_x = cx; relative_center_y = cy; } else { - cerr_ << "[Error] Invalid use of --bounds" << std::endl; + cerr_ << "[error] Invalid use of --bounds" << std::endl; print_options(serializer_options); return EXIT_FAILURE; } @@ -572,8 +572,8 @@ int main(int argc, char** argv) { const path_t input_filename = vmap["input-file"].as(); /* // todo also allow rocksdb dir - if (!file_exists(IfcUtil::path::to_utf8(input_filename))) { - cerr_ << "[Error] Input file '" << input_filename << "' does not exist" << std::endl; + if (!file_exists(ifcopenshell::path::to_utf8(input_filename))) { + cerr_ << "[error] Input file '" << input_filename << "' does not exist" << std::endl; return EXIT_FAILURE; }*/ @@ -581,15 +581,15 @@ int main(int argc, char** argv) { // to maintain backwards compatibility with the obsolete IfcObj executable. const path_t output_filename = vmap.count("output-file") == 1 ? vmap["output-file"].as() - : change_extension(input_filename, IfcUtil::path::from_utf8(DEFAULT_EXTENSION)); + : change_extension(input_filename, ifcopenshell::path::from_utf8(DEFAULT_EXTENSION)); if (output_filename.size() < 5) { - cerr_ << "[Error] Invalid or unsupported output file '" << output_filename << "' given" << std::endl; + cerr_ << "[error] Invalid or unsupported output file '" << output_filename << "' given" << std::endl; print_usage(); return EXIT_FAILURE; } - if (file_exists(IfcUtil::path::to_utf8(output_filename)) && !vmap.count("yes")) { + if (file_exists(ifcopenshell::path::to_utf8(output_filename)) && !vmap.count("yes")) { std::string answer; cout_ << "A file '" << output_filename << "' already exists. Overwrite the existing file? y/n" << std::endl; std::cin >> answer; @@ -602,31 +602,31 @@ int main(int argc, char** argv) { if (vmap.count("log-file")) { log_fs.open(log_file.c_str(), std::ios::app); - Logger::SetOutput(quiet ? nullptr : &cout_, &log_fs); + logger::set_output(quiet ? nullptr : &cout_, &log_fs); } else { - Logger::SetOutput(quiet ? nullptr : &cout_, vcounter.count > 1 ? &cout_ : &log_stream); + logger::set_output(quiet ? nullptr : &cout_, vcounter.count > 1 ? &cout_ : &log_stream); } switch (vcounter.count) { case 0: - Logger::Verbosity(Logger::LOG_ERROR); + logger::verbosity(logger::LOG_ERROR); break; case 1: - Logger::Verbosity(Logger::LOG_NOTICE); + logger::verbosity(logger::LOG_NOTICE); break; case 2: - Logger::Verbosity(Logger::LOG_DEBUG); + logger::verbosity(logger::LOG_DEBUG); break; case 3: - Logger::Verbosity(Logger::LOG_PERF); + logger::verbosity(logger::LOG_PERF); break; case 4: - Logger::Verbosity(Logger::LOG_PERF); - Logger::PrintPerformanceStatsOnElement(true); + logger::verbosity(logger::LOG_PERF); + logger::print_performance_stats_on_element(true); break; } - path_t output_temp_filename = output_filename + IfcUtil::path::from_utf8(TEMP_FILE_EXTENSION); + path_t output_temp_filename = output_filename + ifcopenshell::path::from_utf8(TEMP_FILE_EXTENSION); std::vector tokens; split(tokens, output_filename, boost::is_any_of(".")); @@ -638,63 +638,63 @@ int main(int argc, char** argv) { boost::to_lower(output_extension); - IfcParse::IfcFile* ifc_file = 0; + ifcopenshell::file* ifc_file = 0; boost::optional> elems_from_adaptor; - const path_t OBJ = IfcUtil::path::from_utf8(".obj"), - MTL = IfcUtil::path::from_utf8(".mtl"), - DAE = IfcUtil::path::from_utf8(".dae"), - GLB = IfcUtil::path::from_utf8(".glb"), - STP = IfcUtil::path::from_utf8(".stp"), - IGS = IfcUtil::path::from_utf8(".igs"), - SVG = IfcUtil::path::from_utf8(".svg"), - CACHE = IfcUtil::path::from_utf8(".cache"), - HDF = IfcUtil::path::from_utf8(".h5"), - XML = IfcUtil::path::from_utf8(".xml"), - JSON = IfcUtil::path::from_utf8(".json"), + const path_t OBJ = ifcopenshell::path::from_utf8(".obj"), + MTL = ifcopenshell::path::from_utf8(".mtl"), + DAE = ifcopenshell::path::from_utf8(".dae"), + GLB = ifcopenshell::path::from_utf8(".glb"), + STP = ifcopenshell::path::from_utf8(".stp"), + IGS = ifcopenshell::path::from_utf8(".igs"), + SVG = ifcopenshell::path::from_utf8(".svg"), + CACHE = ifcopenshell::path::from_utf8(".cache"), + HDF = ifcopenshell::path::from_utf8(".h5"), + XML = ifcopenshell::path::from_utf8(".xml"), + JSON = ifcopenshell::path::from_utf8(".json"), // @todo this is just temporary as it doesn't make sense to require an extension for a DB - RDB = IfcUtil::path::from_utf8(".rdb"), - IFC = IfcUtil::path::from_utf8(".ifc"), - USD = IfcUtil::path::from_utf8(".usd"), - USDA = IfcUtil::path::from_utf8(".usda"), - USDC = IfcUtil::path::from_utf8(".usdc"), - TTL = IfcUtil::path::from_utf8(".ttl"); + RDB = ifcopenshell::path::from_utf8(".rdb"), + IFC = ifcopenshell::path::from_utf8(".ifc"), + USD = ifcopenshell::path::from_utf8(".usd"), + USDA = ifcopenshell::path::from_utf8(".usda"), + USDC = ifcopenshell::path::from_utf8(".usdc"), + TTL = ifcopenshell::path::from_utf8(".ttl"); // @todo clean up serializer selection // @todo detect program options that conflict with the chosen serializer if (output_extension == XML || output_extension == JSON) { int exit_code = EXIT_FAILURE; try { - if (init_input_file(IfcUtil::path::to_utf8(input_filename), ifc_file, no_progress || quiet, mmap)) { + if (init_input_file(ifcopenshell::path::to_utf8(input_filename), ifc_file, no_progress || quiet, mmap)) { time_t start, end; time(&start); if (output_extension == XML) { - XmlSerializer s(ifc_file, IfcUtil::path::to_utf8(output_temp_filename)); - Logger::Status("Writing XML output..."); + XmlSerializer s(ifc_file, ifcopenshell::path::to_utf8(output_temp_filename)); + logger::status("Writing XML output..."); s.finalize(); } else { #ifdef WITH_GLTF - JsonSerializer s(ifc_file, IfcUtil::path::to_utf8(output_temp_filename), JsonSerializer::JSON_DIALECT_CREOOX); - Logger::Status("Writing JSON output..."); + JsonSerializer s(ifc_file, ifcopenshell::path::to_utf8(output_temp_filename), JsonSerializer::JSON_DIALECT_CREOOX); + logger::status("Writing JSON output..."); s.finalize(); #endif } time(&end); - Logger::Status("Done! Conversion took " + format_duration(start, end)); + logger::status("Done! Conversion took " + format_duration(start, end)); - IfcUtil::path::rename_file(IfcUtil::path::to_utf8(output_temp_filename), IfcUtil::path::to_utf8(output_filename)); + ifcopenshell::path::rename_file(ifcopenshell::path::to_utf8(output_temp_filename), ifcopenshell::path::to_utf8(output_filename)); exit_code = EXIT_SUCCESS; } } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); } write_log(!quiet); return exit_code; } else if (output_extension == IFC) { int exit_code = EXIT_FAILURE; try { - if (init_input_file(IfcUtil::path::to_utf8(input_filename), ifc_file, no_progress || quiet, mmap)) { + if (init_input_file(ifcopenshell::path::to_utf8(input_filename), ifc_file, no_progress || quiet, mmap)) { time_t start, end; time(&start); std::ofstream fs(output_filename.c_str()); @@ -705,13 +705,13 @@ int main(int argc, char** argv) { fs << *ifc_file; exit_code = EXIT_SUCCESS; } else { - Logger::Error("Unable to open output file for writing"); + logger::error("Unable to open output file for writing"); } time(&end); - Logger::Status("Done! Writing IFC took " + format_duration(start, end)); + logger::status("Done! Writing IFC took " + format_duration(start, end)); } } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); } write_log(!quiet); return exit_code; @@ -723,26 +723,26 @@ int main(int argc, char** argv) { if (vmap.count("stream")) { time_t start, end; time(&start); - RocksDbSerializer s(IfcUtil::path::to_utf8(input_filename), IfcUtil::path::to_utf8(output_filename), true); - Logger::Status("Populating RocksDB Key-Value store..."); + RocksDbSerializer s(ifcopenshell::path::to_utf8(input_filename), ifcopenshell::path::to_utf8(output_filename), true); + logger::status("Populating RocksDB Key-Value store..."); s.finalize(); time(&end); - Logger::Status("Done! Conversion took " + format_duration(start, end)); + logger::status("Done! Conversion took " + format_duration(start, end)); exit_code = EXIT_SUCCESS; } else { - if (init_input_file(IfcUtil::path::to_utf8(input_filename), ifc_file, no_progress || quiet, mmap)) { + if (init_input_file(ifcopenshell::path::to_utf8(input_filename), ifc_file, no_progress || quiet, mmap)) { time_t start, end; time(&start); - RocksDbSerializer s(ifc_file, IfcUtil::path::to_utf8(output_filename)); - Logger::Status("Populating RocksDB Key-Value store..."); + RocksDbSerializer s(ifc_file, ifcopenshell::path::to_utf8(output_filename)); + logger::status("Populating RocksDB Key-Value store..."); s.finalize(); time(&end); - Logger::Status("Done! Conversion took " + format_duration(start, end)); + logger::status("Done! Conversion took " + format_duration(start, end)); exit_code = EXIT_SUCCESS; } } } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); } write_log(!quiet); return exit_code; @@ -756,15 +756,15 @@ int main(int argc, char** argv) { if (exclude_filter.type != geom_filter::UNUSED) { used_filters.push_back(exclude_filter); } if (exclude_traverse_filter.type != geom_filter::UNUSED) { used_filters.push_back(exclude_traverse_filter); } - std::vector filter_funcs = setup_filters(used_filters, IfcUtil::path::to_utf8(output_extension)); + std::vector filter_funcs = setup_filters(used_filters, ifcopenshell::path::to_utf8(output_extension)); if (filter_funcs.empty()) { - cerr_ << "[Error] Failed to set up geometry filters\n"; + cerr_ << "[error] Failed to set up geometry filters\n"; return EXIT_FAILURE; } - if (!entity_filter.entity_names.empty()) { entity_filter.update_description(); Logger::Notice(entity_filter.description); } - if (!layer_filter.values.empty()) { layer_filter.update_description(); Logger::Notice(layer_filter.description); } - if (!attribute_filter.attribute_name.empty()) { attribute_filter.update_description(); Logger::Notice(attribute_filter.description); } + if (!entity_filter.entity_names.empty()) { entity_filter.update_description(); logger::notice(entity_filter.description); } + if (!layer_filter.values.empty()) { layer_filter.update_description(); logger::notice(layer_filter.description); } + if (!attribute_filter.attribute_name.empty()) { attribute_filter.update_description(); logger::notice(attribute_filter.description); } #ifdef _MSC_VER if (output_extension == DAE || output_extension == STP || output_extension == IGS) { @@ -796,11 +796,11 @@ int main(int argc, char** argv) { } if (geometry_settings.get().get() && output_extension != DAE && output_extension != USD && output_extension != USDA && output_extension != USDC && output_extension != GLB) { - cerr_ << "[Error] --use-element-hierarchy can be used only with .dae or .usd or .glb output.\n"; + cerr_ << "[error] --use-element-hierarchy can be used only with .dae or .usd or .glb output.\n"; /// @todo Lots of duplicate error-and-exit code. write_log(!quiet); print_usage(); - IfcUtil::path::delete_file(IfcUtil::path::to_utf8(output_temp_filename)); + ifcopenshell::path::delete_file(ifcopenshell::path::to_utf8(output_temp_filename)); return EXIT_FAILURE; } @@ -829,41 +829,41 @@ int main(int argc, char** argv) { if (output_extension == OBJ) { // Do not use temp file for MTL as it's such a small file. const path_t mtl_filename = change_extension(output_filename, MTL); - serializer = boost::make_shared(IfcUtil::path::to_utf8(output_temp_filename), IfcUtil::path::to_utf8(mtl_filename), geometry_settings, serializer_settings); + serializer = boost::make_shared(ifcopenshell::path::to_utf8(output_temp_filename), ifcopenshell::path::to_utf8(mtl_filename), geometry_settings, serializer_settings); #ifdef WITH_OPENCOLLADA } else if (output_extension == DAE) { - serializer = boost::make_shared(IfcUtil::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); + serializer = boost::make_shared(ifcopenshell::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); #endif #ifdef WITH_GLTF } else if (output_extension == GLB) { - serializer = boost::make_shared(IfcUtil::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); + serializer = boost::make_shared(ifcopenshell::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); #endif #ifdef WITH_USD } else if (output_extension == USD || output_extension == USDA || output_extension == USDC) { - serializer = boost::make_shared(IfcUtil::path::to_utf8(output_filename), geometry_settings, serializer_settings); + serializer = boost::make_shared(ifcopenshell::path::to_utf8(output_filename), geometry_settings, serializer_settings); #endif #ifdef IFOPSH_WITH_OPENCASCADE } else if (output_extension == STP) { - serializer = boost::make_shared(IfcUtil::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); + serializer = boost::make_shared(ifcopenshell::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); } else if (output_extension == IGS) { #if OCC_VERSION_HEX < 0x60900 // According to https://tracker.dev.opencascade.org/view.php?id=25689 something has been fixed in 6.9.0 IGESControl_Controller::Init(); // work around Open Cascade bug #endif - serializer = boost::make_shared(IfcUtil::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); + serializer = boost::make_shared(ifcopenshell::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); } else if (output_extension == SVG) { geometry_settings.get().value = ifcopenshell::geometry::settings::NATIVE; - serializer = boost::make_shared(IfcUtil::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); + serializer = boost::make_shared(ifcopenshell::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); #ifdef WITH_HDF5 } else if (output_extension == HDF) { geometry_settings.get().value = ifcopenshell::geometry::settings::NATIVE; - serializer = boost::make_shared(IfcUtil::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); + serializer = boost::make_shared(ifcopenshell::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); #endif #endif } else if (output_extension == TTL) { - serializer = boost::make_shared(IfcUtil::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); + serializer = boost::make_shared(ifcopenshell::path::to_utf8(output_temp_filename), geometry_settings, serializer_settings); } else { - cerr_ << "[Error] Unknown output filename extension '" << output_extension << "'\n"; + cerr_ << "[error] Unknown output filename extension '" << output_extension << "'\n"; write_log(!quiet); print_usage(); return EXIT_FAILURE; @@ -872,20 +872,20 @@ int main(int argc, char** argv) { const bool is_tesselated = serializer->isTesselated(); // isTesselated() doesn't change at run-time if (!is_tesselated) { if (geometry_settings.get().get()) { - Logger::Notice("Weld vertices setting ignored when writing non-tesselated output"); + logger::notice("Weld vertices setting ignored when writing non-tesselated output"); } if (geometry_settings.get().get()) { - Logger::Notice("Generate UVs setting ignored when writing non-tesselated output"); + logger::notice("Generate UVs setting ignored when writing non-tesselated output"); } if (center_model || center_model_geometry) { - Logger::Notice("Centering/offsetting model setting ignored when writing non-tesselated output"); + logger::notice("Centering/offsetting model setting ignored when writing non-tesselated output"); } geometry_settings.get().value = ifcopenshell::geometry::settings::NATIVE; } if (!serializer->ready()) { - IfcUtil::path::delete_file(IfcUtil::path::to_utf8(output_temp_filename)); + ifcopenshell::path::delete_file(ifcopenshell::path::to_utf8(output_temp_filename)); write_log(!quiet); return EXIT_FAILURE; } @@ -896,53 +896,53 @@ int main(int argc, char** argv) { // @nb last argument true -> bypass_properties which are not read by any of the geometry serializers // XML, RocksDB, IFC are already special-cased above // SVG requires properties for IfcAnnotation/DRAWING properties - if (!init_input_file(IfcUtil::path::to_utf8(input_filename), ifc_file, no_progress || quiet, mmap, output_extension != SVG)) { + if (!init_input_file(ifcopenshell::path::to_utf8(input_filename), ifc_file, no_progress || quiet, mmap, output_extension != SVG)) { write_log(!quiet); serializer.reset(); - IfcUtil::path::delete_file(IfcUtil::path::to_utf8(output_temp_filename)); /**< @todo Windows Unicode support */ + ifcopenshell::path::delete_file(ifcopenshell::path::to_utf8(output_temp_filename)); /**< @todo Windows Unicode support */ return EXIT_FAILURE; } if (vmap.count("log-file")) { - Logger::SetOutput(quiet ? nullptr : &cout_, &log_fs); + logger::set_output(quiet ? nullptr : &cout_, &log_fs); } else { - Logger::SetOutput(quiet ? nullptr : &cout_, vcounter.count > 1 ? &cout_ : &log_stream); + logger::set_output(quiet ? nullptr : &cout_, vcounter.count > 1 ? &cout_ : &log_stream); } if (model_rotation) { std::vector rotation(4); int n = 0; if (sscanf(rotation_str.c_str(), "%lf;%lf;%lf;%lf %n", &rotation[0], &rotation[1], &rotation[2], &rotation[3], &n) != 4 || n != rotation_str.size()) { - cerr_ << "[Error] Invalid use of --model-rotation\n"; - IfcUtil::path::delete_file(IfcUtil::path::to_utf8(output_temp_filename)); + cerr_ << "[error] Invalid use of --model-rotation\n"; + ifcopenshell::path::delete_file(ifcopenshell::path::to_utf8(output_temp_filename)); print_options(serializer_options); return EXIT_FAILURE; } std::stringstream msg; msg << "Using model rotation (" << rotation[0] << "," << rotation[1] << "," << rotation[2] << "," << rotation[3] << ")"; - Logger::Notice(msg.str()); + logger::notice(msg.str()); geometry_settings.get().value = rotation; } if (model_offset && (center_model || center_model_geometry)) { - Logger::Notice("--model-offset ignored with --center-model or --center-model-geometry"); + logger::notice("--model-offset ignored with --center-model or --center-model-geometry"); } if (model_offset && !(center_model || center_model_geometry)) { std::vector offset(3); int n = 0; if (sscanf(offset_str.c_str(), "%lf;%lf;%lf %n", &offset[0], &offset[1], &offset[2], &n) != 3 || n != offset_str.size()) { - cerr_ << "[Error] Invalid use of --model-offset\n"; - IfcUtil::path::delete_file(IfcUtil::path::to_utf8(output_temp_filename)); + cerr_ << "[error] Invalid use of --model-offset\n"; + ifcopenshell::path::delete_file(ifcopenshell::path::to_utf8(output_temp_filename)); print_options(serializer_options); return EXIT_FAILURE; } std::stringstream msg; msg << std::setprecision(std::numeric_limits::max_digits10) << "Using model offset (" << offset[0] << "," << offset[1] << "," << offset[2] << ")"; - Logger::Notice(msg.str()); + logger::notice(msg.str()); geometry_settings.get().value = offset; } @@ -954,15 +954,15 @@ int main(int argc, char** argv) { time_t start, end; time(&start); - if (!quiet) Logger::Status("Computing bounds..."); + if (!quiet) logger::status("Computing bounds..."); if (center_model_geometry) { if (!tmp_context_iterator.initialize()) { /// @todo It would be nice to know and print separate error prints for a case where we found no entities /// and for a case we found no entities that satisfy our filtering criteria. - Logger::Notice("No geometrical elements found or none successfully converted"); + logger::notice("No geometrical elements found or none successfully converted"); serializer.reset(); - IfcUtil::path::delete_file(IfcUtil::path::to_utf8(output_temp_filename)); + ifcopenshell::path::delete_file(ifcopenshell::path::to_utf8(output_temp_filename)); write_log(!quiet); return EXIT_FAILURE; } @@ -971,7 +971,7 @@ int main(int argc, char** argv) { tmp_context_iterator.compute_bounds(center_model_geometry); time(&end); - if (!quiet) Logger::Status("Done ! Bounds computed in " + format_duration(start, end)); + if (!quiet) logger::status("Done ! Bounds computed in " + format_duration(start, end)); auto center = (tmp_context_iterator.bounds_min().ccomponents() + tmp_context_iterator.bounds_max().ccomponents()) * 0.5; offset[0] = -center(0); @@ -980,7 +980,7 @@ int main(int argc, char** argv) { std::stringstream msg; msg << std::setprecision (std::numeric_limits::max_digits10) << "Using model offset (" << offset[0] << "," << offset[1] << "," << offset[2] << ")"; - Logger::Notice(msg.str()); + logger::notice(msg.str()); geometry_settings.get().value = offset; } @@ -1005,19 +1005,19 @@ int main(int argc, char** argv) { if (!vmap.count("cache-file")) { cache_file = input_filename + CACHE + HDF; } - cache.reset(new HdfSerializer(IfcUtil::path::to_utf8(cache_file), geometry_settings, serializer_settings)); + cache.reset(new HdfSerializer(ifcopenshell::path::to_utf8(cache_file), geometry_settings, serializer_settings)); context_iterator->set_cache(cache.get()); } #endif - Logger::Message(Logger::LOG_PERF, "file geometry conversion"); + logger::message(logger::LOG_PERF, "file geometry conversion"); if (context_iterator && !context_iterator->initialize()) { /// @todo It would be nice to know and print separate error prints for a case where we found no entities /// and for a case we found no entities that satisfy our filtering criteria. - Logger::Notice("No geometrical elements found or none successfully converted"); + logger::notice("No geometrical elements found or none successfully converted"); serializer.reset(); - IfcUtil::path::delete_file(IfcUtil::path::to_utf8(output_temp_filename)); + ifcopenshell::path::delete_file(ifcopenshell::path::to_utf8(output_temp_filename)); write_log(!quiet); return EXIT_FAILURE; } @@ -1034,7 +1034,7 @@ int main(int argc, char** argv) { static_cast(serializer.get())->setSectionHeightsFromStoreys(); } } else if (vmap.count("section-height") != 0) { - Logger::Notice("Overriding section height"); + logger::notice("Overriding section height"); static_cast(serializer.get())->setSectionHeight(section_height); } if (vmap.count("print-space-names") != 0) { @@ -1057,7 +1057,7 @@ int main(int argc, char** argv) { if (sscanf(svg_scale.c_str(), "%u:%u", &s0, &s1) == 2 && s0 > 0 && s1 > 0) { static_cast(serializer.get())->setScale((double)s0 / s1); } else { - cerr_ << "[Error] Invalid use of --scale" << std::endl; + cerr_ << "[error] Invalid use of --scale" << std::endl; print_options(serializer_options); return EXIT_FAILURE; } @@ -1112,7 +1112,7 @@ int main(int argc, char** argv) { int old_progress = quiet ? 0 : -1; if (!quiet) { - Logger::Status("Creating geometry..."); + logger::status("Creating geometry..."); } // The functions IfcGeom::Iterator::get() and IfcGeom::Iterator::next() @@ -1157,10 +1157,10 @@ int main(int argc, char** argv) { if (stderr_progress) cerr_ << std::flush; } else if (vcounter.count == 2) { - Logger::Message(Logger::LOG_DEBUG, "Progress " + boost::lexical_cast(progress)); + logger::message(logger::LOG_DEBUG, "Progress " + boost::lexical_cast(progress)); } else { progress = progress / 2; - if (old_progress != progress) Logger::ProgressBar(progress); + if (old_progress != progress) logger::progress_bar(progress); old_progress = progress; } } @@ -1189,7 +1189,7 @@ int main(int argc, char** argv) { } } else { const std::string task = ((num_threads == 1) ? "creating" : "writing"); - Logger::Status("\rDone " + task + " geometry (" + boost::lexical_cast(num_created) + + logger::status("\rDone " + task + " geometry (" + boost::lexical_cast(num_created) + " objects) "); } @@ -1197,7 +1197,7 @@ int main(int argc, char** argv) { // Make sure the dtor is explicitly run here (e.g. output files are closed before renaming them). serializer.reset(); - Logger::Message(Logger::LOG_PERF, "done file geometry conversion"); + logger::message(logger::LOG_PERF, "done file geometry conversion"); bool successful; if(output_extension == USD || output_extension == USDC || output_extension == USDA) { @@ -1207,7 +1207,7 @@ int main(int argc, char** argv) { else { // Renaming might fail (e.g. maybe the existing file was open in a viewer application) // Do not remove the temp file as user can salvage the conversion result from it. - successful = IfcUtil::path::rename_file(IfcUtil::path::to_utf8(output_temp_filename), IfcUtil::path::to_utf8(output_filename)); + successful = ifcopenshell::path::rename_file(ifcopenshell::path::to_utf8(output_temp_filename), ifcopenshell::path::to_utf8(output_filename)); } if (!successful) { @@ -1215,13 +1215,13 @@ int main(int argc, char** argv) { output_temp_filename << "' for the conversion result."; } - if (geometry_settings.get().get() && Logger::MaxSeverity() >= Logger::LOG_ERROR) { - Logger::Error("Errors encountered during processing."); + if (geometry_settings.get().get() && logger::max_severity() >= logger::LOG_ERROR) { + logger::error("Errors encountered during processing."); successful = false; } - if (Logger::Verbosity() == Logger::LOG_PERF) { - Logger::PrintPerformanceStats(); + if (logger::verbosity() == logger::LOG_PERF) { + logger::print_performance_stats(); } write_log(!quiet); @@ -1229,7 +1229,7 @@ int main(int argc, char** argv) { time(&end); if (!quiet) { - Logger::Status("\nConversion took " + format_duration(start, end)); + logger::status("\nConversion took " + format_duration(start, end)); } return successful ? EXIT_SUCCESS : EXIT_FAILURE; @@ -1267,11 +1267,11 @@ void write_log(bool header) { #include -bool init_input_file(const std::string& filename, IfcParse::IfcFile*& ifc_file, bool no_progress, bool mmap, bool bypass_properties) { +bool init_input_file(const std::string& filename, ifcopenshell::file*& ifc_file, bool no_progress, bool mmap, bool bypass_properties) { time_t start, end; - // Prevent IfcFile::Init() prints by setting output to null temporarily - if (no_progress) { Logger::SetOutput(NULL, &log_stream); } + // Prevent file::Init() prints by setting output to null temporarily + if (no_progress) { logger::set_output(NULL, &log_stream); } time(&start); @@ -1279,11 +1279,11 @@ bool init_input_file(const std::string& filename, IfcParse::IfcFile*& ifc_file, #ifdef WITH_IFCXML // if (boost::ends_with(boost::to_lower_copy(filename), ".ifcxml")) { - // ifc_file = IfcParse::parse_ifcxml(filename); + // ifc_file = ifcopenshell::parse_ifcxml(filename); // } else #endif { - ifc_file = new IfcParse::IfcFile(IfcParse::uninitialized_tag{}); + ifc_file = new ifcopenshell::file(ifcopenshell::uninitialized_tag{}); requires_init = true; } @@ -1309,13 +1309,13 @@ bool init_input_file(const std::string& filename, IfcParse::IfcFile*& ifc_file, } if (!ifc_file || !ifc_file->good()) { - Logger::Error("Unable to parse input file '" + filename + "'"); + logger::error("Unable to parse input file '" + filename + "'"); return false; } time(&end); - if (no_progress) { Logger::SetOutput(&cout_, &log_stream); } - else { Logger::Status("Parsing input file took " + format_duration(start, end)); } + if (no_progress) { logger::set_output(&cout_, &log_stream); } + else { logger::status("Parsing input file took " + format_duration(start, end)); } return true; @@ -1327,7 +1327,7 @@ bool append_filter(const std::string& type, const std::vector& valu parse_filter(temp, values); // Merge values only if type and arg match. if ((filter.type != geom_filter::UNUSED && filter.type != temp.type) || (!filter.arg.empty() && filter.arg != temp.arg)) { - cerr_ << "[Error] Multiple '" << type.c_str() << "' filters specified with different criteria\n"; + cerr_ << "[error] Multiple '" << type.c_str() << "' filters specified with different criteria\n"; return false; } filter.type = temp.type; @@ -1343,10 +1343,10 @@ size_t read_filters_from_file( exclusion_filter& exclude_filter, exclusion_traverse_filter& exclude_traverse_filter) { - std::ifstream filter_file(IfcUtil::path::from_utf8(filename).c_str()); + std::ifstream filter_file(ifcopenshell::path::from_utf8(filename).c_str()); if (!filter_file.is_open()) { - cerr_ << "[Error] Unable to open filter file '" << IfcUtil::path::from_utf8(filename) << "' or the file does not exist.\n"; + cerr_ << "[error] Unable to open filter file '" << ifcopenshell::path::from_utf8(filename) << "' or the file does not exist.\n"; return 0; } @@ -1381,11 +1381,11 @@ size_t read_filters_from_file( else if (type == "exclude") { if (append_filter("exclude", values, exclude_filter)) { ++num_filters; } } else if (type == "exclude+") { if (append_filter("exclude+", values, exclude_traverse_filter)) { ++num_filters; } } else { - cerr_ << "[Error] Invalid filtering type at line " << boost::lexical_cast(line_number) << "\n"; + cerr_ << "[error] Invalid filtering type at line " << boost::lexical_cast(line_number) << "\n"; return 0; } } catch(...) { - cerr_ << "[Error] Unable to parse filter at line " << boost::lexical_cast(line_number) << ".\n"; + cerr_ << "[error] Unable to parse filter at line " << boost::lexical_cast(line_number) << ".\n"; return 0; } } @@ -1497,16 +1497,16 @@ namespace latebound_access { void set(express::Base inst, const std::string& attr, T t); template - void set_enumeration(express::Base, const std::string&, const IfcParse::enumeration_type*, T) {} + void set_enumeration(express::Base, const std::string&, const ifcopenshell::enumeration_type*, T) {} template <> - void set_enumeration(express::Base inst, const std::string& attr, const IfcParse::enumeration_type* enum_type, std::string t) { + void set_enumeration(express::Base inst, const std::string& attr, const ifcopenshell::enumeration_type* enum_type, std::string t) { std::vector::const_iterator it = std::find( enum_type->enumeration_items().begin(), enum_type->enumeration_items().end(), t); - return set(inst, attr, EnumerationReference(enum_type, it - enum_type->enumeration_items().begin())); + return set(inst, attr, enumeration_reference(enum_type, it - enum_type->enumeration_items().begin())); } template @@ -1515,26 +1515,26 @@ namespace latebound_access { auto i = decl->attribute_index(attr); auto attr_type = decl->attribute_by_index(i)->type_of_attribute(); - if (attr_type->as_named_type() && attr_type->as_named_type()->declared_type()->as_enumeration_type() && !std::is_same::value) { + if (attr_type->as_named_type() && attr_type->as_named_type()->declared_type()->as_enumeration_type() && !std::is_same::value) { set_enumeration(inst, attr, attr_type->as_named_type()->declared_type()->as_enumeration_type(), t); } else { inst.set_attribute_value(i, t); } } - express::Base create(IfcParse::IfcFile& f, const std::string& entity) { + express::Base create(ifcopenshell::file& f, const std::string& entity) { auto decl = f.schema()->declaration_by_name(entity); return f.create(decl); } } -void fix_quantities(IfcParse::IfcFile& f, bool no_progress, bool quiet, bool stderr_progress) { +void fix_quantities(ifcopenshell::file& f, bool no_progress, bool quiet, bool stderr_progress) { { auto delete_reversed = [&f](const std::vector& insts) { // Lists are traversed back to front as the list may be mutated when // instances are removed from the grouping by type. for (auto it = insts.end() - 1; it >= insts.begin(); --it) { - f.removeEntity(*it); + f.remove_entity(*it); } }; @@ -1542,7 +1542,7 @@ void fix_quantities(IfcParse::IfcFile& f, bool no_progress, bool quiet, bool std auto quantities = f.instances_by_type("IfcPhysicalQuantity"); for (auto it = quantities.end() - 1; it >= quantities.begin(); --it) { if (!it->declaration().is("IfcPhysicalComplexQuantity")) { - f.removeEntity(*it); + f.remove_entity(*it); } } @@ -1556,7 +1556,7 @@ void fix_quantities(IfcParse::IfcFile& f, bool no_progress, bool quiet, bool std auto IfcRelDefinesByProperties = f.schema()->declaration_by_name("IfcRelDefinesByProperties"); for (auto& eq : element_quantities) { - auto rels = eq.file()->getInverse(eq.id(), IfcRelDefinesByProperties, -1); + auto rels = eq.file()->get_inverse(eq.id(), IfcRelDefinesByProperties, -1); for (auto& rel : rels) { relationships.push_back(rel); } @@ -1568,7 +1568,7 @@ void fix_quantities(IfcParse::IfcFile& f, bool no_progress, bool quiet, bool std // Delete relationship nodes for (auto& rel : relationships) { - f.removeEntity(rel); + f.remove_entity(rel); } } @@ -1706,7 +1706,7 @@ void fix_quantities(IfcParse::IfcFile& f, bool no_progress, bool quiet, bool std cerr_ << std::flush; } else { const int progress = context_iterator.progress() / 2; - if (old_progress != progress) Logger::ProgressBar(progress); + if (old_progress != progress) logger::progress_bar(progress); old_progress = progress; } } @@ -1722,7 +1722,7 @@ void fix_quantities(IfcParse::IfcFile& f, bool no_progress, bool quiet, bool std if (stderr_progress) cerr_ << std::flush; } else { - Logger::Status("\rDone writing quantities for " + boost::lexical_cast(num_created) + + logger::status("\rDone writing quantities for " + boost::lexical_cast(num_created) + " objects "); } diff --git a/src/ifcconvert/validate_space_boundaries.cpp b/src/ifcconvert/validate_space_boundaries.cpp index abe5d976fc..a26c963e7f 100644 --- a/src/ifcconvert/validate_space_boundaries.cpp +++ b/src/ifcconvert/validate_space_boundaries.cpp @@ -18,29 +18,29 @@ typedef CGAL::AABB_traits Traits; typedef CGAL::AABB_tree Tree; typedef Tree::Point_and_primitive_id Point_and_primitive_id; -void fix_spaceboundaries(IfcParse::IfcFile& f, bool no_progress, bool quiet, bool stderr_progress) { +void fix_spaceboundaries(ifcopenshell::file& f, bool no_progress, bool quiet, bool stderr_progress) { intersection_validator v(f, { "IfcWall", "IfcSpace", "IfcSlab", "IfcCovering" }, 1.e-5, no_progress, quiet, stderr_progress); auto rels = f.instances_by_type("IfcRelSpaceBoundary"); - std::map, const IfcUtil::IfcBaseClass*> rel_by_space_elem; + std::map, const ifcopenshell::IfcBaseClass*> rel_by_space_elem; if (rels) { - std::for_each(rels->begin(), rels->end(), [&rel_by_space_elem](const IfcUtil::IfcBaseClass* rel) { - auto x = ((IfcUtil::IfcBaseEntity*)rel)->get_value("RelatingSpace"); + std::for_each(rels->begin(), rels->end(), [&rel_by_space_elem](const ifcopenshell::IfcBaseClass* rel) { + auto x = ((ifcopenshell::IfcBaseEntity*)rel)->get_value("RelatingSpace"); try { - auto y = ((IfcUtil::IfcBaseEntity*)rel)->get_value("RelatedBuildingElement"); + auto y = ((ifcopenshell::IfcBaseEntity*)rel)->get_value("RelatedBuildingElement"); rel_by_space_elem.insert({ { x,y }, rel }); - } catch (IfcParse::IfcException&) { + } catch (ifcopenshell::exception&) { // RelatedBuildingElement can be NULL } }); } - std::set rels_encounted; + std::set rels_encounted; - IfcParse::IfcFile f2("boundaries-triangulated.ifc"); + ifcopenshell::file f2("boundaries-triangulated.ifc"); if (!f2.good()) { return; } @@ -59,7 +59,7 @@ void fix_spaceboundaries(IfcParse::IfcFile& f, bool no_progress, bool quiet, boo std::map, std::vector> elem_to_space_boundary_coords; for (auto& i : *f2.instances_by_type("IfcProduct")) { - auto n = ((IfcUtil::IfcBaseEntity*)i)->get_value("Name"); + auto n = ((ifcopenshell::IfcBaseEntity*)i)->get_value("Name"); auto g1 = n.substr(0, 22); auto g2 = n.substr(23); auto item = c.mapping()->map(i); @@ -83,7 +83,7 @@ void fix_spaceboundaries(IfcParse::IfcFile& f, bool no_progress, bool quiet, boo v([&rel_by_space_elem, &elem_to_space_boundary_coords, &guid_pairs_visited](const intersection_validator::Box& a, const intersection_validator::Box& b) { std::ostringstream ss; - // ss << id_map[a.id()]->first->data().toString() << "x" << id_map[b.id()]->first->data().toString() << std::endl; + // ss << id_map[a.id()]->first->data().to_string() << "x" << id_map[b.id()]->first->data().to_string() << std::endl; // auto x = id_map[a.id()]->second * id_map[b.id()]->second; auto A = a.handle()->first; @@ -103,7 +103,7 @@ void fix_spaceboundaries(IfcParse::IfcFile& f, bool no_progress, bool quiet, boo return; } - ss << a.handle()->first->data().toString() << "x" << a.handle()->first->data().toString() << std::endl; + ss << a.handle()->first->data().to_string() << "x" << a.handle()->first->data().to_string() << std::endl; auto x = a.handle()->second * b.handle()->second; if (x.is_empty()) { @@ -128,7 +128,7 @@ void fix_spaceboundaries(IfcParse::IfcFile& f, bool no_progress, bool quiet, boo auto itelem = elem_to_space_boundary_coords.find({ Aguid, Bguid }); if (itelem == elem_to_space_boundary_coords.end()) { - Logger::Error("Missing space boundary relationship " + Aguid + " " + Bguid); + logger::error("Missing space boundary relationship " + Aguid + " " + Bguid); return; } @@ -141,7 +141,7 @@ void fix_spaceboundaries(IfcParse::IfcFile& f, bool no_progress, bool quiet, boo bool valid = *std::max_element(distances.begin(), distances.end()) < 0.4; if (!valid) { - Logger::Error("Wrong connection geometry " + Aguid + " " + Bguid); + logger::error("Wrong connection geometry " + Aguid + " " + Bguid); } /*{ @@ -174,11 +174,11 @@ void fix_spaceboundaries(IfcParse::IfcFile& f, bool no_progress, bool quiet, boo }; for (auto& i : *f2.instances_by_type("IfcProduct")) { - auto n = ((IfcUtil::IfcBaseEntity*)i)->get_value("Name"); + auto n = ((ifcopenshell::IfcBaseEntity*)i)->get_value("Name"); auto g1 = n.substr(0, 22); auto g2 = n.substr(23); if (is_wall_space_or_slab(g1) && is_wall_space_or_slab(g2) && guid_pairs_visited.find({ g1, g2 }) == guid_pairs_visited.end()) { - Logger::Error("Space boundary for non-bounding geometry " + g1 + " " + g2); + logger::error("Space boundary for non-bounding geometry " + g1 + " " + g2); } } } diff --git a/src/ifcconvert/validate_storey_containment.cpp b/src/ifcconvert/validate_storey_containment.cpp index 2766a206c3..39c5df0176 100644 --- a/src/ifcconvert/validate_storey_containment.cpp +++ b/src/ifcconvert/validate_storey_containment.cpp @@ -9,7 +9,7 @@ #include -void fix_storeycontainment(IfcParse::IfcFile& f, bool no_progress, bool quiet, bool stderr_progress) { +void fix_storeycontainment(ifcopenshell::file& f, bool no_progress, bool quiet, bool stderr_progress) { ifcopenshell::geometry::Settings settings; settings.get().value = false; @@ -25,16 +25,16 @@ void fix_storeycontainment(IfcParse::IfcFile& f, bool no_progress, bool quiet, b IfcGeom::Iterator context_iterator("cgal", settings, &f, no_openings_and_spaces, 1); - auto get_elevation = [](const IfcUtil::IfcBaseClass* a) { - return ((const IfcUtil::IfcBaseEntity*)a)->get_value("Elevation", 0.); + auto get_elevation = [](const ifcopenshell::IfcBaseClass* a) { + return ((const ifcopenshell::IfcBaseEntity*)a)->get_value("Elevation", 0.); }; // latebound inverse attribute lookup not working auto rels = f.instances_by_type("IfcRelContainedInSpatialStructure"); - std::map elem_to_storey; - std::for_each(rels->begin(), rels->end(), [&elem_to_storey](IfcUtil::IfcBaseClass* r) { - auto elems = ((IfcUtil::IfcBaseEntity*)r)->get_value("RelatedElements"); - auto storey = ((IfcUtil::IfcBaseEntity*)r)->get_value("RelatingStructure"); + std::map elem_to_storey; + std::for_each(rels->begin(), rels->end(), [&elem_to_storey](ifcopenshell::IfcBaseClass* r) { + auto elems = ((ifcopenshell::IfcBaseEntity*)r)->get_value("RelatedElements"); + auto storey = ((ifcopenshell::IfcBaseEntity*)r)->get_value("RelatingStructure"); if (storey->declaration().name() == "IfcBuildingStorey") { for (auto it = elems->begin(); it != elems->end(); ++it) { @@ -44,15 +44,15 @@ void fix_storeycontainment(IfcParse::IfcFile& f, bool no_progress, bool quiet, b }); auto storeys = f.instances_by_type("IfcBuildingStorey"); - std::vector storeys_sorted(storeys->begin(), storeys->end()); - std::sort(storeys_sorted.begin(), storeys_sorted.end(), [&get_elevation](const IfcUtil::IfcBaseClass* a, const IfcUtil::IfcBaseClass* b) { + std::vector storeys_sorted(storeys->begin(), storeys->end()); + std::sort(storeys_sorted.begin(), storeys_sorted.end(), [&get_elevation](const ifcopenshell::IfcBaseClass* a, const ifcopenshell::IfcBaseClass* b) { return get_elevation(a) < get_elevation(b); }); /* std::wcout << "Storeys "; for (auto& s : storeys_sorted) { - auto n = ((IfcUtil::IfcBaseEntity*)s)->get_value("Name"); + auto n = ((ifcopenshell::IfcBaseEntity*)s)->get_value("Name"); std::wcout << n.c_str() << " "; } std::wcout << std::endl; @@ -121,7 +121,7 @@ void fix_storeycontainment(IfcParse::IfcFile& f, bool no_progress, bool quiet, b /* std::stringstream ss; - ss << geom_object->product()->data().toString(); + ss << geom_object->product()->data().to_string(); auto sss = ss.str(); std::wcout << sss.c_str() << std::endl; */ @@ -196,9 +196,9 @@ void fix_storeycontainment(IfcParse::IfcFile& f, bool no_progress, bool quiet, b auto assigned_overlap = intersection_volumes[assigned_idx]; if (calc_overlap > 0 && assigned_overlap < calc_overlap * 0.9) { auto s = geom_object->product()->get_value("GlobalId"); - auto s1 = ((IfcUtil::IfcBaseEntity*)storeys_sorted[calc_idx])->get_value("GlobalId"); - auto s2 = ((IfcUtil::IfcBaseEntity*)elem_to_storey[geom_object->product()])->get_value("GlobalId"); - Logger::Error("Element " + s + " contained in " + s2 + " located on " + s1); + auto s1 = ((ifcopenshell::IfcBaseEntity*)storeys_sorted[calc_idx])->get_value("GlobalId"); + auto s2 = ((ifcopenshell::IfcBaseEntity*)elem_to_storey[geom_object->product()])->get_value("GlobalId"); + logger::error("Element " + s + " contained in " + s2 + " located on " + s1); } if (!no_progress) { @@ -214,7 +214,7 @@ void fix_storeycontainment(IfcParse::IfcFile& f, bool no_progress, bool quiet, b std::cerr << std::flush; } else { const int progress = context_iterator.progress() / 2; - if (old_progress != progress) Logger::ProgressBar(progress); + if (old_progress != progress) logger::progress_bar(progress); old_progress = progress; } } @@ -230,7 +230,7 @@ void fix_storeycontainment(IfcParse::IfcFile& f, bool no_progress, bool quiet, b if (stderr_progress) std::cerr << std::flush; } else { - Logger::Status("\rDone fixing space boundaries for " + boost::lexical_cast(num_created) + + logger::status("\rDone fixing space boundaries for " + boost::lexical_cast(num_created) + " objects "); } } diff --git a/src/ifcconvert/validate_wall_connectivity.cpp b/src/ifcconvert/validate_wall_connectivity.cpp index 3e55a783f0..ba068a8bd9 100644 --- a/src/ifcconvert/validate_wall_connectivity.cpp +++ b/src/ifcconvert/validate_wall_connectivity.cpp @@ -9,7 +9,7 @@ using namespace ifcopenshell::geometry; -void fix_wallconnectivity(IfcParse::IfcFile& f, bool no_progress, bool quiet, bool stderr_progress) { +void fix_wallconnectivity(ifcopenshell::file& f, bool no_progress, bool quiet, bool stderr_progress) { intersection_validator v(f, { "IfcWall" }, 1.e-3, no_progress, quiet, stderr_progress); ifcopenshell::geometry::Settings settings; @@ -27,14 +27,14 @@ void fix_wallconnectivity(IfcParse::IfcFile& f, bool no_progress, bool quiet, bo ifcopenshell::geometry::Converter c("cgal", &f, settings); auto rels = f.instances_by_type("IfcRelConnectsPathElements"); - std::map, const IfcUtil::IfcBaseClass*> rel_by_elem; - std::for_each(rels->begin(), rels->end(), [&rel_by_elem](const IfcUtil::IfcBaseClass* rel) { - auto x = ((IfcUtil::IfcBaseEntity*)rel)->get_value("RelatingElement"); - auto y = ((IfcUtil::IfcBaseEntity*)rel)->get_value("RelatedElement"); + std::map, const ifcopenshell::IfcBaseClass*> rel_by_elem; + std::for_each(rels->begin(), rels->end(), [&rel_by_elem](const ifcopenshell::IfcBaseClass* rel) { + auto x = ((ifcopenshell::IfcBaseEntity*)rel)->get_value("RelatingElement"); + auto y = ((ifcopenshell::IfcBaseEntity*)rel)->get_value("RelatedElement"); rel_by_elem.insert({{ x,y }, rel}); }); - std::set rels_encounted; + std::set rels_encounted; double total_nef_intersection_time = 0.; double conversion_to_poly = 0.; @@ -43,15 +43,15 @@ void fix_wallconnectivity(IfcParse::IfcFile& f, bool no_progress, bool quiet, bo auto A = a.handle()->first; auto B = b.handle()->first; - const IfcUtil::IfcBaseClass* rel = nullptr; + const ifcopenshell::IfcBaseClass* rel = nullptr; std::string a_type, b_type; auto rit = rel_by_elem.find({ A, B }); if (rit != rel_by_elem.end()) { rel = rit->second; - const bool a_is_relating = A == ((IfcUtil::IfcBaseEntity*)rel)->get_value("RelatingElement"); - a_type = ((IfcUtil::IfcBaseEntity*)rel)->get_value("RelatingConnectionType"); - b_type = ((IfcUtil::IfcBaseEntity*)rel)->get_value("RelatedConnectionType"); + const bool a_is_relating = A == ((ifcopenshell::IfcBaseEntity*)rel)->get_value("RelatingElement"); + a_type = ((ifcopenshell::IfcBaseEntity*)rel)->get_value("RelatingConnectionType"); + b_type = ((ifcopenshell::IfcBaseEntity*)rel)->get_value("RelatedConnectionType"); if (!a_is_relating) { std::swap(a_type, b_type); } @@ -79,7 +79,7 @@ void fix_wallconnectivity(IfcParse::IfcFile& f, bool no_progress, bool quiet, bo #endif std::ostringstream ss; - ss << A->data().toString() << "x" << B->data().toString() << std::endl; + ss << A->data().to_string() << "x" << B->data().to_string() << std::endl; std::clock_t intersection_begin = std::clock(); auto x = a.handle()->second * b.handle()->second; std::clock_t intersection_end = std::clock(); @@ -108,7 +108,7 @@ void fix_wallconnectivity(IfcParse::IfcFile& f, bool no_progress, bool quiet, bo return; } - auto get_axis_parameter_min_max = [&c, &x_poly](const IfcUtil::IfcBaseEntity* inst) { + auto get_axis_parameter_min_max = [&c, &x_poly](const ifcopenshell::IfcBaseEntity* inst) { auto item = c.mapping()->map(inst); auto shaperep = taxonomy::cast(item)->children[0]; auto loop = taxonomy::dcast(taxonomy::cast(shaperep)->children[0]); @@ -169,21 +169,21 @@ void fix_wallconnectivity(IfcParse::IfcFile& f, bool no_progress, bool quiet, bo if (a_type != atype_computed || b_type != btype_computed) { if (rel) { - Logger::Error(std::string("Connection type ") + atype_computed + " " + btype_computed + " for:", rel); + logger::error(std::string("Connection type ") + atype_computed + " " + btype_computed + " for:", rel); } else { auto A_str = A->get_value("GlobalId"); auto B_str = B->get_value("GlobalId"); - Logger::Error("No connection for adjacent " + A_str + " " + B_str); + logger::error("No connection for adjacent " + A_str + " " + B_str); } } }); - std::for_each(rels->begin(), rels->end(), [&rels_encounted, &v](const IfcUtil::IfcBaseClass* rel) { + std::for_each(rels->begin(), rels->end(), [&rels_encounted, &v](const ifcopenshell::IfcBaseClass* rel) { if (rels_encounted.find(rel) == rels_encounted.end()) { - auto x = (IfcUtil::IfcBaseEntity*)((IfcUtil::IfcBaseEntity*)rel)->get_value("RelatingElement"); - auto y = (IfcUtil::IfcBaseEntity*)((IfcUtil::IfcBaseEntity*)rel)->get_value("RelatedElement"); + auto x = (ifcopenshell::IfcBaseEntity*)((ifcopenshell::IfcBaseEntity*)rel)->get_value("RelatingElement"); + auto y = (ifcopenshell::IfcBaseEntity*)((ifcopenshell::IfcBaseEntity*)rel)->get_value("RelatedElement"); if (v.successfully_processed.find(x) != v.successfully_processed.end() && v.successfully_processed.find(y) != v.successfully_processed.end()) { - Logger::Error("Connection for non-adjacent walls", rel); + logger::error("Connection for non-adjacent walls", rel); } } }); diff --git a/src/ifcconvert/validation_utils.h b/src/ifcconvert/validation_utils.h index c6952324a0..47af806975 100644 --- a/src/ifcconvert/validation_utils.h +++ b/src/ifcconvert/validation_utils.h @@ -431,7 +431,7 @@ struct remove_thickness { struct intersection_validator { - typedef std::list> > nefs_t; + typedef std::list> > nefs_t; typedef CGAL::Box_intersection_d::Box_with_handle_d Box; std::vector boxes; @@ -443,9 +443,9 @@ struct intersection_validator { double total_minkowsky_time = 0.; double total_box_time = 0.; - std::set successfully_processed; + std::set successfully_processed; - intersection_validator(IfcParse::IfcFile& f, std::initializer_list entities, double eps, bool no_progress, bool quiet, bool stderr_progress) { + intersection_validator(ifcopenshell::file& f, std::initializer_list entities, double eps, bool no_progress, bool quiet, bool stderr_progress) { ifcopenshell::geometry::Settings settings; settings.get().value = false; @@ -485,7 +485,7 @@ struct intersection_validator { } std::stringstream ss; - geom_object->product()->toString(ss); + geom_object->product()->to_string(ss); auto sss = ss.str(); std::wcout << sss.c_str() << std::endl; @@ -543,7 +543,7 @@ struct intersection_validator { /* std::ostringstream ss; - ss << geom_object->product()->data().toString() << std::endl << b.min_coord(0) << " - " << b.max_coord(0) << std::endl; + ss << geom_object->product()->data().to_string() << std::endl << b.min_coord(0) << " - " << b.max_coord(0) << std::endl; auto sss = ss.str(); std::wcout << sss.c_str(); */ @@ -562,7 +562,7 @@ struct intersection_validator { std::cerr << std::flush; } else { const int progress = context_iterator.progress() / 2; - if (old_progress != progress) Logger::ProgressBar(progress); + if (old_progress != progress) logger::progress_bar(progress); old_progress = progress; } } @@ -578,7 +578,7 @@ struct intersection_validator { if (stderr_progress) std::cerr << std::flush; } else { - Logger::Status("\rDone fixing space boundaries for " + boost::lexical_cast(num_created) + + logger::status("\rDone fixing space boundaries for " + boost::lexical_cast(num_created) + " objects "); } diff --git a/src/ifcgeom/AbstractKernel.cpp b/src/ifcgeom/AbstractKernel.cpp index b196fcc209..db01f9d889 100644 --- a/src/ifcgeom/AbstractKernel.cpp +++ b/src/ifcgeom/AbstractKernel.cpp @@ -20,7 +20,7 @@ bool ifcopenshell::geometry::kernels::AbstractKernel::convert(const taxonomy::pt auto it = cache_.find(item); if (it != cache_.end()) { results = it->second; - Logger::Notice("Cache hit #" + std::to_string(item->instance.id()) + + logger::notice("Cache hit #" + std::to_string(item->instance.id()) + " -> #" + std::to_string(it->first->instance.id())); return true; } @@ -30,7 +30,7 @@ bool ifcopenshell::geometry::kernels::AbstractKernel::convert(const taxonomy::pt try { return fn(); } catch (std::exception& e) { - Logger::Error(e, item->instance); + logger::error(e, item->instance); return false; } catch (...) { // @todo we can't log OCCT exceptions here, can we do some reraising to solve this? diff --git a/src/ifcgeom/AbstractKernel.h b/src/ifcgeom/AbstractKernel.h index fb143769fb..95b869e29b 100644 --- a/src/ifcgeom/AbstractKernel.h +++ b/src/ifcgeom/AbstractKernel.h @@ -21,7 +21,7 @@ #define ABSTRACT_KERNEL_H #include "../ifcparse/macros.h" -#include "../ifcparse/IfcLogger.h" +#include "../ifcparse/logger.h" #include "../ifcgeom/ifc_geom_api.h" #include "../ifcgeom/IfcGeomRepresentation.h" #include "../ifcgeom/taxonomy.h" @@ -150,7 +150,7 @@ namespace { template <> struct dispatch_conversion { static bool dispatch(ifcopenshell::geometry::kernels::AbstractKernel*, ifcopenshell::geometry::taxonomy::kinds, const ifcopenshell::geometry::taxonomy::ptr& item, IfcGeom::ConversionResults&) { - Logger::Error("No conversion for " + std::to_string(item->kind())); + logger::error("No conversion for " + std::to_string(item->kind())); return false; } }; @@ -170,7 +170,7 @@ namespace { template <> struct dispatch_with_upgrade { static bool dispatch(ifcopenshell::geometry::kernels::AbstractKernel*, const ifcopenshell::geometry::taxonomy::ptr& item, IfcGeom::ConversionResults&) { - Logger::Error("No conversion with upgrade for " + std::to_string(item->kind())); + logger::error("No conversion with upgrade for " + std::to_string(item->kind())); return false; } }; @@ -206,7 +206,7 @@ namespace { template struct dispatch_curve_creation { static bool dispatch(const ifcopenshell::geometry::taxonomy::ptr& item, T&) { - Logger::Error("No conversion for " + std::to_string(item->kind())); + logger::error("No conversion for " + std::to_string(item->kind())); return false; } }; @@ -228,7 +228,7 @@ namespace { template struct dispatch_surface_creation { static bool dispatch(const ifcopenshell::geometry::taxonomy::ptr& item, T&) { - Logger::Error("No conversion for " + std::to_string(item->kind())); + logger::error("No conversion for " + std::to_string(item->kind())); return false; } }; diff --git a/src/ifcgeom/Converter.cpp b/src/ifcgeom/Converter.cpp index fdf128f3ca..e09e75e7f8 100644 --- a/src/ifcgeom/Converter.cpp +++ b/src/ifcgeom/Converter.cpp @@ -4,7 +4,7 @@ using namespace ifcopenshell::geometry; -ifcopenshell::geometry::Converter::Converter(std::unique_ptr&& geometry_library, IfcParse::IfcFile* file, ifcopenshell::geometry::Settings& s) +ifcopenshell::geometry::Converter::Converter(std::unique_ptr&& geometry_library, ifcopenshell::file* file, ifcopenshell::geometry::Settings& s) : kernel_(std::move(geometry_library)) { mapping_ = impl::mapping_implementations().construct(file, s); @@ -32,7 +32,7 @@ namespace { if (density > 1e5) { items[0].Shape()->set_box(box); items.erase(items.begin() + 1, items.end()); - Logger::Notice("Substituted element with " + boost::lexical_cast(density) + " vertices / m3 with a bounding box"); + logger::notice("Substituted element with " + boost::lexical_cast(density) + " vertices / m3 with a bounding box"); } } } @@ -104,7 +104,7 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe } if (!success) { - Logger::Error("Failed processing layerset"); + logger::error("Failed processing layerset"); } } } @@ -143,7 +143,7 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe } } if (some_items_without_style) { - Logger::Warning("No material and surface styles for:", product); + logger::warning("No material and surface styles for:", product); } } @@ -167,7 +167,7 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe parent_id = parent_object.id(); } } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); } const std::string name = product.get_value("Name", ""); @@ -213,10 +213,10 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe kernel_->convert_openings(product, opening_items, shapes, *place, opened_shapes); } } catch (const std::exception& e) { - Logger::Message(Logger::LOG_ERROR, std::string("Error processing openings for: ") + e.what() + ":", product); + logger::message(logger::LOG_ERROR, std::string("error processing openings for: ") + e.what() + ":", product); caught_error = true; } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Error processing openings for:", product); + logger::message(logger::LOG_ERROR, "error processing openings for:", product); } if (!(caught_error && opened_shapes.size() < shapes.size())) { @@ -244,7 +244,7 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe std::swap(shapes, unified_shapes); } } catch (std::exception& e) { - Logger::Error(e); + logger::error(e); } } @@ -300,12 +300,12 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe if (elem->geometry().calculate_surface_area(a_calc)) { double diff = std::abs(a_calc - a_file); if (diff / std::sqrt(a_file) > getValue(GV_PRECISION)) { - Logger::Error("Validation of surface area failed for:", product); + logger::error("Validation of surface area failed for:", product); } else { - Logger::Notice("Validation of surface area succeeded for:", product); + logger::notice("Validation of surface area succeeded for:", product); } } else { - Logger::Error("Validation of surface area failed for:", product); + logger::error("Validation of surface area failed for:", product); } } else if (q->as() && q->Name() == "Volume") { double v_calc; @@ -313,12 +313,12 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe if (elem->geometry().calculate_volume(v_calc)) { double diff = std::abs(v_calc - v_file); if (diff / std::sqrt(v_file) > getValue(GV_PRECISION)) { - Logger::Error("Validation of volume failed for:", product); + logger::error("Validation of volume failed for:", product); } else { - Logger::Notice("Validation of volume succeeded for:", product); + logger::notice("Validation of volume succeeded for:", product); } } else { - Logger::Error("Validation of volume failed for:", product); + logger::error("Validation of volume failed for:", product); } } else if (q->as() && q->Name() == "Shape Validation Properties") { auto qs2 = q->as()->HasQuantities(); @@ -337,9 +337,9 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_represe } } if (!all_succeeded) { - Logger::Error("Validation of surface genus failed for:", product); + logger::error("Validation of surface genus failed for:", product); } else { - Logger::Notice("Validation of surface genus succeeded for:", product); + logger::notice("Validation of surface genus succeeded for:", product); } } } @@ -363,7 +363,7 @@ IfcGeom::BRepElement* ifcopenshell::geometry::Converter::create_brep_for_process parent_id = parent_object.id(); } } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); } const std::string guid = product.get_value("GlobalId"); diff --git a/src/ifcgeom/Converter.h b/src/ifcgeom/Converter.h index 8bc6d70480..62672bb352 100644 --- a/src/ifcgeom/Converter.h +++ b/src/ifcgeom/Converter.h @@ -1,7 +1,7 @@ #ifndef ITERATOR_KERNEL_H #define ITERATOR_KERNEL_H -#include "../ifcparse/IfcFile.h" +#include "../ifcparse/file.h" #include "../ifcgeom/ConversionSettings.h" #include "../ifcgeom/ConversionResult.h" #include "../ifcgeom/abstract_mapping.h" @@ -25,7 +25,7 @@ namespace ifcopenshell { namespace geometry { public: ifcopenshell::geometry::kernels::AbstractKernel* kernel() { return &*kernel_; } - Converter(std::unique_ptr&& geometry_library, IfcParse::IfcFile* file, ifcopenshell::geometry::Settings& settings); + Converter(std::unique_ptr&& geometry_library, ifcopenshell::file* file, ifcopenshell::geometry::Settings& settings); ~Converter(); diff --git a/src/ifcgeom/GeometrySerializer.h b/src/ifcgeom/GeometrySerializer.h index c89f14f030..b50394eecd 100644 --- a/src/ifcgeom/GeometrySerializer.h +++ b/src/ifcgeom/GeometrySerializer.h @@ -113,7 +113,7 @@ public: std::ostream& stream; stream_or_filename(const std::string& fn) - : ofs_(new std::ofstream(IfcUtil::path::from_utf8(fn).c_str())) + : ofs_(new std::ofstream(ifcopenshell::path::from_utf8(fn).c_str())) , stream(*ofs_) {} @@ -153,7 +153,7 @@ public: virtual void write(const IfcGeom::TriangulationElement* o) = 0; virtual void write(const IfcGeom::BRepElement* o) = 0; virtual void setUnitNameAndMagnitude(const std::string& name, float magnitude) = 0; - virtual IfcGeom::Element* read(IfcParse::IfcFile& f, const std::string& guid, const std::string& representation_id, read_type rt = READ_BREP) = 0; + virtual IfcGeom::Element* read(ifcopenshell::file& f, const std::string& guid, const std::string& representation_id, read_type rt = READ_BREP) = 0; const ifcopenshell::geometry::SerializerSettings& settings() const { return settings_; } ifcopenshell::geometry::SerializerSettings& settings() { return settings_; } @@ -179,7 +179,7 @@ class WriteOnlyGeometrySerializer : public GeometrySerializer { public: WriteOnlyGeometrySerializer(const ifcopenshell::geometry::Settings& geometry_settings, const ifcopenshell::geometry::SerializerSettings& settings) : GeometrySerializer(geometry_settings, settings) {} - virtual IfcGeom::Element* read(IfcParse::IfcFile&, const std::string&, const std::string&, read_type = READ_BREP) { + virtual IfcGeom::Element* read(ifcopenshell::file&, const std::string&, const std::string&, read_type = READ_BREP) { throw std::runtime_error("Not supported"); }; }; diff --git a/src/ifcgeom/IfcGeomElement.h b/src/ifcgeom/IfcGeomElement.h index 10c5836ff7..d1c7b3132b 100644 --- a/src/ifcgeom/IfcGeomElement.h +++ b/src/ifcgeom/IfcGeomElement.h @@ -23,10 +23,10 @@ #include #include -#include "../ifcparse/Argument.h" -#include "../ifcparse/IfcGlobalId.h" -#include "../ifcparse/IfcLogger.h" -#include "../ifcparse/InstanceData.h" +#include "../ifcparse/argument.h" +#include "../ifcparse/global_id.h" +#include "../ifcparse/logger.h" +#include "../ifcparse/instance_data.h" #include "../ifcgeom/IfcGeomRepresentation.h" #include "../ifcgeom/ifc_geom_api.h" @@ -111,10 +111,10 @@ namespace IfcGeom { oss << "project"; } else { try { - oss << "product-" << IfcParse::IfcGlobalId(guid).formatted(); + oss << "product-" << ifcopenshell::global_id(guid).formatted(); } catch (const std::exception& e) { oss << "product"; - Logger::Error(e); + logger::error(e); } } diff --git a/src/ifcgeom/IfcGeomFilter.h b/src/ifcgeom/IfcGeomFilter.h index 9672a97470..a29958f923 100644 --- a/src/ifcgeom/IfcGeomFilter.h +++ b/src/ifcgeom/IfcGeomFilter.h @@ -29,7 +29,7 @@ #endif #include "../ifcgeom/AbstractKernel.h" -#include "../ifcparse/IfcFile.h" +#include "../ifcparse/file.h" #include "../ifcgeom/abstract_mapping.h" #include diff --git a/src/ifcgeom/Iterator.cpp b/src/ifcgeom/Iterator.cpp index 31f7427ce1..914673dc54 100644 --- a/src/ifcgeom/Iterator.cpp +++ b/src/ifcgeom/Iterator.cpp @@ -31,7 +31,7 @@ bool IfcGeom::Iterator::initialize() { try { converter_->mapping()->get_representations(reps, filters_); } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); } time_points[1] = high_resolution_clock::now(); @@ -94,7 +94,7 @@ bool IfcGeom::Iterator::initialize() { tasks_.back().item = p.first; tasks_.back().products = p.second; } - Logger::Notice("Merged " + std::to_string(old_size) + " tasks into " + std::to_string(tasks_.size()) + " tasks due to permissive shape reuse"); + logger::notice("Merged " + std::to_string(old_size) + " tasks into " + std::to_string(tasks_.size()) + " tasks due to permissive shape reuse"); } } @@ -139,10 +139,10 @@ bool IfcGeom::Iterator::initialize() { } */ - Logger::Notice("Created " + boost::lexical_cast(tasks_.size()) + " tasks for " + boost::lexical_cast(num_products) + " products"); + logger::notice("Created " + boost::lexical_cast(tasks_.size()) + " tasks for " + boost::lexical_cast(num_products) + " products"); if (tasks_.size() == 0) { - Logger::Warning("No representations encountered, aborting"); + logger::warning("No representations encountered, aborting"); initialization_outcome_.emplace(false); } else if (!settings_.get().get()) { @@ -231,14 +231,14 @@ void IfcGeom::Iterator::process_concurrently() { try { this->create_element_(kernel, settings, rep); } catch (const std::exception& e) { - Logger::Error( + logger::error( std::string("Exception '") + e.what() + std::string("' occurred while iterator was creating a shape: "), rep->item->instance ); had_error_processing_elements_ = true; } catch (...) { - Logger::Error( + logger::error( "Unknown exception occurred while iteartor was creating a shape: ", rep->item->instance ); @@ -263,10 +263,10 @@ void IfcGeom::Iterator::process_concurrently() { finished_ = true; - Logger::SetProduct(std::nullopt); + logger::set_product(std::nullopt); if (!terminating_) { - Logger::Status("\rDone creating geometry (" + boost::lexical_cast(all_processed_elements_.size()) + + logger::status("\rDone creating geometry (" + boost::lexical_cast(all_processed_elements_.size()) + " objects) "); } } @@ -360,20 +360,20 @@ void IfcGeom::Iterator::create_element_(ifcopenshell::geometry::Converter* kerne const express::Base product = product_node.first; const auto& place = product_node.second; - Logger::SetProduct(product); + logger::set_product(product); IfcGeom::BRepElement* brep = static_cast(decorate_with_cache_(GeometrySerializer::READ_BREP, (std::string)product.as().get("GlobalId"), std::to_string(rep->item->instance.id()), [kernel, settings, product, place, rep]() { return kernel->create_brep_for_representation_and_product(rep->item, product, place); })); if (!brep) { - Logger::SetProduct(std::nullopt); + logger::set_product(std::nullopt); return; } auto elem = process_based_on_settings(settings, brep); if (!elem) { - Logger::SetProduct(std::nullopt); + logger::set_product(std::nullopt); return; } @@ -397,7 +397,7 @@ void IfcGeom::Iterator::create_element_(ifcopenshell::geometry::Converter* kerne } } - Logger::SetProduct(std::nullopt); + logger::set_product(std::nullopt); } IfcGeom::Element* IfcGeom::Iterator::process_based_on_settings(ifcopenshell::geometry::Settings settings, IfcGeom::BRepElement* elem, IfcGeom::TriangulationElement* previous) @@ -406,7 +406,7 @@ IfcGeom::Element* IfcGeom::Iterator::process_based_on_settings(ifcopenshell::geo try { return new IfcGeom::SerializedElement(*elem); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Getting a serialized element from model failed."); + logger::message(logger::LOG_ERROR, "Getting a serialized element from model failed."); return nullptr; } } else if (settings.get().get() == ifcopenshell::geometry::settings::TRIANGULATED) { @@ -425,7 +425,7 @@ IfcGeom::Element* IfcGeom::Iterator::process_based_on_settings(ifcopenshell::geo return new TriangulationElement(*elem, previous->geometry_pointer()); } } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Getting a triangulation element from model failed."); + logger::message(logger::LOG_ERROR, "Getting a triangulation element from model failed."); } return (TriangulationElement*)nullptr; }); @@ -466,7 +466,7 @@ void IfcGeom::Iterator::log_timepoints() const { for (auto it = time_points.begin() + 1; it != time_points.end(); ++it) { auto jt = it - 1; duration ms_double = (*it) - (*jt); - Logger::Notice(labels[std::distance(time_points.begin(), jt)] + " took " + std::to_string(ms_double.count()) + "ms"); + logger::notice(labels[std::distance(time_points.begin(), jt)] + " took " + std::to_string(ms_double.count()) + "ms"); } } @@ -501,7 +501,7 @@ express::Base IfcGeom::Iterator::next() { if (num_threads_ != 1) { if (!wait_for_element()) { - Logger::SetProduct(std::nullopt); + logger::set_product(std::nullopt); time_points[3] = high_resolution_clock::now(); log_timepoints(); task_result_ptr_exhausted = true; @@ -517,7 +517,7 @@ express::Base IfcGeom::Iterator::next() { // shape representation if (task_result_iterator_ == --all_processed_elements_.end()) { if (!create()) { - Logger::SetProduct(std::nullopt); + logger::set_product(std::nullopt); time_points[3] = high_resolution_clock::now(); log_timepoints(); task_result_ptr_exhausted = true; @@ -554,7 +554,7 @@ IfcGeom::Element* IfcGeom::Iterator::get() try { parent_object = get_object(ret->parent_id()); } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); hasParent = false; } @@ -572,7 +572,7 @@ IfcGeom::Element* IfcGeom::Iterator::get() try { parent_object = get_object(pid); } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); hasParent = false; } } @@ -619,19 +619,19 @@ const IfcGeom::Element* IfcGeom::Iterator::get_object(int id) { m4 = casted->matrix; } } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); } #ifdef IFOPSH_WITH_OPENCASCADE catch (const Standard_Failure& e) { if (e.GetMessageString() && strlen(e.GetMessageString())) { - Logger::Error(e.GetMessageString()); + logger::error(e.GetMessageString()); } else { - Logger::Error("Unknown error returning product"); + logger::error("Unknown error returning product"); } } #endif catch (...) { - Logger::Error("Unknown error returning product"); + logger::error("Unknown error returning product"); } Element* ifc_object = new Element(settings_, id, parent_id, product_name, instance_type, product_guid, "", m4, ifc_product.as()); @@ -643,21 +643,21 @@ express::Base IfcGeom::Iterator::create() { try { product = create_shape_model_for_next_entity(); } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); had_error_processing_elements_ = true; } #ifdef IFOPSH_WITH_OPENCASCADE catch (const Standard_Failure& e) { if (e.GetMessageString() && strlen(e.GetMessageString())) { - Logger::Error(e.GetMessageString()); + logger::error(e.GetMessageString()); } else { - Logger::Error("Unknown error creating geometry"); + logger::error("Unknown error creating geometry"); } had_error_processing_elements_ = true; } #endif catch (...) { - Logger::Error("Unknown error creating geometry"); + logger::error("Unknown error creating geometry"); had_error_processing_elements_ = true; } return product; @@ -829,8 +829,8 @@ ifcopenshell::geometry::taxonomy::direction3::ptr IfcGeom::Iterator::remove_offs } } - Logger::Notice("Removed large offsets within " + std::to_string(num_offset_applied) + " products"); - Logger::Notice("Offset applied (" + std::to_string(vec(0)) + "," + std::to_string(vec(1)) + "," + std::to_string(vec(2)) + ")"); + logger::notice("Removed large offsets within " + std::to_string(num_offset_applied) + " products"); + logger::notice("Offset applied (" + std::to_string(vec(0)) + "," + std::to_string(vec(1)) + "," + std::to_string(vec(2)) + ")"); return make(vec); } diff --git a/src/ifcgeom/Iterator.h b/src/ifcgeom/Iterator.h index a31b547597..fb7ace7768 100644 --- a/src/ifcgeom/Iterator.h +++ b/src/ifcgeom/Iterator.h @@ -58,7 +58,7 @@ #ifndef IFCGEOMITERATOR_H #define IFCGEOMITERATOR_H -#include "../ifcparse/IfcFile.h" +#include "../ifcparse/file.h" #include "../ifcgeom/IfcGeomElement.h" #include "../ifcgeom/ConversionResult.h" @@ -130,7 +130,7 @@ namespace IfcGeom { size_t async_elements_returned_ = 0; ifcopenshell::geometry::Settings settings_; - IfcParse::IfcFile* ifc_file; + ifcopenshell::file* ifc_file; std::vector filters_; int num_threads_; std::string geometry_library_; @@ -217,7 +217,7 @@ namespace IfcGeom { ifcopenshell::geometry::taxonomy::direction3::ptr remove_offset_(); public: - Iterator(std::unique_ptr&& geometry_library, const ifcopenshell::geometry::Settings& settings, IfcParse::IfcFile* file, const std::vector& filters, int num_threads) + Iterator(std::unique_ptr&& geometry_library, const ifcopenshell::geometry::Settings& settings, ifcopenshell::file* file, const std::vector& filters, int num_threads) : settings_(settings) , ifc_file(file) , filters_(filters) @@ -228,7 +228,7 @@ namespace IfcGeom { { } - Iterator(std::unique_ptr&& geometry_library, const ifcopenshell::geometry::Settings& settings, IfcParse::IfcFile* file) + Iterator(std::unique_ptr&& geometry_library, const ifcopenshell::geometry::Settings& settings, ifcopenshell::file* file) : settings_(settings) , ifc_file(file) , num_threads_(1) @@ -237,7 +237,7 @@ namespace IfcGeom { { } - Iterator(std::unique_ptr&& geometry_library, const ifcopenshell::geometry::Settings& settings, IfcParse::IfcFile* file, int num_threads) + Iterator(std::unique_ptr&& geometry_library, const ifcopenshell::geometry::Settings& settings, ifcopenshell::file* file, int num_threads) : settings_(settings) , ifc_file(file) , num_threads_(num_threads) @@ -309,9 +309,9 @@ namespace IfcGeom { return progress_; } - std::string getLog() const { return Logger::GetLog(); } + std::string getLog() const { return logger::get_log(); } - IfcParse::IfcFile* file() const { return ifc_file; } + ifcopenshell::file* file() const { return ifc_file; } const std::vector& filters() const { return filters_; } std::vector& filters() { return filters_; } diff --git a/src/ifcgeom/Serialization/Serialization.cpp b/src/ifcgeom/Serialization/Serialization.cpp index 4276a97331..04fa3b2e09 100644 --- a/src/ifcgeom/Serialization/Serialization.cpp +++ b/src/ifcgeom/Serialization/Serialization.cpp @@ -6,13 +6,13 @@ #include #include -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/file.h" #define EXTERNAL_DEFS_1(r, data, elem) \ - express::Base BOOST_PP_CAT(tesselate_Ifc, elem)(IfcParse::IfcFile&, const TopoDS_Shape& shape, double deflection); + express::Base BOOST_PP_CAT(tesselate_Ifc, elem)(ifcopenshell::file&, const TopoDS_Shape& shape, double deflection); #define EXTERNAL_DEFS_2(r, data, elem) \ - express::Base BOOST_PP_CAT(serialise_Ifc, elem)(IfcParse::IfcFile&, const TopoDS_Shape& shape, bool advanced); + express::Base BOOST_PP_CAT(serialise_Ifc, elem)(ifcopenshell::file&, const TopoDS_Shape& shape, bool advanced); #define CONDITIONAL_CALL(r, data, elem) \ if (schema_name_lower == BOOST_PP_STRINGIZE(BOOST_PP_CAT(elem,))) { \ @@ -24,36 +24,36 @@ BOOST_PP_SEQ_FOR_EACH(EXTERNAL_DEFS_2, , SCHEMA_SEQ); #define METHOD_NAME tesselate_Ifc -express::Base IfcGeom::tesselate(IfcParse::IfcFile& f, const TopoDS_Shape& shape, double arg_2) { +express::Base IfcGeom::tesselate(ifcopenshell::file& f, const TopoDS_Shape& shape, double arg_2) { auto schema_name = f.schema()->name(); // @todo an ugly hack to guarantee schemas are initialised. // @todo is this still needed? parsing a file should have initialized the schemas already. try { - IfcParse::schema_by_name("IFC2X3"); - } catch (IfcParse::IfcException&) {} + ifcopenshell::schema_by_name("IFC2X3"); + } catch (ifcopenshell::exception&) {} const std::string schema_name_lower = boost::to_lower_copy(schema_name.substr(3)); BOOST_PP_SEQ_FOR_EACH(CONDITIONAL_CALL, , SCHEMA_SEQ); - throw IfcParse::IfcException("No geometry serialization available for " + schema_name); + throw ifcopenshell::exception("No geometry serialization available for " + schema_name); } #undef METHOD_NAME #define METHOD_NAME serialise_Ifc -express::Base IfcGeom::serialise(IfcParse::IfcFile& f, const TopoDS_Shape& shape, bool arg_2) { +express::Base IfcGeom::serialise(ifcopenshell::file& f, const TopoDS_Shape& shape, bool arg_2) { auto schema_name = f.schema()->name(); // @todo an ugly hack to guarantee schemas are initialised. try { - IfcParse::schema_by_name("IFC2X3"); - } catch (IfcParse::IfcException&) {} + ifcopenshell::schema_by_name("IFC2X3"); + } catch (ifcopenshell::exception&) {} const std::string schema_name_lower = boost::to_lower_copy(schema_name.substr(3)); BOOST_PP_SEQ_FOR_EACH(CONDITIONAL_CALL, , SCHEMA_SEQ); - throw IfcParse::IfcException("No geometry serialization available for " + schema_name); + throw ifcopenshell::exception("No geometry serialization available for " + schema_name); } \ No newline at end of file diff --git a/src/ifcgeom/Serialization/Serialization.h b/src/ifcgeom/Serialization/Serialization.h index 2679f2b6f1..243465715a 100644 --- a/src/ifcgeom/Serialization/Serialization.h +++ b/src/ifcgeom/Serialization/Serialization.h @@ -7,6 +7,6 @@ #include namespace IfcGeom { -IFC_GEOMSERIALIZATION_API express::Base tesselate(IfcParse::IfcFile& f, const TopoDS_Shape& shape, double deflection); -IFC_GEOMSERIALIZATION_API express::Base serialise(IfcParse::IfcFile& f, const TopoDS_Shape& shape, bool advanced); +IFC_GEOMSERIALIZATION_API express::Base tesselate(ifcopenshell::file& f, const TopoDS_Shape& shape, double deflection); +IFC_GEOMSERIALIZATION_API express::Base serialise(ifcopenshell::file& f, const TopoDS_Shape& shape, bool advanced); } // namespace IfcGeom diff --git a/src/ifcgeom/Serialization/schema/Serialization.cpp b/src/ifcgeom/Serialization/schema/Serialization.cpp index 30836d05cc..81eafc5d4f 100644 --- a/src/ifcgeom/Serialization/schema/Serialization.cpp +++ b/src/ifcgeom/Serialization/schema/Serialization.cpp @@ -23,32 +23,32 @@ #include #include "../../../ifcparse/macros.h" -#include "../../../ifcparse/IfcParse.h" -#include "../../../ifcparse/IfcFile.h" +#include "../../../ifcparse/parse.h" +#include "../../../ifcparse/file.h" -#define INCLUDE_PARENT_PARENT_DIR(x) STRINGIFY(../../../ifcparse/x.h) +#define INCLUDE_PARENT_PARENT_DIR(x) STRINGIFY(../../../ifcparse/schemas/x.h) #include INCLUDE_PARENT_PARENT_DIR(IfcSchema) #undef INCLUDE_PARENT_PARENT_DIR -#define INCLUDE_PARENT_PARENT_DIR(x) STRINGIFY(../../../ifcparse/x-definitions.h) +#define INCLUDE_PARENT_PARENT_DIR(x) STRINGIFY(../../../ifcparse/schemas/x-definitions.h) #include INCLUDE_PARENT_PARENT_DIR(IfcSchema) #include template -int convert_to_ifc(IfcParse::IfcFile& f, const T& t, U& u, bool /*advanced*/) { +int convert_to_ifc(ifcopenshell::file& f, const T& t, U& u, bool /*advanced*/) { u = f.create(); u.set_attribute_value(0, std::vector{t.X(), t.Y(), t.Z()}); return 1; } template <> -int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Vertex& v, IfcSchema::IfcCartesianPoint& p, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const TopoDS_Vertex& v, IfcSchema::IfcCartesianPoint& p, bool advanced) { gp_Pnt pnt = BRep_Tool::Pnt(v); return convert_to_ifc(f, pnt, p, advanced); } template <> -int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Vertex& v, IfcSchema::IfcVertexPoint& vertex, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const TopoDS_Vertex& v, IfcSchema::IfcVertexPoint& vertex, bool advanced) { IfcSchema::IfcCartesianPoint p; if (convert_to_ifc(f, v, p, advanced)) { vertex = f.create(); @@ -60,7 +60,7 @@ int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Vertex& v, IfcSchema::IfcV } template <> -int convert_to_ifc(IfcParse::IfcFile& f, const gp_Ax2& a, IfcSchema::IfcAxis2Placement3D& ax, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const gp_Ax2& a, IfcSchema::IfcAxis2Placement3D& ax, bool advanced) { IfcSchema::IfcCartesianPoint p; IfcSchema::IfcDirection x, z; if (!(convert_to_ifc(f, a.Location(), p, advanced) && convert_to_ifc(f, a.Direction(), z, advanced) && convert_to_ifc(f, a.XDirection(), x, advanced))) { @@ -112,7 +112,7 @@ namespace { #endif template <> -int convert_to_ifc(IfcParse::IfcFile& f, const Handle_Geom_Curve& c, IfcSchema::IfcCurve& curve, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const Handle_Geom_Curve& c, IfcSchema::IfcCurve& curve, bool advanced) { if (c->DynamicType() == STANDARD_TYPE(Geom_TrimmedCurve)) { Handle_Geom_TrimmedCurve trim = Handle_Geom_TrimmedCurve::DownCast(c); const Handle_Geom_Curve basis = trim->BasisCurve(); @@ -284,7 +284,7 @@ int convert_to_ifc(IfcParse::IfcFile& f, const Handle_Geom_Curve& c, IfcSchema:: } template <> -int convert_to_ifc(IfcParse::IfcFile& f, const Handle_Geom_Surface& s, IfcSchema::IfcSurface& surface, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const Handle_Geom_Surface& s, IfcSchema::IfcSurface& surface, bool advanced) { if (s->DynamicType() == STANDARD_TYPE(Geom_Plane)) { Handle_Geom_Plane plane = Handle_Geom_Plane::DownCast(s); IfcSchema::IfcAxis2Placement3D place; @@ -403,7 +403,7 @@ int convert_to_ifc(IfcParse::IfcFile& f, const Handle_Geom_Surface& s, IfcSchema } template <> -int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Edge& e, IfcSchema::IfcCurve& c, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const TopoDS_Edge& e, IfcSchema::IfcCurve& c, bool advanced) { double a, b; IfcSchema::IfcCurve base; @@ -433,7 +433,7 @@ int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Edge& e, IfcSchema::IfcCur } template <> -int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Edge& e, IfcSchema::IfcEdge& edge, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const TopoDS_Edge& e, IfcSchema::IfcEdge& edge, bool advanced) { double a, b; TopExp_Explorer exp(e, TopAbs_VERTEX); @@ -505,7 +505,7 @@ namespace { } template <> -int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Wire& wire, IfcSchema::IfcLoop& loop, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const TopoDS_Wire& wire, IfcSchema::IfcLoop& loop, bool advanced) { bool polygonal = true; for (TopExp_Explorer exp(wire, TopAbs_EDGE); exp.More(); exp.Next()) { double a, b; @@ -540,7 +540,7 @@ int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Wire& wire, IfcSchema::Ifc BRepTools_WireExplorer exp(wire); for (; exp.More(); exp.Next()) { IfcSchema::IfcEdge edge; - // With advanced set to true convert_to_ifc(IfcParse::IfcFile& f, TopoDS_Edge&) will always create an IfcOrientedEdge + // With advanced set to true convert_to_ifc(ifcopenshell::file& f, TopoDS_Edge&) will always create an IfcOrientedEdge if (!convert_to_ifc(f, exp.Current(), edge, true)) { double a, b; if (BRep_Tool::Curve(TopoDS::Edge(exp.Current()), a, b).IsNull()) { @@ -559,7 +559,7 @@ int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Wire& wire, IfcSchema::Ifc } template <> -int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Face& fa, IfcSchema::IfcFace& face, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const TopoDS_Face& fa, IfcSchema::IfcFace& face, bool advanced) { Handle_Geom_Surface surf = BRep_Tool::Surface(fa); TopExp_Explorer exp(fa, TopAbs_WIRE); std::vector bounds; @@ -611,7 +611,7 @@ int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Face& fa, IfcSchema::IfcFa } template -int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Shape& s, U& item, bool advanced) { +int convert_to_ifc(ifcopenshell::file& f, const TopoDS_Shape& s, U& item, bool advanced) { std::vector faces; IfcSchema::IfcFace fa; @@ -625,7 +625,7 @@ int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Shape& s, U& item, bool ad created.insert(resources.begin(), resources.end()); } for (auto& c : created) { - f.removeEntity(c); + f.remove_entity(c); } return 0; } @@ -637,7 +637,7 @@ int convert_to_ifc(IfcParse::IfcFile& f, const TopoDS_Shape& s, U& item, bool ad return faces.size(); } -express::Base POSTFIX_SCHEMA(serialise)(IfcParse::IfcFile& f, const TopoDS_Shape& shape, bool advanced) { +express::Base POSTFIX_SCHEMA(serialise)(ifcopenshell::file& f, const TopoDS_Shape& shape, bool advanced) { #ifndef SCHEMA_HAS_IfcAdvancedBrep advanced = false; @@ -788,7 +788,7 @@ express::Base POSTFIX_SCHEMA(serialise)(IfcParse::IfcFile& f, const TopoDS_Shape return pds; } -express::Base POSTFIX_SCHEMA(tesselate)(IfcParse::IfcFile& f, const TopoDS_Shape& shape, double deflection) { +express::Base POSTFIX_SCHEMA(tesselate)(ifcopenshell::file& f, const TopoDS_Shape& shape, double deflection) { // @todo use triangulated face set in ifc4+ schema BRepMesh_IncrementalMesh(shape, deflection); diff --git a/src/ifcgeom/Serializer.h b/src/ifcgeom/Serializer.h index ba5d6fab69..3d011bd675 100644 --- a/src/ifcgeom/Serializer.h +++ b/src/ifcgeom/Serializer.h @@ -20,7 +20,7 @@ #ifndef SERIALIZER_H #define SERIALIZER_H -#include "../ifcparse/IfcFile.h" +#include "../ifcparse/file.h" class Serializer { public: @@ -29,7 +29,7 @@ public: virtual bool ready() = 0; virtual void writeHeader() = 0; virtual void finalize() = 0; - virtual void setFile(IfcParse::IfcFile*) = 0; + virtual void setFile(ifcopenshell::file*) = 0; }; #endif \ No newline at end of file diff --git a/src/ifcgeom/abstract_mapping.cpp b/src/ifcgeom/abstract_mapping.cpp index fd253edc5d..99d433e125 100644 --- a/src/ifcgeom/abstract_mapping.cpp +++ b/src/ifcgeom/abstract_mapping.cpp @@ -1,6 +1,6 @@ #include "abstract_mapping.h" -#include "../ifcparse/IfcFile.h" +#include "../ifcparse/file.h" #include #include @@ -37,12 +37,12 @@ void ifcopenshell::geometry::impl::MappingFactoryImplementation::bind(const std: this->insert(std::make_pair(schema_name_lower, fn)); } -ifcopenshell::geometry::abstract_mapping* ifcopenshell::geometry::impl::MappingFactoryImplementation::construct(IfcParse::IfcFile* file, Settings& s) { +ifcopenshell::geometry::abstract_mapping* ifcopenshell::geometry::impl::MappingFactoryImplementation::construct(ifcopenshell::file* file, Settings& s) { const std::string schema_name_lower = boost::to_lower_copy(file->schema()->name()); std::map::const_iterator it; it = this->find(schema_name_lower); if (it == end()) { - throw IfcParse::IfcException("No geometry mapping registered for " + schema_name_lower); + throw ifcopenshell::exception("No geometry mapping registered for " + schema_name_lower); } auto new_mapping = it->second(file, s); new_mapping->initialize_settings(); diff --git a/src/ifcgeom/abstract_mapping.h b/src/ifcgeom/abstract_mapping.h index 6dea7b8e11..cecd3acf0f 100644 --- a/src/ifcgeom/abstract_mapping.h +++ b/src/ifcgeom/abstract_mapping.h @@ -77,13 +77,13 @@ namespace geometry { }; namespace impl { - typedef boost::function2 mapping_fn; + typedef boost::function2 mapping_fn; class IFC_GEOM_API MappingFactoryImplementation : public std::map { public: MappingFactoryImplementation(); void bind(const std::string& schema_name, mapping_fn); - abstract_mapping* construct(IfcParse::IfcFile*, Settings&); + abstract_mapping* construct(ifcopenshell::file*, Settings&); }; IFC_GEOM_API MappingFactoryImplementation& mapping_implementations(); diff --git a/src/ifcgeom/function_item_evaluator.cpp b/src/ifcgeom/function_item_evaluator.cpp index 300736800a..919ad1d0b1 100644 --- a/src/ifcgeom/function_item_evaluator.cpp +++ b/src/ifcgeom/function_item_evaluator.cpp @@ -76,7 +76,7 @@ struct piecewise_fn_evaluator : public fn_evaluator { span_start += fn->length(); } - Logger::Error("piecewise span not found."); + logger::error("piecewise span not found."); return {0, 0, nullptr}; } @@ -235,7 +235,7 @@ function_item_evaluator::function_item_evaluator(const ifcopenshell::geometry::S } else if (kind == taxonomy::OFFSET_FUNCTION) { fn_evaluator_ = new offset_fn_evaluator(std::dynamic_pointer_cast(fn), settings); } else { - Logger::Error("Unexpected function type"); + logger::error("Unexpected function type"); } } diff --git a/src/ifcgeom/hybrid_kernel.h b/src/ifcgeom/hybrid_kernel.h index c2c4840146..a2bf5ae829 100644 --- a/src/ifcgeom/hybrid_kernel.h +++ b/src/ifcgeom/hybrid_kernel.h @@ -62,9 +62,9 @@ namespace ifcopenshell { class HybridKernel : public ifcopenshell::geometry::kernels::AbstractKernel { std::vector> kernels_; ifcopenshell::geometry::abstract_mapping* mapping_; - IfcParse::IfcFile* file_; + ifcopenshell::file* file_; public: - HybridKernel(const std::string& name, IfcParse::IfcFile* file, Settings& settings, std::vector>&& kernels) + HybridKernel(const std::string& name, ifcopenshell::file* file, Settings& settings, std::vector>&& kernels) : AbstractKernel(name, settings) , kernels_(std::move(kernels)) , mapping_(ifcopenshell::geometry::impl::mapping_implementations().construct(file, settings)) @@ -167,7 +167,7 @@ namespace ifcopenshell { } }; - inline std::unique_ptr construct(IfcParse::IfcFile* file, const std::string& geometry_library, Settings& conv_settings) { + inline std::unique_ptr construct(ifcopenshell::file* file, const std::string& geometry_library, Settings& conv_settings) { std::string geometry_library_lower = boost::to_lower_copy(geometry_library); #ifdef IFOPSH_WITH_OPENCASCADE @@ -193,7 +193,7 @@ namespace ifcopenshell { if (geometry_library_lower.find("-", 0) == 0) { geometry_library_lower = geometry_library_lower.substr(strlen("-")); } else { - throw IfcParse::IfcException("Invalid hybrid kernel " + geometry_library); + throw ifcopenshell::exception("Invalid hybrid kernel " + geometry_library); } auto n = kernels.size(); #ifdef IFOPSH_WITH_OPENCASCADE @@ -215,7 +215,7 @@ namespace ifcopenshell { } #endif if (kernels.size() != n + 1) { - throw IfcParse::IfcException("Invalid hybrid kernel " + geometry_library); + throw ifcopenshell::exception("Invalid hybrid kernel " + geometry_library); } } @@ -229,7 +229,7 @@ namespace ifcopenshell { } } - throw IfcParse::IfcException("No geometry kernel registered for " + geometry_library); + throw ifcopenshell::exception("No geometry kernel registered for " + geometry_library); } } diff --git a/src/ifcgeom/infra_sweep_helper.cpp b/src/ifcgeom/infra_sweep_helper.cpp index 5b7de5e6ed..1a24466b16 100644 --- a/src/ifcgeom/infra_sweep_helper.cpp +++ b/src/ifcgeom/infra_sweep_helper.cpp @@ -1,4 +1,4 @@ -#include "profile_helper.h" +#include "profile_helper.h" #include "infra_sweep_helper.h" #include "function_item_evaluator.h" @@ -51,7 +51,7 @@ taxonomy::loft::ptr ifcopenshell::geometry::make_loft(const Settings& settings_, double end = std::min(fn->length(), cross_sections.back().dist_along); if (end - start < 1.e-9) { - Logger::Warning("Empty sweep domain with start at " + std::to_string(cross_sections.front().dist_along) + " end at " + std::to_string(cross_sections.back().dist_along) + " and curve domain length " + std::to_string(fn->length()), inst); + logger::warning("Empty sweep domain with start at " + std::to_string(cross_sections.front().dist_along) + " end at " + std::to_string(cross_sections.back().dist_along) + " and curve domain length " + std::to_string(fn->length()), inst); return nullptr; } @@ -130,7 +130,7 @@ taxonomy::loft::ptr ifcopenshell::geometry::make_loft(const Settings& settings_, auto profile_b_f = std::static_pointer_cast(profile_b); if (profile_a_f->children.size() != profile_b_f->children.size()) { - Logger::Warning("Mismatching number of face boundaries: " + + logger::warning("Mismatching number of face boundaries: " + std::to_string(profile_a_f->children.size()) + " vs " + std::to_string(profile_b_f->children.size()), inst @@ -165,7 +165,7 @@ taxonomy::loft::ptr ifcopenshell::geometry::make_loft(const Settings& settings_, // in which case we would need to lerp with the rotation component below in m4b. interpolated_rotation = lerp(*rotation_a, *rotation_b, relative_dist_along); } else if (rotation_a != rotation_b) { - Logger::Error("Direction vectors on cross section placements only supported when used consistently"); + logger::error("Direction vectors on cross section placements only supported when used consistently"); } taxonomy::loop::ptr w1, w2; @@ -176,12 +176,12 @@ taxonomy::loft::ptr ifcopenshell::geometry::make_loft(const Settings& settings_, boost::tie(w1, w2) = tmp_; if (w1->closed != w2->closed) { - Logger::Warning("Mismatching closed property on loops", inst); + logger::warning("Mismatching closed property on loops", inst); return nullptr; } if (w1->tags.has_value() != w2->tags.has_value()) { - Logger::Warning("Mismatching availability tags on loops", inst); + logger::warning("Mismatching availability tags on loops", inst); return nullptr; } @@ -190,7 +190,7 @@ taxonomy::loft::ptr ifcopenshell::geometry::make_loft(const Settings& settings_, std::set tags_seen; for (const auto& t : *w1->tags) { if (tags_seen.find(t) != tags_seen.end()) { - Logger::Warning("Duplicate tag '" + t + "' on loft profile", inst); + logger::warning("Duplicate tag '" + t + "' on loft profile", inst); return nullptr; } tags_seen.insert(t); @@ -202,7 +202,7 @@ taxonomy::loft::ptr ifcopenshell::geometry::make_loft(const Settings& settings_, std::set tags_seen; for (const auto& t : *w2->tags) { if (tags_seen.find(t) != tags_seen.end()) { - Logger::Warning("Duplicate tag '" + t + "' on loft profile", inst); + logger::warning("Duplicate tag '" + t + "' on loft profile", inst); return nullptr; } tags_seen.insert(t); @@ -303,20 +303,20 @@ taxonomy::loft::ptr ifcopenshell::geometry::make_loft(const Settings& settings_, for (auto& p1_tags : w1_tags) { if (!has_intersection(p1_tags, w2_tags_combined)) { - Logger::Warning("No matching tags found on loft profiles: " + join_tags(p1_tags) + " not in " + join_tags(w2_tags_combined), inst); + logger::warning("No matching tags found on loft profiles: " + join_tags(p1_tags) + " not in " + join_tags(w2_tags_combined), inst); return nullptr; } } for (auto& p2_tags : w2_tags) { if (!has_intersection(p2_tags, w1_tags_combined)) { - Logger::Warning("No matching tags found on loft profiles: " + join_tags(p2_tags) + " not in " + join_tags(w1_tags_combined), inst); + logger::warning("No matching tags found on loft profiles: " + join_tags(p2_tags) + " not in " + join_tags(w1_tags_combined), inst); return nullptr; } } } else { if (w1->children.size() != w2->children.size()) { - Logger::Warning("Mismatching number of edges: " + + logger::warning("Mismatching number of edges: " + std::to_string(w1->children.size()) + " vs " + std::to_string(w2->children.size()), inst); diff --git a/src/ifcgeom/kernels/cgal/CgalConversionResult.cpp b/src/ifcgeom/kernels/cgal/CgalConversionResult.cpp index 5a34af6f9c..f8bdc1761a 100644 --- a/src/ifcgeom/kernels/cgal/CgalConversionResult.cpp +++ b/src/ifcgeom/kernels/cgal/CgalConversionResult.cpp @@ -6,7 +6,7 @@ #include #include -#include "../../../ifcparse/IfcLogger.h" +#include "../../../ifcparse/logger.h" #include "../../../ifcgeom/IfcGeomRepresentation.h" using IfcGeom::OpaqueNumber; @@ -112,7 +112,7 @@ ifcopenshell::geometry::CgalShape::CgalShape(const cgal_shape_t& shape, bool con auto b2 = plane.base2(); if (V.squared_length() == 0) { - Logger::Warning("Removed face due to self-intersections"); + logger::warning("Removed face due to self-intersections"); faces_to_remove.insert(face); continue; } @@ -133,7 +133,7 @@ ifcopenshell::geometry::CgalShape::CgalShape(const cgal_shape_t& shape, bool con } if (!CGAL::Polygon_2(ps.begin(), ps.end()).is_simple()) { - Logger::Warning("Removed face due to self-intersections"); + logger::warning("Removed face due to self-intersections"); faces_to_remove.insert(face); } } @@ -233,7 +233,7 @@ void ifcopenshell::geometry::CgalShape::Triangulate(ifcopenshell::geometry::Sett if (!all_triangles) { if (!shape_to_use->is_valid()) { - Logger::Message(Logger::LOG_ERROR, "Invalid Polyhedron_3 in object (before triangulation)"); + logger::message(logger::LOG_ERROR, "Invalid Polyhedron_3 in object (before triangulation)"); return; } @@ -241,19 +241,19 @@ void ifcopenshell::geometry::CgalShape::Triangulate(ifcopenshell::geometry::Sett try { success = CGAL::Polygon_mesh_processing::triangulate_faces(*shape_to_use); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Triangulation crashed"); + logger::message(logger::LOG_ERROR, "Triangulation crashed"); return; } CGAL::Polygon_mesh_processing::remove_degenerate_faces(*shape_to_use); if (!success) { - Logger::Message(Logger::LOG_ERROR, "Triangulation failed"); + logger::message(logger::LOG_ERROR, "Triangulation failed"); return; } if (!shape_to_use->is_valid()) { - Logger::Message(Logger::LOG_ERROR, "Invalid Polyhedron_3 in object (after triangulation)"); + logger::message(logger::LOG_ERROR, "Invalid Polyhedron_3 in object (after triangulation)"); return; } } @@ -282,7 +282,7 @@ void ifcopenshell::geometry::CgalShape::Triangulate(ifcopenshell::geometry::Sett try { CGAL::Polygon_mesh_processing::compute_face_normals(*shape_to_use, face_normals_map); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Face normal calculation failed"); + logger::message(logger::LOG_ERROR, "Face normal calculation failed"); return; } @@ -296,7 +296,7 @@ void ifcopenshell::geometry::CgalShape::Triangulate(ifcopenshell::geometry::Sett int num_faces = 0, num_vertices = 0; for (auto &face : faces(*shape_to_use)) { if (!face->is_triangle()) { - std::cout << "Warning: non-triangular face!" << std::endl; + std::cout << "warning: non-triangular face!" << std::endl; continue; } CGAL::Polyhedron_3::Halfedge_around_facet_const_circulator current_halfedge = face->facet_begin(); diff --git a/src/ifcgeom/kernels/cgal/CgalConversionResult.h b/src/ifcgeom/kernels/cgal/CgalConversionResult.h index fa66119957..cb46ccaf98 100644 --- a/src/ifcgeom/kernels/cgal/CgalConversionResult.h +++ b/src/ifcgeom/kernels/cgal/CgalConversionResult.h @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * diff --git a/src/ifcgeom/kernels/cgal/CgalKernel.cpp b/src/ifcgeom/kernels/cgal/CgalKernel.cpp index 418e6182d1..b658a4adc6 100644 --- a/src/ifcgeom/kernels/cgal/CgalKernel.cpp +++ b/src/ifcgeom/kernels/cgal/CgalKernel.cpp @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -21,7 +21,7 @@ #include "CgalKernel.h" -#include "../../../ifcparse/IfcLogger.h" +#include "../../../ifcparse/logger.h" #include "../../../ifcgeom/kernels/cgal/CgalConversionResult.h" #ifdef IFOPSH_SIMPLE_KERNEL @@ -76,7 +76,7 @@ CGAL::Polyhedron_3 ifcopenshell::geometry::utils::create_polyhedron(std polyhedron.normalize_border(); if (!polyhedron.is_valid(false, 1)) { - Logger::Message(Logger::LOG_ERROR, "create_polyhedron: Polyhedron not valid!"); + logger::message(logger::LOG_ERROR, "create_polyhedron: Polyhedron not valid!"); // std::ofstream fresult; // fresult.open("/Users/ken/Desktop/invalid.off"); // fresult << polyhedron << std::endl; @@ -97,11 +97,11 @@ CGAL::Polyhedron_3 ifcopenshell::geometry::utils::create_polyhedron(con nef_polyhedron.convert_to_polyhedron(polyhedron); return polyhedron; } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Conversion from Nef to polyhedron failed!"); + logger::message(logger::LOG_ERROR, "Conversion from Nef to polyhedron failed!"); return CGAL::Polyhedron_3(); } } else { - Logger::Message(Logger::LOG_ERROR, "Nef polyhedron not simple: cannot create polyhedron!"); + logger::message(logger::LOG_ERROR, "Nef polyhedron not simple: cannot create polyhedron!"); return CGAL::Polyhedron_3(); } } @@ -114,7 +114,7 @@ CGAL::Nef_polyhedron_3 ifcopenshell::geometry::utils::create_nef_polyhe CGAL::Polygon_mesh_processing::reverse_face_orientations(polyhedron); } } catch (CGAL::Failure_exception& e) { - Logger::Message(Logger::LOG_ERROR, e); + logger::message(logger::LOG_ERROR, e); } } CGAL::Polygon_mesh_processing::triangulate_faces(polyhedron); @@ -122,7 +122,7 @@ CGAL::Nef_polyhedron_3 ifcopenshell::geometry::utils::create_nef_polyhe try { nef_polyhedron = CGAL::Nef_polyhedron_3(polyhedron); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Conversion to Nef polyhedron failed!"); + logger::message(logger::LOG_ERROR, "Conversion to Nef polyhedron failed!"); } return nef_polyhedron; } @@ -137,7 +137,7 @@ CGAL::Nef_polyhedron_3 ifcopenshell::geometry::utils::create_nef_polyhe CGAL::Polygon_mesh_processing::reverse_face_orientations(polyhedron); } } catch (CGAL::Failure_exception& e) { - Logger::Message(Logger::LOG_ERROR, e); + logger::message(logger::LOG_ERROR, e); } } @@ -148,11 +148,11 @@ CGAL::Nef_polyhedron_3 ifcopenshell::geometry::utils::create_nef_polyhe try { nef_polyhedron = CGAL::Nef_polyhedron_3(polyhedron); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Conversion to Nef polyhedron failed!"); + logger::message(logger::LOG_ERROR, "Conversion to Nef polyhedron failed!"); } return nef_polyhedron; } else { - Logger::Message(Logger::LOG_ERROR, "Polyhedron not valid: cannot create Nef polyhedron!"); + logger::message(logger::LOG_ERROR, "Polyhedron not valid: cannot create Nef polyhedron!"); return CGAL::Nef_polyhedron_3(); } } @@ -161,13 +161,13 @@ CGAL::Nef_polyhedron_3 ifcopenshell::geometry::utils::create_nef_polyhe bool CgalKernel::convert(const taxonomy::shell::ptr l, cgal_shape_t& shape) { for (auto& f : l->children) { if (f->basis && f->basis->kind() != taxonomy::PLANE) { - Logger::Error("CGAL Kernel: Non-planar faces not supported at the moment"); + logger::error("CGAL Kernel: Non-planar faces not supported at the moment"); throw not_supported_error(); } for (auto& w : f->children) { for (auto& e : w->children) { if (e->basis && e->basis->kind() == taxonomy::BSPLINE_CURVE) { - Logger::Error("CGAL Kernel: B-spline edge curves not supported at the moment"); + logger::error("CGAL Kernel: B-spline edge curves not supported at the moment"); throw not_supported_error(); } } @@ -196,9 +196,9 @@ bool CgalKernel::convert(const taxonomy::shell::ptr l, cgal_shape_t& shape) { double volume = diag(0) * diag(1) * diag(2); // @todo volume van be zero also.. double density = num_points / volume; - Logger::Notice("Density " + boost::lexical_cast(density), l->instance); + logger::notice("Density " + boost::lexical_cast(density), l->instance); if (density > 5000) { - Logger::Notice("Substituted element with " + boost::lexical_cast(density) + " vertices / m3 with a bounding box"); + logger::notice("Substituted element with " + boost::lexical_cast(density) + " vertices / m3 with a bounding box"); CGAL::Point_3 lower(minmax.first(0), minmax.first(1), minmax.first(2)); CGAL::Point_3 upper(minmax.second(0), minmax.second(1), minmax.second(2)); shape = utils::create_cube(lower, upper); @@ -214,7 +214,7 @@ bool CgalKernel::convert(const taxonomy::shell::ptr l, cgal_shape_t& shape) { } catch (...) {} if (!success) { - Logger::Message(Logger::LOG_WARNING, "Failed to convert face:", f->instance); + logger::message(logger::LOG_WARNING, "Failed to convert face:", f->instance); continue; } @@ -236,7 +236,7 @@ bool CgalKernel::convert(const taxonomy::face::ptr face, std::list& } if (face->children.size() > 1 && num_outer_bounds > 1 && face->children.size() != num_outer_bounds) { - Logger::Message(Logger::LOG_ERROR, "Invalid configuration of boundaries for:", face->instance); + logger::message(logger::LOG_ERROR, "Invalid configuration of boundaries for:", face->instance); return false; } @@ -249,7 +249,7 @@ bool CgalKernel::convert(const taxonomy::face::ptr face, std::list& cgal_wire_t wire; if (!convert(bound, wire)) { - Logger::Message(Logger::LOG_ERROR, "Failed to process face boundary loop", bound->instance); + logger::message(logger::LOG_ERROR, "Failed to process face boundary loop", bound->instance); return false; } @@ -703,7 +703,7 @@ bool CgalKernel::convert(const taxonomy::loop::ptr loop, cgal_wire_t& result) { if (d < 1.e-5) { points.erase(points.end() - 1); } else { - Logger::Warning("Loop not closed", loop->instance); + logger::warning("Loop not closed", loop->instance); } } @@ -717,7 +717,7 @@ bool CgalKernel::convert(const taxonomy::loop::ptr loop, cgal_wire_t& result) { // A loop should consist of at least three vertices std::size_t original_count = polygon.size(); if (original_count < 3) { - Logger::Warning("Not enough edges for:", loop->instance); + logger::warning("Not enough edges for:", loop->instance); return false; } @@ -728,14 +728,14 @@ bool CgalKernel::convert(const taxonomy::loop::ptr loop, cgal_wire_t& result) { std::size_t count = polygon.size(); if (original_count - count != 0) { std::stringstream ss; ss << (original_count - count) << " edges removed for:"; - Logger::Warning(ss.str(), loop->instance); + logger::warning(ss.str(), loop->instance); } { std::set visited_points; for (auto& p : polygon) { if (visited_points.find(p) != visited_points.end()) { - Logger::Error("Skipping self-intersecting loop", loop->instance); + logger::error("Skipping self-intersecting loop", loop->instance); // @todo signal somehow that occt kernel might be able to solve this // @todo implement cycle detection using Arrangement_2, but that only works in exact kernel return false; @@ -757,7 +757,7 @@ bool CgalKernel::convert(const taxonomy::loop::ptr loop, cgal_wire_t& result) { } if (do_segments_intersect(segments)) { - Logger::Message(Logger::LOG_WARNING, "Skipping self-intersecting loop", loop->instance); + logger::message(logger::LOG_WARNING, "Skipping self-intersecting loop", loop->instance); return false; } @@ -785,7 +785,7 @@ bool CgalKernel::convert(const taxonomy::loop::ptr loop, cgal_wire_t& result) { */ if (count < 3) { - Logger::Message(Logger::LOG_ERROR, "Not enough edges for:", loop->instance); + logger::message(logger::LOG_ERROR, "Not enough edges for:", loop->instance); return false; } @@ -819,7 +819,7 @@ bool CgalKernel::convert_impl(const taxonomy::shell::ptr shell, ConversionResult bool CgalKernel::convert_impl(const taxonomy::solid::ptr solid, ConversionResults& results) { if (solid->children.size() > 1) { - Logger::Error("Multiple shells in solid not supported at the moment"); + logger::error("Multiple shells in solid not supported at the moment"); return false; } cgal_shape_t shape; @@ -964,7 +964,7 @@ bool ifcopenshell::geometry::kernels::CgalKernel::convert_openings(const express try { a.convert_to_polyhedron(a_poly); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Could not convert from Nef:", entity); + logger::message(logger::LOG_ERROR, "Could not convert from Nef:", entity); return false; } @@ -1163,7 +1163,7 @@ bool CgalKernel::process_extrusion(const cgal_face_t& bottom_face, taxonomy::dir try { nef_shape -= utils::create_nef_polyhedron(face_list); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "IfcExtrudedAreaSolid: cannot subtract opening for:"); + logger::message(logger::LOG_ERROR, "IfcExtrudedAreaSolid: cannot subtract opening for:"); return false; } } @@ -1180,7 +1180,7 @@ bool CgalKernel::process_extrusion(const cgal_face_t& bottom_face, taxonomy::dir nef_shape.convert_to_polyhedron(shape); return true; } catch (...) { - Logger::Message(Logger::LOG_ERROR, "IfcExtrudedAreaSolid: cannot convert Nef to polyhedron for:"); + logger::message(logger::LOG_ERROR, "IfcExtrudedAreaSolid: cannot convert Nef to polyhedron for:"); return false; } */ @@ -1189,7 +1189,7 @@ bool CgalKernel::process_extrusion(const cgal_face_t& bottom_face, taxonomy::dir bool CgalKernel::convert(const taxonomy::extrusion::ptr extrusion, cgal_shape_t &shape) { const double& height = extrusion->depth; if (height < settings_.get().get()) { - Logger::Message(Logger::LOG_ERROR, "Non-positive extrusion height encountered for:", extrusion->instance); + logger::message(logger::LOG_ERROR, "Non-positive extrusion height encountered for:", extrusion->instance); return false; } @@ -1325,13 +1325,13 @@ bool CgalKernel::preprocess_boolean_operand(const express::Base& log_reference, cgal_shape_t shape = shape_const; if (!shape.is_valid()) { - Logger::Message(Logger::LOG_ERROR, "Conversion to Nef will fail. Invalid geometry:", log_reference); + logger::message(logger::LOG_ERROR, "Conversion to Nef will fail. Invalid geometry:", log_reference); return false; } if (!shape.is_closed()) { // TODO: There can be substractions to remove parts of non-volumetric objects. Maybe iterate over all faces of an entity and put them in a Nef_polyhedron_3 through Boolean union? Highly inefficient but maybe desirable... - Logger::Message(Logger::LOG_ERROR, "Subtraction of openings not supported for non-closed geometry:", log_reference); + logger::message(logger::LOG_ERROR, "Subtraction of openings not supported for non-closed geometry:", log_reference); return false; } @@ -1340,18 +1340,18 @@ bool CgalKernel::preprocess_boolean_operand(const express::Base& log_reference, try { success = CGAL::Polygon_mesh_processing::triangulate_faces(shape); } catch (CGAL::Failure_exception& e) { - Logger::Notice(e); - Logger::Message(Logger::LOG_ERROR, "Triangulation of geometry crashed:", log_reference); + logger::notice(e); + logger::message(logger::LOG_ERROR, "Triangulation of geometry crashed:", log_reference); return false; } if (!success) { - Logger::Message(Logger::LOG_ERROR, "Triangulation of geometry failed:", log_reference); + logger::message(logger::LOG_ERROR, "Triangulation of geometry failed:", log_reference); return false; } if (CGAL::Polygon_mesh_processing::does_self_intersect(shape)) { - Logger::Message(Logger::LOG_ERROR, "Conversion to Nef will fail. Self-intersecting geometry:", log_reference); + logger::message(logger::LOG_ERROR, "Conversion to Nef will fail. Self-intersecting geometry:", log_reference); return false; } @@ -1423,8 +1423,8 @@ bool CgalKernel::preprocess_boolean_operand(const express::Base& log_reference, try { result = CGAL::Nef_polyhedron_3(shape); } catch (CGAL::Failure_exception& e) { - Logger::Notice(e); - Logger::Message(Logger::LOG_ERROR, "Could not convert geometry to Nef:", log_reference); + logger::notice(e); + logger::message(logger::LOG_ERROR, "Could not convert geometry to Nef:", log_reference); return false; } @@ -1496,8 +1496,8 @@ bool CgalKernel::preprocess_boolean_operand(const express::Base& log_reference, // @todo don't dilate in 3 dimensions but only in the XY plane, orthogonal to wall axis. result = CGAL::minkowski_sum_3(result, precision_cube_); } catch (CGAL::Failure_exception& e) { - Logger::Notice(e); - Logger::Message(Logger::LOG_ERROR, "Could not dilate boolean operand", log_reference); + logger::notice(e); + logger::message(logger::LOG_ERROR, "Could not dilate boolean operand", log_reference); return false; } } @@ -1522,8 +1522,8 @@ bool CgalKernel::preprocess_boolean_operand(const express::Base& log_reference, cgal_shape_t convert_back; result.convert_to_polyhedron(convert_back); } catch (CGAL::Failure_exception& e) { - Logger::Notice(e); - Logger::Message(Logger::LOG_WARNING, "Final conversion will likely fail. Could not convert geometry from Nef:", log_reference); + logger::notice(e); + logger::message(logger::LOG_WARNING, "Final conversion will likely fail. Could not convert geometry from Nef:", log_reference); } return true; @@ -1842,7 +1842,7 @@ bool CgalKernel::convert_impl(const taxonomy::boolean_result::ptr br, Conversion // even-odd fill rule will result in incorrect results. // See for example the Duplex model roof. - Logger::Notice("Holes are not disjoint"); + logger::notice("Holes are not disjoint"); CGAL::Polygon_set_2 result; auto it = loops.begin(); @@ -1894,7 +1894,7 @@ bool CgalKernel::convert_impl(const taxonomy::boolean_result::ptr br, Conversion ); }); - Logger::Notice("Processed boolean operation as 2d arrangement"); + logger::notice("Processed boolean operation as 2d arrangement"); return true; @@ -1980,7 +1980,7 @@ bool CgalKernel::convert_impl(const taxonomy::boolean_result::ptr br, Conversion ps.push_back({ p.x(), p.y() }); } if (!ps.is_simple()) { - Logger::Warning("Polygonal boundary not simple", face->children[0]->instance); + logger::warning("Polygonal boundary not simple", face->children[0]->instance); continue; } @@ -2126,7 +2126,7 @@ bool CgalKernel::convert_impl(const taxonomy::boolean_result::ptr br, Conversion try { a.convert_to_polyhedron(a_poly); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Could not convert geometry with openings from Nef:", br->instance); + logger::message(logger::LOG_ERROR, "Could not convert geometry with openings from Nef:", br->instance); return false; } @@ -2218,7 +2218,7 @@ void PolyhedronBuilder::operator()(CGAL::Polyhedron_3::HalfedgeDS &hds) // For now let's just skip over the triangle. We can also use // the Aff_transformation_3 stored in place to convert the 2d // coords back to 3d. - Logger::Warning("Ignoring triangulated facet with novel point likely due to self-intersections"); + logger::warning("Ignoring triangulated facet with novel point likely due to self-intersections"); facet_vertices.erase(facet_vertices.end() - 1); break; } @@ -2258,7 +2258,7 @@ void PolyhedronBuilder::operator()(CGAL::Polyhedron_3::HalfedgeDS &hds) if (!CGAL::Polygon_mesh_processing::is_polygon_soup_a_polygon_mesh(facet_vertices)) { // @todo seems to return false now, almost always? - // Logger::Warning("Reoriented polygonal surface"); + // logger::warning("Reoriented polygonal surface"); CGAL::Polygon_mesh_processing::orient_polygon_soup(unique_points_as_vector, facet_vertices); } CGAL::Polygon_mesh_processing::polygon_soup_to_polygon_mesh(unique_points_as_vector, facet_vertices, *from_soup); @@ -2278,12 +2278,12 @@ void PolyhedronBuilder::operator()(CGAL::Polyhedron_3::HalfedgeDS &hds) if (added_edges.find(p) != added_edges.end()) { if (reoriented) { facet_indices_to_delete.push_back(fi); - Logger::Notice("Removed facet"); + logger::notice("Removed facet"); valid = false; break; } else { std::reverse(f.begin(), f.end()); - Logger::Notice("Reversed facet"); + logger::notice("Reversed facet"); reoriented = true; goto check_edge_existence; } diff --git a/src/ifcgeom/kernels/cgal/CgalKernel.h b/src/ifcgeom/kernels/cgal/CgalKernel.h index bc0d2dea10..508cfd6f15 100644 --- a/src/ifcgeom/kernels/cgal/CgalKernel.h +++ b/src/ifcgeom/kernels/cgal/CgalKernel.h @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * diff --git a/src/ifcgeom/kernels/opencascade/IfcGeomTree.h b/src/ifcgeom/kernels/opencascade/IfcGeomTree.h index f39adf381a..f680e9d645 100644 --- a/src/ifcgeom/kernels/opencascade/IfcGeomTree.h +++ b/src/ifcgeom/kernels/opencascade/IfcGeomTree.h @@ -20,7 +20,7 @@ #ifndef IFCGEOMTREE_H #define IFCGEOMTREE_H -#include "../../../ifcparse/IfcFile.h" +#include "../../../ifcparse/file.h" #include "../../../ifcgeom/IfcGeomElement.h" #include "../../../ifcgeom/Iterator.h" @@ -1486,11 +1486,11 @@ namespace IfcGeom { tree() {}; - tree(IfcParse::IfcFile& f) { + tree(ifcopenshell::file& f) { add_file(f, ifcopenshell::geometry::Settings{}); } - tree(IfcParse::IfcFile& f, ifcopenshell::geometry::Settings settings) { + tree(ifcopenshell::file& f, ifcopenshell::geometry::Settings settings) { add_file(f, settings); } @@ -1498,7 +1498,7 @@ namespace IfcGeom { add_file(it); } - void add_file(IfcParse::IfcFile& f, ifcopenshell::geometry::Settings settings) { + void add_file(ifcopenshell::file& f, ifcopenshell::geometry::Settings settings) { ifcopenshell::geometry::Settings settings_ = settings; settings_.get().value = ifcopenshell::geometry::settings::NATIVE; settings_.get().value = true; diff --git a/src/ifcgeom/kernels/opencascade/OpenCascadeConversionResult.cpp b/src/ifcgeom/kernels/opencascade/OpenCascadeConversionResult.cpp index 3299eaacb2..70a6259a60 100644 --- a/src/ifcgeom/kernels/opencascade/OpenCascadeConversionResult.cpp +++ b/src/ifcgeom/kernels/opencascade/OpenCascadeConversionResult.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include @@ -12,7 +12,7 @@ #include "OpenCascadeConversionResult.h" -#include "../../../ifcparse/IfcLogger.h" +#include "../../../ifcparse/logger.h" #include "../../../ifcgeom/IfcGeomRepresentation.h" #include "base_utils.h" #include "boolean_utils.h" @@ -87,7 +87,7 @@ void ifcopenshell::geometry::OpenCascadeShape::Triangulate(ifcopenshell::geometr try { BRepMesh_IncrementalMesh(shape_, settings.get().get(), false, settings.get().get()); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Failed to triangulate shape"); + logger::message(logger::LOG_ERROR, "Failed to triangulate shape"); return; } } @@ -113,7 +113,7 @@ void ifcopenshell::geometry::OpenCascadeShape::Triangulate(ifcopenshell::geometr Handle_Poly_Triangulation tri = BRep_Tool::Triangulation(face, loc); if (tri.IsNull()) { - Logger::Message(Logger::LOG_ERROR, "Triangulation missing for face"); + logger::message(logger::LOG_ERROR, "Triangulation missing for face"); } else { // Keep track of the number of times an edge is used // Manifold edges (i.e. edges used twice) are deemed invisible @@ -174,7 +174,7 @@ void ifcopenshell::geometry::OpenCascadeShape::Triangulate(ifcopenshell::geometr else triangles(i).Get(n1, n2, n3); if (dict[n1] == dict[n2] || dict[n2] == dict[n3] || dict[n3] == dict[n1]) { - Logger::Warning("Mesher generated a degenerate triangle, ignoring"); + logger::warning("Mesher generated a degenerate triangle, ignoring"); continue; } @@ -619,7 +619,7 @@ namespace { try { BRepMesh_IncrementalMesh(s, tol); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Failed to triangulate shape"); + logger::message(logger::LOG_ERROR, "Failed to triangulate shape"); return; } meshed = true; diff --git a/src/ifcgeom/kernels/opencascade/OpenCascadeConversionResult.h b/src/ifcgeom/kernels/opencascade/OpenCascadeConversionResult.h index f34e27bf8e..7d47366d35 100644 --- a/src/ifcgeom/kernels/opencascade/OpenCascadeConversionResult.h +++ b/src/ifcgeom/kernels/opencascade/OpenCascadeConversionResult.h @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * diff --git a/src/ifcgeom/kernels/opencascade/OpenCascadeKernel.cpp b/src/ifcgeom/kernels/opencascade/OpenCascadeKernel.cpp index f0174675f7..f7e0931d5d 100644 --- a/src/ifcgeom/kernels/opencascade/OpenCascadeKernel.cpp +++ b/src/ifcgeom/kernels/opencascade/OpenCascadeKernel.cpp @@ -117,7 +117,7 @@ bool IfcGeom::OpenCascadeKernel::convert_openings(const express::Base& entity, c auto it3_shape = std::static_pointer_cast(it3->Shape())->shape(); if (it3_shape.IsNull()) { - Logger::Error("Null operand"); + logger::error("Null operand"); continue; } @@ -136,7 +136,7 @@ bool IfcGeom::OpenCascadeKernel::convert_openings(const express::Base& entity, c bool is_manifold = util::is_manifold(entity_part); if (!is_manifold) { - Logger::Warning("Non-manifold first operand"); + logger::warning("Non-manifold first operand"); } TopoDS_Shape entity_part_result; @@ -151,7 +151,7 @@ bool IfcGeom::OpenCascadeKernel::convert_openings(const express::Base& entity, c const auto& m = it3->Placement()->ccomponents(); // @todo // if (entity_shape_gtrsf.Form() == gp_Other) { - // Logger::Message(Logger::LOG_WARNING, "Applying non uniform transformation to:", entity); + // logger::message(logger::LOG_WARNING, "Applying non uniform transformation to:", entity); // } gp_Trsf entity_shape_gtrsf; entity_shape_gtrsf.SetValues( @@ -178,7 +178,7 @@ bool IfcGeom::OpenCascadeKernel::convert_openings(const express::Base& entity, c if (util::boolean_operation(bst, result, opening_list, BOPAlgo_CUT, intermediate_result)) { result = intermediate_result; } else { - Logger::Message(Logger::LOG_ERROR, "Opening subtraction failed for " + boost::lexical_cast(std::distance(jt, it)) + " openings", entity); + logger::message(logger::LOG_ERROR, "Opening subtraction failed for " + boost::lexical_cast(std::distance(jt, it)) + " openings", entity); } jt = it; @@ -199,7 +199,7 @@ bool IfcGeom::OpenCascadeKernel::convert_openings(const express::Base& entity, c // where we keep the first operand as is (a compound of faces probably, // unless --orient-shells was activated in which case we're already lost). if (!is_manifold) { - Logger::Warning("Retrying boolean operation on individual faces"); + logger::warning("Retrying boolean operation on individual faces"); } continue; } @@ -378,7 +378,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // } // // if (!success) { -// Logger::Error("Failed processing layerset"); +// logger::error("Failed processing layerset"); // } // } // } @@ -406,7 +406,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // } // } // if (some_items_without_style) { -// Logger::Warning("No material and surface styles for:", product); +// logger::warning("No material and surface styles for:", product); // } // } // @@ -433,7 +433,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // parent_id = parent_object->data().id(); // } // } catch (const std::exception& e) { -// Logger::Error(e); +// logger::error(e); // } // // const std::string name = product->Name().value_or(""); @@ -445,9 +445,9 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // convert(product->ObjectPlacement(), trsf); // } // } catch (const std::exception& e) { -// Logger::Error(e); +// logger::error(e); // } catch (...) { -// Logger::Error("Failed to construct placement"); +// logger::error("Failed to construct placement"); // } // // // Does the IfcElement have any IfcOpenings? @@ -468,10 +468,10 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // try { // convert_openings(product, openings, shapes, trsf, opened_shapes); // } catch (const std::exception& e) { -// Logger::Message(Logger::LOG_ERROR, std::string("Error processing openings for: ") + e.what() + ":", product); +// logger::message(logger::LOG_ERROR, std::string("error processing openings for: ") + e.what() + ":", product); // caught_error = true; // } catch (...) { -// Logger::Message(Logger::LOG_ERROR, "Error processing openings for:", product); +// logger::message(logger::LOG_ERROR, "error processing openings for:", product); // } // // if (caught_error && opened_shapes.size() < shapes.size()) { @@ -536,12 +536,12 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // if (elem->geometry().calculate_surface_area(a_calc)) { // double diff = std::abs(a_calc - a_file); // if (diff / std::sqrt(a_file) > getValue(GV_PRECISION)) { -// Logger::Error("Validation of surface area failed for:", product); +// logger::error("Validation of surface area failed for:", product); // } else { -// Logger::Notice("Validation of surface area succeeded for:", product); +// logger::notice("Validation of surface area succeeded for:", product); // } // } else { -// Logger::Error("Validation of surface area failed for:", product); +// logger::error("Validation of surface area failed for:", product); // } // } else if (q->as() && q->Name() == "Volume") { // double v_calc; @@ -549,12 +549,12 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // if (elem->geometry().calculate_volume(v_calc)) { // double diff = std::abs(v_calc - v_file); // if (diff / std::sqrt(v_file) > getValue(GV_PRECISION)) { -// Logger::Error("Validation of volume failed for:", product); +// logger::error("Validation of volume failed for:", product); // } else { -// Logger::Notice("Validation of volume succeeded for:", product); +// logger::notice("Validation of volume succeeded for:", product); // } // } else { -// Logger::Error("Validation of volume failed for:", product); +// logger::error("Validation of volume failed for:", product); // } // } else if (q->as() && q->Name() == "Shape Validation Properties") { // auto qs2 = q->as()->HasQuantities(); @@ -573,9 +573,9 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // } // } // if (!all_succeeded) { -// Logger::Error("Validation of surface genus failed for:", product); +// logger::error("Validation of surface genus failed for:", product); // } else { -// Logger::Notice("Validation of surface genus succeeded for:", product); +// logger::notice("Validation of surface genus succeeded for:", product); // } // } // } @@ -606,8 +606,8 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // } // } // } -// } catch (const IfcParse::IfcException& e) { -// Logger::Error(e); +// } catch (const ifcopenshell::exception& e) { +// logger::error(e); // // @todo reset representation_mapped_to to zero? // } // return representation_mapped_to; @@ -625,21 +625,21 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // // // IfcProductRepresentation also lacks the INVERSE relation to IfcProduct // // Let's find the IfcProducts that reference the IfcProductRepresentation anyway -// products->push((*it)->data().getInverse((&IfcSchema::IfcProduct::Class()), -1)->as()); +// products->push((*it)->data().get_inverse((&IfcSchema::IfcProduct::Class()), -1)->as()); // } // // IfcSchema::IfcRepresentationMap::list::ptr maps = representation->RepresentationMap(); // // if (products->size() && maps->size()) { -// Logger::Warning("Representation used by IfcRepresentationMap and IfcProductDefinitionShape", representation); +// logger::warning("Representation used by IfcRepresentationMap and IfcProductDefinitionShape", representation); // } // // if (prodreps->size() > 1) { -// Logger::Warning("Multiple IfcProductDefinitionShapes for representation", representation); +// logger::warning("Multiple IfcProductDefinitionShapes for representation", representation); // } // // if (maps->size() > 1) { -// Logger::Warning("Multiple IfcRepresentationMaps for representation", representation); +// logger::warning("Multiple IfcRepresentationMaps for representation", representation); // } // // if (maps->size() == 1) { @@ -654,13 +654,13 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // continue; // } // -// IfcSchema::IfcRepresentation::list::ptr reps = item->data().getInverse((&IfcSchema::IfcRepresentation::Class()), -1)->as(); +// IfcSchema::IfcRepresentation::list::ptr reps = item->data().get_inverse((&IfcSchema::IfcRepresentation::Class()), -1)->as(); // for (IfcSchema::IfcRepresentation::list::it jt = reps->begin(); jt != reps->end(); ++jt) { // IfcSchema::IfcRepresentation* rep = *jt; // if (rep->Items()->size() != 1) continue; // IfcSchema::IfcProductRepresentation::list::ptr prodreps_mapped = rep->OfProductRepresentation(); // for (IfcSchema::IfcProductRepresentation::list::it kt = prodreps_mapped->begin(); kt != prodreps_mapped->end(); ++kt) { -// IfcSchema::IfcProduct::list::ptr ps = (*kt)->data().getInverse((&IfcSchema::IfcProduct::Class()), -1)->as(); +// IfcSchema::IfcProduct::list::ptr ps = (*kt)->data().get_inverse((&IfcSchema::IfcProduct::Class()), -1)->as(); // products->push(ps); // } // } @@ -682,7 +682,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // parent_id = parent_object->data().id(); // } // } catch (const std::exception& e) { -// Logger::Error(e); +// logger::error(e); // } // // const std::string name = product->Name().value_or(""); @@ -694,9 +694,9 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // convert(product->ObjectPlacement(), trsf); // } // } catch (const std::exception& e) { -// Logger::Error(e); +// logger::error(e); // } catch (...) { -// Logger::Error("Failed to construct placement"); +// logger::error("Failed to construct placement"); // } // // std::string context_string = ""; @@ -898,7 +898,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // // range. It's only a safeguard though, so can probably be approximated. // const double axis_length = own_axis_start.Distance(own_axis_end); // if (length_required > axis_length) { -// Logger::Warning("The wall axis is not long enough to accommodate the fold points"); +// logger::warning("The wall axis is not long enough to accommodate the fold points"); // return false; // } // @@ -918,7 +918,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // gp_Trsf other; // if (other_wall->ObjectPlacement()) { // if (!convert(other_wall->ObjectPlacement(), other)) { -// Logger::Error("Failed to convert placement", other_wall); +// logger::error("Failed to convert placement", other_wall); // continue; // } // } @@ -926,7 +926,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // IfcSchema::IfcRepresentation* axis_representation = find_representation(other_wall, "Axis"); // // if (!axis_representation) { -// Logger::Warning("Joined wall has no axis representation", other_wall); +// logger::warning("Joined wall has no axis representation", other_wall); // continue; // } // @@ -1020,7 +1020,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // Vs1.Cross(Vs2); // // if (Vs1.IsNormal(Vc, 1.e-5)) { -// Logger::Warning("Connected walls are parallel"); +// logger::warning("Connected walls are parallel"); // parallel = true; // } else if (w < axis_u1 || w > axis_u2) { // point_outside_param_range = p; @@ -1167,7 +1167,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // return item; // } // -// bool IfcGeom::Kernel::is_identity_transform(IfcUtil::IfcBaseInterface* l) { +// bool IfcGeom::Kernel::is_identity_transform(ifcopenshell::IfcBaseInterface* l) { // IfcSchema::IfcAxis2Placement2D* ax2d; // IfcSchema::IfcAxis2Placement3D* ax3d; // @@ -1201,11 +1201,11 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // convert(ax3d, trsf); // return trsf.Form() == gp_Identity; // } else { -// throw IfcParse::IfcException("Invalid valuation for IfcAxis2Placement / IfcCartesianTransformationOperator"); +// throw ifcopenshell::exception("Invalid valuation for IfcAxis2Placement / IfcCartesianTransformationOperator"); // } // } // -// void IfcGeom::Kernel::set_conversion_placement_rel_to_type(const IfcParse::declaration* type) { +// void IfcGeom::Kernel::set_conversion_placement_rel_to_type(const ifcopenshell::declaration* type) { // placement_rel_to_type_ = type; // } // @@ -1249,7 +1249,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // // #define Kernel POSTFIX_SCHEMA(Kernel) // -// std::shared_ptr IfcGeom::Kernel::internalize_surface_style(const std::pair& shading_styles) { +// std::shared_ptr IfcGeom::Kernel::internalize_surface_style(const std::pair& shading_styles) { // if (shading_styles.second == 0) { // return 0; // } @@ -1355,7 +1355,7 @@ bool IfcGeom::OpenCascadeKernel::convert_impl(const taxonomy::revolve::ptr r, If // Handle_Geom_Circle axis_line = Handle_Geom_Circle::DownCast(axis_curve); // reference_surface = new Geom_CylindricalSurface(axis_li->Position(), axis_line->Radius()); // } else { -// Logger::Message(Logger::LOG_ERROR, "Unsupported underlying curve of Axis representation:", product); +// logger::message(logger::LOG_ERROR, "Unsupported underlying curve of Axis representation:", product); // return false; // } // diff --git a/src/ifcgeom/kernels/opencascade/base_utils.cpp b/src/ifcgeom/kernels/opencascade/base_utils.cpp index 5d8a07b5ab..a35ab3adf8 100644 --- a/src/ifcgeom/kernels/opencascade/base_utils.cpp +++ b/src/ifcgeom/kernels/opencascade/base_utils.cpp @@ -1,6 +1,6 @@ #include "base_utils.h" -#include "../../../ifcparse/IfcLogger.h" +#include "../../../ifcparse/logger.h" #include "OpenCascadeConversionResult.h" #include "boolean_utils.h" @@ -711,12 +711,12 @@ bool IfcGeom::util::create_solid_from_faces(const TopTools_ListOfShape& face_lis valid_shell &= util::count(shape, TopAbs_SHELL) > 0; } catch (const Standard_Failure& e) { if (e.GetMessageString() && strlen(e.GetMessageString())) { - Logger::Error(e.GetMessageString()); + logger::error(e.GetMessageString()); } else { - Logger::Error("Unknown error sewing shell"); + logger::error("Unknown error sewing shell"); } } catch (...) { - Logger::Error("Unknown error sewing shell"); + logger::error("Unknown error sewing shell"); } if (valid_shell) { @@ -744,22 +744,22 @@ bool IfcGeom::util::create_solid_from_faces(const TopTools_ListOfShape& face_lis } } catch (const Standard_Failure& e) { if (e.GetMessageString() && strlen(e.GetMessageString())) { - Logger::Error(e.GetMessageString()); + logger::error(e.GetMessageString()); } else { - Logger::Error("Unknown error classifying solid"); + logger::error("Unknown error classifying solid"); } } catch (...) { - Logger::Error("Unknown error classifying solid"); + logger::error("Unknown error classifying solid"); } } } catch (const Standard_Failure& e) { if (e.GetMessageString() && strlen(e.GetMessageString())) { - Logger::Error(e.GetMessageString()); + logger::error(e.GetMessageString()); } else { - Logger::Error("Unknown error creating solid"); + logger::error("Unknown error creating solid"); } } catch (...) { - Logger::Error("Unknown error creating solid"); + logger::error("Unknown error creating solid"); } if (complete_shape.IsNull()) { @@ -771,7 +771,7 @@ bool IfcGeom::util::create_solid_from_faces(const TopTools_ListOfShape& face_lis B.MakeCompound(C); B.Add(C, complete_shape); complete_shape = C; - Logger::Warning("Multiple components in IfcConnectedFaceSet"); + logger::warning("Multiple components in IfcConnectedFaceSet"); } B.Add(complete_shape, result_shape); } @@ -786,7 +786,7 @@ bool IfcGeom::util::create_solid_from_faces(const TopTools_ListOfShape& face_lis B.MakeCompound(C); B.Add(C, complete_shape); complete_shape = C; - Logger::Warning("Loose faces in IfcConnectedFaceSet"); + logger::warning("Loose faces in IfcConnectedFaceSet"); } B.Add(complete_shape, loose_faces.Current()); } @@ -794,7 +794,7 @@ bool IfcGeom::util::create_solid_from_faces(const TopTools_ListOfShape& face_lis shape = complete_shape; } else { - Logger::Error("Failed to sew faceset"); + logger::error("Failed to sew faceset"); } return valid_shell; @@ -898,7 +898,7 @@ bool IfcGeom::util::validate_shape(const TopoDS_Shape& s) { dump(s); - Logger::Warning(str.str()); + logger::warning(str.str()); return false; } diff --git a/src/ifcgeom/kernels/opencascade/boolean_result.cpp b/src/ifcgeom/kernels/opencascade/boolean_result.cpp index b6301a4b19..ef7ea95dc1 100644 --- a/src/ifcgeom/kernels/opencascade/boolean_result.cpp +++ b/src/ifcgeom/kernels/opencascade/boolean_result.cpp @@ -117,14 +117,14 @@ bool OpenCascadeKernel::convert_impl(const taxonomy::boolean_result::ptr br, Con const double first_operand_volume = util::shape_volume(a); if (first_operand_volume <= ALMOST_ZERO) { - Logger::Message(Logger::LOG_WARNING, "Empty solid for:", c->instance); + logger::message(logger::LOG_WARNING, "Empty solid for:", c->instance); } } else { for (auto& r : cr) { auto S = std::static_pointer_cast(r.Shape())->shape(); if (S.IsNull()) { - Logger::Error("Null operand"); + logger::error("Null operand"); continue; } gp_GTrsf trsf; @@ -139,7 +139,7 @@ bool OpenCascadeKernel::convert_impl(const taxonomy::boolean_result::ptr br, Con // #2665 we also set a precision-independent threshold, because in the boolean op routine // the working fuzziness might still be increased. if (d < tol * 20. || d < 0.00002) { - Logger::Message(Logger::LOG_WARNING, "Halfspace subtraction yields unchanged volume:", c->instance); + logger::message(logger::LOG_WARNING, "Halfspace subtraction yields unchanged volume:", c->instance); continue; } else { S = result; diff --git a/src/ifcgeom/kernels/opencascade/boolean_utils.cpp b/src/ifcgeom/kernels/opencascade/boolean_utils.cpp index 009cc9ee65..5772a154ae 100644 --- a/src/ifcgeom/kernels/opencascade/boolean_utils.cpp +++ b/src/ifcgeom/kernels/opencascade/boolean_utils.cpp @@ -419,7 +419,7 @@ int IfcGeom::util::eliminate_narrow_operands(double prec, const TopTools_ListOfS bool is_narrow = min_dimension < prec; - Logger::Notice("Min OBB dimension of operand = " + std::to_string(min_dimension)); + logger::notice("Min OBB dimension of operand = " + std::to_string(min_dimension)); if (!is_narrow) { c.Append(it.Value()); @@ -704,7 +704,7 @@ bool IfcGeom::util::boolean_subtraction_2d_using_builder(const TopoDS_Shape & a_ if (u11 < U1 && U1 < u12 && u21 < U2 && U2 < u22) { // Edge curves belonging to different operands intersect, don't process // using builder. - Logger::Notice("Intersecting boundaries"); + logger::notice("Intersecting boundaries"); return false; } } @@ -751,7 +751,7 @@ bool IfcGeom::util::boolean_subtraction_2d_using_builder(const TopoDS_Shape & a_ // any effect and marked as redundant. Feeding it to the builder algo // will likely cause problems. redundant[std::distance(wires.begin(), it)] = true; - Logger::Notice("Subtraction operand outside of outer bound"); + logger::notice("Subtraction operand outside of outer bound"); } } @@ -791,7 +791,7 @@ bool IfcGeom::util::boolean_subtraction_2d_using_builder(const TopoDS_Shape & a_ if (wire_clss[wire_index].Perform(p2d) == TopAbs_IN) { // A wire is contained within another operand redundant[other_index] = true; - Logger::Notice("Subtraction operand contained in other"); + logger::notice("Subtraction operand contained in other"); } } } @@ -849,7 +849,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To std::stringstream ss; ss << "bool-" << std::this_thread::get_id() << "-" << (operation_counter_++); debug_identifier = ss.str(); - Logger::Notice("Boolean debug identifier: " + debug_identifier); + logger::notice("Boolean debug identifier: " + debug_identifier); } if (fuzziness < 0.) { @@ -885,8 +885,8 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To a = unify(a_input, fuzziness * 1000.); - Logger::Message( - Logger::LOG_DEBUG, + logger::message( + logger::LOG_DEBUG, "Simplified operand A from "s + std::to_string(count(a_input, TopAbs_FACE)) + " to "s + @@ -897,8 +897,8 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To TopTools_ListIteratorOfListOfShape it(b_input); for (; it.More(); it.Next()) { b.Append(unify(it.Value(), fuzziness)); - Logger::Message( - Logger::LOG_DEBUG, + logger::message( + logger::LOG_DEBUG, "Simplified operand B from "s + std::to_string(count(it.Value(), TopAbs_FACE)) + " to "s + @@ -925,7 +925,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To auto N = bounding_box_overlap(fuzziness, a, b, b_tmp); if (N) { - Logger::Notice("Eliminated " + std::to_string(N) + " disjoint operands"); + logger::notice("Eliminated " + std::to_string(N) + " disjoint operands"); std::swap(b, b_tmp); } } @@ -936,7 +936,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To b_tmp.Clear(); auto N = eliminate_touching_operands(fuzziness, a, b, b_tmp); if (N) { - Logger::Notice("Eliminated " + std::to_string(N) + " touching operands"); + logger::notice("Eliminated " + std::to_string(N) + " touching operands"); std::swap(b, b_tmp); } } @@ -947,7 +947,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To b_tmp.Clear(); auto N = eliminate_narrow_operands(fuzziness, b, b_tmp); if (N) { - Logger::Notice("Eliminated " + std::to_string(N) + " narrow operands"); + logger::notice("Eliminated " + std::to_string(N) + " narrow operands"); std::swap(b, b_tmp); } } @@ -961,21 +961,21 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To } if (b.Extent() == 0) { - Logger::Warning("No other operands remaining, using first operand"); + logger::warning("No other operands remaining, using first operand"); result = a; return true; } - if (!is_2d && Logger::LOG_NOTICE >= Logger::Verbosity()) { + if (!is_2d && logger::LOG_NOTICE >= logger::verbosity()) { PERF("preliminary manifoldness check"); if (!a.IsNull()) { - Logger::Notice("Operand A is " + (is_manifold(a) ? ""s : "non-"s) + "manifold"); + logger::notice("Operand A is " + (is_manifold(a) ? ""s : "non-"s) + "manifold"); } TopTools_ListIteratorOfListOfShape it(b); for (int i = 0; it.More(); it.Next(), ++i) { - Logger::Notice("Operand B " + std::to_string(i) + " is " + (is_manifold(it.Value()) ? ""s : "non-"s) + "manifold"); + logger::notice("Operand B " + std::to_string(i) + " is " + (is_manifold(it.Value()) ? ""s : "non-"s) + "manifold"); } } @@ -1015,7 +1015,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To const double fuzz = (std::min)(min_length_orig / 3., fuzziness); - Logger::Notice("Used fuzziness: " + std::to_string(fuzz)); + logger::notice("Used fuzziness: " + std::to_string(fuzz)); const double new_fuzziness = fuzziness * 10.; const bool allow_retry = new_fuzziness - 1e-15 <= settings.precision * 10000. && new_fuzziness < min_length_orig; @@ -1049,7 +1049,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To } if (is_extrusion_a) { - Logger::Notice("Operand A 1/1 is an extrusion"); + logger::notice("Operand A 1/1 is an extrusion"); TopTools_ListIteratorOfListOfShape it(b); for (int nb = 1; it.More(); it.Next(), ++nb) { @@ -1065,10 +1065,10 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To } if (is_extrusion_b) { - Logger::Notice("Operand B " + std::to_string(nb) + "/" + std::to_string(b.Extent()) + " is an extrusion"); + logger::notice("Operand B " + std::to_string(nb) + "/" + std::to_string(b.Extent()) + " is an extrusion"); if (b_interval.first < a_interval.first + (fuzz * 100.) && b_interval.second > a_interval.second - (fuzz * 100.)) { - Logger::Notice("Operand B creates a through hole"); + logger::notice("Operand B creates a through hole"); // Align b with a operand gp_Trsf trsf; @@ -1108,23 +1108,23 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To BRepPrimAPI_MakePrism mp(face_result, gp_Vec(gp::DY()) * (a_interval.second - a_interval.first)); if (mp.IsDone()) { if (b_remainder_3d.Extent()) { - Logger::Notice(std::to_string(b_remainder_3d.Extent()) + " operands remaining to process in 3D"); + logger::notice(std::to_string(b_remainder_3d.Extent()) + " operands remaining to process in 3D"); b = b_remainder_3d; s1s.Clear(); s1s.Append(mp.Shape()); } else { - Logger::Notice("Processed fully in 2D"); + logger::notice("Processed fully in 2D"); result = mp.Shape(); return true; } } else { - Logger::Notice("Failed to extrude 2D boolean result. Retrying in 3D."); + logger::notice("Failed to extrude 2D boolean result. Retrying in 3D."); } } else { - Logger::Notice("Failed to perform 2D boolean operation. Retrying in 3D."); + logger::notice("Failed to perform 2D boolean operation. Retrying in 3D."); } } else { - Logger::Notice("No second operands can be processed as 2D inner bounds. Retrying in 3D."); + logger::notice("No second operands can be processed as 2D inner bounds. Retrying in 3D."); } } } @@ -1144,7 +1144,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To } if (builder->IsDone()) { if (false && builder->DSFiller()->HasWarning(STANDARD_TYPE(BOPAlgo_AlertAcquiredSelfIntersection))) { - Logger::Notice("Builder reports self-intersection in output"); + logger::notice("Builder reports self-intersection in output"); success = false; /* @@ -1158,7 +1158,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To } */ } else if(builder->DSFiller()->HasWarning(STANDARD_TYPE(BOPAlgo_AlertBadPositioning)) && !TopoDS_Iterator(*builder).More()) { - Logger::Notice("Builder reports bad positioning and result is empty"); + logger::notice("Builder reports bad positioning and result is empty"); success = false; } else { TopoDS_Shape r = *builder; @@ -1172,7 +1172,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To fix.Perform(); r = fix.Shape(); } catch (...) { - Logger::Error("Shape healing failed on boolean result"); + logger::error("Shape healing failed on boolean result"); } } @@ -1183,7 +1183,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To success = ana.IsValid() != 0; if (!success) { - Logger::Notice("Boolean operation yields invalid result"); + logger::notice("Boolean operation yields invalid result"); std::stringstream str; bool any_emitted = false; @@ -1213,7 +1213,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To dump(r); - Logger::Notice(str.str()); + logger::notice(str.str()); } } @@ -1333,7 +1333,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To if (op == BOPAlgo_CUT && has_open_shells && all_faces_included_in_result && result_n_faces > first_op_n_faces) { success = false; - Logger::Notice("Boolean result discarded because subtractions results in only the addition of faces"); + logger::notice("Boolean result discarded because subtractions results in only the addition of faces"); } else { // when there are edges or vertex-edge distances close to the used fuzziness, the // output is not trusted and the operation is attempted with a higher fuzziness. @@ -1379,7 +1379,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To static const char* const reason_strings[] = { "edge length", "vertex-edge", "face-face" }; std::stringstream str; str << "Boolean operation result failing " << reason_strings[reason] << " interference check, with fuzziness " << fuzziness << " with length " << v; - Logger::Notice(str.str()); + logger::notice(str.str()); } } @@ -1388,7 +1388,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To } } else { - Logger::Notice("Boolean operation yields non-manifold result"); + logger::notice("Boolean operation yields non-manifold result"); } } } @@ -1398,7 +1398,7 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To #if OCC_VERSION_HEX >= 0x70200 if (builder->HasError(STANDARD_TYPE(BOPAlgo_AlertBOPNotAllowed))) { - Logger::Error("Invalid operands. Using first operand"); + logger::error("Invalid operands. Using first operand"); result = a; success = true; } @@ -1411,14 +1411,14 @@ bool IfcGeom::util::boolean_operation(const boolean_settings& settings, const To #endif std::string str_str = str.str(); if (str_str.size()) { - Logger::Notice(str_str); + logger::notice(str_str); } } if (!success) { if (allow_retry) { return boolean_operation(settings, a, b, op, result, new_fuzziness); } else { - Logger::Notice("No longer attempting boolean operation with higher fuzziness"); + logger::notice("No longer attempting boolean operation with higher fuzziness"); } } return success && !result.IsNull(); diff --git a/src/ifcgeom/kernels/opencascade/extrusion.cpp b/src/ifcgeom/kernels/opencascade/extrusion.cpp index 2ef66b0a1b..0053c20187 100644 --- a/src/ifcgeom/kernels/opencascade/extrusion.cpp +++ b/src/ifcgeom/kernels/opencascade/extrusion.cpp @@ -10,7 +10,7 @@ bool OpenCascadeKernel::convert(const taxonomy::extrusion::ptr extrusion, TopoDS const double& height = extrusion->depth; if (height < settings_.get().get()) { - Logger::Error("Non-positive extrusion height encountered for:", extrusion->instance); + logger::error("Non-positive extrusion height encountered for:", extrusion->instance); return false; } @@ -24,7 +24,7 @@ bool OpenCascadeKernel::convert(const taxonomy::extrusion::ptr extrusion, TopoDS // move the TopoDS_Shape, but obviously not both. gp_GTrsf gtrsf; if (!convert(&extrusion->matrix, gtrsf)) { - Logger::Error("Unable to move extrusion"); + logger::error("Unable to move extrusion"); } auto trsf = gtrsf.Trsf(); */ diff --git a/src/ifcgeom/kernels/opencascade/face.cpp b/src/ifcgeom/kernels/opencascade/face.cpp index b5541a206e..6b21e968c2 100644 --- a/src/ifcgeom/kernels/opencascade/face.cpp +++ b/src/ifcgeom/kernels/opencascade/face.cpp @@ -169,7 +169,7 @@ namespace { } else if (crv_or_wire.index() == 2) { // @todo const double precision_ = 1.e-5; - Logger::Warning("Approximating BasisCurve due to possible discontinuities", i->instance); + logger::warning("Approximating BasisCurve due to possible discontinuities", i->instance); const auto& w = std::get(crv_or_wire); #if OCC_VERSION_HEX < 0x70600 BRepAdaptor_CompCurve cc(w, true); @@ -289,12 +289,12 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re // the face will still be processed as long as there are no holes. A compound of faces // is returned in that case. if (num_bounds > 1 && num_outer_bounds > 1 && num_bounds != num_outer_bounds) { - Logger::Message(Logger::LOG_ERROR, "Invalid configuration of boundaries for:", face->instance); + logger::message(logger::LOG_ERROR, "Invalid configuration of boundaries for:", face->instance); return false; } if (num_outer_bounds > 1) { - Logger::Message(Logger::LOG_WARNING, "Multiple outer boundaries for:", face->instance); + logger::message(logger::LOG_WARNING, "Multiple outer boundaries for:", face->instance); fd.all_outer() = true; } @@ -315,11 +315,11 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re TopoDS_Wire wire; if (faceset_helper_ && bound->is_polyhedron()) { if (!faceset_helper_->wire(bound, wire)) { - Logger::Message(Logger::LOG_WARNING, "Face boundary loop not included", bound->instance); + logger::message(logger::LOG_WARNING, "Face boundary loop not included", bound->instance); continue; } } else if (!convert(bound, wire)) { - Logger::Message(Logger::LOG_ERROR, "Failed to process face boundary loop", bound->instance); + logger::message(logger::LOG_ERROR, "Failed to process face boundary loop", bound->instance); return false; } @@ -336,7 +336,7 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re }; TopTools_ListOfShape results; if (settings.use_wire_intersection_check && util::wire_intersections(wire, results, settings)) { - Logger::Warning("Self-intersections with " + boost::lexical_cast(results.Extent()) + " cycles detected"); + logger::warning("Self-intersections with " + boost::lexical_cast(results.Extent()) + " cycles detected"); util::select_largest(results, wire); } @@ -347,7 +347,7 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re } if (fd.wires().empty()) { - Logger::Warning("Face with no boundaries", face->instance); + logger::warning("Face with no boundaries", face->instance); return false; } @@ -404,7 +404,7 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re if (fd.surface().IsNull()) { // The set of wires is triangulated in case no surface can be found - Logger::Message(Logger::LOG_WARNING, "Triangulating face boundaries for face", face->instance); + logger::message(logger::LOG_WARNING, "Triangulating face boundaries for face", face->instance); if (fd.all_outer()) { for (const auto& w : fd.wires()) { @@ -457,7 +457,7 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re kt.Value().Original().ToUTF8CString(c); std::string message = c; delete[] c; - Logger::Warning(message, face->instance); + logger::warning(message, face->instance); } } @@ -469,17 +469,17 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re if (it.Value().ShapeType() == TopAbs_FACE) { face_list.Append(it.Value()); } else { - Logger::Error("Unsupported output from face healing"); + logger::error("Unsupported output from face healing"); } } } else { - Logger::Error("Unsupported output from face healing"); + logger::error("Unsupported output from face healing"); } } else { face_list.Append(f); } } else { - Logger::Error("Internal error in face creation"); + logger::error("Internal error in face creation"); return false; } } else { @@ -520,14 +520,14 @@ bool OpenCascadeKernel::convert(const taxonomy::face::ptr face, TopoDS_Shape& re delete[] c; #if OCC_VERSION_MAJOR==7 && OCC_VERSION_MINOR >= 7 if (!reversed_surface && !fd.surface().IsNull() && fd.surface()->IsUPeriodic() && message == "Unknown message invoked with the keyword FixAdvFace.FixOrientation.MSG0") { - Logger::Notice("Detected reversed wire, reattempting with reversed basis surface"); + logger::notice("Detected reversed wire, reattempting with reversed basis surface"); TopoDS_Face reversed_result; convert(face, reversed_result, true); result = reversed_result; return true; } else #endif - Logger::Warning(message, face->instance); + logger::warning(message, face->instance); } } } diff --git a/src/ifcgeom/kernels/opencascade/faceset_helper.cpp b/src/ifcgeom/kernels/opencascade/faceset_helper.cpp index 1c74580554..dcb470d955 100644 --- a/src/ifcgeom/kernels/opencascade/faceset_helper.cpp +++ b/src/ifcgeom/kernels/opencascade/faceset_helper.cpp @@ -149,7 +149,7 @@ IfcGeom::OpenCascadeKernel::faceset_helper::faceset_helper( auto num_retained = std::count(retained.begin(), retained.end(), true); if (unique.size() != num_retained) { - Logger::Notice("Collapsed vertices from " + std::to_string(pnts.size()) + " (" + std::to_string(unique.size()) + " unique) to " + std::to_string(num_retained)); + logger::notice("Collapsed vertices from " + std::to_string(pnts.size()) + " (" + std::to_string(unique.size()) + " unique) to " + std::to_string(num_retained)); } typedef std::array edge_t; @@ -199,7 +199,7 @@ IfcGeom::OpenCascadeKernel::faceset_helper::faceset_helper( } if (duplicates_.size() || loops_removed || (non_manifold && shell->closed.value_or(false))) { - Logger::Warning(boost::lexical_cast(duplicate_faces) + " duplicate faces removed, " + boost::lexical_cast(loops_removed) + " degenerate loops eliminated and " + boost::lexical_cast(non_manifold) + " non-manifold edges"); + logger::warning(boost::lexical_cast(duplicate_faces) + " duplicate faces removed, " + boost::lexical_cast(loops_removed) + " degenerate loops eliminated and " + boost::lexical_cast(non_manifold) + " non-manifold edges"); } } @@ -270,7 +270,7 @@ bool IfcGeom::OpenCascadeKernel::faceset_helper::wires(const ifcopenshell::geome !kernel_->settings().get().get(), 0., kernel_->settings().get().get()})) { - Logger::Warning("Self-intersections with " + boost::lexical_cast(results.Extent()) + " cycles detected"); + logger::warning("Self-intersections with " + boost::lexical_cast(results.Extent()) + " cycles detected"); non_manifold_ = true; wires = results; } else { diff --git a/src/ifcgeom/kernels/opencascade/layerset.cpp b/src/ifcgeom/kernels/opencascade/layerset.cpp index c80e4d9f60..59c79875a7 100644 --- a/src/ifcgeom/kernels/opencascade/layerset.cpp +++ b/src/ifcgeom/kernels/opencascade/layerset.cpp @@ -4,7 +4,7 @@ #include "base_utils.h" #include "boolean_utils.h" -#include "../../../ifcparse/IfcLogger.h" +#include "../../../ifcparse/logger.h" #include @@ -129,7 +129,7 @@ namespace { } } - Logger::Error("Unable to map layer geometry to material index"); + logger::error("Unable to map layer geometry to material index"); return false; } } @@ -234,7 +234,7 @@ bool IfcGeom::util::apply_folded_layerset(const ConversionResults& items, const if (s.ShapeType() == TopAbs_SHELL) { shells.Append(TopoDS::Shell(s)); } else { - Logger::Error("Expected shell type in layerset processing"); + logger::error("Expected shell type in layerset processing"); return false; } } @@ -433,12 +433,12 @@ bool IfcGeom::util::split_solid_by_shell(const TopoDS_Shape& input, const TopoDS } } catch (const Standard_Failure& e) { if (e.GetMessageString() && strlen(e.GetMessageString())) { - Logger::Error(e.GetMessageString()); + logger::error(e.GetMessageString()); } else { - Logger::Error("Unknown error performing fixes"); + logger::error("Unknown error performing fixes"); } } catch (...) { - Logger::Error("Unknown error performing fixes"); + logger::error("Unknown error performing fixes"); } BRepCheck_Analyzer analyser(shape); bool is_valid = analyser.IsValid() != 0; @@ -448,7 +448,7 @@ bool IfcGeom::util::split_solid_by_shell(const TopoDS_Shape& input, const TopoDS } if (is_null[0] || is_null[1]) { - Logger::Message(Logger::LOG_ERROR, "Null result obtained from layerset slicing"); + logger::message(logger::LOG_ERROR, "Null result obtained from layerset slicing"); if (is_null[0] && is_null[1]) { return false; } diff --git a/src/ifcgeom/kernels/opencascade/loft.cpp b/src/ifcgeom/kernels/opencascade/loft.cpp index f548fa3ee0..97834b2567 100644 --- a/src/ifcgeom/kernels/opencascade/loft.cpp +++ b/src/ifcgeom/kernels/opencascade/loft.cpp @@ -122,7 +122,7 @@ bool OpenCascadeKernel::convert(const taxonomy::loft::ptr loft, TopoDS_Shape& re return true; } else { - Logger::Error("Lofting more than two sections is not supported"); + logger::error("Lofting more than two sections is not supported"); return false; } } diff --git a/src/ifcgeom/kernels/opencascade/loop.cpp b/src/ifcgeom/kernels/opencascade/loop.cpp index 5db9ba4853..dceb6726af 100644 --- a/src/ifcgeom/kernels/opencascade/loop.cpp +++ b/src/ifcgeom/kernels/opencascade/loop.cpp @@ -129,7 +129,7 @@ namespace { } else { // @todo const double precision_ = 1.e-5; - Logger::Warning("Approximating BasisCurve due to possible discontinuities", e->instance); + logger::warning("Approximating BasisCurve due to possible discontinuities", e->instance); const auto& w = std::get(crv_or_wire); #if OCC_VERSION_HEX < 0x70600 BRepAdaptor_CompCurve cc(w, true); @@ -230,7 +230,7 @@ OpenCascadeKernel::curve_creation_visitor_result_type OpenCascadeKernel::convert } } -#include "../../../ifcparse/IfcFile.h" +#include "../../../ifcparse/file.h" bool OpenCascadeKernel::convert(const taxonomy::loop::ptr loop, TopoDS_Wire& wire) { TopTools_ListOfShape converted_segments; @@ -283,7 +283,7 @@ bool OpenCascadeKernel::convert(const taxonomy::loop::ptr loop, TopoDS_Wire& wir } if (converted_segments.Extent() == 0) { - Logger::Message(Logger::LOG_ERROR, "No segment successfully converted:", loop->instance); + logger::message(logger::LOG_ERROR, "No segment successfully converted:", loop->instance); return false; } @@ -296,7 +296,7 @@ bool OpenCascadeKernel::convert(const taxonomy::loop::ptr loop, TopoDS_Wire& wir if (loop->instance && loop->instance.as()) { auto inst = loop->instance.as(); auto file = loop->instance.as().file(); - auto profile = file->getInverse(inst.id(), file->schema()->declaration_by_name("IfcProfileDef"), -1); + auto profile = file->get_inverse(inst.id(), file->schema()->declaration_by_name("IfcProfileDef"), -1); force_close = profile.size() > 0; } @@ -348,7 +348,7 @@ bool OpenCascadeKernel::convert(const taxonomy::loop::ptr loop, TopoDS_Wire& wir if (ang < 0.0314) { edges_to_tesselate.Add(crv1->DynamicType() == STANDARD_TYPE(Geom_Circle) ? edges.First() : edges.Last()); - Logger::Notice("Sharp circular corner detecting, substituting with linear approximation"); + logger::notice("Sharp circular corner detecting, substituting with linear approximation"); } } } diff --git a/src/ifcgeom/kernels/opencascade/shell.cpp b/src/ifcgeom/kernels/opencascade/shell.cpp index 517bb9763f..958c29bbc9 100644 --- a/src/ifcgeom/kernels/opencascade/shell.cpp +++ b/src/ifcgeom/kernels/opencascade/shell.cpp @@ -46,19 +46,19 @@ bool OpenCascadeKernel::convert(const taxonomy::shell::ptr l, TopoDS_Shape& shap try { success = convert(face, occ_face); } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); } catch (const Standard_Failure& e) { if (e.GetMessageString() && strlen(e.GetMessageString())) { - Logger::Error(e.GetMessageString()); + logger::error(e.GetMessageString()); } else { - Logger::Error("Unknown error creating face"); + logger::error("Unknown error creating face"); } } catch (...) { - Logger::Error("Unknown error creating face"); + logger::error("Unknown error creating face"); } if (!success) { - Logger::Message(Logger::LOG_WARNING, "Failed to convert face:", face->instance); + logger::message(logger::LOG_WARNING, "Failed to convert face:", face->instance); continue; } @@ -71,7 +71,7 @@ bool OpenCascadeKernel::convert(const taxonomy::shell::ptr l, TopoDS_Shape& shap if (face_area(triangle) > min_face_area) { face_list.Append(triangle); } else { - Logger::Message(Logger::LOG_WARNING, "Degenerate face:", face->instance); + logger::message(logger::LOG_WARNING, "Degenerate face:", face->instance); } } } @@ -79,7 +79,7 @@ bool OpenCascadeKernel::convert(const taxonomy::shell::ptr l, TopoDS_Shape& shap if (face_area(occ_face) > min_face_area) { face_list.Append(occ_face); } else { - Logger::Message(Logger::LOG_WARNING, "Degenerate face:", face->instance); + logger::message(logger::LOG_WARNING, "Degenerate face:", face->instance); } } } diff --git a/src/ifcgeom/kernels/opencascade/solid.cpp b/src/ifcgeom/kernels/opencascade/solid.cpp index 92fd7b454e..2503c31637 100644 --- a/src/ifcgeom/kernels/opencascade/solid.cpp +++ b/src/ifcgeom/kernels/opencascade/solid.cpp @@ -92,7 +92,7 @@ bool OpenCascadeKernel::convert(const taxonomy::solid::ptr solid, TopoDS_Shape& throw std::runtime_error("Unexpected configuration of subshapes"); } } else { - Logger::Warning("Ignored shell", s->instance); + logger::warning("Ignored shell", s->instance); } } if (!S.IsNull()) { diff --git a/src/ifcgeom/kernels/opencascade/sweep_along_curve.cpp b/src/ifcgeom/kernels/opencascade/sweep_along_curve.cpp index ab462319f9..70c0fa6176 100644 --- a/src/ifcgeom/kernels/opencascade/sweep_along_curve.cpp +++ b/src/ifcgeom/kernels/opencascade/sweep_along_curve.cpp @@ -130,7 +130,7 @@ bool OpenCascadeKernel::convert(const taxonomy::sweep_along_curve::ptr scs, Topo auto w = convert_curve(scs->curve); if (w.index() != 2) { - Logger::Error("Unsupported directrix"); + logger::error("Unsupported directrix"); return false; } TopoDS_Shape face_; @@ -178,7 +178,7 @@ bool OpenCascadeKernel::convert(const taxonomy::sweep_along_curve::ptr scs, Topo for (TopExp_Explorer exp(wire, TopAbs_VERTEX); exp.More(); exp.Next()) { if (pln.Distance(BRep_Tool::Pnt(TopoDS::Vertex(exp.Current()))) > ALMOST_ZERO) { directrix_on_plane = false; - Logger::Message(Logger::LOG_WARNING, "The Directrix does not lie on the ReferenceSurface", scs->instance); + logger::message(logger::LOG_WARNING, "The Directrix does not lie on the ReferenceSurface", scs->instance); break; } } diff --git a/src/ifcgeom/kernels/opencascade/sweep_utils.cpp b/src/ifcgeom/kernels/opencascade/sweep_utils.cpp index c161669b2a..d5c8a2d6b3 100644 --- a/src/ifcgeom/kernels/opencascade/sweep_utils.cpp +++ b/src/ifcgeom/kernels/opencascade/sweep_utils.cpp @@ -21,7 +21,7 @@ #include #include -#include "../../../ifcparse/IfcLogger.h" +#include "../../../ifcparse/logger.h" #include "base_utils.h" bool IfcGeom::util::wire_is_c1_continuous(const TopoDS_Wire & w, double tol) { @@ -97,7 +97,7 @@ bool IfcGeom::util::wire_to_ax(const TopoDS_Wire & wire, gp_Ax2 & directrix) { Handle(Geom_Curve) crv = BRep_Tool::Curve(edge, u0, u1); crv->D1(u0, directrix_origin, directrix_tangent); } else { - Logger::Error("Unable to locate first edge"); + logger::error("Unable to locate first edge"); return false; } @@ -187,7 +187,7 @@ void IfcGeom::util::sort_edges(const TopoDS_Wire & wire, std::vector 2) { - Logger::Warning("Self-intersecting Directrix"); + logger::warning("Self-intersecting Directrix"); } } diff --git a/src/ifcgeom/kernels/opencascade/wire_builder.cpp b/src/ifcgeom/kernels/opencascade/wire_builder.cpp index 52e912d81d..911befe606 100644 --- a/src/ifcgeom/kernels/opencascade/wire_builder.cpp +++ b/src/ifcgeom/kernels/opencascade/wire_builder.cpp @@ -1,6 +1,6 @@ #include "wire_builder.h" -#include "../../../ifcparse/IfcLogger.h" +#include "../../../ifcparse/logger.h" #include "../../../ifcgeom/ConversionSettings.h" #include @@ -116,12 +116,12 @@ bool IfcGeom::util::create_edge_over_curve_with_log_messages(const Handle_Geom_C } } if (dmin == std::numeric_limits::infinity()) { - Logger::Error("No extrema for point"); + logger::error("No extrema for point"); } else if (dmin > eps2) { - Logger::Error("Distance of " + boost::lexical_cast(std::sqrt(dmin)) + " exceeds tolerance"); + logger::error("Distance of " + boost::lexical_cast(std::sqrt(dmin)) + " exceeds tolerance"); } } else { - Logger::Error("Failed to calculate extrema for point"); + logger::error("Failed to calculate extrema for point"); } } } @@ -171,7 +171,7 @@ void IfcGeom::util::wire_builder::operator()(const TopoDS_Shape& a, const TopoDS if (dist > 1000. * p_) { mw_.Add(w1); mw_.Add(BRepBuilderAPI_MakeEdge(p1, p2)); - Logger::Warning("Added additional segment to close gap with length " + boost::lexical_cast(dist) + " to:", inst_); + logger::warning("Added additional segment to close gap with length " + boost::lexical_cast(dist) + " to:", inst_); goto check; } @@ -199,28 +199,28 @@ void IfcGeom::util::wire_builder::operator()(const TopoDS_Shape& a, const TopoDS // Preferably adjust the segment that is linear if (is_line1 || (is_circle1 && !is_line2)) { mw_.Add(adjust(w1, w12, p2)); - Logger::Notice("Adjusted edge end-point with distance " + boost::lexical_cast(dist) + " on:", inst_); + logger::notice("Adjusted edge end-point with distance " + boost::lexical_cast(dist) + " on:", inst_); } else if ((is_line2 || is_circle2) && !last) { mw_.Add(w1); override_next_ = true; next_override_ = p1; - Logger::Notice("Adjusted edge end-point with distance " + boost::lexical_cast(dist) + " on:", inst_); + logger::notice("Adjusted edge end-point with distance " + boost::lexical_cast(dist) + " on:", inst_); } else { // In all other cases an edge is added mw_.Add(w1); mw_.Add(BRepBuilderAPI_MakeEdge(p1, p2)); - Logger::Warning("Added additional segment to close gap with length " + boost::lexical_cast(dist) + " to:", inst_); + logger::warning("Added additional segment to close gap with length " + boost::lexical_cast(dist) + " to:", inst_); } } else { - Logger::Error("Internal error, inconsistent wire segments", inst_); + logger::error("Internal error, inconsistent wire segments", inst_); mw_.Add(w1); } } check: if (mw_.Error() == BRepBuilderAPI_NonManifoldWire) { - Logger::Error("Non-manifold curve segments:", inst_); + logger::error("Non-manifold curve segments:", inst_); } else if (mw_.Error() == BRepBuilderAPI_DisconnectedWire) { - Logger::Error("Failed to join curve segments:", inst_); + logger::error("Failed to join curve segments:", inst_); } -} \ No newline at end of file +} diff --git a/src/ifcgeom/kernels/opencascade/wire_utils.cpp b/src/ifcgeom/kernels/opencascade/wire_utils.cpp index 797713239d..39ca170a95 100644 --- a/src/ifcgeom/kernels/opencascade/wire_utils.cpp +++ b/src/ifcgeom/kernels/opencascade/wire_utils.cpp @@ -1,6 +1,6 @@ #include "wire_utils.h" -#include "../../../ifcparse/IfcLogger.h" +#include "../../../ifcparse/logger.h" #include "../../../ifcgeom/ConversionSettings.h" #include "base_utils.h" @@ -86,7 +86,7 @@ bool IfcGeom::util::approximate_plane_through_wire(const TopoDS_Wire& wire, gp_P // obtaining a 2d points for the Delaunay, infinity is passed here, so this // can't for assessing degenerativeness. if (v.Magnitude() < 1.e-7) { - Logger::Warning("Degenerate face boundary in normal estimation"); + logger::warning("Degenerate face boundary in normal estimation"); return false; } @@ -233,7 +233,7 @@ IfcGeom::util::triangulate_wire_result IfcGeom::util::triangulate_wire(const std auto it = mapping.find(uvnodes[k]); if (it == mapping.end()) { - Logger::Error("Internal error: unable to unproject uv-mesh"); + logger::error("Internal error: unable to unproject uv-mesh"); return TRIANGULATE_WIRE_FAIL; } @@ -277,7 +277,7 @@ IfcGeom::util::triangulate_wire_result IfcGeom::util::triangulate_wire(const std } faces.Append(triangle_face); } else { - Logger::Error("Internal error: missing face"); + logger::error("Internal error: missing face"); return TRIANGULATE_WIRE_FAIL; } } @@ -308,7 +308,7 @@ IfcGeom::util::triangulate_wire_result IfcGeom::util::triangulate_wire(const std if (!contains) { #endif // All existing edges need to exist in the new faces - Logger::Error("Internal error, missing edge from triangulation"); + logger::error("Internal error, missing edge from triangulation"); non_manifold = true; } } @@ -319,7 +319,7 @@ IfcGeom::util::triangulate_wire_result IfcGeom::util::triangulate_wire(const std // Existing edges are boundaries with use 1 // New edges are internal with use 2 if (n != (mape.Contains(v) ? 1 : 2)) { - Logger::Error("Internal error, non-manifold result from triangulation"); + logger::error("Internal error, non-manifold result from triangulation"); non_manifold = true; } } @@ -790,12 +790,12 @@ bool IfcGeom::util::fill_nonmanifold_wires_with_planar_faces(TopoDS_Shape& shape shape = solid.SolidFromShell(TopoDS::Shell(shape)); } catch (const Standard_Failure& e) { if (e.GetMessageString() && strlen(e.GetMessageString())) { - Logger::Error(e.GetMessageString()); + logger::error(e.GetMessageString()); } else { - Logger::Error("Unknown error creating solid"); + logger::error("Unknown error creating solid"); } } catch (...) { - Logger::Error("Unknown error creating solid"); + logger::error("Unknown error creating solid"); } return true; @@ -808,12 +808,12 @@ bool IfcGeom::util::convert_curve_to_wire(const Handle(Geom_Curve)& curve, TopoD return true; } catch (const Standard_Failure& e) { if (e.GetMessageString() && strlen(e.GetMessageString())) { - Logger::Error(e.GetMessageString()); + logger::error(e.GetMessageString()); } else { - Logger::Error("Unknown error converting curve to wire"); + logger::error("Unknown error converting curve to wire"); } } catch (...) { - Logger::Error("Unknown error converting curve to wire"); + logger::error("Unknown error converting curve to wire"); } return false; } @@ -834,7 +834,7 @@ void IfcGeom::util::assert_closed_wire(TopoDS_Wire& wire, double tol) { wire = mw.Wire(); } - Logger::Warning("Wire not closed"); + logger::warning("Wire not closed"); } } @@ -844,7 +844,7 @@ bool IfcGeom::util::convert_wire_to_face(const TopoDS_Wire& w, TopoDS_Face& face TopTools_ListOfShape results; if (settings.use_wire_intersection_check && util::wire_intersections(wire, results, settings)) { - Logger::Warning("Self-intersections with " + boost::lexical_cast(results.Extent()) + " cycles detected"); + logger::warning("Self-intersections with " + boost::lexical_cast(results.Extent()) + " cycles detected"); util::select_largest(results, wire); } @@ -875,7 +875,7 @@ bool IfcGeom::util::convert_wire_to_face(const TopoDS_Wire& w, TopoDS_Face& face BRepBuilderAPI_FaceError er = mf.Error(); if (er != BRepBuilderAPI_FaceDone) { - Logger::Error("Failed to create face."); + logger::error("Failed to create face."); return false; } face = mf.Face(); @@ -902,7 +902,7 @@ bool IfcGeom::util::convert_wire_to_faces(const TopoDS_Wire& w, TopoDS_Compound& TopTools_ListOfShape results; if (settings.use_wire_intersection_check && util::wire_intersections(w, results, settings)) { - Logger::Warning("Self-intersections with " + boost::lexical_cast(results.Extent()) + " cycles detected"); + logger::warning("Self-intersections with " + boost::lexical_cast(results.Extent()) + " cycles detected"); } else { results.Clear(); results.Append(w); @@ -928,7 +928,7 @@ bool IfcGeom::util::convert_wire_to_faces(const TopoDS_Wire& w, TopoDS_Compound& BRepBuilderAPI_FaceError er = mf.Error(); if (er != BRepBuilderAPI_FaceDone) { - Logger::Error("Failed to create face."); + logger::error("Failed to create face."); continue; } @@ -945,9 +945,9 @@ bool IfcGeom::util::convert_wire_to_faces(const TopoDS_Wire& w, TopoDS_Compound& if (p.first >= max_area / 10.) { B.Add(faces, p.second); } else { - Logger::Warning("Ignoring self-intersection loop with area " + boost::lexical_cast(p.first)); + logger::warning("Ignoring self-intersection loop with area " + boost::lexical_cast(p.first)); } } return true; -} \ No newline at end of file +} diff --git a/src/ifcgeom/mapping/IfcAxis1Placement.cpp b/src/ifcgeom/mapping/IfcAxis1Placement.cpp index 87b7a7c2a7..5703c74c2e 100644 --- a/src/ifcgeom/mapping/IfcAxis1Placement.cpp +++ b/src/ifcgeom/mapping/IfcAxis1Placement.cpp @@ -28,7 +28,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcAxis1Placement& inst) { taxonomy::point3::ptr v = taxonomy::cast(map(inst.Location())); P = *v->components_; } catch (const std::exception&) { - Logger::Warning("Placement with invalid Location:", inst); + logger::warning("Placement with invalid Location:", inst); } const bool hasAxis = inst.Axis(); if (hasAxis) { diff --git a/src/ifcgeom/mapping/IfcAxis2Placement2D.cpp b/src/ifcgeom/mapping/IfcAxis2Placement2D.cpp index 1d24e902bc..ffa12999e7 100644 --- a/src/ifcgeom/mapping/IfcAxis2Placement2D.cpp +++ b/src/ifcgeom/mapping/IfcAxis2Placement2D.cpp @@ -29,7 +29,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcAxis2Placement2D& inst) { taxonomy::point3::ptr v = taxonomy::cast(map(inst.Location())); P = *v->components_; } catch (const std::exception&) { - Logger::Warning("Placement with invalid Location:", inst); + logger::warning("Placement with invalid Location:", inst); } const bool hasRef = !!inst.RefDirection(); if (hasRef) { diff --git a/src/ifcgeom/mapping/IfcAxis2Placement3D.cpp b/src/ifcgeom/mapping/IfcAxis2Placement3D.cpp index 19c6e0661b..0ed9de85b8 100644 --- a/src/ifcgeom/mapping/IfcAxis2Placement3D.cpp +++ b/src/ifcgeom/mapping/IfcAxis2Placement3D.cpp @@ -29,13 +29,13 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcAxis2Placement3D& inst) { taxonomy::point3::ptr v = taxonomy::cast(map(inst.Location())); o = *v->components_; } catch (const std::exception&) { - Logger::Warning("Placement with invalid Location:", inst); + logger::warning("Placement with invalid Location:", inst); } const bool hasAxis = !!inst.Axis(); const bool hasRef = !!inst.RefDirection(); if (hasAxis != hasRef) { - Logger::Warning("Axis and RefDirection should be specified together", inst); + logger::warning("Axis and RefDirection should be specified together", inst); } if (hasAxis) { diff --git a/src/ifcgeom/mapping/IfcAxis2PlacementLinear.cpp b/src/ifcgeom/mapping/IfcAxis2PlacementLinear.cpp index e2467ebff4..d351362a18 100644 --- a/src/ifcgeom/mapping/IfcAxis2PlacementLinear.cpp +++ b/src/ifcgeom/mapping/IfcAxis2PlacementLinear.cpp @@ -26,7 +26,7 @@ using namespace ifcopenshell::geometry; taxonomy::ptr mapping::map_impl(const IfcSchema::IfcAxis2PlacementLinear& inst) { if (!inst.Location().as()) { - Logger::Error(std::runtime_error("Location must be IfcPointByDistanceExpression for IfcAxis2PlacementLinear")); + logger::error(std::runtime_error("Location must be IfcPointByDistanceExpression for IfcAxis2PlacementLinear")); } Eigen::Vector3d o, axis(0, 0, 1), refDirection; @@ -45,7 +45,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcAxis2PlacementLinear& inst) /* if (hasAxis != hasRef) { - Logger::Warning("Axis and RefDirection should be specified together", inst); + logger::warning("Axis and RefDirection should be specified together", inst); } */ diff --git a/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp b/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp index 089e9bb3b9..36bd1502f4 100644 --- a/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcCShapeProfileDef.cpp @@ -43,7 +43,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCShapeProfileDef& inst) { const double tol = settings_.get().get(); if ( x < tol || y < tol || d1 < tol || d2 < tol) { - Logger::Message(Logger::LOG_NOTICE," Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE," Skipping zero sized profile:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcCircle.cpp b/src/ifcgeom/mapping/IfcCircle.cpp index 0cea8b588c..d9fdf3a37c 100644 --- a/src/ifcgeom/mapping/IfcCircle.cpp +++ b/src/ifcgeom/mapping/IfcCircle.cpp @@ -24,7 +24,7 @@ using namespace ifcopenshell::geometry; taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCircle& inst) { const double r = inst.Radius() * length_unit_; if (r < settings_.get().get()) { - Logger::Message(Logger::LOG_ERROR, "Radius not greater than zero for:", inst); + logger::message(logger::LOG_ERROR, "Radius not greater than zero for:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcCompositeCurve.cpp b/src/ifcgeom/mapping/IfcCompositeCurve.cpp index de41244e57..8761fac31c 100644 --- a/src/ifcgeom/mapping/IfcCompositeCurve.cpp +++ b/src/ifcgeom/mapping/IfcCompositeCurve.cpp @@ -34,11 +34,11 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve& inst) { for (auto& segment : segments) { if (segment.as() && segment.as().ParentCurve().as()) { - Logger::Notice("Infinite IfcLine used as ParentCurve of segment, treating as a segment", segment); + logger::notice("Infinite IfcLine used as ParentCurve of segment, treating as a segment", segment); double u0 = 0.0; double u1 = segment.as().ParentCurve().as().Dir().Magnitude() * length_unit_; if (u1 < settings_.get().get()) { - Logger::Warning("Segment length below tolerance", segment); + logger::warning("Segment length below tolerance", segment); } auto e = taxonomy::make(); @@ -70,7 +70,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve& inst) { e->end = 2.0 * boost::math::constants::pi(); loop->children.push_back(e); } else { - Logger::Warning("Unexpected segment type", segment); + logger::warning("Unexpected segment type", segment); return nullptr; } } @@ -95,7 +95,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve& inst) { } if (spans.empty()) { - std::vector profile = inst.file()->getInverse(inst.id(), &IfcSchema::IfcProfileDef::Class(), -1); + std::vector profile = inst.file()->get_inverse(inst.id(), &IfcSchema::IfcProfileDef::Class(), -1); const bool force_close = !profile.empty(); loop->closed = force_close; loop->instance = inst; @@ -128,7 +128,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve* l, TopoDS_Wi for (auto it = segments->begin(); it != segments->end(); ++it) { if (!(*it)->declaration().is(IfcSchema::IfcCompositeCurveSegment::Class())) { - Logger::Error("Not implemented", *it); + logger::error("Not implemented", *it); return false; } @@ -141,13 +141,13 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve* l, TopoDS_Wi TopoDS_Wire segment; if (curve->as()) { - Logger::Notice("Infinite IfcLine used as ParentCurve of segment, treating as a segment", *it); + logger::notice("Infinite IfcLine used as ParentCurve of segment, treating as a segment", *it); Handle_Geom_Curve handle; convert_curve(curve, handle); double u0 = 0.0; double u1 = curve->as()->Dir()->Magnitude() * length_unit_; if (u1 < getValue(GV_PRECISION)) { - Logger::Warning("Segment length below tolerance", *it); + logger::warning("Segment length below tolerance", *it); } BRepBuilderAPI_MakeEdge me(handle, u0, u1); if (me.IsDone()) { @@ -157,7 +157,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve* l, TopoDS_Wi } } else if (!convert_wire(curve, segment)) { const bool failed_on_purpose = curve->as() && !segment.IsNull(); - Logger::Message(failed_on_purpose ? Logger::LOG_WARNING : Logger::LOG_ERROR, "Failed to convert curve:", curve); + logger::message(failed_on_purpose ? logger::LOG_WARNING : logger::LOG_ERROR, "Failed to convert curve:", curve); continue; } @@ -173,7 +173,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve* l, TopoDS_Wi } if (converted_segments.Extent() == 0) { - Logger::Message(Logger::LOG_ERROR, "No segment successfully converted:", l); + logger::message(logger::LOG_ERROR, "No segment successfully converted:", l); return false; } @@ -182,7 +182,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcCompositeCurve* l, TopoDS_Wi TopTools_ListIteratorOfListOfShape it(converted_segments); - std::vector profile = inst.data().getInverse(&IfcSchema::IfcProfileDef::Class(), -1); + std::vector profile = inst.data().get_inverse(&IfcSchema::IfcProfileDef::Class(), -1); const bool force_close = profile && profile->size() > 0; util::wire_builder bld(getValue(GV_PRECISION), l); diff --git a/src/ifcgeom/mapping/IfcCurveSegment.cpp b/src/ifcgeom/mapping/IfcCurveSegment.cpp index 86c913481d..1efbed2fe1 100644 --- a/src/ifcgeom/mapping/IfcCurveSegment.cpp +++ b/src/ifcgeom/mapping/IfcCurveSegment.cpp @@ -224,7 +224,7 @@ class curve_segment_evaluator { } } } else { - Logger::Warning("IfcCurveSegment belongs to multiple IfcCompositeCurve instances. Cannot determine the next segment."); + logger::warning("IfcCurveSegment belongs to multiple IfcCompositeCurve instances. Cannot determine the next segment."); } bool is_horizontal = false; @@ -244,7 +244,7 @@ class curve_segment_evaluator { if ((is_horizontal + is_vertical + is_cant) != 1) { // We have to choose the correct functor based on usage. We can't // support multiple, because we don't know the caller at this point. - Logger::Error(std::runtime_error("multiple uses of IfcSegmentCurve not supported"), inst_); + logger::error(std::runtime_error("multiple uses of IfcSegmentCurve not supported"), inst_); } segment_type_ = is_horizontal ? ST_HORIZONTAL : is_vertical ? ST_VERTICAL : is_cant ? ST_CANT : ST_HORIZONTAL; @@ -282,7 +282,7 @@ class curve_segment_evaluator { end_point = segmented_reference_curve.EndPoint(); } } else { - Logger::Warning("IfcCurveSegment belongs to multiple IfcCompositeCurve instances. Cannot determine the end point."); + logger::warning("IfcCurveSegment belongs to multiple IfcCompositeCurve instances. Cannot determine the end point."); } if (end_point) { next_segment_placement_ = taxonomy::cast(mapping_->map(end_point))->ccomponents(); @@ -304,7 +304,7 @@ class curve_segment_evaluator { taxonomy::ptr get_segment_curve_function() { if (!parent_curve_fn_ || !parent_curve_start_point_) { - Logger::Error(std::runtime_error(inst_.ParentCurve().declaration().name() + " not implemented"), inst_); + logger::error(std::runtime_error(inst_.ParentCurve().declaration().name() + " not implemented"), inst_); } auto length = fabs(this->length()); @@ -444,13 +444,13 @@ class curve_segment_evaluator { projected_length_ = length_; } } else if (segment_type_ == ST_CANT) { - Logger::Error(std::runtime_error("Unexpected segment type encountered - cant is handled in set_cant_spiral_function - should never get here")); + logger::error(std::runtime_error("Unexpected segment type encountered - cant is handled in set_cant_spiral_function - should never get here")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); } ); } else { - Logger::Error(std::runtime_error("Unexpected segment type encountered")); + logger::error(std::runtime_error("Unexpected segment type encountered")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); } @@ -612,13 +612,13 @@ class curve_segment_evaluator { set_cant_spiral_function(*super, *slope, cant); } else if (segment_type_ == ST_VERTICAL) { - Logger::Error(std::runtime_error("IfcCosineSpiral cannot be used for vertical alignment")); + logger::error(std::runtime_error("IfcCosineSpiral cannot be used for vertical alignment")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); } ); } else { - Logger::Error(std::runtime_error("Unexpected segment type encountered")); + logger::error(std::runtime_error("Unexpected segment type encountered")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); } @@ -681,12 +681,12 @@ class curve_segment_evaluator { set_cant_spiral_function(*super, *slope, cant); } else if (segment_type_ == ST_VERTICAL) { - Logger::Error(std::runtime_error("IfcSineSpiral cannot be used for vertical alignment")); + logger::error(std::runtime_error("IfcSineSpiral cannot be used for vertical alignment")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }); } else { - Logger::Error(std::runtime_error("Unexpected segment type encountered")); + logger::error(std::runtime_error("Unexpected segment type encountered")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }); @@ -949,12 +949,12 @@ class curve_segment_evaluator { } } else if (segment_type_ == ST_CANT) { - Logger::Warning(std::runtime_error("Use of IfcCircle for cant is not supported")); + logger::warning(std::runtime_error("Use of IfcCircle for cant is not supported")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }); } else { - Logger::Error(std::runtime_error("Unexpected segment type encountered")); + logger::error(std::runtime_error("Unexpected segment type encountered")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }); @@ -1027,7 +1027,7 @@ class curve_segment_evaluator { parent_curve_start_point_ = (*parent_curve_fn_)(start_); } else { - Logger::Warning(std::runtime_error("Unexpected segment type encountered")); + logger::warning(std::runtime_error("Unexpected segment type encountered")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }); @@ -1041,7 +1041,7 @@ class curve_segment_evaluator { auto coeffY = pc.CoefficientsY().value_or(std::vector()); auto coeffZ = pc.CoefficientsZ().value_or(std::vector()); if (!coeffZ.empty()) { - Logger::Warning("Expected IfcPolynomialCurve.CoefficientsZ to be undefined for alignment geometry. Coefficients ignored.", pc); + logger::warning("Expected IfcPolynomialCurve.CoefficientsZ to be undefined for alignment geometry. Coefficients ignored.", pc); } if (segment_type_ == ST_HORIZONTAL || segment_type_ == ST_VERTICAL) { @@ -1107,7 +1107,7 @@ class curve_segment_evaluator { auto result = boost::math::tools::bracket_and_solve_root(f, x, 2.0, true, tol, max_iter); x = result.first; } catch (...) { - Logger::Warning("root solver failed"); + logger::warning("root solver failed"); } return x; }; @@ -1168,12 +1168,12 @@ class curve_segment_evaluator { parent_curve_start_point_ = (*parent_curve_fn_)(0.0); // start is added to u in parent_curve_fn_, so use 0.0 here } else if (segment_type_ == ST_CANT) { - Logger::Warning(std::runtime_error("Use of IfcPolynomialCurve for cant is not supported")); + logger::warning(std::runtime_error("Use of IfcPolynomialCurve for cant is not supported")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }); } else { - Logger::Error(std::runtime_error("Unexpected segment type encountered")); + logger::error(std::runtime_error("Unexpected segment type encountered")); parent_curve_fn_ = std::make_shared( [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }, [](double /*u*/) -> Eigen::Matrix4d { return Eigen::Matrix4d::Identity(); }); diff --git a/src/ifcgeom/mapping/IfcEdge.cpp b/src/ifcgeom/mapping/IfcEdge.cpp index 83e5f929bf..3bf7dc3e95 100644 --- a/src/ifcgeom/mapping/IfcEdge.cpp +++ b/src/ifcgeom/mapping/IfcEdge.cpp @@ -25,14 +25,14 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcEdge& inst) { auto v1 = inst.EdgeStart().as(); auto v2 = inst.EdgeStart().as(); if (!v1 || !v2) { - Logger::Message(Logger::LOG_ERROR, "Only IfcVertexPoints are supported for EdgeStart and -End", inst); + logger::message(logger::LOG_ERROR, "Only IfcVertexPoints are supported for EdgeStart and -End", inst); return nullptr; } auto pnt1 = v1.VertexGeometry(); auto pnt2 = v2.VertexGeometry(); if (!pnt1.declaration().is(IfcSchema::IfcCartesianPoint::Class()) || !pnt2.declaration().is(IfcSchema::IfcCartesianPoint::Class())) { - Logger::Message(Logger::LOG_ERROR, "Only IfcCartesianPoints are supported for VertexGeometry", inst); + logger::message(logger::LOG_ERROR, "Only IfcCartesianPoints are supported for VertexGeometry", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcEllipse.cpp b/src/ifcgeom/mapping/IfcEllipse.cpp index 2eaabd3222..5eaa96cfc6 100644 --- a/src/ifcgeom/mapping/IfcEllipse.cpp +++ b/src/ifcgeom/mapping/IfcEllipse.cpp @@ -26,7 +26,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcEllipse& inst) { double y = inst.SemiAxis2() * length_unit_; const double tol = settings_.get().get(); if (x < tol || y < tol) { - Logger::Message(Logger::LOG_ERROR, "Radius not greater than zero for:", inst); + logger::message(logger::LOG_ERROR, "Radius not greater than zero for:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcEllipseProfileDef.cpp b/src/ifcgeom/mapping/IfcEllipseProfileDef.cpp index 75e4f6f3f9..de684d613e 100644 --- a/src/ifcgeom/mapping/IfcEllipseProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcEllipseProfileDef.cpp @@ -26,7 +26,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcEllipseProfileDef& inst) { double ry = inst.SemiAxis2() * length_unit_; const double tol = settings_.get().get(); if (rx < tol || ry < tol) { - Logger::Message(Logger::LOG_ERROR, "Radius not greater than zero for:", inst); + logger::message(logger::LOG_ERROR, "Radius not greater than zero for:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcExtrudedAreaSolid.cpp b/src/ifcgeom/mapping/IfcExtrudedAreaSolid.cpp index afe2c8ed4e..8e81eb663d 100644 --- a/src/ifcgeom/mapping/IfcExtrudedAreaSolid.cpp +++ b/src/ifcgeom/mapping/IfcExtrudedAreaSolid.cpp @@ -27,7 +27,7 @@ using namespace ifcopenshell::geometry; taxonomy::ptr mapping::map_impl(const IfcSchema::IfcExtrudedAreaSolid& inst) { const double height = inst.Depth() * length_unit_; if (height < settings_.get().get()) { - Logger::Message(Logger::LOG_ERROR, "Non-positive extrusion height encountered for:", inst); + logger::message(logger::LOG_ERROR, "Non-positive extrusion height encountered for:", inst); #ifndef PERMISSIVE_EXTRUSION return nullptr; #endif diff --git a/src/ifcgeom/mapping/IfcExtrudedAreaSolidTapered.cpp b/src/ifcgeom/mapping/IfcExtrudedAreaSolidTapered.cpp index 5631393eee..5d444212c0 100644 --- a/src/ifcgeom/mapping/IfcExtrudedAreaSolidTapered.cpp +++ b/src/ifcgeom/mapping/IfcExtrudedAreaSolidTapered.cpp @@ -27,7 +27,7 @@ using namespace ifcopenshell::geometry; taxonomy::ptr mapping::map_impl(const IfcSchema::IfcExtrudedAreaSolidTapered& inst) { const double height = inst.Depth() * length_unit_; if (height < settings_.get().get()) { - Logger::Message(Logger::LOG_ERROR, "Non-positive extrusion height encountered for:", inst); + logger::message(logger::LOG_ERROR, "Non-positive extrusion height encountered for:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcFixedReferenceSweptAreaSolid.cpp b/src/ifcgeom/mapping/IfcFixedReferenceSweptAreaSolid.cpp index 9c7b551237..ef0f7451cf 100644 --- a/src/ifcgeom/mapping/IfcFixedReferenceSweptAreaSolid.cpp +++ b/src/ifcgeom/mapping/IfcFixedReferenceSweptAreaSolid.cpp @@ -98,7 +98,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcFixedReferenceSweptAreaSolid auto condition_number = svd.singularValues()(0) / svd.singularValues()(svd.singularValues().size() - 1); if (condition_number > 1.e10) { - Logger::Error("Non-invertible matrix at " + std::to_string(distalong) + " conversion will likely fail."); + logger::error("Non-invertible matrix at " + std::to_string(distalong) + " conversion will likely fail."); } */ } diff --git a/src/ifcgeom/mapping/IfcGradientCurve.cpp b/src/ifcgeom/mapping/IfcGradientCurve.cpp index f3eb501775..cbf3afd498 100644 --- a/src/ifcgeom/mapping/IfcGradientCurve.cpp +++ b/src/ifcgeom/mapping/IfcGradientCurve.cpp @@ -26,7 +26,7 @@ using namespace ifcopenshell::geometry; taxonomy::ptr mapping::map_impl(const IfcSchema::IfcGradientCurve& inst) { if (!inst.BaseCurve().as()) - Logger::Warning("Expected IfcGradientCurve.BaseCurve to be IfcCompositeCurve", inst); // CT 4.1.7.1.1.2 + logger::warning("Expected IfcGradientCurve.BaseCurve to be IfcCompositeCurve", inst); // CT 4.1.7.1.1.2 auto segments = inst.Segments(); @@ -41,11 +41,11 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcGradientCurve& inst) { // for this reason, a dynamic cast is used and if crv is a function_item it is added to the span spans.push_back(fi); } else { - Logger::Error("Unsupported"); + logger::error("Unsupported"); return nullptr; } } else { - Logger::Error("Unsupported"); + logger::error("Unsupported"); return nullptr; } } @@ -73,7 +73,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcGradientCurve& inst) { // check to see if there is valid overlap of the horizontal and vertical domains if (!(0 < gradient_function->length())) { - Logger::Error("IfcGradientCurve does not have a common domain with BaseCurve"); + logger::error("IfcGradientCurve does not have a common domain with BaseCurve"); gradient_function = nullptr; // not valid } diff --git a/src/ifcgeom/mapping/IfcHalfSpaceSolid.cpp b/src/ifcgeom/mapping/IfcHalfSpaceSolid.cpp index ede18b9821..ea10e39bc2 100644 --- a/src/ifcgeom/mapping/IfcHalfSpaceSolid.cpp +++ b/src/ifcgeom/mapping/IfcHalfSpaceSolid.cpp @@ -25,7 +25,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcHalfSpaceSolid& inst) { auto surface = inst.BaseSurface(); auto plane = surface.as(); if (!plane) { - Logger::Message(Logger::LOG_ERROR, "Unsupported BaseSurface:", surface); + logger::message(logger::LOG_ERROR, "Unsupported BaseSurface:", surface); return nullptr; } auto p = taxonomy::make(); diff --git a/src/ifcgeom/mapping/IfcIShapeProfileDef.cpp b/src/ifcgeom/mapping/IfcIShapeProfileDef.cpp index 3cc05e7f9a..68dcd191ca 100644 --- a/src/ifcgeom/mapping/IfcIShapeProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcIShapeProfileDef.cpp @@ -80,7 +80,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcIShapeProfileDef& inst) { const double tol = settings_.get().get(); if (x1 < tol || x2 < tol || y < tol || d1 < tol || ft1 < tol || ft2 < tol) { - Logger::Message(Logger::LOG_NOTICE, "Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE, "Skipping zero sized profile:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp b/src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp index 95095bde26..43c498687e 100644 --- a/src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp +++ b/src/ifcgeom/mapping/IfcIndexedPolyCurve.cpp @@ -35,7 +35,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcIndexedPolyCurve& inst) { std::vector points; if (coordinates.size() < 2) { - throw IfcParse::IfcException("IfcIndexedPolyCurve has less than 2 points."); + throw ifcopenshell::exception("IfcIndexedPolyCurve has less than 2 points."); } points.reserve(coordinates.size()); @@ -58,7 +58,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcIndexedPolyCurve& inst) { taxonomy::point3::ptr previous; for (std::vector::const_iterator jt = indices.begin(); jt != indices.end(); ++jt) { if (*jt < 1 || *jt > max_index) { - throw IfcParse::IfcException("IfcIndexedPolyCurve index out of bounds for index " + boost::lexical_cast(*jt)); + throw ifcopenshell::exception("IfcIndexedPolyCurve index out of bounds for index " + boost::lexical_cast(*jt)); } auto current = points[*jt - 1]; if (jt != indices.begin()) { @@ -69,12 +69,12 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcIndexedPolyCurve& inst) { } else if (auto arc = segment.as()) { std::vector indices = arc; if (indices.size() != 3) { - throw IfcParse::IfcException("Invalid IfcArcIndex encountered"); + throw ifcopenshell::exception("Invalid IfcArcIndex encountered"); } for (int i = 0; i < 3; ++i) { const int& idx = indices[i]; if (idx < 1 || idx > max_index) { - throw IfcParse::IfcException("IfcIndexedPolyCurve index out of bounds for index " + boost::lexical_cast(idx)); + throw ifcopenshell::exception("IfcIndexedPolyCurve index out of bounds for index " + boost::lexical_cast(idx)); } } const auto& a = points[indices[0] - 1]; @@ -87,10 +87,10 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcIndexedPolyCurve& inst) { e->basis = circ; loop->children.push_back(e); } else { - Logger::Warning("Ignoring segment on", inst); + logger::warning("Ignoring segment on", inst); } } else { - throw IfcParse::IfcException("Unexpected IfcIndexedPolyCurve segment of type " + segment.concrete().declaration().name()); + throw ifcopenshell::exception("Unexpected IfcIndexedPolyCurve segment of type " + segment.concrete().declaration().name()); } } } else if (points.begin() < points.end()) { diff --git a/src/ifcgeom/mapping/IfcLShapeProfileDef.cpp b/src/ifcgeom/mapping/IfcLShapeProfileDef.cpp index e3106661cb..68919be861 100644 --- a/src/ifcgeom/mapping/IfcLShapeProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcLShapeProfileDef.cpp @@ -45,7 +45,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcLShapeProfileDef& inst) { const double tol = settings_.get().get(); if ( x < tol || y < tol || d < tol) { - Logger::Message(Logger::LOG_NOTICE, "Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE, "Skipping zero sized profile:", inst); return nullptr; } @@ -77,7 +77,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcLShapeProfileDef& inst) { const double det = a1*b2 - a2*b1; if (std::fabs(det) < 1.e-5) { - Logger::Message(Logger::LOG_NOTICE, "Legs do not intersect for:", inst); + logger::message(logger::LOG_NOTICE, "Legs do not intersect for:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcObjectPlacement.cpp b/src/ifcgeom/mapping/IfcObjectPlacement.cpp index 4b887b5fcc..06def74783 100644 --- a/src/ifcgeom/mapping/IfcObjectPlacement.cpp +++ b/src/ifcgeom/mapping/IfcObjectPlacement.cpp @@ -90,7 +90,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcObjectPlacement& inst) { if (fallback) { auto mapped_fallback = taxonomy::cast(map(fallback)); if (mapped_fallback != result) { - Logger::Warning("Computed placement differs from fallback", inst); + logger::warning("Computed placement differs from fallback", inst); } } @@ -98,7 +98,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcObjectPlacement& inst) { auto abs_det = std::abs(result->ccomponents().determinant()); if (abs_det < 1.e-7) { - Logger::Warning("Ignoring singular matrix:", inst); + logger::warning("Ignoring singular matrix:", inst); return nullptr; } @@ -122,7 +122,7 @@ if (gridp = inst.as()) { convert(l->PlacementRelTo(), grid_position); #else IfcSchema::IfcGrid* grid = nullptr; - auto grids = (*axes->begin())->data().file->getInverse((*axes->begin())->data().id(), -1); + auto grids = (*axes->begin())->data().file->get_inverse((*axes->begin())->data().id(), -1); if (grids && grids->size()) { grid = *grids->begin(); if (grid->ObjectPlacement()) { @@ -136,11 +136,11 @@ if (gridp = inst.as()) { auto offsets = x->OffsetDistances(); if (axes->size() != 2) { - Logger::Message(Logger::LOG_WARNING, "Unexpected grid axes count:" + std::to_string(axes->size()), x); + logger::message(logger::LOG_WARNING, "Unexpected grid axes count:" + std::to_string(axes->size()), x); return false; } if (offsets.size() != 3) { - Logger::Message(Logger::LOG_WARNING, "Unexpected offset count:" + std::to_string(offsets.size()), x); + logger::message(logger::LOG_WARNING, "Unexpected offset count:" + std::to_string(offsets.size()), x); return false; } auto first = *axes->begin(); @@ -171,7 +171,7 @@ if (gridp = inst.as()) { gp_Pnt pp1, pp2; ecc->Points(1, pp1, pp2); if (pp1.Distance(pp2) > getValue(GV_PRECISION)) { - Logger::Message(Logger::LOG_WARNING, "No axis intersection:", x); + logger::message(logger::LOG_WARNING, "No axis intersection:", x); return false; } P = pp1; @@ -202,7 +202,7 @@ if (gridp = inst.as()) { if (V.Magnitude() > 1.e-9) { D = V; } else { - Logger::Message(Logger::LOG_ERROR, "Unable to obtain ref direction:", l); + logger::message(logger::LOG_ERROR, "Unable to obtain ref direction:", l); return false; } } @@ -215,7 +215,7 @@ if (gridp = inst.as()) { if (V.Magnitude() > 1.e-9) { D = V; } else { - Logger::Message(Logger::LOG_ERROR, "Unable to obtain ref direction:", l); + logger::message(logger::LOG_ERROR, "Unable to obtain ref direction:", l); return false; } } diff --git a/src/ifcgeom/mapping/IfcOffsetCurveByDistance.cpp b/src/ifcgeom/mapping/IfcOffsetCurveByDistance.cpp index fe3385fcf1..1a0dc34e38 100644 --- a/src/ifcgeom/mapping/IfcOffsetCurveByDistance.cpp +++ b/src/ifcgeom/mapping/IfcOffsetCurveByDistance.cpp @@ -33,7 +33,7 @@ using namespace ifcopenshell::geometry; taxonomy::ptr mapping::map_impl(const IfcSchema::IfcOffsetCurveByDistances& inst) { auto offset_values = inst.OffsetValues(); if (offset_values.empty()) { - Logger::Error("IfcOffsetCurveByDistances must have at least one offset value"); + logger::error("IfcOffsetCurveByDistances must have at least one offset value"); } auto& first_offset_value = offset_values.front(); @@ -56,7 +56,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcOffsetCurveByDistances& inst auto basis_curve_fn = taxonomy::dcast(map(basis_curve)); if (!basis_curve_fn) { // Only implement on alignment curves - Logger::Warning("IfcOffsetCurveByDistances is only implemented for BasisCurves curves based on taxonomy::function_item", inst); + logger::warning("IfcOffsetCurveByDistances is only implemented for BasisCurves curves based on taxonomy::function_item", inst); return nullptr; } @@ -73,7 +73,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcOffsetCurveByDistances& inst first_distance *= length_unit_; if (first_distance < 0.0) { - Logger::Warning("IfcOffsetCurveByDistance first offset value is before the start of the curve."); + logger::warning("IfcOffsetCurveByDistance first offset value is before the start of the curve."); } if(0.0 < first_distance) @@ -110,7 +110,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcOffsetCurveByDistances& inst if (dn < dp) // next is before previous { - Logger::Warning("IfcOffsetCurveByDistance offset value is out of bounds."); + logger::warning("IfcOffsetCurveByDistance offset value is out of bounds."); continue; } diff --git a/src/ifcgeom/mapping/IfcOpenCrossProfileDef.cpp b/src/ifcgeom/mapping/IfcOpenCrossProfileDef.cpp index 7c5a1f2902..c5287143a2 100644 --- a/src/ifcgeom/mapping/IfcOpenCrossProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcOpenCrossProfileDef.cpp @@ -32,7 +32,7 @@ const double PI = boost::math::constants::pi(); taxonomy::ptr mapping::map_impl(const IfcSchema::IfcOpenCrossProfileDef& inst) { if (inst.ProfileType() != IfcSchema::IfcProfileTypeEnum::IfcProfileType_CURVE) { - Logger::Warning("Expected IfcOpenCrossProfileDef.ProfileType to be CURVE", inst); + logger::warning("Expected IfcOpenCrossProfileDef.ProfileType to be CURVE", inst); return nullptr; } @@ -56,7 +56,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcOpenCrossProfileDef& inst) { auto angles = inst.Slopes(); // these are actually angles, but the attribute is called Slopes if (widths.size() != angles.size()) { - Logger::Warning("Expected Widths and Slopes to be equal length, but got " + std::to_string(widths.size()) + " and " + std::to_string(angles.size()) + " respectively", inst); + logger::warning("Expected Widths and Slopes to be equal length, but got " + std::to_string(widths.size()) + " and " + std::to_string(angles.size()) + " respectively", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcPolyLoop.cpp b/src/ifcgeom/mapping/IfcPolyLoop.cpp index 5eee9834c8..42d7f04293 100644 --- a/src/ifcgeom/mapping/IfcPolyLoop.cpp +++ b/src/ifcgeom/mapping/IfcPolyLoop.cpp @@ -36,7 +36,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcPolyLoop& inst) { // A loop should consist of at least three vertices int original_count = polygon.size(); if (original_count < 3) { - Logger::Message(Logger::LOG_WARNING, "Not enough edges for:", inst); + logger::message(logger::LOG_WARNING, "Not enough edges for:", inst); return nullptr; } @@ -45,17 +45,17 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcPolyLoop& inst) { auto previous_size = polygon.size(); remove_duplicate_points_from_loop(polygon, true, eps); if (polygon.size() != previous_size) { - Logger::Warning("Removed " + std::to_string(previous_size - polygon.size()) + " (near) duplicate points from:", inst); + logger::warning("Removed " + std::to_string(previous_size - polygon.size()) + " (near) duplicate points from:", inst); } int count = polygon.size(); if (original_count - count != 0) { std::stringstream ss; ss << (original_count - count) << " edges removed for:"; - Logger::Message(Logger::LOG_WARNING, ss.str(), inst); + logger::message(logger::LOG_WARNING, ss.str(), inst); } if (count < 3) { - Logger::Message(Logger::LOG_WARNING, "Not enough edges for:", inst); + logger::message(logger::LOG_WARNING, "Not enough edges for:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp b/src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp index 2b3613b7cb..c4f5bd46a4 100644 --- a/src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp +++ b/src/ifcgeom/mapping/IfcPolygonalFaceSet.cpp @@ -53,7 +53,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcPolygonalFaceSet& inst) { taxonomy::point3::ptr previous; for (std::vector::const_iterator jt = indices.begin(); jt != indices.end(); ++jt) { if (*jt < 1 || *jt > max_index) { - throw IfcParse::IfcException("IfcPolygonalFaceSet index out of bounds for index " + boost::lexical_cast(*jt)); + throw ifcopenshell::exception("IfcPolygonalFaceSet index out of bounds for index " + boost::lexical_cast(*jt)); } auto current = points[(*jt) - 1]; if (jt != indices.begin()) { @@ -78,7 +78,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcPolygonalFaceSet& inst) { for (std::vector::const_iterator jt = li.begin(); jt != li.end(); ++jt) { if (*jt < 1 || *jt > max_index) { - throw IfcParse::IfcException("IfcPolygonalFaceSet index out of bounds for index " + boost::lexical_cast(*jt)); + throw ifcopenshell::exception("IfcPolygonalFaceSet index out of bounds for index " + boost::lexical_cast(*jt)); } auto current = points[(*jt) - 1]; if (jt != li.begin()) { diff --git a/src/ifcgeom/mapping/IfcPolyline.cpp b/src/ifcgeom/mapping/IfcPolyline.cpp index 6beea38fb8..a6c38bfb2f 100644 --- a/src/ifcgeom/mapping/IfcPolyline.cpp +++ b/src/ifcgeom/mapping/IfcPolyline.cpp @@ -44,12 +44,12 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcPolyline& inst) { auto previous_size = polygon.size(); remove_duplicate_points_from_loop(polygon, closed_by_proximity, eps); if (polygon.size() != previous_size) { - Logger::Warning("Removed " + std::to_string(previous_size - polygon.size()) + " (near) duplicate points from:", inst); + logger::warning("Removed " + std::to_string(previous_size - polygon.size()) + " (near) duplicate points from:", inst); } if (polygon.size() < 2) { // We somehow need to signal we fail this curve on purpose not to trigger an error. - Logger::Warning("Invalid polyline with " + std::to_string(polygon.size()) + " points:", inst); + logger::warning("Invalid polyline with " + std::to_string(polygon.size()) + " points:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcRectangleHollowProfileDef.cpp b/src/ifcgeom/mapping/IfcRectangleHollowProfileDef.cpp index 2dfab89351..0d588dfa2b 100644 --- a/src/ifcgeom/mapping/IfcRectangleHollowProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcRectangleHollowProfileDef.cpp @@ -37,7 +37,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcRectangleHollowProfileDef& i const double tol = settings_.get().get(); if (x < tol || y < tol) { - Logger::Message(Logger::LOG_NOTICE, "Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE, "Skipping zero sized profile:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcRectangleProfileDef.cpp b/src/ifcgeom/mapping/IfcRectangleProfileDef.cpp index 2858f99312..84811ba329 100644 --- a/src/ifcgeom/mapping/IfcRectangleProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcRectangleProfileDef.cpp @@ -30,7 +30,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcRectangleProfileDef& inst) { const double tol = settings_.get().get(); if (x < tol || y < tol) { - Logger::Message(Logger::LOG_NOTICE, "Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE, "Skipping zero sized profile:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcRectangularTrimmedSurface.cpp b/src/ifcgeom/mapping/IfcRectangularTrimmedSurface.cpp index 7dd71926e6..621e93f339 100644 --- a/src/ifcgeom/mapping/IfcRectangularTrimmedSurface.cpp +++ b/src/ifcgeom/mapping/IfcRectangularTrimmedSurface.cpp @@ -27,7 +27,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcRectangularTrimmedSurface& i /* if (!inst.BasisSurface()->declaration().is(IfcSchema::IfcPlane::Class())) { - Logger::Message(Logger::LOG_ERROR, "Unsupported BasisSurface:", inst.BasisSurface()); + logger::message(logger::LOG_ERROR, "Unsupported BasisSurface:", inst.BasisSurface()); return false; } gp_Pln pln; diff --git a/src/ifcgeom/mapping/IfcRevolvedAreaSolid.cpp b/src/ifcgeom/mapping/IfcRevolvedAreaSolid.cpp index 3da2f46ce4..ca87c35d14 100644 --- a/src/ifcgeom/mapping/IfcRevolvedAreaSolid.cpp +++ b/src/ifcgeom/mapping/IfcRevolvedAreaSolid.cpp @@ -86,7 +86,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcRevolvedAreaSolid& inst) { } if (intersecting) { - Logger::Warning("Warning Axis and SweptArea intersecting", l); + logger::warning("Warning Axis and SweptArea intersecting", l); } } */ diff --git a/src/ifcgeom/mapping/IfcRoundedRectangleProfileDef.cpp b/src/ifcgeom/mapping/IfcRoundedRectangleProfileDef.cpp index e4877cc53e..ff39d5975e 100644 --- a/src/ifcgeom/mapping/IfcRoundedRectangleProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcRoundedRectangleProfileDef.cpp @@ -31,7 +31,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcRoundedRectangleProfileDef& const double tol = settings_.get().get(); if (x < tol || y < tol) { - Logger::Message(Logger::LOG_NOTICE, "Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE, "Skipping zero sized profile:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcSectionedSolidHorizontal.cpp b/src/ifcgeom/mapping/IfcSectionedSolidHorizontal.cpp index 9c55579fe8..1e583ffcd5 100644 --- a/src/ifcgeom/mapping/IfcSectionedSolidHorizontal.cpp +++ b/src/ifcgeom/mapping/IfcSectionedSolidHorizontal.cpp @@ -34,7 +34,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSectionedSolidHorizontal& in auto fn = taxonomy::dcast(dir); if (!fn) { // Only implement on alignment curves - Logger::Warning("IfcSectionedSolidHorizontal is only implemented for Directrix curves based on taxonomy::function_item", inst); + logger::warning("IfcSectionedSolidHorizontal is only implemented for Directrix curves based on taxonomy::function_item", inst); return nullptr; } @@ -91,11 +91,11 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSectionedSolidHorizontal& in profile_rotations.push_back(rot); } if (faces.size() != profile_offsets.size()) { - Logger::Warning("Expected CrossSections and CrossSectionPositions to be equal length, but got " + std::to_string(faces.size()) + " and " + std::to_string(profile_offsets.size()) + " respectively", inst); + logger::warning("Expected CrossSections and CrossSectionPositions to be equal length, but got " + std::to_string(faces.size()) + " and " + std::to_string(profile_offsets.size()) + " respectively", inst); return nullptr; } if (faces.size() < 2) { - Logger::Warning("Expected at least two cross sections, but got " + std::to_string(faces.size()), inst); + logger::warning("Expected at least two cross sections, but got " + std::to_string(faces.size()), inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcSectionedSurface.cpp b/src/ifcgeom/mapping/IfcSectionedSurface.cpp index 1dca768100..0ae65e2a78 100644 --- a/src/ifcgeom/mapping/IfcSectionedSurface.cpp +++ b/src/ifcgeom/mapping/IfcSectionedSurface.cpp @@ -34,7 +34,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSectionedSurface& inst) { auto fn = taxonomy::dcast(dir); if (!fn) { // Only implement on alignment curves - Logger::Warning("IfcSectionedSurface is only implemented for Directrix curves based on taxonomy::function_item", inst); + logger::warning("IfcSectionedSurface is only implemented for Directrix curves based on taxonomy::function_item", inst); return nullptr; } @@ -97,11 +97,11 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSectionedSurface& inst) { return nullptr; #endif if (faces.size() != profile_offsets.size()) { - Logger::Warning("Expected CrossSections and CrossSectionPositions to be equal length, but got " + std::to_string(faces.size()) + " and " + std::to_string(profile_offsets.size()) + " respectively", inst); + logger::warning("Expected CrossSections and CrossSectionPositions to be equal length, but got " + std::to_string(faces.size()) + " and " + std::to_string(profile_offsets.size()) + " respectively", inst); return nullptr; } if (faces.size() < 2) { - Logger::Warning("Expected at least two cross sections, but got " + std::to_string(faces.size()), inst); + logger::warning("Expected at least two cross sections, but got " + std::to_string(faces.size()), inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcSegmentedReferenceCurve.cpp b/src/ifcgeom/mapping/IfcSegmentedReferenceCurve.cpp index f4f3e59200..b47fde4c7c 100644 --- a/src/ifcgeom/mapping/IfcSegmentedReferenceCurve.cpp +++ b/src/ifcgeom/mapping/IfcSegmentedReferenceCurve.cpp @@ -27,7 +27,7 @@ using namespace ifcopenshell::geometry; taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSegmentedReferenceCurve& inst) { if (!inst.BaseCurve().as()) - Logger::Warning("Expected IfcSegmentedReferenceCurve.BaseCurve to be IfcGradient", inst); // CT 4.1.7.1.1.3 + logger::warning("Expected IfcSegmentedReferenceCurve.BaseCurve to be IfcGradient", inst); // CT 4.1.7.1.1.3 auto segments = inst.Segments(); @@ -41,11 +41,11 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSegmentedReferenceCurve& ins // for this reason, a dynamic cast is used and if crv is a function_item it is added to the span spans.push_back(fi); } else { - Logger::Error("Unsupported"); + logger::error("Unsupported"); return nullptr; } } else { - Logger::Error("Unsupported"); + logger::error("Unsupported"); return nullptr; } } @@ -67,7 +67,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSegmentedReferenceCurve& ins auto cant_function = taxonomy::make(gradient, cant, inst); if (!(0 < cant_function->length())) { - Logger::Error("IfcSegmentedReferenceCurve does not have a common domain with BaseCurve"); + logger::error("IfcSegmentedReferenceCurve does not have a common domain with BaseCurve"); cant_function = nullptr; } return cant_function; diff --git a/src/ifcgeom/mapping/IfcSurfaceCurveSweptAreaSolid.cpp b/src/ifcgeom/mapping/IfcSurfaceCurveSweptAreaSolid.cpp index 582b9ba916..17e3488be7 100644 --- a/src/ifcgeom/mapping/IfcSurfaceCurveSweptAreaSolid.cpp +++ b/src/ifcgeom/mapping/IfcSurfaceCurveSweptAreaSolid.cpp @@ -49,11 +49,11 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSurfaceCurveSweptAreaSolid& if (!is_plane) { TopoDS_Shape surface_shell; if (!convert_shape(inst.ReferenceSurface(), surface_shell)) { - Logger::Error("Failed to convert reference surface", l); + logger::error("Failed to convert reference surface", l); return false; } if (util::count(surface_shell, TopAbs_FACE) != 1) { - Logger::Error("Non-continuous reference surface", l); + logger::error("Non-continuous reference surface", l); return false; } surface_face = TopoDS::Face(TopExp_Explorer(surface_shell, TopAbs_FACE).Current()); @@ -76,7 +76,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSurfaceCurveSweptAreaSolid& for (TopExp_Explorer exp(wire, TopAbs_VERTEX); exp.More(); exp.Next()) { if (pln.Distance(BRep_Tool::Pnt(TopoDS::Vertex(exp.Current()))) > ALMOST_ZERO) { directrix_on_plane = false; - Logger::Message(Logger::LOG_WARNING, "The Directrix does not lie on the ReferenceSurface", l); + logger::message(logger::LOG_WARNING, "The Directrix does not lie on the ReferenceSurface", l); break; } } diff --git a/src/ifcgeom/mapping/IfcSweptDiskSolid.cpp b/src/ifcgeom/mapping/IfcSweptDiskSolid.cpp index e826d5b269..1fbbbfbf00 100644 --- a/src/ifcgeom/mapping/IfcSweptDiskSolid.cpp +++ b/src/ifcgeom/mapping/IfcSweptDiskSolid.cpp @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -61,8 +61,8 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSweptDiskSolid& inst) { try { sp = inst.StartParam(); ep = inst.EndParam(); - } catch (const IfcParse::IfcException& e) { - Logger::Warning(e); + } catch (const ifcopenshell::exception& e) { + logger::warning(e); } #endif @@ -241,19 +241,19 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSweptDiskSolid& inst) { i += 1; j += 1; } else { - Logger::Error("Unexpected amount of fillet edges generated"); + logger::error("Unexpected amount of fillet edges generated"); } } else { - Logger::Error("Unable to build fillet, probably edge too short"); + logger::error("Unable to build fillet, probably edge too short"); } } else { - Logger::Error("Colinear edges, not applying fillet"); + logger::error("Colinear edges, not applying fillet"); } i++; j++; } } else { - Logger::Error("Not enough edges for applying fillet"); + logger::error("Not enough edges for applying fillet"); } TopoDS_Wire new_wire; @@ -266,7 +266,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSweptDiskSolid& inst) { wire = new_wire; } else { - Logger::Error("Directrix is not polyhedral, ignoring FilletRadius"); + logger::error("Directrix is not polyhedral, ignoring FilletRadius"); } } @@ -317,7 +317,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcSweptDiskSolid& inst) { } if (!is_valid) { - Logger::Message(Logger::LOG_WARNING, "Failed to subtract inner radius void for:", l); + logger::message(logger::LOG_WARNING, "Failed to subtract inner radius void for:", l); } } diff --git a/src/ifcgeom/mapping/IfcTShapeProfileDef.cpp b/src/ifcgeom/mapping/IfcTShapeProfileDef.cpp index c7304542c5..12142063dc 100644 --- a/src/ifcgeom/mapping/IfcTShapeProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcTShapeProfileDef.cpp @@ -40,7 +40,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTShapeProfileDef& inst) { const double tol = settings_.get().get(); if (x < tol || y < tol || d1 < tol || d2 < tol) { - Logger::Message(Logger::LOG_NOTICE, "Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE, "Skipping zero sized profile:", inst); return nullptr; } @@ -88,7 +88,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTShapeProfileDef& inst) { const double det = a1*b2 - a2*b1; if (std::fabs(det) < 1.e-5) { - Logger::Message(Logger::LOG_NOTICE, "Web and flange do not intersect for:", inst); + logger::message(logger::LOG_NOTICE, "Web and flange do not intersect for:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcTrapeziumProfileDef.cpp b/src/ifcgeom/mapping/IfcTrapeziumProfileDef.cpp index 60908a69d5..7c8960e40b 100644 --- a/src/ifcgeom/mapping/IfcTrapeziumProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcTrapeziumProfileDef.cpp @@ -36,7 +36,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTrapeziumProfileDef& inst) { const double tol = settings_.get().get(); if (x1 < tol || w < tol || y < tol) { - Logger::Message(Logger::LOG_NOTICE, "Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE, "Skipping zero sized profile:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcTriangulatedFaceSet.cpp b/src/ifcgeom/mapping/IfcTriangulatedFaceSet.cpp index e06bca5e27..7dd733c5c4 100644 --- a/src/ifcgeom/mapping/IfcTriangulatedFaceSet.cpp +++ b/src/ifcgeom/mapping/IfcTriangulatedFaceSet.cpp @@ -52,7 +52,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTriangulatedFaceSet& inst) { taxonomy::point3::ptr first, previous; for (std::vector::const_iterator jt = indices.begin(); jt != indices.end(); ++jt) { if (*jt < 1 || *jt > max_index) { - throw IfcParse::IfcException("IfcTriangulatedFaceSet index out of bounds for index " + boost::lexical_cast(*jt)); + throw ifcopenshell::exception("IfcTriangulatedFaceSet index out of bounds for index " + boost::lexical_cast(*jt)); } const taxonomy::point3::ptr& current = points[(*jt) - 1]; if (jt == indices.begin()) { diff --git a/src/ifcgeom/mapping/IfcTrimmedCurve.cpp b/src/ifcgeom/mapping/IfcTrimmedCurve.cpp index 057f4b2542..30249c6231 100644 --- a/src/ifcgeom/mapping/IfcTrimmedCurve.cpp +++ b/src/ifcgeom/mapping/IfcTrimmedCurve.cpp @@ -76,7 +76,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTrimmedCurve& inst) { bool trim_cartesian_failed = !trim_cartesian; if (trim_cartesian) { if ((pnts[0]->ccomponents() - pnts[1]->ccomponents()).norm() < (2 * tol)) { - Logger::Message(Logger::LOG_WARNING, "Skipping segment with length below tolerance level:", inst); + logger::message(logger::LOG_WARNING, "Skipping segment with length below tolerance level:", inst); return nullptr; } tc->start = pnts[0]; @@ -115,9 +115,9 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTrimmedCurve& inst) { // or trimmed segment would be whether there are other curve segments or this // is the only one. std::optional num_segments; - auto segment = inst.file()->getInverse(inst.id(), & IfcSchema::IfcCompositeCurveSegment::Class(), -1); + auto segment = inst.file()->get_inverse(inst.id(), & IfcSchema::IfcCompositeCurveSegment::Class(), -1); if (segment.size() == 1) { - auto comp = segment.front().file()->getInverse(segment.front().id(), &IfcSchema::IfcCompositeCurve::Class(), -1); + auto comp = segment.front().file()->get_inverse(segment.front().id(), &IfcSchema::IfcCompositeCurve::Class(), -1); if (comp.size() == 1) { num_segments = comp.front().as().Segments().size(); } @@ -140,7 +140,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTrimmedCurve& inst) { TopoDS_Vertex v0, v1; TopExp::Vertices(e, v0, v1); if (v0.IsSame(v1)) { - Logger::Warning("Skipping degenerate segment", l); + logger::warning("Skipping degenerate segment", l); return false; } } @@ -168,7 +168,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcTrimmedCurve& inst) { TopoDS_Vertex v0, v1; TopExp::Vertices(e, v0, v1); e = TopoDS::Edge(BRepBuilderAPI_MakeEdge(v0, v1).Edge().Oriented(e.Orientation())); - Logger::Warning("Substituted edge with linear approximation", l); + logger::warning("Substituted edge with linear approximation", l); } } diff --git a/src/ifcgeom/mapping/IfcUShapeProfileDef.cpp b/src/ifcgeom/mapping/IfcUShapeProfileDef.cpp index 4acfc94ce6..810d1e374e 100644 --- a/src/ifcgeom/mapping/IfcUShapeProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcUShapeProfileDef.cpp @@ -54,7 +54,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcUShapeProfileDef& inst) { const double tol = settings_.get().get(); if (x < tol || y < tol || d1 < tol || d2 < tol) { - Logger::Message(Logger::LOG_NOTICE, "Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE, "Skipping zero sized profile:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/IfcZShapeProfileDef.cpp b/src/ifcgeom/mapping/IfcZShapeProfileDef.cpp index 2f67b3256b..8660364200 100644 --- a/src/ifcgeom/mapping/IfcZShapeProfileDef.cpp +++ b/src/ifcgeom/mapping/IfcZShapeProfileDef.cpp @@ -45,7 +45,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcZShapeProfileDef& inst) { const double tol = settings_.get().get(); if (x < tol || y < tol || dx < tol || dy < tol) { - Logger::Message(Logger::LOG_NOTICE, "Skipping zero sized profile:", inst); + logger::message(logger::LOG_NOTICE, "Skipping zero sized profile:", inst); return nullptr; } diff --git a/src/ifcgeom/mapping/mapping.cpp b/src/ifcgeom/mapping/mapping.cpp index d8b3e43d7c..0ed5af5396 100644 --- a/src/ifcgeom/mapping/mapping.cpp +++ b/src/ifcgeom/mapping/mapping.cpp @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -22,17 +22,17 @@ #include "mapping.h" -#include "../../ifcparse/IfcLogger.h" -#include "../../ifcparse/IfcFile.h" -#include "../../ifcparse/IfcSIPrefix.h" +#include "../../ifcparse/logger.h" +#include "../../ifcparse/file.h" +#include "../../ifcparse/si_prefix.h" -using namespace IfcUtil; +using namespace ifcopenshell; using namespace ifcopenshell::geometry; using namespace IfcGeom; namespace { struct POSTFIX_SCHEMA(factory_t) { - abstract_mapping* operator()(IfcParse::IfcFile* file, Settings& settings) const { + abstract_mapping* operator()(ifcopenshell::file* file, Settings& settings) const { ifcopenshell::geometry::POSTFIX_SCHEMA(mapping)* m = new ifcopenshell::geometry::POSTFIX_SCHEMA(mapping)(file, settings); return m; } @@ -58,7 +58,7 @@ std::vector mapping::products_represented_by(const IfcSch // IfcProductRepresentation also lacks the INVERSE relation to IfcProduct // Let's find the IfcProducts that reference the IfcProductRepresentation anyway - auto invs = prodrep.file()->getInverse(prodrep.id(), &IfcSchema::IfcProduct::Class(), -1); + auto invs = prodrep.file()->get_inverse(prodrep.id(), &IfcSchema::IfcProduct::Class(), -1); for (auto& inv : invs) { products.push_back(inv.as()); } @@ -84,19 +84,19 @@ std::vector mapping::products_represented_by(const IfcSch try { target = taxonomy::cast(map(item.MappingTarget())); } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); continue; } if (!target->is_identity()) { continue; } - auto reps = item.file()->getInverse(item.id(), (&IfcSchema::IfcRepresentation::Class()), -1); + auto reps = item.file()->get_inverse(item.id(), (&IfcSchema::IfcRepresentation::Class()), -1); for (auto& rep : reps) { if (rep.as().Items().size() != 1) continue; std::vector prodreps_mapped = rep.as().OfProductRepresentation(); for (auto& prm : prodreps_mapped) { - auto ps = prm.file()->getInverse(prm.id(), (&IfcSchema::IfcProduct::Class()), -1); + auto ps = prm.file()->get_inverse(prm.id(), (&IfcSchema::IfcProduct::Class()), -1); for (auto& p : ps) { products.push_back(p.as()); } @@ -329,8 +329,8 @@ const express::Base mapping::get_single_material_association(const express::Base try { associated_material = associated_materials.front().RelatingMaterial().concrete(); - } catch(IfcParse::IfcException& e) { - Logger::Error(e.what()); + } catch(ifcopenshell::exception& e) { + logger::error(e.what()); } if (associated_material) { @@ -343,7 +343,7 @@ const express::Base mapping::get_single_material_association(const express::Base IfcSchema::IfcMaterialLayerSet layerset; if (auto m = associated_material.as()) { if (m.get("ForLayerSet").isNull()) { - Logger::Warning("Missing ForLayerSet for:", m); + logger::warning("Missing ForLayerSet for:", m); return express::Base{}; } layerset = m.ForLayerSet(); @@ -363,7 +363,7 @@ const express::Base mapping::get_single_material_association(const express::Base IfcSchema::IfcMaterialProfileSet profileset; if (auto m = associated_material.as()) { if (m.get("ForProfileSet").isNull()) { - Logger::Warning("Missing ForProfileSet for:", m); + logger::warning("Missing ForProfileSet for:", m); return express::Base{}; } profileset = m.ForProfileSet(); @@ -408,7 +408,7 @@ IfcSchema::IfcRepresentation mapping::representation_mapped_to(const IfcSchema:: try { target = taxonomy::cast(map(mapped_item.MappingTarget())); } catch (const std::exception& e) { - Logger::Error(e); + logger::error(e); } if (target && target->is_identity()) { IfcSchema::IfcRepresentationMap rmap = mapped_item.MappingSource(); @@ -575,7 +575,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcMaterial& material) { if (failed_on_purpose_.find(styled_item) == failed_on_purpose_.end()) { return nullptr; } - Logger::Warning("Skipping unsupported material style for material: ", material); + logger::warning("Skipping unsupported material style for material: ", material); } } @@ -607,7 +607,7 @@ taxonomy::ptr mapping::map_impl(const IfcSchema::IfcStyledItem& inst) { if (!style) { // E.g. IfcCurveStyle is skipped as unsupported. - Logger::Warning("Only IfcSurfaceStyle is supported, couldn't find it in IfcStyledItem: ", inst); + logger::warning("Only IfcSurfaceStyle is supported, couldn't find it in IfcStyledItem: ", inst); failed_on_purpose_.insert(inst); return nullptr; } @@ -725,7 +725,7 @@ taxonomy::ptr mapping::map(const express::Base& inst) { cache_.insert({iden, item}); } } else if (!matched) { - Logger::Message(Logger::LOG_ERROR, "No operation defined for:", inst); + logger::message(logger::LOG_ERROR, "No operation defined for:", inst); } return item; } @@ -783,8 +783,8 @@ express::Base mapping::get_decomposing_entity(const express::Base& inst, bool in /* Parent decompositions to the RelatingObject */ if (!parent) { - std::vector parents = product.file()->getInverse(product.id(), (&IfcSchema::IfcRelAggregates::Class()), -1); - auto nests = product.file()->getInverse(product.id(), (&IfcSchema::IfcRelNests::Class()), -1); + std::vector parents = product.file()->get_inverse(product.id(), (&IfcSchema::IfcRelAggregates::Class()), -1); + auto nests = product.file()->get_inverse(product.id(), (&IfcSchema::IfcRelNests::Class()), -1); parents.insert(parents.end(), nests.begin(), nests.end()); for (auto it = parents.begin(); it != parents.end(); ++it) { IfcSchema::IfcRelDecomposes decompose = (*it).as(); @@ -803,7 +803,7 @@ std::map mapping::get_layers(const express::Base& in auto prod = inst.as(); std::map layers; if (prod.Representation()) { - std::vector representations = IfcParse::traverse(prod.Representation()); + std::vector representations = ifcopenshell::traverse(prod.Representation()); for (auto& inst : representations) { if (auto repr = inst.as()) { std::vector a = repr.LayerAssignments(); @@ -833,10 +833,10 @@ void mapping::initialize_units_() { auto& project = projects.front(); unit_assignment = project.UnitsInContext(); } else { - Logger::Warning("Not a single project or context in file"); + logger::warning("Not a single project or context in file"); } if (!unit_assignment) { - Logger::Warning("Unable to detect unit information"); + logger::warning("Unable to detect unit information"); return; } @@ -845,14 +845,14 @@ void mapping::initialize_units_() { try { auto units = unit_assignment.Units(); if (units.empty()) { - Logger::Warning("No unit information found"); + logger::warning("No unit information found"); } else { for (auto& base : units) { if (auto named_unit = base.as()) { if (named_unit.UnitType() == IfcSchema::IfcUnitEnum::IfcUnit_LENGTHUNIT || named_unit.UnitType() == IfcSchema::IfcUnitEnum::IfcUnit_PLANEANGLEUNIT) { std::string current_unit_name; - const double current_unit_magnitude = IfcParse::get_SI_equivalent(named_unit); + const double current_unit_magnitude = ifcopenshell::get_SI_equivalent(named_unit); if (current_unit_magnitude != 0.) { if (auto u = named_unit.as()) { current_unit_name = u.Name(); @@ -875,18 +875,18 @@ void mapping::initialize_units_() { } } } - } catch (const IfcParse::IfcException& ex) { + } catch (const ifcopenshell::exception& ex) { std::stringstream ss; ss << "Failed to determine unit information '" << ex.what() << "'"; - Logger::Message(Logger::LOG_ERROR, ss.str()); + logger::message(logger::LOG_ERROR, ss.str()); } if (!length_unit_encountered) { - Logger::Warning("No length unit encountered"); + logger::warning("No length unit encountered"); } if (!angle_unit_encountered) { - Logger::Warning("No plane angle unit encountered"); + logger::warning("No plane angle unit encountered"); } // @todo move to a more descriptive function @@ -903,7 +903,7 @@ void mapping::initialize_units_() { if (vs.size() == 3) { offset_and_rotation_ *= Eigen::Affine3d(Eigen::Translation3d(vs[0], vs[1], vs[2])).matrix(); } else { - Logger::Error("Expected 3 values for model-offset setting"); + logger::error("Expected 3 values for model-offset setting"); } } @@ -916,7 +916,7 @@ void mapping::initialize_units_() { m4 << m3; offset_and_rotation_ *= m4; } else { - Logger::Error("Expected 4 values for model-rotation setting"); + logger::error("Expected 4 values for model-rotation setting"); } } } @@ -963,7 +963,7 @@ void mapping::initialize_settings() { if (any_precision_encountered) { if (lowest_precision_encountered < 1.e-7) { - Logger::Message(Logger::LOG_WARNING, "Precision lower than 0.0000001 meter not enforced"); + logger::message(logger::LOG_WARNING, "Precision lower than 0.0000001 meter not enforced"); precision_to_set = 1.e-7; } else { precision_to_set = lowest_precision_encountered; @@ -1000,7 +1000,7 @@ bool mapping::get_layerset_information(const express::Base& p, layerset_informat IfcSchema::IfcRepresentation body_representation = find_representation(product, "Body"); if (!body_representation) { - Logger::Warning("No body representation for product", product); + logger::warning("No body representation for product", product); return false; } @@ -1014,7 +1014,7 @@ bool mapping::get_layerset_information(const express::Base& p, layerset_informat IfcSchema::IfcRepresentation axis_representation = find_representation(product, "Axis"); if (!axis_representation) { - Logger::Message(Logger::LOG_WARNING, "No axis representation for:", product); + logger::message(logger::LOG_WARNING, "No axis representation for:", product); return false; } @@ -1080,7 +1080,7 @@ bool mapping::get_layerset_information(const express::Base& p, layerset_informat std::reverse(info.layers.begin(), info.layers.end()); } } else { - auto resources = IfcParse::traverse(body_representation); + auto resources = ifcopenshell::traverse(body_representation); std::vector extrusions; for (auto& r : resources) { if (auto ex = r.as()) { @@ -1089,7 +1089,7 @@ bool mapping::get_layerset_information(const express::Base& p, layerset_informat } if (extrusions.size() != 1) { - Logger::Message(Logger::LOG_WARNING, "No single extrusion found in body representation for:", product); + logger::message(logger::LOG_WARNING, "No single extrusion found in body representation for:", product); return false; } @@ -1104,7 +1104,7 @@ bool mapping::get_layerset_information(const express::Base& p, layerset_informat if (has_position) { auto m4 = taxonomy::cast(map(extrusion.Position())); if (!m4) { - Logger::Message(Logger::LOG_ERROR, "Failed to convert placement for extrusion of:", product); + logger::message(logger::LOG_ERROR, "Failed to convert placement for extrusion of:", product); return false; } else { extrusion_position = m4; @@ -1114,7 +1114,7 @@ bool mapping::get_layerset_information(const express::Base& p, layerset_informat taxonomy::direction3::ptr extrusion_direction = taxonomy::cast(map(extrusion.ExtrudedDirection())); if (!extrusion_direction) { - Logger::Message(Logger::LOG_ERROR, "Failed to convert direction for extrusion of:", product); + logger::message(logger::LOG_ERROR, "Failed to convert direction for extrusion of:", product); return false; } @@ -1186,13 +1186,13 @@ void mapping::addRepresentationsFromContextIds(std::vectorinstance_by_id(context_id).as(); - } catch (IfcParse::IfcException& e) { - Logger::Error(e); + } catch (ifcopenshell::exception& e) { + logger::error(e); continue; } if (!context) { - Logger::Error("Failed to process context ID " + std::to_string(context_id)); + logger::error("Failed to process context ID " + std::to_string(context_id)); continue; } @@ -1241,14 +1241,14 @@ void mapping::addRepresentationsFromDefaultContexts(std::vectorinstances_by_type(); representations = all_reps; } @@ -1318,7 +1318,7 @@ express::Base mapping::representation_of(const express::Base& product) { return express::Base{}; } else { for (auto& r : intersection) { - auto resources = IfcParse::traverse(r); + auto resources = ifcopenshell::traverse(r); auto is_bounding_box = std::any_of(resources.begin(), resources.end(), [](const auto& res) { return res.declaration().is(IfcSchema::IfcBoundingBox::Class()); }); if (is_bounding_box) { continue; @@ -1326,7 +1326,7 @@ express::Base mapping::representation_of(const express::Base& product) { intersection_no_box.push_back(r); } if (intersection_no_box.size() > 1) { - Logger::Warning("Multiple applicable representations found for element, selecting arbitrary"); + logger::warning("Multiple applicable representations found for element, selecting arbitrary"); } if (intersection_no_box.size()) { return intersection_no_box.front(); diff --git a/src/ifcgeom/mapping/mapping.h b/src/ifcgeom/mapping/mapping.h index 6c30debb7a..0638fd6dbc 100644 --- a/src/ifcgeom/mapping/mapping.h +++ b/src/ifcgeom/mapping/mapping.h @@ -3,8 +3,8 @@ #include "../abstract_mapping.h" #include "../../ifcparse/macros.h" -#include "../../ifcparse/IfcFile.h" -#include "../../ifcparse/IfcLogger.h" +#include "../../ifcparse/file.h" +#include "../../ifcparse/logger.h" #include @@ -21,14 +21,14 @@ namespace geometry { class POSTFIX_SCHEMA(mapping) : public abstract_mapping { private: - IfcParse::IfcFile* file_; + ifcopenshell::file* file_; double length_unit_, angle_unit_; std::string length_unit_name_; std::map cache_; std::mutex cache_guard_; // provides mutually exclusive access to cache_ - const IfcParse::declaration* placement_rel_to_type_; + const ifcopenshell::declaration* placement_rel_to_type_; const express::Base placement_rel_to_instance_; Eigen::Matrix4d offset_and_rotation_ = Eigen::Matrix4d::Identity(); @@ -66,19 +66,19 @@ namespace geometry { } } } catch (const std::exception& e) { - Logger::Message(Logger::LOG_ERROR, std::string(e.what()) + "\nFailed to convert:", inst); + logger::message(logger::LOG_ERROR, std::string(e.what()) + "\nFailed to convert:", inst); } } else if (failed_on_purpose_.find(inst) == failed_on_purpose_.end()) { - Logger::Message(Logger::LOG_ERROR, "Failed to convert:", inst); + logger::message(logger::LOG_ERROR, "Failed to convert:", inst); } } catch (const std::exception& e) { - Logger::Message(Logger::LOG_ERROR, std::string(e.what()) + "\nFailed to convert:", inst); + logger::message(logger::LOG_ERROR, std::string(e.what()) + "\nFailed to convert:", inst); } } } IfcSchema::IfcStyledItem find_style(const IfcSchema::IfcRepresentationItem&); public: - POSTFIX_SCHEMA(mapping)(IfcParse::IfcFile* file, Settings& settings) : abstract_mapping(settings), file_(file), placement_rel_to_type_(nullptr) { + POSTFIX_SCHEMA(mapping)(ifcopenshell::file* file, Settings& settings) : abstract_mapping(settings), file_(file), placement_rel_to_type_(nullptr) { initialize_units_(); } virtual ifcopenshell::geometry::taxonomy::ptr map(const express::Base&); diff --git a/src/ifcgeom/profile_helper.cpp b/src/ifcgeom/profile_helper.cpp index 6843caaab5..637f9a0703 100644 --- a/src/ifcgeom/profile_helper.cpp +++ b/src/ifcgeom/profile_helper.cpp @@ -120,7 +120,7 @@ taxonomy::loop::ptr ifcopenshell::geometry::profile_helper(const taxonomy::matri if (fillet.IsDone()) { face = TopoDS::Face(fillet.Shape()); } else { - Logger::Error("Failed to process profile fillets"); + logger::error("Failed to process profile fillets"); } } */ diff --git a/src/ifcgeom/taxonomy.cpp b/src/ifcgeom/taxonomy.cpp index 50e30cc081..5b74ac9dee 100644 --- a/src/ifcgeom/taxonomy.cpp +++ b/src/ifcgeom/taxonomy.cpp @@ -1,4 +1,4 @@ -#include "../ifcparse/IfcLogger.h" +#include "../ifcparse/logger.h" #include "taxonomy.h" #include "profile_helper.h" #include "function_item_evaluator.h" @@ -669,7 +669,7 @@ void ifcopenshell::geometry::taxonomy::trimmed_curve::print(std::ostream& o, int if (instance) { std::ostringstream oss; - instance.toString(oss); + instance.to_string(oss); o << std::string(indent + 4, ' ') << oss.str() << std::endl; } } @@ -861,7 +861,7 @@ std::optional ifcopenshell::geometry::taxonomy::loop_to_func spans.emplace_back(taxonomy::make(l, fn)); } else if (edge_->start.index() == 1 && edge_->end.index() == 1) { if (edge_->basis && edge_->basis->kind() != LINE) { - Logger::Message(Logger::Severity::LOG_WARNING, "Basis curve not supported - edge is treated as a straight line edge"); + logger::message(logger::Severity::LOG_WARNING, "Basis curve not supported - edge is treated as a straight line edge"); } const auto& s = std::get(edge_->start)->ccomponents(); const auto& e = std::get(edge_->end)->ccomponents(); @@ -876,7 +876,7 @@ std::optional ifcopenshell::geometry::taxonomy::loop_to_func }; spans.emplace_back(taxonomy::make(l, fn)); } else { - Logger::Message(Logger::Severity::LOG_ERROR, "Basis curve not supported"); + logger::message(logger::Severity::LOG_ERROR, "Basis curve not supported"); return std::nullopt; } } diff --git a/src/ifcgeom/taxonomy.h b/src/ifcgeom/taxonomy.h index a5c3172ce3..81c48be3f9 100644 --- a/src/ifcgeom/taxonomy.h +++ b/src/ifcgeom/taxonomy.h @@ -2,7 +2,7 @@ #define TAXONOMY_H #include "../ifcparse/express.h" -#include "../ifcparse/IfcLogger.h" +#include "../ifcparse/logger.h" #include "ConversionSettings.h" diff --git a/src/ifcgeomserver/IfcGeomServer.cpp b/src/ifcgeomserver/IfcGeomServer.cpp index b01e4ed992..a888c3ebe1 100644 --- a/src/ifcgeomserver/IfcGeomServer.cpp +++ b/src/ifcgeomserver/IfcGeomServer.cpp @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -43,8 +43,8 @@ #include "../ifcgeom/Iterator.h" #include "../ifcgeom/IfcGeomElement.h" -#include "../ifcparse/IfcFile.h" -#include "../ifcparse/IfcLogger.h" +#include "../ifcparse/file.h" +#include "../ifcparse/logger.h" #include "../ifcgeom/kernels/opencascade/OpenCascadeKernel.h" @@ -231,12 +231,12 @@ public: Get() : Command(GET) {}; }; -class GetLog : public Command { +class get_log : public Command { protected: void read_content(std::istream& /*s*/) {} void write_content(std::ostream& /*s*/) {} public: - GetLog() : Command(GET_LOG) {}; + get_log() : Command(GET_LOG) {}; }; class WriteLog : public Command { @@ -568,7 +568,7 @@ int main () { bool has_more = false; IfcGeom::Iterator* iterator = 0; - IfcParse::IfcFile* file = 0; + ifcopenshell::file* file = 0; std::vector< std::pair > setting_pairs; Hello().write(std::cout); @@ -604,7 +604,7 @@ int main () { settings.get().value = deflection; - file = new IfcParse::IfcFile(data, (int)len); + file = new ifcopenshell::file(data, (int)len); iterator = new IfcGeom::Iterator(std::unique_ptr(new IfcGeom::OpenCascadeKernel(settings)), settings, file); has_more = iterator->initialize(); @@ -640,8 +640,8 @@ int main () { continue; } case GET_LOG: { - GetLog gl; gl.read(std::cin); - WriteLog(Logger::GetLog()).write(std::cout); + get_log gl; gl.read(std::cin); + WriteLog(logger::get_log()).write(std::cout); continue; } case BYE: { diff --git a/src/ifcmax/IfcMax.cpp b/src/ifcmax/IfcMax.cpp index 6252e97353..f5abfe2e45 100644 --- a/src/ifcmax/IfcMax.cpp +++ b/src/ifcmax/IfcMax.cpp @@ -229,7 +229,7 @@ int IFCImp::DoImport(const TCHAR *name, ImpInterface *impitfc, Interface *itfc, const char* fn_mb = name; #endif - IfcParse::IfcFile file(fn_mb); + ifcopenshell::file file(fn_mb); IfcGeom::Iterator iterator(settings, &file); delete fn_mb; if (!iterator.initialize()) return false; diff --git a/src/ifcopenshell-python/ifcopenshell/express/header.py b/src/ifcopenshell-python/ifcopenshell/express/header.py index f0c1b72ccc..f5ed2b29e0 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/header.py +++ b/src/ifcopenshell-python/ifcopenshell/express/header.py @@ -141,7 +141,7 @@ class Header(codegen.Base): ["/// %s" % d for d in documentation.description(".".join((name, attr.name)))] ) type_str = mapping.get_parameter_type(attr) - if mapping.make_argument_type(attr) != "IfcUtil::Argument_UNKNOWN": + if mapping.make_argument_type(attr) != "ifcopenshell::Argument_UNKNOWN": attr_lines.append("%s %s() const;" % (type_str, attr.name)) attr_lines.append("void set%s(const %s& v);" % (attr.name, type_str)) if type_str == 'std::optional< std::string >': @@ -202,7 +202,7 @@ class Header(codegen.Base): argument_name_function_body_tail = ( (" return %s::getArgumentName(i); " % type.supertypes[0]) if len(type.supertypes) == 1 - else ' (void)i; throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); ' + else ' (void)i; throw ifcopenshell::attribute_out_of_range_exception("Argument index out of range"); ' ) argument_name_function_body = ( @@ -214,7 +214,7 @@ class Header(codegen.Base): derived_in_supertype = set(derived) & set(attribute_names) derived_in_supertype_indices = sorted(attribute_names.index(nm) for nm in derived_in_supertype) attribute_type_cases = [ - "case %d: return IfcUtil::Argument_DERIVED; " % idx for idx in derived_in_supertype_indices + "case %d: return ifcopenshell::Argument_DERIVED; " % idx for idx in derived_in_supertype_indices ] attribute_type_cases += [ "case %d: return %s; " % (i + argument_start, mapping.make_argument_type(attr)) @@ -226,7 +226,7 @@ class Header(codegen.Base): argument_type_function_body_tail = ( (" return %s::getArgumentType(i); " % type.supertypes[0]) if len(type.supertypes) == 1 - else ' (void)i; throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); ' + else ' (void)i; throw ifcopenshell::attribute_out_of_range_exception("Argument index out of range"); ' ) argument_type_function_body = ( @@ -249,7 +249,7 @@ class Header(codegen.Base): argument_entity_function_body_tail = ( (" return %s::getArgumentEntity(i); " % type.supertypes[0]) if len(type.supertypes) == 1 - else ' (void)i; throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); ' + else ' (void)i; throw ifcopenshell::attribute_out_of_range_exception("Argument index out of range"); ' ) argument_entity_function_body = ( diff --git a/src/ifcopenshell-python/ifcopenshell/express/implementation.py b/src/ifcopenshell-python/ifcopenshell/express/implementation.py index 37c89dff79..57d04a313b 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/implementation.py +++ b/src/ifcopenshell-python/ifcopenshell/express/implementation.py @@ -107,7 +107,7 @@ class Implementation(codegen.Base): return templates.get_attr_stmt_nested_array elif arg["is_templated_list"] and not (simple or express): return templates.get_attr_stmt_array - elif arg["argument_type_enum"] == 'IfcUtil::Argument_ENTITY_INSTANCE': + elif arg["argument_type_enum"] == 'ifcopenshell::Argument_ENTITY_INSTANCE': return templates.get_attr_stmt_entity else: return templates.get_attr_stmt @@ -154,7 +154,7 @@ class Implementation(codegen.Base): return templates.set_attr_stmt_nested_array elif arg["is_templated_list"] and not (simple or express): return templates.set_attr_stmt_array - elif arg["argument_type_enum"] == 'IfcUtil::Argument_ENTITY_INSTANCE': + elif arg["argument_type_enum"] == 'ifcopenshell::Argument_ENTITY_INSTANCE': return templates.set_attr_instance else: return templates.set_attr_stmt @@ -243,9 +243,9 @@ class Implementation(codegen.Base): ) superclass_num_attrs = ( - "%s(const std::weak_ptr&(in_memory_attribute_storage(%%d)))" % type.supertypes[0] + "%s(const std::weak_ptr&(in_memory_attribute_storage(%%d)))" % type.supertypes[0] if len(type.supertypes) == 1 - else "express::Entity(const std::weak_ptr&(in_memory_attribute_storage(%d)))" + else "express::Entity(const std::weak_ptr&(in_memory_attribute_storage(%d)))" ) % len(constructor_arguments) write( @@ -351,7 +351,7 @@ class Implementation(codegen.Base): "", "Class", templates.function, - "const IfcParse::type_declaration&", + "const ifcopenshell::type_declaration&", (), templates.simpletype_impl_class, ), @@ -359,7 +359,7 @@ class Implementation(codegen.Base): # "", # "declaration", # templates.const_function, - # "const IfcParse::type_declaration&", + # "const ifcopenshell::type_declaration&", # (), # templates.simpletype_impl_declaration, # ), @@ -368,7 +368,7 @@ class Implementation(codegen.Base): # "", # constructor, # "", - # ("const std::weak_ptr& e",), + # ("const std::weak_ptr& e",), # "", # ), ("", "", initializer, "", ("%s v" % type_str,), ("set_attribute_value(0, %s(v));" % ("cast_vector" if mapping.is_templated_list(type) else ""))), diff --git a/src/ifcopenshell-python/ifcopenshell/express/mapping.py b/src/ifcopenshell-python/ifcopenshell/express/mapping.py index 2a103c904e..82a8e7ccbd 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/mapping.py +++ b/src/ifcopenshell-python/ifcopenshell/express/mapping.py @@ -150,7 +150,7 @@ class Mapping: pdb.set_trace() print("Attribute %r mapped as 'unknown'" % (attr), file=sys.stderr) ty = "UNKNOWN" - return "IfcUtil::Argument_%s" % ty + return "ifcopenshell::Argument_%s" % ty def get_type_dep(self, type): if isinstance(type, str): @@ -243,7 +243,7 @@ class Mapping: arr = self.is_array(attr_type) simple = self.schema.is_simpletype(ty) express = self.flatten_type_string(ty) in self.express_to_cpp_typemapping - # select = ty == "IfcUtil::IfcBaseClass" + # select = ty == "ifcopenshell::IfcBaseClass" return arr and not simple and not express def get_assignable_arguments(self, t, include_derived=False): @@ -254,7 +254,7 @@ class Mapping: def include(attr): not_derived = include_derived or (attr.name not in derived) - supported = self.make_argument_type(attr) != "IfcUtil::Argument_UNKNOWN" + supported = self.make_argument_type(attr) != "ifcopenshell::Argument_UNKNOWN" return not_derived and supported return [ diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py index b02aa85a4f..151b121716 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC2X3.py @@ -5940,7 +5940,7 @@ class IfcPropertyEnumeratedValue_WR1: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py index 7145a5064a..7959b9b48d 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4.py @@ -8625,7 +8625,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py index 0f7a92cfeb..0cf84079ec 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X1.py @@ -8716,7 +8716,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py index 04cc8fc65f..7a2f19438b 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X2.py @@ -8937,7 +8937,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py index 50a22a0161..f96440315f 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3.py @@ -10088,7 +10088,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py index 34492afc7a..89ace4b954 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD1.py @@ -10065,7 +10065,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD2.py index c532ca12b2..be32054cb3 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_ADD2.py @@ -10085,7 +10085,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py index 9f1fbe93ed..f6128636cf 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC1.py @@ -9838,7 +9838,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py index c369e9fad6..49a1c82170 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC2.py @@ -9933,7 +9933,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py index e246f44608..1f3969c8b8 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC3.py @@ -10059,7 +10059,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py index e48e90e710..e38617836b 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_RC4.py @@ -10075,7 +10075,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py index 409836bbba..589e2c7e0d 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py +++ b/src/ifcopenshell-python/ifcopenshell/express/rules/IFC4X3_TC1.py @@ -10032,7 +10032,7 @@ class IfcPropertyEnumeratedValue_WR21: @staticmethod def __call__(self): enumerationvalues = express_getattr(self, 'EnumerationValues', INDETERMINATE) - enumerationreference = express_getattr(self, 'EnumerationReference', INDETERMINATE) + enumerationreference = express_getattr(self, 'enumeration_reference', INDETERMINATE) assert (not exists(enumerationreference) or not exists(enumerationvalues) or sizeof([temp for temp in enumerationvalues if temp in express_getattr(enumerationreference, 'EnumerationValues', INDETERMINATE)]) == sizeof(enumerationvalues)) is not False class IfcPropertyEnumeration_WR01: diff --git a/src/ifcopenshell-python/ifcopenshell/express/schema_class.py b/src/ifcopenshell-python/ifcopenshell/express/schema_class.py index a8a5c70ddf..4dd5e9d450 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/schema_class.py +++ b/src/ifcopenshell-python/ifcopenshell/express/schema_class.py @@ -144,12 +144,12 @@ class EarlyBoundCodeWriter: self.statements = [ "", - '#include "../../ifcparse/IfcSchema.h"', + '#include "../../ifcparse/schema.h"', '#include "../../ifcparse/schemas/%(schema_name_title)s.h"' % self.__dict__, '#include ', "", 'using namespace std::string_literals;', - "using namespace IfcParse;", + "using namespace ifcopenshell;", "", ] @@ -192,7 +192,7 @@ class EarlyBoundCodeWriter: # #endif # """ # ) - self.statements.append("IfcParse::schema_definition* %s_populate_schema() {" % self.schema_name.upper()) + self.statements.append("ifcopenshell::schema_definition* %s_populate_schema() {" % self.schema_name.upper()) self.statements.append("{string_pool_placeholder}") def typedef(self, name, declared_type): @@ -331,7 +331,7 @@ class EarlyBoundCodeWriter: instance_mapping = """switch(decl->index_in_schema()) { %s - default: throw IfcParse::IfcException(decl->name() + " cannot be instantiated"); + default: throw ifcopenshell::exception(decl->name() + " cannot be instantiated"); } """ % "\n ".join( map( @@ -343,8 +343,8 @@ class EarlyBoundCodeWriter: # Factor no longer exists because we don't have virtual methods anymore. # self.statements[self.statements.index("{factory_placeholder}")] = ( # """ - # class %(schema_name)s_instance_factory : public IfcParse::instance_factory { - # virtual IfcUtil::IfcBaseClass* operator()(const IfcParse::declaration* decl, const std::weak_ptr& data) const { + # class %(schema_name)s_instance_factory : public ifcopenshell::instance_factory { + # virtual ifcopenshell::IfcBaseClass* operator()(const ifcopenshell::declaration* decl, const std::weak_ptr& data) const { # %(instance_mapping)s # } # }; diff --git a/src/ifcopenshell-python/ifcopenshell/express/templates.py b/src/ifcopenshell-python/ifcopenshell/express/templates.py index e678a92fef..eb330da159 100644 --- a/src/ifcopenshell-python/ifcopenshell/express/templates.py +++ b/src/ifcopenshell-python/ifcopenshell/express/templates.py @@ -28,18 +28,18 @@ header = """ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct %(schema_name)s { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -72,15 +72,15 @@ lb_header = """""" implementation = """ #include "../../ifcparse/schemas/%(schema_name)s.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const %(schema_name)s::Identifier = "%(schema_name_upper)s"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions %(external_definitions)s @@ -114,30 +114,30 @@ simpletype = """%(documentation)s class IFC_PARSE_API %(name)s : public %(superclass)s { public: %(name)s() {} - explicit %(name)s (const std::weak_ptr& data) : %(superclass)s(data) {} + explicit %(name)s (const std::weak_ptr& data) : %(superclass)s(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(%(type)s v); operator %(type)s() const; }; """ simpletype_impl_comment = "// Function implementations for %(name)s" -simpletype_impl_argument_type = 'if (i == 0) { return %(attr_type)s; } else { throw IfcParse::IfcAttributeOutOfRangeException("Argument index out of range"); }' +simpletype_impl_argument_type = 'if (i == 0) { return %(attr_type)s; } else { throw ifcopenshell::attribute_out_of_range_exception("Argument index out of range"); }' simpletype_impl_argument = "return get_attribute_value(i);" simpletype_impl_is_with_supertype = "return v == %(class_name)s_type || %(superclass)s::is(v);" simpletype_impl_is_without_supertype = "return v == %(class_name)s_type;" -simpletype_impl_type = "return *((IfcParse::type_declaration*)%(schema_name_upper)s_types[%(index_in_schema)d]);" -simpletype_impl_class = "return *((IfcParse::type_declaration*)%(schema_name_upper)s_types[%(index_in_schema)d]);" +simpletype_impl_type = "return *((ifcopenshell::type_declaration*)%(schema_name_upper)s_types[%(index_in_schema)d]);" +simpletype_impl_class = "return *((ifcopenshell::type_declaration*)%(schema_name_upper)s_types[%(index_in_schema)d]);" simpletype_impl_explicit_constructor = "data_ = e;" simpletype_impl_constructor = ( - "data_ = new const std::weak_ptr&(%(schema_name_upper)s_types[%(index_in_schema)d]); set_attribute_value(0, v);" + "data_ = new const std::weak_ptr&(%(schema_name_upper)s_types[%(index_in_schema)d]); set_attribute_value(0, v);" ) -simpletype_impl_constructor_templated = "data_ = new const std::weak_ptr&(%(schema_name_upper)s_types[%(index_in_schema)d]); set_attribute_value(0, cast_vector(v));" +simpletype_impl_constructor_templated = "data_ = new const std::weak_ptr&(%(schema_name_upper)s_types[%(index_in_schema)d]); set_attribute_value(0, cast_vector(v));" simpletype_impl_cast = "return get_attribute_value(0);" simpletype_impl_cast_templated = "std::vector es = get_attribute_value(0); return cast_vector<%(underlying_type)s>(es);" -simpletype_impl_declaration = "return *((IfcParse::type_declaration*)%(schema_name_upper)s_types[%(index_in_schema)d]);" +simpletype_impl_declaration = "return *((ifcopenshell::type_declaration*)%(schema_name_upper)s_types[%(index_in_schema)d]);" select = """%(documentation)s class IFC_PARSE_API %(name)s : public express::Select { @@ -145,7 +145,7 @@ public: %(name)s() {} explicit %(name)s(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); %(template_items)s %(cast_functions)s }; @@ -163,13 +163,13 @@ enumeration = """%(documentation)s class IFC_PARSE_API %(name)s : public express::DeclaredType { public: %(name)s() {} - explicit %(name)s (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit %(name)s (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {%(values)s} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -180,33 +180,33 @@ entity = """%(documentation)s class IFC_PARSE_API %(name)s : public %(superclass)s { public: %(name)s() {} - explicit %(name)s (const std::weak_ptr& data) : %(superclass)s(data) {} + explicit %(name)s (const std::weak_ptr& data) : %(superclass)s(data) {} %(attributes)s %(inverse)s - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(%(constructor_arguments)s); }; """ select_function = """ -const IfcParse::select_type& %(schema_name)s::%(name)s::Class() { return *((IfcParse::select_type*)%(schema_name_upper)s_types[%(index_in_schema)d]); } +const ifcopenshell::select_type& %(schema_name)s::%(name)s::Class() { return *((ifcopenshell::select_type*)%(schema_name_upper)s_types[%(index_in_schema)d]); } """ enumeration_function = """ -// const IfcParse::enumeration_type& %(schema_name)s::%(name)s::declaration() const { return *((IfcParse::enumeration_type*)%(schema_name_upper)s_types[%(index_in_schema)d]); } -const IfcParse::enumeration_type& %(schema_name)s::%(name)s::Class() { return *((IfcParse::enumeration_type*)%(schema_name_upper)s_types[%(index_in_schema)d]); } +// const ifcopenshell::enumeration_type& %(schema_name)s::%(name)s::declaration() const { return *((ifcopenshell::enumeration_type*)%(schema_name_upper)s_types[%(index_in_schema)d]); } +const ifcopenshell::enumeration_type& %(schema_name)s::%(name)s::Class() { return *((ifcopenshell::enumeration_type*)%(schema_name_upper)s_types[%(index_in_schema)d]); } /* -%(schema_name)s::%(name)s::%(name)s(const std::weak_ptr& e) +%(schema_name)s::%(name)s::%(name)s(const std::weak_ptr& e) : express::DeclaredType(e) {} %(schema_name)s::%(name)s::%(name)s(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } %(schema_name)s::%(name)s::%(name)s(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -219,19 +219,19 @@ const char* %(schema_name)s::%(name)s::ToString(Value v) { } %(schema_name)s::%(name)s::operator %(schema_name)s::%(name)s::Value() const { - return (%(schema_name)s::%(name)s::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (%(schema_name)s::%(name)s::Value) ((enumeration_reference) get_attribute_value(0)).index(); } """ entity_implementation = """// Function implementations for %(name)s %(attributes)s %(inverse)s -const IfcParse::entity& %(schema_name)s::%(name)s::Class() { return *((IfcParse::entity*)%(schema_name_upper)s_types[%(index_in_schema)d]); } +const ifcopenshell::entity& %(schema_name)s::%(name)s::Class() { return *((ifcopenshell::entity*)%(schema_name_upper)s_types[%(index_in_schema)d]); } void %(schema_name)s::%(name)s::initialize(%(constructor_arguments)s) { %(constructor_implementation)s } """ # data_ = e; -# data_ = new const std::weak_ptr&(%(schema_name_upper)s_types[%(index_in_schema)d]); +# data_ = new const std::weak_ptr&(%(schema_name_upper)s_types[%(index_in_schema)d]); optional_attribute_description = "/// Whether the optional attribute %s is defined for this %s" @@ -266,7 +266,7 @@ get_attr_stmt_entity = "%(null_check)s return ((express::Base)(get_attribute_val get_attr_stmt_array = "%(null_check)s std::vector es = get_attribute_value(%(index)d); return cast_vector<%(list_instance_type)s>(es);" get_attr_stmt_nested_array = "%(null_check)s std::vector> es = get_attribute_value(%(index)d); return cast_vector<%(list_instance_type)s>(es);" -get_inverse = "return cast_vector<%(type)s>(file()->getInverse(data()->id(), %(schema_name_upper)s_types[%(type_index)d], %(index)d));" +get_inverse = "return cast_vector<%(type)s>(file()->get_inverse(data()->id(), %(schema_name_upper)s_types[%(type_index)d], %(index)d));" set_attr_stmt = ( "%(check_optional_set_begin)sset_attribute_value(%(index)d, %(star_if_optional)sv);%(check_optional_set_else)sunset_attribute_value(%(index)d);%(check_optional_set_end)s" @@ -274,7 +274,7 @@ set_attr_stmt = ( set_attr_instance = ( "%(check_optional_set_begin)sset_attribute_value(%(index)d, v);%(check_optional_set_else)sunset_attribute_value(%(index)d);%(check_optional_set_end)s" ) -set_attr_stmt_enum = "%(check_optional_set_begin)sset_attribute_value(%(index)d, EnumerationReference(&%(non_optional_type)s::Class(), (size_t) %(star_if_optional)sv));%(check_optional_set_else)sunset_attribute_value(%(index)d);%(check_optional_set_end)s" +set_attr_stmt_enum = "%(check_optional_set_begin)sset_attribute_value(%(index)d, enumeration_reference(&%(non_optional_type)s::Class(), (size_t) %(star_if_optional)sv));%(check_optional_set_else)sunset_attribute_value(%(index)d);%(check_optional_set_end)s" set_attr_stmt_array = ( "%(check_optional_set_begin)sset_attribute_value(%(index)d, cast_vector(%(star_if_optional)sv));%(check_optional_set_else)sunset_attribute_value(%(index)d);%(check_optional_set_end)s" ) @@ -286,7 +286,7 @@ constructor_stmt = ( "set_attribute_value(%(index)d, (%(name)s));" ) constructor_stmt_enum = ( - "set_attribute_value(%(index)d, (EnumerationReference(&%(type)s::Class(),(size_t)%(name)s)));" + "set_attribute_value(%(index)d, (enumeration_reference(&%(type)s::Class(),(size_t)%(name)s)));" ) constructor_stmt_array = ( "set_attribute_value(%(index)d, cast_vector(%(name)s));" diff --git a/src/ifcparse/CMakeLists.txt b/src/ifcparse/CMakeLists.txt index f9c9e33972..02f1fc979f 100644 --- a/src/ifcparse/CMakeLists.txt +++ b/src/ifcparse/CMakeLists.txt @@ -23,6 +23,14 @@ foreach(schema ${SCHEMA_VERSIONS}) ) endforeach() +list(APPEND IFCPARSE_H_FILES + schemas/Header_section_schema.h +) +list(APPEND IFCPARSE_CPP_FILES + schemas/Header_section_schema.cpp + schemas/Header_section_schema-schema.cpp +) + set(IFCPARSE_FILES ${IFCPARSE_CPP_FILES} ${IFCPARSE_H_FILES}) add_library(IfcParse ${IFCPARSE_FILES}) diff --git a/src/ifcparse/IfcException.cpp b/src/ifcparse/IfcException.cpp deleted file mode 100644 index 447f88402c..0000000000 --- a/src/ifcparse/IfcException.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include "IfcException.h" - -IfcParse::IfcException::~IfcException() = default; - -IfcParse::IfcAttributeOutOfRangeException::~IfcAttributeOutOfRangeException() = default; - -IfcParse::IfcInvalidTokenException::~IfcInvalidTokenException() = default; diff --git a/src/ifcparse/IfcSpfHeader.cpp b/src/ifcparse/IfcSpfHeader.cpp deleted file mode 100644 index 7a2e1360f3..0000000000 --- a/src/ifcparse/IfcSpfHeader.cpp +++ /dev/null @@ -1,97 +0,0 @@ -#include "IfcSpfHeader.h" - -#include "IfcFile.h" - -static const char* const ISO_10303_21 = "ISO-10303-21"; -static const char* const HEADER = "HEADER"; -static const char* const ENDSEC = "ENDSEC"; -static const char* const DATA = "DATA"; - -using namespace IfcParse; - -namespace { - -std::shared_ptr make_header_entity(IfcParse::IfcFile* file, const IfcParse::entity& decl) { - const bool in_memory = file == nullptr || std::visit([](auto& storage) { - return std::is_same_v, IfcParse::impl::in_memory_file_storage>; - }, file->storage_); - - if (in_memory) { - return std::make_shared(file, &decl, 0, in_memory_attribute_storage(decl.attribute_count())); - } - - return std::make_shared(file, &decl, 0, rocks_db_attribute_storage{}); -} - -} // namespace - -IfcParse::IfcSpfHeader::IfcSpfHeader(IfcParse::IfcFile* file) - : file_(file) { - Header_section_schema::get_schema(); - - header_entities_[0] = make_header_entity(file_, Header_section_schema::file_description::Class()); - header_entities_[1] = make_header_entity(file_, Header_section_schema::file_name::Class()); - header_entities_[2] = make_header_entity(file_, Header_section_schema::file_schema::Class()); -} - -IfcParse::IfcSpfHeader::~IfcSpfHeader() = default; - -void IfcSpfHeader::write(std::ostream& out) const { - out << ISO_10303_21 << ";" - << "\n"; - out << HEADER << ";" - << "\n"; - file_description().toString(out, true); - out << ";" - << "\n"; - file_name().toString(out, true); - out << ";" - << "\n"; - file_schema().toString(out, true); - out << ";" - << "\n"; - out << ENDSEC << ";" - << "\n"; - out << DATA << ";" - << "\n"; -} - -void IfcParse::IfcSpfHeader::file(IfcParse::IfcFile* file) { - file_ = file; -} - -void IfcParse::IfcSpfHeader::set_file_description(const std::shared_ptr& data) { - header_entities_[0] = data; -} - -void IfcParse::IfcSpfHeader::set_file_name(const std::shared_ptr& data) { - header_entities_[1] = data; -} - -void IfcParse::IfcSpfHeader::set_file_schema(const std::shared_ptr& data) { - header_entities_[2] = data; -} - -const Header_section_schema::file_description IfcParse::IfcSpfHeader::file_description() const { - return Header_section_schema::file_description(header_entities_[0]); -} - -const Header_section_schema::file_name IfcParse::IfcSpfHeader::file_name() const { - return Header_section_schema::file_name(header_entities_[1]); -} - -const Header_section_schema::file_schema IfcParse::IfcSpfHeader::file_schema() const { - return Header_section_schema::file_schema(header_entities_[2]); -} - -Header_section_schema::file_description IfcParse::IfcSpfHeader::file_description() { - return Header_section_schema::file_description(header_entities_[0]); -} - -Header_section_schema::file_name IfcParse::IfcSpfHeader::file_name() { - return Header_section_schema::file_name(header_entities_[1]); -} - -Header_section_schema::file_schema IfcParse::IfcSpfHeader::file_schema() { - return Header_section_schema::file_schema(header_entities_[2]); -} diff --git a/src/ifcparse/IfcWrite.cpp b/src/ifcparse/IfcWrite.cpp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/ifcparse/IfcWrite.h b/src/ifcparse/IfcWrite.h deleted file mode 100644 index 9176a4bc6a..0000000000 --- a/src/ifcparse/IfcWrite.h +++ /dev/null @@ -1,31 +0,0 @@ -/******************************************************************************** - * * - * This file is part of IfcOpenShell. * - * * - * IfcOpenShell is free software: you can redistribute it and/or modify * - * it under the terms of the Lesser GNU General Public License as published by * - * the Free Software Foundation, either version 3.0 of the License, or * - * (at your option) any later version. * - * * - * IfcOpenShell is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * Lesser GNU General Public License for more details. * - * * - * You should have received a copy of the Lesser GNU General Public License * - * along with this program. If not, see . * - * * - ********************************************************************************/ - -/******************************************************************************** - * * - * This namespace provides implementations of Argument and Entity that use STL * - * containers for their datatypes and are not just lazy references to the * - * IFC-SPF file. Therefore they can be modified by the client application. * - * * - ********************************************************************************/ - -#ifndef IFCWRITE_H -#define IFCWRITE_H - -#endif diff --git a/src/ifcparse/IfcAlignmentHelper.cpp b/src/ifcparse/alignment_helper.cpp similarity index 91% rename from src/ifcparse/IfcAlignmentHelper.cpp rename to src/ifcparse/alignment_helper.cpp index a64dca1f6b..4c3c36fbff 100644 --- a/src/ifcparse/IfcAlignmentHelper.cpp +++ b/src/ifcparse/alignment_helper.cpp @@ -24,7 +24,7 @@ ********************************************************************************/ -#include "IfcAlignmentHelper.h" +#include "alignment_helper.h" #include // @todo use std::numbers::pi when upgrading to C++ 20 @@ -46,7 +46,7 @@ void _name_segments(const char* prefix, std::vector& file, Ifc4x3_add2::IfcLocalPlacement global_placement, Ifc4x3_add2::IfcGeometricRepresentationSubContext segment_axis_subcontext, std::vector& curve_segments, std::vector& segments) { +void _createSegmentRepresentations(hierarchy_helper& file, Ifc4x3_add2::IfcLocalPlacement global_placement, Ifc4x3_add2::IfcGeometricRepresentationSubContext segment_axis_subcontext, std::vector& curve_segments, std::vector& segments) { auto cs_iter = curve_segments.begin(); auto s_iter = segments.begin(); for (; cs_iter != curve_segments.end(); cs_iter++, s_iter++) { @@ -69,7 +69,7 @@ void _createSegmentRepresentations(IfcHierarchyHelper& file, Ifc4x3 // creates a horizontal alignment using a vector of PI points and curve radii // returns a list of object definitions, curve segments, and a composite curve -std::tuple, std::vector, Ifc4x3_add2::IfcCompositeCurve> _createHorizontalAlignment(IfcHierarchyHelper& file, const std::vector>& points, const std::vector& radii,bool include_geometry) { +std::tuple, std::vector, Ifc4x3_add2::IfcCompositeCurve> _createHorizontalAlignment(hierarchy_helper& file, const std::vector>& points, const std::vector& radii,bool include_geometry) { std::vector horizontal_segments; // business logic std::vector horizontal_curve_segments; // geometry @@ -124,7 +124,7 @@ std::tuple, std::vector(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); horizontal_segments.push_back(alignment_segment); @@ -146,7 +146,7 @@ std::tuple, std::vector(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); horizontal_segments.push_back(alignment_segment); @@ -177,7 +177,7 @@ std::tuple, std::vector(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); horizontal_segments.push_back(alignment_segment); @@ -197,7 +197,7 @@ std::tuple, std::vector(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); horizontal_segments.push_back(alignment_segment); @@ -217,7 +217,7 @@ std::tuple, std::vector& file, const std::string& alignment_name, const std::vector>& points, const std::vector& radii,bool include_geometry) { +Ifc4x3_add2::IfcAlignment addHorizontalAlignment(hierarchy_helper& file, const std::string& alignment_name, const std::vector>& points, const std::vector& radii,bool include_geometry) { auto [horizontal_segments, horizontal_curve_segments, composite_curve] = _createHorizontalAlignment(file, points, radii, include_geometry); _name_segments("H", horizontal_segments); @@ -226,11 +226,11 @@ Ifc4x3_add2::IfcAlignment addHorizontalAlignment(IfcHierarchyHelper // Create the horizontal alignment (IfcAlignmentHorizontal) and nest alignment segments // auto horizontal_alignment = file.create(); - horizontal_alignment.setGlobalId(IfcParse::IfcGlobalId()); + horizontal_alignment.setGlobalId(ifcopenshell::global_id()); horizontal_alignment.setName(alignment_name + " - Horizontal"); auto nests_horizontal_segments = file.create(); - nests_horizontal_segments.setGlobalId(IfcParse::IfcGlobalId()); + nests_horizontal_segments.setGlobalId(ifcopenshell::global_id()); nests_horizontal_segments.setName("Nests horizontal alignment segments with horizontal alignment"); nests_horizontal_segments.setRelatingObject(horizontal_alignment); nests_horizontal_segments.setRelatedObjects(horizontal_segments); @@ -262,7 +262,7 @@ Ifc4x3_add2::IfcAlignment addHorizontalAlignment(IfcHierarchyHelper // create the alignment auto alignment = file.create(); - alignment.setGlobalId(IfcParse::IfcGlobalId()); + alignment.setGlobalId(ifcopenshell::global_id()); alignment.setName(alignment_name); alignment.setObjectPlacement(placement); alignment.setRepresentation(product_definition_shape); @@ -270,7 +270,7 @@ Ifc4x3_add2::IfcAlignment addHorizontalAlignment(IfcHierarchyHelper return alignment; } -std::tuple&, typename std::vector&, Ifc4x3_add2::IfcGradientCurve> _createVerticalAlignment(IfcHierarchyHelper& file, Ifc4x3_add2::IfcCompositeCurve composite_curve,const std::vector>& vpoints, const std::vector& vclengths, bool include_geometry) { +std::tuple&, typename std::vector&, Ifc4x3_add2::IfcGradientCurve> _createVerticalAlignment(hierarchy_helper& file, Ifc4x3_add2::IfcCompositeCurve composite_curve,const std::vector>& vpoints, const std::vector& vclengths, bool include_geometry) { std::vector vertical_segments; // business logic std::vector vertical_curve_segments; // geometry @@ -311,7 +311,7 @@ std::tuple&, typename std design_parameters.setPredefinedType(Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT); auto alignment_segment = file.create(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); vertical_segments.push_back(alignment_segment); @@ -336,7 +336,7 @@ std::tuple&, typename std design_parameters.setPredefinedType(Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentType_PARABOLICARC); auto alignment_segment = file.create(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); vertical_segments.push_back(alignment_segment); @@ -366,7 +366,7 @@ std::tuple&, typename std design_parameters.setPredefinedType(Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT); auto alignment_segment = file.create(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); vertical_segments.push_back(alignment_segment); @@ -384,7 +384,7 @@ std::tuple&, typename std design_parameters.setPredefinedType(Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT); alignment_segment = file.create(); - alignment_segment.setGlobalId(IfcParse::IfcGlobalId()); + alignment_segment.setGlobalId(ifcopenshell::global_id()); alignment_segment.setDesignParameters(design_parameters); vertical_segments.push_back(alignment_segment); @@ -405,7 +405,7 @@ std::tuple&, typename std return {vertical_segments, vertical_curve_segments, gradient_curve}; } -Ifc4x3_add2::IfcAlignment addAlignment(IfcHierarchyHelper& file, const std::string& alignment_name, const std::vector>& points, const std::vector& radii, const std::vector>& vpoints, const std::vector& vclengths,bool include_geometry) { +Ifc4x3_add2::IfcAlignment addAlignment(hierarchy_helper& file, const std::string& alignment_name, const std::vector>& points, const std::vector& radii, const std::vector>& vpoints, const std::vector& vclengths,bool include_geometry) { auto [horizontal_segments, horizontal_curve_segments, composite_curve] = _createHorizontalAlignment(file, points, radii, include_geometry); auto [vertical_segments, vertical_curve_segments, gradient_curve] = _createVerticalAlignment(file, composite_curve, vpoints, vclengths, include_geometry); @@ -416,11 +416,11 @@ Ifc4x3_add2::IfcAlignment addAlignment(IfcHierarchyHelper& file, co // Create the horizontal alignment (IfcAlignmentHorizontal) and nest the segments // auto horizontal_alignment = file.create(); - horizontal_alignment.setGlobalId(IfcParse::IfcGlobalId()); + horizontal_alignment.setGlobalId(ifcopenshell::global_id()); horizontal_alignment.setName(alignment_name + " - Horizontal"); auto nests_horizontal_segments = file.create(); - nests_horizontal_segments.setGlobalId(IfcParse::IfcGlobalId()); + nests_horizontal_segments.setGlobalId(ifcopenshell::global_id()); nests_horizontal_segments.setName("Nests horizontal alignment segments with horizontal alignment"); nests_horizontal_segments.setRelatingObject(horizontal_alignment); nests_horizontal_segments.setRelatedObjects(horizontal_segments); @@ -429,11 +429,11 @@ Ifc4x3_add2::IfcAlignment addAlignment(IfcHierarchyHelper& file, co // Create the vertical alignment (IfcAlignmentVertical) and nest the segments // auto vertical_profile = file.create(); - vertical_profile.setGlobalId(IfcParse::IfcGlobalId()); + vertical_profile.setGlobalId(ifcopenshell::global_id()); vertical_profile.setName(alignment_name + "- Vertical"); auto nests_vertical_segments = file.create(); - nests_vertical_segments.setGlobalId(IfcParse::IfcGlobalId()); + nests_vertical_segments.setGlobalId(ifcopenshell::global_id()); nests_vertical_segments.setName("Nests vertical alignment segments with vertical alignment"); nests_vertical_segments.setRelatingObject(vertical_profile); nests_vertical_segments.setRelatedObjects(vertical_segments); @@ -473,7 +473,7 @@ Ifc4x3_add2::IfcAlignment addAlignment(IfcHierarchyHelper& file, co // Create the IfcAlignment // auto alignment = file.create(); - alignment.setGlobalId(IfcParse::IfcGlobalId()); + alignment.setGlobalId(ifcopenshell::global_id()); alignment.setName(alignment_name); alignment.setObjectPlacement(placement); alignment.setRepresentation(product_definition_shape); @@ -482,7 +482,7 @@ Ifc4x3_add2::IfcAlignment addAlignment(IfcHierarchyHelper& file, co // 4.1.4.4.1 Alignments nest horizontal and vertical layouts // https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/HTML/concepts/Object_Composition/Nesting/Alignment_Layouts/content.html auto nests_alignment_layouts = file.create(); - nests_alignment_layouts.setGlobalId(IfcParse::IfcGlobalId()); + nests_alignment_layouts.setGlobalId(ifcopenshell::global_id()); nests_alignment_layouts.setName("Nest horizontal and vertical alignment layouts with the alignment"); nests_alignment_layouts.setRelatingObject(alignment); nests_alignment_layouts.setRelatedObjects(std::vector{horizontal_alignment, vertical_profile}); @@ -490,7 +490,7 @@ Ifc4x3_add2::IfcAlignment addAlignment(IfcHierarchyHelper& file, co return alignment; } -std::pair mapAlignmentSegment(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcAlignmentSegment& segment) { +std::pair mapAlignmentSegment(hierarchy_helper& file, const Ifc4x3_add2::IfcAlignmentSegment& segment) { std::pair result; auto design_parameters = segment.DesignParameters(); auto horizontal = design_parameters.as(); @@ -503,20 +503,20 @@ std::pair mapAlignme } else if (cant) { result = mapAlignmentCantSegment(file, cant); } else { - Logger::Error(std::string("Unexpected IfcAlignmentSegment subtype encountered")); + logger::error(std::string("Unexpected IfcAlignmentSegment subtype encountered")); } return result; } namespace { -Ifc4x3_add2::IfcLengthMeasure create_length(IfcHierarchyHelper& file, double d) { +Ifc4x3_add2::IfcLengthMeasure create_length(hierarchy_helper& file, double d) { auto inst = file.create(); inst.set_attribute_value(0, d); return inst; } } -std::pair mapAlignmentHorizontalSegment(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcAlignmentHorizontalSegment& segment) { +std::pair mapAlignmentHorizontalSegment(hierarchy_helper& file, const Ifc4x3_add2::IfcAlignmentHorizontalSegment& segment) { std::pair result; auto start_point = segment.StartPoint(); auto start_direction = segment.StartDirection(); @@ -764,15 +764,15 @@ std::pair mapAlignme result.first = curve_segment; } else if (type == Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentType_VIENNESEBEND) { - Logger::Warning(std::string("mapping of AlignmentHorizontalSegmentType VIENNESEBEND not supported")); + logger::warning(std::string("mapping of AlignmentHorizontalSegmentType VIENNESEBEND not supported")); } else { - Logger::Error(std::string("unexpected AlignmentHorizontalSegmentType encountered")); + logger::error(std::string("unexpected AlignmentHorizontalSegmentType encountered")); } return result; } -std::pair mapAlignmentVerticalSegment(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcAlignmentVerticalSegment& segment) { +std::pair mapAlignmentVerticalSegment(hierarchy_helper& file, const Ifc4x3_add2::IfcAlignmentVerticalSegment& segment) { std::pair result; auto start_distance_along = segment.StartDistAlong(); auto horizontal_length = segment.HorizontalLength(); @@ -832,7 +832,7 @@ std::pair mapAlignme result.first = curve_segment; } else if (type == Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentType_CLOTHOID) { - Logger::Warning(std::string("mapping of AlignmentVerticalSegmentType CLOTHOID not supported")); + logger::warning(std::string("mapping of AlignmentVerticalSegmentType CLOTHOID not supported")); } else if (type == Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentType_CIRCULARARC) { auto start_angle = atan(start_gradient); auto end_angle = atan(end_gradient); @@ -858,31 +858,31 @@ std::pair mapAlignme result.first = curve_segment; } else { - Logger::Error(std::string("unexpected AlignmentVerticalSegmentType encountered")); + logger::error(std::string("unexpected AlignmentVerticalSegmentType encountered")); } return result; } -std::pair mapAlignmentCantSegment(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcAlignmentCantSegment& segment) { +std::pair mapAlignmentCantSegment(hierarchy_helper& file, const Ifc4x3_add2::IfcAlignmentCantSegment& segment) { std::pair result; auto type = segment.PredefinedType(); if (type == Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentType_BLOSSCURVE) { - Logger::Warning(std::string("mapping of AlignmentCantSegmentType BLOSSCURVE not supported")); + logger::warning(std::string("mapping of AlignmentCantSegmentType BLOSSCURVE not supported")); } else if (type == Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentType_CONSTANTCANT) { - Logger::Warning(std::string("mapping of AlignmentCantSegmentType CONSTANTCANT not supported")); + logger::warning(std::string("mapping of AlignmentCantSegmentType CONSTANTCANT not supported")); } else if (type == Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentType_COSINECURVE) { - Logger::Warning(std::string("mapping of AlignmentCantSegmentType COSINECURVE not supported")); + logger::warning(std::string("mapping of AlignmentCantSegmentType COSINECURVE not supported")); } else if (type == Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentType_HELMERTCURVE) { - Logger::Warning(std::string("mapping of AlignmentCantSegmentType HELMERTCURVE not supported")); + logger::warning(std::string("mapping of AlignmentCantSegmentType HELMERTCURVE not supported")); } else if (type == Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentType_LINEARTRANSITION) { - Logger::Warning(std::string("mapping of AlignmentCantSegmentType LINEARTRANSTION not supported")); + logger::warning(std::string("mapping of AlignmentCantSegmentType LINEARTRANSTION not supported")); } else if (type == Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentType_SINECURVE) { - Logger::Warning(std::string("mapping of AlignmentCantSegmentType SINECURVE not supported")); + logger::warning(std::string("mapping of AlignmentCantSegmentType SINECURVE not supported")); } else if (type == Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentType_VIENNESEBEND) { - Logger::Warning(std::string("mapping of AlignmentCantSegmentType VIENNESEBEND not supported")); + logger::warning(std::string("mapping of AlignmentCantSegmentType VIENNESEBEND not supported")); } else { - Logger::Error(std::string("unexpected AlignmentCantSegmentType encountered")); + logger::error(std::string("unexpected AlignmentCantSegmentType encountered")); } return result; } diff --git a/src/ifcparse/IfcAlignmentHelper.h b/src/ifcparse/alignment_helper.h similarity index 71% rename from src/ifcparse/IfcAlignmentHelper.h rename to src/ifcparse/alignment_helper.h index f993fd9500..2fd1fc8d8f 100644 --- a/src/ifcparse/IfcAlignmentHelper.h +++ b/src/ifcparse/alignment_helper.h @@ -27,13 +27,13 @@ #define IFCALIGNMENTHELPER_H #include "ifc_parse_api.h" -#include "IfcLogger.h" +#include "logger.h" #ifdef HAS_SCHEMA_4x3_add2 #include "schemas/Ifc4x3_add2.h" #endif -#include "IfcHierarchyHelper.h" +#include "hierarchy_helper.h" #ifdef HAS_SCHEMA_4x3_add2 // @@ -41,18 +41,18 @@ // // creates a horizontal alignment from a list of PI points and curve radii. if include_geometry is true, the geometric representations are created, otherwise only business logic is created -IFC_PARSE_API Ifc4x3_add2::IfcAlignment addHorizontalAlignment(IfcHierarchyHelper& file, const std::string& alignment_name, const std::vector>& points, const std::vector& radii,bool include_geometry = true); +IFC_PARSE_API Ifc4x3_add2::IfcAlignment addHorizontalAlignment(hierarchy_helper& file, const std::string& alignment_name, const std::vector>& points, const std::vector& radii,bool include_geometry = true); // creates a horizontal and vertical alignment from a list of PI points, curve radii, and VPI points and vertical curve lengths. if include_geometry is true, the geometric representations are created, otherwise only business logic is created -IFC_PARSE_API Ifc4x3_add2::IfcAlignment addAlignment(IfcHierarchyHelper& file, const std::string& alignment_name, const std::vector>& points, const std::vector& radii, const std::vector>& vpoints, const std::vector& vclength, bool include_geometry = true); +IFC_PARSE_API Ifc4x3_add2::IfcAlignment addAlignment(hierarchy_helper& file, const std::string& alignment_name, const std::vector>& points, const std::vector& radii, const std::vector>& vpoints, const std::vector& vclength, bool include_geometry = true); // Maps horizontal alignment business logic to geometry. // Bloss curves have two geometry elements for one horizontal alignment segment. That is the reason for returning a pair. // Typically the first element of the pair will have the geometry and the second element will be nullptr -IFC_PARSE_API std::pair mapAlignmentSegment(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcAlignmentSegment& segment); -IFC_PARSE_API std::pair mapAlignmentHorizontalSegment(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcAlignmentHorizontalSegment& segment); -IFC_PARSE_API std::pair mapAlignmentVerticalSegment(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcAlignmentVerticalSegment& segment); -IFC_PARSE_API std::pair mapAlignmentCantSegment(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcAlignmentCantSegment& segment); +IFC_PARSE_API std::pair mapAlignmentSegment(hierarchy_helper& file, const Ifc4x3_add2::IfcAlignmentSegment& segment); +IFC_PARSE_API std::pair mapAlignmentHorizontalSegment(hierarchy_helper& file, const Ifc4x3_add2::IfcAlignmentHorizontalSegment& segment); +IFC_PARSE_API std::pair mapAlignmentVerticalSegment(hierarchy_helper& file, const Ifc4x3_add2::IfcAlignmentVerticalSegment& segment); +IFC_PARSE_API std::pair mapAlignmentCantSegment(hierarchy_helper& file, const Ifc4x3_add2::IfcAlignmentCantSegment& segment); #endif diff --git a/src/ifcparse/Argument.h b/src/ifcparse/argument.h similarity index 87% rename from src/ifcparse/Argument.h rename to src/ifcparse/argument.h index df85807b6a..b919436403 100644 --- a/src/ifcparse/Argument.h +++ b/src/ifcparse/argument.h @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -20,7 +20,7 @@ #ifndef ARGUMENT_H #define ARGUMENT_H -#include "ArgumentType.h" +#include "argument_type.h" #include "ifc_parse_api.h" #include @@ -29,13 +29,13 @@ #include #include -namespace IfcUtil { +namespace ifcopenshell { -IFC_PARSE_API const char* ArgumentTypeToString(ArgumentType argument_type); +IFC_PARSE_API const char* argument_type_to_string(argument_type argument_type); /// Returns false when the string `s` contains character outside of {'0', '1'} IFC_PARSE_API bool valid_binary_string(const std::string& string); -} // namespace IfcUtil +} // namespace ifcopenshell #endif diff --git a/src/ifcparse/ArgumentType.h b/src/ifcparse/argument_type.h similarity index 89% rename from src/ifcparse/ArgumentType.h rename to src/ifcparse/argument_type.h index 10a606c7f3..1db6993585 100644 --- a/src/ifcparse/ArgumentType.h +++ b/src/ifcparse/argument_type.h @@ -21,11 +21,11 @@ #define ARGUMENTTYPE_H #include "ifc_parse_api.h" -#include "IfcSchema.h" +#include "schema.h" -namespace IfcUtil { +namespace ifcopenshell { -enum ArgumentType { +enum argument_type { Argument_NULL, Argument_DERIVED, Argument_INT, @@ -52,8 +52,8 @@ enum ArgumentType { Argument_UNKNOWN }; -IFC_PARSE_API ArgumentType from_parameter_type(const IfcParse::parameter_type*); -IFC_PARSE_API ArgumentType make_aggregate(ArgumentType elem_type); -} // namespace IfcUtil +IFC_PARSE_API argument_type from_parameter_type(const ifcopenshell::parameter_type*); +IFC_PARSE_API argument_type make_aggregate(argument_type elem_type); +} // namespace ifcopenshell #endif diff --git a/src/ifcparse/IfcCharacterDecoder.cpp b/src/ifcparse/character_decoder.cpp similarity index 94% rename from src/ifcparse/IfcCharacterDecoder.cpp rename to src/ifcparse/character_decoder.cpp index 7a5168eef2..f05d492b06 100644 --- a/src/ifcparse/IfcCharacterDecoder.cpp +++ b/src/ifcparse/character_decoder.cpp @@ -26,11 +26,11 @@ #define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING -#include "IfcCharacterDecoder.h" +#include "character_decoder.h" -#include "IfcException.h" -#include "FileReader.h" -#include "IfcLogger.h" +#include "exception.h" +#include "file_reader.h" +#include "logger.h" #include #include @@ -75,7 +75,7 @@ : ((C)-0x61 + 10)) #define CLEAR_HEX(C) ((C) &= ~(HEX(1) | HEX(2) | HEX(3) | HEX(4) | HEX(5) | HEX(6) | HEX(7) | HEX(8))) -using namespace IfcParse; +using namespace ifcopenshell; namespace SWAR { @@ -139,19 +139,19 @@ inline void append_ascii(std::u32string& builder, const char* bytes, size_t coun } // namespace SWAR template -IfcCharacterDecoder::IfcCharacterDecoder(Reader* stream) { +character_decoder::character_decoder(Reader* stream) { stream_ = stream; codepage_ = 0; builder_.reserve(1024); } template -IfcCharacterDecoder::~IfcCharacterDecoder() { +character_decoder::~character_decoder() { } namespace { template - std::string read_string(std::u32string& builder_, Reader& stream_, typename IfcParse::IfcCharacterDecoder::ConversionMode mode, char substitution_character) { + std::string read_string(std::u32string& builder_, Reader& stream_, typename ifcopenshell::character_decoder::ConversionMode mode, char substitution_character) { unsigned int parse_state = 0; builder_.clear(); // builder_.push_back('\''); @@ -186,7 +186,7 @@ namespace { } if (EXPECTS_CHARACTER(parse_state)) { - builder_.push_back(IfcUtil::convert_codepage(codepage, current_char + 0x80)); + builder_.push_back(ifcopenshell::convert_codepage(codepage, current_char + 0x80)); parse_state = 0; } else if (current_char == '\'' && (parse_state == 0U)) { parse_state = APOSTROPHE; @@ -224,7 +224,7 @@ namespace { parse_state += PAGE; } else if (IS_HEXADECIMAL(current_char) && EXPECTS_HEX(parse_state)) { if (IS_LOWERCASE_HEX(current_char)) { - Logger::Warning("Lowercase hexadecimal character '" + std::string(1, current_char) + + logger::warning("Lowercase hexadecimal character '" + std::string(1, current_char) + "' found at offset " + std::to_string(stream_.tell()) + ". It is recommended to use uppercase for hexadecimal."); } @@ -249,7 +249,7 @@ namespace { if (parse_state == APOSTROPHE && current_char != '\'') { break; } - throw IfcInvalidTokenException(stream_.tell(), current_char); + throw invalid_token_exception(stream_.tell(), current_char); } else { parse_state = hex = hex_count = 0; builder_.push_back(current_char); @@ -258,7 +258,7 @@ namespace { } // builder_.push_back('\''); - if (mode == IfcParse::IfcCharacterDecoder::UTF8) { + if (mode == ifcopenshell::character_decoder::UTF8) { if (builder_.empty()) { static std::string empty; return empty; @@ -268,9 +268,9 @@ namespace { std::string result(builder_.begin(), builder_.end()); return result; } - return IfcUtil::convert_utf8(builder_); + return ifcopenshell::convert_utf8(builder_); } - if (mode == IfcParse::IfcCharacterDecoder::SUBSTITUTE) { + if (mode == ifcopenshell::character_decoder::SUBSTITUTE) { std::string result; result.reserve(builder_.size()); std::transform(builder_.begin(), builder_.end(), std::back_inserter(result), [&substitution_character](std::u32string::value_type character) { @@ -281,7 +281,7 @@ namespace { }); return result; } - if (mode == IfcParse::IfcCharacterDecoder::ESCAPE) { + if (mode == ifcopenshell::character_decoder::ESCAPE) { std::stringstream stream; stream << std::hex << std::setw(4) << std::setfill('0'); std::for_each(builder_.begin(), builder_.end(), [&stream](std::u32string::value_type character) { @@ -293,17 +293,17 @@ namespace { }); return stream.str(); } - throw IfcParse::IfcException("Invalid conversion mode"); + throw ifcopenshell::exception("Invalid conversion mode"); } } // namespace template -IfcCharacterDecoder::operator std::string() { +character_decoder::operator std::string() { return read_string(builder_, *stream_, mode, substitution_character); } template -std::string IfcCharacterDecoder::get(size_t& ptr) { +std::string character_decoder::get(size_t& ptr) { auto local_stream = *stream_; local_stream.seek(ptr); auto s = read_string(builder_, local_stream, mode, substitution_character); @@ -311,17 +311,17 @@ std::string IfcCharacterDecoder::get(size_t& ptr) { return s; } -template class IfcCharacterDecoder>; -template class IfcCharacterDecoder>; -template class IfcCharacterDecoder>; +template class character_decoder>; +template class character_decoder>; +template class character_decoder>; #ifdef USE_MMAP -template class IfcCharacterDecoder; +template class character_decoder>; #endif -IfcCharacterEncoder::IfcCharacterEncoder(const std::string& input) - : str_(IfcUtil::convert_utf8(input)) {} +character_encoder::character_encoder(const std::string& input) + : str_(ifcopenshell::convert_utf8(input)) {} -IfcCharacterEncoder::operator std::string() { +character_encoder::operator std::string() { std::ostringstream oss; oss.put('\''); @@ -374,12 +374,12 @@ def _(): "{%s}" % ",".join(_()) */ -std::u32string::value_type IfcUtil::convert_codepage(int codepage, int character) { +std::u32string::value_type ifcopenshell::convert_codepage(int codepage, int character) { if (codepage < 1 || codepage > 16 || codepage == 12) { - throw IfcParse::IfcException("Invalid codepage"); + throw ifcopenshell::exception("Invalid codepage"); } if (character < 0 || character > 255) { - throw IfcParse::IfcException("Invalid character ordinal"); + throw ifcopenshell::exception("Invalid character ordinal"); } // NOLINTBEGIN(readability-magic-numbers) static std::array, 16> codepage_data = {{{{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255}}, @@ -401,16 +401,16 @@ std::u32string::value_type IfcUtil::convert_codepage(int codepage, int character // NOLINTEND(readability-magic-numbers) auto result = codepage_data[codepage - 1][character]; if (result == 0) { - throw IfcParse::IfcException("Character not defined"); + throw ifcopenshell::exception("Character not defined"); } return result; } -std::string IfcUtil::convert_utf8(const std::u32string& string) { +std::string ifcopenshell::convert_utf8(const std::u32string& string) { return boost::locale::conv::utf_to_utf(string); } -std::u32string IfcUtil::convert_utf8(const std::string& s) { +std::u32string ifcopenshell::convert_utf8(const std::string& s) { bool is_ascii = true; for (char c : s) { if (static_cast(c) >= 128) { diff --git a/src/ifcparse/IfcCharacterDecoder.h b/src/ifcparse/character_decoder.h similarity index 87% rename from src/ifcparse/IfcCharacterDecoder.h rename to src/ifcparse/character_decoder.h index 7cfe6d4b2c..2a24fd8b13 100644 --- a/src/ifcparse/IfcCharacterDecoder.h +++ b/src/ifcparse/character_decoder.h @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -27,20 +27,20 @@ #ifndef IFCCHARACTERDECODER_H #define IFCCHARACTERDECODER_H -#include "FileReader.h" +#include "file_reader.h" #include -namespace IfcUtil { +namespace ifcopenshell { IFC_PARSE_API std::u32string::value_type convert_codepage(int codepage, int index); IFC_PARSE_API std::string convert_utf8(const std::u32string& string); IFC_PARSE_API std::u32string convert_utf8(const std::string& string); -} // namespace IfcUtil +} // namespace ifcopenshell -namespace IfcParse { +namespace ifcopenshell { template -class IFC_PARSE_API IfcCharacterDecoder { +class IFC_PARSE_API character_decoder { private: Reader* stream_; int codepage_; @@ -55,8 +55,8 @@ class IFC_PARSE_API IfcCharacterDecoder { inline static ConversionMode mode = UTF8; inline static char substitution_character = '_'; - IfcCharacterDecoder(Reader* stream); - ~IfcCharacterDecoder(); + character_decoder(Reader* stream); + ~character_decoder(); // Gets a decoded string representation at the token stream // read pointer and advances the underlying token stream. operator std::string(); @@ -65,16 +65,16 @@ class IFC_PARSE_API IfcCharacterDecoder { std::string get(size_t&); }; -} // namespace IfcParse +} // namespace ifcopenshell -namespace IfcParse { +namespace ifcopenshell { -class IFC_PARSE_API IfcCharacterEncoder { +class IFC_PARSE_API character_encoder { private: std::u32string str_; public: - IfcCharacterEncoder(const std::string& input); + character_encoder(const std::string& input); operator std::string(); }; diff --git a/src/ifcparse/IfcEntityInstanceData.cpp b/src/ifcparse/entity_instance_data.cpp similarity index 63% rename from src/ifcparse/IfcEntityInstanceData.cpp rename to src/ifcparse/entity_instance_data.cpp index 50fdc253cf..98d0d59a1c 100644 --- a/src/ifcparse/IfcEntityInstanceData.cpp +++ b/src/ifcparse/entity_instance_data.cpp @@ -1,14 +1,14 @@ -#include "InstanceData.h" +#include "instance_data.h" #include "express.h" -#include "IfcFile.h" +#include "file.h" // @todo is size() still needed? class SizeVisitor { public: typedef int result_type; - int operator()(const Blank& /*i*/) const { return -1; } - int operator()(const Derived& /*i*/) const { return -1; } + int operator()(const blank& /*i*/) const { return -1; } + int operator()(const derived& /*i*/) const { return -1; } int operator()(const int& /*i*/) const { return -1; } int operator()(const bool& /*i*/) const { return -1; } int operator()(const boost::logic::tribool& /*i*/) const { return -1; } @@ -23,7 +23,7 @@ public: int operator()(const std::vector>& i) const { return (int)i.size(); } int operator()(const std::vector& i) const { return (int)i.size(); } int operator()(const std::vector>& i) const { return (int)i.size(); } - int operator()(const EnumerationReference& /*i*/) const { return -1; } + int operator()(const enumeration_reference& /*i*/) const { return -1; } int operator()(const express::Base& /*i*/) const { return -1; } int operator()(const std::vector& i) const { return (int)i.size(); } int operator()(const std::vector>& i) const { return (int)i.size(); } @@ -31,7 +31,7 @@ public: namespace { template - inline T dispatch_get_(AttributeValue::pointer_type array_, uint8_t storage_model_, size_t instance_name_, const IfcParse::declaration* entity_or_type, uint8_t index_) + inline T dispatch_get_(attribute_value::pointer_type array_, uint8_t storage_model_, size_t instance_name_, const ifcopenshell::declaration* entity_or_type, uint8_t index_) { if (storage_model_ == 0) { return array_.storage_ptr->get(index_); @@ -42,7 +42,7 @@ namespace { const bool is_header = entity_or_type->schema() == &Header_section_schema::get_schema(); if constexpr ( // the following types cannot be directly deserialized from rocksdb, but need to be constructed - !std::is_same_v && + !std::is_same_v && !std::is_same_v, express::Base>) { std::string str; @@ -53,9 +53,9 @@ namespace { impl::deserialize(array_.db_ptr, str, val); } else { static_assert( - std::is_same_v || + std::is_same_v || std::is_same_v, express::Base>, - "RocksDB deserialization must be specialized for this EnumerationReference and IfcBaseClass*" + "RocksDB deserialization must be specialized for this enumeration_reference and IfcBaseClass*" ); } return val; @@ -64,7 +64,7 @@ namespace { } template - inline bool dispatch_has_(AttributeValue::pointer_type array_, uint8_t storage_model_, size_t instance_name_, const IfcParse::declaration* entity_or_type, uint8_t index_) + inline bool dispatch_has_(attribute_value::pointer_type array_, uint8_t storage_model_, size_t instance_name_, const ifcopenshell::declaration* entity_or_type, uint8_t index_) { if (storage_model_ == 0) { return array_.storage_ptr->has(index_); @@ -77,7 +77,7 @@ namespace { (is_header ? "h|" : (entity_or_type->as_entity() ? "i|" : "t|")) + (is_header ? entity_or_type->name() : std::to_string(instance_name_)) + "|" + std::to_string(index_), &str); - if constexpr (std::is_same_v) { + if constexpr (std::is_same_v) { if (str.size() == 0) { return true; } @@ -87,7 +87,7 @@ namespace { #endif } - inline size_t dispatch_index_(AttributeValue::pointer_type array_, uint8_t storage_model_, size_t instance_name_, const IfcParse::declaration* entity_or_type, uint8_t index_) + inline size_t dispatch_index_(attribute_value::pointer_type array_, uint8_t storage_model_, size_t instance_name_, const ifcopenshell::declaration* entity_or_type, uint8_t index_) { if (storage_model_ == 0) { return array_.storage_ptr->index(index_); @@ -100,7 +100,7 @@ namespace { (is_header ? "h|" : (entity_or_type->as_entity() ? "i|" : "t|")) + (is_header ? entity_or_type->name() : std::to_string(instance_name_)) + "|" + std::to_string(index_), &str).ok()) { - return TypeEncoder::encode_type() - 'A'; + return TypeEncoder::encode_type() - 'A'; } return (size_t) str[0] - 'A'; } @@ -108,22 +108,22 @@ namespace { } } -AttributeValue::operator int() const +attribute_value::operator int() const { return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator bool() const +attribute_value::operator bool() const { return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator double() const +attribute_value::operator double() const { return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator boost::logic::tribool() const +attribute_value::operator boost::logic::tribool() const { if (dispatch_has_(array_, storage_model_, instance_name_, entity_or_type_, index_)) { return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); @@ -131,13 +131,13 @@ AttributeValue::operator boost::logic::tribool() const return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator std::string() const +attribute_value::operator std::string() const { - if (dispatch_has_(array_, storage_model_, instance_name_, entity_or_type_, index_)) { + if (dispatch_has_(array_, storage_model_, instance_name_, entity_or_type_, index_)) { // @todo this is silly, but the way things currently work, // @todo also we don't really need to store a reference to the enumeration type, when this same type is already stored on the definition of the entity and no other value can be provided. if (storage_model_ == 0) { - return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_).value(); + return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_).value(); } #ifdef IFOPSH_WITH_ROCKSDB else { @@ -158,10 +158,10 @@ AttributeValue::operator std::string() const return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator EnumerationReference() const +attribute_value::operator enumeration_reference() const { if (storage_model_ == 0) { - return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); + return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); } #ifdef IFOPSH_WITH_ROCKSDB else { @@ -175,17 +175,17 @@ AttributeValue::operator EnumerationReference() const memcpy(&v, str.data() + 1, sizeof(size_t)); auto decl = array_.db_ptr->file->schema()->declarations()[v]->as_enumeration_type(); memcpy(&v, str.data() + 1 + sizeof(size_t), sizeof(size_t)); - return EnumerationReference(decl, v); + return enumeration_reference(decl, v); } #endif } -AttributeValue::operator boost::dynamic_bitset<>() const +attribute_value::operator boost::dynamic_bitset<>() const { return dispatch_get_>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator express::Base () const +attribute_value::operator express::Base () const { if (storage_model_ == 0) { return dispatch_get_(array_, storage_model_, instance_name_, entity_or_type_, index_); @@ -202,10 +202,10 @@ AttributeValue::operator express::Base () const memcpy(&v, str.data() + 2, sizeof(size_t)); if (str.size() > 1 && str[1] == 'i') { // entity reference, by #Name - return array_.db_ptr->assert_existance(v, IfcParse::impl::rocks_db_file_storage::entityinstance_ref); + return array_.db_ptr->assert_existance(v, ifcopenshell::impl::rocks_db_file_storage::entityinstance_ref); } else if (str.size() > 1 && str[1] == 't') { // type reference by Identity - return array_.db_ptr->assert_existance(v, IfcParse::impl::rocks_db_file_storage::typedecl_ref); + return array_.db_ptr->assert_existance(v, ifcopenshell::impl::rocks_db_file_storage::typedecl_ref); } else { throw std::runtime_error("Invalid data encountered"); } @@ -213,60 +213,60 @@ AttributeValue::operator express::Base () const #endif } -AttributeValue::operator std::vector() const +attribute_value::operator std::vector() const { return dispatch_get_>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator std::vector() const +attribute_value::operator std::vector() const { return dispatch_get_>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator std::vector() const +attribute_value::operator std::vector() const { return dispatch_get_>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator std::vector>() const +attribute_value::operator std::vector>() const { return dispatch_get_>>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator std::vector() const +attribute_value::operator std::vector() const { return dispatch_get_>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator std::vector>() const +attribute_value::operator std::vector>() const { return dispatch_get_>>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator std::vector>() const +attribute_value::operator std::vector>() const { return dispatch_get_>>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -AttributeValue::operator std::vector>() const +attribute_value::operator std::vector>() const { return dispatch_get_>>(array_, storage_model_, instance_name_, entity_or_type_, index_); } -bool AttributeValue::isNull() const +bool attribute_value::isNull() const { - return dispatch_has_(array_, storage_model_, instance_name_, entity_or_type_, index_); + return dispatch_has_(array_, storage_model_, instance_name_, entity_or_type_, index_); } -unsigned int AttributeValue::size() const +unsigned int attribute_value::size() const { // @todo return array_.storage_ptr->apply_visitor(SizeVisitor{}, index_); } -IfcUtil::ArgumentType AttributeValue::type() const +ifcopenshell::argument_type attribute_value::type() const { - return static_cast(dispatch_index_(array_, storage_model_, instance_name_, entity_or_type_, index_)); + return static_cast(dispatch_index_(array_, storage_model_, instance_name_, entity_or_type_, index_)); } #ifdef IFOPSH_WITH_ROCKSDB @@ -284,11 +284,11 @@ bool impl::serialize(std::string& val, const express::Base& t) return true; } -bool impl::serialize(std::string& val, const EnumerationReference& v) +bool impl::serialize(std::string& val, const enumeration_reference& v) { auto s = sizeof(size_t); val.resize(s * 2 + 1); - val[0] = TypeEncoder::encode_type(); + val[0] = TypeEncoder::encode_type(); size_t vv = v.enumeration()->index_in_schema(); memcpy(val.data() + 1, &vv, sizeof(size_t)); vv = v.index(); @@ -347,17 +347,17 @@ bool impl::serialize(std::string& val, const std::vector(); + val[0] = TypeEncoder::encode_type(); return true; } -bool impl::serialize(std::string& val, const Derived&) +bool impl::serialize(std::string& val, const derived&) { val.resize(1); - val[0] = TypeEncoder::encode_type(); + val[0] = TypeEncoder::encode_type(); return true; } @@ -392,7 +392,7 @@ bool impl::serialize(std::string& val, const boost::dynamic_bitset<>& t) return true; } -bool impl::deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, boost::logic::tribool& t) { +bool impl::deserialize(ifcopenshell::impl::rocks_db_file_storage*, const std::string& val, boost::logic::tribool& t) { if (val[0] != TypeEncoder::encode_type()) { return false; } @@ -408,7 +408,7 @@ bool impl::deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string return true; } -bool impl::deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, boost::dynamic_bitset<>& t) { +bool impl::deserialize(ifcopenshell::impl::rocks_db_file_storage*, const std::string& val, boost::dynamic_bitset<>& t) { if (val[0] != TypeEncoder::encode_type>()) { return false; } @@ -416,7 +416,7 @@ bool impl::deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string return true; } -bool impl::deserialize(IfcParse::impl::rocks_db_file_storage* storage, const std::string& val, std::vector& t) { +bool impl::deserialize(ifcopenshell::impl::rocks_db_file_storage* storage, const std::string& val, std::vector& t) { auto n = (val.size() - 1) / (sizeof(size_t) + 1); for (int i = 0; i < n; ++i) { auto ptr = val.data() + 1 + (sizeof(size_t) + 1) * i; @@ -425,9 +425,9 @@ bool impl::deserialize(IfcParse::impl::rocks_db_file_storage* storage, const std size_t v; memcpy(&v, ptr, sizeof(size_t)); if (tt == 'i') { - t.push_back(storage->assert_existance(v, IfcParse::impl::rocks_db_file_storage::entityinstance_ref)); + t.push_back(storage->assert_existance(v, ifcopenshell::impl::rocks_db_file_storage::entityinstance_ref)); } else if (tt == 't') { - t.push_back(storage->assert_existance(v, IfcParse::impl::rocks_db_file_storage::typedecl_ref)); + t.push_back(storage->assert_existance(v, ifcopenshell::impl::rocks_db_file_storage::typedecl_ref)); } else { return false; } @@ -435,7 +435,7 @@ bool impl::deserialize(IfcParse::impl::rocks_db_file_storage* storage, const std return true; } -bool impl::deserialize(IfcParse::impl::rocks_db_file_storage* storage, const std::string& val, std::vector>& t) { +bool impl::deserialize(ifcopenshell::impl::rocks_db_file_storage* storage, const std::string& val, std::vector>& t) { char const* ptr = val.data() + 1; // size_t outer_size; @@ -461,9 +461,9 @@ bool impl::deserialize(IfcParse::impl::rocks_db_file_storage* storage, const std memcpy(&v, ptr, sizeof(size_t)); ptr += sizeof(size_t); if (tt == 'i') { - inner.push_back(storage->assert_existance(v, IfcParse::impl::rocks_db_file_storage::entityinstance_ref)); + inner.push_back(storage->assert_existance(v, ifcopenshell::impl::rocks_db_file_storage::entityinstance_ref)); } else if (tt == 't') { - inner.push_back(storage->assert_existance(v, IfcParse::impl::rocks_db_file_storage::typedecl_ref)); + inner.push_back(storage->assert_existance(v, ifcopenshell::impl::rocks_db_file_storage::typedecl_ref)); } else { return false; } @@ -473,18 +473,18 @@ bool impl::deserialize(IfcParse::impl::rocks_db_file_storage* storage, const std } template -bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, std::size_t index) const +bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, std::size_t index) const { // @todo unify with other implementation functions const bool is_header = decl->schema() == &Header_section_schema::get_schema(); - IfcParse::impl::rocks_db_file_storage* rdb_storage = (IfcParse::impl::rocks_db_file_storage*)storage; + ifcopenshell::impl::rocks_db_file_storage* rdb_storage = (ifcopenshell::impl::rocks_db_file_storage*)storage; std::string v; auto success = rdb_storage->db->Get( rocksdb::ReadOptions{}, (is_header ? "h|" : (decl->as_entity() ? "i|" : "t|")) + (is_header ? decl->name() : std::to_string(identity)) + "|" + std::to_string(index), &v); - if constexpr (std::is_same_v, Blank>) { + if constexpr (std::is_same_v, blank>) { if (!success.ok()) { return true; } @@ -493,10 +493,10 @@ bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* } template -void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, std::size_t index, const T& value) +void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, std::size_t index, const T& value) { const bool is_header = decl->schema() == &Header_section_schema::get_schema(); - IfcParse::impl::rocks_db_file_storage* rdb_storage = (IfcParse::impl::rocks_db_file_storage*)storage; + ifcopenshell::impl::rocks_db_file_storage* rdb_storage = (ifcopenshell::impl::rocks_db_file_storage*)storage; std::string v; impl::serialize(v, value); rdb_storage->db->Put( @@ -506,54 +506,54 @@ void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* std::to_string(index), v); } -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const Blank& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const int& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const bool& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const boost::logic::tribool& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const double& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const std::string& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const boost::dynamic_bitset<>& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const EnumerationReference& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, express::Base const& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const std::vector& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const std::vector& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const std::vector& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set>>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const std::vector>& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const std::vector& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set>>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const std::vector>& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set>>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const std::vector>& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set>>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const std::vector>& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const blank& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const int& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const bool& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const boost::logic::tribool& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const double& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const std::string& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const boost::dynamic_bitset<>& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const enumeration_reference& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, express::Base const& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const std::vector& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const std::vector& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const std::vector& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set>>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const std::vector>& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const std::vector& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set>>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const std::vector>& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set>>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const std::vector>& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set>>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const std::vector>& value); // @todo why do these need to be included, but are not in BaseEntity::set()? -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const Derived& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const empty_aggregate_t& value); -template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index, const empty_aggregate_of_aggregate_t& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const derived& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const empty_aggregate_t& value); +template IFC_PARSE_API void rocks_db_attribute_storage::set(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index, const empty_aggregate_of_aggregate_t& value); -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has>>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has>>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has>>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has>>(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has>>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has>>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has>>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has>>(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; // @todo why do these need to be included, but are not in BaseEntity::set()? -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; -template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const IfcParse::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; +template IFC_PARSE_API bool rocks_db_attribute_storage::has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, size_t index) const; template -T* InstanceData::get_storage_of_type() const { +T* instance_data::get_storage_of_type() const { return std::visit([this](auto& m) -> T* { if constexpr (std::is_same_v, T>) { return &m; @@ -562,7 +562,7 @@ T* InstanceData::get_storage_of_type() const { }, file()->storage_); } -template IFC_PARSE_API IfcParse::impl::in_memory_file_storage* InstanceData::get_storage_of_type() const; -template IFC_PARSE_API IfcParse::impl::rocks_db_file_storage* InstanceData::get_storage_of_type() const; +template IFC_PARSE_API ifcopenshell::impl::in_memory_file_storage* instance_data::get_storage_of_type() const; +template IFC_PARSE_API ifcopenshell::impl::rocks_db_file_storage* instance_data::get_storage_of_type() const; #endif \ No newline at end of file diff --git a/src/ifcparse/exception.cpp b/src/ifcparse/exception.cpp new file mode 100644 index 0000000000..fc3e562421 --- /dev/null +++ b/src/ifcparse/exception.cpp @@ -0,0 +1,7 @@ +#include "exception.h" + +ifcopenshell::exception::~exception() = default; + +ifcopenshell::attribute_out_of_range_exception::~attribute_out_of_range_exception() = default; + +ifcopenshell::invalid_token_exception::~invalid_token_exception() = default; diff --git a/src/ifcparse/IfcException.h b/src/ifcparse/exception.h similarity index 76% rename from src/ifcparse/IfcException.h rename to src/ifcparse/exception.h index f30a5e9f3f..55304461dc 100644 --- a/src/ifcparse/IfcException.h +++ b/src/ifcparse/exception.h @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -33,47 +33,47 @@ #pragma warning(disable : 4275) #endif -namespace IfcParse { -class IFC_PARSE_API IfcException : public std::exception { +namespace ifcopenshell { +class IFC_PARSE_API exception : public std::exception { private: std::string message_; public: - IfcException(const std::string& message) + exception(const std::string& message) : message_(message) {} - ~IfcException() override; + ~exception() override; const char* what() const noexcept override { return message_.c_str(); } }; -class IFC_PARSE_API IfcAttributeOutOfRangeException : public IfcException { +class IFC_PARSE_API attribute_out_of_range_exception : public exception { public: - IfcAttributeOutOfRangeException(const std::string& exception) - : IfcException(exception) {} - ~IfcAttributeOutOfRangeException() override; + attribute_out_of_range_exception(const std::string& exception) + : exception(exception) {} + ~attribute_out_of_range_exception() override; }; -class IFC_PARSE_API IfcInvalidTokenException : public IfcException { +class IFC_PARSE_API invalid_token_exception : public exception { public: - IfcInvalidTokenException( + invalid_token_exception( size_t token_start, const std::string& token_string, const std::string& expected_type) - : IfcException( - std::string("Token ") + token_string + " at offset " + + : exception( + std::string("token ") + token_string + " at offset " + boost::lexical_cast(token_start) + " invalid " + expected_type) {} - IfcInvalidTokenException( + invalid_token_exception( size_t token_start, char character) - : IfcException( + : exception( std::string("Unexpected '") + std::string(1, character) + "' at offset " + boost::lexical_cast(token_start)) {} - ~IfcInvalidTokenException() override; + ~invalid_token_exception() override; }; -} // namespace IfcParse +} // namespace ifcopenshell #ifdef _MSC_VER #pragma warning(pop) diff --git a/src/ifcparse/express.cpp b/src/ifcparse/express.cpp index f504e538dd..a6503c4b56 100644 --- a/src/ifcparse/express.cpp +++ b/src/ifcparse/express.cpp @@ -1,14 +1,14 @@ #include "express.h" -#include "InstanceData.h" +#include "instance_data.h" -const IfcParse::declaration& express::Base::declaration() const { +const ifcopenshell::declaration& express::Base::declaration() const { return *data()->declaration(); } uint32_t express::Base::identity() const { return data()->identity(); } uint32_t express::Base::id() const { return data()->id(); } -const InstanceData* express::Base::data() const { +const instance_data* express::Base::data() const { auto sp = data_.lock(); if (sp) { return sp.get(); @@ -17,7 +17,7 @@ const InstanceData* express::Base::data() const { } } -InstanceData* express::Base::data() { +instance_data* express::Base::data() { auto sp = data_.lock(); if (sp) { return sp.get(); diff --git a/src/ifcparse/express.h b/src/ifcparse/express.h index 02f4aa1268..2eef8d8270 100644 --- a/src/ifcparse/express.h +++ b/src/ifcparse/express.h @@ -20,9 +20,9 @@ #ifndef IFCBASECLASS_H #define IFCBASECLASS_H -#include "Argument.h" +#include "argument.h" #include "ifc_parse_api.h" -#include "IfcSchema.h" +#include "schema.h" #include "utils.h" #include @@ -30,15 +30,15 @@ class aggregate_of_instance; -namespace IfcParse { -class IfcFile; +namespace ifcopenshell { +class file; namespace impl { struct in_memory_file_storage; } -} // namespace IfcParse +} // namespace ifcopenshell -class InstanceData; -class AttributeValue; +class instance_data; +class attribute_value; namespace express { @@ -49,9 +49,9 @@ class DeclaredType; class IFC_PARSE_API Base { protected: - std::weak_ptr data_; - const InstanceData* data() const; - InstanceData* data(); + std::weak_ptr data_; + const instance_data* data() const; + instance_data* data(); public: operator bool() const { return !data_.expired(); @@ -70,12 +70,12 @@ class IFC_PARSE_API Base { } Base() {}; - Base(const std::weak_ptr& data) : data_(data) {} + Base(const std::weak_ptr& data) : data_(data) {} // @todo try and make this private over time too - const std::weak_ptr& data_weak() const { return data_; } + const std::weak_ptr& data_weak() const { return data_; } - const IfcParse::declaration& declaration() const; + const ifcopenshell::declaration& declaration() const; template typename std::enable_if< @@ -94,13 +94,13 @@ class IFC_PARSE_API Base { void unset_attribute_value(size_t i); - AttributeValue get_attribute_value(size_t index) const; + attribute_value get_attribute_value(size_t index) const; uint32_t identity() const; uint32_t id() const; - void toString(std::ostream&, bool upper = false) const; + void to_string(std::ostream&, bool upper = false) const; template T as() const { @@ -127,15 +127,15 @@ class IFC_PARSE_API Base { } } - IfcParse::IfcFile* file() const; + ifcopenshell::file* file() const; }; class IFC_PARSE_API Entity : public Base { public: Entity() {} - Entity(const std::weak_ptr& data) : Base(data) {} + Entity(const std::weak_ptr& data) : Base(data) {} - AttributeValue get(const std::string& name) const; + attribute_value get(const std::string& name) const; template T get_value(const std::string& name) const; @@ -164,7 +164,7 @@ class IFC_PARSE_API Select : public Base { class IFC_PARSE_API DeclaredType : public Base { public: DeclaredType() {} - DeclaredType(const std::weak_ptr& data) : Base(data) {} + DeclaredType(const std::weak_ptr& data) : Base(data) {} }; } // namespace express diff --git a/src/ifcparse/IfcFile.cpp b/src/ifcparse/file.cpp similarity index 80% rename from src/ifcparse/IfcFile.cpp rename to src/ifcparse/file.cpp index 48b0b8f0dc..fde73657b2 100644 --- a/src/ifcparse/IfcFile.cpp +++ b/src/ifcparse/file.cpp @@ -1,5 +1,5 @@ -#include "IfcFile.h" -#include "IfcLogger.h" +#include "file.h" +#include "logger.h" #ifdef IFOPSH_WITH_ROCKSDB #include @@ -10,7 +10,7 @@ #include #include -IfcParse::parse_context::~parse_context() { +ifcopenshell::parse_context::~parse_context() { for (auto& t : tokens_) { std::visit([](auto& v) { if constexpr (std::is_same_v, parse_context*>) { @@ -20,17 +20,17 @@ IfcParse::parse_context::~parse_context() { } } -IfcParse::parse_context& IfcParse::parse_context::push() { +ifcopenshell::parse_context& ifcopenshell::parse_context::push() { auto child = pool_->make(); tokens_.emplace_back(child); return *child; } -void IfcParse::parse_context::push(Token t) { +void ifcopenshell::parse_context::push(token t) { tokens_.push_back(t); } -void IfcParse::parse_context::push(const express::Base& inst) { +void ifcopenshell::parse_context::push(const express::Base& inst) { tokens_.push_back(inst); } @@ -56,7 +56,7 @@ namespace { constexpr bool is_type_in_variant_v = is_type_in_variant::value; template - void dispatch_token(std::optional instance_id, int attribute_id, IfcParse::Token t, IfcParse::declaration* decl, Fn fn) { + void dispatch_token(std::optional instance_id, int attribute_id, ifcopenshell::token t, ifcopenshell::declaration* decl, Fn fn) { if (t.is_binary()) { fn(t.as_binary()); } else if (t.is_bool()) { @@ -67,12 +67,12 @@ namespace { const auto& s = t.as_string(); if (decl && decl->as_enumeration_type()) { try { - fn(EnumerationReference(decl->as_enumeration_type(), decl->as_enumeration_type()->lookup_enum_offset(s))); - } catch (IfcParse::IfcException& e) { - Logger::Error("An enumeration literal '" + s + "' is not valid for type '" + decl->name() + "' at offset " + std::to_string(t.start_pos)); + fn(enumeration_reference(decl->as_enumeration_type(), decl->as_enumeration_type()->lookup_enum_offset(s))); + } catch (ifcopenshell::exception& e) { + logger::error("An enumeration literal '" + s + "' is not valid for type '" + decl->name() + "' at offset " + std::to_string(t.start_pos)); } } else { - Logger::Error("An enumeration literal '" + s + "' is not expected at attribute index '" + std::to_string(attribute_id) + "' at offset " + std::to_string(t.start_pos)); + logger::error("An enumeration literal '" + s + "' is not expected at attribute index '" + std::to_string(attribute_id) + "' at offset " + std::to_string(t.start_pos)); } } else if (t.is_int()) { // @nb make sure is_int() comes before is_float() @@ -80,37 +80,37 @@ namespace { } else if (t.is_float()) { fn(t.as_float()); } else if (t.is_identifier()) { - fn(IfcParse::reference_or_simple_type{IfcParse::InstanceReference{(int) t.as_identifier(), t.start_pos}}); + fn(ifcopenshell::reference_or_simple_type{ifcopenshell::instance_reference{(int) t.as_identifier(), t.start_pos}}); } else if (t.is_string()) { fn(t.as_string()); } else if (t.is_operator('*')) { // This is only in place for the validator - fn(Derived{}); + fn(derived{}); } } template - void construct_(std::optional instance_id, int attribute_id, IfcParse::parse_context& p, const IfcParse::aggregation_type* aggr, Fn fn) { + void construct_(std::optional instance_id, int attribute_id, ifcopenshell::parse_context& p, const ifcopenshell::aggregation_type* aggr, Fn fn) { if (p.tokens_.empty()) { // @todo instead of ugly if-else we could also default initialize the respective // variant types below. if (aggr) { - auto aggr_type = IfcUtil::make_aggregate(IfcUtil::from_parameter_type(aggr->type_of_element())); - if (aggr_type == IfcUtil::Argument_AGGREGATE_OF_INT) { + auto aggr_type = ifcopenshell::make_aggregate(ifcopenshell::from_parameter_type(aggr->type_of_element())); + if (aggr_type == ifcopenshell::Argument_AGGREGATE_OF_INT) { fn(std::vector{}); - } else if (aggr_type == IfcUtil::Argument_AGGREGATE_OF_DOUBLE) { + } else if (aggr_type == ifcopenshell::Argument_AGGREGATE_OF_DOUBLE) { fn(std::vector{}); - } else if (aggr_type == IfcUtil::Argument_AGGREGATE_OF_STRING) { + } else if (aggr_type == ifcopenshell::Argument_AGGREGATE_OF_STRING) { fn(std::vector{}); - } else if (aggr_type == IfcUtil::Argument_AGGREGATE_OF_BINARY) { + } else if (aggr_type == ifcopenshell::Argument_AGGREGATE_OF_BINARY) { fn(std::vector>{}); - } else if (aggr_type == IfcUtil::Argument_AGGREGATE_OF_ENTITY_INSTANCE) { + } else if (aggr_type == ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE) { fn(std::vector{}); - } else if (aggr_type == IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_INT) { + } else if (aggr_type == ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_INT) { fn(std::vector>{}); - } else if (aggr_type == IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE) { + } else if (aggr_type == ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE) { fn(std::vector>{}); - } else if (aggr_type == IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE) { + } else if (aggr_type == ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE) { fn(std::vector>{}); } } @@ -118,17 +118,17 @@ namespace { } typedef std::variant< - Blank, + blank, std::vector, std::vector, std::vector, std::vector>, - std::vector, + std::vector, std::vector>, std::vector>, - std::vector> + std::vector> > possible_aggregation_types_t; possible_aggregation_types_t aggregate_storage; @@ -182,7 +182,7 @@ namespace { // @todo would be cool if we can trace this back to file offset auto current = std::visit([](auto v) { - if constexpr (!std::is_same_v) { + if constexpr (!std::is_same_v) { return std::string(typeid(typename decltype(v)::value_type).name()); } else { // Cannot occur as aggregate_storage.which() == 0 @@ -192,7 +192,7 @@ namespace { } }, aggregate_storage); - Logger::Error("Inconsistent aggregate valuation while attempting to append " + std::string(typeid(decltype(v)).name()) + " to an aggregate of " + current); + logger::error("Inconsistent aggregate valuation while attempting to append " + std::string(typeid(decltype(v)).name()) + " to an aggregate of " + current); // @todo boolean -> logical upgrade // wait a second... there are no aggregate of bool / logical in the schema.. @@ -211,22 +211,22 @@ namespace { } } else { // @todo would be cool if we can trace this back to file offset - Logger::Error(std::string("Aggregates of ") + typeid(decltype(v)).name() + " are not supported in the IfcOpenShell parser"); + logger::error(std::string("Aggregates of ") + typeid(decltype(v)).name() + " are not supported in the IfcOpenShell parser"); } }; for (auto& t : p.tokens_) { std::visit([&aggregate_storage, &append_to_aggregate_storage, aggr, instance_id, attribute_id](const auto& v) { - if constexpr (std::is_same_v, IfcParse::Token>) { + if constexpr (std::is_same_v, ifcopenshell::token>) { // @todo get aggregate of enumeration dispatch_token(instance_id, attribute_id, v, aggr && aggr->type_of_element()->as_named_type() ? aggr->type_of_element()->as_named_type()->declared_type() : nullptr, append_to_aggregate_storage); - } else if constexpr (std::is_same_v, IfcParse::parse_context_handle>) { + } else if constexpr (std::is_same_v, ifcopenshell::parse_context_handle>) { // nested list if constexpr (Depth < 3) { construct_(instance_id, attribute_id, *v, nullptr, append_to_aggregate_storage); } } else { - append_to_aggregate_storage(IfcParse::reference_or_simple_type{ v }); + append_to_aggregate_storage(ifcopenshell::reference_or_simple_type{ v }); } }, t); } @@ -235,14 +235,14 @@ namespace { } } -std::shared_ptr IfcParse::parse_context::construct(IfcParse::IfcFile* owner, std::optional name, unresolved_references& references_to_resolve, const IfcParse::declaration* decl, std::optional expected_size, int resolve_reference_index, bool coerce_attribute_count) { - std::vector parameter_types; - std::unique_ptr transient_named_type; +std::shared_ptr ifcopenshell::parse_context::construct(ifcopenshell::file* owner, std::optional name, unresolved_references& references_to_resolve, const ifcopenshell::declaration* decl, std::optional expected_size, int resolve_reference_index, bool coerce_attribute_count) { + std::vector parameter_types; + std::unique_ptr transient_named_type; if ((decl != nullptr) && (decl->as_type_declaration() != nullptr)) { parameter_types = { decl->as_type_declaration()->declared_type() }; } else if ((decl != nullptr) && (decl->as_enumeration_type() != nullptr)) { - transient_named_type.reset(new IfcParse::named_type(const_cast(decl))); + transient_named_type.reset(new ifcopenshell::named_type(const_cast(decl))); parameter_types = { &*transient_named_type }; } else if ((decl != nullptr) && (decl->as_entity() != nullptr)) { const auto& entity_attrs = decl->as_entity()->all_attributes(); @@ -261,14 +261,14 @@ std::shared_ptr IfcParse::parse_context::construct(IfcParse::IfcFi { size_t expected = expected_size ? *expected_size : parameter_types.size(); if (decl != nullptr && decl->schema() == &Header_section_schema::get_schema()) { - Logger::Warning("Expected " + std::to_string(expected) + " attribute values, found " + std::to_string(tokens_.size()) + " for header entity " + decl->name()); + logger::warning("Expected " + std::to_string(expected) + " attribute values, found " + std::to_string(tokens_.size()) + " for header entity " + decl->name()); } else { - Logger::Warning("Expected " + std::to_string(expected) + " attribute values, found " + std::to_string(tokens_.size()) + (name ? std::string(" for instance #" + std::to_string(*name)) : std::string(""))); + logger::warning("Expected " + std::to_string(expected) + " attribute values, found " + std::to_string(tokens_.size()) + (name ? std::string(" for instance #" + std::to_string(*name)) : std::string(""))); } } if (tokens_.empty()) { - return std::make_shared(owner, decl, name.value_or(0), in_memory_attribute_storage(0)); + return std::make_shared(owner, decl, name.value_or(0), in_memory_attribute_storage(0)); } in_memory_attribute_storage storage(coerce_attribute_count @@ -283,7 +283,7 @@ std::shared_ptr IfcParse::parse_context::construct(IfcParse::IfcFi for (; it != tokens_.end() && ((decl == nullptr) || kt != parameter_types.end()); ++it) { auto& token = *it; // @todo coerce to expected type, e.g empty -> std::vector, bool -> logical - const IfcParse::parameter_type* param_type = nullptr; + const ifcopenshell::parameter_type* param_type = nullptr; if (decl != nullptr) { param_type = *kt; } @@ -291,15 +291,15 @@ std::shared_ptr IfcParse::parse_context::construct(IfcParse::IfcFi auto index = (uint8_t) std::distance(tokens_.begin(), it); std::visit([this, &storage, name, &references_to_resolve, index, param_type, resolve_reference_index](const auto& v) { - if constexpr (std::is_same_v, IfcParse::Token>) { + if constexpr (std::is_same_v, ifcopenshell::token>) { dispatch_token(name, index, v, param_type && param_type->as_named_type() ? param_type->as_named_type()->declared_type() : nullptr, [this, &storage, name, &references_to_resolve, index, resolve_reference_index](auto v) { - if constexpr (std::is_same_v, IfcParse::reference_or_simple_type>) { + if constexpr (std::is_same_v, ifcopenshell::reference_or_simple_type>) { if (name) { references_to_resolve.push_back(std::make_pair( // @todo previously this was storage but apparently the // pointer is not constant with the moving and temporary nature // maybe it ought to be and in that case a pointer is more direct - MutableAttributeValue{ (uint32_t) *name, resolve_reference_index == -1 ? index : (uint8_t) resolve_reference_index }, + mutable_attribute_value{ (uint32_t) *name, resolve_reference_index == -1 ? index : (uint8_t) resolve_reference_index }, v )); } @@ -307,7 +307,7 @@ std::shared_ptr IfcParse::parse_context::construct(IfcParse::IfcFi storage.set(index, v); } }); - } else if constexpr (std::is_same_v, IfcParse::parse_context_handle>) { + } else if constexpr (std::is_same_v, ifcopenshell::parse_context_handle>) { const auto *pt = param_type; if (pt) { while (pt->as_named_type() && pt->as_named_type()->declared_type()->as_type_declaration()) { @@ -337,11 +337,11 @@ std::shared_ptr IfcParse::parse_context::construct(IfcParse::IfcFi } } - return std::make_shared(owner, decl, (decl && decl->as_entity()) ? name.value_or(0) : 0, std::move(storage)); + return std::make_shared(owner, decl, (decl && decl->as_entity()) ? name.value_or(0) : 0, std::move(storage)); } /* -IfcUtil::IfcBaseClass* IfcParse::impl::rocks_db_file_storage::rocksdb_instance_iterator::operator*() const { +ifcopenshell::IfcBaseClass* ifcopenshell::impl::rocks_db_file_storage::rocksdb_instance_iterator::operator*() const { auto it = storage_->byid_.find(*read_id_()); if (it != storage_->byid_.end()) { // @todo define an implicit std::to_string() in all map adapters with leading 0s @@ -355,13 +355,13 @@ IfcUtil::IfcBaseClass* IfcParse::impl::rocks_db_file_storage::rocksdb_instance_i } */ -IfcParse::impl::rocks_db_file_storage::rocksdb_types_iterator::value_type const& IfcParse::impl::rocks_db_file_storage::rocksdb_types_iterator::operator*() const { +ifcopenshell::impl::rocks_db_file_storage::rocksdb_types_iterator::value_type const& ifcopenshell::impl::rocks_db_file_storage::rocksdb_types_iterator::operator*() const { return storage_->file->schema()->declarations()[*read_id_()]; } -express::Base IfcParse::impl::rocks_db_file_storage::assert_existance(size_t number, instance_ref r) { +express::Base ifcopenshell::impl::rocks_db_file_storage::assert_existance(size_t number, instance_ref r) { #ifdef IFOPSH_WITH_ROCKSDB - if (r == IfcParse::impl::rocks_db_file_storage::entityinstance_ref) { + if (r == ifcopenshell::impl::rocks_db_file_storage::entityinstance_ref) { auto it = instance_cache_.find(number); if (it != instance_cache_.end()) { return express::Base(it->second); @@ -387,18 +387,18 @@ express::Base IfcParse::impl::rocks_db_file_storage::assert_existance(size_t num if (is_entity != (r == entityinstance_ref)) { throw std::runtime_error("Incorrect reference"); } - auto data = std::make_shared(file, decl, number, rocks_db_attribute_storage{}); - if (r == IfcParse::impl::rocks_db_file_storage::entityinstance_ref) { + auto data = std::make_shared(file, decl, number, rocks_db_attribute_storage{}); + if (r == ifcopenshell::impl::rocks_db_file_storage::entityinstance_ref) { instance_cache_.insert({number, data}); } else { type_instance_cache_.insert({number, data}); } return express::Base(data); } else { - throw IfcException("Instance #" + boost::lexical_cast(number) + " not found"); + throw exception("Instance #" + boost::lexical_cast(number) + " not found"); } #else - throw IfcException("RocksDB support not compiled in"); + throw exception("RocksDB support not compiled in"); #endif } @@ -452,7 +452,7 @@ namespace { } // @todo naming -IfcParse::impl::rocks_db_file_storage::rocks_db_file_storage(const std::string& filepath, IfcParse::IfcFile* ffile, bool readonly) +ifcopenshell::impl::rocks_db_file_storage::rocks_db_file_storage(const std::string& filepath, ifcopenshell::file* ffile, bool readonly) : file(ffile) , db(init_db(filepath, readonly)) // @todo streaming serializer does not populate the byguid map @@ -463,14 +463,14 @@ IfcParse::impl::rocks_db_file_storage::rocks_db_file_storage(const std::string& , bytype_(db, "t|") , byref_excl_(db, "v|") // @todo by_identity is probably not correct here, this mapping is Name -> Identity, so Fn should have access to full pair? - // , byidentity_(&byid_, [this](size_t v) { return assert_existance(v, by_identity); }, [](IfcUtil::IfcBaseClass* v) { return v->identity(); }) + // , byidentity_(&byid_, [this](size_t v) { return assert_existance(v, by_identity); }, [](ifcopenshell::IfcBaseClass* v) { return v->identity(); }) { #ifdef IFOPSH_WITH_ROCKSDB wopts.disableWAL = true; #endif } -IfcParse::impl::rocks_db_file_storage::~rocks_db_file_storage() +ifcopenshell::impl::rocks_db_file_storage::~rocks_db_file_storage() { #ifdef IFOPSH_WITH_ROCKSDB rocksdb::FlushOptions flush_options; @@ -489,14 +489,14 @@ IfcParse::impl::rocks_db_file_storage::~rocks_db_file_storage() } -express::Base IfcParse::impl::rocks_db_file_storage::instance_by_id(int id) +express::Base ifcopenshell::impl::rocks_db_file_storage::instance_by_id(int id) { // @todo rename assert_existance() -> instance_by_id(); // - no cannot be done, because it needs to differentiate between entity instances and typedecls return assert_existance(id, entityinstance_ref); } -void IfcParse::impl::rocks_db_file_storage::process_deletion_inverse(const express::Base& inst) +void ifcopenshell::impl::rocks_db_file_storage::process_deletion_inverse(const express::Base& inst) { #ifdef IFOPSH_WITH_ROCKSDB auto id = inst.id(); @@ -554,16 +554,16 @@ void IfcParse::impl::rocks_db_file_storage::process_deletion_inverse(const expre #endif } -express::Base IfcParse::impl::in_memory_file_storage::instance_by_id(int id) +express::Base ifcopenshell::impl::in_memory_file_storage::instance_by_id(int id) { auto it = byid_.find(id); if (it == byid_.end()) { - throw IfcException("Instance #" + boost::lexical_cast(id) + " not found"); + throw exception("Instance #" + boost::lexical_cast(id) + " not found"); } return express::Base(it->second); } -IfcParse::IfcFile::~IfcFile() {} +ifcopenshell::file::~file() {} namespace { // Utility functions for path handling in order not to rely on C++17's std::filesystem @@ -603,7 +603,7 @@ namespace { } } // namespace -IfcParse::filetype IfcParse::guess_file_type(const std::string& fn) { +ifcopenshell::filetype ifcopenshell::guess_file_type(const std::string& fn) { stat_t st{}; if (!path_exists_(fn, &st)) { // @todo this is just weird, but for consistency with earlier behaviour @@ -642,30 +642,30 @@ IfcParse::filetype IfcParse::guess_file_type(const std::string& fn) { } } -express::Base IfcParse::impl::rocks_db_file_storage::create(const IfcParse::declaration* decl, int id) { +express::Base ifcopenshell::impl::rocks_db_file_storage::create(const ifcopenshell::declaration* decl, int id) { return express::Base{}; /* if (decl->as_entity() || decl->as_type_declaration()) { auto* inst = file->schema()->instantiate(decl, rocks_db_attribute_storage{}); // @todo maybe this needs to be set to file? In order to have a context (ie. rocksdb::db*) to write to? inst->file_ = nullptr; - return file->addEntity(inst); + return file->add_entity(inst); } else { throw std::runtime_error("Requires and entity or type declaration"); } */ } -express::Base IfcParse::impl::in_memory_file_storage::create(const IfcParse::declaration* decl, int id) { +express::Base ifcopenshell::impl::in_memory_file_storage::create(const ifcopenshell::declaration* decl, int id) { uint32_t instance_name; if (decl->as_entity() != nullptr) { - instance_name = id == -1 ? (int)file->FreshId() : id; + instance_name = id == -1 ? (int)file->fresh_id() : id; } else if (decl->as_type_declaration() != nullptr) { instance_name = 0; } else { throw std::runtime_error("Requires and entity or type declaration"); } - auto data = std::make_shared(file, decl, instance_name, decl->as_entity() ? in_memory_attribute_storage(decl->as_entity()->attribute_count()) : in_memory_attribute_storage(1)); + auto data = std::make_shared(file, decl, instance_name, decl->as_entity() ? in_memory_attribute_storage(decl->as_entity()->attribute_count()) : in_memory_attribute_storage(1)); if (instance_name) { byid_.insert({instance_name, data}); } else { @@ -678,10 +678,10 @@ express::Base IfcParse::impl::in_memory_file_storage::create(const IfcParse::dec return inst; } -express::Base IfcParse::IfcFile::create(const IfcParse::declaration* decl, int id) { +express::Base ifcopenshell::file::create(const ifcopenshell::declaration* decl, int id) { if (id != -1) { if (decl->as_entity() == nullptr) { - throw IfcParse::IfcException("Assigning instance id during creation is only valid for entity declarations"); + throw ifcopenshell::exception("Assigning instance id during creation is only valid for entity declarations"); } bool id_already_exists = false; try { @@ -692,7 +692,7 @@ express::Base IfcParse::IfcFile::create(const IfcParse::declaration* decl, int i } catch (...) { } if (id_already_exists) { - throw IfcParse::IfcException("An instance with id " + boost::lexical_cast(id) + " is already part of this file"); + throw ifcopenshell::exception("An instance with id " + boost::lexical_cast(id) + " is already part of this file"); } if ((unsigned)id > max_id_) { max_id_ = (unsigned)id; diff --git a/src/ifcparse/IfcFile.h b/src/ifcparse/file.h similarity index 68% rename from src/ifcparse/IfcFile.h rename to src/ifcparse/file.h index 991ab2bfdf..4e01a58ebf 100644 --- a/src/ifcparse/IfcFile.h +++ b/src/ifcparse/file.h @@ -21,9 +21,9 @@ #define IFCFILE_H #include "ifc_parse_api.h" -#include "IfcParse.h" -#include "IfcSchema.h" -#include "IfcSpfHeader.h" +#include "parse.h" +#include "schema.h" +#include "spf_header.h" #include "storage.h" #include "file_open_status.h" @@ -75,7 +75,7 @@ namespace { } #endif -namespace IfcParse { +namespace ifcopenshell { enum filetype { FT_IFCSPF, @@ -88,28 +88,28 @@ enum filetype { IFC_PARSE_API filetype guess_file_type(const std::string& fn); -template > -class IFC_PARSE_API InstanceStreamer { +template > +class IFC_PARSE_API instance_streamer { private: std::unique_ptr owned_stream_; Reader* stream_; - std::unique_ptr> lexer_; - std::unique_ptr owned_header_; - IfcSpfHeader* header_; - IfcParse::IfcFile* owner_; - boost::circular_buffer token_stream_; - const IfcParse::schema_definition* schema_; - IfcParse::impl::in_memory_file_storage storage_; - IfcParse::file_open_status good_ = IfcParse::file_open_status::SUCCESS; + std::unique_ptr> lexer_; + std::unique_ptr owned_header_; + spf_header* header_; + ifcopenshell::file* owner_; + boost::circular_buffer token_stream_; + const ifcopenshell::schema_definition* schema_; + ifcopenshell::impl::in_memory_file_storage storage_; + ifcopenshell::file_open_status good_ = ifcopenshell::file_open_status::SUCCESS; int progress_; - IfcParse::unresolved_references references_to_resolve_; + ifcopenshell::unresolved_references references_to_resolve_; int yielded_header_instances_ = 0; bool yield_header_instances_ = true; std::vector types_to_bypass_; std::vector bypassed_instances_; void initialize_header(); - IfcSpfHeader& ensure_header(); + spf_header& ensure_header(); public: bool coerce_attribute_count = true; @@ -118,15 +118,15 @@ private: return good_ && lexer_ && !lexer_->stream->eof(); } - IfcParse::file_open_status status() const { + ifcopenshell::file_open_status status() const { return good_; } - const IfcParse::unresolved_references& references() const { + const ifcopenshell::unresolved_references& references() const { return references_to_resolve_; } - IfcParse::unresolved_references& references() { + ifcopenshell::unresolved_references& references() { return references_to_resolve_; } @@ -135,43 +135,43 @@ private: return bypassed_instances_; } - const IfcParse::impl::in_memory_file_storage::entities_by_ref_t& inverses() const { + const ifcopenshell::impl::in_memory_file_storage::entities_by_ref_t& inverses() const { return storage_.byref_excl_; } - IfcParse::impl::in_memory_file_storage::entities_by_ref_t& inverses() { + ifcopenshell::impl::in_memory_file_storage::entities_by_ref_t& inverses() { return storage_.byref_excl_; } - std::vector> stealInstances() { + std::vector> steal_instances() { return storage_.steal_instances(); } - bool hasSemicolon() const; + bool has_semicolon() const; - size_t semicolonCount() const; + size_t semicolon_count() const; - void pushPage(const std::string& page); + void push_page(const std::string& page); - InstanceStreamer(IfcParse::IfcFile* f = nullptr); + instance_streamer(ifcopenshell::file* f = nullptr); - InstanceStreamer(const std::string& fn, bool mmap = false, IfcParse::IfcFile* f = nullptr); + instance_streamer(const std::string& fn, bool mmap = false, ifcopenshell::file* f = nullptr); - InstanceStreamer(void* data, int length, IfcParse::IfcFile* f = nullptr); + instance_streamer(void* data, int length, ifcopenshell::file* f = nullptr); - InstanceStreamer(Reader* stream, IfcParse::IfcFile* f = nullptr); + instance_streamer(Reader* stream, ifcopenshell::file* f = nullptr); - void bypassTypes(const std::set& type_names); + void bypass_types(const std::set& type_names); - void yieldHeaderInstances(bool value) { yield_header_instances_ = value; } + void yield_header_instances(bool value) { yield_header_instances_ = value; } - const IfcParse::schema_definition* schema() const { return schema_; } + const ifcopenshell::schema_definition* schema() const { return schema_; } - const IfcSpfHeader* header() const { return header_; } + const spf_header* header() const { return header_; } - ~InstanceStreamer() = default; + ~instance_streamer() = default; - std::optional>> readInstance(); + std::optional>> read_instance(); }; class uninitialized_tag {}; @@ -179,7 +179,7 @@ class uninitialized_tag {}; /// This class provides access to the entity instances in an IFC file /// The file takes ownership of instances added to this file and deletes them when the file is deleted. -class IFC_PARSE_API IfcFile { +class IFC_PARSE_API file { private: typedef std::map entity_entity_map_t; @@ -190,11 +190,11 @@ public: using type_iterator = variant_iterator; using storage_t = std::variant; - typedef VariantMap entity_instance_by_guid_t; + typedef variant_map entity_instance_by_guid_t; entity_instance_by_guid_t byguid_; - typedef VariantMap entity_by_id_t; + typedef variant_map entity_by_id_t; entity_by_id_t byid_; - typedef VariantMap entities_by_ref_t; + typedef variant_map entities_by_ref_t; entities_by_ref_t byref_excl_; bool check_existance_before_adding = true; @@ -208,16 +208,16 @@ public: private: file_open_status good_ = file_open_status::SUCCESS; - const IfcParse::schema_definition* schema_; - const IfcParse::declaration* ifcroot_type_; + const ifcopenshell::schema_definition* schema_; + const ifcopenshell::declaration* ifcroot_type_; entity_entity_map_t entity_file_map_; unsigned int max_id_; - std::unique_ptr header_; + std::unique_ptr header_; - void setDefaultHeaderValues(); + void set_default_header_values(); typedef boost::multi_index_container< int, @@ -233,43 +233,43 @@ public: public: #ifdef USE_MMAP /// - /// Constructs an IfcFile object from a file path, optionally using memory-mapped I/O, only supports IFC-SPF files. + /// Constructs an file object from a file path, optionally using memory-mapped I/O, only supports IFC-SPF files. /// /// UTF-8 file path to an IFC-SPF file /// Whether to use memory-mapped I/O - IfcFile(const std::string& path, bool mmap); + file(const std::string& path, bool mmap); #endif /// - /// Constructs an IfcFile object from a file path, supports IFC-SPF and the IfcOpenShell-specific RocksDB format. + /// Constructs an file object from a file path, supports IFC-SPF and the IfcOpenShell-specific RocksDB format. /// /// UTF-8 file path to an IFC-SPF file or RocksDB database directory /// File type of the path /// Whether to open in read-only mode, only supported on RocksDB databases - IfcFile(const std::string& path, filetype ty=FT_AUTODETECT, bool readonly=false); + file(const std::string& path, filetype ty=FT_AUTODETECT, bool readonly=false); /// - /// Constructs an IfcFile object from a stream containing IFC-SPF data. + /// Constructs an file object from a stream containing IFC-SPF data. /// - IfcFile(std::istream& stream, int length); + file(std::istream& stream, int length); /// - /// Constructs an IfcFile object from a memory buffer containing IFC-SPF data. + /// Constructs an file object from a memory buffer containing IFC-SPF data. /// - IfcFile(void* data, int length); + file(void* data, int length); /// - /// Constructs an IfcFile object with the specified schema, file type, and file path. + /// Constructs an file object with the specified schema, file type, and file path. /// @nb path is only used in rocksdb mode, for spf file is in-memory only until write() is called /// /// Pointer to the schema definition to use. Defaults to the IFC4 schema if not specified. /// The file type to use for the file. Defaults to FT_AUTODETECT. /// The file system path to the IFC file. Defaults to an empty string. - IfcFile(const IfcParse::schema_definition* schema = IfcParse::schema_by_name("IFC4"), filetype ty = FT_AUTODETECT, const std::string& path = ""); + file(const ifcopenshell::schema_definition* schema = ifcopenshell::schema_by_name("IFC4"), filetype ty = FT_AUTODETECT, const std::string& path = ""); /// - /// Constructs an unitialized IfcFile object. Call initialize() later on. Allows to specify which types to bypass during load. + /// Constructs an unitialized file object. Call initialize() later on. Allows to specify which types to bypass during load. /// - IfcFile(const uninitialized_tag&); + file(const uninitialized_tag&); bool initialize(const std::string& path, filetype ty = FT_AUTODETECT, bool readonly = false); #ifdef USE_MMAP @@ -280,9 +280,9 @@ public: /// @param type_name case insensitive name of the type to bypass void bypass_type(const std::string& type_name); - ~IfcFile(); + ~file(); - IfcParse::file_open_status good() const { return good_; } + ifcopenshell::file_open_status good() const { return good_; } /// Returns the first entity in the range of instances contained in the model, /// in arbitrary order @@ -325,10 +325,10 @@ public: /// Returns all entities in the file that match the positional argument. /// NOTE: This also returns subtypes of the requested type, for example: /// IfcWall will also return IfcWallStandardCase entities - std::vector instances_by_type(const IfcParse::declaration*); + std::vector instances_by_type(const ifcopenshell::declaration*); /// Returns all entities in the file that match the positional argument. - std::vector instances_by_type_excl_subtypes(const IfcParse::declaration*); + std::vector instances_by_type_excl_subtypes(const ifcopenshell::declaration*); /// Returns all entities in the file that match the positional argument. /// NOTE: This also returns subtypes of the requested type, for example: @@ -357,52 +357,52 @@ public: static std::vector traverse_breadth_first(const express::Base& instance, int max_level = -1); /// Get the attribute indices corresponding to the list of entity instances - /// returned by getInverse(). + /// returned by get_inverse(). std::vector get_inverse_indices(int instance_id); template - typename T::list::ptr getInverse(int instance_id, int attribute_index) { - return getInverse(instance_id, &T::Class(), attribute_index)->template as(); + typename T::list::ptr get_inverse(int instance_id, int attribute_index) { + return get_inverse(instance_id, &T::Class(), attribute_index)->template as(); } - std::vector getInverse(int instance_id, const IfcParse::declaration* type, int attribute_index); + std::vector get_inverse(int instance_id, const ifcopenshell::declaration* type, int attribute_index); - size_t getTotalInverses(int instance_id); + size_t get_total_inverses(int instance_id); - unsigned int FreshId() { return ++max_id_; } + unsigned int fresh_id() { return ++max_id_; } - unsigned int getMaxId() const { return max_id_; } + unsigned int get_max_id() const { return max_id_; } - const IfcParse::declaration* ifcroot_type() const { return ifcroot_type_; } + const ifcopenshell::declaration* ifcroot_type() const { return ifcroot_type_; } void recalculate_id_counter(); - express::Base addEntity(const express::Base& entity, int id = -1); + express::Base add_entity(const express::Base& entity, int id = -1); /// Removes entity instance from file and unsets references. /// - /// Attention when running removeEntity inside a loop over a list of entities to be removed. + /// Attention when running remove_entity inside a loop over a list of entities to be removed. /// This invalidates the iterator. A workaround is to reverse the loop: /// boost::shared_ptr entities = ...; /// for (auto it = entities->end() - 1; it >= entities->begin(); --it) { - /// IfcUtil::IfcBaseClass *const inst = *it; - /// model->removeEntity(inst); + /// ifcopenshell::IfcBaseClass *const inst = *it; + /// model->remove_entity(inst); /// } - void removeEntity(const express::Base& entity); + void remove_entity(const express::Base& entity); - const IfcSpfHeader& header() const { return *header_; } - IfcSpfHeader& header() { return *header_; } + const spf_header& header() const { return *header_; } + spf_header& header() { return *header_; } - static std::string createTimestamp(); + static std::string create_timestamp(); - const IfcParse::schema_definition* schema() const; + const ifcopenshell::schema_definition* schema() const; - std::pair getUnit(const std::string& unit_type); + std::pair get_unit(const std::string& unit_type); void build_inverses(); - void register_inverse(unsigned, const IfcParse::entity* from_entity, int inst_id, int attribute_index); - void unregister_inverse(unsigned, const IfcParse::entity* from_entity, const express::Base&, int attribute_index); + void register_inverse(unsigned, const ifcopenshell::entity* from_entity, int inst_id, int attribute_index); + void unregister_inverse(unsigned, const ifcopenshell::entity* from_entity, const express::Base&, int attribute_index); entity_instance_by_guid_t internal_guid_map() { return byguid_; }; @@ -427,7 +427,7 @@ public: return create(&T::Class(), id).template as(); } - express::Base create(const IfcParse::declaration* decl, int id = -1); + express::Base create(const ifcopenshell::declaration* decl, int id = -1); void batch() { batch_mode_ = true; @@ -442,21 +442,21 @@ namespace impl { template inline constexpr bool dependent_false_v = false; } -} // namespace IfcParse +} // namespace ifcopenshell template -T IfcParse::impl::in_memory_file_storage::create(int id) { +T ifcopenshell::impl::in_memory_file_storage::create(int id) { return create(&T::declaration(), id).template as(); } #ifdef IFOPSH_WITH_ROCKSDB template -T IfcParse::impl::rocks_db_file_storage::create(int id) { - if constexpr (std::is_same_v>, IfcParse::entity> || std::is_same_v>, IfcParse::type_declaration>) { +T ifcopenshell::impl::rocks_db_file_storage::create(int id) { + if constexpr (std::is_same_v>, ifcopenshell::entity> || std::is_same_v>, ifcopenshell::type_declaration>) { auto* inst = new T(rocks_db_attribute_storage{}); inst->file_ = file; - return file->addEntity(inst)->template as(); + return file->add_entity(inst)->template as(); } else { static_assert(dependent_false_v, "Requires and entity or type declaration"); } @@ -466,11 +466,11 @@ T IfcParse::impl::rocks_db_file_storage::create(int id) { namespace std { template <> -struct iterator_traits { +struct iterator_traits { typedef ptrdiff_t difference_type; - typedef const IfcParse::declaration* value_type; - typedef const IfcParse::declaration*& reference; - typedef const IfcParse::declaration** pointer; + typedef const ifcopenshell::declaration* value_type; + typedef const ifcopenshell::declaration*& reference; + typedef const ifcopenshell::declaration** pointer; typedef std::forward_iterator_tag iterator_category; }; } // namespace std diff --git a/src/ifcparse/file_open_status.h b/src/ifcparse/file_open_status.h index 6125698567..2eacaf4597 100644 --- a/src/ifcparse/file_open_status.h +++ b/src/ifcparse/file_open_status.h @@ -3,7 +3,7 @@ #include "ifc_parse_api.h" -namespace IfcParse { +namespace ifcopenshell { class IFC_PARSE_API file_open_status { public: diff --git a/src/ifcparse/FileReader.cpp b/src/ifcparse/file_reader.cpp similarity index 76% rename from src/ifcparse/FileReader.cpp rename to src/ifcparse/file_reader.cpp index f5fa47f619..27a426383d 100644 --- a/src/ifcparse/FileReader.cpp +++ b/src/ifcparse/file_reader.cpp @@ -1,4 +1,4 @@ -#include "FileReader.h" +#include "file_reader.h" #include #include @@ -31,7 +31,7 @@ inline void file_seek_abs(FILE* f, std::uint64_t off) { } // namespace -using namespace IfcParse; +using namespace ifcopenshell; namespace { @@ -48,9 +48,9 @@ T gather_value(Fn&& fn) { } // namespace -FullBufferImpl::FullBufferImpl(const std::string& fn) { +full_buffer_impl::full_buffer_impl(const std::string& fn) { #ifdef _MSC_VER - std::wstring fn_ws = IfcUtil::path::from_utf8(fn); + std::wstring fn_ws = ifcopenshell::path::from_utf8(fn); const wchar_t* fn_wide = fn_ws.c_str(); auto stream = _wfopen(fn_wide, L"rb"); #else @@ -67,16 +67,24 @@ FullBufferImpl::FullBufferImpl(const std::string& fn) { fclose(stream); } -size_t FullBufferImpl::size() const { return size_; } +full_buffer_impl::full_buffer_impl(const caller_fed_tag&) { +} -char FullBufferImpl::get(size_t pos) const { +full_buffer_impl::full_buffer_impl(const std::string& content, const caller_fed_tag&) + : buf_(content.begin(), content.end()) + , size_(content.size()) { +} + +size_t full_buffer_impl::size() const { return size_; } + +char full_buffer_impl::get(size_t pos) const { if (pos >= buf_.size()) { throw std::out_of_range("get out of range"); } return buf_[pos]; } -uint64_t FullBufferImpl::get_u64(size_t pos) const { +uint64_t full_buffer_impl::get_u64(size_t pos) const { if (pos + sizeof(uint64_t) > buf_.size()) { throw std::out_of_range("get_u64 out of range"); } @@ -85,7 +93,7 @@ uint64_t FullBufferImpl::get_u64(size_t pos) const { return value; } -uint32_t FullBufferImpl::get_u32(size_t pos) const { +uint32_t full_buffer_impl::get_u32(size_t pos) const { if (pos + sizeof(uint32_t) > buf_.size()) { throw std::out_of_range("get_u32 out of range"); } @@ -94,19 +102,20 @@ uint32_t FullBufferImpl::get_u32(size_t pos) const { return value; } -void FullBufferImpl::pushNextPage(const std::string&) { - throw std::logic_error("push_next_page: backend does not support pushed mode"); +void full_buffer_impl::push_next_page(const std::string& data) { + buf_.insert(buf_.end(), data.begin(), data.end()); + size_ = buf_.size(); } -void FullBufferImpl::dropPages(size_t) { +void full_buffer_impl::drop_pages(size_t) { } -PagedFileImpl::PagedFileImpl(const std::string& fn, size_t page_size, size_t cap) +paged_file_impl::paged_file_impl(const std::string& fn, size_t page_size, size_t cap) : fn_(fn) , page_size_(std::max(512, page_size)) , capacity_(std::max(2, cap)) { #ifdef _MSC_VER - std::wstring fn_ws = IfcUtil::path::from_utf8(fn); + std::wstring fn_ws = ifcopenshell::path::from_utf8(fn); const wchar_t* fn_wide = fn_ws.c_str(); fp_ = _wfopen(fn_wide, L"rb"); #else @@ -120,21 +129,21 @@ PagedFileImpl::PagedFileImpl(const std::string& fn, size_t page_size, size_t cap rewind(fp_); } -PagedFileImpl::~PagedFileImpl() { +paged_file_impl::~paged_file_impl() { if (fp_) { std::fclose(fp_); } fp_ = nullptr; } -size_t PagedFileImpl::size() const { return file_size_; } +size_t paged_file_impl::size() const { return file_size_; } -char PagedFileImpl::get(size_t pos) const { +char paged_file_impl::get(size_t pos) const { if (pos >= file_size_) { throw std::out_of_range("get out of range"); } const size_t pidx = pos / page_size_; - const FileReaderPage& p = fetchPage_(pidx); + const file_reader_page& p = fetchPage_(pidx); const size_t off = pos % page_size_; if (off >= p.data.size()) { throw std::out_of_range("offset beyond valid page bytes"); @@ -142,13 +151,13 @@ char PagedFileImpl::get(size_t pos) const { return p.data[off]; } -uint64_t PagedFileImpl::get_u64(size_t pos) const { +uint64_t paged_file_impl::get_u64(size_t pos) const { if (pos + sizeof(uint64_t) > file_size_) { throw std::out_of_range("get_u64 out of range"); } const size_t pidx = pos / page_size_; - const FileReaderPage& p = fetchPage_(pidx); + const file_reader_page& p = fetchPage_(pidx); const size_t off = pos % page_size_; if (off + sizeof(uint64_t) <= p.data.size()) { uint64_t value; @@ -159,13 +168,13 @@ uint64_t PagedFileImpl::get_u64(size_t pos) const { return gather_value([&](size_t i) { return get(pos + i); }); } -uint32_t PagedFileImpl::get_u32(size_t pos) const { +uint32_t paged_file_impl::get_u32(size_t pos) const { if (pos + sizeof(uint32_t) > file_size_) { throw std::out_of_range("get_u32 out of range"); } const size_t pidx = pos / page_size_; - const FileReaderPage& p = fetchPage_(pidx); + const file_reader_page& p = fetchPage_(pidx); const size_t off = pos % page_size_; if (off + sizeof(uint32_t) <= p.data.size()) { uint32_t value; @@ -176,21 +185,21 @@ uint32_t PagedFileImpl::get_u32(size_t pos) const { return gather_value([&](size_t i) { return get(pos + i); }); } -void PagedFileImpl::pushNextPage(const std::string&) { +void paged_file_impl::push_next_page(const std::string&) { throw std::logic_error("push_next_page: backend does not support pushed mode"); } -void PagedFileImpl::dropPages(size_t) { +void paged_file_impl::drop_pages(size_t) { } -const FileReaderPage& PagedFileImpl::fetchPage_(size_t idx) const { +const file_reader_page& paged_file_impl::fetchPage_(size_t idx) const { auto it = map_.find(idx); if (it != map_.end()) { touch_(it); return it->second.page; } - FileReaderPage pg; + file_reader_page pg; pg.data.resize(page_size_); const size_t begin = idx * page_size_; const size_t avail = std::min(page_size_, file_size_ - begin); @@ -214,13 +223,13 @@ const FileReaderPage& PagedFileImpl::fetchPage_(size_t idx) const { return emplaced_it->second.page; } -void PagedFileImpl::touch_(std::unordered_map::iterator it) const { +void paged_file_impl::touch_(std::unordered_map::iterator it) const { lru_.erase(it->second.it); lru_.push_front(it->first); it->second.it = lru_.begin(); } -void PagedFileImpl::evict_() const { +void paged_file_impl::evict_() const { if (lru_.empty()) { return; } @@ -230,24 +239,24 @@ void PagedFileImpl::evict_() const { } #ifdef USE_MMAP -MMapImpl::MMapImpl(const std::string& fn) { - map_.open(boost::filesystem::path(IfcUtil::path::from_utf8(fn))); +mmap_impl::mmap_impl(const std::string& fn) { + map_.open(boost::filesystem::path(ifcopenshell::path::from_utf8(fn))); if (!map_.is_open()) { throw std::runtime_error("Failed to open mapped_file_source"); } size_ = static_cast(map_.size()); } -size_t MMapImpl::size() const { return size_; } +size_t mmap_impl::size() const { return size_; } -char MMapImpl::get(size_t pos) const { +char mmap_impl::get(size_t pos) const { if (pos >= size_) { throw std::out_of_range("get out of range"); } return map_.data()[pos]; } -uint64_t MMapImpl::get_u64(size_t pos) const { +uint64_t mmap_impl::get_u64(size_t pos) const { if (pos + sizeof(uint64_t) > size_) { throw std::out_of_range("get_u64 out of range"); } @@ -256,7 +265,7 @@ uint64_t MMapImpl::get_u64(size_t pos) const { return value; } -uint32_t MMapImpl::get_u32(size_t pos) const { +uint32_t mmap_impl::get_u32(size_t pos) const { if (pos + sizeof(uint32_t) > size_) { throw std::out_of_range("get_u32 out of range"); } @@ -265,15 +274,15 @@ uint32_t MMapImpl::get_u32(size_t pos) const { return value; } -void MMapImpl::pushNextPage(const std::string&) { +void mmap_impl::push_next_page(const std::string&) { throw std::logic_error("push_next_page: backend does not support pushed mode"); } -void MMapImpl::dropPages(size_t) { +void mmap_impl::drop_pages(size_t) { } #endif -size_t PushedSequentialImpl::size() const { +size_t pushed_sequential_impl::size() const { size_t n = discarded_page_bytes_; for (const auto& pg : pages_) { n += pg.data.size(); @@ -281,7 +290,7 @@ size_t PushedSequentialImpl::size() const { return n; } -void PushedSequentialImpl::dropPages(size_t pos) { +void pushed_sequential_impl::drop_pages(size_t pos) { while (!pages_.empty()) { if (pos - discarded_page_bytes_ >= pages_.front().data.size()) { discarded_page_bytes_ += pages_.front().data.size(); @@ -292,7 +301,7 @@ void PushedSequentialImpl::dropPages(size_t pos) { } } -char PushedSequentialImpl::get(size_t pos) const { +char pushed_sequential_impl::get(size_t pos) const { const size_t avail_end = size(); if (pos >= avail_end) { throw std::out_of_range("pushed backend: position not committed yet"); @@ -312,7 +321,7 @@ char PushedSequentialImpl::get(size_t pos) const { throw std::out_of_range("pushed backend: internal inconsistency"); } -uint64_t PushedSequentialImpl::get_u64(size_t pos) const { +uint64_t pushed_sequential_impl::get_u64(size_t pos) const { if (pos + sizeof(uint64_t) > size()) { throw std::out_of_range("get_u64 out of range"); } @@ -335,7 +344,7 @@ uint64_t PushedSequentialImpl::get_u64(size_t pos) const { return gather_value([&](size_t i) { return get(pos + i); }); } -uint32_t PushedSequentialImpl::get_u32(size_t pos) const { +uint32_t pushed_sequential_impl::get_u32(size_t pos) const { if (pos + sizeof(uint32_t) > size()) { throw std::out_of_range("get_u32 out of range"); } @@ -358,8 +367,8 @@ uint32_t PushedSequentialImpl::get_u32(size_t pos) const { return gather_value([&](size_t i) { return get(pos + i); }); } -void PushedSequentialImpl::pushNextPage(const std::string& data) { - FileReaderPage p; +void pushed_sequential_impl::push_next_page(const std::string& data) { + file_reader_page p; p.data.assign(data.data(), data.data() + data.size()); pages_.push_back(std::move(p)); } diff --git a/src/ifcparse/FileReader.h b/src/ifcparse/file_reader.h similarity index 68% rename from src/ifcparse/FileReader.h rename to src/ifcparse/file_reader.h index 0bbd9601a6..707852e5d3 100644 --- a/src/ifcparse/FileReader.h +++ b/src/ifcparse/file_reader.h @@ -46,9 +46,9 @@ #include #endif -namespace IfcParse { +namespace ifcopenshell { -struct FileReaderPage { +struct file_reader_page { std::vector data; }; @@ -57,63 +57,66 @@ struct caller_fed_tag {}; template inline constexpr bool file_reader_dependent_false_v = false; -class IFC_PARSE_API FullBufferImpl; -class IFC_PARSE_API PagedFileImpl; +class IFC_PARSE_API full_buffer_impl; +class IFC_PARSE_API paged_file_impl; #ifdef USE_MMAP -class IFC_PARSE_API MMapImpl; +class IFC_PARSE_API mmap_impl; #endif -class IFC_PARSE_API PushedSequentialImpl; +class IFC_PARSE_API pushed_sequential_impl; template -class FileReader { +class file_reader { public: using impl_type = Impl; - using Page = FileReaderPage; + using Page = file_reader_page; - FileReader() = default; + file_reader() = default; - explicit FileReader(const std::string& fn) + explicit file_reader(const std::string& fn) : cursor_(0) { - if constexpr (std::is_same_v + if constexpr (std::is_same_v #ifdef USE_MMAP - || std::is_same_v + || std::is_same_v #endif ) { impl_ = std::make_shared(fn); } else { - static_assert(file_reader_dependent_false_v, "This FileReader constructor is not supported for the selected backend"); + static_assert(file_reader_dependent_false_v, "This file_reader constructor is not supported for the selected backend"); } } - explicit FileReader(const caller_fed_tag&) + explicit file_reader(const caller_fed_tag&) : cursor_(0) { - if constexpr (std::is_same_v) { + if constexpr (std::is_same_v) { + impl_ = std::make_shared(caller_fed_tag{}); + } else if constexpr (std::is_same_v) { impl_ = std::make_shared(); } else { - static_assert(file_reader_dependent_false_v, "This FileReader constructor is not supported for the selected backend"); + static_assert(file_reader_dependent_false_v, "This file_reader constructor is not supported for the selected backend"); } } - FileReader(const std::string& content, const caller_fed_tag&) - : FileReader(caller_fed_tag{}) { - if constexpr (std::is_same_v) { - impl_->pushNextPage(content); + file_reader(const std::string& content, const caller_fed_tag&) + : file_reader(caller_fed_tag{}) { + if constexpr (std::is_same_v + || std::is_same_v) { + impl_->push_next_page(content); } else { - static_assert(file_reader_dependent_false_v, "This FileReader constructor is not supported for the selected backend"); + static_assert(file_reader_dependent_false_v, "This file_reader constructor is not supported for the selected backend"); } } - FileReader(const std::string& fn, size_t page_size, size_t page_capacity) + file_reader(const std::string& fn, size_t page_size, size_t page_capacity) : cursor_(0) { - if constexpr (std::is_same_v) { + if constexpr (std::is_same_v) { impl_ = std::make_shared(fn, page_size, page_capacity); } else { - static_assert(file_reader_dependent_false_v, "This FileReader constructor is not supported for the selected backend"); + static_assert(file_reader_dependent_false_v, "This file_reader constructor is not supported for the selected backend"); } } - FileReader clone() const { - FileReader c(*this); + file_reader clone() const { + file_reader c(*this); c.cursor_ = cursor_; return c; } @@ -158,16 +161,16 @@ public: cursor_ += n; } - void pushNextPage(const std::string& data) { - impl_->pushNextPage(data); + void push_next_page(const std::string& data) { + impl_->push_next_page(data); } - void dropPages() { - impl_->dropPages(0); + void drop_pages() { + impl_->drop_pages(0); } - void dropPages(size_t up_to_pos) { - impl_->dropPages(up_to_pos); + void drop_pages(size_t up_to_pos) { + impl_->drop_pages(up_to_pos); } bool eof() const { @@ -189,41 +192,44 @@ private: size_t cursor_ = 0; }; -class IFC_PARSE_API FullBufferImpl { +class IFC_PARSE_API full_buffer_impl { public: - explicit FullBufferImpl(const std::string& fn); + full_buffer_impl() = default; + explicit full_buffer_impl(const std::string& fn); + explicit full_buffer_impl(const caller_fed_tag&); + full_buffer_impl(const std::string& content, const caller_fed_tag&); size_t size() const; char get(size_t pos) const; uint32_t get_u32(size_t pos) const; uint64_t get_u64(size_t pos) const; - void pushNextPage(const std::string& data); - void dropPages(size_t pos); + void push_next_page(const std::string& data); + void drop_pages(size_t pos); private: std::vector buf_; - size_t size_; + size_t size_ = 0; }; -class IFC_PARSE_API PagedFileImpl { +class IFC_PARSE_API paged_file_impl { public: struct Entry { - FileReaderPage page; + file_reader_page page; std::list::iterator it; }; - PagedFileImpl(const std::string& fn, size_t page_size, size_t cap); - ~PagedFileImpl(); + paged_file_impl(const std::string& fn, size_t page_size, size_t cap); + ~paged_file_impl(); size_t size() const; char get(size_t pos) const; uint32_t get_u32(size_t pos) const; uint64_t get_u64(size_t pos) const; - void pushNextPage(const std::string& data); - void dropPages(size_t pos); + void push_next_page(const std::string& data); + void drop_pages(size_t pos); private: - const FileReaderPage& fetchPage_(size_t idx) const; + const file_reader_page& fetchPage_(size_t idx) const; void touch_(std::unordered_map::iterator it) const; void evict_() const; @@ -237,16 +243,16 @@ private: }; #ifdef USE_MMAP -class IFC_PARSE_API MMapImpl { +class IFC_PARSE_API mmap_impl { public: - explicit MMapImpl(const std::string& fn); + explicit mmap_impl(const std::string& fn); size_t size() const; char get(size_t pos) const; uint32_t get_u32(size_t pos) const; uint64_t get_u64(size_t pos) const; - void pushNextPage(const std::string& data); - void dropPages(size_t pos); + void push_next_page(const std::string& data); + void drop_pages(size_t pos); private: boost::iostreams::mapped_file_source map_; @@ -254,20 +260,20 @@ private: }; #endif -class IFC_PARSE_API PushedSequentialImpl { +class IFC_PARSE_API pushed_sequential_impl { public: size_t size() const; char get(size_t pos) const; uint32_t get_u32(size_t pos) const; uint64_t get_u64(size_t pos) const; - void pushNextPage(const std::string& data); - void dropPages(size_t pos); + void push_next_page(const std::string& data); + void drop_pages(size_t pos); private: - std::deque pages_; + std::deque pages_; size_t discarded_page_bytes_ = 0; }; -} // namespace IfcParse +} // namespace ifcopenshell #endif diff --git a/src/ifcparse/IfcGlobalId.cpp b/src/ifcparse/global_id.cpp similarity index 89% rename from src/ifcparse/IfcGlobalId.cpp rename to src/ifcparse/global_id.cpp index e6c77e67c5..224bfcb4f3 100644 --- a/src/ifcparse/IfcGlobalId.cpp +++ b/src/ifcparse/global_id.cpp @@ -17,10 +17,10 @@ * * ********************************************************************************/ -#include "IfcGlobalId.h" +#include "global_id.h" -#include "IfcException.h" -#include "IfcLogger.h" +#include "exception.h" +#include "logger.h" #include #include @@ -57,7 +57,7 @@ unsigned from_base64(const std::string& string) { result *= 64; const char* character = strchr(chars, *i); if (character == nullptr) { - throw IfcParse::IfcException("Failed to decode GlobalId"); + throw ifcopenshell::exception("Failed to decode GlobalId"); } result += (unsigned)(character - chars); } @@ -94,7 +94,7 @@ void expand(const std::string& s, std::vector& v) { static boost::uuids::basic_random_generator gen; #endif -IfcParse::IfcGlobalId::IfcGlobalId() { +ifcopenshell::global_id::global_id() { uuid_data_ = gen(); std::vector v(uuid_data_.size()); std::copy(uuid_data_.begin(), uuid_data_.end(), v.begin()); @@ -111,12 +111,12 @@ IfcParse::IfcGlobalId::IfcGlobalId() { boost::uuids::uuid test_uuid; std::copy(test_vector.begin(), test_vector.end(), test_uuid.begin()); if (uuid_data_ != test_uuid) { - Logger::Message(Logger::LOG_ERROR, "Internal error generating GlobalId"); + logger::message(logger::LOG_ERROR, "Internal error generating GlobalId"); } #endif } -IfcParse::IfcGlobalId::IfcGlobalId(const std::string& string) +ifcopenshell::global_id::global_id(const std::string& string) : string_data_(string) { std::vector result; expand(string_data_, result); @@ -130,19 +130,19 @@ IfcParse::IfcGlobalId::IfcGlobalId(const std::string& string) #ifndef NDEBUG const std::string test_string = compress(&uuid_data_.data[0]); if (string_data_ != test_string) { - Logger::Message(Logger::LOG_ERROR, "Internal error generating GlobalId"); + logger::message(logger::LOG_ERROR, "Internal error generating GlobalId"); } #endif } -IfcParse::IfcGlobalId::operator const std::string&() const { +ifcopenshell::global_id::operator const std::string&() const { return string_data_; } -IfcParse::IfcGlobalId::operator const boost::uuids::uuid&() const { +ifcopenshell::global_id::operator const boost::uuids::uuid&() const { return uuid_data_; } -const std::string& IfcParse::IfcGlobalId::formatted() const { +const std::string& ifcopenshell::global_id::formatted() const { return formatted_string_; } diff --git a/src/ifcparse/IfcGlobalId.h b/src/ifcparse/global_id.h similarity index 93% rename from src/ifcparse/IfcGlobalId.h rename to src/ifcparse/global_id.h index d9f3cb5155..7805d5de96 100644 --- a/src/ifcparse/IfcGlobalId.h +++ b/src/ifcparse/global_id.h @@ -25,10 +25,10 @@ #include #include -namespace IfcParse { +namespace ifcopenshell { /// A helper class for the creation of IFC GlobalIds. -class IFC_PARSE_API IfcGlobalId { +class IFC_PARSE_API global_id { private: std::string string_data_; std::string formatted_string_; @@ -36,13 +36,13 @@ class IFC_PARSE_API IfcGlobalId { public: static const unsigned int length = 22; - IfcGlobalId(); - IfcGlobalId(const std::string&); + global_id(); + global_id(const std::string&); operator const std::string&() const; operator const boost::uuids::uuid&() const; const std::string& formatted() const; }; -} // namespace IfcParse +} // namespace ifcopenshell #endif diff --git a/src/ifcparse/IfcHierarchyHelper.cpp b/src/ifcparse/hierarchy_helper.cpp similarity index 67% rename from src/ifcparse/IfcHierarchyHelper.cpp rename to src/ifcparse/hierarchy_helper.cpp index 5920e2723a..9d7db7a2d0 100644 --- a/src/ifcparse/IfcHierarchyHelper.cpp +++ b/src/ifcparse/hierarchy_helper.cpp @@ -19,20 +19,20 @@ /******************************************************************************** * * - * This class is a subclass of the regular IfcFile class that implements * + * This class is a subclass of the regular file class that implements * * several convenience functions for creating geometrical representations and * * spatial containers. * * * ********************************************************************************/ -#include "IfcHierarchyHelper.h" +#include "hierarchy_helper.h" #include using namespace std::string_literals; template -typename Schema::IfcAxis2Placement3D IfcHierarchyHelper::addPlacement3d( +typename Schema::IfcAxis2Placement3D hierarchy_helper::addPlacement3d( double ox, double oy, double oz, double zx, double zy, double zz, double xx, double xy, double xz) { auto x = addTriplet(xx, xy, xz); auto z = addTriplet(zx, zy, zz); @@ -45,7 +45,7 @@ typename Schema::IfcAxis2Placement3D IfcHierarchyHelper::addPlacement3d( } template -typename Schema::IfcAxis2Placement2D IfcHierarchyHelper::addPlacement2d( +typename Schema::IfcAxis2Placement2D hierarchy_helper::addPlacement2d( double ox, double oy, double xx, double xy) { auto x = addDoublet(xx, xy); auto o = addDoublet(ox, oy); @@ -56,7 +56,7 @@ typename Schema::IfcAxis2Placement2D IfcHierarchyHelper::addPlacement2d( } template -typename Schema::IfcLocalPlacement IfcHierarchyHelper::addLocalPlacement(typename Schema::IfcObjectPlacement parent, +typename Schema::IfcLocalPlacement hierarchy_helper::addLocalPlacement(typename Schema::IfcObjectPlacement parent, double ox, double oy, double oz, @@ -75,7 +75,7 @@ typename Schema::IfcLocalPlacement IfcHierarchyHelper::addLocalPlacement } template -typename Schema::IfcOwnerHistory IfcHierarchyHelper::addOwnerHistory() { +typename Schema::IfcOwnerHistory hierarchy_helper::addOwnerHistory() { typename Schema::IfcPerson person = create(); #ifdef HAS_SCHEMA_2x3 if constexpr (std::is_same_v) { @@ -113,7 +113,7 @@ typename Schema::IfcOwnerHistory IfcHierarchyHelper::addOwnerHistory() { } template -typename Schema::IfcProject IfcHierarchyHelper::addProject(typename Schema::IfcOwnerHistory owner_hist) { +typename Schema::IfcProject hierarchy_helper::addProject(typename Schema::IfcOwnerHistory owner_hist) { std::vector rep_contexts; auto dimexp = create(); @@ -151,7 +151,7 @@ typename Schema::IfcProject IfcHierarchyHelper::addProject(typename Sche unit_assignment.setUnits(units); auto project = create(); - project.setGlobalId(IfcParse::IfcGlobalId()); + project.setGlobalId(ifcopenshell::global_id()); project.setOwnerHistory(owner_hist ? owner_hist : addOwnerHistory()); project.setRepresentationContexts(rep_contexts); project.setUnitsInContext(unit_assignment); @@ -160,7 +160,7 @@ typename Schema::IfcProject IfcHierarchyHelper::addProject(typename Sche } template -void IfcHierarchyHelper::relatePlacements(typename Schema::IfcProduct parent, typename Schema::IfcProduct product) { +void hierarchy_helper::relatePlacements(typename Schema::IfcProduct parent, typename Schema::IfcProduct product) { typename Schema::IfcObjectPlacement place = product.ObjectPlacement(); if (place) { if (auto local_place = place.template as()) { @@ -168,7 +168,7 @@ void IfcHierarchyHelper::relatePlacements(typename Schema::IfcProduct pa if (local_place != parent.ObjectPlacement()) { local_place.setPlacementRelTo(parent.ObjectPlacement()); } else { - Logger::Notice("Placement cannot be relative to self"); + logger::notice("Placement cannot be relative to self"); } } } @@ -176,7 +176,7 @@ void IfcHierarchyHelper::relatePlacements(typename Schema::IfcProduct pa } template -typename Schema::IfcSite IfcHierarchyHelper::addSite(typename Schema::IfcProject proj, typename Schema::IfcOwnerHistory owner_hist) { +typename Schema::IfcSite hierarchy_helper::addSite(typename Schema::IfcProject proj, typename Schema::IfcOwnerHistory owner_hist) { if (!owner_hist) { owner_hist = getSingle(); } @@ -191,7 +191,7 @@ typename Schema::IfcSite IfcHierarchyHelper::addSite(typename Schema::If } auto site = create(); - site.setGlobalId(IfcParse::IfcGlobalId()); + site.setGlobalId(ifcopenshell::global_id()); site.setOwnerHistory(owner_hist); site.setObjectPlacement(addLocalPlacement()); site.setCompositionType(Schema::IfcElementCompositionEnum::IfcElementComposition_ELEMENT); @@ -201,7 +201,7 @@ typename Schema::IfcSite IfcHierarchyHelper::addSite(typename Schema::If } template -typename Schema::IfcBuilding IfcHierarchyHelper::addBuilding(typename Schema::IfcSite site, typename Schema::IfcOwnerHistory owner_hist) { +typename Schema::IfcBuilding hierarchy_helper::addBuilding(typename Schema::IfcSite site, typename Schema::IfcOwnerHistory owner_hist) { if (!owner_hist) { owner_hist = getSingle(); } @@ -216,7 +216,7 @@ typename Schema::IfcBuilding IfcHierarchyHelper::addBuilding(typename Sc } auto building = create(); - building.setGlobalId(IfcParse::IfcGlobalId()); + building.setGlobalId(ifcopenshell::global_id()); building.setOwnerHistory(owner_hist); building.setObjectPlacement(addLocalPlacement()); building.setCompositionType(Schema::IfcElementCompositionEnum::IfcElementComposition_ELEMENT); @@ -228,7 +228,7 @@ typename Schema::IfcBuilding IfcHierarchyHelper::addBuilding(typename Sc } template -typename Schema::IfcBuildingStorey IfcHierarchyHelper::addBuildingStorey(typename Schema::IfcBuilding building, +typename Schema::IfcBuildingStorey hierarchy_helper::addBuildingStorey(typename Schema::IfcBuilding building, typename Schema::IfcOwnerHistory owner_hist) { if (!owner_hist) { owner_hist = getSingle(); @@ -244,7 +244,7 @@ typename Schema::IfcBuildingStorey IfcHierarchyHelper::addBuildingStorey } auto storey = create(); - storey.setGlobalId(IfcParse::IfcGlobalId()); + storey.setGlobalId(ifcopenshell::global_id()); storey.setOwnerHistory(owner_hist); storey.setObjectPlacement(addLocalPlacement()); storey.setCompositionType(Schema::IfcElementCompositionEnum::IfcElementComposition_ELEMENT); @@ -256,7 +256,7 @@ typename Schema::IfcBuildingStorey IfcHierarchyHelper::addBuildingStorey } template -typename Schema::IfcBuildingStorey IfcHierarchyHelper::addBuildingProduct(typename Schema::IfcProduct product, +typename Schema::IfcBuildingStorey hierarchy_helper::addBuildingProduct(typename Schema::IfcProduct product, typename Schema::IfcBuildingStorey storey, typename Schema::IfcOwnerHistory owner_hist) { if (!owner_hist) { @@ -283,7 +283,7 @@ typename Schema::IfcBuildingStorey IfcHierarchyHelper::addBuildingProduc } template -void IfcHierarchyHelper::addExtrudedPolyline(typename Schema::IfcShapeRepresentation rep, +void hierarchy_helper::addExtrudedPolyline(typename Schema::IfcShapeRepresentation rep, const std::vector>& points, double h, typename Schema::IfcAxis2Placement2D /*place1*/, @@ -324,7 +324,7 @@ void IfcHierarchyHelper::addExtrudedPolyline(typename Schema::IfcShapeRe } template -typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addExtrudedPolyline(const std::vector>& points, +typename Schema::IfcProductDefinitionShape hierarchy_helper::addExtrudedPolyline(const std::vector>& points, double h, typename Schema::IfcAxis2Placement2D place, typename Schema::IfcAxis2Placement3D place2, @@ -344,7 +344,7 @@ typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addExtrud } template -void IfcHierarchyHelper::addBox(typename Schema::IfcShapeRepresentation rep, +void hierarchy_helper::addBox(typename Schema::IfcShapeRepresentation rep, double w, double d, double h, @@ -363,7 +363,7 @@ void IfcHierarchyHelper::addBox(typename Schema::IfcShapeRepresentation } template -void IfcHierarchyHelper::addAxis( +void hierarchy_helper::addAxis( typename Schema::IfcShapeRepresentation rep, double l, typename Schema::IfcRepresentationContext /*context*/) @@ -381,7 +381,7 @@ void IfcHierarchyHelper::addAxis( } template -typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addBox(double w, +typename Schema::IfcProductDefinitionShape hierarchy_helper::addBox(double w, double d, double h, typename Schema::IfcAxis2Placement2D place, @@ -402,7 +402,7 @@ typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addBox(do } template -typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addAxisBox( +typename Schema::IfcProductDefinitionShape hierarchy_helper::addAxisBox( double w, double d, double h, typename Schema::IfcRepresentationContext context) { auto body_rep = create(); body_rep.setContextOfItems(context ? context : getRepresentationContext("Model")); @@ -426,7 +426,7 @@ typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addAxisBo } template -void IfcHierarchyHelper::clipRepresentation(typename Schema::IfcProductRepresentation shape, +void hierarchy_helper::clipRepresentation(typename Schema::IfcProductRepresentation shape, typename Schema::IfcAxis2Placement3D place, bool agree) { auto reps = shape.Representations(); @@ -436,7 +436,7 @@ void IfcHierarchyHelper::clipRepresentation(typename Schema::IfcProductR } template -void IfcHierarchyHelper::clipRepresentation(typename Schema::IfcRepresentation rep, +void hierarchy_helper::clipRepresentation(typename Schema::IfcRepresentation rep, typename Schema::IfcAxis2Placement3D place, bool agree) { if (!rep.RepresentationIdentifier() || *rep.RepresentationIdentifier() != "Body") { @@ -465,7 +465,7 @@ void IfcHierarchyHelper::clipRepresentation(typename Schema::IfcRepresen } template -typename Schema::IfcSurfaceStyle getSurfaceStyle(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0) { +typename Schema::IfcSurfaceStyle getSurfaceStyle(hierarchy_helper& file, double r, double g, double b, double a = 1.0) { auto colour = file.template create(); colour.setRed(r); colour.setGreen(g); @@ -486,7 +486,7 @@ typename Schema::IfcSurfaceStyle getSurfaceStyle(IfcHierarchyHelper& fil } template -typename Schema::IfcPresentationStyleAssignment addStyleAssignment_2x3(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0) { +typename Schema::IfcPresentationStyleAssignment addStyleAssignment_2x3(hierarchy_helper& file, double r, double g, double b, double a = 1.0) { auto surface_style = getSurfaceStyle(file, r, g, b, a); auto style_assignment = file.template create(); style_assignment.setStyles(std::vector{surface_style}); @@ -494,40 +494,40 @@ typename Schema::IfcPresentationStyleAssignment addStyleAssignment_2x3(IfcHierar } template -typename Schema::IfcPresentationStyle addStyleAssignment_4x3(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0) { +typename Schema::IfcPresentationStyle addStyleAssignment_4x3(hierarchy_helper& file, double r, double g, double b, double a = 1.0) { return getSurfaceStyle(file, r, g, b, a); } template -typename Schema::IfcPresentationStyleAssignment setSurfaceColour_2x3(IfcHierarchyHelper& file, typename Schema::IfcProductRepresentation shape, double r, double g, double b, double a) { +typename Schema::IfcPresentationStyleAssignment setSurfaceColour_2x3(hierarchy_helper& file, typename Schema::IfcProductRepresentation shape, double r, double g, double b, double a) { typename Schema::IfcPresentationStyleAssignment style_assignment = addStyleAssignment_2x3(file, r, g, b, a); setSurfaceColour_2x3(file, shape, style_assignment); return style_assignment; } template -typename Schema::IfcPresentationStyle setSurfaceColour_4x3(IfcHierarchyHelper& file, typename Schema::IfcProductRepresentation shape, double r, double g, double b, double a) { +typename Schema::IfcPresentationStyle setSurfaceColour_4x3(hierarchy_helper& file, typename Schema::IfcProductRepresentation shape, double r, double g, double b, double a) { typename Schema::IfcPresentationStyle style_assignment = addStyleAssignment_4x3(file, r, g, b, a); setSurfaceColour_4x3(file, shape, style_assignment); return style_assignment; } template -typename Schema::IfcPresentationStyleAssignment setSurfaceColour_2x3(IfcHierarchyHelper& file, typename Schema::IfcRepresentation shape, double r, double g, double b, double a) { +typename Schema::IfcPresentationStyleAssignment setSurfaceColour_2x3(hierarchy_helper& file, typename Schema::IfcRepresentation shape, double r, double g, double b, double a) { typename Schema::IfcPresentationStyleAssignment style_assignment = addStyleAssignment_2x3(file, r, g, b, a); setSurfaceColour_2x3(file, shape, style_assignment); return style_assignment; } template -typename Schema::IfcPresentationStyle setSurfaceColour_4x3(IfcHierarchyHelper& file, typename Schema::IfcRepresentation shape, double r, double g, double b, double a) { +typename Schema::IfcPresentationStyle setSurfaceColour_4x3(hierarchy_helper& file, typename Schema::IfcRepresentation shape, double r, double g, double b, double a) { typename Schema::IfcPresentationStyle style_assignment = addStyleAssignment_4x3(file, r, g, b, a); setSurfaceColour_4x3(file, shape, style_assignment); return style_assignment; } template -void setSurfaceColour_2x3(IfcHierarchyHelper& file, typename Schema::IfcProductRepresentation shape, typename Schema::IfcPresentationStyleAssignment style_assignment) { +void setSurfaceColour_2x3(hierarchy_helper& file, typename Schema::IfcProductRepresentation shape, typename Schema::IfcPresentationStyleAssignment style_assignment) { auto reps = shape.Representations(); for (auto& rep : reps) { setSurfaceColour_2x3(file, rep, style_assignment); @@ -535,7 +535,7 @@ void setSurfaceColour_2x3(IfcHierarchyHelper& file, typename Schema::Ifc } template -void setSurfaceColour_4x3(IfcHierarchyHelper& file, typename Schema::IfcProductRepresentation shape, typename Schema::IfcPresentationStyle style) { +void setSurfaceColour_4x3(hierarchy_helper& file, typename Schema::IfcProductRepresentation shape, typename Schema::IfcPresentationStyle style) { auto reps = shape.Representations(); for (auto& rep : reps) { setSurfaceColour_4x3(file, rep, style); @@ -543,7 +543,7 @@ void setSurfaceColour_4x3(IfcHierarchyHelper& file, typename Schema::Ifc } #ifdef HAS_SCHEMA_2x3 -Ifc2x3::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc2x3::IfcRepresentationItem& item, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment) { +Ifc2x3::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc2x3::IfcRepresentationItem& item, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style_assignment}); @@ -552,7 +552,7 @@ Ifc2x3::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc2x3:: #endif #ifdef HAS_SCHEMA_4 -Ifc4::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, Ifc4::IfcRepresentationItem item, Ifc4::IfcPresentationStyleAssignment style_assignment) { +Ifc4::IfcStyledItem create_styled_item(ifcopenshell::file* file, Ifc4::IfcRepresentationItem item, Ifc4::IfcPresentationStyleAssignment style_assignment) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style_assignment}); @@ -561,7 +561,7 @@ Ifc4::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, Ifc4::IfcReprese #endif #ifdef HAS_SCHEMA_4x1 -Ifc4x1::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x1::IfcRepresentationItem& item, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment) { +Ifc4x1::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x1::IfcRepresentationItem& item, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style_assignment}); @@ -570,7 +570,7 @@ Ifc4x1::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x1:: #endif #ifdef HAS_SCHEMA_4x2 -Ifc4x2::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x2::IfcRepresentationItem& item, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment) { +Ifc4x2::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x2::IfcRepresentationItem& item, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style_assignment}); @@ -579,7 +579,7 @@ Ifc4x2::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x2:: #endif #ifdef HAS_SCHEMA_4x3_rc1 -Ifc4x3_rc1::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x3_rc1::IfcRepresentationItem& item, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment) { +Ifc4x3_rc1::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3_rc1::IfcRepresentationItem& item, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style_assignment}); @@ -588,7 +588,7 @@ Ifc4x3_rc1::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4 #endif #ifdef HAS_SCHEMA_4x3_rc2 -Ifc4x3_rc2::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x3_rc2::IfcRepresentationItem& item, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment) { +Ifc4x3_rc2::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3_rc2::IfcRepresentationItem& item, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style_assignment}); @@ -597,7 +597,7 @@ Ifc4x3_rc2::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4 #endif #ifdef HAS_SCHEMA_4x3_rc3 -Ifc4x3_rc3::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x3_rc3::IfcRepresentationItem& item, const Ifc4x3_rc3::IfcPresentationStyle& style) { +Ifc4x3_rc3::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3_rc3::IfcRepresentationItem& item, const Ifc4x3_rc3::IfcPresentationStyle& style) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style}); @@ -606,7 +606,7 @@ Ifc4x3_rc3::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4 #endif #ifdef HAS_SCHEMA_4x3_rc4 -Ifc4x3_rc4::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x3_rc4::IfcRepresentationItem& item, const Ifc4x3_rc4::IfcPresentationStyle& style) { +Ifc4x3_rc4::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3_rc4::IfcRepresentationItem& item, const Ifc4x3_rc4::IfcPresentationStyle& style) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style}); @@ -615,7 +615,7 @@ Ifc4x3_rc4::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4 #endif #ifdef HAS_SCHEMA_4x3 -Ifc4x3::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x3::IfcRepresentationItem& item, const Ifc4x3::IfcPresentationStyle& style) { +Ifc4x3::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3::IfcRepresentationItem& item, const Ifc4x3::IfcPresentationStyle& style) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style}); @@ -624,7 +624,7 @@ Ifc4x3::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x3:: #endif #ifdef HAS_SCHEMA_4x3_tc1 -Ifc4x3_tc1::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x3_tc1::IfcRepresentationItem& item, const Ifc4x3_tc1::IfcPresentationStyle& style) { +Ifc4x3_tc1::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3_tc1::IfcRepresentationItem& item, const Ifc4x3_tc1::IfcPresentationStyle& style) { auto sitem = file.crefile->createate(); sitem.setItem(item); sitem.setStyles(std::vector{style}); @@ -633,7 +633,7 @@ Ifc4x3_tc1::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4 #endif #ifdef HAS_SCHEMA_4x3_add1 -Ifc4x3_add1::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x3_add1::IfcRepresentationItem& item, const Ifc4x3_add1::IfcPresentationStyle& style) { +Ifc4x3_add1::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3_add1::IfcRepresentationItem& item, const Ifc4x3_add1::IfcPresentationStyle& style) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style}); @@ -642,7 +642,7 @@ Ifc4x3_add1::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc #endif #ifdef HAS_SCHEMA_4x3_add2 -Ifc4x3_add2::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc4x3_add2::IfcRepresentationItem& item, const Ifc4x3_add2::IfcPresentationStyle& style) { +Ifc4x3_add2::IfcStyledItem create_styled_item(ifcopenshell::file* file, const Ifc4x3_add2::IfcRepresentationItem& item, const Ifc4x3_add2::IfcPresentationStyle& style) { auto sitem = file->create(); sitem.setItem(item); sitem.setStyles(std::vector{style}); @@ -651,7 +651,7 @@ Ifc4x3_add2::IfcStyledItem create_styled_item(IfcParse::IfcFile* file, const Ifc #endif template -void setSurfaceColour_2x3(IfcHierarchyHelper& file, typename Schema::IfcRepresentation rep, typename Schema::IfcPresentationStyleAssignment style_assignment) { +void setSurfaceColour_2x3(hierarchy_helper& file, typename Schema::IfcRepresentation rep, typename Schema::IfcPresentationStyleAssignment style_assignment) { auto items = rep.Items(); for (auto& item : items) { create_styled_item(&file, item, style_assignment); @@ -659,7 +659,7 @@ void setSurfaceColour_2x3(IfcHierarchyHelper& file, typename Schema::Ifc } template -void setSurfaceColour_4x3(IfcHierarchyHelper& file, typename Schema::IfcRepresentation rep, typename Schema::IfcPresentationStyle style) { +void setSurfaceColour_4x3(hierarchy_helper& file, typename Schema::IfcRepresentation rep, typename Schema::IfcPresentationStyle style) { // @todo is there still a difference here? auto items = rep.Items(); for (auto& item : items) { @@ -668,271 +668,271 @@ void setSurfaceColour_4x3(IfcHierarchyHelper& file, typename Schema::Ifc } #ifdef HAS_SCHEMA_2x3 -Ifc2x3::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc2x3::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_2x3(file, r, g, b, a); } -Ifc2x3::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc2x3::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc2x3::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc2x3::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -Ifc2x3::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc2x3::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc2x3::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc2x3::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc2x3::IfcProductRepresentation& shape, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc2x3::IfcProductRepresentation& shape, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc2x3::IfcRepresentation& shape, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc2x3::IfcRepresentation& shape, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } #endif #ifdef HAS_SCHEMA_4 -Ifc4::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_2x3(file, r, g, b, a); } -Ifc4::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, Ifc4::IfcProductRepresentation shape, double r, double g, double b, double a) { +Ifc4::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, Ifc4::IfcProductRepresentation shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -Ifc4::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, Ifc4::IfcRepresentation shape, double r, double g, double b, double a) { +Ifc4::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, Ifc4::IfcRepresentation shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, Ifc4::IfcProductRepresentation shape, Ifc4::IfcPresentationStyleAssignment style_assignment) { +void setSurfaceColour(hierarchy_helper& file, Ifc4::IfcProductRepresentation shape, Ifc4::IfcPresentationStyleAssignment style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } -void setSurfaceColour(IfcHierarchyHelper& file, Ifc4::IfcRepresentation shape, Ifc4::IfcPresentationStyleAssignment style_assignment) { +void setSurfaceColour(hierarchy_helper& file, Ifc4::IfcRepresentation shape, Ifc4::IfcPresentationStyleAssignment style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } #endif #ifdef HAS_SCHEMA_4x1 -Ifc4x1::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x1::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_2x3(file, r, g, b, a); } -Ifc4x1::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x1::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x1::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x1::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -Ifc4x1::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x1::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x1::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x1::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x1::IfcProductRepresentation& shape, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x1::IfcProductRepresentation& shape, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x1::IfcRepresentation& shape, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x1::IfcRepresentation& shape, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } #endif #ifdef HAS_SCHEMA_4x2 -Ifc4x2::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x2::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_2x3(file, r, g, b, a); } -Ifc4x2::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x2::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x2::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x2::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -Ifc4x2::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x2::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x2::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x2::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x2::IfcProductRepresentation& shape, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x2::IfcProductRepresentation& shape, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x2::IfcRepresentation& shape, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x2::IfcRepresentation& shape, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } #endif #ifdef HAS_SCHEMA_4x3_rc1 -Ifc4x3_rc1::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x3_rc1::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_2x3(file, r, g, b, a); } -Ifc4x3_rc1::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc1::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_rc1::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc1::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -Ifc4x3_rc1::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc1::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_rc1::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc1::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc1::IfcProductRepresentation& shape, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc1::IfcProductRepresentation& shape, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc1::IfcRepresentation& shape, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc1::IfcRepresentation& shape, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } #endif #ifdef HAS_SCHEMA_4x3_rc2 -Ifc4x3_rc2::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x3_rc2::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_2x3(file, r, g, b, a); } -Ifc4x3_rc2::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc2::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_rc2::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc2::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -Ifc4x3_rc2::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc2::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_rc2::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc2::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_2x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc2::IfcProductRepresentation& shape, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc2::IfcProductRepresentation& shape, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc2::IfcRepresentation& shape, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc2::IfcRepresentation& shape, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment) { setSurfaceColour_2x3(file, shape, style_assignment); } #endif #ifdef HAS_SCHEMA_4x3_rc3 -Ifc4x3_rc3::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x3_rc3::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_4x3(file, r, g, b, a); } -Ifc4x3_rc3::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc3::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_rc3::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc3::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -Ifc4x3_rc3::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc3::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_rc3::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc3::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc3::IfcProductRepresentation& shape, const Ifc4x3_rc3::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc3::IfcProductRepresentation& shape, const Ifc4x3_rc3::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc3::IfcRepresentation& shape, const Ifc4x3_rc3::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc3::IfcRepresentation& shape, const Ifc4x3_rc3::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } #endif #ifdef HAS_SCHEMA_4x3_rc4 -Ifc4x3_rc4::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x3_rc4::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_4x3(file, r, g, b, a); } -Ifc4x3_rc4::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc4::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_rc4::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc4::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -Ifc4x3_rc4::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc4::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_rc4::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc4::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc4::IfcProductRepresentation& shape, const Ifc4x3_rc4::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc4::IfcProductRepresentation& shape, const Ifc4x3_rc4::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc4::IfcRepresentation& shape, const Ifc4x3_rc4::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc4::IfcRepresentation& shape, const Ifc4x3_rc4::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } #endif #ifdef HAS_SCHEMA_4x3 -Ifc4x3::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x3::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_4x3(file, r, g, b, a); } -Ifc4x3::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -Ifc4x3::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3::IfcProductRepresentation& shape, const Ifc4x3::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3::IfcProductRepresentation& shape, const Ifc4x3::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3::IfcRepresentation& shape, const Ifc4x3::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3::IfcRepresentation& shape, const Ifc4x3::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } #endif #ifdef HAS_SCHEMA_4x3_tc1 -Ifc4x3_tc1::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x3_tc1::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_4x3(file, r, g, b, a); } -Ifc4x3_tc1::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_tc1::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_tc1::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_tc1::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -Ifc4x3_tc1::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_tc1::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_tc1::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_tc1::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_tc1::IfcProductRepresentation& shape, const Ifc4x3_tc1::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_tc1::IfcProductRepresentation& shape, const Ifc4x3_tc1::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_tc1::IfcRepresentation& shape, const Ifc4x3_tc1::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_tc1::IfcRepresentation& shape, const Ifc4x3_tc1::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } #endif #ifdef HAS_SCHEMA_4x3_add1 -Ifc4x3_add1::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x3_add1::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_4x3(file, r, g, b, a); } -Ifc4x3_add1::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add1::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_add1::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add1::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -Ifc4x3_add1::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add1::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_add1::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add1::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add1::IfcProductRepresentation& shape, const Ifc4x3_add1::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add1::IfcProductRepresentation& shape, const Ifc4x3_add1::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add1::IfcRepresentation& shape, const Ifc4x3_add1::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add1::IfcRepresentation& shape, const Ifc4x3_add1::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } #endif #ifdef HAS_SCHEMA_4x3_add2 -Ifc4x3_add2::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a) { +Ifc4x3_add2::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a) { return addStyleAssignment_4x3(file, r, g, b, a); } -Ifc4x3_add2::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcProductRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_add2::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add2::IfcProductRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -Ifc4x3_add2::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcRepresentation& shape, double r, double g, double b, double a) { +Ifc4x3_add2::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add2::IfcRepresentation& shape, double r, double g, double b, double a) { return setSurfaceColour_4x3(file, shape, r, g, b, a); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcProductRepresentation& shape, const Ifc4x3_add2::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add2::IfcProductRepresentation& shape, const Ifc4x3_add2::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } -void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcRepresentation& shape, const Ifc4x3_add2::IfcPresentationStyle& style) { +void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add2::IfcRepresentation& shape, const Ifc4x3_add2::IfcPresentationStyle& style) { setSurfaceColour_4x3(file, shape, style); } #endif template -typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addMappedItem( +typename Schema::IfcProductDefinitionShape hierarchy_helper::addMappedItem( typename Schema::IfcShapeRepresentation rep, typename Schema::IfcCartesianTransformationOperator3D transform, typename Schema::IfcProductDefinitionShape def) @@ -982,7 +982,7 @@ typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addMapped } template -typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addMappedItem( +typename Schema::IfcProductDefinitionShape hierarchy_helper::addMappedItem( std::vector& reps, typename Schema::IfcCartesianTransformationOperator3D transform) { @@ -994,13 +994,13 @@ typename Schema::IfcProductDefinitionShape IfcHierarchyHelper::addMapped } template -typename Schema::IfcShapeRepresentation IfcHierarchyHelper::addEmptyRepresentation(const std::string& repid, const std::string& reptype) { +typename Schema::IfcShapeRepresentation hierarchy_helper::addEmptyRepresentation(const std::string& repid, const std::string& reptype) { auto shape_rep = create(); shape_rep.setContextOfItems(getRepresentationContext(reptype == "Curve2D" ? "Plan" : "Model")); shape_rep.setRepresentationIdentifier(repid); shape_rep.setRepresentationType(reptype); shape_rep.setItems(std::vector{}); - addEntity(shape_rep); + add_entity(shape_rep); return shape_rep; } @@ -1022,7 +1022,7 @@ void push_back_to_maybe_optional(std::optional>& t, const U& u) { } // namespace template -typename Schema::IfcGeometricRepresentationContext IfcHierarchyHelper::getRepresentationContext(const std::string& s) { +typename Schema::IfcGeometricRepresentationContext hierarchy_helper::getRepresentationContext(const std::string& s) { auto iter = contexts_.find(s); if (iter != contexts_.end()) { return iter->second; @@ -1046,7 +1046,7 @@ typename Schema::IfcGeometricRepresentationContext IfcHierarchyHelper::g } template -typename Schema::IfcGeometricRepresentationSubContext IfcHierarchyHelper::getRepresentationSubContext(const std::string& ident, const std::string& type) { +typename Schema::IfcGeometricRepresentationSubContext hierarchy_helper::getRepresentationSubContext(const std::string& ident, const std::string& type) { auto geometric_representation_context = getRepresentationContext(type); // creates the representation context if it doesn't already exist // search for a subcontext that matches the ContextIdentifier @@ -1072,38 +1072,38 @@ typename Schema::IfcGeometricRepresentationSubContext IfcHierarchyHelper } #ifdef HAS_SCHEMA_2x3 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x1 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x2 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x3_rc1 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x3_rc2 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x3_rc3 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x3_rc4 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x3 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x3_tc1 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x3_add1 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif #ifdef HAS_SCHEMA_4x3_add2 -template IFC_PARSE_API class IfcHierarchyHelper; +template IFC_PARSE_API class hierarchy_helper; #endif diff --git a/src/ifcparse/IfcHierarchyHelper.h b/src/ifcparse/hierarchy_helper.h similarity index 75% rename from src/ifcparse/IfcHierarchyHelper.h rename to src/ifcparse/hierarchy_helper.h index 862732e4f7..08a6d99414 100644 --- a/src/ifcparse/IfcHierarchyHelper.h +++ b/src/ifcparse/hierarchy_helper.h @@ -19,7 +19,7 @@ /******************************************************************************** * * - * This class is a subclass of the regular IfcFile class that implements * + * This class is a subclass of the regular file class that implements * * several convenience functions for creating geometrical representations and * * spatial containers. * * * @@ -29,7 +29,7 @@ #define IFCHIERARCHYHELPER_H #include "ifc_parse_api.h" -#include "IfcLogger.h" +#include "logger.h" #include @@ -70,9 +70,8 @@ #include "schemas/Ifc4x3_add2.h" #endif -#include "IfcFile.h" -#include "IfcGlobalId.h" -#include "IfcWrite.h" +#include "file.h" +#include "global_id.h" namespace { #ifdef HAS_SCHEMA_2x3 @@ -360,9 +359,9 @@ void set_children_of_relation(express::Base& t, std::vector& cs) } } // namespace template -class IFC_PARSE_API IfcHierarchyHelper : public IfcParse::IfcFile { +class IFC_PARSE_API hierarchy_helper : public ifcopenshell::file { public: - IfcHierarchyHelper() : IfcParse::IfcFile(&Schema::get_schema()) {} + hierarchy_helper() : ifcopenshell::file(&Schema::get_schema()) {} template T addTriplet(double x, double y, double z) { @@ -420,7 +419,7 @@ class IFC_PARSE_API IfcHierarchyHelper : public IfcParse::IfcFile { for (auto & rel : li) { if (rel.RelatingType() == relating_object) { auto objects = rel.RelatedObjects(); - objects.push_back(addEntity(related_object).template as()); + objects.push_back(add_entity(related_object).template as()); rel.setRelatedObjects(objects); found = true; break; @@ -435,7 +434,7 @@ class IFC_PARSE_API IfcHierarchyHelper : public IfcParse::IfcFile { } std::vector related_objects = {related_object.template as()}; auto t = create(); - t.setGlobalId(IfcParse::IfcGlobalId()); + t.setGlobalId(ifcopenshell::global_id()); t.setOwnerHistory(owner_hist); t.setRelatedObjects(related_objects); t.setRelatingType(relating_object.template as()); @@ -447,15 +446,15 @@ class IFC_PARSE_API IfcHierarchyHelper : public IfcParse::IfcFile { try { if (get_parent_of_relation(rel) == relating_object) { auto products = get_children_of_relation(rel); - products.push_back(addEntity(related_object)); + products.push_back(add_entity(related_object)); set_children_of_relation(rel, products); found = true; break; } } catch (std::exception& e) { - Logger::Error(e); + logger::error(e); } catch (...) { - Logger::Error("Unknown error in addRelatedObject()"); + logger::error("Unknown error in addRelatedObject()"); } } if (!found) { @@ -470,7 +469,7 @@ class IFC_PARSE_API IfcHierarchyHelper : public IfcParse::IfcFile { related_objects.push_back(related_object); T t = create(); - t.set_attribute_value(0, (std::string)IfcParse::IfcGlobalId()); + t.set_attribute_value(0, (std::string)ifcopenshell::global_id()); t.set_attribute_value(1, owner_hist); int relating_index = 4; int related_index = 5; @@ -535,99 +534,99 @@ class IFC_PARSE_API IfcHierarchyHelper : public IfcParse::IfcFile { }; #ifdef HAS_SCHEMA_2x3 -IFC_PARSE_API Ifc2x3::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc2x3::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc2x3::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc2x3::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc2x3::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc2x3::IfcProductRepresentation& shape, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc2x3::IfcRepresentation& shape, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API Ifc2x3::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc2x3::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc2x3::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc2x3::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc2x3::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc2x3::IfcProductRepresentation& shape, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc2x3::IfcRepresentation& shape, const Ifc2x3::IfcPresentationStyleAssignment& style_assignment); #endif #ifdef HAS_SCHEMA_4 -IFC_PARSE_API Ifc4::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4::IfcProductRepresentation& shape, const Ifc4::IfcPresentationStyleAssignment& style_assignment); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4::IfcRepresentation& shape, const Ifc4::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API Ifc4::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4::IfcProductRepresentation& shape, const Ifc4::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4::IfcRepresentation& shape, const Ifc4::IfcPresentationStyleAssignment& style_assignment); #endif #ifdef HAS_SCHEMA_4x1 -IFC_PARSE_API Ifc4x1::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x1::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x1::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x1::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x1::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x1::IfcProductRepresentation& shape, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x1::IfcRepresentation& shape, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API Ifc4x1::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x1::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x1::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x1::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x1::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x1::IfcProductRepresentation& shape, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x1::IfcRepresentation& shape, const Ifc4x1::IfcPresentationStyleAssignment& style_assignment); #endif #ifdef HAS_SCHEMA_4x2 -IFC_PARSE_API Ifc4x2::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x2::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x2::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x2::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x2::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x2::IfcProductRepresentation& shape, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x2::IfcRepresentation& shape, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API Ifc4x2::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x2::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x2::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x2::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x2::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x2::IfcProductRepresentation& shape, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x2::IfcRepresentation& shape, const Ifc4x2::IfcPresentationStyleAssignment& style_assignment); #endif #ifdef HAS_SCHEMA_4x3_rc1 -IFC_PARSE_API Ifc4x3_rc1::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_rc1::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc1::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_rc1::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc1::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc1::IfcProductRepresentation& shape, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc1::IfcRepresentation& shape, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API Ifc4x3_rc1::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_rc1::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc1::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_rc1::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc1::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc1::IfcProductRepresentation& shape, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc1::IfcRepresentation& shape, const Ifc4x3_rc1::IfcPresentationStyleAssignment& style_assignment); #endif #ifdef HAS_SCHEMA_4x3_rc2 -IFC_PARSE_API Ifc4x3_rc2::IfcPresentationStyleAssignment addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_rc2::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc2::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_rc2::IfcPresentationStyleAssignment setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc2::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc2::IfcProductRepresentation& shape, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc2::IfcRepresentation& shape, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API Ifc4x3_rc2::IfcPresentationStyleAssignment addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_rc2::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc2::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_rc2::IfcPresentationStyleAssignment setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc2::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc2::IfcProductRepresentation& shape, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc2::IfcRepresentation& shape, const Ifc4x3_rc2::IfcPresentationStyleAssignment& style_assignment); #endif #ifdef HAS_SCHEMA_4x3_rc3 -IFC_PARSE_API Ifc4x3_rc3::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_rc3::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc3::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_rc3::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc3::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc3::IfcProductRepresentation& shape, const Ifc4x3_rc3::IfcPresentationStyle& style); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc3::IfcRepresentation& shape, const Ifc4x3_rc3::IfcPresentationStyle& style); +IFC_PARSE_API Ifc4x3_rc3::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_rc3::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc3::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_rc3::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc3::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc3::IfcProductRepresentation& shape, const Ifc4x3_rc3::IfcPresentationStyle& style); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc3::IfcRepresentation& shape, const Ifc4x3_rc3::IfcPresentationStyle& style); #endif #ifdef HAS_SCHEMA_4x3_rc4 -IFC_PARSE_API Ifc4x3_rc4::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_rc4::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc4::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_rc4::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc4::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc4::IfcProductRepresentation& shape, const Ifc4x3_rc4::IfcPresentationStyle& style); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_rc4::IfcRepresentation& shape, const Ifc4x3_rc4::IfcPresentationStyle& style); +IFC_PARSE_API Ifc4x3_rc4::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_rc4::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc4::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_rc4::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc4::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc4::IfcProductRepresentation& shape, const Ifc4x3_rc4::IfcPresentationStyle& style); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_rc4::IfcRepresentation& shape, const Ifc4x3_rc4::IfcPresentationStyle& style); #endif #ifdef HAS_SCHEMA_4x3 -IFC_PARSE_API Ifc4x3::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3::IfcProductRepresentation& shape, const Ifc4x3::IfcPresentationStyle& style); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3::IfcRepresentation& shape, const Ifc4x3::IfcPresentationStyle& style); +IFC_PARSE_API Ifc4x3::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3::IfcProductRepresentation& shape, const Ifc4x3::IfcPresentationStyle& style); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3::IfcRepresentation& shape, const Ifc4x3::IfcPresentationStyle& style); #endif #ifdef HAS_SCHEMA_4x3_tc1 -IFC_PARSE_API Ifc4x3_tc1::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_tc1::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_tc1::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_tc1::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_tc1::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_tc1::IfcProductRepresentation& shape, const Ifc4x3_tc1::IfcPresentationStyle& style); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_tc1::IfcRepresentation& shape, const Ifc4x3_tc1::IfcPresentationStyle& style); +IFC_PARSE_API Ifc4x3_tc1::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_tc1::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_tc1::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_tc1::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_tc1::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_tc1::IfcProductRepresentation& shape, const Ifc4x3_tc1::IfcPresentationStyle& style); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_tc1::IfcRepresentation& shape, const Ifc4x3_tc1::IfcPresentationStyle& style); #endif #ifdef HAS_SCHEMA_4x3_add1 -IFC_PARSE_API Ifc4x3_add1::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_add1::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add1::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_add1::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add1::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add1::IfcProductRepresentation& shape, const Ifc4x3_add1::IfcPresentationStyle& style); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add1::IfcRepresentation& shape, const Ifc4x3_add1::IfcPresentationStyle& style); +IFC_PARSE_API Ifc4x3_add1::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_add1::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add1::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_add1::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add1::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add1::IfcProductRepresentation& shape, const Ifc4x3_add1::IfcPresentationStyle& style); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add1::IfcRepresentation& shape, const Ifc4x3_add1::IfcPresentationStyle& style); #endif #ifdef HAS_SCHEMA_4x3_add2 -IFC_PARSE_API Ifc4x3_add2::IfcPresentationStyle addStyleAssignment(IfcHierarchyHelper& file, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_add2::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API Ifc4x3_add2::IfcPresentationStyle setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcProductRepresentation& shape, const Ifc4x3_add2::IfcPresentationStyle& style); -IFC_PARSE_API void setSurfaceColour(IfcHierarchyHelper& file, const Ifc4x3_add2::IfcRepresentation& shape, const Ifc4x3_add2::IfcPresentationStyle& style); +IFC_PARSE_API Ifc4x3_add2::IfcPresentationStyle addStyleAssignment(hierarchy_helper& file, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_add2::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add2::IfcProductRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API Ifc4x3_add2::IfcPresentationStyle setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add2::IfcRepresentation& shape, double r, double g, double b, double a = 1.0); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add2::IfcProductRepresentation& shape, const Ifc4x3_add2::IfcPresentationStyle& style); +IFC_PARSE_API void setSurfaceColour(hierarchy_helper& file, const Ifc4x3_add2::IfcRepresentation& shape, const Ifc4x3_add2::IfcPresentationStyle& style); #endif #endif diff --git a/src/ifcparse/InstanceData.h b/src/ifcparse/instance_data.h similarity index 74% rename from src/ifcparse/InstanceData.h rename to src/ifcparse/instance_data.h index f087374199..8f0b049853 100644 --- a/src/ifcparse/InstanceData.h +++ b/src/ifcparse/instance_data.h @@ -21,9 +21,9 @@ #define InstanceData_H #include "express.h" -#include "ArgumentType.h" -#include "variantarray.h" -#include "IfcSchema.h" +#include "argument_type.h" +#include "variant_array.h" +#include "schema.h" #include "storage.h" #ifdef IFOPSH_WITH_ROCKSDB @@ -40,13 +40,13 @@ #include #include -class IFC_PARSE_API EnumerationReference { +class IFC_PARSE_API enumeration_reference { private: - const IfcParse::enumeration_type* enumeration_; + const ifcopenshell::enumeration_type* enumeration_; size_t index_; public: - EnumerationReference(const IfcParse::enumeration_type* enumeration = nullptr, size_t index = 0) + enumeration_reference(const ifcopenshell::enumeration_type* enumeration = nullptr, size_t index = 0) : enumeration_(enumeration) , index_(index) {} @@ -59,12 +59,12 @@ public: return index_; } - const IfcParse::enumeration_type* enumeration() const { + const ifcopenshell::enumeration_type* enumeration() const { return enumeration_; } }; -class IFC_PARSE_API Blank {}; -class IFC_PARSE_API Derived {}; +class IFC_PARSE_API blank {}; +class IFC_PARSE_API derived {}; class IFC_PARSE_API empty_aggregate_t {}; class IFC_PARSE_API empty_aggregate_of_aggregate_t {}; @@ -75,10 +75,10 @@ struct parameter_pack { typedef parameter_pack < // A null argument, it will always serialize to $ - Blank, - // @todo Derived is not really necessary anymore, just serialize correctly based on schema + blank, + // @todo derived is not really necessary anymore, just serialize correctly based on schema // A derived argument, it will always serialize to * - Derived, + derived, // An integer argument, e.g. 123 // SCALARS: @@ -99,7 +99,7 @@ typedef parameter_pack < // which is stored internally as an integer. The argument // itself does not keep track of what schema enumeration // type is represented. - EnumerationReference, + enumeration_reference, // An entity instance argument. It will either serialize to // e.g. #123 or datatype identifier for simple types, e.g. // IFCREAL(12.3) @@ -135,7 +135,7 @@ struct pack_to_variant_array; template struct pack_to_variant_array> { - using type = VariantArray; + using type = variant_array; }; using in_memory_attribute_storage = pack_to_variant_array::type; @@ -153,13 +153,13 @@ struct TypeEncoder_t> { using TypeEncoder = TypeEncoder_t; -class IFC_PARSE_API MutableAttributeValue { +class IFC_PARSE_API mutable_attribute_value { public: uint32_t name_; uint8_t index_; }; -namespace IfcParse { +namespace ifcopenshell { namespace impl { class IFC_PARSE_API rocks_db_file_storage; } @@ -210,9 +210,9 @@ namespace impl { return true; } - bool serialize(std::string& val, const Blank& t); + bool serialize(std::string& val, const blank& t); - bool serialize(std::string& val, const Derived& t); + bool serialize(std::string& val, const derived& t); bool serialize(std::string& val, const empty_aggregate_t& t); bool serialize(std::string& val, const empty_aggregate_of_aggregate_t& t); @@ -222,14 +222,14 @@ namespace impl { bool serialize(std::string& val, const express::Base& t); - bool serialize(std::string& val, const EnumerationReference& v); + bool serialize(std::string& val, const enumeration_reference& v); bool serialize(std::string& val, const std::vector& t); bool serialize(std::string& val, const std::vector>& t); template ::value && !is_contiguous_container::value, int>::type = 0> - bool deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, T& t, bool prefixed = true) { + bool deserialize(ifcopenshell::impl::rocks_db_file_storage*, const std::string& val, T& t, bool prefixed = true) { if (prefixed && val[0] != TypeEncoder::encode_type()) { return false; } @@ -240,7 +240,7 @@ namespace impl { } template ::value && is_contiguous_container::value, int>::type = 0> - bool deserialize(IfcParse::impl::rocks_db_file_storage* storage, const std::string& val, T& t) { + bool deserialize(ifcopenshell::impl::rocks_db_file_storage* storage, const std::string& val, T& t) { // @todo auto ptr = val.data(); if (*ptr != TypeEncoder::encode_type()) { @@ -262,7 +262,7 @@ namespace impl { } template || std::is_floating_point_v, int>::type = 0> - bool deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, T & t) { + bool deserialize(ifcopenshell::impl::rocks_db_file_storage*, const std::string& val, T & t) { if (val[0] != TypeEncoder::encode_type()) { return false; } @@ -270,29 +270,29 @@ namespace impl { return true; } - bool deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, boost::logic::tribool& t); + bool deserialize(ifcopenshell::impl::rocks_db_file_storage*, const std::string& val, boost::logic::tribool& t); - bool deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, boost::dynamic_bitset<>& t); + bool deserialize(ifcopenshell::impl::rocks_db_file_storage*, const std::string& val, boost::dynamic_bitset<>& t); - bool deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, std::vector& t); + bool deserialize(ifcopenshell::impl::rocks_db_file_storage*, const std::string& val, std::vector& t); - bool deserialize(IfcParse::impl::rocks_db_file_storage*, const std::string& val, std::vector>& t); + bool deserialize(ifcopenshell::impl::rocks_db_file_storage*, const std::string& val, std::vector>& t); } #endif // short lived -class IFC_PARSE_API AttributeValue { +class IFC_PARSE_API attribute_value { uint8_t index_; uint8_t storage_model_ = 0; - const IfcParse::declaration* entity_or_type_ = 0; + const ifcopenshell::declaration* entity_or_type_ = 0; size_t instance_name_; public: union pointer_type { const in_memory_attribute_storage* storage_ptr; - IfcParse::impl::rocks_db_file_storage* db_ptr; - pointer_type(IfcParse::impl::rocks_db_file_storage* db) : db_ptr(db) {} + ifcopenshell::impl::rocks_db_file_storage* db_ptr; + pointer_type(ifcopenshell::impl::rocks_db_file_storage* db) : db_ptr(db) {} pointer_type(const in_memory_attribute_storage* ims) : storage_ptr(ims) {} }; @@ -300,19 +300,19 @@ private: pointer_type array_; public: - AttributeValue() + attribute_value() : index_(0) , storage_model_(0) , array_((const in_memory_attribute_storage*)nullptr) {} - AttributeValue(const in_memory_attribute_storage* arr, uint8_t index) + attribute_value(const in_memory_attribute_storage* arr, uint8_t index) : index_(index) , storage_model_(0) , array_(arr) {} - AttributeValue(IfcParse::impl::rocks_db_file_storage* db, size_t instance_name, const IfcParse::declaration* entity_or_type, uint8_t index) + attribute_value(ifcopenshell::impl::rocks_db_file_storage* db, size_t instance_name, const ifcopenshell::declaration* entity_or_type, uint8_t index) : index_(index) , storage_model_(1) , entity_or_type_(entity_or_type) @@ -338,58 +338,58 @@ public: operator std::vector>() const; operator std::vector>() const; - operator EnumerationReference() const; + operator enumeration_reference() const; bool isNull() const; unsigned int size() const; - IfcUtil::ArgumentType type() const; + ifcopenshell::argument_type type() const; template auto apply_visitor(Visitor&& visitor) const { switch (type()) { - case IfcUtil::Argument_DERIVED: - return visitor(Derived{}); - case IfcUtil::Argument_INT: + case ifcopenshell::Argument_DERIVED: + return visitor(derived{}); + case ifcopenshell::Argument_INT: return visitor((int)*this); - case IfcUtil::Argument_BOOL: + case ifcopenshell::Argument_BOOL: return visitor((bool)*this); - case IfcUtil::Argument_LOGICAL: { + case ifcopenshell::Argument_LOGICAL: { boost::logic::tribool tb = *this; return visitor(tb); } - case IfcUtil::Argument_DOUBLE: + case ifcopenshell::Argument_DOUBLE: return visitor((double)*this); - case IfcUtil::Argument_STRING: + case ifcopenshell::Argument_STRING: return visitor((std::string)*this); - case IfcUtil::Argument_BINARY: + case ifcopenshell::Argument_BINARY: return visitor((boost::dynamic_bitset<>)*this); - case IfcUtil::Argument_ENUMERATION: - return visitor((EnumerationReference)*this); - case IfcUtil::Argument_ENTITY_INSTANCE: + case ifcopenshell::Argument_ENUMERATION: + return visitor((enumeration_reference)*this); + case ifcopenshell::Argument_ENTITY_INSTANCE: return visitor((express::Base) * this); - case IfcUtil::Argument_AGGREGATE_OF_INT: + case ifcopenshell::Argument_AGGREGATE_OF_INT: return visitor((std::vector)*this); - case IfcUtil::Argument_AGGREGATE_OF_DOUBLE: + case ifcopenshell::Argument_AGGREGATE_OF_DOUBLE: return visitor((std::vector)*this); - case IfcUtil::Argument_AGGREGATE_OF_STRING: + case ifcopenshell::Argument_AGGREGATE_OF_STRING: return visitor((std::vector)*this); - case IfcUtil::Argument_AGGREGATE_OF_BINARY: + case ifcopenshell::Argument_AGGREGATE_OF_BINARY: return visitor((std::vector>)*this); - case IfcUtil::Argument_AGGREGATE_OF_ENTITY_INSTANCE: + case ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE: return visitor((std::vector)*this); - case IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_INT: + case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_INT: return visitor((std::vector>)*this); - case IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE: + case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE: return visitor((std::vector>)*this); - case IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE: + case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE: return visitor((std::vector>)*this); - case IfcUtil::Argument_EMPTY_AGGREGATE: + case ifcopenshell::Argument_EMPTY_AGGREGATE: return visitor(empty_aggregate_t{}); - case IfcUtil::Argument_AGGREGATE_OF_EMPTY_AGGREGATE: + case ifcopenshell::Argument_AGGREGATE_OF_EMPTY_AGGREGATE: return visitor(empty_aggregate_of_aggregate_t{}); default: - return visitor(Blank{}); + return visitor(blank{}); } } }; @@ -400,20 +400,20 @@ public: #ifdef IFOPSH_WITH_ROCKSDB // @todo void* is obviously very ugly here template - IFC_PARSE_API void set(void* storage, const IfcParse::declaration*, std::size_t identity, std::size_t index, const T& value); + IFC_PARSE_API void set(void* storage, const ifcopenshell::declaration*, std::size_t identity, std::size_t index, const T& value); template - IFC_PARSE_API bool has(void* storage, const IfcParse::declaration* decl, std::size_t identity, std::size_t index) const; + IFC_PARSE_API bool has(void* storage, const ifcopenshell::declaration* decl, std::size_t identity, std::size_t index) const; #endif }; -class IFC_PARSE_API InstanceData { +class IFC_PARSE_API instance_data { protected: static std::atomic_uint32_t counter_; - IfcParse::IfcFile* file_; + ifcopenshell::file* file_; // @todo this could also be a 2-byte index, because we can get the schema from the file. But it wouldn't save space due to alignment - const IfcParse::declaration* declaration_; + const ifcopenshell::declaration* declaration_; uint32_t identity_; uint32_t id_; @@ -426,11 +426,11 @@ class IFC_PARSE_API InstanceData { // Since rocks_db_attribute_storage has no members this is not a variant but in_memory*, where nullptr means a rocks_db_attribute_storage is constructed on the fly given the context from instance data. in_memory_attribute_storage* storage_; - const IfcParse::declaration* declaration() const { + const ifcopenshell::declaration* declaration() const { return declaration_; } - IfcParse::IfcFile* file() const { + ifcopenshell::file* file() const { return file_; } @@ -442,13 +442,13 @@ class IFC_PARSE_API InstanceData { return id_; } - InstanceData(IfcParse::IfcFile* file, const IfcParse::declaration* declaration, uint32_t id, in_memory_attribute_storage&& storage) + instance_data(ifcopenshell::file* file, const ifcopenshell::declaration* declaration, uint32_t id, in_memory_attribute_storage&& storage) : file_(file), declaration_(declaration), identity_(counter_++), id_(id), storage_(new in_memory_attribute_storage(std::move(storage))) { populate_derived_(); } - InstanceData(IfcParse::IfcFile* file, const IfcParse::declaration* declaration, uint32_t id, rocks_db_attribute_storage&&) + instance_data(ifcopenshell::file* file, const ifcopenshell::declaration* declaration, uint32_t id, rocks_db_attribute_storage&&) : file_(file), declaration_(declaration), identity_(counter_++), id_(id), storage_(nullptr) { populate_derived_(); @@ -456,20 +456,20 @@ class IFC_PARSE_API InstanceData { /* // now that there are referenced as shared_ptr there is no move constructor anymore - InstanceData(InstanceData&& other) noexcept + instance_data(instance_data&& other) noexcept : file_(other.file_), id_(other.id_), declaration_(other.declaration_), storage_(std::exchange(other.storage_, nullptr)) {} */ // No copy-constructor/-assignment anymore because we need the instance for storage model context - InstanceData(const InstanceData&) = delete; - InstanceData& operator=(const InstanceData&) = delete; - InstanceData& operator=(InstanceData&&) = delete; - InstanceData(InstanceData&& other) noexcept = delete; + instance_data(const instance_data&) = delete; + instance_data& operator=(const instance_data&) = delete; + instance_data& operator=(instance_data&&) = delete; + instance_data(instance_data&& other) noexcept = delete; /* // same - InstanceData& operator=(InstanceData&& other) noexcept { + instance_data& operator=(instance_data&& other) noexcept { if (this != &other) { delete storage_; storage_ = std::exchange(other.storage_, nullptr); @@ -478,11 +478,11 @@ class IFC_PARSE_API InstanceData { } */ - ~InstanceData() { + ~instance_data() { delete storage_; } - AttributeValue get_attribute_value(size_t index) const; + attribute_value get_attribute_value(size_t index) const; template void set_attribute_value(std::size_t index, T&& value) { @@ -491,7 +491,7 @@ class IFC_PARSE_API InstanceData { } #ifdef IFOPSH_WITH_ROCKSDB else { - rocks_db_attribute_storage{}.set(get_storage_of_type(), declaration_, identity_, index, value); + rocks_db_attribute_storage{}.set(get_storage_of_type(), declaration_, identity_, index, value); } #endif } @@ -503,12 +503,12 @@ class IFC_PARSE_API InstanceData { } #ifdef IFOPSH_WITH_ROCKSDB else { - return rocks_db_attribute_storage{}.has(get_storage_of_type(), declaration_, identity_, index); + return rocks_db_attribute_storage{}.has(get_storage_of_type(), declaration_, identity_, index); } #endif } - void toString(std::ostream&, bool upper = false) const; + void to_string(std::ostream&, bool upper = false) const; }; #endif diff --git a/src/ifcparse/IfcLogger.cpp b/src/ifcparse/logger.cpp similarity index 72% rename from src/ifcparse/IfcLogger.cpp rename to src/ifcparse/logger.cpp index 546c381887..7f1e11e9b2 100644 --- a/src/ifcparse/IfcLogger.cpp +++ b/src/ifcparse/logger.cpp @@ -17,10 +17,10 @@ * * ********************************************************************************/ -#include "IfcLogger.h" +#include "logger.h" -#include "Argument.h" -#include "InstanceData.h" +#include "argument.h" +#include "instance_data.h" #include #include @@ -58,15 +58,15 @@ struct severity_strings { }; template <> -const std::array, 5> severity_strings::value = {"Performance", "Debug", "Notice", "Warning", "Error"}; +const std::array, 5> severity_strings::value = {"Performance", "Debug", "notice", "warning", "error"}; template <> -const std::array, 5> severity_strings::value = {L"Performance", L"Debug", L"Notice", L"Warning", L"Error"}; +const std::array, 5> severity_strings::value = {L"Performance", L"Debug", L"notice", L"warning", L"error"}; template -void plain_text_message(T& out, const express::Base& current_product, Logger::Severity type, const std::string& message, const express::Base& instance) { +void plain_text_message(T& out, const express::Base& current_product, logger::Severity type, const std::string& message, const express::Base& instance) { out << "[" << severity_strings::value[type] << "] "; - out << "[" << get_time(type <= Logger::LOG_PERF).c_str() << "] "; + out << "[" << get_time(type <= logger::LOG_PERF).c_str() << "] "; if (current_product) { std::string global_id = current_product.as().get("GlobalId"); out << "{" << global_id.c_str() << "} "; @@ -74,7 +74,7 @@ void plain_text_message(T& out, const express::Base& current_product, Logger::Se out << message.c_str() << std::endl; if (instance) { std::ostringstream oss; - instance.toString(oss); + instance.to_string(oss); auto instance_string = oss.str(); if (instance_string.size() > 259) { instance_string = instance_string.substr(0, 256) + "..."; @@ -91,7 +91,7 @@ std::basic_string string_as(const std::string& string) { } template -void json_message(T& out, const express::Base& current_product, Logger::Severity type, const std::string& message, const express::Base& instance) { +void json_message(T& out, const express::Base& current_product, logger::Severity type, const std::string& message, const express::Base& instance) { boost::property_tree::basic_ptree, std::basic_string> property_tree; // @todo this is crazy @@ -104,13 +104,13 @@ void json_message(T& out, const express::Base& current_product, Logger::Severity property_tree.put(level_string, severity_strings::value[type]); if (current_product) { std::ostringstream oss; - current_product.toString(oss); + current_product.to_string(oss); property_tree.put(product_string, string_as(oss.str())); } property_tree.put(message_string, string_as(message)); if (instance) { std::ostringstream oss; - instance.toString(oss); + instance.to_string(oss); property_tree.put(instance_string, string_as(oss.str())); } @@ -126,18 +126,18 @@ void json_message(T& out, const express::Base& current_product, Logger::Severity } } // namespace -void Logger::SetProduct(std::optional product) { +void logger::set_product(std::optional product) { if (verbosity_ <= LOG_DEBUG && product) { - Message(LOG_DEBUG, "Begin processing", *product); + message(LOG_DEBUG, "Begin processing", *product); } if (!product && print_perf_stats_on_element_) { - PrintPerformanceStats(); + print_performance_stats(); performance_statistics_.clear(); } current_product_ = product.value_or(express::Base{}); } -void Logger::SetOutput(std::ostream* stream1, std::ostream* stream2) { +void logger::set_output(std::ostream* stream1, std::ostream* stream2) { wlog1_ = wlog2_ = 0; log1_ = stream1; log2_ = stream2; @@ -146,7 +146,7 @@ void Logger::SetOutput(std::ostream* stream1, std::ostream* stream2) { } } -void Logger::SetOutput(std::wostream* stream1, std::wostream* stream2) { +void logger::set_output(std::wostream* stream1, std::wostream* stream2) { log1_ = log2_ = 0; wlog1_ = stream1; wlog2_ = stream2; @@ -155,7 +155,7 @@ void Logger::SetOutput(std::wostream* stream1, std::wostream* stream2) { } } -void Logger::Message(Logger::Severity type, const std::string& message, const express::Base& instance) { +void logger::message(logger::Severity type, const std::string& text, const express::Base& instance) { if (type < verbosity_) { return; } @@ -168,11 +168,11 @@ void Logger::Message(Logger::Severity type, const std::string& message, const ex first_timepoint_ = std::chrono::time_point_cast(std::chrono::high_resolution_clock::now()).time_since_epoch().count(); } double t0 = (std::chrono::time_point_cast(std::chrono::high_resolution_clock::now()).time_since_epoch().count() - *first_timepoint_) / 1.e9; - if (message.substr(0, 5) == "done ") { - auto orig = message.substr(5); + if (text.substr(0, 5) == "done ") { + auto orig = text.substr(5); performance_statistics_[orig] += t0 - performance_signal_start_[orig]; } else { - performance_signal_start_[message] = t0; + performance_signal_start_[text] = t0; } } @@ -182,27 +182,27 @@ void Logger::Message(Logger::Severity type, const std::string& message, const ex if (((log2_ != nullptr) || (wlog2_ != nullptr))) { if (format_ == FMT_PLAIN) { if (log2_ != nullptr) { - plain_text_message(*log2_, current_product_, type, message, instance); + plain_text_message(*log2_, current_product_, type, text, instance); } else if (wlog2_ != nullptr) { - plain_text_message(*wlog2_, current_product_, type, message, instance); + plain_text_message(*wlog2_, current_product_, type, text, instance); } } else if (format_ == FMT_JSON) { if (log2_ != nullptr) { - json_message(*log2_, current_product_, type, message, instance); + json_message(*log2_, current_product_, type, text, instance); } else if (wlog2_ != nullptr) { - json_message(*wlog2_, current_product_, type, message, instance); + json_message(*wlog2_, current_product_, type, text, instance); } } } } -void Logger::Message(Logger::Severity type, const std::exception& exception, const express::Base& instance) { - Message(type, std::string(exception.what()), instance); +void logger::message(logger::Severity type, const std::exception& exception, const express::Base& instance) { + message(type, std::string(exception.what()), instance); } template -void status(T& log1, const std::string& message, bool new_line) { - log1 << message.c_str(); +void write_status(T& log1, const std::string& text, bool new_line) { + log1 << text.c_str(); if (new_line) { log1 << std::endl; } else { @@ -210,23 +210,23 @@ void status(T& log1, const std::string& message, bool new_line) { } } -void Logger::Status(const std::string& message, bool new_line) { +void logger::status(const std::string& message, bool new_line) { if (log1_ != nullptr) { - status(*log1_, message, new_line); + write_status(*log1_, message, new_line); } else if (wlog1_ != nullptr) { - status(*wlog1_, message, new_line); + write_status(*wlog1_, message, new_line); } } -void Logger::ProgressBar(int progress) { - Status("\r[" + std::string(progress, '#') + std::string(50 - progress, ' ') + "]", false); +void logger::progress_bar(int progress) { + status("\r[" + std::string(progress, '#') + std::string(50 - progress, ' ') + "]", false); } -std::string Logger::GetLog() { +std::string logger::get_log() { return log_stream_.str(); } -void Logger::PrintPerformanceStats() { +void logger::print_performance_stats() { std::vector> items; for (auto& stat : performance_statistics_) { items.push_back({stat.second, stat.first}); @@ -243,28 +243,28 @@ void Logger::PrintPerformanceStats() { } for (auto& item : items) { - auto message = item.second + std::string(max_size - item.second.size(), ' ') + ": " + std::to_string(item.first); - Message(LOG_PERF, message); + auto text = item.second + std::string(max_size - item.second.size(), ' ') + ": " + std::to_string(item.first); + logger::message(LOG_PERF, text); } } -void Logger::Verbosity(Logger::Severity severity) { verbosity_ = severity; } -Logger::Severity Logger::Verbosity() { return verbosity_; } +void logger::verbosity(logger::Severity severity) { verbosity_ = severity; } +logger::Severity logger::verbosity() { return verbosity_; } -Logger::Severity Logger::MaxSeverity() { return max_severity_; } +logger::Severity logger::max_severity() { return max_severity_; } -void Logger::OutputFormat(Format format) { format_ = format; } -Logger::Format Logger::OutputFormat() { return format_; } +void logger::output_format(Format format) { format_ = format; } +logger::Format logger::output_format() { return format_; } -std::ostream* Logger::log1_ = 0; -std::ostream* Logger::log2_ = 0; -std::wostream* Logger::wlog1_ = 0; -std::wostream* Logger::wlog2_ = 0; -std::stringstream Logger::log_stream_; -Logger::Severity Logger::verbosity_ = Logger::LOG_NOTICE; -Logger::Severity Logger::max_severity_ = Logger::LOG_NOTICE; -Logger::Format Logger::format_ = Logger::FMT_PLAIN; -std::optional Logger::first_timepoint_; -std::map Logger::performance_statistics_; -std::map Logger::performance_signal_start_; -bool Logger::print_perf_stats_on_element_ = false; +std::ostream* logger::log1_ = 0; +std::ostream* logger::log2_ = 0; +std::wostream* logger::wlog1_ = 0; +std::wostream* logger::wlog2_ = 0; +std::stringstream logger::log_stream_; +logger::Severity logger::verbosity_ = logger::LOG_NOTICE; +logger::Severity logger::max_severity_ = logger::LOG_NOTICE; +logger::Format logger::format_ = logger::FMT_PLAIN; +std::optional logger::first_timepoint_; +std::map logger::performance_statistics_; +std::map logger::performance_signal_start_; +bool logger::print_perf_stats_on_element_ = false; diff --git a/src/ifcparse/IfcLogger.h b/src/ifcparse/logger.h similarity index 64% rename from src/ifcparse/IfcLogger.h rename to src/ifcparse/logger.h index 4155c80024..92e3f3c4f8 100644 --- a/src/ifcparse/IfcLogger.h +++ b/src/ifcparse/logger.h @@ -30,7 +30,7 @@ #include #include -class IFC_PARSE_API Logger { +class IFC_PARSE_API logger { public: typedef enum { LOG_PERF, @@ -46,7 +46,7 @@ class IFC_PARSE_API Logger { private: // To both stream variants need to exist at runtime or should this be a - // template argument of Logger or controlled using preprocessor directives? + // template argument of logger or controlled using preprocessor directives? static std::ostream* log1_; static std::ostream* log2_; @@ -66,49 +66,49 @@ class IFC_PARSE_API Logger { static bool print_perf_stats_on_element_; public: - static void SetProduct(std::optional product); + static void set_product(std::optional product); /// Determines to what stream respectively progress and errors are logged - static void SetOutput(std::wostream* stream1, std::wostream* stream2); + static void set_output(std::wostream* stream1, std::wostream* stream2); /// Determines to what stream respectively progress and errors are logged - static void SetOutput(std::ostream* stream1, std::ostream* stream2); + static void set_output(std::ostream* stream1, std::ostream* stream2); /// Determines the types of log messages to get logged - static void Verbosity(Severity severity); - static Severity Verbosity(); - static Severity MaxSeverity(); + static void verbosity(Severity severity); + static Severity verbosity(); + static Severity max_severity(); /// Determines output format: plain text or sequence of JSON objects - static void OutputFormat(Format format); - static Format OutputFormat(); + static void output_format(Format format); + static Format output_format(); /// Log a message to the output stream - static void Message(Severity type, const std::string& message, const express::Base& instance = express::Base()); - static void Message(Severity type, const std::exception& exception, const express::Base& instance = express::Base()); + static void message(Severity type, const std::string& text, const express::Base& instance = express::Base()); + static void message(Severity type, const std::exception& exception, const express::Base& instance = express::Base()); - static void Notice(const std::string& message, const express::Base& instance = express::Base()) { Message(LOG_NOTICE, message, instance); } - static void Warning(const std::string& message, const express::Base& instance = express::Base()) { Message(LOG_WARNING, message, instance); } - static void Error(const std::string& message, const express::Base& instance = express::Base()) { Message(LOG_ERROR, message, instance); } + static void notice(const std::string& text, const express::Base& instance = express::Base()) { logger::message(LOG_NOTICE, text, instance); } + static void warning(const std::string& text, const express::Base& instance = express::Base()) { logger::message(LOG_WARNING, text, instance); } + static void error(const std::string& text, const express::Base& instance = express::Base()) { logger::message(LOG_ERROR, text, instance); } - static void Notice(const std::exception& exception, const express::Base& instance = express::Base()) { Message(LOG_NOTICE, exception, instance); } - static void Warning(const std::exception& exception, const express::Base& instance = express::Base()) { Message(LOG_WARNING, exception, instance); } - static void Error(const std::exception& exception, const express::Base& instance = express::Base()) { Message(LOG_ERROR, exception, instance); } + static void notice(const std::exception& exception, const express::Base& instance = express::Base()) { message(LOG_NOTICE, exception, instance); } + static void warning(const std::exception& exception, const express::Base& instance = express::Base()) { message(LOG_WARNING, exception, instance); } + static void error(const std::exception& exception, const express::Base& instance = express::Base()) { message(LOG_ERROR, exception, instance); } - static void Status(const std::string& message, bool new_line = true); + static void status(const std::string& message, bool new_line = true); - static void ProgressBar(int progress); - static std::string GetLog(); - static void PrintPerformanceStats(); - static void PrintPerformanceStatsOnElement(bool b) { print_perf_stats_on_element_ = b; } + static void progress_bar(int progress); + static std::string get_log(); + static void print_performance_stats(); + static void print_performance_stats_on_element(bool b) { print_perf_stats_on_element_ = b; } }; #define PERF(x) \ \ - Logger::Message(Logger::LOG_PERF, x); \ + logger::message(logger::LOG_PERF, x); \ \ BOOST_SCOPE_EXIT(void) { \ - Logger::Message(Logger::LOG_PERF, "done " + std::string(x)); \ + logger::message(logger::LOG_PERF, "done " + std::string(x)); \ } \ BOOST_SCOPE_EXIT_END diff --git a/src/ifcparse/map_variant.h b/src/ifcparse/map_variant.h index b65b2a4391..0b4b57a0b9 100644 --- a/src/ifcparse/map_variant.h +++ b/src/ifcparse/map_variant.h @@ -25,11 +25,11 @@ #include #include -// VariantMap: A map interface that delegates to one of several map types. +// variant_map: A map interface that delegates to one of several map types. // The underlying maps are referenced by pointers (not moved into the variant). // All map types must share the same key_type, mapped_type, and value_type. template -class VariantMap { +class variant_map { public: // The variant holds a pointer to the map using variant_type = std::variant; @@ -45,7 +45,7 @@ public: class iterator { public: - using value_type = VariantMap::value_type; + using value_type = variant_map::value_type; using difference_type = std::ptrdiff_t; using pointer = value_type*; using reference = value_type; @@ -104,10 +104,10 @@ public: } }; - VariantMap() {} + variant_map() {} template - VariantMap(MapT* m) : map_(m) {} + variant_map(MapT* m) : map_(m) {} iterator begin() const{ return std::visit([](auto m) -> iterator { diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/parse.cpp similarity index 80% rename from src/ifcparse/IfcParse.cpp rename to src/ifcparse/parse.cpp index 99a792d3fe..e456c71f4e 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/parse.cpp @@ -17,16 +17,16 @@ * * ********************************************************************************/ -#include "IfcParse.h" +#include "parse.h" #include "express.h" -#include "IfcCharacterDecoder.h" -#include "IfcException.h" -#include "IfcFile.h" -#include "IfcLogger.h" -#include "IfcSchema.h" -#include "IfcSIPrefix.h" -#include "FileReader.h" +#include "character_decoder.h" +#include "exception.h" +#include "file.h" +#include "logger.h" +#include "schema.h" +#include "si_prefix.h" +#include "file_reader.h" #include "utils.h" #include @@ -46,7 +46,7 @@ #define PERMISSIVE_FLOAT -using namespace IfcParse; +using namespace ifcopenshell; // A static locale for the real number parser. strtod() is locale-dependent, causing issues // in locales that have ',' as a decimal separator. Therefore the non standard _strtod_l() / @@ -103,18 +103,18 @@ void init_locale() { #endif template -IfcSpfLexer::IfcSpfLexer(Reader* stream_) { +spf_lexer::spf_lexer(Reader* stream_) { stream = stream_; - decoder_ = new IfcCharacterDecoder(stream_); + decoder_ = new character_decoder(stream_); } template -IfcSpfLexer::~IfcSpfLexer() { +spf_lexer::~spf_lexer() { delete decoder_; } template -size_t IfcSpfLexer::skipWhitespace() const { +size_t spf_lexer::skip_whitespace() const { size_t index = 0; while (!stream->eof()) { char character = stream->peek(); @@ -129,7 +129,7 @@ size_t IfcSpfLexer::skipWhitespace() const { } template -size_t IfcSpfLexer::skipComment() const { +size_t spf_lexer::skip_comment() const { if (stream->eof()) { return 0; } @@ -158,7 +158,7 @@ size_t IfcSpfLexer::skipComment() const { } template -std::string& IfcSpfLexer::getTempString() const { +std::string& spf_lexer::get_temp_string() const { const size_t idx = pool_index++; const size_t slice = idx >> 4; const size_t offset = idx & 0xF; @@ -278,23 +278,23 @@ inline uint32_t has_special_char(uint32_t x) { } // -// Returns the offset of the current Token and moves cursor to next +// Returns the offset of the current token and moves cursor to next // template -Token IfcSpfLexer::Next() { +token spf_lexer::next() { if (stream->eof()) { - return Token{}; + return token{}; } auto pos = stream->tell(); char character = stream->read(); if (character == '/' || character == ' ' || character == '\r' || character == '\n' || character == '\t') { - while ((skipWhitespace() != 0U) || (skipComment() != 0U)) { + while ((skip_whitespace() != 0U) || (skip_comment() != 0U)) { } if (stream->eof()) { - return Token{}; + return token{}; } pos = stream->tell(); character = stream->read(); @@ -309,26 +309,26 @@ Token IfcSpfLexer::Next() { character == '$' || character == '*') { - return Token(pos, character); + return token(pos, character); } - auto& str = getTempString(); + auto& str = get_temp_string(); if (character == '\'') { - // If a string is encountered defer processing to the IfcCharacterDecoder + // If a string is encountered defer processing to the character_decoder str = *decoder_; - return Token(pos, Token::Token_STRING, str); + return token(pos, token::Token_STRING, str); } else { - auto ttype = Token::Token_NONE; + auto ttype = token::Token_NONE; if (character == '"' || character == '.') { if (character == '"') { - ttype = Token::Token_BINARY; + ttype = token::Token_BINARY; } else { - ttype = Token::Token_ENUMERATION; + ttype = token::Token_ENUMERATION; } str.clear(); } else if (character == '#') { - ttype = Token::Token_IDENTIFIER; + ttype = token::Token_IDENTIFIER; str.clear(); } else { str.assign(&character, 1); @@ -338,7 +338,7 @@ Token IfcSpfLexer::Next() { while (remaining) { if (remaining >= 8) { uint64_t x = stream->peek_u64(); - if ((ttype == Token::Token_NONE ? SWAR::has_special_char(x) : SWAR::has_special_char(x)) == 0) { + if ((ttype == token::Token_NONE ? SWAR::has_special_char(x) : SWAR::has_special_char(x)) == 0) { str.append(reinterpret_cast(&x), 8); stream->increment(8); remaining -= 8; @@ -347,7 +347,7 @@ Token IfcSpfLexer::Next() { } if (remaining >= 4) { uint32_t x = stream->peek_u32(); - if ((ttype == Token::Token_NONE ? SWAR::has_special_char(x) : SWAR::has_special_char(x)) == 0) { + if ((ttype == token::Token_NONE ? SWAR::has_special_char(x) : SWAR::has_special_char(x)) == 0) { str.append(reinterpret_cast(&x), 4); stream->increment(4); remaining -= 4; @@ -366,8 +366,8 @@ Token IfcSpfLexer::Next() { break; } if (!(character == ' ' || character == '\r' || character == '\n' || character == '\t')) { - if ((ttype == Token::Token_BINARY && character == '"') || - (ttype == Token::Token_ENUMERATION && character == '.')) { + if ((ttype == token::Token_BINARY && character == '"') || + (ttype == token::Token_ENUMERATION && character == '.')) { // Skip } else { str.push_back(character); @@ -377,90 +377,90 @@ Token IfcSpfLexer::Next() { remaining -= 1; } - if (ttype == Token::Token_ENUMERATION && str.size() == 1 && (str[0] == 'T' || str[0] == 'F' || str[0] == 'U')) { - popPoolEntry(); - return Token(pos, Token::Token_BOOL, str[0]); - } else if (ttype == Token::Token_IDENTIFIER) { + if (ttype == token::Token_ENUMERATION && str.size() == 1 && (str[0] == 'T' || str[0] == 'F' || str[0] == 'U')) { + pop_pool_entry(); + return token(pos, token::Token_BOOL, str[0]); + } else if (ttype == token::Token_IDENTIFIER) { int int_val; if (!parse_int_(str.c_str(), int_val)) { - throw IfcInvalidTokenException(pos, str, "instance name"); + throw invalid_token_exception(pos, str, "instance name"); } - popPoolEntry(); - return Token(pos, ttype, int_val); - } else if (ttype == Token::Token_NONE && !str.empty()) { + pop_pool_entry(); + return token(pos, ttype, int_val); + } else if (ttype == token::Token_NONE && !str.empty()) { int int_val; double float_val; auto& first = str.front(); if ((first >= 'A' && first <= 'Z') || (first >= 'a' && first <= 'z')) { - ttype = Token::Token_KEYWORD; - return Token(pos, ttype, str); + ttype = token::Token_KEYWORD; + return token(pos, ttype, str); } else if (parse_int_(str.c_str(), int_val)) { - ttype = Token::Token_INT; - popPoolEntry(); - return Token(pos, ttype, int_val); + ttype = token::Token_INT; + pop_pool_entry(); + return token(pos, ttype, int_val); } else if (parse_float_(str.c_str(), float_val)) { - ttype = Token::Token_FLOAT; - popPoolEntry(); - return Token(pos, float_val); + ttype = token::Token_FLOAT; + pop_pool_entry(); + return token(pos, float_val); } - } else if (ttype == Token::Token_BINARY || ttype == Token::Token_ENUMERATION) { - return Token(pos, ttype, str); + } else if (ttype == token::Token_BINARY || ttype == token::Token_ENUMERATION) { + return token(pos, ttype, str); } - throw IfcInvalidTokenException(pos, str, "valid token"); + throw invalid_token_exception(pos, str, "valid token"); } } -template class IfcSpfLexer>; -template class IfcSpfLexer>; -template class IfcSpfLexer>; +template class spf_lexer>; +template class spf_lexer>; +template class spf_lexer>; #ifdef USE_MMAP -template class IfcSpfLexer>; +template class spf_lexer>; #endif -bool Token::is_operator() { +bool token::is_operator() { return type == Token_OPERATOR; } -bool Token::is_operator(char character) { +bool token::is_operator(char character) { return type == Token_OPERATOR && value_char == character; } -bool Token::is_identifier() { +bool token::is_identifier() { return type == Token_IDENTIFIER; } -bool Token::is_string() { +bool token::is_string() { return type == Token_STRING; } -bool Token::is_enumeration() { +bool token::is_enumeration() { // @nb this is a bit confusing? return type == Token_ENUMERATION || type == Token_BOOL; } -bool Token::is_binary() { +bool token::is_binary() { return type == Token_BINARY; } -bool Token::is_keyword() { +bool token::is_keyword() { return type == Token_KEYWORD; } -bool Token::is_int() { +bool token::is_int() { return type == Token_INT; } -bool Token::is_bool() { +bool token::is_bool() { // Bool and logical share the same storage type, just logical unknown is stored as 'U'. return type == Token_BOOL && value_char != 'U'; } -bool Token::is_logical() { +bool token::is_logical() { return type == Token_BOOL; } -bool Token::is_float() { +bool token::is_float() { #ifdef PERMISSIVE_FLOAT /// NB: We are being more permissive here then allowed by the standard return type == Token_FLOAT || type == Token_INT; @@ -469,30 +469,30 @@ bool Token::is_float() { #endif } -int Token::as_int() { +int token::as_int() { if (type != Token_INT) { - throw IfcInvalidTokenException(start_pos, to_string(), "integer"); + throw invalid_token_exception(start_pos, to_string(), "integer"); } return value_int; } -unsigned Token::as_identifier() { +unsigned token::as_identifier() { if (type != Token_IDENTIFIER) { - throw IfcInvalidTokenException(start_pos, to_string(), "instance name"); + throw invalid_token_exception(start_pos, to_string(), "instance name"); } return (unsigned) value_int; } -bool Token::as_bool() { +bool token::as_bool() { if (type != Token_BOOL) { - throw IfcInvalidTokenException(start_pos, to_string(), "boolean"); + throw invalid_token_exception(start_pos, to_string(), "boolean"); } return value_char == 'T'; } -boost::logic::tribool Token::as_logical() { +boost::logic::tribool token::as_logical() { if (type != Token_BOOL) { - throw IfcInvalidTokenException(start_pos, to_string(), "logical"); + throw invalid_token_exception(start_pos, to_string(), "logical"); } if (value_int == 'F') { return false; @@ -503,7 +503,7 @@ boost::logic::tribool Token::as_logical() { return boost::logic::indeterminate; } -double Token::as_float() { +double token::as_float() { #ifdef PERMISSIVE_FLOAT if (type == Token_INT) { /// NB: We are being more permissive here then allowed by the standard @@ -513,27 +513,27 @@ double Token::as_float() { if (type == Token_FLOAT) { return value_double; } - throw IfcInvalidTokenException(start_pos, to_string(), "real"); + throw invalid_token_exception(start_pos, to_string(), "real"); } -const std::string& Token::as_string() { +const std::string& token::as_string() { if (is_string() || is_enumeration() || is_binary() || is_keyword()) { // @todo quotes return *value_string; } - throw IfcInvalidTokenException(start_pos, to_string(), "string"); + throw invalid_token_exception(start_pos, to_string(), "string"); } -boost::dynamic_bitset<> Token::as_binary() { +boost::dynamic_bitset<> token::as_binary() { const std::string& str = as_string(); if (str.empty()) { - throw IfcException("Token is not a valid binary sequence"); + throw exception("token is not a valid binary sequence"); } std::string::const_iterator it = str.begin(); int n = *it - '0'; if ((n < 0 || n > 3) || (str.size() == 1 && n != 0)) { - throw IfcException("Token is not a valid binary sequence"); + throw exception("token is not a valid binary sequence"); } ++it; @@ -556,7 +556,7 @@ boost::dynamic_bitset<> Token::as_binary() { return bitset; } -std::string Token::to_string() { +std::string token::to_string() { std::string result; if (type == Token_OPERATOR || type == Token_BOOL) { result.push_back(value_char); @@ -577,8 +577,8 @@ std::string Token::to_string() { // Aditionally, registers the ids (i.e. #[\d]+) in the inverse map // template -void IfcParse::impl::in_memory_file_storage::load(IfcParse::IfcSpfLexer* tokens, std::optional entity_instance_name, const IfcParse::entity* entity, parse_context& context, int attribute_index) { - Token next = tokens->Next(); +void ifcopenshell::impl::in_memory_file_storage::load(ifcopenshell::spf_lexer* tokens, std::optional entity_instance_name, const ifcopenshell::entity* entity, parse_context& context, int attribute_index) { + token next = tokens->next(); size_t attribute_index_within_data = 0; size_t return_value = 0; @@ -603,7 +603,7 @@ void IfcParse::impl::in_memory_file_storage::load(IfcParse::IfcSpfLexer* try { const auto* decl = (schema ? schema : file->schema())->declaration_by_name(next.as_string()); parse_context ps(&context_pool_); - tokens->Next(); + tokens->next(); // The only case we know where a defined type contains entity // instance references is IfcPropertySetDefinitionSet. For // that purpose we propagate the entity_instance_name to @@ -614,10 +614,10 @@ void IfcParse::impl::in_memory_file_storage::load(IfcParse::IfcSpfLexer* express::Base simple_type_instance(read_simple_type_instances.emplace_back( ps.construct(file, entity_instance_name, *references_to_resolve, decl, std::nullopt, attribute_index == -1 ? (int)attribute_index_within_data : attribute_index)) ); - // @todo do we need express::Base here? Or should we just push InstanceData? + // @todo do we need express::Base here? Or should we just push instance_data? context.push(simple_type_instance); - } catch (IfcException& e) { - Logger::Message(Logger::LOG_ERROR, std::string(e.what()) + " at offset " + std::to_string(next.start_pos)); + } catch (exception& e) { + logger::message(logger::LOG_ERROR, std::string(e.what()) + " at offset " + std::to_string(next.start_pos)); // #4070 We didn't actually capture an aggregate entry, undo length increment. return_value--; } @@ -625,30 +625,30 @@ void IfcParse::impl::in_memory_file_storage::load(IfcParse::IfcSpfLexer* context.push(next); } } - next = tokens->Next(); + next = tokens->next(); } } template -void IfcParse::impl::in_memory_file_storage::try_read_semicolon(IfcParse::IfcSpfLexer* tokens) const { +void ifcopenshell::impl::in_memory_file_storage::try_read_semicolon(ifcopenshell::spf_lexer* tokens) const { auto old_offset = tokens->stream->tell(); - Token semilocon = tokens->Next(); + token semilocon = tokens->next(); if (!semilocon.is_operator(';')) { tokens->stream->seek(old_offset); } } -void IfcParse::impl::in_memory_file_storage::register_inverse(unsigned id_from, const IfcParse::entity* from_entity, int inst_id, int attribute_index) { +void ifcopenshell::impl::in_memory_file_storage::register_inverse(unsigned id_from, const ifcopenshell::entity* from_entity, int inst_id, int attribute_index) { // Assume a check on token type has already been performed byref_excl_[{inst_id, from_entity->index_in_schema(), attribute_index}].push_back(id_from); } -void IfcParse::impl::in_memory_file_storage::unregister_inverse(unsigned id_from, const IfcParse::entity* from_entity, const express::Base& inst, int attribute_index) { +void ifcopenshell::impl::in_memory_file_storage::unregister_inverse(unsigned id_from, const ifcopenshell::entity* from_entity, const express::Base& inst, int attribute_index) { auto& ids = byref_excl_[{inst.id(), from_entity->index_in_schema(), attribute_index}]; auto iter = std::find(ids.begin(), ids.end(), id_from); if (iter == ids.end()) { // @todo inverses also need to be populated when multiple instances are added to a new file. - // throw IfcParse::IfcException("Instance not found among inverses"); + // throw ifcopenshell::exception("Instance not found among inverses"); } else { ids.erase(iter); } @@ -664,7 +664,7 @@ namespace { } } -void IfcParse::impl::rocks_db_file_storage::register_inverse(unsigned id_from, const IfcParse::entity* from_entity, int inst_id, int attribute_index) { +void ifcopenshell::impl::rocks_db_file_storage::register_inverse(unsigned id_from, const ifcopenshell::entity* from_entity, int inst_id, int attribute_index) { #ifdef IFOPSH_WITH_ROCKSDB static std::string s; uint32_t v = id_from; @@ -686,7 +686,7 @@ void IfcParse::impl::rocks_db_file_storage::register_inverse(unsigned id_from, c #endif } -void IfcParse::impl::rocks_db_file_storage::unregister_inverse(unsigned id_from, const IfcParse::entity* from_entity, const express::Base& inst, int attribute_index) { +void ifcopenshell::impl::rocks_db_file_storage::unregister_inverse(unsigned id_from, const ifcopenshell::entity* from_entity, const express::Base& inst, int attribute_index) { #ifdef IFOPSH_WITH_ROCKSDB static std::string s; auto inst_id = inst.id(); @@ -698,7 +698,7 @@ void IfcParse::impl::rocks_db_file_storage::unregister_inverse(unsigned id_from, if (it != vals.end()) { vals.erase(it); } else { - Logger::Error("Unregistering non-existant inverse #" + std::to_string(id_from) + " on instance #" + std::to_string(inst_id) + " at attribute " + std::to_string(attribute_index)); + logger::error("Unregistering non-existant inverse #" + std::to_string(id_from) + " on instance #" + std::to_string(inst_id) + " at attribute " + std::to_string(attribute_index)); } s.resize(vals.size() * sizeof(uint32_t)); memcpy(s.data(), vals.data(), s.size()); @@ -707,7 +707,7 @@ void IfcParse::impl::rocks_db_file_storage::unregister_inverse(unsigned id_from, #endif } -void IfcParse::impl::rocks_db_file_storage::add_type_ref(const express::Base& new_entity) +void ifcopenshell::impl::rocks_db_file_storage::add_type_ref(const express::Base& new_entity) { #ifdef IFOPSH_WITH_ROCKSDB size_t v; @@ -737,7 +737,7 @@ void IfcParse::impl::rocks_db_file_storage::add_type_ref(const express::Base& ne #endif } -void IfcParse::impl::rocks_db_file_storage::remove_type_ref(const express::Base& new_entity) +void ifcopenshell::impl::rocks_db_file_storage::remove_type_ref(const express::Base& new_entity) { #ifdef IFOPSH_WITH_ROCKSDB if (new_entity.declaration().as_entity()) { @@ -827,8 +827,8 @@ namespace { StringBuilderVisitor(std::ostream& stream, bool upper = false) : data_(stream), upper_(upper) {} - void operator()(const Blank& /*i*/) { data_ << "$"; } - void operator()(const Derived& /*i*/) { data_ << "*"; } + void operator()(const blank& /*i*/) { data_ << "$"; } + void operator()(const derived& /*i*/) { data_ << "*"; } void operator()(const int& i) { data_ << i; } void operator()(const bool& i) { data_ << (i ? ".T." : ".F."); } void operator()(const boost::logic::tribool& i) { data_ << (i ? ".T." : (boost::logic::indeterminate(i) ? ".U." : ".F.")); } @@ -837,7 +837,7 @@ namespace { void operator()(const std::string& i) { std::string s = i; if (upper_) { - data_ << static_cast(IfcCharacterEncoder(s)); + data_ << static_cast(character_encoder(s)); } else { data_ << '\'' << s << '\''; } @@ -846,12 +846,12 @@ namespace { void operator()(const std::vector& i); void operator()(const std::vector& i); void operator()(const std::vector>& i); - void operator()(const EnumerationReference& i) { + void operator()(const enumeration_reference& i) { data_ << "." << i.value() << "."; } void operator()(const express::Base& i) { if (i.declaration().as_entity() == nullptr || i.declaration().schema() == &Header_section_schema::get_schema()) { - i.toString(data_, upper_); + i.to_string(data_, upper_); } else { data_ << "#" << i.id(); } @@ -896,7 +896,7 @@ namespace { if (it != i.begin()) { data_ << ","; } - std::string encoder = IfcCharacterEncoder(*it); + std::string encoder = character_encoder(*it); data_ << encoder; } data_ << ")"; @@ -956,7 +956,7 @@ namespace { // Returns a string representation of the entity // Note that this initializes the entity if it is not initialized // -void InstanceData::toString(std::ostream& ss, bool upper) const { +void instance_data::to_string(std::ostream& ss, bool upper) const { ss.imbue(std::locale::classic()); ss << "("; @@ -974,7 +974,7 @@ void InstanceData::toString(std::ostream& ss, bool upper) const { if (i != 0) { ss << ","; } - if (has_attribute_value(i)) { + if (has_attribute_value(i)) { if (declaration_ != nullptr && declaration_->as_entity() && declaration_->as_entity()->derived()[i]) { ss << "*"; } else { @@ -988,44 +988,44 @@ void InstanceData::toString(std::ostream& ss, bool upper) const { } /* -unsigned IfcUtil::IfcBaseEntity::set_id(const std::optional& i) { +unsigned ifcopenshell::IfcBaseEntity::set_id(const std::optional& i) { if (i) { return id_ = *i; } - return id_ = file_->FreshId(); + return id_ = file_->fresh_id(); } */ namespace { // @todo remove redundancy with python wrapper code (which is not identical due to // different handling of enumerations) -IfcUtil::ArgumentType get_argument_type(const IfcParse::declaration* decl, size_t i) { - const IfcParse::parameter_type* pt = 0; +ifcopenshell::argument_type get_argument_type(const ifcopenshell::declaration* decl, size_t i) { + const ifcopenshell::parameter_type* pt = 0; if (decl->as_entity() != nullptr) { pt = decl->as_entity()->attribute_by_index(i)->type_of_attribute(); if (decl->as_entity()->derived()[i]) { - return IfcUtil::Argument_DERIVED; + return ifcopenshell::Argument_DERIVED; } } else if ((decl->as_type_declaration() != nullptr) && i == 0) { pt = decl->as_type_declaration()->declared_type(); } else if ((decl->as_enumeration_type() != nullptr) && i == 0) { - return IfcUtil::Argument_ENUMERATION; + return ifcopenshell::Argument_ENUMERATION; } if (pt == 0) { - return IfcUtil::Argument_UNKNOWN; + return ifcopenshell::Argument_UNKNOWN; } - return IfcUtil::from_parameter_type(pt); + return ifcopenshell::from_parameter_type(pt); } } // namespace class unregister_inverse_visitor { private: - IfcFile& file_; + file& file_; const express::Base data_; public: - unregister_inverse_visitor(IfcFile& file, const express::Base& data) + unregister_inverse_visitor(file& file, const express::Base& data) : file_(file), data_(data) {} @@ -1036,11 +1036,11 @@ class unregister_inverse_visitor { class register_inverse_visitor { private: - IfcFile& file_; + file& file_; const express::Base data_; public: - register_inverse_visitor(IfcFile& file, const express::Base& data) + register_inverse_visitor(file& file, const express::Base& data) : file_(file), data_(data) {} @@ -1064,28 +1064,28 @@ class add_to_instance_list_visitor { class apply_individual_instance_visitor { private: - std::optional attribute_; + std::optional attribute_; int attribute_index_; const express::Base inst_; template - void apply_attribute_(T& t, const AttributeValue& attr, int index) const { + void apply_attribute_(T& t, const attribute_value& attr, int index) const { switch (attr.type()) { - case IfcUtil::Argument_ENTITY_INSTANCE: { + case ifcopenshell::Argument_ENTITY_INSTANCE: { express::Base inst = attr; t(inst, index); break; } - case IfcUtil::Argument_AGGREGATE_OF_ENTITY_INSTANCE: { + case ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE: { std::vector entity_list_attribute = attr; for (auto& inst : entity_list_attribute) { t(inst, index); } break; } - case IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE: { + case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE: { std::vector> nested_list_attr = attr; for (auto& vec : nested_list_attr) { for (auto& inst : vec) { @@ -1099,7 +1099,7 @@ class apply_individual_instance_visitor { } } public: - apply_individual_instance_visitor(const AttributeValue& attribute, int idx) + apply_individual_instance_visitor(const attribute_value& attribute, int idx) : attribute_(attribute) , attribute_index_(idx) {} @@ -1129,18 +1129,18 @@ typename std::enable_if< express::Base::set_attribute_value(size_t i, const T& t) { if constexpr (std::is_same_v, double>) { if (!std::isfinite(t)) { - throw IfcParse::IfcException("Only finite values are allowed"); + throw ifcopenshell::exception("Only finite values are allowed"); } } if constexpr (std::is_same_v, std::vector>) { if (std::any_of(t.begin(), t.end(), [](double d) { return !std::isfinite(d); })) { - throw IfcParse::IfcException("Only finite values are allowed"); + throw ifcopenshell::exception("Only finite values are allowed"); } } if constexpr (std::is_same_v, std::vector>>) { for (auto& tt : t) { if (std::any_of(tt.begin(), tt.end(), [](double d) { return !std::isfinite(d); })) { - throw IfcParse::IfcException("Only finite values are allowed"); + throw ifcopenshell::exception("Only finite values are allowed"); } } } @@ -1157,12 +1157,12 @@ express::Base::set_attribute_value(size_t i, const T& t) { file()->internal_guid_map().erase(it); } } - } catch (IfcParse::IfcException& e) { - Logger::Error(e); + } catch (ifcopenshell::exception& e) { + logger::error(e); } } - if constexpr (std::is_same_v || std::is_same_v> || std::is_same_v>> || std::is_same_v) { + if constexpr (std::is_same_v || std::is_same_v> || std::is_same_v>> || std::is_same_v) { // Deregister inverse indices in file unregister_inverse_visitor visitor(*file(), *this); apply_individual_instance_visitor(current_attribute, (int)i).apply(visitor); @@ -1186,11 +1186,11 @@ express::Base::set_attribute_value(size_t i, const T& t) { auto guid = (std::string) new_attribute; auto it = file()->internal_guid_map().find(guid); if (it != file()->internal_guid_map().end()) { - Logger::Warning("Duplicate guid " + guid); + logger::warning("Duplicate guid " + guid); } file()->internal_guid_map().insert({guid, *this}); - } catch (IfcParse::IfcException& e) { - Logger::Error(e); + } catch (ifcopenshell::exception& e) { + logger::error(e); } } } @@ -1209,17 +1209,17 @@ express::Base::set_attribute_value(const std::string& s, const T& t) // Creates the maps // #ifdef USE_MMAP -IfcFile::IfcFile(const std::string& fn, bool mmap) { +file::file(const std::string& fn, bool mmap) { initialize(fn, mmap); } -bool IfcParse::IfcFile::initialize(const std::string& fn, bool mmap) { +bool ifcopenshell::file::initialize(const std::string& fn, bool mmap) { if (mmap) { - MMapFileReader s(fn); + file_reader s(fn); storage_.emplace<1>(this); std::get(storage_).read_from_stream(&s, schema_, max_id_, types_to_bypass_loading_); } else { - FullBufferFileReader s(fn); + file_reader s(fn); storage_.emplace<1>(this); std::get(storage_).read_from_stream(&s, schema_, max_id_, types_to_bypass_loading_); } @@ -1236,15 +1236,15 @@ bool IfcParse::IfcFile::initialize(const std::string& fn, bool mmap) { } #endif -IfcFile::IfcFile(const uninitialized_tag&) - : schema_(nullptr), max_id_(0), header_(new IfcParse::IfcSpfHeader(this)), good_(file_open_status::UNKNOWN), ifcroot_type_(nullptr) {} +file::file(const uninitialized_tag&) + : schema_(nullptr), max_id_(0), header_(new ifcopenshell::spf_header(this)), good_(file_open_status::UNKNOWN), ifcroot_type_(nullptr) {} -bool IfcParse::IfcFile::initialize(const std::string& path, filetype ty, bool readonly) { +bool ifcopenshell::file::initialize(const std::string& path, filetype ty, bool readonly) { if (ty == FT_AUTODETECT) { ty = guess_file_type(path); } if (ty == FT_IFCSPF) { - FileReader s(path); + file_reader s(path); storage_.emplace<1>(this); std::get(storage_).read_from_stream(&s, schema_, max_id_, types_to_bypass_loading_); @@ -1284,29 +1284,29 @@ bool IfcParse::IfcFile::initialize(const std::string& path, filetype ty, bool re return good_ == file_open_status::SUCCESS; } -void IfcParse::IfcFile::bypass_type(const std::string& type_name) { +void ifcopenshell::file::bypass_type(const std::string& type_name) { types_to_bypass_loading_.insert(type_name); } -IfcFile::IfcFile(const std::string& path, filetype ty, bool readonly) +file::file(const std::string& path, filetype ty, bool readonly) : schema_(nullptr) , max_id_(0) - , header_(new IfcSpfHeader(this)) + , header_(new spf_header(this)) { initialize(path, ty, readonly); } -IfcFile::IfcFile(std::istream& stream, int length) +file::file(std::istream& stream, int length) : schema_(nullptr) , max_id_(0) - , header_(new IfcParse::IfcSpfHeader(this)) + , header_(new ifcopenshell::spf_header(this)) { - FileReader s(caller_fed_tag{}); + file_reader s(caller_fed_tag{}); std::string string_data; string_data.resize(length); stream.read(string_data.data(), length); - s.pushNextPage(string_data); + s.push_next_page(string_data); storage_.emplace<1>(this); std::get(storage_).read_from_stream(&s, schema_, max_id_, types_to_bypass_loading_); @@ -1318,12 +1318,12 @@ IfcFile::IfcFile(std::istream& stream, int length) byguid_ = decltype(byguid_)(&std::get(storage_).byguid_); } -IfcFile::IfcFile(void* data, int length) +file::file(void* data, int length) : schema_(nullptr) , max_id_(0), - header_(new IfcParse::IfcSpfHeader(this)) + header_(new ifcopenshell::spf_header(this)) { - FileReader s(std::string((char*)data, length), caller_fed_tag{}); + file_reader s(std::string((char*)data, length), caller_fed_tag{}); storage_.emplace<1>(this); std::get(storage_).read_from_stream(&s, schema_, max_id_, types_to_bypass_loading_); @@ -1335,7 +1335,7 @@ IfcFile::IfcFile(void* data, int length) byguid_ = decltype(byguid_)(&std::get(storage_).byguid_); } -IfcFile::IfcFile(const IfcParse::schema_definition* schema, filetype ty, const std::string& path) +file::file(const ifcopenshell::schema_definition* schema, filetype ty, const std::string& path) : schema_(schema) , ifcroot_type_(schema_->declaration_by_name("IfcRoot")) , max_id_(0) @@ -1362,33 +1362,33 @@ IfcFile::IfcFile(const IfcParse::schema_definition* schema, filetype ty, const s } else { throw std::runtime_error("Unsupported file format"); } - header_.reset(new IfcSpfHeader(this)); - setDefaultHeaderValues(); + header_.reset(new spf_header(this)); + set_default_header_values(); } namespace { template -void read_terminal(IfcSpfLexer& lexer, const std::string& term, bool trailing_semicolon) { - if (lexer.Next().as_string() != term) { - throw IfcException(std::string("Expected " + term)); +void read_terminal(spf_lexer& lexer, const std::string& term, bool trailing_semicolon) { + if (lexer.next().as_string() != term) { + throw exception(std::string("Expected " + term)); } if (trailing_semicolon) { - if (!lexer.Next().is_operator(';')) { - throw IfcException("Expected ;"); + if (!lexer.next().is_operator(';')) { + throw exception("Expected ;"); } } } template -std::shared_ptr read_header_entity( - IfcParse::IfcFile* file, - IfcParse::impl::in_memory_file_storage& storage, - IfcSpfLexer& lexer, - IfcParse::unresolved_references& references_to_resolve, - const IfcParse::entity& decl) { +std::shared_ptr read_header_entity( + ifcopenshell::file* file, + ifcopenshell::impl::in_memory_file_storage& storage, + spf_lexer& lexer, + ifcopenshell::unresolved_references& references_to_resolve, + const ifcopenshell::entity& decl) { parse_context pc(&storage.context_pool_); - lexer.Next(); + lexer.next(); storage.load(&lexer, std::nullopt, nullptr, pc, -1); auto result = pc.construct(file, std::nullopt, references_to_resolve, &decl, decl.attribute_count(), -1); storage.context_pool_.reset(); @@ -1397,10 +1397,10 @@ std::shared_ptr read_header_entity( template void parse_header( - IfcParse::IfcSpfHeader& header, - IfcParse::impl::in_memory_file_storage& storage, - IfcSpfLexer& lexer, - IfcParse::unresolved_references& references_to_resolve) { + ifcopenshell::spf_header& header, + ifcopenshell::impl::in_memory_file_storage& storage, + spf_lexer& lexer, + ifcopenshell::unresolved_references& references_to_resolve) { static const char* const ISO_10303_21 = "ISO-10303-21"; static const char* const HEADER = "HEADER"; @@ -1409,35 +1409,35 @@ void parse_header( read_terminal(lexer, Header_section_schema::file_description::Class().name_uc(), false); header.set_file_description(read_header_entity(header.file(), storage, lexer, references_to_resolve, Header_section_schema::file_description::Class())); - if (!lexer.Next().is_operator(';')) { - throw IfcException("Expected ;"); + if (!lexer.next().is_operator(';')) { + throw exception("Expected ;"); } read_terminal(lexer, Header_section_schema::file_name::Class().name_uc(), false); header.set_file_name(read_header_entity(header.file(), storage, lexer, references_to_resolve, Header_section_schema::file_name::Class())); - if (!lexer.Next().is_operator(';')) { - throw IfcException("Expected ;"); + if (!lexer.next().is_operator(';')) { + throw exception("Expected ;"); } read_terminal(lexer, Header_section_schema::file_schema::Class().name_uc(), false); header.set_file_schema(read_header_entity(header.file(), storage, lexer, references_to_resolve, Header_section_schema::file_schema::Class())); - if (!lexer.Next().is_operator(';')) { - throw IfcException("Expected ;"); + if (!lexer.next().is_operator(';')) { + throw exception("Expected ;"); } } template bool try_parse_header( - IfcParse::IfcSpfHeader& header, - IfcParse::impl::in_memory_file_storage& storage, - IfcSpfLexer& lexer, - IfcParse::unresolved_references& references_to_resolve) { + ifcopenshell::spf_header& header, + ifcopenshell::impl::in_memory_file_storage& storage, + spf_lexer& lexer, + ifcopenshell::unresolved_references& references_to_resolve) { try { parse_header(header, storage, lexer, references_to_resolve); return true; } catch (const std::exception& e) { storage.context_pool_.reset(); - Logger::Error(e); + logger::error(e); return false; } } @@ -1445,7 +1445,7 @@ bool try_parse_header( } // namespace template -IfcSpfHeader& IfcParse::InstanceStreamer::ensure_header() { +spf_header& ifcopenshell::instance_streamer::ensure_header() { if (header_) { return *header_; } @@ -1454,7 +1454,7 @@ IfcSpfHeader& IfcParse::InstanceStreamer::ensure_header() { header_ = &owner_->header(); header_->file(owner_); } else { - owned_header_ = std::make_unique(owner_); + owned_header_ = std::make_unique(owner_); header_ = owned_header_.get(); } @@ -1462,7 +1462,7 @@ IfcSpfHeader& IfcParse::InstanceStreamer::ensure_header() { } template -void IfcParse::InstanceStreamer::initialize_header() { +void ifcopenshell::instance_streamer::initialize_header() { storage_.file = owner_; storage_.schema = schema_; storage_.references_to_resolve = &references_to_resolve_; @@ -1474,9 +1474,9 @@ void IfcParse::InstanceStreamer::initialize_header() { auto& header = ensure_header(); if (try_parse_header(header, storage_, *lexer_, references_to_resolve_) && header.file_schema().schema_identifiers().size() == 1) { try { - schema_ = IfcParse::schema_by_name(header.file_schema().schema_identifiers().front()); + schema_ = ifcopenshell::schema_by_name(header.file_schema().schema_identifiers().front()); good_ = file_open_status::SUCCESS; - } catch (const IfcParse::IfcException&) { + } catch (const ifcopenshell::exception&) { } } @@ -1484,21 +1484,21 @@ void IfcParse::InstanceStreamer::initialize_header() { } template -bool IfcParse::InstanceStreamer::hasSemicolon() const { +bool ifcopenshell::instance_streamer::has_semicolon() const { auto local_stream = stream_->clone(); - auto local_lexer = IfcSpfLexer(&local_stream); - Token t; + auto local_lexer = spf_lexer(&local_stream); + token t; try { - t = local_lexer.Next(); + t = local_lexer.next(); } catch (const std::out_of_range&) { return false; } - while (t.type != Token::Token_NONE) { + while (t.type != token::Token_NONE) { if (t.is_operator(';')) { return true; } try { - t = local_lexer.Next(); + t = local_lexer.next(); } catch (const std::out_of_range&) { break; } @@ -1507,22 +1507,22 @@ bool IfcParse::InstanceStreamer::hasSemicolon() const { } template -size_t IfcParse::InstanceStreamer::semicolonCount() const { +size_t ifcopenshell::instance_streamer::semicolon_count() const { auto local_stream = stream_->clone(); - auto local_lexer = IfcSpfLexer(&local_stream); - Token t; + auto local_lexer = spf_lexer(&local_stream); + token t; size_t count = 0; try { - t = local_lexer.Next(); + t = local_lexer.next(); } catch (const std::out_of_range&) { return false; } - while (t.type != Token::Token_NONE) { + while (t.type != token::Token_NONE) { if (t.is_operator(';')) { count++; } try { - t = local_lexer.Next(); + t = local_lexer.next(); } catch (const std::out_of_range&) { break; } @@ -1531,117 +1531,121 @@ size_t IfcParse::InstanceStreamer::semicolonCount() const { } template -void IfcParse::InstanceStreamer::pushPage(const std::string& page) { - stream_->pushNextPage(page); +void ifcopenshell::instance_streamer::push_page(const std::string& page) { + stream_->push_next_page(page); if (good_ == file_open_status::NO_HEADER) { initialize_header(); } } template -IfcParse::InstanceStreamer::InstanceStreamer(IfcParse::IfcFile* f) +ifcopenshell::instance_streamer::instance_streamer(ifcopenshell::file* f) : stream_(nullptr) , header_(nullptr) , owner_(f) - , token_stream_(3, Token{}) + , token_stream_(3, token{}) , schema_(nullptr) , progress_(0) { init_locale(); - if constexpr (std::is_same_v>) { + if constexpr (std::is_same_v>) { + owned_stream_ = std::make_unique(caller_fed_tag{}); + } else if constexpr (std::is_same_v>) { owned_stream_ = std::make_unique(caller_fed_tag{}); } else { - static_assert(file_reader_dependent_false_v, "Default InstanceStreamer requires a pushed sequential reader"); + static_assert(file_reader_dependent_false_v, "Default instance_streamer requires a pushed sequential reader"); } stream_ = owned_stream_.get(); - lexer_ = std::make_unique>(stream_); + lexer_ = std::make_unique>(stream_); good_ = file_open_status::NO_HEADER; storage_.file = f; storage_.references_to_resolve = &references_to_resolve_; } template -IfcParse::InstanceStreamer::InstanceStreamer(const std::string& fn, bool mmap, IfcParse::IfcFile* f) +ifcopenshell::instance_streamer::instance_streamer(const std::string& fn, bool mmap, ifcopenshell::file* f) : stream_(nullptr) , header_(nullptr) , owner_(f) - , token_stream_(3, Token{}) + , token_stream_(3, token{}) , schema_(nullptr) , progress_(0) { init_locale(); - if constexpr (std::is_same_v>) { + if constexpr (std::is_same_v>) { (void)mmap; owned_stream_ = std::make_unique(fn); #ifdef USE_MMAP - } else if constexpr (std::is_same_v) { + } else if constexpr (std::is_same_v>) { (void)mmap; owned_stream_ = std::make_unique(fn); #endif } else { - static_assert(file_reader_dependent_false_v, "Path-based InstanceStreamer requires a file-backed reader"); + static_assert(file_reader_dependent_false_v, "Path-based instance_streamer requires a file-backed reader"); } stream_ = owned_stream_.get(); - lexer_ = std::make_unique>(stream_); + lexer_ = std::make_unique>(stream_); good_ = file_open_status::NO_HEADER; initialize_header(); } template -IfcParse::InstanceStreamer::InstanceStreamer(void* data, int length, IfcParse::IfcFile* f) +ifcopenshell::instance_streamer::instance_streamer(void* data, int length, ifcopenshell::file* f) : stream_(nullptr) , header_(nullptr) , owner_(f) - , token_stream_(3, Token{}) + , token_stream_(3, token{}) , schema_(nullptr) , progress_(0) { init_locale(); - if constexpr (std::is_same_v>) { + if constexpr (std::is_same_v>) { + owned_stream_ = std::make_unique(std::string((char*)data, length), caller_fed_tag{}); + } else if constexpr (std::is_same_v>) { owned_stream_ = std::make_unique(std::string((char*)data, length), caller_fed_tag{}); } else { - static_assert(file_reader_dependent_false_v, "Buffer-based InstanceStreamer requires a pushed sequential reader"); + static_assert(file_reader_dependent_false_v, "Buffer-based instance_streamer requires a pushed sequential reader"); } stream_ = owned_stream_.get(); - lexer_ = std::make_unique>(stream_); + lexer_ = std::make_unique>(stream_); good_ = file_open_status::NO_HEADER; initialize_header(); } template -IfcParse::InstanceStreamer::InstanceStreamer(Reader* stream, IfcParse::IfcFile* f) +ifcopenshell::instance_streamer::instance_streamer(Reader* stream, ifcopenshell::file* f) : stream_(stream) , header_(nullptr) , owner_(f) - , token_stream_(3, Token{}) + , token_stream_(3, token{}) , schema_(nullptr) , progress_(0) { init_locale(); - lexer_ = std::make_unique>(stream_); + lexer_ = std::make_unique>(stream_); good_ = file_open_status::NO_HEADER; initialize_header(); } template -void IfcParse::InstanceStreamer::bypassTypes(const std::set& type_names) { +void ifcopenshell::instance_streamer::bypass_types(const std::set& type_names) { for (auto& name : type_names) { try { types_to_bypass_.push_back(schema_->declaration_by_name(name)); - } catch (const IfcException&) { + } catch (const exception&) { continue; } } } template -std::optional>> IfcParse::InstanceStreamer::readInstance() { - std::optional>> return_value; +std::optional>> ifcopenshell::instance_streamer::read_instance() { + std::optional>> return_value; if (yield_header_instances_ && header_ && yielded_header_instances_ < 3) { if (yielded_header_instances_ == 0) { @@ -1666,22 +1670,22 @@ std::optionalstream->eof() && !current_id) { - if (token_stream_[0].type == IfcParse::Token::Token_IDENTIFIER && - token_stream_[1].type == IfcParse::Token::Token_OPERATOR && + if (token_stream_[0].type == ifcopenshell::token::Token_IDENTIFIER && + token_stream_[1].type == ifcopenshell::token::Token_OPERATOR && token_stream_[1].value_char == '=' && - token_stream_[2].type == IfcParse::Token::Token_KEYWORD) { + token_stream_[2].type == ifcopenshell::token::Token_KEYWORD) { current_id = token_stream_[0].as_identifier(); - const IfcParse::declaration* entity_type; + const ifcopenshell::declaration* entity_type; try { entity_type = schema_->declaration_by_name(token_stream_[2].as_string()); - } catch (const IfcException& ex) { - Logger::Message(Logger::LOG_ERROR, std::string(ex.what()) + " at offset " + std::to_string(token_stream_[2].start_pos)); + } catch (const exception& ex) { + logger::message(logger::LOG_ERROR, std::string(ex.what()) + " at offset " + std::to_string(token_stream_[2].start_pos)); current_id = 0; goto advance; } if (entity_type->as_entity() == nullptr) { - Logger::Message(Logger::LOG_ERROR, "Non entity type " + entity_type->name() + " at offset " + std::to_string(token_stream_[2].start_pos)); + logger::message(logger::LOG_ERROR, "Non entity type " + entity_type->name() + " at offset " + std::to_string(token_stream_[2].start_pos)); goto advance; } @@ -1694,19 +1698,19 @@ std::optionalNext(); + lexer_->next(); try { storage_.load(lexer_.get(), current_id, entity_type->as_entity(), ps, -1); - } catch (const IfcInvalidTokenException& e) { + } catch (const invalid_token_exception& e) { good_ = file_open_status::INVALID_SYNTAX; - Logger::Error(e); + logger::error(e); break; } if (((++progress_) % 1000) == 0) { std::stringstream ss; ss << "\r#" << current_id; - Logger::Status(ss.str(), false); + logger::status(ss.str(), false); } auto data = ps.construct(owner_, current_id, references_to_resolve_, entity_type, std::nullopt, -1, coerce_attribute_count); @@ -1718,13 +1722,13 @@ std::optionalNext(); - } catch (const IfcException& e) { - Logger::Message(Logger::LOG_ERROR, std::string(e.what()) + ". Parsing terminated"); + next_token = lexer_->next(); + } catch (const exception& e) { + logger::message(logger::LOG_ERROR, std::string(e.what()) + ". Parsing terminated"); } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Parsing terminated"); + logger::message(logger::LOG_ERROR, "Parsing terminated"); } if (!lexer_->stream->eof() && !next_token) { @@ -1735,14 +1739,16 @@ std::optionaldropPages(); - lexer_->resetPool(); + stream_->drop_pages(); + lexer_->reset_pool(); return return_value; } +template class ifcopenshell::instance_streamer>; + template -void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const IfcParse::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass) { +void ifcopenshell::impl::in_memory_file_storage::read_from_stream(Reader* s, const ifcopenshell::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass) { init_locale(); schema = nullptr; @@ -1754,8 +1760,8 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I std::vector schemas; - InstanceStreamer streamer(s, file); - streamer.yieldHeaderInstances(false); + instance_streamer streamer(s, file); + streamer.yield_header_instances(false); if (const auto* header = streamer.header()) { try { @@ -1767,10 +1773,10 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I schema = streamer.schema(); if (schema == nullptr && schemas.size() == 1) { try { - schema = IfcParse::schema_by_name(schemas.front()); - } catch (const IfcParse::IfcException& e) { + schema = ifcopenshell::schema_by_name(schemas.front()); + } catch (const ifcopenshell::exception& e) { good_ = file_open_status::UNSUPPORTED_SCHEMA; - Logger::Error(e); + logger::error(e); } } @@ -1780,17 +1786,17 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I } else { good_ = file_open_status::UNSUPPORTED_SCHEMA; } - Logger::Message(Logger::LOG_ERROR, "No support for file schema encountered (" + boost::algorithm::join(schemas, ", ") + ")"); + logger::message(logger::LOG_ERROR, "No support for file schema encountered (" + boost::algorithm::join(schemas, ", ") + ")"); return; } auto ifcroot_type_ = schema->declaration_by_name("IfcRoot"); - streamer.bypassTypes(typed_to_bypass); + streamer.bypass_types(typed_to_bypass); - Logger::Status("Scanning file..."); + logger::status("Scanning file..."); while (streamer) { - auto inst = streamer.readInstance(); + auto inst = streamer.read_instance(); if (!inst) { break; @@ -1805,21 +1811,21 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I if (byguid_.find(guid) != byguid_.end()) { std::stringstream ss; ss << "Instance encountered with non-unique GlobalId " << guid; - Logger::Message(Logger::LOG_WARNING, ss.str()); + logger::message(logger::LOG_WARNING, ss.str()); } byguid_[guid] = instance; - } catch (const IfcException& ex) { - Logger::Message(Logger::LOG_ERROR, ex.what()); + } catch (const exception& ex) { + logger::message(logger::LOG_ERROR, ex.what()); } } - const IfcParse::declaration* ty = &instance.declaration(); + const ifcopenshell::declaration* ty = &instance.declaration(); bytype_excl_[ty].push_back(instance); if (byid_.find(current_id) != byid_.end()) { std::stringstream ss; ss << "Overwriting instance with name #" << current_id; - Logger::Message(Logger::LOG_WARNING, ss.str()); + logger::message(logger::LOG_WARNING, ss.str()); } byid_.insert({(uint32_t)current_id, std::get<2>(*inst)}); @@ -1828,9 +1834,9 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I good_ = streamer.status(); byref_excl_ = streamer.inverses(); - read_simple_type_instances = streamer.stealInstances(); + read_simple_type_instances = streamer.steal_instances(); - Logger::Status("\rDone scanning file "); + logger::status("\rDone scanning file "); if (good_ != file_open_status::SUCCESS) { return; @@ -1842,13 +1848,13 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I const auto& ref = p.first.name_; const auto& refattr = p.first.index_; if (auto* v = std::get_if(&p.second)) { - if (auto* name = std::get_if(v)) { + if (auto* name = std::get_if(v)) { if (std::binary_search(bypassed.begin(), bypassed.end(), *name)) { continue; } auto it = byid_.find(*name); if (it == byid_.end()) { - Logger::Error("Instance reference #" + std::to_string(*name) + " used by instance #" + std::to_string(ref) + " at attribute index " + std::to_string(refattr) + " not found at offset " + std::to_string(name->file_offset)); + logger::error("Instance reference #" + std::to_string(*name) + " used by instance #" + std::to_string(ref) + " at attribute index " + std::to_string(refattr) + " not found at offset " + std::to_string(name->file_offset)); } else { auto& storage = byid_[p.first.name_]; auto attr_index = p.first.index_; @@ -1862,10 +1868,10 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I } } - if (storage->has_attribute_value(attr_index)) { + if (storage->has_attribute_value(attr_index)) { storage->set_attribute_value(attr_index, express::Base(it->second)); } else { - Logger::Error("Duplicate definition for instance reference"); + logger::error("Duplicate definition for instance reference"); } } } else if (auto inst = std::get_if(v)) { @@ -1875,13 +1881,13 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I std::vector instances; instances.reserve(vv->size()); for (const auto& vi : *vv) { - if (auto* name = std::get_if(&vi)) { + if (auto* name = std::get_if(&vi)) { if (std::binary_search(bypassed.begin(), bypassed.end(), *name)) { continue; } auto it = byid_.find(*name); if (it == byid_.end()) { - Logger::Error("Instance reference #" + std::to_string(*name) + " used by instance #" + std::to_string(ref) + " at attribute index " + std::to_string(refattr) + " not found at offset " + std::to_string(name->file_offset)); + logger::error("Instance reference #" + std::to_string(*name) + " used by instance #" + std::to_string(ref) + " at attribute index " + std::to_string(refattr) + " not found at offset " + std::to_string(name->file_offset)); } else { instances.push_back(express::Base(it->second)); } @@ -1902,23 +1908,23 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I } } - if (storage->has_attribute_value(attr_index)) { + if (storage->has_attribute_value(attr_index)) { storage->set_attribute_value(attr_index, instances); } else { - Logger::Error("Duplicate definition for instance reference"); + logger::error("Duplicate definition for instance reference"); } } else if (auto* vvv = std::get_if>>(&p.second)) { std::vector> instances; for (const auto& vi : *vvv) { auto& inner = instances.emplace_back(); for (const auto& vii : vi) { - if (auto* name = std::get_if(&vii)) { + if (auto* name = std::get_if(&vii)) { if (std::binary_search(bypassed.begin(), bypassed.end(), *name)) { continue; } auto it = byid_.find(*name); if (it == byid_.end()) { - Logger::Error("Instance reference #" + std::to_string(*name) + " used by instance #" + std::to_string(ref) + " at attribute index " + std::to_string(refattr) + " not found at offset " + std::to_string(name->file_offset)); + logger::error("Instance reference #" + std::to_string(*name) + " used by instance #" + std::to_string(ref) + " at attribute index " + std::to_string(refattr) + " not found at offset " + std::to_string(name->file_offset)); } else { inner.push_back(express::Base(it->second)); } @@ -1940,24 +1946,24 @@ void IfcParse::impl::in_memory_file_storage::read_from_stream(Reader* s, const I } } - if (storage->has_attribute_value(attr_index)) { + if (storage->has_attribute_value(attr_index)) { storage->set_attribute_value(attr_index, instances); } else { - Logger::Error("Duplicate definition for instance reference"); + logger::error("Duplicate definition for instance reference"); } } } - Logger::Status("Done resolving references"); + logger::status("Done resolving references"); } -template void IfcParse::impl::in_memory_file_storage::read_from_stream(FileReader* s, const IfcParse::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass); -template void IfcParse::impl::in_memory_file_storage::read_from_stream(FileReader* s, const IfcParse::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass); +template void ifcopenshell::impl::in_memory_file_storage::read_from_stream(file_reader* s, const ifcopenshell::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass); +template void ifcopenshell::impl::in_memory_file_storage::read_from_stream(file_reader* s, const ifcopenshell::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass); #ifdef USE_MMAP -template void IfcParse::impl::in_memory_file_storage::read_from_stream(MMapFileReader* s, const IfcParse::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass); +template void ifcopenshell::impl::in_memory_file_storage::read_from_stream(file_reader* s, const ifcopenshell::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass); #endif -void IfcFile::recalculate_id_counter() { +void file::recalculate_id_counter() { /* // @todo entity_by_id_t::key_type k = 0; @@ -2036,7 +2042,7 @@ void traversal_visitor::operator()(const express::Base& inst, int /* index */) { traverse_(inst, visited_, list_, level_, max_level_); } -std::vector IfcParse::traverse(const express::Base& instance, int max_level) { +std::vector ifcopenshell::traverse(const express::Base& instance, int max_level) { std::set visited; traversal_recorder recorder(0); traverse_(instance, visited, recorder, 0, max_level); @@ -2045,7 +2051,7 @@ std::vector IfcParse::traverse(const express::Base& instance, int // I'm cheating this isn't breadth-first, but rather we record visited instances // keeping track of their rank and return a list ordered by rank. Is this equivalent? -std::vector IfcParse::traverse_breadth_first(const express::Base& instance, int max_level) { +std::vector ifcopenshell::traverse_breadth_first(const express::Base& instance, int max_level) { std::set visited; traversal_recorder recorder(1); traverse_(instance, visited, recorder, 0, max_level); @@ -2053,22 +2059,22 @@ std::vector IfcParse::traverse_breadth_first(const express::Base& } /// @note: for backwards compatibility -std::vector IfcFile::traverse(const express::Base& instance, int max_level) { - return IfcParse::traverse(instance, max_level); +std::vector file::traverse(const express::Base& instance, int max_level) { + return ifcopenshell::traverse(instance, max_level); } /// @note: for backwards compatibility -std::vector IfcFile::traverse_breadth_first(const express::Base& instance, int max_level) { - return IfcParse::traverse_breadth_first(instance, max_level); +std::vector file::traverse_breadth_first(const express::Base& instance, int max_level) { + return ifcopenshell::traverse_breadth_first(instance, max_level); } -express::Base IfcFile::addEntity(const express::Base& entity, int id) { +express::Base file::add_entity(const express::Base& entity, int id) { if (entity.file() == this) { return entity; } if (entity.declaration().schema() != schema()) { - throw IfcParse::IfcException("Unabled to add instance from " + entity.declaration().schema()->name() + " schema to file with " + schema()->name() + " schema"); + throw ifcopenshell::exception("Unabled to add instance from " + entity.declaration().schema()->name() + " schema to file with " + schema()->name() + " schema"); } // If this instance has been inserted before, return @@ -2086,18 +2092,18 @@ express::Base IfcFile::addEntity(const express::Base& entity, int id) { if (*it != entity) { entity_entity_map_t::iterator mit2 = entity_file_map_.find(it->identity()); if (mit2 == entity_file_map_.end()) { - entity_file_map_.insert(entity_entity_map_t::value_type(it->identity(), addEntity(*it))); + entity_file_map_.insert(entity_entity_map_t::value_type(it->identity(), add_entity(*it))); } } } } catch (...) { - Logger::Message(Logger::LOG_ERROR, "Failed to visit forward references of", entity); + logger::message(logger::LOG_ERROR, "Failed to visit forward references of", entity); } // An instance is being added from another file. A copy of the // container and entity is created. The attribute references // need to be updated to point to instances in this file. - IfcFile* other_file = entity.file(); + file* other_file = entity.file(); auto new_entity = create(&entity.declaration(), id); auto* decl = &entity.declaration(); @@ -2122,9 +2128,9 @@ express::Base IfcFile::addEntity(const express::Base& entity, int id) { for (size_t i = 0; i < num_attributes; ++i) { // old attribute value auto attr = entity.get_attribute_value(i); - IfcUtil::ArgumentType attr_type = attr.type(); + ifcopenshell::argument_type attr_type = attr.type(); - IfcParse::declaration* potentially_length_measure_decl = 0; + ifcopenshell::declaration* potentially_length_measure_decl = 0; if (decl->as_entity() != nullptr) { potentially_length_measure_decl = 0; const parameter_type* pt = decl->as_entity()->attribute_by_index(i)->type_of_attribute(); @@ -2136,25 +2142,25 @@ express::Base IfcFile::addEntity(const express::Base& entity, int id) { } } - if (attr_type == IfcUtil::Argument_ENTITY_INSTANCE) { + if (attr_type == ifcopenshell::Argument_ENTITY_INSTANCE) { entity_entity_map_t::const_iterator eit = entity_file_map_.find(((express::Base)(attr)).identity()); if (eit == entity_file_map_.end()) { - throw IfcParse::IfcException("Unable to map instance to file"); + throw ifcopenshell::exception("Unable to map instance to file"); } // @todo previously, we directly use storage::set() not to trigger inverse recalculation which happens at the end new_entity.set_attribute_value(i, eit->second); - } else if (attr_type == IfcUtil::Argument_AGGREGATE_OF_ENTITY_INSTANCE) { + } else if (attr_type == ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE) { std::vector instances = attr; std::vector new_instances; for (auto& i : instances) { entity_entity_map_t::const_iterator eit = entity_file_map_.find(i.identity()); if (eit == entity_file_map_.end()) { - throw IfcParse::IfcException("Unable to map instance to file"); + throw ifcopenshell::exception("Unable to map instance to file"); } new_instances.push_back(eit->second); } new_entity.set_attribute_value(i, new_instances); - } else if (attr_type == IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE) { + } else if (attr_type == ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE) { std::vector> instances = attr; std::vector> new_instances; @@ -2163,7 +2169,7 @@ express::Base IfcFile::addEntity(const express::Base& entity, int id) { for (auto& i : v) { entity_entity_map_t::const_iterator eit = entity_file_map_.find(i.identity()); if (eit == entity_file_map_.end()) { - throw IfcParse::IfcException("Unable to map instance to file"); + throw ifcopenshell::exception("Unable to map instance to file"); } new_instances.back().push_back(eit->second); } @@ -2175,9 +2181,9 @@ express::Base IfcFile::addEntity(const express::Base& entity, int id) { std::pair this_file_unit = {express::Base{}, 1.0}; std::pair other_file_unit = {express::Base{}, 1.0}; try { - this_file_unit = getUnit("LENGTHUNIT"); - other_file_unit = other_file->getUnit("LENGTHUNIT"); - } catch (IfcParse::IfcException&) { + this_file_unit = get_unit("LENGTHUNIT"); + other_file_unit = other_file->get_unit("LENGTHUNIT"); + } catch (ifcopenshell::exception&) { } if (this_file_unit.first && other_file_unit.first) { conversion_factor = other_file_unit.second / this_file_unit.second; @@ -2185,17 +2191,17 @@ express::Base IfcFile::addEntity(const express::Base& entity, int id) { conversion_factor = 1.; } } - if (attr_type == IfcUtil::Argument_DOUBLE) { + if (attr_type == ifcopenshell::Argument_DOUBLE) { double v = attr; v *= conversion_factor; new_entity.set_attribute_value(i, v); - } else if (attr_type == IfcUtil::Argument_AGGREGATE_OF_DOUBLE) { + } else if (attr_type == ifcopenshell::Argument_AGGREGATE_OF_DOUBLE) { std::vector v = attr; for (std::vector::iterator it = v.begin(); it != v.end(); ++it) { (*it) *= conversion_factor; } new_entity.set_attribute_value(i, v); - } else if (attr_type == IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE) { + } else if (attr_type == ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE) { std::vector> v = attr; for (std::vector>::iterator it = v.begin(); it != v.end(); ++it) { std::vector& v2 = (*it); @@ -2218,11 +2224,11 @@ express::Base IfcFile::addEntity(const express::Base& entity, int id) { if (byguid_.find(guid) != byguid_.end()) { std::stringstream ss; ss << "Overwriting entity with guid " << guid; - Logger::Message(Logger::LOG_WARNING, ss.str()); + logger::message(logger::LOG_WARNING, ss.str()); } byguid_.insert({ guid, new_entity }); } catch (const std::exception& ex) { - Logger::Message(Logger::LOG_ERROR, ex.what()); + logger::message(logger::LOG_ERROR, ex.what()); } } */ @@ -2232,17 +2238,17 @@ express::Base IfcFile::addEntity(const express::Base& entity, int id) { return new_entity; } -void IfcFile::removeEntity(const express::Base& entity) { +void file::remove_entity(const express::Base& entity) { auto id = entity.id(); auto file_entity = instance_by_id(id); - // Attention when running removeEntity inside a loop over a list of entities to be removed. + // Attention when running remove_entity inside a loop over a list of entities to be removed. // This invalidates the iterator. A workaround is to reverse the loop: // boost::shared_ptr entities = ...; // for (auto it = entities->end() - 1; it >= entities->begin(); --it) { // express::Base *const inst = *it; - // model->removeEntity(inst); + // model->remove_entity(inst); // } // TODO: Create a set of weak relations. Inverse relations that do not dictate an @@ -2253,7 +2259,7 @@ void IfcFile::removeEntity(const express::Base& entity) { // std::set weak_roots; if (entity != file_entity) { - throw IfcParse::IfcException("Instance not part of this file"); + throw ifcopenshell::exception("Instance not part of this file"); } if (batch_mode_) { @@ -2264,7 +2270,7 @@ void IfcFile::removeEntity(const express::Base& entity) { } } -void IfcFile::process_deletion_(const express::Base& entity) { +void file::process_deletion_(const express::Base& entity) { auto references = instances_by_reference(entity.id()); @@ -2286,28 +2292,28 @@ void IfcFile::process_deletion_(const express::Base& entity) { continue; } - IfcUtil::ArgumentType attr_type = attr.type(); + ifcopenshell::argument_type attr_type = attr.type(); switch (attr_type) { - case IfcUtil::Argument_ENTITY_INSTANCE: { + case ifcopenshell::Argument_ENTITY_INSTANCE: { express::Base instance_attribute = attr; if (instance_attribute == entity) { - related_instance.set_attribute_value(i, Blank{}); + related_instance.set_attribute_value(i, blank{}); } } break; - case IfcUtil::Argument_AGGREGATE_OF_ENTITY_INSTANCE: { + case ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE: { std::vector instance_list = attr; auto it = std::remove(instance_list.begin(), instance_list.end(), entity); if (it != instance_list.end()) { instance_list.erase(it, instance_list.end()); if (instance_list.empty() && related_instance.declaration().as_entity()->attribute_by_index(i)->optional()) { // @todo we can also check the lower bound of the attribute type before setting to null. - related_instance.set_attribute_value(i, Blank{}); + related_instance.set_attribute_value(i, blank{}); } else { related_instance.set_attribute_value(i, instance_list); } } } break; - case IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE: { + case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE: { std::vector> instance_list_list = attr; bool updated = false; for (auto& li : instance_list_list) { @@ -2332,7 +2338,7 @@ void IfcFile::process_deletion_(const express::Base& entity) { if (it != byguid_.end()) { byguid_.erase(it); } else { - Logger::Warning("GlobalId on rooted instance not encountered in map"); + logger::warning("GlobalId on rooted instance not encountered in map"); } } @@ -2353,7 +2359,7 @@ void IfcFile::process_deletion_(const express::Base& entity) { } } -void IfcParse::impl::in_memory_file_storage::process_deletion_inverse(const express::Base& entity) { +void ifcopenshell::impl::in_memory_file_storage::process_deletion_inverse(const express::Base& entity) { auto id = entity.id(); // Delete inverses into entity @@ -2387,7 +2393,7 @@ void IfcParse::impl::in_memory_file_storage::process_deletion_inverse(const expr namespace { template - void visit_subtypes(const IfcParse::entity* ent, Fn fn) { + void visit_subtypes(const ifcopenshell::entity* ent, Fn fn) { fn(ent); for (const auto& st : ent->subtypes()) { visit_subtypes(st, fn); @@ -2395,7 +2401,7 @@ namespace { } template - void visit_supertypes(const IfcParse::entity* ent, Fn fn) { + void visit_supertypes(const ifcopenshell::entity* ent, Fn fn) { fn(ent); if (ent->supertype()) { visit_supertypes(ent->supertype(), fn); @@ -2403,10 +2409,10 @@ namespace { } } -std::vector IfcFile::instances_by_type(const IfcParse::declaration* t) { +std::vector file::instances_by_type(const ifcopenshell::declaration* t) { std::vector insts; if (t->as_entity() != nullptr) { - visit_subtypes(t->as_entity(), [this, &insts](const IfcParse::entity* ent) { + visit_subtypes(t->as_entity(), [this, &insts](const ifcopenshell::entity* ent) { auto subtype_insts = instances_by_type_excl_subtypes(ent); insts.insert(insts.end(), subtype_insts.begin(), subtype_insts.end()); }); @@ -2414,7 +2420,7 @@ std::vector IfcFile::instances_by_type(const IfcParse::declaratio return insts; } -std::vector IfcFile::instances_by_type_excl_subtypes(const IfcParse::declaration* t) { +std::vector file::instances_by_type_excl_subtypes(const ifcopenshell::declaration* t) { return std::visit([t](auto& x) { if constexpr (std::is_same_v, impl::in_memory_file_storage>) { auto it = x.bytype_excl_.find(t); @@ -2428,7 +2434,7 @@ std::vector IfcFile::instances_by_type_excl_subtypes(const IfcPar std::vector vals(s.size() / sizeof(size_t)); memcpy(vals.data(), s.data(), s.size()); for (auto& v : vals) { - ret.push_back(x.assert_existance(v, IfcParse::impl::rocks_db_file_storage::entityinstance_ref)); + ret.push_back(x.assert_existance(v, ifcopenshell::impl::rocks_db_file_storage::entityinstance_ref)); } } return ret; @@ -2440,15 +2446,15 @@ std::vector IfcFile::instances_by_type_excl_subtypes(const IfcPar }, storage_); } -std::vector IfcFile::instances_by_type(const std::string& t) { +std::vector file::instances_by_type(const std::string& t) { return instances_by_type(schema()->declaration_by_name(t)); } -std::vector IfcFile::instances_by_type_excl_subtypes(const std::string& t) { +std::vector file::instances_by_type_excl_subtypes(const std::string& t) { return instances_by_type_excl_subtypes(schema()->declaration_by_name(t)); } -std::vector IfcFile::instances_by_reference(int t) { +std::vector file::instances_by_reference(int t) { std::vector ret; std::visit([this, t, &ret](auto& x) { if constexpr (std::is_same_v, impl::in_memory_file_storage>) { @@ -2483,7 +2489,7 @@ std::vector IfcFile::instances_by_reference(int t) { return ret; } -express::Base IfcFile::instance_by_id(int id) { +express::Base file::instance_by_id(int id) { return std::visit([id](auto& x) { if constexpr (std::is_same_v, std::monostate>) { throw std::runtime_error("Storage not initialized"); @@ -2494,7 +2500,7 @@ express::Base IfcFile::instance_by_id(int id) { }, storage_); } -void IfcParse::IfcFile::add_type_ref(const express::Base& new_entity) +void ifcopenshell::file::add_type_ref(const express::Base& new_entity) { std::visit([new_entity](auto& x) { if constexpr (std::is_same_v, std::monostate>) { @@ -2506,7 +2512,7 @@ void IfcParse::IfcFile::add_type_ref(const express::Base& new_entity) } -void IfcParse::IfcFile::remove_type_ref(const express::Base& new_entity) { +void ifcopenshell::file::remove_type_ref(const express::Base& new_entity) { std::visit([new_entity](auto& x) { if constexpr (std::is_same_v, std::monostate>) { throw std::runtime_error("Storage not initialized"); @@ -2516,7 +2522,7 @@ void IfcParse::IfcFile::remove_type_ref(const express::Base& new_entity) { }, storage_); } -void IfcParse::IfcFile::process_deletion_inverse(const express::Base& inst) { +void ifcopenshell::file::process_deletion_inverse(const express::Base& inst) { std::visit([inst](auto& x) { if constexpr (std::is_same_v, std::monostate>) { throw std::runtime_error("Storage not initialized"); @@ -2526,39 +2532,39 @@ void IfcParse::IfcFile::process_deletion_inverse(const express::Base& inst) { }, storage_); } -express::Base IfcFile::instance_by_guid(const std::string& guid) { +express::Base file::instance_by_guid(const std::string& guid) { auto it = byguid_.find(guid); if (it == byguid_.end()) { - throw IfcException("Instance with GlobalId '" + guid + "' not found"); + throw exception("Instance with GlobalId '" + guid + "' not found"); } return it->second; } -IfcFile::type_iterator IfcFile::types_begin() const { +file::type_iterator file::types_begin() const { return std::visit([](const auto& x) { if constexpr (std::is_same_v, std::monostate>) { - return IfcFile::type_iterator{ impl::rocks_db_file_storage::rocksdb_types_iterator{} }; + return file::type_iterator{ impl::rocks_db_file_storage::rocksdb_types_iterator{} }; } else if constexpr (std::is_same_v, impl::in_memory_file_storage>) { - return IfcFile::type_iterator{ x.bytype_excl_.begin() }; + return file::type_iterator{ x.bytype_excl_.begin() }; } else if constexpr (std::is_same_v, impl::rocks_db_file_storage>) { - return IfcFile::type_iterator{ impl::rocks_db_file_storage::rocksdb_types_iterator(&x) }; + return file::type_iterator{ impl::rocks_db_file_storage::rocksdb_types_iterator(&x) }; } }, storage_); } -IfcFile::type_iterator IfcFile::types_end() const { +file::type_iterator file::types_end() const { return std::visit([](const auto& x) { if constexpr (std::is_same_v, std::monostate>) { - return IfcFile::type_iterator{ impl::rocks_db_file_storage::rocksdb_types_iterator{} }; + return file::type_iterator{ impl::rocks_db_file_storage::rocksdb_types_iterator{} }; } else if constexpr (std::is_same_v, impl::in_memory_file_storage>) { - return IfcFile::type_iterator{ x.bytype_excl_.end() }; + return file::type_iterator{ x.bytype_excl_.end() }; } else if constexpr (std::is_same_v, impl::rocks_db_file_storage>) { - return IfcFile::type_iterator{ impl::rocks_db_file_storage::rocksdb_types_iterator{} }; + return file::type_iterator{ impl::rocks_db_file_storage::rocksdb_types_iterator{} }; } }, storage_); } -std::ostream& operator<<(std::ostream& out, const IfcParse::IfcFile& file) { +std::ostream& operator<<(std::ostream& out, const ifcopenshell::file& file) { file.header().write(out); typedef std::vector vector_t; @@ -2569,7 +2575,7 @@ std::ostream& operator<<(std::ostream& out, const IfcParse::IfcFile& file) { for (auto& e : sorted) { // @todo this check should no longer be necessary? if (e.declaration().as_entity() != nullptr) { - e.toString(out, true); + e.to_string(out, true); out << ";" << std::endl; } } @@ -2580,7 +2586,7 @@ std::ostream& operator<<(std::ostream& out, const IfcParse::IfcFile& file) { return out; } -std::string IfcFile::createTimestamp() { +std::string file::create_timestamp() { char buf[255]; time_t t; @@ -2596,14 +2602,14 @@ std::string IfcFile::createTimestamp() { return result; } -const IfcParse::schema_definition* IfcFile::schema() const { +const ifcopenshell::schema_definition* file::schema() const { if (schema_ == nullptr) { - throw IfcException("No schema loaded"); + throw exception("No schema loaded"); } return schema_; } -std::vector IfcFile::get_inverse_indices(int instance_id) { +std::vector file::get_inverse_indices(int instance_id) { std::vector return_value; // Mapping of instance id to attribute offset. @@ -2643,7 +2649,7 @@ std::vector IfcFile::get_inverse_indices(int instance_id) { for (const auto& ref : refs) { auto it = mapping.find(ref.id()); if (it == mapping.end() || it->second.empty()) { - throw IfcException("Internal error"); + throw exception("Internal error"); } return_value.push_back(it->second.front()); it->second.erase(it->second.begin()); @@ -2654,13 +2660,13 @@ std::vector IfcFile::get_inverse_indices(int instance_id) { // Test whether all mappings where indeed used. if (!mapping.empty()) { - throw IfcException("Internal error"); + throw exception("Internal error"); } return return_value; } -std::vector IfcFile::getInverse(int instance_id, const IfcParse::declaration* type, int attribute_index) { +std::vector file::get_inverse(int instance_id, const ifcopenshell::declaration* type, int attribute_index) { std::vector return_value; if (type == nullptr && attribute_index == -1) { @@ -2672,7 +2678,7 @@ std::vector IfcFile::getInverse(int instance_id, const IfcParse return return_value; } - visit_subtypes(type->as_entity(), [this, attribute_index, instance_id, &return_value](const IfcParse::declaration* ent) { + visit_subtypes(type->as_entity(), [this, attribute_index, instance_id, &return_value](const ifcopenshell::declaration* ent) { std::visit([&return_value, this, attribute_index, instance_id, ent](const auto& x) { if constexpr (std::is_same_v, std::monostate>) { @@ -2726,7 +2732,7 @@ std::vector IfcFile::getInverse(int instance_id, const IfcParse return return_value; } -size_t IfcFile::getTotalInverses(int instance_id) { +size_t file::get_total_inverses(int instance_id) { std::set counted_ids; std::visit([&counted_ids, instance_id](const auto& x) { @@ -2747,7 +2753,7 @@ size_t IfcFile::getTotalInverses(int instance_id) { return counted_ids.size(); } -void IfcFile::setDefaultHeaderValues() { +void file::set_default_header_values() { const std::string empty_string; std::vector file_description; std::vector schema_identifiers; @@ -2762,7 +2768,7 @@ void IfcFile::setDefaultHeaderValues() { header().file_description().setimplementation_level("2;1"); header().file_name().setname(empty_string); - header().file_name().settime_stamp(createTimestamp()); + header().file_name().settime_stamp(create_timestamp()); header().file_name().setauthor(string_vector); header().file_name().setorganization(string_vector); header().file_name().setpreprocessor_version("IfcOpenShell " + std::string(IFCOPENSHELL_VERSION)); @@ -2772,14 +2778,14 @@ void IfcFile::setDefaultHeaderValues() { header().file_schema().setschema_identifiers(schema_identifiers); } -std::pair IfcFile::getUnit(const std::string& unit_type) { +std::pair file::get_unit(const std::string& unit_type) { std::pair return_value(express::Base{}, 1.); auto projects = instances_by_type(schema()->declaration_by_name("IfcProject")); if (projects.empty()) { try { projects = instances_by_type(schema()->declaration_by_name("IfcContext")); - } catch (IfcException&) { + } catch (exception&) { } } @@ -2815,9 +2821,9 @@ std::pair IfcFile::getUnit(const std::string& unit_type) } if (siunit) { - AttributeValue prefix = siunit.as().get("Prefix"); + attribute_value prefix = siunit.as().get("Prefix"); if (!prefix.isNull()) { - return_value.second *= IfcSIPrefixToValue(prefix); + return_value.second *= si_prefix_to_value(prefix); } } } @@ -2827,7 +2833,7 @@ std::pair IfcFile::getUnit(const std::string& unit_type) return return_value; } -void IfcParse::IfcFile::build_inverses_(const express::Base& inst) { +void ifcopenshell::file::build_inverses_(const express::Base& inst) { std::function fn = [this, inst](const express::Base& attr, int idx) { if (attr.declaration().as_entity() != nullptr) { unsigned entity_attribute_id = attr.id(); @@ -2847,7 +2853,7 @@ void IfcParse::IfcFile::build_inverses_(const express::Base& inst) { apply_individual_instance_visitor(inst).apply(fn); } -void IfcParse::IfcFile::unbatch() { +void ifcopenshell::file::unbatch() { for (auto& id : batch_deletion_ids_) { process_deletion_(instance_by_id(id)); } @@ -2859,7 +2865,7 @@ void IfcParse::IfcFile::unbatch() { batch_deletion_ids_.clear(); } -void IfcParse::IfcFile::reset_identity_cache() { +void ifcopenshell::file::reset_identity_cache() { std::visit([](auto& x) { if constexpr (std::is_same_v, impl::rocks_db_file_storage>) { x.instance_cache_.clear(); @@ -2868,13 +2874,13 @@ void IfcParse::IfcFile::reset_identity_cache() { }, storage_); } -void IfcParse::IfcFile::build_inverses() { +void ifcopenshell::file::build_inverses() { for (const auto& pair : *this) { build_inverses_(express::Base(pair.second)); } } -void IfcParse::IfcFile::register_inverse(unsigned id_from, const IfcParse::entity* from_entity, int inst_id, int attribute_index) +void ifcopenshell::file::register_inverse(unsigned id_from, const ifcopenshell::entity* from_entity, int inst_id, int attribute_index) { std::visit([id_from, from_entity, inst_id, attribute_index](auto& x) { if constexpr (std::is_same_v, std::monostate>) { @@ -2885,7 +2891,7 @@ void IfcParse::IfcFile::register_inverse(unsigned id_from, const IfcParse::entit }, storage_); } -void IfcParse::IfcFile::unregister_inverse(unsigned id_from, const IfcParse::entity* from_entity, const express::Base& inst, int attribute_index) +void ifcopenshell::file::unregister_inverse(unsigned id_from, const ifcopenshell::entity* from_entity, const express::Base& inst, int attribute_index) { std::visit([id_from, from_entity, inst, attribute_index](auto& x) { if constexpr (std::is_same_v, std::monostate>) { @@ -2896,19 +2902,19 @@ void IfcParse::IfcFile::unregister_inverse(unsigned id_from, const IfcParse::ent }, storage_); } -std::atomic_uint32_t InstanceData::counter_(0); +std::atomic_uint32_t instance_data::counter_(0); -// bool IfcParse::IfcFile::guid_map_ = true; +// bool ifcopenshell::file::guid_map_ = true; void express::Base::unset_attribute_value(size_t index) { - data()->set_attribute_value(index, Blank{}); + data()->set_attribute_value(index, blank{}); } -AttributeValue express::Base::get_attribute_value(size_t index) const { +attribute_value express::Base::get_attribute_value(size_t index) const { return data()->get_attribute_value(index); } -void express::Base::toString(std::ostream& out, bool upper) const +void express::Base::to_string(std::ostream& out, bool upper) const { const auto *ent = declaration().as_entity(); if (ent != nullptr && declaration().schema() != &Header_section_schema::get_schema()) { @@ -2919,39 +2925,39 @@ void express::Base::toString(std::ostream& out, bool upper) const } else { out << declaration().name(); } - data()->toString(out, upper); + data()->to_string(out, upper); } -IfcParse::IfcFile* express::Base::file() const { +ifcopenshell::file* express::Base::file() const { return data()->file(); } /* -InstanceData::InstanceData(const InstanceData& data) +instance_data::instance_data(const instance_data& data) : storage_(data.size()) { } */ -AttributeValue InstanceData::get_attribute_value(size_t index) const +attribute_value instance_data::get_attribute_value(size_t index) const { if (storage_) { - return AttributeValue(storage_, (uint8_t)index); + return attribute_value(storage_, (uint8_t)index); } else { - auto* const storage = std::visit([](auto& m) -> IfcParse::impl::rocks_db_file_storage* { + auto* const storage = std::visit([](auto& m) -> ifcopenshell::impl::rocks_db_file_storage* { using U = std::decay_t; - if constexpr (std::is_same_v) { + if constexpr (std::is_same_v) { return &m; } else { return nullptr; } }, file_->storage_); - return AttributeValue(storage, identity_, declaration_, (uint8_t) index); + return attribute_value(storage, identity_, declaration_, (uint8_t) index); } } -bool IfcParse::impl::rocks_db_file_storage::read_schema(const IfcParse::schema_definition*& schema) { +bool ifcopenshell::impl::rocks_db_file_storage::read_schema(const ifcopenshell::schema_definition*& schema) { #ifdef IFOPSH_WITH_ROCKSDB std::string value; auto key = "h|file_schema|0"; @@ -2960,7 +2966,7 @@ bool IfcParse::impl::rocks_db_file_storage::read_schema(const IfcParse::schema_d if (::impl::deserialize(this, value, strings) && strings.size() == 1) { try { schema = schema_by_name(strings[0]); - } catch (IfcException&) { + } catch (exception&) { return false; } return true; @@ -2970,7 +2976,7 @@ bool IfcParse::impl::rocks_db_file_storage::read_schema(const IfcParse::schema_d } /* -express::Base::IfcBaseClass(InstanceData&& data) +express::Base::IfcBaseClass(instance_data&& data) : identity_(counter_++) , id_(0) , file_(nullptr) @@ -2992,15 +2998,15 @@ void express::Base::set_attribute_value(const std::string& name, const express:: set_attribute_value(name, p); } -template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const Blank& value); -template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const Derived& value); +template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const blank& value); +template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const derived& value); template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const int& value); template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const bool& value); template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const boost::logic::tribool& value); template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const double& value); template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const std::string& value); template void IFC_PARSE_API express::Base::set_attribute_value>(size_t index, const boost::dynamic_bitset<>& value); -template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const EnumerationReference& value); +template void IFC_PARSE_API express::Base::set_attribute_value(size_t index, const enumeration_reference& value); template void IFC_PARSE_API express::Base::set_attribute_value>(size_t index, const std::vector& value); template void IFC_PARSE_API express::Base::set_attribute_value>(size_t index, const std::vector& value); template void IFC_PARSE_API express::Base::set_attribute_value>(size_t index, const std::vector& value); @@ -3010,15 +3016,15 @@ template void IFC_PARSE_API express::Base::set_attribute_value>>(size_t index, const std::vector>& value); template void IFC_PARSE_API express::Base::set_attribute_value>>(size_t index, const std::vector>& value); -template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const Blank& value); -template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const Derived& value); +template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const blank& value); +template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const derived& value); template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const int& value); template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const bool& value); template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const boost::logic::tribool& value); template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const double& value); template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const std::string& value); template void IFC_PARSE_API express::Base::set_attribute_value>(const std::string& name, const boost::dynamic_bitset<>& value); -template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const EnumerationReference& value); +template void IFC_PARSE_API express::Base::set_attribute_value(const std::string& name, const enumeration_reference& value); template void IFC_PARSE_API express::Base::set_attribute_value>(const std::string& name, const std::vector& value); template void IFC_PARSE_API express::Base::set_attribute_value>(const std::string& name, const std::vector& value); template void IFC_PARSE_API express::Base::set_attribute_value>(const std::string& name, const std::vector& value); @@ -3054,7 +3060,7 @@ template double IFC_PARSE_API express::Entity::get_value(const std::stri template std::string IFC_PARSE_API express::Entity::get_value(const std::string&) const; template express::Base IFC_PARSE_API express::Entity::get_value(const std::string&) const; template boost::dynamic_bitset<> IFC_PARSE_API express::Entity::get_value>(const std::string&) const; -template EnumerationReference IFC_PARSE_API express::Entity::get_value(const std::string&) const; +template enumeration_reference IFC_PARSE_API express::Entity::get_value(const std::string&) const; template std::vector IFC_PARSE_API express::Entity::get_value>(const std::string&) const; template std::vector IFC_PARSE_API express::Entity::get_value>(const std::string&) const; template std::vector IFC_PARSE_API express::Entity::get_value>(const std::string&) const; @@ -3071,7 +3077,7 @@ template double IFC_PARSE_API express::Entity::get_value(const std::stri template std::string IFC_PARSE_API express::Entity::get_value(const std::string&, const std::string&) const; template express::Base IFC_PARSE_API express::Entity::get_value(const std::string&, const express::Base&) const; template boost::dynamic_bitset<> IFC_PARSE_API express::Entity::get_value>(const std::string&, const boost::dynamic_bitset<>&) const; -template EnumerationReference IFC_PARSE_API express::Entity::get_value(const std::string&, const EnumerationReference&) const; +template enumeration_reference IFC_PARSE_API express::Entity::get_value(const std::string&, const enumeration_reference&) const; template std::vector IFC_PARSE_API express::Entity::get_value>(const std::string&, const std::vector&) const; template std::vector IFC_PARSE_API express::Entity::get_value>(const std::string&, const std::vector&) const; template std::vector IFC_PARSE_API express::Entity::get_value>(const std::string&, const std::vector&) const; diff --git a/src/ifcparse/IfcParse.h b/src/ifcparse/parse.h similarity index 84% rename from src/ifcparse/IfcParse.h rename to src/ifcparse/parse.h index 1f06390466..6756e4fb4d 100644 --- a/src/ifcparse/IfcParse.h +++ b/src/ifcparse/parse.h @@ -27,11 +27,11 @@ #ifndef IFCPARSE_H #define IFCPARSE_H -#include "Argument.h" +#include "argument.h" #include "ifc_parse_api.h" #include "express.h" -#include "IfcCharacterDecoder.h" -#include "FileReader.h" +#include "character_decoder.h" +#include "file_reader.h" #include "macros.h" #include "storage.h" @@ -45,43 +45,43 @@ extern const char *IFCOPENSHELL_VERSION; -namespace IfcParse { +namespace ifcopenshell { -/// A stream of tokens to be read from a FileReader. +/// A stream of tokens to be read from a file_reader. template -class IFC_PARSE_API IfcSpfLexer { +class IFC_PARSE_API spf_lexer { private: - IfcCharacterDecoder* decoder_; - size_t skipWhitespace() const; - size_t skipComment() const; + character_decoder* decoder_; + size_t skip_whitespace() const; + size_t skip_comment() const; mutable std::vector>> stringpool_; mutable size_t pool_index = 0; public: - std::string& getTempString() const; - void resetPool() const { + std::string& get_temp_string() const; + void reset_pool() const { pool_index = 0; } - void popPoolEntry() { + void pop_pool_entry() { if (pool_index > 0) { --pool_index; } } Reader* stream; - // IfcFile* file; - IfcSpfLexer(Reader* stream); - Token Next(); - ~IfcSpfLexer(); + // file* file; + spf_lexer(Reader* stream); + token next(); + ~spf_lexer(); // void TokenString(size_t offset, std::string& result); }; IFC_PARSE_API std::vector traverse(const express::Base& instance, int max_level = -1); IFC_PARSE_API std::vector traverse_breadth_first(const express::Base& instance, int max_level = -1); -} // namespace IfcParse +} // namespace ifcopenshell -IFC_PARSE_API std::ostream& operator<<(std::ostream& out, const IfcParse::IfcFile& file); +IFC_PARSE_API std::ostream& operator<<(std::ostream& out, const ifcopenshell::file& file); #endif diff --git a/src/ifcparse/IfcSchema.cpp b/src/ifcparse/schema.cpp similarity index 82% rename from src/ifcparse/IfcSchema.cpp rename to src/ifcparse/schema.cpp index 331ed7daf0..5e94b8ea8e 100644 --- a/src/ifcparse/IfcSchema.cpp +++ b/src/ifcparse/schema.cpp @@ -17,7 +17,7 @@ * * ********************************************************************************/ -#include "IfcSchema.h" +#include "schema.h" #include "express.h" @@ -59,9 +59,9 @@ #ifdef HAS_SCHEMA_4x3_add2 #include "schemas/Ifc4x3_add2.h" #endif -#include "Header_section_schema.h" +#include "schemas/Header_section_schema.h" -bool IfcParse::declaration::is(const std::string& name) const { +bool ifcopenshell::declaration::is(const std::string& name) const { const std::string* name_ptr = &name; if (std::any_of(name.begin(), name.end(), [](char character) { return std::islower(character); })) { temp_string_() = name; @@ -77,7 +77,7 @@ bool IfcParse::declaration::is(const std::string& name) const { return this->as_entity()->supertype()->is(name); } if (this->as_type_declaration() != nullptr) { - const IfcParse::named_type* named_type = this->as_type_declaration()->declared_type()->as_named_type(); + const ifcopenshell::named_type* named_type = this->as_type_declaration()->declared_type()->as_named_type(); if (named_type != nullptr) { return named_type->is(name); } @@ -86,7 +86,7 @@ bool IfcParse::declaration::is(const std::string& name) const { return false; } -bool IfcParse::declaration::is(const IfcParse::declaration& decl) const { +bool ifcopenshell::declaration::is(const ifcopenshell::declaration& decl) const { if (this == &decl) { return true; } @@ -103,7 +103,7 @@ bool IfcParse::declaration::is(const IfcParse::declaration& decl) const { return this->as_entity()->supertype()->is(decl); } if (this->as_type_declaration() != nullptr) { - const IfcParse::named_type* named_type = this->as_type_declaration()->declared_type()->as_named_type(); + const ifcopenshell::named_type* named_type = this->as_type_declaration()->declared_type()->as_named_type(); if (named_type != nullptr) { return named_type->is(decl); } @@ -112,15 +112,15 @@ bool IfcParse::declaration::is(const IfcParse::declaration& decl) const { return false; } -bool IfcParse::named_type::is(const std::string& name) const { +bool ifcopenshell::named_type::is(const std::string& name) const { return declared_type()->is(name); } -bool IfcParse::named_type::is(const IfcParse::declaration& decl) const { +bool ifcopenshell::named_type::is(const ifcopenshell::declaration& decl) const { return declared_type()->is(decl); } -IfcParse::entity::~entity() { +ifcopenshell::entity::~entity() { for (const auto* attribute : attributes_) { delete attribute; } @@ -128,9 +128,9 @@ IfcParse::entity::~entity() { delete inverse_attribute; } } -static std::map schemas; +static std::map schemas; -IfcParse::schema_definition::schema_definition(const std::string& name, const std::vector& declarations) +ifcopenshell::schema_definition::schema_definition(const std::string& name, const std::vector& declarations) : name_(name) , declarations_(declarations) { @@ -154,17 +154,17 @@ IfcParse::schema_definition::schema_definition(const std::string& name, const st schemas[name_] = this; } -IfcParse::schema_definition::~schema_definition() { +ifcopenshell::schema_definition::~schema_definition() { for (std::vector::const_iterator it = declarations_.begin(); it != declarations_.end(); ++it) { delete *it; } } -void IfcParse::register_schema(schema_definition* schema) { +void ifcopenshell::register_schema(schema_definition* schema) { schemas.insert({boost::to_upper_copy(schema->name()), schema}); } -const IfcParse::schema_definition* IfcParse::schema_by_name(const std::string& name) { +const ifcopenshell::schema_definition* ifcopenshell::schema_by_name(const std::string& name) { // TODO: initialize automatically somehow Header_section_schema::get_schema(); #ifdef HAS_SCHEMA_2x3 @@ -204,18 +204,18 @@ const IfcParse::schema_definition* IfcParse::schema_by_name(const std::string& n Ifc4x3_add2::get_schema(); #endif - std::map::const_iterator iter = schemas.find(boost::to_upper_copy(name)); + std::map::const_iterator iter = schemas.find(boost::to_upper_copy(name)); if (iter == schemas.end()) { - throw IfcParse::IfcException("No schema named " + name); + throw ifcopenshell::exception("No schema named " + name); } return iter->second; } -std::vector IfcParse::schema_names() { +std::vector ifcopenshell::schema_names() { // Load schema modules try { - IfcParse::schema_by_name("IFC2X3"); - } catch (IfcParse::IfcException&) { + ifcopenshell::schema_by_name("IFC2X3"); + } catch (ifcopenshell::exception&) { } // Populate vector with map keys @@ -227,7 +227,7 @@ std::vector IfcParse::schema_names() { return return_value; } -void IfcParse::clear_schemas() { +void ifcopenshell::clear_schemas() { #ifdef HAS_SCHEMA_2x3 Ifc2x3::clear_schema(); #endif diff --git a/src/ifcparse/IfcSchema.h b/src/ifcparse/schema.h similarity index 96% rename from src/ifcparse/IfcSchema.h rename to src/ifcparse/schema.h index 9f0f6dd0a4..8f56a0474f 100644 --- a/src/ifcparse/IfcSchema.h +++ b/src/ifcparse/schema.h @@ -20,7 +20,7 @@ #ifndef IFCSCHEMA_H #define IFCSCHEMA_H -#include "IfcException.h" +#include "exception.h" #include #include @@ -31,9 +31,9 @@ #include // Forward declarations -class InstanceData; +class instance_data; -namespace IfcParse { +namespace ifcopenshell { class declaration; @@ -57,7 +57,7 @@ class IFC_PARSE_API parameter_type { virtual const aggregation_type* as_aggregation_type() const { return static_cast(0); } virtual bool is(const std::string& /*name*/) const { return false; } - virtual bool is(const IfcParse::declaration& /*decl*/) const { return false; } + virtual bool is(const ifcopenshell::declaration& /*decl*/) const { return false; } }; class IFC_PARSE_API named_type : public parameter_type { @@ -73,7 +73,7 @@ class IFC_PARSE_API named_type : public parameter_type { virtual const named_type* as_named_type() const { return this; } virtual bool is(const std::string& name) const; - virtual bool is(const IfcParse::declaration& decl) const; + virtual bool is(const ifcopenshell::declaration& decl) const; }; class IFC_PARSE_API simple_type : public parameter_type { @@ -164,7 +164,7 @@ class IFC_PARSE_API declaration { virtual const entity* as_entity() const { return static_cast(0); } bool is(const std::string& name) const; - bool is(const IfcParse::declaration& decl) const; + bool is(const ifcopenshell::declaration& decl) const; int index_in_schema() const { return index_in_schema_; } @@ -216,7 +216,7 @@ class IFC_PARSE_API enumeration_type : public declaration { const char* lookup_enum_value(size_t i) const { if (i >= enumeration_items_.size()) { - throw IfcParse::IfcException("Unable to find keyword in schema for index " + std::to_string(i)); + throw ifcopenshell::exception("Unable to find keyword in schema for index " + std::to_string(i)); } return enumeration_items_[i].c_str(); } @@ -228,7 +228,7 @@ class IFC_PARSE_API enumeration_type : public declaration { return index; } } - throw IfcParse::IfcException("Unable to find keyword in schema: " + string); + throw ifcopenshell::exception("Unable to find keyword in schema: " + string); } virtual const enumeration_type* as_enumeration_type() const { return this; } @@ -382,7 +382,7 @@ class IFC_PARSE_API entity : public declaration { const attribute* attribute_by_index(size_t index) const { const attribute* attr = attribute_by_index_(index); if (attr == 0) { - throw IfcParse::IfcException("Attribute index out of bounds"); + throw ifcopenshell::exception("Attribute index out of bounds"); } return attr; } @@ -479,7 +479,7 @@ class IFC_PARSE_API schema_definition { } std::vector::const_iterator iter = std::lower_bound(declarations_.begin(), declarations_.end(), *name_ptr, declaration_by_name_cmp()); if (iter == declarations_.end() || (**iter).name_uc() != *name_ptr) { - throw IfcParse::IfcException("Entity with name '" + name + "' not found in schema '" + name_ + "'"); + throw ifcopenshell::exception("Entity with name '" + name + "' not found in schema '" + name_ + "'"); } return *iter; } @@ -504,6 +504,6 @@ IFC_PARSE_API std::vector schema_names(); IFC_PARSE_API void register_schema(schema_definition*); IFC_PARSE_API void clear_schemas(); -} // namespace IfcParse +} // namespace ifcopenshell #endif diff --git a/src/ifcparse/Header_section_schema-schema.cpp b/src/ifcparse/schemas/Header_section_schema-schema.cpp similarity index 93% rename from src/ifcparse/Header_section_schema-schema.cpp rename to src/ifcparse/schemas/Header_section_schema-schema.cpp index 4300f0f3d8..35313b96c6 100644 --- a/src/ifcparse/Header_section_schema-schema.cpp +++ b/src/ifcparse/schemas/Header_section_schema-schema.cpp @@ -1,13 +1,13 @@ -#include "../ifcparse/IfcSchema.h" -#include "../ifcparse/Header_section_schema.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/schemas/Header_section_schema.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* HEADER_SECTION_SCHEMA_types[5] = {nullptr}; -IfcParse::schema_definition* HEADER_SECTION_SCHEMA_populate_schema() { +ifcopenshell::schema_definition* HEADER_SECTION_SCHEMA_populate_schema() { const std::string strings[] = {"schema_name"s,"time_stamp_text"s,"file_description"s,"file_name"s,"file_schema"s,"description"s,"implementation_level"s,"name"s,"time_stamp"s,"author"s,"organization"s,"preprocessor_version"s,"originating_system"s,"authorization"s,"schema_identifiers"s,"HEADER_SECTION_SCHEMA"s}; diff --git a/src/ifcparse/Header_section_schema.cpp b/src/ifcparse/schemas/Header_section_schema.cpp similarity index 83% rename from src/ifcparse/Header_section_schema.cpp rename to src/ifcparse/schemas/Header_section_schema.cpp index 9ebdf79b82..a5d5acb505 100644 --- a/src/ifcparse/Header_section_schema.cpp +++ b/src/ifcparse/schemas/Header_section_schema.cpp @@ -1,14 +1,14 @@ -#include "../ifcparse/Header_section_schema.h" -#include "../ifcparse/IfcSchema.h" -#include "../ifcparse/IfcException.h" -#include "../ifcparse/IfcFile.h" +#include "../../ifcparse/schemas/Header_section_schema.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Header_section_schema::Identifier = "HEADER_SECTION_SCHEMA"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* HEADER_SECTION_SCHEMA_types[5]; @@ -16,12 +16,12 @@ extern declaration* HEADER_SECTION_SCHEMA_types[5]; // Function implementations for schema_name -const IfcParse::type_declaration& Header_section_schema::schema_name::Class() { return *((IfcParse::type_declaration*)HEADER_SECTION_SCHEMA_types[3]); } +const ifcopenshell::type_declaration& Header_section_schema::schema_name::Class() { return *((ifcopenshell::type_declaration*)HEADER_SECTION_SCHEMA_types[3]); } void Header_section_schema::schema_name::initialize(std::string v) { set_attribute_value(0, (v)); } Header_section_schema::schema_name::operator std::string() const { return get_attribute_value(0); } // Function implementations for time_stamp_text -const IfcParse::type_declaration& Header_section_schema::time_stamp_text::Class() { return *((IfcParse::type_declaration*)HEADER_SECTION_SCHEMA_types[4]); } +const ifcopenshell::type_declaration& Header_section_schema::time_stamp_text::Class() { return *((ifcopenshell::type_declaration*)HEADER_SECTION_SCHEMA_types[4]); } void Header_section_schema::time_stamp_text::initialize(std::string v) { set_attribute_value(0, (v)); } Header_section_schema::time_stamp_text::operator std::string() const { return get_attribute_value(0); } @@ -33,7 +33,7 @@ std::string Header_section_schema::file_description::implementation_level() cons void Header_section_schema::file_description::setimplementation_level(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Header_section_schema::file_description::Class() { return *((IfcParse::entity*)HEADER_SECTION_SCHEMA_types[0]); } +const ifcopenshell::entity& Header_section_schema::file_description::Class() { return *((ifcopenshell::entity*)HEADER_SECTION_SCHEMA_types[0]); } void Header_section_schema::file_description::initialize(std::vector< std::string > /*[1:?]*/ v1_description, std::string v2_implementation_level) { set_attribute_value(0, (v1_description));set_attribute_value(1, (v2_implementation_level)); } // Function implementations for file_name @@ -53,7 +53,7 @@ std::string Header_section_schema::file_name::authorization() const { std::stri void Header_section_schema::file_name::setauthorization(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Header_section_schema::file_name::Class() { return *((IfcParse::entity*)HEADER_SECTION_SCHEMA_types[1]); } +const ifcopenshell::entity& Header_section_schema::file_name::Class() { return *((ifcopenshell::entity*)HEADER_SECTION_SCHEMA_types[1]); } void Header_section_schema::file_name::initialize(std::string v1_name, std::string v2_time_stamp, std::vector< std::string > /*[1:?]*/ v3_author, std::vector< std::string > /*[1:?]*/ v4_organization, std::string v5_preprocessor_version, std::string v6_originating_system, std::string v7_authorization) { set_attribute_value(0, (v1_name));set_attribute_value(1, (v2_time_stamp));set_attribute_value(2, (v3_author));set_attribute_value(3, (v4_organization));set_attribute_value(4, (v5_preprocessor_version));set_attribute_value(5, (v6_originating_system));set_attribute_value(6, (v7_authorization)); } // Function implementations for file_schema @@ -61,6 +61,6 @@ std::vector< std::string > /*[1:?]*/ Header_section_schema::file_schema::schema_ void Header_section_schema::file_schema::setschema_identifiers(const std::vector< std::string > /*[1:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Header_section_schema::file_schema::Class() { return *((IfcParse::entity*)HEADER_SECTION_SCHEMA_types[2]); } +const ifcopenshell::entity& Header_section_schema::file_schema::Class() { return *((ifcopenshell::entity*)HEADER_SECTION_SCHEMA_types[2]); } void Header_section_schema::file_schema::initialize(std::vector< std::string > /*[1:?]*/ v1_schema_identifiers) { set_attribute_value(0, (v1_schema_identifiers)); } diff --git a/src/ifcparse/Header_section_schema.h b/src/ifcparse/schemas/Header_section_schema.h similarity index 70% rename from src/ifcparse/Header_section_schema.h rename to src/ifcparse/schemas/Header_section_schema.h index 1abaf6247e..dbfcc85667 100644 --- a/src/ifcparse/Header_section_schema.h +++ b/src/ifcparse/schemas/Header_section_schema.h @@ -6,21 +6,21 @@ #include #include -#include "../ifcparse/ifc_parse_api.h" +#include "../../ifcparse/ifc_parse_api.h" -#include "../ifcparse/express.h" -#include "../ifcparse/IfcSchema.h" -#include "../ifcparse/IfcException.h" -#include "../ifcparse/Argument.h" +#include "../../ifcparse/express.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Header_section_schema { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -33,9 +33,9 @@ class file_description; class file_name; class file_schema; class schema_name; c class IFC_PARSE_API schema_name : public express::DeclaredType { public: schema_name() {} - explicit schema_name (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit schema_name (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -43,9 +43,9 @@ public: class IFC_PARSE_API time_stamp_text : public express::DeclaredType { public: time_stamp_text() {} - explicit time_stamp_text (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit time_stamp_text (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -55,21 +55,21 @@ public: class IFC_PARSE_API file_description : public express::Entity { public: file_description() {} - explicit file_description (const std::weak_ptr& data) : express::Entity(data) {} + explicit file_description (const std::weak_ptr& data) : express::Entity(data) {} std::vector< std::string > /*[1:?]*/ description() const; void setdescription(const std::vector< std::string > /*[1:?]*/& v); std::string implementation_level() const; void setimplementation_level(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::string > /*[1:?]*/ v1_description, std::string v2_implementation_level); }; class IFC_PARSE_API file_name : public express::Entity { public: file_name() {} - explicit file_name (const std::weak_ptr& data) : express::Entity(data) {} + explicit file_name (const std::weak_ptr& data) : express::Entity(data) {} std::string name() const; void setname(const std::string& v); @@ -86,19 +86,19 @@ public: std::string authorization() const; void setauthorization(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_name, std::string v2_time_stamp, std::vector< std::string > /*[1:?]*/ v3_author, std::vector< std::string > /*[1:?]*/ v4_organization, std::string v5_preprocessor_version, std::string v6_originating_system, std::string v7_authorization); }; class IFC_PARSE_API file_schema : public express::Entity { public: file_schema() {} - explicit file_schema (const std::weak_ptr& data) : express::Entity(data) {} + explicit file_schema (const std::weak_ptr& data) : express::Entity(data) {} std::vector< std::string > /*[1:?]*/ schema_identifiers() const; void setschema_identifiers(const std::vector< std::string > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::string > /*[1:?]*/ v1_schema_identifiers); }; diff --git a/src/ifcparse/schemas/Ifc2x3-schema.cpp b/src/ifcparse/schemas/Ifc2x3-schema.cpp index 10166c3ba5..9517367f65 100644 --- a/src/ifcparse/schemas/Ifc2x3-schema.cpp +++ b/src/ifcparse/schemas/Ifc2x3-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc2x3.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC2X3_types[980] = {nullptr}; -IfcParse::schema_definition* IFC2X3_populate_schema() { +ifcopenshell::schema_definition* IFC2X3_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionSourceTypeEnum"s,"DEAD_LOAD_G"s,"COMPLETION_G1"s,"LIVE_LOAD_Q"s,"SNOW_S"s,"WIND_W"s,"PRESTRESSING_P"s,"SETTLEMENT_U"s,"TEMPERATURE_T"s,"EARTHQUAKE_E"s,"FIRE"s,"IMPULSE"s,"IMPACT"s,"TRANSPORT"s,"ERECTION"s,"PROPPING"s,"SYSTEM_IMPERFECTION"s,"SHRINKAGE"s,"CREEP"s,"LACK_OF_FIT"s,"BUOYANCY"s,"ICE"s,"CURRENT"s,"WAVE"s,"RAIN"s,"BRAKES"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionTypeEnum"s,"PERMANENT_G"s,"VARIABLE_Q"s,"EXTRAORDINARY_A"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"OFFICE"s,"SITE"s,"HOME"s,"DISTRIBUTIONPOINT"s,"IfcAheadOrBehind"s,"AHEAD"s,"BEHIND"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"GRILLE"s,"REGISTER"s,"DIFFUSER"s,"EYEBALL"s,"IRIS"s,"LINEARGRILLE"s,"LINEARDIFFUSER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"HEATPIPE"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"SIREN"s,"WHISTLE"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"OUT_PLANE_LOADING_2D"s,"LOADING_3D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcBSplineCurveForm"s,"POLYLINE_FORM"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"PARABOLIC_ARC"s,"HYPERBOLIC_ARC"s,"UNSPECIFIED"s,"IfcBeamTypeEnum"s,"BEAM"s,"JOIST"s,"LINTEL"s,"T_BEAM"s,"IfcBenchmarkEnum"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"EQUALTO"s,"NOTEQUALTO"s,"IfcBoilerTypeEnum"s,"WATER"s,"STEAM"s,"IfcBoolean"s,"IfcBooleanOperator"s,"UNION"s,"INTERSECTION"s,"DIFFERENCE"s,"IfcBuildingElementProxyTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CROSS"s,"REDUCER"s,"TEE"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CONDUITSEGMENT"s,"IfcCableSegmentTypeEnum"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"IfcChangeActionEnum"s,"NOCHANGE"s,"MODIFIED"s,"ADDED"s,"DELETED"s,"MODIFIEDADDED"s,"MODIFIEDDELETED"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"WATERCOOLED"s,"HEATRECOVERY"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"WATERCOOLINGCOIL"s,"STEAMHEATINGCOIL"s,"WATERHEATINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"IfcComplexNumber"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"DYNAMIC"s,"RECIPROCATING"s,"ROTARY"s,"SCROLL"s,"TROCHOIDAL"s,"SINGLESTAGE"s,"BOOSTER"s,"OPENTYPE"s,"HERMETIC"s,"SEMIHERMETIC"s,"WELDEDSHELLHERMETIC"s,"ROLLINGPISTON"s,"ROTARYVANE"s,"SINGLESCREW"s,"TWINSCREW"s,"IfcCondenserTypeEnum"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDTUBEINTUBE"s,"WATERCOOLEDBRAZEDPLATE"s,"EVAPORATIVECOOLED"s,"IfcConnectionTypeEnum"s,"ATPATH"s,"ATSTART"s,"ATEND"s,"IfcConstraintEnum"s,"HARD"s,"SOFT"s,"ADVISORY"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"PROPORTIONAL"s,"PROPORTIONALINTEGRAL"s,"PROPORTIONALINTEGRALDERIVATIVE"s,"TIMEDTWOPOSITION"s,"TWOPOSITION"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"NATURALDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"MECHANICALFORCEDDRAFT"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"TENDER"s,"PRICEDBILLOFQUANTITIES"s,"UNPRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"IfcCountMeasure"s,"IfcCoveringTypeEnum"s,"CEILING"s,"FLOORING"s,"CLADDING"s,"ROOFING"s,"INSULATION"s,"MEMBRANE"s,"SLEEVING"s,"WRAPPING"s,"IfcCurrencyEnum"s,"AED"s,"AES"s,"ATS"s,"AUD"s,"BBD"s,"BEG"s,"BGL"s,"BHD"s,"BMD"s,"BND"s,"BRL"s,"BSD"s,"BWP"s,"BZD"s,"CAD"s,"CBD"s,"CHF"s,"CLP"s,"CNY"s,"CYS"s,"CZK"s,"DDP"s,"DEM"s,"DKK"s,"EGL"s,"EST"s,"EUR"s,"FAK"s,"FIM"s,"FJD"s,"FKP"s,"FRF"s,"GBP"s,"GIP"s,"GMD"s,"GRX"s,"HKD"s,"HUF"s,"ICK"s,"IDR"s,"ILS"s,"INR"s,"IRP"s,"ITL"s,"JMD"s,"JOD"s,"JPY"s,"KES"s,"KRW"s,"KWD"s,"KYD"s,"LKR"s,"LUF"s,"MTL"s,"MUR"s,"MXN"s,"MYR"s,"NLG"s,"NZD"s,"OMR"s,"PGK"s,"PHP"s,"PKR"s,"PLN"s,"PTN"s,"QAR"s,"RUR"s,"SAR"s,"SCR"s,"SEK"s,"SGD"s,"SKP"s,"THB"s,"TRL"s,"TTD"s,"TWD"s,"USD"s,"VEB"s,"VND"s,"XEU"s,"ZAR"s,"ZWD"s,"NOK"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcDamperTypeEnum"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"SMOKEDAMPER"s,"FIRESMOKEDAMPER"s,"BACKDRAFTDAMPER"s,"RELIEFDAMPER"s,"BLASTDAMPER"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"BALANCINGDAMPER"s,"FUMEHOODEXHAUST"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDayInMonthNumber"s,"IfcDaylightSavingHour"s,"IfcDerivedUnitEnum"s,"ANGULARVELOCITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"INTEGERCOUNTRATEUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARVELOCITYUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"TORQUEUNIT"s,"MOMENTOFINERTIAUNIT"s,"LINEARMOMENTUNIT"s,"LINEARFORCEUNIT"s,"PLANARFORCEUNIT"s,"MODULUSOFELASTICITYUNIT"s,"SHEARMODULUSUNIT"s,"LINEARSTIFFNESSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"ACCELERATIONUNIT"s,"CURVATUREUNIT"s,"HEATINGVALUEUNIT"s,"IONCONCENTRATIONUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"PHUNIT"s,"ROTATIONALMASSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSUREUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDimensionExtentUsage"s,"ORIGIN"s,"TARGET"s,"IfcDirectionSenseEnum"s,"POSITIVE"s,"NEGATIVE"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDocumentConfidentialityEnum"s,"PUBLIC"s,"RESTRICTED"s,"CONFIDENTIAL"s,"PERSONAL"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINALDRAFT"s,"FINAL"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"SWINGING"s,"DOUBLE_ACTING"s,"SLIDING"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorStyleConstructionEnum"s,"ALUMINIUM"s,"HIGH_GRADE_STEEL"s,"STEEL"s,"WOOD"s,"ALUMINIUM_WOOD"s,"ALUMINIUM_PLASTIC"s,"PLASTIC"s,"IfcDoorStyleOperationEnum"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"DOUBLE_DOOR_FOLDING"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"CONNECTOR"s,"ENTRY"s,"EXIT"s,"JUNCTION"s,"OBSTRUCTION"s,"TRANSITION"s,"IfcDuctSegmentTypeEnum"s,"RIGIDSEGMENT"s,"FLEXIBLESEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDynamicViscosityMeasure"s,"IfcElectricApplianceTypeEnum"s,"COMPUTER"s,"DIRECTWATERHEATER"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"ELECTRICHEATER"s,"FACSIMILE"s,"FREESTANDINGFAN"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"INDIRECTWATERHEATER"s,"MICROWAVE"s,"PHOTOCOPIER"s,"PRINTER"s,"REFRIGERATOR"s,"RADIANTHEATER"s,"SCANNER"s,"TELEPHONE"s,"TUMBLEDRYER"s,"TV"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"WATERHEATER"s,"WATERCOOLER"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentEnum"s,"ALTERNATING"s,"DIRECT"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionPointFunctionEnum"s,"ALARMPANEL"s,"CONSUMERUNIT"s,"CONTROLPANEL"s,"DISTRIBUTIONBOARD"s,"GASDETECTORPANEL"s,"INDICATORPANEL"s,"MIMICPANEL"s,"MOTORCONTROLCENTRE"s,"SWITCHBOARD"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITORBANK"s,"HARMONICFILTER"s,"INDUCTORBANK"s,"UPS"s,"IfcElectricGeneratorTypeEnum"s,"IfcElectricHeaterTypeEnum"s,"ELECTRICPOINTHEATER"s,"ELECTRICCABLEHEATER"s,"ELECTRICMATHEATER"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"TIMECLOCK"s,"TIMEDELAY"s,"RELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"GIRDER"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SLAB_FIELD"s,"TRUSS"s,"IfcElementCompositionEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"IfcEnergyMeasure"s,"IfcEnergySequenceEnum"s,"PRIMARY"s,"SECONDARY"s,"TERTIARY"s,"AUXILIARY"s,"IfcEnvironmentalImpactCategoryEnum"s,"COMBINEDVALUE"s,"DISPOSAL"s,"EXTRACTION"s,"INSTALLATION"s,"MANUFACTURE"s,"TRANSPORTATION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVEAIRWASHER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcFanTypeEnum"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALAIRFOIL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"PROPELLORAXIAL"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SOURCE"s,"SINK"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"AMMETER"s,"FREQUENCYMETER"s,"POWERFACTORMETER"s,"PHASEANGLEMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"IfcFlowMeterTypeEnum"s,"ELECTRICMETER"s,"ENERGYMETER"s,"FLOWMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcGasTerminalTypeEnum"s,"GASAPPLIANCE"s,"GASBOOSTER"s,"GASBURNER"s,"IfcGeometricProjectionEnum"s,"GRAPH_VIEW"s,"SKETCH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"ELEVATION_VIEW"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHourInDay"s,"IfcHumidifierTypeEnum"s,"STEAMINJECTION"s,"ADIABATICAIRWASHER"s,"ADIABATICPAN"s,"ADIABATICWETTEDELEMENT"s,"ADIABATICATOMIZING"s,"ADIABATICULTRASONIC"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDBUTANE"s,"ASSISTEDSTEAM"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"EXTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"SPACEINVENTORY"s,"FURNITUREINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"IfcKinematicViscosityMeasure"s,"IfcLabel"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"METALHALIDE"s,"TUNGSTENFILAMENT"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"POINTSOURCE"s,"DIRECTIONSOURCE"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLoadGroupTypeEnum"s,"LOAD_GROUP"s,"LOAD_CASE"s,"LOAD_COMBINATION_GROUP"s,"LOAD_COMBINATION"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMemberTypeEnum"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"POST"s,"PURLIN"s,"RAFTER"s,"STRINGER"s,"STRUT"s,"STUD"s,"IfcMinuteInHour"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNullStyle"s,"NULL"s,"IfcNumericMeasure"s,"IfcObjectTypeEnum"s,"PRODUCT"s,"PROCESS"s,"CONTROL"s,"RESOURCE"s,"ACTOR"s,"GROUP"s,"PROJECT"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"POWEROUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"COHESION"s,"FRICTION"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"CURTAIN_PANEL"s,"SHEET"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"CURVE"s,"AREA"s,"IfcProjectOrderRecordTypeEnum"s,"CHANGE"s,"MAINTENANCE"s,"MOVE"s,"PURCHASE"s,"WORK"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcPropertySourceEnum"s,"DESIGN"s,"DESIGNMAXIMUM"s,"DESIGNMINIMUM"s,"ASBUILT"s,"COMMISSIONING"s,"NOTKNOWN"s,"IfcProtectiveDeviceTypeEnum"s,"FUSEDISCONNECTOR"s,"CIRCUITBREAKER"s,"EARTHFAILUREDEVICE"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"VARISTOR"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailingTypeEnum"s,"HANDRAIL"s,"GUARDRAIL"s,"BALUSTRADE"s,"IfcRampFlightTypeEnum"s,"STRAIGHT"s,"SPIRAL"s,"IfcRampTypeEnum"s,"STRAIGHT_RUN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"QUARTER_TURN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"HALF_TURN_RAMP"s,"SPIRAL_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"METAL"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcingBarRoleEnum"s,"MAIN"s,"SHEAR"s,"LIGATURE"s,"PUNCHING"s,"EDGE"s,"RING"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcResourceConsumptionEnum"s,"CONSUMED"s,"PARTIALLYCONSUMED"s,"NOTCONSUMED"s,"OCCUPIED"s,"PARTIALLYOCCUPIED"s,"NOTOCCUPIED"s,"IfcRibPlateDirectionEnum"s,"DIRECTION_X"s,"DIRECTION_Y"s,"IfcRoleEnum"s,"SUPPLIER"s,"MANUFACTURER"s,"CONTRACTOR"s,"SUBCONTRACTOR"s,"ARCHITECT"s,"STRUCTURALENGINEER"s,"COSTENGINEER"s,"CLIENT"s,"BUILDINGOWNER"s,"BUILDINGOPERATOR"s,"MECHANICALENGINEER"s,"ELECTRICALENGINEER"s,"PROJECTMANAGER"s,"FACILITIESMANAGER"s,"CIVILENGINEER"s,"COMISSIONINGENGINEER"s,"ENGINEER"s,"CONSULTANT"s,"CONSTRUCTIONMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"RESELLER"s,"IfcRoofTypeEnum"s,"FLAT_ROOF"s,"SHED_ROOF"s,"GABLE_ROOF"s,"HIP_ROOF"s,"HIPPED_GABLE_ROOF"s,"GAMBREL_ROOF"s,"MANSARD_ROOF"s,"BARREL_ROOF"s,"RAINBOW_ROOF"s,"BUTTERFLY_ROOF"s,"PAVILION_ROOF"s,"DOME_ROOF"s,"FREEFORM"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcSIPrefix"s,"EXA"s,"PETA"s,"TERA"s,"GIGA"s,"MEGA"s,"KILO"s,"HECTO"s,"DECA"s,"DECI"s,"CENTI"s,"MILLI"s,"MICRO"s,"NANO"s,"PICO"s,"FEMTO"s,"ATTO"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SHOWER"s,"SANITARYFOUNTAIN"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSecondInMinute"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"UNIFORM"s,"TAPERED"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"CO2SENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"PRESSURESENSOR"s,"SMOKESENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"IfcSequenceEnum"s,"START_START"s,"START_FINISH"s,"FINISH_START"s,"FINISH_FINISH"s,"IfcServiceLifeFactorTypeEnum"s,"A_QUALITYOFCOMPONENTS"s,"B_DESIGNLEVEL"s,"C_WORKEXECUTIONLEVEL"s,"D_INDOORENVIRONMENT"s,"E_OUTDOORENVIRONMENT"s,"F_INUSECONDITIONS"s,"G_MAINTENANCELEVEL"s,"IfcServiceLifeTypeEnum"s,"ACTUALSERVICELIFE"s,"EXPECTEDSERVICELIFE"s,"OPTIMISTICREFERENCESERVICELIFE"s,"PESSIMISTICREFERENCESERVICELIFE"s,"REFERENCESERVICELIFE"s,"IfcShearModulusMeasure"s,"IfcSlabTypeEnum"s,"FLOOR"s,"ROOF"s,"LANDING"s,"BASESLAB"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureMeasure"s,"IfcSoundScaleEnum"s,"DBA"s,"DBB"s,"DBC"s,"NC"s,"NR"s,"IfcSpaceHeaterTypeEnum"s,"SECTIONALRADIATOR"s,"PANELRADIATOR"s,"TUBULARRADIATOR"s,"CONVECTOR"s,"BASEBOARDHEATER"s,"FINNEDTUBEUNIT"s,"UNITHEATER"s,"IfcSpaceTypeEnum"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"WINDER"s,"CURVED"s,"IfcStairTypeEnum"s,"STRAIGHT_RUN_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"QUARTER_WINDING_STAIR"s,"QUARTER_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"HALF_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"SPIRAL_STAIR"s,"DOUBLE_RETURN_STAIR"s,"CURVED_RUN_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"IfcStateEnum"s,"READWRITE"s,"READONLY"s,"LOCKED"s,"READWRITELOCKED"s,"READONLYLOCKED"s,"IfcStructuralCurveTypeEnum"s,"RIGID_JOINED_MEMBER"s,"PIN_JOINED_MEMBER"s,"CABLE"s,"TENSION_MEMBER"s,"COMPRESSION_MEMBER"s,"IfcStructuralSurfaceTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSurfaceTextureEnum"s,"BUMP"s,"OPACITY"s,"REFLECTION"s,"SELFILLUMINATION"s,"SHININESS"s,"SPECULAR"s,"TEXTURE"s,"TRANSPARENCYMAP"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"EMERGENCYSTOP"s,"STARTER"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"IfcTankTypeEnum"s,"PREFORMED"s,"SECTIONAL"s,"EXPANSION"s,"PRESSUREVESSEL"s,"IfcTemperatureGradientMeasure"s,"IfcTendonTypeEnum"s,"STRAND"s,"WIRE"s,"BAR"s,"COATED"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"UP"s,"DOWN"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalLoadSourceEnum"s,"PEOPLE"s,"LIGHTING"s,"EQUIPMENT"s,"VENTILATIONINDOORAIR"s,"VENTILATIONOUTSIDEAIR"s,"RECIRCULATEDAIR"s,"EXHAUSTAIR"s,"AIREXCHANGERATE"s,"DRYBULBTEMPERATURE"s,"RELATIVEHUMIDITY"s,"INFILTRATION"s,"IfcThermalLoadTypeEnum"s,"SENSIBLE"s,"LATENT"s,"RADIANT"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTimeMeasure"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETE"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeSeriesScheduleTypeEnum"s,"ANNUAL"s,"MONTHLY"s,"WEEKLY"s,"DAILY"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTransformerTypeEnum"s,"FREQUENCY"s,"VOLTAGE"s,"IfcTransitionCode"s,"DISCONTINUOUS"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"IfcTransportElementTypeEnum"s,"ELEVATOR"s,"ESCALATOR"s,"MOVINGWALKWAY"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"PARAMETER"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRHANDLER"s,"AIRCONDITIONINGUNIT"s,"SPLITSYSTEM"s,"ROOFTOPUNIT"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"DIVERTING"s,"DRAWOFFCOCK"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVibrationIsolatorTypeEnum"s,"COMPRESSION"s,"SPRING"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"STANDARD"s,"POLYGONAL"s,"ELEMENTEDWALL"s,"PLUMBINGWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"GREASEINTERCEPTOR"s,"OILINTERCEPTOR"s,"PETROLINTERCEPTOR"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"SIDEHUNGRIGHTHAND"s,"SIDEHUNGLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TILTANDTURNLEFTHAND"s,"TOPHUNG"s,"BOTTOMHUNG"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"REMOVABLECASEMENT"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowStyleConstructionEnum"s,"OTHER_CONSTRUCTION"s,"IfcWindowStyleOperationEnum"s,"SINGLE_PANEL"s,"DOUBLE_PANEL_VERTICAL"s,"DOUBLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_VERTICAL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_HORIZONTAL"s,"IfcWorkControlTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcYearNumber"s,"IfcActorRole"s,"IfcAddress"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcAppliedValueRelationship"s,"IfcApproval"s,"IfcApprovalActorRelationship"s,"IfcApprovalPropertyRelationship"s,"IfcApprovalRelationship"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcCalendarDate"s,"IfcClassification"s,"IfcClassificationItem"s,"IfcClassificationItemRelationship"s,"IfcClassificationNotation"s,"IfcClassificationNotationFacet"s,"IfcColourSpecification"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionPortGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConstraint"s,"IfcConstraintAggregationRelationship"s,"IfcConstraintClassificationRelationship"s,"IfcConstraintRelationship"s,"IfcCoordinatedUniversalTimeOffset"s,"IfcCostValue"s,"IfcCurrencyRelationship"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDateAndTime"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcDocumentElectronicFormat"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDraughtingCalloutRelationship"s,"IfcEnvironmentalImpactValue"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedSymbol"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcLocalTime"s,"IfcMaterial"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialList"s,"IfcMaterialProperties"s,"IfcMeasureWithUnit"s,"IfcMechanicalMaterialProperties"s,"IfcMechanicalSteelMaterialProperties"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOpticalMaterialProperties"s,"IfcOrganization"s,"IfcOrganizationRelationship"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPreDefinedItem"s,"IfcPreDefinedSymbol"s,"IfcPreDefinedTerminatorSymbol"s,"IfcPreDefinedTextFont"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcPresentationStyleAssignment"s,"IfcProductRepresentation"s,"IfcProductsOfCombustionProperties"s,"IfcProfileDef"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyConstraintRelationship"s,"IfcPropertyDependencyRelationship"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcReferencesValueDocument"s,"IfcReinforcementBarProperties"s,"IfcRelaxation"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcRibPlateProfileProperties"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcSimpleProperty"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcSymbolStyle"s,"IfcTable"s,"IfcTableRow"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleFontModel"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextStyleWithBoxCharacteristics"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcThermalMaterialProperties"s,"IfcTimeSeries"s,"IfcTimeSeriesReferenceRelationship"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexBasedTextureMap"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWaterProperties"s,"IfcActorSelect"s,"IfcAppliedValueSelect"s,"IfcBoxAlignment"s,"IfcCharacterStyleSelect"s,"IfcConditionCriterionSelect"s,"IfcDateTimeSelect"s,"IfcDefinedSymbolSelect"s,"IfcDerivedMeasureValue"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcMaterialSelect"s,"IfcMetricValueSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcTextFontSelect"s,"IfcTextStyleSelect"s,"IfcUnit"s,"IfcAnnotationOccurrence"s,"IfcAnnotationSurfaceOccurrence"s,"IfcAnnotationSymbolOccurrence"s,"IfcAnnotationTextOccurrence"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassificationReference"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcCurveStyle"s,"IfcDerivedProfileDef"s,"IfcDimensionCalloutRelationship"s,"IfcDimensionPair"s,"IfcDocumentReference"s,"IfcDraughtingPreDefinedTextFont"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcExtendedMaterialProperties"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcFuelProperties"s,"IfcGeneralMaterialProperties"s,"IfcGeneralProfileProperties"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcHygroscopicMaterialProperties"s,"IfcImageTexture"s,"IfcIrregularTimeSeries"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterialDefinitionRepresentation"s,"IfcMechanicalConcreteMaterialProperties"s,"IfcObjectDefinition"s,"IfcOneDirectionRepeatFactor"s,"IfcOpenShell"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedDimensionSymbol"s,"IfcPreDefinedPointMarkerSymbol"s,"IfcProductDefinitionShape"s,"IfcPropertyBoundedValue"s,"IfcPropertyDefinition"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySetDefinition"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementDefinitionProperties"s,"IfcRelationship"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionedSpine"s,"IfcServiceLifeFactor"s,"IfcShellBasedSurfaceModel"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcSoundProperties"s,"IfcSoundValue"s,"IfcSpaceThermalLoadProperties"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcStructuralProfileProperties"s,"IfcStructuralSteelProfileProperties"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTerminatorSymbol"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTrapeziumProfileDef"s,"IfcTwoDirectionRepeatFactor"s,"IfcTypeObject"s,"IfcTypeProduct"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcWindowStyle"s,"IfcZShapeProfileDef"s,"IfcClassificationNotationSelect"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCurveStyleFontSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcPresentationStyleSelect"s,"IfcSymbolStyleSelect"s,"IfcValue"s,"IfcAnnotationCurveOccurrence"s,"IfcAnnotationFillArea"s,"IfcAnnotationFillAreaOccurrence"s,"IfcAnnotationSurface"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcCompositeCurveSegment"s,"IfcCraneRailAShapeProfileDef"s,"IfcCraneRailFShapeProfileDef"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcDefinedSymbol"s,"IfcDimensionCurve"s,"IfcDimensionCurveTerminator"s,"IfcDirection"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorStyle"s,"IfcDraughtingCallout"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEnergyProperties"s,"IfcExtrudedAreaSolid"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTileSymbolWithStyle"s,"IfcFillAreaStyleTiles"s,"IfcFluidFlowProperties"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcLShapeProfileDef"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcPermeableCoveringProperties"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectionCurve"s,"IfcPropertySet"s,"IfcProxy"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToProjectOrder"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesAppliedValue"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelAssociatesProfileProperties"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralElement"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInteractionRequirements"s,"IfcRelNests"s,"IfcRelOccupiesSpaces"s,"IfcRelOverridesProperties"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSchedulesCostItems"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelVoidsElement"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSphere"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuredDimensionCallout"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTransportElementType"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcCsgSelect"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcDraughtingCalloutElement"s,"IfcFillAreaStyleTileShapeSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcOrientationSelect"s,"IfcShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAnnotation"s,"IfcAsymmetricIShapeProfileDef"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuilding"s,"IfcBuildingElementType"s,"IfcBuildingStorey"s,"IfcCircleHollowProfileDef"s,"IfcColumnType"s,"IfcCompositeCurve"s,"IfcConic"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcDimensionCurveDirectedCallout"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcElectricalBaseProperties"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEquipmentElement"s,"IfcEquipmentStandard"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFurnishingElement"s,"IfcFurnitureStandard"s,"IfcGasTerminalType"s,"IfcGrid"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLinearDimension"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMemberType"s,"IfcMotorConnectionType"s,"IfcMove"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOrderAction"s,"IfcOutletType"s,"IfcPerformanceHistory"s,"IfcPermit"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlateType"s,"IfcPolyline"s,"IfcPort"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectOrderRecord"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRadiusDimension"s,"IfcRailingType"s,"IfcRampFlightType"s,"IfcRelAggregates"s,"IfcRelAssignsTasks"s,"IfcSanitaryTerminalType"s,"IfcScheduleTimeControl"s,"IfcServiceLife"s,"IfcSite"s,"IfcSlabType"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceProgram"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralLinearAction"s,"IfcStructuralLinearActionVarying"s,"IfcStructuralLoadGroup"s,"IfcStructuralPlanarAction"s,"IfcStructuralPlanarActionVarying"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcTankType"s,"IfcTimeSeriesSchedule"s,"IfcTransformerType"s,"IfcTransportElement"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVirtualElement"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveOrEdgeCurve"s,"IfcStructuralActivityAssignmentSelect"s,"Ifc2DCompositeCurve"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAngularDimension"s,"IfcAsset"s,"IfcBSplineCurve"s,"IfcBeamType"s,"IfcBezierCurve"s,"IfcBoilerType"s,"IfcBuildingElement"s,"IfcBuildingElementComponent"s,"IfcBuildingElementPart"s,"IfcBuildingElementProxy"s,"IfcBuildingElementProxyType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableSegmentType"s,"IfcChillerType"s,"IfcCircle"s,"IfcCoilType"s,"IfcColumn"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcCondition"s,"IfcConditionCriterion"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDiameterDimension"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDoor"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcEdgeFeature"s,"IfcElectricApplianceType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricHeaterType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcElectricalCircuit"s,"IfcElectricalElement"s,"IfcEnergyConversionDevice"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcMember"s,"IfcPile"s,"IfcPlate"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBezierCurve"s,"IfcReinforcingElement"s,"IfcReinforcingMesh"s,"IfcRoof"s,"IfcRoundedEdgeFeature"s,"IfcSensorType"s,"IfcSlab"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcVibrationIsolatorType"s,"IfcWall"s,"IfcWallStandardCase"s,"IfcWindow"s,"IfcActuatorType"s,"IfcAlarmType"s,"IfcBeam"s,"IfcChamferEdgeFeature"s,"IfcControllerType"s,"IfcDistributionChamberElement"s,"IfcDistributionControlElement"s,"IfcElectricDistributionPoint"s,"IfcReinforcingBar"s,"RequestID"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"PredefinedType"s,"Purpose"s,"UserDefinedPurpose"s,"OuterBoundary"s,"InnerBoundaries"s,"FillStyleTarget"s,"GlobalOrLocal"s,"Item"s,"TextureCoordinates"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"ComponentOfTotal"s,"Components"s,"ArithmeticOperator"s,"ApprovalDateTime"s,"ApprovalStatus"s,"ApprovalLevel"s,"ApprovalQualifier"s,"Identifier"s,"Actor"s,"Approval"s,"ApprovedProperties"s,"RelatedApproval"s,"RelatingApproval"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"AssetID"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"CentreOfGravityInY"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"LinearStiffnessByLengthX"s,"LinearStiffnessByLengthY"s,"LinearStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"LinearStiffnessByAreaX"s,"LinearStiffnessByAreaY"s,"LinearStiffnessByAreaZ"s,"LinearStiffnessX"s,"LinearStiffnessY"s,"LinearStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"CompositionType"s,"Elevation"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"CentreOfGravityInX"s,"DayComponent"s,"MonthComponent"s,"YearComponent"s,"Coordinates"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"Height"s,"Radius"s,"Source"s,"Edition"s,"EditionDate"s,"Notation"s,"ItemOf"s,"Title"s,"RelatingItem"s,"RelatedItems"s,"NotationFacets"s,"NotationValue"s,"ReferencedSource"s,"Red"s,"Green"s,"Blue"s,"UsageName"s,"HasProperties"s,"Segments"s,"Transition"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Criterion"s,"CriterionDateTime"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"LocationAtRelatingElement"s,"LocationAtRelatedElement"s,"ProfileOfPort"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"RelatingConstraint"s,"RelatedConstraints"s,"LogicalAggregator"s,"ClassifiedConstraint"s,"RelatedClassifications"s,"Suppliers"s,"UsageRatio"s,"ResourceIdentifier"s,"ResourceGroup"s,"ResourceConsumption"s,"BaseQuantity"s,"ConversionFactor"s,"HourOffset"s,"MinuteOffset"s,"Sense"s,"SubmittedBy"s,"PreparedBy"s,"SubmittedOn"s,"Status"s,"TargetUsers"s,"UpdateDate"s,"ID"s,"CostType"s,"Condition"s,"OverallHeight"s,"BaseWidth2"s,"HeadWidth"s,"HeadDepth2"s,"HeadDepth3"s,"WebThickness"s,"BaseWidth4"s,"BaseDepth1"s,"BaseDepth2"s,"BaseDepth3"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"PatternList"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"DateComponent"s,"TimeComponent"s,"Definition"s,"Target"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"ControlElementId"s,"FlowDirection"s,"FileExtension"s,"MimeContentType"s,"MimeSubtype"s,"DocumentId"s,"DocumentReferences"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"OverallWidth"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"OperationType"s,"ConstructionType"s,"ParameterTakesPrecedence"s,"Sizeable"s,"Contents"s,"RelatingDraughtingCallout"s,"RelatedDraughtingCallout"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"FeatureLength"s,"EdgeList"s,"DistributionPointFunction"s,"UserDefinedFunction"s,"ElectricCurrentType"s,"InputVoltage"s,"InputFrequency"s,"FullLoadCurrent"s,"MinimumCircuitCurrent"s,"MaximumPowerInput"s,"RatedPowerInput"s,"InputPhase"s,"Tag"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EnergySequence"s,"UserDefinedEnergySequence"s,"ImpactType"s,"Category"s,"UserDefinedCategory"s,"ExtendedProperties"s,"Location"s,"ItemReference"s,"ExtrudedDirection"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"Voids"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"Symbol"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"PropertySource"s,"FlowConditionTimeSeries"s,"VelocityTimeSeries"s,"FlowrateTimeSeries"s,"Fluid"s,"PressureTimeSeries"s,"UserDefinedPropertySource"s,"TemperatureSingleValue"s,"WetBulbTemperatureSingleValue"s,"WetBulbTemperatureTimeSeries"s,"TemperatureTimeSeries"s,"FlowrateSingleValue"s,"FlowConditionSingleValue"s,"VelocitySingleValue"s,"PressureSingleValue"s,"CombustionTemperature"s,"CarbonContent"s,"LowerHeatingValue"s,"HigherHeatingValue"s,"MolecularWeight"s,"Porosity"s,"MassDensity"s,"PhysicalWeight"s,"Perimeter"s,"MinimumPlateThickness"s,"MaximumPlateThickness"s,"CrossSectionArea"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"UpperVaporResistanceFactor"s,"LowerVaporResistanceFactor"s,"IsothermalMoistureCapacity"s,"VaporPermeability"s,"MoistureDiffusivity"s,"OverallDepth"s,"FlangeThickness"s,"FilletRadius"s,"UrlReference"s,"InventoryType"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"EdgeRadius"s,"LegSlope"s,"SkillSet"s,"Publisher"s,"VersionDate"s,"LibraryReference"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"PlacementRelTo"s,"RelativePlacement"s,"HourComponent"s,"MinuteComponent"s,"SecondComponent"s,"Zone"s,"DaylightSavingOffset"s,"Outer"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"RepresentedMaterial"s,"Material"s,"LayerThickness"s,"IsVentilated"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"Materials"s,"ValueComponent"s,"UnitComponent"s,"CompressiveStrength"s,"MaxAggregateSize"s,"AdmixturesDescription"s,"Workability"s,"ProtectivePoreRatio"s,"WaterImpermeability"s,"NominalDiameter"s,"NominalLength"s,"DynamicViscosity"s,"YoungModulus"s,"ShearModulus"s,"PoissonRatio"s,"ThermalExpansionCoefficient"s,"YieldStress"s,"UltimateStress"s,"UltimateStrain"s,"HardeningModule"s,"ProportionalStress"s,"PlasticStrain"s,"Relaxations"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"Currency"s,"MoveFrom"s,"MoveTo"s,"PunchList"s,"Dimensions"s,"ObjectType"s,"BenchmarkValues"s,"ResultValues"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Distance"s,"RepeatFactor"s,"VisibleTransmittance"s,"SolarTransmittance"s,"ThermalIrTransmittance"s,"ThermalIrEmissivityBack"s,"ThermalIrEmissivityFront"s,"VisibleReflectanceBack"s,"VisibleReflectanceFront"s,"SolarReflectanceFront"s,"SolarReflectanceBack"s,"ActionID"s,"Id"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"PermitID"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"Usage"s,"ColourComponents"s,"Pixel"s,"Placement"s,"SizeInX"s,"SizeInY"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Points"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"Styles"s,"ProcedureID"s,"ProcedureType"s,"UserDefinedProcedureType"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"SpecificHeatCapacity"s,"N20Content"s,"COContent"s,"CO2Content"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"LongName"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"Records"s,"UpperBoundValue"s,"LowerBoundValue"s,"RelatedProperties"s,"DependingProperty"s,"DependantProperty"s,"Expression"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"ProxyType"s,"AreaValue"s,"CountValue"s,"LengthValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"ShapeType"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"ReferencedDocument"s,"ReferencingValues"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"BarLength"s,"BarRole"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatedObjects"s,"RelatedObjectsType"s,"TimeForTask"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingAppliedValue"s,"RelatingClassification"s,"Intent"s,"RelatingLibrary"s,"RelatingMaterial"s,"RelatingProfileProperties"s,"ProfileSectionLocation"s,"ProfileOrientation"s,"ConnectionGeometry"s,"RelatingElement"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatedStructuralMember"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatedSpace"s,"RelatingObject"s,"RelatingPropertyDefinition"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"DailyInteraction"s,"ImportanceRating"s,"LocationOfInteraction"s,"RelatedSpaceProgram"s,"RelatingSpaceProgram"s,"OverridingProperties"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"RelatingSpace"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"RelatedOpeningElement"s,"RelaxationValue"s,"InitialStress"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"Angle"s,"RibHeight"s,"RibWidth"s,"RibSpacing"s,"Direction"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"ActualStart"s,"EarlyStart"s,"LateStart"s,"ScheduleStart"s,"ActualFinish"s,"EarlyFinish"s,"LateFinish"s,"ScheduleFinish"s,"ScheduleDuration"s,"ActualDuration"s,"RemainingTime"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"StatusTime"s,"StartFloat"s,"FinishFloat"s,"Completion"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"SpineCurve"s,"CrossSections"s,"CrossSectionPositions"s,"ServiceLifeType"s,"ServiceLifeDuration"s,"UpperValue"s,"MostUsedValue"s,"LowerValue"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"IsAttenuating"s,"SoundScale"s,"SoundValues"s,"SoundLevelTimeSeries"s,"Frequency"s,"SoundLevelSingleValue"s,"InteriorOrExteriorSpace"s,"ElevationWithFlooring"s,"SpaceProgramIdentifier"s,"MaxRequiredArea"s,"MinRequiredArea"s,"RequestedLocation"s,"StandardRequiredArea"s,"ApplicableValueRatio"s,"ThermalLoadSource"s,"SourceDescription"s,"MaximumValue"s,"MinimumValue"s,"ThermalLoadTimeSeriesValues"s,"UserDefinedThermalLoadSource"s,"ThermalLoadType"s,"NumberOfRiser"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"CausedBy"s,"AppliedLoad"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"ProjectedOrTrue"s,"VaryingAppliedLoadLocation"s,"SubsequentAppliedLoads"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaT_Constant"s,"DeltaT_Y"s,"DeltaT_Z"s,"TorsionalConstantX"s,"MomentOfInertiaYZ"s,"MomentOfInertiaY"s,"MomentOfInertiaZ"s,"WarpingConstant"s,"ShearCentreZ"s,"ShearCentreY"s,"ShearDeformationAreaZ"s,"ShearDeformationAreaY"s,"MaximumSectionModulusY"s,"MinimumSectionModulusY"s,"MaximumSectionModulusZ"s,"MinimumSectionModulusZ"s,"TorsionalSectionModulus"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"ShearAreaZ"s,"ShearAreaY"s,"PlasticShapeFactorY"s,"PlasticShapeFactorZ"s,"SubsequentThickness"s,"VaryingThicknessLocation"s,"SubContractor"s,"JobDescription"s,"ParentEdge"s,"Directrix"s,"StartParam"s,"EndParam"s,"ReferenceSurface"s,"AxisPosition"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"Transparency"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Textures"s,"RepeatS"s,"RepeatT"s,"TextureType"s,"TextureTransform"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"StyleOfSymbol"s,"FlangeWidth"s,"FlangeEdgeRadius"s,"WebEdgeRadius"s,"WebSlope"s,"FlangeSlope"s,"Rows"s,"RowCells"s,"IsHeading"s,"TaskId"s,"WorkMethod"s,"IsMilestone"s,"Priority"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"AnnotatedCurve"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"BoxHeight"s,"BoxWidth"s,"BoxSlantAngle"s,"BoxRotateAngle"s,"CharacterSpacing"s,"Mode"s,"Parameter"s,"TextureMaps"s,"BoilingPoint"s,"FreezingPoint"s,"ThermalConductivity"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"ReferencedTimeSeries"s,"TimeSeriesReferences"s,"ApplicableDates"s,"TimeSeriesScheduleType"s,"TimeSeries"s,"CapacityByWeight"s,"CapacityByNumber"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"MasterRepresentation"s,"SecondRepeatFactor"s,"ApplicableOccurrence"s,"HasPropertySets"s,"RepresentationMaps"s,"Units"s,"Magnitude"s,"TextureVertices"s,"TexturePoints"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"IsPotable"s,"Hardness"s,"AlkalinityConcentration"s,"AcidityConcentration"s,"ImpuritiesContent"s,"PHLevel"s,"DissolvedSolidsContent"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"Creators"s,"Duration"s,"FinishTime"s,"WorkControlType"s,"UserDefinedControlType"s,"IsActingUpon"s,"OfPerson"s,"OfOrganization"s,"ContainedInStructure"s,"ValuesReferenced"s,"ValueOfComponents"s,"IsComponentIn"s,"Actors"s,"IsRelatedWith"s,"Relates"s,"Contains"s,"IsClassifiedItemIn"s,"IsClassifyingItemIn"s,"UsingCurves"s,"ClassifiedAs"s,"RelatesConstraints"s,"PropertiesForConstraint"s,"Aggregates"s,"IsAggregatedIn"s,"Controls"s,"CoversSpaces"s,"Covers"s,"AnnotatedBySymbols"s,"AssignedToFlowElement"s,"HasControlElements"s,"IsPointedTo"s,"IsPointer"s,"ReferenceToDocument"s,"IsRelatedFromCallout"s,"IsRelatedToCallout"s,"HasStructuralMember"s,"FillsVoids"s,"ConnectedTo"s,"HasCoverings"s,"HasProjections"s,"ReferencedInStructures"s,"HasPorts"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ReferenceIntoLibrary"s,"HasRepresentation"s,"ToMaterialLayerSet"s,"IsDefinedBy"s,"HasAssignments"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"ReferencedByPlacements"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"OperatesOn"s,"IsSuccessorFrom"s,"IsPredecessorTo"s,"ReferencedBy"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PropertyForDependance"s,"PropertyDependsOn"s,"PropertyDefinitionOf"s,"DefinesType"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"ScheduleTimeControlAssigned"s,"OfShapeAspect"s,"BoundedBy"s,"HasInteractionReqsFrom"s,"HasInteractionReqsTo"s,"ReferencesElements"s,"ServicedBySystems"s,"ContainsElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ReferencesElement"s,"ConnectedBy"s,"Causes"s,"ResultGroupFor"s,"ServicesBuildings"s,"OfTable"s,"AnnotatedSurface"s,"DocumentedBy"s,"ObjectTypeOf"s,"IFC2X3"s}; diff --git a/src/ifcparse/schemas/Ifc2x3.cpp b/src/ifcparse/schemas/Ifc2x3.cpp index 85baf9944d..cc4250e70b 100644 --- a/src/ifcparse/schemas/Ifc2x3.cpp +++ b/src/ifcparse/schemas/Ifc2x3.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc2x3.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc2x3::Identifier = "IFC2X3"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC2X3_types[980]; -// const IfcParse::enumeration_type& Ifc2x3::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[4]); } -const IfcParse::enumeration_type& Ifc2x3::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[4]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[4]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[4]); } /* -Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc2x3::IfcActionSourceTypeEnum::Value Ifc2x3::IfcActionSourceTypeEnum::FromStri } Ifc2x3::IfcActionSourceTypeEnum::operator Ifc2x3::IfcActionSourceTypeEnum::Value() const { - return (Ifc2x3::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[5]); } -const IfcParse::enumeration_type& Ifc2x3::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[5]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[5]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[5]); } /* -Ifc2x3::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc2x3::IfcActionTypeEnum::Value Ifc2x3::IfcActionTypeEnum::FromString(const std } Ifc2x3::IfcActionTypeEnum::operator Ifc2x3::IfcActionTypeEnum::Value() const { - return (Ifc2x3::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[10]); } -const IfcParse::enumeration_type& Ifc2x3::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[10]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[10]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[10]); } /* -Ifc2x3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc2x3::IfcActuatorTypeEnum::Value Ifc2x3::IfcActuatorTypeEnum::FromString(const } Ifc2x3::IfcActuatorTypeEnum::operator Ifc2x3::IfcActuatorTypeEnum::Value() const { - return (Ifc2x3::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[12]); } -const IfcParse::enumeration_type& Ifc2x3::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[12]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[12]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[12]); } /* -Ifc2x3::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc2x3::IfcAddressTypeEnum::Value Ifc2x3::IfcAddressTypeEnum::FromString(const s } Ifc2x3::IfcAddressTypeEnum::operator Ifc2x3::IfcAddressTypeEnum::Value() const { - return (Ifc2x3::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcAheadOrBehind::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[13]); } -const IfcParse::enumeration_type& Ifc2x3::IfcAheadOrBehind::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[13]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcAheadOrBehind::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[13]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcAheadOrBehind::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[13]); } /* -Ifc2x3::IfcAheadOrBehind::IfcAheadOrBehind(const std::weak_ptr& e) +Ifc2x3::IfcAheadOrBehind::IfcAheadOrBehind(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcAheadOrBehind::IfcAheadOrBehind(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcAheadOrBehind::IfcAheadOrBehind(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc2x3::IfcAheadOrBehind::Value Ifc2x3::IfcAheadOrBehind::FromString(const std:: } Ifc2x3::IfcAheadOrBehind::operator Ifc2x3::IfcAheadOrBehind::Value() const { - return (Ifc2x3::IfcAheadOrBehind::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcAheadOrBehind::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[15]); } -const IfcParse::enumeration_type& Ifc2x3::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[15]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[15]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[15]); } /* -Ifc2x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc2x3::IfcAirTerminalBoxTypeEnum::Value Ifc2x3::IfcAirTerminalBoxTypeEnum::From } Ifc2x3::IfcAirTerminalBoxTypeEnum::operator Ifc2x3::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc2x3::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[17]); } -const IfcParse::enumeration_type& Ifc2x3::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[17]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[17]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[17]); } /* -Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc2x3::IfcAirTerminalTypeEnum::Value Ifc2x3::IfcAirTerminalTypeEnum::FromString } Ifc2x3::IfcAirTerminalTypeEnum::operator Ifc2x3::IfcAirTerminalTypeEnum::Value() const { - return (Ifc2x3::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[19]); } -const IfcParse::enumeration_type& Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[19]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[19]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[19]); } /* -Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc2x3::IfcAirToAirHeatRecoveryTy } Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[21]); } -const IfcParse::enumeration_type& Ifc2x3::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[21]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[21]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[21]); } /* -Ifc2x3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc2x3::IfcAlarmTypeEnum::Value Ifc2x3::IfcAlarmTypeEnum::FromString(const std:: } Ifc2x3::IfcAlarmTypeEnum::operator Ifc2x3::IfcAlarmTypeEnum::Value() const { - return (Ifc2x3::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[23]); } -const IfcParse::enumeration_type& Ifc2x3::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[23]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[23]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[23]); } /* -Ifc2x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc2x3::IfcAnalysisModelTypeEnum::Value Ifc2x3::IfcAnalysisModelTypeEnum::FromSt } Ifc2x3::IfcAnalysisModelTypeEnum::operator Ifc2x3::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc2x3::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[24]); } -const IfcParse::enumeration_type& Ifc2x3::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[24]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[24]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[24]); } /* -Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc2x3::IfcAnalysisTheoryTypeEnum::Value Ifc2x3::IfcAnalysisTheoryTypeEnum::From } Ifc2x3::IfcAnalysisTheoryTypeEnum::operator Ifc2x3::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc2x3::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[48]); } -const IfcParse::enumeration_type& Ifc2x3::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[48]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[48]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[48]); } /* -Ifc2x3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc2x3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc2x3::IfcArithmeticOperatorEnum::Value Ifc2x3::IfcArithmeticOperatorEnum::From } Ifc2x3::IfcArithmeticOperatorEnum::operator Ifc2x3::IfcArithmeticOperatorEnum::Value() const { - return (Ifc2x3::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[49]); } -const IfcParse::enumeration_type& Ifc2x3::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[49]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[49]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[49]); } /* -Ifc2x3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc2x3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc2x3::IfcAssemblyPlaceEnum::Value Ifc2x3::IfcAssemblyPlaceEnum::FromString(con } Ifc2x3::IfcAssemblyPlaceEnum::operator Ifc2x3::IfcAssemblyPlaceEnum::Value() const { - return (Ifc2x3::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[81]); } -const IfcParse::enumeration_type& Ifc2x3::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[81]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[81]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[81]); } /* -Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc2x3::IfcBSplineCurveForm::Value Ifc2x3::IfcBSplineCurveForm::FromString(const } Ifc2x3::IfcBSplineCurveForm::operator Ifc2x3::IfcBSplineCurveForm::Value() const { - return (Ifc2x3::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[58]); } -const IfcParse::enumeration_type& Ifc2x3::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[58]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[58]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[58]); } /* -Ifc2x3::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc2x3::IfcBeamTypeEnum::Value Ifc2x3::IfcBeamTypeEnum::FromString(const std::st } Ifc2x3::IfcBeamTypeEnum::operator Ifc2x3::IfcBeamTypeEnum::Value() const { - return (Ifc2x3::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[59]); } -const IfcParse::enumeration_type& Ifc2x3::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[59]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[59]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[59]); } /* -Ifc2x3::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc2x3::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc2x3::IfcBenchmarkEnum::Value Ifc2x3::IfcBenchmarkEnum::FromString(const std:: } Ifc2x3::IfcBenchmarkEnum::operator Ifc2x3::IfcBenchmarkEnum::Value() const { - return (Ifc2x3::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[64]); } -const IfcParse::enumeration_type& Ifc2x3::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[64]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[64]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[64]); } /* -Ifc2x3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc2x3::IfcBoilerTypeEnum::Value Ifc2x3::IfcBoilerTypeEnum::FromString(const std } Ifc2x3::IfcBoilerTypeEnum::operator Ifc2x3::IfcBoilerTypeEnum::Value() const { - return (Ifc2x3::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[68]); } -const IfcParse::enumeration_type& Ifc2x3::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[68]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[68]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[68]); } /* -Ifc2x3::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc2x3::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc2x3::IfcBooleanOperator::Value Ifc2x3::IfcBooleanOperator::FromString(const s } Ifc2x3::IfcBooleanOperator::operator Ifc2x3::IfcBooleanOperator::Value() const { - return (Ifc2x3::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[88]); } -const IfcParse::enumeration_type& Ifc2x3::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[88]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[88]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[88]); } /* -Ifc2x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc2x3::IfcBuildingElementProxyTypeEnum::Value Ifc2x3::IfcBuildingElementProxyTy } Ifc2x3::IfcBuildingElementProxyTypeEnum::operator Ifc2x3::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc2x3::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[92]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[92]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[92]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[92]); } /* -Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc2x3::IfcCableCarrierFittingTypeEnum::Value Ifc2x3::IfcCableCarrierFittingType } Ifc2x3::IfcCableCarrierFittingTypeEnum::operator Ifc2x3::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc2x3::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[94]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[94]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[94]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[94]); } /* -Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value Ifc2x3::IfcCableCarrierSegmentType } Ifc2x3::IfcCableCarrierSegmentTypeEnum::operator Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[96]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[96]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[96]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[96]); } /* -Ifc2x3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc2x3::IfcCableSegmentTypeEnum::Value Ifc2x3::IfcCableSegmentTypeEnum::FromStri } Ifc2x3::IfcCableSegmentTypeEnum::operator Ifc2x3::IfcCableSegmentTypeEnum::Value() const { - return (Ifc2x3::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[106]); } -const IfcParse::enumeration_type& Ifc2x3::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[106]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[106]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[106]); } /* -Ifc2x3::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc2x3::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc2x3::IfcChangeActionEnum::Value Ifc2x3::IfcChangeActionEnum::FromString(const } Ifc2x3::IfcChangeActionEnum::operator Ifc2x3::IfcChangeActionEnum::Value() const { - return (Ifc2x3::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[109]); } -const IfcParse::enumeration_type& Ifc2x3::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[109]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[109]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[109]); } /* -Ifc2x3::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc2x3::IfcChillerTypeEnum::Value Ifc2x3::IfcChillerTypeEnum::FromString(const s } Ifc2x3::IfcChillerTypeEnum::operator Ifc2x3::IfcChillerTypeEnum::Value() const { - return (Ifc2x3::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[122]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[122]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[122]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[122]); } /* -Ifc2x3::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc2x3::IfcCoilTypeEnum::Value Ifc2x3::IfcCoilTypeEnum::FromString(const std::st } Ifc2x3::IfcCoilTypeEnum::operator Ifc2x3::IfcCoilTypeEnum::Value() const { - return (Ifc2x3::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[129]); } -const IfcParse::enumeration_type& Ifc2x3::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[129]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[129]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[129]); } /* -Ifc2x3::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc2x3::IfcColumnTypeEnum::Value Ifc2x3::IfcColumnTypeEnum::FromString(const std } Ifc2x3::IfcColumnTypeEnum::operator Ifc2x3::IfcColumnTypeEnum::Value() const { - return (Ifc2x3::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[137]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[137]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[137]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[137]); } /* -Ifc2x3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc2x3::IfcCompressorTypeEnum::Value Ifc2x3::IfcCompressorTypeEnum::FromString(c } Ifc2x3::IfcCompressorTypeEnum::operator Ifc2x3::IfcCompressorTypeEnum::Value() const { - return (Ifc2x3::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[139]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[139]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[139]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[139]); } /* -Ifc2x3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc2x3::IfcCondenserTypeEnum::Value Ifc2x3::IfcCondenserTypeEnum::FromString(con } Ifc2x3::IfcCondenserTypeEnum::operator Ifc2x3::IfcCondenserTypeEnum::Value() const { - return (Ifc2x3::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[151]); } -const IfcParse::enumeration_type& Ifc2x3::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[151]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[151]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[151]); } /* -Ifc2x3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc2x3::IfcConnectionTypeEnum::Value Ifc2x3::IfcConnectionTypeEnum::FromString(c } Ifc2x3::IfcConnectionTypeEnum::operator Ifc2x3::IfcConnectionTypeEnum::Value() const { - return (Ifc2x3::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[155]); } -const IfcParse::enumeration_type& Ifc2x3::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[155]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[155]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[155]); } /* -Ifc2x3::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc2x3::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc2x3::IfcConstraintEnum::Value Ifc2x3::IfcConstraintEnum::FromString(const std } Ifc2x3::IfcConstraintEnum::operator Ifc2x3::IfcConstraintEnum::Value() const { - return (Ifc2x3::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[165]); } -const IfcParse::enumeration_type& Ifc2x3::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[165]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[165]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[165]); } /* -Ifc2x3::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc2x3::IfcControllerTypeEnum::Value Ifc2x3::IfcControllerTypeEnum::FromString(c } Ifc2x3::IfcControllerTypeEnum::operator Ifc2x3::IfcControllerTypeEnum::Value() const { - return (Ifc2x3::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[168]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[168]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[168]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[168]); } /* -Ifc2x3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc2x3::IfcCooledBeamTypeEnum::Value Ifc2x3::IfcCooledBeamTypeEnum::FromString(c } Ifc2x3::IfcCooledBeamTypeEnum::operator Ifc2x3::IfcCooledBeamTypeEnum::Value() const { - return (Ifc2x3::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[170]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[170]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[170]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[170]); } /* -Ifc2x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc2x3::IfcCoolingTowerTypeEnum::Value Ifc2x3::IfcCoolingTowerTypeEnum::FromStri } Ifc2x3::IfcCoolingTowerTypeEnum::operator Ifc2x3::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc2x3::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[174]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[174]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[174]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[174]); } /* -Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc2x3::IfcCostScheduleTypeEnum::Value Ifc2x3::IfcCostScheduleTypeEnum::FromStri } Ifc2x3::IfcCostScheduleTypeEnum::operator Ifc2x3::IfcCostScheduleTypeEnum::Value() const { - return (Ifc2x3::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[179]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[179]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[179]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[179]); } /* -Ifc2x3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc2x3::IfcCoveringTypeEnum::Value Ifc2x3::IfcCoveringTypeEnum::FromString(const } Ifc2x3::IfcCoveringTypeEnum::operator Ifc2x3::IfcCoveringTypeEnum::Value() const { - return (Ifc2x3::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCurrencyEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[187]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCurrencyEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[187]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCurrencyEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[187]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCurrencyEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[187]); } /* -Ifc2x3::IfcCurrencyEnum::IfcCurrencyEnum(const std::weak_ptr& e) +Ifc2x3::IfcCurrencyEnum::IfcCurrencyEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCurrencyEnum::IfcCurrencyEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCurrencyEnum::IfcCurrencyEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc2x3::IfcCurrencyEnum::Value Ifc2x3::IfcCurrencyEnum::FromString(const std::st } Ifc2x3::IfcCurrencyEnum::operator Ifc2x3::IfcCurrencyEnum::Value() const { - return (Ifc2x3::IfcCurrencyEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCurrencyEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[191]); } -const IfcParse::enumeration_type& Ifc2x3::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[191]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[191]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[191]); } /* -Ifc2x3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc2x3::IfcCurtainWallTypeEnum::Value Ifc2x3::IfcCurtainWallTypeEnum::FromString } Ifc2x3::IfcCurtainWallTypeEnum::operator Ifc2x3::IfcCurtainWallTypeEnum::Value() const { - return (Ifc2x3::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[203]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[203]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[203]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[203]); } /* -Ifc2x3::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc2x3::IfcDamperTypeEnum::Value Ifc2x3::IfcDamperTypeEnum::FromString(const std } Ifc2x3::IfcDamperTypeEnum::operator Ifc2x3::IfcDamperTypeEnum::Value() const { - return (Ifc2x3::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[204]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[204]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[204]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[204]); } /* -Ifc2x3::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc2x3::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc2x3::IfcDataOriginEnum::Value Ifc2x3::IfcDataOriginEnum::FromString(const std } Ifc2x3::IfcDataOriginEnum::operator Ifc2x3::IfcDataOriginEnum::Value() const { - return (Ifc2x3::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[215]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[215]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[215]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[215]); } /* -Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc2x3::IfcDerivedUnitEnum::Value Ifc2x3::IfcDerivedUnitEnum::FromString(const s } Ifc2x3::IfcDerivedUnitEnum::operator Ifc2x3::IfcDerivedUnitEnum::Value() const { - return (Ifc2x3::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDimensionExtentUsage::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[224]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDimensionExtentUsage::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[224]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDimensionExtentUsage::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[224]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDimensionExtentUsage::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[224]); } /* -Ifc2x3::IfcDimensionExtentUsage::IfcDimensionExtentUsage(const std::weak_ptr& e) +Ifc2x3::IfcDimensionExtentUsage::IfcDimensionExtentUsage(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDimensionExtentUsage::IfcDimensionExtentUsage(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDimensionExtentUsage::IfcDimensionExtentUsage(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc2x3::IfcDimensionExtentUsage::Value Ifc2x3::IfcDimensionExtentUsage::FromStri } Ifc2x3::IfcDimensionExtentUsage::operator Ifc2x3::IfcDimensionExtentUsage::Value() const { - return (Ifc2x3::IfcDimensionExtentUsage::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDimensionExtentUsage::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[227]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[227]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[227]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[227]); } /* -Ifc2x3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc2x3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc2x3::IfcDirectionSenseEnum::Value Ifc2x3::IfcDirectionSenseEnum::FromString(c } Ifc2x3::IfcDirectionSenseEnum::operator Ifc2x3::IfcDirectionSenseEnum::Value() const { - return (Ifc2x3::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[232]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[232]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[232]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[232]); } /* -Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc2x3::IfcDistributionChamberElementTypeEnum::Value Ifc2x3::IfcDistributionCham } Ifc2x3::IfcDistributionChamberElementTypeEnum::operator Ifc2x3::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc2x3::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[240]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[240]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[240]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[240]); } /* -Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc2x3::IfcDocumentConfidentialityEnum::Value Ifc2x3::IfcDocumentConfidentiality } Ifc2x3::IfcDocumentConfidentialityEnum::operator Ifc2x3::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc2x3::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[246]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[246]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[246]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[246]); } /* -Ifc2x3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc2x3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc2x3::IfcDocumentStatusEnum::Value Ifc2x3::IfcDocumentStatusEnum::FromString(c } Ifc2x3::IfcDocumentStatusEnum::operator Ifc2x3::IfcDocumentStatusEnum::Value() const { - return (Ifc2x3::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[249]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[249]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[249]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[249]); } /* -Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc2x3::IfcDoorPanelOperationEnum::Value Ifc2x3::IfcDoorPanelOperationEnum::From } Ifc2x3::IfcDoorPanelOperationEnum::operator Ifc2x3::IfcDoorPanelOperationEnum::Value() const { - return (Ifc2x3::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[250]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[250]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[250]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[250]); } /* -Ifc2x3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc2x3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc2x3::IfcDoorPanelPositionEnum::Value Ifc2x3::IfcDoorPanelPositionEnum::FromSt } Ifc2x3::IfcDoorPanelPositionEnum::operator Ifc2x3::IfcDoorPanelPositionEnum::Value() const { - return (Ifc2x3::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDoorStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[253]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDoorStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[253]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDoorStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[253]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDoorStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[253]); } /* -Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) +Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc2x3::IfcDoorStyleConstructionEnum::Value Ifc2x3::IfcDoorStyleConstructionEnum } Ifc2x3::IfcDoorStyleConstructionEnum::operator Ifc2x3::IfcDoorStyleConstructionEnum::Value() const { - return (Ifc2x3::IfcDoorStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDoorStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDoorStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[254]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDoorStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[254]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDoorStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[254]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDoorStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[254]); } /* -Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) +Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc2x3::IfcDoorStyleOperationEnum::Value Ifc2x3::IfcDoorStyleOperationEnum::From } Ifc2x3::IfcDoorStyleOperationEnum::operator Ifc2x3::IfcDoorStyleOperationEnum::Value() const { - return (Ifc2x3::IfcDoorStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDoorStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[263]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[263]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[263]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[263]); } /* -Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc2x3::IfcDuctFittingTypeEnum::Value Ifc2x3::IfcDuctFittingTypeEnum::FromString } Ifc2x3::IfcDuctFittingTypeEnum::operator Ifc2x3::IfcDuctFittingTypeEnum::Value() const { - return (Ifc2x3::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[265]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[265]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[265]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[265]); } /* -Ifc2x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc2x3::IfcDuctSegmentTypeEnum::Value Ifc2x3::IfcDuctSegmentTypeEnum::FromString } Ifc2x3::IfcDuctSegmentTypeEnum::operator Ifc2x3::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc2x3::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[267]); } -const IfcParse::enumeration_type& Ifc2x3::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[267]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[267]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[267]); } /* -Ifc2x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc2x3::IfcDuctSilencerTypeEnum::Value Ifc2x3::IfcDuctSilencerTypeEnum::FromStri } Ifc2x3::IfcDuctSilencerTypeEnum::operator Ifc2x3::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc2x3::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[277]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[277]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[277]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[277]); } /* -Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc2x3::IfcElectricApplianceTypeEnum::Value Ifc2x3::IfcElectricApplianceTypeEnum } Ifc2x3::IfcElectricApplianceTypeEnum::operator Ifc2x3::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc2x3::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElectricCurrentEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[281]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElectricCurrentEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[281]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricCurrentEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[281]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricCurrentEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[281]); } /* -Ifc2x3::IfcElectricCurrentEnum::IfcElectricCurrentEnum(const std::weak_ptr& e) +Ifc2x3::IfcElectricCurrentEnum::IfcElectricCurrentEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElectricCurrentEnum::IfcElectricCurrentEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElectricCurrentEnum::IfcElectricCurrentEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc2x3::IfcElectricCurrentEnum::Value Ifc2x3::IfcElectricCurrentEnum::FromString } Ifc2x3::IfcElectricCurrentEnum::operator Ifc2x3::IfcElectricCurrentEnum::Value() const { - return (Ifc2x3::IfcElectricCurrentEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElectricCurrentEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElectricDistributionPointFunctionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[284]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElectricDistributionPointFunctionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[284]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricDistributionPointFunctionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[284]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricDistributionPointFunctionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[284]); } /* -Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum(const std::weak_ptr& e) +Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElectricDistributionPointFunctionEnum::IfcElectricDistributionPointFunctionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value Ifc2x3::IfcElectricDistr } Ifc2x3::IfcElectricDistributionPointFunctionEnum::operator Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value() const { - return (Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[286]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[286]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[286]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[286]); } /* -Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc2x3::IfcElectricFlowStora } Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[288]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[288]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[288]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[288]); } /* -Ifc2x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc2x3::IfcElectricGeneratorTypeEnum::Value Ifc2x3::IfcElectricGeneratorTypeEnum } Ifc2x3::IfcElectricGeneratorTypeEnum::operator Ifc2x3::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc2x3::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElectricHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[290]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElectricHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[290]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[290]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[290]); } /* -Ifc2x3::IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElectricHeaterTypeEnum::IfcElectricHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc2x3::IfcElectricHeaterTypeEnum::Value Ifc2x3::IfcElectricHeaterTypeEnum::From } Ifc2x3::IfcElectricHeaterTypeEnum::operator Ifc2x3::IfcElectricHeaterTypeEnum::Value() const { - return (Ifc2x3::IfcElectricHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElectricHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[292]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[292]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[292]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[292]); } /* -Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc2x3::IfcElectricMotorTypeEnum::Value Ifc2x3::IfcElectricMotorTypeEnum::FromSt } Ifc2x3::IfcElectricMotorTypeEnum::operator Ifc2x3::IfcElectricMotorTypeEnum::Value() const { - return (Ifc2x3::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[295]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[295]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[295]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[295]); } /* -Ifc2x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc2x3::IfcElectricTimeControlTypeEnum::Value Ifc2x3::IfcElectricTimeControlType } Ifc2x3::IfcElectricTimeControlTypeEnum::operator Ifc2x3::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc2x3::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[300]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[300]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[300]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[300]); } /* -Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc2x3::IfcElementAssemblyTypeEnum::Value Ifc2x3::IfcElementAssemblyTypeEnum::Fr } Ifc2x3::IfcElementAssemblyTypeEnum::operator Ifc2x3::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc2x3::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[303]); } -const IfcParse::enumeration_type& Ifc2x3::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[303]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[303]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[303]); } /* -Ifc2x3::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc2x3::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc2x3::IfcElementCompositionEnum::Value Ifc2x3::IfcElementCompositionEnum::From } Ifc2x3::IfcElementCompositionEnum::operator Ifc2x3::IfcElementCompositionEnum::Value() const { - return (Ifc2x3::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcEnergySequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[312]); } -const IfcParse::enumeration_type& Ifc2x3::IfcEnergySequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[312]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcEnergySequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[312]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcEnergySequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[312]); } /* -Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequenceEnum(const std::weak_ptr& e) +Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcEnergySequenceEnum::IfcEnergySequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc2x3::IfcEnergySequenceEnum::Value Ifc2x3::IfcEnergySequenceEnum::FromString(c } Ifc2x3::IfcEnergySequenceEnum::operator Ifc2x3::IfcEnergySequenceEnum::Value() const { - return (Ifc2x3::IfcEnergySequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcEnergySequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcEnvironmentalImpactCategoryEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[313]); } -const IfcParse::enumeration_type& Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[313]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcEnvironmentalImpactCategoryEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[313]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[313]); } /* -Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategoryEnum(const std::weak_ptr& e) +Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategoryEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategoryEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcEnvironmentalImpactCategoryEnum::IfcEnvironmentalImpactCategoryEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value Ifc2x3::IfcEnvironmentalImpact } Ifc2x3::IfcEnvironmentalImpactCategoryEnum::operator Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value() const { - return (Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[318]); } -const IfcParse::enumeration_type& Ifc2x3::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[318]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[318]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[318]); } /* -Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value Ifc2x3::IfcEvaporativeCoolerTypeEnum } Ifc2x3::IfcEvaporativeCoolerTypeEnum::operator Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[320]); } -const IfcParse::enumeration_type& Ifc2x3::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[320]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[320]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[320]); } /* -Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc2x3::IfcEvaporatorTypeEnum::Value Ifc2x3::IfcEvaporatorTypeEnum::FromString(c } Ifc2x3::IfcEvaporatorTypeEnum::operator Ifc2x3::IfcEvaporatorTypeEnum::Value() const { - return (Ifc2x3::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[337]); } -const IfcParse::enumeration_type& Ifc2x3::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[337]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[337]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[337]); } /* -Ifc2x3::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc2x3::IfcFanTypeEnum::Value Ifc2x3::IfcFanTypeEnum::FromString(const std::stri } Ifc2x3::IfcFanTypeEnum::operator Ifc2x3::IfcFanTypeEnum::Value() const { - return (Ifc2x3::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[350]); } -const IfcParse::enumeration_type& Ifc2x3::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[350]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[350]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[350]); } /* -Ifc2x3::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc2x3::IfcFilterTypeEnum::Value Ifc2x3::IfcFilterTypeEnum::FromString(const std } Ifc2x3::IfcFilterTypeEnum::operator Ifc2x3::IfcFilterTypeEnum::Value() const { - return (Ifc2x3::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[352]); } -const IfcParse::enumeration_type& Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[352]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[352]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[352]); } /* -Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value Ifc2x3::IfcFireSuppressionTerm } Ifc2x3::IfcFireSuppressionTerminalTypeEnum::operator Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[355]); } -const IfcParse::enumeration_type& Ifc2x3::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[355]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[355]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[355]); } /* -Ifc2x3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc2x3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc2x3::IfcFlowDirectionEnum::Value Ifc2x3::IfcFlowDirectionEnum::FromString(con } Ifc2x3::IfcFlowDirectionEnum::operator Ifc2x3::IfcFlowDirectionEnum::Value() const { - return (Ifc2x3::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[359]); } -const IfcParse::enumeration_type& Ifc2x3::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[359]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[359]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[359]); } /* -Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc2x3::IfcFlowInstrumentTypeEnum::Value Ifc2x3::IfcFlowInstrumentTypeEnum::From } Ifc2x3::IfcFlowInstrumentTypeEnum::operator Ifc2x3::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc2x3::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[361]); } -const IfcParse::enumeration_type& Ifc2x3::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[361]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[361]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[361]); } /* -Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc2x3::IfcFlowMeterTypeEnum::Value Ifc2x3::IfcFlowMeterTypeEnum::FromString(con } Ifc2x3::IfcFlowMeterTypeEnum::operator Ifc2x3::IfcFlowMeterTypeEnum::Value() const { - return (Ifc2x3::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[377]); } -const IfcParse::enumeration_type& Ifc2x3::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[377]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[377]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[377]); } /* -Ifc2x3::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc2x3::IfcFootingTypeEnum::Value Ifc2x3::IfcFootingTypeEnum::FromString(const s } Ifc2x3::IfcFootingTypeEnum::operator Ifc2x3::IfcFootingTypeEnum::Value() const { - return (Ifc2x3::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcGasTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[386]); } -const IfcParse::enumeration_type& Ifc2x3::IfcGasTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[386]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcGasTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[386]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcGasTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[386]); } /* -Ifc2x3::IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcGasTerminalTypeEnum::IfcGasTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc2x3::IfcGasTerminalTypeEnum::Value Ifc2x3::IfcGasTerminalTypeEnum::FromString } Ifc2x3::IfcGasTerminalTypeEnum::operator Ifc2x3::IfcGasTerminalTypeEnum::Value() const { - return (Ifc2x3::IfcGasTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcGasTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[390]); } -const IfcParse::enumeration_type& Ifc2x3::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[390]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[390]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[390]); } /* -Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc2x3::IfcGeometricProjectionEnum::Value Ifc2x3::IfcGeometricProjectionEnum::Fr } Ifc2x3::IfcGeometricProjectionEnum::operator Ifc2x3::IfcGeometricProjectionEnum::Value() const { - return (Ifc2x3::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[397]); } -const IfcParse::enumeration_type& Ifc2x3::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[397]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[397]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[397]); } /* -Ifc2x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc2x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc2x3::IfcGlobalOrLocalEnum::Value Ifc2x3::IfcGlobalOrLocalEnum::FromString(con } Ifc2x3::IfcGlobalOrLocalEnum::operator Ifc2x3::IfcGlobalOrLocalEnum::Value() const { - return (Ifc2x3::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[405]); } -const IfcParse::enumeration_type& Ifc2x3::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[405]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[405]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[405]); } /* -Ifc2x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc2x3::IfcHeatExchangerTypeEnum::Value Ifc2x3::IfcHeatExchangerTypeEnum::FromSt } Ifc2x3::IfcHeatExchangerTypeEnum::operator Ifc2x3::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc2x3::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[410]); } -const IfcParse::enumeration_type& Ifc2x3::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[410]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[410]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[410]); } /* -Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc2x3::IfcHumidifierTypeEnum::Value Ifc2x3::IfcHumidifierTypeEnum::FromString(c } Ifc2x3::IfcHumidifierTypeEnum::operator Ifc2x3::IfcHumidifierTypeEnum::Value() const { - return (Ifc2x3::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[418]); } -const IfcParse::enumeration_type& Ifc2x3::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[418]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[418]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[418]); } /* -Ifc2x3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc2x3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc2x3::IfcInternalOrExternalEnum::Value Ifc2x3::IfcInternalOrExternalEnum::From } Ifc2x3::IfcInternalOrExternalEnum::operator Ifc2x3::IfcInternalOrExternalEnum::Value() const { - return (Ifc2x3::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[420]); } -const IfcParse::enumeration_type& Ifc2x3::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[420]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[420]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[420]); } /* -Ifc2x3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc2x3::IfcInventoryTypeEnum::Value Ifc2x3::IfcInventoryTypeEnum::FromString(con } Ifc2x3::IfcInventoryTypeEnum::operator Ifc2x3::IfcInventoryTypeEnum::Value() const { - return (Ifc2x3::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[427]); } -const IfcParse::enumeration_type& Ifc2x3::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[427]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[427]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[427]); } /* -Ifc2x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc2x3::IfcJunctionBoxTypeEnum::Value Ifc2x3::IfcJunctionBoxTypeEnum::FromString } Ifc2x3::IfcJunctionBoxTypeEnum::operator Ifc2x3::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc2x3::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[432]); } -const IfcParse::enumeration_type& Ifc2x3::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[432]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[432]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[432]); } /* -Ifc2x3::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc2x3::IfcLampTypeEnum::Value Ifc2x3::IfcLampTypeEnum::FromString(const std::st } Ifc2x3::IfcLampTypeEnum::operator Ifc2x3::IfcLampTypeEnum::Value() const { - return (Ifc2x3::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[434]); } -const IfcParse::enumeration_type& Ifc2x3::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[434]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[434]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[434]); } /* -Ifc2x3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc2x3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc2x3::IfcLayerSetDirectionEnum::Value Ifc2x3::IfcLayerSetDirectionEnum::FromSt } Ifc2x3::IfcLayerSetDirectionEnum::operator Ifc2x3::IfcLayerSetDirectionEnum::Value() const { - return (Ifc2x3::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[439]); } -const IfcParse::enumeration_type& Ifc2x3::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[439]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[439]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[439]); } /* -Ifc2x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc2x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc2x3::IfcLightDistributionCurveEnum::Value Ifc2x3::IfcLightDistributionCurveEn } Ifc2x3::IfcLightDistributionCurveEnum::operator Ifc2x3::IfcLightDistributionCurveEnum::Value() const { - return (Ifc2x3::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[442]); } -const IfcParse::enumeration_type& Ifc2x3::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[442]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[442]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[442]); } /* -Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc2x3::IfcLightEmissionSourceEnum::Value Ifc2x3::IfcLightEmissionSourceEnum::Fr } Ifc2x3::IfcLightEmissionSourceEnum::operator Ifc2x3::IfcLightEmissionSourceEnum::Value() const { - return (Ifc2x3::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[444]); } -const IfcParse::enumeration_type& Ifc2x3::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[444]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[444]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[444]); } /* -Ifc2x3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc2x3::IfcLightFixtureTypeEnum::Value Ifc2x3::IfcLightFixtureTypeEnum::FromStri } Ifc2x3::IfcLightFixtureTypeEnum::operator Ifc2x3::IfcLightFixtureTypeEnum::Value() const { - return (Ifc2x3::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[458]); } -const IfcParse::enumeration_type& Ifc2x3::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[458]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[458]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[458]); } /* -Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc2x3::IfcLoadGroupTypeEnum::Value Ifc2x3::IfcLoadGroupTypeEnum::FromString(con } Ifc2x3::IfcLoadGroupTypeEnum::operator Ifc2x3::IfcLoadGroupTypeEnum::Value() const { - return (Ifc2x3::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[462]); } -const IfcParse::enumeration_type& Ifc2x3::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[462]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[462]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[462]); } /* -Ifc2x3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc2x3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc2x3::IfcLogicalOperatorEnum::Value Ifc2x3::IfcLogicalOperatorEnum::FromString } Ifc2x3::IfcLogicalOperatorEnum::operator Ifc2x3::IfcLogicalOperatorEnum::Value() const { - return (Ifc2x3::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[494]); } -const IfcParse::enumeration_type& Ifc2x3::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[494]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[494]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[494]); } /* -Ifc2x3::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc2x3::IfcMemberTypeEnum::Value Ifc2x3::IfcMemberTypeEnum::FromString(const std } Ifc2x3::IfcMemberTypeEnum::operator Ifc2x3::IfcMemberTypeEnum::Value() const { - return (Ifc2x3::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[509]); } -const IfcParse::enumeration_type& Ifc2x3::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[509]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[509]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[509]); } /* -Ifc2x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc2x3::IfcMotorConnectionTypeEnum::Value Ifc2x3::IfcMotorConnectionTypeEnum::Fr } Ifc2x3::IfcMotorConnectionTypeEnum::operator Ifc2x3::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc2x3::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcNullStyle::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[513]); } -const IfcParse::enumeration_type& Ifc2x3::IfcNullStyle::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[513]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcNullStyle::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[513]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcNullStyle::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[513]); } /* -Ifc2x3::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) +Ifc2x3::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcNullStyle::IfcNullStyle(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcNullStyle::IfcNullStyle(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc2x3::IfcNullStyle::Value Ifc2x3::IfcNullStyle::FromString(const std::string& } Ifc2x3::IfcNullStyle::operator Ifc2x3::IfcNullStyle::Value() const { - return (Ifc2x3::IfcNullStyle::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcNullStyle::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcObjectTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[521]); } -const IfcParse::enumeration_type& Ifc2x3::IfcObjectTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[521]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcObjectTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[521]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcObjectTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[521]); } /* -Ifc2x3::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcObjectTypeEnum::IfcObjectTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc2x3::IfcObjectTypeEnum::Value Ifc2x3::IfcObjectTypeEnum::FromString(const std } Ifc2x3::IfcObjectTypeEnum::operator Ifc2x3::IfcObjectTypeEnum::Value() const { - return (Ifc2x3::IfcObjectTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcObjectTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[518]); } -const IfcParse::enumeration_type& Ifc2x3::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[518]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[518]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[518]); } /* -Ifc2x3::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc2x3::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc2x3::IfcObjectiveEnum::Value Ifc2x3::IfcObjectiveEnum::FromString(const std:: } Ifc2x3::IfcObjectiveEnum::operator Ifc2x3::IfcObjectiveEnum::Value() const { - return (Ifc2x3::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[523]); } -const IfcParse::enumeration_type& Ifc2x3::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[523]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[523]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[523]); } /* -Ifc2x3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc2x3::IfcOccupantTypeEnum::Value Ifc2x3::IfcOccupantTypeEnum::FromString(const } Ifc2x3::IfcOccupantTypeEnum::operator Ifc2x3::IfcOccupantTypeEnum::Value() const { - return (Ifc2x3::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[536]); } -const IfcParse::enumeration_type& Ifc2x3::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[536]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[536]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[536]); } /* -Ifc2x3::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc2x3::IfcOutletTypeEnum::Value Ifc2x3::IfcOutletTypeEnum::FromString(const std } Ifc2x3::IfcOutletTypeEnum::operator Ifc2x3::IfcOutletTypeEnum::Value() const { - return (Ifc2x3::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[542]); } -const IfcParse::enumeration_type& Ifc2x3::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[542]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[542]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[542]); } /* -Ifc2x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc2x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc2x3::IfcPermeableCoveringOperationEnum::Value Ifc2x3::IfcPermeableCoveringOpe } Ifc2x3::IfcPermeableCoveringOperationEnum::operator Ifc2x3::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc2x3::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[549]); } -const IfcParse::enumeration_type& Ifc2x3::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[549]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[549]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[549]); } /* -Ifc2x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc2x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc2x3::IfcPhysicalOrVirtualEnum::Value Ifc2x3::IfcPhysicalOrVirtualEnum::FromSt } Ifc2x3::IfcPhysicalOrVirtualEnum::operator Ifc2x3::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc2x3::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[553]); } -const IfcParse::enumeration_type& Ifc2x3::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[553]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[553]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[553]); } /* -Ifc2x3::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc2x3::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc2x3::IfcPileConstructionEnum::Value Ifc2x3::IfcPileConstructionEnum::FromStri } Ifc2x3::IfcPileConstructionEnum::operator Ifc2x3::IfcPileConstructionEnum::Value() const { - return (Ifc2x3::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[554]); } -const IfcParse::enumeration_type& Ifc2x3::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[554]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[554]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[554]); } /* -Ifc2x3::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc2x3::IfcPileTypeEnum::Value Ifc2x3::IfcPileTypeEnum::FromString(const std::st } Ifc2x3::IfcPileTypeEnum::operator Ifc2x3::IfcPileTypeEnum::Value() const { - return (Ifc2x3::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[556]); } -const IfcParse::enumeration_type& Ifc2x3::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[556]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[556]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[556]); } /* -Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc2x3::IfcPipeFittingTypeEnum::Value Ifc2x3::IfcPipeFittingTypeEnum::FromString } Ifc2x3::IfcPipeFittingTypeEnum::operator Ifc2x3::IfcPipeFittingTypeEnum::Value() const { - return (Ifc2x3::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[558]); } -const IfcParse::enumeration_type& Ifc2x3::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[558]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[558]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[558]); } /* -Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc2x3::IfcPipeSegmentTypeEnum::Value Ifc2x3::IfcPipeSegmentTypeEnum::FromString } Ifc2x3::IfcPipeSegmentTypeEnum::operator Ifc2x3::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc2x3::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[568]); } -const IfcParse::enumeration_type& Ifc2x3::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[568]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[568]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[568]); } /* -Ifc2x3::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc2x3::IfcPlateTypeEnum::Value Ifc2x3::IfcPlateTypeEnum::FromString(const std:: } Ifc2x3::IfcPlateTypeEnum::operator Ifc2x3::IfcPlateTypeEnum::Value() const { - return (Ifc2x3::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[598]); } -const IfcParse::enumeration_type& Ifc2x3::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[598]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[598]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[598]); } /* -Ifc2x3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc2x3::IfcProcedureTypeEnum::Value Ifc2x3::IfcProcedureTypeEnum::FromString(con } Ifc2x3::IfcProcedureTypeEnum::operator Ifc2x3::IfcProcedureTypeEnum::Value() const { - return (Ifc2x3::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[606]); } -const IfcParse::enumeration_type& Ifc2x3::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[606]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[606]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[606]); } /* -Ifc2x3::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc2x3::IfcProfileTypeEnum::Value Ifc2x3::IfcProfileTypeEnum::FromString(const s } Ifc2x3::IfcProfileTypeEnum::operator Ifc2x3::IfcProfileTypeEnum::Value() const { - return (Ifc2x3::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcProjectOrderRecordTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[613]); } -const IfcParse::enumeration_type& Ifc2x3::IfcProjectOrderRecordTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[613]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcProjectOrderRecordTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[613]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcProjectOrderRecordTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[613]); } /* -Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcProjectOrderRecordTypeEnum::IfcProjectOrderRecordTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc2x3::IfcProjectOrderRecordTypeEnum::Value Ifc2x3::IfcProjectOrderRecordTypeEn } Ifc2x3::IfcProjectOrderRecordTypeEnum::operator Ifc2x3::IfcProjectOrderRecordTypeEnum::Value() const { - return (Ifc2x3::IfcProjectOrderRecordTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcProjectOrderRecordTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[614]); } -const IfcParse::enumeration_type& Ifc2x3::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[614]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[614]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[614]); } /* -Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc2x3::IfcProjectOrderTypeEnum::Value Ifc2x3::IfcProjectOrderTypeEnum::FromStri } Ifc2x3::IfcProjectOrderTypeEnum::operator Ifc2x3::IfcProjectOrderTypeEnum::Value() const { - return (Ifc2x3::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[608]); } -const IfcParse::enumeration_type& Ifc2x3::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[608]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[608]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[608]); } /* -Ifc2x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc2x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc2x3::IfcProjectedOrTrueLengthEnum::Value Ifc2x3::IfcProjectedOrTrueLengthEnum } Ifc2x3::IfcProjectedOrTrueLengthEnum::operator Ifc2x3::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc2x3::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcPropertySourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[627]); } -const IfcParse::enumeration_type& Ifc2x3::IfcPropertySourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[627]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcPropertySourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[627]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcPropertySourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[627]); } /* -Ifc2x3::IfcPropertySourceEnum::IfcPropertySourceEnum(const std::weak_ptr& e) +Ifc2x3::IfcPropertySourceEnum::IfcPropertySourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcPropertySourceEnum::IfcPropertySourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcPropertySourceEnum::IfcPropertySourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc2x3::IfcPropertySourceEnum::Value Ifc2x3::IfcPropertySourceEnum::FromString(c } Ifc2x3::IfcPropertySourceEnum::operator Ifc2x3::IfcPropertySourceEnum::Value() const { - return (Ifc2x3::IfcPropertySourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcPropertySourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[630]); } -const IfcParse::enumeration_type& Ifc2x3::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[630]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[630]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[630]); } /* -Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc2x3::IfcProtectiveDeviceTypeEnum::Value Ifc2x3::IfcProtectiveDeviceTypeEnum:: } Ifc2x3::IfcProtectiveDeviceTypeEnum::operator Ifc2x3::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc2x3::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[633]); } -const IfcParse::enumeration_type& Ifc2x3::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[633]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[633]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[633]); } /* -Ifc2x3::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc2x3::IfcPumpTypeEnum::Value Ifc2x3::IfcPumpTypeEnum::FromString(const std::st } Ifc2x3::IfcPumpTypeEnum::operator Ifc2x3::IfcPumpTypeEnum::Value() const { - return (Ifc2x3::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[644]); } -const IfcParse::enumeration_type& Ifc2x3::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[644]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[644]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[644]); } /* -Ifc2x3::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc2x3::IfcRailingTypeEnum::Value Ifc2x3::IfcRailingTypeEnum::FromString(const s } Ifc2x3::IfcRailingTypeEnum::operator Ifc2x3::IfcRailingTypeEnum::Value() const { - return (Ifc2x3::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[648]); } -const IfcParse::enumeration_type& Ifc2x3::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[648]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[648]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[648]); } /* -Ifc2x3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc2x3::IfcRampFlightTypeEnum::Value Ifc2x3::IfcRampFlightTypeEnum::FromString(c } Ifc2x3::IfcRampFlightTypeEnum::operator Ifc2x3::IfcRampFlightTypeEnum::Value() const { - return (Ifc2x3::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[649]); } -const IfcParse::enumeration_type& Ifc2x3::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[649]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[649]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[649]); } /* -Ifc2x3::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc2x3::IfcRampTypeEnum::Value Ifc2x3::IfcRampTypeEnum::FromString(const std::st } Ifc2x3::IfcRampTypeEnum::operator Ifc2x3::IfcRampTypeEnum::Value() const { - return (Ifc2x3::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[658]); } -const IfcParse::enumeration_type& Ifc2x3::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[658]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[658]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[658]); } /* -Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc2x3::IfcReflectanceMethodEnum::Value Ifc2x3::IfcReflectanceMethodEnum::FromSt } Ifc2x3::IfcReflectanceMethodEnum::operator Ifc2x3::IfcReflectanceMethodEnum::Value() const { - return (Ifc2x3::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[663]); } -const IfcParse::enumeration_type& Ifc2x3::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[663]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[663]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[663]); } /* -Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc2x3::IfcReinforcingBarRoleEnum::Value Ifc2x3::IfcReinforcingBarRoleEnum::From } Ifc2x3::IfcReinforcingBarRoleEnum::operator Ifc2x3::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc2x3::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[664]); } -const IfcParse::enumeration_type& Ifc2x3::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[664]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[664]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[664]); } /* -Ifc2x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc2x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc2x3::IfcReinforcingBarSurfaceEnum::Value Ifc2x3::IfcReinforcingBarSurfaceEnum } Ifc2x3::IfcReinforcingBarSurfaceEnum::operator Ifc2x3::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc2x3::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcResourceConsumptionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[723]); } -const IfcParse::enumeration_type& Ifc2x3::IfcResourceConsumptionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[723]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcResourceConsumptionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[723]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcResourceConsumptionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[723]); } /* -Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumptionEnum(const std::weak_ptr& e) +Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumptionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumptionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcResourceConsumptionEnum::IfcResourceConsumptionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc2x3::IfcResourceConsumptionEnum::Value Ifc2x3::IfcResourceConsumptionEnum::Fr } Ifc2x3::IfcResourceConsumptionEnum::operator Ifc2x3::IfcResourceConsumptionEnum::Value() const { - return (Ifc2x3::IfcResourceConsumptionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcResourceConsumptionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcRibPlateDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[725]); } -const IfcParse::enumeration_type& Ifc2x3::IfcRibPlateDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[725]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcRibPlateDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[725]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcRibPlateDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[725]); } /* -Ifc2x3::IfcRibPlateDirectionEnum::IfcRibPlateDirectionEnum(const std::weak_ptr& e) +Ifc2x3::IfcRibPlateDirectionEnum::IfcRibPlateDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcRibPlateDirectionEnum::IfcRibPlateDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcRibPlateDirectionEnum::IfcRibPlateDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc2x3::IfcRibPlateDirectionEnum::Value Ifc2x3::IfcRibPlateDirectionEnum::FromSt } Ifc2x3::IfcRibPlateDirectionEnum::operator Ifc2x3::IfcRibPlateDirectionEnum::Value() const { - return (Ifc2x3::IfcRibPlateDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcRibPlateDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[729]); } -const IfcParse::enumeration_type& Ifc2x3::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[729]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[729]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[729]); } /* -Ifc2x3::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc2x3::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc2x3::IfcRoleEnum::Value Ifc2x3::IfcRoleEnum::FromString(const std::string& s) } Ifc2x3::IfcRoleEnum::operator Ifc2x3::IfcRoleEnum::Value() const { - return (Ifc2x3::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[731]); } -const IfcParse::enumeration_type& Ifc2x3::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[731]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[731]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[731]); } /* -Ifc2x3::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc2x3::IfcRoofTypeEnum::Value Ifc2x3::IfcRoofTypeEnum::FromString(const std::st } Ifc2x3::IfcRoofTypeEnum::operator Ifc2x3::IfcRoofTypeEnum::Value() const { - return (Ifc2x3::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[763]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[763]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[763]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[763]); } /* -Ifc2x3::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc2x3::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc2x3::IfcSIPrefix::Value Ifc2x3::IfcSIPrefix::FromString(const std::string& s) } Ifc2x3::IfcSIPrefix::operator Ifc2x3::IfcSIPrefix::Value() const { - return (Ifc2x3::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[766]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[766]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[766]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[766]); } /* -Ifc2x3::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc2x3::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc2x3::IfcSIUnitName::Value Ifc2x3::IfcSIUnitName::FromString(const std::string } Ifc2x3::IfcSIUnitName::operator Ifc2x3::IfcSIUnitName::Value() const { - return (Ifc2x3::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[739]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[739]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[739]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[739]); } /* -Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc2x3::IfcSanitaryTerminalTypeEnum::Value Ifc2x3::IfcSanitaryTerminalTypeEnum:: } Ifc2x3::IfcSanitaryTerminalTypeEnum::operator Ifc2x3::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc2x3::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[747]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[747]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[747]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[747]); } /* -Ifc2x3::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc2x3::IfcSectionTypeEnum::Value Ifc2x3::IfcSectionTypeEnum::FromString(const s } Ifc2x3::IfcSectionTypeEnum::operator Ifc2x3::IfcSectionTypeEnum::Value() const { - return (Ifc2x3::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[749]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[749]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[749]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[749]); } /* -Ifc2x3::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc2x3::IfcSensorTypeEnum::Value Ifc2x3::IfcSensorTypeEnum::FromString(const std } Ifc2x3::IfcSensorTypeEnum::operator Ifc2x3::IfcSensorTypeEnum::Value() const { - return (Ifc2x3::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[750]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[750]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[750]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[750]); } /* -Ifc2x3::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc2x3::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc2x3::IfcSequenceEnum::Value Ifc2x3::IfcSequenceEnum::FromString(const std::st } Ifc2x3::IfcSequenceEnum::operator Ifc2x3::IfcSequenceEnum::Value() const { - return (Ifc2x3::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcServiceLifeFactorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[753]); } -const IfcParse::enumeration_type& Ifc2x3::IfcServiceLifeFactorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[753]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcServiceLifeFactorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[753]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcServiceLifeFactorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[753]); } /* -Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcServiceLifeFactorTypeEnum::IfcServiceLifeFactorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc2x3::IfcServiceLifeFactorTypeEnum::Value Ifc2x3::IfcServiceLifeFactorTypeEnum } Ifc2x3::IfcServiceLifeFactorTypeEnum::operator Ifc2x3::IfcServiceLifeFactorTypeEnum::Value() const { - return (Ifc2x3::IfcServiceLifeFactorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcServiceLifeFactorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcServiceLifeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[754]); } -const IfcParse::enumeration_type& Ifc2x3::IfcServiceLifeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[754]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcServiceLifeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[754]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcServiceLifeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[754]); } /* -Ifc2x3::IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcServiceLifeTypeEnum::IfcServiceLifeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc2x3::IfcServiceLifeTypeEnum::Value Ifc2x3::IfcServiceLifeTypeEnum::FromString } Ifc2x3::IfcServiceLifeTypeEnum::operator Ifc2x3::IfcServiceLifeTypeEnum::Value() const { - return (Ifc2x3::IfcServiceLifeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcServiceLifeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[770]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[770]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[770]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[770]); } /* -Ifc2x3::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc2x3::IfcSlabTypeEnum::Value Ifc2x3::IfcSlabTypeEnum::FromString(const std::st } Ifc2x3::IfcSlabTypeEnum::operator Ifc2x3::IfcSlabTypeEnum::Value() const { - return (Ifc2x3::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSoundScaleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[777]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSoundScaleEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[777]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSoundScaleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[777]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSoundScaleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[777]); } /* -Ifc2x3::IfcSoundScaleEnum::IfcSoundScaleEnum(const std::weak_ptr& e) +Ifc2x3::IfcSoundScaleEnum::IfcSoundScaleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSoundScaleEnum::IfcSoundScaleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSoundScaleEnum::IfcSoundScaleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc2x3::IfcSoundScaleEnum::Value Ifc2x3::IfcSoundScaleEnum::FromString(const std } Ifc2x3::IfcSoundScaleEnum::operator Ifc2x3::IfcSoundScaleEnum::Value() const { - return (Ifc2x3::IfcSoundScaleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSoundScaleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[781]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[781]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[781]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[781]); } /* -Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc2x3::IfcSpaceHeaterTypeEnum::Value Ifc2x3::IfcSpaceHeaterTypeEnum::FromString } Ifc2x3::IfcSpaceHeaterTypeEnum::operator Ifc2x3::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc2x3::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[785]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[785]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[785]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[785]); } /* -Ifc2x3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc2x3::IfcSpaceTypeEnum::Value Ifc2x3::IfcSpaceTypeEnum::FromString(const std:: } Ifc2x3::IfcSpaceTypeEnum::operator Ifc2x3::IfcSpaceTypeEnum::Value() const { - return (Ifc2x3::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[794]); } -const IfcParse::enumeration_type& Ifc2x3::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[794]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[794]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[794]); } /* -Ifc2x3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc2x3::IfcStackTerminalTypeEnum::Value Ifc2x3::IfcStackTerminalTypeEnum::FromSt } Ifc2x3::IfcStackTerminalTypeEnum::operator Ifc2x3::IfcStackTerminalTypeEnum::Value() const { - return (Ifc2x3::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[798]); } -const IfcParse::enumeration_type& Ifc2x3::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[798]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[798]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[798]); } /* -Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc2x3::IfcStairFlightTypeEnum::Value Ifc2x3::IfcStairFlightTypeEnum::FromString } Ifc2x3::IfcStairFlightTypeEnum::operator Ifc2x3::IfcStairFlightTypeEnum::Value() const { - return (Ifc2x3::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[799]); } -const IfcParse::enumeration_type& Ifc2x3::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[799]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[799]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[799]); } /* -Ifc2x3::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc2x3::IfcStairTypeEnum::Value Ifc2x3::IfcStairTypeEnum::FromString(const std:: } Ifc2x3::IfcStairTypeEnum::operator Ifc2x3::IfcStairTypeEnum::Value() const { - return (Ifc2x3::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[800]); } -const IfcParse::enumeration_type& Ifc2x3::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[800]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[800]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[800]); } /* -Ifc2x3::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc2x3::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc2x3::IfcStateEnum::Value Ifc2x3::IfcStateEnum::FromString(const std::string& } Ifc2x3::IfcStateEnum::operator Ifc2x3::IfcStateEnum::Value() const { - return (Ifc2x3::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcStructuralCurveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[810]); } -const IfcParse::enumeration_type& Ifc2x3::IfcStructuralCurveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[810]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcStructuralCurveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[810]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcStructuralCurveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[810]); } /* -Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcStructuralCurveTypeEnum::IfcStructuralCurveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc2x3::IfcStructuralCurveTypeEnum::Value Ifc2x3::IfcStructuralCurveTypeEnum::Fr } Ifc2x3::IfcStructuralCurveTypeEnum::operator Ifc2x3::IfcStructuralCurveTypeEnum::Value() const { - return (Ifc2x3::IfcStructuralCurveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcStructuralCurveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcStructuralSurfaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[837]); } -const IfcParse::enumeration_type& Ifc2x3::IfcStructuralSurfaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[837]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcStructuralSurfaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[837]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcStructuralSurfaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[837]); } /* -Ifc2x3::IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcStructuralSurfaceTypeEnum::IfcStructuralSurfaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc2x3::IfcStructuralSurfaceTypeEnum::Value Ifc2x3::IfcStructuralSurfaceTypeEnum } Ifc2x3::IfcStructuralSurfaceTypeEnum::operator Ifc2x3::IfcStructuralSurfaceTypeEnum::Value() const { - return (Ifc2x3::IfcStructuralSurfaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcStructuralSurfaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[849]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[849]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[849]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[849]); } /* -Ifc2x3::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc2x3::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc2x3::IfcSurfaceSide::Value Ifc2x3::IfcSurfaceSide::FromString(const std::stri } Ifc2x3::IfcSurfaceSide::operator Ifc2x3::IfcSurfaceSide::Value() const { - return (Ifc2x3::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSurfaceTextureEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[858]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSurfaceTextureEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[858]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSurfaceTextureEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[858]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSurfaceTextureEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[858]); } /* -Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTextureEnum(const std::weak_ptr& e) +Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTextureEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTextureEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSurfaceTextureEnum::IfcSurfaceTextureEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc2x3::IfcSurfaceTextureEnum::Value Ifc2x3::IfcSurfaceTextureEnum::FromString(c } Ifc2x3::IfcSurfaceTextureEnum::operator Ifc2x3::IfcSurfaceTextureEnum::Value() const { - return (Ifc2x3::IfcSurfaceTextureEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSurfaceTextureEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[863]); } -const IfcParse::enumeration_type& Ifc2x3::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[863]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[863]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[863]); } /* -Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc2x3::IfcSwitchingDeviceTypeEnum::Value Ifc2x3::IfcSwitchingDeviceTypeEnum::Fr } Ifc2x3::IfcSwitchingDeviceTypeEnum::operator Ifc2x3::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc2x3::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[871]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[871]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[871]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[871]); } /* -Ifc2x3::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc2x3::IfcTankTypeEnum::Value Ifc2x3::IfcTankTypeEnum::FromString(const std::st } Ifc2x3::IfcTankTypeEnum::operator Ifc2x3::IfcTankTypeEnum::Value() const { - return (Ifc2x3::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[877]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[877]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[877]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[877]); } /* -Ifc2x3::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc2x3::IfcTendonTypeEnum::Value Ifc2x3::IfcTendonTypeEnum::FromString(const std } Ifc2x3::IfcTendonTypeEnum::operator Ifc2x3::IfcTendonTypeEnum::Value() const { - return (Ifc2x3::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[886]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[886]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[886]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[886]); } /* -Ifc2x3::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc2x3::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc2x3::IfcTextPath::Value Ifc2x3::IfcTextPath::FromString(const std::string& s) } Ifc2x3::IfcTextPath::operator Ifc2x3::IfcTextPath::Value() const { - return (Ifc2x3::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcThermalLoadSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[901]); } -const IfcParse::enumeration_type& Ifc2x3::IfcThermalLoadSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[901]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcThermalLoadSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[901]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcThermalLoadSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[901]); } /* -Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSourceEnum(const std::weak_ptr& e) +Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcThermalLoadSourceEnum::IfcThermalLoadSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc2x3::IfcThermalLoadSourceEnum::Value Ifc2x3::IfcThermalLoadSourceEnum::FromSt } Ifc2x3::IfcThermalLoadSourceEnum::operator Ifc2x3::IfcThermalLoadSourceEnum::Value() const { - return (Ifc2x3::IfcThermalLoadSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcThermalLoadSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcThermalLoadTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[902]); } -const IfcParse::enumeration_type& Ifc2x3::IfcThermalLoadTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[902]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcThermalLoadTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[902]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcThermalLoadTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[902]); } /* -Ifc2x3::IfcThermalLoadTypeEnum::IfcThermalLoadTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcThermalLoadTypeEnum::IfcThermalLoadTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcThermalLoadTypeEnum::IfcThermalLoadTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcThermalLoadTypeEnum::IfcThermalLoadTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc2x3::IfcThermalLoadTypeEnum::Value Ifc2x3::IfcThermalLoadTypeEnum::FromString } Ifc2x3::IfcThermalLoadTypeEnum::operator Ifc2x3::IfcThermalLoadTypeEnum::Value() const { - return (Ifc2x3::IfcThermalLoadTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcThermalLoadTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[909]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[909]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[909]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[909]); } /* -Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc2x3::IfcTimeSeriesDataTypeEnum::Value Ifc2x3::IfcTimeSeriesDataTypeEnum::From } Ifc2x3::IfcTimeSeriesDataTypeEnum::operator Ifc2x3::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc2x3::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTimeSeriesScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[912]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[912]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTimeSeriesScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[912]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[912]); } /* -Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTimeSeriesScheduleTypeEnum::IfcTimeSeriesScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value Ifc2x3::IfcTimeSeriesScheduleTypeEn } Ifc2x3::IfcTimeSeriesScheduleTypeEnum::operator Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value() const { - return (Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[919]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[919]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[919]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[919]); } /* -Ifc2x3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc2x3::IfcTransformerTypeEnum::Value Ifc2x3::IfcTransformerTypeEnum::FromString } Ifc2x3::IfcTransformerTypeEnum::operator Ifc2x3::IfcTransformerTypeEnum::Value() const { - return (Ifc2x3::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[920]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[920]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[920]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[920]); } /* -Ifc2x3::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc2x3::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc2x3::IfcTransitionCode::Value Ifc2x3::IfcTransitionCode::FromString(const std } Ifc2x3::IfcTransitionCode::operator Ifc2x3::IfcTransitionCode::Value() const { - return (Ifc2x3::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTransportElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[923]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTransportElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[923]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTransportElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[923]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTransportElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[923]); } /* -Ifc2x3::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc2x3::IfcTransportElementTypeEnum::Value Ifc2x3::IfcTransportElementTypeEnum:: } Ifc2x3::IfcTransportElementTypeEnum::operator Ifc2x3::IfcTransportElementTypeEnum::Value() const { - return (Ifc2x3::IfcTransportElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTransportElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[926]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[926]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[926]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[926]); } /* -Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc2x3::IfcTrimmingPreference::Value Ifc2x3::IfcTrimmingPreference::FromString(c } Ifc2x3::IfcTrimmingPreference::operator Ifc2x3::IfcTrimmingPreference::Value() const { - return (Ifc2x3::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[930]); } -const IfcParse::enumeration_type& Ifc2x3::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[930]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[930]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[930]); } /* -Ifc2x3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc2x3::IfcTubeBundleTypeEnum::Value Ifc2x3::IfcTubeBundleTypeEnum::FromString(c } Ifc2x3::IfcTubeBundleTypeEnum::operator Ifc2x3::IfcTubeBundleTypeEnum::Value() const { - return (Ifc2x3::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[938]); } -const IfcParse::enumeration_type& Ifc2x3::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[938]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[938]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[938]); } /* -Ifc2x3::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc2x3::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc2x3::IfcUnitEnum::Value Ifc2x3::IfcUnitEnum::FromString(const std::string& s) } Ifc2x3::IfcUnitEnum::operator Ifc2x3::IfcUnitEnum::Value() const { - return (Ifc2x3::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[936]); } -const IfcParse::enumeration_type& Ifc2x3::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[936]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[936]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[936]); } /* -Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value Ifc2x3::IfcUnitaryEquipmentTypeEnum:: } Ifc2x3::IfcUnitaryEquipmentTypeEnum::operator Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[942]); } -const IfcParse::enumeration_type& Ifc2x3::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[942]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[942]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[942]); } /* -Ifc2x3::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc2x3::IfcValveTypeEnum::Value Ifc2x3::IfcValveTypeEnum::FromString(const std:: } Ifc2x3::IfcValveTypeEnum::operator Ifc2x3::IfcValveTypeEnum::Value() const { - return (Ifc2x3::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[951]); } -const IfcParse::enumeration_type& Ifc2x3::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[951]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[951]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[951]); } /* -Ifc2x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc2x3::IfcVibrationIsolatorTypeEnum::Value Ifc2x3::IfcVibrationIsolatorTypeEnum } Ifc2x3::IfcVibrationIsolatorTypeEnum::operator Ifc2x3::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc2x3::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[959]); } -const IfcParse::enumeration_type& Ifc2x3::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[959]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[959]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[959]); } /* -Ifc2x3::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc2x3::IfcWallTypeEnum::Value Ifc2x3::IfcWallTypeEnum::FromString(const std::st } Ifc2x3::IfcWallTypeEnum::operator Ifc2x3::IfcWallTypeEnum::Value() const { - return (Ifc2x3::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[963]); } -const IfcParse::enumeration_type& Ifc2x3::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[963]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[963]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[963]); } /* -Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc2x3::IfcWasteTerminalTypeEnum::Value Ifc2x3::IfcWasteTerminalTypeEnum::FromSt } Ifc2x3::IfcWasteTerminalTypeEnum::operator Ifc2x3::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc2x3::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[967]); } -const IfcParse::enumeration_type& Ifc2x3::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[967]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[967]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[967]); } /* -Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc2x3::IfcWindowPanelOperationEnum::Value Ifc2x3::IfcWindowPanelOperationEnum:: } Ifc2x3::IfcWindowPanelOperationEnum::operator Ifc2x3::IfcWindowPanelOperationEnum::Value() const { - return (Ifc2x3::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[968]); } -const IfcParse::enumeration_type& Ifc2x3::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[968]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[968]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[968]); } /* -Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc2x3::IfcWindowPanelPositionEnum::Value Ifc2x3::IfcWindowPanelPositionEnum::Fr } Ifc2x3::IfcWindowPanelPositionEnum::operator Ifc2x3::IfcWindowPanelPositionEnum::Value() const { - return (Ifc2x3::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcWindowStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[971]); } -const IfcParse::enumeration_type& Ifc2x3::IfcWindowStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[971]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcWindowStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[971]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcWindowStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[971]); } /* -Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) +Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc2x3::IfcWindowStyleConstructionEnum::Value Ifc2x3::IfcWindowStyleConstruction } Ifc2x3::IfcWindowStyleConstructionEnum::operator Ifc2x3::IfcWindowStyleConstructionEnum::Value() const { - return (Ifc2x3::IfcWindowStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcWindowStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcWindowStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[972]); } -const IfcParse::enumeration_type& Ifc2x3::IfcWindowStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[972]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcWindowStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[972]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcWindowStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[972]); } /* -Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) +Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc2x3::IfcWindowStyleOperationEnum::Value Ifc2x3::IfcWindowStyleOperationEnum:: } Ifc2x3::IfcWindowStyleOperationEnum::operator Ifc2x3::IfcWindowStyleOperationEnum::Value() const { - return (Ifc2x3::IfcWindowStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcWindowStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc2x3::IfcWorkControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC2X3_types[974]); } -const IfcParse::enumeration_type& Ifc2x3::IfcWorkControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC2X3_types[974]); } +// const ifcopenshell::enumeration_type& Ifc2x3::IfcWorkControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC2X3_types[974]); } +const ifcopenshell::enumeration_type& Ifc2x3::IfcWorkControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC2X3_types[974]); } /* -Ifc2x3::IfcWorkControlTypeEnum::IfcWorkControlTypeEnum(const std::weak_ptr& e) +Ifc2x3::IfcWorkControlTypeEnum::IfcWorkControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc2x3::IfcWorkControlTypeEnum::IfcWorkControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc2x3::IfcWorkControlTypeEnum::IfcWorkControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,684 +4792,684 @@ Ifc2x3::IfcWorkControlTypeEnum::Value Ifc2x3::IfcWorkControlTypeEnum::FromString } Ifc2x3::IfcWorkControlTypeEnum::operator Ifc2x3::IfcWorkControlTypeEnum::Value() const { - return (Ifc2x3::IfcWorkControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc2x3::IfcWorkControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc2x3::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[8]); } +const ifcopenshell::select_type& Ifc2x3::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[8]); } -const IfcParse::select_type& Ifc2x3::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[39]); } +const ifcopenshell::select_type& Ifc2x3::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[39]); } -const IfcParse::select_type& Ifc2x3::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC2X3_types[53]); } +const ifcopenshell::select_type& Ifc2x3::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[53]); } -const IfcParse::select_type& Ifc2x3::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC2X3_types[67]); } +const ifcopenshell::select_type& Ifc2x3::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[67]); } -const IfcParse::select_type& Ifc2x3::IfcCharacterStyleSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[107]); } +const ifcopenshell::select_type& Ifc2x3::IfcCharacterStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[107]); } -const IfcParse::select_type& Ifc2x3::IfcClassificationNotationSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[118]); } +const ifcopenshell::select_type& Ifc2x3::IfcClassificationNotationSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[118]); } -const IfcParse::select_type& Ifc2x3::IfcColour::Class() { return *((IfcParse::select_type*)IFC2X3_types[123]); } +const ifcopenshell::select_type& Ifc2x3::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[123]); } -const IfcParse::select_type& Ifc2x3::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC2X3_types[124]); } +const ifcopenshell::select_type& Ifc2x3::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[124]); } -const IfcParse::select_type& Ifc2x3::IfcConditionCriterionSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[142]); } +const ifcopenshell::select_type& Ifc2x3::IfcConditionCriterionSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[142]); } -const IfcParse::select_type& Ifc2x3::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[184]); } +const ifcopenshell::select_type& Ifc2x3::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[184]); } -const IfcParse::select_type& Ifc2x3::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[195]); } +const ifcopenshell::select_type& Ifc2x3::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[195]); } -const IfcParse::select_type& Ifc2x3::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC2X3_types[196]); } +const ifcopenshell::select_type& Ifc2x3::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[196]); } -const IfcParse::select_type& Ifc2x3::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[201]); } +const ifcopenshell::select_type& Ifc2x3::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[201]); } -const IfcParse::select_type& Ifc2x3::IfcDateTimeSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[206]); } +const ifcopenshell::select_type& Ifc2x3::IfcDateTimeSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[206]); } -const IfcParse::select_type& Ifc2x3::IfcDefinedSymbolSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[210]); } +const ifcopenshell::select_type& Ifc2x3::IfcDefinedSymbolSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[210]); } -const IfcParse::select_type& Ifc2x3::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC2X3_types[211]); } +const ifcopenshell::select_type& Ifc2x3::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[211]); } -const IfcParse::select_type& Ifc2x3::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[245]); } +const ifcopenshell::select_type& Ifc2x3::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[245]); } -const IfcParse::select_type& Ifc2x3::IfcDraughtingCalloutElement::Class() { return *((IfcParse::select_type*)IFC2X3_types[257]); } +const ifcopenshell::select_type& Ifc2x3::IfcDraughtingCalloutElement::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[257]); } -const IfcParse::select_type& Ifc2x3::IfcFillAreaStyleTileShapeSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[346]); } +const ifcopenshell::select_type& Ifc2x3::IfcFillAreaStyleTileShapeSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[346]); } -const IfcParse::select_type& Ifc2x3::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[348]); } +const ifcopenshell::select_type& Ifc2x3::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[348]); } -const IfcParse::select_type& Ifc2x3::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[395]); } +const ifcopenshell::select_type& Ifc2x3::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[395]); } -const IfcParse::select_type& Ifc2x3::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[403]); } +const ifcopenshell::select_type& Ifc2x3::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[403]); } -const IfcParse::select_type& Ifc2x3::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC2X3_types[433]); } +const ifcopenshell::select_type& Ifc2x3::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[433]); } -const IfcParse::select_type& Ifc2x3::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[438]); } +const ifcopenshell::select_type& Ifc2x3::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[438]); } -const IfcParse::select_type& Ifc2x3::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[441]); } +const ifcopenshell::select_type& Ifc2x3::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[441]); } -const IfcParse::select_type& Ifc2x3::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[484]); } +const ifcopenshell::select_type& Ifc2x3::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[484]); } -const IfcParse::select_type& Ifc2x3::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC2X3_types[485]); } +const ifcopenshell::select_type& Ifc2x3::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[485]); } -const IfcParse::select_type& Ifc2x3::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[496]); } +const ifcopenshell::select_type& Ifc2x3::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[496]); } -const IfcParse::select_type& Ifc2x3::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[520]); } +const ifcopenshell::select_type& Ifc2x3::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[520]); } -const IfcParse::select_type& Ifc2x3::IfcOrientationSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[533]); } +const ifcopenshell::select_type& Ifc2x3::IfcOrientationSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[533]); } -const IfcParse::select_type& Ifc2x3::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC2X3_types[572]); } +const ifcopenshell::select_type& Ifc2x3::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[572]); } -const IfcParse::select_type& Ifc2x3::IfcPresentationStyleSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[595]); } +const ifcopenshell::select_type& Ifc2x3::IfcPresentationStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[595]); } -const IfcParse::select_type& Ifc2x3::IfcShell::Class() { return *((IfcParse::select_type*)IFC2X3_types[759]); } +const ifcopenshell::select_type& Ifc2x3::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[759]); } -const IfcParse::select_type& Ifc2x3::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC2X3_types[762]); } +const ifcopenshell::select_type& Ifc2x3::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[762]); } -const IfcParse::select_type& Ifc2x3::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[767]); } +const ifcopenshell::select_type& Ifc2x3::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[767]); } -const IfcParse::select_type& Ifc2x3::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[790]); } +const ifcopenshell::select_type& Ifc2x3::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[790]); } -const IfcParse::select_type& Ifc2x3::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[803]); } +const ifcopenshell::select_type& Ifc2x3::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[803]); } -const IfcParse::select_type& Ifc2x3::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC2X3_types[848]); } +const ifcopenshell::select_type& Ifc2x3::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[848]); } -const IfcParse::select_type& Ifc2x3::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[851]); } +const ifcopenshell::select_type& Ifc2x3::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[851]); } -const IfcParse::select_type& Ifc2x3::IfcSymbolStyleSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[865]); } +const ifcopenshell::select_type& Ifc2x3::IfcSymbolStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[865]); } -const IfcParse::select_type& Ifc2x3::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[883]); } +const ifcopenshell::select_type& Ifc2x3::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[883]); } -const IfcParse::select_type& Ifc2x3::IfcTextStyleSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[890]); } +const ifcopenshell::select_type& Ifc2x3::IfcTextStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[890]); } -const IfcParse::select_type& Ifc2x3::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC2X3_types[927]); } +const ifcopenshell::select_type& Ifc2x3::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[927]); } -const IfcParse::select_type& Ifc2x3::IfcUnit::Class() { return *((IfcParse::select_type*)IFC2X3_types[934]); } +const ifcopenshell::select_type& Ifc2x3::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[934]); } -const IfcParse::select_type& Ifc2x3::IfcValue::Class() { return *((IfcParse::select_type*)IFC2X3_types[940]); } +const ifcopenshell::select_type& Ifc2x3::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[940]); } -const IfcParse::select_type& Ifc2x3::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC2X3_types[945]); } +const ifcopenshell::select_type& Ifc2x3::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC2X3_types[945]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc2x3::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[1]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[1]); } void Ifc2x3::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc2x3::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[2]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[2]); } void Ifc2x3::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[22]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[22]); } void Ifc2x3::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[26]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[26]); } void Ifc2x3::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc2x3::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[47]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[47]); } void Ifc2x3::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc2x3::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[65]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[65]); } void Ifc2x3::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc2x3::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc2x3::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[78]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[78]); } void Ifc2x3::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc2x3::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[130]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[130]); } void Ifc2x3::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc2x3::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc2x3::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[135]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[135]); } void Ifc2x3::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc2x3::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc2x3::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[161]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[161]); } void Ifc2x3::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc2x3::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[176]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[176]); } void Ifc2x3::IfcCountMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcCountMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc2x3::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[192]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[192]); } void Ifc2x3::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc2x3::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[207]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[207]); } void Ifc2x3::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDaylightSavingHour -const IfcParse::type_declaration& Ifc2x3::IfcDaylightSavingHour::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[208]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcDaylightSavingHour::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[208]); } void Ifc2x3::IfcDaylightSavingHour::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcDaylightSavingHour::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc2x3::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[216]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[216]); } void Ifc2x3::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc2x3::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[220]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[220]); } void Ifc2x3::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc2x3::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[255]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[255]); } void Ifc2x3::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[268]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[268]); } void Ifc2x3::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[278]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[278]); } void Ifc2x3::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc2x3::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[279]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[279]); } void Ifc2x3::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[280]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[280]); } void Ifc2x3::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc2x3::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[282]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[282]); } void Ifc2x3::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[293]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[293]); } void Ifc2x3::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc2x3::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[296]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[296]); } void Ifc2x3::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc2x3::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[310]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[310]); } void Ifc2x3::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc2x3::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[373]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[373]); } void Ifc2x3::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc2x3::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[374]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[374]); } void Ifc2x3::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc2x3::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[375]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[375]); } void Ifc2x3::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[378]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[378]); } void Ifc2x3::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc2x3::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[379]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[379]); } void Ifc2x3::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc2x3::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[396]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[396]); } void Ifc2x3::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[406]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[406]); } void Ifc2x3::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc2x3::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[407]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[407]); } void Ifc2x3::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHourInDay -const IfcParse::type_declaration& Ifc2x3::IfcHourInDay::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[408]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcHourInDay::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[408]); } void Ifc2x3::IfcHourInDay::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcHourInDay::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc2x3::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[412]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[412]); } void Ifc2x3::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[413]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[413]); } void Ifc2x3::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[415]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[415]); } void Ifc2x3::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc2x3::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[416]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[416]); } void Ifc2x3::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc2x3::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[417]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[417]); } void Ifc2x3::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc2x3::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[421]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[421]); } void Ifc2x3::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[425]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[425]); } void Ifc2x3::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[428]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[428]); } void Ifc2x3::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc2x3::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[429]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[429]); } void Ifc2x3::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc2x3::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[435]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[435]); } void Ifc2x3::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[454]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[454]); } void Ifc2x3::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc2x3::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[455]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[455]); } void Ifc2x3::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc2x3::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[456]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[456]); } void Ifc2x3::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[457]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[457]); } void Ifc2x3::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc2x3::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[461]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[461]); } void Ifc2x3::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc2x3::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[465]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[465]); } void Ifc2x3::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc2x3::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[466]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[466]); } void Ifc2x3::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[467]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[467]); } void Ifc2x3::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[468]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[468]); } void Ifc2x3::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[469]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[469]); } void Ifc2x3::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[472]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[472]); } void Ifc2x3::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[473]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[473]); } void Ifc2x3::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[474]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[474]); } void Ifc2x3::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[475]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[475]); } void Ifc2x3::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMinuteInHour -const IfcParse::type_declaration& Ifc2x3::IfcMinuteInHour::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[497]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMinuteInHour::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[497]); } void Ifc2x3::IfcMinuteInHour::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMinuteInHour::operator int() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[498]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[498]); } void Ifc2x3::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc2x3::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[499]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[499]); } void Ifc2x3::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc2x3::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[500]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[500]); } void Ifc2x3::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc2x3::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[501]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[501]); } void Ifc2x3::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[502]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[502]); } void Ifc2x3::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[503]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[503]); } void Ifc2x3::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[504]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[504]); } void Ifc2x3::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc2x3::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[505]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[505]); } void Ifc2x3::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc2x3::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[507]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[507]); } void Ifc2x3::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc2x3::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[512]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[512]); } void Ifc2x3::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc2x3::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[514]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[514]); } void Ifc2x3::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc2x3::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[547]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[547]); } void Ifc2x3::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc2x3::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[539]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[539]); } void Ifc2x3::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[563]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[563]); } void Ifc2x3::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc2x3::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[565]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[565]); } void Ifc2x3::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc2x3::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[577]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[577]); } void Ifc2x3::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc2x3::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[578]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[578]); } void Ifc2x3::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc2x3::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[579]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[579]); } void Ifc2x3::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc2x3::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[581]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[581]); } void Ifc2x3::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc2x3::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[590]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[590]); } void Ifc2x3::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc2x3::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[596]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[596]); } void Ifc2x3::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[640]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[640]); } void Ifc2x3::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc2x3::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[650]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[650]); } void Ifc2x3::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc2x3::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[652]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[652]); } void Ifc2x3::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc2x3::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[733]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[733]); } void Ifc2x3::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc2x3::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[734]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[734]); } void Ifc2x3::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc2x3::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[735]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[735]); } void Ifc2x3::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSecondInMinute -const IfcParse::type_declaration& Ifc2x3::IfcSecondInMinute::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[741]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcSecondInMinute::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[741]); } void Ifc2x3::IfcSecondInMinute::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcSecondInMinute::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc2x3::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[744]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[744]); } void Ifc2x3::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc2x3::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[742]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[742]); } void Ifc2x3::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc2x3::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[758]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[758]); } void Ifc2x3::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc2x3::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[772]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[772]); } void Ifc2x3::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc2x3::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[774]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[774]); } void Ifc2x3::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc2x3::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[775]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[775]); } void Ifc2x3::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[788]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[788]); } void Ifc2x3::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc2x3::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[789]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[789]); } void Ifc2x3::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc2x3::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[791]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[791]); } void Ifc2x3::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc2x3::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[874]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[874]); } void Ifc2x3::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc2x3::IfcText::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[879]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[879]); } void Ifc2x3::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc2x3::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[880]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[880]); } void Ifc2x3::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc2x3::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[881]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[881]); } void Ifc2x3::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc2x3::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[882]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[882]); } void Ifc2x3::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc2x3::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[893]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[893]); } void Ifc2x3::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc2x3::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[898]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[898]); } void Ifc2x3::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[899]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[899]); } void Ifc2x3::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc2x3::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[900]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[900]); } void Ifc2x3::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[904]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[904]); } void Ifc2x3::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc2x3::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[905]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[905]); } void Ifc2x3::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc2x3::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[906]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[906]); } void Ifc2x3::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc2x3::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[907]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[907]); } void Ifc2x3::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc2x3::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[914]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[914]); } void Ifc2x3::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc2x3::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[917]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[917]); } void Ifc2x3::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc2x3::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[943]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[943]); } void Ifc2x3::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc2x3::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[954]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[954]); } void Ifc2x3::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc2x3::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[955]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[955]); } void Ifc2x3::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc2x3::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[960]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[960]); } void Ifc2x3::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc2x3::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[961]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[961]); } void Ifc2x3::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc2x3::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcYearNumber -const IfcParse::type_declaration& Ifc2x3::IfcYearNumber::Class() { return *((IfcParse::type_declaration*)IFC2X3_types[977]); } +const ifcopenshell::type_declaration& Ifc2x3::IfcYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC2X3_types[977]); } void Ifc2x3::IfcYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc2x3::IfcYearNumber::operator int() const { return get_attribute_value(0); } @@ -5477,7 +5477,7 @@ Ifc2x3::IfcYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for Ifc2DCompositeCurve -const IfcParse::entity& Ifc2x3::Ifc2DCompositeCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[0]); } +const ifcopenshell::entity& Ifc2x3::Ifc2DCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[0]); } void Ifc2x3::Ifc2DCompositeCurve::initialize(std::vector< ::Ifc2x3::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcActionRequest @@ -5485,101 +5485,101 @@ std::string Ifc2x3::IfcActionRequest::RequestID() const { std::string v = get_a void Ifc2x3::IfcActionRequest::setRequestID(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC2X3_types[3]); } +const ifcopenshell::entity& Ifc2x3::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC2X3_types[3]); } void Ifc2x3::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_RequestID) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_RequestID)); } // Function implementations for IfcActor ::Ifc2x3::IfcActorSelect Ifc2x3::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc2x3::IfcActorSelect>(); } void Ifc2x3::IfcActor::setTheActor(const ::Ifc2x3::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc2x3::IfcRelAssignsToActor> Ifc2x3::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[670], 6)); } +std::vector<::Ifc2x3::IfcRelAssignsToActor> Ifc2x3::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[670], 6)); } -const IfcParse::entity& Ifc2x3::IfcActor::Class() { return *((IfcParse::entity*)IFC2X3_types[6]); } +const ifcopenshell::entity& Ifc2x3::IfcActor::Class() { return *((ifcopenshell::entity*)IFC2X3_types[6]); } void Ifc2x3::IfcActor::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc2x3::IfcRoleEnum::Value Ifc2x3::IfcActorRole::Role() const { return ::Ifc2x3::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc2x3::IfcActorRole::setRole(const ::Ifc2x3::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc2x3::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc2x3::IfcActorRole::setRole(const ::Ifc2x3::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc2x3::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc2x3::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc2x3::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc2x3::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc2x3::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc2x3::IfcActorRole::Class() { return *((IfcParse::entity*)IFC2X3_types[7]); } -void Ifc2x3::IfcActorRole::initialize(::Ifc2x3::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc2x3::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC2X3_types[7]); } +void Ifc2x3::IfcActorRole::initialize(::Ifc2x3::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuatorType ::Ifc2x3::IfcActuatorTypeEnum::Value Ifc2x3::IfcActuatorType::PredefinedType() const { return ::Ifc2x3::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcActuatorType::setPredefinedType(const ::Ifc2x3::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcActuatorType::setPredefinedType(const ::Ifc2x3::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC2X3_types[9]); } -void Ifc2x3::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[9]); } +void Ifc2x3::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > Ifc2x3::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc2x3::IfcAddress::setPurpose(const std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc2x3::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc2x3::IfcAddress::setPurpose(const std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc2x3::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc2x3::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc2x3::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc2x3::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc2x3::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc2x3::IfcPerson> Ifc2x3::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[545], 7)); } -std::vector<::Ifc2x3::IfcOrganization> Ifc2x3::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[531], 4)); } +std::vector<::Ifc2x3::IfcPerson> Ifc2x3::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[545], 7)); } +std::vector<::Ifc2x3::IfcOrganization> Ifc2x3::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[531], 4)); } -const IfcParse::entity& Ifc2x3::IfcAddress::Class() { return *((IfcParse::entity*)IFC2X3_types[11]); } -void Ifc2x3::IfcAddress::initialize(std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc2x3::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC2X3_types[11]); } +void Ifc2x3::IfcAddress::initialize(std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAirTerminalBoxType ::Ifc2x3::IfcAirTerminalBoxTypeEnum::Value Ifc2x3::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc2x3::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc2x3::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc2x3::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC2X3_types[14]); } -void Ifc2x3::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[14]); } +void Ifc2x3::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc2x3::IfcAirTerminalTypeEnum::Value Ifc2x3::IfcAirTerminalType::PredefinedType() const { return ::Ifc2x3::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcAirTerminalType::setPredefinedType(const ::Ifc2x3::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcAirTerminalType::setPredefinedType(const ::Ifc2x3::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC2X3_types[16]); } -void Ifc2x3::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[16]); } +void Ifc2x3::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc2x3::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC2X3_types[18]); } -void Ifc2x3::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[18]); } +void Ifc2x3::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarmType ::Ifc2x3::IfcAlarmTypeEnum::Value Ifc2x3::IfcAlarmType::PredefinedType() const { return ::Ifc2x3::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcAlarmType::setPredefinedType(const ::Ifc2x3::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcAlarmType::setPredefinedType(const ::Ifc2x3::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC2X3_types[20]); } -void Ifc2x3::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[20]); } +void Ifc2x3::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAngularDimension -const IfcParse::entity& Ifc2x3::IfcAngularDimension::Class() { return *((IfcParse::entity*)IFC2X3_types[25]); } +const ifcopenshell::entity& Ifc2x3::IfcAngularDimension::Class() { return *((ifcopenshell::entity*)IFC2X3_types[25]); } void Ifc2x3::IfcAngularDimension::initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents) { set_attribute_value(0, cast_vector(v1_Contents)); } // Function implementations for IfcAnnotation -std::vector<::Ifc2x3::IfcRelContainedInSpatialStructure> Ifc2x3::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[698], 4)); } +std::vector<::Ifc2x3::IfcRelContainedInSpatialStructure> Ifc2x3::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[698], 4)); } -const IfcParse::entity& Ifc2x3::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC2X3_types[27]); } +const ifcopenshell::entity& Ifc2x3::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[27]); } void Ifc2x3::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAnnotationCurveOccurrence -const IfcParse::entity& Ifc2x3::IfcAnnotationCurveOccurrence::Class() { return *((IfcParse::entity*)IFC2X3_types[28]); } +const ifcopenshell::entity& Ifc2x3::IfcAnnotationCurveOccurrence::Class() { return *((ifcopenshell::entity*)IFC2X3_types[28]); } void Ifc2x3::IfcAnnotationCurveOccurrence::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcAnnotationFillArea @@ -5589,23 +5589,23 @@ std::optional< std::vector< ::Ifc2x3::IfcCurve > > Ifc2x3::IfcAnnotationFillArea void Ifc2x3::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc2x3::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc2x3::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC2X3_types[29]); } +const ifcopenshell::entity& Ifc2x3::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC2X3_types[29]); } void Ifc2x3::IfcAnnotationFillArea::initialize(::Ifc2x3::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc2x3::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcAnnotationFillAreaOccurrence ::Ifc2x3::IfcPoint Ifc2x3::IfcAnnotationFillAreaOccurrence::FillStyleTarget() const { if(get_attribute_value(3).isNull()) { return ::Ifc2x3::IfcPoint{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc2x3::IfcPoint>(); } void Ifc2x3::IfcAnnotationFillAreaOccurrence::setFillStyleTarget(const ::Ifc2x3::IfcPoint& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< ::Ifc2x3::IfcGlobalOrLocalEnum::Value > Ifc2x3::IfcAnnotationFillAreaOccurrence::GlobalOrLocal() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcGlobalOrLocalEnum::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcAnnotationFillAreaOccurrence::setGlobalOrLocal(const std::optional< ::Ifc2x3::IfcGlobalOrLocalEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc2x3::IfcAnnotationFillAreaOccurrence::setGlobalOrLocal(const std::optional< ::Ifc2x3::IfcGlobalOrLocalEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcAnnotationFillAreaOccurrence::Class() { return *((IfcParse::entity*)IFC2X3_types[30]); } -void Ifc2x3::IfcAnnotationFillAreaOccurrence::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name, ::Ifc2x3::IfcPoint v4_FillStyleTarget, std::optional< ::Ifc2x3::IfcGlobalOrLocalEnum::Value > v5_GlobalOrLocal) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); }set_attribute_value(3, (v4_FillStyleTarget)); if (v5_GlobalOrLocal) {set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)*v5_GlobalOrLocal))); } } +const ifcopenshell::entity& Ifc2x3::IfcAnnotationFillAreaOccurrence::Class() { return *((ifcopenshell::entity*)IFC2X3_types[30]); } +void Ifc2x3::IfcAnnotationFillAreaOccurrence::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name, ::Ifc2x3::IfcPoint v4_FillStyleTarget, std::optional< ::Ifc2x3::IfcGlobalOrLocalEnum::Value > v5_GlobalOrLocal) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); }set_attribute_value(3, (v4_FillStyleTarget)); if (v5_GlobalOrLocal) {set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)*v5_GlobalOrLocal))); } } // Function implementations for IfcAnnotationOccurrence -const IfcParse::entity& Ifc2x3::IfcAnnotationOccurrence::Class() { return *((IfcParse::entity*)IFC2X3_types[31]); } +const ifcopenshell::entity& Ifc2x3::IfcAnnotationOccurrence::Class() { return *((ifcopenshell::entity*)IFC2X3_types[31]); } void Ifc2x3::IfcAnnotationOccurrence::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcAnnotationSurface @@ -5615,25 +5615,25 @@ void Ifc2x3::IfcAnnotationSurface::setItem(const ::Ifc2x3::IfcGeometricRepresent void Ifc2x3::IfcAnnotationSurface::setTextureCoordinates(const ::Ifc2x3::IfcTextureCoordinate& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcAnnotationSurface::Class() { return *((IfcParse::entity*)IFC2X3_types[32]); } +const ifcopenshell::entity& Ifc2x3::IfcAnnotationSurface::Class() { return *((ifcopenshell::entity*)IFC2X3_types[32]); } void Ifc2x3::IfcAnnotationSurface::initialize(::Ifc2x3::IfcGeometricRepresentationItem v1_Item, ::Ifc2x3::IfcTextureCoordinate v2_TextureCoordinates) { set_attribute_value(0, (v1_Item));set_attribute_value(1, (v2_TextureCoordinates)); } // Function implementations for IfcAnnotationSurfaceOccurrence -const IfcParse::entity& Ifc2x3::IfcAnnotationSurfaceOccurrence::Class() { return *((IfcParse::entity*)IFC2X3_types[33]); } +const ifcopenshell::entity& Ifc2x3::IfcAnnotationSurfaceOccurrence::Class() { return *((ifcopenshell::entity*)IFC2X3_types[33]); } void Ifc2x3::IfcAnnotationSurfaceOccurrence::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcAnnotationSymbolOccurrence -const IfcParse::entity& Ifc2x3::IfcAnnotationSymbolOccurrence::Class() { return *((IfcParse::entity*)IFC2X3_types[34]); } +const ifcopenshell::entity& Ifc2x3::IfcAnnotationSymbolOccurrence::Class() { return *((ifcopenshell::entity*)IFC2X3_types[34]); } void Ifc2x3::IfcAnnotationSymbolOccurrence::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcAnnotationTextOccurrence -const IfcParse::entity& Ifc2x3::IfcAnnotationTextOccurrence::Class() { return *((IfcParse::entity*)IFC2X3_types[35]); } +const ifcopenshell::entity& Ifc2x3::IfcAnnotationTextOccurrence::Class() { return *((ifcopenshell::entity*)IFC2X3_types[35]); } void Ifc2x3::IfcAnnotationTextOccurrence::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcApplication @@ -5647,7 +5647,7 @@ std::string Ifc2x3::IfcApplication::ApplicationIdentifier() const { std::string void Ifc2x3::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcApplication::Class() { return *((IfcParse::entity*)IFC2X3_types[36]); } +const ifcopenshell::entity& Ifc2x3::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC2X3_types[36]); } void Ifc2x3::IfcApplication::initialize(::Ifc2x3::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -5664,11 +5664,11 @@ void Ifc2x3::IfcAppliedValue::setApplicableDate(const ::Ifc2x3::IfcDateTimeSelec ::Ifc2x3::IfcDateTimeSelect Ifc2x3::IfcAppliedValue::FixedUntilDate() const { if(get_attribute_value(5).isNull()) { return ::Ifc2x3::IfcDateTimeSelect{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc2x3::IfcDateTimeSelect>(); } void Ifc2x3::IfcAppliedValue::setFixedUntilDate(const ::Ifc2x3::IfcDateTimeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc2x3::IfcReferencesValueDocument> Ifc2x3::IfcAppliedValue::ValuesReferenced() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[657], 1)); } -std::vector<::Ifc2x3::IfcAppliedValueRelationship> Ifc2x3::IfcAppliedValue::ValueOfComponents() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[38], 0)); } -std::vector<::Ifc2x3::IfcAppliedValueRelationship> Ifc2x3::IfcAppliedValue::IsComponentIn() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[38], 1)); } +std::vector<::Ifc2x3::IfcReferencesValueDocument> Ifc2x3::IfcAppliedValue::ValuesReferenced() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[657], 1)); } +std::vector<::Ifc2x3::IfcAppliedValueRelationship> Ifc2x3::IfcAppliedValue::ValueOfComponents() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[38], 0)); } +std::vector<::Ifc2x3::IfcAppliedValueRelationship> Ifc2x3::IfcAppliedValue::IsComponentIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[38], 1)); } -const IfcParse::entity& Ifc2x3::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC2X3_types[37]); } +const ifcopenshell::entity& Ifc2x3::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[37]); } void Ifc2x3::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc2x3::IfcMeasureWithUnit v4_UnitBasis, ::Ifc2x3::IfcDateTimeSelect v5_ApplicableDate, ::Ifc2x3::IfcDateTimeSelect v6_FixedUntilDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis));set_attribute_value(4, (v5_ApplicableDate));set_attribute_value(5, (v6_FixedUntilDate)); } // Function implementations for IfcAppliedValueRelationship @@ -5677,15 +5677,15 @@ void Ifc2x3::IfcAppliedValueRelationship::setComponentOfTotal(const ::Ifc2x3::If std::vector< ::Ifc2x3::IfcAppliedValue > Ifc2x3::IfcAppliedValueRelationship::Components() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc2x3::IfcAppliedValue>(es); } void Ifc2x3::IfcAppliedValueRelationship::setComponents(const std::vector< ::Ifc2x3::IfcAppliedValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc2x3::IfcArithmeticOperatorEnum::Value Ifc2x3::IfcAppliedValueRelationship::ArithmeticOperator() const { return ::Ifc2x3::IfcArithmeticOperatorEnum::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcAppliedValueRelationship::setArithmeticOperator(const ::Ifc2x3::IfcArithmeticOperatorEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcArithmeticOperatorEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc2x3::IfcAppliedValueRelationship::setArithmeticOperator(const ::Ifc2x3::IfcArithmeticOperatorEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcArithmeticOperatorEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc2x3::IfcAppliedValueRelationship::Name() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc2x3::IfcAppliedValueRelationship::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< std::string > Ifc2x3::IfcAppliedValueRelationship::Description() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc2x3::IfcAppliedValueRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcAppliedValueRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[38]); } -void Ifc2x3::IfcAppliedValueRelationship::initialize(::Ifc2x3::IfcAppliedValue v1_ComponentOfTotal, std::vector< ::Ifc2x3::IfcAppliedValue > v2_Components, ::Ifc2x3::IfcArithmeticOperatorEnum::Value v3_ArithmeticOperator, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description) { set_attribute_value(0, (v1_ComponentOfTotal));set_attribute_value(1, cast_vector(v2_Components));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcArithmeticOperatorEnum::Class(),(size_t)v3_ArithmeticOperator))); if (v4_Name) {set_attribute_value(3, (*v4_Name)); } if (v5_Description) {set_attribute_value(4, (*v5_Description)); } } +const ifcopenshell::entity& Ifc2x3::IfcAppliedValueRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[38]); } +void Ifc2x3::IfcAppliedValueRelationship::initialize(::Ifc2x3::IfcAppliedValue v1_ComponentOfTotal, std::vector< ::Ifc2x3::IfcAppliedValue > v2_Components, ::Ifc2x3::IfcArithmeticOperatorEnum::Value v3_ArithmeticOperator, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description) { set_attribute_value(0, (v1_ComponentOfTotal));set_attribute_value(1, cast_vector(v2_Components));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcArithmeticOperatorEnum::Class(),(size_t)v3_ArithmeticOperator))); if (v4_Name) {set_attribute_value(3, (*v4_Name)); } if (v5_Description) {set_attribute_value(4, (*v5_Description)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc2x3::IfcApproval::Description() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -5703,11 +5703,11 @@ void Ifc2x3::IfcApproval::setName(const std::string& v) { set_attribute_value(5, std::string Ifc2x3::IfcApproval::Identifier() const { std::string v = get_attribute_value(6); return v; } void Ifc2x3::IfcApproval::setIdentifier(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc2x3::IfcApprovalActorRelationship> Ifc2x3::IfcApproval::Actors() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[41], 1)); } -std::vector<::Ifc2x3::IfcApprovalRelationship> Ifc2x3::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[43], 0)); } -std::vector<::Ifc2x3::IfcApprovalRelationship> Ifc2x3::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[43], 1)); } +std::vector<::Ifc2x3::IfcApprovalActorRelationship> Ifc2x3::IfcApproval::Actors() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[41], 1)); } +std::vector<::Ifc2x3::IfcApprovalRelationship> Ifc2x3::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[43], 0)); } +std::vector<::Ifc2x3::IfcApprovalRelationship> Ifc2x3::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[43], 1)); } -const IfcParse::entity& Ifc2x3::IfcApproval::Class() { return *((IfcParse::entity*)IFC2X3_types[40]); } +const ifcopenshell::entity& Ifc2x3::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC2X3_types[40]); } void Ifc2x3::IfcApproval::initialize(std::optional< std::string > v1_Description, ::Ifc2x3::IfcDateTimeSelect v2_ApprovalDateTime, std::optional< std::string > v3_ApprovalStatus, std::optional< std::string > v4_ApprovalLevel, std::optional< std::string > v5_ApprovalQualifier, std::string v6_Name, std::string v7_Identifier) { if (v1_Description) {set_attribute_value(0, (*v1_Description)); }set_attribute_value(1, (v2_ApprovalDateTime)); if (v3_ApprovalStatus) {set_attribute_value(2, (*v3_ApprovalStatus)); } if (v4_ApprovalLevel) {set_attribute_value(3, (*v4_ApprovalLevel)); } if (v5_ApprovalQualifier) {set_attribute_value(4, (*v5_ApprovalQualifier)); }set_attribute_value(5, (v6_Name));set_attribute_value(6, (v7_Identifier)); } // Function implementations for IfcApprovalActorRelationship @@ -5719,7 +5719,7 @@ void Ifc2x3::IfcApprovalActorRelationship::setApproval(const ::Ifc2x3::IfcApprov void Ifc2x3::IfcApprovalActorRelationship::setRole(const ::Ifc2x3::IfcActorRole& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcApprovalActorRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[41]); } +const ifcopenshell::entity& Ifc2x3::IfcApprovalActorRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[41]); } void Ifc2x3::IfcApprovalActorRelationship::initialize(::Ifc2x3::IfcActorSelect v1_Actor, ::Ifc2x3::IfcApproval v2_Approval, ::Ifc2x3::IfcActorRole v3_Role) { set_attribute_value(0, (v1_Actor));set_attribute_value(1, (v2_Approval));set_attribute_value(2, (v3_Role)); } // Function implementations for IfcApprovalPropertyRelationship @@ -5729,7 +5729,7 @@ void Ifc2x3::IfcApprovalPropertyRelationship::setApprovedProperties(const std::v void Ifc2x3::IfcApprovalPropertyRelationship::setApproval(const ::Ifc2x3::IfcApproval& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcApprovalPropertyRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[42]); } +const ifcopenshell::entity& Ifc2x3::IfcApprovalPropertyRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[42]); } void Ifc2x3::IfcApprovalPropertyRelationship::initialize(std::vector< ::Ifc2x3::IfcProperty > v1_ApprovedProperties, ::Ifc2x3::IfcApproval v2_Approval) { set_attribute_value(0, cast_vector(v1_ApprovedProperties));set_attribute_value(1, (v2_Approval)); } // Function implementations for IfcApprovalRelationship @@ -5743,7 +5743,7 @@ std::string Ifc2x3::IfcApprovalRelationship::Name() const { std::string v = get void Ifc2x3::IfcApprovalRelationship::setName(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[43]); } +const ifcopenshell::entity& Ifc2x3::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[43]); } void Ifc2x3::IfcApprovalRelationship::initialize(::Ifc2x3::IfcApproval v1_RelatedApproval, ::Ifc2x3::IfcApproval v2_RelatingApproval, std::optional< std::string > v3_Description, std::string v4_Name) { set_attribute_value(0, (v1_RelatedApproval));set_attribute_value(1, (v2_RelatingApproval)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); }set_attribute_value(3, (v4_Name)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -5751,24 +5751,24 @@ void Ifc2x3::IfcApprovalRelationship::initialize(::Ifc2x3::IfcApproval v1_Relate void Ifc2x3::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc2x3::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[44]); } -void Ifc2x3::IfcArbitraryClosedProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc2x3::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[44]); } +void Ifc2x3::IfcArbitraryClosedProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc2x3::IfcBoundedCurve Ifc2x3::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc2x3::IfcBoundedCurve>(); } void Ifc2x3::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc2x3::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[45]); } -void Ifc2x3::IfcArbitraryOpenProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc2x3::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[45]); } +void Ifc2x3::IfcArbitraryOpenProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc2x3::IfcCurve > Ifc2x3::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc2x3::IfcCurve>(es); } void Ifc2x3::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc2x3::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC2X3_types[46]); } -void Ifc2x3::IfcArbitraryProfileDefWithVoids::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcCurve v3_OuterCurve, std::vector< ::Ifc2x3::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc2x3::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC2X3_types[46]); } +void Ifc2x3::IfcArbitraryProfileDefWithVoids::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcCurve v3_OuterCurve, std::vector< ::Ifc2x3::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::string Ifc2x3::IfcAsset::AssetID() const { std::string v = get_attribute_value(5); return v; } @@ -5791,7 +5791,7 @@ void Ifc2x3::IfcAsset::setIncorporationDate(const ::Ifc2x3::IfcCalendarDate& v) void Ifc2x3::IfcAsset::setDepreciatedValue(const ::Ifc2x3::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc2x3::IfcAsset::Class() { return *((IfcParse::entity*)IFC2X3_types[50]); } +const ifcopenshell::entity& Ifc2x3::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC2X3_types[50]); } void Ifc2x3::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_AssetID, ::Ifc2x3::IfcCostValue v7_OriginalValue, ::Ifc2x3::IfcCostValue v8_CurrentValue, ::Ifc2x3::IfcCostValue v9_TotalReplacementCost, ::Ifc2x3::IfcActorSelect v10_Owner, ::Ifc2x3::IfcActorSelect v11_User, ::Ifc2x3::IfcPerson v12_ResponsiblePerson, ::Ifc2x3::IfcCalendarDate v13_IncorporationDate, ::Ifc2x3::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_AssetID));set_attribute_value(6, (v7_OriginalValue));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson));set_attribute_value(12, (v13_IncorporationDate));set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -5805,15 +5805,15 @@ std::optional< double > Ifc2x3::IfcAsymmetricIShapeProfileDef::CentreOfGravityIn void Ifc2x3::IfcAsymmetricIShapeProfileDef::setCentreOfGravityInY(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc2x3::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[51]); } -void Ifc2x3::IfcAsymmetricIShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_CentreOfGravityInY) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); }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_CentreOfGravityInY) {set_attribute_value(11, (*v12_CentreOfGravityInY)); } } +const ifcopenshell::entity& Ifc2x3::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[51]); } +void Ifc2x3::IfcAsymmetricIShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_CentreOfGravityInY) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); }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_CentreOfGravityInY) {set_attribute_value(11, (*v12_CentreOfGravityInY)); } } // Function implementations for IfcAxis1Placement ::Ifc2x3::IfcDirection Ifc2x3::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc2x3::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc2x3::IfcDirection>(); } void Ifc2x3::IfcAxis1Placement::setAxis(const ::Ifc2x3::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC2X3_types[52]); } +const ifcopenshell::entity& Ifc2x3::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[52]); } void Ifc2x3::IfcAxis1Placement::initialize(::Ifc2x3::IfcCartesianPoint v1_Location, ::Ifc2x3::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -5821,7 +5821,7 @@ void Ifc2x3::IfcAxis1Placement::initialize(::Ifc2x3::IfcCartesianPoint v1_Locati void Ifc2x3::IfcAxis2Placement2D::setRefDirection(const ::Ifc2x3::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC2X3_types[54]); } +const ifcopenshell::entity& Ifc2x3::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC2X3_types[54]); } void Ifc2x3::IfcAxis2Placement2D::initialize(::Ifc2x3::IfcCartesianPoint v1_Location, ::Ifc2x3::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -5831,7 +5831,7 @@ void Ifc2x3::IfcAxis2Placement3D::setAxis(const ::Ifc2x3::IfcDirection& v) { set void Ifc2x3::IfcAxis2Placement3D::setRefDirection(const ::Ifc2x3::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC2X3_types[55]); } +const ifcopenshell::entity& Ifc2x3::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC2X3_types[55]); } void Ifc2x3::IfcAxis2Placement3D::initialize(::Ifc2x3::IfcCartesianPoint v1_Location, ::Ifc2x3::IfcDirection v2_Axis, ::Ifc2x3::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -5840,35 +5840,35 @@ void Ifc2x3::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v std::vector< ::Ifc2x3::IfcCartesianPoint > Ifc2x3::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc2x3::IfcCartesianPoint>(es); } void Ifc2x3::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc2x3::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc2x3::IfcBSplineCurveForm::Value Ifc2x3::IfcBSplineCurve::CurveForm() const { return ::Ifc2x3::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcBSplineCurve::setCurveForm(const ::Ifc2x3::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc2x3::IfcBSplineCurve::setCurveForm(const ::Ifc2x3::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc2x3::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc2x3::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc2x3::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc2x3::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[80]); } -void Ifc2x3::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc2x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc2x3::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[80]); } +void Ifc2x3::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc2x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBeam -const IfcParse::entity& Ifc2x3::IfcBeam::Class() { return *((IfcParse::entity*)IFC2X3_types[56]); } +const ifcopenshell::entity& Ifc2x3::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC2X3_types[56]); } void Ifc2x3::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBeamType ::Ifc2x3::IfcBeamTypeEnum::Value Ifc2x3::IfcBeamType::PredefinedType() const { return ::Ifc2x3::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcBeamType::setPredefinedType(const ::Ifc2x3::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcBeamType::setPredefinedType(const ::Ifc2x3::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcBeamType::Class() { return *((IfcParse::entity*)IFC2X3_types[57]); } -void Ifc2x3::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[57]); } +void Ifc2x3::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBezierCurve -const IfcParse::entity& Ifc2x3::IfcBezierCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[60]); } -void Ifc2x3::IfcBezierCurve::initialize(int v1_Degree, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc2x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc2x3::IfcBezierCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[60]); } +void Ifc2x3::IfcBezierCurve::initialize(int v1_Degree, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc2x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBlobTexture std::string Ifc2x3::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(4); return v; } @@ -5877,8 +5877,8 @@ bool Ifc2x3::IfcBlobTexture::RasterCode() const { bool v = get_attribute_value( void Ifc2x3::IfcBlobTexture::setRasterCode(const bool& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC2X3_types[61]); } -void Ifc2x3::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::string v5_RasterFormat, bool v6_RasterCode) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(),(size_t)v3_TextureType)));set_attribute_value(3, (v4_TextureTransform));set_attribute_value(4, (v5_RasterFormat));set_attribute_value(5, (v6_RasterCode)); } +const ifcopenshell::entity& Ifc2x3::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC2X3_types[61]); } +void Ifc2x3::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::string v5_RasterFormat, bool v6_RasterCode) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(),(size_t)v3_TextureType)));set_attribute_value(3, (v4_TextureTransform));set_attribute_value(4, (v5_RasterFormat));set_attribute_value(5, (v6_RasterCode)); } // Function implementations for IfcBlock double Ifc2x3::IfcBlock::XLength() const { double v = get_attribute_value(1); return v; } @@ -5889,41 +5889,41 @@ double Ifc2x3::IfcBlock::ZLength() const { double v = get_attribute_value(3); r void Ifc2x3::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcBlock::Class() { return *((IfcParse::entity*)IFC2X3_types[62]); } +const ifcopenshell::entity& Ifc2x3::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC2X3_types[62]); } void Ifc2x3::IfcBlock::initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoilerType ::Ifc2x3::IfcBoilerTypeEnum::Value Ifc2x3::IfcBoilerType::PredefinedType() const { return ::Ifc2x3::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcBoilerType::setPredefinedType(const ::Ifc2x3::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcBoilerType::setPredefinedType(const ::Ifc2x3::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC2X3_types[63]); } -void Ifc2x3::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[63]); } +void Ifc2x3::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc2x3::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC2X3_types[66]); } -void Ifc2x3::IfcBooleanClippingResult::initialize(::Ifc2x3::IfcBooleanOperator::Value v1_Operator, ::Ifc2x3::IfcBooleanOperand v2_FirstOperand, ::Ifc2x3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc2x3::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC2X3_types[66]); } +void Ifc2x3::IfcBooleanClippingResult::initialize(::Ifc2x3::IfcBooleanOperator::Value v1_Operator, ::Ifc2x3::IfcBooleanOperand v2_FirstOperand, ::Ifc2x3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc2x3::IfcBooleanOperator::Value Ifc2x3::IfcBooleanResult::Operator() const { return ::Ifc2x3::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc2x3::IfcBooleanResult::setOperator(const ::Ifc2x3::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc2x3::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc2x3::IfcBooleanResult::setOperator(const ::Ifc2x3::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc2x3::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc2x3::IfcBooleanOperand Ifc2x3::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc2x3::IfcBooleanOperand>(); } void Ifc2x3::IfcBooleanResult::setFirstOperand(const ::Ifc2x3::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc2x3::IfcBooleanOperand Ifc2x3::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc2x3::IfcBooleanOperand>(); } void Ifc2x3::IfcBooleanResult::setSecondOperand(const ::Ifc2x3::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC2X3_types[69]); } -void Ifc2x3::IfcBooleanResult::initialize(::Ifc2x3::IfcBooleanOperator::Value v1_Operator, ::Ifc2x3::IfcBooleanOperand v2_FirstOperand, ::Ifc2x3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc2x3::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC2X3_types[69]); } +void Ifc2x3::IfcBooleanResult::initialize(::Ifc2x3::IfcBooleanOperator::Value v1_Operator, ::Ifc2x3::IfcBooleanOperand v2_FirstOperand, ::Ifc2x3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBoundaryCondition std::optional< std::string > Ifc2x3::IfcBoundaryCondition::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc2x3::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc2x3::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC2X3_types[70]); } +const ifcopenshell::entity& Ifc2x3::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[70]); } void Ifc2x3::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryEdgeCondition @@ -5941,7 +5941,7 @@ std::optional< double > Ifc2x3::IfcBoundaryEdgeCondition::RotationalStiffnessByL void Ifc2x3::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc2x3::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC2X3_types[71]); } +const ifcopenshell::entity& Ifc2x3::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[71]); } void Ifc2x3::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearStiffnessByLengthX, std::optional< double > v3_LinearStiffnessByLengthY, std::optional< double > v4_LinearStiffnessByLengthZ, std::optional< double > v5_RotationalStiffnessByLengthX, std::optional< double > v6_RotationalStiffnessByLengthY, std::optional< double > v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_LinearStiffnessByLengthX) {set_attribute_value(1, (*v2_LinearStiffnessByLengthX)); } if (v3_LinearStiffnessByLengthY) {set_attribute_value(2, (*v3_LinearStiffnessByLengthY)); } if (v4_LinearStiffnessByLengthZ) {set_attribute_value(3, (*v4_LinearStiffnessByLengthZ)); } if (v5_RotationalStiffnessByLengthX) {set_attribute_value(4, (*v5_RotationalStiffnessByLengthX)); } if (v6_RotationalStiffnessByLengthY) {set_attribute_value(5, (*v6_RotationalStiffnessByLengthY)); } if (v7_RotationalStiffnessByLengthZ) {set_attribute_value(6, (*v7_RotationalStiffnessByLengthZ)); } } // Function implementations for IfcBoundaryFaceCondition @@ -5953,7 +5953,7 @@ std::optional< double > Ifc2x3::IfcBoundaryFaceCondition::LinearStiffnessByAreaZ void Ifc2x3::IfcBoundaryFaceCondition::setLinearStiffnessByAreaZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC2X3_types[72]); } +const ifcopenshell::entity& Ifc2x3::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[72]); } void Ifc2x3::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearStiffnessByAreaX, std::optional< double > v3_LinearStiffnessByAreaY, std::optional< double > v4_LinearStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_LinearStiffnessByAreaX) {set_attribute_value(1, (*v2_LinearStiffnessByAreaX)); } if (v3_LinearStiffnessByAreaY) {set_attribute_value(2, (*v3_LinearStiffnessByAreaY)); } if (v4_LinearStiffnessByAreaZ) {set_attribute_value(3, (*v4_LinearStiffnessByAreaZ)); } } // Function implementations for IfcBoundaryNodeCondition @@ -5971,7 +5971,7 @@ std::optional< double > Ifc2x3::IfcBoundaryNodeCondition::RotationalStiffnessZ() void Ifc2x3::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc2x3::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC2X3_types[73]); } +const ifcopenshell::entity& Ifc2x3::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[73]); } void Ifc2x3::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearStiffnessX, std::optional< double > v3_LinearStiffnessY, std::optional< double > v4_LinearStiffnessZ, std::optional< double > v5_RotationalStiffnessX, std::optional< double > v6_RotationalStiffnessY, std::optional< double > v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_LinearStiffnessX) {set_attribute_value(1, (*v2_LinearStiffnessX)); } if (v3_LinearStiffnessY) {set_attribute_value(2, (*v3_LinearStiffnessY)); } if (v4_LinearStiffnessZ) {set_attribute_value(3, (*v4_LinearStiffnessZ)); } if (v5_RotationalStiffnessX) {set_attribute_value(4, (*v5_RotationalStiffnessX)); } if (v6_RotationalStiffnessY) {set_attribute_value(5, (*v6_RotationalStiffnessY)); } if (v7_RotationalStiffnessZ) {set_attribute_value(6, (*v7_RotationalStiffnessZ)); } } // Function implementations for IfcBoundaryNodeConditionWarping @@ -5979,19 +5979,19 @@ std::optional< double > Ifc2x3::IfcBoundaryNodeConditionWarping::WarpingStiffnes void Ifc2x3::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC2X3_types[74]); } +const ifcopenshell::entity& Ifc2x3::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC2X3_types[74]); } void Ifc2x3::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearStiffnessX, std::optional< double > v3_LinearStiffnessY, std::optional< double > v4_LinearStiffnessZ, std::optional< double > v5_RotationalStiffnessX, std::optional< double > v6_RotationalStiffnessY, std::optional< double > v7_RotationalStiffnessZ, std::optional< double > v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_LinearStiffnessX) {set_attribute_value(1, (*v2_LinearStiffnessX)); } if (v3_LinearStiffnessY) {set_attribute_value(2, (*v3_LinearStiffnessY)); } if (v4_LinearStiffnessZ) {set_attribute_value(3, (*v4_LinearStiffnessZ)); } if (v5_RotationalStiffnessX) {set_attribute_value(4, (*v5_RotationalStiffnessX)); } if (v6_RotationalStiffnessY) {set_attribute_value(5, (*v6_RotationalStiffnessY)); } if (v7_RotationalStiffnessZ) {set_attribute_value(6, (*v7_RotationalStiffnessZ)); } if (v8_WarpingStiffness) {set_attribute_value(7, (*v8_WarpingStiffness)); } } // Function implementations for IfcBoundedCurve -const IfcParse::entity& Ifc2x3::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[75]); } +const ifcopenshell::entity& Ifc2x3::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[75]); } void Ifc2x3::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc2x3::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC2X3_types[76]); } +const ifcopenshell::entity& Ifc2x3::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC2X3_types[76]); } void Ifc2x3::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -6005,7 +6005,7 @@ double Ifc2x3::IfcBoundingBox::ZDim() const { double v = get_attribute_value(3) void Ifc2x3::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC2X3_types[77]); } +const ifcopenshell::entity& Ifc2x3::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC2X3_types[77]); } void Ifc2x3::IfcBoundingBox::initialize(::Ifc2x3::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -6013,7 +6013,7 @@ void Ifc2x3::IfcBoundingBox::initialize(::Ifc2x3::IfcCartesianPoint v1_Corner, d void Ifc2x3::IfcBoxedHalfSpace::setEnclosure(const ::Ifc2x3::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC2X3_types[79]); } +const ifcopenshell::entity& Ifc2x3::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC2X3_types[79]); } void Ifc2x3::IfcBoxedHalfSpace::initialize(::Ifc2x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc2x3::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBuilding @@ -6025,47 +6025,47 @@ void Ifc2x3::IfcBuilding::setElevationOfTerrain(const std::optional< double >& v void Ifc2x3::IfcBuilding::setBuildingAddress(const ::Ifc2x3::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc2x3::IfcBuilding::Class() { return *((IfcParse::entity*)IFC2X3_types[82]); } -void Ifc2x3::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc2x3::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::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)); } +const ifcopenshell::entity& Ifc2x3::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC2X3_types[82]); } +void Ifc2x3::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc2x3::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::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)); } // Function implementations for IfcBuildingElement -const IfcParse::entity& Ifc2x3::IfcBuildingElement::Class() { return *((IfcParse::entity*)IFC2X3_types[83]); } +const ifcopenshell::entity& Ifc2x3::IfcBuildingElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[83]); } void Ifc2x3::IfcBuildingElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuildingElementComponent -const IfcParse::entity& Ifc2x3::IfcBuildingElementComponent::Class() { return *((IfcParse::entity*)IFC2X3_types[84]); } +const ifcopenshell::entity& Ifc2x3::IfcBuildingElementComponent::Class() { return *((ifcopenshell::entity*)IFC2X3_types[84]); } void Ifc2x3::IfcBuildingElementComponent::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuildingElementPart -const IfcParse::entity& Ifc2x3::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC2X3_types[85]); } +const ifcopenshell::entity& Ifc2x3::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC2X3_types[85]); } void Ifc2x3::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc2x3::IfcElementCompositionEnum::Value > Ifc2x3::IfcBuildingElementProxy::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcBuildingElementProxy::setCompositionType(const std::optional< ::Ifc2x3::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc2x3::IfcBuildingElementProxy::setCompositionType(const std::optional< ::Ifc2x3::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC2X3_types[86]); } -void Ifc2x3::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc2x3::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC2X3_types[86]); } +void Ifc2x3::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc2x3::IfcBuildingElementProxyTypeEnum::Value Ifc2x3::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc2x3::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc2x3::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc2x3::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC2X3_types[87]); } -void Ifc2x3::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[87]); } +void Ifc2x3::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementType -const IfcParse::entity& Ifc2x3::IfcBuildingElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[89]); } +const ifcopenshell::entity& Ifc2x3::IfcBuildingElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[89]); } void Ifc2x3::IfcBuildingElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuildingStorey @@ -6073,8 +6073,8 @@ std::optional< double > Ifc2x3::IfcBuildingStorey::Elevation() const { if(get_at void Ifc2x3::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC2X3_types[90]); } -void Ifc2x3::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcElementCompositionEnum::Class(),(size_t)v9_CompositionType))); if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc2x3::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC2X3_types[90]); } +void Ifc2x3::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcElementCompositionEnum::Class(),(size_t)v9_CompositionType))); if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcCShapeProfileDef double Ifc2x3::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -6091,32 +6091,32 @@ std::optional< double > Ifc2x3::IfcCShapeProfileDef::CentreOfGravityInX() const void Ifc2x3::IfcCShapeProfileDef::setCentreOfGravityInX(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[186]); } -void Ifc2x3::IfcCShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius, std::optional< double > v9_CentreOfGravityInX) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } if (v9_CentreOfGravityInX) {set_attribute_value(8, (*v9_CentreOfGravityInX)); } } +const ifcopenshell::entity& Ifc2x3::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[186]); } +void Ifc2x3::IfcCShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius, std::optional< double > v9_CentreOfGravityInX) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } if (v9_CentreOfGravityInX) {set_attribute_value(8, (*v9_CentreOfGravityInX)); } } // Function implementations for IfcCableCarrierFittingType ::Ifc2x3::IfcCableCarrierFittingTypeEnum::Value Ifc2x3::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc2x3::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc2x3::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc2x3::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC2X3_types[91]); } -void Ifc2x3::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[91]); } +void Ifc2x3::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegmentType ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value Ifc2x3::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC2X3_types[93]); } -void Ifc2x3::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[93]); } +void Ifc2x3::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegmentType ::Ifc2x3::IfcCableSegmentTypeEnum::Value Ifc2x3::IfcCableSegmentType::PredefinedType() const { return ::Ifc2x3::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCableSegmentType::setPredefinedType(const ::Ifc2x3::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCableSegmentType::setPredefinedType(const ::Ifc2x3::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC2X3_types[95]); } -void Ifc2x3::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[95]); } +void Ifc2x3::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCalendarDate int Ifc2x3::IfcCalendarDate::DayComponent() const { int v = get_attribute_value(0); return v; } @@ -6127,7 +6127,7 @@ int Ifc2x3::IfcCalendarDate::YearComponent() const { int v = get_attribute_valu void Ifc2x3::IfcCalendarDate::setYearComponent(const int& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcCalendarDate::Class() { return *((IfcParse::entity*)IFC2X3_types[97]); } +const ifcopenshell::entity& Ifc2x3::IfcCalendarDate::Class() { return *((ifcopenshell::entity*)IFC2X3_types[97]); } void Ifc2x3::IfcCalendarDate::initialize(int v1_DayComponent, int v2_MonthComponent, int v3_YearComponent) { set_attribute_value(0, (v1_DayComponent));set_attribute_value(1, (v2_MonthComponent));set_attribute_value(2, (v3_YearComponent)); } // Function implementations for IfcCartesianPoint @@ -6135,7 +6135,7 @@ std::vector< double > /*[1:3]*/ Ifc2x3::IfcCartesianPoint::Coordinates() const { void Ifc2x3::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC2X3_types[98]); } +const ifcopenshell::entity& Ifc2x3::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC2X3_types[98]); } void Ifc2x3::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianTransformationOperator @@ -6149,13 +6149,13 @@ std::optional< double > Ifc2x3::IfcCartesianTransformationOperator::Scale() cons void Ifc2x3::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC2X3_types[99]); } +const ifcopenshell::entity& Ifc2x3::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC2X3_types[99]); } void Ifc2x3::IfcCartesianTransformationOperator::initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc2x3::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC2X3_types[100]); } +const ifcopenshell::entity& Ifc2x3::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC2X3_types[100]); } void Ifc2x3::IfcCartesianTransformationOperator2D::initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -6163,7 +6163,7 @@ std::optional< double > Ifc2x3::IfcCartesianTransformationOperator2DnonUniform:: void Ifc2x3::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC2X3_types[101]); } +const ifcopenshell::entity& Ifc2x3::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC2X3_types[101]); } void Ifc2x3::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -6171,7 +6171,7 @@ void Ifc2x3::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc2x3 void Ifc2x3::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc2x3::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC2X3_types[102]); } +const ifcopenshell::entity& Ifc2x3::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC2X3_types[102]); } void Ifc2x3::IfcCartesianTransformationOperator3D::initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc2x3::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -6181,7 +6181,7 @@ std::optional< double > Ifc2x3::IfcCartesianTransformationOperator3DnonUniform:: void Ifc2x3::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc2x3::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC2X3_types[103]); } +const ifcopenshell::entity& Ifc2x3::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC2X3_types[103]); } void Ifc2x3::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc2x3::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -6189,8 +6189,8 @@ double Ifc2x3::IfcCenterLineProfileDef::Thickness() const { double v = get_attr void Ifc2x3::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[104]); } -void Ifc2x3::IfcCenterLineProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc2x3::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[104]); } +void Ifc2x3::IfcCenterLineProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChamferEdgeFeature std::optional< double > Ifc2x3::IfcChamferEdgeFeature::Width() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -6199,23 +6199,23 @@ std::optional< double > Ifc2x3::IfcChamferEdgeFeature::Height() const { if(get_a void Ifc2x3::IfcChamferEdgeFeature::setHeight(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc2x3::IfcChamferEdgeFeature::Class() { return *((IfcParse::entity*)IFC2X3_types[105]); } +const ifcopenshell::entity& Ifc2x3::IfcChamferEdgeFeature::Class() { return *((ifcopenshell::entity*)IFC2X3_types[105]); } void Ifc2x3::IfcChamferEdgeFeature::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_FeatureLength, std::optional< double > v10_Width, std::optional< double > v11_Height) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_FeatureLength) {set_attribute_value(8, (*v9_FeatureLength)); } if (v10_Width) {set_attribute_value(9, (*v10_Width)); } if (v11_Height) {set_attribute_value(10, (*v11_Height)); } } // Function implementations for IfcChillerType ::Ifc2x3::IfcChillerTypeEnum::Value Ifc2x3::IfcChillerType::PredefinedType() const { return ::Ifc2x3::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcChillerType::setPredefinedType(const ::Ifc2x3::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcChillerType::setPredefinedType(const ::Ifc2x3::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcChillerType::Class() { return *((IfcParse::entity*)IFC2X3_types[108]); } -void Ifc2x3::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[108]); } +void Ifc2x3::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc2x3::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc2x3::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcCircle::Class() { return *((IfcParse::entity*)IFC2X3_types[110]); } +const ifcopenshell::entity& Ifc2x3::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[110]); } void Ifc2x3::IfcCircle::initialize(::Ifc2x3::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -6223,16 +6223,16 @@ double Ifc2x3::IfcCircleHollowProfileDef::WallThickness() const { double v = ge void Ifc2x3::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[111]); } -void Ifc2x3::IfcCircleHollowProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc2x3::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[111]); } +void Ifc2x3::IfcCircleHollowProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc2x3::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc2x3::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[112]); } -void Ifc2x3::IfcCircleProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc2x3::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[112]); } +void Ifc2x3::IfcCircleProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcClassification std::string Ifc2x3::IfcClassification::Source() const { std::string v = get_attribute_value(0); return v; } @@ -6244,9 +6244,9 @@ void Ifc2x3::IfcClassification::setEditionDate(const ::Ifc2x3::IfcCalendarDate& std::string Ifc2x3::IfcClassification::Name() const { std::string v = get_attribute_value(3); return v; } void Ifc2x3::IfcClassification::setName(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc2x3::IfcClassificationItem> Ifc2x3::IfcClassification::Contains() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[114], 1)); } +std::vector<::Ifc2x3::IfcClassificationItem> Ifc2x3::IfcClassification::Contains() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[114], 1)); } -const IfcParse::entity& Ifc2x3::IfcClassification::Class() { return *((IfcParse::entity*)IFC2X3_types[113]); } +const ifcopenshell::entity& Ifc2x3::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC2X3_types[113]); } void Ifc2x3::IfcClassification::initialize(std::string v1_Source, std::string v2_Edition, ::Ifc2x3::IfcCalendarDate v3_EditionDate, std::string v4_Name) { set_attribute_value(0, (v1_Source));set_attribute_value(1, (v2_Edition));set_attribute_value(2, (v3_EditionDate));set_attribute_value(3, (v4_Name)); } // Function implementations for IfcClassificationItem @@ -6257,10 +6257,10 @@ void Ifc2x3::IfcClassificationItem::setItemOf(const ::Ifc2x3::IfcClassification& std::string Ifc2x3::IfcClassificationItem::Title() const { std::string v = get_attribute_value(2); return v; } void Ifc2x3::IfcClassificationItem::setTitle(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc2x3::IfcClassificationItemRelationship> Ifc2x3::IfcClassificationItem::IsClassifiedItemIn() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[115], 1)); } -std::vector<::Ifc2x3::IfcClassificationItemRelationship> Ifc2x3::IfcClassificationItem::IsClassifyingItemIn() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[115], 0)); } +std::vector<::Ifc2x3::IfcClassificationItemRelationship> Ifc2x3::IfcClassificationItem::IsClassifiedItemIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[115], 1)); } +std::vector<::Ifc2x3::IfcClassificationItemRelationship> Ifc2x3::IfcClassificationItem::IsClassifyingItemIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[115], 0)); } -const IfcParse::entity& Ifc2x3::IfcClassificationItem::Class() { return *((IfcParse::entity*)IFC2X3_types[114]); } +const ifcopenshell::entity& Ifc2x3::IfcClassificationItem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[114]); } void Ifc2x3::IfcClassificationItem::initialize(::Ifc2x3::IfcClassificationNotationFacet v1_Notation, ::Ifc2x3::IfcClassification v2_ItemOf, std::string v3_Title) { set_attribute_value(0, (v1_Notation));set_attribute_value(1, (v2_ItemOf));set_attribute_value(2, (v3_Title)); } // Function implementations for IfcClassificationItemRelationship @@ -6270,7 +6270,7 @@ std::vector< ::Ifc2x3::IfcClassificationItem > Ifc2x3::IfcClassificationItemRela void Ifc2x3::IfcClassificationItemRelationship::setRelatedItems(const std::vector< ::Ifc2x3::IfcClassificationItem >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcClassificationItemRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[115]); } +const ifcopenshell::entity& Ifc2x3::IfcClassificationItemRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[115]); } void Ifc2x3::IfcClassificationItemRelationship::initialize(::Ifc2x3::IfcClassificationItem v1_RelatingItem, std::vector< ::Ifc2x3::IfcClassificationItem > v2_RelatedItems) { set_attribute_value(0, (v1_RelatingItem));set_attribute_value(1, cast_vector(v2_RelatedItems)); } // Function implementations for IfcClassificationNotation @@ -6278,7 +6278,7 @@ std::vector< ::Ifc2x3::IfcClassificationNotationFacet > Ifc2x3::IfcClassificatio void Ifc2x3::IfcClassificationNotation::setNotationFacets(const std::vector< ::Ifc2x3::IfcClassificationNotationFacet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcClassificationNotation::Class() { return *((IfcParse::entity*)IFC2X3_types[116]); } +const ifcopenshell::entity& Ifc2x3::IfcClassificationNotation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[116]); } void Ifc2x3::IfcClassificationNotation::initialize(std::vector< ::Ifc2x3::IfcClassificationNotationFacet > v1_NotationFacets) { set_attribute_value(0, cast_vector(v1_NotationFacets)); } // Function implementations for IfcClassificationNotationFacet @@ -6286,7 +6286,7 @@ std::string Ifc2x3::IfcClassificationNotationFacet::NotationValue() const { std void Ifc2x3::IfcClassificationNotationFacet::setNotationValue(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcClassificationNotationFacet::Class() { return *((IfcParse::entity*)IFC2X3_types[117]); } +const ifcopenshell::entity& Ifc2x3::IfcClassificationNotationFacet::Class() { return *((ifcopenshell::entity*)IFC2X3_types[117]); } void Ifc2x3::IfcClassificationNotationFacet::initialize(std::string v1_NotationValue) { set_attribute_value(0, (v1_NotationValue)); } // Function implementations for IfcClassificationReference @@ -6294,22 +6294,22 @@ void Ifc2x3::IfcClassificationNotationFacet::initialize(std::string v1_NotationV void Ifc2x3::IfcClassificationReference::setReferencedSource(const ::Ifc2x3::IfcClassification& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC2X3_types[119]); } +const ifcopenshell::entity& Ifc2x3::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC2X3_types[119]); } void Ifc2x3::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name, ::Ifc2x3::IfcClassification v4_ReferencedSource) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_ItemReference) {set_attribute_value(1, (*v2_ItemReference)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); }set_attribute_value(3, (v4_ReferencedSource)); } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc2x3::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC2X3_types[120]); } +const ifcopenshell::entity& Ifc2x3::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC2X3_types[120]); } void Ifc2x3::IfcClosedShell::initialize(std::vector< ::Ifc2x3::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcCoilType ::Ifc2x3::IfcCoilTypeEnum::Value Ifc2x3::IfcCoilType::PredefinedType() const { return ::Ifc2x3::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCoilType::setPredefinedType(const ::Ifc2x3::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCoilType::setPredefinedType(const ::Ifc2x3::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCoilType::Class() { return *((IfcParse::entity*)IFC2X3_types[121]); } -void Ifc2x3::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[121]); } +void Ifc2x3::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc2x3::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -6320,7 +6320,7 @@ double Ifc2x3::IfcColourRgb::Blue() const { double v = get_attribute_value(3); void Ifc2x3::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC2X3_types[125]); } +const ifcopenshell::entity& Ifc2x3::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC2X3_types[125]); } void Ifc2x3::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourSpecification @@ -6328,22 +6328,22 @@ std::optional< std::string > Ifc2x3::IfcColourSpecification::Name() const { if(g void Ifc2x3::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc2x3::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC2X3_types[126]); } +const ifcopenshell::entity& Ifc2x3::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC2X3_types[126]); } void Ifc2x3::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn -const IfcParse::entity& Ifc2x3::IfcColumn::Class() { return *((IfcParse::entity*)IFC2X3_types[127]); } +const ifcopenshell::entity& Ifc2x3::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC2X3_types[127]); } void Ifc2x3::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcColumnType ::Ifc2x3::IfcColumnTypeEnum::Value Ifc2x3::IfcColumnType::PredefinedType() const { return ::Ifc2x3::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcColumnType::setPredefinedType(const ::Ifc2x3::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcColumnType::setPredefinedType(const ::Ifc2x3::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcColumnType::Class() { return *((IfcParse::entity*)IFC2X3_types[128]); } -void Ifc2x3::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[128]); } +void Ifc2x3::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc2x3::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -6352,7 +6352,7 @@ std::vector< ::Ifc2x3::IfcProperty > Ifc2x3::IfcComplexProperty::HasProperties() void Ifc2x3::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc2x3::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC2X3_types[131]); } +const ifcopenshell::entity& Ifc2x3::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC2X3_types[131]); } void Ifc2x3::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc2x3::IfcProperty > v4_HasProperties) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, cast_vector(v4_HasProperties)); } // Function implementations for IfcCompositeCurve @@ -6362,21 +6362,21 @@ boost::logic::tribool Ifc2x3::IfcCompositeCurve::SelfIntersect() const { boost: void Ifc2x3::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[132]); } +const ifcopenshell::entity& Ifc2x3::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[132]); } void Ifc2x3::IfcCompositeCurve::initialize(std::vector< ::Ifc2x3::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment ::Ifc2x3::IfcTransitionCode::Value Ifc2x3::IfcCompositeCurveSegment::Transition() const { return ::Ifc2x3::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc2x3::IfcCompositeCurveSegment::setTransition(const ::Ifc2x3::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc2x3::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc2x3::IfcCompositeCurveSegment::setTransition(const ::Ifc2x3::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc2x3::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } bool Ifc2x3::IfcCompositeCurveSegment::SameSense() const { bool v = get_attribute_value(1); return v; } void Ifc2x3::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc2x3::IfcCurve Ifc2x3::IfcCompositeCurveSegment::ParentCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc2x3::IfcCurve>(); } void Ifc2x3::IfcCompositeCurveSegment::setParentCurve(const ::Ifc2x3::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc2x3::IfcCompositeCurve> Ifc2x3::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[132], 0)); } +std::vector<::Ifc2x3::IfcCompositeCurve> Ifc2x3::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[132], 0)); } -const IfcParse::entity& Ifc2x3::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC2X3_types[133]); } -void Ifc2x3::IfcCompositeCurveSegment::initialize(::Ifc2x3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc2x3::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc2x3::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC2X3_types[133]); } +void Ifc2x3::IfcCompositeCurveSegment::initialize(::Ifc2x3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc2x3::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc2x3::IfcProfileDef > Ifc2x3::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc2x3::IfcProfileDef>(es); } @@ -6385,29 +6385,29 @@ std::optional< std::string > Ifc2x3::IfcCompositeProfileDef::Label() const { if( void Ifc2x3::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[134]); } -void Ifc2x3::IfcCompositeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc2x3::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc2x3::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[134]); } +void Ifc2x3::IfcCompositeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc2x3::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressorType ::Ifc2x3::IfcCompressorTypeEnum::Value Ifc2x3::IfcCompressorType::PredefinedType() const { return ::Ifc2x3::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCompressorType::setPredefinedType(const ::Ifc2x3::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCompressorType::setPredefinedType(const ::Ifc2x3::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC2X3_types[136]); } -void Ifc2x3::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[136]); } +void Ifc2x3::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenserType ::Ifc2x3::IfcCondenserTypeEnum::Value Ifc2x3::IfcCondenserType::PredefinedType() const { return ::Ifc2x3::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCondenserType::setPredefinedType(const ::Ifc2x3::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCondenserType::setPredefinedType(const ::Ifc2x3::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC2X3_types[138]); } -void Ifc2x3::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[138]); } +void Ifc2x3::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondition -const IfcParse::entity& Ifc2x3::IfcCondition::Class() { return *((IfcParse::entity*)IFC2X3_types[140]); } +const ifcopenshell::entity& Ifc2x3::IfcCondition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[140]); } void Ifc2x3::IfcCondition::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcConditionCriterion @@ -6417,7 +6417,7 @@ void Ifc2x3::IfcConditionCriterion::setCriterion(const ::Ifc2x3::IfcConditionCri void Ifc2x3::IfcConditionCriterion::setCriterionDateTime(const ::Ifc2x3::IfcDateTimeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcConditionCriterion::Class() { return *((IfcParse::entity*)IFC2X3_types[141]); } +const ifcopenshell::entity& Ifc2x3::IfcConditionCriterion::Class() { return *((ifcopenshell::entity*)IFC2X3_types[141]); } void Ifc2x3::IfcConditionCriterion::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcConditionCriterionSelect v6_Criterion, ::Ifc2x3::IfcDateTimeSelect v7_CriterionDateTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_Criterion));set_attribute_value(6, (v7_CriterionDateTime)); } // Function implementations for IfcConic @@ -6425,7 +6425,7 @@ void Ifc2x3::IfcConditionCriterion::initialize(std::string v1_GlobalId, ::Ifc2x3 void Ifc2x3::IfcConic::setPosition(const ::Ifc2x3::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcConic::Class() { return *((IfcParse::entity*)IFC2X3_types[143]); } +const ifcopenshell::entity& Ifc2x3::IfcConic::Class() { return *((ifcopenshell::entity*)IFC2X3_types[143]); } void Ifc2x3::IfcConic::initialize(::Ifc2x3::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -6433,7 +6433,7 @@ std::vector< ::Ifc2x3::IfcFace > Ifc2x3::IfcConnectedFaceSet::CfsFaces() const { void Ifc2x3::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc2x3::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC2X3_types[144]); } +const ifcopenshell::entity& Ifc2x3::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC2X3_types[144]); } void Ifc2x3::IfcConnectedFaceSet::initialize(std::vector< ::Ifc2x3::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -6443,13 +6443,13 @@ void Ifc2x3::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::Ifc2x void Ifc2x3::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc2x3::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC2X3_types[145]); } +const ifcopenshell::entity& Ifc2x3::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC2X3_types[145]); } void Ifc2x3::IfcConnectionCurveGeometry::initialize(::Ifc2x3::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc2x3::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc2x3::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC2X3_types[146]); } +const ifcopenshell::entity& Ifc2x3::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC2X3_types[146]); } void Ifc2x3::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -6461,7 +6461,7 @@ std::optional< double > Ifc2x3::IfcConnectionPointEccentricity::EccentricityInZ( void Ifc2x3::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC2X3_types[147]); } +const ifcopenshell::entity& Ifc2x3::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC2X3_types[147]); } void Ifc2x3::IfcConnectionPointEccentricity::initialize(::Ifc2x3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc2x3::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -6471,7 +6471,7 @@ void Ifc2x3::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::Ifc2x void Ifc2x3::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc2x3::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC2X3_types[148]); } +const ifcopenshell::entity& Ifc2x3::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC2X3_types[148]); } void Ifc2x3::IfcConnectionPointGeometry::initialize(::Ifc2x3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc2x3::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionPortGeometry @@ -6483,7 +6483,7 @@ void Ifc2x3::IfcConnectionPortGeometry::setLocationAtRelatedElement(const ::Ifc2 void Ifc2x3::IfcConnectionPortGeometry::setProfileOfPort(const ::Ifc2x3::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcConnectionPortGeometry::Class() { return *((IfcParse::entity*)IFC2X3_types[149]); } +const ifcopenshell::entity& Ifc2x3::IfcConnectionPortGeometry::Class() { return *((ifcopenshell::entity*)IFC2X3_types[149]); } void Ifc2x3::IfcConnectionPortGeometry::initialize(::Ifc2x3::IfcAxis2Placement v1_LocationAtRelatingElement, ::Ifc2x3::IfcAxis2Placement v2_LocationAtRelatedElement, ::Ifc2x3::IfcProfileDef v3_ProfileOfPort) { set_attribute_value(0, (v1_LocationAtRelatingElement));set_attribute_value(1, (v2_LocationAtRelatedElement));set_attribute_value(2, (v3_ProfileOfPort)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -6493,7 +6493,7 @@ void Ifc2x3::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const ::I void Ifc2x3::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc2x3::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC2X3_types[150]); } +const ifcopenshell::entity& Ifc2x3::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC2X3_types[150]); } void Ifc2x3::IfcConnectionSurfaceGeometry::initialize(::Ifc2x3::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc2x3::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConstraint @@ -6502,7 +6502,7 @@ void Ifc2x3::IfcConstraint::setName(const std::string& v) { set_attribute_value( std::optional< std::string > Ifc2x3::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc2x3::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc2x3::IfcConstraintEnum::Value Ifc2x3::IfcConstraint::ConstraintGrade() const { return ::Ifc2x3::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcConstraint::setConstraintGrade(const ::Ifc2x3::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc2x3::IfcConstraint::setConstraintGrade(const ::Ifc2x3::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc2x3::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc2x3::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc2x3::IfcActorSelect Ifc2x3::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc2x3::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcActorSelect>(); } @@ -6512,15 +6512,15 @@ void Ifc2x3::IfcConstraint::setCreationTime(const ::Ifc2x3::IfcDateTimeSelect& v std::optional< std::string > Ifc2x3::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc2x3::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc2x3::IfcConstraintClassificationRelationship> Ifc2x3::IfcConstraint::ClassifiedAs() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[154], 0)); } -std::vector<::Ifc2x3::IfcConstraintRelationship> Ifc2x3::IfcConstraint::RelatesConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[156], 2)); } -std::vector<::Ifc2x3::IfcConstraintRelationship> Ifc2x3::IfcConstraint::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[156], 3)); } -std::vector<::Ifc2x3::IfcPropertyConstraintRelationship> Ifc2x3::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[617], 0)); } -std::vector<::Ifc2x3::IfcConstraintAggregationRelationship> Ifc2x3::IfcConstraint::Aggregates() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[153], 2)); } -std::vector<::Ifc2x3::IfcConstraintAggregationRelationship> Ifc2x3::IfcConstraint::IsAggregatedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[153], 3)); } +std::vector<::Ifc2x3::IfcConstraintClassificationRelationship> Ifc2x3::IfcConstraint::ClassifiedAs() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[154], 0)); } +std::vector<::Ifc2x3::IfcConstraintRelationship> Ifc2x3::IfcConstraint::RelatesConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[156], 2)); } +std::vector<::Ifc2x3::IfcConstraintRelationship> Ifc2x3::IfcConstraint::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[156], 3)); } +std::vector<::Ifc2x3::IfcPropertyConstraintRelationship> Ifc2x3::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[617], 0)); } +std::vector<::Ifc2x3::IfcConstraintAggregationRelationship> Ifc2x3::IfcConstraint::Aggregates() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[153], 2)); } +std::vector<::Ifc2x3::IfcConstraintAggregationRelationship> Ifc2x3::IfcConstraint::IsAggregatedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[153], 3)); } -const IfcParse::entity& Ifc2x3::IfcConstraint::Class() { return *((IfcParse::entity*)IFC2X3_types[152]); } -void Ifc2x3::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc2x3::IfcActorSelect v5_CreatingActor, ::Ifc2x3::IfcDateTimeSelect v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor));set_attribute_value(5, (v6_CreationTime)); if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc2x3::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC2X3_types[152]); } +void Ifc2x3::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc2x3::IfcActorSelect v5_CreatingActor, ::Ifc2x3::IfcDateTimeSelect v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor));set_attribute_value(5, (v6_CreationTime)); if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstraintAggregationRelationship std::optional< std::string > Ifc2x3::IfcConstraintAggregationRelationship::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -6532,11 +6532,11 @@ void Ifc2x3::IfcConstraintAggregationRelationship::setRelatingConstraint(const : std::vector< ::Ifc2x3::IfcConstraint > Ifc2x3::IfcConstraintAggregationRelationship::RelatedConstraints() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc2x3::IfcConstraint>(es); } void Ifc2x3::IfcConstraintAggregationRelationship::setRelatedConstraints(const std::vector< ::Ifc2x3::IfcConstraint >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } ::Ifc2x3::IfcLogicalOperatorEnum::Value Ifc2x3::IfcConstraintAggregationRelationship::LogicalAggregator() const { return ::Ifc2x3::IfcLogicalOperatorEnum::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcConstraintAggregationRelationship::setLogicalAggregator(const ::Ifc2x3::IfcLogicalOperatorEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcLogicalOperatorEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc2x3::IfcConstraintAggregationRelationship::setLogicalAggregator(const ::Ifc2x3::IfcLogicalOperatorEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcLogicalOperatorEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcConstraintAggregationRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[153]); } -void Ifc2x3::IfcConstraintAggregationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc2x3::IfcConstraint > v4_RelatedConstraints, ::Ifc2x3::IfcLogicalOperatorEnum::Value v5_LogicalAggregator) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedConstraints));set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcLogicalOperatorEnum::Class(),(size_t)v5_LogicalAggregator))); } +const ifcopenshell::entity& Ifc2x3::IfcConstraintAggregationRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[153]); } +void Ifc2x3::IfcConstraintAggregationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc2x3::IfcConstraint > v4_RelatedConstraints, ::Ifc2x3::IfcLogicalOperatorEnum::Value v5_LogicalAggregator) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedConstraints));set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcLogicalOperatorEnum::Class(),(size_t)v5_LogicalAggregator))); } // Function implementations for IfcConstraintClassificationRelationship ::Ifc2x3::IfcConstraint Ifc2x3::IfcConstraintClassificationRelationship::ClassifiedConstraint() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcConstraint>(); } @@ -6545,7 +6545,7 @@ std::vector< ::Ifc2x3::IfcClassificationNotationSelect > Ifc2x3::IfcConstraintCl void Ifc2x3::IfcConstraintClassificationRelationship::setRelatedClassifications(const std::vector< ::Ifc2x3::IfcClassificationNotationSelect >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcConstraintClassificationRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[154]); } +const ifcopenshell::entity& Ifc2x3::IfcConstraintClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[154]); } void Ifc2x3::IfcConstraintClassificationRelationship::initialize(::Ifc2x3::IfcConstraint v1_ClassifiedConstraint, std::vector< ::Ifc2x3::IfcClassificationNotationSelect > v2_RelatedClassifications) { set_attribute_value(0, (v1_ClassifiedConstraint));set_attribute_value(1, cast_vector(v2_RelatedClassifications)); } // Function implementations for IfcConstraintRelationship @@ -6559,14 +6559,14 @@ std::vector< ::Ifc2x3::IfcConstraint > Ifc2x3::IfcConstraintRelationship::Relate void Ifc2x3::IfcConstraintRelationship::setRelatedConstraints(const std::vector< ::Ifc2x3::IfcConstraint >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcConstraintRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[156]); } +const ifcopenshell::entity& Ifc2x3::IfcConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[156]); } void Ifc2x3::IfcConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc2x3::IfcConstraint > v4_RelatedConstraints) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedConstraints)); } // Function implementations for IfcConstructionEquipmentResource -const IfcParse::entity& Ifc2x3::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC2X3_types[157]); } -void Ifc2x3::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); } +const ifcopenshell::entity& Ifc2x3::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[157]); } +void Ifc2x3::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); } // Function implementations for IfcConstructionMaterialResource std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > Ifc2x3::IfcConstructionMaterialResource::Suppliers() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc2x3::IfcActorSelect>(es); } @@ -6575,14 +6575,14 @@ std::optional< double > Ifc2x3::IfcConstructionMaterialResource::UsageRatio() co void Ifc2x3::IfcConstructionMaterialResource::setUsageRatio(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc2x3::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC2X3_types[158]); } -void Ifc2x3::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity, std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > v10_Suppliers, std::optional< double > v11_UsageRatio) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); if (v10_Suppliers) {set_attribute_value(9, cast_vector(*v10_Suppliers)); } if (v11_UsageRatio) {set_attribute_value(10, (*v11_UsageRatio)); } } +const ifcopenshell::entity& Ifc2x3::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[158]); } +void Ifc2x3::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity, std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > v10_Suppliers, std::optional< double > v11_UsageRatio) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); if (v10_Suppliers) {set_attribute_value(9, cast_vector(*v10_Suppliers)); } if (v11_UsageRatio) {set_attribute_value(10, (*v11_UsageRatio)); } } // Function implementations for IfcConstructionProductResource -const IfcParse::entity& Ifc2x3::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC2X3_types[159]); } -void Ifc2x3::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); } +const ifcopenshell::entity& Ifc2x3::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[159]); } +void Ifc2x3::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); } // Function implementations for IfcConstructionResource std::optional< std::string > Ifc2x3::IfcConstructionResource::ResourceIdentifier() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -6590,36 +6590,36 @@ void Ifc2x3::IfcConstructionResource::setResourceIdentifier(const std::optional< std::optional< std::string > Ifc2x3::IfcConstructionResource::ResourceGroup() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc2x3::IfcConstructionResource::setResourceGroup(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > Ifc2x3::IfcConstructionResource::ResourceConsumption() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcResourceConsumptionEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcConstructionResource::setResourceConsumption(const std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc2x3::IfcConstructionResource::setResourceConsumption(const std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } ::Ifc2x3::IfcMeasureWithUnit Ifc2x3::IfcConstructionResource::BaseQuantity() const { if(get_attribute_value(8).isNull()) { return ::Ifc2x3::IfcMeasureWithUnit{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc2x3::IfcMeasureWithUnit>(); } void Ifc2x3::IfcConstructionResource::setBaseQuantity(const ::Ifc2x3::IfcMeasureWithUnit& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC2X3_types[160]); } -void Ifc2x3::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); } +const ifcopenshell::entity& Ifc2x3::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[160]); } +void Ifc2x3::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); } // Function implementations for IfcContextDependentUnit std::string Ifc2x3::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc2x3::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC2X3_types[162]); } -void Ifc2x3::IfcContextDependentUnit::initialize(::Ifc2x3::IfcDimensionalExponents v1_Dimensions, ::Ifc2x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc2x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc2x3::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC2X3_types[162]); } +void Ifc2x3::IfcContextDependentUnit::initialize(::Ifc2x3::IfcDimensionalExponents v1_Dimensions, ::Ifc2x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc2x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl -std::vector<::Ifc2x3::IfcRelAssignsToControl> Ifc2x3::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[671], 6)); } +std::vector<::Ifc2x3::IfcRelAssignsToControl> Ifc2x3::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[671], 6)); } -const IfcParse::entity& Ifc2x3::IfcControl::Class() { return *((IfcParse::entity*)IFC2X3_types[163]); } +const ifcopenshell::entity& Ifc2x3::IfcControl::Class() { return *((ifcopenshell::entity*)IFC2X3_types[163]); } void Ifc2x3::IfcControl::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcControllerType ::Ifc2x3::IfcControllerTypeEnum::Value Ifc2x3::IfcControllerType::PredefinedType() const { return ::Ifc2x3::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcControllerType::setPredefinedType(const ::Ifc2x3::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcControllerType::setPredefinedType(const ::Ifc2x3::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcControllerType::Class() { return *((IfcParse::entity*)IFC2X3_types[164]); } -void Ifc2x3::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[164]); } +void Ifc2x3::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc2x3::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -6628,24 +6628,24 @@ void Ifc2x3::IfcConversionBasedUnit::setName(const std::string& v) { set_attribu void Ifc2x3::IfcConversionBasedUnit::setConversionFactor(const ::Ifc2x3::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC2X3_types[166]); } -void Ifc2x3::IfcConversionBasedUnit::initialize(::Ifc2x3::IfcDimensionalExponents v1_Dimensions, ::Ifc2x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc2x3::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc2x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc2x3::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC2X3_types[166]); } +void Ifc2x3::IfcConversionBasedUnit::initialize(::Ifc2x3::IfcDimensionalExponents v1_Dimensions, ::Ifc2x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc2x3::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc2x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcCooledBeamType ::Ifc2x3::IfcCooledBeamTypeEnum::Value Ifc2x3::IfcCooledBeamType::PredefinedType() const { return ::Ifc2x3::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCooledBeamType::setPredefinedType(const ::Ifc2x3::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCooledBeamType::setPredefinedType(const ::Ifc2x3::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC2X3_types[167]); } -void Ifc2x3::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[167]); } +void Ifc2x3::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTowerType ::Ifc2x3::IfcCoolingTowerTypeEnum::Value Ifc2x3::IfcCoolingTowerType::PredefinedType() const { return ::Ifc2x3::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCoolingTowerType::setPredefinedType(const ::Ifc2x3::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCoolingTowerType::setPredefinedType(const ::Ifc2x3::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC2X3_types[169]); } -void Ifc2x3::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[169]); } +void Ifc2x3::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinatedUniversalTimeOffset int Ifc2x3::IfcCoordinatedUniversalTimeOffset::HourOffset() const { int v = get_attribute_value(0); return v; } @@ -6653,16 +6653,16 @@ void Ifc2x3::IfcCoordinatedUniversalTimeOffset::setHourOffset(const int& v) { se std::optional< int > Ifc2x3::IfcCoordinatedUniversalTimeOffset::MinuteOffset() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } int v = get_attribute_value(1); return v; } void Ifc2x3::IfcCoordinatedUniversalTimeOffset::setMinuteOffset(const std::optional< int >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc2x3::IfcAheadOrBehind::Value Ifc2x3::IfcCoordinatedUniversalTimeOffset::Sense() const { return ::Ifc2x3::IfcAheadOrBehind::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcCoordinatedUniversalTimeOffset::setSense(const ::Ifc2x3::IfcAheadOrBehind::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcAheadOrBehind::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc2x3::IfcCoordinatedUniversalTimeOffset::setSense(const ::Ifc2x3::IfcAheadOrBehind::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcAheadOrBehind::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcCoordinatedUniversalTimeOffset::Class() { return *((IfcParse::entity*)IFC2X3_types[171]); } -void Ifc2x3::IfcCoordinatedUniversalTimeOffset::initialize(int v1_HourOffset, std::optional< int > v2_MinuteOffset, ::Ifc2x3::IfcAheadOrBehind::Value v3_Sense) { set_attribute_value(0, (v1_HourOffset)); if (v2_MinuteOffset) {set_attribute_value(1, (*v2_MinuteOffset)); }set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcAheadOrBehind::Class(),(size_t)v3_Sense))); } +const ifcopenshell::entity& Ifc2x3::IfcCoordinatedUniversalTimeOffset::Class() { return *((ifcopenshell::entity*)IFC2X3_types[171]); } +void Ifc2x3::IfcCoordinatedUniversalTimeOffset::initialize(int v1_HourOffset, std::optional< int > v2_MinuteOffset, ::Ifc2x3::IfcAheadOrBehind::Value v3_Sense) { set_attribute_value(0, (v1_HourOffset)); if (v2_MinuteOffset) {set_attribute_value(1, (*v2_MinuteOffset)); }set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcAheadOrBehind::Class(),(size_t)v3_Sense))); } // Function implementations for IfcCostItem -const IfcParse::entity& Ifc2x3::IfcCostItem::Class() { return *((IfcParse::entity*)IFC2X3_types[172]); } +const ifcopenshell::entity& Ifc2x3::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[172]); } void Ifc2x3::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcCostSchedule @@ -6681,11 +6681,11 @@ void Ifc2x3::IfcCostSchedule::setUpdateDate(const ::Ifc2x3::IfcDateTimeSelect& v std::string Ifc2x3::IfcCostSchedule::ID() const { std::string v = get_attribute_value(11); return v; } void Ifc2x3::IfcCostSchedule::setID(const std::string& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } ::Ifc2x3::IfcCostScheduleTypeEnum::Value Ifc2x3::IfcCostSchedule::PredefinedType() const { return ::Ifc2x3::IfcCostScheduleTypeEnum::FromString(get_attribute_value(12)); } -void Ifc2x3::IfcCostSchedule::setPredefinedType(const ::Ifc2x3::IfcCostScheduleTypeEnum::Value& v) { set_attribute_value(12, EnumerationReference(&::Ifc2x3::IfcCostScheduleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(12); } +void Ifc2x3::IfcCostSchedule::setPredefinedType(const ::Ifc2x3::IfcCostScheduleTypeEnum::Value& v) { set_attribute_value(12, enumeration_reference(&::Ifc2x3::IfcCostScheduleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc2x3::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC2X3_types[173]); } -void Ifc2x3::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcActorSelect v6_SubmittedBy, ::Ifc2x3::IfcActorSelect v7_PreparedBy, ::Ifc2x3::IfcDateTimeSelect v8_SubmittedOn, std::optional< std::string > v9_Status, std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > v10_TargetUsers, ::Ifc2x3::IfcDateTimeSelect v11_UpdateDate, std::string v12_ID, ::Ifc2x3::IfcCostScheduleTypeEnum::Value v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_SubmittedBy));set_attribute_value(6, (v7_PreparedBy));set_attribute_value(7, (v8_SubmittedOn)); if (v9_Status) {set_attribute_value(8, (*v9_Status)); } if (v10_TargetUsers) {set_attribute_value(9, cast_vector(*v10_TargetUsers)); }set_attribute_value(10, (v11_UpdateDate));set_attribute_value(11, (v12_ID));set_attribute_value(12, (EnumerationReference(&::Ifc2x3::IfcCostScheduleTypeEnum::Class(),(size_t)v13_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC2X3_types[173]); } +void Ifc2x3::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcActorSelect v6_SubmittedBy, ::Ifc2x3::IfcActorSelect v7_PreparedBy, ::Ifc2x3::IfcDateTimeSelect v8_SubmittedOn, std::optional< std::string > v9_Status, std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > v10_TargetUsers, ::Ifc2x3::IfcDateTimeSelect v11_UpdateDate, std::string v12_ID, ::Ifc2x3::IfcCostScheduleTypeEnum::Value v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_SubmittedBy));set_attribute_value(6, (v7_PreparedBy));set_attribute_value(7, (v8_SubmittedOn)); if (v9_Status) {set_attribute_value(8, (*v9_Status)); } if (v10_TargetUsers) {set_attribute_value(9, cast_vector(*v10_TargetUsers)); }set_attribute_value(10, (v11_UpdateDate));set_attribute_value(11, (v12_ID));set_attribute_value(12, (enumeration_reference(&::Ifc2x3::IfcCostScheduleTypeEnum::Class(),(size_t)v13_PredefinedType))); } // Function implementations for IfcCostValue std::string Ifc2x3::IfcCostValue::CostType() const { std::string v = get_attribute_value(6); return v; } @@ -6694,26 +6694,26 @@ std::optional< std::string > Ifc2x3::IfcCostValue::Condition() const { if(get_at void Ifc2x3::IfcCostValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcCostValue::Class() { return *((IfcParse::entity*)IFC2X3_types[175]); } +const ifcopenshell::entity& Ifc2x3::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[175]); } void Ifc2x3::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc2x3::IfcMeasureWithUnit v4_UnitBasis, ::Ifc2x3::IfcDateTimeSelect v5_ApplicableDate, ::Ifc2x3::IfcDateTimeSelect v6_FixedUntilDate, std::string v7_CostType, std::optional< std::string > v8_Condition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis));set_attribute_value(4, (v5_ApplicableDate));set_attribute_value(5, (v6_FixedUntilDate));set_attribute_value(6, (v7_CostType)); if (v8_Condition) {set_attribute_value(7, (*v8_Condition)); } } // Function implementations for IfcCovering std::optional< ::Ifc2x3::IfcCoveringTypeEnum::Value > Ifc2x3::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcCovering::setPredefinedType(const std::optional< ::Ifc2x3::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc2x3::IfcCovering::setPredefinedType(const std::optional< ::Ifc2x3::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc2x3::IfcRelCoversSpaces> Ifc2x3::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[700], 5)); } -std::vector<::Ifc2x3::IfcRelCoversBldgElements> Ifc2x3::IfcCovering::Covers() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[699], 5)); } +std::vector<::Ifc2x3::IfcRelCoversSpaces> Ifc2x3::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[700], 5)); } +std::vector<::Ifc2x3::IfcRelCoversBldgElements> Ifc2x3::IfcCovering::Covers() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[699], 5)); } -const IfcParse::entity& Ifc2x3::IfcCovering::Class() { return *((IfcParse::entity*)IFC2X3_types[177]); } -void Ifc2x3::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc2x3::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC2X3_types[177]); } +void Ifc2x3::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc2x3::IfcCoveringTypeEnum::Value Ifc2x3::IfcCoveringType::PredefinedType() const { return ::Ifc2x3::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCoveringType::setPredefinedType(const ::Ifc2x3::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCoveringType::setPredefinedType(const ::Ifc2x3::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC2X3_types[178]); } -void Ifc2x3::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[178]); } +void Ifc2x3::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCraneRailAShapeProfileDef double Ifc2x3::IfcCraneRailAShapeProfileDef::OverallHeight() const { double v = get_attribute_value(3); return v; } @@ -6742,8 +6742,8 @@ std::optional< double > Ifc2x3::IfcCraneRailAShapeProfileDef::CentreOfGravityInY void Ifc2x3::IfcCraneRailAShapeProfileDef::setCentreOfGravityInY(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc2x3::IfcCraneRailAShapeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[180]); } -void Ifc2x3::IfcCraneRailAShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallHeight, double v5_BaseWidth2, std::optional< double > v6_Radius, double v7_HeadWidth, double v8_HeadDepth2, double v9_HeadDepth3, double v10_WebThickness, double v11_BaseWidth4, double v12_BaseDepth1, double v13_BaseDepth2, double v14_BaseDepth3, std::optional< double > v15_CentreOfGravityInY) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_OverallHeight));set_attribute_value(4, (v5_BaseWidth2)); if (v6_Radius) {set_attribute_value(5, (*v6_Radius)); }set_attribute_value(6, (v7_HeadWidth));set_attribute_value(7, (v8_HeadDepth2));set_attribute_value(8, (v9_HeadDepth3));set_attribute_value(9, (v10_WebThickness));set_attribute_value(10, (v11_BaseWidth4));set_attribute_value(11, (v12_BaseDepth1));set_attribute_value(12, (v13_BaseDepth2));set_attribute_value(13, (v14_BaseDepth3)); if (v15_CentreOfGravityInY) {set_attribute_value(14, (*v15_CentreOfGravityInY)); } } +const ifcopenshell::entity& Ifc2x3::IfcCraneRailAShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[180]); } +void Ifc2x3::IfcCraneRailAShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallHeight, double v5_BaseWidth2, std::optional< double > v6_Radius, double v7_HeadWidth, double v8_HeadDepth2, double v9_HeadDepth3, double v10_WebThickness, double v11_BaseWidth4, double v12_BaseDepth1, double v13_BaseDepth2, double v14_BaseDepth3, std::optional< double > v15_CentreOfGravityInY) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_OverallHeight));set_attribute_value(4, (v5_BaseWidth2)); if (v6_Radius) {set_attribute_value(5, (*v6_Radius)); }set_attribute_value(6, (v7_HeadWidth));set_attribute_value(7, (v8_HeadDepth2));set_attribute_value(8, (v9_HeadDepth3));set_attribute_value(9, (v10_WebThickness));set_attribute_value(10, (v11_BaseWidth4));set_attribute_value(11, (v12_BaseDepth1));set_attribute_value(12, (v13_BaseDepth2));set_attribute_value(13, (v14_BaseDepth3)); if (v15_CentreOfGravityInY) {set_attribute_value(14, (*v15_CentreOfGravityInY)); } } // Function implementations for IfcCraneRailFShapeProfileDef double Ifc2x3::IfcCraneRailFShapeProfileDef::OverallHeight() const { double v = get_attribute_value(3); return v; } @@ -6766,21 +6766,21 @@ std::optional< double > Ifc2x3::IfcCraneRailFShapeProfileDef::CentreOfGravityInY void Ifc2x3::IfcCraneRailFShapeProfileDef::setCentreOfGravityInY(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc2x3::IfcCraneRailFShapeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[181]); } -void Ifc2x3::IfcCraneRailFShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallHeight, double v5_HeadWidth, std::optional< double > v6_Radius, double v7_HeadDepth2, double v8_HeadDepth3, double v9_WebThickness, double v10_BaseDepth1, double v11_BaseDepth2, std::optional< double > v12_CentreOfGravityInY) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_OverallHeight));set_attribute_value(4, (v5_HeadWidth)); if (v6_Radius) {set_attribute_value(5, (*v6_Radius)); }set_attribute_value(6, (v7_HeadDepth2));set_attribute_value(7, (v8_HeadDepth3));set_attribute_value(8, (v9_WebThickness));set_attribute_value(9, (v10_BaseDepth1));set_attribute_value(10, (v11_BaseDepth2)); if (v12_CentreOfGravityInY) {set_attribute_value(11, (*v12_CentreOfGravityInY)); } } +const ifcopenshell::entity& Ifc2x3::IfcCraneRailFShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[181]); } +void Ifc2x3::IfcCraneRailFShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallHeight, double v5_HeadWidth, std::optional< double > v6_Radius, double v7_HeadDepth2, double v8_HeadDepth3, double v9_WebThickness, double v10_BaseDepth1, double v11_BaseDepth2, std::optional< double > v12_CentreOfGravityInY) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_OverallHeight));set_attribute_value(4, (v5_HeadWidth)); if (v6_Radius) {set_attribute_value(5, (*v6_Radius)); }set_attribute_value(6, (v7_HeadDepth2));set_attribute_value(7, (v8_HeadDepth3));set_attribute_value(8, (v9_WebThickness));set_attribute_value(9, (v10_BaseDepth1));set_attribute_value(10, (v11_BaseDepth2)); if (v12_CentreOfGravityInY) {set_attribute_value(11, (*v12_CentreOfGravityInY)); } } // Function implementations for IfcCrewResource -const IfcParse::entity& Ifc2x3::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC2X3_types[182]); } -void Ifc2x3::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); } +const ifcopenshell::entity& Ifc2x3::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[182]); } +void Ifc2x3::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); } // Function implementations for IfcCsgPrimitive3D ::Ifc2x3::IfcAxis2Placement3D Ifc2x3::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcAxis2Placement3D>(); } void Ifc2x3::IfcCsgPrimitive3D::setPosition(const ::Ifc2x3::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC2X3_types[183]); } +const ifcopenshell::entity& Ifc2x3::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC2X3_types[183]); } void Ifc2x3::IfcCsgPrimitive3D::initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -6788,7 +6788,7 @@ void Ifc2x3::IfcCsgPrimitive3D::initialize(::Ifc2x3::IfcAxis2Placement3D v1_Posi void Ifc2x3::IfcCsgSolid::setTreeRootExpression(const ::Ifc2x3::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC2X3_types[185]); } +const ifcopenshell::entity& Ifc2x3::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC2X3_types[185]); } void Ifc2x3::IfcCsgSolid::initialize(::Ifc2x3::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -6804,27 +6804,27 @@ void Ifc2x3::IfcCurrencyRelationship::setRateDateTime(const ::Ifc2x3::IfcDateAnd void Ifc2x3::IfcCurrencyRelationship::setRateSource(const ::Ifc2x3::IfcLibraryInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[188]); } +const ifcopenshell::entity& Ifc2x3::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[188]); } void Ifc2x3::IfcCurrencyRelationship::initialize(::Ifc2x3::IfcMonetaryUnit v1_RelatingMonetaryUnit, ::Ifc2x3::IfcMonetaryUnit v2_RelatedMonetaryUnit, double v3_ExchangeRate, ::Ifc2x3::IfcDateAndTime v4_RateDateTime, ::Ifc2x3::IfcLibraryInformation v5_RateSource) { set_attribute_value(0, (v1_RelatingMonetaryUnit));set_attribute_value(1, (v2_RelatedMonetaryUnit));set_attribute_value(2, (v3_ExchangeRate));set_attribute_value(3, (v4_RateDateTime));set_attribute_value(4, (v5_RateSource)); } // Function implementations for IfcCurtainWall -const IfcParse::entity& Ifc2x3::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC2X3_types[189]); } +const ifcopenshell::entity& Ifc2x3::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC2X3_types[189]); } void Ifc2x3::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCurtainWallType ::Ifc2x3::IfcCurtainWallTypeEnum::Value Ifc2x3::IfcCurtainWallType::PredefinedType() const { return ::Ifc2x3::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcCurtainWallType::setPredefinedType(const ::Ifc2x3::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcCurtainWallType::setPredefinedType(const ::Ifc2x3::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC2X3_types[190]); } -void Ifc2x3::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[190]); } +void Ifc2x3::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc2x3::IfcCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[193]); } +const ifcopenshell::entity& Ifc2x3::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[193]); } void Ifc2x3::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -6836,7 +6836,7 @@ std::vector< ::Ifc2x3::IfcCurve > Ifc2x3::IfcCurveBoundedPlane::InnerBoundaries( void Ifc2x3::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc2x3::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC2X3_types[194]); } +const ifcopenshell::entity& Ifc2x3::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC2X3_types[194]); } void Ifc2x3::IfcCurveBoundedPlane::initialize(::Ifc2x3::IfcPlane v1_BasisSurface, ::Ifc2x3::IfcCurve v2_OuterBoundary, std::vector< ::Ifc2x3::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveStyle @@ -6848,7 +6848,7 @@ void Ifc2x3::IfcCurveStyle::setCurveWidth(const ::Ifc2x3::IfcSizeSelect& v) { se void Ifc2x3::IfcCurveStyle::setCurveColour(const ::Ifc2x3::IfcColour& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[197]); } +const ifcopenshell::entity& Ifc2x3::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[197]); } void Ifc2x3::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc2x3::IfcSizeSelect v3_CurveWidth, ::Ifc2x3::IfcColour v4_CurveColour) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); } // Function implementations for IfcCurveStyleFont @@ -6858,7 +6858,7 @@ std::vector< ::Ifc2x3::IfcCurveStyleFontPattern > Ifc2x3::IfcCurveStyleFont::Pat void Ifc2x3::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc2x3::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC2X3_types[198]); } +const ifcopenshell::entity& Ifc2x3::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC2X3_types[198]); } void Ifc2x3::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc2x3::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -6870,7 +6870,7 @@ double Ifc2x3::IfcCurveStyleFontAndScaling::CurveFontScaling() const { double v void Ifc2x3::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC2X3_types[199]); } +const ifcopenshell::entity& Ifc2x3::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC2X3_types[199]); } void Ifc2x3::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -6880,16 +6880,16 @@ double Ifc2x3::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { doubl void Ifc2x3::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC2X3_types[200]); } +const ifcopenshell::entity& Ifc2x3::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC2X3_types[200]); } void Ifc2x3::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcDamperType ::Ifc2x3::IfcDamperTypeEnum::Value Ifc2x3::IfcDamperType::PredefinedType() const { return ::Ifc2x3::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcDamperType::setPredefinedType(const ::Ifc2x3::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcDamperType::setPredefinedType(const ::Ifc2x3::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcDamperType::Class() { return *((IfcParse::entity*)IFC2X3_types[202]); } -void Ifc2x3::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[202]); } +void Ifc2x3::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDateAndTime ::Ifc2x3::IfcCalendarDate Ifc2x3::IfcDateAndTime::DateComponent() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcCalendarDate>(); } @@ -6898,7 +6898,7 @@ void Ifc2x3::IfcDateAndTime::setDateComponent(const ::Ifc2x3::IfcCalendarDate& v void Ifc2x3::IfcDateAndTime::setTimeComponent(const ::Ifc2x3::IfcLocalTime& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcDateAndTime::Class() { return *((IfcParse::entity*)IFC2X3_types[205]); } +const ifcopenshell::entity& Ifc2x3::IfcDateAndTime::Class() { return *((ifcopenshell::entity*)IFC2X3_types[205]); } void Ifc2x3::IfcDateAndTime::initialize(::Ifc2x3::IfcCalendarDate v1_DateComponent, ::Ifc2x3::IfcLocalTime v2_TimeComponent) { set_attribute_value(0, (v1_DateComponent));set_attribute_value(1, (v2_TimeComponent)); } // Function implementations for IfcDefinedSymbol @@ -6908,7 +6908,7 @@ void Ifc2x3::IfcDefinedSymbol::setDefinition(const ::Ifc2x3::IfcDefinedSymbolSel void Ifc2x3::IfcDefinedSymbol::setTarget(const ::Ifc2x3::IfcCartesianTransformationOperator2D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcDefinedSymbol::Class() { return *((IfcParse::entity*)IFC2X3_types[209]); } +const ifcopenshell::entity& Ifc2x3::IfcDefinedSymbol::Class() { return *((ifcopenshell::entity*)IFC2X3_types[209]); } void Ifc2x3::IfcDefinedSymbol::initialize(::Ifc2x3::IfcDefinedSymbolSelect v1_Definition, ::Ifc2x3::IfcCartesianTransformationOperator2D v2_Target) { set_attribute_value(0, (v1_Definition));set_attribute_value(1, (v2_Target)); } // Function implementations for IfcDerivedProfileDef @@ -6920,20 +6920,20 @@ std::optional< std::string > Ifc2x3::IfcDerivedProfileDef::Label() const { if(ge void Ifc2x3::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[212]); } -void Ifc2x3::IfcDerivedProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcProfileDef v3_ParentProfile, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc2x3::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[212]); } +void Ifc2x3::IfcDerivedProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcProfileDef v3_ParentProfile, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc2x3::IfcDerivedUnitElement > Ifc2x3::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc2x3::IfcDerivedUnitElement>(es); } void Ifc2x3::IfcDerivedUnit::setElements(const std::vector< ::Ifc2x3::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc2x3::IfcDerivedUnitEnum::Value Ifc2x3::IfcDerivedUnit::UnitType() const { return ::Ifc2x3::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc2x3::IfcDerivedUnit::setUnitType(const ::Ifc2x3::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc2x3::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc2x3::IfcDerivedUnit::setUnitType(const ::Ifc2x3::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc2x3::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc2x3::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc2x3::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc2x3::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC2X3_types[213]); } -void Ifc2x3::IfcDerivedUnit::initialize(std::vector< ::Ifc2x3::IfcDerivedUnitElement > v1_Elements, ::Ifc2x3::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc2x3::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } +const ifcopenshell::entity& Ifc2x3::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC2X3_types[213]); } +void Ifc2x3::IfcDerivedUnit::initialize(std::vector< ::Ifc2x3::IfcDerivedUnitElement > v1_Elements, ::Ifc2x3::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc2x3::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } // Function implementations for IfcDerivedUnitElement ::Ifc2x3::IfcNamedUnit Ifc2x3::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcNamedUnit>(); } @@ -6942,46 +6942,46 @@ int Ifc2x3::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_val void Ifc2x3::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC2X3_types[214]); } +const ifcopenshell::entity& Ifc2x3::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[214]); } void Ifc2x3::IfcDerivedUnitElement::initialize(::Ifc2x3::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDiameterDimension -const IfcParse::entity& Ifc2x3::IfcDiameterDimension::Class() { return *((IfcParse::entity*)IFC2X3_types[217]); } +const ifcopenshell::entity& Ifc2x3::IfcDiameterDimension::Class() { return *((ifcopenshell::entity*)IFC2X3_types[217]); } void Ifc2x3::IfcDiameterDimension::initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents) { set_attribute_value(0, cast_vector(v1_Contents)); } // Function implementations for IfcDimensionCalloutRelationship -const IfcParse::entity& Ifc2x3::IfcDimensionCalloutRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[219]); } +const ifcopenshell::entity& Ifc2x3::IfcDimensionCalloutRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[219]); } void Ifc2x3::IfcDimensionCalloutRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDraughtingCallout v3_RelatingDraughtingCallout, ::Ifc2x3::IfcDraughtingCallout v4_RelatedDraughtingCallout) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDraughtingCallout));set_attribute_value(3, (v4_RelatedDraughtingCallout)); } // Function implementations for IfcDimensionCurve -std::vector<::Ifc2x3::IfcTerminatorSymbol> Ifc2x3::IfcDimensionCurve::AnnotatedBySymbols() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[878], 3)); } +std::vector<::Ifc2x3::IfcTerminatorSymbol> Ifc2x3::IfcDimensionCurve::AnnotatedBySymbols() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[878], 3)); } -const IfcParse::entity& Ifc2x3::IfcDimensionCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[221]); } +const ifcopenshell::entity& Ifc2x3::IfcDimensionCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[221]); } void Ifc2x3::IfcDimensionCurve::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcDimensionCurveDirectedCallout -const IfcParse::entity& Ifc2x3::IfcDimensionCurveDirectedCallout::Class() { return *((IfcParse::entity*)IFC2X3_types[222]); } +const ifcopenshell::entity& Ifc2x3::IfcDimensionCurveDirectedCallout::Class() { return *((ifcopenshell::entity*)IFC2X3_types[222]); } void Ifc2x3::IfcDimensionCurveDirectedCallout::initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents) { set_attribute_value(0, cast_vector(v1_Contents)); } // Function implementations for IfcDimensionCurveTerminator ::Ifc2x3::IfcDimensionExtentUsage::Value Ifc2x3::IfcDimensionCurveTerminator::Role() const { return ::Ifc2x3::IfcDimensionExtentUsage::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcDimensionCurveTerminator::setRole(const ::Ifc2x3::IfcDimensionExtentUsage::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcDimensionExtentUsage::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc2x3::IfcDimensionCurveTerminator::setRole(const ::Ifc2x3::IfcDimensionExtentUsage::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcDimensionExtentUsage::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcDimensionCurveTerminator::Class() { return *((IfcParse::entity*)IFC2X3_types[223]); } -void Ifc2x3::IfcDimensionCurveTerminator::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name, ::Ifc2x3::IfcAnnotationCurveOccurrence v4_AnnotatedCurve, ::Ifc2x3::IfcDimensionExtentUsage::Value v5_Role) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); }set_attribute_value(3, (v4_AnnotatedCurve));set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcDimensionExtentUsage::Class(),(size_t)v5_Role))); } +const ifcopenshell::entity& Ifc2x3::IfcDimensionCurveTerminator::Class() { return *((ifcopenshell::entity*)IFC2X3_types[223]); } +void Ifc2x3::IfcDimensionCurveTerminator::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name, ::Ifc2x3::IfcAnnotationCurveOccurrence v4_AnnotatedCurve, ::Ifc2x3::IfcDimensionExtentUsage::Value v5_Role) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); }set_attribute_value(3, (v4_AnnotatedCurve));set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcDimensionExtentUsage::Class(),(size_t)v5_Role))); } // Function implementations for IfcDimensionPair -const IfcParse::entity& Ifc2x3::IfcDimensionPair::Class() { return *((IfcParse::entity*)IFC2X3_types[225]); } +const ifcopenshell::entity& Ifc2x3::IfcDimensionPair::Class() { return *((ifcopenshell::entity*)IFC2X3_types[225]); } void Ifc2x3::IfcDimensionPair::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDraughtingCallout v3_RelatingDraughtingCallout, ::Ifc2x3::IfcDraughtingCallout v4_RelatedDraughtingCallout) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDraughtingCallout));set_attribute_value(3, (v4_RelatedDraughtingCallout)); } // Function implementations for IfcDimensionalExponents @@ -7001,7 +7001,7 @@ int Ifc2x3::IfcDimensionalExponents::LuminousIntensityExponent() const { int v void Ifc2x3::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC2X3_types[218]); } +const ifcopenshell::entity& Ifc2x3::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC2X3_types[218]); } void Ifc2x3::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -7009,82 +7009,82 @@ std::vector< double > /*[2:3]*/ Ifc2x3::IfcDirection::DirectionRatios() const { void Ifc2x3::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcDirection::Class() { return *((IfcParse::entity*)IFC2X3_types[226]); } +const ifcopenshell::entity& Ifc2x3::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC2X3_types[226]); } void Ifc2x3::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDiscreteAccessory -const IfcParse::entity& Ifc2x3::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC2X3_types[228]); } +const ifcopenshell::entity& Ifc2x3::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC2X3_types[228]); } void Ifc2x3::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDiscreteAccessoryType -const IfcParse::entity& Ifc2x3::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC2X3_types[229]); } +const ifcopenshell::entity& Ifc2x3::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[229]); } void Ifc2x3::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionChamberElement -const IfcParse::entity& Ifc2x3::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC2X3_types[230]); } +const ifcopenshell::entity& Ifc2x3::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[230]); } void Ifc2x3::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionChamberElementType ::Ifc2x3::IfcDistributionChamberElementTypeEnum::Value Ifc2x3::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc2x3::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc2x3::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc2x3::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[231]); } -void Ifc2x3::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[231]); } +void Ifc2x3::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionControlElement std::optional< std::string > Ifc2x3::IfcDistributionControlElement::ControlElementId() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc2x3::IfcDistributionControlElement::setControlElementId(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc2x3::IfcRelFlowControlElements> Ifc2x3::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[706], 4)); } +std::vector<::Ifc2x3::IfcRelFlowControlElements> Ifc2x3::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[706], 4)); } -const IfcParse::entity& Ifc2x3::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC2X3_types[233]); } +const ifcopenshell::entity& Ifc2x3::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[233]); } void Ifc2x3::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ControlElementId) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ControlElementId) {set_attribute_value(8, (*v9_ControlElementId)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc2x3::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[234]); } +const ifcopenshell::entity& Ifc2x3::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[234]); } void Ifc2x3::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -const IfcParse::entity& Ifc2x3::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC2X3_types[235]); } +const ifcopenshell::entity& Ifc2x3::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[235]); } void Ifc2x3::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc2x3::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[236]); } +const ifcopenshell::entity& Ifc2x3::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[236]); } void Ifc2x3::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc2x3::IfcRelFlowControlElements> Ifc2x3::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[706], 5)); } +std::vector<::Ifc2x3::IfcRelFlowControlElements> Ifc2x3::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[706], 5)); } -const IfcParse::entity& Ifc2x3::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC2X3_types[237]); } +const ifcopenshell::entity& Ifc2x3::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[237]); } void Ifc2x3::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc2x3::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[238]); } +const ifcopenshell::entity& Ifc2x3::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[238]); } void Ifc2x3::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc2x3::IfcFlowDirectionEnum::Value > Ifc2x3::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc2x3::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc2x3::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc2x3::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC2X3_types[239]); } -void Ifc2x3::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc2x3::IfcFlowDirectionEnum::Value > v8_FlowDirection) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } } +const ifcopenshell::entity& Ifc2x3::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC2X3_types[239]); } +void Ifc2x3::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc2x3::IfcFlowDirectionEnum::Value > v8_FlowDirection) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } } // Function implementations for IfcDocumentElectronicFormat std::optional< std::string > Ifc2x3::IfcDocumentElectronicFormat::FileExtension() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -7095,7 +7095,7 @@ std::optional< std::string > Ifc2x3::IfcDocumentElectronicFormat::MimeSubtype() void Ifc2x3::IfcDocumentElectronicFormat::setMimeSubtype(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc2x3::IfcDocumentElectronicFormat::Class() { return *((IfcParse::entity*)IFC2X3_types[241]); } +const ifcopenshell::entity& Ifc2x3::IfcDocumentElectronicFormat::Class() { return *((ifcopenshell::entity*)IFC2X3_types[241]); } void Ifc2x3::IfcDocumentElectronicFormat::initialize(std::optional< std::string > v1_FileExtension, std::optional< std::string > v2_MimeContentType, std::optional< std::string > v3_MimeSubtype) { if (v1_FileExtension) {set_attribute_value(0, (*v1_FileExtension)); } if (v2_MimeContentType) {set_attribute_value(1, (*v2_MimeContentType)); } if (v3_MimeSubtype) {set_attribute_value(2, (*v3_MimeSubtype)); } } // Function implementations for IfcDocumentInformation @@ -7130,15 +7130,15 @@ void Ifc2x3::IfcDocumentInformation::setValidFrom(const ::Ifc2x3::IfcCalendarDat ::Ifc2x3::IfcCalendarDate Ifc2x3::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return ::Ifc2x3::IfcCalendarDate{}; } return ((express::Base)(get_attribute_value(14))).as<::Ifc2x3::IfcCalendarDate>(); } void Ifc2x3::IfcDocumentInformation::setValidUntil(const ::Ifc2x3::IfcCalendarDate& v) { set_attribute_value(14, v);if constexpr (false)unset_attribute_value(14); } std::optional< ::Ifc2x3::IfcDocumentConfidentialityEnum::Value > Ifc2x3::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc2x3::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc2x3::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc2x3::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc2x3::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc2x3::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc2x3::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc2x3::IfcDocumentStatusEnum::Value > Ifc2x3::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc2x3::IfcDocumentInformation::setStatus(const std::optional< ::Ifc2x3::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc2x3::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc2x3::IfcDocumentInformation::setStatus(const std::optional< ::Ifc2x3::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc2x3::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc2x3::IfcDocumentInformationRelationship> Ifc2x3::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[243], 1)); } -std::vector<::Ifc2x3::IfcDocumentInformationRelationship> Ifc2x3::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[243], 0)); } +std::vector<::Ifc2x3::IfcDocumentInformationRelationship> Ifc2x3::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[243], 1)); } +std::vector<::Ifc2x3::IfcDocumentInformationRelationship> Ifc2x3::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[243], 0)); } -const IfcParse::entity& Ifc2x3::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC2X3_types[242]); } -void Ifc2x3::IfcDocumentInformation::initialize(std::string v1_DocumentId, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc2x3::IfcDocumentReference > > v4_DocumentReferences, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc2x3::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > v10_Editors, ::Ifc2x3::IfcDateAndTime v11_CreationTime, ::Ifc2x3::IfcDateAndTime v12_LastRevisionTime, ::Ifc2x3::IfcDocumentElectronicFormat v13_ElectronicFormat, ::Ifc2x3::IfcCalendarDate v14_ValidFrom, ::Ifc2x3::IfcCalendarDate v15_ValidUntil, std::optional< ::Ifc2x3::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc2x3::IfcDocumentStatusEnum::Value > v17_Status) { set_attribute_value(0, (v1_DocumentId));set_attribute_value(1, (v2_Name)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_DocumentReferences) {set_attribute_value(3, cast_vector(*v4_DocumentReferences)); } 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); }set_attribute_value(10, (v11_CreationTime));set_attribute_value(11, (v12_LastRevisionTime));set_attribute_value(12, (v13_ElectronicFormat));set_attribute_value(13, (v14_ValidFrom));set_attribute_value(14, (v15_ValidUntil)); if (v16_Confidentiality) {set_attribute_value(15, (EnumerationReference(&::Ifc2x3::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc2x3::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc2x3::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[242]); } +void Ifc2x3::IfcDocumentInformation::initialize(std::string v1_DocumentId, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc2x3::IfcDocumentReference > > v4_DocumentReferences, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc2x3::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > v10_Editors, ::Ifc2x3::IfcDateAndTime v11_CreationTime, ::Ifc2x3::IfcDateAndTime v12_LastRevisionTime, ::Ifc2x3::IfcDocumentElectronicFormat v13_ElectronicFormat, ::Ifc2x3::IfcCalendarDate v14_ValidFrom, ::Ifc2x3::IfcCalendarDate v15_ValidUntil, std::optional< ::Ifc2x3::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc2x3::IfcDocumentStatusEnum::Value > v17_Status) { set_attribute_value(0, (v1_DocumentId));set_attribute_value(1, (v2_Name)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_DocumentReferences) {set_attribute_value(3, cast_vector(*v4_DocumentReferences)); } 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); }set_attribute_value(10, (v11_CreationTime));set_attribute_value(11, (v12_LastRevisionTime));set_attribute_value(12, (v13_ElectronicFormat));set_attribute_value(13, (v14_ValidFrom));set_attribute_value(14, (v15_ValidUntil)); if (v16_Confidentiality) {set_attribute_value(15, (enumeration_reference(&::Ifc2x3::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc2x3::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc2x3::IfcDocumentInformation Ifc2x3::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcDocumentInformation>(); } @@ -7149,14 +7149,14 @@ std::optional< std::string > Ifc2x3::IfcDocumentInformationRelationship::Relatio void Ifc2x3::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc2x3::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[243]); } +const ifcopenshell::entity& Ifc2x3::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[243]); } void Ifc2x3::IfcDocumentInformationRelationship::initialize(::Ifc2x3::IfcDocumentInformation v1_RelatingDocument, std::vector< ::Ifc2x3::IfcDocumentInformation > v2_RelatedDocuments, std::optional< std::string > v3_RelationshipType) { set_attribute_value(0, (v1_RelatingDocument));set_attribute_value(1, cast_vector(v2_RelatedDocuments)); if (v3_RelationshipType) {set_attribute_value(2, (*v3_RelationshipType)); } } // Function implementations for IfcDocumentReference -std::vector<::Ifc2x3::IfcDocumentInformation> Ifc2x3::IfcDocumentReference::ReferenceToDocument() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[242], 3)); } +std::vector<::Ifc2x3::IfcDocumentInformation> Ifc2x3::IfcDocumentReference::ReferenceToDocument() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[242], 3)); } -const IfcParse::entity& Ifc2x3::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC2X3_types[244]); } +const ifcopenshell::entity& Ifc2x3::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC2X3_types[244]); } void Ifc2x3::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_ItemReference) {set_attribute_value(1, (*v2_ItemReference)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcDoor @@ -7166,7 +7166,7 @@ std::optional< double > Ifc2x3::IfcDoor::OverallWidth() const { if(get_attribute void Ifc2x3::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcDoor::Class() { return *((IfcParse::entity*)IFC2X3_types[247]); } +const ifcopenshell::entity& Ifc2x3::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC2X3_types[247]); } void Ifc2x3::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } } // Function implementations for IfcDoorLiningProperties @@ -7194,47 +7194,47 @@ void Ifc2x3::IfcDoorLiningProperties::setCasingDepth(const std::optional< double void Ifc2x3::IfcDoorLiningProperties::setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v) { set_attribute_value(14, v);if constexpr (false)unset_attribute_value(14); } -const IfcParse::entity& Ifc2x3::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[248]); } +const ifcopenshell::entity& Ifc2x3::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[248]); } void Ifc2x3::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc2x3::IfcShapeAspect v15_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc2x3::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc2x3::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc2x3::IfcDoorPanelOperationEnum::Value Ifc2x3::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc2x3::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcDoorPanelProperties::setPanelOperation(const ::Ifc2x3::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcDoorPanelProperties::setPanelOperation(const ::Ifc2x3::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc2x3::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc2x3::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc2x3::IfcDoorPanelPositionEnum::Value Ifc2x3::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc2x3::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcDoorPanelProperties::setPanelPosition(const ::Ifc2x3::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc2x3::IfcDoorPanelProperties::setPanelPosition(const ::Ifc2x3::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc2x3::IfcShapeAspect Ifc2x3::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc2x3::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc2x3::IfcShapeAspect>(); } void Ifc2x3::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[251]); } -void Ifc2x3::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc2x3::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc2x3::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc2x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc2x3::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc2x3::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[251]); } +void Ifc2x3::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc2x3::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc2x3::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc2x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc2x3::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorStyle ::Ifc2x3::IfcDoorStyleOperationEnum::Value Ifc2x3::IfcDoorStyle::OperationType() const { return ::Ifc2x3::IfcDoorStyleOperationEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcDoorStyle::setOperationType(const ::Ifc2x3::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcDoorStyle::setOperationType(const ::Ifc2x3::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc2x3::IfcDoorStyleConstructionEnum::Value Ifc2x3::IfcDoorStyle::ConstructionType() const { return ::Ifc2x3::IfcDoorStyleConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcDoorStyle::setConstructionType(const ::Ifc2x3::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcDoorStyle::setConstructionType(const ::Ifc2x3::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc2x3::IfcDoorStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc2x3::IfcDoorStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc2x3::IfcDoorStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc2x3::IfcDoorStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc2x3::IfcDoorStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[252]); } -void Ifc2x3::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc2x3::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc2x3::IfcDoorStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[252]); } +void Ifc2x3::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc2x3::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcDraughtingCallout std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > Ifc2x3::IfcDraughtingCallout::Contents() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc2x3::IfcDraughtingCalloutElement>(es); } void Ifc2x3::IfcDraughtingCallout::setContents(const std::vector< ::Ifc2x3::IfcDraughtingCalloutElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc2x3::IfcDraughtingCalloutRelationship> Ifc2x3::IfcDraughtingCallout::IsRelatedFromCallout() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[258], 3)); } -std::vector<::Ifc2x3::IfcDraughtingCalloutRelationship> Ifc2x3::IfcDraughtingCallout::IsRelatedToCallout() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[258], 2)); } +std::vector<::Ifc2x3::IfcDraughtingCalloutRelationship> Ifc2x3::IfcDraughtingCallout::IsRelatedFromCallout() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[258], 3)); } +std::vector<::Ifc2x3::IfcDraughtingCalloutRelationship> Ifc2x3::IfcDraughtingCallout::IsRelatedToCallout() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[258], 2)); } -const IfcParse::entity& Ifc2x3::IfcDraughtingCallout::Class() { return *((IfcParse::entity*)IFC2X3_types[256]); } +const ifcopenshell::entity& Ifc2x3::IfcDraughtingCallout::Class() { return *((ifcopenshell::entity*)IFC2X3_types[256]); } void Ifc2x3::IfcDraughtingCallout::initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents) { set_attribute_value(0, cast_vector(v1_Contents)); } // Function implementations for IfcDraughtingCalloutRelationship @@ -7248,50 +7248,50 @@ void Ifc2x3::IfcDraughtingCalloutRelationship::setRelatingDraughtingCallout(cons void Ifc2x3::IfcDraughtingCalloutRelationship::setRelatedDraughtingCallout(const ::Ifc2x3::IfcDraughtingCallout& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcDraughtingCalloutRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[258]); } +const ifcopenshell::entity& Ifc2x3::IfcDraughtingCalloutRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[258]); } void Ifc2x3::IfcDraughtingCalloutRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDraughtingCallout v3_RelatingDraughtingCallout, ::Ifc2x3::IfcDraughtingCallout v4_RelatedDraughtingCallout) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDraughtingCallout));set_attribute_value(3, (v4_RelatedDraughtingCallout)); } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc2x3::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC2X3_types[259]); } +const ifcopenshell::entity& Ifc2x3::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC2X3_types[259]); } void Ifc2x3::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc2x3::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC2X3_types[260]); } +const ifcopenshell::entity& Ifc2x3::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC2X3_types[260]); } void Ifc2x3::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedTextFont -const IfcParse::entity& Ifc2x3::IfcDraughtingPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC2X3_types[261]); } +const ifcopenshell::entity& Ifc2x3::IfcDraughtingPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC2X3_types[261]); } void Ifc2x3::IfcDraughtingPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFittingType ::Ifc2x3::IfcDuctFittingTypeEnum::Value Ifc2x3::IfcDuctFittingType::PredefinedType() const { return ::Ifc2x3::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcDuctFittingType::setPredefinedType(const ::Ifc2x3::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcDuctFittingType::setPredefinedType(const ::Ifc2x3::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC2X3_types[262]); } -void Ifc2x3::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[262]); } +void Ifc2x3::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegmentType ::Ifc2x3::IfcDuctSegmentTypeEnum::Value Ifc2x3::IfcDuctSegmentType::PredefinedType() const { return ::Ifc2x3::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcDuctSegmentType::setPredefinedType(const ::Ifc2x3::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcDuctSegmentType::setPredefinedType(const ::Ifc2x3::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC2X3_types[264]); } -void Ifc2x3::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[264]); } +void Ifc2x3::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencerType ::Ifc2x3::IfcDuctSilencerTypeEnum::Value Ifc2x3::IfcDuctSilencerType::PredefinedType() const { return ::Ifc2x3::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcDuctSilencerType::setPredefinedType(const ::Ifc2x3::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcDuctSilencerType::setPredefinedType(const ::Ifc2x3::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC2X3_types[266]); } -void Ifc2x3::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[266]); } +void Ifc2x3::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEdge ::Ifc2x3::IfcVertex Ifc2x3::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcVertex>(); } @@ -7300,7 +7300,7 @@ void Ifc2x3::IfcEdge::setEdgeStart(const ::Ifc2x3::IfcVertex& v) { set_attribute void Ifc2x3::IfcEdge::setEdgeEnd(const ::Ifc2x3::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcEdge::Class() { return *((IfcParse::entity*)IFC2X3_types[269]); } +const ifcopenshell::entity& Ifc2x3::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC2X3_types[269]); } void Ifc2x3::IfcEdge::initialize(::Ifc2x3::IfcVertex v1_EdgeStart, ::Ifc2x3::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -7310,7 +7310,7 @@ bool Ifc2x3::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value(3); void Ifc2x3::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[270]); } +const ifcopenshell::entity& Ifc2x3::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[270]); } void Ifc2x3::IfcEdgeCurve::initialize(::Ifc2x3::IfcVertex v1_EdgeStart, ::Ifc2x3::IfcVertex v2_EdgeEnd, ::Ifc2x3::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeFeature @@ -7318,7 +7318,7 @@ std::optional< double > Ifc2x3::IfcEdgeFeature::FeatureLength() const { if(get_a void Ifc2x3::IfcEdgeFeature::setFeatureLength(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcEdgeFeature::Class() { return *((IfcParse::entity*)IFC2X3_types[271]); } +const ifcopenshell::entity& Ifc2x3::IfcEdgeFeature::Class() { return *((ifcopenshell::entity*)IFC2X3_types[271]); } void Ifc2x3::IfcEdgeFeature::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_FeatureLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_FeatureLength) {set_attribute_value(8, (*v9_FeatureLength)); } } // Function implementations for IfcEdgeLoop @@ -7326,70 +7326,70 @@ std::vector< ::Ifc2x3::IfcOrientedEdge > Ifc2x3::IfcEdgeLoop::EdgeList() const { void Ifc2x3::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc2x3::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC2X3_types[272]); } +const ifcopenshell::entity& Ifc2x3::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC2X3_types[272]); } void Ifc2x3::IfcEdgeLoop::initialize(std::vector< ::Ifc2x3::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricApplianceType ::Ifc2x3::IfcElectricApplianceTypeEnum::Value Ifc2x3::IfcElectricApplianceType::PredefinedType() const { return ::Ifc2x3::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcElectricApplianceType::setPredefinedType(const ::Ifc2x3::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcElectricApplianceType::setPredefinedType(const ::Ifc2x3::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC2X3_types[276]); } -void Ifc2x3::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[276]); } +void Ifc2x3::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionPoint ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value Ifc2x3::IfcElectricDistributionPoint::DistributionPointFunction() const { return ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcElectricDistributionPoint::setDistributionPointFunction(const ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcElectricDistributionPoint::setDistributionPointFunction(const ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc2x3::IfcElectricDistributionPoint::UserDefinedFunction() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc2x3::IfcElectricDistributionPoint::setUserDefinedFunction(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcElectricDistributionPoint::Class() { return *((IfcParse::entity*)IFC2X3_types[283]); } -void Ifc2x3::IfcElectricDistributionPoint::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value v9_DistributionPointFunction, std::optional< std::string > v10_UserDefinedFunction) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Class(),(size_t)v9_DistributionPointFunction))); if (v10_UserDefinedFunction) {set_attribute_value(9, (*v10_UserDefinedFunction)); } } +const ifcopenshell::entity& Ifc2x3::IfcElectricDistributionPoint::Class() { return *((ifcopenshell::entity*)IFC2X3_types[283]); } +void Ifc2x3::IfcElectricDistributionPoint::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value v9_DistributionPointFunction, std::optional< std::string > v10_UserDefinedFunction) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Class(),(size_t)v9_DistributionPointFunction))); if (v10_UserDefinedFunction) {set_attribute_value(9, (*v10_UserDefinedFunction)); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc2x3::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC2X3_types[285]); } -void Ifc2x3::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[285]); } +void Ifc2x3::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGeneratorType ::Ifc2x3::IfcElectricGeneratorTypeEnum::Value Ifc2x3::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc2x3::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcElectricGeneratorType::setPredefinedType(const ::Ifc2x3::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcElectricGeneratorType::setPredefinedType(const ::Ifc2x3::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC2X3_types[287]); } -void Ifc2x3::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[287]); } +void Ifc2x3::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricHeaterType ::Ifc2x3::IfcElectricHeaterTypeEnum::Value Ifc2x3::IfcElectricHeaterType::PredefinedType() const { return ::Ifc2x3::IfcElectricHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcElectricHeaterType::setPredefinedType(const ::Ifc2x3::IfcElectricHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcElectricHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcElectricHeaterType::setPredefinedType(const ::Ifc2x3::IfcElectricHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcElectricHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcElectricHeaterType::Class() { return *((IfcParse::entity*)IFC2X3_types[289]); } -void Ifc2x3::IfcElectricHeaterType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcElectricHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcElectricHeaterType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[289]); } +void Ifc2x3::IfcElectricHeaterType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcElectricHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotorType ::Ifc2x3::IfcElectricMotorTypeEnum::Value Ifc2x3::IfcElectricMotorType::PredefinedType() const { return ::Ifc2x3::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcElectricMotorType::setPredefinedType(const ::Ifc2x3::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcElectricMotorType::setPredefinedType(const ::Ifc2x3::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC2X3_types[291]); } -void Ifc2x3::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[291]); } +void Ifc2x3::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControlType ::Ifc2x3::IfcElectricTimeControlTypeEnum::Value Ifc2x3::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc2x3::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcElectricTimeControlType::setPredefinedType(const ::Ifc2x3::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcElectricTimeControlType::setPredefinedType(const ::Ifc2x3::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC2X3_types[294]); } -void Ifc2x3::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[294]); } +void Ifc2x3::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricalBaseProperties std::optional< ::Ifc2x3::IfcElectricCurrentEnum::Value > Ifc2x3::IfcElectricalBaseProperties::ElectricCurrentType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcElectricCurrentEnum::FromString(get_attribute_value(6)); } -void Ifc2x3::IfcElectricalBaseProperties::setElectricCurrentType(const std::optional< ::Ifc2x3::IfcElectricCurrentEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc2x3::IfcElectricCurrentEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc2x3::IfcElectricalBaseProperties::setElectricCurrentType(const std::optional< ::Ifc2x3::IfcElectricCurrentEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc2x3::IfcElectricCurrentEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } double Ifc2x3::IfcElectricalBaseProperties::InputVoltage() const { double v = get_attribute_value(7); return v; } void Ifc2x3::IfcElectricalBaseProperties::setInputVoltage(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } double Ifc2x3::IfcElectricalBaseProperties::InputFrequency() const { double v = get_attribute_value(8); return v; } @@ -7406,61 +7406,61 @@ int Ifc2x3::IfcElectricalBaseProperties::InputPhase() const { int v = get_attri void Ifc2x3::IfcElectricalBaseProperties::setInputPhase(const int& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc2x3::IfcElectricalBaseProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[273]); } -void Ifc2x3::IfcElectricalBaseProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value > v5_EnergySequence, std::optional< std::string > v6_UserDefinedEnergySequence, std::optional< ::Ifc2x3::IfcElectricCurrentEnum::Value > v7_ElectricCurrentType, double v8_InputVoltage, double v9_InputFrequency, std::optional< double > v10_FullLoadCurrent, std::optional< double > v11_MinimumCircuitCurrent, std::optional< double > v12_MaximumPowerInput, std::optional< double > v13_RatedPowerInput, int v14_InputPhase) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_EnergySequence) {set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcEnergySequenceEnum::Class(),(size_t)*v5_EnergySequence))); } if (v6_UserDefinedEnergySequence) {set_attribute_value(5, (*v6_UserDefinedEnergySequence)); } if (v7_ElectricCurrentType) {set_attribute_value(6, (EnumerationReference(&::Ifc2x3::IfcElectricCurrentEnum::Class(),(size_t)*v7_ElectricCurrentType))); }set_attribute_value(7, (v8_InputVoltage));set_attribute_value(8, (v9_InputFrequency)); if (v10_FullLoadCurrent) {set_attribute_value(9, (*v10_FullLoadCurrent)); } if (v11_MinimumCircuitCurrent) {set_attribute_value(10, (*v11_MinimumCircuitCurrent)); } if (v12_MaximumPowerInput) {set_attribute_value(11, (*v12_MaximumPowerInput)); } if (v13_RatedPowerInput) {set_attribute_value(12, (*v13_RatedPowerInput)); }set_attribute_value(13, (v14_InputPhase)); } +const ifcopenshell::entity& Ifc2x3::IfcElectricalBaseProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[273]); } +void Ifc2x3::IfcElectricalBaseProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value > v5_EnergySequence, std::optional< std::string > v6_UserDefinedEnergySequence, std::optional< ::Ifc2x3::IfcElectricCurrentEnum::Value > v7_ElectricCurrentType, double v8_InputVoltage, double v9_InputFrequency, std::optional< double > v10_FullLoadCurrent, std::optional< double > v11_MinimumCircuitCurrent, std::optional< double > v12_MaximumPowerInput, std::optional< double > v13_RatedPowerInput, int v14_InputPhase) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_EnergySequence) {set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcEnergySequenceEnum::Class(),(size_t)*v5_EnergySequence))); } if (v6_UserDefinedEnergySequence) {set_attribute_value(5, (*v6_UserDefinedEnergySequence)); } if (v7_ElectricCurrentType) {set_attribute_value(6, (enumeration_reference(&::Ifc2x3::IfcElectricCurrentEnum::Class(),(size_t)*v7_ElectricCurrentType))); }set_attribute_value(7, (v8_InputVoltage));set_attribute_value(8, (v9_InputFrequency)); if (v10_FullLoadCurrent) {set_attribute_value(9, (*v10_FullLoadCurrent)); } if (v11_MinimumCircuitCurrent) {set_attribute_value(10, (*v11_MinimumCircuitCurrent)); } if (v12_MaximumPowerInput) {set_attribute_value(11, (*v12_MaximumPowerInput)); } if (v13_RatedPowerInput) {set_attribute_value(12, (*v13_RatedPowerInput)); }set_attribute_value(13, (v14_InputPhase)); } // Function implementations for IfcElectricalCircuit -const IfcParse::entity& Ifc2x3::IfcElectricalCircuit::Class() { return *((IfcParse::entity*)IFC2X3_types[274]); } +const ifcopenshell::entity& Ifc2x3::IfcElectricalCircuit::Class() { return *((ifcopenshell::entity*)IFC2X3_types[274]); } void Ifc2x3::IfcElectricalCircuit::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcElectricalElement -const IfcParse::entity& Ifc2x3::IfcElectricalElement::Class() { return *((IfcParse::entity*)IFC2X3_types[275]); } +const ifcopenshell::entity& Ifc2x3::IfcElectricalElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[275]); } void Ifc2x3::IfcElectricalElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElement std::optional< std::string > Ifc2x3::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc2x3::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc2x3::IfcRelConnectsStructuralElement> Ifc2x3::IfcElement::HasStructuralMember() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[694], 4)); } -std::vector<::Ifc2x3::IfcRelFillsElement> Ifc2x3::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[705], 5)); } -std::vector<::Ifc2x3::IfcRelConnectsElements> Ifc2x3::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[689], 5)); } -std::vector<::Ifc2x3::IfcRelCoversBldgElements> Ifc2x3::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[699], 4)); } -std::vector<::Ifc2x3::IfcRelProjectsElement> Ifc2x3::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[711], 4)); } -std::vector<::Ifc2x3::IfcRelReferencedInSpatialStructure> Ifc2x3::IfcElement::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[712], 4)); } -std::vector<::Ifc2x3::IfcRelConnectsPortToElement> Ifc2x3::IfcElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[692], 5)); } -std::vector<::Ifc2x3::IfcRelVoidsElement> Ifc2x3::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[717], 4)); } -std::vector<::Ifc2x3::IfcRelConnectsWithRealizingElements> Ifc2x3::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[697], 7)); } -std::vector<::Ifc2x3::IfcRelSpaceBoundary> Ifc2x3::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[716], 5)); } -std::vector<::Ifc2x3::IfcRelConnectsElements> Ifc2x3::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[689], 6)); } -std::vector<::Ifc2x3::IfcRelContainedInSpatialStructure> Ifc2x3::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[698], 4)); } +std::vector<::Ifc2x3::IfcRelConnectsStructuralElement> Ifc2x3::IfcElement::HasStructuralMember() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[694], 4)); } +std::vector<::Ifc2x3::IfcRelFillsElement> Ifc2x3::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[705], 5)); } +std::vector<::Ifc2x3::IfcRelConnectsElements> Ifc2x3::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[689], 5)); } +std::vector<::Ifc2x3::IfcRelCoversBldgElements> Ifc2x3::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[699], 4)); } +std::vector<::Ifc2x3::IfcRelProjectsElement> Ifc2x3::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[711], 4)); } +std::vector<::Ifc2x3::IfcRelReferencedInSpatialStructure> Ifc2x3::IfcElement::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[712], 4)); } +std::vector<::Ifc2x3::IfcRelConnectsPortToElement> Ifc2x3::IfcElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[692], 5)); } +std::vector<::Ifc2x3::IfcRelVoidsElement> Ifc2x3::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[717], 4)); } +std::vector<::Ifc2x3::IfcRelConnectsWithRealizingElements> Ifc2x3::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[697], 7)); } +std::vector<::Ifc2x3::IfcRelSpaceBoundary> Ifc2x3::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[716], 5)); } +std::vector<::Ifc2x3::IfcRelConnectsElements> Ifc2x3::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[689], 6)); } +std::vector<::Ifc2x3::IfcRelContainedInSpatialStructure> Ifc2x3::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[698], 4)); } -const IfcParse::entity& Ifc2x3::IfcElement::Class() { return *((IfcParse::entity*)IFC2X3_types[297]); } +const ifcopenshell::entity& Ifc2x3::IfcElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[297]); } void Ifc2x3::IfcElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc2x3::IfcAssemblyPlaceEnum::Value > Ifc2x3::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc2x3::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc2x3::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc2x3::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc2x3::IfcElementAssemblyTypeEnum::Value Ifc2x3::IfcElementAssembly::PredefinedType() const { return ::Ifc2x3::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcElementAssembly::setPredefinedType(const ::Ifc2x3::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcElementAssembly::setPredefinedType(const ::Ifc2x3::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC2X3_types[299]); } -void Ifc2x3::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, ::Ifc2x3::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC2X3_types[299]); } +void Ifc2x3::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, ::Ifc2x3::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc2x3::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC2X3_types[301]); } +const ifcopenshell::entity& Ifc2x3::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC2X3_types[301]); } void Ifc2x3::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc2x3::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC2X3_types[302]); } +const ifcopenshell::entity& Ifc2x3::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[302]); } void Ifc2x3::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -7470,7 +7470,7 @@ std::vector< ::Ifc2x3::IfcPhysicalQuantity > Ifc2x3::IfcElementQuantity::Quantit void Ifc2x3::IfcElementQuantity::setQuantities(const std::vector< ::Ifc2x3::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC2X3_types[304]); } +const ifcopenshell::entity& Ifc2x3::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC2X3_types[304]); } void Ifc2x3::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc2x3::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -7478,7 +7478,7 @@ std::optional< std::string > Ifc2x3::IfcElementType::ElementType() const { if(ge void Ifc2x3::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[305]); } +const ifcopenshell::entity& Ifc2x3::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[305]); } void Ifc2x3::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -7486,7 +7486,7 @@ void Ifc2x3::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOw void Ifc2x3::IfcElementarySurface::setPosition(const ::Ifc2x3::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC2X3_types[298]); } +const ifcopenshell::entity& Ifc2x3::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC2X3_types[298]); } void Ifc2x3::IfcElementarySurface::initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -7496,7 +7496,7 @@ double Ifc2x3::IfcEllipse::SemiAxis2() const { double v = get_attribute_value(2 void Ifc2x3::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcEllipse::Class() { return *((IfcParse::entity*)IFC2X3_types[306]); } +const ifcopenshell::entity& Ifc2x3::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC2X3_types[306]); } void Ifc2x3::IfcEllipse::initialize(::Ifc2x3::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -7506,70 +7506,70 @@ double Ifc2x3::IfcEllipseProfileDef::SemiAxis2() const { double v = get_attribu void Ifc2x3::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[307]); } -void Ifc2x3::IfcEllipseProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc2x3::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[307]); } +void Ifc2x3::IfcEllipseProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc2x3::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC2X3_types[308]); } +const ifcopenshell::entity& Ifc2x3::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC2X3_types[308]); } void Ifc2x3::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc2x3::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC2X3_types[309]); } +const ifcopenshell::entity& Ifc2x3::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[309]); } void Ifc2x3::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEnergyProperties std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value > Ifc2x3::IfcEnergyProperties::EnergySequence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcEnergySequenceEnum::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcEnergyProperties::setEnergySequence(const std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcEnergySequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc2x3::IfcEnergyProperties::setEnergySequence(const std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcEnergySequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc2x3::IfcEnergyProperties::UserDefinedEnergySequence() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc2x3::IfcEnergyProperties::setUserDefinedEnergySequence(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc2x3::IfcEnergyProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[311]); } -void Ifc2x3::IfcEnergyProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value > v5_EnergySequence, std::optional< std::string > v6_UserDefinedEnergySequence) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_EnergySequence) {set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcEnergySequenceEnum::Class(),(size_t)*v5_EnergySequence))); } if (v6_UserDefinedEnergySequence) {set_attribute_value(5, (*v6_UserDefinedEnergySequence)); } } +const ifcopenshell::entity& Ifc2x3::IfcEnergyProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[311]); } +void Ifc2x3::IfcEnergyProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value > v5_EnergySequence, std::optional< std::string > v6_UserDefinedEnergySequence) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_EnergySequence) {set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcEnergySequenceEnum::Class(),(size_t)*v5_EnergySequence))); } if (v6_UserDefinedEnergySequence) {set_attribute_value(5, (*v6_UserDefinedEnergySequence)); } } // Function implementations for IfcEnvironmentalImpactValue std::string Ifc2x3::IfcEnvironmentalImpactValue::ImpactType() const { std::string v = get_attribute_value(6); return v; } void Ifc2x3::IfcEnvironmentalImpactValue::setImpactType(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value Ifc2x3::IfcEnvironmentalImpactValue::Category() const { return ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcEnvironmentalImpactValue::setCategory(const ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc2x3::IfcEnvironmentalImpactValue::setCategory(const ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc2x3::IfcEnvironmentalImpactValue::UserDefinedCategory() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc2x3::IfcEnvironmentalImpactValue::setUserDefinedCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcEnvironmentalImpactValue::Class() { return *((IfcParse::entity*)IFC2X3_types[314]); } -void Ifc2x3::IfcEnvironmentalImpactValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc2x3::IfcMeasureWithUnit v4_UnitBasis, ::Ifc2x3::IfcDateTimeSelect v5_ApplicableDate, ::Ifc2x3::IfcDateTimeSelect v6_FixedUntilDate, std::string v7_ImpactType, ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value v8_Category, std::optional< std::string > v9_UserDefinedCategory) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis));set_attribute_value(4, (v5_ApplicableDate));set_attribute_value(5, (v6_FixedUntilDate));set_attribute_value(6, (v7_ImpactType));set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Class(),(size_t)v8_Category))); if (v9_UserDefinedCategory) {set_attribute_value(8, (*v9_UserDefinedCategory)); } } +const ifcopenshell::entity& Ifc2x3::IfcEnvironmentalImpactValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[314]); } +void Ifc2x3::IfcEnvironmentalImpactValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc2x3::IfcMeasureWithUnit v4_UnitBasis, ::Ifc2x3::IfcDateTimeSelect v5_ApplicableDate, ::Ifc2x3::IfcDateTimeSelect v6_FixedUntilDate, std::string v7_ImpactType, ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value v8_Category, std::optional< std::string > v9_UserDefinedCategory) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis));set_attribute_value(4, (v5_ApplicableDate));set_attribute_value(5, (v6_FixedUntilDate));set_attribute_value(6, (v7_ImpactType));set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Class(),(size_t)v8_Category))); if (v9_UserDefinedCategory) {set_attribute_value(8, (*v9_UserDefinedCategory)); } } // Function implementations for IfcEquipmentElement -const IfcParse::entity& Ifc2x3::IfcEquipmentElement::Class() { return *((IfcParse::entity*)IFC2X3_types[315]); } +const ifcopenshell::entity& Ifc2x3::IfcEquipmentElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[315]); } void Ifc2x3::IfcEquipmentElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEquipmentStandard -const IfcParse::entity& Ifc2x3::IfcEquipmentStandard::Class() { return *((IfcParse::entity*)IFC2X3_types[316]); } +const ifcopenshell::entity& Ifc2x3::IfcEquipmentStandard::Class() { return *((ifcopenshell::entity*)IFC2X3_types[316]); } void Ifc2x3::IfcEquipmentStandard::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value Ifc2x3::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC2X3_types[317]); } -void Ifc2x3::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[317]); } +void Ifc2x3::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporatorType ::Ifc2x3::IfcEvaporatorTypeEnum::Value Ifc2x3::IfcEvaporatorType::PredefinedType() const { return ::Ifc2x3::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcEvaporatorType::setPredefinedType(const ::Ifc2x3::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcEvaporatorType::setPredefinedType(const ::Ifc2x3::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC2X3_types[319]); } -void Ifc2x3::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[319]); } +void Ifc2x3::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcExtendedMaterialProperties std::vector< ::Ifc2x3::IfcProperty > Ifc2x3::IfcExtendedMaterialProperties::ExtendedProperties() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc2x3::IfcProperty>(es); } @@ -7580,7 +7580,7 @@ std::string Ifc2x3::IfcExtendedMaterialProperties::Name() const { std::string v void Ifc2x3::IfcExtendedMaterialProperties::setName(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcExtendedMaterialProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[321]); } +const ifcopenshell::entity& Ifc2x3::IfcExtendedMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[321]); } void Ifc2x3::IfcExtendedMaterialProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::vector< ::Ifc2x3::IfcProperty > v2_ExtendedProperties, std::optional< std::string > v3_Description, std::string v4_Name) { set_attribute_value(0, (v1_Material));set_attribute_value(1, cast_vector(v2_ExtendedProperties)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); }set_attribute_value(3, (v4_Name)); } // Function implementations for IfcExternalReference @@ -7592,31 +7592,31 @@ std::optional< std::string > Ifc2x3::IfcExternalReference::Name() const { if(get void Ifc2x3::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc2x3::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC2X3_types[326]); } +const ifcopenshell::entity& Ifc2x3::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC2X3_types[326]); } void Ifc2x3::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_ItemReference) {set_attribute_value(1, (*v2_ItemReference)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc2x3::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[322]); } +const ifcopenshell::entity& Ifc2x3::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[322]); } void Ifc2x3::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_ItemReference) {set_attribute_value(1, (*v2_ItemReference)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc2x3::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[323]); } +const ifcopenshell::entity& Ifc2x3::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[323]); } void Ifc2x3::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_ItemReference) {set_attribute_value(1, (*v2_ItemReference)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcExternallyDefinedSymbol -const IfcParse::entity& Ifc2x3::IfcExternallyDefinedSymbol::Class() { return *((IfcParse::entity*)IFC2X3_types[324]); } +const ifcopenshell::entity& Ifc2x3::IfcExternallyDefinedSymbol::Class() { return *((ifcopenshell::entity*)IFC2X3_types[324]); } void Ifc2x3::IfcExternallyDefinedSymbol::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_ItemReference) {set_attribute_value(1, (*v2_ItemReference)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc2x3::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC2X3_types[325]); } +const ifcopenshell::entity& Ifc2x3::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC2X3_types[325]); } void Ifc2x3::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_ItemReference) {set_attribute_value(1, (*v2_ItemReference)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcExtrudedAreaSolid @@ -7626,7 +7626,7 @@ double Ifc2x3::IfcExtrudedAreaSolid::Depth() const { double v = get_attribute_v void Ifc2x3::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC2X3_types[327]); } +const ifcopenshell::entity& Ifc2x3::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC2X3_types[327]); } void Ifc2x3::IfcExtrudedAreaSolid::initialize(::Ifc2x3::IfcProfileDef v1_SweptArea, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcFace @@ -7634,7 +7634,7 @@ std::vector< ::Ifc2x3::IfcFaceBound > Ifc2x3::IfcFace::Bounds() const { std::ve void Ifc2x3::IfcFace::setBounds(const std::vector< ::Ifc2x3::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcFace::Class() { return *((IfcParse::entity*)IFC2X3_types[328]); } +const ifcopenshell::entity& Ifc2x3::IfcFace::Class() { return *((ifcopenshell::entity*)IFC2X3_types[328]); } void Ifc2x3::IfcFace::initialize(std::vector< ::Ifc2x3::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -7642,7 +7642,7 @@ std::vector< ::Ifc2x3::IfcConnectedFaceSet > Ifc2x3::IfcFaceBasedSurfaceModel::F void Ifc2x3::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc2x3::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC2X3_types[329]); } +const ifcopenshell::entity& Ifc2x3::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC2X3_types[329]); } void Ifc2x3::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc2x3::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -7652,13 +7652,13 @@ bool Ifc2x3::IfcFaceBound::Orientation() const { bool v = get_attribute_value(1 void Ifc2x3::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC2X3_types[330]); } +const ifcopenshell::entity& Ifc2x3::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC2X3_types[330]); } void Ifc2x3::IfcFaceBound::initialize(::Ifc2x3::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc2x3::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC2X3_types[331]); } +const ifcopenshell::entity& Ifc2x3::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC2X3_types[331]); } void Ifc2x3::IfcFaceOuterBound::initialize(::Ifc2x3::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -7668,13 +7668,13 @@ bool Ifc2x3::IfcFaceSurface::SameSense() const { bool v = get_attribute_value(2 void Ifc2x3::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC2X3_types[332]); } +const ifcopenshell::entity& Ifc2x3::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC2X3_types[332]); } void Ifc2x3::IfcFaceSurface::initialize(std::vector< ::Ifc2x3::IfcFaceBound > v1_Bounds, ::Ifc2x3::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc2x3::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC2X3_types[333]); } +const ifcopenshell::entity& Ifc2x3::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC2X3_types[333]); } void Ifc2x3::IfcFacetedBrep::initialize(::Ifc2x3::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -7682,7 +7682,7 @@ std::vector< ::Ifc2x3::IfcClosedShell > Ifc2x3::IfcFacetedBrepWithVoids::Voids() void Ifc2x3::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc2x3::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC2X3_types[334]); } +const ifcopenshell::entity& Ifc2x3::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC2X3_types[334]); } void Ifc2x3::IfcFacetedBrepWithVoids::initialize(::Ifc2x3::IfcClosedShell v1_Outer, std::vector< ::Ifc2x3::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFailureConnectionCondition @@ -7700,47 +7700,47 @@ std::optional< double > Ifc2x3::IfcFailureConnectionCondition::CompressionFailur void Ifc2x3::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc2x3::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC2X3_types[335]); } +const ifcopenshell::entity& Ifc2x3::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[335]); } void Ifc2x3::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFanType ::Ifc2x3::IfcFanTypeEnum::Value Ifc2x3::IfcFanType::PredefinedType() const { return ::Ifc2x3::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcFanType::setPredefinedType(const ::Ifc2x3::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcFanType::setPredefinedType(const ::Ifc2x3::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcFanType::Class() { return *((IfcParse::entity*)IFC2X3_types[336]); } -void Ifc2x3::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[336]); } +void Ifc2x3::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener -const IfcParse::entity& Ifc2x3::IfcFastener::Class() { return *((IfcParse::entity*)IFC2X3_types[338]); } +const ifcopenshell::entity& Ifc2x3::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC2X3_types[338]); } void Ifc2x3::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFastenerType -const IfcParse::entity& Ifc2x3::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC2X3_types[339]); } +const ifcopenshell::entity& Ifc2x3::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[339]); } void Ifc2x3::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc2x3::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC2X3_types[340]); } +const ifcopenshell::entity& Ifc2x3::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[340]); } void Ifc2x3::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc2x3::IfcRelProjectsElement> Ifc2x3::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[711], 5)); } +std::vector<::Ifc2x3::IfcRelProjectsElement> Ifc2x3::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[711], 5)); } -const IfcParse::entity& Ifc2x3::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC2X3_types[341]); } +const ifcopenshell::entity& Ifc2x3::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[341]); } void Ifc2x3::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc2x3::IfcRelVoidsElement> Ifc2x3::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[717], 5)); } +std::vector<::Ifc2x3::IfcRelVoidsElement> Ifc2x3::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[717], 5)); } -const IfcParse::entity& Ifc2x3::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC2X3_types[342]); } +const ifcopenshell::entity& Ifc2x3::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[342]); } void Ifc2x3::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -7748,7 +7748,7 @@ std::vector< ::Ifc2x3::IfcFillStyleSelect > Ifc2x3::IfcFillAreaStyle::FillStyles void Ifc2x3::IfcFillAreaStyle::setFillStyles(const std::vector< ::Ifc2x3::IfcFillStyleSelect >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[343]); } +const ifcopenshell::entity& Ifc2x3::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[343]); } void Ifc2x3::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc2x3::IfcFillStyleSelect > v2_FillStyles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); } // Function implementations for IfcFillAreaStyleHatching @@ -7764,7 +7764,7 @@ double Ifc2x3::IfcFillAreaStyleHatching::HatchLineAngle() const { double v = ge void Ifc2x3::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC2X3_types[344]); } +const ifcopenshell::entity& Ifc2x3::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC2X3_types[344]); } void Ifc2x3::IfcFillAreaStyleHatching::initialize(::Ifc2x3::IfcCurveStyle v1_HatchLineAppearance, ::Ifc2x3::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc2x3::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc2x3::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTileSymbolWithStyle @@ -7772,7 +7772,7 @@ void Ifc2x3::IfcFillAreaStyleHatching::initialize(::Ifc2x3::IfcCurveStyle v1_Hat void Ifc2x3::IfcFillAreaStyleTileSymbolWithStyle::setSymbol(const ::Ifc2x3::IfcAnnotationSymbolOccurrence& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcFillAreaStyleTileSymbolWithStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[347]); } +const ifcopenshell::entity& Ifc2x3::IfcFillAreaStyleTileSymbolWithStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[347]); } void Ifc2x3::IfcFillAreaStyleTileSymbolWithStyle::initialize(::Ifc2x3::IfcAnnotationSymbolOccurrence v1_Symbol) { set_attribute_value(0, (v1_Symbol)); } // Function implementations for IfcFillAreaStyleTiles @@ -7784,128 +7784,128 @@ double Ifc2x3::IfcFillAreaStyleTiles::TilingScale() const { double v = get_attr void Ifc2x3::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC2X3_types[345]); } +const ifcopenshell::entity& Ifc2x3::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC2X3_types[345]); } void Ifc2x3::IfcFillAreaStyleTiles::initialize(::Ifc2x3::IfcOneDirectionRepeatFactor v1_TilingPattern, std::vector< ::Ifc2x3::IfcFillAreaStyleTileShapeSelect > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, (v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilterType ::Ifc2x3::IfcFilterTypeEnum::Value Ifc2x3::IfcFilterType::PredefinedType() const { return ::Ifc2x3::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcFilterType::setPredefinedType(const ::Ifc2x3::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcFilterType::setPredefinedType(const ::Ifc2x3::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcFilterType::Class() { return *((IfcParse::entity*)IFC2X3_types[349]); } -void Ifc2x3::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[349]); } +void Ifc2x3::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminalType ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value Ifc2x3::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC2X3_types[351]); } -void Ifc2x3::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[351]); } +void Ifc2x3::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc2x3::IfcFlowController::Class() { return *((IfcParse::entity*)IFC2X3_types[353]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC2X3_types[353]); } void Ifc2x3::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc2x3::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC2X3_types[354]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[354]); } void Ifc2x3::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc2x3::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC2X3_types[356]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC2X3_types[356]); } void Ifc2x3::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc2x3::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC2X3_types[357]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[357]); } void Ifc2x3::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrumentType ::Ifc2x3::IfcFlowInstrumentTypeEnum::Value Ifc2x3::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc2x3::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcFlowInstrumentType::setPredefinedType(const ::Ifc2x3::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcFlowInstrumentType::setPredefinedType(const ::Ifc2x3::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC2X3_types[358]); } -void Ifc2x3::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[358]); } +void Ifc2x3::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeterType ::Ifc2x3::IfcFlowMeterTypeEnum::Value Ifc2x3::IfcFlowMeterType::PredefinedType() const { return ::Ifc2x3::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcFlowMeterType::setPredefinedType(const ::Ifc2x3::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcFlowMeterType::setPredefinedType(const ::Ifc2x3::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC2X3_types[360]); } -void Ifc2x3::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[360]); } +void Ifc2x3::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc2x3::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC2X3_types[362]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC2X3_types[362]); } void Ifc2x3::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc2x3::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC2X3_types[363]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[363]); } void Ifc2x3::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc2x3::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC2X3_types[364]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC2X3_types[364]); } void Ifc2x3::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc2x3::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC2X3_types[365]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[365]); } void Ifc2x3::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc2x3::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC2X3_types[366]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC2X3_types[366]); } void Ifc2x3::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc2x3::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC2X3_types[367]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[367]); } void Ifc2x3::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc2x3::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC2X3_types[368]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC2X3_types[368]); } void Ifc2x3::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc2x3::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC2X3_types[369]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[369]); } void Ifc2x3::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc2x3::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC2X3_types[370]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC2X3_types[370]); } void Ifc2x3::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc2x3::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC2X3_types[371]); } +const ifcopenshell::entity& Ifc2x3::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[371]); } void Ifc2x3::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFluidFlowProperties ::Ifc2x3::IfcPropertySourceEnum::Value Ifc2x3::IfcFluidFlowProperties::PropertySource() const { return ::Ifc2x3::IfcPropertySourceEnum::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcFluidFlowProperties::setPropertySource(const ::Ifc2x3::IfcPropertySourceEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcPropertySourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc2x3::IfcFluidFlowProperties::setPropertySource(const ::Ifc2x3::IfcPropertySourceEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcPropertySourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc2x3::IfcTimeSeries Ifc2x3::IfcFluidFlowProperties::FlowConditionTimeSeries() const { if(get_attribute_value(5).isNull()) { return ::Ifc2x3::IfcTimeSeries{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc2x3::IfcTimeSeries>(); } void Ifc2x3::IfcFluidFlowProperties::setFlowConditionTimeSeries(const ::Ifc2x3::IfcTimeSeries& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcTimeSeries Ifc2x3::IfcFluidFlowProperties::VelocityTimeSeries() const { if(get_attribute_value(6).isNull()) { return ::Ifc2x3::IfcTimeSeries{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcTimeSeries>(); } @@ -7936,16 +7936,16 @@ std::optional< double > Ifc2x3::IfcFluidFlowProperties::PressureSingleValue() co void Ifc2x3::IfcFluidFlowProperties::setPressureSingleValue(const std::optional< double >& v) { if (v) {set_attribute_value(18, *v);} else {unset_attribute_value(18);} } -const IfcParse::entity& Ifc2x3::IfcFluidFlowProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[372]); } -void Ifc2x3::IfcFluidFlowProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPropertySourceEnum::Value v5_PropertySource, ::Ifc2x3::IfcTimeSeries v6_FlowConditionTimeSeries, ::Ifc2x3::IfcTimeSeries v7_VelocityTimeSeries, ::Ifc2x3::IfcTimeSeries v8_FlowrateTimeSeries, ::Ifc2x3::IfcMaterial v9_Fluid, ::Ifc2x3::IfcTimeSeries v10_PressureTimeSeries, std::optional< std::string > v11_UserDefinedPropertySource, std::optional< double > v12_TemperatureSingleValue, std::optional< double > v13_WetBulbTemperatureSingleValue, ::Ifc2x3::IfcTimeSeries v14_WetBulbTemperatureTimeSeries, ::Ifc2x3::IfcTimeSeries v15_TemperatureTimeSeries, ::Ifc2x3::IfcDerivedMeasureValue v16_FlowrateSingleValue, std::optional< double > v17_FlowConditionSingleValue, std::optional< double > v18_VelocitySingleValue, std::optional< double > v19_PressureSingleValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcPropertySourceEnum::Class(),(size_t)v5_PropertySource)));set_attribute_value(5, (v6_FlowConditionTimeSeries));set_attribute_value(6, (v7_VelocityTimeSeries));set_attribute_value(7, (v8_FlowrateTimeSeries));set_attribute_value(8, (v9_Fluid));set_attribute_value(9, (v10_PressureTimeSeries)); if (v11_UserDefinedPropertySource) {set_attribute_value(10, (*v11_UserDefinedPropertySource)); } if (v12_TemperatureSingleValue) {set_attribute_value(11, (*v12_TemperatureSingleValue)); } if (v13_WetBulbTemperatureSingleValue) {set_attribute_value(12, (*v13_WetBulbTemperatureSingleValue)); }set_attribute_value(13, (v14_WetBulbTemperatureTimeSeries));set_attribute_value(14, (v15_TemperatureTimeSeries));set_attribute_value(15, (v16_FlowrateSingleValue)); if (v17_FlowConditionSingleValue) {set_attribute_value(16, (*v17_FlowConditionSingleValue)); } if (v18_VelocitySingleValue) {set_attribute_value(17, (*v18_VelocitySingleValue)); } if (v19_PressureSingleValue) {set_attribute_value(18, (*v19_PressureSingleValue)); } } +const ifcopenshell::entity& Ifc2x3::IfcFluidFlowProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[372]); } +void Ifc2x3::IfcFluidFlowProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPropertySourceEnum::Value v5_PropertySource, ::Ifc2x3::IfcTimeSeries v6_FlowConditionTimeSeries, ::Ifc2x3::IfcTimeSeries v7_VelocityTimeSeries, ::Ifc2x3::IfcTimeSeries v8_FlowrateTimeSeries, ::Ifc2x3::IfcMaterial v9_Fluid, ::Ifc2x3::IfcTimeSeries v10_PressureTimeSeries, std::optional< std::string > v11_UserDefinedPropertySource, std::optional< double > v12_TemperatureSingleValue, std::optional< double > v13_WetBulbTemperatureSingleValue, ::Ifc2x3::IfcTimeSeries v14_WetBulbTemperatureTimeSeries, ::Ifc2x3::IfcTimeSeries v15_TemperatureTimeSeries, ::Ifc2x3::IfcDerivedMeasureValue v16_FlowrateSingleValue, std::optional< double > v17_FlowConditionSingleValue, std::optional< double > v18_VelocitySingleValue, std::optional< double > v19_PressureSingleValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcPropertySourceEnum::Class(),(size_t)v5_PropertySource)));set_attribute_value(5, (v6_FlowConditionTimeSeries));set_attribute_value(6, (v7_VelocityTimeSeries));set_attribute_value(7, (v8_FlowrateTimeSeries));set_attribute_value(8, (v9_Fluid));set_attribute_value(9, (v10_PressureTimeSeries)); if (v11_UserDefinedPropertySource) {set_attribute_value(10, (*v11_UserDefinedPropertySource)); } if (v12_TemperatureSingleValue) {set_attribute_value(11, (*v12_TemperatureSingleValue)); } if (v13_WetBulbTemperatureSingleValue) {set_attribute_value(12, (*v13_WetBulbTemperatureSingleValue)); }set_attribute_value(13, (v14_WetBulbTemperatureTimeSeries));set_attribute_value(14, (v15_TemperatureTimeSeries));set_attribute_value(15, (v16_FlowrateSingleValue)); if (v17_FlowConditionSingleValue) {set_attribute_value(16, (*v17_FlowConditionSingleValue)); } if (v18_VelocitySingleValue) {set_attribute_value(17, (*v18_VelocitySingleValue)); } if (v19_PressureSingleValue) {set_attribute_value(18, (*v19_PressureSingleValue)); } } // Function implementations for IfcFooting ::Ifc2x3::IfcFootingTypeEnum::Value Ifc2x3::IfcFooting::PredefinedType() const { return ::Ifc2x3::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcFooting::setPredefinedType(const ::Ifc2x3::IfcFootingTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcFooting::setPredefinedType(const ::Ifc2x3::IfcFootingTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcFooting::Class() { return *((IfcParse::entity*)IFC2X3_types[376]); } -void Ifc2x3::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcFootingTypeEnum::Value v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcFootingTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC2X3_types[376]); } +void Ifc2x3::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcFootingTypeEnum::Value v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcFootingTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcFuelProperties std::optional< double > Ifc2x3::IfcFuelProperties::CombustionTemperature() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -7958,42 +7958,42 @@ std::optional< double > Ifc2x3::IfcFuelProperties::HigherHeatingValue() const { void Ifc2x3::IfcFuelProperties::setHigherHeatingValue(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcFuelProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[380]); } +const ifcopenshell::entity& Ifc2x3::IfcFuelProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[380]); } void Ifc2x3::IfcFuelProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_CombustionTemperature, std::optional< double > v3_CarbonContent, std::optional< double > v4_LowerHeatingValue, std::optional< double > v5_HigherHeatingValue) { set_attribute_value(0, (v1_Material)); if (v2_CombustionTemperature) {set_attribute_value(1, (*v2_CombustionTemperature)); } if (v3_CarbonContent) {set_attribute_value(2, (*v3_CarbonContent)); } if (v4_LowerHeatingValue) {set_attribute_value(3, (*v4_LowerHeatingValue)); } if (v5_HigherHeatingValue) {set_attribute_value(4, (*v5_HigherHeatingValue)); } } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc2x3::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC2X3_types[381]); } +const ifcopenshell::entity& Ifc2x3::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[381]); } void Ifc2x3::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc2x3::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[382]); } +const ifcopenshell::entity& Ifc2x3::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[382]); } void Ifc2x3::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurnitureStandard -const IfcParse::entity& Ifc2x3::IfcFurnitureStandard::Class() { return *((IfcParse::entity*)IFC2X3_types[383]); } +const ifcopenshell::entity& Ifc2x3::IfcFurnitureStandard::Class() { return *((ifcopenshell::entity*)IFC2X3_types[383]); } void Ifc2x3::IfcFurnitureStandard::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcFurnitureType ::Ifc2x3::IfcAssemblyPlaceEnum::Value Ifc2x3::IfcFurnitureType::AssemblyPlace() const { return ::Ifc2x3::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcFurnitureType::setAssemblyPlace(const ::Ifc2x3::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcFurnitureType::setAssemblyPlace(const ::Ifc2x3::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC2X3_types[384]); } -void Ifc2x3::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); } +const ifcopenshell::entity& Ifc2x3::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[384]); } +void Ifc2x3::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); } // Function implementations for IfcGasTerminalType ::Ifc2x3::IfcGasTerminalTypeEnum::Value Ifc2x3::IfcGasTerminalType::PredefinedType() const { return ::Ifc2x3::IfcGasTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcGasTerminalType::setPredefinedType(const ::Ifc2x3::IfcGasTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcGasTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcGasTerminalType::setPredefinedType(const ::Ifc2x3::IfcGasTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcGasTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcGasTerminalType::Class() { return *((IfcParse::entity*)IFC2X3_types[385]); } -void Ifc2x3::IfcGasTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcGasTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcGasTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcGasTerminalType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[385]); } +void Ifc2x3::IfcGasTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcGasTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcGasTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeneralMaterialProperties std::optional< double > Ifc2x3::IfcGeneralMaterialProperties::MolecularWeight() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -8004,7 +8004,7 @@ std::optional< double > Ifc2x3::IfcGeneralMaterialProperties::MassDensity() cons void Ifc2x3::IfcGeneralMaterialProperties::setMassDensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcGeneralMaterialProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[387]); } +const ifcopenshell::entity& Ifc2x3::IfcGeneralMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[387]); } void Ifc2x3::IfcGeneralMaterialProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_MolecularWeight, std::optional< double > v3_Porosity, std::optional< double > v4_MassDensity) { set_attribute_value(0, (v1_Material)); if (v2_MolecularWeight) {set_attribute_value(1, (*v2_MolecularWeight)); } if (v3_Porosity) {set_attribute_value(2, (*v3_Porosity)); } if (v4_MassDensity) {set_attribute_value(3, (*v4_MassDensity)); } } // Function implementations for IfcGeneralProfileProperties @@ -8020,13 +8020,13 @@ std::optional< double > Ifc2x3::IfcGeneralProfileProperties::CrossSectionArea() void Ifc2x3::IfcGeneralProfileProperties::setCrossSectionArea(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc2x3::IfcGeneralProfileProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[388]); } +const ifcopenshell::entity& Ifc2x3::IfcGeneralProfileProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[388]); } void Ifc2x3::IfcGeneralProfileProperties::initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition, std::optional< double > v3_PhysicalWeight, std::optional< double > v4_Perimeter, std::optional< double > v5_MinimumPlateThickness, std::optional< double > v6_MaximumPlateThickness, std::optional< double > v7_CrossSectionArea) { if (v1_ProfileName) {set_attribute_value(0, (*v1_ProfileName)); }set_attribute_value(1, (v2_ProfileDefinition)); if (v3_PhysicalWeight) {set_attribute_value(2, (*v3_PhysicalWeight)); } if (v4_Perimeter) {set_attribute_value(3, (*v4_Perimeter)); } if (v5_MinimumPlateThickness) {set_attribute_value(4, (*v5_MinimumPlateThickness)); } if (v6_MaximumPlateThickness) {set_attribute_value(5, (*v6_MaximumPlateThickness)); } if (v7_CrossSectionArea) {set_attribute_value(6, (*v7_CrossSectionArea)); } } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc2x3::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC2X3_types[389]); } +const ifcopenshell::entity& Ifc2x3::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC2X3_types[389]); } void Ifc2x3::IfcGeometricCurveSet::initialize(std::vector< ::Ifc2x3::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -8039,15 +8039,15 @@ void Ifc2x3::IfcGeometricRepresentationContext::setWorldCoordinateSystem(const : ::Ifc2x3::IfcDirection Ifc2x3::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc2x3::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc2x3::IfcDirection>(); } void Ifc2x3::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc2x3::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc2x3::IfcGeometricRepresentationSubContext> Ifc2x3::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[393], 6)); } +std::vector<::Ifc2x3::IfcGeometricRepresentationSubContext> Ifc2x3::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[393], 6)); } -const IfcParse::entity& Ifc2x3::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC2X3_types[391]); } +const ifcopenshell::entity& Ifc2x3::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC2X3_types[391]); } void Ifc2x3::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc2x3::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc2x3::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc2x3::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC2X3_types[392]); } +const ifcopenshell::entity& Ifc2x3::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[392]); } void Ifc2x3::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -8056,20 +8056,20 @@ void Ifc2x3::IfcGeometricRepresentationSubContext::setParentContext(const ::Ifc2 std::optional< double > Ifc2x3::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc2x3::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc2x3::IfcGeometricProjectionEnum::Value Ifc2x3::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc2x3::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc2x3::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc2x3::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc2x3::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc2x3::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC2X3_types[393]); } -void Ifc2x3::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc2x3::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc2x3::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc2x3::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC2X3_types[393]); } +void Ifc2x3::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc2x3::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc2x3::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc2x3::IfcGeometricSetSelect > Ifc2x3::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc2x3::IfcGeometricSetSelect>(es); } void Ifc2x3::IfcGeometricSet::setElements(const std::vector< ::Ifc2x3::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC2X3_types[394]); } +const ifcopenshell::entity& Ifc2x3::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC2X3_types[394]); } void Ifc2x3::IfcGeometricSet::initialize(std::vector< ::Ifc2x3::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGrid @@ -8080,9 +8080,9 @@ void Ifc2x3::IfcGrid::setVAxes(const std::vector< ::Ifc2x3::IfcGridAxis >& v) { std::optional< std::vector< ::Ifc2x3::IfcGridAxis > > Ifc2x3::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc2x3::IfcGridAxis>(es); } void Ifc2x3::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc2x3::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc2x3::IfcRelContainedInSpatialStructure> Ifc2x3::IfcGrid::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[698], 4)); } +std::vector<::Ifc2x3::IfcRelContainedInSpatialStructure> Ifc2x3::IfcGrid::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[698], 4)); } -const IfcParse::entity& Ifc2x3::IfcGrid::Class() { return *((IfcParse::entity*)IFC2X3_types[398]); } +const ifcopenshell::entity& Ifc2x3::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC2X3_types[398]); } void Ifc2x3::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::vector< ::Ifc2x3::IfcGridAxis > v8_UAxes, std::vector< ::Ifc2x3::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc2x3::IfcGridAxis > > v10_WAxes) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } } // Function implementations for IfcGridAxis @@ -8093,12 +8093,12 @@ void Ifc2x3::IfcGridAxis::setAxisCurve(const ::Ifc2x3::IfcCurve& v) { set_attrib bool Ifc2x3::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc2x3::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc2x3::IfcGrid> Ifc2x3::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[398], 9)); } -std::vector<::Ifc2x3::IfcGrid> Ifc2x3::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[398], 8)); } -std::vector<::Ifc2x3::IfcGrid> Ifc2x3::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[398], 7)); } -std::vector<::Ifc2x3::IfcVirtualGridIntersection> Ifc2x3::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[953], 0)); } +std::vector<::Ifc2x3::IfcGrid> Ifc2x3::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[398], 9)); } +std::vector<::Ifc2x3::IfcGrid> Ifc2x3::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[398], 8)); } +std::vector<::Ifc2x3::IfcGrid> Ifc2x3::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[398], 7)); } +std::vector<::Ifc2x3::IfcVirtualGridIntersection> Ifc2x3::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[953], 0)); } -const IfcParse::entity& Ifc2x3::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC2X3_types[399]); } +const ifcopenshell::entity& Ifc2x3::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC2X3_types[399]); } void Ifc2x3::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc2x3::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -8108,14 +8108,14 @@ void Ifc2x3::IfcGridPlacement::setPlacementLocation(const ::Ifc2x3::IfcVirtualGr void Ifc2x3::IfcGridPlacement::setPlacementRefDirection(const ::Ifc2x3::IfcVirtualGridIntersection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC2X3_types[400]); } +const ifcopenshell::entity& Ifc2x3::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[400]); } void Ifc2x3::IfcGridPlacement::initialize(::Ifc2x3::IfcVirtualGridIntersection v1_PlacementLocation, ::Ifc2x3::IfcVirtualGridIntersection v2_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementLocation));set_attribute_value(1, (v2_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc2x3::IfcRelAssignsToGroup> Ifc2x3::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[672], 6)); } +std::vector<::Ifc2x3::IfcRelAssignsToGroup> Ifc2x3::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[672], 6)); } -const IfcParse::entity& Ifc2x3::IfcGroup::Class() { return *((IfcParse::entity*)IFC2X3_types[401]); } +const ifcopenshell::entity& Ifc2x3::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC2X3_types[401]); } void Ifc2x3::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -8125,24 +8125,24 @@ bool Ifc2x3::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attribute_ void Ifc2x3::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC2X3_types[402]); } +const ifcopenshell::entity& Ifc2x3::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC2X3_types[402]); } void Ifc2x3::IfcHalfSpaceSolid::initialize(::Ifc2x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchangerType ::Ifc2x3::IfcHeatExchangerTypeEnum::Value Ifc2x3::IfcHeatExchangerType::PredefinedType() const { return ::Ifc2x3::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcHeatExchangerType::setPredefinedType(const ::Ifc2x3::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcHeatExchangerType::setPredefinedType(const ::Ifc2x3::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC2X3_types[404]); } -void Ifc2x3::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[404]); } +void Ifc2x3::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifierType ::Ifc2x3::IfcHumidifierTypeEnum::Value Ifc2x3::IfcHumidifierType::PredefinedType() const { return ::Ifc2x3::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcHumidifierType::setPredefinedType(const ::Ifc2x3::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcHumidifierType::setPredefinedType(const ::Ifc2x3::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC2X3_types[409]); } -void Ifc2x3::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[409]); } +void Ifc2x3::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHygroscopicMaterialProperties std::optional< double > Ifc2x3::IfcHygroscopicMaterialProperties::UpperVaporResistanceFactor() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -8157,7 +8157,7 @@ std::optional< double > Ifc2x3::IfcHygroscopicMaterialProperties::MoistureDiffus void Ifc2x3::IfcHygroscopicMaterialProperties::setMoistureDiffusivity(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc2x3::IfcHygroscopicMaterialProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[411]); } +const ifcopenshell::entity& Ifc2x3::IfcHygroscopicMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[411]); } void Ifc2x3::IfcHygroscopicMaterialProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_UpperVaporResistanceFactor, std::optional< double > v3_LowerVaporResistanceFactor, std::optional< double > v4_IsothermalMoistureCapacity, std::optional< double > v5_VaporPermeability, std::optional< double > v6_MoistureDiffusivity) { set_attribute_value(0, (v1_Material)); if (v2_UpperVaporResistanceFactor) {set_attribute_value(1, (*v2_UpperVaporResistanceFactor)); } if (v3_LowerVaporResistanceFactor) {set_attribute_value(2, (*v3_LowerVaporResistanceFactor)); } if (v4_IsothermalMoistureCapacity) {set_attribute_value(3, (*v4_IsothermalMoistureCapacity)); } if (v5_VaporPermeability) {set_attribute_value(4, (*v5_VaporPermeability)); } if (v6_MoistureDiffusivity) {set_attribute_value(5, (*v6_MoistureDiffusivity)); } } // Function implementations for IfcIShapeProfileDef @@ -8173,20 +8173,20 @@ std::optional< double > Ifc2x3::IfcIShapeProfileDef::FilletRadius() const { if(g void Ifc2x3::IfcIShapeProfileDef::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[424]); } -void Ifc2x3::IfcIShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc2x3::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[424]); } +void Ifc2x3::IfcIShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc2x3::IfcImageTexture::UrlReference() const { std::string v = get_attribute_value(4); return v; } void Ifc2x3::IfcImageTexture::setUrlReference(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC2X3_types[414]); } -void Ifc2x3::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::string v5_UrlReference) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(),(size_t)v3_TextureType)));set_attribute_value(3, (v4_TextureTransform));set_attribute_value(4, (v5_UrlReference)); } +const ifcopenshell::entity& Ifc2x3::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC2X3_types[414]); } +void Ifc2x3::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::string v5_UrlReference) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(),(size_t)v3_TextureType)));set_attribute_value(3, (v4_TextureTransform));set_attribute_value(4, (v5_UrlReference)); } // Function implementations for IfcInventory ::Ifc2x3::IfcInventoryTypeEnum::Value Ifc2x3::IfcInventory::InventoryType() const { return ::Ifc2x3::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcInventory::setInventoryType(const ::Ifc2x3::IfcInventoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcInventoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcInventory::setInventoryType(const ::Ifc2x3::IfcInventoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcInventoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcActorSelect Ifc2x3::IfcInventory::Jurisdiction() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcActorSelect>(); } void Ifc2x3::IfcInventory::setJurisdiction(const ::Ifc2x3::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::vector< ::Ifc2x3::IfcPerson > Ifc2x3::IfcInventory::ResponsiblePersons() const { std::vector es = get_attribute_value(7); return cast_vector<::Ifc2x3::IfcPerson>(es); } @@ -8199,16 +8199,16 @@ void Ifc2x3::IfcInventory::setCurrentValue(const ::Ifc2x3::IfcCostValue& v) { se void Ifc2x3::IfcInventory::setOriginalValue(const ::Ifc2x3::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc2x3::IfcInventory::Class() { return *((IfcParse::entity*)IFC2X3_types[419]); } -void Ifc2x3::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcInventoryTypeEnum::Value v6_InventoryType, ::Ifc2x3::IfcActorSelect v7_Jurisdiction, std::vector< ::Ifc2x3::IfcPerson > v8_ResponsiblePersons, ::Ifc2x3::IfcCalendarDate v9_LastUpdateDate, ::Ifc2x3::IfcCostValue v10_CurrentValue, ::Ifc2x3::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc2x3::IfcInventoryTypeEnum::Class(),(size_t)v6_InventoryType)));set_attribute_value(6, (v7_Jurisdiction));set_attribute_value(7, cast_vector(v8_ResponsiblePersons));set_attribute_value(8, (v9_LastUpdateDate));set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc2x3::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC2X3_types[419]); } +void Ifc2x3::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcInventoryTypeEnum::Value v6_InventoryType, ::Ifc2x3::IfcActorSelect v7_Jurisdiction, std::vector< ::Ifc2x3::IfcPerson > v8_ResponsiblePersons, ::Ifc2x3::IfcCalendarDate v9_LastUpdateDate, ::Ifc2x3::IfcCostValue v10_CurrentValue, ::Ifc2x3::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcInventoryTypeEnum::Class(),(size_t)v6_InventoryType)));set_attribute_value(6, (v7_Jurisdiction));set_attribute_value(7, cast_vector(v8_ResponsiblePersons));set_attribute_value(8, (v9_LastUpdateDate));set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc2x3::IfcIrregularTimeSeriesValue > Ifc2x3::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc2x3::IfcIrregularTimeSeriesValue>(es); } void Ifc2x3::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc2x3::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC2X3_types[422]); } -void Ifc2x3::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDateTimeSelect v3_StartTime, ::Ifc2x3::IfcDateTimeSelect v4_EndTime, ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc2x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc2x3::IfcUnit v8_Unit, std::vector< ::Ifc2x3::IfcIrregularTimeSeriesValue > v9_Values) { 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(&::Ifc2x3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc2x3::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC2X3_types[422]); } +void Ifc2x3::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDateTimeSelect v3_StartTime, ::Ifc2x3::IfcDateTimeSelect v4_EndTime, ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc2x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc2x3::IfcUnit v8_Unit, std::vector< ::Ifc2x3::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc2x3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue ::Ifc2x3::IfcDateTimeSelect Ifc2x3::IfcIrregularTimeSeriesValue::TimeStamp() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcDateTimeSelect>(); } @@ -8217,16 +8217,16 @@ std::vector< ::Ifc2x3::IfcValue > Ifc2x3::IfcIrregularTimeSeriesValue::ListValue void Ifc2x3::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc2x3::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC2X3_types[423]); } +const ifcopenshell::entity& Ifc2x3::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[423]); } void Ifc2x3::IfcIrregularTimeSeriesValue::initialize(::Ifc2x3::IfcDateTimeSelect v1_TimeStamp, std::vector< ::Ifc2x3::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBoxType ::Ifc2x3::IfcJunctionBoxTypeEnum::Value Ifc2x3::IfcJunctionBoxType::PredefinedType() const { return ::Ifc2x3::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcJunctionBoxType::setPredefinedType(const ::Ifc2x3::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcJunctionBoxType::setPredefinedType(const ::Ifc2x3::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC2X3_types[426]); } -void Ifc2x3::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[426]); } +void Ifc2x3::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLShapeProfileDef double Ifc2x3::IfcLShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -8247,24 +8247,24 @@ std::optional< double > Ifc2x3::IfcLShapeProfileDef::CentreOfGravityInY() const void Ifc2x3::IfcLShapeProfileDef::setCentreOfGravityInY(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc2x3::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[464]); } -void Ifc2x3::IfcLShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope, std::optional< double > v10_CentreOfGravityInX, std::optional< double > v11_CentreOfGravityInY) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } if (v10_CentreOfGravityInX) {set_attribute_value(9, (*v10_CentreOfGravityInX)); } if (v11_CentreOfGravityInY) {set_attribute_value(10, (*v11_CentreOfGravityInY)); } } +const ifcopenshell::entity& Ifc2x3::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[464]); } +void Ifc2x3::IfcLShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope, std::optional< double > v10_CentreOfGravityInX, std::optional< double > v11_CentreOfGravityInY) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } if (v10_CentreOfGravityInX) {set_attribute_value(9, (*v10_CentreOfGravityInX)); } if (v11_CentreOfGravityInY) {set_attribute_value(10, (*v11_CentreOfGravityInY)); } } // Function implementations for IfcLaborResource std::optional< std::string > Ifc2x3::IfcLaborResource::SkillSet() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc2x3::IfcLaborResource::setSkillSet(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC2X3_types[430]); } -void Ifc2x3::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity, std::optional< std::string > v10_SkillSet) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); if (v10_SkillSet) {set_attribute_value(9, (*v10_SkillSet)); } } +const ifcopenshell::entity& Ifc2x3::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[430]); } +void Ifc2x3::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity, std::optional< std::string > v10_SkillSet) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity)); if (v10_SkillSet) {set_attribute_value(9, (*v10_SkillSet)); } } // Function implementations for IfcLampType ::Ifc2x3::IfcLampTypeEnum::Value Ifc2x3::IfcLampType::PredefinedType() const { return ::Ifc2x3::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcLampType::setPredefinedType(const ::Ifc2x3::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcLampType::setPredefinedType(const ::Ifc2x3::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcLampType::Class() { return *((IfcParse::entity*)IFC2X3_types[431]); } -void Ifc2x3::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[431]); } +void Ifc2x3::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc2x3::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -8279,14 +8279,14 @@ std::optional< std::vector< ::Ifc2x3::IfcLibraryReference > > Ifc2x3::IfcLibrary void Ifc2x3::IfcLibraryInformation::setLibraryReference(const std::optional< std::vector< ::Ifc2x3::IfcLibraryReference > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC2X3_types[436]); } +const ifcopenshell::entity& Ifc2x3::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[436]); } void Ifc2x3::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc2x3::IfcOrganization v3_Publisher, ::Ifc2x3::IfcCalendarDate v4_VersionDate, std::optional< std::vector< ::Ifc2x3::IfcLibraryReference > > v5_LibraryReference) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher));set_attribute_value(3, (v4_VersionDate)); if (v5_LibraryReference) {set_attribute_value(4, cast_vector(*v5_LibraryReference)); } } // Function implementations for IfcLibraryReference -std::vector<::Ifc2x3::IfcLibraryInformation> Ifc2x3::IfcLibraryReference::ReferenceIntoLibrary() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[436], 4)); } +std::vector<::Ifc2x3::IfcLibraryInformation> Ifc2x3::IfcLibraryReference::ReferenceIntoLibrary() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[436], 4)); } -const IfcParse::entity& Ifc2x3::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC2X3_types[437]); } +const ifcopenshell::entity& Ifc2x3::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC2X3_types[437]); } void Ifc2x3::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name) { if (v1_Location) {set_attribute_value(0, (*v1_Location)); } if (v2_ItemReference) {set_attribute_value(1, (*v2_ItemReference)); } if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcLightDistributionData @@ -8298,26 +8298,26 @@ std::vector< double > /*[1:?]*/ Ifc2x3::IfcLightDistributionData::LuminousIntens void Ifc2x3::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC2X3_types[440]); } +const ifcopenshell::entity& Ifc2x3::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC2X3_types[440]); } void Ifc2x3::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixtureType ::Ifc2x3::IfcLightFixtureTypeEnum::Value Ifc2x3::IfcLightFixtureType::PredefinedType() const { return ::Ifc2x3::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcLightFixtureType::setPredefinedType(const ::Ifc2x3::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcLightFixtureType::setPredefinedType(const ::Ifc2x3::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC2X3_types[443]); } -void Ifc2x3::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[443]); } +void Ifc2x3::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc2x3::IfcLightDistributionCurveEnum::Value Ifc2x3::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc2x3::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc2x3::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc2x3::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc2x3::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc2x3::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc2x3::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc2x3::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc2x3::IfcLightDistributionData > Ifc2x3::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc2x3::IfcLightDistributionData>(es); } void Ifc2x3::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc2x3::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC2X3_types[445]); } -void Ifc2x3::IfcLightIntensityDistribution::initialize(::Ifc2x3::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc2x3::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc2x3::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC2X3_types[445]); } +void Ifc2x3::IfcLightIntensityDistribution::initialize(::Ifc2x3::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc2x3::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc2x3::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8330,13 +8330,13 @@ std::optional< double > Ifc2x3::IfcLightSource::Intensity() const { if(get_attri void Ifc2x3::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcLightSource::Class() { return *((IfcParse::entity*)IFC2X3_types[446]); } +const ifcopenshell::entity& Ifc2x3::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[446]); } void Ifc2x3::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc2x3::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC2X3_types[447]); } +const ifcopenshell::entity& Ifc2x3::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC2X3_types[447]); } void Ifc2x3::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -8344,7 +8344,7 @@ void Ifc2x3::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_N void Ifc2x3::IfcLightSourceDirectional::setOrientation(const ::Ifc2x3::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC2X3_types[448]); } +const ifcopenshell::entity& Ifc2x3::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC2X3_types[448]); } void Ifc2x3::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc2x3::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -8357,13 +8357,13 @@ void Ifc2x3::IfcLightSourceGoniometric::setColourTemperature(const double& v) { double Ifc2x3::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc2x3::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc2x3::IfcLightEmissionSourceEnum::Value Ifc2x3::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc2x3::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc2x3::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc2x3::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc2x3::IfcLightDistributionDataSourceSelect Ifc2x3::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc2x3::IfcLightDistributionDataSourceSelect>(); } void Ifc2x3::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc2x3::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC2X3_types[449]); } -void Ifc2x3::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc2x3::IfcAxis2Placement3D v5_Position, ::Ifc2x3::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc2x3::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc2x3::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc2x3::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC2X3_types[449]); } +void Ifc2x3::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc2x3::IfcAxis2Placement3D v5_Position, ::Ifc2x3::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc2x3::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc2x3::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc2x3::IfcCartesianPoint Ifc2x3::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcCartesianPoint>(); } @@ -8378,7 +8378,7 @@ double Ifc2x3::IfcLightSourcePositional::QuadricAttenuation() const { double v void Ifc2x3::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC2X3_types[450]); } +const ifcopenshell::entity& Ifc2x3::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC2X3_types[450]); } void Ifc2x3::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc2x3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -8392,7 +8392,7 @@ double Ifc2x3::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_attr void Ifc2x3::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc2x3::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC2X3_types[451]); } +const ifcopenshell::entity& Ifc2x3::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC2X3_types[451]); } void Ifc2x3::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc2x3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc2x3::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -8402,13 +8402,13 @@ void Ifc2x3::IfcLine::setPnt(const ::Ifc2x3::IfcCartesianPoint& v) { set_attribu void Ifc2x3::IfcLine::setDir(const ::Ifc2x3::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcLine::Class() { return *((IfcParse::entity*)IFC2X3_types[452]); } +const ifcopenshell::entity& Ifc2x3::IfcLine::Class() { return *((ifcopenshell::entity*)IFC2X3_types[452]); } void Ifc2x3::IfcLine::initialize(::Ifc2x3::IfcCartesianPoint v1_Pnt, ::Ifc2x3::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLinearDimension -const IfcParse::entity& Ifc2x3::IfcLinearDimension::Class() { return *((IfcParse::entity*)IFC2X3_types[453]); } +const ifcopenshell::entity& Ifc2x3::IfcLinearDimension::Class() { return *((ifcopenshell::entity*)IFC2X3_types[453]); } void Ifc2x3::IfcLinearDimension::initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents) { set_attribute_value(0, cast_vector(v1_Contents)); } // Function implementations for IfcLocalPlacement @@ -8418,7 +8418,7 @@ void Ifc2x3::IfcLocalPlacement::setPlacementRelTo(const ::Ifc2x3::IfcObjectPlace void Ifc2x3::IfcLocalPlacement::setRelativePlacement(const ::Ifc2x3::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC2X3_types[459]); } +const ifcopenshell::entity& Ifc2x3::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[459]); } void Ifc2x3::IfcLocalPlacement::initialize(::Ifc2x3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc2x3::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLocalTime @@ -8434,13 +8434,13 @@ std::optional< int > Ifc2x3::IfcLocalTime::DaylightSavingOffset() const { if(get void Ifc2x3::IfcLocalTime::setDaylightSavingOffset(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcLocalTime::Class() { return *((IfcParse::entity*)IFC2X3_types[460]); } +const ifcopenshell::entity& Ifc2x3::IfcLocalTime::Class() { return *((ifcopenshell::entity*)IFC2X3_types[460]); } void Ifc2x3::IfcLocalTime::initialize(int v1_HourComponent, std::optional< int > v2_MinuteComponent, std::optional< double > v3_SecondComponent, ::Ifc2x3::IfcCoordinatedUniversalTimeOffset v4_Zone, std::optional< int > v5_DaylightSavingOffset) { set_attribute_value(0, (v1_HourComponent)); if (v2_MinuteComponent) {set_attribute_value(1, (*v2_MinuteComponent)); } if (v3_SecondComponent) {set_attribute_value(2, (*v3_SecondComponent)); }set_attribute_value(3, (v4_Zone)); if (v5_DaylightSavingOffset) {set_attribute_value(4, (*v5_DaylightSavingOffset)); } } // Function implementations for IfcLoop -const IfcParse::entity& Ifc2x3::IfcLoop::Class() { return *((IfcParse::entity*)IFC2X3_types[463]); } +const ifcopenshell::entity& Ifc2x3::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC2X3_types[463]); } void Ifc2x3::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -8448,7 +8448,7 @@ void Ifc2x3::IfcLoop::initialize() { } void Ifc2x3::IfcManifoldSolidBrep::setOuter(const ::Ifc2x3::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC2X3_types[470]); } +const ifcopenshell::entity& Ifc2x3::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC2X3_types[470]); } void Ifc2x3::IfcManifoldSolidBrep::initialize(::Ifc2x3::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMappedItem @@ -8458,17 +8458,17 @@ void Ifc2x3::IfcMappedItem::setMappingSource(const ::Ifc2x3::IfcRepresentationMa void Ifc2x3::IfcMappedItem::setMappingTarget(const ::Ifc2x3::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC2X3_types[471]); } +const ifcopenshell::entity& Ifc2x3::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[471]); } void Ifc2x3::IfcMappedItem::initialize(::Ifc2x3::IfcRepresentationMap v1_MappingSource, ::Ifc2x3::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMaterial std::string Ifc2x3::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; } void Ifc2x3::IfcMaterial::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc2x3::IfcMaterialDefinitionRepresentation> Ifc2x3::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[478], 3)); } -std::vector<::Ifc2x3::IfcMaterialClassificationRelationship> Ifc2x3::IfcMaterial::ClassifiedAs() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[477], 1)); } +std::vector<::Ifc2x3::IfcMaterialDefinitionRepresentation> Ifc2x3::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[478], 3)); } +std::vector<::Ifc2x3::IfcMaterialClassificationRelationship> Ifc2x3::IfcMaterial::ClassifiedAs() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[477], 1)); } -const IfcParse::entity& Ifc2x3::IfcMaterial::Class() { return *((IfcParse::entity*)IFC2X3_types[476]); } +const ifcopenshell::entity& Ifc2x3::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC2X3_types[476]); } void Ifc2x3::IfcMaterial::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcMaterialClassificationRelationship @@ -8478,7 +8478,7 @@ void Ifc2x3::IfcMaterialClassificationRelationship::setMaterialClassifications(c void Ifc2x3::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc2x3::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[477]); } +const ifcopenshell::entity& Ifc2x3::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[477]); } void Ifc2x3::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc2x3::IfcClassificationNotationSelect > v1_MaterialClassifications, ::Ifc2x3::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialDefinitionRepresentation @@ -8486,7 +8486,7 @@ void Ifc2x3::IfcMaterialClassificationRelationship::initialize(std::vector< ::If void Ifc2x3::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc2x3::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC2X3_types[478]); } +const ifcopenshell::entity& Ifc2x3::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[478]); } void Ifc2x3::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcRepresentation > v3_Representations, ::Ifc2x3::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -8497,9 +8497,9 @@ void Ifc2x3::IfcMaterialLayer::setLayerThickness(const double& v) { set_attribut std::optional< boost::logic::tribool > Ifc2x3::IfcMaterialLayer::IsVentilated() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } boost::logic::tribool v = get_attribute_value(2); return v; } void Ifc2x3::IfcMaterialLayer::setIsVentilated(const std::optional< boost::logic::tribool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc2x3::IfcMaterialLayerSet> Ifc2x3::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[480], 0)); } +std::vector<::Ifc2x3::IfcMaterialLayerSet> Ifc2x3::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[480], 0)); } -const IfcParse::entity& Ifc2x3::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC2X3_types[479]); } +const ifcopenshell::entity& Ifc2x3::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC2X3_types[479]); } void Ifc2x3::IfcMaterialLayer::initialize(::Ifc2x3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated) { set_attribute_value(0, (v1_Material));set_attribute_value(1, (v2_LayerThickness)); if (v3_IsVentilated) {set_attribute_value(2, (*v3_IsVentilated)); } } // Function implementations for IfcMaterialLayerSet @@ -8509,29 +8509,29 @@ std::optional< std::string > Ifc2x3::IfcMaterialLayerSet::LayerSetName() const { void Ifc2x3::IfcMaterialLayerSet::setLayerSetName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc2x3::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC2X3_types[480]); } +const ifcopenshell::entity& Ifc2x3::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC2X3_types[480]); } void Ifc2x3::IfcMaterialLayerSet::initialize(std::vector< ::Ifc2x3::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc2x3::IfcMaterialLayerSet Ifc2x3::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcMaterialLayerSet>(); } void Ifc2x3::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc2x3::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc2x3::IfcLayerSetDirectionEnum::Value Ifc2x3::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc2x3::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc2x3::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc2x3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc2x3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc2x3::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc2x3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc2x3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc2x3::IfcDirectionSenseEnum::Value Ifc2x3::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc2x3::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc2x3::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc2x3::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc2x3::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc2x3::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc2x3::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC2X3_types[481]); } -void Ifc2x3::IfcMaterialLayerSetUsage::initialize(::Ifc2x3::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc2x3::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc2x3::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc2x3::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); } +const ifcopenshell::entity& Ifc2x3::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC2X3_types[481]); } +void Ifc2x3::IfcMaterialLayerSetUsage::initialize(::Ifc2x3::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc2x3::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc2x3::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc2x3::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); } // Function implementations for IfcMaterialList std::vector< ::Ifc2x3::IfcMaterial > Ifc2x3::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc2x3::IfcMaterial>(es); } void Ifc2x3::IfcMaterialList::setMaterials(const std::vector< ::Ifc2x3::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC2X3_types[482]); } +const ifcopenshell::entity& Ifc2x3::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC2X3_types[482]); } void Ifc2x3::IfcMaterialList::initialize(std::vector< ::Ifc2x3::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProperties @@ -8539,7 +8539,7 @@ void Ifc2x3::IfcMaterialList::initialize(std::vector< ::Ifc2x3::IfcMaterial > v1 void Ifc2x3::IfcMaterialProperties::setMaterial(const ::Ifc2x3::IfcMaterial& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[483]); } +const ifcopenshell::entity& Ifc2x3::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[483]); } void Ifc2x3::IfcMaterialProperties::initialize(::Ifc2x3::IfcMaterial v1_Material) { set_attribute_value(0, (v1_Material)); } // Function implementations for IfcMeasureWithUnit @@ -8549,7 +8549,7 @@ void Ifc2x3::IfcMeasureWithUnit::setValueComponent(const ::Ifc2x3::IfcValue& v) void Ifc2x3::IfcMeasureWithUnit::setUnitComponent(const ::Ifc2x3::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC2X3_types[486]); } +const ifcopenshell::entity& Ifc2x3::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC2X3_types[486]); } void Ifc2x3::IfcMeasureWithUnit::initialize(::Ifc2x3::IfcValue v1_ValueComponent, ::Ifc2x3::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalConcreteMaterialProperties @@ -8567,7 +8567,7 @@ std::optional< std::string > Ifc2x3::IfcMechanicalConcreteMaterialProperties::Wa void Ifc2x3::IfcMechanicalConcreteMaterialProperties::setWaterImpermeability(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc2x3::IfcMechanicalConcreteMaterialProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[487]); } +const ifcopenshell::entity& Ifc2x3::IfcMechanicalConcreteMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[487]); } void Ifc2x3::IfcMechanicalConcreteMaterialProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_DynamicViscosity, std::optional< double > v3_YoungModulus, std::optional< double > v4_ShearModulus, std::optional< double > v5_PoissonRatio, std::optional< double > v6_ThermalExpansionCoefficient, std::optional< double > v7_CompressiveStrength, std::optional< double > v8_MaxAggregateSize, std::optional< std::string > v9_AdmixturesDescription, std::optional< std::string > v10_Workability, std::optional< double > v11_ProtectivePoreRatio, std::optional< std::string > v12_WaterImpermeability) { set_attribute_value(0, (v1_Material)); if (v2_DynamicViscosity) {set_attribute_value(1, (*v2_DynamicViscosity)); } if (v3_YoungModulus) {set_attribute_value(2, (*v3_YoungModulus)); } if (v4_ShearModulus) {set_attribute_value(3, (*v4_ShearModulus)); } if (v5_PoissonRatio) {set_attribute_value(4, (*v5_PoissonRatio)); } if (v6_ThermalExpansionCoefficient) {set_attribute_value(5, (*v6_ThermalExpansionCoefficient)); } if (v7_CompressiveStrength) {set_attribute_value(6, (*v7_CompressiveStrength)); } if (v8_MaxAggregateSize) {set_attribute_value(7, (*v8_MaxAggregateSize)); } if (v9_AdmixturesDescription) {set_attribute_value(8, (*v9_AdmixturesDescription)); } if (v10_Workability) {set_attribute_value(9, (*v10_Workability)); } if (v11_ProtectivePoreRatio) {set_attribute_value(10, (*v11_ProtectivePoreRatio)); } if (v12_WaterImpermeability) {set_attribute_value(11, (*v12_WaterImpermeability)); } } // Function implementations for IfcMechanicalFastener @@ -8577,13 +8577,13 @@ std::optional< double > Ifc2x3::IfcMechanicalFastener::NominalLength() const { i void Ifc2x3::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC2X3_types[488]); } +const ifcopenshell::entity& Ifc2x3::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC2X3_types[488]); } void Ifc2x3::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } } // Function implementations for IfcMechanicalFastenerType -const IfcParse::entity& Ifc2x3::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC2X3_types[489]); } +const ifcopenshell::entity& Ifc2x3::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[489]); } void Ifc2x3::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcMechanicalMaterialProperties @@ -8599,7 +8599,7 @@ std::optional< double > Ifc2x3::IfcMechanicalMaterialProperties::ThermalExpansio void Ifc2x3::IfcMechanicalMaterialProperties::setThermalExpansionCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc2x3::IfcMechanicalMaterialProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[490]); } +const ifcopenshell::entity& Ifc2x3::IfcMechanicalMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[490]); } void Ifc2x3::IfcMechanicalMaterialProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_DynamicViscosity, std::optional< double > v3_YoungModulus, std::optional< double > v4_ShearModulus, std::optional< double > v5_PoissonRatio, std::optional< double > v6_ThermalExpansionCoefficient) { set_attribute_value(0, (v1_Material)); if (v2_DynamicViscosity) {set_attribute_value(1, (*v2_DynamicViscosity)); } if (v3_YoungModulus) {set_attribute_value(2, (*v3_YoungModulus)); } if (v4_ShearModulus) {set_attribute_value(3, (*v4_ShearModulus)); } if (v5_PoissonRatio) {set_attribute_value(4, (*v5_PoissonRatio)); } if (v6_ThermalExpansionCoefficient) {set_attribute_value(5, (*v6_ThermalExpansionCoefficient)); } } // Function implementations for IfcMechanicalSteelMaterialProperties @@ -8619,50 +8619,50 @@ std::optional< std::vector< ::Ifc2x3::IfcRelaxation > > Ifc2x3::IfcMechanicalSte void Ifc2x3::IfcMechanicalSteelMaterialProperties::setRelaxations(const std::optional< std::vector< ::Ifc2x3::IfcRelaxation > >& v) { if (v) {set_attribute_value(12, cast_vector(*v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc2x3::IfcMechanicalSteelMaterialProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[491]); } +const ifcopenshell::entity& Ifc2x3::IfcMechanicalSteelMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[491]); } void Ifc2x3::IfcMechanicalSteelMaterialProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_DynamicViscosity, std::optional< double > v3_YoungModulus, std::optional< double > v4_ShearModulus, std::optional< double > v5_PoissonRatio, std::optional< double > v6_ThermalExpansionCoefficient, std::optional< double > v7_YieldStress, std::optional< double > v8_UltimateStress, std::optional< double > v9_UltimateStrain, std::optional< double > v10_HardeningModule, std::optional< double > v11_ProportionalStress, std::optional< double > v12_PlasticStrain, std::optional< std::vector< ::Ifc2x3::IfcRelaxation > > v13_Relaxations) { set_attribute_value(0, (v1_Material)); if (v2_DynamicViscosity) {set_attribute_value(1, (*v2_DynamicViscosity)); } if (v3_YoungModulus) {set_attribute_value(2, (*v3_YoungModulus)); } if (v4_ShearModulus) {set_attribute_value(3, (*v4_ShearModulus)); } if (v5_PoissonRatio) {set_attribute_value(4, (*v5_PoissonRatio)); } if (v6_ThermalExpansionCoefficient) {set_attribute_value(5, (*v6_ThermalExpansionCoefficient)); } if (v7_YieldStress) {set_attribute_value(6, (*v7_YieldStress)); } if (v8_UltimateStress) {set_attribute_value(7, (*v8_UltimateStress)); } if (v9_UltimateStrain) {set_attribute_value(8, (*v9_UltimateStrain)); } if (v10_HardeningModule) {set_attribute_value(9, (*v10_HardeningModule)); } if (v11_ProportionalStress) {set_attribute_value(10, (*v11_ProportionalStress)); } if (v12_PlasticStrain) {set_attribute_value(11, (*v12_PlasticStrain)); } if (v13_Relaxations) {set_attribute_value(12, cast_vector(*v13_Relaxations)); } } // Function implementations for IfcMember -const IfcParse::entity& Ifc2x3::IfcMember::Class() { return *((IfcParse::entity*)IFC2X3_types[492]); } +const ifcopenshell::entity& Ifc2x3::IfcMember::Class() { return *((ifcopenshell::entity*)IFC2X3_types[492]); } void Ifc2x3::IfcMember::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcMemberType ::Ifc2x3::IfcMemberTypeEnum::Value Ifc2x3::IfcMemberType::PredefinedType() const { return ::Ifc2x3::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcMemberType::setPredefinedType(const ::Ifc2x3::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcMemberType::setPredefinedType(const ::Ifc2x3::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcMemberType::Class() { return *((IfcParse::entity*)IFC2X3_types[493]); } -void Ifc2x3::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[493]); } +void Ifc2x3::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc2x3::IfcBenchmarkEnum::Value Ifc2x3::IfcMetric::Benchmark() const { return ::Ifc2x3::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcMetric::setBenchmark(const ::Ifc2x3::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc2x3::IfcMetric::setBenchmark(const ::Ifc2x3::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc2x3::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc2x3::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc2x3::IfcMetricValueSelect Ifc2x3::IfcMetric::DataValue() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc2x3::IfcMetricValueSelect>(); } void Ifc2x3::IfcMetric::setDataValue(const ::Ifc2x3::IfcMetricValueSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcMetric::Class() { return *((IfcParse::entity*)IFC2X3_types[495]); } -void Ifc2x3::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc2x3::IfcActorSelect v5_CreatingActor, ::Ifc2x3::IfcDateTimeSelect v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc2x3::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc2x3::IfcMetricValueSelect v10_DataValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor));set_attribute_value(5, (v6_CreationTime)); if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue)); } +const ifcopenshell::entity& Ifc2x3::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC2X3_types[495]); } +void Ifc2x3::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc2x3::IfcActorSelect v5_CreatingActor, ::Ifc2x3::IfcDateTimeSelect v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc2x3::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc2x3::IfcMetricValueSelect v10_DataValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor));set_attribute_value(5, (v6_CreationTime)); if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue)); } // Function implementations for IfcMonetaryUnit ::Ifc2x3::IfcCurrencyEnum::Value Ifc2x3::IfcMonetaryUnit::Currency() const { return ::Ifc2x3::IfcCurrencyEnum::FromString(get_attribute_value(0)); } -void Ifc2x3::IfcMonetaryUnit::setCurrency(const ::Ifc2x3::IfcCurrencyEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc2x3::IfcCurrencyEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc2x3::IfcMonetaryUnit::setCurrency(const ::Ifc2x3::IfcCurrencyEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc2x3::IfcCurrencyEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC2X3_types[506]); } -void Ifc2x3::IfcMonetaryUnit::initialize(::Ifc2x3::IfcCurrencyEnum::Value v1_Currency) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcCurrencyEnum::Class(),(size_t)v1_Currency))); } +const ifcopenshell::entity& Ifc2x3::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC2X3_types[506]); } +void Ifc2x3::IfcMonetaryUnit::initialize(::Ifc2x3::IfcCurrencyEnum::Value v1_Currency) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcCurrencyEnum::Class(),(size_t)v1_Currency))); } // Function implementations for IfcMotorConnectionType ::Ifc2x3::IfcMotorConnectionTypeEnum::Value Ifc2x3::IfcMotorConnectionType::PredefinedType() const { return ::Ifc2x3::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcMotorConnectionType::setPredefinedType(const ::Ifc2x3::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcMotorConnectionType::setPredefinedType(const ::Ifc2x3::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC2X3_types[508]); } -void Ifc2x3::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[508]); } +void Ifc2x3::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMove ::Ifc2x3::IfcSpatialStructureElement Ifc2x3::IfcMove::MoveFrom() const { return ((express::Base)(get_attribute_value(10))).as<::Ifc2x3::IfcSpatialStructureElement>(); } @@ -8673,44 +8673,44 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc2x3::IfcMove::PunchList void Ifc2x3::IfcMove::setPunchList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc2x3::IfcMove::Class() { return *((IfcParse::entity*)IFC2X3_types[510]); } +const ifcopenshell::entity& Ifc2x3::IfcMove::Class() { return *((ifcopenshell::entity*)IFC2X3_types[510]); } void Ifc2x3::IfcMove::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_TaskId, std::optional< std::string > v7_Status, std::optional< std::string > v8_WorkMethod, bool v9_IsMilestone, std::optional< int > v10_Priority, ::Ifc2x3::IfcSpatialStructureElement v11_MoveFrom, ::Ifc2x3::IfcSpatialStructureElement v12_MoveTo, std::optional< std::vector< std::string > /*[1:?]*/ > v13_PunchList) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_TaskId)); if (v7_Status) {set_attribute_value(6, (*v7_Status)); } if (v8_WorkMethod) {set_attribute_value(7, (*v8_WorkMethod)); }set_attribute_value(8, (v9_IsMilestone)); if (v10_Priority) {set_attribute_value(9, (*v10_Priority)); }set_attribute_value(10, (v11_MoveFrom));set_attribute_value(11, (v12_MoveTo)); if (v13_PunchList) {set_attribute_value(12, (*v13_PunchList)); } } // Function implementations for IfcNamedUnit ::Ifc2x3::IfcDimensionalExponents Ifc2x3::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcDimensionalExponents>(); } void Ifc2x3::IfcNamedUnit::setDimensions(const ::Ifc2x3::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc2x3::IfcUnitEnum::Value Ifc2x3::IfcNamedUnit::UnitType() const { return ::Ifc2x3::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc2x3::IfcNamedUnit::setUnitType(const ::Ifc2x3::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc2x3::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc2x3::IfcNamedUnit::setUnitType(const ::Ifc2x3::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc2x3::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC2X3_types[511]); } -void Ifc2x3::IfcNamedUnit::initialize(::Ifc2x3::IfcDimensionalExponents v1_Dimensions, ::Ifc2x3::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc2x3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc2x3::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC2X3_types[511]); } +void Ifc2x3::IfcNamedUnit::initialize(::Ifc2x3::IfcDimensionalExponents v1_Dimensions, ::Ifc2x3::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc2x3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcObject std::optional< std::string > Ifc2x3::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc2x3::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc2x3::IfcRelDefines> Ifc2x3::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[702], 4)); } +std::vector<::Ifc2x3::IfcRelDefines> Ifc2x3::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[702], 4)); } -const IfcParse::entity& Ifc2x3::IfcObject::Class() { return *((IfcParse::entity*)IFC2X3_types[515]); } +const ifcopenshell::entity& Ifc2x3::IfcObject::Class() { return *((ifcopenshell::entity*)IFC2X3_types[515]); } void Ifc2x3::IfcObject::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc2x3::IfcRelAssigns> Ifc2x3::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[668], 4)); } -std::vector<::Ifc2x3::IfcRelDecomposes> Ifc2x3::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[701], 4)); } -std::vector<::Ifc2x3::IfcRelDecomposes> Ifc2x3::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[701], 5)); } -std::vector<::Ifc2x3::IfcRelAssociates> Ifc2x3::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[677], 4)); } +std::vector<::Ifc2x3::IfcRelAssigns> Ifc2x3::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[668], 4)); } +std::vector<::Ifc2x3::IfcRelDecomposes> Ifc2x3::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[701], 4)); } +std::vector<::Ifc2x3::IfcRelDecomposes> Ifc2x3::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[701], 5)); } +std::vector<::Ifc2x3::IfcRelAssociates> Ifc2x3::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[677], 4)); } -const IfcParse::entity& Ifc2x3::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC2X3_types[516]); } +const ifcopenshell::entity& Ifc2x3::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[516]); } void Ifc2x3::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement -std::vector<::Ifc2x3::IfcProduct> Ifc2x3::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[600], 5)); } -std::vector<::Ifc2x3::IfcLocalPlacement> Ifc2x3::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[459], 0)); } +std::vector<::Ifc2x3::IfcProduct> Ifc2x3::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[600], 5)); } +std::vector<::Ifc2x3::IfcLocalPlacement> Ifc2x3::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[459], 0)); } -const IfcParse::entity& Ifc2x3::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC2X3_types[519]); } +const ifcopenshell::entity& Ifc2x3::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[519]); } void Ifc2x3::IfcObjectPlacement::initialize() { } // Function implementations for IfcObjective @@ -8719,21 +8719,21 @@ void Ifc2x3::IfcObjective::setBenchmarkValues(const ::Ifc2x3::IfcMetric& v) { se ::Ifc2x3::IfcMetric Ifc2x3::IfcObjective::ResultValues() const { if(get_attribute_value(8).isNull()) { return ::Ifc2x3::IfcMetric{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc2x3::IfcMetric>(); } void Ifc2x3::IfcObjective::setResultValues(const ::Ifc2x3::IfcMetric& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc2x3::IfcObjectiveEnum::Value Ifc2x3::IfcObjective::ObjectiveQualifier() const { return ::Ifc2x3::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcObjective::setObjectiveQualifier(const ::Ifc2x3::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcObjective::setObjectiveQualifier(const ::Ifc2x3::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc2x3::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc2x3::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc2x3::IfcObjective::Class() { return *((IfcParse::entity*)IFC2X3_types[517]); } -void Ifc2x3::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc2x3::IfcActorSelect v5_CreatingActor, ::Ifc2x3::IfcDateTimeSelect v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc2x3::IfcMetric v8_BenchmarkValues, ::Ifc2x3::IfcMetric v9_ResultValues, ::Ifc2x3::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor));set_attribute_value(5, (v6_CreationTime)); if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (v8_BenchmarkValues));set_attribute_value(8, (v9_ResultValues));set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc2x3::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC2X3_types[517]); } +void Ifc2x3::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc2x3::IfcActorSelect v5_CreatingActor, ::Ifc2x3::IfcDateTimeSelect v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc2x3::IfcMetric v8_BenchmarkValues, ::Ifc2x3::IfcMetric v9_ResultValues, ::Ifc2x3::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor));set_attribute_value(5, (v6_CreationTime)); if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (v8_BenchmarkValues));set_attribute_value(8, (v9_ResultValues));set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant ::Ifc2x3::IfcOccupantTypeEnum::Value Ifc2x3::IfcOccupant::PredefinedType() const { return ::Ifc2x3::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc2x3::IfcOccupant::setPredefinedType(const ::Ifc2x3::IfcOccupantTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc2x3::IfcOccupantTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc2x3::IfcOccupant::setPredefinedType(const ::Ifc2x3::IfcOccupantTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc2x3::IfcOccupantTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcOccupant::Class() { return *((IfcParse::entity*)IFC2X3_types[522]); } -void Ifc2x3::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcActorSelect v6_TheActor, ::Ifc2x3::IfcOccupantTypeEnum::Value v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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));set_attribute_value(6, (EnumerationReference(&::Ifc2x3::IfcOccupantTypeEnum::Class(),(size_t)v7_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC2X3_types[522]); } +void Ifc2x3::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcActorSelect v6_TheActor, ::Ifc2x3::IfcOccupantTypeEnum::Value v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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));set_attribute_value(6, (enumeration_reference(&::Ifc2x3::IfcOccupantTypeEnum::Class(),(size_t)v7_PredefinedType))); } // Function implementations for IfcOffsetCurve2D ::Ifc2x3::IfcCurve Ifc2x3::IfcOffsetCurve2D::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcCurve>(); } @@ -8744,7 +8744,7 @@ boost::logic::tribool Ifc2x3::IfcOffsetCurve2D::SelfIntersect() const { boost:: void Ifc2x3::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC2X3_types[524]); } +const ifcopenshell::entity& Ifc2x3::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC2X3_types[524]); } void Ifc2x3::IfcOffsetCurve2D::initialize(::Ifc2x3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -8758,7 +8758,7 @@ void Ifc2x3::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& v) void Ifc2x3::IfcOffsetCurve3D::setRefDirection(const ::Ifc2x3::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC2X3_types[525]); } +const ifcopenshell::entity& Ifc2x3::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC2X3_types[525]); } void Ifc2x3::IfcOffsetCurve3D::initialize(::Ifc2x3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc2x3::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOneDirectionRepeatFactor @@ -8766,20 +8766,20 @@ void Ifc2x3::IfcOffsetCurve3D::initialize(::Ifc2x3::IfcCurve v1_BasisCurve, doub void Ifc2x3::IfcOneDirectionRepeatFactor::setRepeatFactor(const ::Ifc2x3::IfcVector& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcOneDirectionRepeatFactor::Class() { return *((IfcParse::entity*)IFC2X3_types[526]); } +const ifcopenshell::entity& Ifc2x3::IfcOneDirectionRepeatFactor::Class() { return *((ifcopenshell::entity*)IFC2X3_types[526]); } void Ifc2x3::IfcOneDirectionRepeatFactor::initialize(::Ifc2x3::IfcVector v1_RepeatFactor) { set_attribute_value(0, (v1_RepeatFactor)); } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc2x3::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC2X3_types[528]); } +const ifcopenshell::entity& Ifc2x3::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC2X3_types[528]); } void Ifc2x3::IfcOpenShell::initialize(std::vector< ::Ifc2x3::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement -std::vector<::Ifc2x3::IfcRelFillsElement> Ifc2x3::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[705], 4)); } +std::vector<::Ifc2x3::IfcRelFillsElement> Ifc2x3::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[705], 4)); } -const IfcParse::entity& Ifc2x3::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC2X3_types[527]); } +const ifcopenshell::entity& Ifc2x3::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[527]); } void Ifc2x3::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcOpticalMaterialProperties @@ -8803,7 +8803,7 @@ std::optional< double > Ifc2x3::IfcOpticalMaterialProperties::SolarReflectanceBa void Ifc2x3::IfcOpticalMaterialProperties::setSolarReflectanceBack(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcOpticalMaterialProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[529]); } +const ifcopenshell::entity& Ifc2x3::IfcOpticalMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[529]); } void Ifc2x3::IfcOpticalMaterialProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_VisibleTransmittance, std::optional< double > v3_SolarTransmittance, std::optional< double > v4_ThermalIrTransmittance, std::optional< double > v5_ThermalIrEmissivityBack, std::optional< double > v6_ThermalIrEmissivityFront, std::optional< double > v7_VisibleReflectanceBack, std::optional< double > v8_VisibleReflectanceFront, std::optional< double > v9_SolarReflectanceFront, std::optional< double > v10_SolarReflectanceBack) { set_attribute_value(0, (v1_Material)); if (v2_VisibleTransmittance) {set_attribute_value(1, (*v2_VisibleTransmittance)); } if (v3_SolarTransmittance) {set_attribute_value(2, (*v3_SolarTransmittance)); } if (v4_ThermalIrTransmittance) {set_attribute_value(3, (*v4_ThermalIrTransmittance)); } if (v5_ThermalIrEmissivityBack) {set_attribute_value(4, (*v5_ThermalIrEmissivityBack)); } if (v6_ThermalIrEmissivityFront) {set_attribute_value(5, (*v6_ThermalIrEmissivityFront)); } if (v7_VisibleReflectanceBack) {set_attribute_value(6, (*v7_VisibleReflectanceBack)); } if (v8_VisibleReflectanceFront) {set_attribute_value(7, (*v8_VisibleReflectanceFront)); } if (v9_SolarReflectanceFront) {set_attribute_value(8, (*v9_SolarReflectanceFront)); } if (v10_SolarReflectanceBack) {set_attribute_value(9, (*v10_SolarReflectanceBack)); } } // Function implementations for IfcOrderAction @@ -8811,7 +8811,7 @@ std::string Ifc2x3::IfcOrderAction::ActionID() const { std::string v = get_attr void Ifc2x3::IfcOrderAction::setActionID(const std::string& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc2x3::IfcOrderAction::Class() { return *((IfcParse::entity*)IFC2X3_types[530]); } +const ifcopenshell::entity& Ifc2x3::IfcOrderAction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[530]); } void Ifc2x3::IfcOrderAction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_TaskId, std::optional< std::string > v7_Status, std::optional< std::string > v8_WorkMethod, bool v9_IsMilestone, std::optional< int > v10_Priority, std::string v11_ActionID) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_TaskId)); if (v7_Status) {set_attribute_value(6, (*v7_Status)); } if (v8_WorkMethod) {set_attribute_value(7, (*v8_WorkMethod)); }set_attribute_value(8, (v9_IsMilestone)); if (v10_Priority) {set_attribute_value(9, (*v10_Priority)); }set_attribute_value(10, (v11_ActionID)); } // Function implementations for IfcOrganization @@ -8826,11 +8826,11 @@ void Ifc2x3::IfcOrganization::setRoles(const std::optional< std::vector< ::Ifc2x std::optional< std::vector< ::Ifc2x3::IfcAddress > > Ifc2x3::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc2x3::IfcAddress>(es); } void Ifc2x3::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc2x3::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc2x3::IfcOrganizationRelationship> Ifc2x3::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[532], 3)); } -std::vector<::Ifc2x3::IfcOrganizationRelationship> Ifc2x3::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[532], 2)); } -std::vector<::Ifc2x3::IfcPersonAndOrganization> Ifc2x3::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[546], 1)); } +std::vector<::Ifc2x3::IfcOrganizationRelationship> Ifc2x3::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[532], 3)); } +std::vector<::Ifc2x3::IfcOrganizationRelationship> Ifc2x3::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[532], 2)); } +std::vector<::Ifc2x3::IfcPersonAndOrganization> Ifc2x3::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[546], 1)); } -const IfcParse::entity& Ifc2x3::IfcOrganization::Class() { return *((IfcParse::entity*)IFC2X3_types[531]); } +const ifcopenshell::entity& Ifc2x3::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC2X3_types[531]); } void Ifc2x3::IfcOrganization::initialize(std::optional< std::string > v1_Id, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc2x3::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc2x3::IfcAddress > > v5_Addresses) { if (v1_Id) {set_attribute_value(0, (*v1_Id)); }set_attribute_value(1, (v2_Name)); if (v3_Description) {set_attribute_value(2, (*v3_Description)); } if (v4_Roles) {set_attribute_value(3, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -8844,7 +8844,7 @@ std::vector< ::Ifc2x3::IfcOrganization > Ifc2x3::IfcOrganizationRelationship::Re void Ifc2x3::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc2x3::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[532]); } +const ifcopenshell::entity& Ifc2x3::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[532]); } void Ifc2x3::IfcOrganizationRelationship::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc2x3::IfcOrganization > v4_RelatedOrganizations) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientedEdge @@ -8854,16 +8854,16 @@ bool Ifc2x3::IfcOrientedEdge::Orientation() const { bool v = get_attribute_valu void Ifc2x3::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC2X3_types[534]); } +const ifcopenshell::entity& Ifc2x3::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC2X3_types[534]); } void Ifc2x3::IfcOrientedEdge::initialize(::Ifc2x3::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOutletType ::Ifc2x3::IfcOutletTypeEnum::Value Ifc2x3::IfcOutletType::PredefinedType() const { return ::Ifc2x3::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcOutletType::setPredefinedType(const ::Ifc2x3::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcOutletType::setPredefinedType(const ::Ifc2x3::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcOutletType::Class() { return *((IfcParse::entity*)IFC2X3_types[535]); } -void Ifc2x3::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[535]); } +void Ifc2x3::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc2x3::IfcPersonAndOrganization Ifc2x3::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcPersonAndOrganization>(); } @@ -8871,9 +8871,9 @@ void Ifc2x3::IfcOwnerHistory::setOwningUser(const ::Ifc2x3::IfcPersonAndOrganiza ::Ifc2x3::IfcApplication Ifc2x3::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc2x3::IfcApplication>(); } void Ifc2x3::IfcOwnerHistory::setOwningApplication(const ::Ifc2x3::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc2x3::IfcStateEnum::Value > Ifc2x3::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcOwnerHistory::setState(const std::optional< ::Ifc2x3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc2x3::IfcOwnerHistory::setState(const std::optional< ::Ifc2x3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc2x3::IfcChangeActionEnum::Value Ifc2x3::IfcOwnerHistory::ChangeAction() const { return ::Ifc2x3::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc2x3::IfcOwnerHistory::setChangeAction(const ::Ifc2x3::IfcChangeActionEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc2x3::IfcChangeActionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc2x3::IfcOwnerHistory::setChangeAction(const ::Ifc2x3::IfcChangeActionEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc2x3::IfcChangeActionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } std::optional< int > Ifc2x3::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc2x3::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc2x3::IfcPersonAndOrganization Ifc2x3::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc2x3::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc2x3::IfcPersonAndOrganization>(); } @@ -8884,23 +8884,23 @@ int Ifc2x3::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value void Ifc2x3::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC2X3_types[537]); } -void Ifc2x3::IfcOwnerHistory::initialize(::Ifc2x3::IfcPersonAndOrganization v1_OwningUser, ::Ifc2x3::IfcApplication v2_OwningApplication, std::optional< ::Ifc2x3::IfcStateEnum::Value > v3_State, ::Ifc2x3::IfcChangeActionEnum::Value v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc2x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc2x3::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcStateEnum::Class(),(size_t)*v3_State))); }set_attribute_value(3, (EnumerationReference(&::Ifc2x3::IfcChangeActionEnum::Class(),(size_t)v4_ChangeAction))); if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc2x3::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC2X3_types[537]); } +void Ifc2x3::IfcOwnerHistory::initialize(::Ifc2x3::IfcPersonAndOrganization v1_OwningUser, ::Ifc2x3::IfcApplication v2_OwningApplication, std::optional< ::Ifc2x3::IfcStateEnum::Value > v3_State, ::Ifc2x3::IfcChangeActionEnum::Value v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc2x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc2x3::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcStateEnum::Class(),(size_t)*v3_State))); }set_attribute_value(3, (enumeration_reference(&::Ifc2x3::IfcChangeActionEnum::Class(),(size_t)v4_ChangeAction))); if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc2x3::IfcAxis2Placement2D Ifc2x3::IfcParameterizedProfileDef::Position() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc2x3::IfcAxis2Placement2D>(); } void Ifc2x3::IfcParameterizedProfileDef::setPosition(const ::Ifc2x3::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[538]); } -void Ifc2x3::IfcParameterizedProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc2x3::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[538]); } +void Ifc2x3::IfcParameterizedProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc2x3::IfcOrientedEdge > Ifc2x3::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc2x3::IfcOrientedEdge>(es); } void Ifc2x3::IfcPath::setEdgeList(const std::vector< ::Ifc2x3::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcPath::Class() { return *((IfcParse::entity*)IFC2X3_types[540]); } +const ifcopenshell::entity& Ifc2x3::IfcPath::Class() { return *((ifcopenshell::entity*)IFC2X3_types[540]); } void Ifc2x3::IfcPath::initialize(std::vector< ::Ifc2x3::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPerformanceHistory @@ -8908,14 +8908,14 @@ std::string Ifc2x3::IfcPerformanceHistory::LifeCyclePhase() const { std::string void Ifc2x3::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC2X3_types[541]); } +const ifcopenshell::entity& Ifc2x3::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC2X3_types[541]); } void Ifc2x3::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_LifeCyclePhase) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_LifeCyclePhase)); } // Function implementations for IfcPermeableCoveringProperties ::Ifc2x3::IfcPermeableCoveringOperationEnum::Value Ifc2x3::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc2x3::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcPermeableCoveringProperties::setOperationType(const ::Ifc2x3::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc2x3::IfcPermeableCoveringProperties::setOperationType(const ::Ifc2x3::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc2x3::IfcWindowPanelPositionEnum::Value Ifc2x3::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc2x3::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc2x3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc2x3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc2x3::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc2x3::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc2x3::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -8924,15 +8924,15 @@ void Ifc2x3::IfcPermeableCoveringProperties::setFrameThickness(const std::option void Ifc2x3::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[543]); } -void Ifc2x3::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc2x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc2x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc2x3::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)); } +const ifcopenshell::entity& Ifc2x3::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[543]); } +void Ifc2x3::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc2x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc2x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc2x3::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)); } // Function implementations for IfcPermit std::string Ifc2x3::IfcPermit::PermitID() const { std::string v = get_attribute_value(5); return v; } void Ifc2x3::IfcPermit::setPermitID(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcPermit::Class() { return *((IfcParse::entity*)IFC2X3_types[544]); } +const ifcopenshell::entity& Ifc2x3::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC2X3_types[544]); } void Ifc2x3::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_PermitID) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_PermitID)); } // Function implementations for IfcPerson @@ -8953,9 +8953,9 @@ void Ifc2x3::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc2x3::Ifc std::optional< std::vector< ::Ifc2x3::IfcAddress > > Ifc2x3::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc2x3::IfcAddress>(es); } void Ifc2x3::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc2x3::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc2x3::IfcPersonAndOrganization> Ifc2x3::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[546], 0)); } +std::vector<::Ifc2x3::IfcPersonAndOrganization> Ifc2x3::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[546], 0)); } -const IfcParse::entity& Ifc2x3::IfcPerson::Class() { return *((IfcParse::entity*)IFC2X3_types[545]); } +const ifcopenshell::entity& Ifc2x3::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC2X3_types[545]); } void Ifc2x3::IfcPerson::initialize(std::optional< std::string > v1_Id, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc2x3::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc2x3::IfcAddress > > v8_Addresses) { if (v1_Id) {set_attribute_value(0, (*v1_Id)); } 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -8967,7 +8967,7 @@ std::optional< std::vector< ::Ifc2x3::IfcActorRole > > Ifc2x3::IfcPersonAndOrgan void Ifc2x3::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc2x3::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc2x3::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC2X3_types[546]); } +const ifcopenshell::entity& Ifc2x3::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC2X3_types[546]); } void Ifc2x3::IfcPersonAndOrganization::initialize(::Ifc2x3::IfcPerson v1_ThePerson, ::Ifc2x3::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc2x3::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -8981,7 +8981,7 @@ std::optional< std::string > Ifc2x3::IfcPhysicalComplexQuantity::Usage() const { void Ifc2x3::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc2x3::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC2X3_types[548]); } +const ifcopenshell::entity& Ifc2x3::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC2X3_types[548]); } void Ifc2x3::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -8990,9 +8990,9 @@ void Ifc2x3::IfcPhysicalQuantity::setName(const std::string& v) { set_attribute_ std::optional< std::string > Ifc2x3::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc2x3::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc2x3::IfcPhysicalComplexQuantity> Ifc2x3::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[548], 2)); } +std::vector<::Ifc2x3::IfcPhysicalComplexQuantity> Ifc2x3::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[548], 2)); } -const IfcParse::entity& Ifc2x3::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC2X3_types[550]); } +const ifcopenshell::entity& Ifc2x3::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC2X3_types[550]); } void Ifc2x3::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -9000,34 +9000,34 @@ void Ifc2x3::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< void Ifc2x3::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc2x3::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC2X3_types[551]); } +const ifcopenshell::entity& Ifc2x3::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC2X3_types[551]); } void Ifc2x3::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile ::Ifc2x3::IfcPileTypeEnum::Value Ifc2x3::IfcPile::PredefinedType() const { return ::Ifc2x3::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcPile::setPredefinedType(const ::Ifc2x3::IfcPileTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcPile::setPredefinedType(const ::Ifc2x3::IfcPileTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< ::Ifc2x3::IfcPileConstructionEnum::Value > Ifc2x3::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcPile::setConstructionType(const std::optional< ::Ifc2x3::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc2x3::IfcPile::setConstructionType(const std::optional< ::Ifc2x3::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcPile::Class() { return *((IfcParse::entity*)IFC2X3_types[552]); } -void Ifc2x3::IfcPile::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcPileTypeEnum::Value v9_PredefinedType, std::optional< ::Ifc2x3::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcPileTypeEnum::Class(),(size_t)v9_PredefinedType))); if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc2x3::IfcPile::Class() { return *((ifcopenshell::entity*)IFC2X3_types[552]); } +void Ifc2x3::IfcPile::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcPileTypeEnum::Value v9_PredefinedType, std::optional< ::Ifc2x3::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcPileTypeEnum::Class(),(size_t)v9_PredefinedType))); if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPipeFittingType ::Ifc2x3::IfcPipeFittingTypeEnum::Value Ifc2x3::IfcPipeFittingType::PredefinedType() const { return ::Ifc2x3::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcPipeFittingType::setPredefinedType(const ::Ifc2x3::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcPipeFittingType::setPredefinedType(const ::Ifc2x3::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC2X3_types[555]); } -void Ifc2x3::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[555]); } +void Ifc2x3::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegmentType ::Ifc2x3::IfcPipeSegmentTypeEnum::Value Ifc2x3::IfcPipeSegmentType::PredefinedType() const { return ::Ifc2x3::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcPipeSegmentType::setPredefinedType(const ::Ifc2x3::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcPipeSegmentType::setPredefinedType(const ::Ifc2x3::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC2X3_types[557]); } -void Ifc2x3::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[557]); } +void Ifc2x3::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc2x3::IfcPixelTexture::Width() const { int v = get_attribute_value(4); return v; } @@ -9040,15 +9040,15 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc2x3::IfcPixelTexture::Pixel( void Ifc2x3::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC2X3_types[559]); } -void Ifc2x3::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, int v5_Width, int v6_Height, int v7_ColourComponents, std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v8_Pixel) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(),(size_t)v3_TextureType)));set_attribute_value(3, (v4_TextureTransform));set_attribute_value(4, (v5_Width));set_attribute_value(5, (v6_Height));set_attribute_value(6, (v7_ColourComponents));set_attribute_value(7, (v8_Pixel)); } +const ifcopenshell::entity& Ifc2x3::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC2X3_types[559]); } +void Ifc2x3::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, int v5_Width, int v6_Height, int v7_ColourComponents, std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v8_Pixel) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(),(size_t)v3_TextureType)));set_attribute_value(3, (v4_TextureTransform));set_attribute_value(4, (v5_Width));set_attribute_value(5, (v6_Height));set_attribute_value(6, (v7_ColourComponents));set_attribute_value(7, (v8_Pixel)); } // Function implementations for IfcPlacement ::Ifc2x3::IfcCartesianPoint Ifc2x3::IfcPlacement::Location() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcCartesianPoint>(); } void Ifc2x3::IfcPlacement::setLocation(const ::Ifc2x3::IfcCartesianPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcPlacement::Class() { return *((IfcParse::entity*)IFC2X3_types[560]); } +const ifcopenshell::entity& Ifc2x3::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[560]); } void Ifc2x3::IfcPlacement::initialize(::Ifc2x3::IfcCartesianPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -9056,7 +9056,7 @@ void Ifc2x3::IfcPlacement::initialize(::Ifc2x3::IfcCartesianPoint v1_Location) { void Ifc2x3::IfcPlanarBox::setPlacement(const ::Ifc2x3::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC2X3_types[561]); } +const ifcopenshell::entity& Ifc2x3::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC2X3_types[561]); } void Ifc2x3::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc2x3::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -9066,33 +9066,33 @@ double Ifc2x3::IfcPlanarExtent::SizeInY() const { double v = get_attribute_valu void Ifc2x3::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC2X3_types[562]); } +const ifcopenshell::entity& Ifc2x3::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC2X3_types[562]); } void Ifc2x3::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc2x3::IfcPlane::Class() { return *((IfcParse::entity*)IFC2X3_types[564]); } +const ifcopenshell::entity& Ifc2x3::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC2X3_types[564]); } void Ifc2x3::IfcPlane::initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlate -const IfcParse::entity& Ifc2x3::IfcPlate::Class() { return *((IfcParse::entity*)IFC2X3_types[566]); } +const ifcopenshell::entity& Ifc2x3::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC2X3_types[566]); } void Ifc2x3::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcPlateType ::Ifc2x3::IfcPlateTypeEnum::Value Ifc2x3::IfcPlateType::PredefinedType() const { return ::Ifc2x3::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcPlateType::setPredefinedType(const ::Ifc2x3::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcPlateType::setPredefinedType(const ::Ifc2x3::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcPlateType::Class() { return *((IfcParse::entity*)IFC2X3_types[567]); } -void Ifc2x3::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[567]); } +void Ifc2x3::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc2x3::IfcPoint::Class() { return *((IfcParse::entity*)IFC2X3_types[569]); } +const ifcopenshell::entity& Ifc2x3::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC2X3_types[569]); } void Ifc2x3::IfcPoint::initialize() { } // Function implementations for IfcPointOnCurve @@ -9102,7 +9102,7 @@ double Ifc2x3::IfcPointOnCurve::PointParameter() const { double v = get_attribu void Ifc2x3::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[570]); } +const ifcopenshell::entity& Ifc2x3::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[570]); } void Ifc2x3::IfcPointOnCurve::initialize(::Ifc2x3::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -9114,7 +9114,7 @@ double Ifc2x3::IfcPointOnSurface::PointParameterV() const { double v = get_attr void Ifc2x3::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC2X3_types[571]); } +const ifcopenshell::entity& Ifc2x3::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC2X3_types[571]); } void Ifc2x3::IfcPointOnSurface::initialize(::Ifc2x3::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -9122,7 +9122,7 @@ std::vector< ::Ifc2x3::IfcCartesianPoint > Ifc2x3::IfcPolyLoop::Polygon() const void Ifc2x3::IfcPolyLoop::setPolygon(const std::vector< ::Ifc2x3::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC2X3_types[575]); } +const ifcopenshell::entity& Ifc2x3::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC2X3_types[575]); } void Ifc2x3::IfcPolyLoop::initialize(std::vector< ::Ifc2x3::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -9132,7 +9132,7 @@ void Ifc2x3::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc2x3::IfcAxis2P void Ifc2x3::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc2x3::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC2X3_types[573]); } +const ifcopenshell::entity& Ifc2x3::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC2X3_types[573]); } void Ifc2x3::IfcPolygonalBoundedHalfSpace::initialize(::Ifc2x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc2x3::IfcAxis2Placement3D v3_Position, ::Ifc2x3::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolyline @@ -9140,16 +9140,16 @@ std::vector< ::Ifc2x3::IfcCartesianPoint > Ifc2x3::IfcPolyline::Points() const { void Ifc2x3::IfcPolyline::setPoints(const std::vector< ::Ifc2x3::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcPolyline::Class() { return *((IfcParse::entity*)IFC2X3_types[574]); } +const ifcopenshell::entity& Ifc2x3::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC2X3_types[574]); } void Ifc2x3::IfcPolyline::initialize(std::vector< ::Ifc2x3::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPort -std::vector<::Ifc2x3::IfcRelConnectsPortToElement> Ifc2x3::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[692], 4)); } -std::vector<::Ifc2x3::IfcRelConnectsPorts> Ifc2x3::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[691], 5)); } -std::vector<::Ifc2x3::IfcRelConnectsPorts> Ifc2x3::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[691], 4)); } +std::vector<::Ifc2x3::IfcRelConnectsPortToElement> Ifc2x3::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[692], 4)); } +std::vector<::Ifc2x3::IfcRelConnectsPorts> Ifc2x3::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[691], 5)); } +std::vector<::Ifc2x3::IfcRelConnectsPorts> Ifc2x3::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[691], 4)); } -const IfcParse::entity& Ifc2x3::IfcPort::Class() { return *((IfcParse::entity*)IFC2X3_types[576]); } +const ifcopenshell::entity& Ifc2x3::IfcPort::Class() { return *((ifcopenshell::entity*)IFC2X3_types[576]); } void Ifc2x3::IfcPort::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -9169,25 +9169,25 @@ std::optional< std::string > Ifc2x3::IfcPostalAddress::Country() const { if(get_ void Ifc2x3::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC2X3_types[580]); } -void Ifc2x3::IfcPostalAddress::initialize(std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc2x3::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)); } } +const ifcopenshell::entity& Ifc2x3::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC2X3_types[580]); } +void Ifc2x3::IfcPostalAddress::initialize(std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc2x3::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc2x3::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC2X3_types[582]); } +const ifcopenshell::entity& Ifc2x3::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC2X3_types[582]); } void Ifc2x3::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc2x3::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC2X3_types[583]); } +const ifcopenshell::entity& Ifc2x3::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC2X3_types[583]); } void Ifc2x3::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedDimensionSymbol -const IfcParse::entity& Ifc2x3::IfcPreDefinedDimensionSymbol::Class() { return *((IfcParse::entity*)IFC2X3_types[584]); } +const ifcopenshell::entity& Ifc2x3::IfcPreDefinedDimensionSymbol::Class() { return *((ifcopenshell::entity*)IFC2X3_types[584]); } void Ifc2x3::IfcPreDefinedDimensionSymbol::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -9195,31 +9195,31 @@ std::string Ifc2x3::IfcPreDefinedItem::Name() const { std::string v = get_attri void Ifc2x3::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC2X3_types[585]); } +const ifcopenshell::entity& Ifc2x3::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[585]); } void Ifc2x3::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedPointMarkerSymbol -const IfcParse::entity& Ifc2x3::IfcPreDefinedPointMarkerSymbol::Class() { return *((IfcParse::entity*)IFC2X3_types[586]); } +const ifcopenshell::entity& Ifc2x3::IfcPreDefinedPointMarkerSymbol::Class() { return *((ifcopenshell::entity*)IFC2X3_types[586]); } void Ifc2x3::IfcPreDefinedPointMarkerSymbol::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedSymbol -const IfcParse::entity& Ifc2x3::IfcPreDefinedSymbol::Class() { return *((IfcParse::entity*)IFC2X3_types[587]); } +const ifcopenshell::entity& Ifc2x3::IfcPreDefinedSymbol::Class() { return *((ifcopenshell::entity*)IFC2X3_types[587]); } void Ifc2x3::IfcPreDefinedSymbol::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedTerminatorSymbol -const IfcParse::entity& Ifc2x3::IfcPreDefinedTerminatorSymbol::Class() { return *((IfcParse::entity*)IFC2X3_types[588]); } +const ifcopenshell::entity& Ifc2x3::IfcPreDefinedTerminatorSymbol::Class() { return *((ifcopenshell::entity*)IFC2X3_types[588]); } void Ifc2x3::IfcPreDefinedTerminatorSymbol::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc2x3::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC2X3_types[589]); } +const ifcopenshell::entity& Ifc2x3::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC2X3_types[589]); } void Ifc2x3::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationLayerAssignment @@ -9233,7 +9233,7 @@ std::optional< std::string > Ifc2x3::IfcPresentationLayerAssignment::Identifier( void Ifc2x3::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC2X3_types[591]); } +const ifcopenshell::entity& Ifc2x3::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC2X3_types[591]); } void Ifc2x3::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -9247,7 +9247,7 @@ std::vector< ::Ifc2x3::IfcPresentationStyleSelect > Ifc2x3::IfcPresentationLayer void Ifc2x3::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc2x3::IfcPresentationStyleSelect >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[592]); } +const ifcopenshell::entity& Ifc2x3::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[592]); } void Ifc2x3::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc2x3::IfcPresentationStyleSelect > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -9255,7 +9255,7 @@ std::optional< std::string > Ifc2x3::IfcPresentationStyle::Name() const { if(get void Ifc2x3::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc2x3::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[593]); } +const ifcopenshell::entity& Ifc2x3::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[593]); } void Ifc2x3::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcPresentationStyleAssignment @@ -9263,28 +9263,28 @@ std::vector< ::Ifc2x3::IfcPresentationStyleSelect > Ifc2x3::IfcPresentationStyle void Ifc2x3::IfcPresentationStyleAssignment::setStyles(const std::vector< ::Ifc2x3::IfcPresentationStyleSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcPresentationStyleAssignment::Class() { return *((IfcParse::entity*)IFC2X3_types[594]); } +const ifcopenshell::entity& Ifc2x3::IfcPresentationStyleAssignment::Class() { return *((ifcopenshell::entity*)IFC2X3_types[594]); } void Ifc2x3::IfcPresentationStyleAssignment::initialize(std::vector< ::Ifc2x3::IfcPresentationStyleSelect > v1_Styles) { set_attribute_value(0, cast_vector(v1_Styles)); } // Function implementations for IfcProcedure std::string Ifc2x3::IfcProcedure::ProcedureID() const { std::string v = get_attribute_value(5); return v; } void Ifc2x3::IfcProcedure::setProcedureID(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcProcedureTypeEnum::Value Ifc2x3::IfcProcedure::ProcedureType() const { return ::Ifc2x3::IfcProcedureTypeEnum::FromString(get_attribute_value(6)); } -void Ifc2x3::IfcProcedure::setProcedureType(const ::Ifc2x3::IfcProcedureTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc2x3::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc2x3::IfcProcedure::setProcedureType(const ::Ifc2x3::IfcProcedureTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc2x3::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } std::optional< std::string > Ifc2x3::IfcProcedure::UserDefinedProcedureType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc2x3::IfcProcedure::setUserDefinedProcedureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcProcedure::Class() { return *((IfcParse::entity*)IFC2X3_types[597]); } -void Ifc2x3::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_ProcedureID, ::Ifc2x3::IfcProcedureTypeEnum::Value v7_ProcedureType, std::optional< std::string > v8_UserDefinedProcedureType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ProcedureID));set_attribute_value(6, (EnumerationReference(&::Ifc2x3::IfcProcedureTypeEnum::Class(),(size_t)v7_ProcedureType))); if (v8_UserDefinedProcedureType) {set_attribute_value(7, (*v8_UserDefinedProcedureType)); } } +const ifcopenshell::entity& Ifc2x3::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC2X3_types[597]); } +void Ifc2x3::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_ProcedureID, ::Ifc2x3::IfcProcedureTypeEnum::Value v7_ProcedureType, std::optional< std::string > v8_UserDefinedProcedureType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ProcedureID));set_attribute_value(6, (enumeration_reference(&::Ifc2x3::IfcProcedureTypeEnum::Class(),(size_t)v7_ProcedureType))); if (v8_UserDefinedProcedureType) {set_attribute_value(7, (*v8_UserDefinedProcedureType)); } } // Function implementations for IfcProcess -std::vector<::Ifc2x3::IfcRelAssignsToProcess> Ifc2x3::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[673], 6)); } -std::vector<::Ifc2x3::IfcRelSequence> Ifc2x3::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[714], 5)); } -std::vector<::Ifc2x3::IfcRelSequence> Ifc2x3::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[714], 4)); } +std::vector<::Ifc2x3::IfcRelAssignsToProcess> Ifc2x3::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[673], 6)); } +std::vector<::Ifc2x3::IfcRelSequence> Ifc2x3::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[714], 5)); } +std::vector<::Ifc2x3::IfcRelSequence> Ifc2x3::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[714], 4)); } -const IfcParse::entity& Ifc2x3::IfcProcess::Class() { return *((IfcParse::entity*)IFC2X3_types[599]); } +const ifcopenshell::entity& Ifc2x3::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC2X3_types[599]); } void Ifc2x3::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcProduct @@ -9293,17 +9293,17 @@ void Ifc2x3::IfcProduct::setObjectPlacement(const ::Ifc2x3::IfcObjectPlacement& ::Ifc2x3::IfcProductRepresentation Ifc2x3::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc2x3::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcProductRepresentation>(); } void Ifc2x3::IfcProduct::setRepresentation(const ::Ifc2x3::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc2x3::IfcRelAssignsToProduct> Ifc2x3::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[674], 6)); } +std::vector<::Ifc2x3::IfcRelAssignsToProduct> Ifc2x3::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[674], 6)); } -const IfcParse::entity& Ifc2x3::IfcProduct::Class() { return *((IfcParse::entity*)IFC2X3_types[600]); } +const ifcopenshell::entity& Ifc2x3::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC2X3_types[600]); } void Ifc2x3::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc2x3::IfcProduct> Ifc2x3::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[600], 6)); } -std::vector<::Ifc2x3::IfcShapeAspect> Ifc2x3::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[755], 4)); } +std::vector<::Ifc2x3::IfcProduct> Ifc2x3::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[600], 6)); } +std::vector<::Ifc2x3::IfcShapeAspect> Ifc2x3::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[755], 4)); } -const IfcParse::entity& Ifc2x3::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC2X3_types[601]); } +const ifcopenshell::entity& Ifc2x3::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC2X3_types[601]); } void Ifc2x3::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -9315,7 +9315,7 @@ std::vector< ::Ifc2x3::IfcRepresentation > Ifc2x3::IfcProductRepresentation::Rep void Ifc2x3::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc2x3::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC2X3_types[602]); } +const ifcopenshell::entity& Ifc2x3::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[602]); } void Ifc2x3::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductsOfCombustionProperties @@ -9329,18 +9329,18 @@ std::optional< double > Ifc2x3::IfcProductsOfCombustionProperties::CO2Content() void Ifc2x3::IfcProductsOfCombustionProperties::setCO2Content(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcProductsOfCombustionProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[603]); } +const ifcopenshell::entity& Ifc2x3::IfcProductsOfCombustionProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[603]); } void Ifc2x3::IfcProductsOfCombustionProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_SpecificHeatCapacity, std::optional< double > v3_N20Content, std::optional< double > v4_COContent, std::optional< double > v5_CO2Content) { set_attribute_value(0, (v1_Material)); if (v2_SpecificHeatCapacity) {set_attribute_value(1, (*v2_SpecificHeatCapacity)); } if (v3_N20Content) {set_attribute_value(2, (*v3_N20Content)); } if (v4_COContent) {set_attribute_value(3, (*v4_COContent)); } if (v5_CO2Content) {set_attribute_value(4, (*v5_CO2Content)); } } // Function implementations for IfcProfileDef ::Ifc2x3::IfcProfileTypeEnum::Value Ifc2x3::IfcProfileDef::ProfileType() const { return ::Ifc2x3::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc2x3::IfcProfileDef::setProfileType(const ::Ifc2x3::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc2x3::IfcProfileDef::setProfileType(const ::Ifc2x3::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc2x3::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc2x3::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc2x3::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[604]); } -void Ifc2x3::IfcProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc2x3::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[604]); } +void Ifc2x3::IfcProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties std::optional< std::string > Ifc2x3::IfcProfileProperties::ProfileName() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -9349,7 +9349,7 @@ void Ifc2x3::IfcProfileProperties::setProfileName(const std::optional< std::stri void Ifc2x3::IfcProfileProperties::setProfileDefinition(const ::Ifc2x3::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[605]); } +const ifcopenshell::entity& Ifc2x3::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[605]); } void Ifc2x3::IfcProfileProperties::initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition) { if (v1_ProfileName) {set_attribute_value(0, (*v1_ProfileName)); }set_attribute_value(1, (v2_ProfileDefinition)); } // Function implementations for IfcProject @@ -9363,41 +9363,41 @@ void Ifc2x3::IfcProject::setRepresentationContexts(const std::vector< ::Ifc2x3:: void Ifc2x3::IfcProject::setUnitsInContext(const ::Ifc2x3::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcProject::Class() { return *((IfcParse::entity*)IFC2X3_types[607]); } +const ifcopenshell::entity& Ifc2x3::IfcProject::Class() { return *((ifcopenshell::entity*)IFC2X3_types[607]); } void Ifc2x3::IfcProject::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::vector< ::Ifc2x3::IfcRepresentationContext > v8_RepresentationContexts, ::Ifc2x3::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); }set_attribute_value(7, cast_vector(v8_RepresentationContexts));set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::string Ifc2x3::IfcProjectOrder::ID() const { std::string v = get_attribute_value(5); return v; } void Ifc2x3::IfcProjectOrder::setID(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcProjectOrderTypeEnum::Value Ifc2x3::IfcProjectOrder::PredefinedType() const { return ::Ifc2x3::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc2x3::IfcProjectOrder::setPredefinedType(const ::Ifc2x3::IfcProjectOrderTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc2x3::IfcProjectOrderTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc2x3::IfcProjectOrder::setPredefinedType(const ::Ifc2x3::IfcProjectOrderTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc2x3::IfcProjectOrderTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } std::optional< std::string > Ifc2x3::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc2x3::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC2X3_types[611]); } -void Ifc2x3::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_ID, ::Ifc2x3::IfcProjectOrderTypeEnum::Value v7_PredefinedType, std::optional< std::string > v8_Status) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ID));set_attribute_value(6, (EnumerationReference(&::Ifc2x3::IfcProjectOrderTypeEnum::Class(),(size_t)v7_PredefinedType))); if (v8_Status) {set_attribute_value(7, (*v8_Status)); } } +const ifcopenshell::entity& Ifc2x3::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC2X3_types[611]); } +void Ifc2x3::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_ID, ::Ifc2x3::IfcProjectOrderTypeEnum::Value v7_PredefinedType, std::optional< std::string > v8_Status) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ID));set_attribute_value(6, (enumeration_reference(&::Ifc2x3::IfcProjectOrderTypeEnum::Class(),(size_t)v7_PredefinedType))); if (v8_Status) {set_attribute_value(7, (*v8_Status)); } } // Function implementations for IfcProjectOrderRecord std::vector< ::Ifc2x3::IfcRelAssignsToProjectOrder > Ifc2x3::IfcProjectOrderRecord::Records() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc2x3::IfcRelAssignsToProjectOrder>(es); } void Ifc2x3::IfcProjectOrderRecord::setRecords(const std::vector< ::Ifc2x3::IfcRelAssignsToProjectOrder >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcProjectOrderRecordTypeEnum::Value Ifc2x3::IfcProjectOrderRecord::PredefinedType() const { return ::Ifc2x3::IfcProjectOrderRecordTypeEnum::FromString(get_attribute_value(6)); } -void Ifc2x3::IfcProjectOrderRecord::setPredefinedType(const ::Ifc2x3::IfcProjectOrderRecordTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc2x3::IfcProjectOrderRecordTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc2x3::IfcProjectOrderRecord::setPredefinedType(const ::Ifc2x3::IfcProjectOrderRecordTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc2x3::IfcProjectOrderRecordTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcProjectOrderRecord::Class() { return *((IfcParse::entity*)IFC2X3_types[612]); } -void Ifc2x3::IfcProjectOrderRecord::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::vector< ::Ifc2x3::IfcRelAssignsToProjectOrder > v6_Records, ::Ifc2x3::IfcProjectOrderRecordTypeEnum::Value v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, cast_vector(v6_Records));set_attribute_value(6, (EnumerationReference(&::Ifc2x3::IfcProjectOrderRecordTypeEnum::Class(),(size_t)v7_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcProjectOrderRecord::Class() { return *((ifcopenshell::entity*)IFC2X3_types[612]); } +void Ifc2x3::IfcProjectOrderRecord::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::vector< ::Ifc2x3::IfcRelAssignsToProjectOrder > v6_Records, ::Ifc2x3::IfcProjectOrderRecordTypeEnum::Value v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, cast_vector(v6_Records));set_attribute_value(6, (enumeration_reference(&::Ifc2x3::IfcProjectOrderRecordTypeEnum::Class(),(size_t)v7_PredefinedType))); } // Function implementations for IfcProjectionCurve -const IfcParse::entity& Ifc2x3::IfcProjectionCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[609]); } +const ifcopenshell::entity& Ifc2x3::IfcProjectionCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[609]); } void Ifc2x3::IfcProjectionCurve::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcProjectionElement -const IfcParse::entity& Ifc2x3::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC2X3_types[610]); } +const ifcopenshell::entity& Ifc2x3::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[610]); } void Ifc2x3::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcProperty @@ -9406,11 +9406,11 @@ void Ifc2x3::IfcProperty::setName(const std::string& v) { set_attribute_value(0, std::optional< std::string > Ifc2x3::IfcProperty::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc2x3::IfcProperty::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc2x3::IfcPropertyDependencyRelationship> Ifc2x3::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[619], 0)); } -std::vector<::Ifc2x3::IfcPropertyDependencyRelationship> Ifc2x3::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[619], 1)); } -std::vector<::Ifc2x3::IfcComplexProperty> Ifc2x3::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[131], 3)); } +std::vector<::Ifc2x3::IfcPropertyDependencyRelationship> Ifc2x3::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[619], 0)); } +std::vector<::Ifc2x3::IfcPropertyDependencyRelationship> Ifc2x3::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[619], 1)); } +std::vector<::Ifc2x3::IfcComplexProperty> Ifc2x3::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[131], 3)); } -const IfcParse::entity& Ifc2x3::IfcProperty::Class() { return *((IfcParse::entity*)IFC2X3_types[615]); } +const ifcopenshell::entity& Ifc2x3::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC2X3_types[615]); } void Ifc2x3::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPropertyBoundedValue @@ -9422,7 +9422,7 @@ void Ifc2x3::IfcPropertyBoundedValue::setLowerBoundValue(const ::Ifc2x3::IfcValu void Ifc2x3::IfcPropertyBoundedValue::setUnit(const ::Ifc2x3::IfcUnit& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC2X3_types[616]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[616]); } void Ifc2x3::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcValue v3_UpperBoundValue, ::Ifc2x3::IfcValue v4_LowerBoundValue, ::Ifc2x3::IfcUnit v5_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit)); } // Function implementations for IfcPropertyConstraintRelationship @@ -9436,14 +9436,14 @@ std::optional< std::string > Ifc2x3::IfcPropertyConstraintRelationship::Descript void Ifc2x3::IfcPropertyConstraintRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcPropertyConstraintRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[617]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertyConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[617]); } void Ifc2x3::IfcPropertyConstraintRelationship::initialize(::Ifc2x3::IfcConstraint v1_RelatingConstraint, std::vector< ::Ifc2x3::IfcProperty > v2_RelatedProperties, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_RelatingConstraint));set_attribute_value(1, cast_vector(v2_RelatedProperties)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc2x3::IfcRelAssociates> Ifc2x3::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[677], 4)); } +std::vector<::Ifc2x3::IfcRelAssociates> Ifc2x3::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[677], 4)); } -const IfcParse::entity& Ifc2x3::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC2X3_types[618]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[618]); } void Ifc2x3::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -9459,7 +9459,7 @@ std::optional< std::string > Ifc2x3::IfcPropertyDependencyRelationship::Expressi void Ifc2x3::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[619]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[619]); } void Ifc2x3::IfcPropertyDependencyRelationship::initialize(::Ifc2x3::IfcProperty v1_DependingProperty, ::Ifc2x3::IfcProperty v2_DependantProperty, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Expression) { set_attribute_value(0, (v1_DependingProperty));set_attribute_value(1, (v2_DependantProperty)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -9469,7 +9469,7 @@ void Ifc2x3::IfcPropertyEnumeratedValue::setEnumerationValues(const std::vector< void Ifc2x3::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc2x3::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC2X3_types[620]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[620]); } void Ifc2x3::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcValue > v3_EnumerationValues, ::Ifc2x3::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_EnumerationValues));set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -9481,7 +9481,7 @@ void Ifc2x3::IfcPropertyEnumeration::setEnumerationValues(const std::vector< ::I void Ifc2x3::IfcPropertyEnumeration::setUnit(const ::Ifc2x3::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC2X3_types[621]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC2X3_types[621]); } void Ifc2x3::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc2x3::IfcValue > v2_EnumerationValues, ::Ifc2x3::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -9491,7 +9491,7 @@ void Ifc2x3::IfcPropertyListValue::setListValues(const std::vector< ::Ifc2x3::If void Ifc2x3::IfcPropertyListValue::setUnit(const ::Ifc2x3::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC2X3_types[622]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[622]); } void Ifc2x3::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcValue > v3_ListValues, ::Ifc2x3::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_ListValues));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -9501,7 +9501,7 @@ void Ifc2x3::IfcPropertyReferenceValue::setUsageName(const std::optional< std::s void Ifc2x3::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc2x3::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC2X3_types[623]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[623]); } void Ifc2x3::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc2x3::IfcObjectReferenceSelect v4_PropertyReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, (v4_PropertyReference)); } // Function implementations for IfcPropertySet @@ -9509,15 +9509,15 @@ std::vector< ::Ifc2x3::IfcProperty > Ifc2x3::IfcPropertySet::HasProperties() con void Ifc2x3::IfcPropertySet::setHasProperties(const std::vector< ::Ifc2x3::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC2X3_types[624]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC2X3_types[624]); } void Ifc2x3::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc2x3::IfcRelDefinesByProperties> Ifc2x3::IfcPropertySetDefinition::PropertyDefinitionOf() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[703], 5)); } -std::vector<::Ifc2x3::IfcTypeObject> Ifc2x3::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[932], 5)); } +std::vector<::Ifc2x3::IfcRelDefinesByProperties> Ifc2x3::IfcPropertySetDefinition::PropertyDefinitionOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[703], 5)); } +std::vector<::Ifc2x3::IfcTypeObject> Ifc2x3::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[932], 5)); } -const IfcParse::entity& Ifc2x3::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC2X3_types[625]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[625]); } void Ifc2x3::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySingleValue @@ -9527,7 +9527,7 @@ void Ifc2x3::IfcPropertySingleValue::setNominalValue(const ::Ifc2x3::IfcValue& v void Ifc2x3::IfcPropertySingleValue::setUnit(const ::Ifc2x3::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC2X3_types[626]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[626]); } void Ifc2x3::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcValue v3_NominalValue, ::Ifc2x3::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -9543,41 +9543,41 @@ void Ifc2x3::IfcPropertyTableValue::setDefiningUnit(const ::Ifc2x3::IfcUnit& v) void Ifc2x3::IfcPropertyTableValue::setDefinedUnit(const ::Ifc2x3::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC2X3_types[628]); } +const ifcopenshell::entity& Ifc2x3::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[628]); } void Ifc2x3::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcValue > v3_DefiningValues, std::vector< ::Ifc2x3::IfcValue > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc2x3::IfcUnit v6_DefiningUnit, ::Ifc2x3::IfcUnit v7_DefinedUnit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_DefiningValues));set_attribute_value(3, cast_vector(v4_DefinedValues)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); } // Function implementations for IfcProtectiveDeviceType ::Ifc2x3::IfcProtectiveDeviceTypeEnum::Value Ifc2x3::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc2x3::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc2x3::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc2x3::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC2X3_types[629]); } -void Ifc2x3::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[629]); } +void Ifc2x3::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProxy ::Ifc2x3::IfcObjectTypeEnum::Value Ifc2x3::IfcProxy::ProxyType() const { return ::Ifc2x3::IfcObjectTypeEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcProxy::setProxyType(const ::Ifc2x3::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc2x3::IfcProxy::setProxyType(const ::Ifc2x3::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc2x3::IfcProxy::Tag() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc2x3::IfcProxy::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcProxy::Class() { return *((IfcParse::entity*)IFC2X3_types[631]); } -void Ifc2x3::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } +const ifcopenshell::entity& Ifc2x3::IfcProxy::Class() { return *((ifcopenshell::entity*)IFC2X3_types[631]); } +void Ifc2x3::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } // Function implementations for IfcPumpType ::Ifc2x3::IfcPumpTypeEnum::Value Ifc2x3::IfcPumpType::PredefinedType() const { return ::Ifc2x3::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcPumpType::setPredefinedType(const ::Ifc2x3::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcPumpType::setPredefinedType(const ::Ifc2x3::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcPumpType::Class() { return *((IfcParse::entity*)IFC2X3_types[632]); } -void Ifc2x3::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[632]); } +void Ifc2x3::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc2x3::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } void Ifc2x3::IfcQuantityArea::setAreaValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC2X3_types[634]); } +const ifcopenshell::entity& Ifc2x3::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC2X3_types[634]); } void Ifc2x3::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_AreaValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); } // Function implementations for IfcQuantityCount @@ -9585,7 +9585,7 @@ double Ifc2x3::IfcQuantityCount::CountValue() const { double v = get_attribute_ void Ifc2x3::IfcQuantityCount::setCountValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC2X3_types[635]); } +const ifcopenshell::entity& Ifc2x3::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC2X3_types[635]); } void Ifc2x3::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_CountValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); } // Function implementations for IfcQuantityLength @@ -9593,7 +9593,7 @@ double Ifc2x3::IfcQuantityLength::LengthValue() const { double v = get_attribut void Ifc2x3::IfcQuantityLength::setLengthValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC2X3_types[636]); } +const ifcopenshell::entity& Ifc2x3::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC2X3_types[636]); } void Ifc2x3::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_LengthValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); } // Function implementations for IfcQuantityTime @@ -9601,7 +9601,7 @@ double Ifc2x3::IfcQuantityTime::TimeValue() const { double v = get_attribute_va void Ifc2x3::IfcQuantityTime::setTimeValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC2X3_types[637]); } +const ifcopenshell::entity& Ifc2x3::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC2X3_types[637]); } void Ifc2x3::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_TimeValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); } // Function implementations for IfcQuantityVolume @@ -9609,7 +9609,7 @@ double Ifc2x3::IfcQuantityVolume::VolumeValue() const { double v = get_attribut void Ifc2x3::IfcQuantityVolume::setVolumeValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC2X3_types[638]); } +const ifcopenshell::entity& Ifc2x3::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC2X3_types[638]); } void Ifc2x3::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_VolumeValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); } // Function implementations for IfcQuantityWeight @@ -9617,60 +9617,60 @@ double Ifc2x3::IfcQuantityWeight::WeightValue() const { double v = get_attribut void Ifc2x3::IfcQuantityWeight::setWeightValue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC2X3_types[639]); } +const ifcopenshell::entity& Ifc2x3::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC2X3_types[639]); } void Ifc2x3::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_WeightValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); } // Function implementations for IfcRadiusDimension -const IfcParse::entity& Ifc2x3::IfcRadiusDimension::Class() { return *((IfcParse::entity*)IFC2X3_types[641]); } +const ifcopenshell::entity& Ifc2x3::IfcRadiusDimension::Class() { return *((ifcopenshell::entity*)IFC2X3_types[641]); } void Ifc2x3::IfcRadiusDimension::initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents) { set_attribute_value(0, cast_vector(v1_Contents)); } // Function implementations for IfcRailing std::optional< ::Ifc2x3::IfcRailingTypeEnum::Value > Ifc2x3::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcRailing::setPredefinedType(const std::optional< ::Ifc2x3::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc2x3::IfcRailing::setPredefinedType(const std::optional< ::Ifc2x3::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcRailing::Class() { return *((IfcParse::entity*)IFC2X3_types[642]); } -void Ifc2x3::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc2x3::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC2X3_types[642]); } +void Ifc2x3::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc2x3::IfcRailingTypeEnum::Value Ifc2x3::IfcRailingType::PredefinedType() const { return ::Ifc2x3::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcRailingType::setPredefinedType(const ::Ifc2x3::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcRailingType::setPredefinedType(const ::Ifc2x3::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcRailingType::Class() { return *((IfcParse::entity*)IFC2X3_types[643]); } -void Ifc2x3::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[643]); } +void Ifc2x3::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRamp ::Ifc2x3::IfcRampTypeEnum::Value Ifc2x3::IfcRamp::ShapeType() const { return ::Ifc2x3::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcRamp::setShapeType(const ::Ifc2x3::IfcRampTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcRamp::setShapeType(const ::Ifc2x3::IfcRampTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcRamp::Class() { return *((IfcParse::entity*)IFC2X3_types[645]); } -void Ifc2x3::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcRampTypeEnum::Value v9_ShapeType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcRampTypeEnum::Class(),(size_t)v9_ShapeType))); } +const ifcopenshell::entity& Ifc2x3::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC2X3_types[645]); } +void Ifc2x3::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcRampTypeEnum::Value v9_ShapeType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcRampTypeEnum::Class(),(size_t)v9_ShapeType))); } // Function implementations for IfcRampFlight -const IfcParse::entity& Ifc2x3::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC2X3_types[646]); } +const ifcopenshell::entity& Ifc2x3::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC2X3_types[646]); } void Ifc2x3::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcRampFlightType ::Ifc2x3::IfcRampFlightTypeEnum::Value Ifc2x3::IfcRampFlightType::PredefinedType() const { return ::Ifc2x3::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcRampFlightType::setPredefinedType(const ::Ifc2x3::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcRampFlightType::setPredefinedType(const ::Ifc2x3::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC2X3_types[647]); } -void Ifc2x3::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[647]); } +void Ifc2x3::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBezierCurve std::vector< double > /*[2:?]*/ Ifc2x3::IfcRationalBezierCurve::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(5); return v; } void Ifc2x3::IfcRationalBezierCurve::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRationalBezierCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[651]); } -void Ifc2x3::IfcRationalBezierCurve::initialize(int v1_Degree, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc2x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect, std::vector< double > /*[2:?]*/ v6_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect));set_attribute_value(5, (v6_WeightsData)); } +const ifcopenshell::entity& Ifc2x3::IfcRationalBezierCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[651]); } +void Ifc2x3::IfcRationalBezierCurve::initialize(int v1_Degree, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc2x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect, std::vector< double > /*[2:?]*/ v6_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect));set_attribute_value(5, (v6_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc2x3::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -9681,8 +9681,8 @@ std::optional< double > Ifc2x3::IfcRectangleHollowProfileDef::OuterFilletRadius( void Ifc2x3::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[653]); } -void Ifc2x3::IfcRectangleHollowProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc2x3::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[653]); } +void Ifc2x3::IfcRectangleHollowProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc2x3::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -9691,8 +9691,8 @@ double Ifc2x3::IfcRectangleProfileDef::YDim() const { double v = get_attribute_ void Ifc2x3::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[654]); } -void Ifc2x3::IfcRectangleProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc2x3::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[654]); } +void Ifc2x3::IfcRectangleProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc2x3::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -9703,7 +9703,7 @@ double Ifc2x3::IfcRectangularPyramid::Height() const { double v = get_attribute void Ifc2x3::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC2X3_types[655]); } +const ifcopenshell::entity& Ifc2x3::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC2X3_types[655]); } void Ifc2x3::IfcRectangularPyramid::initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -9723,7 +9723,7 @@ bool Ifc2x3::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_attrib void Ifc2x3::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC2X3_types[656]); } +const ifcopenshell::entity& Ifc2x3::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC2X3_types[656]); } void Ifc2x3::IfcRectangularTrimmedSurface::initialize(::Ifc2x3::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcReferencesValueDocument @@ -9737,7 +9737,7 @@ std::optional< std::string > Ifc2x3::IfcReferencesValueDocument::Description() c void Ifc2x3::IfcReferencesValueDocument::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcReferencesValueDocument::Class() { return *((IfcParse::entity*)IFC2X3_types[657]); } +const ifcopenshell::entity& Ifc2x3::IfcReferencesValueDocument::Class() { return *((ifcopenshell::entity*)IFC2X3_types[657]); } void Ifc2x3::IfcReferencesValueDocument::initialize(::Ifc2x3::IfcDocumentSelect v1_ReferencedDocument, std::vector< ::Ifc2x3::IfcAppliedValue > v2_ReferencingValues, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_ReferencedDocument));set_attribute_value(1, cast_vector(v2_ReferencingValues)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRegularTimeSeries @@ -9747,8 +9747,8 @@ std::vector< ::Ifc2x3::IfcTimeSeriesValue > Ifc2x3::IfcRegularTimeSeries::Values void Ifc2x3::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc2x3::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC2X3_types[659]); } -void Ifc2x3::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDateTimeSelect v3_StartTime, ::Ifc2x3::IfcDateTimeSelect v4_EndTime, ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc2x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc2x3::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc2x3::IfcTimeSeriesValue > v10_Values) { 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(&::Ifc2x3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc2x3::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC2X3_types[659]); } +void Ifc2x3::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDateTimeSelect v3_StartTime, ::Ifc2x3::IfcDateTimeSelect v4_EndTime, ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc2x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc2x3::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc2x3::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc2x3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcementBarProperties double Ifc2x3::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -9756,7 +9756,7 @@ void Ifc2x3::IfcReinforcementBarProperties::setTotalCrossSectionArea(const doubl std::string Ifc2x3::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc2x3::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value > Ifc2x3::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc2x3::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc2x3::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc2x3::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc2x3::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -9765,8 +9765,8 @@ std::optional< double > Ifc2x3::IfcReinforcementBarProperties::BarCount() const void Ifc2x3::IfcReinforcementBarProperties::setBarCount(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc2x3::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[660]); } -void Ifc2x3::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc2x3::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)); } } +const ifcopenshell::entity& Ifc2x3::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[660]); } +void Ifc2x3::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc2x3::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc2x3::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -9775,7 +9775,7 @@ std::vector< ::Ifc2x3::IfcSectionReinforcementProperties > Ifc2x3::IfcReinforcem void Ifc2x3::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc2x3::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[661]); } +const ifcopenshell::entity& Ifc2x3::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[661]); } void Ifc2x3::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc2x3::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -9786,20 +9786,20 @@ void Ifc2x3::IfcReinforcingBar::setCrossSectionArea(const double& v) { set_attri std::optional< double > Ifc2x3::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc2x3::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } ::Ifc2x3::IfcReinforcingBarRoleEnum::Value Ifc2x3::IfcReinforcingBar::BarRole() const { return ::Ifc2x3::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(12)); } -void Ifc2x3::IfcReinforcingBar::setBarRole(const ::Ifc2x3::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(12, EnumerationReference(&::Ifc2x3::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(12); } +void Ifc2x3::IfcReinforcingBar::setBarRole(const ::Ifc2x3::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(12, enumeration_reference(&::Ifc2x3::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(12); } std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value > Ifc2x3::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc2x3::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc2x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc2x3::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc2x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc2x3::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC2X3_types[662]); } -void Ifc2x3::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, double v10_NominalDiameter, double v11_CrossSectionArea, std::optional< double > v12_BarLength, ::Ifc2x3::IfcReinforcingBarRoleEnum::Value v13_BarRole, std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (v10_NominalDiameter));set_attribute_value(10, (v11_CrossSectionArea)); if (v12_BarLength) {set_attribute_value(11, (*v12_BarLength)); }set_attribute_value(12, (EnumerationReference(&::Ifc2x3::IfcReinforcingBarRoleEnum::Class(),(size_t)v13_BarRole))); if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc2x3::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc2x3::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC2X3_types[662]); } +void Ifc2x3::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, double v10_NominalDiameter, double v11_CrossSectionArea, std::optional< double > v12_BarLength, ::Ifc2x3::IfcReinforcingBarRoleEnum::Value v13_BarRole, std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (v10_NominalDiameter));set_attribute_value(10, (v11_CrossSectionArea)); if (v12_BarLength) {set_attribute_value(11, (*v12_BarLength)); }set_attribute_value(12, (enumeration_reference(&::Ifc2x3::IfcReinforcingBarRoleEnum::Class(),(size_t)v13_BarRole))); if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc2x3::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc2x3::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc2x3::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC2X3_types[665]); } +const ifcopenshell::entity& Ifc2x3::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[665]); } void Ifc2x3::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingMesh @@ -9821,32 +9821,32 @@ double Ifc2x3::IfcReinforcingMesh::TransverseBarSpacing() const { double v = ge void Ifc2x3::IfcReinforcingMesh::setTransverseBarSpacing(const double& v) { set_attribute_value(16, v);if constexpr (false)unset_attribute_value(16); } -const IfcParse::entity& Ifc2x3::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC2X3_types[666]); } +const ifcopenshell::entity& Ifc2x3::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC2X3_types[666]); } void Ifc2x3::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, double v12_LongitudinalBarNominalDiameter, double v13_TransverseBarNominalDiameter, double v14_LongitudinalBarCrossSectionArea, double v15_TransverseBarCrossSectionArea, double v16_LongitudinalBarSpacing, double v17_TransverseBarSpacing) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); }set_attribute_value(11, (v12_LongitudinalBarNominalDiameter));set_attribute_value(12, (v13_TransverseBarNominalDiameter));set_attribute_value(13, (v14_LongitudinalBarCrossSectionArea));set_attribute_value(14, (v15_TransverseBarCrossSectionArea));set_attribute_value(15, (v16_LongitudinalBarSpacing));set_attribute_value(16, (v17_TransverseBarSpacing)); } // Function implementations for IfcRelAggregates -const IfcParse::entity& Ifc2x3::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC2X3_types[667]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC2X3_types[667]); } void Ifc2x3::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc2x3::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns std::vector< ::Ifc2x3::IfcObjectDefinition > Ifc2x3::IfcRelAssigns::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc2x3::IfcObjectDefinition>(es); } void Ifc2x3::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc2x3::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > Ifc2x3::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcObjectTypeEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc2x3::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc2x3::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC2X3_types[668]); } -void Ifc2x3::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } +const ifcopenshell::entity& Ifc2x3::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC2X3_types[668]); } +void Ifc2x3::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } // Function implementations for IfcRelAssignsTasks ::Ifc2x3::IfcScheduleTimeControl Ifc2x3::IfcRelAssignsTasks::TimeForTask() const { if(get_attribute_value(7).isNull()) { return ::Ifc2x3::IfcScheduleTimeControl{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc2x3::IfcScheduleTimeControl>(); } void Ifc2x3::IfcRelAssignsTasks::setTimeForTask(const ::Ifc2x3::IfcScheduleTimeControl& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcRelAssignsTasks::Class() { return *((IfcParse::entity*)IFC2X3_types[669]); } -void Ifc2x3::IfcRelAssignsTasks::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl, ::Ifc2x3::IfcScheduleTimeControl v8_TimeForTask) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl));set_attribute_value(7, (v8_TimeForTask)); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssignsTasks::Class() { return *((ifcopenshell::entity*)IFC2X3_types[669]); } +void Ifc2x3::IfcRelAssignsTasks::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl, ::Ifc2x3::IfcScheduleTimeControl v8_TimeForTask) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl));set_attribute_value(7, (v8_TimeForTask)); } // Function implementations for IfcRelAssignsToActor ::Ifc2x3::IfcActor Ifc2x3::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcActor>(); } @@ -9855,24 +9855,24 @@ void Ifc2x3::IfcRelAssignsToActor::setRelatingActor(const ::Ifc2x3::IfcActor& v) void Ifc2x3::IfcRelAssignsToActor::setActingRole(const ::Ifc2x3::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC2X3_types[670]); } -void Ifc2x3::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcActor v7_RelatingActor, ::Ifc2x3::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC2X3_types[670]); } +void Ifc2x3::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcActor v7_RelatingActor, ::Ifc2x3::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl ::Ifc2x3::IfcControl Ifc2x3::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcControl>(); } void Ifc2x3::IfcRelAssignsToControl::setRelatingControl(const ::Ifc2x3::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC2X3_types[671]); } -void Ifc2x3::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC2X3_types[671]); } +void Ifc2x3::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup ::Ifc2x3::IfcGroup Ifc2x3::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcGroup>(); } void Ifc2x3::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc2x3::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC2X3_types[672]); } -void Ifc2x3::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC2X3_types[672]); } +void Ifc2x3::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToProcess ::Ifc2x3::IfcProcess Ifc2x3::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcProcess>(); } @@ -9881,37 +9881,37 @@ void Ifc2x3::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc2x3::IfcProce void Ifc2x3::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc2x3::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC2X3_types[673]); } -void Ifc2x3::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcProcess v7_RelatingProcess, ::Ifc2x3::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC2X3_types[673]); } +void Ifc2x3::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcProcess v7_RelatingProcess, ::Ifc2x3::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct ::Ifc2x3::IfcProduct Ifc2x3::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcProduct>(); } void Ifc2x3::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc2x3::IfcProduct& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC2X3_types[674]); } -void Ifc2x3::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcProduct v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC2X3_types[674]); } +void Ifc2x3::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcProduct v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToProjectOrder -const IfcParse::entity& Ifc2x3::IfcRelAssignsToProjectOrder::Class() { return *((IfcParse::entity*)IFC2X3_types[675]); } -void Ifc2x3::IfcRelAssignsToProjectOrder::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssignsToProjectOrder::Class() { return *((ifcopenshell::entity*)IFC2X3_types[675]); } +void Ifc2x3::IfcRelAssignsToProjectOrder::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToResource ::Ifc2x3::IfcResource Ifc2x3::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcResource>(); } void Ifc2x3::IfcRelAssignsToResource::setRelatingResource(const ::Ifc2x3::IfcResource& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC2X3_types[676]); } -void Ifc2x3::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcResource v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[676]); } +void Ifc2x3::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcResource v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates std::vector< ::Ifc2x3::IfcRoot > Ifc2x3::IfcRelAssociates::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc2x3::IfcRoot>(es); } void Ifc2x3::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc2x3::IfcRoot >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC2X3_types[677]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC2X3_types[677]); } void Ifc2x3::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesAppliedValue @@ -9919,7 +9919,7 @@ void Ifc2x3::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc2x3::Ifc void Ifc2x3::IfcRelAssociatesAppliedValue::setRelatingAppliedValue(const ::Ifc2x3::IfcAppliedValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelAssociatesAppliedValue::Class() { return *((IfcParse::entity*)IFC2X3_types[678]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssociatesAppliedValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[678]); } void Ifc2x3::IfcRelAssociatesAppliedValue::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcAppliedValue v6_RelatingAppliedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingAppliedValue)); } // Function implementations for IfcRelAssociatesApproval @@ -9927,7 +9927,7 @@ void Ifc2x3::IfcRelAssociatesAppliedValue::initialize(std::string v1_GlobalId, : void Ifc2x3::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc2x3::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC2X3_types[679]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC2X3_types[679]); } void Ifc2x3::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -9935,7 +9935,7 @@ void Ifc2x3::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc void Ifc2x3::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc2x3::IfcClassificationNotationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC2X3_types[680]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC2X3_types[680]); } void Ifc2x3::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcClassificationNotationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -9945,7 +9945,7 @@ void Ifc2x3::IfcRelAssociatesConstraint::setIntent(const std::string& v) { set_a void Ifc2x3::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc2x3::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC2X3_types[681]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC2X3_types[681]); } void Ifc2x3::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, std::string v6_Intent, ::Ifc2x3::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_Intent));set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -9953,7 +9953,7 @@ void Ifc2x3::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::I void Ifc2x3::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc2x3::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC2X3_types[682]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC2X3_types[682]); } void Ifc2x3::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -9961,7 +9961,7 @@ void Ifc2x3::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc void Ifc2x3::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc2x3::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC2X3_types[683]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC2X3_types[683]); } void Ifc2x3::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -9969,7 +9969,7 @@ void Ifc2x3::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc2 void Ifc2x3::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc2x3::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC2X3_types[684]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC2X3_types[684]); } void Ifc2x3::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelAssociatesProfileProperties @@ -9981,13 +9981,13 @@ void Ifc2x3::IfcRelAssociatesProfileProperties::setProfileSectionLocation(const void Ifc2x3::IfcRelAssociatesProfileProperties::setProfileOrientation(const ::Ifc2x3::IfcOrientationSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcRelAssociatesProfileProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[685]); } +const ifcopenshell::entity& Ifc2x3::IfcRelAssociatesProfileProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[685]); } void Ifc2x3::IfcRelAssociatesProfileProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcProfileProperties v6_RelatingProfileProperties, ::Ifc2x3::IfcShapeAspect v7_ProfileSectionLocation, ::Ifc2x3::IfcOrientationSelect v8_ProfileOrientation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileProperties));set_attribute_value(6, (v7_ProfileSectionLocation));set_attribute_value(7, (v8_ProfileOrientation)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc2x3::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC2X3_types[688]); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC2X3_types[688]); } void Ifc2x3::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -9999,7 +9999,7 @@ void Ifc2x3::IfcRelConnectsElements::setRelatingElement(const ::Ifc2x3::IfcEleme void Ifc2x3::IfcRelConnectsElements::setRelatedElement(const ::Ifc2x3::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC2X3_types[689]); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC2X3_types[689]); } void Ifc2x3::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc2x3::IfcElement v6_RelatingElement, ::Ifc2x3::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -10008,13 +10008,13 @@ void Ifc2x3::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector std::vector< int > /*[0:?]*/ Ifc2x3::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc2x3::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc2x3::IfcConnectionTypeEnum::Value Ifc2x3::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc2x3::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc2x3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc2x3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc2x3::IfcConnectionTypeEnum::Value Ifc2x3::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc2x3::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc2x3::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc2x3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc2x3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc2x3::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc2x3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc2x3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc2x3::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC2X3_types[690]); } -void Ifc2x3::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc2x3::IfcElement v6_RelatingElement, ::Ifc2x3::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc2x3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc2x3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc2x3::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC2X3_types[690]); } +void Ifc2x3::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc2x3::IfcElement v6_RelatingElement, ::Ifc2x3::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc2x3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc2x3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc2x3::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc2x3::IfcPort Ifc2x3::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcPort>(); } @@ -10023,7 +10023,7 @@ void Ifc2x3::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc2x3::IfcPor void Ifc2x3::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc2x3::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC2X3_types[692]); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[692]); } void Ifc2x3::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPort v5_RelatingPort, ::Ifc2x3::IfcElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -10035,7 +10035,7 @@ void Ifc2x3::IfcRelConnectsPorts::setRelatedPort(const ::Ifc2x3::IfcPort& v) { s void Ifc2x3::IfcRelConnectsPorts::setRealizingElement(const ::Ifc2x3::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC2X3_types[691]); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC2X3_types[691]); } void Ifc2x3::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPort v5_RelatingPort, ::Ifc2x3::IfcPort v6_RelatedPort, ::Ifc2x3::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -10045,7 +10045,7 @@ void Ifc2x3::IfcRelConnectsStructuralActivity::setRelatingElement(const ::Ifc2x3 void Ifc2x3::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc2x3::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC2X3_types[693]); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC2X3_types[693]); } void Ifc2x3::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc2x3::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralElement @@ -10055,7 +10055,7 @@ void Ifc2x3::IfcRelConnectsStructuralElement::setRelatingElement(const ::Ifc2x3: void Ifc2x3::IfcRelConnectsStructuralElement::setRelatedStructuralMember(const ::Ifc2x3::IfcStructuralMember& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelConnectsStructuralElement::Class() { return *((IfcParse::entity*)IFC2X3_types[694]); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnectsStructuralElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[694]); } void Ifc2x3::IfcRelConnectsStructuralElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcElement v5_RelatingElement, ::Ifc2x3::IfcStructuralMember v6_RelatedStructuralMember) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralMember)); } // Function implementations for IfcRelConnectsStructuralMember @@ -10073,7 +10073,7 @@ void Ifc2x3::IfcRelConnectsStructuralMember::setSupportedLength(const std::optio void Ifc2x3::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc2x3::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC2X3_types[695]); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC2X3_types[695]); } void Ifc2x3::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc2x3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc2x3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc2x3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc2x3::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -10081,7 +10081,7 @@ void Ifc2x3::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, void Ifc2x3::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc2x3::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc2x3::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC2X3_types[696]); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC2X3_types[696]); } void Ifc2x3::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc2x3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc2x3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc2x3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc2x3::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc2x3::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -10091,7 +10091,7 @@ std::optional< std::string > Ifc2x3::IfcRelConnectsWithRealizingElements::Connec void Ifc2x3::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC2X3_types[697]); } +const ifcopenshell::entity& Ifc2x3::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC2X3_types[697]); } void Ifc2x3::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc2x3::IfcElement v6_RelatingElement, ::Ifc2x3::IfcElement v7_RelatedElement, std::vector< ::Ifc2x3::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -10101,7 +10101,7 @@ void Ifc2x3::IfcRelContainedInSpatialStructure::setRelatedElements(const std::ve void Ifc2x3::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc2x3::IfcSpatialStructureElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC2X3_types[698]); } +const ifcopenshell::entity& Ifc2x3::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC2X3_types[698]); } void Ifc2x3::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcProduct > v5_RelatedElements, ::Ifc2x3::IfcSpatialStructureElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -10111,7 +10111,7 @@ std::vector< ::Ifc2x3::IfcCovering > Ifc2x3::IfcRelCoversBldgElements::RelatedCo void Ifc2x3::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc2x3::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC2X3_types[699]); } +const ifcopenshell::entity& Ifc2x3::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC2X3_types[699]); } void Ifc2x3::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc2x3::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -10121,7 +10121,7 @@ std::vector< ::Ifc2x3::IfcCovering > Ifc2x3::IfcRelCoversSpaces::RelatedCovering void Ifc2x3::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc2x3::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC2X3_types[700]); } +const ifcopenshell::entity& Ifc2x3::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC2X3_types[700]); } void Ifc2x3::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcSpace v5_RelatedSpace, std::vector< ::Ifc2x3::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatedSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDecomposes @@ -10131,7 +10131,7 @@ std::vector< ::Ifc2x3::IfcObjectDefinition > Ifc2x3::IfcRelDecomposes::RelatedOb void Ifc2x3::IfcRelDecomposes::setRelatedObjects(const std::vector< ::Ifc2x3::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC2X3_types[701]); } +const ifcopenshell::entity& Ifc2x3::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC2X3_types[701]); } void Ifc2x3::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc2x3::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelDefines @@ -10139,7 +10139,7 @@ std::vector< ::Ifc2x3::IfcObject > Ifc2x3::IfcRelDefines::RelatedObjects() const void Ifc2x3::IfcRelDefines::setRelatedObjects(const std::vector< ::Ifc2x3::IfcObject >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC2X3_types[702]); } +const ifcopenshell::entity& Ifc2x3::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC2X3_types[702]); } void Ifc2x3::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObject > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelDefinesByProperties @@ -10147,7 +10147,7 @@ void Ifc2x3::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwn void Ifc2x3::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc2x3::IfcPropertySetDefinition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[703]); } +const ifcopenshell::entity& Ifc2x3::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[703]); } void Ifc2x3::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObject > v5_RelatedObjects, ::Ifc2x3::IfcPropertySetDefinition v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByType @@ -10155,7 +10155,7 @@ void Ifc2x3::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::If void Ifc2x3::IfcRelDefinesByType::setRelatingType(const ::Ifc2x3::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC2X3_types[704]); } +const ifcopenshell::entity& Ifc2x3::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[704]); } void Ifc2x3::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObject > v5_RelatedObjects, ::Ifc2x3::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -10165,7 +10165,7 @@ void Ifc2x3::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc2x3::IfcOp void Ifc2x3::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc2x3::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC2X3_types[705]); } +const ifcopenshell::entity& Ifc2x3::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[705]); } void Ifc2x3::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc2x3::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -10175,7 +10175,7 @@ void Ifc2x3::IfcRelFlowControlElements::setRelatedControlElements(const std::vec void Ifc2x3::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc2x3::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC2X3_types[706]); } +const ifcopenshell::entity& Ifc2x3::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC2X3_types[706]); } void Ifc2x3::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc2x3::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInteractionRequirements @@ -10191,27 +10191,27 @@ void Ifc2x3::IfcRelInteractionRequirements::setRelatedSpaceProgram(const ::Ifc2x void Ifc2x3::IfcRelInteractionRequirements::setRelatingSpaceProgram(const ::Ifc2x3::IfcSpaceProgram& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcRelInteractionRequirements::Class() { return *((IfcParse::entity*)IFC2X3_types[707]); } +const ifcopenshell::entity& Ifc2x3::IfcRelInteractionRequirements::Class() { return *((ifcopenshell::entity*)IFC2X3_types[707]); } void Ifc2x3::IfcRelInteractionRequirements::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_DailyInteraction, std::optional< double > v6_ImportanceRating, ::Ifc2x3::IfcSpatialStructureElement v7_LocationOfInteraction, ::Ifc2x3::IfcSpaceProgram v8_RelatedSpaceProgram, ::Ifc2x3::IfcSpaceProgram v9_RelatingSpaceProgram) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_DailyInteraction) {set_attribute_value(4, (*v5_DailyInteraction)); } if (v6_ImportanceRating) {set_attribute_value(5, (*v6_ImportanceRating)); }set_attribute_value(6, (v7_LocationOfInteraction));set_attribute_value(7, (v8_RelatedSpaceProgram));set_attribute_value(8, (v9_RelatingSpaceProgram)); } // Function implementations for IfcRelNests -const IfcParse::entity& Ifc2x3::IfcRelNests::Class() { return *((IfcParse::entity*)IFC2X3_types[708]); } +const ifcopenshell::entity& Ifc2x3::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC2X3_types[708]); } void Ifc2x3::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc2x3::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelOccupiesSpaces -const IfcParse::entity& Ifc2x3::IfcRelOccupiesSpaces::Class() { return *((IfcParse::entity*)IFC2X3_types[709]); } -void Ifc2x3::IfcRelOccupiesSpaces::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcActor v7_RelatingActor, ::Ifc2x3::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc2x3::IfcRelOccupiesSpaces::Class() { return *((ifcopenshell::entity*)IFC2X3_types[709]); } +void Ifc2x3::IfcRelOccupiesSpaces::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcActor v7_RelatingActor, ::Ifc2x3::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelOverridesProperties std::vector< ::Ifc2x3::IfcProperty > Ifc2x3::IfcRelOverridesProperties::OverridingProperties() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc2x3::IfcProperty>(es); } void Ifc2x3::IfcRelOverridesProperties::setOverridingProperties(const std::vector< ::Ifc2x3::IfcProperty >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRelOverridesProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[710]); } +const ifcopenshell::entity& Ifc2x3::IfcRelOverridesProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[710]); } void Ifc2x3::IfcRelOverridesProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObject > v5_RelatedObjects, ::Ifc2x3::IfcPropertySetDefinition v6_RelatingPropertyDefinition, std::vector< ::Ifc2x3::IfcProperty > v7_OverridingProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition));set_attribute_value(6, cast_vector(v7_OverridingProperties)); } // Function implementations for IfcRelProjectsElement @@ -10221,7 +10221,7 @@ void Ifc2x3::IfcRelProjectsElement::setRelatingElement(const ::Ifc2x3::IfcElemen void Ifc2x3::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc2x3::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC2X3_types[711]); } +const ifcopenshell::entity& Ifc2x3::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[711]); } void Ifc2x3::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcElement v5_RelatingElement, ::Ifc2x3::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -10231,14 +10231,14 @@ void Ifc2x3::IfcRelReferencedInSpatialStructure::setRelatedElements(const std::v void Ifc2x3::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc2x3::IfcSpatialStructureElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC2X3_types[712]); } +const ifcopenshell::entity& Ifc2x3::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC2X3_types[712]); } void Ifc2x3::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcProduct > v5_RelatedElements, ::Ifc2x3::IfcSpatialStructureElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSchedulesCostItems -const IfcParse::entity& Ifc2x3::IfcRelSchedulesCostItems::Class() { return *((IfcParse::entity*)IFC2X3_types[713]); } -void Ifc2x3::IfcRelSchedulesCostItems::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc2x3::IfcRelSchedulesCostItems::Class() { return *((ifcopenshell::entity*)IFC2X3_types[713]); } +void Ifc2x3::IfcRelSchedulesCostItems::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelSequence ::Ifc2x3::IfcProcess Ifc2x3::IfcRelSequence::RelatingProcess() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcProcess>(); } @@ -10248,11 +10248,11 @@ void Ifc2x3::IfcRelSequence::setRelatedProcess(const ::Ifc2x3::IfcProcess& v) { double Ifc2x3::IfcRelSequence::TimeLag() const { double v = get_attribute_value(6); return v; } void Ifc2x3::IfcRelSequence::setTimeLag(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc2x3::IfcSequenceEnum::Value Ifc2x3::IfcRelSequence::SequenceType() const { return ::Ifc2x3::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcRelSequence::setSequenceType(const ::Ifc2x3::IfcSequenceEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcSequenceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc2x3::IfcRelSequence::setSequenceType(const ::Ifc2x3::IfcSequenceEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcSequenceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC2X3_types[714]); } -void Ifc2x3::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcProcess v5_RelatingProcess, ::Ifc2x3::IfcProcess v6_RelatedProcess, double v7_TimeLag, ::Ifc2x3::IfcSequenceEnum::Value v8_SequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag));set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcSequenceEnum::Class(),(size_t)v8_SequenceType))); } +const ifcopenshell::entity& Ifc2x3::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC2X3_types[714]); } +void Ifc2x3::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcProcess v5_RelatingProcess, ::Ifc2x3::IfcProcess v6_RelatedProcess, double v7_TimeLag, ::Ifc2x3::IfcSequenceEnum::Value v8_SequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag));set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcSequenceEnum::Class(),(size_t)v8_SequenceType))); } // Function implementations for IfcRelServicesBuildings ::Ifc2x3::IfcSystem Ifc2x3::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcSystem>(); } @@ -10261,7 +10261,7 @@ std::vector< ::Ifc2x3::IfcSpatialStructureElement > Ifc2x3::IfcRelServicesBuildi void Ifc2x3::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc2x3::IfcSpatialStructureElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC2X3_types[715]); } +const ifcopenshell::entity& Ifc2x3::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC2X3_types[715]); } void Ifc2x3::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcSystem v5_RelatingSystem, std::vector< ::Ifc2x3::IfcSpatialStructureElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -10272,13 +10272,13 @@ void Ifc2x3::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc2x3::IfcE ::Ifc2x3::IfcConnectionGeometry Ifc2x3::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc2x3::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcConnectionGeometry>(); } void Ifc2x3::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc2x3::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc2x3::IfcPhysicalOrVirtualEnum::Value Ifc2x3::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc2x3::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc2x3::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc2x3::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc2x3::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc2x3::IfcInternalOrExternalEnum::Value Ifc2x3::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc2x3::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc2x3::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc2x3::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC2X3_types[716]); } -void Ifc2x3::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcSpace v5_RelatingSpace, ::Ifc2x3::IfcElement v6_RelatedBuildingElement, ::Ifc2x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc2x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc2x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc2x3::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC2X3_types[716]); } +void Ifc2x3::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcSpace v5_RelatingSpace, ::Ifc2x3::IfcElement v6_RelatedBuildingElement, ::Ifc2x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc2x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc2x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelVoidsElement ::Ifc2x3::IfcElement Ifc2x3::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcElement>(); } @@ -10287,13 +10287,13 @@ void Ifc2x3::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc2x3::IfcE void Ifc2x3::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc2x3::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC2X3_types[717]); } +const ifcopenshell::entity& Ifc2x3::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[717]); } void Ifc2x3::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcElement v5_RelatingBuildingElement, ::Ifc2x3::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc2x3::IfcRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[686]); } +const ifcopenshell::entity& Ifc2x3::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[686]); } void Ifc2x3::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelaxation @@ -10303,7 +10303,7 @@ double Ifc2x3::IfcRelaxation::InitialStress() const { double v = get_attribute_ void Ifc2x3::IfcRelaxation::setInitialStress(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcRelaxation::Class() { return *((IfcParse::entity*)IFC2X3_types[687]); } +const ifcopenshell::entity& Ifc2x3::IfcRelaxation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[687]); } void Ifc2x3::IfcRelaxation::initialize(double v1_RelaxationValue, double v2_InitialStress) { set_attribute_value(0, (v1_RelaxationValue));set_attribute_value(1, (v2_InitialStress)); } // Function implementations for IfcRepresentation @@ -10316,11 +10316,11 @@ void Ifc2x3::IfcRepresentation::setRepresentationType(const std::optional< std:: std::vector< ::Ifc2x3::IfcRepresentationItem > Ifc2x3::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc2x3::IfcRepresentationItem>(es); } void Ifc2x3::IfcRepresentation::setItems(const std::vector< ::Ifc2x3::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc2x3::IfcRepresentationMap> Ifc2x3::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[721], 1)); } -std::vector<::Ifc2x3::IfcPresentationLayerAssignment> Ifc2x3::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[591], 2)); } -std::vector<::Ifc2x3::IfcProductRepresentation> Ifc2x3::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[602], 2)); } +std::vector<::Ifc2x3::IfcRepresentationMap> Ifc2x3::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[721], 1)); } +std::vector<::Ifc2x3::IfcPresentationLayerAssignment> Ifc2x3::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[591], 2)); } +std::vector<::Ifc2x3::IfcProductRepresentation> Ifc2x3::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[602], 2)); } -const IfcParse::entity& Ifc2x3::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC2X3_types[718]); } +const ifcopenshell::entity& Ifc2x3::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[718]); } void Ifc2x3::IfcRepresentation::initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -10329,17 +10329,17 @@ void Ifc2x3::IfcRepresentationContext::setContextIdentifier(const std::optional< std::optional< std::string > Ifc2x3::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc2x3::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc2x3::IfcRepresentation> Ifc2x3::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[718], 0)); } +std::vector<::Ifc2x3::IfcRepresentation> Ifc2x3::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[718], 0)); } -const IfcParse::entity& Ifc2x3::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC2X3_types[719]); } +const ifcopenshell::entity& Ifc2x3::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC2X3_types[719]); } void Ifc2x3::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc2x3::IfcPresentationLayerAssignment> Ifc2x3::IfcRepresentationItem::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[591], 2)); } -std::vector<::Ifc2x3::IfcStyledItem> Ifc2x3::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[839], 0)); } +std::vector<::Ifc2x3::IfcPresentationLayerAssignment> Ifc2x3::IfcRepresentationItem::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[591], 2)); } +std::vector<::Ifc2x3::IfcStyledItem> Ifc2x3::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[839], 0)); } -const IfcParse::entity& Ifc2x3::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC2X3_types[720]); } +const ifcopenshell::entity& Ifc2x3::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[720]); } void Ifc2x3::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -10348,16 +10348,16 @@ void Ifc2x3::IfcRepresentationMap::setMappingOrigin(const ::Ifc2x3::IfcAxis2Plac ::Ifc2x3::IfcRepresentation Ifc2x3::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc2x3::IfcRepresentation>(); } void Ifc2x3::IfcRepresentationMap::setMappedRepresentation(const ::Ifc2x3::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc2x3::IfcMappedItem> Ifc2x3::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[471], 0)); } +std::vector<::Ifc2x3::IfcMappedItem> Ifc2x3::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[471], 0)); } -const IfcParse::entity& Ifc2x3::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC2X3_types[721]); } +const ifcopenshell::entity& Ifc2x3::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC2X3_types[721]); } void Ifc2x3::IfcRepresentationMap::initialize(::Ifc2x3::IfcAxis2Placement v1_MappingOrigin, ::Ifc2x3::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource -std::vector<::Ifc2x3::IfcRelAssignsToResource> Ifc2x3::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[676], 6)); } +std::vector<::Ifc2x3::IfcRelAssignsToResource> Ifc2x3::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[676], 6)); } -const IfcParse::entity& Ifc2x3::IfcResource::Class() { return *((IfcParse::entity*)IFC2X3_types[722]); } +const ifcopenshell::entity& Ifc2x3::IfcResource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[722]); } void Ifc2x3::IfcResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcRevolvedAreaSolid @@ -10367,7 +10367,7 @@ double Ifc2x3::IfcRevolvedAreaSolid::Angle() const { double v = get_attribute_v void Ifc2x3::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC2X3_types[724]); } +const ifcopenshell::entity& Ifc2x3::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC2X3_types[724]); } void Ifc2x3::IfcRevolvedAreaSolid::initialize(::Ifc2x3::IfcProfileDef v1_SweptArea, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRibPlateProfileProperties @@ -10380,11 +10380,11 @@ void Ifc2x3::IfcRibPlateProfileProperties::setRibWidth(const std::optional< doub std::optional< double > Ifc2x3::IfcRibPlateProfileProperties::RibSpacing() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } double v = get_attribute_value(5); return v; } void Ifc2x3::IfcRibPlateProfileProperties::setRibSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } ::Ifc2x3::IfcRibPlateDirectionEnum::Value Ifc2x3::IfcRibPlateProfileProperties::Direction() const { return ::Ifc2x3::IfcRibPlateDirectionEnum::FromString(get_attribute_value(6)); } -void Ifc2x3::IfcRibPlateProfileProperties::setDirection(const ::Ifc2x3::IfcRibPlateDirectionEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc2x3::IfcRibPlateDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc2x3::IfcRibPlateProfileProperties::setDirection(const ::Ifc2x3::IfcRibPlateDirectionEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc2x3::IfcRibPlateDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcRibPlateProfileProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[726]); } -void Ifc2x3::IfcRibPlateProfileProperties::initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition, std::optional< double > v3_Thickness, std::optional< double > v4_RibHeight, std::optional< double > v5_RibWidth, std::optional< double > v6_RibSpacing, ::Ifc2x3::IfcRibPlateDirectionEnum::Value v7_Direction) { if (v1_ProfileName) {set_attribute_value(0, (*v1_ProfileName)); }set_attribute_value(1, (v2_ProfileDefinition)); if (v3_Thickness) {set_attribute_value(2, (*v3_Thickness)); } if (v4_RibHeight) {set_attribute_value(3, (*v4_RibHeight)); } if (v5_RibWidth) {set_attribute_value(4, (*v5_RibWidth)); } if (v6_RibSpacing) {set_attribute_value(5, (*v6_RibSpacing)); }set_attribute_value(6, (EnumerationReference(&::Ifc2x3::IfcRibPlateDirectionEnum::Class(),(size_t)v7_Direction))); } +const ifcopenshell::entity& Ifc2x3::IfcRibPlateProfileProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[726]); } +void Ifc2x3::IfcRibPlateProfileProperties::initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition, std::optional< double > v3_Thickness, std::optional< double > v4_RibHeight, std::optional< double > v5_RibWidth, std::optional< double > v6_RibSpacing, ::Ifc2x3::IfcRibPlateDirectionEnum::Value v7_Direction) { if (v1_ProfileName) {set_attribute_value(0, (*v1_ProfileName)); }set_attribute_value(1, (v2_ProfileDefinition)); if (v3_Thickness) {set_attribute_value(2, (*v3_Thickness)); } if (v4_RibHeight) {set_attribute_value(3, (*v4_RibHeight)); } if (v5_RibWidth) {set_attribute_value(4, (*v5_RibWidth)); } if (v6_RibSpacing) {set_attribute_value(5, (*v6_RibSpacing)); }set_attribute_value(6, (enumeration_reference(&::Ifc2x3::IfcRibPlateDirectionEnum::Class(),(size_t)v7_Direction))); } // Function implementations for IfcRightCircularCone double Ifc2x3::IfcRightCircularCone::Height() const { double v = get_attribute_value(1); return v; } @@ -10393,7 +10393,7 @@ double Ifc2x3::IfcRightCircularCone::BottomRadius() const { double v = get_attr void Ifc2x3::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC2X3_types[727]); } +const ifcopenshell::entity& Ifc2x3::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC2X3_types[727]); } void Ifc2x3::IfcRightCircularCone::initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -10403,16 +10403,16 @@ double Ifc2x3::IfcRightCircularCylinder::Radius() const { double v = get_attrib void Ifc2x3::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC2X3_types[728]); } +const ifcopenshell::entity& Ifc2x3::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC2X3_types[728]); } void Ifc2x3::IfcRightCircularCylinder::initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoof ::Ifc2x3::IfcRoofTypeEnum::Value Ifc2x3::IfcRoof::ShapeType() const { return ::Ifc2x3::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcRoof::setShapeType(const ::Ifc2x3::IfcRoofTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcRoof::setShapeType(const ::Ifc2x3::IfcRoofTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcRoof::Class() { return *((IfcParse::entity*)IFC2X3_types[730]); } -void Ifc2x3::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcRoofTypeEnum::Value v9_ShapeType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcRoofTypeEnum::Class(),(size_t)v9_ShapeType))); } +const ifcopenshell::entity& Ifc2x3::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC2X3_types[730]); } +void Ifc2x3::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcRoofTypeEnum::Value v9_ShapeType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcRoofTypeEnum::Class(),(size_t)v9_ShapeType))); } // Function implementations for IfcRoot std::string Ifc2x3::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -10425,7 +10425,7 @@ std::optional< std::string > Ifc2x3::IfcRoot::Description() const { if(get_attri void Ifc2x3::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcRoot::Class() { return *((IfcParse::entity*)IFC2X3_types[732]); } +const ifcopenshell::entity& Ifc2x3::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC2X3_types[732]); } void Ifc2x3::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedEdgeFeature @@ -10433,7 +10433,7 @@ std::optional< double > Ifc2x3::IfcRoundedEdgeFeature::Radius() const { if(get_a void Ifc2x3::IfcRoundedEdgeFeature::setRadius(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcRoundedEdgeFeature::Class() { return *((IfcParse::entity*)IFC2X3_types[736]); } +const ifcopenshell::entity& Ifc2x3::IfcRoundedEdgeFeature::Class() { return *((ifcopenshell::entity*)IFC2X3_types[736]); } void Ifc2x3::IfcRoundedEdgeFeature::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_FeatureLength, std::optional< double > v10_Radius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_FeatureLength) {set_attribute_value(8, (*v9_FeatureLength)); } if (v10_Radius) {set_attribute_value(9, (*v10_Radius)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -10441,26 +10441,26 @@ double Ifc2x3::IfcRoundedRectangleProfileDef::RoundingRadius() const { double v void Ifc2x3::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[737]); } -void Ifc2x3::IfcRoundedRectangleProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc2x3::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[737]); } +void Ifc2x3::IfcRoundedRectangleProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc2x3::IfcSIPrefix::Value > Ifc2x3::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcSIUnit::setPrefix(const std::optional< ::Ifc2x3::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc2x3::IfcSIUnit::setPrefix(const std::optional< ::Ifc2x3::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc2x3::IfcSIUnitName::Value Ifc2x3::IfcSIUnit::Name() const { return ::Ifc2x3::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc2x3::IfcSIUnit::setName(const ::Ifc2x3::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc2x3::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc2x3::IfcSIUnit::setName(const ::Ifc2x3::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc2x3::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC2X3_types[765]); } -void Ifc2x3::IfcSIUnit::initialize(::Ifc2x3::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc2x3::IfcSIPrefix::Value > v3_Prefix, ::Ifc2x3::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc2x3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc2x3::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc2x3::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC2X3_types[765]); } +void Ifc2x3::IfcSIUnit::initialize(::Ifc2x3::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc2x3::IfcSIPrefix::Value > v3_Prefix, ::Ifc2x3::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc2x3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc2x3::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminalType ::Ifc2x3::IfcSanitaryTerminalTypeEnum::Value Ifc2x3::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc2x3::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc2x3::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc2x3::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC2X3_types[738]); } -void Ifc2x3::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[738]); } +void Ifc2x3::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcScheduleTimeControl ::Ifc2x3::IfcDateTimeSelect Ifc2x3::IfcScheduleTimeControl::ActualStart() const { if(get_attribute_value(5).isNull()) { return ::Ifc2x3::IfcDateTimeSelect{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc2x3::IfcDateTimeSelect>(); } @@ -10500,22 +10500,22 @@ void Ifc2x3::IfcScheduleTimeControl::setFinishFloat(const std::optional< double std::optional< double > Ifc2x3::IfcScheduleTimeControl::Completion() const { if(get_attribute_value(22).isNull()) { return std::nullopt; } double v = get_attribute_value(22); return v; } void Ifc2x3::IfcScheduleTimeControl::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(22, *v);} else {unset_attribute_value(22);} } -std::vector<::Ifc2x3::IfcRelAssignsTasks> Ifc2x3::IfcScheduleTimeControl::ScheduleTimeControlAssigned() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[669], 7)); } +std::vector<::Ifc2x3::IfcRelAssignsTasks> Ifc2x3::IfcScheduleTimeControl::ScheduleTimeControlAssigned() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[669], 7)); } -const IfcParse::entity& Ifc2x3::IfcScheduleTimeControl::Class() { return *((IfcParse::entity*)IFC2X3_types[740]); } +const ifcopenshell::entity& Ifc2x3::IfcScheduleTimeControl::Class() { return *((ifcopenshell::entity*)IFC2X3_types[740]); } void Ifc2x3::IfcScheduleTimeControl::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcDateTimeSelect v6_ActualStart, ::Ifc2x3::IfcDateTimeSelect v7_EarlyStart, ::Ifc2x3::IfcDateTimeSelect v8_LateStart, ::Ifc2x3::IfcDateTimeSelect v9_ScheduleStart, ::Ifc2x3::IfcDateTimeSelect v10_ActualFinish, ::Ifc2x3::IfcDateTimeSelect v11_EarlyFinish, ::Ifc2x3::IfcDateTimeSelect v12_LateFinish, ::Ifc2x3::IfcDateTimeSelect v13_ScheduleFinish, std::optional< double > v14_ScheduleDuration, std::optional< double > v15_ActualDuration, std::optional< double > v16_RemainingTime, std::optional< double > v17_FreeFloat, std::optional< double > v18_TotalFloat, std::optional< bool > v19_IsCritical, ::Ifc2x3::IfcDateTimeSelect v20_StatusTime, std::optional< double > v21_StartFloat, std::optional< double > v22_FinishFloat, std::optional< double > v23_Completion) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ActualStart));set_attribute_value(6, (v7_EarlyStart));set_attribute_value(7, (v8_LateStart));set_attribute_value(8, (v9_ScheduleStart));set_attribute_value(9, (v10_ActualFinish));set_attribute_value(10, (v11_EarlyFinish));set_attribute_value(11, (v12_LateFinish));set_attribute_value(12, (v13_ScheduleFinish)); if (v14_ScheduleDuration) {set_attribute_value(13, (*v14_ScheduleDuration)); } if (v15_ActualDuration) {set_attribute_value(14, (*v15_ActualDuration)); } if (v16_RemainingTime) {set_attribute_value(15, (*v16_RemainingTime)); } if (v17_FreeFloat) {set_attribute_value(16, (*v17_FreeFloat)); } if (v18_TotalFloat) {set_attribute_value(17, (*v18_TotalFloat)); } if (v19_IsCritical) {set_attribute_value(18, (*v19_IsCritical)); }set_attribute_value(19, (v20_StatusTime)); if (v21_StartFloat) {set_attribute_value(20, (*v21_StartFloat)); } if (v22_FinishFloat) {set_attribute_value(21, (*v22_FinishFloat)); } if (v23_Completion) {set_attribute_value(22, (*v23_Completion)); } } // Function implementations for IfcSectionProperties ::Ifc2x3::IfcSectionTypeEnum::Value Ifc2x3::IfcSectionProperties::SectionType() const { return ::Ifc2x3::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc2x3::IfcSectionProperties::setSectionType(const ::Ifc2x3::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc2x3::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc2x3::IfcSectionProperties::setSectionType(const ::Ifc2x3::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc2x3::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc2x3::IfcProfileDef Ifc2x3::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc2x3::IfcProfileDef>(); } void Ifc2x3::IfcSectionProperties::setStartProfile(const ::Ifc2x3::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc2x3::IfcProfileDef Ifc2x3::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc2x3::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc2x3::IfcProfileDef>(); } void Ifc2x3::IfcSectionProperties::setEndProfile(const ::Ifc2x3::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[745]); } -void Ifc2x3::IfcSectionProperties::initialize(::Ifc2x3::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc2x3::IfcProfileDef v2_StartProfile, ::Ifc2x3::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc2x3::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[745]); } +void Ifc2x3::IfcSectionProperties::initialize(::Ifc2x3::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc2x3::IfcProfileDef v2_StartProfile, ::Ifc2x3::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc2x3::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -10525,15 +10525,15 @@ void Ifc2x3::IfcSectionReinforcementProperties::setLongitudinalEndPosition(const std::optional< double > Ifc2x3::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc2x3::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc2x3::IfcReinforcingBarRoleEnum::Value Ifc2x3::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc2x3::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc2x3::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc2x3::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc2x3::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc2x3::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc2x3::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc2x3::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc2x3::IfcSectionProperties Ifc2x3::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcSectionProperties>(); } void Ifc2x3::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc2x3::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc2x3::IfcReinforcementBarProperties > Ifc2x3::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc2x3::IfcReinforcementBarProperties>(es); } void Ifc2x3::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc2x3::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[746]); } -void Ifc2x3::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc2x3::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc2x3::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc2x3::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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(&::Ifc2x3::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc2x3::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[746]); } +void Ifc2x3::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc2x3::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc2x3::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc2x3::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc2x3::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSpine ::Ifc2x3::IfcCompositeCurve Ifc2x3::IfcSectionedSpine::SpineCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcCompositeCurve>(); } @@ -10544,30 +10544,30 @@ std::vector< ::Ifc2x3::IfcAxis2Placement3D > Ifc2x3::IfcSectionedSpine::CrossSec void Ifc2x3::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc2x3::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC2X3_types[743]); } +const ifcopenshell::entity& Ifc2x3::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC2X3_types[743]); } void Ifc2x3::IfcSectionedSpine::initialize(::Ifc2x3::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc2x3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc2x3::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSensorType ::Ifc2x3::IfcSensorTypeEnum::Value Ifc2x3::IfcSensorType::PredefinedType() const { return ::Ifc2x3::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcSensorType::setPredefinedType(const ::Ifc2x3::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcSensorType::setPredefinedType(const ::Ifc2x3::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcSensorType::Class() { return *((IfcParse::entity*)IFC2X3_types[748]); } -void Ifc2x3::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[748]); } +void Ifc2x3::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcServiceLife ::Ifc2x3::IfcServiceLifeTypeEnum::Value Ifc2x3::IfcServiceLife::ServiceLifeType() const { return ::Ifc2x3::IfcServiceLifeTypeEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcServiceLife::setServiceLifeType(const ::Ifc2x3::IfcServiceLifeTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcServiceLifeTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcServiceLife::setServiceLifeType(const ::Ifc2x3::IfcServiceLifeTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcServiceLifeTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } double Ifc2x3::IfcServiceLife::ServiceLifeDuration() const { double v = get_attribute_value(6); return v; } void Ifc2x3::IfcServiceLife::setServiceLifeDuration(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcServiceLife::Class() { return *((IfcParse::entity*)IFC2X3_types[751]); } -void Ifc2x3::IfcServiceLife::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcServiceLifeTypeEnum::Value v6_ServiceLifeType, double v7_ServiceLifeDuration) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc2x3::IfcServiceLifeTypeEnum::Class(),(size_t)v6_ServiceLifeType)));set_attribute_value(6, (v7_ServiceLifeDuration)); } +const ifcopenshell::entity& Ifc2x3::IfcServiceLife::Class() { return *((ifcopenshell::entity*)IFC2X3_types[751]); } +void Ifc2x3::IfcServiceLife::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcServiceLifeTypeEnum::Value v6_ServiceLifeType, double v7_ServiceLifeDuration) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcServiceLifeTypeEnum::Class(),(size_t)v6_ServiceLifeType)));set_attribute_value(6, (v7_ServiceLifeDuration)); } // Function implementations for IfcServiceLifeFactor ::Ifc2x3::IfcServiceLifeFactorTypeEnum::Value Ifc2x3::IfcServiceLifeFactor::PredefinedType() const { return ::Ifc2x3::IfcServiceLifeFactorTypeEnum::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcServiceLifeFactor::setPredefinedType(const ::Ifc2x3::IfcServiceLifeFactorTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcServiceLifeFactorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc2x3::IfcServiceLifeFactor::setPredefinedType(const ::Ifc2x3::IfcServiceLifeFactorTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcServiceLifeFactorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc2x3::IfcMeasureValue Ifc2x3::IfcServiceLifeFactor::UpperValue() const { if(get_attribute_value(5).isNull()) { return ::Ifc2x3::IfcMeasureValue{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc2x3::IfcMeasureValue>(); } void Ifc2x3::IfcServiceLifeFactor::setUpperValue(const ::Ifc2x3::IfcMeasureValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcMeasureValue Ifc2x3::IfcServiceLifeFactor::MostUsedValue() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcMeasureValue>(); } @@ -10576,8 +10576,8 @@ void Ifc2x3::IfcServiceLifeFactor::setMostUsedValue(const ::Ifc2x3::IfcMeasureVa void Ifc2x3::IfcServiceLifeFactor::setLowerValue(const ::Ifc2x3::IfcMeasureValue& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcServiceLifeFactor::Class() { return *((IfcParse::entity*)IFC2X3_types[752]); } -void Ifc2x3::IfcServiceLifeFactor::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcServiceLifeFactorTypeEnum::Value v5_PredefinedType, ::Ifc2x3::IfcMeasureValue v6_UpperValue, ::Ifc2x3::IfcMeasureValue v7_MostUsedValue, ::Ifc2x3::IfcMeasureValue v8_LowerValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcServiceLifeFactorTypeEnum::Class(),(size_t)v5_PredefinedType)));set_attribute_value(5, (v6_UpperValue));set_attribute_value(6, (v7_MostUsedValue));set_attribute_value(7, (v8_LowerValue)); } +const ifcopenshell::entity& Ifc2x3::IfcServiceLifeFactor::Class() { return *((ifcopenshell::entity*)IFC2X3_types[752]); } +void Ifc2x3::IfcServiceLifeFactor::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcServiceLifeFactorTypeEnum::Value v5_PredefinedType, ::Ifc2x3::IfcMeasureValue v6_UpperValue, ::Ifc2x3::IfcMeasureValue v7_MostUsedValue, ::Ifc2x3::IfcMeasureValue v8_LowerValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcServiceLifeFactorTypeEnum::Class(),(size_t)v5_PredefinedType)));set_attribute_value(5, (v6_UpperValue));set_attribute_value(6, (v7_MostUsedValue));set_attribute_value(7, (v8_LowerValue)); } // Function implementations for IfcShapeAspect std::vector< ::Ifc2x3::IfcShapeModel > Ifc2x3::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc2x3::IfcShapeModel>(es); } @@ -10592,20 +10592,20 @@ void Ifc2x3::IfcShapeAspect::setProductDefinitional(const boost::logic::tribool& void Ifc2x3::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc2x3::IfcProductDefinitionShape& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC2X3_types[755]); } +const ifcopenshell::entity& Ifc2x3::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC2X3_types[755]); } void Ifc2x3::IfcShapeAspect::initialize(std::vector< ::Ifc2x3::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc2x3::IfcProductDefinitionShape v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc2x3::IfcShapeAspect> Ifc2x3::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[755], 0)); } +std::vector<::Ifc2x3::IfcShapeAspect> Ifc2x3::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[755], 0)); } -const IfcParse::entity& Ifc2x3::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC2X3_types[756]); } +const ifcopenshell::entity& Ifc2x3::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC2X3_types[756]); } void Ifc2x3::IfcShapeModel::initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc2x3::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC2X3_types[757]); } +const ifcopenshell::entity& Ifc2x3::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[757]); } void Ifc2x3::IfcShapeRepresentation::initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -10613,13 +10613,13 @@ std::vector< ::Ifc2x3::IfcShell > Ifc2x3::IfcShellBasedSurfaceModel::SbsmBoundar void Ifc2x3::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc2x3::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC2X3_types[760]); } +const ifcopenshell::entity& Ifc2x3::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC2X3_types[760]); } void Ifc2x3::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc2x3::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc2x3::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC2X3_types[761]); } +const ifcopenshell::entity& Ifc2x3::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC2X3_types[761]); } void Ifc2x3::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcSite @@ -10635,24 +10635,24 @@ void Ifc2x3::IfcSite::setLandTitleNumber(const std::optional< std::string >& v) void Ifc2x3::IfcSite::setSiteAddress(const ::Ifc2x3::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc2x3::IfcSite::Class() { return *((IfcParse::entity*)IFC2X3_types[764]); } -void Ifc2x3::IfcSite::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc2x3::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::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)); } +const ifcopenshell::entity& Ifc2x3::IfcSite::Class() { return *((ifcopenshell::entity*)IFC2X3_types[764]); } +void Ifc2x3::IfcSite::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc2x3::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::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)); } // Function implementations for IfcSlab std::optional< ::Ifc2x3::IfcSlabTypeEnum::Value > Ifc2x3::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcSlab::setPredefinedType(const std::optional< ::Ifc2x3::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc2x3::IfcSlab::setPredefinedType(const std::optional< ::Ifc2x3::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcSlab::Class() { return *((IfcParse::entity*)IFC2X3_types[768]); } -void Ifc2x3::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc2x3::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC2X3_types[768]); } +void Ifc2x3::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc2x3::IfcSlabTypeEnum::Value Ifc2x3::IfcSlabType::PredefinedType() const { return ::Ifc2x3::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcSlabType::setPredefinedType(const ::Ifc2x3::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcSlabType::setPredefinedType(const ::Ifc2x3::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcSlabType::Class() { return *((IfcParse::entity*)IFC2X3_types[769]); } -void Ifc2x3::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[769]); } +void Ifc2x3::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc2x3::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10663,26 +10663,26 @@ std::optional< double > Ifc2x3::IfcSlippageConnectionCondition::SlippageZ() cons void Ifc2x3::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC2X3_types[771]); } +const ifcopenshell::entity& Ifc2x3::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[771]); } void Ifc2x3::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc2x3::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC2X3_types[773]); } +const ifcopenshell::entity& Ifc2x3::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC2X3_types[773]); } void Ifc2x3::IfcSolidModel::initialize() { } // Function implementations for IfcSoundProperties bool Ifc2x3::IfcSoundProperties::IsAttenuating() const { bool v = get_attribute_value(4); return v; } void Ifc2x3::IfcSoundProperties::setIsAttenuating(const bool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc2x3::IfcSoundScaleEnum::Value > Ifc2x3::IfcSoundProperties::SoundScale() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcSoundScaleEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcSoundProperties::setSoundScale(const std::optional< ::Ifc2x3::IfcSoundScaleEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcSoundScaleEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc2x3::IfcSoundProperties::setSoundScale(const std::optional< ::Ifc2x3::IfcSoundScaleEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcSoundScaleEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::vector< ::Ifc2x3::IfcSoundValue > Ifc2x3::IfcSoundProperties::SoundValues() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc2x3::IfcSoundValue>(es); } void Ifc2x3::IfcSoundProperties::setSoundValues(const std::vector< ::Ifc2x3::IfcSoundValue >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcSoundProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[776]); } -void Ifc2x3::IfcSoundProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, bool v5_IsAttenuating, std::optional< ::Ifc2x3::IfcSoundScaleEnum::Value > v6_SoundScale, std::vector< ::Ifc2x3::IfcSoundValue > v7_SoundValues) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_IsAttenuating)); if (v6_SoundScale) {set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcSoundScaleEnum::Class(),(size_t)*v6_SoundScale))); }set_attribute_value(6, cast_vector(v7_SoundValues)); } +const ifcopenshell::entity& Ifc2x3::IfcSoundProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[776]); } +void Ifc2x3::IfcSoundProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, bool v5_IsAttenuating, std::optional< ::Ifc2x3::IfcSoundScaleEnum::Value > v6_SoundScale, std::vector< ::Ifc2x3::IfcSoundValue > v7_SoundValues) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_IsAttenuating)); if (v6_SoundScale) {set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcSoundScaleEnum::Class(),(size_t)*v6_SoundScale))); }set_attribute_value(6, cast_vector(v7_SoundValues)); } // Function implementations for IfcSoundValue ::Ifc2x3::IfcTimeSeries Ifc2x3::IfcSoundValue::SoundLevelTimeSeries() const { if(get_attribute_value(4).isNull()) { return ::Ifc2x3::IfcTimeSeries{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc2x3::IfcTimeSeries>(); } @@ -10693,28 +10693,28 @@ void Ifc2x3::IfcSoundValue::setFrequency(const double& v) { set_attribute_value( void Ifc2x3::IfcSoundValue::setSoundLevelSingleValue(const ::Ifc2x3::IfcDerivedMeasureValue& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcSoundValue::Class() { return *((IfcParse::entity*)IFC2X3_types[778]); } +const ifcopenshell::entity& Ifc2x3::IfcSoundValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[778]); } void Ifc2x3::IfcSoundValue::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcTimeSeries v5_SoundLevelTimeSeries, double v6_Frequency, ::Ifc2x3::IfcDerivedMeasureValue v7_SoundLevelSingleValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_SoundLevelTimeSeries));set_attribute_value(5, (v6_Frequency));set_attribute_value(6, (v7_SoundLevelSingleValue)); } // Function implementations for IfcSpace ::Ifc2x3::IfcInternalOrExternalEnum::Value Ifc2x3::IfcSpace::InteriorOrExteriorSpace() const { return ::Ifc2x3::IfcInternalOrExternalEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcSpace::setInteriorOrExteriorSpace(const ::Ifc2x3::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcSpace::setInteriorOrExteriorSpace(const ::Ifc2x3::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc2x3::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc2x3::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc2x3::IfcRelCoversSpaces> Ifc2x3::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[700], 4)); } -std::vector<::Ifc2x3::IfcRelSpaceBoundary> Ifc2x3::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[716], 4)); } +std::vector<::Ifc2x3::IfcRelCoversSpaces> Ifc2x3::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[700], 4)); } +std::vector<::Ifc2x3::IfcRelSpaceBoundary> Ifc2x3::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[716], 4)); } -const IfcParse::entity& Ifc2x3::IfcSpace::Class() { return *((IfcParse::entity*)IFC2X3_types[779]); } -void Ifc2x3::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, ::Ifc2x3::IfcInternalOrExternalEnum::Value v10_InteriorOrExteriorSpace, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcElementCompositionEnum::Class(),(size_t)v9_CompositionType)));set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcInternalOrExternalEnum::Class(),(size_t)v10_InteriorOrExteriorSpace))); if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc2x3::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC2X3_types[779]); } +void Ifc2x3::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, ::Ifc2x3::IfcInternalOrExternalEnum::Value v10_InteriorOrExteriorSpace, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcElementCompositionEnum::Class(),(size_t)v9_CompositionType)));set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcInternalOrExternalEnum::Class(),(size_t)v10_InteriorOrExteriorSpace))); if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeaterType ::Ifc2x3::IfcSpaceHeaterTypeEnum::Value Ifc2x3::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc2x3::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcSpaceHeaterType::setPredefinedType(const ::Ifc2x3::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcSpaceHeaterType::setPredefinedType(const ::Ifc2x3::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC2X3_types[780]); } -void Ifc2x3::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[780]); } +void Ifc2x3::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceProgram std::string Ifc2x3::IfcSpaceProgram::SpaceProgramIdentifier() const { std::string v = get_attribute_value(5); return v; } @@ -10728,19 +10728,19 @@ void Ifc2x3::IfcSpaceProgram::setRequestedLocation(const ::Ifc2x3::IfcSpatialStr double Ifc2x3::IfcSpaceProgram::StandardRequiredArea() const { double v = get_attribute_value(9); return v; } void Ifc2x3::IfcSpaceProgram::setStandardRequiredArea(const double& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc2x3::IfcRelInteractionRequirements> Ifc2x3::IfcSpaceProgram::HasInteractionReqsFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[707], 7)); } -std::vector<::Ifc2x3::IfcRelInteractionRequirements> Ifc2x3::IfcSpaceProgram::HasInteractionReqsTo() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[707], 8)); } +std::vector<::Ifc2x3::IfcRelInteractionRequirements> Ifc2x3::IfcSpaceProgram::HasInteractionReqsFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[707], 7)); } +std::vector<::Ifc2x3::IfcRelInteractionRequirements> Ifc2x3::IfcSpaceProgram::HasInteractionReqsTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[707], 8)); } -const IfcParse::entity& Ifc2x3::IfcSpaceProgram::Class() { return *((IfcParse::entity*)IFC2X3_types[782]); } +const ifcopenshell::entity& Ifc2x3::IfcSpaceProgram::Class() { return *((ifcopenshell::entity*)IFC2X3_types[782]); } void Ifc2x3::IfcSpaceProgram::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_SpaceProgramIdentifier, std::optional< double > v7_MaxRequiredArea, std::optional< double > v8_MinRequiredArea, ::Ifc2x3::IfcSpatialStructureElement v9_RequestedLocation, double v10_StandardRequiredArea) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_SpaceProgramIdentifier)); if (v7_MaxRequiredArea) {set_attribute_value(6, (*v7_MaxRequiredArea)); } if (v8_MinRequiredArea) {set_attribute_value(7, (*v8_MinRequiredArea)); }set_attribute_value(8, (v9_RequestedLocation));set_attribute_value(9, (v10_StandardRequiredArea)); } // Function implementations for IfcSpaceThermalLoadProperties std::optional< double > Ifc2x3::IfcSpaceThermalLoadProperties::ApplicableValueRatio() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc2x3::IfcSpaceThermalLoadProperties::setApplicableValueRatio(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc2x3::IfcThermalLoadSourceEnum::Value Ifc2x3::IfcSpaceThermalLoadProperties::ThermalLoadSource() const { return ::Ifc2x3::IfcThermalLoadSourceEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcSpaceThermalLoadProperties::setThermalLoadSource(const ::Ifc2x3::IfcThermalLoadSourceEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcThermalLoadSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcSpaceThermalLoadProperties::setThermalLoadSource(const ::Ifc2x3::IfcThermalLoadSourceEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcThermalLoadSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcPropertySourceEnum::Value Ifc2x3::IfcSpaceThermalLoadProperties::PropertySource() const { return ::Ifc2x3::IfcPropertySourceEnum::FromString(get_attribute_value(6)); } -void Ifc2x3::IfcSpaceThermalLoadProperties::setPropertySource(const ::Ifc2x3::IfcPropertySourceEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc2x3::IfcPropertySourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc2x3::IfcSpaceThermalLoadProperties::setPropertySource(const ::Ifc2x3::IfcPropertySourceEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc2x3::IfcPropertySourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } std::optional< std::string > Ifc2x3::IfcSpaceThermalLoadProperties::SourceDescription() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc2x3::IfcSpaceThermalLoadProperties::setSourceDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } double Ifc2x3::IfcSpaceThermalLoadProperties::MaximumValue() const { double v = get_attribute_value(8); return v; } @@ -10754,37 +10754,37 @@ void Ifc2x3::IfcSpaceThermalLoadProperties::setUserDefinedThermalLoadSource(cons std::optional< std::string > Ifc2x3::IfcSpaceThermalLoadProperties::UserDefinedPropertySource() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc2x3::IfcSpaceThermalLoadProperties::setUserDefinedPropertySource(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } ::Ifc2x3::IfcThermalLoadTypeEnum::Value Ifc2x3::IfcSpaceThermalLoadProperties::ThermalLoadType() const { return ::Ifc2x3::IfcThermalLoadTypeEnum::FromString(get_attribute_value(13)); } -void Ifc2x3::IfcSpaceThermalLoadProperties::setThermalLoadType(const ::Ifc2x3::IfcThermalLoadTypeEnum::Value& v) { set_attribute_value(13, EnumerationReference(&::Ifc2x3::IfcThermalLoadTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(13); } +void Ifc2x3::IfcSpaceThermalLoadProperties::setThermalLoadType(const ::Ifc2x3::IfcThermalLoadTypeEnum::Value& v) { set_attribute_value(13, enumeration_reference(&::Ifc2x3::IfcThermalLoadTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc2x3::IfcSpaceThermalLoadProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[783]); } -void Ifc2x3::IfcSpaceThermalLoadProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_ApplicableValueRatio, ::Ifc2x3::IfcThermalLoadSourceEnum::Value v6_ThermalLoadSource, ::Ifc2x3::IfcPropertySourceEnum::Value v7_PropertySource, std::optional< std::string > v8_SourceDescription, double v9_MaximumValue, std::optional< double > v10_MinimumValue, ::Ifc2x3::IfcTimeSeries v11_ThermalLoadTimeSeriesValues, std::optional< std::string > v12_UserDefinedThermalLoadSource, std::optional< std::string > v13_UserDefinedPropertySource, ::Ifc2x3::IfcThermalLoadTypeEnum::Value v14_ThermalLoadType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableValueRatio) {set_attribute_value(4, (*v5_ApplicableValueRatio)); }set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcThermalLoadSourceEnum::Class(),(size_t)v6_ThermalLoadSource)));set_attribute_value(6, (EnumerationReference(&::Ifc2x3::IfcPropertySourceEnum::Class(),(size_t)v7_PropertySource))); if (v8_SourceDescription) {set_attribute_value(7, (*v8_SourceDescription)); }set_attribute_value(8, (v9_MaximumValue)); if (v10_MinimumValue) {set_attribute_value(9, (*v10_MinimumValue)); }set_attribute_value(10, (v11_ThermalLoadTimeSeriesValues)); if (v12_UserDefinedThermalLoadSource) {set_attribute_value(11, (*v12_UserDefinedThermalLoadSource)); } if (v13_UserDefinedPropertySource) {set_attribute_value(12, (*v13_UserDefinedPropertySource)); }set_attribute_value(13, (EnumerationReference(&::Ifc2x3::IfcThermalLoadTypeEnum::Class(),(size_t)v14_ThermalLoadType))); } +const ifcopenshell::entity& Ifc2x3::IfcSpaceThermalLoadProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[783]); } +void Ifc2x3::IfcSpaceThermalLoadProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_ApplicableValueRatio, ::Ifc2x3::IfcThermalLoadSourceEnum::Value v6_ThermalLoadSource, ::Ifc2x3::IfcPropertySourceEnum::Value v7_PropertySource, std::optional< std::string > v8_SourceDescription, double v9_MaximumValue, std::optional< double > v10_MinimumValue, ::Ifc2x3::IfcTimeSeries v11_ThermalLoadTimeSeriesValues, std::optional< std::string > v12_UserDefinedThermalLoadSource, std::optional< std::string > v13_UserDefinedPropertySource, ::Ifc2x3::IfcThermalLoadTypeEnum::Value v14_ThermalLoadType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableValueRatio) {set_attribute_value(4, (*v5_ApplicableValueRatio)); }set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcThermalLoadSourceEnum::Class(),(size_t)v6_ThermalLoadSource)));set_attribute_value(6, (enumeration_reference(&::Ifc2x3::IfcPropertySourceEnum::Class(),(size_t)v7_PropertySource))); if (v8_SourceDescription) {set_attribute_value(7, (*v8_SourceDescription)); }set_attribute_value(8, (v9_MaximumValue)); if (v10_MinimumValue) {set_attribute_value(9, (*v10_MinimumValue)); }set_attribute_value(10, (v11_ThermalLoadTimeSeriesValues)); if (v12_UserDefinedThermalLoadSource) {set_attribute_value(11, (*v12_UserDefinedThermalLoadSource)); } if (v13_UserDefinedPropertySource) {set_attribute_value(12, (*v13_UserDefinedPropertySource)); }set_attribute_value(13, (enumeration_reference(&::Ifc2x3::IfcThermalLoadTypeEnum::Class(),(size_t)v14_ThermalLoadType))); } // Function implementations for IfcSpaceType ::Ifc2x3::IfcSpaceTypeEnum::Value Ifc2x3::IfcSpaceType::PredefinedType() const { return ::Ifc2x3::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcSpaceType::setPredefinedType(const ::Ifc2x3::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcSpaceType::setPredefinedType(const ::Ifc2x3::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC2X3_types[784]); } -void Ifc2x3::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSpaceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[784]); } +void Ifc2x3::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSpaceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpatialStructureElement std::optional< std::string > Ifc2x3::IfcSpatialStructureElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc2x3::IfcSpatialStructureElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc2x3::IfcElementCompositionEnum::Value Ifc2x3::IfcSpatialStructureElement::CompositionType() const { return ::Ifc2x3::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcSpatialStructureElement::setCompositionType(const ::Ifc2x3::IfcElementCompositionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcElementCompositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcSpatialStructureElement::setCompositionType(const ::Ifc2x3::IfcElementCompositionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcElementCompositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc2x3::IfcRelReferencedInSpatialStructure> Ifc2x3::IfcSpatialStructureElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[712], 5)); } -std::vector<::Ifc2x3::IfcRelServicesBuildings> Ifc2x3::IfcSpatialStructureElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[715], 5)); } -std::vector<::Ifc2x3::IfcRelContainedInSpatialStructure> Ifc2x3::IfcSpatialStructureElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[698], 5)); } +std::vector<::Ifc2x3::IfcRelReferencedInSpatialStructure> Ifc2x3::IfcSpatialStructureElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[712], 5)); } +std::vector<::Ifc2x3::IfcRelServicesBuildings> Ifc2x3::IfcSpatialStructureElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[715], 5)); } +std::vector<::Ifc2x3::IfcRelContainedInSpatialStructure> Ifc2x3::IfcSpatialStructureElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[698], 5)); } -const IfcParse::entity& Ifc2x3::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC2X3_types[786]); } -void Ifc2x3::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcElementCompositionEnum::Class(),(size_t)v9_CompositionType))); } +const ifcopenshell::entity& Ifc2x3::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[786]); } +void Ifc2x3::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcElementCompositionEnum::Class(),(size_t)v9_CompositionType))); } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc2x3::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[787]); } +const ifcopenshell::entity& Ifc2x3::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[787]); } void Ifc2x3::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSphere @@ -10792,24 +10792,24 @@ double Ifc2x3::IfcSphere::Radius() const { double v = get_attribute_value(1); r void Ifc2x3::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcSphere::Class() { return *((IfcParse::entity*)IFC2X3_types[792]); } +const ifcopenshell::entity& Ifc2x3::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC2X3_types[792]); } void Ifc2x3::IfcSphere::initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcStackTerminalType ::Ifc2x3::IfcStackTerminalTypeEnum::Value Ifc2x3::IfcStackTerminalType::PredefinedType() const { return ::Ifc2x3::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcStackTerminalType::setPredefinedType(const ::Ifc2x3::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcStackTerminalType::setPredefinedType(const ::Ifc2x3::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC2X3_types[793]); } -void Ifc2x3::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[793]); } +void Ifc2x3::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair ::Ifc2x3::IfcStairTypeEnum::Value Ifc2x3::IfcStair::ShapeType() const { return ::Ifc2x3::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcStair::setShapeType(const ::Ifc2x3::IfcStairTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcStair::setShapeType(const ::Ifc2x3::IfcStairTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcStair::Class() { return *((IfcParse::entity*)IFC2X3_types[795]); } -void Ifc2x3::IfcStair::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcStairTypeEnum::Value v9_ShapeType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcStairTypeEnum::Class(),(size_t)v9_ShapeType))); } +const ifcopenshell::entity& Ifc2x3::IfcStair::Class() { return *((ifcopenshell::entity*)IFC2X3_types[795]); } +void Ifc2x3::IfcStair::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcStairTypeEnum::Value v9_ShapeType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcStairTypeEnum::Class(),(size_t)v9_ShapeType))); } // Function implementations for IfcStairFlight std::optional< int > Ifc2x3::IfcStairFlight::NumberOfRiser() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -10822,16 +10822,16 @@ std::optional< double > Ifc2x3::IfcStairFlight::TreadLength() const { if(get_att void Ifc2x3::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc2x3::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC2X3_types[796]); } +const ifcopenshell::entity& Ifc2x3::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC2X3_types[796]); } void Ifc2x3::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRiser, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_NumberOfRiser) {set_attribute_value(8, (*v9_NumberOfRiser)); } 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)); } } // Function implementations for IfcStairFlightType ::Ifc2x3::IfcStairFlightTypeEnum::Value Ifc2x3::IfcStairFlightType::PredefinedType() const { return ::Ifc2x3::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcStairFlightType::setPredefinedType(const ::Ifc2x3::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcStairFlightType::setPredefinedType(const ::Ifc2x3::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC2X3_types[797]); } -void Ifc2x3::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[797]); } +void Ifc2x3::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction bool Ifc2x3::IfcStructuralAction::DestabilizingLoad() const { bool v = get_attribute_value(9); return v; } @@ -10840,23 +10840,23 @@ void Ifc2x3::IfcStructuralAction::setDestabilizingLoad(const bool& v) { set_attr void Ifc2x3::IfcStructuralAction::setCausedBy(const ::Ifc2x3::IfcStructuralReaction& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc2x3::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC2X3_types[801]); } -void Ifc2x3::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy)); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[801]); } +void Ifc2x3::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy)); } // Function implementations for IfcStructuralActivity ::Ifc2x3::IfcStructuralLoad Ifc2x3::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc2x3::IfcStructuralLoad>(); } void Ifc2x3::IfcStructuralActivity::setAppliedLoad(const ::Ifc2x3::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc2x3::IfcGlobalOrLocalEnum::Value Ifc2x3::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc2x3::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc2x3::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc2x3::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc2x3::IfcRelConnectsStructuralActivity> Ifc2x3::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[693], 5)); } +std::vector<::Ifc2x3::IfcRelConnectsStructuralActivity> Ifc2x3::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[693], 5)); } -const IfcParse::entity& Ifc2x3::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC2X3_types[802]); } -void Ifc2x3::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC2X3_types[802]); } +void Ifc2x3::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc2x3::IfcAnalysisModelTypeEnum::Value Ifc2x3::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc2x3::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc2x3::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc2x3::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcAxis2Placement3D Ifc2x3::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc2x3::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcAxis2Placement3D>(); } void Ifc2x3::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc2x3::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc2x3::IfcStructuralLoadGroup > > Ifc2x3::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc2x3::IfcStructuralLoadGroup>(es); } @@ -10865,16 +10865,16 @@ std::optional< std::vector< ::Ifc2x3::IfcStructuralResultGroup > > Ifc2x3::IfcSt void Ifc2x3::IfcStructuralAnalysisModel::setHasResults(const std::optional< std::vector< ::Ifc2x3::IfcStructuralResultGroup > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC2X3_types[804]); } -void Ifc2x3::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc2x3::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc2x3::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc2x3::IfcStructuralResultGroup > > v9_HasResults) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc2x3::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); } } +const ifcopenshell::entity& Ifc2x3::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC2X3_types[804]); } +void Ifc2x3::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc2x3::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc2x3::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc2x3::IfcStructuralResultGroup > > v9_HasResults) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); } } // Function implementations for IfcStructuralConnection ::Ifc2x3::IfcBoundaryCondition Ifc2x3::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc2x3::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc2x3::IfcBoundaryCondition>(); } void Ifc2x3::IfcStructuralConnection::setAppliedCondition(const ::Ifc2x3::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc2x3::IfcRelConnectsStructuralMember> Ifc2x3::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[695], 5)); } +std::vector<::Ifc2x3::IfcRelConnectsStructuralMember> Ifc2x3::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[695], 5)); } -const IfcParse::entity& Ifc2x3::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC2X3_types[805]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC2X3_types[805]); } void Ifc2x3::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -10882,43 +10882,43 @@ std::optional< std::string > Ifc2x3::IfcStructuralConnectionCondition::Name() co void Ifc2x3::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc2x3::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC2X3_types[806]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC2X3_types[806]); } void Ifc2x3::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveConnection -const IfcParse::entity& Ifc2x3::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC2X3_types[807]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC2X3_types[807]); } void Ifc2x3::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralCurveMember ::Ifc2x3::IfcStructuralCurveTypeEnum::Value Ifc2x3::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc2x3::IfcStructuralCurveTypeEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcStructuralCurveMember::setPredefinedType(const ::Ifc2x3::IfcStructuralCurveTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcStructuralCurveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc2x3::IfcStructuralCurveMember::setPredefinedType(const ::Ifc2x3::IfcStructuralCurveTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcStructuralCurveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC2X3_types[808]); } -void Ifc2x3::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralCurveTypeEnum::Value v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcStructuralCurveTypeEnum::Class(),(size_t)v8_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC2X3_types[808]); } +void Ifc2x3::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralCurveTypeEnum::Value v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcStructuralCurveTypeEnum::Class(),(size_t)v8_PredefinedType))); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc2x3::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC2X3_types[809]); } -void Ifc2x3::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralCurveTypeEnum::Value v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcStructuralCurveTypeEnum::Class(),(size_t)v8_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC2X3_types[809]); } +void Ifc2x3::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralCurveTypeEnum::Value v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcStructuralCurveTypeEnum::Class(),(size_t)v8_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc2x3::IfcRelConnectsStructuralActivity> Ifc2x3::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[693], 4)); } +std::vector<::Ifc2x3::IfcRelConnectsStructuralActivity> Ifc2x3::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[693], 4)); } -const IfcParse::entity& Ifc2x3::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC2X3_types[811]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[811]); } void Ifc2x3::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value Ifc2x3::IfcStructuralLinearAction::ProjectedOrTrue() const { return ::Ifc2x3::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(11)); } -void Ifc2x3::IfcStructuralLinearAction::setProjectedOrTrue(const ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc2x3::IfcStructuralLinearAction::setProjectedOrTrue(const ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc2x3::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC2X3_types[812]); } -void Ifc2x3::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy));set_attribute_value(11, (EnumerationReference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)v12_ProjectedOrTrue))); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[812]); } +void Ifc2x3::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy));set_attribute_value(11, (enumeration_reference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)v12_ProjectedOrTrue))); } // Function implementations for IfcStructuralLinearActionVarying ::Ifc2x3::IfcShapeAspect Ifc2x3::IfcStructuralLinearActionVarying::VaryingAppliedLoadLocation() const { return ((express::Base)(get_attribute_value(12))).as<::Ifc2x3::IfcShapeAspect>(); } @@ -10927,34 +10927,34 @@ std::vector< ::Ifc2x3::IfcStructuralLoad > Ifc2x3::IfcStructuralLinearActionVary void Ifc2x3::IfcStructuralLinearActionVarying::setSubsequentAppliedLoads(const std::vector< ::Ifc2x3::IfcStructuralLoad >& v) { set_attribute_value(13, cast_vector(v));if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc2x3::IfcStructuralLinearActionVarying::Class() { return *((IfcParse::entity*)IFC2X3_types[813]); } -void Ifc2x3::IfcStructuralLinearActionVarying::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue, ::Ifc2x3::IfcShapeAspect v13_VaryingAppliedLoadLocation, std::vector< ::Ifc2x3::IfcStructuralLoad > v14_SubsequentAppliedLoads) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy));set_attribute_value(11, (EnumerationReference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)v12_ProjectedOrTrue)));set_attribute_value(12, (v13_VaryingAppliedLoadLocation));set_attribute_value(13, cast_vector(v14_SubsequentAppliedLoads)); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLinearActionVarying::Class() { return *((ifcopenshell::entity*)IFC2X3_types[813]); } +void Ifc2x3::IfcStructuralLinearActionVarying::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue, ::Ifc2x3::IfcShapeAspect v13_VaryingAppliedLoadLocation, std::vector< ::Ifc2x3::IfcStructuralLoad > v14_SubsequentAppliedLoads) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy));set_attribute_value(11, (enumeration_reference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)v12_ProjectedOrTrue)));set_attribute_value(12, (v13_VaryingAppliedLoadLocation));set_attribute_value(13, cast_vector(v14_SubsequentAppliedLoads)); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc2x3::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc2x3::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc2x3::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC2X3_types[814]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC2X3_types[814]); } void Ifc2x3::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc2x3::IfcLoadGroupTypeEnum::Value Ifc2x3::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc2x3::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc2x3::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc2x3::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcActionTypeEnum::Value Ifc2x3::IfcStructuralLoadGroup::ActionType() const { return ::Ifc2x3::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc2x3::IfcStructuralLoadGroup::setActionType(const ::Ifc2x3::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc2x3::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc2x3::IfcStructuralLoadGroup::setActionType(const ::Ifc2x3::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc2x3::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc2x3::IfcActionSourceTypeEnum::Value Ifc2x3::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc2x3::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcStructuralLoadGroup::setActionSource(const ::Ifc2x3::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc2x3::IfcStructuralLoadGroup::setActionSource(const ::Ifc2x3::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc2x3::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc2x3::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc2x3::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc2x3::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc2x3::IfcStructuralResultGroup> Ifc2x3::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[832], 6)); } -std::vector<::Ifc2x3::IfcStructuralAnalysisModel> Ifc2x3::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[804], 7)); } +std::vector<::Ifc2x3::IfcStructuralResultGroup> Ifc2x3::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[832], 6)); } +std::vector<::Ifc2x3::IfcStructuralAnalysisModel> Ifc2x3::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[804], 7)); } -const IfcParse::entity& Ifc2x3::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC2X3_types[815]); } -void Ifc2x3::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc2x3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc2x3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc2x3::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc2x3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC2X3_types[815]); } +void Ifc2x3::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc2x3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc2x3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc2x3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc2x3::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10971,7 +10971,7 @@ std::optional< double > Ifc2x3::IfcStructuralLoadLinearForce::LinearMomentZ() co void Ifc2x3::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc2x3::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC2X3_types[816]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC2X3_types[816]); } void Ifc2x3::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -10983,7 +10983,7 @@ std::optional< double > Ifc2x3::IfcStructuralLoadPlanarForce::PlanarForceZ() con void Ifc2x3::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC2X3_types[817]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC2X3_types[817]); } void Ifc2x3::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -11001,7 +11001,7 @@ std::optional< double > Ifc2x3::IfcStructuralLoadSingleDisplacement::RotationalD void Ifc2x3::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc2x3::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC2X3_types[818]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[818]); } void Ifc2x3::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -11009,7 +11009,7 @@ std::optional< double > Ifc2x3::IfcStructuralLoadSingleDisplacementDistortion::D void Ifc2x3::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC2X3_types[819]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC2X3_types[819]); } void Ifc2x3::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -11027,7 +11027,7 @@ std::optional< double > Ifc2x3::IfcStructuralLoadSingleForce::MomentZ() const { void Ifc2x3::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc2x3::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC2X3_types[820]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC2X3_types[820]); } void Ifc2x3::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -11035,13 +11035,13 @@ std::optional< double > Ifc2x3::IfcStructuralLoadSingleForceWarping::WarpingMome void Ifc2x3::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC2X3_types[821]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC2X3_types[821]); } void Ifc2x3::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc2x3::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC2X3_types[822]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC2X3_types[822]); } void Ifc2x3::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -11053,24 +11053,24 @@ std::optional< double > Ifc2x3::IfcStructuralLoadTemperature::DeltaT_Z() const { void Ifc2x3::IfcStructuralLoadTemperature::setDeltaT_Z(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc2x3::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC2X3_types[823]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC2X3_types[823]); } void Ifc2x3::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaT_Constant, std::optional< double > v3_DeltaT_Y, std::optional< double > v4_DeltaT_Z) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DeltaT_Constant) {set_attribute_value(1, (*v2_DeltaT_Constant)); } if (v3_DeltaT_Y) {set_attribute_value(2, (*v3_DeltaT_Y)); } if (v4_DeltaT_Z) {set_attribute_value(3, (*v4_DeltaT_Z)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc2x3::IfcRelConnectsStructuralElement> Ifc2x3::IfcStructuralMember::ReferencesElement() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[694], 5)); } -std::vector<::Ifc2x3::IfcRelConnectsStructuralMember> Ifc2x3::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[695], 4)); } +std::vector<::Ifc2x3::IfcRelConnectsStructuralElement> Ifc2x3::IfcStructuralMember::ReferencesElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[694], 5)); } +std::vector<::Ifc2x3::IfcRelConnectsStructuralMember> Ifc2x3::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[695], 4)); } -const IfcParse::entity& Ifc2x3::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC2X3_types[824]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC2X3_types[824]); } void Ifc2x3::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value Ifc2x3::IfcStructuralPlanarAction::ProjectedOrTrue() const { return ::Ifc2x3::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(11)); } -void Ifc2x3::IfcStructuralPlanarAction::setProjectedOrTrue(const ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc2x3::IfcStructuralPlanarAction::setProjectedOrTrue(const ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc2x3::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC2X3_types[825]); } -void Ifc2x3::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy));set_attribute_value(11, (EnumerationReference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)v12_ProjectedOrTrue))); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[825]); } +void Ifc2x3::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy));set_attribute_value(11, (enumeration_reference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)v12_ProjectedOrTrue))); } // Function implementations for IfcStructuralPlanarActionVarying ::Ifc2x3::IfcShapeAspect Ifc2x3::IfcStructuralPlanarActionVarying::VaryingAppliedLoadLocation() const { return ((express::Base)(get_attribute_value(12))).as<::Ifc2x3::IfcShapeAspect>(); } @@ -11079,26 +11079,26 @@ std::vector< ::Ifc2x3::IfcStructuralLoad > Ifc2x3::IfcStructuralPlanarActionVary void Ifc2x3::IfcStructuralPlanarActionVarying::setSubsequentAppliedLoads(const std::vector< ::Ifc2x3::IfcStructuralLoad >& v) { set_attribute_value(13, cast_vector(v));if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc2x3::IfcStructuralPlanarActionVarying::Class() { return *((IfcParse::entity*)IFC2X3_types[826]); } -void Ifc2x3::IfcStructuralPlanarActionVarying::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue, ::Ifc2x3::IfcShapeAspect v13_VaryingAppliedLoadLocation, std::vector< ::Ifc2x3::IfcStructuralLoad > v14_SubsequentAppliedLoads) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy));set_attribute_value(11, (EnumerationReference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)v12_ProjectedOrTrue)));set_attribute_value(12, (v13_VaryingAppliedLoadLocation));set_attribute_value(13, cast_vector(v14_SubsequentAppliedLoads)); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralPlanarActionVarying::Class() { return *((ifcopenshell::entity*)IFC2X3_types[826]); } +void Ifc2x3::IfcStructuralPlanarActionVarying::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue, ::Ifc2x3::IfcShapeAspect v13_VaryingAppliedLoadLocation, std::vector< ::Ifc2x3::IfcStructuralLoad > v14_SubsequentAppliedLoads) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy));set_attribute_value(11, (enumeration_reference(&::Ifc2x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)v12_ProjectedOrTrue)));set_attribute_value(12, (v13_VaryingAppliedLoadLocation));set_attribute_value(13, cast_vector(v14_SubsequentAppliedLoads)); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc2x3::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC2X3_types[827]); } -void Ifc2x3::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy)); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[827]); } +void Ifc2x3::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (v10_DestabilizingLoad));set_attribute_value(10, (v11_CausedBy)); } // Function implementations for IfcStructuralPointConnection -const IfcParse::entity& Ifc2x3::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC2X3_types[828]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC2X3_types[828]); } void Ifc2x3::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc2x3::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC2X3_types[829]); } -void Ifc2x3::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[829]); } +void Ifc2x3::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralProfileProperties std::optional< double > Ifc2x3::IfcStructuralProfileProperties::TorsionalConstantX() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -11135,28 +11135,28 @@ std::optional< double > Ifc2x3::IfcStructuralProfileProperties::CentreOfGravityI void Ifc2x3::IfcStructuralProfileProperties::setCentreOfGravityInY(const std::optional< double >& v) { if (v) {set_attribute_value(22, *v);} else {unset_attribute_value(22);} } -const IfcParse::entity& Ifc2x3::IfcStructuralProfileProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[830]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralProfileProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[830]); } void Ifc2x3::IfcStructuralProfileProperties::initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition, std::optional< double > v3_PhysicalWeight, std::optional< double > v4_Perimeter, std::optional< double > v5_MinimumPlateThickness, std::optional< double > v6_MaximumPlateThickness, std::optional< double > v7_CrossSectionArea, std::optional< double > v8_TorsionalConstantX, std::optional< double > v9_MomentOfInertiaYZ, std::optional< double > v10_MomentOfInertiaY, std::optional< double > v11_MomentOfInertiaZ, std::optional< double > v12_WarpingConstant, std::optional< double > v13_ShearCentreZ, std::optional< double > v14_ShearCentreY, std::optional< double > v15_ShearDeformationAreaZ, std::optional< double > v16_ShearDeformationAreaY, std::optional< double > v17_MaximumSectionModulusY, std::optional< double > v18_MinimumSectionModulusY, std::optional< double > v19_MaximumSectionModulusZ, std::optional< double > v20_MinimumSectionModulusZ, std::optional< double > v21_TorsionalSectionModulus, std::optional< double > v22_CentreOfGravityInX, std::optional< double > v23_CentreOfGravityInY) { if (v1_ProfileName) {set_attribute_value(0, (*v1_ProfileName)); }set_attribute_value(1, (v2_ProfileDefinition)); if (v3_PhysicalWeight) {set_attribute_value(2, (*v3_PhysicalWeight)); } if (v4_Perimeter) {set_attribute_value(3, (*v4_Perimeter)); } if (v5_MinimumPlateThickness) {set_attribute_value(4, (*v5_MinimumPlateThickness)); } if (v6_MaximumPlateThickness) {set_attribute_value(5, (*v6_MaximumPlateThickness)); } if (v7_CrossSectionArea) {set_attribute_value(6, (*v7_CrossSectionArea)); } if (v8_TorsionalConstantX) {set_attribute_value(7, (*v8_TorsionalConstantX)); } if (v9_MomentOfInertiaYZ) {set_attribute_value(8, (*v9_MomentOfInertiaYZ)); } if (v10_MomentOfInertiaY) {set_attribute_value(9, (*v10_MomentOfInertiaY)); } if (v11_MomentOfInertiaZ) {set_attribute_value(10, (*v11_MomentOfInertiaZ)); } if (v12_WarpingConstant) {set_attribute_value(11, (*v12_WarpingConstant)); } if (v13_ShearCentreZ) {set_attribute_value(12, (*v13_ShearCentreZ)); } if (v14_ShearCentreY) {set_attribute_value(13, (*v14_ShearCentreY)); } if (v15_ShearDeformationAreaZ) {set_attribute_value(14, (*v15_ShearDeformationAreaZ)); } if (v16_ShearDeformationAreaY) {set_attribute_value(15, (*v16_ShearDeformationAreaY)); } if (v17_MaximumSectionModulusY) {set_attribute_value(16, (*v17_MaximumSectionModulusY)); } if (v18_MinimumSectionModulusY) {set_attribute_value(17, (*v18_MinimumSectionModulusY)); } if (v19_MaximumSectionModulusZ) {set_attribute_value(18, (*v19_MaximumSectionModulusZ)); } if (v20_MinimumSectionModulusZ) {set_attribute_value(19, (*v20_MinimumSectionModulusZ)); } if (v21_TorsionalSectionModulus) {set_attribute_value(20, (*v21_TorsionalSectionModulus)); } if (v22_CentreOfGravityInX) {set_attribute_value(21, (*v22_CentreOfGravityInX)); } if (v23_CentreOfGravityInY) {set_attribute_value(22, (*v23_CentreOfGravityInY)); } } // Function implementations for IfcStructuralReaction -std::vector<::Ifc2x3::IfcStructuralAction> Ifc2x3::IfcStructuralReaction::Causes() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[801], 10)); } +std::vector<::Ifc2x3::IfcStructuralAction> Ifc2x3::IfcStructuralReaction::Causes() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[801], 10)); } -const IfcParse::entity& Ifc2x3::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC2X3_types[831]); } -void Ifc2x3::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[831]); } +void Ifc2x3::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc2x3::IfcAnalysisTheoryTypeEnum::Value Ifc2x3::IfcStructuralResultGroup::TheoryType() const { return ::Ifc2x3::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcStructuralResultGroup::setTheoryType(const ::Ifc2x3::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcStructuralResultGroup::setTheoryType(const ::Ifc2x3::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc2x3::IfcStructuralLoadGroup Ifc2x3::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc2x3::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc2x3::IfcStructuralLoadGroup>(); } void Ifc2x3::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc2x3::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc2x3::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc2x3::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc2x3::IfcStructuralAnalysisModel> Ifc2x3::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[804], 8)); } +std::vector<::Ifc2x3::IfcStructuralAnalysisModel> Ifc2x3::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[804], 8)); } -const IfcParse::entity& Ifc2x3::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC2X3_types[832]); } -void Ifc2x3::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc2x3::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc2x3::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC2X3_types[832]); } +void Ifc2x3::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc2x3::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSteelProfileProperties std::optional< double > Ifc2x3::IfcStructuralSteelProfileProperties::ShearAreaZ() const { if(get_attribute_value(23).isNull()) { return std::nullopt; } double v = get_attribute_value(23); return v; } @@ -11169,24 +11169,24 @@ std::optional< double > Ifc2x3::IfcStructuralSteelProfileProperties::PlasticShap void Ifc2x3::IfcStructuralSteelProfileProperties::setPlasticShapeFactorZ(const std::optional< double >& v) { if (v) {set_attribute_value(26, *v);} else {unset_attribute_value(26);} } -const IfcParse::entity& Ifc2x3::IfcStructuralSteelProfileProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[833]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralSteelProfileProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[833]); } void Ifc2x3::IfcStructuralSteelProfileProperties::initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition, std::optional< double > v3_PhysicalWeight, std::optional< double > v4_Perimeter, std::optional< double > v5_MinimumPlateThickness, std::optional< double > v6_MaximumPlateThickness, std::optional< double > v7_CrossSectionArea, std::optional< double > v8_TorsionalConstantX, std::optional< double > v9_MomentOfInertiaYZ, std::optional< double > v10_MomentOfInertiaY, std::optional< double > v11_MomentOfInertiaZ, std::optional< double > v12_WarpingConstant, std::optional< double > v13_ShearCentreZ, std::optional< double > v14_ShearCentreY, std::optional< double > v15_ShearDeformationAreaZ, std::optional< double > v16_ShearDeformationAreaY, std::optional< double > v17_MaximumSectionModulusY, std::optional< double > v18_MinimumSectionModulusY, std::optional< double > v19_MaximumSectionModulusZ, std::optional< double > v20_MinimumSectionModulusZ, std::optional< double > v21_TorsionalSectionModulus, std::optional< double > v22_CentreOfGravityInX, std::optional< double > v23_CentreOfGravityInY, std::optional< double > v24_ShearAreaZ, std::optional< double > v25_ShearAreaY, std::optional< double > v26_PlasticShapeFactorY, std::optional< double > v27_PlasticShapeFactorZ) { if (v1_ProfileName) {set_attribute_value(0, (*v1_ProfileName)); }set_attribute_value(1, (v2_ProfileDefinition)); if (v3_PhysicalWeight) {set_attribute_value(2, (*v3_PhysicalWeight)); } if (v4_Perimeter) {set_attribute_value(3, (*v4_Perimeter)); } if (v5_MinimumPlateThickness) {set_attribute_value(4, (*v5_MinimumPlateThickness)); } if (v6_MaximumPlateThickness) {set_attribute_value(5, (*v6_MaximumPlateThickness)); } if (v7_CrossSectionArea) {set_attribute_value(6, (*v7_CrossSectionArea)); } if (v8_TorsionalConstantX) {set_attribute_value(7, (*v8_TorsionalConstantX)); } if (v9_MomentOfInertiaYZ) {set_attribute_value(8, (*v9_MomentOfInertiaYZ)); } if (v10_MomentOfInertiaY) {set_attribute_value(9, (*v10_MomentOfInertiaY)); } if (v11_MomentOfInertiaZ) {set_attribute_value(10, (*v11_MomentOfInertiaZ)); } if (v12_WarpingConstant) {set_attribute_value(11, (*v12_WarpingConstant)); } if (v13_ShearCentreZ) {set_attribute_value(12, (*v13_ShearCentreZ)); } if (v14_ShearCentreY) {set_attribute_value(13, (*v14_ShearCentreY)); } if (v15_ShearDeformationAreaZ) {set_attribute_value(14, (*v15_ShearDeformationAreaZ)); } if (v16_ShearDeformationAreaY) {set_attribute_value(15, (*v16_ShearDeformationAreaY)); } if (v17_MaximumSectionModulusY) {set_attribute_value(16, (*v17_MaximumSectionModulusY)); } if (v18_MinimumSectionModulusY) {set_attribute_value(17, (*v18_MinimumSectionModulusY)); } if (v19_MaximumSectionModulusZ) {set_attribute_value(18, (*v19_MaximumSectionModulusZ)); } if (v20_MinimumSectionModulusZ) {set_attribute_value(19, (*v20_MinimumSectionModulusZ)); } if (v21_TorsionalSectionModulus) {set_attribute_value(20, (*v21_TorsionalSectionModulus)); } if (v22_CentreOfGravityInX) {set_attribute_value(21, (*v22_CentreOfGravityInX)); } if (v23_CentreOfGravityInY) {set_attribute_value(22, (*v23_CentreOfGravityInY)); } if (v24_ShearAreaZ) {set_attribute_value(23, (*v24_ShearAreaZ)); } if (v25_ShearAreaY) {set_attribute_value(24, (*v25_ShearAreaY)); } if (v26_PlasticShapeFactorY) {set_attribute_value(25, (*v26_PlasticShapeFactorY)); } if (v27_PlasticShapeFactorZ) {set_attribute_value(26, (*v27_PlasticShapeFactorZ)); } } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc2x3::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC2X3_types[834]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC2X3_types[834]); } void Ifc2x3::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value Ifc2x3::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc2x3::IfcStructuralSurfaceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc2x3::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc2x3::IfcStructuralSurfaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc2x3::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc2x3::IfcStructuralSurfaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc2x3::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc2x3::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC2X3_types[835]); } -void Ifc2x3::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcStructuralSurfaceTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc2x3::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC2X3_types[835]); } +void Ifc2x3::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcStructuralSurfaceTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying std::vector< double > /*[2:?]*/ Ifc2x3::IfcStructuralSurfaceMemberVarying::SubsequentThickness() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(9); return v; } @@ -11195,19 +11195,19 @@ void Ifc2x3::IfcStructuralSurfaceMemberVarying::setSubsequentThickness(const std void Ifc2x3::IfcStructuralSurfaceMemberVarying::setVaryingThicknessLocation(const ::Ifc2x3::IfcShapeAspect& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc2x3::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC2X3_types[836]); } -void Ifc2x3::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness, std::vector< double > /*[2:?]*/ v10_SubsequentThickness, ::Ifc2x3::IfcShapeAspect v11_VaryingThicknessLocation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcStructuralSurfaceTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); }set_attribute_value(9, (v10_SubsequentThickness));set_attribute_value(10, (v11_VaryingThicknessLocation)); } +const ifcopenshell::entity& Ifc2x3::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC2X3_types[836]); } +void Ifc2x3::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness, std::vector< double > /*[2:?]*/ v10_SubsequentThickness, ::Ifc2x3::IfcShapeAspect v11_VaryingThicknessLocation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcStructuralSurfaceTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); }set_attribute_value(9, (v10_SubsequentThickness));set_attribute_value(10, (v11_VaryingThicknessLocation)); } // Function implementations for IfcStructuredDimensionCallout -const IfcParse::entity& Ifc2x3::IfcStructuredDimensionCallout::Class() { return *((IfcParse::entity*)IFC2X3_types[838]); } +const ifcopenshell::entity& Ifc2x3::IfcStructuredDimensionCallout::Class() { return *((ifcopenshell::entity*)IFC2X3_types[838]); } void Ifc2x3::IfcStructuredDimensionCallout::initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents) { set_attribute_value(0, cast_vector(v1_Contents)); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc2x3::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC2X3_types[841]); } +const ifcopenshell::entity& Ifc2x3::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC2X3_types[841]); } void Ifc2x3::IfcStyleModel::initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -11219,13 +11219,13 @@ std::optional< std::string > Ifc2x3::IfcStyledItem::Name() const { if(get_attrib void Ifc2x3::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc2x3::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC2X3_types[839]); } +const ifcopenshell::entity& Ifc2x3::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[839]); } void Ifc2x3::IfcStyledItem::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc2x3::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC2X3_types[840]); } +const ifcopenshell::entity& Ifc2x3::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[840]); } void Ifc2x3::IfcStyledRepresentation::initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource @@ -11235,21 +11235,21 @@ std::optional< std::string > Ifc2x3::IfcSubContractResource::JobDescription() co void Ifc2x3::IfcSubContractResource::setJobDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc2x3::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC2X3_types[842]); } -void Ifc2x3::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity, ::Ifc2x3::IfcActorSelect v10_SubContractor, std::optional< std::string > v11_JobDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (EnumerationReference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity));set_attribute_value(9, (v10_SubContractor)); if (v11_JobDescription) {set_attribute_value(10, (*v11_JobDescription)); } } +const ifcopenshell::entity& Ifc2x3::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC2X3_types[842]); } +void Ifc2x3::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity, ::Ifc2x3::IfcActorSelect v10_SubContractor, std::optional< std::string > v11_JobDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ResourceIdentifier) {set_attribute_value(5, (*v6_ResourceIdentifier)); } if (v7_ResourceGroup) {set_attribute_value(6, (*v7_ResourceGroup)); } if (v8_ResourceConsumption) {set_attribute_value(7, (enumeration_reference(&::Ifc2x3::IfcResourceConsumptionEnum::Class(),(size_t)*v8_ResourceConsumption))); }set_attribute_value(8, (v9_BaseQuantity));set_attribute_value(9, (v10_SubContractor)); if (v11_JobDescription) {set_attribute_value(10, (*v11_JobDescription)); } } // Function implementations for IfcSubedge ::Ifc2x3::IfcEdge Ifc2x3::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc2x3::IfcEdge>(); } void Ifc2x3::IfcSubedge::setParentEdge(const ::Ifc2x3::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcSubedge::Class() { return *((IfcParse::entity*)IFC2X3_types[843]); } +const ifcopenshell::entity& Ifc2x3::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC2X3_types[843]); } void Ifc2x3::IfcSubedge::initialize(::Ifc2x3::IfcVertex v1_EdgeStart, ::Ifc2x3::IfcVertex v2_EdgeEnd, ::Ifc2x3::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc2x3::IfcSurface::Class() { return *((IfcParse::entity*)IFC2X3_types[844]); } +const ifcopenshell::entity& Ifc2x3::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC2X3_types[844]); } void Ifc2x3::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurveSweptAreaSolid @@ -11263,7 +11263,7 @@ void Ifc2x3::IfcSurfaceCurveSweptAreaSolid::setEndParam(const double& v) { set_a void Ifc2x3::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc2x3::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC2X3_types[845]); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC2X3_types[845]); } void Ifc2x3::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc2x3::IfcProfileDef v1_SweptArea, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcCurve v3_Directrix, double v4_StartParam, double v5_EndParam, ::Ifc2x3::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceOfLinearExtrusion @@ -11273,7 +11273,7 @@ double Ifc2x3::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_attr void Ifc2x3::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC2X3_types[846]); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC2X3_types[846]); } void Ifc2x3::IfcSurfaceOfLinearExtrusion::initialize(::Ifc2x3::IfcProfileDef v1_SweptCurve, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -11281,18 +11281,18 @@ void Ifc2x3::IfcSurfaceOfLinearExtrusion::initialize(::Ifc2x3::IfcProfileDef v1_ void Ifc2x3::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc2x3::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC2X3_types[847]); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC2X3_types[847]); } void Ifc2x3::IfcSurfaceOfRevolution::initialize(::Ifc2x3::IfcProfileDef v1_SweptCurve, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceStyle ::Ifc2x3::IfcSurfaceSide::Value Ifc2x3::IfcSurfaceStyle::Side() const { return ::Ifc2x3::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc2x3::IfcSurfaceStyle::setSide(const ::Ifc2x3::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc2x3::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc2x3::IfcSurfaceStyle::setSide(const ::Ifc2x3::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc2x3::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc2x3::IfcSurfaceStyleElementSelect > Ifc2x3::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc2x3::IfcSurfaceStyleElementSelect>(es); } void Ifc2x3::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc2x3::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[850]); } -void Ifc2x3::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc2x3::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc2x3::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[850]); } +void Ifc2x3::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc2x3::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc2x3::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc2x3::IfcColourRgb Ifc2x3::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcColourRgb>(); } @@ -11305,7 +11305,7 @@ void Ifc2x3::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc2x3::IfcC void Ifc2x3::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc2x3::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC2X3_types[852]); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC2X3_types[852]); } void Ifc2x3::IfcSurfaceStyleLighting::initialize(::Ifc2x3::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc2x3::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc2x3::IfcColourRgb v3_TransmissionColour, ::Ifc2x3::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -11315,7 +11315,7 @@ std::optional< double > Ifc2x3::IfcSurfaceStyleRefraction::DispersionFactor() co void Ifc2x3::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc2x3::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC2X3_types[853]); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC2X3_types[853]); } void Ifc2x3::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -11334,18 +11334,18 @@ void Ifc2x3::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc2x3::IfcColo ::Ifc2x3::IfcSpecularHighlightSelect Ifc2x3::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc2x3::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc2x3::IfcSpecularHighlightSelect>(); } void Ifc2x3::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc2x3::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc2x3::IfcReflectanceMethodEnum::Value Ifc2x3::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc2x3::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc2x3::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc2x3::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC2X3_types[854]); } -void Ifc2x3::IfcSurfaceStyleRendering::initialize(::Ifc2x3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc2x3::IfcColourOrFactor v3_DiffuseColour, ::Ifc2x3::IfcColourOrFactor v4_TransmissionColour, ::Ifc2x3::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc2x3::IfcColourOrFactor v6_ReflectionColour, ::Ifc2x3::IfcColourOrFactor v7_SpecularColour, ::Ifc2x3::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc2x3::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC2X3_types[854]); } +void Ifc2x3::IfcSurfaceStyleRendering::initialize(::Ifc2x3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc2x3::IfcColourOrFactor v3_DiffuseColour, ::Ifc2x3::IfcColourOrFactor v4_TransmissionColour, ::Ifc2x3::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc2x3::IfcColourOrFactor v6_ReflectionColour, ::Ifc2x3::IfcColourOrFactor v7_SpecularColour, ::Ifc2x3::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc2x3::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc2x3::IfcColourRgb Ifc2x3::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcColourRgb>(); } void Ifc2x3::IfcSurfaceStyleShading::setSurfaceColour(const ::Ifc2x3::IfcColourRgb& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC2X3_types[855]); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC2X3_types[855]); } void Ifc2x3::IfcSurfaceStyleShading::initialize(::Ifc2x3::IfcColourRgb v1_SurfaceColour) { set_attribute_value(0, (v1_SurfaceColour)); } // Function implementations for IfcSurfaceStyleWithTextures @@ -11353,7 +11353,7 @@ std::vector< ::Ifc2x3::IfcSurfaceTexture > Ifc2x3::IfcSurfaceStyleWithTextures:: void Ifc2x3::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc2x3::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC2X3_types[856]); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC2X3_types[856]); } void Ifc2x3::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc2x3::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -11362,13 +11362,13 @@ void Ifc2x3::IfcSurfaceTexture::setRepeatS(const bool& v) { set_attribute_value( bool Ifc2x3::IfcSurfaceTexture::RepeatT() const { bool v = get_attribute_value(1); return v; } void Ifc2x3::IfcSurfaceTexture::setRepeatT(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc2x3::IfcSurfaceTextureEnum::Value Ifc2x3::IfcSurfaceTexture::TextureType() const { return ::Ifc2x3::IfcSurfaceTextureEnum::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcSurfaceTexture::setTextureType(const ::Ifc2x3::IfcSurfaceTextureEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc2x3::IfcSurfaceTexture::setTextureType(const ::Ifc2x3::IfcSurfaceTextureEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } ::Ifc2x3::IfcCartesianTransformationOperator2D Ifc2x3::IfcSurfaceTexture::TextureTransform() const { if(get_attribute_value(3).isNull()) { return ::Ifc2x3::IfcCartesianTransformationOperator2D{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc2x3::IfcCartesianTransformationOperator2D>(); } void Ifc2x3::IfcSurfaceTexture::setTextureTransform(const ::Ifc2x3::IfcCartesianTransformationOperator2D& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC2X3_types[857]); } -void Ifc2x3::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(),(size_t)v3_TextureType)));set_attribute_value(3, (v4_TextureTransform)); } +const ifcopenshell::entity& Ifc2x3::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC2X3_types[857]); } +void Ifc2x3::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform) { set_attribute_value(0, (v1_RepeatS));set_attribute_value(1, (v2_RepeatT));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcSurfaceTextureEnum::Class(),(size_t)v3_TextureType)));set_attribute_value(3, (v4_TextureTransform)); } // Function implementations for IfcSweptAreaSolid ::Ifc2x3::IfcProfileDef Ifc2x3::IfcSweptAreaSolid::SweptArea() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcProfileDef>(); } @@ -11377,7 +11377,7 @@ void Ifc2x3::IfcSweptAreaSolid::setSweptArea(const ::Ifc2x3::IfcProfileDef& v) { void Ifc2x3::IfcSweptAreaSolid::setPosition(const ::Ifc2x3::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC2X3_types[859]); } +const ifcopenshell::entity& Ifc2x3::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC2X3_types[859]); } void Ifc2x3::IfcSweptAreaSolid::initialize(::Ifc2x3::IfcProfileDef v1_SweptArea, ::Ifc2x3::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -11393,7 +11393,7 @@ double Ifc2x3::IfcSweptDiskSolid::EndParam() const { double v = get_attribute_v void Ifc2x3::IfcSweptDiskSolid::setEndParam(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC2X3_types[860]); } +const ifcopenshell::entity& Ifc2x3::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC2X3_types[860]); } void Ifc2x3::IfcSweptDiskSolid::initialize(::Ifc2x3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, double v4_StartParam, double v5_EndParam) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, (v2_Radius)); if (v3_InnerRadius) {set_attribute_value(2, (*v3_InnerRadius)); }set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam)); } // Function implementations for IfcSweptSurface @@ -11403,36 +11403,36 @@ void Ifc2x3::IfcSweptSurface::setSweptCurve(const ::Ifc2x3::IfcProfileDef& v) { void Ifc2x3::IfcSweptSurface::setPosition(const ::Ifc2x3::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC2X3_types[861]); } +const ifcopenshell::entity& Ifc2x3::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC2X3_types[861]); } void Ifc2x3::IfcSweptSurface::initialize(::Ifc2x3::IfcProfileDef v1_SweptCurve, ::Ifc2x3::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDeviceType ::Ifc2x3::IfcSwitchingDeviceTypeEnum::Value Ifc2x3::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc2x3::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc2x3::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc2x3::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC2X3_types[862]); } -void Ifc2x3::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[862]); } +void Ifc2x3::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSymbolStyle ::Ifc2x3::IfcSymbolStyleSelect Ifc2x3::IfcSymbolStyle::StyleOfSymbol() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc2x3::IfcSymbolStyleSelect>(); } void Ifc2x3::IfcSymbolStyle::setStyleOfSymbol(const ::Ifc2x3::IfcSymbolStyleSelect& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcSymbolStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[864]); } +const ifcopenshell::entity& Ifc2x3::IfcSymbolStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[864]); } void Ifc2x3::IfcSymbolStyle::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcSymbolStyleSelect v2_StyleOfSymbol) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_StyleOfSymbol)); } // Function implementations for IfcSystem -std::vector<::Ifc2x3::IfcRelServicesBuildings> Ifc2x3::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[715], 4)); } +std::vector<::Ifc2x3::IfcRelServicesBuildings> Ifc2x3::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[715], 4)); } -const IfcParse::entity& Ifc2x3::IfcSystem::Class() { return *((IfcParse::entity*)IFC2X3_types[866]); } +const ifcopenshell::entity& Ifc2x3::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[866]); } void Ifc2x3::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElementType -const IfcParse::entity& Ifc2x3::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[867]); } +const ifcopenshell::entity& Ifc2x3::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[867]); } void Ifc2x3::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcTShapeProfileDef @@ -11458,8 +11458,8 @@ std::optional< double > Ifc2x3::IfcTShapeProfileDef::CentreOfGravityInY() const void Ifc2x3::IfcTShapeProfileDef::setCentreOfGravityInY(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc2x3::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[928]); } -void Ifc2x3::IfcTShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope, std::optional< double > v13_CentreOfGravityInY) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } if (v13_CentreOfGravityInY) {set_attribute_value(12, (*v13_CentreOfGravityInY)); } } +const ifcopenshell::entity& Ifc2x3::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[928]); } +void Ifc2x3::IfcTShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope, std::optional< double > v13_CentreOfGravityInY) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } if (v13_CentreOfGravityInY) {set_attribute_value(12, (*v13_CentreOfGravityInY)); } } // Function implementations for IfcTable std::string Ifc2x3::IfcTable::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11468,7 +11468,7 @@ std::vector< ::Ifc2x3::IfcTableRow > Ifc2x3::IfcTable::Rows() const { std::vect void Ifc2x3::IfcTable::setRows(const std::vector< ::Ifc2x3::IfcTableRow >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcTable::Class() { return *((IfcParse::entity*)IFC2X3_types[868]); } +const ifcopenshell::entity& Ifc2x3::IfcTable::Class() { return *((ifcopenshell::entity*)IFC2X3_types[868]); } void Ifc2x3::IfcTable::initialize(std::string v1_Name, std::vector< ::Ifc2x3::IfcTableRow > v2_Rows) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_Rows)); } // Function implementations for IfcTableRow @@ -11477,18 +11477,18 @@ void Ifc2x3::IfcTableRow::setRowCells(const std::vector< ::Ifc2x3::IfcValue >& v bool Ifc2x3::IfcTableRow::IsHeading() const { bool v = get_attribute_value(1); return v; } void Ifc2x3::IfcTableRow::setIsHeading(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc2x3::IfcTable> Ifc2x3::IfcTableRow::OfTable() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[868], 1)); } +std::vector<::Ifc2x3::IfcTable> Ifc2x3::IfcTableRow::OfTable() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[868], 1)); } -const IfcParse::entity& Ifc2x3::IfcTableRow::Class() { return *((IfcParse::entity*)IFC2X3_types[869]); } +const ifcopenshell::entity& Ifc2x3::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC2X3_types[869]); } void Ifc2x3::IfcTableRow::initialize(std::vector< ::Ifc2x3::IfcValue > v1_RowCells, bool v2_IsHeading) { set_attribute_value(0, cast_vector(v1_RowCells));set_attribute_value(1, (v2_IsHeading)); } // Function implementations for IfcTankType ::Ifc2x3::IfcTankTypeEnum::Value Ifc2x3::IfcTankType::PredefinedType() const { return ::Ifc2x3::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcTankType::setPredefinedType(const ::Ifc2x3::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcTankType::setPredefinedType(const ::Ifc2x3::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcTankType::Class() { return *((IfcParse::entity*)IFC2X3_types[870]); } -void Ifc2x3::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[870]); } +void Ifc2x3::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::string Ifc2x3::IfcTask::TaskId() const { std::string v = get_attribute_value(5); return v; } @@ -11503,7 +11503,7 @@ std::optional< int > Ifc2x3::IfcTask::Priority() const { if(get_attribute_value( void Ifc2x3::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcTask::Class() { return *((IfcParse::entity*)IFC2X3_types[872]); } +const ifcopenshell::entity& Ifc2x3::IfcTask::Class() { return *((ifcopenshell::entity*)IFC2X3_types[872]); } void Ifc2x3::IfcTask::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_TaskId, std::optional< std::string > v7_Status, std::optional< std::string > v8_WorkMethod, bool v9_IsMilestone, std::optional< int > v10_Priority) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_TaskId)); if (v7_Status) {set_attribute_value(6, (*v7_Status)); } if (v8_WorkMethod) {set_attribute_value(7, (*v8_WorkMethod)); }set_attribute_value(8, (v9_IsMilestone)); if (v10_Priority) {set_attribute_value(9, (*v10_Priority)); } } // Function implementations for IfcTelecomAddress @@ -11519,12 +11519,12 @@ std::optional< std::string > Ifc2x3::IfcTelecomAddress::WWWHomePageURL() const { void Ifc2x3::IfcTelecomAddress::setWWWHomePageURL(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC2X3_types[873]); } -void Ifc2x3::IfcTelecomAddress::initialize(std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc2x3::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)); } } +const ifcopenshell::entity& Ifc2x3::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC2X3_types[873]); } +void Ifc2x3::IfcTelecomAddress::initialize(std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc2x3::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)); } } // Function implementations for IfcTendon ::Ifc2x3::IfcTendonTypeEnum::Value Ifc2x3::IfcTendon::PredefinedType() const { return ::Ifc2x3::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcTendon::setPredefinedType(const ::Ifc2x3::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcTendon::setPredefinedType(const ::Ifc2x3::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } double Ifc2x3::IfcTendon::NominalDiameter() const { double v = get_attribute_value(10); return v; } void Ifc2x3::IfcTendon::setNominalDiameter(const double& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } double Ifc2x3::IfcTendon::CrossSectionArea() const { double v = get_attribute_value(11); return v; } @@ -11541,13 +11541,13 @@ std::optional< double > Ifc2x3::IfcTendon::MinCurvatureRadius() const { if(get_a void Ifc2x3::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc2x3::IfcTendon::Class() { return *((IfcParse::entity*)IFC2X3_types[875]); } -void Ifc2x3::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc2x3::IfcTendonTypeEnum::Value v10_PredefinedType, double v11_NominalDiameter, double v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcTendonTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (v11_NominalDiameter));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)); } } +const ifcopenshell::entity& Ifc2x3::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC2X3_types[875]); } +void Ifc2x3::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc2x3::IfcTendonTypeEnum::Value v10_PredefinedType, double v11_NominalDiameter, double v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcTendonTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (v11_NominalDiameter));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)); } } // Function implementations for IfcTendonAnchor -const IfcParse::entity& Ifc2x3::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC2X3_types[876]); } +const ifcopenshell::entity& Ifc2x3::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC2X3_types[876]); } void Ifc2x3::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcTerminatorSymbol @@ -11555,7 +11555,7 @@ void Ifc2x3::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcO void Ifc2x3::IfcTerminatorSymbol::setAnnotatedCurve(const ::Ifc2x3::IfcAnnotationCurveOccurrence& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcTerminatorSymbol::Class() { return *((IfcParse::entity*)IFC2X3_types[878]); } +const ifcopenshell::entity& Ifc2x3::IfcTerminatorSymbol::Class() { return *((ifcopenshell::entity*)IFC2X3_types[878]); } void Ifc2x3::IfcTerminatorSymbol::initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name, ::Ifc2x3::IfcAnnotationCurveOccurrence v4_AnnotatedCurve) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); }set_attribute_value(3, (v4_AnnotatedCurve)); } // Function implementations for IfcTextLiteral @@ -11564,11 +11564,11 @@ void Ifc2x3::IfcTextLiteral::setLiteral(const std::string& v) { set_attribute_va ::Ifc2x3::IfcAxis2Placement Ifc2x3::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc2x3::IfcAxis2Placement>(); } void Ifc2x3::IfcTextLiteral::setPlacement(const ::Ifc2x3::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc2x3::IfcTextPath::Value Ifc2x3::IfcTextLiteral::Path() const { return ::Ifc2x3::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc2x3::IfcTextLiteral::setPath(const ::Ifc2x3::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc2x3::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc2x3::IfcTextLiteral::setPath(const ::Ifc2x3::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc2x3::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc2x3::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC2X3_types[884]); } -void Ifc2x3::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc2x3::IfcAxis2Placement v2_Placement, ::Ifc2x3::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc2x3::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC2X3_types[884]); } +void Ifc2x3::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc2x3::IfcAxis2Placement v2_Placement, ::Ifc2x3::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc2x3::IfcPlanarExtent Ifc2x3::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc2x3::IfcPlanarExtent>(); } @@ -11577,8 +11577,8 @@ std::string Ifc2x3::IfcTextLiteralWithExtent::BoxAlignment() const { std::strin void Ifc2x3::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC2X3_types[885]); } -void Ifc2x3::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc2x3::IfcAxis2Placement v2_Placement, ::Ifc2x3::IfcTextPath::Value v3_Path, ::Ifc2x3::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc2x3::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc2x3::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC2X3_types[885]); } +void Ifc2x3::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc2x3::IfcAxis2Placement v2_Placement, ::Ifc2x3::IfcTextPath::Value v3_Path, ::Ifc2x3::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc2x3::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc2x3::IfcCharacterStyleSelect Ifc2x3::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc2x3::IfcCharacterStyleSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc2x3::IfcCharacterStyleSelect>(); } @@ -11589,7 +11589,7 @@ void Ifc2x3::IfcTextStyle::setTextStyle(const ::Ifc2x3::IfcTextStyleSelect& v) { void Ifc2x3::IfcTextStyle::setTextFontStyle(const ::Ifc2x3::IfcTextFontSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc2x3::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[887]); } +const ifcopenshell::entity& Ifc2x3::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[887]); } void Ifc2x3::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcCharacterStyleSelect v2_TextCharacterAppearance, ::Ifc2x3::IfcTextStyleSelect v3_TextStyle, ::Ifc2x3::IfcTextFontSelect v4_TextFontStyle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); } // Function implementations for IfcTextStyleFontModel @@ -11605,7 +11605,7 @@ void Ifc2x3::IfcTextStyleFontModel::setFontWeight(const std::optional< std::stri void Ifc2x3::IfcTextStyleFontModel::setFontSize(const ::Ifc2x3::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc2x3::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC2X3_types[888]); } +const ifcopenshell::entity& Ifc2x3::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC2X3_types[888]); } void Ifc2x3::IfcTextStyleFontModel::initialize(std::string v1_Name, std::optional< std::vector< std::string > /*[1:?]*/ > v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc2x3::IfcSizeSelect v6_FontSize) { set_attribute_value(0, (v1_Name)); if (v2_FontFamily) {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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -11615,7 +11615,7 @@ void Ifc2x3::IfcTextStyleForDefinedFont::setColour(const ::Ifc2x3::IfcColour& v) void Ifc2x3::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc2x3::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC2X3_types[889]); } +const ifcopenshell::entity& Ifc2x3::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC2X3_types[889]); } void Ifc2x3::IfcTextStyleForDefinedFont::initialize(::Ifc2x3::IfcColour v1_Colour, ::Ifc2x3::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -11635,7 +11635,7 @@ void Ifc2x3::IfcTextStyleTextModel::setTextTransform(const std::optional< std::s void Ifc2x3::IfcTextStyleTextModel::setLineHeight(const ::Ifc2x3::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC2X3_types[891]); } +const ifcopenshell::entity& Ifc2x3::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC2X3_types[891]); } void Ifc2x3::IfcTextStyleTextModel::initialize(::Ifc2x3::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc2x3::IfcSizeSelect v4_LetterSpacing, ::Ifc2x3::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc2x3::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextStyleWithBoxCharacteristics @@ -11651,14 +11651,14 @@ void Ifc2x3::IfcTextStyleWithBoxCharacteristics::setBoxRotateAngle(const std::op void Ifc2x3::IfcTextStyleWithBoxCharacteristics::setCharacterSpacing(const ::Ifc2x3::IfcSizeSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcTextStyleWithBoxCharacteristics::Class() { return *((IfcParse::entity*)IFC2X3_types[892]); } +const ifcopenshell::entity& Ifc2x3::IfcTextStyleWithBoxCharacteristics::Class() { return *((ifcopenshell::entity*)IFC2X3_types[892]); } void Ifc2x3::IfcTextStyleWithBoxCharacteristics::initialize(std::optional< double > v1_BoxHeight, std::optional< double > v2_BoxWidth, std::optional< double > v3_BoxSlantAngle, std::optional< double > v4_BoxRotateAngle, ::Ifc2x3::IfcSizeSelect v5_CharacterSpacing) { if (v1_BoxHeight) {set_attribute_value(0, (*v1_BoxHeight)); } if (v2_BoxWidth) {set_attribute_value(1, (*v2_BoxWidth)); } if (v3_BoxSlantAngle) {set_attribute_value(2, (*v3_BoxSlantAngle)); } if (v4_BoxRotateAngle) {set_attribute_value(3, (*v4_BoxRotateAngle)); }set_attribute_value(4, (v5_CharacterSpacing)); } // Function implementations for IfcTextureCoordinate -std::vector<::Ifc2x3::IfcAnnotationSurface> Ifc2x3::IfcTextureCoordinate::AnnotatedSurface() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[32], 1)); } +std::vector<::Ifc2x3::IfcAnnotationSurface> Ifc2x3::IfcTextureCoordinate::AnnotatedSurface() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[32], 1)); } -const IfcParse::entity& Ifc2x3::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC2X3_types[894]); } +const ifcopenshell::entity& Ifc2x3::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC2X3_types[894]); } void Ifc2x3::IfcTextureCoordinate::initialize() { } // Function implementations for IfcTextureCoordinateGenerator @@ -11668,7 +11668,7 @@ std::vector< ::Ifc2x3::IfcSimpleValue > Ifc2x3::IfcTextureCoordinateGenerator::P void Ifc2x3::IfcTextureCoordinateGenerator::setParameter(const std::vector< ::Ifc2x3::IfcSimpleValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC2X3_types[895]); } +const ifcopenshell::entity& Ifc2x3::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC2X3_types[895]); } void Ifc2x3::IfcTextureCoordinateGenerator::initialize(std::string v1_Mode, std::vector< ::Ifc2x3::IfcSimpleValue > v2_Parameter) { set_attribute_value(0, (v1_Mode));set_attribute_value(1, cast_vector(v2_Parameter)); } // Function implementations for IfcTextureMap @@ -11676,7 +11676,7 @@ std::vector< ::Ifc2x3::IfcVertexBasedTextureMap > Ifc2x3::IfcTextureMap::Texture void Ifc2x3::IfcTextureMap::setTextureMaps(const std::vector< ::Ifc2x3::IfcVertexBasedTextureMap >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC2X3_types[896]); } +const ifcopenshell::entity& Ifc2x3::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC2X3_types[896]); } void Ifc2x3::IfcTextureMap::initialize(std::vector< ::Ifc2x3::IfcVertexBasedTextureMap > v1_TextureMaps) { set_attribute_value(0, cast_vector(v1_TextureMaps)); } // Function implementations for IfcTextureVertex @@ -11684,7 +11684,7 @@ std::vector< double > /*[2:2]*/ Ifc2x3::IfcTextureVertex::Coordinates() const { void Ifc2x3::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC2X3_types[897]); } +const ifcopenshell::entity& Ifc2x3::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC2X3_types[897]); } void Ifc2x3::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcThermalMaterialProperties @@ -11698,7 +11698,7 @@ std::optional< double > Ifc2x3::IfcThermalMaterialProperties::ThermalConductivit void Ifc2x3::IfcThermalMaterialProperties::setThermalConductivity(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc2x3::IfcThermalMaterialProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[903]); } +const ifcopenshell::entity& Ifc2x3::IfcThermalMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[903]); } void Ifc2x3::IfcThermalMaterialProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_SpecificHeatCapacity, std::optional< double > v3_BoilingPoint, std::optional< double > v4_FreezingPoint, std::optional< double > v5_ThermalConductivity) { set_attribute_value(0, (v1_Material)); if (v2_SpecificHeatCapacity) {set_attribute_value(1, (*v2_SpecificHeatCapacity)); } if (v3_BoilingPoint) {set_attribute_value(2, (*v3_BoilingPoint)); } if (v4_FreezingPoint) {set_attribute_value(3, (*v4_FreezingPoint)); } if (v5_ThermalConductivity) {set_attribute_value(4, (*v5_ThermalConductivity)); } } // Function implementations for IfcTimeSeries @@ -11711,18 +11711,18 @@ void Ifc2x3::IfcTimeSeries::setStartTime(const ::Ifc2x3::IfcDateTimeSelect& v) { ::Ifc2x3::IfcDateTimeSelect Ifc2x3::IfcTimeSeries::EndTime() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc2x3::IfcDateTimeSelect>(); } void Ifc2x3::IfcTimeSeries::setEndTime(const ::Ifc2x3::IfcDateTimeSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value Ifc2x3::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc2x3::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc2x3::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc2x3::IfcDataOriginEnum::Value Ifc2x3::IfcTimeSeries::DataOrigin() const { return ::Ifc2x3::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcTimeSeries::setDataOrigin(const ::Ifc2x3::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcTimeSeries::setDataOrigin(const ::Ifc2x3::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc2x3::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc2x3::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc2x3::IfcUnit Ifc2x3::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc2x3::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc2x3::IfcUnit>(); } void Ifc2x3::IfcTimeSeries::setUnit(const ::Ifc2x3::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc2x3::IfcTimeSeriesReferenceRelationship> Ifc2x3::IfcTimeSeries::DocumentedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[910], 0)); } +std::vector<::Ifc2x3::IfcTimeSeriesReferenceRelationship> Ifc2x3::IfcTimeSeries::DocumentedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[910], 0)); } -const IfcParse::entity& Ifc2x3::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC2X3_types[908]); } -void Ifc2x3::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDateTimeSelect v3_StartTime, ::Ifc2x3::IfcDateTimeSelect v4_EndTime, ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc2x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc2x3::IfcUnit v8_Unit) { 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(&::Ifc2x3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc2x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc2x3::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC2X3_types[908]); } +void Ifc2x3::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDateTimeSelect v3_StartTime, ::Ifc2x3::IfcDateTimeSelect v4_EndTime, ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc2x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc2x3::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc2x3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc2x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesReferenceRelationship ::Ifc2x3::IfcTimeSeries Ifc2x3::IfcTimeSeriesReferenceRelationship::ReferencedTimeSeries() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcTimeSeries>(); } @@ -11731,68 +11731,68 @@ std::vector< ::Ifc2x3::IfcDocumentSelect > Ifc2x3::IfcTimeSeriesReferenceRelatio void Ifc2x3::IfcTimeSeriesReferenceRelationship::setTimeSeriesReferences(const std::vector< ::Ifc2x3::IfcDocumentSelect >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcTimeSeriesReferenceRelationship::Class() { return *((IfcParse::entity*)IFC2X3_types[910]); } +const ifcopenshell::entity& Ifc2x3::IfcTimeSeriesReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC2X3_types[910]); } void Ifc2x3::IfcTimeSeriesReferenceRelationship::initialize(::Ifc2x3::IfcTimeSeries v1_ReferencedTimeSeries, std::vector< ::Ifc2x3::IfcDocumentSelect > v2_TimeSeriesReferences) { set_attribute_value(0, (v1_ReferencedTimeSeries));set_attribute_value(1, cast_vector(v2_TimeSeriesReferences)); } // Function implementations for IfcTimeSeriesSchedule std::optional< std::vector< ::Ifc2x3::IfcDateTimeSelect > > Ifc2x3::IfcTimeSeriesSchedule::ApplicableDates() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc2x3::IfcDateTimeSelect>(es); } void Ifc2x3::IfcTimeSeriesSchedule::setApplicableDates(const std::optional< std::vector< ::Ifc2x3::IfcDateTimeSelect > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value Ifc2x3::IfcTimeSeriesSchedule::TimeSeriesScheduleType() const { return ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc2x3::IfcTimeSeriesSchedule::setTimeSeriesScheduleType(const ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc2x3::IfcTimeSeriesSchedule::setTimeSeriesScheduleType(const ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc2x3::IfcTimeSeries Ifc2x3::IfcTimeSeriesSchedule::TimeSeries() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc2x3::IfcTimeSeries>(); } void Ifc2x3::IfcTimeSeriesSchedule::setTimeSeries(const ::Ifc2x3::IfcTimeSeries& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc2x3::IfcTimeSeriesSchedule::Class() { return *((IfcParse::entity*)IFC2X3_types[911]); } -void Ifc2x3::IfcTimeSeriesSchedule::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::vector< ::Ifc2x3::IfcDateTimeSelect > > v6_ApplicableDates, ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value v7_TimeSeriesScheduleType, ::Ifc2x3::IfcTimeSeries v8_TimeSeries) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ApplicableDates) {set_attribute_value(5, cast_vector(*v6_ApplicableDates)); }set_attribute_value(6, (EnumerationReference(&::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Class(),(size_t)v7_TimeSeriesScheduleType)));set_attribute_value(7, (v8_TimeSeries)); } +const ifcopenshell::entity& Ifc2x3::IfcTimeSeriesSchedule::Class() { return *((ifcopenshell::entity*)IFC2X3_types[911]); } +void Ifc2x3::IfcTimeSeriesSchedule::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::vector< ::Ifc2x3::IfcDateTimeSelect > > v6_ApplicableDates, ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value v7_TimeSeriesScheduleType, ::Ifc2x3::IfcTimeSeries v8_TimeSeries) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_ApplicableDates) {set_attribute_value(5, cast_vector(*v6_ApplicableDates)); }set_attribute_value(6, (enumeration_reference(&::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Class(),(size_t)v7_TimeSeriesScheduleType)));set_attribute_value(7, (v8_TimeSeries)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc2x3::IfcValue > Ifc2x3::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc2x3::IfcValue>(es); } void Ifc2x3::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc2x3::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC2X3_types[913]); } +const ifcopenshell::entity& Ifc2x3::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC2X3_types[913]); } void Ifc2x3::IfcTimeSeriesValue::initialize(std::vector< ::Ifc2x3::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc2x3::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC2X3_types[915]); } +const ifcopenshell::entity& Ifc2x3::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC2X3_types[915]); } void Ifc2x3::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc2x3::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC2X3_types[916]); } +const ifcopenshell::entity& Ifc2x3::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC2X3_types[916]); } void Ifc2x3::IfcTopologyRepresentation::initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcTransformerType ::Ifc2x3::IfcTransformerTypeEnum::Value Ifc2x3::IfcTransformerType::PredefinedType() const { return ::Ifc2x3::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcTransformerType::setPredefinedType(const ::Ifc2x3::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcTransformerType::setPredefinedType(const ::Ifc2x3::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC2X3_types[918]); } -void Ifc2x3::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[918]); } +void Ifc2x3::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportElement std::optional< ::Ifc2x3::IfcTransportElementTypeEnum::Value > Ifc2x3::IfcTransportElement::OperationType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcTransportElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcTransportElement::setOperationType(const std::optional< ::Ifc2x3::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc2x3::IfcTransportElement::setOperationType(const std::optional< ::Ifc2x3::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< double > Ifc2x3::IfcTransportElement::CapacityByWeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc2x3::IfcTransportElement::setCapacityByWeight(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< double > Ifc2x3::IfcTransportElement::CapacityByNumber() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc2x3::IfcTransportElement::setCapacityByNumber(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc2x3::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC2X3_types[921]); } -void Ifc2x3::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcTransportElementTypeEnum::Value > v9_OperationType, std::optional< double > v10_CapacityByWeight, std::optional< double > v11_CapacityByNumber) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_OperationType) {set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcTransportElementTypeEnum::Class(),(size_t)*v9_OperationType))); } if (v10_CapacityByWeight) {set_attribute_value(9, (*v10_CapacityByWeight)); } if (v11_CapacityByNumber) {set_attribute_value(10, (*v11_CapacityByNumber)); } } +const ifcopenshell::entity& Ifc2x3::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[921]); } +void Ifc2x3::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcTransportElementTypeEnum::Value > v9_OperationType, std::optional< double > v10_CapacityByWeight, std::optional< double > v11_CapacityByNumber) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_OperationType) {set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcTransportElementTypeEnum::Class(),(size_t)*v9_OperationType))); } if (v10_CapacityByWeight) {set_attribute_value(9, (*v10_CapacityByWeight)); } if (v11_CapacityByNumber) {set_attribute_value(10, (*v11_CapacityByNumber)); } } // Function implementations for IfcTransportElementType ::Ifc2x3::IfcTransportElementTypeEnum::Value Ifc2x3::IfcTransportElementType::PredefinedType() const { return ::Ifc2x3::IfcTransportElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcTransportElementType::setPredefinedType(const ::Ifc2x3::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcTransportElementType::setPredefinedType(const ::Ifc2x3::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC2X3_types[922]); } -void Ifc2x3::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[922]); } +void Ifc2x3::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTrapeziumProfileDef double Ifc2x3::IfcTrapeziumProfileDef::BottomXDim() const { double v = get_attribute_value(3); return v; } @@ -11805,8 +11805,8 @@ double Ifc2x3::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_attr void Ifc2x3::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc2x3::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[924]); } -void Ifc2x3::IfcTrapeziumProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc2x3::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[924]); } +void Ifc2x3::IfcTrapeziumProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTrimmedCurve ::Ifc2x3::IfcCurve Ifc2x3::IfcTrimmedCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcCurve>(); } @@ -11818,26 +11818,26 @@ void Ifc2x3::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc2x3::IfcTrimmingS bool Ifc2x3::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc2x3::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc2x3::IfcTrimmingPreference::Value Ifc2x3::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc2x3::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc2x3::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc2x3::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc2x3::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc2x3::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC2X3_types[925]); } -void Ifc2x3::IfcTrimmedCurve::initialize(::Ifc2x3::IfcCurve v1_BasisCurve, std::vector< ::Ifc2x3::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc2x3::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc2x3::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc2x3::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC2X3_types[925]); } +void Ifc2x3::IfcTrimmedCurve::initialize(::Ifc2x3::IfcCurve v1_BasisCurve, std::vector< ::Ifc2x3::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc2x3::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc2x3::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundleType ::Ifc2x3::IfcTubeBundleTypeEnum::Value Ifc2x3::IfcTubeBundleType::PredefinedType() const { return ::Ifc2x3::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcTubeBundleType::setPredefinedType(const ::Ifc2x3::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcTubeBundleType::setPredefinedType(const ::Ifc2x3::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC2X3_types[929]); } -void Ifc2x3::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[929]); } +void Ifc2x3::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTwoDirectionRepeatFactor ::Ifc2x3::IfcVector Ifc2x3::IfcTwoDirectionRepeatFactor::SecondRepeatFactor() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc2x3::IfcVector>(); } void Ifc2x3::IfcTwoDirectionRepeatFactor::setSecondRepeatFactor(const ::Ifc2x3::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcTwoDirectionRepeatFactor::Class() { return *((IfcParse::entity*)IFC2X3_types[931]); } +const ifcopenshell::entity& Ifc2x3::IfcTwoDirectionRepeatFactor::Class() { return *((ifcopenshell::entity*)IFC2X3_types[931]); } void Ifc2x3::IfcTwoDirectionRepeatFactor::initialize(::Ifc2x3::IfcVector v1_RepeatFactor, ::Ifc2x3::IfcVector v2_SecondRepeatFactor) { set_attribute_value(0, (v1_RepeatFactor));set_attribute_value(1, (v2_SecondRepeatFactor)); } // Function implementations for IfcTypeObject @@ -11846,9 +11846,9 @@ void Ifc2x3::IfcTypeObject::setApplicableOccurrence(const std::optional< std::st std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > Ifc2x3::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc2x3::IfcPropertySetDefinition>(es); } void Ifc2x3::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc2x3::IfcRelDefinesByType> Ifc2x3::IfcTypeObject::ObjectTypeOf() const { return cast_vector(file()->getInverse(data()->id(), IFC2X3_types[704], 5)); } +std::vector<::Ifc2x3::IfcRelDefinesByType> Ifc2x3::IfcTypeObject::ObjectTypeOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC2X3_types[704], 5)); } -const IfcParse::entity& Ifc2x3::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC2X3_types[932]); } +const ifcopenshell::entity& Ifc2x3::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC2X3_types[932]); } void Ifc2x3::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProduct @@ -11858,7 +11858,7 @@ std::optional< std::string > Ifc2x3::IfcTypeProduct::Tag() const { if(get_attrib void Ifc2x3::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC2X3_types[933]); } +const ifcopenshell::entity& Ifc2x3::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC2X3_types[933]); } void Ifc2x3::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcUShapeProfileDef @@ -11880,32 +11880,32 @@ std::optional< double > Ifc2x3::IfcUShapeProfileDef::CentreOfGravityInX() const void Ifc2x3::IfcUShapeProfileDef::setCentreOfGravityInX(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc2x3::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[939]); } -void Ifc2x3::IfcUShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope, std::optional< double > v11_CentreOfGravityInX) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } if (v11_CentreOfGravityInX) {set_attribute_value(10, (*v11_CentreOfGravityInX)); } } +const ifcopenshell::entity& Ifc2x3::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[939]); } +void Ifc2x3::IfcUShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope, std::optional< double > v11_CentreOfGravityInX) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } if (v11_CentreOfGravityInX) {set_attribute_value(10, (*v11_CentreOfGravityInX)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc2x3::IfcUnit > Ifc2x3::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc2x3::IfcUnit>(es); } void Ifc2x3::IfcUnitAssignment::setUnits(const std::vector< ::Ifc2x3::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC2X3_types[937]); } +const ifcopenshell::entity& Ifc2x3::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC2X3_types[937]); } void Ifc2x3::IfcUnitAssignment::initialize(std::vector< ::Ifc2x3::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryEquipmentType ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value Ifc2x3::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC2X3_types[935]); } -void Ifc2x3::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[935]); } +void Ifc2x3::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValveType ::Ifc2x3::IfcValveTypeEnum::Value Ifc2x3::IfcValveType::PredefinedType() const { return ::Ifc2x3::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcValveType::setPredefinedType(const ::Ifc2x3::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcValveType::setPredefinedType(const ::Ifc2x3::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcValveType::Class() { return *((IfcParse::entity*)IFC2X3_types[941]); } -void Ifc2x3::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[941]); } +void Ifc2x3::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc2x3::IfcDirection Ifc2x3::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc2x3::IfcDirection>(); } @@ -11914,13 +11914,13 @@ double Ifc2x3::IfcVector::Magnitude() const { double v = get_attribute_value(1) void Ifc2x3::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcVector::Class() { return *((IfcParse::entity*)IFC2X3_types[944]); } +const ifcopenshell::entity& Ifc2x3::IfcVector::Class() { return *((ifcopenshell::entity*)IFC2X3_types[944]); } void Ifc2x3::IfcVector::initialize(::Ifc2x3::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc2x3::IfcVertex::Class() { return *((IfcParse::entity*)IFC2X3_types[946]); } +const ifcopenshell::entity& Ifc2x3::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC2X3_types[946]); } void Ifc2x3::IfcVertex::initialize() { } // Function implementations for IfcVertexBasedTextureMap @@ -11930,7 +11930,7 @@ std::vector< ::Ifc2x3::IfcCartesianPoint > Ifc2x3::IfcVertexBasedTextureMap::Tex void Ifc2x3::IfcVertexBasedTextureMap::setTexturePoints(const std::vector< ::Ifc2x3::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcVertexBasedTextureMap::Class() { return *((IfcParse::entity*)IFC2X3_types[947]); } +const ifcopenshell::entity& Ifc2x3::IfcVertexBasedTextureMap::Class() { return *((ifcopenshell::entity*)IFC2X3_types[947]); } void Ifc2x3::IfcVertexBasedTextureMap::initialize(std::vector< ::Ifc2x3::IfcTextureVertex > v1_TextureVertices, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_TexturePoints) { set_attribute_value(0, cast_vector(v1_TextureVertices));set_attribute_value(1, cast_vector(v2_TexturePoints)); } // Function implementations for IfcVertexLoop @@ -11938,7 +11938,7 @@ void Ifc2x3::IfcVertexBasedTextureMap::initialize(std::vector< ::Ifc2x3::IfcText void Ifc2x3::IfcVertexLoop::setLoopVertex(const ::Ifc2x3::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC2X3_types[948]); } +const ifcopenshell::entity& Ifc2x3::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC2X3_types[948]); } void Ifc2x3::IfcVertexLoop::initialize(::Ifc2x3::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -11946,21 +11946,21 @@ void Ifc2x3::IfcVertexLoop::initialize(::Ifc2x3::IfcVertex v1_LoopVertex) { set_ void Ifc2x3::IfcVertexPoint::setVertexGeometry(const ::Ifc2x3::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc2x3::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC2X3_types[949]); } +const ifcopenshell::entity& Ifc2x3::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC2X3_types[949]); } void Ifc2x3::IfcVertexPoint::initialize(::Ifc2x3::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationIsolatorType ::Ifc2x3::IfcVibrationIsolatorTypeEnum::Value Ifc2x3::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc2x3::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc2x3::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc2x3::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC2X3_types[950]); } -void Ifc2x3::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[950]); } +void Ifc2x3::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement -const IfcParse::entity& Ifc2x3::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC2X3_types[952]); } +const ifcopenshell::entity& Ifc2x3::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC2X3_types[952]); } void Ifc2x3::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVirtualGridIntersection @@ -11970,36 +11970,36 @@ std::vector< double > /*[2:3]*/ Ifc2x3::IfcVirtualGridIntersection::OffsetDistan void Ifc2x3::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc2x3::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC2X3_types[953]); } +const ifcopenshell::entity& Ifc2x3::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC2X3_types[953]); } void Ifc2x3::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc2x3::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcWall -const IfcParse::entity& Ifc2x3::IfcWall::Class() { return *((IfcParse::entity*)IFC2X3_types[956]); } +const ifcopenshell::entity& Ifc2x3::IfcWall::Class() { return *((ifcopenshell::entity*)IFC2X3_types[956]); } void Ifc2x3::IfcWall::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc2x3::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC2X3_types[957]); } +const ifcopenshell::entity& Ifc2x3::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC2X3_types[957]); } void Ifc2x3::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcWallType ::Ifc2x3::IfcWallTypeEnum::Value Ifc2x3::IfcWallType::PredefinedType() const { return ::Ifc2x3::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcWallType::setPredefinedType(const ::Ifc2x3::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcWallType::setPredefinedType(const ::Ifc2x3::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcWallType::Class() { return *((IfcParse::entity*)IFC2X3_types[958]); } -void Ifc2x3::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[958]); } +void Ifc2x3::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminalType ::Ifc2x3::IfcWasteTerminalTypeEnum::Value Ifc2x3::IfcWasteTerminalType::PredefinedType() const { return ::Ifc2x3::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcWasteTerminalType::setPredefinedType(const ::Ifc2x3::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcWasteTerminalType::setPredefinedType(const ::Ifc2x3::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc2x3::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC2X3_types[962]); } -void Ifc2x3::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc2x3::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC2X3_types[962]); } +void Ifc2x3::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWaterProperties std::optional< bool > Ifc2x3::IfcWaterProperties::IsPotable() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } bool v = get_attribute_value(1); return v; } @@ -12018,7 +12018,7 @@ std::optional< double > Ifc2x3::IfcWaterProperties::DissolvedSolidsContent() con void Ifc2x3::IfcWaterProperties::setDissolvedSolidsContent(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc2x3::IfcWaterProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[964]); } +const ifcopenshell::entity& Ifc2x3::IfcWaterProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[964]); } void Ifc2x3::IfcWaterProperties::initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< bool > v2_IsPotable, std::optional< double > v3_Hardness, std::optional< double > v4_AlkalinityConcentration, std::optional< double > v5_AcidityConcentration, std::optional< double > v6_ImpuritiesContent, std::optional< double > v7_PHLevel, std::optional< double > v8_DissolvedSolidsContent) { set_attribute_value(0, (v1_Material)); if (v2_IsPotable) {set_attribute_value(1, (*v2_IsPotable)); } if (v3_Hardness) {set_attribute_value(2, (*v3_Hardness)); } if (v4_AlkalinityConcentration) {set_attribute_value(3, (*v4_AlkalinityConcentration)); } if (v5_AcidityConcentration) {set_attribute_value(4, (*v5_AcidityConcentration)); } if (v6_ImpuritiesContent) {set_attribute_value(5, (*v6_ImpuritiesContent)); } if (v7_PHLevel) {set_attribute_value(6, (*v7_PHLevel)); } if (v8_DissolvedSolidsContent) {set_attribute_value(7, (*v8_DissolvedSolidsContent)); } } // Function implementations for IfcWindow @@ -12028,7 +12028,7 @@ std::optional< double > Ifc2x3::IfcWindow::OverallWidth() const { if(get_attribu void Ifc2x3::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc2x3::IfcWindow::Class() { return *((IfcParse::entity*)IFC2X3_types[965]); } +const ifcopenshell::entity& Ifc2x3::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC2X3_types[965]); } void Ifc2x3::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } } // Function implementations for IfcWindowLiningProperties @@ -12052,14 +12052,14 @@ void Ifc2x3::IfcWindowLiningProperties::setSecondMullionOffset(const std::option void Ifc2x3::IfcWindowLiningProperties::setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc2x3::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[966]); } +const ifcopenshell::entity& Ifc2x3::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[966]); } void Ifc2x3::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc2x3::IfcShapeAspect v13_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); } // Function implementations for IfcWindowPanelProperties ::Ifc2x3::IfcWindowPanelOperationEnum::Value Ifc2x3::IfcWindowPanelProperties::OperationType() const { return ::Ifc2x3::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc2x3::IfcWindowPanelProperties::setOperationType(const ::Ifc2x3::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc2x3::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc2x3::IfcWindowPanelProperties::setOperationType(const ::Ifc2x3::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc2x3::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc2x3::IfcWindowPanelPositionEnum::Value Ifc2x3::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc2x3::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc2x3::IfcWindowPanelProperties::setPanelPosition(const ::Ifc2x3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc2x3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc2x3::IfcWindowPanelProperties::setPanelPosition(const ::Ifc2x3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc2x3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc2x3::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc2x3::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc2x3::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -12068,22 +12068,22 @@ void Ifc2x3::IfcWindowPanelProperties::setFrameThickness(const std::optional< do void Ifc2x3::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc2x3::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC2X3_types[969]); } -void Ifc2x3::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc2x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc2x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc2x3::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc2x3::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)); } +const ifcopenshell::entity& Ifc2x3::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC2X3_types[969]); } +void Ifc2x3::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc2x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc2x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc2x3::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc2x3::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)); } // Function implementations for IfcWindowStyle ::Ifc2x3::IfcWindowStyleConstructionEnum::Value Ifc2x3::IfcWindowStyle::ConstructionType() const { return ::Ifc2x3::IfcWindowStyleConstructionEnum::FromString(get_attribute_value(8)); } -void Ifc2x3::IfcWindowStyle::setConstructionType(const ::Ifc2x3::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc2x3::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc2x3::IfcWindowStyle::setConstructionType(const ::Ifc2x3::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc2x3::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc2x3::IfcWindowStyleOperationEnum::Value Ifc2x3::IfcWindowStyle::OperationType() const { return ::Ifc2x3::IfcWindowStyleOperationEnum::FromString(get_attribute_value(9)); } -void Ifc2x3::IfcWindowStyle::setOperationType(const ::Ifc2x3::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc2x3::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc2x3::IfcWindowStyle::setOperationType(const ::Ifc2x3::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc2x3::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc2x3::IfcWindowStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc2x3::IfcWindowStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc2x3::IfcWindowStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc2x3::IfcWindowStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc2x3::IfcWindowStyle::Class() { return *((IfcParse::entity*)IFC2X3_types[970]); } -void Ifc2x3::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc2x3::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc2x3::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (EnumerationReference(&::Ifc2x3::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc2x3::IfcWindowStyle::Class() { return *((ifcopenshell::entity*)IFC2X3_types[970]); } +void Ifc2x3::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc2x3::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc2x3::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (enumeration_reference(&::Ifc2x3::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcWorkControl std::string Ifc2x3::IfcWorkControl::Identifier() const { std::string v = get_attribute_value(5); return v; } @@ -12103,25 +12103,25 @@ void Ifc2x3::IfcWorkControl::setStartTime(const ::Ifc2x3::IfcDateTimeSelect& v) ::Ifc2x3::IfcDateTimeSelect Ifc2x3::IfcWorkControl::FinishTime() const { if(get_attribute_value(12).isNull()) { return ::Ifc2x3::IfcDateTimeSelect{}; } return ((express::Base)(get_attribute_value(12))).as<::Ifc2x3::IfcDateTimeSelect>(); } void Ifc2x3::IfcWorkControl::setFinishTime(const ::Ifc2x3::IfcDateTimeSelect& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > Ifc2x3::IfcWorkControl::WorkControlType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc2x3::IfcWorkControlTypeEnum::FromString(get_attribute_value(13)); } -void Ifc2x3::IfcWorkControl::setWorkControlType(const std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc2x3::IfcWorkControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc2x3::IfcWorkControl::setWorkControlType(const std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc2x3::IfcWorkControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc2x3::IfcWorkControl::UserDefinedControlType() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc2x3::IfcWorkControl::setUserDefinedControlType(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc2x3::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC2X3_types[973]); } -void Ifc2x3::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_Identifier, ::Ifc2x3::IfcDateTimeSelect v7_CreationDate, std::optional< std::vector< ::Ifc2x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< double > v10_Duration, std::optional< double > v11_TotalFloat, ::Ifc2x3::IfcDateTimeSelect v12_StartTime, ::Ifc2x3::IfcDateTimeSelect v13_FinishTime, std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > v14_WorkControlType, std::optional< std::string > v15_UserDefinedControlType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_Identifier));set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, cast_vector(*v8_Creators)); } 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));set_attribute_value(12, (v13_FinishTime)); if (v14_WorkControlType) {set_attribute_value(13, (EnumerationReference(&::Ifc2x3::IfcWorkControlTypeEnum::Class(),(size_t)*v14_WorkControlType))); } if (v15_UserDefinedControlType) {set_attribute_value(14, (*v15_UserDefinedControlType)); } } +const ifcopenshell::entity& Ifc2x3::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC2X3_types[973]); } +void Ifc2x3::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_Identifier, ::Ifc2x3::IfcDateTimeSelect v7_CreationDate, std::optional< std::vector< ::Ifc2x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< double > v10_Duration, std::optional< double > v11_TotalFloat, ::Ifc2x3::IfcDateTimeSelect v12_StartTime, ::Ifc2x3::IfcDateTimeSelect v13_FinishTime, std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > v14_WorkControlType, std::optional< std::string > v15_UserDefinedControlType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_Identifier));set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, cast_vector(*v8_Creators)); } 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));set_attribute_value(12, (v13_FinishTime)); if (v14_WorkControlType) {set_attribute_value(13, (enumeration_reference(&::Ifc2x3::IfcWorkControlTypeEnum::Class(),(size_t)*v14_WorkControlType))); } if (v15_UserDefinedControlType) {set_attribute_value(14, (*v15_UserDefinedControlType)); } } // Function implementations for IfcWorkPlan -const IfcParse::entity& Ifc2x3::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC2X3_types[975]); } -void Ifc2x3::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_Identifier, ::Ifc2x3::IfcDateTimeSelect v7_CreationDate, std::optional< std::vector< ::Ifc2x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< double > v10_Duration, std::optional< double > v11_TotalFloat, ::Ifc2x3::IfcDateTimeSelect v12_StartTime, ::Ifc2x3::IfcDateTimeSelect v13_FinishTime, std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > v14_WorkControlType, std::optional< std::string > v15_UserDefinedControlType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_Identifier));set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, cast_vector(*v8_Creators)); } 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));set_attribute_value(12, (v13_FinishTime)); if (v14_WorkControlType) {set_attribute_value(13, (EnumerationReference(&::Ifc2x3::IfcWorkControlTypeEnum::Class(),(size_t)*v14_WorkControlType))); } if (v15_UserDefinedControlType) {set_attribute_value(14, (*v15_UserDefinedControlType)); } } +const ifcopenshell::entity& Ifc2x3::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC2X3_types[975]); } +void Ifc2x3::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_Identifier, ::Ifc2x3::IfcDateTimeSelect v7_CreationDate, std::optional< std::vector< ::Ifc2x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< double > v10_Duration, std::optional< double > v11_TotalFloat, ::Ifc2x3::IfcDateTimeSelect v12_StartTime, ::Ifc2x3::IfcDateTimeSelect v13_FinishTime, std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > v14_WorkControlType, std::optional< std::string > v15_UserDefinedControlType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_Identifier));set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, cast_vector(*v8_Creators)); } 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));set_attribute_value(12, (v13_FinishTime)); if (v14_WorkControlType) {set_attribute_value(13, (enumeration_reference(&::Ifc2x3::IfcWorkControlTypeEnum::Class(),(size_t)*v14_WorkControlType))); } if (v15_UserDefinedControlType) {set_attribute_value(14, (*v15_UserDefinedControlType)); } } // Function implementations for IfcWorkSchedule -const IfcParse::entity& Ifc2x3::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC2X3_types[976]); } -void Ifc2x3::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_Identifier, ::Ifc2x3::IfcDateTimeSelect v7_CreationDate, std::optional< std::vector< ::Ifc2x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< double > v10_Duration, std::optional< double > v11_TotalFloat, ::Ifc2x3::IfcDateTimeSelect v12_StartTime, ::Ifc2x3::IfcDateTimeSelect v13_FinishTime, std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > v14_WorkControlType, std::optional< std::string > v15_UserDefinedControlType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_Identifier));set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, cast_vector(*v8_Creators)); } 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));set_attribute_value(12, (v13_FinishTime)); if (v14_WorkControlType) {set_attribute_value(13, (EnumerationReference(&::Ifc2x3::IfcWorkControlTypeEnum::Class(),(size_t)*v14_WorkControlType))); } if (v15_UserDefinedControlType) {set_attribute_value(14, (*v15_UserDefinedControlType)); } } +const ifcopenshell::entity& Ifc2x3::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC2X3_types[976]); } +void Ifc2x3::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_Identifier, ::Ifc2x3::IfcDateTimeSelect v7_CreationDate, std::optional< std::vector< ::Ifc2x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< double > v10_Duration, std::optional< double > v11_TotalFloat, ::Ifc2x3::IfcDateTimeSelect v12_StartTime, ::Ifc2x3::IfcDateTimeSelect v13_FinishTime, std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > v14_WorkControlType, std::optional< std::string > v15_UserDefinedControlType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_Identifier));set_attribute_value(6, (v7_CreationDate)); if (v8_Creators) {set_attribute_value(7, cast_vector(*v8_Creators)); } 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));set_attribute_value(12, (v13_FinishTime)); if (v14_WorkControlType) {set_attribute_value(13, (enumeration_reference(&::Ifc2x3::IfcWorkControlTypeEnum::Class(),(size_t)*v14_WorkControlType))); } if (v15_UserDefinedControlType) {set_attribute_value(14, (*v15_UserDefinedControlType)); } } // Function implementations for IfcZShapeProfileDef double Ifc2x3::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -12138,12 +12138,12 @@ std::optional< double > Ifc2x3::IfcZShapeProfileDef::EdgeRadius() const { if(get void Ifc2x3::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc2x3::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC2X3_types[979]); } -void Ifc2x3::IfcZShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc2x3::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC2X3_types[979]); } +void Ifc2x3::IfcZShapeProfileDef::initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc2x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone -const IfcParse::entity& Ifc2x3::IfcZone::Class() { return *((IfcParse::entity*)IFC2X3_types[978]); } +const ifcopenshell::entity& Ifc2x3::IfcZone::Class() { return *((ifcopenshell::entity*)IFC2X3_types[978]); } void Ifc2x3::IfcZone::initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } diff --git a/src/ifcparse/schemas/Ifc2x3.h b/src/ifcparse/schemas/Ifc2x3.h index 93529d27cc..ddc6a29556 100644 --- a/src/ifcparse/schemas/Ifc2x3.h +++ b/src/ifcparse/schemas/Ifc2x3.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc2x3 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRatioMeasure as() const { return express::Base::as(); } @@ -139,7 +139,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -174,7 +174,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSolidModel as() const { return express::Base::as(); } @@ -213,7 +213,7 @@ public: IfcCharacterStyleSelect() {} explicit IfcCharacterStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcTextStyleForDefinedFont as() const { return express::Base::as(); } @@ -227,7 +227,7 @@ public: IfcClassificationNotationSelect() {} explicit IfcClassificationNotationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassificationNotation as() const { return express::Base::as(); } @@ -251,7 +251,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -273,7 +273,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -293,7 +293,7 @@ public: IfcConditionCriterionSelect() {} explicit IfcConditionCriterionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLabel as() const { return express::Base::as(); } @@ -318,7 +318,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -342,7 +342,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontSelect as() const { return express::Base::as(); } @@ -381,7 +381,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -405,7 +405,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPreDefinedCurveFont as() const { return express::Base::as(); } @@ -425,7 +425,7 @@ public: IfcDateTimeSelect() {} explicit IfcDateTimeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCalendarDate as() const { return express::Base::as(); } @@ -455,7 +455,7 @@ public: IfcDefinedSymbolSelect() {} explicit IfcDefinedSymbolSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPreDefinedSymbol as() const { return express::Base::as(); } @@ -548,7 +548,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcVolumetricFlowRateMeasure as() const { return express::Base::as(); } @@ -971,7 +971,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentReference as() const { return express::Base::as(); } @@ -991,7 +991,7 @@ public: IfcDraughtingCalloutElement() {} explicit IfcDraughtingCalloutElement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAnnotationCurveOccurrence as() const { return express::Base::as(); } @@ -1023,7 +1023,7 @@ public: IfcFillAreaStyleTileShapeSelect() {} explicit IfcFillAreaStyleTileShapeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFillAreaStyleTileSymbolWithStyle as() const { return express::Base::as(); } @@ -1042,7 +1042,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFillAreaStyleHatching as() const { return express::Base::as(); } @@ -1090,7 +1090,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -1118,7 +1118,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOneDirectionRepeatFactor as() const { return express::Base::as(); } @@ -1144,7 +1144,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentationItem as() const { return express::Base::as(); } @@ -1173,7 +1173,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryReference as() const { return express::Base::as(); } @@ -1214,7 +1214,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -1259,7 +1259,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterial as() const { return express::Base::as(); } @@ -1305,7 +1305,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcVolumeMeasure as() const { return express::Base::as(); } @@ -1456,7 +1456,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDateTimeSelect as() const { return express::Base::as(); } @@ -1520,7 +1520,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterial as() const { return express::Base::as(); } @@ -1606,7 +1606,7 @@ public: IfcOrientationSelect() {} explicit IfcOrientationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPlaneAngleMeasure as() const { return express::Base::as(); } @@ -1632,7 +1632,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -1659,7 +1659,7 @@ public: IfcPresentationStyleSelect() {} explicit IfcPresentationStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcNullStyle as() const { return express::Base::as(); } @@ -1713,7 +1713,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -1751,7 +1751,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcInteger as() const { return express::Base::as(); } @@ -1812,7 +1812,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRatioMeasure as() const { return express::Base::as(); } @@ -1865,7 +1865,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -1893,7 +1893,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcStructuralItem as() const { return express::Base::as(); } @@ -1921,7 +1921,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSurface as() const { return express::Base::as(); } @@ -1955,7 +1955,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSurfaceStyleShading as() const { return express::Base::as(); } @@ -1999,7 +1999,7 @@ public: IfcSymbolStyleSelect() {} explicit IfcSymbolStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -2031,7 +2031,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPreDefinedTextFont as() const { return express::Base::as(); } @@ -2059,7 +2059,7 @@ public: IfcTextStyleSelect() {} explicit IfcTextStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcTextStyleWithBoxCharacteristics as() const { return express::Base::as(); } @@ -2083,7 +2083,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -2115,7 +2115,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -2150,7 +2150,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureValue as() const { return express::Base::as(); } @@ -2765,7 +2765,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -2787,13 +2787,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_SNOW_S, IfcActionSourceType_WIND_W, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_FIRE, IfcActionSourceType_IMPULSE, IfcActionSourceType_IMPACT, IfcActionSourceType_TRANSPORT, IfcActionSourceType_ERECTION, IfcActionSourceType_PROPPING, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_CREEP, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_BUOYANCY, IfcActionSourceType_ICE, IfcActionSourceType_CURRENT, IfcActionSourceType_WAVE, IfcActionSourceType_RAIN, IfcActionSourceType_BRAKES, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -2808,13 +2808,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_EXTRAORDINARY_A, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -2838,13 +2838,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -2863,13 +2863,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_HOME, IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -2878,13 +2878,13 @@ public: class IFC_PARSE_API IfcAheadOrBehind : public express::DeclaredType { public: IfcAheadOrBehind() {} - explicit IfcAheadOrBehind (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAheadOrBehind (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAheadOrBehind_AHEAD, IfcAheadOrBehind_BEHIND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -2903,13 +2903,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -2930,13 +2930,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_GRILLE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_EYEBALL, IfcAirTerminalType_IRIS, IfcAirTerminalType_LINEARGRILLE, IfcAirTerminalType_LINEARDIFFUSER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -2960,13 +2960,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -2988,13 +2988,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3008,13 +3008,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3029,13 +3029,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3055,13 +3055,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3081,13 +3081,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_SITE, IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3109,13 +3109,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3162,13 +3162,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_JOIST, IfcBeamType_LINTEL, IfcBeamType_T_BEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3216,13 +3216,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_EQUALTO, IfcBenchmark_NOTEQUALTO} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3239,13 +3239,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_WATER, IfcBoilerType_STEAM, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3262,13 +3262,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_UNION, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_DIFFERENCE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3287,13 +3287,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3311,13 +3311,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3335,13 +3335,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3361,13 +3361,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3386,13 +3386,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_NOCHANGE, IfcChangeAction_MODIFIED, IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_MODIFIEDADDED, IfcChangeAction_MODIFIEDDELETED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3410,13 +3410,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_WATERCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3446,13 +3446,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3474,13 +3474,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3510,13 +3510,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_DYNAMIC, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROTARY, IfcCompressorType_SCROLL, IfcCompressorType_TROCHOIDAL, IfcCompressorType_SINGLESTAGE, IfcCompressorType_BOOSTER, IfcCompressorType_OPENTYPE, IfcCompressorType_HERMETIC, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARYVANE, IfcCompressorType_SINGLESCREW, IfcCompressorType_TWINSCREW, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3537,13 +3537,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3571,13 +3571,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_ATEND, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3602,13 +3602,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_ADVISORY, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3630,13 +3630,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_PROPORTIONAL, IfcControllerType_PROPORTIONALINTEGRAL, IfcControllerType_PROPORTIONALINTEGRALDERIVATIVE, IfcControllerType_TIMEDTWOPOSITION, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3663,13 +3663,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3689,13 +3689,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3716,13 +3716,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_TENDER, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3773,13 +3773,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_FLOORING, IfcCoveringType_CLADDING, IfcCoveringType_ROOFING, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_SLEEVING, IfcCoveringType_WRAPPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3788,13 +3788,13 @@ public: class IFC_PARSE_API IfcCurrencyEnum : public express::DeclaredType { public: IfcCurrencyEnum() {} - explicit IfcCurrencyEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurrencyEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurrency_AED, IfcCurrency_AES, IfcCurrency_ATS, IfcCurrency_AUD, IfcCurrency_BBD, IfcCurrency_BEG, IfcCurrency_BGL, IfcCurrency_BHD, IfcCurrency_BMD, IfcCurrency_BND, IfcCurrency_BRL, IfcCurrency_BSD, IfcCurrency_BWP, IfcCurrency_BZD, IfcCurrency_CAD, IfcCurrency_CBD, IfcCurrency_CHF, IfcCurrency_CLP, IfcCurrency_CNY, IfcCurrency_CYS, IfcCurrency_CZK, IfcCurrency_DDP, IfcCurrency_DEM, IfcCurrency_DKK, IfcCurrency_EGL, IfcCurrency_EST, IfcCurrency_EUR, IfcCurrency_FAK, IfcCurrency_FIM, IfcCurrency_FJD, IfcCurrency_FKP, IfcCurrency_FRF, IfcCurrency_GBP, IfcCurrency_GIP, IfcCurrency_GMD, IfcCurrency_GRX, IfcCurrency_HKD, IfcCurrency_HUF, IfcCurrency_ICK, IfcCurrency_IDR, IfcCurrency_ILS, IfcCurrency_INR, IfcCurrency_IRP, IfcCurrency_ITL, IfcCurrency_JMD, IfcCurrency_JOD, IfcCurrency_JPY, IfcCurrency_KES, IfcCurrency_KRW, IfcCurrency_KWD, IfcCurrency_KYD, IfcCurrency_LKR, IfcCurrency_LUF, IfcCurrency_MTL, IfcCurrency_MUR, IfcCurrency_MXN, IfcCurrency_MYR, IfcCurrency_NLG, IfcCurrency_NZD, IfcCurrency_OMR, IfcCurrency_PGK, IfcCurrency_PHP, IfcCurrency_PKR, IfcCurrency_PLN, IfcCurrency_PTN, IfcCurrency_QAR, IfcCurrency_RUR, IfcCurrency_SAR, IfcCurrency_SCR, IfcCurrency_SEK, IfcCurrency_SGD, IfcCurrency_SKP, IfcCurrency_THB, IfcCurrency_TRL, IfcCurrency_TTD, IfcCurrency_TWD, IfcCurrency_USD, IfcCurrency_VEB, IfcCurrency_VND, IfcCurrency_XEU, IfcCurrency_ZAR, IfcCurrency_ZWD, IfcCurrency_NOK} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3811,13 +3811,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3842,13 +3842,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3864,13 +3864,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3935,13 +3935,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3950,13 +3950,13 @@ public: class IFC_PARSE_API IfcDimensionExtentUsage : public express::DeclaredType { public: IfcDimensionExtentUsage() {} - explicit IfcDimensionExtentUsage (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionExtentUsage (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDimensionExtentUsage_ORIGIN, IfcDimensionExtentUsage_TARGET} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -3972,13 +3972,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_POSITIVE, IfcDirectionSense_NEGATIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4002,13 +4002,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4028,13 +4028,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4045,13 +4045,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4092,13 +4092,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4113,13 +4113,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4134,13 +4134,13 @@ public: class IFC_PARSE_API IfcDoorStyleConstructionEnum : public express::DeclaredType { public: IfcDoorStyleConstructionEnum() {} - explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleConstruction_ALUMINIUM, IfcDoorStyleConstruction_HIGH_GRADE_STEEL, IfcDoorStyleConstruction_STEEL, IfcDoorStyleConstruction_WOOD, IfcDoorStyleConstruction_ALUMINIUM_WOOD, IfcDoorStyleConstruction_ALUMINIUM_PLASTIC, IfcDoorStyleConstruction_PLASTIC, IfcDoorStyleConstruction_USERDEFINED, IfcDoorStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4317,13 +4317,13 @@ public: class IFC_PARSE_API IfcDoorStyleOperationEnum : public express::DeclaredType { public: IfcDoorStyleOperationEnum() {} - explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleOperation_SINGLE_SWING_LEFT, IfcDoorStyleOperation_SINGLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorStyleOperation_DOUBLE_SWING_LEFT, IfcDoorStyleOperation_DOUBLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorStyleOperation_SLIDING_TO_LEFT, IfcDoorStyleOperation_SLIDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING, IfcDoorStyleOperation_FOLDING_TO_LEFT, IfcDoorStyleOperation_FOLDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING, IfcDoorStyleOperation_REVOLVING, IfcDoorStyleOperation_ROLLINGUP, IfcDoorStyleOperation_USERDEFINED, IfcDoorStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4364,13 +4364,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4393,13 +4393,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4417,13 +4417,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4460,13 +4460,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_COMPUTER, IfcElectricApplianceType_DIRECTWATERHEATER, IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_ELECTRICHEATER, IfcElectricApplianceType_FACSIMILE, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_INDIRECTWATERHEATER, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_PRINTER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_RADIANTHEATER, IfcElectricApplianceType_SCANNER, IfcElectricApplianceType_TELEPHONE, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_TV, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_WATERHEATER, IfcElectricApplianceType_WATERCOOLER, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4475,13 +4475,13 @@ public: class IFC_PARSE_API IfcElectricCurrentEnum : public express::DeclaredType { public: IfcElectricCurrentEnum() {} - explicit IfcElectricCurrentEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricCurrent_ALTERNATING, IfcElectricCurrent_DIRECT, IfcElectricCurrent_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4490,13 +4490,13 @@ public: class IFC_PARSE_API IfcElectricDistributionPointFunctionEnum : public express::DeclaredType { public: IfcElectricDistributionPointFunctionEnum() {} - explicit IfcElectricDistributionPointFunctionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionPointFunctionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionPointFunction_ALARMPANEL, IfcElectricDistributionPointFunction_CONSUMERUNIT, IfcElectricDistributionPointFunction_CONTROLPANEL, IfcElectricDistributionPointFunction_DISTRIBUTIONBOARD, IfcElectricDistributionPointFunction_GASDETECTORPANEL, IfcElectricDistributionPointFunction_INDICATORPANEL, IfcElectricDistributionPointFunction_MIMICPANEL, IfcElectricDistributionPointFunction_MOTORCONTROLCENTRE, IfcElectricDistributionPointFunction_SWITCHBOARD, IfcElectricDistributionPointFunction_USERDEFINED, IfcElectricDistributionPointFunction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4514,13 +4514,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4538,13 +4538,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4553,13 +4553,13 @@ public: class IFC_PARSE_API IfcElectricHeaterTypeEnum : public express::DeclaredType { public: IfcElectricHeaterTypeEnum() {} - explicit IfcElectricHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricHeaterType_ELECTRICPOINTHEATER, IfcElectricHeaterType_ELECTRICCABLEHEATER, IfcElectricHeaterType_ELECTRICMATHEATER, IfcElectricHeaterType_USERDEFINED, IfcElectricHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4578,13 +4578,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4601,13 +4601,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4634,13 +4634,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4660,13 +4660,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4675,13 +4675,13 @@ public: class IFC_PARSE_API IfcEnergySequenceEnum : public express::DeclaredType { public: IfcEnergySequenceEnum() {} - explicit IfcEnergySequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergySequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEnergySequence_PRIMARY, IfcEnergySequence_SECONDARY, IfcEnergySequence_TERTIARY, IfcEnergySequence_AUXILIARY, IfcEnergySequence_USERDEFINED, IfcEnergySequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4690,13 +4690,13 @@ public: class IFC_PARSE_API IfcEnvironmentalImpactCategoryEnum : public express::DeclaredType { public: IfcEnvironmentalImpactCategoryEnum() {} - explicit IfcEnvironmentalImpactCategoryEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnvironmentalImpactCategoryEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEnvironmentalImpactCategory_COMBINEDVALUE, IfcEnvironmentalImpactCategory_DISPOSAL, IfcEnvironmentalImpactCategory_EXTRACTION, IfcEnvironmentalImpactCategory_INSTALLATION, IfcEnvironmentalImpactCategory_MANUFACTURE, IfcEnvironmentalImpactCategory_TRANSPORTATION, IfcEnvironmentalImpactCategory_USERDEFINED, IfcEnvironmentalImpactCategory_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4720,13 +4720,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4747,13 +4747,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4775,13 +4775,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4802,13 +4802,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4829,13 +4829,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4851,13 +4851,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SOURCE, IfcFlowDirection_SINK, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4881,13 +4881,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4910,13 +4910,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ELECTRICMETER, IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_FLOWMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4938,13 +4938,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4953,13 +4953,13 @@ public: class IFC_PARSE_API IfcGasTerminalTypeEnum : public express::DeclaredType { public: IfcGasTerminalTypeEnum() {} - explicit IfcGasTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGasTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGasTerminalType_GASAPPLIANCE, IfcGasTerminalType_GASBOOSTER, IfcGasTerminalType_GASBURNER, IfcGasTerminalType_USERDEFINED, IfcGasTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5008,13 +5008,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5028,13 +5028,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5051,13 +5051,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5085,13 +5085,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5154,13 +5154,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5177,13 +5177,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5198,13 +5198,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5229,13 +5229,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_METALHALIDE, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5252,13 +5252,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5280,13 +5280,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5311,13 +5311,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5336,13 +5336,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5371,13 +5371,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION_GROUP, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5629,13 +5629,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5686,13 +5686,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STRINGER, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5709,13 +5709,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5731,13 +5731,13 @@ public: class IFC_PARSE_API IfcNullStyle : public express::DeclaredType { public: IfcNullStyle() {} - explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNullStyle_NULL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5748,13 +5748,13 @@ public: class IFC_PARSE_API IfcObjectTypeEnum : public express::DeclaredType { public: IfcObjectTypeEnum() {} - explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjectType_PRODUCT, IfcObjectType_PROCESS, IfcObjectType_CONTROL, IfcObjectType_RESOURCE, IfcObjectType_ACTOR, IfcObjectType_GROUP, IfcObjectType_PROJECT, IfcObjectType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5791,13 +5791,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_DESIGNINTENT, IfcObjective_HEALTHANDSAFETY, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5818,13 +5818,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5845,13 +5845,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5881,13 +5881,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5918,13 +5918,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5954,13 +5954,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5981,13 +5981,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_COHESION, IfcPileType_FRICTION, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6026,13 +6026,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6055,13 +6055,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6087,13 +6087,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_CURTAIN_PANEL, IfcPlateType_SHEET, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6115,13 +6115,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6137,13 +6137,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_CURVE, IfcProfileType_AREA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6152,13 +6152,13 @@ public: class IFC_PARSE_API IfcProjectOrderRecordTypeEnum : public express::DeclaredType { public: IfcProjectOrderRecordTypeEnum() {} - explicit IfcProjectOrderRecordTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderRecordTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderRecordType_CHANGE, IfcProjectOrderRecordType_MAINTENANCE, IfcProjectOrderRecordType_MOVE, IfcProjectOrderRecordType_PURCHASE, IfcProjectOrderRecordType_WORK, IfcProjectOrderRecordType_USERDEFINED, IfcProjectOrderRecordType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6177,13 +6177,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6197,13 +6197,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6212,13 +6212,13 @@ public: class IFC_PARSE_API IfcPropertySourceEnum : public express::DeclaredType { public: IfcPropertySourceEnum() {} - explicit IfcPropertySourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySource_DESIGN, IfcPropertySource_DESIGNMAXIMUM, IfcPropertySource_DESIGNMINIMUM, IfcPropertySource_SIMULATED, IfcPropertySource_ASBUILT, IfcPropertySource_COMMISSIONING, IfcPropertySource_MEASURED, IfcPropertySource_USERDEFINED, IfcPropertySource_NOTKNOWN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6241,13 +6241,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHFAILUREDEVICE, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6283,13 +6283,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6317,13 +6317,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_HANDRAIL, IfcRailingType_GUARDRAIL, IfcRailingType_BALUSTRADE, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6342,13 +6342,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_STRAIGHT, IfcRampFlightType_SPIRAL, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6404,13 +6404,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_HALF_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6434,13 +6434,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6467,13 +6467,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6490,13 +6490,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6516,13 +6516,13 @@ public: class IFC_PARSE_API IfcResourceConsumptionEnum : public express::DeclaredType { public: IfcResourceConsumptionEnum() {} - explicit IfcResourceConsumptionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcResourceConsumptionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcResourceConsumption_CONSUMED, IfcResourceConsumption_PARTIALLYCONSUMED, IfcResourceConsumption_NOTCONSUMED, IfcResourceConsumption_OCCUPIED, IfcResourceConsumption_PARTIALLYOCCUPIED, IfcResourceConsumption_NOTOCCUPIED, IfcResourceConsumption_USERDEFINED, IfcResourceConsumption_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6531,13 +6531,13 @@ public: class IFC_PARSE_API IfcRibPlateDirectionEnum : public express::DeclaredType { public: IfcRibPlateDirectionEnum() {} - explicit IfcRibPlateDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRibPlateDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRibPlateDirection_DIRECTION_X, IfcRibPlateDirection_DIRECTION_Y} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6574,13 +6574,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_SUPPLIER, IfcRole_MANUFACTURER, IfcRole_CONTRACTOR, IfcRole_SUBCONTRACTOR, IfcRole_ARCHITECT, IfcRole_STRUCTURALENGINEER, IfcRole_COSTENGINEER, IfcRole_CLIENT, IfcRole_BUILDINGOWNER, IfcRole_BUILDINGOPERATOR, IfcRole_MECHANICALENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_PROJECTMANAGER, IfcRole_FACILITIESMANAGER, IfcRole_CIVILENGINEER, IfcRole_COMISSIONINGENGINEER, IfcRole_ENGINEER, IfcRole_OWNER, IfcRole_CONSULTANT, IfcRole_CONSTRUCTIONMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_RESELLER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6654,13 +6654,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_FLAT_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_BARREL_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FREEFORM, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6695,13 +6695,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_EXA, IfcSIPrefix_PETA, IfcSIPrefix_TERA, IfcSIPrefix_GIGA, IfcSIPrefix_MEGA, IfcSIPrefix_KILO, IfcSIPrefix_HECTO, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_CENTI, IfcSIPrefix_MILLI, IfcSIPrefix_MICRO, IfcSIPrefix_NANO, IfcSIPrefix_PICO, IfcSIPrefix_FEMTO, IfcSIPrefix_ATTO} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6748,13 +6748,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6781,13 +6781,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6805,13 +6805,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_UNIFORM, IfcSectionType_TAPERED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6847,13 +6847,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_CO2SENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6866,13 +6866,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_START_START, IfcSequence_START_FINISH, IfcSequence_FINISH_START, IfcSequence_FINISH_FINISH, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6881,13 +6881,13 @@ public: class IFC_PARSE_API IfcServiceLifeFactorTypeEnum : public express::DeclaredType { public: IfcServiceLifeFactorTypeEnum() {} - explicit IfcServiceLifeFactorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcServiceLifeFactorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcServiceLifeFactorType_A_QUALITYOFCOMPONENTS, IfcServiceLifeFactorType_B_DESIGNLEVEL, IfcServiceLifeFactorType_C_WORKEXECUTIONLEVEL, IfcServiceLifeFactorType_D_INDOORENVIRONMENT, IfcServiceLifeFactorType_E_OUTDOORENVIRONMENT, IfcServiceLifeFactorType_F_INUSECONDITIONS, IfcServiceLifeFactorType_G_MAINTENANCELEVEL, IfcServiceLifeFactorType_USERDEFINED, IfcServiceLifeFactorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6896,13 +6896,13 @@ public: class IFC_PARSE_API IfcServiceLifeTypeEnum : public express::DeclaredType { public: IfcServiceLifeTypeEnum() {} - explicit IfcServiceLifeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcServiceLifeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcServiceLifeType_ACTUALSERVICELIFE, IfcServiceLifeType_EXPECTEDSERVICELIFE, IfcServiceLifeType_OPTIMISTICREFERENCESERVICELIFE, IfcServiceLifeType_PESSIMISTICREFERENCESERVICELIFE, IfcServiceLifeType_REFERENCESERVICELIFE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6942,13 +6942,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_FLOOR, IfcSlabType_ROOF, IfcSlabType_LANDING, IfcSlabType_BASESLAB, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6957,13 +6957,13 @@ public: class IFC_PARSE_API IfcSoundScaleEnum : public express::DeclaredType { public: IfcSoundScaleEnum() {} - explicit IfcSoundScaleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundScaleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSoundScale_DBA, IfcSoundScale_DBB, IfcSoundScale_DBC, IfcSoundScale_NC, IfcSoundScale_NR, IfcSoundScale_USERDEFINED, IfcSoundScale_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6983,13 +6983,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_SECTIONALRADIATOR, IfcSpaceHeaterType_PANELRADIATOR, IfcSpaceHeaterType_TUBULARRADIATOR, IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_BASEBOARDHEATER, IfcSpaceHeaterType_FINNEDTUBEUNIT, IfcSpaceHeaterType_UNITHEATER, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7032,13 +7032,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7055,13 +7055,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7084,13 +7084,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_SPIRAL, IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7191,13 +7191,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_CURVED_RUN_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7218,13 +7218,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_READWRITE, IfcState_READONLY, IfcState_LOCKED, IfcState_READWRITELOCKED, IfcState_READONLYLOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7233,13 +7233,13 @@ public: class IFC_PARSE_API IfcStructuralCurveTypeEnum : public express::DeclaredType { public: IfcStructuralCurveTypeEnum() {} - explicit IfcStructuralCurveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveType_RIGID_JOINED_MEMBER, IfcStructuralCurveType_PIN_JOINED_MEMBER, IfcStructuralCurveType_CABLE, IfcStructuralCurveType_TENSION_MEMBER, IfcStructuralCurveType_COMPRESSION_MEMBER, IfcStructuralCurveType_USERDEFINED, IfcStructuralCurveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7248,13 +7248,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceTypeEnum() {} - explicit IfcStructuralSurfaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceType_BENDING_ELEMENT, IfcStructuralSurfaceType_MEMBRANE_ELEMENT, IfcStructuralSurfaceType_SHELL, IfcStructuralSurfaceType_USERDEFINED, IfcStructuralSurfaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7273,13 +7273,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_POSITIVE, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_BOTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7288,13 +7288,13 @@ public: class IFC_PARSE_API IfcSurfaceTextureEnum : public express::DeclaredType { public: IfcSurfaceTextureEnum() {} - explicit IfcSurfaceTextureEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceTextureEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceTexture_BUMP, IfcSurfaceTexture_OPACITY, IfcSurfaceTexture_REFLECTION, IfcSurfaceTexture_SELFILLUMINATION, IfcSurfaceTexture_SHININESS, IfcSurfaceTexture_SPECULAR, IfcSurfaceTexture_TEXTURE, IfcSurfaceTexture_TRANSPARENCYMAP, IfcSurfaceTexture_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7318,13 +7318,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7355,13 +7355,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_PREFORMED, IfcTankType_SECTIONAL, IfcTankType_EXPANSION, IfcTankType_PRESSUREVESSEL, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7370,13 +7370,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7391,13 +7391,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP, IfcTextPath_DOWN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7406,13 +7406,13 @@ public: class IFC_PARSE_API IfcThermalLoadSourceEnum : public express::DeclaredType { public: IfcThermalLoadSourceEnum() {} - explicit IfcThermalLoadSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalLoadSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcThermalLoadSource_PEOPLE, IfcThermalLoadSource_LIGHTING, IfcThermalLoadSource_EQUIPMENT, IfcThermalLoadSource_VENTILATIONINDOORAIR, IfcThermalLoadSource_VENTILATIONOUTSIDEAIR, IfcThermalLoadSource_RECIRCULATEDAIR, IfcThermalLoadSource_EXHAUSTAIR, IfcThermalLoadSource_AIREXCHANGERATE, IfcThermalLoadSource_DRYBULBTEMPERATURE, IfcThermalLoadSource_RELATIVEHUMIDITY, IfcThermalLoadSource_INFILTRATION, IfcThermalLoadSource_USERDEFINED, IfcThermalLoadSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7421,13 +7421,13 @@ public: class IFC_PARSE_API IfcThermalLoadTypeEnum : public express::DeclaredType { public: IfcThermalLoadTypeEnum() {} - explicit IfcThermalLoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalLoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcThermalLoadType_SENSIBLE, IfcThermalLoadType_LATENT, IfcThermalLoadType_RADIANT, IfcThermalLoadType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7446,13 +7446,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7461,13 +7461,13 @@ public: class IFC_PARSE_API IfcTimeSeriesScheduleTypeEnum : public express::DeclaredType { public: IfcTimeSeriesScheduleTypeEnum() {} - explicit IfcTimeSeriesScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesScheduleType_ANNUAL, IfcTimeSeriesScheduleType_MONTHLY, IfcTimeSeriesScheduleType_WEEKLY, IfcTimeSeriesScheduleType_DAILY, IfcTimeSeriesScheduleType_USERDEFINED, IfcTimeSeriesScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7486,13 +7486,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_VOLTAGE, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7516,13 +7516,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_DISCONTINUOUS, IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7554,13 +7554,13 @@ public: class IFC_PARSE_API IfcTransportElementTypeEnum : public express::DeclaredType { public: IfcTransportElementTypeEnum() {} - explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementType_ELEVATOR, IfcTransportElementType_ESCALATOR, IfcTransportElementType_MOVINGWALKWAY, IfcTransportElementType_USERDEFINED, IfcTransportElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7579,13 +7579,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7601,13 +7601,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7651,13 +7651,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7677,13 +7677,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7734,13 +7734,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DRAWOFFCOCK, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7757,13 +7757,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7808,13 +7808,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_STANDARD, IfcWallType_POLYGONAL, IfcWallType_SHEAR, IfcWallType_ELEMENTEDWALL, IfcWallType_PLUMBINGWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7836,13 +7836,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_GREASEINTERCEPTOR, IfcWasteTerminalType_OILINTERCEPTOR, IfcWasteTerminalType_PETROLINTERCEPTOR, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7934,13 +7934,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8012,13 +8012,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8033,13 +8033,13 @@ public: class IFC_PARSE_API IfcWindowStyleConstructionEnum : public express::DeclaredType { public: IfcWindowStyleConstructionEnum() {} - explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleConstruction_ALUMINIUM, IfcWindowStyleConstruction_HIGH_GRADE_STEEL, IfcWindowStyleConstruction_STEEL, IfcWindowStyleConstruction_WOOD, IfcWindowStyleConstruction_ALUMINIUM_WOOD, IfcWindowStyleConstruction_PLASTIC, IfcWindowStyleConstruction_OTHER_CONSTRUCTION, IfcWindowStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8121,13 +8121,13 @@ public: class IFC_PARSE_API IfcWindowStyleOperationEnum : public express::DeclaredType { public: IfcWindowStyleOperationEnum() {} - explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleOperation_SINGLE_PANEL, IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL, IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL, IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM, IfcWindowStyleOperation_TRIPLE_PANEL_TOP, IfcWindowStyleOperation_TRIPLE_PANEL_LEFT, IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT, IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_USERDEFINED, IfcWindowStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8136,13 +8136,13 @@ public: class IFC_PARSE_API IfcWorkControlTypeEnum : public express::DeclaredType { public: IfcWorkControlTypeEnum() {} - explicit IfcWorkControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkControlType_ACTUAL, IfcWorkControlType_BASELINE, IfcWorkControlType_PLANNED, IfcWorkControlType_USERDEFINED, IfcWorkControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8155,9 +8155,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8169,9 +8169,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8186,9 +8186,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8200,9 +8200,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8216,9 +8216,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8230,9 +8230,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -8250,9 +8250,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -8307,9 +8307,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -8322,9 +8322,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8337,9 +8337,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8353,9 +8353,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8374,9 +8374,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -8384,9 +8384,9 @@ public: class IFC_PARSE_API IfcDaylightSavingHour : public express::DeclaredType { public: IfcDaylightSavingHour() {} - explicit IfcDaylightSavingHour (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDaylightSavingHour (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -8399,9 +8399,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -8415,9 +8415,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -8429,9 +8429,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8444,9 +8444,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8458,9 +8458,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8472,9 +8472,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8486,9 +8486,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8502,9 +8502,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8516,9 +8516,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8530,9 +8530,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8544,9 +8544,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8567,9 +8567,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -8588,9 +8588,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -8620,9 +8620,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -8634,9 +8634,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8648,9 +8648,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8670,9 +8670,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -8684,9 +8684,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8696,9 +8696,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8706,9 +8706,9 @@ public: class IFC_PARSE_API IfcHourInDay : public express::DeclaredType { public: IfcHourInDay() {} - explicit IfcHourInDay (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHourInDay (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -8729,9 +8729,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -8743,9 +8743,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8757,9 +8757,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8773,9 +8773,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -8789,9 +8789,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -8801,9 +8801,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8815,9 +8815,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8829,9 +8829,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8852,9 +8852,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -8868,9 +8868,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8882,9 +8882,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8896,9 +8896,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8910,9 +8910,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8924,9 +8924,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8938,9 +8938,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -8952,9 +8952,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8968,9 +8968,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8984,9 +8984,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -8998,9 +8998,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9012,9 +9012,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9026,9 +9026,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9040,9 +9040,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9056,9 +9056,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9072,9 +9072,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9082,9 +9082,9 @@ public: class IFC_PARSE_API IfcMinuteInHour : public express::DeclaredType { public: IfcMinuteInHour() {} - explicit IfcMinuteInHour (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMinuteInHour (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -9096,9 +9096,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9110,9 +9110,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9124,9 +9124,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9142,9 +9142,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9156,9 +9156,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9170,9 +9170,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9184,9 +9184,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9197,9 +9197,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9262,9 +9262,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -9277,9 +9277,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9289,9 +9289,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9305,9 +9305,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9319,9 +9319,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9339,9 +9339,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9354,9 +9354,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9369,9 +9369,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9383,9 +9383,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9401,9 +9401,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -9415,9 +9415,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9429,9 +9429,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9448,9 +9448,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9464,9 +9464,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9478,9 +9478,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9493,9 +9493,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9507,9 +9507,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9517,9 +9517,9 @@ public: class IFC_PARSE_API IfcSecondInMinute : public express::DeclaredType { public: IfcSecondInMinute() {} - explicit IfcSecondInMinute (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSecondInMinute (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9531,9 +9531,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9545,9 +9545,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9559,9 +9559,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9575,9 +9575,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9589,9 +9589,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9603,9 +9603,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9617,9 +9617,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9633,9 +9633,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9651,9 +9651,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9665,9 +9665,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9685,9 +9685,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -9704,9 +9704,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -9726,9 +9726,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -9754,9 +9754,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -9773,9 +9773,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -9787,9 +9787,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9801,9 +9801,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9814,9 +9814,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9827,9 +9827,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9841,9 +9841,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9857,9 +9857,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9873,9 +9873,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9886,9 +9886,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -9900,9 +9900,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9914,9 +9914,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9930,9 +9930,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9944,9 +9944,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9958,9 +9958,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9972,9 +9972,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -9982,9 +9982,9 @@ public: class IFC_PARSE_API IfcYearNumber : public express::DeclaredType { public: IfcYearNumber() {} - explicit IfcYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -10016,9 +10016,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -10030,9 +10030,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -10045,9 +10045,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -10066,7 +10066,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -10082,7 +10082,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -10093,7 +10093,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > Purpose() const; @@ -10110,7 +10110,7 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -10119,7 +10119,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc2x3::IfcOrganization ApplicationDeveloper() const; @@ -10134,7 +10134,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -10154,7 +10154,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -10186,7 +10186,7 @@ public: std::vector< IfcAppliedValueRelationship > ValueOfComponents() const; // INVERSE IfcAppliedValueRelationship::ComponentOfTotal std::vector< IfcAppliedValueRelationship > IsComponentIn() const; // INVERSE IfcAppliedValueRelationship::Components - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc2x3::IfcMeasureWithUnit v4_UnitBasis, ::Ifc2x3::IfcDateTimeSelect v5_ApplicableDate, ::Ifc2x3::IfcDateTimeSelect v6_FixedUntilDate); }; /// An IfcAppliedValueRelationship is a relationship class that enables cost values to be aggregated together as components of another cost value. @@ -10216,7 +10216,7 @@ public: class IFC_PARSE_API IfcAppliedValueRelationship : public express::Entity { public: IfcAppliedValueRelationship() {} - explicit IfcAppliedValueRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValueRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The applied value (total or subtotal) of which the value being considered is a component. ::Ifc2x3::IfcAppliedValue ComponentOfTotal() const; @@ -10232,7 +10232,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAppliedValue v1_ComponentOfTotal, std::vector< ::Ifc2x3::IfcAppliedValue > v2_Components, ::Ifc2x3::IfcArithmeticOperatorEnum::Value v3_ArithmeticOperator, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -10243,7 +10243,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A general textual description of a design, work task, plan, etc. that is being approved for. std::optional< std::string > Description() const; @@ -10266,14 +10266,14 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApproval std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Description, ::Ifc2x3::IfcDateTimeSelect v2_ApprovalDateTime, std::optional< std::string > v3_ApprovalStatus, std::optional< std::string > v4_ApprovalLevel, std::optional< std::string > v5_ApprovalQualifier, std::string v6_Name, std::string v7_Identifier); }; class IFC_PARSE_API IfcApprovalActorRelationship : public express::Entity { public: IfcApprovalActorRelationship() {} - explicit IfcApprovalActorRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApprovalActorRelationship (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc2x3::IfcActorSelect Actor() const; void setActor(const ::Ifc2x3::IfcActorSelect& v); @@ -10282,21 +10282,21 @@ public: ::Ifc2x3::IfcActorRole Role() const; void setRole(const ::Ifc2x3::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcActorSelect v1_Actor, ::Ifc2x3::IfcApproval v2_Approval, ::Ifc2x3::IfcActorRole v3_Role); }; class IFC_PARSE_API IfcApprovalPropertyRelationship : public express::Entity { public: IfcApprovalPropertyRelationship() {} - explicit IfcApprovalPropertyRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApprovalPropertyRelationship (const std::weak_ptr& data) : express::Entity(data) {} std::vector< ::Ifc2x3::IfcProperty > ApprovedProperties() const; void setApprovedProperties(const std::vector< ::Ifc2x3::IfcProperty >& v); ::Ifc2x3::IfcApproval Approval() const; void setApproval(const ::Ifc2x3::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcProperty > v1_ApprovedProperties, ::Ifc2x3::IfcApproval v2_Approval); }; /// An IfcApprovalRelationship associates approvals (one @@ -10309,7 +10309,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public express::Entity { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc2x3::IfcApproval RelatedApproval() const; void setRelatedApproval(const ::Ifc2x3::IfcApproval& v); @@ -10321,7 +10321,7 @@ public: std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcApproval v1_RelatedApproval, ::Ifc2x3::IfcApproval v2_RelatingApproval, std::optional< std::string > v3_Description, std::string v4_Name); }; /// Definition @@ -10342,13 +10342,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -10364,7 +10364,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} std::optional< double > LinearStiffnessByLengthX() const; void setLinearStiffnessByLengthX(const std::optional< double >& v); @@ -10382,7 +10382,7 @@ public: std::optional< double > RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearStiffnessByLengthX, std::optional< double > v3_LinearStiffnessByLengthY, std::optional< double > v4_LinearStiffnessByLengthZ, std::optional< double > v5_RotationalStiffnessByLengthX, std::optional< double > v6_RotationalStiffnessByLengthY, std::optional< double > v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -10398,7 +10398,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} std::optional< double > LinearStiffnessByAreaX() const; void setLinearStiffnessByAreaX(const std::optional< double >& v); @@ -10407,7 +10407,7 @@ public: std::optional< double > LinearStiffnessByAreaZ() const; void setLinearStiffnessByAreaZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearStiffnessByAreaX, std::optional< double > v3_LinearStiffnessByAreaY, std::optional< double > v4_LinearStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -10423,7 +10423,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} std::optional< double > LinearStiffnessX() const; void setLinearStiffnessX(const std::optional< double >& v); @@ -10441,7 +10441,7 @@ public: std::optional< double > RotationalStiffnessZ() const; void setRotationalStiffnessZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearStiffnessX, std::optional< double > v3_LinearStiffnessY, std::optional< double > v4_LinearStiffnessZ, std::optional< double > v5_RotationalStiffnessX, std::optional< double > v6_RotationalStiffnessY, std::optional< double > v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -10456,20 +10456,20 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. std::optional< double > WarpingStiffness() const; void setWarpingStiffness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearStiffnessX, std::optional< double > v3_LinearStiffnessY, std::optional< double > v4_LinearStiffnessZ, std::optional< double > v5_RotationalStiffnessX, std::optional< double > v6_RotationalStiffnessY, std::optional< double > v7_RotationalStiffnessZ, std::optional< double > v8_WarpingStiffness); }; class IFC_PARSE_API IfcCalendarDate : public express::Entity { public: IfcCalendarDate() {} - explicit IfcCalendarDate (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCalendarDate (const std::weak_ptr& data) : express::Entity(data) {} int DayComponent() const; void setDayComponent(const int& v); @@ -10478,7 +10478,7 @@ public: int YearComponent() const; void setYearComponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_DayComponent, int v2_MonthComponent, int v3_YearComponent); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -10499,7 +10499,7 @@ public: class IFC_PARSE_API IfcClassification : public express::Entity { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcClassification (const std::weak_ptr& data) : express::Entity(data) {} /// Source (or publisher) for this classification. /// @@ -10527,14 +10527,14 @@ public: void setName(const std::string& v); std::vector< IfcClassificationItem > Contains() const; // INVERSE IfcClassificationItem::ItemOf - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Source, std::string v2_Edition, ::Ifc2x3::IfcCalendarDate v3_EditionDate, std::string v4_Name); }; class IFC_PARSE_API IfcClassificationItem : public express::Entity { public: IfcClassificationItem() {} - explicit IfcClassificationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcClassificationItem (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc2x3::IfcClassificationNotationFacet Notation() const; void setNotation(const ::Ifc2x3::IfcClassificationNotationFacet& v); @@ -10545,45 +10545,45 @@ public: std::vector< IfcClassificationItemRelationship > IsClassifiedItemIn() const; // INVERSE IfcClassificationItemRelationship::RelatedItems std::vector< IfcClassificationItemRelationship > IsClassifyingItemIn() const; // INVERSE IfcClassificationItemRelationship::RelatingItem - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcClassificationNotationFacet v1_Notation, ::Ifc2x3::IfcClassification v2_ItemOf, std::string v3_Title); }; class IFC_PARSE_API IfcClassificationItemRelationship : public express::Entity { public: IfcClassificationItemRelationship() {} - explicit IfcClassificationItemRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcClassificationItemRelationship (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc2x3::IfcClassificationItem RelatingItem() const; void setRelatingItem(const ::Ifc2x3::IfcClassificationItem& v); std::vector< ::Ifc2x3::IfcClassificationItem > RelatedItems() const; void setRelatedItems(const std::vector< ::Ifc2x3::IfcClassificationItem >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcClassificationItem v1_RelatingItem, std::vector< ::Ifc2x3::IfcClassificationItem > v2_RelatedItems); }; class IFC_PARSE_API IfcClassificationNotation : public express::Entity { public: IfcClassificationNotation() {} - explicit IfcClassificationNotation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcClassificationNotation (const std::weak_ptr& data) : express::Entity(data) {} std::vector< ::Ifc2x3::IfcClassificationNotationFacet > NotationFacets() const; void setNotationFacets(const std::vector< ::Ifc2x3::IfcClassificationNotationFacet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcClassificationNotationFacet > v1_NotationFacets); }; class IFC_PARSE_API IfcClassificationNotationFacet : public express::Entity { public: IfcClassificationNotationFacet() {} - explicit IfcClassificationNotationFacet (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcClassificationNotationFacet (const std::weak_ptr& data) : express::Entity(data) {} std::string NotationValue() const; void setNotationValue(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_NotationValue); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -10594,7 +10594,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public express::Entity { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -10603,7 +10603,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -10623,10 +10623,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -10648,7 +10648,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc2x3::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -10657,14 +10657,14 @@ public: ::Ifc2x3::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc2x3::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc2x3::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; class IFC_PARSE_API IfcConnectionPortGeometry : public IfcConnectionGeometry { public: IfcConnectionPortGeometry() {} - explicit IfcConnectionPortGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPortGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} ::Ifc2x3::IfcAxis2Placement LocationAtRelatingElement() const; void setLocationAtRelatingElement(const ::Ifc2x3::IfcAxis2Placement& v); @@ -10673,7 +10673,7 @@ public: ::Ifc2x3::IfcProfileDef ProfileOfPort() const; void setProfileOfPort(const ::Ifc2x3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement v1_LocationAtRelatingElement, ::Ifc2x3::IfcAxis2Placement v2_LocationAtRelatedElement, ::Ifc2x3::IfcProfileDef v3_ProfileOfPort); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -10687,7 +10687,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc2x3::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -10696,7 +10696,7 @@ public: ::Ifc2x3::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc2x3::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc2x3::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -10714,7 +10714,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -10747,7 +10747,7 @@ public: std::vector< IfcConstraintAggregationRelationship > Aggregates() const; // INVERSE IfcConstraintAggregationRelationship::RelatingConstraint std::vector< IfcConstraintAggregationRelationship > IsAggregatedIn() const; // INVERSE IfcConstraintAggregationRelationship::RelatedConstraints - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc2x3::IfcActorSelect v5_CreatingActor, ::Ifc2x3::IfcDateTimeSelect v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// An IfcConstraintAggregationRelationship is an objectified relationship that enables instances of IfcConstraint subtypes to be aggregated together logically. @@ -10764,7 +10764,7 @@ public: class IFC_PARSE_API IfcConstraintAggregationRelationship : public express::Entity { public: IfcConstraintAggregationRelationship() {} - explicit IfcConstraintAggregationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraintAggregationRelationship (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -10778,21 +10778,21 @@ public: ::Ifc2x3::IfcLogicalOperatorEnum::Value LogicalAggregator() const; void setLogicalAggregator(const ::Ifc2x3::IfcLogicalOperatorEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc2x3::IfcConstraint > v4_RelatedConstraints, ::Ifc2x3::IfcLogicalOperatorEnum::Value v5_LogicalAggregator); }; class IFC_PARSE_API IfcConstraintClassificationRelationship : public express::Entity { public: IfcConstraintClassificationRelationship() {} - explicit IfcConstraintClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraintClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc2x3::IfcConstraint ClassifiedConstraint() const; void setClassifiedConstraint(const ::Ifc2x3::IfcConstraint& v); std::vector< ::Ifc2x3::IfcClassificationNotationSelect > RelatedClassifications() const; void setRelatedClassifications(const std::vector< ::Ifc2x3::IfcClassificationNotationSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcConstraint v1_ClassifiedConstraint, std::vector< ::Ifc2x3::IfcClassificationNotationSelect > v2_RelatedClassifications); }; /// An IfcConstraintRelationship is an objectified relationship that enables instances of IfcConstraint and its @@ -10807,7 +10807,7 @@ public: class IFC_PARSE_API IfcConstraintRelationship : public express::Entity { public: IfcConstraintRelationship() {} - explicit IfcConstraintRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraintRelationship (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -10820,14 +10820,14 @@ public: std::vector< ::Ifc2x3::IfcConstraint > RelatedConstraints() const; void setRelatedConstraints(const std::vector< ::Ifc2x3::IfcConstraint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc2x3::IfcConstraint > v4_RelatedConstraints); }; class IFC_PARSE_API IfcCoordinatedUniversalTimeOffset : public express::Entity { public: IfcCoordinatedUniversalTimeOffset() {} - explicit IfcCoordinatedUniversalTimeOffset (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinatedUniversalTimeOffset (const std::weak_ptr& data) : express::Entity(data) {} int HourOffset() const; void setHourOffset(const int& v); @@ -10836,7 +10836,7 @@ public: ::Ifc2x3::IfcAheadOrBehind::Value Sense() const; void setSense(const ::Ifc2x3::IfcAheadOrBehind::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_HourOffset, std::optional< int > v2_MinuteOffset, ::Ifc2x3::IfcAheadOrBehind::Value v3_Sense); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -10884,7 +10884,7 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} /// Specification of the type of cost type used. /// @@ -10897,7 +10897,7 @@ public: std::optional< std::string > Condition() const; void setCondition(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc2x3::IfcMeasureWithUnit v4_UnitBasis, ::Ifc2x3::IfcDateTimeSelect v5_ApplicableDate, ::Ifc2x3::IfcDateTimeSelect v6_FixedUntilDate, std::string v7_CostType, std::optional< std::string > v8_Condition); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -10914,7 +10914,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public express::Entity { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc2x3::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -10934,7 +10934,7 @@ public: ::Ifc2x3::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc2x3::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMonetaryUnit v1_RelatingMonetaryUnit, ::Ifc2x3::IfcMonetaryUnit v2_RelatedMonetaryUnit, double v3_ExchangeRate, ::Ifc2x3::IfcDateAndTime v4_RateDateTime, ::Ifc2x3::IfcLibraryInformation v5_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -10945,7 +10945,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public express::Entity { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : express::Entity(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -10954,7 +10954,7 @@ public: std::vector< ::Ifc2x3::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc2x3::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc2x3::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -10971,7 +10971,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public express::Entity { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : express::Entity(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -10983,7 +10983,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -10994,7 +10994,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public express::Entity { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : express::Entity(data) {} /// The length of the visible segment in the pattern definition. /// @@ -11007,21 +11007,21 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; class IFC_PARSE_API IfcDateAndTime : public express::Entity { public: IfcDateAndTime() {} - explicit IfcDateAndTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDateAndTime (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc2x3::IfcCalendarDate DateComponent() const; void setDateComponent(const ::Ifc2x3::IfcCalendarDate& v); ::Ifc2x3::IfcLocalTime TimeComponent() const; void setTimeComponent(const ::Ifc2x3::IfcLocalTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCalendarDate v1_DateComponent, ::Ifc2x3::IfcLocalTime v2_TimeComponent); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -11034,7 +11034,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc2x3::IfcDerivedUnitElement > Elements() const; @@ -11045,7 +11045,7 @@ public: std::optional< std::string > UserDefinedType() const; void setUserDefinedType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcDerivedUnitElement > v1_Elements, ::Ifc2x3::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -11060,7 +11060,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc2x3::IfcNamedUnit Unit() const; @@ -11069,7 +11069,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -11092,7 +11092,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -11116,7 +11116,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// IfcDocumentElectronicFormat captures the type of document being referenced as an external source, and for which metadata is specified by IfcDocumentInformation. @@ -11125,7 +11125,7 @@ public: class IFC_PARSE_API IfcDocumentElectronicFormat : public express::Entity { public: IfcDocumentElectronicFormat() {} - explicit IfcDocumentElectronicFormat (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDocumentElectronicFormat (const std::weak_ptr& data) : express::Entity(data) {} /// File extension of electronic document used by computer operating system. std::optional< std::string > FileExtension() const; @@ -11137,7 +11137,7 @@ public: std::optional< std::string > MimeSubtype() const; void setMimeSubtype(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_FileExtension, std::optional< std::string > v2_MimeContentType, std::optional< std::string > v3_MimeSubtype); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -11146,7 +11146,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public express::Entity { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : express::Entity(data) {} /// Identifier that uniquely identifies a document. std::string DocumentId() const; @@ -11213,7 +11213,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_DocumentId, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc2x3::IfcDocumentReference > > v4_DocumentReferences, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc2x3::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > v10_Editors, ::Ifc2x3::IfcDateAndTime v11_CreationTime, ::Ifc2x3::IfcDateAndTime v12_LastRevisionTime, ::Ifc2x3::IfcDocumentElectronicFormat v13_ElectronicFormat, ::Ifc2x3::IfcCalendarDate v14_ValidFrom, ::Ifc2x3::IfcCalendarDate v15_ValidUntil, std::optional< ::Ifc2x3::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc2x3::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -11227,7 +11227,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public express::Entity { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc2x3::IfcDocumentInformation RelatingDocument() const; @@ -11239,14 +11239,14 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDocumentInformation v1_RelatingDocument, std::vector< ::Ifc2x3::IfcDocumentInformation > v2_RelatedDocuments, std::optional< std::string > v3_RelationshipType); }; class IFC_PARSE_API IfcDraughtingCalloutRelationship : public express::Entity { public: IfcDraughtingCalloutRelationship() {} - explicit IfcDraughtingCalloutRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDraughtingCalloutRelationship (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -11257,14 +11257,14 @@ public: ::Ifc2x3::IfcDraughtingCallout RelatedDraughtingCallout() const; void setRelatedDraughtingCallout(const ::Ifc2x3::IfcDraughtingCallout& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDraughtingCallout v3_RelatingDraughtingCallout, ::Ifc2x3::IfcDraughtingCallout v4_RelatedDraughtingCallout); }; class IFC_PARSE_API IfcEnvironmentalImpactValue : public IfcAppliedValue { public: IfcEnvironmentalImpactValue() {} - explicit IfcEnvironmentalImpactValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcEnvironmentalImpactValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} std::string ImpactType() const; void setImpactType(const std::string& v); @@ -11273,7 +11273,7 @@ public: std::optional< std::string > UserDefinedCategory() const; void setUserDefinedCategory(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc2x3::IfcMeasureWithUnit v4_UnitBasis, ::Ifc2x3::IfcDateTimeSelect v5_ApplicableDate, ::Ifc2x3::IfcDateTimeSelect v6_FixedUntilDate, std::string v7_ImpactType, ::Ifc2x3::IfcEnvironmentalImpactCategoryEnum::Value v8_Category, std::optional< std::string > v9_UserDefinedCategory); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -11288,7 +11288,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -11301,7 +11301,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -11315,10 +11315,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -11331,10 +11331,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name); }; /// An externally defined symbol is a symbol that gets its shape information by an agreed reference to an external source. @@ -11349,10 +11349,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSymbol : public IfcExternalReference { public: IfcExternallyDefinedSymbol() {} - explicit IfcExternallyDefinedSymbol (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSymbol (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -11365,10 +11365,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -11397,7 +11397,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -11413,7 +11413,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc2x3::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -11422,7 +11422,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. ::Ifc2x3::IfcDateTimeSelect TimeStamp() const; @@ -11431,7 +11431,7 @@ public: std::vector< ::Ifc2x3::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc2x3::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDateTimeSelect v1_TimeStamp, std::vector< ::Ifc2x3::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -11445,7 +11445,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public express::Entity { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : express::Entity(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -11464,7 +11464,7 @@ public: std::optional< std::vector< ::Ifc2x3::IfcLibraryReference > > LibraryReference() const; void setLibraryReference(const std::optional< std::vector< ::Ifc2x3::IfcLibraryReference > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc2x3::IfcOrganization v3_Publisher, ::Ifc2x3::IfcCalendarDate v4_VersionDate, std::optional< std::vector< ::Ifc2x3::IfcLibraryReference > > v5_LibraryReference); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -11477,11 +11477,11 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} std::vector< IfcLibraryInformation > ReferenceIntoLibrary() const; // INVERSE IfcLibraryInformation::LibraryReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -11502,7 +11502,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -11516,7 +11516,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -11525,7 +11525,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc2x3::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -11534,14 +11534,14 @@ public: std::vector< ::Ifc2x3::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc2x3::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc2x3::IfcLightDistributionData > v2_DistributionData); }; class IFC_PARSE_API IfcLocalTime : public express::Entity { public: IfcLocalTime() {} - explicit IfcLocalTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLocalTime (const std::weak_ptr& data) : express::Entity(data) {} int HourComponent() const; void setHourComponent(const int& v); @@ -11554,7 +11554,7 @@ public: std::optional< int > DaylightSavingOffset() const; void setDaylightSavingOffset(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_HourComponent, std::optional< int > v2_MinuteComponent, std::optional< double > v3_SecondComponent, ::Ifc2x3::IfcCoordinatedUniversalTimeOffset v4_Zone, std::optional< int > v5_DaylightSavingOffset); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -11587,7 +11587,7 @@ public: class IFC_PARSE_API IfcMaterial : public express::Entity { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the material. /// @@ -11599,7 +11599,7 @@ public: std::vector< IfcMaterialDefinitionRepresentation > HasRepresentation() const; // INVERSE IfcMaterialDefinitionRepresentation::RepresentedMaterial std::vector< IfcMaterialClassificationRelationship > ClassifiedAs() const; // INVERSE IfcMaterialClassificationRelationship::ClassifiedMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -11610,7 +11610,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc2x3::IfcClassificationNotationSelect > MaterialClassifications() const; @@ -11619,7 +11619,7 @@ public: ::Ifc2x3::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc2x3::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcClassificationNotationSelect > v1_MaterialClassifications, ::Ifc2x3::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -11648,7 +11648,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public express::Entity { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : express::Entity(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc2x3::IfcMaterial Material() const; @@ -11669,7 +11669,7 @@ public: void setIsVentilated(const std::optional< boost::logic::tribool >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -11708,7 +11708,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public express::Entity { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc2x3::IfcMaterialLayer > MaterialLayers() const; @@ -11717,7 +11717,7 @@ public: std::optional< std::string > LayerSetName() const; void setLayerSetName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -11823,7 +11823,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public express::Entity { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : express::Entity(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc2x3::IfcMaterialLayerSet ForLayerSet() const; @@ -11843,7 +11843,7 @@ public: double OffsetFromReferenceLine() const; void setOffsetFromReferenceLine(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc2x3::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc2x3::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine); }; /// IfcMaterialList is a list of the different materials @@ -11866,13 +11866,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc2x3::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc2x3::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcMaterial > v1_Materials); }; /// IfcMaterialProperties is defined as an abstract @@ -11900,7 +11900,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public express::Entity { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : express::Entity(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -11908,7 +11908,7 @@ public: ::Ifc2x3::IfcMaterial Material() const; void setMaterial(const ::Ifc2x3::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -11924,7 +11924,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc2x3::IfcValue ValueComponent() const; @@ -11933,14 +11933,14 @@ public: ::Ifc2x3::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc2x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcValue v1_ValueComponent, ::Ifc2x3::IfcUnit v2_UnitComponent); }; class IFC_PARSE_API IfcMechanicalMaterialProperties : public IfcMaterialProperties { public: IfcMechanicalMaterialProperties() {} - explicit IfcMechanicalMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} + explicit IfcMechanicalMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} std::optional< double > DynamicViscosity() const; void setDynamicViscosity(const std::optional< double >& v); @@ -11953,14 +11953,14 @@ public: std::optional< double > ThermalExpansionCoefficient() const; void setThermalExpansionCoefficient(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_DynamicViscosity, std::optional< double > v3_YoungModulus, std::optional< double > v4_ShearModulus, std::optional< double > v5_PoissonRatio, std::optional< double > v6_ThermalExpansionCoefficient); }; class IFC_PARSE_API IfcMechanicalSteelMaterialProperties : public IfcMechanicalMaterialProperties { public: IfcMechanicalSteelMaterialProperties() {} - explicit IfcMechanicalSteelMaterialProperties (const std::weak_ptr& data) : IfcMechanicalMaterialProperties(data) {} + explicit IfcMechanicalSteelMaterialProperties (const std::weak_ptr& data) : IfcMechanicalMaterialProperties(data) {} std::optional< double > YieldStress() const; void setYieldStress(const std::optional< double >& v); @@ -11977,7 +11977,7 @@ public: std::optional< std::vector< ::Ifc2x3::IfcRelaxation > > Relaxations() const; void setRelaxations(const std::optional< std::vector< ::Ifc2x3::IfcRelaxation > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_DynamicViscosity, std::optional< double > v3_YoungModulus, std::optional< double > v4_ShearModulus, std::optional< double > v5_PoissonRatio, std::optional< double > v6_ThermalExpansionCoefficient, std::optional< double > v7_YieldStress, std::optional< double > v8_UltimateStress, std::optional< double > v9_UltimateStrain, std::optional< double > v10_HardeningModule, std::optional< double > v11_ProportionalStress, std::optional< double > v12_PlasticStrain, std::optional< std::vector< ::Ifc2x3::IfcRelaxation > > v13_Relaxations); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -12035,7 +12035,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc2x3::IfcBenchmarkEnum::Value Benchmark() const; @@ -12047,7 +12047,7 @@ public: ::Ifc2x3::IfcMetricValueSelect DataValue() const; void setDataValue(const ::Ifc2x3::IfcMetricValueSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc2x3::IfcActorSelect v5_CreatingActor, ::Ifc2x3::IfcDateTimeSelect v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc2x3::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc2x3::IfcMetricValueSelect v10_DataValue); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -12058,13 +12058,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. ::Ifc2x3::IfcCurrencyEnum::Value Currency() const; void setCurrency(const ::Ifc2x3::IfcCurrencyEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCurrencyEnum::Value v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -12075,7 +12075,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc2x3::IfcDimensionalExponents Dimensions() const; @@ -12084,7 +12084,7 @@ public: ::Ifc2x3::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc2x3::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDimensionalExponents v1_Dimensions, ::Ifc2x3::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -12101,12 +12101,12 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement std::vector< IfcLocalPlacement > ReferencedByPlacements() const; // INVERSE IfcLocalPlacement::PlacementRelTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -12121,7 +12121,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. ::Ifc2x3::IfcMetric BenchmarkValues() const; @@ -12136,14 +12136,14 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc2x3::IfcActorSelect v5_CreatingActor, ::Ifc2x3::IfcDateTimeSelect v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc2x3::IfcMetric v8_BenchmarkValues, ::Ifc2x3::IfcMetric v9_ResultValues, ::Ifc2x3::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; class IFC_PARSE_API IfcOpticalMaterialProperties : public IfcMaterialProperties { public: IfcOpticalMaterialProperties() {} - explicit IfcOpticalMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} + explicit IfcOpticalMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} std::optional< double > VisibleTransmittance() const; void setVisibleTransmittance(const std::optional< double >& v); @@ -12164,7 +12164,7 @@ public: std::optional< double > SolarReflectanceBack() const; void setSolarReflectanceBack(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_VisibleTransmittance, std::optional< double > v3_SolarTransmittance, std::optional< double > v4_ThermalIrTransmittance, std::optional< double > v5_ThermalIrEmissivityBack, std::optional< double > v6_ThermalIrEmissivityFront, std::optional< double > v7_VisibleReflectanceBack, std::optional< double > v8_VisibleReflectanceFront, std::optional< double > v9_SolarReflectanceFront, std::optional< double > v10_SolarReflectanceBack); }; /// A named and structured grouping with a corporate identity. @@ -12178,7 +12178,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > Id() const; void setId(const std::optional< std::string >& v); @@ -12199,7 +12199,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Id, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc2x3::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc2x3::IfcAddress > > v5_Addresses); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -12211,7 +12211,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public express::Entity { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the relationship is referred to. std::string Name() const; @@ -12226,7 +12226,7 @@ public: std::vector< ::Ifc2x3::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc2x3::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc2x3::IfcOrganization > v4_RelatedOrganizations); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -12242,7 +12242,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc2x3::IfcPersonAndOrganization OwningUser() const; @@ -12269,7 +12269,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcPersonAndOrganization v1_OwningUser, ::Ifc2x3::IfcApplication v2_OwningApplication, std::optional< ::Ifc2x3::IfcStateEnum::Value > v3_State, ::Ifc2x3::IfcChangeActionEnum::Value v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc2x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc2x3::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -12284,7 +12284,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > Id() const; void setId(const std::optional< std::string >& v); @@ -12317,7 +12317,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc2x3::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Id, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc2x3::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc2x3::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -12328,7 +12328,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc2x3::IfcPerson ThePerson() const; @@ -12340,7 +12340,7 @@ public: std::optional< std::vector< ::Ifc2x3::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc2x3::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcPerson v1_ThePerson, ::Ifc2x3::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc2x3::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -12351,7 +12351,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -12361,7 +12361,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -12376,13 +12376,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc2x3::IfcNamedUnit Unit() const; void setUnit(const ::Ifc2x3::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -12391,7 +12391,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -12421,7 +12421,7 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -12434,13 +12434,13 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public express::Entity { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : express::Entity(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// A predefined symbol is a symbol that gets its shape information by a conforming name that is specified within subtypes of the entity. @@ -12453,20 +12453,20 @@ public: class IFC_PARSE_API IfcPreDefinedSymbol : public IfcPreDefinedItem { public: IfcPreDefinedSymbol() {} - explicit IfcPreDefinedSymbol (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedSymbol (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedTerminatorSymbol : public IfcPreDefinedSymbol { public: IfcPreDefinedTerminatorSymbol() {} - explicit IfcPreDefinedTerminatorSymbol (const std::weak_ptr& data) : IfcPreDefinedSymbol(data) {} + explicit IfcPreDefinedTerminatorSymbol (const std::weak_ptr& data) : IfcPreDefinedSymbol(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -12483,10 +12483,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -12507,7 +12507,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -12522,7 +12522,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -12541,7 +12541,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -12560,7 +12560,7 @@ public: std::vector< ::Ifc2x3::IfcPresentationStyleSelect > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc2x3::IfcPresentationStyleSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc2x3::IfcPresentationStyleSelect > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -12571,13 +12571,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The presentation style assignment is a set of styles which are assigned to styled items for the purpose of presenting these styled items. @@ -12588,13 +12588,13 @@ public: class IFC_PARSE_API IfcPresentationStyleAssignment : public express::Entity { public: IfcPresentationStyleAssignment() {} - explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// A set of presentation styles that are assigned to styled items. std::vector< ::Ifc2x3::IfcPresentationStyleSelect > Styles() const; void setStyles(const std::vector< ::Ifc2x3::IfcPresentationStyleSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcPresentationStyleSelect > v1_Styles); }; /// IfcProductRepresentation defines a representation of a @@ -12617,7 +12617,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -12629,14 +12629,14 @@ public: std::vector< ::Ifc2x3::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc2x3::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcRepresentation > v3_Representations); }; class IFC_PARSE_API IfcProductsOfCombustionProperties : public IfcMaterialProperties { public: IfcProductsOfCombustionProperties() {} - explicit IfcProductsOfCombustionProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} + explicit IfcProductsOfCombustionProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} std::optional< double > SpecificHeatCapacity() const; void setSpecificHeatCapacity(const std::optional< double >& v); @@ -12647,7 +12647,7 @@ public: std::optional< double > CO2Content() const; void setCO2Content(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_SpecificHeatCapacity, std::optional< double > v3_N20Content, std::optional< double > v4_COContent, std::optional< double > v5_CO2Content); }; /// IfcProfileDef @@ -12823,7 +12823,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc2x3::IfcProfileTypeEnum::Value ProfileType() const; @@ -12832,7 +12832,7 @@ public: std::optional< std::string > ProfileName() const; void setProfileName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// This is a collection of properties applicable to section profile definitions. @@ -12849,7 +12849,7 @@ public: class IFC_PARSE_API IfcProfileProperties : public express::Entity { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > ProfileName() const; void setProfileName(const std::optional< std::string >& v); @@ -12857,7 +12857,7 @@ public: ::Ifc2x3::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc2x3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -12866,7 +12866,7 @@ public: class IFC_PARSE_API IfcProperty : public express::Entity { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProperty (const std::weak_ptr& data) : express::Entity(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -12878,14 +12878,14 @@ public: std::vector< IfcPropertyDependencyRelationship > PropertyDependsOn() const; // INVERSE IfcPropertyDependencyRelationship::DependantProperty std::vector< IfcComplexProperty > PartOfComplex() const; // INVERSE IfcComplexProperty::HasProperties - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; class IFC_PARSE_API IfcPropertyConstraintRelationship : public express::Entity { public: IfcPropertyConstraintRelationship() {} - explicit IfcPropertyConstraintRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyConstraintRelationship (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc2x3::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc2x3::IfcConstraint& v); @@ -12896,7 +12896,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcConstraint v1_RelatingConstraint, std::vector< ::Ifc2x3::IfcProperty > v2_RelatedProperties, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -12910,7 +12910,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public express::Entity { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The property on which the relationship depends. ::Ifc2x3::IfcProperty DependingProperty() const; @@ -12926,7 +12926,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProperty v1_DependingProperty, ::Ifc2x3::IfcProperty v2_DependantProperty, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Expression); }; /// IfcPropertyEnumeration is a collection of simple @@ -12978,7 +12978,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public express::Entity { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : express::Entity(data) {} /// Name of this enumeration. std::string Name() const; @@ -12990,7 +12990,7 @@ public: ::Ifc2x3::IfcUnit Unit() const; void setUnit(const ::Ifc2x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc2x3::IfcValue > v2_EnumerationValues, ::Ifc2x3::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -13001,13 +13001,13 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; void setAreaValue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_AreaValue); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -13018,13 +13018,13 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. double CountValue() const; void setCountValue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_CountValue); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -13035,13 +13035,13 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; void setLengthValue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_LengthValue); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -13052,13 +13052,13 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; void setTimeValue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_TimeValue); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -13069,13 +13069,13 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; void setVolumeValue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_VolumeValue); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -13086,20 +13086,20 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; void setWeightValue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcNamedUnit v3_Unit, double v4_WeightValue); }; class IFC_PARSE_API IfcReferencesValueDocument : public express::Entity { public: IfcReferencesValueDocument() {} - explicit IfcReferencesValueDocument (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReferencesValueDocument (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc2x3::IfcDocumentSelect ReferencedDocument() const; void setReferencedDocument(const ::Ifc2x3::IfcDocumentSelect& v); @@ -13110,7 +13110,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDocumentSelect v1_ReferencedDocument, std::vector< ::Ifc2x3::IfcAppliedValue > v2_ReferencingValues, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -13121,7 +13121,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public express::Entity { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : express::Entity(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -13142,21 +13142,21 @@ public: std::optional< double > BarCount() const; void setBarCount(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount); }; class IFC_PARSE_API IfcRelaxation : public express::Entity { public: IfcRelaxation() {} - explicit IfcRelaxation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRelaxation (const std::weak_ptr& data) : express::Entity(data) {} double RelaxationValue() const; void setRelaxationValue(const double& v); double InitialStress() const; void setInitialStress(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_RelaxationValue, double v2_InitialStress); }; /// Definition from ISO/CD 10303-43:1992: A @@ -13208,7 +13208,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc2x3::IfcRepresentationContext ContextOfItems() const; @@ -13227,7 +13227,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -13243,7 +13243,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -13253,7 +13253,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -13291,12 +13291,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -13313,7 +13313,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -13324,14 +13324,14 @@ public: void setMappedRepresentation(const ::Ifc2x3::IfcRepresentation& v); std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement v1_MappingOrigin, ::Ifc2x3::IfcRepresentation v2_MappedRepresentation); }; class IFC_PARSE_API IfcRibPlateProfileProperties : public IfcProfileProperties { public: IfcRibPlateProfileProperties() {} - explicit IfcRibPlateProfileProperties (const std::weak_ptr& data) : IfcProfileProperties(data) {} + explicit IfcRibPlateProfileProperties (const std::weak_ptr& data) : IfcProfileProperties(data) {} std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); @@ -13344,7 +13344,7 @@ public: ::Ifc2x3::IfcRibPlateDirectionEnum::Value Direction() const; void setDirection(const ::Ifc2x3::IfcRibPlateDirectionEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition, std::optional< double > v3_Thickness, std::optional< double > v4_RibHeight, std::optional< double > v5_RibWidth, std::optional< double > v6_RibSpacing, ::Ifc2x3::IfcRibPlateDirectionEnum::Value v7_Direction); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -13359,7 +13359,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -13378,7 +13378,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -13391,7 +13391,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc2x3::IfcSIPrefix::Value > Prefix() const; @@ -13402,7 +13402,7 @@ public: ::Ifc2x3::IfcSIUnitName::Value Name() const; void setName(const ::Ifc2x3::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc2x3::IfcSIPrefix::Value > v3_Prefix, ::Ifc2x3::IfcSIUnitName::Value v4_Name); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -13413,7 +13413,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public express::Entity { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : express::Entity(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc2x3::IfcSectionTypeEnum::Value SectionType() const; @@ -13425,7 +13425,7 @@ public: ::Ifc2x3::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc2x3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc2x3::IfcProfileDef v2_StartProfile, ::Ifc2x3::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -13438,7 +13438,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public express::Entity { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : express::Entity(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -13459,7 +13459,7 @@ public: std::vector< ::Ifc2x3::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc2x3::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc2x3::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc2x3::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc2x3::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -13502,7 +13502,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -13524,7 +13524,7 @@ public: ::Ifc2x3::IfcProductDefinitionShape PartOfProductDefinitionShape() const; void setPartOfProductDefinitionShape(const ::Ifc2x3::IfcProductDefinitionShape& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc2x3::IfcProductDefinitionShape v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -13548,11 +13548,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -13693,10 +13693,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -13705,10 +13705,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -13717,13 +13717,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -13732,13 +13732,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -13747,10 +13747,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoad { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -13761,7 +13761,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} std::optional< double > DeltaT_Constant() const; void setDeltaT_Constant(const std::optional< double >& v); @@ -13770,7 +13770,7 @@ public: std::optional< double > DeltaT_Z() const; void setDeltaT_Z(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaT_Constant, std::optional< double > v3_DeltaT_Y, std::optional< double > v4_DeltaT_Z); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -13781,10 +13781,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -13818,7 +13818,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -13837,7 +13837,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -13850,10 +13850,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -13866,7 +13866,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc2x3::IfcSurfaceSide::Value Side() const; @@ -13875,7 +13875,7 @@ public: std::vector< ::Ifc2x3::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc2x3::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc2x3::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -13892,7 +13892,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public express::Entity { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : express::Entity(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -13911,7 +13911,7 @@ public: ::Ifc2x3::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc2x3::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc2x3::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc2x3::IfcColourRgb v3_TransmissionColour, ::Ifc2x3::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -13922,7 +13922,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public express::Entity { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : express::Entity(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -13931,7 +13931,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -13944,13 +13944,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public express::Entity { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : express::Entity(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc2x3::IfcColourRgb SurfaceColour() const; void setSurfaceColour(const ::Ifc2x3::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcColourRgb v1_SurfaceColour); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -13974,13 +13974,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public express::Entity { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : express::Entity(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc2x3::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc2x3::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -14078,7 +14078,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public express::Entity { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : express::Entity(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -14094,7 +14094,7 @@ public: ::Ifc2x3::IfcCartesianTransformationOperator2D TextureTransform() const; void setTextureTransform(const ::Ifc2x3::IfcCartesianTransformationOperator2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform); }; /// Definition from ISO/CD 10303-46:1992: The symbol style is the presentation style that indicates the presentation of annotation symbols. @@ -14105,13 +14105,13 @@ public: class IFC_PARSE_API IfcSymbolStyle : public IfcPresentationStyle { public: IfcSymbolStyle() {} - explicit IfcSymbolStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSymbolStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The style applied to the symbol for its visual appearance. ::Ifc2x3::IfcSymbolStyleSelect StyleOfSymbol() const; void setStyleOfSymbol(const ::Ifc2x3::IfcSymbolStyleSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcSymbolStyleSelect v2_StyleOfSymbol); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -14132,7 +14132,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::string Name() const; @@ -14141,7 +14141,7 @@ public: std::vector< ::Ifc2x3::IfcTableRow > Rows() const; void setRows(const std::vector< ::Ifc2x3::IfcTableRow >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc2x3::IfcTableRow > v2_Rows); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -14160,7 +14160,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::vector< ::Ifc2x3::IfcValue > RowCells() const; @@ -14170,7 +14170,7 @@ public: void setIsHeading(const bool& v); std::vector< IfcTable > OfTable() const; // INVERSE IfcTable::Rows - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcValue > v1_RowCells, bool v2_IsHeading); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -14182,7 +14182,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -14203,7 +14203,7 @@ public: std::optional< std::string > WWWHomePageURL() const; void setWWWHomePageURL(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc2x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -14237,7 +14237,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc2x3::IfcCharacterStyleSelect TextCharacterAppearance() const; @@ -14255,7 +14255,7 @@ public: ::Ifc2x3::IfcTextFontSelect TextFontStyle() const; void setTextFontStyle(const ::Ifc2x3::IfcTextFontSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcCharacterStyleSelect v2_TextCharacterAppearance, ::Ifc2x3::IfcTextStyleSelect v3_TextStyle, ::Ifc2x3::IfcTextFontSelect v4_TextFontStyle); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -14326,7 +14326,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::optional< std::vector< std::string > /*[1:?]*/ > FontFamily() const; @@ -14347,7 +14347,7 @@ public: ::Ifc2x3::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc2x3::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::vector< std::string > /*[1:?]*/ > v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc2x3::IfcSizeSelect v6_FontSize); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -14370,7 +14370,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public express::Entity { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : express::Entity(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc2x3::IfcColour Colour() const; @@ -14379,7 +14379,7 @@ public: ::Ifc2x3::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc2x3::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcColour v1_Colour, ::Ifc2x3::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -14392,7 +14392,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public express::Entity { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : express::Entity(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -14423,7 +14423,7 @@ public: ::Ifc2x3::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc2x3::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc2x3::IfcSizeSelect v4_LetterSpacing, ::Ifc2x3::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc2x3::IfcSizeSelect v7_LineHeight); }; /// The text style with box characteristics allows the presentation of annotated text by specifying the characteristics of the character boxes of the text and the spacing between the character boxes. @@ -14446,7 +14446,7 @@ public: class IFC_PARSE_API IfcTextStyleWithBoxCharacteristics : public express::Entity { public: IfcTextStyleWithBoxCharacteristics() {} - explicit IfcTextStyleWithBoxCharacteristics (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTextStyleWithBoxCharacteristics (const std::weak_ptr& data) : express::Entity(data) {} /// It is the height scaling factor in the definition of a character glyph. std::optional< double > BoxHeight() const; @@ -14464,7 +14464,7 @@ public: ::Ifc2x3::IfcSizeSelect CharacterSpacing() const; void setCharacterSpacing(const ::Ifc2x3::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_BoxHeight, std::optional< double > v2_BoxWidth, std::optional< double > v3_BoxSlantAngle, std::optional< double > v4_BoxRotateAngle, ::Ifc2x3::IfcSizeSelect v5_CharacterSpacing); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -14481,11 +14481,11 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public express::Entity { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcAnnotationSurface > AnnotatedSurface() const; // INVERSE IfcAnnotationSurface::TextureCoordinates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -14517,7 +14517,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -14530,7 +14530,7 @@ public: std::vector< ::Ifc2x3::IfcSimpleValue > Parameter() const; void setParameter(const std::vector< ::Ifc2x3::IfcSimpleValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Mode, std::vector< ::Ifc2x3::IfcSimpleValue > v2_Parameter); }; /// An IfcTextureMap provides the mapping of the @@ -14587,12 +14587,12 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} std::vector< ::Ifc2x3::IfcVertexBasedTextureMap > TextureMaps() const; void setTextureMaps(const std::vector< ::Ifc2x3::IfcVertexBasedTextureMap >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcVertexBasedTextureMap > v1_TextureMaps); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -14625,20 +14625,20 @@ public: class IFC_PARSE_API IfcTextureVertex : public express::Entity { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : express::Entity(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcThermalMaterialProperties : public IfcMaterialProperties { public: IfcThermalMaterialProperties() {} - explicit IfcThermalMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} + explicit IfcThermalMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} std::optional< double > SpecificHeatCapacity() const; void setSpecificHeatCapacity(const std::optional< double >& v); @@ -14649,7 +14649,7 @@ public: std::optional< double > ThermalConductivity() const; void setThermalConductivity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_SpecificHeatCapacity, std::optional< double > v3_BoilingPoint, std::optional< double > v4_FreezingPoint, std::optional< double > v5_ThermalConductivity); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -14660,7 +14660,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -14688,21 +14688,21 @@ public: void setUnit(const ::Ifc2x3::IfcUnit& v); std::vector< IfcTimeSeriesReferenceRelationship > DocumentedBy() const; // INVERSE IfcTimeSeriesReferenceRelationship::ReferencedTimeSeries - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDateTimeSelect v3_StartTime, ::Ifc2x3::IfcDateTimeSelect v4_EndTime, ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc2x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc2x3::IfcUnit v8_Unit); }; class IFC_PARSE_API IfcTimeSeriesReferenceRelationship : public express::Entity { public: IfcTimeSeriesReferenceRelationship() {} - explicit IfcTimeSeriesReferenceRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesReferenceRelationship (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc2x3::IfcTimeSeries ReferencedTimeSeries() const; void setReferencedTimeSeries(const ::Ifc2x3::IfcTimeSeries& v); std::vector< ::Ifc2x3::IfcDocumentSelect > TimeSeriesReferences() const; void setTimeSeriesReferences(const std::vector< ::Ifc2x3::IfcDocumentSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcTimeSeries v1_ReferencedTimeSeries, std::vector< ::Ifc2x3::IfcDocumentSelect > v2_TimeSeriesReferences); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -14717,13 +14717,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc2x3::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc2x3::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -14734,10 +14734,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -14777,10 +14777,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc2x3::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -14791,13 +14791,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc2x3::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc2x3::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -14813,24 +14813,24 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcVertexBasedTextureMap : public express::Entity { public: IfcVertexBasedTextureMap() {} - explicit IfcVertexBasedTextureMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVertexBasedTextureMap (const std::weak_ptr& data) : express::Entity(data) {} std::vector< ::Ifc2x3::IfcTextureVertex > TextureVertices() const; void setTextureVertices(const std::vector< ::Ifc2x3::IfcTextureVertex >& v); std::vector< ::Ifc2x3::IfcCartesianPoint > TexturePoints() const; void setTexturePoints(const std::vector< ::Ifc2x3::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcTextureVertex > v1_TextureVertices, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_TexturePoints); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -14845,13 +14845,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc2x3::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc2x3::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -14916,7 +14916,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc2x3::IfcGridAxis > IntersectingAxes() const; @@ -14925,14 +14925,14 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; class IFC_PARSE_API IfcWaterProperties : public IfcMaterialProperties { public: IfcWaterProperties() {} - explicit IfcWaterProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} + explicit IfcWaterProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} std::optional< bool > IsPotable() const; void setIsPotable(const std::optional< bool >& v); @@ -14949,47 +14949,47 @@ public: std::optional< double > DissolvedSolidsContent() const; void setDissolvedSolidsContent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< bool > v2_IsPotable, std::optional< double > v3_Hardness, std::optional< double > v4_AlkalinityConcentration, std::optional< double > v5_AcidityConcentration, std::optional< double > v6_ImpuritiesContent, std::optional< double > v7_PHLevel, std::optional< double > v8_DissolvedSolidsContent); }; class IFC_PARSE_API IfcAnnotationOccurrence : public IfcStyledItem { public: IfcAnnotationOccurrence() {} - explicit IfcAnnotationOccurrence (const std::weak_ptr& data) : IfcStyledItem(data) {} + explicit IfcAnnotationOccurrence (const std::weak_ptr& data) : IfcStyledItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name); }; class IFC_PARSE_API IfcAnnotationSurfaceOccurrence : public IfcAnnotationOccurrence { public: IfcAnnotationSurfaceOccurrence() {} - explicit IfcAnnotationSurfaceOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} + explicit IfcAnnotationSurfaceOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name); }; class IFC_PARSE_API IfcAnnotationSymbolOccurrence : public IfcAnnotationOccurrence { public: IfcAnnotationSymbolOccurrence() {} - explicit IfcAnnotationSymbolOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} + explicit IfcAnnotationSymbolOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name); }; class IFC_PARSE_API IfcAnnotationTextOccurrence : public IfcAnnotationOccurrence { public: IfcAnnotationTextOccurrence() {} - explicit IfcAnnotationTextOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} + explicit IfcAnnotationTextOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -15013,13 +15013,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc2x3::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc2x3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -15040,13 +15040,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc2x3::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc2x3::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -15071,13 +15071,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc2x3::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc2x3::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcCurve v3_OuterCurve, std::vector< ::Ifc2x3::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -15092,7 +15092,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -15101,7 +15101,7 @@ public: bool RasterCode() const; void setRasterCode(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::string v5_RasterFormat, bool v6_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -15136,13 +15136,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -15169,13 +15169,13 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc2x3::IfcClassification ReferencedSource() const; void setReferencedSource(const ::Ifc2x3::IfcClassification& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name, ::Ifc2x3::IfcClassification v4_ReferencedSource); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -15189,7 +15189,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -15207,7 +15207,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -15218,7 +15218,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -15228,7 +15228,7 @@ public: std::vector< ::Ifc2x3::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc2x3::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc2x3::IfcProperty > v4_HasProperties); }; /// The IfcCompositeProfileDef @@ -15270,7 +15270,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc2x3::IfcProfileDef > Profiles() const; @@ -15279,7 +15279,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc2x3::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -15294,13 +15294,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc2x3::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc2x3::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -15319,7 +15319,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc2x3::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -15328,7 +15328,7 @@ public: ::Ifc2x3::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc2x3::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc2x3::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -15353,7 +15353,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -15365,7 +15365,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc2x3::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -15378,13 +15378,13 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDimensionalExponents v1_Dimensions, ::Ifc2x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -15437,7 +15437,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -15446,7 +15446,7 @@ public: ::Ifc2x3::IfcMeasureWithUnit ConversionFactor() const; void setConversionFactor(const ::Ifc2x3::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDimensionalExponents v1_Dimensions, ::Ifc2x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc2x3::IfcMeasureWithUnit v4_ConversionFactor); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -15469,7 +15469,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc2x3::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -15481,7 +15481,7 @@ public: ::Ifc2x3::IfcColour CurveColour() const; void setCurveColour(const ::Ifc2x3::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc2x3::IfcSizeSelect v3_CurveWidth, ::Ifc2x3::IfcColour v4_CurveColour); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -15571,7 +15571,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc2x3::IfcProfileDef ParentProfile() const; @@ -15583,27 +15583,27 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcProfileDef v3_ParentProfile, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; class IFC_PARSE_API IfcDimensionCalloutRelationship : public IfcDraughtingCalloutRelationship { public: IfcDimensionCalloutRelationship() {} - explicit IfcDimensionCalloutRelationship (const std::weak_ptr& data) : IfcDraughtingCalloutRelationship(data) {} + explicit IfcDimensionCalloutRelationship (const std::weak_ptr& data) : IfcDraughtingCalloutRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDraughtingCallout v3_RelatingDraughtingCallout, ::Ifc2x3::IfcDraughtingCallout v4_RelatedDraughtingCallout); }; class IFC_PARSE_API IfcDimensionPair : public IfcDraughtingCalloutRelationship { public: IfcDimensionPair() {} - explicit IfcDimensionPair (const std::weak_ptr& data) : IfcDraughtingCalloutRelationship(data) {} + explicit IfcDimensionPair (const std::weak_ptr& data) : IfcDraughtingCalloutRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDraughtingCallout v3_RelatingDraughtingCallout, ::Ifc2x3::IfcDraughtingCallout v4_RelatedDraughtingCallout); }; /// An IfcDocumentReference is a reference @@ -15620,11 +15620,11 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} std::vector< IfcDocumentInformation > ReferenceToDocument() const; // INVERSE IfcDocumentInformation::DocumentReferences - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_ItemReference, std::optional< std::string > v3_Name); }; /// The draughting pre defined text font is a pre defined text font for the purpose to identify a font by name. Allowable names are: @@ -15640,10 +15640,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedTextFont : public IfcPreDefinedTextFont { public: IfcDraughtingPreDefinedTextFont() {} - explicit IfcDraughtingPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcDraughtingPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -15698,7 +15698,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc2x3::IfcVertex EdgeStart() const; @@ -15707,7 +15707,7 @@ public: ::Ifc2x3::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc2x3::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcVertex v1_EdgeStart, ::Ifc2x3::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -15746,7 +15746,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc2x3::IfcCurve EdgeGeometry() const; @@ -15755,7 +15755,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcVertex v1_EdgeStart, ::Ifc2x3::IfcVertex v2_EdgeEnd, ::Ifc2x3::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// The IfcExtendedMaterialProperties assign a set of @@ -15796,7 +15796,7 @@ public: class IFC_PARSE_API IfcExtendedMaterialProperties : public IfcMaterialProperties { public: IfcExtendedMaterialProperties() {} - explicit IfcExtendedMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} + explicit IfcExtendedMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} std::vector< ::Ifc2x3::IfcProperty > ExtendedProperties() const; void setExtendedProperties(const std::vector< ::Ifc2x3::IfcProperty >& v); @@ -15805,7 +15805,7 @@ public: std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::vector< ::Ifc2x3::IfcProperty > v2_ExtendedProperties, std::optional< std::string > v3_Description, std::string v4_Name); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -15855,13 +15855,13 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc2x3::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc2x3::IfcFaceBound >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -15872,7 +15872,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc2x3::IfcLoop Bound() const; @@ -15881,7 +15881,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -15892,10 +15892,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -15937,7 +15937,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc2x3::IfcSurface FaceSurface() const; @@ -15946,7 +15946,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcFaceBound > v1_Bounds, ::Ifc2x3::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -15959,7 +15959,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -15980,7 +15980,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -16020,20 +16020,20 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc2x3::IfcFillStyleSelect > FillStyles() const; void setFillStyles(const std::vector< ::Ifc2x3::IfcFillStyleSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc2x3::IfcFillStyleSelect > v2_FillStyles); }; class IFC_PARSE_API IfcFuelProperties : public IfcMaterialProperties { public: IfcFuelProperties() {} - explicit IfcFuelProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} + explicit IfcFuelProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} std::optional< double > CombustionTemperature() const; void setCombustionTemperature(const std::optional< double >& v); @@ -16044,14 +16044,14 @@ public: std::optional< double > HigherHeatingValue() const; void setHigherHeatingValue(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_CombustionTemperature, std::optional< double > v3_CarbonContent, std::optional< double > v4_LowerHeatingValue, std::optional< double > v5_HigherHeatingValue); }; class IFC_PARSE_API IfcGeneralMaterialProperties : public IfcMaterialProperties { public: IfcGeneralMaterialProperties() {} - explicit IfcGeneralMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} + explicit IfcGeneralMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} std::optional< double > MolecularWeight() const; void setMolecularWeight(const std::optional< double >& v); @@ -16060,14 +16060,14 @@ public: std::optional< double > MassDensity() const; void setMassDensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_MolecularWeight, std::optional< double > v3_Porosity, std::optional< double > v4_MassDensity); }; class IFC_PARSE_API IfcGeneralProfileProperties : public IfcProfileProperties { public: IfcGeneralProfileProperties() {} - explicit IfcGeneralProfileProperties (const std::weak_ptr& data) : IfcProfileProperties(data) {} + explicit IfcGeneralProfileProperties (const std::weak_ptr& data) : IfcProfileProperties(data) {} std::optional< double > PhysicalWeight() const; void setPhysicalWeight(const std::optional< double >& v); @@ -16080,7 +16080,7 @@ public: std::optional< double > CrossSectionArea() const; void setCrossSectionArea(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition, std::optional< double > v3_PhysicalWeight, std::optional< double > v4_Perimeter, std::optional< double > v5_MinimumPlateThickness, std::optional< double > v6_MaximumPlateThickness, std::optional< double > v7_CrossSectionArea); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -16133,7 +16133,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -16151,7 +16151,7 @@ public: void setTrueNorth(const ::Ifc2x3::IfcDirection& v); std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc2x3::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc2x3::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -16176,10 +16176,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -16198,7 +16198,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc2x3::IfcGeometricRepresentationContext ParentContext() const; @@ -16223,7 +16223,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc2x3::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc2x3::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -16236,13 +16236,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc2x3::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc2x3::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -16293,7 +16293,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc2x3::IfcVirtualGridIntersection PlacementLocation() const; @@ -16304,7 +16304,7 @@ public: ::Ifc2x3::IfcVirtualGridIntersection PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc2x3::IfcVirtualGridIntersection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcVirtualGridIntersection v1_PlacementLocation, ::Ifc2x3::IfcVirtualGridIntersection v2_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -16325,7 +16325,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc2x3::IfcSurface BaseSurface() const; @@ -16334,14 +16334,14 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; class IFC_PARSE_API IfcHygroscopicMaterialProperties : public IfcMaterialProperties { public: IfcHygroscopicMaterialProperties() {} - explicit IfcHygroscopicMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} + explicit IfcHygroscopicMaterialProperties (const std::weak_ptr& data) : IfcMaterialProperties(data) {} std::optional< double > UpperVaporResistanceFactor() const; void setUpperVaporResistanceFactor(const std::optional< double >& v); @@ -16354,7 +16354,7 @@ public: std::optional< double > MoistureDiffusivity() const; void setMoistureDiffusivity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_UpperVaporResistanceFactor, std::optional< double > v3_LowerVaporResistanceFactor, std::optional< double > v4_IsothermalMoistureCapacity, std::optional< double > v5_VaporPermeability, std::optional< double > v6_MoistureDiffusivity); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -16395,13 +16395,13 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string UrlReference() const; void setUrlReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::string v5_UrlReference); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -16412,13 +16412,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc2x3::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc2x3::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDateTimeSelect v3_StartTime, ::Ifc2x3::IfcDateTimeSelect v4_EndTime, ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc2x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc2x3::IfcUnit v8_Unit, std::vector< ::Ifc2x3::IfcIrregularTimeSeriesValue > v9_Values); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -16431,7 +16431,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -16447,7 +16447,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -16460,10 +16460,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -16478,14 +16478,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc2x3::IfcDirection Orientation() const; void setOrientation(const ::Ifc2x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc2x3::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -16498,7 +16498,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc2x3::IfcAxis2Placement3D Position() const; @@ -16519,7 +16519,7 @@ public: ::Ifc2x3::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc2x3::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc2x3::IfcAxis2Placement3D v5_Position, ::Ifc2x3::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc2x3::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc2x3::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -16540,7 +16540,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -16560,7 +16560,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc2x3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -16581,7 +16581,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -16599,7 +16599,7 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc2x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc2x3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc2x3::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -16657,7 +16657,7 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Reference to Object that provides the relative placement by its local coordinate system. If it is omitted, then the local placement is given to the WCS, established by the geometric representation context. ::Ifc2x3::IfcObjectPlacement PlacementRelTo() const; @@ -16666,7 +16666,7 @@ public: ::Ifc2x3::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc2x3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc2x3::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -16698,10 +16698,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -16726,7 +16726,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc2x3::IfcRepresentationMap MappingSource() const; @@ -16735,7 +16735,7 @@ public: ::Ifc2x3::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc2x3::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationMap v1_MappingSource, ::Ifc2x3::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -16771,20 +16771,20 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc2x3::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc2x3::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcRepresentation > v3_Representations, ::Ifc2x3::IfcMaterial v4_RepresentedMaterial); }; class IFC_PARSE_API IfcMechanicalConcreteMaterialProperties : public IfcMechanicalMaterialProperties { public: IfcMechanicalConcreteMaterialProperties() {} - explicit IfcMechanicalConcreteMaterialProperties (const std::weak_ptr& data) : IfcMechanicalMaterialProperties(data) {} + explicit IfcMechanicalConcreteMaterialProperties (const std::weak_ptr& data) : IfcMechanicalMaterialProperties(data) {} std::optional< double > CompressiveStrength() const; void setCompressiveStrength(const std::optional< double >& v); @@ -16799,7 +16799,7 @@ public: std::optional< std::string > WaterImpermeability() const; void setWaterImpermeability(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcMaterial v1_Material, std::optional< double > v2_DynamicViscosity, std::optional< double > v3_YoungModulus, std::optional< double > v4_ShearModulus, std::optional< double > v5_PoissonRatio, std::optional< double > v6_ThermalExpansionCoefficient, std::optional< double > v7_CompressiveStrength, std::optional< double > v8_MaxAggregateSize, std::optional< std::string > v9_AdmixturesDescription, std::optional< std::string > v10_Workability, std::optional< double > v11_ProtectivePoreRatio, std::optional< std::string > v12_WaterImpermeability); }; /// An IfcObjectDefinition is the generalization of any @@ -16855,14 +16855,14 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelDecomposes > IsDecomposedBy() const; // INVERSE IfcRelDecomposes::RelatingObject std::vector< IfcRelDecomposes > Decomposes() const; // INVERSE IfcRelDecomposes::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-46:1992: A one time repeat factor is a vector used in the fill area style hatching and fill area style tiles entities for determining the origin of the repeated hatch line relative to the origin of the previous hatch line, Given the initial position of any hatch line, the one direction repeat factor determines two new positions according to the equation: @@ -16875,13 +16875,13 @@ public: class IFC_PARSE_API IfcOneDirectionRepeatFactor : public IfcGeometricRepresentationItem { public: IfcOneDirectionRepeatFactor() {} - explicit IfcOneDirectionRepeatFactor (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcOneDirectionRepeatFactor (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A vector which specifies the relative positioning of hatch lines. ::Ifc2x3::IfcVector RepeatFactor() const; void setRepeatFactor(const ::Ifc2x3::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcVector v1_RepeatFactor); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -16946,10 +16946,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -16962,7 +16962,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc2x3::IfcEdge EdgeElement() const; @@ -16971,7 +16971,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -17019,13 +17019,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc2x3::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc2x3::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -17045,13 +17045,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc2x3::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc2x3::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -17066,7 +17066,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc2x3::IfcPhysicalQuantity > HasQuantities() const; @@ -17081,7 +17081,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -17105,7 +17105,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -17122,7 +17122,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, ::Ifc2x3::IfcSurfaceTextureEnum::Value v3_TextureType, ::Ifc2x3::IfcCartesianTransformationOperator2D v4_TextureTransform, int v5_Width, int v6_Height, int v7_ColourComponents, std::vector< boost::dynamic_bitset<> > /*[1:?]*/ v8_Pixel); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -17137,13 +17137,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc2x3::IfcCartesianPoint Location() const; void setLocation(const ::Ifc2x3::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCartesianPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -17154,7 +17154,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -17163,7 +17163,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -17174,10 +17174,10 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -17192,7 +17192,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc2x3::IfcCurve BasisCurve() const; @@ -17201,7 +17201,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -17216,7 +17216,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc2x3::IfcSurface BasisSurface() const; @@ -17228,7 +17228,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -17273,13 +17273,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc2x3::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc2x3::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -17341,7 +17341,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc2x3::IfcAxis2Placement3D Position() const; @@ -17352,7 +17352,7 @@ public: ::Ifc2x3::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc2x3::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc2x3::IfcAxis2Placement3D v3_Position, ::Ifc2x3::IfcBoundedCurve v4_PolygonalBoundary); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -17363,10 +17363,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -17379,30 +17379,30 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedDimensionSymbol : public IfcPreDefinedSymbol { public: IfcPreDefinedDimensionSymbol() {} - explicit IfcPreDefinedDimensionSymbol (const std::weak_ptr& data) : IfcPreDefinedSymbol(data) {} + explicit IfcPreDefinedDimensionSymbol (const std::weak_ptr& data) : IfcPreDefinedSymbol(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedPointMarkerSymbol : public IfcPreDefinedSymbol { public: IfcPreDefinedPointMarkerSymbol() {} - explicit IfcPreDefinedPointMarkerSymbol (const std::weak_ptr& data) : IfcPreDefinedSymbol(data) {} + explicit IfcPreDefinedPointMarkerSymbol (const std::weak_ptr& data) : IfcPreDefinedSymbol(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -17420,12 +17420,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcRepresentation > v3_Representations); }; /// A property with a bounded @@ -17535,7 +17535,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc2x3::IfcValue UpperBoundValue() const; @@ -17547,7 +17547,7 @@ public: ::Ifc2x3::IfcUnit Unit() const; void setUnit(const ::Ifc2x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcValue v3_UpperBoundValue, ::Ifc2x3::IfcValue v4_LowerBoundValue, ::Ifc2x3::IfcUnit v5_Unit); }; /// IfcPropertyDefinition defines the generalization of @@ -17603,11 +17603,11 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A property with an enumerated @@ -17690,7 +17690,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -17701,7 +17701,7 @@ public: ::Ifc2x3::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc2x3::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcValue > v3_EnumerationValues, ::Ifc2x3::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -17772,7 +17772,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -17783,7 +17783,7 @@ public: ::Ifc2x3::IfcUnit Unit() const; void setUnit(const ::Ifc2x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcValue > v3_ListValues, ::Ifc2x3::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -17804,7 +17804,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -17815,7 +17815,7 @@ public: ::Ifc2x3::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc2x3::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc2x3::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySetDefinition is a generalization of all @@ -17863,12 +17863,12 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcRelDefinesByProperties > PropertyDefinitionOf() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The property with a single value @@ -17918,7 +17918,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -17931,7 +17931,7 @@ public: ::Ifc2x3::IfcUnit Unit() const; void setUnit(const ::Ifc2x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcValue v3_NominalValue, ::Ifc2x3::IfcUnit v4_Unit); }; /// A property with a range value @@ -18053,7 +18053,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -18075,7 +18075,7 @@ public: ::Ifc2x3::IfcUnit DefinedUnit() const; void setDefinedUnit(const ::Ifc2x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc2x3::IfcValue > v3_DefiningValues, std::vector< ::Ifc2x3::IfcValue > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc2x3::IfcUnit v6_DefiningUnit, ::Ifc2x3::IfcUnit v7_DefinedUnit); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -18115,7 +18115,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -18124,7 +18124,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -18135,7 +18135,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -18144,7 +18144,7 @@ public: std::vector< ::Ifc2x3::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc2x3::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc2x3::IfcDateTimeSelect v3_StartTime, ::Ifc2x3::IfcDateTimeSelect v4_EndTime, ::Ifc2x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc2x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc2x3::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc2x3::IfcTimeSeriesValue > v10_Values); }; /// Definition from IAI: An @@ -18176,7 +18176,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPropertySetDefinition { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -18185,7 +18185,7 @@ public: std::vector< ::Ifc2x3::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc2x3::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc2x3::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -18199,10 +18199,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -18245,13 +18245,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -18310,7 +18310,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc2x3::IfcCompositeCurve SpineCurve() const; @@ -18322,14 +18322,14 @@ public: std::vector< ::Ifc2x3::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc2x3::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc2x3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc2x3::IfcAxis2Placement3D > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcServiceLifeFactor : public IfcPropertySetDefinition { public: IfcServiceLifeFactor() {} - explicit IfcServiceLifeFactor (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcServiceLifeFactor (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} ::Ifc2x3::IfcServiceLifeFactorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcServiceLifeFactorTypeEnum::Value& v); @@ -18340,7 +18340,7 @@ public: ::Ifc2x3::IfcMeasureValue LowerValue() const; void setLowerValue(const ::Ifc2x3::IfcMeasureValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcServiceLifeFactorTypeEnum::Value v5_PredefinedType, ::Ifc2x3::IfcMeasureValue v6_UpperValue, ::Ifc2x3::IfcMeasureValue v7_MostUsedValue, ::Ifc2x3::IfcMeasureValue v8_LowerValue); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -18358,12 +18358,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc2x3::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc2x3::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcShell > v1_SbsmBoundary); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -18378,7 +18378,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -18390,7 +18390,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -18401,17 +18401,17 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcSoundProperties : public IfcPropertySetDefinition { public: IfcSoundProperties() {} - explicit IfcSoundProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcSoundProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} bool IsAttenuating() const; void setIsAttenuating(const bool& v); @@ -18420,14 +18420,14 @@ public: std::vector< ::Ifc2x3::IfcSoundValue > SoundValues() const; void setSoundValues(const std::vector< ::Ifc2x3::IfcSoundValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, bool v5_IsAttenuating, std::optional< ::Ifc2x3::IfcSoundScaleEnum::Value > v6_SoundScale, std::vector< ::Ifc2x3::IfcSoundValue > v7_SoundValues); }; class IFC_PARSE_API IfcSoundValue : public IfcPropertySetDefinition { public: IfcSoundValue() {} - explicit IfcSoundValue (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcSoundValue (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} ::Ifc2x3::IfcTimeSeries SoundLevelTimeSeries() const; void setSoundLevelTimeSeries(const ::Ifc2x3::IfcTimeSeries& v); @@ -18436,14 +18436,14 @@ public: ::Ifc2x3::IfcDerivedMeasureValue SoundLevelSingleValue() const; void setSoundLevelSingleValue(const ::Ifc2x3::IfcDerivedMeasureValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcTimeSeries v5_SoundLevelTimeSeries, double v6_Frequency, ::Ifc2x3::IfcDerivedMeasureValue v7_SoundLevelSingleValue); }; class IFC_PARSE_API IfcSpaceThermalLoadProperties : public IfcPropertySetDefinition { public: IfcSpaceThermalLoadProperties() {} - explicit IfcSpaceThermalLoadProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcSpaceThermalLoadProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} std::optional< double > ApplicableValueRatio() const; void setApplicableValueRatio(const std::optional< double >& v); @@ -18466,7 +18466,7 @@ public: ::Ifc2x3::IfcThermalLoadTypeEnum::Value ThermalLoadType() const; void setThermalLoadType(const ::Ifc2x3::IfcThermalLoadTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_ApplicableValueRatio, ::Ifc2x3::IfcThermalLoadSourceEnum::Value v6_ThermalLoadSource, ::Ifc2x3::IfcPropertySourceEnum::Value v7_PropertySource, std::optional< std::string > v8_SourceDescription, double v9_MaximumValue, std::optional< double > v10_MinimumValue, ::Ifc2x3::IfcTimeSeries v11_ThermalLoadTimeSeriesValues, std::optional< std::string > v12_UserDefinedThermalLoadSource, std::optional< std::string > v13_UserDefinedPropertySource, ::Ifc2x3::IfcThermalLoadTypeEnum::Value v14_ThermalLoadType); }; /// Definition from IAI: An instance of the entity @@ -18477,7 +18477,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -18498,7 +18498,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -18509,7 +18509,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -18521,7 +18521,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -18532,7 +18532,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -18553,7 +18553,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -18562,13 +18562,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -18580,7 +18580,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -18601,7 +18601,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -18615,20 +18615,20 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; class IFC_PARSE_API IfcStructuralProfileProperties : public IfcGeneralProfileProperties { public: IfcStructuralProfileProperties() {} - explicit IfcStructuralProfileProperties (const std::weak_ptr& data) : IfcGeneralProfileProperties(data) {} + explicit IfcStructuralProfileProperties (const std::weak_ptr& data) : IfcGeneralProfileProperties(data) {} std::optional< double > TorsionalConstantX() const; void setTorsionalConstantX(const std::optional< double >& v); @@ -18663,14 +18663,14 @@ public: std::optional< double > CentreOfGravityInY() const; void setCentreOfGravityInY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition, std::optional< double > v3_PhysicalWeight, std::optional< double > v4_Perimeter, std::optional< double > v5_MinimumPlateThickness, std::optional< double > v6_MaximumPlateThickness, std::optional< double > v7_CrossSectionArea, std::optional< double > v8_TorsionalConstantX, std::optional< double > v9_MomentOfInertiaYZ, std::optional< double > v10_MomentOfInertiaY, std::optional< double > v11_MomentOfInertiaZ, std::optional< double > v12_WarpingConstant, std::optional< double > v13_ShearCentreZ, std::optional< double > v14_ShearCentreY, std::optional< double > v15_ShearDeformationAreaZ, std::optional< double > v16_ShearDeformationAreaY, std::optional< double > v17_MaximumSectionModulusY, std::optional< double > v18_MinimumSectionModulusY, std::optional< double > v19_MaximumSectionModulusZ, std::optional< double > v20_MinimumSectionModulusZ, std::optional< double > v21_TorsionalSectionModulus, std::optional< double > v22_CentreOfGravityInX, std::optional< double > v23_CentreOfGravityInY); }; class IFC_PARSE_API IfcStructuralSteelProfileProperties : public IfcStructuralProfileProperties { public: IfcStructuralSteelProfileProperties() {} - explicit IfcStructuralSteelProfileProperties (const std::weak_ptr& data) : IfcStructuralProfileProperties(data) {} + explicit IfcStructuralSteelProfileProperties (const std::weak_ptr& data) : IfcStructuralProfileProperties(data) {} std::optional< double > ShearAreaZ() const; void setShearAreaZ(const std::optional< double >& v); @@ -18681,7 +18681,7 @@ public: std::optional< double > PlasticShapeFactorZ() const; void setPlasticShapeFactorZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ProfileName, ::Ifc2x3::IfcProfileDef v2_ProfileDefinition, std::optional< double > v3_PhysicalWeight, std::optional< double > v4_Perimeter, std::optional< double > v5_MinimumPlateThickness, std::optional< double > v6_MaximumPlateThickness, std::optional< double > v7_CrossSectionArea, std::optional< double > v8_TorsionalConstantX, std::optional< double > v9_MomentOfInertiaYZ, std::optional< double > v10_MomentOfInertiaY, std::optional< double > v11_MomentOfInertiaZ, std::optional< double > v12_WarpingConstant, std::optional< double > v13_ShearCentreZ, std::optional< double > v14_ShearCentreY, std::optional< double > v15_ShearDeformationAreaZ, std::optional< double > v16_ShearDeformationAreaY, std::optional< double > v17_MaximumSectionModulusY, std::optional< double > v18_MinimumSectionModulusY, std::optional< double > v19_MaximumSectionModulusZ, std::optional< double > v20_MinimumSectionModulusZ, std::optional< double > v21_TorsionalSectionModulus, std::optional< double > v22_CentreOfGravityInX, std::optional< double > v23_CentreOfGravityInY, std::optional< double > v24_ShearAreaZ, std::optional< double > v25_ShearAreaY, std::optional< double > v26_PlasticShapeFactorY, std::optional< double > v27_PlasticShapeFactorZ); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -18697,13 +18697,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc2x3::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc2x3::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcVertex v1_EdgeStart, ::Ifc2x3::IfcVertex v2_EdgeEnd, ::Ifc2x3::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -18719,10 +18719,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -18773,7 +18773,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// Definition from ISO/CD 10303-46: The degree of transparency is indicated by the percentage of light traversing the surface. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The transparency field specifies how "clear" an object is, with 1.0 being completely transparent, and 0.0 completely opaque. If not given, the value 0.0 (opaque) is assumed. @@ -18811,7 +18811,7 @@ public: ::Ifc2x3::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc2x3::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc2x3::IfcColourOrFactor v3_DiffuseColour, ::Ifc2x3::IfcColourOrFactor v4_TransmissionColour, ::Ifc2x3::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc2x3::IfcColourOrFactor v6_ReflectionColour, ::Ifc2x3::IfcColourOrFactor v7_SpecularColour, ::Ifc2x3::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc2x3::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -18835,7 +18835,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc2x3::IfcProfileDef SweptArea() const; @@ -18844,7 +18844,7 @@ public: ::Ifc2x3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc2x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileDef v1_SweptArea, ::Ifc2x3::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -18903,7 +18903,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc2x3::IfcCurve Directrix() const; @@ -18925,7 +18925,7 @@ public: double EndParam() const; void setEndParam(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, double v4_StartParam, double v5_EndParam); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -18936,7 +18936,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc2x3::IfcProfileDef SweptCurve() const; @@ -18945,7 +18945,7 @@ public: ::Ifc2x3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc2x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileDef v1_SweptCurve, ::Ifc2x3::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -18979,7 +18979,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -19011,19 +19011,19 @@ public: std::optional< double > CentreOfGravityInY() const; void setCentreOfGravityInY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope, std::optional< double > v13_CentreOfGravityInY); }; class IFC_PARSE_API IfcTerminatorSymbol : public IfcAnnotationSymbolOccurrence { public: IfcTerminatorSymbol() {} - explicit IfcTerminatorSymbol (const std::weak_ptr& data) : IfcAnnotationSymbolOccurrence(data) {} + explicit IfcTerminatorSymbol (const std::weak_ptr& data) : IfcAnnotationSymbolOccurrence(data) {} ::Ifc2x3::IfcAnnotationCurveOccurrence AnnotatedCurve() const; void setAnnotatedCurve(const ::Ifc2x3::IfcAnnotationCurveOccurrence& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name, ::Ifc2x3::IfcAnnotationCurveOccurrence v4_AnnotatedCurve); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -19039,7 +19039,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -19052,7 +19052,7 @@ public: ::Ifc2x3::IfcTextPath::Value Path() const; void setPath(const ::Ifc2x3::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc2x3::IfcAxis2Placement v2_Placement, ::Ifc2x3::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -19067,7 +19067,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc2x3::IfcPlanarExtent Extent() const; @@ -19076,7 +19076,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc2x3::IfcAxis2Placement v2_Placement, ::Ifc2x3::IfcTextPath::Value v3_Path, ::Ifc2x3::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -19120,7 +19120,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -19135,7 +19135,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// Definition from ISO/CD 10303-46:1992: A two direction repeat factor combines two vectors which are used in the fill area style tiles entity for determining the shape and relative location of tiles. Given the initial position of any tile, the two direction repeat factor determines eight new positions according to the equation: @@ -19149,13 +19149,13 @@ public: class IFC_PARSE_API IfcTwoDirectionRepeatFactor : public IfcOneDirectionRepeatFactor { public: IfcTwoDirectionRepeatFactor() {} - explicit IfcTwoDirectionRepeatFactor (const std::weak_ptr& data) : IfcOneDirectionRepeatFactor(data) {} + explicit IfcTwoDirectionRepeatFactor (const std::weak_ptr& data) : IfcOneDirectionRepeatFactor(data) {} /// A vector which specifies the relative positioning of tiles in the second direction. ::Ifc2x3::IfcVector SecondRepeatFactor() const; void setSecondRepeatFactor(const ::Ifc2x3::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcVector v1_RepeatFactor, ::Ifc2x3::IfcVector v2_SecondRepeatFactor); }; /// The object type defines the @@ -19192,7 +19192,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -19210,7 +19210,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > ObjectTypeOf() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProduct defines a type @@ -19282,7 +19282,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > RepresentationMaps() const; @@ -19291,7 +19291,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcUShapeProfileDef defines @@ -19325,7 +19325,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -19351,7 +19351,7 @@ public: std::optional< double > CentreOfGravityInX() const; void setCentreOfGravityInX(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope, std::optional< double > v11_CentreOfGravityInX); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -19364,7 +19364,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc2x3::IfcDirection Orientation() const; @@ -19373,7 +19373,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -19391,13 +19391,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc2x3::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc2x3::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcVertex v1_LoopVertex); }; /// The window lining is the outer @@ -19501,7 +19501,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPropertySetDefinition { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -19533,7 +19533,7 @@ public: ::Ifc2x3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc2x3::IfcShapeAspect v13_ShapeAspectStyle); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -19584,7 +19584,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPropertySetDefinition { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc2x3::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -19604,7 +19604,7 @@ public: ::Ifc2x3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc2x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc2x3::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition: The window style defines a particular style of windows, which may be included into the spatial context of the building model through instances of IfcWindow. A window style defines the overall parameter of the window style and refers to the particular parameter of the lining and one (or several) panels through IfcWindowLiningProperties and IfcWindowPanelProperties. @@ -19628,7 +19628,7 @@ public: class IFC_PARSE_API IfcWindowStyle : public IfcTypeProduct { public: IfcWindowStyle() {} - explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the basic construction and material type of the window. ::Ifc2x3::IfcWindowStyleConstructionEnum::Value ConstructionType() const; @@ -19643,7 +19643,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc2x3::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// IfcZShapeProfileDef defines @@ -19674,7 +19674,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -19695,17 +19695,17 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; class IFC_PARSE_API IfcAnnotationCurveOccurrence : public IfcAnnotationOccurrence { public: IfcAnnotationCurveOccurrence() {} - explicit IfcAnnotationCurveOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} + explicit IfcAnnotationCurveOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -19731,7 +19731,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -19744,35 +19744,35 @@ public: std::optional< std::vector< ::Ifc2x3::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc2x3::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc2x3::IfcCurve > > v2_InnerBoundaries); }; class IFC_PARSE_API IfcAnnotationFillAreaOccurrence : public IfcAnnotationOccurrence { public: IfcAnnotationFillAreaOccurrence() {} - explicit IfcAnnotationFillAreaOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} + explicit IfcAnnotationFillAreaOccurrence (const std::weak_ptr& data) : IfcAnnotationOccurrence(data) {} ::Ifc2x3::IfcPoint FillStyleTarget() const; void setFillStyleTarget(const ::Ifc2x3::IfcPoint& v); std::optional< ::Ifc2x3::IfcGlobalOrLocalEnum::Value > GlobalOrLocal() const; void setGlobalOrLocal(const std::optional< ::Ifc2x3::IfcGlobalOrLocalEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name, ::Ifc2x3::IfcPoint v4_FillStyleTarget, std::optional< ::Ifc2x3::IfcGlobalOrLocalEnum::Value > v5_GlobalOrLocal); }; class IFC_PARSE_API IfcAnnotationSurface : public IfcGeometricRepresentationItem { public: IfcAnnotationSurface() {} - explicit IfcAnnotationSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc2x3::IfcGeometricRepresentationItem Item() const; void setItem(const ::Ifc2x3::IfcGeometricRepresentationItem& v); ::Ifc2x3::IfcTextureCoordinate TextureCoordinates() const; void setTextureCoordinates(const ::Ifc2x3::IfcTextureCoordinate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcGeometricRepresentationItem v1_Item, ::Ifc2x3::IfcTextureCoordinate v2_TextureCoordinates); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -19787,13 +19787,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc2x3::IfcDirection Axis() const; void setAxis(const ::Ifc2x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCartesianPoint v1_Location, ::Ifc2x3::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -19810,13 +19810,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc2x3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc2x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCartesianPoint v1_Location, ::Ifc2x3::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -19835,7 +19835,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc2x3::IfcDirection Axis() const; @@ -19844,7 +19844,7 @@ public: ::Ifc2x3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc2x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCartesianPoint v1_Location, ::Ifc2x3::IfcDirection v2_Axis, ::Ifc2x3::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -19876,7 +19876,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc2x3::IfcBooleanOperator::Value Operator() const; @@ -19888,7 +19888,7 @@ public: ::Ifc2x3::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc2x3::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcBooleanOperator::Value v1_Operator, ::Ifc2x3::IfcBooleanOperand v2_FirstOperand, ::Ifc2x3::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -19906,10 +19906,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -19937,7 +19937,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc2x3::IfcCartesianPoint Corner() const; @@ -19952,7 +19952,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -19988,13 +19988,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc2x3::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc2x3::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc2x3::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -20022,7 +20022,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -20042,7 +20042,7 @@ public: std::optional< double > CentreOfGravityInX() const; void setCentreOfGravityInX(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius, std::optional< double > v9_CentreOfGravityInX); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -20055,13 +20055,13 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -20097,7 +20097,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc2x3::IfcDirection Axis1() const; @@ -20112,7 +20112,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -20123,10 +20123,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -20142,13 +20142,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -20159,13 +20159,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc2x3::IfcDirection Axis3() const; void setAxis3(const ::Ifc2x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc2x3::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -20182,7 +20182,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -20191,7 +20191,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDirection v1_Axis1, ::Ifc2x3::IfcDirection v2_Axis2, ::Ifc2x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc2x3::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -20209,13 +20209,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -20270,10 +20270,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -20286,7 +20286,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcGeometricRepresentationItem { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The state of transition (i.e., geometric continuity from the last point of this segment to the first point of the next segment) in a composite curve. ::Ifc2x3::IfcTransitionCode::Value Transition() const; @@ -20301,14 +20301,14 @@ public: void setParentCurve(const ::Ifc2x3::IfcCurve& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc2x3::IfcCurve v3_ParentCurve); }; class IFC_PARSE_API IfcCraneRailAShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCraneRailAShapeProfileDef() {} - explicit IfcCraneRailAShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCraneRailAShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double OverallHeight() const; void setOverallHeight(const double& v); @@ -20335,14 +20335,14 @@ public: std::optional< double > CentreOfGravityInY() const; void setCentreOfGravityInY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallHeight, double v5_BaseWidth2, std::optional< double > v6_Radius, double v7_HeadWidth, double v8_HeadDepth2, double v9_HeadDepth3, double v10_WebThickness, double v11_BaseWidth4, double v12_BaseDepth1, double v13_BaseDepth2, double v14_BaseDepth3, std::optional< double > v15_CentreOfGravityInY); }; class IFC_PARSE_API IfcCraneRailFShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCraneRailFShapeProfileDef() {} - explicit IfcCraneRailFShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCraneRailFShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double OverallHeight() const; void setOverallHeight(const double& v); @@ -20363,7 +20363,7 @@ public: std::optional< double > CentreOfGravityInY() const; void setCentreOfGravityInY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallHeight, double v5_HeadWidth, std::optional< double > v6_Radius, double v7_HeadDepth2, double v8_HeadDepth3, double v9_WebThickness, double v10_BaseDepth1, double v11_BaseDepth2, std::optional< double > v12_CentreOfGravityInY); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -20374,13 +20374,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc2x3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc2x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -20427,13 +20427,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc2x3::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc2x3::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -20449,10 +20449,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -20471,7 +20471,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc2x3::IfcPlane BasisSurface() const; @@ -20483,7 +20483,7 @@ public: std::vector< ::Ifc2x3::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc2x3::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcPlane v1_BasisSurface, ::Ifc2x3::IfcCurve v2_OuterBoundary, std::vector< ::Ifc2x3::IfcCurve > v3_InnerBoundaries); }; /// A defined symbol is a symbolic representation that gets its shape information by an established convention, either through a predefined symbol, or an externally defined symbol. @@ -20496,7 +20496,7 @@ public: class IFC_PARSE_API IfcDefinedSymbol : public IfcGeometricRepresentationItem { public: IfcDefinedSymbol() {} - explicit IfcDefinedSymbol (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDefinedSymbol (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// An implicit description of the symbol, either predefined or externally defined. ::Ifc2x3::IfcDefinedSymbolSelect Definition() const; @@ -20505,30 +20505,30 @@ public: ::Ifc2x3::IfcCartesianTransformationOperator2D Target() const; void setTarget(const ::Ifc2x3::IfcCartesianTransformationOperator2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcDefinedSymbolSelect v1_Definition, ::Ifc2x3::IfcCartesianTransformationOperator2D v2_Target); }; class IFC_PARSE_API IfcDimensionCurve : public IfcAnnotationCurveOccurrence { public: IfcDimensionCurve() {} - explicit IfcDimensionCurve (const std::weak_ptr& data) : IfcAnnotationCurveOccurrence(data) {} + explicit IfcDimensionCurve (const std::weak_ptr& data) : IfcAnnotationCurveOccurrence(data) {} std::vector< IfcTerminatorSymbol > AnnotatedBySymbols() const; // INVERSE IfcTerminatorSymbol::AnnotatedCurve - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name); }; class IFC_PARSE_API IfcDimensionCurveTerminator : public IfcTerminatorSymbol { public: IfcDimensionCurveTerminator() {} - explicit IfcDimensionCurveTerminator (const std::weak_ptr& data) : IfcTerminatorSymbol(data) {} + explicit IfcDimensionCurveTerminator (const std::weak_ptr& data) : IfcTerminatorSymbol(data) {} ::Ifc2x3::IfcDimensionExtentUsage::Value Role() const; void setRole(const ::Ifc2x3::IfcDimensionExtentUsage::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name, ::Ifc2x3::IfcAnnotationCurveOccurrence v4_AnnotatedCurve, ::Ifc2x3::IfcDimensionExtentUsage::Value v5_Role); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -20541,13 +20541,13 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; /// The door lining is the frame which @@ -20648,7 +20648,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPropertySetDefinition { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -20686,7 +20686,7 @@ public: ::Ifc2x3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc2x3::IfcShapeAspect v15_ShapeAspectStyle); }; /// A door panel is normally a door leaf that opens to allow people or @@ -20737,7 +20737,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPropertySetDefinition { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -20757,7 +20757,7 @@ public: ::Ifc2x3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc2x3::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc2x3::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc2x3::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition: The door style, IfcDoorStyle, defines a particular style of doors, which may be included into the spatial context of the building model through instances of IfcDoor. A door style defines the overall parameter of the door style and refers to the particular parameter of the lining and one (or several) panels through the IfcDoorLiningProperties and the IfcDoorPanelProperties. @@ -20789,7 +20789,7 @@ public: class IFC_PARSE_API IfcDoorStyle : public IfcTypeProduct { public: IfcDoorStyle() {} - explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the general layout and operation of the door style. ::Ifc2x3::IfcDoorStyleOperationEnum::Value OperationType() const; @@ -20804,21 +20804,21 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc2x3::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; class IFC_PARSE_API IfcDraughtingCallout : public IfcGeometricRepresentationItem { public: IfcDraughtingCallout() {} - explicit IfcDraughtingCallout (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDraughtingCallout (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > Contents() const; void setContents(const std::vector< ::Ifc2x3::IfcDraughtingCalloutElement >& v); std::vector< IfcDraughtingCalloutRelationship > IsRelatedFromCallout() const; // INVERSE IfcDraughtingCalloutRelationship::RelatedDraughtingCallout std::vector< IfcDraughtingCalloutRelationship > IsRelatedToCallout() const; // INVERSE IfcDraughtingCalloutRelationship::RelatingDraughtingCallout - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -20896,10 +20896,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -20918,10 +20918,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -20938,13 +20938,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc2x3::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc2x3::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -21027,7 +21027,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcPropertySetDefinition { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -21038,7 +21038,7 @@ public: std::vector< ::Ifc2x3::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc2x3::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc2x3::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -21066,13 +21066,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -21083,13 +21083,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc2x3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc2x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -21111,7 +21111,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -21120,21 +21120,21 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; class IFC_PARSE_API IfcEnergyProperties : public IfcPropertySetDefinition { public: IfcEnergyProperties() {} - explicit IfcEnergyProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcEnergyProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value > EnergySequence() const; void setEnergySequence(const std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value >& v); std::optional< std::string > UserDefinedEnergySequence() const; void setUserDefinedEnergySequence(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value > v5_EnergySequence, std::optional< std::string > v6_UserDefinedEnergySequence); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -21208,7 +21208,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc2x3::IfcDirection ExtrudedDirection() const; @@ -21218,7 +21218,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileDef v1_SweptArea, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -21236,13 +21236,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc2x3::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc2x3::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -21295,7 +21295,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc2x3::IfcCurveStyle HatchLineAppearance() const; @@ -21321,7 +21321,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCurveStyle v1_HatchLineAppearance, ::Ifc2x3::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc2x3::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc2x3::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// The fill area style tile symbol with style is a symbol that is used as a tile within an annotated tiling. @@ -21334,7 +21334,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTileSymbolWithStyle : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTileSymbolWithStyle() {} - explicit IfcFillAreaStyleTileSymbolWithStyle (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTileSymbolWithStyle (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A styled item that is used as the annotation symbol for tiling the filled area. /// @@ -21344,7 +21344,7 @@ public: ::Ifc2x3::IfcAnnotationSymbolOccurrence Symbol() const; void setSymbol(const ::Ifc2x3::IfcAnnotationSymbolOccurrence& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAnnotationSymbolOccurrence v1_Symbol); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -21355,7 +21355,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. ::Ifc2x3::IfcOneDirectionRepeatFactor TilingPattern() const; @@ -21367,14 +21367,14 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcOneDirectionRepeatFactor v1_TilingPattern, std::vector< ::Ifc2x3::IfcFillAreaStyleTileShapeSelect > v2_Tiles, double v3_TilingScale); }; class IFC_PARSE_API IfcFluidFlowProperties : public IfcPropertySetDefinition { public: IfcFluidFlowProperties() {} - explicit IfcFluidFlowProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcFluidFlowProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} ::Ifc2x3::IfcPropertySourceEnum::Value PropertySource() const; void setPropertySource(const ::Ifc2x3::IfcPropertySourceEnum::Value& v); @@ -21407,7 +21407,7 @@ public: std::optional< double > PressureSingleValue() const; void setPressureSingleValue(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPropertySourceEnum::Value v5_PropertySource, ::Ifc2x3::IfcTimeSeries v6_FlowConditionTimeSeries, ::Ifc2x3::IfcTimeSeries v7_VelocityTimeSeries, ::Ifc2x3::IfcTimeSeries v8_FlowrateTimeSeries, ::Ifc2x3::IfcMaterial v9_Fluid, ::Ifc2x3::IfcTimeSeries v10_PressureTimeSeries, std::optional< std::string > v11_UserDefinedPropertySource, std::optional< double > v12_TemperatureSingleValue, std::optional< double > v13_WetBulbTemperatureSingleValue, ::Ifc2x3::IfcTimeSeries v14_WetBulbTemperatureTimeSeries, ::Ifc2x3::IfcTimeSeries v15_TemperatureTimeSeries, ::Ifc2x3::IfcDerivedMeasureValue v16_FlowrateSingleValue, std::optional< double > v17_FlowConditionSingleValue, std::optional< double > v18_VelocitySingleValue, std::optional< double > v19_PressureSingleValue); }; /// Definition from IAI: The @@ -21441,10 +21441,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -21487,13 +21487,13 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc2x3::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; void setAssemblyPlace(const ::Ifc2x3::IfcAssemblyPlaceEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -21506,10 +21506,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -21578,7 +21578,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -21596,7 +21596,7 @@ public: std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius); }; /// IfcLShapeProfileDef @@ -21653,7 +21653,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -21678,7 +21678,7 @@ public: std::optional< double > CentreOfGravityInY() const; void setCentreOfGravityInY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope, std::optional< double > v10_CentreOfGravityInX, std::optional< double > v11_CentreOfGravityInY); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -21697,7 +21697,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc2x3::IfcCartesianPoint Pnt() const; @@ -21706,7 +21706,7 @@ public: ::Ifc2x3::IfcVector Dir() const; void setDir(const ::Ifc2x3::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCartesianPoint v1_Pnt, ::Ifc2x3::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -21775,13 +21775,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc2x3::IfcClosedShell Outer() const; void setOuter(const ::Ifc2x3::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -21869,14 +21869,14 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; void setObjectType(const std::optional< std::string >& v); std::vector< IfcRelDefines > IsDefinedBy() const; // INVERSE IfcRelDefines::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -21893,7 +21893,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcCurve(data) {} /// The curve that is being offset. ::Ifc2x3::IfcCurve BasisCurve() const; @@ -21905,7 +21905,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -21926,7 +21926,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcCurve(data) {} /// The curve that is being offset. ::Ifc2x3::IfcCurve BasisCurve() const; @@ -21941,7 +21941,7 @@ public: ::Ifc2x3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc2x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc2x3::IfcDirection v4_RefDirection); }; /// This entity is a description of a panel within a @@ -21978,7 +21978,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPropertySetDefinition { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc2x3::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -21996,7 +21996,7 @@ public: ::Ifc2x3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc2x3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc2x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc2x3::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -22008,14 +22008,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc2x3::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc2x3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc2x3::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -22057,10 +22057,10 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO9000: A process is a set of @@ -22106,13 +22106,13 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelSequence > IsPredecessorTo() const; // INVERSE IfcRelSequence::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// Any object that relates to a @@ -22209,7 +22209,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc2x3::IfcObjectPlacement ObjectPlacement() const; @@ -22219,7 +22219,7 @@ public: void setRepresentation(const ::Ifc2x3::IfcProductRepresentation& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -22269,7 +22269,7 @@ public: class IFC_PARSE_API IfcProject : public IfcObject { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcObject(data) {} std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); @@ -22280,17 +22280,17 @@ public: ::Ifc2x3::IfcUnitAssignment UnitsInContext() const; void setUnitsInContext(const ::Ifc2x3::IfcUnitAssignment& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::vector< ::Ifc2x3::IfcRepresentationContext > v8_RepresentationContexts, ::Ifc2x3::IfcUnitAssignment v9_UnitsInContext); }; class IFC_PARSE_API IfcProjectionCurve : public IfcAnnotationCurveOccurrence { public: IfcProjectionCurve() {} - explicit IfcProjectionCurve (const std::weak_ptr& data) : IfcAnnotationCurveOccurrence(data) {} + explicit IfcProjectionCurve (const std::weak_ptr& data) : IfcAnnotationCurveOccurrence(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc2x3::IfcPresentationStyleAssignment > v2_Styles, std::optional< std::string > v3_Name); }; /// IfcPropertySet defines all dynamically extensible @@ -22349,13 +22349,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc2x3::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc2x3::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcProperty > v5_HasProperties); }; /// IfcProxy is intended to be a kind of a container for wrapping objects which are defined by associated properties, which may or may not have a geometric representation and placement in space. A proxy may have a semantic meaning, defined by the Name attribute, and property definitions, attached through the property assignment relationship, which definition may be outside of the definitions given by the current release of IFC. @@ -22377,7 +22377,7 @@ public: class IFC_PARSE_API IfcProxy : public IfcProduct { public: IfcProxy() {} - explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} /// High level (and only) semantic meaning attached to the IfcProxy, defining the basic construct type behind the Proxy, e.g. Product or Process. ::Ifc2x3::IfcObjectTypeEnum::Value ProxyType() const; @@ -22386,7 +22386,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -22412,7 +22412,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -22424,7 +22424,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -22518,7 +22518,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -22530,7 +22530,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -22551,7 +22551,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc2x3::IfcSurface BasisSurface() const; @@ -22575,7 +22575,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -22592,7 +22592,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc2x3::IfcObjectDefinition > RelatedObjects() const; @@ -22602,7 +22602,7 @@ public: std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -22617,7 +22617,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc2x3::IfcActor RelatingActor() const; @@ -22626,7 +22626,7 @@ public: ::Ifc2x3::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc2x3::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcActor v7_RelatingActor, ::Ifc2x3::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -22637,13 +22637,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc2x3::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc2x3::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -22662,13 +22662,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc2x3::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc2x3::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -22696,7 +22696,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -22707,7 +22707,7 @@ public: ::Ifc2x3::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc2x3::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcProcess v7_RelatingProcess, ::Ifc2x3::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -22721,7 +22721,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -22729,17 +22729,17 @@ public: ::Ifc2x3::IfcProduct RelatingProduct() const; void setRelatingProduct(const ::Ifc2x3::IfcProduct& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcProduct v7_RelatingProduct); }; class IFC_PARSE_API IfcRelAssignsToProjectOrder : public IfcRelAssignsToControl { public: IfcRelAssignsToProjectOrder() {} - explicit IfcRelAssignsToProjectOrder (const std::weak_ptr& data) : IfcRelAssignsToControl(data) {} + explicit IfcRelAssignsToProjectOrder (const std::weak_ptr& data) : IfcRelAssignsToControl(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -22751,7 +22751,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -22759,7 +22759,7 @@ public: ::Ifc2x3::IfcResource RelatingResource() const; void setRelatingResource(const ::Ifc2x3::IfcResource& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcResource v7_RelatingResource); }; /// The association relationship @@ -22806,7 +22806,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -22814,19 +22814,19 @@ public: std::vector< ::Ifc2x3::IfcRoot > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc2x3::IfcRoot >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects); }; class IFC_PARSE_API IfcRelAssociatesAppliedValue : public IfcRelAssociates { public: IfcRelAssociatesAppliedValue() {} - explicit IfcRelAssociatesAppliedValue (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesAppliedValue (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc2x3::IfcAppliedValue RelatingAppliedValue() const; void setRelatingAppliedValue(const ::Ifc2x3::IfcAppliedValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcAppliedValue v6_RelatingAppliedValue); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -22835,13 +22835,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc2x3::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc2x3::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -22877,13 +22877,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc2x3::IfcClassificationNotationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc2x3::IfcClassificationNotationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcClassificationNotationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -22892,7 +22892,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::string Intent() const; @@ -22901,7 +22901,7 @@ public: ::Ifc2x3::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc2x3::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, std::string v6_Intent, ::Ifc2x3::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -22914,13 +22914,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc2x3::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc2x3::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -22933,13 +22933,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc2x3::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc2x3::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -23039,20 +23039,20 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc2x3::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc2x3::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcMaterialSelect v6_RelatingMaterial); }; class IFC_PARSE_API IfcRelAssociatesProfileProperties : public IfcRelAssociates { public: IfcRelAssociatesProfileProperties() {} - explicit IfcRelAssociatesProfileProperties (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesProfileProperties (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc2x3::IfcProfileProperties RelatingProfileProperties() const; void setRelatingProfileProperties(const ::Ifc2x3::IfcProfileProperties& v); @@ -23061,7 +23061,7 @@ public: ::Ifc2x3::IfcOrientationSelect ProfileOrientation() const; void setProfileOrientation(const ::Ifc2x3::IfcOrientationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcRoot > v5_RelatedObjects, ::Ifc2x3::IfcProfileProperties v6_RelatingProfileProperties, ::Ifc2x3::IfcShapeAspect v7_ProfileSectionLocation, ::Ifc2x3::IfcOrientationSelect v8_ProfileOrientation); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -23070,10 +23070,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -23101,7 +23101,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc2x3::IfcConnectionGeometry ConnectionGeometry() const; @@ -23113,7 +23113,7 @@ public: ::Ifc2x3::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc2x3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc2x3::IfcElement v6_RelatingElement, ::Ifc2x3::IfcElement v7_RelatedElement); }; /// The @@ -23149,7 +23149,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -23164,7 +23164,7 @@ public: ::Ifc2x3::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc2x3::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc2x3::IfcElement v6_RelatingElement, ::Ifc2x3::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc2x3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc2x3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -23195,7 +23195,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc2x3::IfcPort RelatingPort() const; @@ -23206,7 +23206,7 @@ public: ::Ifc2x3::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc2x3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPort v5_RelatingPort, ::Ifc2x3::IfcElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -23225,7 +23225,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc2x3::IfcPort RelatingPort() const; @@ -23237,7 +23237,7 @@ public: ::Ifc2x3::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc2x3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcPort v5_RelatingPort, ::Ifc2x3::IfcPort v6_RelatedPort, ::Ifc2x3::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -23246,7 +23246,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc2x3::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -23255,21 +23255,21 @@ public: ::Ifc2x3::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc2x3::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc2x3::IfcStructuralActivity v6_RelatedStructuralActivity); }; class IFC_PARSE_API IfcRelConnectsStructuralElement : public IfcRelConnects { public: IfcRelConnectsStructuralElement() {} - explicit IfcRelConnectsStructuralElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralElement (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc2x3::IfcElement RelatingElement() const; void setRelatingElement(const ::Ifc2x3::IfcElement& v); ::Ifc2x3::IfcStructuralMember RelatedStructuralMember() const; void setRelatedStructuralMember(const ::Ifc2x3::IfcStructuralMember& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcElement v5_RelatingElement, ::Ifc2x3::IfcStructuralMember v6_RelatedStructuralMember); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -23299,7 +23299,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc2x3::IfcStructuralMember RelatingStructuralMember() const; @@ -23320,7 +23320,7 @@ public: ::Ifc2x3::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc2x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc2x3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc2x3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc2x3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc2x3::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -23343,13 +23343,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc2x3::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc2x3::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc2x3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc2x3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc2x3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc2x3::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc2x3::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -23378,7 +23378,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc2x3::IfcElement > RealizingElements() const; @@ -23387,7 +23387,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc2x3::IfcElement v6_RelatingElement, ::Ifc2x3::IfcElement v7_RelatedElement, std::vector< ::Ifc2x3::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -23453,7 +23453,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -23464,7 +23464,7 @@ public: ::Ifc2x3::IfcSpatialStructureElement RelatingStructure() const; void setRelatingStructure(const ::Ifc2x3::IfcSpatialStructureElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcProduct > v5_RelatedElements, ::Ifc2x3::IfcSpatialStructureElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -23486,7 +23486,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -23497,7 +23497,7 @@ public: std::vector< ::Ifc2x3::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc2x3::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc2x3::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -23529,7 +23529,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc2x3::IfcSpace RelatedSpace() const; void setRelatedSpace(const ::Ifc2x3::IfcSpace& v); @@ -23537,7 +23537,7 @@ public: std::vector< ::Ifc2x3::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc2x3::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcSpace v5_RelatedSpace, std::vector< ::Ifc2x3::IfcCovering > v6_RelatedCoverings); }; /// The decomposition relationship, @@ -23573,14 +23573,14 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} ::Ifc2x3::IfcObjectDefinition RelatingObject() const; void setRelatingObject(const ::Ifc2x3::IfcObjectDefinition& v); std::vector< ::Ifc2x3::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc2x3::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc2x3::IfcObjectDefinition > v6_RelatedObjects); }; /// A generic and abstract relationship which subtypes are used to: @@ -23613,12 +23613,12 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} std::vector< ::Ifc2x3::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc2x3::IfcObject >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObject > v5_RelatedObjects); }; /// The objectified relationship @@ -23639,13 +23639,13 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the property set definition for that object or set of objects. ::Ifc2x3::IfcPropertySetDefinition RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc2x3::IfcPropertySetDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObject > v5_RelatedObjects, ::Ifc2x3::IfcPropertySetDefinition v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -23720,13 +23720,13 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the type (or style) information for that object or set of objects. ::Ifc2x3::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc2x3::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObject > v5_RelatedObjects, ::Ifc2x3::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -23741,7 +23741,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc2x3::IfcOpeningElement RelatingOpeningElement() const; @@ -23752,7 +23752,7 @@ public: ::Ifc2x3::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc2x3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc2x3::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -23765,7 +23765,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc2x3::IfcDistributionControlElement > RelatedControlElements() const; @@ -23774,14 +23774,14 @@ public: ::Ifc2x3::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc2x3::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc2x3::IfcDistributionFlowElement v6_RelatingFlowElement); }; class IFC_PARSE_API IfcRelInteractionRequirements : public IfcRelConnects { public: IfcRelInteractionRequirements() {} - explicit IfcRelInteractionRequirements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInteractionRequirements (const std::weak_ptr& data) : IfcRelConnects(data) {} std::optional< double > DailyInteraction() const; void setDailyInteraction(const std::optional< double >& v); @@ -23794,7 +23794,7 @@ public: ::Ifc2x3::IfcSpaceProgram RelatingSpaceProgram() const; void setRelatingSpaceProgram(const ::Ifc2x3::IfcSpaceProgram& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_DailyInteraction, std::optional< double > v6_ImportanceRating, ::Ifc2x3::IfcSpatialStructureElement v7_LocationOfInteraction, ::Ifc2x3::IfcSpaceProgram v8_RelatedSpaceProgram, ::Ifc2x3::IfcSpaceProgram v9_RelatingSpaceProgram); }; /// The nesting relationship @@ -23825,32 +23825,32 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc2x3::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelOccupiesSpaces : public IfcRelAssignsToActor { public: IfcRelOccupiesSpaces() {} - explicit IfcRelOccupiesSpaces (const std::weak_ptr& data) : IfcRelAssignsToActor(data) {} + explicit IfcRelOccupiesSpaces (const std::weak_ptr& data) : IfcRelAssignsToActor(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcActor v7_RelatingActor, ::Ifc2x3::IfcActorRole v8_ActingRole); }; class IFC_PARSE_API IfcRelOverridesProperties : public IfcRelDefinesByProperties { public: IfcRelOverridesProperties() {} - explicit IfcRelOverridesProperties (const std::weak_ptr& data) : IfcRelDefinesByProperties(data) {} + explicit IfcRelOverridesProperties (const std::weak_ptr& data) : IfcRelDefinesByProperties(data) {} std::vector< ::Ifc2x3::IfcProperty > OverridingProperties() const; void setOverridingProperties(const std::vector< ::Ifc2x3::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObject > v5_RelatedObjects, ::Ifc2x3::IfcPropertySetDefinition v6_RelatingPropertyDefinition, std::vector< ::Ifc2x3::IfcProperty > v7_OverridingProperties); }; /// The IfcRelProjectsElement is an objectified relationship @@ -23888,7 +23888,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelConnects { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc2x3::IfcElement RelatingElement() const; @@ -23897,7 +23897,7 @@ public: ::Ifc2x3::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc2x3::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcElement v5_RelatingElement, ::Ifc2x3::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -23952,7 +23952,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -23964,17 +23964,17 @@ public: ::Ifc2x3::IfcSpatialStructureElement RelatingStructure() const; void setRelatingStructure(const ::Ifc2x3::IfcSpatialStructureElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcProduct > v5_RelatedElements, ::Ifc2x3::IfcSpatialStructureElement v6_RelatingStructure); }; class IFC_PARSE_API IfcRelSchedulesCostItems : public IfcRelAssignsToControl { public: IfcRelSchedulesCostItems() {} - explicit IfcRelSchedulesCostItems (const std::weak_ptr& data) : IfcRelAssignsToControl(data) {} + explicit IfcRelSchedulesCostItems (const std::weak_ptr& data) : IfcRelAssignsToControl(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl); }; /// IfcRelSequence is a @@ -24034,7 +24034,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc2x3::IfcProcess RelatingProcess() const; @@ -24051,7 +24051,7 @@ public: ::Ifc2x3::IfcSequenceEnum::Value SequenceType() const; void setSequenceType(const ::Ifc2x3::IfcSequenceEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcProcess v5_RelatingProcess, ::Ifc2x3::IfcProcess v6_RelatedProcess, double v7_TimeLag, ::Ifc2x3::IfcSequenceEnum::Value v8_SequenceType); }; /// Definition from IAI: An objectified relationship @@ -24078,7 +24078,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc2x3::IfcSystem RelatingSystem() const; @@ -24091,7 +24091,7 @@ public: std::vector< ::Ifc2x3::IfcSpatialStructureElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc2x3::IfcSpatialStructureElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcSystem v5_RelatingSystem, std::vector< ::Ifc2x3::IfcSpatialStructureElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -24259,7 +24259,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc2x3::IfcSpace RelatingSpace() const; @@ -24283,7 +24283,7 @@ public: ::Ifc2x3::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc2x3::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcSpace v5_RelatingSpace, ::Ifc2x3::IfcElement v6_RelatedBuildingElement, ::Ifc2x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc2x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc2x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -24296,14 +24296,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelConnects { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc2x3::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc2x3::IfcElement& v); ::Ifc2x3::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc2x3::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcElement v5_RelatingBuildingElement, ::Ifc2x3::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -24322,11 +24322,11 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -24408,7 +24408,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc2x3::IfcAxis1Placement Axis() const; @@ -24417,7 +24417,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileDef v1_SweptArea, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// The IfcRightCircularCone is a Construction Solid @@ -24488,7 +24488,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -24497,7 +24497,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -24584,7 +24584,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -24593,7 +24593,7 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; /// A spatial structure element @@ -24673,7 +24673,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcProduct { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcProduct(data) {} std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); @@ -24687,7 +24687,7 @@ public: std::vector< IfcRelServicesBuildings > ServicedBySystems() const; // INVERSE IfcRelServicesBuildings::RelatedBuildings std::vector< IfcRelContainedInSpatialStructure > ContainsElements() const; // INVERSE IfcRelContainedInSpatialStructure::RelatingStructure - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType); }; /// Definition from IAI: The element type @@ -24727,10 +24727,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -24786,13 +24786,13 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_Radius); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -24891,7 +24891,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -24919,7 +24919,7 @@ public: void setGlobalOrLocal(const ::Ifc2x3::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -25012,11 +25012,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -25026,12 +25026,12 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralElement > ReferencesElement() const; // INVERSE IfcRelConnectsStructuralElement::RelatedStructuralMember std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -25057,11 +25057,11 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} std::vector< IfcStructuralAction > Causes() const; // INVERSE IfcStructuralAction::CausedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -25087,7 +25087,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value PredefinedType() const; @@ -25096,7 +25096,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -25120,24 +25120,24 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} std::vector< double > /*[2:?]*/ SubsequentThickness() const; void setSubsequentThickness(const std::vector< double > /*[2:?]*/& v); ::Ifc2x3::IfcShapeAspect VaryingThicknessLocation() const; void setVaryingThicknessLocation(const ::Ifc2x3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralSurfaceTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness, std::vector< double > /*[2:?]*/ v10_SubsequentThickness, ::Ifc2x3::IfcShapeAspect v11_VaryingThicknessLocation); }; class IFC_PARSE_API IfcStructuredDimensionCallout : public IfcDraughtingCallout { public: IfcStructuredDimensionCallout() {} - explicit IfcStructuredDimensionCallout (const std::weak_ptr& data) : IfcDraughtingCallout(data) {} + explicit IfcStructuredDimensionCallout (const std::weak_ptr& data) : IfcDraughtingCallout(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -25205,7 +25205,7 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping the SELF\IfcSweptAreaSolid.SweptArea along the Directrix. ::Ifc2x3::IfcCurve Directrix() const; @@ -25224,7 +25224,7 @@ public: ::Ifc2x3::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc2x3::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileDef v1_SweptArea, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcCurve v3_Directrix, double v4_StartParam, double v5_EndParam, ::Ifc2x3::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -25243,7 +25243,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc2x3::IfcDirection ExtrudedDirection() const; @@ -25252,7 +25252,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileDef v1_SweptCurve, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -25275,13 +25275,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc2x3::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc2x3::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileDef v1_SweptCurve, ::Ifc2x3::IfcAxis2Placement3D v2_Position, ::Ifc2x3::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -25317,10 +25317,10 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// An IfcTask is an identifiable unit of work to be @@ -25571,7 +25571,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} std::string TaskId() const; void setTaskId(const std::string& v); @@ -25604,7 +25604,7 @@ public: std::optional< int > Priority() const; void setPriority(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_TaskId, std::optional< std::string > v7_Status, std::optional< std::string > v8_WorkMethod, bool v9_IsMilestone, std::optional< int > v10_Priority); }; /// Definition from IAI: The element type @@ -25673,13 +25673,13 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcElementType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc2x3::IfcTransportElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcTransportElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTransportElementTypeEnum::Value v10_PredefinedType); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -25700,14 +25700,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc2x3::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc2x3::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcActorSelect v6_TheActor); }; /// Definition from IAI: An annotation is a graphical @@ -25886,11 +25886,11 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation); }; /// IfcAsymmetricIShapeProfileDef @@ -25933,7 +25933,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcIShapeProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcIShapeProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcIShapeProfileDef(data) {} /// Extent of the top flange, defined parallel to the x axis of the position coordinate system. double TopFlangeWidth() const; @@ -25947,7 +25947,7 @@ public: std::optional< double > CentreOfGravityInY() const; void setCentreOfGravityInY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_CentreOfGravityInY); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -26050,7 +26050,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -26062,7 +26062,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -26075,10 +26075,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcBooleanOperator::Value v1_Operator, ::Ifc2x3::IfcBooleanOperand v2_FirstOperand, ::Ifc2x3::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -26094,10 +26094,10 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -26277,7 +26277,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcSpatialStructureElement { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -26289,7 +26289,7 @@ public: ::Ifc2x3::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc2x3::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc2x3::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: The element type @@ -26324,10 +26324,10 @@ public: class IFC_PARSE_API IfcBuildingElementType : public IfcElementType { public: IfcBuildingElementType() {} - explicit IfcBuildingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuildingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The building storey has an @@ -26510,13 +26510,13 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, std::optional< double > v10_Elevation); }; /// IfcCircleHollowProfileDef @@ -26540,13 +26540,13 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc2x3::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; /// Definition from IAI: The element type @@ -26650,13 +26650,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuildingElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc2x3::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -26728,7 +26728,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc2x3::IfcCompositeCurveSegment > Segments() const; @@ -26737,7 +26737,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -26748,13 +26748,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc2x3::IfcAxis2Placement Position() const; void setPosition(const ::Ifc2x3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement v1_Position); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -26832,7 +26832,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} std::optional< std::string > ResourceIdentifier() const; void setResourceIdentifier(const std::optional< std::string >& v); @@ -26844,7 +26844,7 @@ public: ::Ifc2x3::IfcMeasureWithUnit BaseQuantity() const; void setBaseQuantity(const ::Ifc2x3::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -26860,11 +26860,11 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -26906,10 +26906,10 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -26938,7 +26938,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} ::Ifc2x3::IfcActorSelect SubmittedBy() const; void setSubmittedBy(const ::Ifc2x3::IfcActorSelect& v); @@ -26973,7 +26973,7 @@ public: ::Ifc2x3::IfcCostScheduleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCostScheduleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcActorSelect v6_SubmittedBy, ::Ifc2x3::IfcActorSelect v7_PreparedBy, ::Ifc2x3::IfcDateTimeSelect v8_SubmittedOn, std::optional< std::string > v9_Status, std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > v10_TargetUsers, ::Ifc2x3::IfcDateTimeSelect v11_UpdateDate, std::string v12_ID, ::Ifc2x3::IfcCostScheduleTypeEnum::Value v13_PredefinedType); }; /// Definition from IAI: The element type @@ -27058,13 +27058,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuildingElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc2x3::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -27080,10 +27080,10 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -27110,23 +27110,23 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuildingElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc2x3::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDimensionCurveDirectedCallout : public IfcDraughtingCallout { public: IfcDimensionCurveDirectedCallout() {} - explicit IfcDimensionCurveDirectedCallout (const std::weak_ptr& data) : IfcDraughtingCallout(data) {} + explicit IfcDimensionCurveDirectedCallout (const std::weak_ptr& data) : IfcDraughtingCallout(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents); }; /// Definition from IAI: The @@ -27160,10 +27160,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -27234,17 +27234,17 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcElectricalBaseProperties : public IfcEnergyProperties { public: IfcElectricalBaseProperties() {} - explicit IfcElectricalBaseProperties (const std::weak_ptr& data) : IfcEnergyProperties(data) {} + explicit IfcElectricalBaseProperties (const std::weak_ptr& data) : IfcEnergyProperties(data) {} std::optional< ::Ifc2x3::IfcElectricCurrentEnum::Value > ElectricCurrentType() const; void setElectricCurrentType(const std::optional< ::Ifc2x3::IfcElectricCurrentEnum::Value >& v); @@ -27263,7 +27263,7 @@ public: int InputPhase() const; void setInputPhase(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc2x3::IfcEnergySequenceEnum::Value > v5_EnergySequence, std::optional< std::string > v6_UserDefinedEnergySequence, std::optional< ::Ifc2x3::IfcElectricCurrentEnum::Value > v7_ElectricCurrentType, double v8_InputVoltage, double v9_InputFrequency, std::optional< double > v10_FullLoadCurrent, std::optional< double > v11_MinimumCircuitCurrent, std::optional< double > v12_MaximumPowerInput, std::optional< double > v13_RatedPowerInput, int v14_InputPhase); }; /// Definition from IAI: Generalization of all components @@ -27322,7 +27322,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -27340,7 +27340,7 @@ public: std::vector< IfcRelConnectsElements > ConnectedFrom() const; // INVERSE IfcRelConnectsElements::RelatedElement std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -27440,7 +27440,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc2x3::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -27451,7 +27451,7 @@ public: ::Ifc2x3::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, ::Ifc2x3::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -27534,10 +27534,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -27552,10 +27552,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -27588,7 +27588,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -27597,7 +27597,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -27626,30 +27626,30 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcEquipmentElement : public IfcElement { public: IfcEquipmentElement() {} - explicit IfcEquipmentElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcEquipmentElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcEquipmentStandard : public IfcControl { public: IfcEquipmentStandard() {} - explicit IfcEquipmentStandard (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcEquipmentStandard (const std::weak_ptr& data) : IfcControl(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -27681,13 +27681,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -27719,13 +27719,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc2x3::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -27755,10 +27755,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -27788,13 +27788,13 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcManifoldSolidBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc2x3::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc2x3::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcClosedShell v1_Outer, std::vector< ::Ifc2x3::IfcClosedShell > v2_Voids); }; /// Definition from IAI: @@ -27808,10 +27808,10 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -27840,10 +27840,10 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all existence @@ -27943,10 +27943,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -28007,11 +28007,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -28067,11 +28067,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -28099,10 +28099,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -28131,10 +28131,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -28172,13 +28172,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc2x3::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -28206,10 +28206,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -28246,10 +28246,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -28262,10 +28262,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -28278,10 +28278,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -28295,10 +28295,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all furniture @@ -28408,32 +28408,32 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcFurnitureStandard : public IfcControl { public: IfcFurnitureStandard() {} - explicit IfcFurnitureStandard (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcFurnitureStandard (const std::weak_ptr& data) : IfcControl(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcGasTerminalType : public IfcFlowTerminalType { public: IfcGasTerminalType() {} - explicit IfcGasTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcGasTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc2x3::IfcGasTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcGasTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcGasTerminalTypeEnum::Value v10_PredefinedType); }; /// IfcGrid ia a planar design @@ -28535,7 +28535,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcProduct { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcProduct(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc2x3::IfcGridAxis > UAxes() const; @@ -28548,7 +28548,7 @@ public: void setWAxes(const std::optional< std::vector< ::Ifc2x3::IfcGridAxis > >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::vector< ::Ifc2x3::IfcGridAxis > v8_UAxes, std::vector< ::Ifc2x3::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc2x3::IfcGridAxis > > v10_WAxes); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -28584,11 +28584,11 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -28623,13 +28623,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc2x3::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -28661,13 +28661,13 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc2x3::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; /// An inventory is a list of items within an enterprise. @@ -28684,7 +28684,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} ::Ifc2x3::IfcInventoryTypeEnum::Value InventoryType() const; void setInventoryType(const ::Ifc2x3::IfcInventoryTypeEnum::Value& v); @@ -28706,7 +28706,7 @@ public: ::Ifc2x3::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc2x3::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcInventoryTypeEnum::Value v6_InventoryType, ::Ifc2x3::IfcActorSelect v7_Jurisdiction, std::vector< ::Ifc2x3::IfcPerson > v8_ResponsiblePersons, ::Ifc2x3::IfcCalendarDate v9_LastUpdateDate, ::Ifc2x3::IfcCostValue v10_CurrentValue, ::Ifc2x3::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -28739,13 +28739,13 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc2x3::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -28775,12 +28775,12 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} std::optional< std::string > SkillSet() const; void setSkillSet(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity, std::optional< std::string > v10_SkillSet); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -28815,13 +28815,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc2x3::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -28858,23 +28858,23 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc2x3::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLinearDimension : public IfcDimensionCurveDirectedCallout { public: IfcLinearDimension() {} - explicit IfcLinearDimension (const std::weak_ptr& data) : IfcDimensionCurveDirectedCallout(data) {} + explicit IfcLinearDimension (const std::weak_ptr& data) : IfcDimensionCurveDirectedCallout(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -28909,14 +28909,14 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcFastener { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcFastener(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcFastener(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -28957,10 +28957,10 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcFastenerType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcFastenerType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcFastenerType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The element type @@ -29067,13 +29067,13 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuildingElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc2x3::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcMemberTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -29106,20 +29106,20 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc2x3::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMove : public IfcTask { public: IfcMove() {} - explicit IfcMove (const std::weak_ptr& data) : IfcTask(data) {} + explicit IfcMove (const std::weak_ptr& data) : IfcTask(data) {} ::Ifc2x3::IfcSpatialStructureElement MoveFrom() const; void setMoveFrom(const ::Ifc2x3::IfcSpatialStructureElement& v); @@ -29128,7 +29128,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > PunchList() const; void setPunchList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_TaskId, std::optional< std::string > v7_Status, std::optional< std::string > v8_WorkMethod, bool v9_IsMilestone, std::optional< int > v10_Priority, ::Ifc2x3::IfcSpatialStructureElement v11_MoveFrom, ::Ifc2x3::IfcSpatialStructureElement v12_MoveTo, std::optional< std::vector< std::string > /*[1:?]*/ > v13_PunchList); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -29141,7 +29141,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -29149,7 +29149,7 @@ public: ::Ifc2x3::IfcOccupantTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcOccupantTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcActorSelect v6_TheActor, ::Ifc2x3::IfcOccupantTypeEnum::Value v7_PredefinedType); }; /// The opening element stands for @@ -29357,23 +29357,23 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcOrderAction : public IfcTask { public: IfcOrderAction() {} - explicit IfcOrderAction (const std::weak_ptr& data) : IfcTask(data) {} + explicit IfcOrderAction (const std::weak_ptr& data) : IfcTask(data) {} std::string ActionID() const; void setActionID(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_TaskId, std::optional< std::string > v7_Status, std::optional< std::string > v8_WorkMethod, bool v9_IsMilestone, std::optional< int > v10_Priority, std::string v11_ActionID); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -29408,13 +29408,13 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc2x3::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcOutletTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -29425,13 +29425,13 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; void setLifeCyclePhase(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_LifeCyclePhase); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -29474,12 +29474,12 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} std::string PermitID() const; void setPermitID(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_PermitID); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -29514,13 +29514,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc2x3::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -29559,13 +29559,13 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc2x3::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -29648,13 +29648,13 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuildingElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc2x3::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPlateTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -29674,13 +29674,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc2x3::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc2x3::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -29739,13 +29739,13 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -29855,7 +29855,7 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} std::string ProcedureID() const; void setProcedureID(const std::string& v); @@ -29864,7 +29864,7 @@ public: std::optional< std::string > UserDefinedProcedureType() const; void setUserDefinedProcedureType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_ProcedureID, ::Ifc2x3::IfcProcedureTypeEnum::Value v7_ProcedureType, std::optional< std::string > v8_UserDefinedProcedureType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -29913,7 +29913,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} std::string ID() const; void setID(const std::string& v); @@ -29934,21 +29934,21 @@ public: std::optional< std::string > Status() const; void setStatus(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_ID, ::Ifc2x3::IfcProjectOrderTypeEnum::Value v7_PredefinedType, std::optional< std::string > v8_Status); }; class IFC_PARSE_API IfcProjectOrderRecord : public IfcControl { public: IfcProjectOrderRecord() {} - explicit IfcProjectOrderRecord (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrderRecord (const std::weak_ptr& data) : IfcControl(data) {} std::vector< ::Ifc2x3::IfcRelAssignsToProjectOrder > Records() const; void setRecords(const std::vector< ::Ifc2x3::IfcRelAssignsToProjectOrder >& v); ::Ifc2x3::IfcProjectOrderRecordTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcProjectOrderRecordTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::vector< ::Ifc2x3::IfcRelAssignsToProjectOrder > v6_Records, ::Ifc2x3::IfcProjectOrderRecordTypeEnum::Value v7_PredefinedType); }; /// The projection element is a @@ -30061,10 +30061,10 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -30105,13 +30105,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc2x3::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -30145,23 +30145,23 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc2x3::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcPumpTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRadiusDimension : public IfcDimensionCurveDirectedCallout { public: IfcRadiusDimension() {} - explicit IfcRadiusDimension (const std::weak_ptr& data) : IfcDimensionCurveDirectedCallout(data) {} + explicit IfcRadiusDimension (const std::weak_ptr& data) : IfcDimensionCurveDirectedCallout(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents); }; /// Definition from IAI: The element type (IfcRailingType) @@ -30187,13 +30187,13 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuildingElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc2x3::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcRailingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -30219,13 +30219,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuildingElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc2x3::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// The aggregation relationship @@ -30253,22 +30253,22 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc2x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc2x3::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelAssignsTasks : public IfcRelAssignsToControl { public: IfcRelAssignsTasks() {} - explicit IfcRelAssignsTasks (const std::weak_ptr& data) : IfcRelAssignsToControl(data) {} + explicit IfcRelAssignsTasks (const std::weak_ptr& data) : IfcRelAssignsToControl(data) {} ::Ifc2x3::IfcScheduleTimeControl TimeForTask() const; void setTimeForTask(const ::Ifc2x3::IfcScheduleTimeControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc2x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc2x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc2x3::IfcControl v7_RelatingControl, ::Ifc2x3::IfcScheduleTimeControl v8_TimeForTask); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -30311,20 +30311,20 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc2x3::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcScheduleTimeControl : public IfcControl { public: IfcScheduleTimeControl() {} - explicit IfcScheduleTimeControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcScheduleTimeControl (const std::weak_ptr& data) : IfcControl(data) {} ::Ifc2x3::IfcDateTimeSelect ActualStart() const; void setActualStart(const ::Ifc2x3::IfcDateTimeSelect& v); @@ -30364,21 +30364,21 @@ public: void setCompletion(const std::optional< double >& v); std::vector< IfcRelAssignsTasks > ScheduleTimeControlAssigned() const; // INVERSE IfcRelAssignsTasks::TimeForTask - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcDateTimeSelect v6_ActualStart, ::Ifc2x3::IfcDateTimeSelect v7_EarlyStart, ::Ifc2x3::IfcDateTimeSelect v8_LateStart, ::Ifc2x3::IfcDateTimeSelect v9_ScheduleStart, ::Ifc2x3::IfcDateTimeSelect v10_ActualFinish, ::Ifc2x3::IfcDateTimeSelect v11_EarlyFinish, ::Ifc2x3::IfcDateTimeSelect v12_LateFinish, ::Ifc2x3::IfcDateTimeSelect v13_ScheduleFinish, std::optional< double > v14_ScheduleDuration, std::optional< double > v15_ActualDuration, std::optional< double > v16_RemainingTime, std::optional< double > v17_FreeFloat, std::optional< double > v18_TotalFloat, std::optional< bool > v19_IsCritical, ::Ifc2x3::IfcDateTimeSelect v20_StatusTime, std::optional< double > v21_StartFloat, std::optional< double > v22_FinishFloat, std::optional< double > v23_Completion); }; class IFC_PARSE_API IfcServiceLife : public IfcControl { public: IfcServiceLife() {} - explicit IfcServiceLife (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcServiceLife (const std::weak_ptr& data) : IfcControl(data) {} ::Ifc2x3::IfcServiceLifeTypeEnum::Value ServiceLifeType() const; void setServiceLifeType(const ::Ifc2x3::IfcServiceLifeTypeEnum::Value& v); double ServiceLifeDuration() const; void setServiceLifeDuration(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcServiceLifeTypeEnum::Value v6_ServiceLifeType, double v7_ServiceLifeDuration); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -30573,7 +30573,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -30594,7 +30594,7 @@ public: ::Ifc2x3::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc2x3::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc2x3::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -30677,13 +30677,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuildingElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc2x3::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// A space represents an area or volume @@ -30939,7 +30939,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} ::Ifc2x3::IfcInternalOrExternalEnum::Value InteriorOrExteriorSpace() const; void setInteriorOrExteriorSpace(const ::Ifc2x3::IfcInternalOrExternalEnum::Value& v); @@ -30949,7 +30949,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatedSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, ::Ifc2x3::IfcElementCompositionEnum::Value v9_CompositionType, ::Ifc2x3::IfcInternalOrExternalEnum::Value v10_InteriorOrExteriorSpace, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -30985,20 +30985,20 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcEnergyConversionDeviceType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc2x3::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSpaceProgram : public IfcControl { public: IfcSpaceProgram() {} - explicit IfcSpaceProgram (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcSpaceProgram (const std::weak_ptr& data) : IfcControl(data) {} std::string SpaceProgramIdentifier() const; void setSpaceProgramIdentifier(const std::string& v); @@ -31013,7 +31013,7 @@ public: std::vector< IfcRelInteractionRequirements > HasInteractionReqsFrom() const; // INVERSE IfcRelInteractionRequirements::RelatedSpaceProgram std::vector< IfcRelInteractionRequirements > HasInteractionReqsTo() const; // INVERSE IfcRelInteractionRequirements::RelatingSpaceProgram - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_SpaceProgramIdentifier, std::optional< double > v7_MaxRequiredArea, std::optional< double > v8_MinRequiredArea, ::Ifc2x3::IfcSpatialStructureElement v9_RequestedLocation, double v10_StandardRequiredArea); }; /// Definition from IAI: A space represents an area or @@ -31100,13 +31100,13 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc2x3::IfcSpaceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcSpaceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSpaceTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -31138,13 +31138,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc2x3::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -31170,13 +31170,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuildingElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc2x3::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -31201,7 +31201,7 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. bool DestabilizingLoad() const; @@ -31209,7 +31209,7 @@ public: ::Ifc2x3::IfcStructuralReaction CausedBy() const; void setCausedBy(const ::Ifc2x3::IfcStructuralReaction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -31218,14 +31218,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc2x3::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc2x3::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -31248,10 +31248,10 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -31294,13 +31294,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc2x3::IfcStructuralCurveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcStructuralCurveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralCurveTypeEnum::Value v8_PredefinedType); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -31326,10 +31326,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralCurveTypeEnum::Value v8_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -31342,26 +31342,26 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value ProjectedOrTrue() const; void setProjectedOrTrue(const ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue); }; class IFC_PARSE_API IfcStructuralLinearActionVarying : public IfcStructuralLinearAction { public: IfcStructuralLinearActionVarying() {} - explicit IfcStructuralLinearActionVarying (const std::weak_ptr& data) : IfcStructuralLinearAction(data) {} + explicit IfcStructuralLinearActionVarying (const std::weak_ptr& data) : IfcStructuralLinearAction(data) {} ::Ifc2x3::IfcShapeAspect VaryingAppliedLoadLocation() const; void setVaryingAppliedLoadLocation(const ::Ifc2x3::IfcShapeAspect& v); std::vector< ::Ifc2x3::IfcStructuralLoad > SubsequentAppliedLoads() const; void setSubsequentAppliedLoads(const std::vector< ::Ifc2x3::IfcStructuralLoad >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue, ::Ifc2x3::IfcShapeAspect v13_VaryingAppliedLoadLocation, std::vector< ::Ifc2x3::IfcStructuralLoad > v14_SubsequentAppliedLoads); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -31400,7 +31400,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc2x3::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -31420,7 +31420,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc2x3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc2x3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -31433,26 +31433,26 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value ProjectedOrTrue() const; void setProjectedOrTrue(const ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue); }; class IFC_PARSE_API IfcStructuralPlanarActionVarying : public IfcStructuralPlanarAction { public: IfcStructuralPlanarActionVarying() {} - explicit IfcStructuralPlanarActionVarying (const std::weak_ptr& data) : IfcStructuralPlanarAction(data) {} + explicit IfcStructuralPlanarActionVarying (const std::weak_ptr& data) : IfcStructuralPlanarAction(data) {} ::Ifc2x3::IfcShapeAspect VaryingAppliedLoadLocation() const; void setVaryingAppliedLoadLocation(const ::Ifc2x3::IfcShapeAspect& v); std::vector< ::Ifc2x3::IfcStructuralLoad > SubsequentAppliedLoads() const; void setSubsequentAppliedLoads(const std::vector< ::Ifc2x3::IfcStructuralLoad >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy, ::Ifc2x3::IfcProjectedOrTrueLengthEnum::Value v12_ProjectedOrTrue, ::Ifc2x3::IfcShapeAspect v13_VaryingAppliedLoadLocation, std::vector< ::Ifc2x3::IfcStructuralLoad > v14_SubsequentAppliedLoads); }; /// Definition from IAI: Defines an action which acts on a point. @@ -31503,10 +31503,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, bool v10_DestabilizingLoad, ::Ifc2x3::IfcStructuralReaction v11_CausedBy); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -31525,10 +31525,10 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -31577,10 +31577,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc2x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -31590,7 +31590,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc2x3::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -31603,7 +31603,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc2x3::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -31621,10 +31621,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, ::Ifc2x3::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -31654,14 +31654,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} ::Ifc2x3::IfcActorSelect SubContractor() const; void setSubContractor(const ::Ifc2x3::IfcActorSelect& v); std::optional< std::string > JobDescription() const; void setJobDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity, ::Ifc2x3::IfcActorSelect v10_SubContractor, std::optional< std::string > v11_JobDescription); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -31707,13 +31707,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc2x3::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -31736,11 +31736,11 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -31778,20 +31778,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc2x3::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTimeSeriesSchedule : public IfcControl { public: IfcTimeSeriesSchedule() {} - explicit IfcTimeSeriesSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcTimeSeriesSchedule (const std::weak_ptr& data) : IfcControl(data) {} std::optional< std::vector< ::Ifc2x3::IfcDateTimeSelect > > ApplicableDates() const; void setApplicableDates(const std::optional< std::vector< ::Ifc2x3::IfcDateTimeSelect > >& v); @@ -31800,7 +31800,7 @@ public: ::Ifc2x3::IfcTimeSeries TimeSeries() const; void setTimeSeries(const ::Ifc2x3::IfcTimeSeries& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::vector< ::Ifc2x3::IfcDateTimeSelect > > v6_ApplicableDates, ::Ifc2x3::IfcTimeSeriesScheduleTypeEnum::Value v7_TimeSeriesScheduleType, ::Ifc2x3::IfcTimeSeries v8_TimeSeries); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -31833,13 +31833,13 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc2x3::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTransformerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all transport @@ -31961,7 +31961,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcElement { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} std::optional< ::Ifc2x3::IfcTransportElementTypeEnum::Value > OperationType() const; void setOperationType(const std::optional< ::Ifc2x3::IfcTransportElementTypeEnum::Value >& v); @@ -31972,7 +31972,7 @@ public: std::optional< double > CapacityByNumber() const; void setCapacityByNumber(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcTransportElementTypeEnum::Value > v9_OperationType, std::optional< double > v10_CapacityByWeight, std::optional< double > v11_CapacityByNumber); }; /// Definition from ISO/CD 10303-42:1992: @@ -32056,7 +32056,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc2x3::IfcCurve BasisCurve() const; @@ -32074,7 +32074,7 @@ public: ::Ifc2x3::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc2x3::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcCurve v1_BasisCurve, std::vector< ::Ifc2x3::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc2x3::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc2x3::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -32109,13 +32109,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc2x3::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -32149,13 +32149,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -32199,13 +32199,13 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc2x3::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcValveTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -32297,10 +32297,10 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The element type @@ -32390,13 +32390,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuildingElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc2x3::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -32438,13 +32438,13 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc2x3::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -32494,7 +32494,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} std::string Identifier() const; void setIdentifier(const std::string& v); @@ -32524,7 +32524,7 @@ public: std::optional< std::string > UserDefinedControlType() const; void setUserDefinedControlType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_Identifier, ::Ifc2x3::IfcDateTimeSelect v7_CreationDate, std::optional< std::vector< ::Ifc2x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< double > v10_Duration, std::optional< double > v11_TotalFloat, ::Ifc2x3::IfcDateTimeSelect v12_StartTime, ::Ifc2x3::IfcDateTimeSelect v13_FinishTime, std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > v14_WorkControlType, std::optional< std::string > v15_UserDefinedControlType); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -32555,10 +32555,10 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_Identifier, ::Ifc2x3::IfcDateTimeSelect v7_CreationDate, std::optional< std::vector< ::Ifc2x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< double > v10_Duration, std::optional< double > v11_TotalFloat, ::Ifc2x3::IfcDateTimeSelect v12_StartTime, ::Ifc2x3::IfcDateTimeSelect v13_FinishTime, std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > v14_WorkControlType, std::optional< std::string > v15_UserDefinedControlType); }; /// An IfcWorkSchedule @@ -32604,10 +32604,10 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_Identifier, ::Ifc2x3::IfcDateTimeSelect v7_CreationDate, std::optional< std::vector< ::Ifc2x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< double > v10_Duration, std::optional< double > v11_TotalFloat, ::Ifc2x3::IfcDateTimeSelect v12_StartTime, ::Ifc2x3::IfcDateTimeSelect v13_FinishTime, std::optional< ::Ifc2x3::IfcWorkControlTypeEnum::Value > v14_WorkControlType, std::optional< std::string > v15_UserDefinedControlType); }; /// Definition from IAI: A zone isa group of spaces, @@ -32698,20 +32698,20 @@ public: class IFC_PARSE_API IfcZone : public IfcGroup { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcGroup(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API Ifc2DCompositeCurve : public IfcCompositeCurve { public: Ifc2DCompositeCurve() {} - explicit Ifc2DCompositeCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit Ifc2DCompositeCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -32755,12 +32755,12 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} std::string RequestID() const; void setRequestID(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_RequestID); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -32792,13 +32792,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc2x3::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -32830,12 +32830,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc2x3::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -32867,23 +32867,23 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAngularDimension : public IfcDimensionCurveDirectedCallout { public: IfcAngularDimension() {} - explicit IfcAngularDimension (const std::weak_ptr& data) : IfcDimensionCurveDirectedCallout(data) {} + explicit IfcAngularDimension (const std::weak_ptr& data) : IfcDimensionCurveDirectedCallout(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -32913,7 +32913,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} std::string AssetID() const; void setAssetID(const std::string& v); @@ -32946,7 +32946,7 @@ public: ::Ifc2x3::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc2x3::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::string v6_AssetID, ::Ifc2x3::IfcCostValue v7_OriginalValue, ::Ifc2x3::IfcCostValue v8_CurrentValue, ::Ifc2x3::IfcCostValue v9_TotalReplacementCost, ::Ifc2x3::IfcActorSelect v10_Owner, ::Ifc2x3::IfcActorSelect v11_User, ::Ifc2x3::IfcPerson v12_ResponsiblePerson, ::Ifc2x3::IfcCalendarDate v13_IncorporationDate, ::Ifc2x3::IfcCostValue v14_DepreciatedValue); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -33001,7 +33001,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -33019,7 +33019,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc2x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from IAI: The element type @@ -33123,23 +33123,23 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuildingElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc2x3::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBezierCurve : public IfcBSplineCurve { public: IfcBezierCurve() {} - explicit IfcBezierCurve (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBezierCurve (const std::weak_ptr& data) : IfcBSplineCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc2x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -33174,13 +33174,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc2x3::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Major functional part @@ -33549,20 +33549,20 @@ public: class IFC_PARSE_API IfcBuildingElement : public IfcElement { public: IfcBuildingElement() {} - explicit IfcBuildingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuildingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcBuildingElementComponent : public IfcBuildingElement { public: IfcBuildingElementComponent() {} - explicit IfcBuildingElementComponent (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBuildingElementComponent (const std::weak_ptr& data) : IfcBuildingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Layers or major components as subordinate @@ -33585,10 +33585,10 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcBuildingElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcBuildingElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcBuildingElementComponent(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -33784,12 +33784,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuildingElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuildingElement(data) {} std::optional< ::Ifc2x3::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc2x3::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: @@ -33829,13 +33829,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuildingElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc2x3::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -33867,13 +33867,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc2x3::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -33911,13 +33911,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -33964,13 +33964,13 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc2x3::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -34008,13 +34008,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc2x3::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -34047,13 +34047,13 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc2x3::IfcAxis2Placement v1_Position, double v2_Radius); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -34086,13 +34086,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc2x3::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -34369,10 +34369,10 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuildingElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuildingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -34405,13 +34405,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc2x3::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -34444,37 +34444,37 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc2x3::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCondenserTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCondition : public IfcGroup { public: IfcCondition() {} - explicit IfcCondition (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcCondition (const std::weak_ptr& data) : IfcGroup(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcConditionCriterion : public IfcControl { public: IfcConditionCriterion() {} - explicit IfcConditionCriterion (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcConditionCriterion (const std::weak_ptr& data) : IfcControl(data) {} ::Ifc2x3::IfcConditionCriterionSelect Criterion() const; void setCriterion(const ::Ifc2x3::IfcConditionCriterionSelect& v); ::Ifc2x3::IfcDateTimeSelect CriterionDateTime() const; void setCriterionDateTime(const ::Ifc2x3::IfcDateTimeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcConditionCriterionSelect v6_Criterion, ::Ifc2x3::IfcDateTimeSelect v7_CriterionDateTime); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -34502,10 +34502,10 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -34537,14 +34537,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > Suppliers() const; void setSuppliers(const std::optional< std::vector< ::Ifc2x3::IfcActorSelect > >& v); std::optional< double > UsageRatio() const; void setUsageRatio(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity, std::optional< std::vector< ::Ifc2x3::IfcActorSelect > > v10_Suppliers, std::optional< double > v11_UsageRatio); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -34565,10 +34565,10 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_ResourceIdentifier, std::optional< std::string > v7_ResourceGroup, std::optional< ::Ifc2x3::IfcResourceConsumptionEnum::Value > v8_ResourceConsumption, ::Ifc2x3::IfcMeasureWithUnit v9_BaseQuantity); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -34603,13 +34603,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc2x3::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -34648,13 +34648,13 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc2x3::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -34884,7 +34884,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuildingElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc2x3::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -34892,7 +34892,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > Covers() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -35036,10 +35036,10 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuildingElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -35079,23 +35079,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc2x3::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDiameterDimension : public IfcDimensionCurveDirectedCallout { public: IfcDiameterDimension() {} - explicit IfcDiameterDimension (const std::weak_ptr& data) : IfcDimensionCurveDirectedCallout(data) {} + explicit IfcDiameterDimension (const std::weak_ptr& data) : IfcDimensionCurveDirectedCallout(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc2x3::IfcDraughtingCalloutElement > v1_Contents); }; /// Definition from IAI: Representation of different kinds of @@ -35274,10 +35274,10 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The element type @@ -35471,10 +35471,10 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -35517,13 +35517,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc2x3::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -35583,10 +35583,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -35754,10 +35754,10 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -35831,11 +35831,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -35923,13 +35923,13 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc2x3::IfcFlowDirectionEnum::Value > FlowDirection() const; void setFlowDirection(const std::optional< ::Ifc2x3::IfcFlowDirectionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc2x3::IfcFlowDirectionEnum::Value > v8_FlowDirection); }; /// Definition from ISO 6707-1:1989: Construction for @@ -36291,7 +36291,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuildingElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -36304,7 +36304,7 @@ public: std::optional< double > OverallWidth() const; void setOverallWidth(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -36339,13 +36339,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc2x3::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -36380,13 +36380,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc2x3::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -36418,25 +36418,25 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc2x3::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcEdgeFeature : public IfcFeatureElementSubtraction { public: IfcEdgeFeature() {} - explicit IfcEdgeFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcEdgeFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::optional< double > FeatureLength() const; void setFeatureLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_FeatureLength); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -36471,13 +36471,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc2x3::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -36510,13 +36510,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -36554,25 +36554,25 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc2x3::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricHeaterType : public IfcFlowTerminalType { public: IfcElectricHeaterType() {} - explicit IfcElectricHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc2x3::IfcElectricHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcElectricHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricHeaterTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -36605,13 +36605,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc2x3::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -36644,33 +36644,33 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc2x3::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricalCircuit : public IfcSystem { public: IfcElectricalCircuit() {} - explicit IfcElectricalCircuit (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcElectricalCircuit (const std::weak_ptr& data) : IfcSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcElectricalElement : public IfcElement { public: IfcElectricalElement() {} - explicit IfcElectricalElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElectricalElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -36685,10 +36685,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -36722,13 +36722,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc2x3::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -36763,13 +36763,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc2x3::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -36808,13 +36808,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -36829,10 +36829,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -36843,10 +36843,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -36882,13 +36882,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc2x3::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -36899,10 +36899,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -36931,10 +36931,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -36949,10 +36949,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -36969,10 +36969,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -36983,10 +36983,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -37014,7 +37014,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuildingElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// The generic type of the footing. /// @@ -37022,7 +37022,7 @@ public: ::Ifc2x3::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcFootingTypeEnum::Value v9_PredefinedType); }; /// An IfcMember is a @@ -37278,10 +37278,10 @@ public: class IFC_PARSE_API IfcMember : public IfcBuildingElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuildingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -37305,7 +37305,7 @@ public: class IFC_PARSE_API IfcPile : public IfcBuildingElement { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// The predefined generic type of the pile according to function. /// @@ -37318,7 +37318,7 @@ public: std::optional< ::Ifc2x3::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc2x3::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcPileTypeEnum::Value v9_PredefinedType, std::optional< ::Ifc2x3::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -37552,10 +37552,10 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuildingElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuildingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition of IAI: The railing is a frame assembly @@ -37693,7 +37693,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuildingElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -37701,7 +37701,7 @@ public: std::optional< ::Ifc2x3::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc2x3::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -37840,12 +37840,12 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuildingElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuildingElement(data) {} ::Ifc2x3::IfcRampTypeEnum::Value ShapeType() const; void setShapeType(const ::Ifc2x3::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcRampTypeEnum::Value v9_ShapeType); }; /// A ramp is an inclined slab segment, normally @@ -38039,22 +38039,22 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuildingElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcRationalBezierCurve : public IfcBezierCurve { public: IfcRationalBezierCurve() {} - explicit IfcRationalBezierCurve (const std::weak_ptr& data) : IfcBezierCurve(data) {} + explicit IfcRationalBezierCurve (const std::weak_ptr& data) : IfcBezierCurve(data) {} std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc2x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc2x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect, std::vector< double > /*[2:?]*/ v6_WeightsData); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -38068,12 +38068,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcBuildingElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcBuildingElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcBuildingElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -38103,7 +38103,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -38122,7 +38122,7 @@ public: double TransverseBarSpacing() const; void setTransverseBarSpacing(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, double v12_LongitudinalBarNominalDiameter, double v13_TransverseBarNominalDiameter, double v14_LongitudinalBarCrossSectionArea, double v15_TransverseBarCrossSectionArea, double v16_LongitudinalBarSpacing, double v17_TransverseBarSpacing); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -38273,24 +38273,24 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuildingElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuildingElement(data) {} ::Ifc2x3::IfcRoofTypeEnum::Value ShapeType() const; void setShapeType(const ::Ifc2x3::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcRoofTypeEnum::Value v9_ShapeType); }; class IFC_PARSE_API IfcRoundedEdgeFeature : public IfcEdgeFeature { public: IfcRoundedEdgeFeature() {} - explicit IfcRoundedEdgeFeature (const std::weak_ptr& data) : IfcEdgeFeature(data) {} + explicit IfcRoundedEdgeFeature (const std::weak_ptr& data) : IfcEdgeFeature(data) {} std::optional< double > Radius() const; void setRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_FeatureLength, std::optional< double > v10_Radius); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -38344,13 +38344,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc2x3::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// A slab is a component of the @@ -38616,7 +38616,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuildingElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -38625,7 +38625,7 @@ public: std::optional< ::Ifc2x3::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc2x3::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc2x3::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -38796,12 +38796,12 @@ public: class IFC_PARSE_API IfcStair : public IfcBuildingElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuildingElement(data) {} ::Ifc2x3::IfcStairTypeEnum::Value ShapeType() const; void setShapeType(const ::Ifc2x3::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcStairTypeEnum::Value v9_ShapeType); }; /// A stair flight is an assembly of @@ -38974,7 +38974,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuildingElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Number of the risers included in the stair flight /// @@ -38997,7 +38997,7 @@ public: std::optional< double > TreadLength() const; void setTreadLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRiser, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -39026,7 +39026,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc2x3::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -39050,14 +39050,14 @@ public: std::optional< std::vector< ::Ifc2x3::IfcStructuralResultGroup > > HasResults() const; void setHasResults(const std::optional< std::vector< ::Ifc2x3::IfcStructuralResultGroup > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc2x3::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc2x3::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc2x3::IfcStructuralResultGroup > > v9_HasResults); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} ::Ifc2x3::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcTendonTypeEnum::Value& v); @@ -39076,17 +39076,17 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc2x3::IfcTendonTypeEnum::Value v10_PredefinedType, double v11_NominalDiameter, double v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -39114,13 +39114,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcDiscreteAccessoryType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcDiscreteAccessoryType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcDiscreteAccessoryType(data) {} /// Defines the type of vibration isolator. ::Ifc2x3::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -39368,10 +39368,10 @@ public: class IFC_PARSE_API IfcWall : public IfcBuildingElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcWallStandardCase defines a wall with certain @@ -39579,10 +39579,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition form ISO 6707-1:1989: Construction for @@ -39946,7 +39946,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuildingElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -39959,7 +39959,7 @@ public: std::optional< double > OverallWidth() const; void setOverallWidth(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -39996,13 +39996,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc2x3::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -40034,13 +40034,13 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc2x3::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcAlarmTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -40283,24 +40283,24 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuildingElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuildingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcChamferEdgeFeature : public IfcEdgeFeature { public: IfcChamferEdgeFeature() {} - explicit IfcChamferEdgeFeature (const std::weak_ptr& data) : IfcEdgeFeature(data) {} + explicit IfcChamferEdgeFeature (const std::weak_ptr& data) : IfcEdgeFeature(data) {} std::optional< double > Width() const; void setWidth(const std::optional< double >& v); std::optional< double > Height() const; void setHeight(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_FeatureLength, std::optional< double > v10_Width, std::optional< double > v11_Height); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -40342,13 +40342,13 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc2x3::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc2x3::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc2x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc2x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc2x3::IfcControllerTypeEnum::Value v10_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -40385,10 +40385,10 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -40472,27 +40472,27 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::optional< std::string > ControlElementId() const; void setControlElementId(const std::optional< std::string >& v); std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ControlElementId); }; class IFC_PARSE_API IfcElectricDistributionPoint : public IfcFlowController { public: IfcElectricDistributionPoint() {} - explicit IfcElectricDistributionPoint (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionPoint (const std::weak_ptr& data) : IfcFlowController(data) {} ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value DistributionPointFunction() const; void setDistributionPointFunction(const ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value& v); std::optional< std::string > UserDefinedFunction() const; void setUserDefinedFunction(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc2x3::IfcElectricDistributionPointFunctionEnum::Value v9_DistributionPointFunction, std::optional< std::string > v10_UserDefinedFunction); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -40526,7 +40526,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} double NominalDiameter() const; void setNominalDiameter(const double& v); @@ -40539,7 +40539,7 @@ public: std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc2x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc2x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc2x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, double v10_NominalDiameter, double v11_CrossSectionArea, std::optional< double > v12_BarLength, ::Ifc2x3::IfcReinforcingBarRoleEnum::Value v13_BarRole, std::optional< ::Ifc2x3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; diff --git a/src/ifcparse/schemas/Ifc4-schema.cpp b/src/ifcparse/schemas/Ifc4-schema.cpp index c8131da39b..fdac43a9d1 100644 --- a/src/ifcparse/schemas/Ifc4-schema.cpp +++ b/src/ifcparse/schemas/Ifc4-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4_types[1173] = {nullptr}; -IfcParse::schema_definition* IFC4_populate_schema() { +ifcopenshell::schema_definition* IFC4_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"DEAD_LOAD_G"s,"COMPLETION_G1"s,"LIVE_LOAD_Q"s,"SNOW_S"s,"WIND_W"s,"PRESTRESSING_P"s,"SETTLEMENT_U"s,"TEMPERATURE_T"s,"EARTHQUAKE_E"s,"FIRE"s,"IMPULSE"s,"IMPACT"s,"TRANSPORT"s,"ERECTION"s,"PROPPING"s,"SYSTEM_IMPERFECTION"s,"SHRINKAGE"s,"CREEP"s,"LACK_OF_FIT"s,"BUOYANCY"s,"ICE"s,"CURRENT"s,"WAVE"s,"RAIN"s,"BRAKES"s,"IfcActionTypeEnum"s,"PERMANENT_G"s,"VARIABLE_Q"s,"EXTRAORDINARY_A"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"OFFICE"s,"SITE"s,"HOME"s,"DISTRIBUTIONPOINT"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"HEATPIPE"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"SIREN"s,"WHISTLE"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"OUT_PLANE_LOADING_2D"s,"LOADING_3D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"IfcBSplineCurveForm"s,"POLYLINE_FORM"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"PARABOLIC_ARC"s,"HYPERBOLIC_ARC"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"PLANE_SURF"s,"CYLINDRICAL_SURF"s,"CONICAL_SURF"s,"SPHERICAL_SURF"s,"TOROIDAL_SURF"s,"SURF_OF_REVOLUTION"s,"RULED_SURF"s,"GENERALISED_CONE"s,"QUADRIC_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"IfcBeamTypeEnum"s,"BEAM"s,"JOIST"s,"HOLLOWCORE"s,"LINTEL"s,"SPANDREL"s,"T_BEAM"s,"IfcBenchmarkEnum"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"EQUALTO"s,"NOTEQUALTO"s,"INCLUDES"s,"NOTINCLUDES"s,"INCLUDEDIN"s,"NOTINCLUDEDIN"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"WATER"s,"STEAM"s,"IfcBoolean"s,"IfcBooleanOperator"s,"UNION"s,"INTERSECTION"s,"DIFFERENCE"s,"IfcBuildingElementPartTypeEnum"s,"INSULATION"s,"PRECASTPANEL"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORVOID"s,"PROVISIONFORSPACE"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"FOUNDATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CROSS"s,"REDUCER"s,"TEE"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CONDUITSEGMENT"s,"IfcCableFittingTypeEnum"s,"CONNECTOR"s,"ENTRY"s,"EXIT"s,"JUNCTION"s,"TRANSITION"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CORESEGMENT"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"NOCHANGE"s,"MODIFIED"s,"ADDED"s,"DELETED"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"WATERCOOLED"s,"HEATRECOVERY"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PILASTER"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"COMPUTER"s,"GATEWAY"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"PRINTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"DYNAMIC"s,"RECIPROCATING"s,"ROTARY"s,"SCROLL"s,"TROCHOIDAL"s,"SINGLESTAGE"s,"BOOSTER"s,"OPENTYPE"s,"HERMETIC"s,"SEMIHERMETIC"s,"WELDEDSHELLHERMETIC"s,"ROLLINGPISTON"s,"ROTARYVANE"s,"SINGLESCREW"s,"TWINSCREW"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATPATH"s,"ATSTART"s,"ATEND"s,"IfcConstraintEnum"s,"HARD"s,"SOFT"s,"ADVISORY"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"MULTIPOSITION"s,"TWOPOSITION"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"NATURALDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"MECHANICALFORCEDDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"TENDER"s,"PRICEDBILLOFQUANTITIES"s,"UNPRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"IfcCountMeasure"s,"IfcCoveringTypeEnum"s,"CEILING"s,"FLOORING"s,"CLADDING"s,"ROOFING"s,"MOLDING"s,"SKIRTINGBOARD"s,"MEMBRANE"s,"SLEEVING"s,"WRAPPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"INTEGERCOUNTRATEUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARVELOCITYUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"TORQUEUNIT"s,"MOMENTOFINERTIAUNIT"s,"LINEARMOMENTUNIT"s,"LINEARFORCEUNIT"s,"PLANARFORCEUNIT"s,"MODULUSOFELASTICITYUNIT"s,"SHEARMODULUSUNIT"s,"LINEARSTIFFNESSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"ACCELERATIONUNIT"s,"CURVATUREUNIT"s,"HEATINGVALUEUNIT"s,"IONCONCENTRATIONUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"PHUNIT"s,"ROTATIONALMASSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"POSITIVE"s,"NEGATIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BRACKET"s,"SHOE"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"IfcDocumentConfidentialityEnum"s,"PUBLIC"s,"RESTRICTED"s,"CONFIDENTIAL"s,"PERSONAL"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINALDRAFT"s,"FINAL"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"SWINGING"s,"DOUBLE_ACTING"s,"SLIDING"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"FIXEDPANEL"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorStyleConstructionEnum"s,"ALUMINIUM"s,"HIGH_GRADE_STEEL"s,"STEEL"s,"ALUMINIUM_WOOD"s,"ALUMINIUM_PLASTIC"s,"IfcDoorStyleOperationEnum"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"DOUBLE_DOOR_FOLDING"s,"IfcDoorTypeEnum"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"IfcDoorTypeOperationEnum"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"RIGIDSEGMENT"s,"FLEXIBLESEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERHEATER"s,"FREESTANDINGWATERCOOLER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"CONSUMERUNIT"s,"DISTRIBUTIONBOARD"s,"MOTORCONTROLCENTRE"s,"SWITCHBOARD"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITORBANK"s,"HARMONICFILTER"s,"INDUCTORBANK"s,"UPS"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"TIMECLOCK"s,"TIMEDELAY"s,"RELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"GIRDER"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SLAB_FIELD"s,"TRUSS"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVEAIRWASHER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTRULE"s,"EVENTMESSAGE"s,"EVENTTIME"s,"EVENTCOMPLEX"s,"IfcEventTypeEnum"s,"STARTEVENT"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_WATER"s,"EXTERNAL_FIRE"s,"IfcFanTypeEnum"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALAIRFOIL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"PROPELLORAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SOURCE"s,"SINK"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"AMMETER"s,"FREQUENCYMETER"s,"POWERFACTORMETER"s,"PHASEANGLEMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"CHAIR"s,"TABLE"s,"DESK"s,"BED"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"IfcGeographicElementTypeEnum"s,"TERRAIN"s,"IfcGeometricProjectionEnum"s,"GRAPH_VIEW"s,"SKETCH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"ELEVATION_VIEW"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"RADIAL"s,"TRIANGULAR"s,"IRREGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"STEAMINJECTION"s,"ADIABATICAIRWASHER"s,"ADIABATICPAN"s,"ADIABATICWETTEDELEMENT"s,"ADIABATICATOMIZING"s,"ADIABATICULTRASONIC"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDBUTANE"s,"ASSISTEDSTEAM"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"SPACEINVENTORY"s,"FURNITUREINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"UNIFORM_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"PIECEWISE_BEZIER_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"POINTSOURCE"s,"DIRECTIONSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLoadGroupTypeEnum"s,"LOAD_GROUP"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALOR"s,"LOGICALXOR"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RIVET"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STRINGER"s,"STRUT"s,"STUD"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNonNegativeLengthMeasure"s,"IfcNullStyle"s,"NULL"s,"IfcNumericMeasure"s,"IfcObjectTypeEnum"s,"PRODUCT"s,"PROCESS"s,"RESOURCE"s,"ACTOR"s,"GROUP"s,"PROJECT"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"POWEROUTLET"s,"DATAOUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"DRIVEN"s,"JETGROUTING"s,"COHESION"s,"FRICTION"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"CULVERT"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"CURTAIN_PANEL"s,"SHEET"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"CURVE"s,"AREA"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTRONIC"s,"ELECTROMAGNETIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"CIRCUITBREAKER"s,"EARTHLEAKAGECIRCUITBREAKER"s,"EARTHINGSWITCH"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"VARISTOR"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailingTypeEnum"s,"HANDRAIL"s,"GUARDRAIL"s,"BALUSTRADE"s,"IfcRampFlightTypeEnum"s,"STRAIGHT"s,"SPIRAL"s,"IfcRampTypeEnum"s,"STRAIGHT_RUN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"QUARTER_TURN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"HALF_TURN_RAMP"s,"SPIRAL_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"DAILY"s,"WEEKLY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcingBarRoleEnum"s,"MAIN"s,"SHEAR"s,"LIGATURE"s,"PUNCHING"s,"EDGE"s,"RING"s,"ANCHORING"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoleEnum"s,"SUPPLIER"s,"MANUFACTURER"s,"CONTRACTOR"s,"SUBCONTRACTOR"s,"ARCHITECT"s,"STRUCTURALENGINEER"s,"COSTENGINEER"s,"CLIENT"s,"BUILDINGOWNER"s,"BUILDINGOPERATOR"s,"MECHANICALENGINEER"s,"ELECTRICALENGINEER"s,"PROJECTMANAGER"s,"FACILITIESMANAGER"s,"CIVILENGINEER"s,"COMMISSIONINGENGINEER"s,"ENGINEER"s,"CONSULTANT"s,"CONSTRUCTIONMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"RESELLER"s,"IfcRoofTypeEnum"s,"FLAT_ROOF"s,"SHED_ROOF"s,"GABLE_ROOF"s,"HIP_ROOF"s,"HIPPED_GABLE_ROOF"s,"GAMBREL_ROOF"s,"MANSARD_ROOF"s,"BARREL_ROOF"s,"RAINBOW_ROOF"s,"BUTTERFLY_ROOF"s,"PAVILION_ROOF"s,"DOME_ROOF"s,"FREEFORM"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"EXA"s,"PETA"s,"TERA"s,"GIGA"s,"MEGA"s,"KILO"s,"HECTO"s,"DECA"s,"DECI"s,"CENTI"s,"MILLI"s,"MICRO"s,"NANO"s,"PICO"s,"FEMTO"s,"ATTO"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SHOWER"s,"SANITARYFOUNTAIN"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"UNIFORM"s,"TAPERED"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"COSENSOR"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"SMOKESENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"WINDSENSOR"s,"IfcSequenceEnum"s,"START_START"s,"START_FINISH"s,"FINISH_START"s,"FINISH_FINISH"s,"IfcShadingDeviceTypeEnum"s,"JALOUSIE"s,"SHUTTER"s,"AWNING"s,"IfcShearModulusMeasure"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_SINGLEVALUE"s,"P_ENUMERATEDVALUE"s,"P_BOUNDEDVALUE"s,"P_LISTVALUE"s,"P_TABLEVALUE"s,"P_REFERENCEVALUE"s,"Q_LENGTH"s,"Q_AREA"s,"Q_VOLUME"s,"Q_COUNT"s,"Q_WEIGHT"s,"Q_TIME"s,"IfcSlabTypeEnum"s,"FLOOR"s,"ROOF"s,"LANDING"s,"BASESLAB"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"SPACE"s,"PARKING"s,"GFA"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"OCCUPANCY"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"WINDER"s,"CURVED"s,"IfcStairTypeEnum"s,"STRAIGHT_RUN_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"QUARTER_WINDING_STAIR"s,"QUARTER_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"HALF_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"SPIRAL_STAIR"s,"DOUBLE_RETURN_STAIR"s,"CURVED_RUN_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"IfcStateEnum"s,"READWRITE"s,"READONLY"s,"LOCKED"s,"READWRITELOCKED"s,"READONLYLOCKED"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"POLYGONAL"s,"EQUIDISTANT"s,"SINUS"s,"PARABOLA"s,"DISCRETE"s,"IfcStructuralCurveMemberTypeEnum"s,"RIGID_JOINED_MEMBER"s,"PIN_JOINED_MEMBER"s,"TENSION_MEMBER"s,"COMPRESSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"MARK"s,"TAG"s,"TREATMENT"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"WORKSURFACE"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"PRESSUREVESSEL"s,"STORAGE"s,"VESSEL"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"COUPLER"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"UP"s,"DOWN"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTransformerTypeEnum"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"IfcTransitionCode"s,"DISCONTINUOUS"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementTypeEnum"s,"ELEVATOR"s,"ESCALATOR"s,"MOVINGWALKWAY"s,"CRANEWAY"s,"LIFTINGGEAR"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"INDICATORPANEL"s,"MIMICPANEL"s,"HUMIDISTAT"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRHANDLER"s,"AIRCONDITIONINGUNIT"s,"DEHUMIDIFIER"s,"SPLITSYSTEM"s,"ROOFTOPUNIT"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DRAWOFFCOCK"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVibrationIsolatorTypeEnum"s,"COMPRESSION"s,"SPRING"s,"IfcVoidingFeatureTypeEnum"s,"CUTOUT"s,"NOTCH"s,"HOLE"s,"MITER"s,"CHAMFER"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"SOLIDWALL"s,"STANDARD"s,"ELEMENTEDWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"SIDEHUNGRIGHTHAND"s,"SIDEHUNGLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TILTANDTURNLEFTHAND"s,"TOPHUNG"s,"BOTTOMHUNG"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"REMOVABLECASEMENT"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowStyleConstructionEnum"s,"OTHER_CONSTRUCTION"s,"IfcWindowStyleOperationEnum"s,"SINGLE_PANEL"s,"DOUBLE_PANEL_VERTICAL"s,"DOUBLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_VERTICAL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_HORIZONTAL"s,"IfcWindowTypeEnum"s,"WINDOW"s,"SKYLIGHT"s,"LIGHTDOME"s,"IfcWindowTypePartitioningEnum"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcPresentationStyleAssignment"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcDerivedMeasureValue"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcStyleAssignmentSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcWindowStyle"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcPresentationStyleSelect"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcDirection"s,"IfcDoorStyle"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcProxy"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcToroidalSurface"s,"IfcTransportElementType"s,"IfcTriangulatedFaceSet"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuilding"s,"IfcBuildingElementType"s,"IfcBuildingStorey"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCylindricalSurface"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGrid"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMotorConnectionType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOpeningStandardCase"s,"IfcOutletType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailingType"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAggregates"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcShadingDeviceType"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonType"s,"IfcTransformerType"s,"IfcTransportElement"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBuildingElement"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxy"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcColumnStandardCase"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDoorStandardCase"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcLamp"s,"IfcLightFixture"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMemberStandardCase"s,"IfcMotorConnection"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcPlateStandardCase"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSlab"s,"IfcSlabElementedCase"s,"IfcSlabStandardCase"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTransformer"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallElementedCase"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcWindowStandardCase"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBeamStandardCase"s,"IfcBoiler"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"Radius"s,"Source"s,"Edition"s,"EditionDate"s,"Location"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Segments"s,"Transition"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"VerticalDatum"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"FlowDirection"s,"SystemType"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ConstructionType"s,"ParameterTakesPrecedence"s,"Sizeable"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"Tag"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"ModelorDraughting"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"Directrix"s,"StartParam"s,"EndParam"s,"FixedReference"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"PlacementRelTo"s,"RelativePlacement"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"Expression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Distance"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"Height"s,"ColourComponents"s,"Pixel"s,"Placement"s,"SizeInX"s,"SizeInY"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"Styles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"ProxyType"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"ConnectionGeometry"s,"RelatingElement"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceType"s,"ImpliedOrder"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"SpineCurve"s,"CrossSections"s,"CrossSectionPositions"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"Start"s,"Finish"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"UsingCurves"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"ReferencedInStructures"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ToFaceSet"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"ReferencedByPlacements"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"HasColours"s,"HasTextures"s,"Types"s,"IFC4"s}; diff --git a/src/ifcparse/schemas/Ifc4.cpp b/src/ifcparse/schemas/Ifc4.cpp index 039ef7fa06..0184c87c75 100644 --- a/src/ifcparse/schemas/Ifc4.cpp +++ b/src/ifcparse/schemas/Ifc4.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4::Identifier = "IFC4"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4_types[1173]; -// const IfcParse::enumeration_type& Ifc4::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[3]); } -const IfcParse::enumeration_type& Ifc4::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[3]); } +const ifcopenshell::enumeration_type& Ifc4::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[3]); } /* -Ifc4::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4::IfcActionRequestTypeEnum::Value Ifc4::IfcActionRequestTypeEnum::FromString } Ifc4::IfcActionRequestTypeEnum::operator Ifc4::IfcActionRequestTypeEnum::Value() const { - return (Ifc4::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[4]); } -const IfcParse::enumeration_type& Ifc4::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[4]); } +const ifcopenshell::enumeration_type& Ifc4::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[4]); } /* -Ifc4::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4::IfcActionSourceTypeEnum::Value Ifc4::IfcActionSourceTypeEnum::FromString(c } Ifc4::IfcActionSourceTypeEnum::operator Ifc4::IfcActionSourceTypeEnum::Value() const { - return (Ifc4::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[5]); } -const IfcParse::enumeration_type& Ifc4::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[5]); } +const ifcopenshell::enumeration_type& Ifc4::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[5]); } /* -Ifc4::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4::IfcActionTypeEnum::Value Ifc4::IfcActionTypeEnum::FromString(const std::st } Ifc4::IfcActionTypeEnum::operator Ifc4::IfcActionTypeEnum::Value() const { - return (Ifc4::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[11]); } -const IfcParse::enumeration_type& Ifc4::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[11]); } +const ifcopenshell::enumeration_type& Ifc4::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[11]); } /* -Ifc4::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4::IfcActuatorTypeEnum::Value Ifc4::IfcActuatorTypeEnum::FromString(const std } Ifc4::IfcActuatorTypeEnum::operator Ifc4::IfcActuatorTypeEnum::Value() const { - return (Ifc4::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[13]); } -const IfcParse::enumeration_type& Ifc4::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[13]); } +const ifcopenshell::enumeration_type& Ifc4::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[13]); } /* -Ifc4::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4::IfcAddressTypeEnum::Value Ifc4::IfcAddressTypeEnum::FromString(const std:: } Ifc4::IfcAddressTypeEnum::operator Ifc4::IfcAddressTypeEnum::Value() const { - return (Ifc4::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[20]); } -const IfcParse::enumeration_type& Ifc4::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[20]); } +const ifcopenshell::enumeration_type& Ifc4::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[20]); } /* -Ifc4::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4::IfcAirTerminalBoxTypeEnum::Value Ifc4::IfcAirTerminalBoxTypeEnum::FromStri } Ifc4::IfcAirTerminalBoxTypeEnum::operator Ifc4::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[22]); } -const IfcParse::enumeration_type& Ifc4::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[22]); } +const ifcopenshell::enumeration_type& Ifc4::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[22]); } /* -Ifc4::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4::IfcAirTerminalTypeEnum::Value Ifc4::IfcAirTerminalTypeEnum::FromString(con } Ifc4::IfcAirTerminalTypeEnum::operator Ifc4::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[25]); } -const IfcParse::enumeration_type& Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[25]); } +const ifcopenshell::enumeration_type& Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[25]); } /* -Ifc4::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4::IfcAirToAirHeatRecoveryTypeEn } Ifc4::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[28]); } -const IfcParse::enumeration_type& Ifc4::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[28]); } +const ifcopenshell::enumeration_type& Ifc4::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[28]); } /* -Ifc4::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4::IfcAlarmTypeEnum::Value Ifc4::IfcAlarmTypeEnum::FromString(const std::stri } Ifc4::IfcAlarmTypeEnum::operator Ifc4::IfcAlarmTypeEnum::Value() const { - return (Ifc4::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[30]); } -const IfcParse::enumeration_type& Ifc4::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[30]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[30]); } +const ifcopenshell::enumeration_type& Ifc4::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[30]); } /* -Ifc4::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4::IfcAnalysisModelTypeEnum::Value Ifc4::IfcAnalysisModelTypeEnum::FromString } Ifc4::IfcAnalysisModelTypeEnum::operator Ifc4::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[31]); } -const IfcParse::enumeration_type& Ifc4::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[31]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[31]); } +const ifcopenshell::enumeration_type& Ifc4::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[31]); } /* -Ifc4::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4::IfcAnalysisTheoryTypeEnum::Value Ifc4::IfcAnalysisTheoryTypeEnum::FromStri } Ifc4::IfcAnalysisTheoryTypeEnum::operator Ifc4::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[46]); } -const IfcParse::enumeration_type& Ifc4::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[46]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[46]); } +const ifcopenshell::enumeration_type& Ifc4::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[46]); } /* -Ifc4::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4::IfcArithmeticOperatorEnum::Value Ifc4::IfcArithmeticOperatorEnum::FromStri } Ifc4::IfcArithmeticOperatorEnum::operator Ifc4::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[47]); } -const IfcParse::enumeration_type& Ifc4::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[47]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[47]); } +const ifcopenshell::enumeration_type& Ifc4::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[47]); } /* -Ifc4::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4::IfcAssemblyPlaceEnum::Value Ifc4::IfcAssemblyPlaceEnum::FromString(const s } Ifc4::IfcAssemblyPlaceEnum::operator Ifc4::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[52]); } -const IfcParse::enumeration_type& Ifc4::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[52]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[52]); } +const ifcopenshell::enumeration_type& Ifc4::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[52]); } /* -Ifc4::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4::IfcAudioVisualApplianceTypeEnum::Value Ifc4::IfcAudioVisualApplianceTypeEn } Ifc4::IfcAudioVisualApplianceTypeEnum::operator Ifc4::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[86]); } -const IfcParse::enumeration_type& Ifc4::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4_types[86]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[86]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[86]); } /* -Ifc4::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4::IfcBSplineCurveForm::Value Ifc4::IfcBSplineCurveForm::FromString(const std } Ifc4::IfcBSplineCurveForm::operator Ifc4::IfcBSplineCurveForm::Value() const { - return (Ifc4::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[89]); } -const IfcParse::enumeration_type& Ifc4::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4_types[89]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[89]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[89]); } /* -Ifc4::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4::IfcBSplineSurfaceForm::Value Ifc4::IfcBSplineSurfaceForm::FromString(const } Ifc4::IfcBSplineSurfaceForm::operator Ifc4::IfcBSplineSurfaceForm::Value() const { - return (Ifc4::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[60]); } -const IfcParse::enumeration_type& Ifc4::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[60]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[60]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[60]); } /* -Ifc4::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4::IfcBeamTypeEnum::Value Ifc4::IfcBeamTypeEnum::FromString(const std::string } Ifc4::IfcBeamTypeEnum::operator Ifc4::IfcBeamTypeEnum::Value() const { - return (Ifc4::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[61]); } -const IfcParse::enumeration_type& Ifc4::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[61]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[61]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[61]); } /* -Ifc4::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4::IfcBenchmarkEnum::Value Ifc4::IfcBenchmarkEnum::FromString(const std::stri } Ifc4::IfcBenchmarkEnum::operator Ifc4::IfcBenchmarkEnum::Value() const { - return (Ifc4::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[68]); } -const IfcParse::enumeration_type& Ifc4::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[68]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[68]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[68]); } /* -Ifc4::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4::IfcBoilerTypeEnum::Value Ifc4::IfcBoilerTypeEnum::FromString(const std::st } Ifc4::IfcBoilerTypeEnum::operator Ifc4::IfcBoilerTypeEnum::Value() const { - return (Ifc4::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[72]); } -const IfcParse::enumeration_type& Ifc4::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4_types[72]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[72]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[72]); } /* -Ifc4::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4::IfcBooleanOperator::Value Ifc4::IfcBooleanOperator::FromString(const std:: } Ifc4::IfcBooleanOperator::operator Ifc4::IfcBooleanOperator::Value() const { - return (Ifc4::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[95]); } -const IfcParse::enumeration_type& Ifc4::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[95]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[95]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[95]); } /* -Ifc4::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4::IfcBuildingElementPartTypeEnum::Value Ifc4::IfcBuildingElementPartTypeEnum } Ifc4::IfcBuildingElementPartTypeEnum::operator Ifc4::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[98]); } -const IfcParse::enumeration_type& Ifc4::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[98]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[98]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[98]); } /* -Ifc4::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4::IfcBuildingElementProxyTypeEnum::Value Ifc4::IfcBuildingElementProxyTypeEn } Ifc4::IfcBuildingElementProxyTypeEnum::operator Ifc4::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[102]); } -const IfcParse::enumeration_type& Ifc4::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[102]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[102]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[102]); } /* -Ifc4::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4::IfcBuildingSystemTypeEnum::Value Ifc4::IfcBuildingSystemTypeEnum::FromStri } Ifc4::IfcBuildingSystemTypeEnum::operator Ifc4::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[105]); } -const IfcParse::enumeration_type& Ifc4::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[105]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[105]); } +const ifcopenshell::enumeration_type& Ifc4::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[105]); } /* -Ifc4::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4::IfcBurnerTypeEnum::Value Ifc4::IfcBurnerTypeEnum::FromString(const std::st } Ifc4::IfcBurnerTypeEnum::operator Ifc4::IfcBurnerTypeEnum::Value() const { - return (Ifc4::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[108]); } -const IfcParse::enumeration_type& Ifc4::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[108]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[108]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[108]); } /* -Ifc4::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4::IfcCableCarrierFittingTypeEnum::Value Ifc4::IfcCableCarrierFittingTypeEnum } Ifc4::IfcCableCarrierFittingTypeEnum::operator Ifc4::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[111]); } -const IfcParse::enumeration_type& Ifc4::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[111]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[111]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[111]); } /* -Ifc4::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4::IfcCableCarrierSegmentTypeEnum::Value Ifc4::IfcCableCarrierSegmentTypeEnum } Ifc4::IfcCableCarrierSegmentTypeEnum::operator Ifc4::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[114]); } -const IfcParse::enumeration_type& Ifc4::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[114]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[114]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[114]); } /* -Ifc4::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4::IfcCableFittingTypeEnum::Value Ifc4::IfcCableFittingTypeEnum::FromString(c } Ifc4::IfcCableFittingTypeEnum::operator Ifc4::IfcCableFittingTypeEnum::Value() const { - return (Ifc4::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[117]); } -const IfcParse::enumeration_type& Ifc4::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[117]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[117]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[117]); } /* -Ifc4::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4::IfcCableSegmentTypeEnum::Value Ifc4::IfcCableSegmentTypeEnum::FromString(c } Ifc4::IfcCableSegmentTypeEnum::operator Ifc4::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[129]); } -const IfcParse::enumeration_type& Ifc4::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[129]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[129]); } +const ifcopenshell::enumeration_type& Ifc4::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[129]); } /* -Ifc4::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4::IfcChangeActionEnum::Value Ifc4::IfcChangeActionEnum::FromString(const std } Ifc4::IfcChangeActionEnum::operator Ifc4::IfcChangeActionEnum::Value() const { - return (Ifc4::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[132]); } -const IfcParse::enumeration_type& Ifc4::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[132]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[132]); } +const ifcopenshell::enumeration_type& Ifc4::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[132]); } /* -Ifc4::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4::IfcChillerTypeEnum::Value Ifc4::IfcChillerTypeEnum::FromString(const std:: } Ifc4::IfcChillerTypeEnum::operator Ifc4::IfcChillerTypeEnum::Value() const { - return (Ifc4::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[135]); } -const IfcParse::enumeration_type& Ifc4::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[135]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[135]); } +const ifcopenshell::enumeration_type& Ifc4::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[135]); } /* -Ifc4::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4::IfcChimneyTypeEnum::Value Ifc4::IfcChimneyTypeEnum::FromString(const std:: } Ifc4::IfcChimneyTypeEnum::operator Ifc4::IfcChimneyTypeEnum::Value() const { - return (Ifc4::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[148]); } -const IfcParse::enumeration_type& Ifc4::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[148]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[148]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[148]); } /* -Ifc4::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4::IfcCoilTypeEnum::Value Ifc4::IfcCoilTypeEnum::FromString(const std::string } Ifc4::IfcCoilTypeEnum::operator Ifc4::IfcCoilTypeEnum::Value() const { - return (Ifc4::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[157]); } -const IfcParse::enumeration_type& Ifc4::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[157]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[157]); } +const ifcopenshell::enumeration_type& Ifc4::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[157]); } /* -Ifc4::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4::IfcColumnTypeEnum::Value Ifc4::IfcColumnTypeEnum::FromString(const std::st } Ifc4::IfcColumnTypeEnum::operator Ifc4::IfcColumnTypeEnum::Value() const { - return (Ifc4::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[160]); } -const IfcParse::enumeration_type& Ifc4::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[160]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[160]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[160]); } /* -Ifc4::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4::IfcCommunicationsApplianceTypeEnum::Value Ifc4::IfcCommunicationsAppliance } Ifc4::IfcCommunicationsApplianceTypeEnum::operator Ifc4::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[164]); } -const IfcParse::enumeration_type& Ifc4::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[164]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[164]); } +const ifcopenshell::enumeration_type& Ifc4::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[164]); } /* -Ifc4::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4::IfcComplexPropertyTemplateTypeEnum::Value Ifc4::IfcComplexPropertyTemplate } Ifc4::IfcComplexPropertyTemplateTypeEnum::operator Ifc4::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[172]); } -const IfcParse::enumeration_type& Ifc4::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[172]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[172]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[172]); } /* -Ifc4::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4::IfcCompressorTypeEnum::Value Ifc4::IfcCompressorTypeEnum::FromString(const } Ifc4::IfcCompressorTypeEnum::operator Ifc4::IfcCompressorTypeEnum::Value() const { - return (Ifc4::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[175]); } -const IfcParse::enumeration_type& Ifc4::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[175]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[175]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[175]); } /* -Ifc4::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4::IfcCondenserTypeEnum::Value Ifc4::IfcCondenserTypeEnum::FromString(const s } Ifc4::IfcCondenserTypeEnum::operator Ifc4::IfcCondenserTypeEnum::Value() const { - return (Ifc4::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[183]); } -const IfcParse::enumeration_type& Ifc4::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[183]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[183]); } +const ifcopenshell::enumeration_type& Ifc4::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[183]); } /* -Ifc4::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4::IfcConnectionTypeEnum::Value Ifc4::IfcConnectionTypeEnum::FromString(const } Ifc4::IfcConnectionTypeEnum::operator Ifc4::IfcConnectionTypeEnum::Value() const { - return (Ifc4::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[186]); } -const IfcParse::enumeration_type& Ifc4::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[186]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[186]); } +const ifcopenshell::enumeration_type& Ifc4::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[186]); } /* -Ifc4::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4::IfcConstraintEnum::Value Ifc4::IfcConstraintEnum::FromString(const std::st } Ifc4::IfcConstraintEnum::operator Ifc4::IfcConstraintEnum::Value() const { - return (Ifc4::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[189]); } -const IfcParse::enumeration_type& Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[189]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[189]); } +const ifcopenshell::enumeration_type& Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[189]); } /* -Ifc4::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4::IfcConstructionEquip } Ifc4::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[192]); } -const IfcParse::enumeration_type& Ifc4::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[192]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[192]); } +const ifcopenshell::enumeration_type& Ifc4::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[192]); } /* -Ifc4::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4::IfcConstructionMaterialResourceTypeEnum::Value Ifc4::IfcConstructionMateri } Ifc4::IfcConstructionMaterialResourceTypeEnum::operator Ifc4::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[195]); } -const IfcParse::enumeration_type& Ifc4::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[195]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[195]); } +const ifcopenshell::enumeration_type& Ifc4::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[195]); } /* -Ifc4::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4::IfcConstructionProductResourceTypeEnum::Value Ifc4::IfcConstructionProduct } Ifc4::IfcConstructionProductResourceTypeEnum::operator Ifc4::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[204]); } -const IfcParse::enumeration_type& Ifc4::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[204]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[204]); } +const ifcopenshell::enumeration_type& Ifc4::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[204]); } /* -Ifc4::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4::IfcControllerTypeEnum::Value Ifc4::IfcControllerTypeEnum::FromString(const } Ifc4::IfcControllerTypeEnum::operator Ifc4::IfcControllerTypeEnum::Value() const { - return (Ifc4::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[209]); } -const IfcParse::enumeration_type& Ifc4::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[209]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[209]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[209]); } /* -Ifc4::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4::IfcCooledBeamTypeEnum::Value Ifc4::IfcCooledBeamTypeEnum::FromString(const } Ifc4::IfcCooledBeamTypeEnum::operator Ifc4::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[212]); } -const IfcParse::enumeration_type& Ifc4::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[212]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[212]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[212]); } /* -Ifc4::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4::IfcCoolingTowerTypeEnum::Value Ifc4::IfcCoolingTowerTypeEnum::FromString(c } Ifc4::IfcCoolingTowerTypeEnum::operator Ifc4::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[217]); } -const IfcParse::enumeration_type& Ifc4::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[217]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[217]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[217]); } /* -Ifc4::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4::IfcCostItemTypeEnum::Value Ifc4::IfcCostItemTypeEnum::FromString(const std } Ifc4::IfcCostItemTypeEnum::operator Ifc4::IfcCostItemTypeEnum::Value() const { - return (Ifc4::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[219]); } -const IfcParse::enumeration_type& Ifc4::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[219]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[219]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[219]); } /* -Ifc4::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4::IfcCostScheduleTypeEnum::Value Ifc4::IfcCostScheduleTypeEnum::FromString(c } Ifc4::IfcCostScheduleTypeEnum::operator Ifc4::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[224]); } -const IfcParse::enumeration_type& Ifc4::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[224]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[224]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[224]); } /* -Ifc4::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4::IfcCoveringTypeEnum::Value Ifc4::IfcCoveringTypeEnum::FromString(const std } Ifc4::IfcCoveringTypeEnum::operator Ifc4::IfcCoveringTypeEnum::Value() const { - return (Ifc4::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[227]); } -const IfcParse::enumeration_type& Ifc4::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[227]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[227]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[227]); } /* -Ifc4::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4::IfcCrewResourceTypeEnum::Value Ifc4::IfcCrewResourceTypeEnum::FromString(c } Ifc4::IfcCrewResourceTypeEnum::operator Ifc4::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[235]); } -const IfcParse::enumeration_type& Ifc4::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[235]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[235]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[235]); } /* -Ifc4::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4::IfcCurtainWallTypeEnum::Value Ifc4::IfcCurtainWallTypeEnum::FromString(con } Ifc4::IfcCurtainWallTypeEnum::operator Ifc4::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[241]); } -const IfcParse::enumeration_type& Ifc4::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[241]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[241]); } +const ifcopenshell::enumeration_type& Ifc4::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[241]); } /* -Ifc4::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4::IfcCurveInterpolationEnum::Value Ifc4::IfcCurveInterpolationEnum::FromStri } Ifc4::IfcCurveInterpolationEnum::operator Ifc4::IfcCurveInterpolationEnum::Value() const { - return (Ifc4::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[252]); } -const IfcParse::enumeration_type& Ifc4::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[252]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[252]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[252]); } /* -Ifc4::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4::IfcDamperTypeEnum::Value Ifc4::IfcDamperTypeEnum::FromString(const std::st } Ifc4::IfcDamperTypeEnum::operator Ifc4::IfcDamperTypeEnum::Value() const { - return (Ifc4::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[253]); } -const IfcParse::enumeration_type& Ifc4::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[253]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[253]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[253]); } /* -Ifc4::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4::IfcDataOriginEnum::Value Ifc4::IfcDataOriginEnum::FromString(const std::st } Ifc4::IfcDataOriginEnum::operator Ifc4::IfcDataOriginEnum::Value() const { - return (Ifc4::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[263]); } -const IfcParse::enumeration_type& Ifc4::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[263]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[263]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[263]); } /* -Ifc4::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4::IfcDerivedUnitEnum::Value Ifc4::IfcDerivedUnitEnum::FromString(const std:: } Ifc4::IfcDerivedUnitEnum::operator Ifc4::IfcDerivedUnitEnum::Value() const { - return (Ifc4::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[268]); } -const IfcParse::enumeration_type& Ifc4::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[268]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[268]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[268]); } /* -Ifc4::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4::IfcDirectionSenseEnum::Value Ifc4::IfcDirectionSenseEnum::FromString(const } Ifc4::IfcDirectionSenseEnum::operator Ifc4::IfcDirectionSenseEnum::Value() const { - return (Ifc4::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[271]); } -const IfcParse::enumeration_type& Ifc4::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[271]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[271]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[271]); } /* -Ifc4::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4::IfcDiscreteAccessoryTypeEnum::Value Ifc4::IfcDiscreteAccessoryTypeEnum::Fr } Ifc4::IfcDiscreteAccessoryTypeEnum::operator Ifc4::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[274]); } -const IfcParse::enumeration_type& Ifc4::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[274]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[274]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[274]); } /* -Ifc4::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4::IfcDistributionChamberElementTypeEnum::Value Ifc4::IfcDistributionChamberE } Ifc4::IfcDistributionChamberElementTypeEnum::operator Ifc4::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[283]); } -const IfcParse::enumeration_type& Ifc4::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[283]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[283]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[283]); } /* -Ifc4::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4::IfcDistributionPortTypeEnum::Value Ifc4::IfcDistributionPortTypeEnum::From } Ifc4::IfcDistributionPortTypeEnum::operator Ifc4::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[285]); } -const IfcParse::enumeration_type& Ifc4::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[285]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[285]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[285]); } /* -Ifc4::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4::IfcDistributionSystemEnum::Value Ifc4::IfcDistributionSystemEnum::FromStri } Ifc4::IfcDistributionSystemEnum::operator Ifc4::IfcDistributionSystemEnum::Value() const { - return (Ifc4::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[286]); } -const IfcParse::enumeration_type& Ifc4::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[286]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[286]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[286]); } /* -Ifc4::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4::IfcDocumentConfidentialityEnum::Value Ifc4::IfcDocumentConfidentialityEnum } Ifc4::IfcDocumentConfidentialityEnum::operator Ifc4::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[291]); } -const IfcParse::enumeration_type& Ifc4::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[291]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[291]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[291]); } /* -Ifc4::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4::IfcDocumentStatusEnum::Value Ifc4::IfcDocumentStatusEnum::FromString(const } Ifc4::IfcDocumentStatusEnum::operator Ifc4::IfcDocumentStatusEnum::Value() const { - return (Ifc4::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[294]); } -const IfcParse::enumeration_type& Ifc4::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[294]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[294]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[294]); } /* -Ifc4::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4::IfcDoorPanelOperationEnum::Value Ifc4::IfcDoorPanelOperationEnum::FromStri } Ifc4::IfcDoorPanelOperationEnum::operator Ifc4::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[295]); } -const IfcParse::enumeration_type& Ifc4::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[295]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[295]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[295]); } /* -Ifc4::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4::IfcDoorPanelPositionEnum::Value Ifc4::IfcDoorPanelPositionEnum::FromString } Ifc4::IfcDoorPanelPositionEnum::operator Ifc4::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDoorStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[299]); } -const IfcParse::enumeration_type& Ifc4::IfcDoorStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[299]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDoorStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[299]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDoorStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[299]); } /* -Ifc4::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) +Ifc4::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4::IfcDoorStyleConstructionEnum::Value Ifc4::IfcDoorStyleConstructionEnum::Fr } Ifc4::IfcDoorStyleConstructionEnum::operator Ifc4::IfcDoorStyleConstructionEnum::Value() const { - return (Ifc4::IfcDoorStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDoorStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDoorStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[300]); } -const IfcParse::enumeration_type& Ifc4::IfcDoorStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[300]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDoorStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[300]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDoorStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[300]); } /* -Ifc4::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) +Ifc4::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4::IfcDoorStyleOperationEnum::Value Ifc4::IfcDoorStyleOperationEnum::FromStri } Ifc4::IfcDoorStyleOperationEnum::operator Ifc4::IfcDoorStyleOperationEnum::Value() const { - return (Ifc4::IfcDoorStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDoorStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[302]); } -const IfcParse::enumeration_type& Ifc4::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[302]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[302]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[302]); } /* -Ifc4::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4::IfcDoorTypeEnum::Value Ifc4::IfcDoorTypeEnum::FromString(const std::string } Ifc4::IfcDoorTypeEnum::operator Ifc4::IfcDoorTypeEnum::Value() const { - return (Ifc4::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[303]); } -const IfcParse::enumeration_type& Ifc4::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[303]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[303]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[303]); } /* -Ifc4::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4::IfcDoorTypeOperationEnum::Value Ifc4::IfcDoorTypeOperationEnum::FromString } Ifc4::IfcDoorTypeOperationEnum::operator Ifc4::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[309]); } -const IfcParse::enumeration_type& Ifc4::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[309]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[309]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[309]); } /* -Ifc4::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4::IfcDuctFittingTypeEnum::Value Ifc4::IfcDuctFittingTypeEnum::FromString(con } Ifc4::IfcDuctFittingTypeEnum::operator Ifc4::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[312]); } -const IfcParse::enumeration_type& Ifc4::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[312]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[312]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[312]); } /* -Ifc4::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4::IfcDuctSegmentTypeEnum::Value Ifc4::IfcDuctSegmentTypeEnum::FromString(con } Ifc4::IfcDuctSegmentTypeEnum::operator Ifc4::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[315]); } -const IfcParse::enumeration_type& Ifc4::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[315]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[315]); } +const ifcopenshell::enumeration_type& Ifc4::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[315]); } /* -Ifc4::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4::IfcDuctSilencerTypeEnum::Value Ifc4::IfcDuctSilencerTypeEnum::FromString(c } Ifc4::IfcDuctSilencerTypeEnum::operator Ifc4::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[323]); } -const IfcParse::enumeration_type& Ifc4::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[323]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[323]); } +const ifcopenshell::enumeration_type& Ifc4::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[323]); } /* -Ifc4::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4::IfcElectricApplianceTypeEnum::Value Ifc4::IfcElectricApplianceTypeEnum::Fr } Ifc4::IfcElectricApplianceTypeEnum::operator Ifc4::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[330]); } -const IfcParse::enumeration_type& Ifc4::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[330]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[330]); } +const ifcopenshell::enumeration_type& Ifc4::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[330]); } /* -Ifc4::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4::IfcElectricDistributionBoardTypeEnum::Value Ifc4::IfcElectricDistributionB } Ifc4::IfcElectricDistributionBoardTypeEnum::operator Ifc4::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[333]); } -const IfcParse::enumeration_type& Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[333]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[333]); } +const ifcopenshell::enumeration_type& Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[333]); } /* -Ifc4::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4::IfcElectricFlowStorageDe } Ifc4::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[336]); } -const IfcParse::enumeration_type& Ifc4::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[336]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[336]); } +const ifcopenshell::enumeration_type& Ifc4::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[336]); } /* -Ifc4::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4::IfcElectricGeneratorTypeEnum::Value Ifc4::IfcElectricGeneratorTypeEnum::Fr } Ifc4::IfcElectricGeneratorTypeEnum::operator Ifc4::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[339]); } -const IfcParse::enumeration_type& Ifc4::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[339]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[339]); } +const ifcopenshell::enumeration_type& Ifc4::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[339]); } /* -Ifc4::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4::IfcElectricMotorTypeEnum::Value Ifc4::IfcElectricMotorTypeEnum::FromString } Ifc4::IfcElectricMotorTypeEnum::operator Ifc4::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[343]); } -const IfcParse::enumeration_type& Ifc4::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[343]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[343]); } +const ifcopenshell::enumeration_type& Ifc4::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[343]); } /* -Ifc4::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4::IfcElectricTimeControlTypeEnum::Value Ifc4::IfcElectricTimeControlTypeEnum } Ifc4::IfcElectricTimeControlTypeEnum::operator Ifc4::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[349]); } -const IfcParse::enumeration_type& Ifc4::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[349]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[349]); } +const ifcopenshell::enumeration_type& Ifc4::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[349]); } /* -Ifc4::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4::IfcElementAssemblyTypeEnum::Value Ifc4::IfcElementAssemblyTypeEnum::FromSt } Ifc4::IfcElementAssemblyTypeEnum::operator Ifc4::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[352]); } -const IfcParse::enumeration_type& Ifc4::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[352]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[352]); } +const ifcopenshell::enumeration_type& Ifc4::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[352]); } /* -Ifc4::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4::IfcElementCompositionEnum::Value Ifc4::IfcElementCompositionEnum::FromStri } Ifc4::IfcElementCompositionEnum::operator Ifc4::IfcElementCompositionEnum::Value() const { - return (Ifc4::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[362]); } -const IfcParse::enumeration_type& Ifc4::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[362]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[362]); } +const ifcopenshell::enumeration_type& Ifc4::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[362]); } /* -Ifc4::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4::IfcEngineTypeEnum::Value Ifc4::IfcEngineTypeEnum::FromString(const std::st } Ifc4::IfcEngineTypeEnum::operator Ifc4::IfcEngineTypeEnum::Value() const { - return (Ifc4::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[365]); } -const IfcParse::enumeration_type& Ifc4::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[365]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[365]); } +const ifcopenshell::enumeration_type& Ifc4::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[365]); } /* -Ifc4::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4::IfcEvaporativeCoolerTypeEnum::Value Ifc4::IfcEvaporativeCoolerTypeEnum::Fr } Ifc4::IfcEvaporativeCoolerTypeEnum::operator Ifc4::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[368]); } -const IfcParse::enumeration_type& Ifc4::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[368]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[368]); } +const ifcopenshell::enumeration_type& Ifc4::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[368]); } /* -Ifc4::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4::IfcEvaporatorTypeEnum::Value Ifc4::IfcEvaporatorTypeEnum::FromString(const } Ifc4::IfcEvaporatorTypeEnum::operator Ifc4::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[371]); } -const IfcParse::enumeration_type& Ifc4::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[371]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[371]); } +const ifcopenshell::enumeration_type& Ifc4::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[371]); } /* -Ifc4::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4::IfcEventTriggerTypeEnum::Value Ifc4::IfcEventTriggerTypeEnum::FromString(c } Ifc4::IfcEventTriggerTypeEnum::operator Ifc4::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[373]); } -const IfcParse::enumeration_type& Ifc4::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[373]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[373]); } +const ifcopenshell::enumeration_type& Ifc4::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[373]); } /* -Ifc4::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4::IfcEventTypeEnum::Value Ifc4::IfcEventTypeEnum::FromString(const std::stri } Ifc4::IfcEventTypeEnum::operator Ifc4::IfcEventTypeEnum::Value() const { - return (Ifc4::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[382]); } -const IfcParse::enumeration_type& Ifc4::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[382]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[382]); } +const ifcopenshell::enumeration_type& Ifc4::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[382]); } /* -Ifc4::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4::IfcExternalSpatialElementTypeEnum::Value Ifc4::IfcExternalSpatialElementTy } Ifc4::IfcExternalSpatialElementTypeEnum::operator Ifc4::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[396]); } -const IfcParse::enumeration_type& Ifc4::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[396]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[396]); } +const ifcopenshell::enumeration_type& Ifc4::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[396]); } /* -Ifc4::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4::IfcFanTypeEnum::Value Ifc4::IfcFanTypeEnum::FromString(const std::string& } Ifc4::IfcFanTypeEnum::operator Ifc4::IfcFanTypeEnum::Value() const { - return (Ifc4::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[399]); } -const IfcParse::enumeration_type& Ifc4::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[399]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[399]); } +const ifcopenshell::enumeration_type& Ifc4::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[399]); } /* -Ifc4::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4::IfcFastenerTypeEnum::Value Ifc4::IfcFastenerTypeEnum::FromString(const std } Ifc4::IfcFastenerTypeEnum::operator Ifc4::IfcFastenerTypeEnum::Value() const { - return (Ifc4::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[409]); } -const IfcParse::enumeration_type& Ifc4::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[409]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[409]); } +const ifcopenshell::enumeration_type& Ifc4::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[409]); } /* -Ifc4::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4::IfcFilterTypeEnum::Value Ifc4::IfcFilterTypeEnum::FromString(const std::st } Ifc4::IfcFilterTypeEnum::operator Ifc4::IfcFilterTypeEnum::Value() const { - return (Ifc4::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[412]); } -const IfcParse::enumeration_type& Ifc4::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[412]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[412]); } +const ifcopenshell::enumeration_type& Ifc4::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[412]); } /* -Ifc4::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4::IfcFireSuppressionTerminalTypeEnum::Value Ifc4::IfcFireSuppressionTerminal } Ifc4::IfcFireSuppressionTerminalTypeEnum::operator Ifc4::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[416]); } -const IfcParse::enumeration_type& Ifc4::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[416]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[416]); } +const ifcopenshell::enumeration_type& Ifc4::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[416]); } /* -Ifc4::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4::IfcFlowDirectionEnum::Value Ifc4::IfcFlowDirectionEnum::FromString(const s } Ifc4::IfcFlowDirectionEnum::operator Ifc4::IfcFlowDirectionEnum::Value() const { - return (Ifc4::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[421]); } -const IfcParse::enumeration_type& Ifc4::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[421]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[421]); } +const ifcopenshell::enumeration_type& Ifc4::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[421]); } /* -Ifc4::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4::IfcFlowInstrumentTypeEnum::Value Ifc4::IfcFlowInstrumentTypeEnum::FromStri } Ifc4::IfcFlowInstrumentTypeEnum::operator Ifc4::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[424]); } -const IfcParse::enumeration_type& Ifc4::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[424]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[424]); } +const ifcopenshell::enumeration_type& Ifc4::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[424]); } /* -Ifc4::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4::IfcFlowMeterTypeEnum::Value Ifc4::IfcFlowMeterTypeEnum::FromString(const s } Ifc4::IfcFlowMeterTypeEnum::operator Ifc4::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[440]); } -const IfcParse::enumeration_type& Ifc4::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[440]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[440]); } +const ifcopenshell::enumeration_type& Ifc4::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[440]); } /* -Ifc4::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4::IfcFootingTypeEnum::Value Ifc4::IfcFootingTypeEnum::FromString(const std:: } Ifc4::IfcFootingTypeEnum::operator Ifc4::IfcFootingTypeEnum::Value() const { - return (Ifc4::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[447]); } -const IfcParse::enumeration_type& Ifc4::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[447]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[447]); } +const ifcopenshell::enumeration_type& Ifc4::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[447]); } /* -Ifc4::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4::IfcFurnitureTypeEnum::Value Ifc4::IfcFurnitureTypeEnum::FromString(const s } Ifc4::IfcFurnitureTypeEnum::operator Ifc4::IfcFurnitureTypeEnum::Value() const { - return (Ifc4::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[450]); } -const IfcParse::enumeration_type& Ifc4::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[450]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[450]); } +const ifcopenshell::enumeration_type& Ifc4::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[450]); } /* -Ifc4::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4::IfcGeographicElementTypeEnum::Value Ifc4::IfcGeographicElementTypeEnum::Fr } Ifc4::IfcGeographicElementTypeEnum::operator Ifc4::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[452]); } -const IfcParse::enumeration_type& Ifc4::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[452]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[452]); } +const ifcopenshell::enumeration_type& Ifc4::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[452]); } /* -Ifc4::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4::IfcGeometricProjectionEnum::Value Ifc4::IfcGeometricProjectionEnum::FromSt } Ifc4::IfcGeometricProjectionEnum::operator Ifc4::IfcGeometricProjectionEnum::Value() const { - return (Ifc4::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[459]); } -const IfcParse::enumeration_type& Ifc4::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[459]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[459]); } +const ifcopenshell::enumeration_type& Ifc4::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[459]); } /* -Ifc4::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4::IfcGlobalOrLocalEnum::Value Ifc4::IfcGlobalOrLocalEnum::FromString(const s } Ifc4::IfcGlobalOrLocalEnum::operator Ifc4::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[464]); } -const IfcParse::enumeration_type& Ifc4::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[464]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[464]); } +const ifcopenshell::enumeration_type& Ifc4::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[464]); } /* -Ifc4::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4::IfcGridTypeEnum::Value Ifc4::IfcGridTypeEnum::FromString(const std::string } Ifc4::IfcGridTypeEnum::operator Ifc4::IfcGridTypeEnum::Value() const { - return (Ifc4::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[470]); } -const IfcParse::enumeration_type& Ifc4::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[470]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[470]); } +const ifcopenshell::enumeration_type& Ifc4::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[470]); } /* -Ifc4::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4::IfcHeatExchangerTypeEnum::Value Ifc4::IfcHeatExchangerTypeEnum::FromString } Ifc4::IfcHeatExchangerTypeEnum::operator Ifc4::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[475]); } -const IfcParse::enumeration_type& Ifc4::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[475]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[475]); } +const ifcopenshell::enumeration_type& Ifc4::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[475]); } /* -Ifc4::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4::IfcHumidifierTypeEnum::Value Ifc4::IfcHumidifierTypeEnum::FromString(const } Ifc4::IfcHumidifierTypeEnum::operator Ifc4::IfcHumidifierTypeEnum::Value() const { - return (Ifc4::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[490]); } -const IfcParse::enumeration_type& Ifc4::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[490]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[490]); } +const ifcopenshell::enumeration_type& Ifc4::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[490]); } /* -Ifc4::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4::IfcInterceptorTypeEnum::Value Ifc4::IfcInterceptorTypeEnum::FromString(con } Ifc4::IfcInterceptorTypeEnum::operator Ifc4::IfcInterceptorTypeEnum::Value() const { - return (Ifc4::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[491]); } -const IfcParse::enumeration_type& Ifc4::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[491]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[491]); } +const ifcopenshell::enumeration_type& Ifc4::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[491]); } /* -Ifc4::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4::IfcInternalOrExternalEnum::Value Ifc4::IfcInternalOrExternalEnum::FromStri } Ifc4::IfcInternalOrExternalEnum::operator Ifc4::IfcInternalOrExternalEnum::Value() const { - return (Ifc4::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[494]); } -const IfcParse::enumeration_type& Ifc4::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[494]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[494]); } +const ifcopenshell::enumeration_type& Ifc4::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[494]); } /* -Ifc4::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4::IfcInventoryTypeEnum::Value Ifc4::IfcInventoryTypeEnum::FromString(const s } Ifc4::IfcInventoryTypeEnum::operator Ifc4::IfcInventoryTypeEnum::Value() const { - return (Ifc4::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[502]); } -const IfcParse::enumeration_type& Ifc4::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[502]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[502]); } +const ifcopenshell::enumeration_type& Ifc4::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[502]); } /* -Ifc4::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4::IfcJunctionBoxTypeEnum::Value Ifc4::IfcJunctionBoxTypeEnum::FromString(con } Ifc4::IfcJunctionBoxTypeEnum::operator Ifc4::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[504]); } -const IfcParse::enumeration_type& Ifc4::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4_types[504]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[504]); } +const ifcopenshell::enumeration_type& Ifc4::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[504]); } /* -Ifc4::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4::IfcKnotType::Value Ifc4::IfcKnotType::FromString(const std::string& s) { } Ifc4::IfcKnotType::operator Ifc4::IfcKnotType::Value() const { - return (Ifc4::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[508]); } -const IfcParse::enumeration_type& Ifc4::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[508]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[508]); } +const ifcopenshell::enumeration_type& Ifc4::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[508]); } /* -Ifc4::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4::IfcLaborResourceTypeEnum::Value Ifc4::IfcLaborResourceTypeEnum::FromString } Ifc4::IfcLaborResourceTypeEnum::operator Ifc4::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[512]); } -const IfcParse::enumeration_type& Ifc4::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[512]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[512]); } +const ifcopenshell::enumeration_type& Ifc4::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[512]); } /* -Ifc4::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4::IfcLampTypeEnum::Value Ifc4::IfcLampTypeEnum::FromString(const std::string } Ifc4::IfcLampTypeEnum::operator Ifc4::IfcLampTypeEnum::Value() const { - return (Ifc4::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[515]); } -const IfcParse::enumeration_type& Ifc4::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[515]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[515]); } +const ifcopenshell::enumeration_type& Ifc4::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[515]); } /* -Ifc4::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4::IfcLayerSetDirectionEnum::Value Ifc4::IfcLayerSetDirectionEnum::FromString } Ifc4::IfcLayerSetDirectionEnum::operator Ifc4::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[520]); } -const IfcParse::enumeration_type& Ifc4::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[520]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[520]); } +const ifcopenshell::enumeration_type& Ifc4::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[520]); } /* -Ifc4::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4::IfcLightDistributionCurveEnum::Value Ifc4::IfcLightDistributionCurveEnum:: } Ifc4::IfcLightDistributionCurveEnum::operator Ifc4::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[523]); } -const IfcParse::enumeration_type& Ifc4::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[523]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[523]); } +const ifcopenshell::enumeration_type& Ifc4::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[523]); } /* -Ifc4::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4::IfcLightEmissionSourceEnum::Value Ifc4::IfcLightEmissionSourceEnum::FromSt } Ifc4::IfcLightEmissionSourceEnum::operator Ifc4::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[526]); } -const IfcParse::enumeration_type& Ifc4::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[526]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[526]); } +const ifcopenshell::enumeration_type& Ifc4::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[526]); } /* -Ifc4::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4::IfcLightFixtureTypeEnum::Value Ifc4::IfcLightFixtureTypeEnum::FromString(c } Ifc4::IfcLightFixtureTypeEnum::operator Ifc4::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[540]); } -const IfcParse::enumeration_type& Ifc4::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[540]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[540]); } +const ifcopenshell::enumeration_type& Ifc4::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[540]); } /* -Ifc4::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4::IfcLoadGroupTypeEnum::Value Ifc4::IfcLoadGroupTypeEnum::FromString(const s } Ifc4::IfcLoadGroupTypeEnum::operator Ifc4::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[543]); } -const IfcParse::enumeration_type& Ifc4::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[543]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[543]); } +const ifcopenshell::enumeration_type& Ifc4::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[543]); } /* -Ifc4::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4::IfcLogicalOperatorEnum::Value Ifc4::IfcLogicalOperatorEnum::FromString(con } Ifc4::IfcLogicalOperatorEnum::operator Ifc4::IfcLogicalOperatorEnum::Value() const { - return (Ifc4::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[582]); } -const IfcParse::enumeration_type& Ifc4::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[582]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[582]); } +const ifcopenshell::enumeration_type& Ifc4::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[582]); } /* -Ifc4::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4::IfcMechanicalFastenerTypeEnum::Value Ifc4::IfcMechanicalFastenerTypeEnum:: } Ifc4::IfcMechanicalFastenerTypeEnum::operator Ifc4::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[585]); } -const IfcParse::enumeration_type& Ifc4::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[585]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[585]); } +const ifcopenshell::enumeration_type& Ifc4::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[585]); } /* -Ifc4::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4::IfcMedicalDeviceTypeEnum::Value Ifc4::IfcMedicalDeviceTypeEnum::FromString } Ifc4::IfcMedicalDeviceTypeEnum::operator Ifc4::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[589]); } -const IfcParse::enumeration_type& Ifc4::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[589]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[589]); } +const ifcopenshell::enumeration_type& Ifc4::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[589]); } /* -Ifc4::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4::IfcMemberTypeEnum::Value Ifc4::IfcMemberTypeEnum::FromString(const std::st } Ifc4::IfcMemberTypeEnum::operator Ifc4::IfcMemberTypeEnum::Value() const { - return (Ifc4::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[608]); } -const IfcParse::enumeration_type& Ifc4::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[608]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[608]); } +const ifcopenshell::enumeration_type& Ifc4::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[608]); } /* -Ifc4::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4::IfcMotorConnectionTypeEnum::Value Ifc4::IfcMotorConnectionTypeEnum::FromSt } Ifc4::IfcMotorConnectionTypeEnum::operator Ifc4::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcNullStyle::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[612]); } -const IfcParse::enumeration_type& Ifc4::IfcNullStyle::Class() { return *((IfcParse::enumeration_type*)IFC4_types[612]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcNullStyle::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[612]); } +const ifcopenshell::enumeration_type& Ifc4::IfcNullStyle::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[612]); } /* -Ifc4::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) +Ifc4::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcNullStyle::IfcNullStyle(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcNullStyle::IfcNullStyle(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4::IfcNullStyle::Value Ifc4::IfcNullStyle::FromString(const std::string& s) { } Ifc4::IfcNullStyle::operator Ifc4::IfcNullStyle::Value() const { - return (Ifc4::IfcNullStyle::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcNullStyle::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcObjectTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[620]); } -const IfcParse::enumeration_type& Ifc4::IfcObjectTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[620]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcObjectTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[620]); } +const ifcopenshell::enumeration_type& Ifc4::IfcObjectTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[620]); } /* -Ifc4::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) +Ifc4::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcObjectTypeEnum::IfcObjectTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4::IfcObjectTypeEnum::Value Ifc4::IfcObjectTypeEnum::FromString(const std::st } Ifc4::IfcObjectTypeEnum::operator Ifc4::IfcObjectTypeEnum::Value() const { - return (Ifc4::IfcObjectTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcObjectTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[617]); } -const IfcParse::enumeration_type& Ifc4::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[617]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[617]); } +const ifcopenshell::enumeration_type& Ifc4::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[617]); } /* -Ifc4::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4::IfcObjectiveEnum::Value Ifc4::IfcObjectiveEnum::FromString(const std::stri } Ifc4::IfcObjectiveEnum::operator Ifc4::IfcObjectiveEnum::Value() const { - return (Ifc4::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[622]); } -const IfcParse::enumeration_type& Ifc4::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[622]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[622]); } +const ifcopenshell::enumeration_type& Ifc4::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[622]); } /* -Ifc4::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4::IfcOccupantTypeEnum::Value Ifc4::IfcOccupantTypeEnum::FromString(const std } Ifc4::IfcOccupantTypeEnum::operator Ifc4::IfcOccupantTypeEnum::Value() const { - return (Ifc4::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[626]); } -const IfcParse::enumeration_type& Ifc4::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[626]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[626]); } +const ifcopenshell::enumeration_type& Ifc4::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[626]); } /* -Ifc4::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4::IfcOpeningElementTypeEnum::Value Ifc4::IfcOpeningElementTypeEnum::FromStri } Ifc4::IfcOpeningElementTypeEnum::operator Ifc4::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[635]); } -const IfcParse::enumeration_type& Ifc4::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[635]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[635]); } +const ifcopenshell::enumeration_type& Ifc4::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[635]); } /* -Ifc4::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4::IfcOutletTypeEnum::Value Ifc4::IfcOutletTypeEnum::FromString(const std::st } Ifc4::IfcOutletTypeEnum::operator Ifc4::IfcOutletTypeEnum::Value() const { - return (Ifc4::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[642]); } -const IfcParse::enumeration_type& Ifc4::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[642]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[642]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[642]); } /* -Ifc4::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4::IfcPerformanceHistoryTypeEnum::Value Ifc4::IfcPerformanceHistoryTypeEnum:: } Ifc4::IfcPerformanceHistoryTypeEnum::operator Ifc4::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[643]); } -const IfcParse::enumeration_type& Ifc4::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[643]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[643]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[643]); } /* -Ifc4::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4::IfcPermeableCoveringOperationEnum::Value Ifc4::IfcPermeableCoveringOperati } Ifc4::IfcPermeableCoveringOperationEnum::operator Ifc4::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[646]); } -const IfcParse::enumeration_type& Ifc4::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[646]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[646]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[646]); } /* -Ifc4::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4::IfcPermitTypeEnum::Value Ifc4::IfcPermitTypeEnum::FromString(const std::st } Ifc4::IfcPermitTypeEnum::operator Ifc4::IfcPermitTypeEnum::Value() const { - return (Ifc4::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[651]); } -const IfcParse::enumeration_type& Ifc4::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[651]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[651]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[651]); } /* -Ifc4::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4::IfcPhysicalOrVirtualEnum::Value Ifc4::IfcPhysicalOrVirtualEnum::FromString } Ifc4::IfcPhysicalOrVirtualEnum::operator Ifc4::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[655]); } -const IfcParse::enumeration_type& Ifc4::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[655]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[655]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[655]); } /* -Ifc4::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4::IfcPileConstructionEnum::Value Ifc4::IfcPileConstructionEnum::FromString(c } Ifc4::IfcPileConstructionEnum::operator Ifc4::IfcPileConstructionEnum::Value() const { - return (Ifc4::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[657]); } -const IfcParse::enumeration_type& Ifc4::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[657]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[657]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[657]); } /* -Ifc4::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4::IfcPileTypeEnum::Value Ifc4::IfcPileTypeEnum::FromString(const std::string } Ifc4::IfcPileTypeEnum::operator Ifc4::IfcPileTypeEnum::Value() const { - return (Ifc4::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[660]); } -const IfcParse::enumeration_type& Ifc4::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[660]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[660]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[660]); } /* -Ifc4::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4::IfcPipeFittingTypeEnum::Value Ifc4::IfcPipeFittingTypeEnum::FromString(con } Ifc4::IfcPipeFittingTypeEnum::operator Ifc4::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[663]); } -const IfcParse::enumeration_type& Ifc4::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[663]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[663]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[663]); } /* -Ifc4::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4::IfcPipeSegmentTypeEnum::Value Ifc4::IfcPipeSegmentTypeEnum::FromString(con } Ifc4::IfcPipeSegmentTypeEnum::operator Ifc4::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[674]); } -const IfcParse::enumeration_type& Ifc4::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[674]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[674]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[674]); } /* -Ifc4::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4::IfcPlateTypeEnum::Value Ifc4::IfcPlateTypeEnum::FromString(const std::stri } Ifc4::IfcPlateTypeEnum::operator Ifc4::IfcPlateTypeEnum::Value() const { - return (Ifc4::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[696]); } -const IfcParse::enumeration_type& Ifc4::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4_types[696]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[696]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[696]); } /* -Ifc4::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4::IfcPreferredSurfaceCurveRepresentation::Value Ifc4::IfcPreferredSurfaceCur } Ifc4::IfcPreferredSurfaceCurveRepresentation::operator Ifc4::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[707]); } -const IfcParse::enumeration_type& Ifc4::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[707]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[707]); } +const ifcopenshell::enumeration_type& Ifc4::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[707]); } /* -Ifc4::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4::IfcProcedureTypeEnum::Value Ifc4::IfcProcedureTypeEnum::FromString(const s } Ifc4::IfcProcedureTypeEnum::operator Ifc4::IfcProcedureTypeEnum::Value() const { - return (Ifc4::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[717]); } -const IfcParse::enumeration_type& Ifc4::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[717]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[717]); } +const ifcopenshell::enumeration_type& Ifc4::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[717]); } /* -Ifc4::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4::IfcProfileTypeEnum::Value Ifc4::IfcProfileTypeEnum::FromString(const std:: } Ifc4::IfcProfileTypeEnum::operator Ifc4::IfcProfileTypeEnum::Value() const { - return (Ifc4::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[725]); } -const IfcParse::enumeration_type& Ifc4::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[725]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[725]); } +const ifcopenshell::enumeration_type& Ifc4::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[725]); } /* -Ifc4::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4::IfcProjectOrderTypeEnum::Value Ifc4::IfcProjectOrderTypeEnum::FromString(c } Ifc4::IfcProjectOrderTypeEnum::operator Ifc4::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[720]); } -const IfcParse::enumeration_type& Ifc4::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[720]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[720]); } +const ifcopenshell::enumeration_type& Ifc4::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[720]); } /* -Ifc4::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4::IfcProjectedOrTrueLengthEnum::Value Ifc4::IfcProjectedOrTrueLengthEnum::Fr } Ifc4::IfcProjectedOrTrueLengthEnum::operator Ifc4::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[722]); } -const IfcParse::enumeration_type& Ifc4::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[722]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[722]); } +const ifcopenshell::enumeration_type& Ifc4::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[722]); } /* -Ifc4::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4::IfcProjectionElementTypeEnum::Value Ifc4::IfcProjectionElementTypeEnum::Fr } Ifc4::IfcProjectionElementTypeEnum::operator Ifc4::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[740]); } -const IfcParse::enumeration_type& Ifc4::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[740]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[740]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[740]); } /* -Ifc4::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4::IfcPropertySetTemplateTypeEnum::Value Ifc4::IfcPropertySetTemplateTypeEnum } Ifc4::IfcPropertySetTemplateTypeEnum::operator Ifc4::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[748]); } -const IfcParse::enumeration_type& Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[748]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[748]); } +const ifcopenshell::enumeration_type& Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[748]); } /* -Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4::IfcProtectiveDeviceTr } Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[750]); } -const IfcParse::enumeration_type& Ifc4::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[750]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[750]); } +const ifcopenshell::enumeration_type& Ifc4::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[750]); } /* -Ifc4::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4::IfcProtectiveDeviceTypeEnum::Value Ifc4::IfcProtectiveDeviceTypeEnum::From } Ifc4::IfcProtectiveDeviceTypeEnum::operator Ifc4::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[754]); } -const IfcParse::enumeration_type& Ifc4::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[754]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[754]); } +const ifcopenshell::enumeration_type& Ifc4::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[754]); } /* -Ifc4::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4::IfcPumpTypeEnum::Value Ifc4::IfcPumpTypeEnum::FromString(const std::string } Ifc4::IfcPumpTypeEnum::operator Ifc4::IfcPumpTypeEnum::Value() const { - return (Ifc4::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[765]); } -const IfcParse::enumeration_type& Ifc4::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[765]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[765]); } +const ifcopenshell::enumeration_type& Ifc4::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[765]); } /* -Ifc4::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4::IfcRailingTypeEnum::Value Ifc4::IfcRailingTypeEnum::FromString(const std:: } Ifc4::IfcRailingTypeEnum::operator Ifc4::IfcRailingTypeEnum::Value() const { - return (Ifc4::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[769]); } -const IfcParse::enumeration_type& Ifc4::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[769]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[769]); } +const ifcopenshell::enumeration_type& Ifc4::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[769]); } /* -Ifc4::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4::IfcRampFlightTypeEnum::Value Ifc4::IfcRampFlightTypeEnum::FromString(const } Ifc4::IfcRampFlightTypeEnum::operator Ifc4::IfcRampFlightTypeEnum::Value() const { - return (Ifc4::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[771]); } -const IfcParse::enumeration_type& Ifc4::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[771]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[771]); } +const ifcopenshell::enumeration_type& Ifc4::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[771]); } /* -Ifc4::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4::IfcRampTypeEnum::Value Ifc4::IfcRampTypeEnum::FromString(const std::string } Ifc4::IfcRampTypeEnum::operator Ifc4::IfcRampTypeEnum::Value() const { - return (Ifc4::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[781]); } -const IfcParse::enumeration_type& Ifc4::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[781]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[781]); } +const ifcopenshell::enumeration_type& Ifc4::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[781]); } /* -Ifc4::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4::IfcRecurrenceTypeEnum::Value Ifc4::IfcRecurrenceTypeEnum::FromString(const } Ifc4::IfcRecurrenceTypeEnum::operator Ifc4::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[783]); } -const IfcParse::enumeration_type& Ifc4::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[783]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[783]); } +const ifcopenshell::enumeration_type& Ifc4::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[783]); } /* -Ifc4::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4::IfcReflectanceMethodEnum::Value Ifc4::IfcReflectanceMethodEnum::FromString } Ifc4::IfcReflectanceMethodEnum::operator Ifc4::IfcReflectanceMethodEnum::Value() const { - return (Ifc4::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[788]); } -const IfcParse::enumeration_type& Ifc4::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[788]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[788]); } +const ifcopenshell::enumeration_type& Ifc4::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[788]); } /* -Ifc4::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4::IfcReinforcingBarRoleEnum::Value Ifc4::IfcReinforcingBarRoleEnum::FromStri } Ifc4::IfcReinforcingBarRoleEnum::operator Ifc4::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[789]); } -const IfcParse::enumeration_type& Ifc4::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[789]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[789]); } +const ifcopenshell::enumeration_type& Ifc4::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[789]); } /* -Ifc4::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4::IfcReinforcingBarSurfaceEnum::Value Ifc4::IfcReinforcingBarSurfaceEnum::Fr } Ifc4::IfcReinforcingBarSurfaceEnum::operator Ifc4::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[791]); } -const IfcParse::enumeration_type& Ifc4::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[791]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[791]); } +const ifcopenshell::enumeration_type& Ifc4::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[791]); } /* -Ifc4::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4::IfcReinforcingBarTypeEnum::Value Ifc4::IfcReinforcingBarTypeEnum::FromStri } Ifc4::IfcReinforcingBarTypeEnum::operator Ifc4::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[796]); } -const IfcParse::enumeration_type& Ifc4::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[796]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[796]); } +const ifcopenshell::enumeration_type& Ifc4::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[796]); } /* -Ifc4::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4::IfcReinforcingMeshTypeEnum::Value Ifc4::IfcReinforcingMeshTypeEnum::FromSt } Ifc4::IfcReinforcingMeshTypeEnum::operator Ifc4::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[861]); } -const IfcParse::enumeration_type& Ifc4::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[861]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[861]); } +const ifcopenshell::enumeration_type& Ifc4::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[861]); } /* -Ifc4::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4::IfcRoleEnum::Value Ifc4::IfcRoleEnum::FromString(const std::string& s) { } Ifc4::IfcRoleEnum::operator Ifc4::IfcRoleEnum::Value() const { - return (Ifc4::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[864]); } -const IfcParse::enumeration_type& Ifc4::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[864]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[864]); } +const ifcopenshell::enumeration_type& Ifc4::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[864]); } /* -Ifc4::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4::IfcRoofTypeEnum::Value Ifc4::IfcRoofTypeEnum::FromString(const std::string } Ifc4::IfcRoofTypeEnum::operator Ifc4::IfcRoofTypeEnum::Value() const { - return (Ifc4::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[900]); } -const IfcParse::enumeration_type& Ifc4::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4_types[900]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[900]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[900]); } /* -Ifc4::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4::IfcSIPrefix::Value Ifc4::IfcSIPrefix::FromString(const std::string& s) { } Ifc4::IfcSIPrefix::operator Ifc4::IfcSIPrefix::Value() const { - return (Ifc4::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[903]); } -const IfcParse::enumeration_type& Ifc4::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4_types[903]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[903]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[903]); } /* -Ifc4::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4::IfcSIUnitName::Value Ifc4::IfcSIUnitName::FromString(const std::string& s) } Ifc4::IfcSIUnitName::operator Ifc4::IfcSIUnitName::Value() const { - return (Ifc4::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[873]); } -const IfcParse::enumeration_type& Ifc4::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[873]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[873]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[873]); } /* -Ifc4::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4::IfcSanitaryTerminalTypeEnum::Value Ifc4::IfcSanitaryTerminalTypeEnum::From } Ifc4::IfcSanitaryTerminalTypeEnum::operator Ifc4::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[881]); } -const IfcParse::enumeration_type& Ifc4::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[881]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[881]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[881]); } /* -Ifc4::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4::IfcSectionTypeEnum::Value Ifc4::IfcSectionTypeEnum::FromString(const std:: } Ifc4::IfcSectionTypeEnum::operator Ifc4::IfcSectionTypeEnum::Value() const { - return (Ifc4::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[885]); } -const IfcParse::enumeration_type& Ifc4::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[885]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[885]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[885]); } /* -Ifc4::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4::IfcSensorTypeEnum::Value Ifc4::IfcSensorTypeEnum::FromString(const std::st } Ifc4::IfcSensorTypeEnum::operator Ifc4::IfcSensorTypeEnum::Value() const { - return (Ifc4::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[886]); } -const IfcParse::enumeration_type& Ifc4::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[886]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[886]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[886]); } /* -Ifc4::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4::IfcSequenceEnum::Value Ifc4::IfcSequenceEnum::FromString(const std::string } Ifc4::IfcSequenceEnum::operator Ifc4::IfcSequenceEnum::Value() const { - return (Ifc4::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[889]); } -const IfcParse::enumeration_type& Ifc4::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[889]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[889]); } +const ifcopenshell::enumeration_type& Ifc4::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[889]); } /* -Ifc4::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4::IfcShadingDeviceTypeEnum::Value Ifc4::IfcShadingDeviceTypeEnum::FromString } Ifc4::IfcShadingDeviceTypeEnum::operator Ifc4::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[898]); } -const IfcParse::enumeration_type& Ifc4::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[898]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[898]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[898]); } /* -Ifc4::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4::IfcSimplePropertyTemplateTypeEnum::Value Ifc4::IfcSimplePropertyTemplateTy } Ifc4::IfcSimplePropertyTemplateTypeEnum::operator Ifc4::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[909]); } -const IfcParse::enumeration_type& Ifc4::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[909]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[909]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[909]); } /* -Ifc4::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4::IfcSlabTypeEnum::Value Ifc4::IfcSlabTypeEnum::FromString(const std::string } Ifc4::IfcSlabTypeEnum::operator Ifc4::IfcSlabTypeEnum::Value() const { - return (Ifc4::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[913]); } -const IfcParse::enumeration_type& Ifc4::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[913]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[913]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[913]); } /* -Ifc4::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4::IfcSolarDeviceTypeEnum::Value Ifc4::IfcSolarDeviceTypeEnum::FromString(con } Ifc4::IfcSolarDeviceTypeEnum::operator Ifc4::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[925]); } -const IfcParse::enumeration_type& Ifc4::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[925]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[925]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[925]); } /* -Ifc4::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4::IfcSpaceHeaterTypeEnum::Value Ifc4::IfcSpaceHeaterTypeEnum::FromString(con } Ifc4::IfcSpaceHeaterTypeEnum::operator Ifc4::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[927]); } -const IfcParse::enumeration_type& Ifc4::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[927]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[927]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[927]); } /* -Ifc4::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4::IfcSpaceTypeEnum::Value Ifc4::IfcSpaceTypeEnum::FromString(const std::stri } Ifc4::IfcSpaceTypeEnum::operator Ifc4::IfcSpaceTypeEnum::Value() const { - return (Ifc4::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[934]); } -const IfcParse::enumeration_type& Ifc4::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[934]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[934]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[934]); } /* -Ifc4::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4::IfcSpatialZoneTypeEnum::Value Ifc4::IfcSpatialZoneTypeEnum::FromString(con } Ifc4::IfcSpatialZoneTypeEnum::operator Ifc4::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[943]); } -const IfcParse::enumeration_type& Ifc4::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[943]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[943]); } +const ifcopenshell::enumeration_type& Ifc4::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[943]); } /* -Ifc4::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4::IfcStackTerminalTypeEnum::Value Ifc4::IfcStackTerminalTypeEnum::FromString } Ifc4::IfcStackTerminalTypeEnum::operator Ifc4::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[947]); } -const IfcParse::enumeration_type& Ifc4::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[947]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[947]); } +const ifcopenshell::enumeration_type& Ifc4::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[947]); } /* -Ifc4::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4::IfcStairFlightTypeEnum::Value Ifc4::IfcStairFlightTypeEnum::FromString(con } Ifc4::IfcStairFlightTypeEnum::operator Ifc4::IfcStairFlightTypeEnum::Value() const { - return (Ifc4::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[949]); } -const IfcParse::enumeration_type& Ifc4::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[949]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[949]); } +const ifcopenshell::enumeration_type& Ifc4::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[949]); } /* -Ifc4::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4::IfcStairTypeEnum::Value Ifc4::IfcStairTypeEnum::FromString(const std::stri } Ifc4::IfcStairTypeEnum::operator Ifc4::IfcStairTypeEnum::Value() const { - return (Ifc4::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[950]); } -const IfcParse::enumeration_type& Ifc4::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[950]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[950]); } +const ifcopenshell::enumeration_type& Ifc4::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[950]); } /* -Ifc4::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4::IfcStateEnum::Value Ifc4::IfcStateEnum::FromString(const std::string& s) { } Ifc4::IfcStateEnum::operator Ifc4::IfcStateEnum::Value() const { - return (Ifc4::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[958]); } -const IfcParse::enumeration_type& Ifc4::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[958]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[958]); } +const ifcopenshell::enumeration_type& Ifc4::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[958]); } /* -Ifc4::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4::IfcStructuralCurveActivityTypeEnum::Value Ifc4::IfcStructuralCurveActivity } Ifc4::IfcStructuralCurveActivityTypeEnum::operator Ifc4::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[961]); } -const IfcParse::enumeration_type& Ifc4::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[961]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[961]); } +const ifcopenshell::enumeration_type& Ifc4::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[961]); } /* -Ifc4::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4::IfcStructuralCurveMemberTypeEnum::Value Ifc4::IfcStructuralCurveMemberType } Ifc4::IfcStructuralCurveMemberTypeEnum::operator Ifc4::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[987]); } -const IfcParse::enumeration_type& Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[987]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[987]); } +const ifcopenshell::enumeration_type& Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[987]); } /* -Ifc4::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4::IfcStructuralSurfaceActi } Ifc4::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[990]); } -const IfcParse::enumeration_type& Ifc4::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[990]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[990]); } +const ifcopenshell::enumeration_type& Ifc4::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[990]); } /* -Ifc4::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4::IfcStructuralSurfaceMember } Ifc4::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[999]); } -const IfcParse::enumeration_type& Ifc4::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[999]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[999]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[999]); } /* -Ifc4::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4::IfcSubContractResourceTypeEnum::Value Ifc4::IfcSubContractResourceTypeEnum } Ifc4::IfcSubContractResourceTypeEnum::operator Ifc4::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1005]); } -const IfcParse::enumeration_type& Ifc4::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1005]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1005]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1005]); } /* -Ifc4::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4::IfcSurfaceFeatureTypeEnum::Value Ifc4::IfcSurfaceFeatureTypeEnum::FromStri } Ifc4::IfcSurfaceFeatureTypeEnum::operator Ifc4::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1010]); } -const IfcParse::enumeration_type& Ifc4::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1010]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1010]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1010]); } /* -Ifc4::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4::IfcSurfaceSide::Value Ifc4::IfcSurfaceSide::FromString(const std::string& } Ifc4::IfcSurfaceSide::operator Ifc4::IfcSurfaceSide::Value() const { - return (Ifc4::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1025]); } -const IfcParse::enumeration_type& Ifc4::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1025]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1025]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1025]); } /* -Ifc4::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4::IfcSwitchingDeviceTypeEnum::Value Ifc4::IfcSwitchingDeviceTypeEnum::FromSt } Ifc4::IfcSwitchingDeviceTypeEnum::operator Ifc4::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1029]); } -const IfcParse::enumeration_type& Ifc4::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1029]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1029]); } +const ifcopenshell::enumeration_type& Ifc4::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1029]); } /* -Ifc4::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4::IfcSystemFurnitureElementTypeEnum::Value Ifc4::IfcSystemFurnitureElementTy } Ifc4::IfcSystemFurnitureElementTypeEnum::operator Ifc4::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1035]); } -const IfcParse::enumeration_type& Ifc4::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1035]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1035]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1035]); } /* -Ifc4::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4::IfcTankTypeEnum::Value Ifc4::IfcTankTypeEnum::FromString(const std::string } Ifc4::IfcTankTypeEnum::operator Ifc4::IfcTankTypeEnum::Value() const { - return (Ifc4::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1037]); } -const IfcParse::enumeration_type& Ifc4::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1037]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1037]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1037]); } /* -Ifc4::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4::IfcTaskDurationEnum::Value Ifc4::IfcTaskDurationEnum::FromString(const std } Ifc4::IfcTaskDurationEnum::operator Ifc4::IfcTaskDurationEnum::Value() const { - return (Ifc4::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1041]); } -const IfcParse::enumeration_type& Ifc4::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1041]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1041]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1041]); } /* -Ifc4::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4::IfcTaskTypeEnum::Value Ifc4::IfcTaskTypeEnum::FromString(const std::string } Ifc4::IfcTaskTypeEnum::operator Ifc4::IfcTaskTypeEnum::Value() const { - return (Ifc4::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1048]); } -const IfcParse::enumeration_type& Ifc4::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1048]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1048]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1048]); } /* -Ifc4::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4::IfcTendonAnchorTypeEnum::Value Ifc4::IfcTendonAnchorTypeEnum::FromString(c } Ifc4::IfcTendonAnchorTypeEnum::operator Ifc4::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1050]); } -const IfcParse::enumeration_type& Ifc4::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1050]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1050]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1050]); } /* -Ifc4::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4::IfcTendonTypeEnum::Value Ifc4::IfcTendonTypeEnum::FromString(const std::st } Ifc4::IfcTendonTypeEnum::operator Ifc4::IfcTendonTypeEnum::Value() const { - return (Ifc4::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1060]); } -const IfcParse::enumeration_type& Ifc4::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1060]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1060]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1060]); } /* -Ifc4::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4::IfcTextPath::Value Ifc4::IfcTextPath::FromString(const std::string& s) { } Ifc4::IfcTextPath::operator Ifc4::IfcTextPath::Value() const { - return (Ifc4::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1082]); } -const IfcParse::enumeration_type& Ifc4::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1082]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1082]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1082]); } /* -Ifc4::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4::IfcTimeSeriesDataTypeEnum::Value Ifc4::IfcTimeSeriesDataTypeEnum::FromStri } Ifc4::IfcTimeSeriesDataTypeEnum::operator Ifc4::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1091]); } -const IfcParse::enumeration_type& Ifc4::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1091]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1091]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1091]); } /* -Ifc4::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4::IfcTransformerTypeEnum::Value Ifc4::IfcTransformerTypeEnum::FromString(con } Ifc4::IfcTransformerTypeEnum::operator Ifc4::IfcTransformerTypeEnum::Value() const { - return (Ifc4::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1092]); } -const IfcParse::enumeration_type& Ifc4::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1092]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1092]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1092]); } /* -Ifc4::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4::IfcTransitionCode::Value Ifc4::IfcTransitionCode::FromString(const std::st } Ifc4::IfcTransitionCode::operator Ifc4::IfcTransitionCode::Value() const { - return (Ifc4::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTransportElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1096]); } -const IfcParse::enumeration_type& Ifc4::IfcTransportElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1096]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTransportElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1096]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTransportElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1096]); } /* -Ifc4::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) +Ifc4::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4::IfcTransportElementTypeEnum::Value Ifc4::IfcTransportElementTypeEnum::From } Ifc4::IfcTransportElementTypeEnum::operator Ifc4::IfcTransportElementTypeEnum::Value() const { - return (Ifc4::IfcTransportElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTransportElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1100]); } -const IfcParse::enumeration_type& Ifc4::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1100]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1100]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1100]); } /* -Ifc4::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4::IfcTrimmingPreference::Value Ifc4::IfcTrimmingPreference::FromString(const } Ifc4::IfcTrimmingPreference::operator Ifc4::IfcTrimmingPreference::Value() const { - return (Ifc4::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1105]); } -const IfcParse::enumeration_type& Ifc4::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1105]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1105]); } +const ifcopenshell::enumeration_type& Ifc4::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1105]); } /* -Ifc4::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4::IfcTubeBundleTypeEnum::Value Ifc4::IfcTubeBundleTypeEnum::FromString(const } Ifc4::IfcTubeBundleTypeEnum::operator Ifc4::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1118]); } -const IfcParse::enumeration_type& Ifc4::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1118]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1118]); } +const ifcopenshell::enumeration_type& Ifc4::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1118]); } /* -Ifc4::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4::IfcUnitEnum::Value Ifc4::IfcUnitEnum::FromString(const std::string& s) { } Ifc4::IfcUnitEnum::operator Ifc4::IfcUnitEnum::Value() const { - return (Ifc4::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1113]); } -const IfcParse::enumeration_type& Ifc4::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1113]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1113]); } +const ifcopenshell::enumeration_type& Ifc4::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1113]); } /* -Ifc4::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4::IfcUnitaryControlElementTypeEnum::Value Ifc4::IfcUnitaryControlElementType } Ifc4::IfcUnitaryControlElementTypeEnum::operator Ifc4::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1116]); } -const IfcParse::enumeration_type& Ifc4::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1116]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1116]); } +const ifcopenshell::enumeration_type& Ifc4::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1116]); } /* -Ifc4::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4::IfcUnitaryEquipmentTypeEnum::Value Ifc4::IfcUnitaryEquipmentTypeEnum::From } Ifc4::IfcUnitaryEquipmentTypeEnum::operator Ifc4::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1124]); } -const IfcParse::enumeration_type& Ifc4::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1124]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1124]); } +const ifcopenshell::enumeration_type& Ifc4::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1124]); } /* -Ifc4::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4::IfcValveTypeEnum::Value Ifc4::IfcValveTypeEnum::FromString(const std::stri } Ifc4::IfcValveTypeEnum::operator Ifc4::IfcValveTypeEnum::Value() const { - return (Ifc4::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1133]); } -const IfcParse::enumeration_type& Ifc4::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1133]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1133]); } +const ifcopenshell::enumeration_type& Ifc4::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1133]); } /* -Ifc4::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4::IfcVibrationIsolatorTypeEnum::Value Ifc4::IfcVibrationIsolatorTypeEnum::Fr } Ifc4::IfcVibrationIsolatorTypeEnum::operator Ifc4::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1137]); } -const IfcParse::enumeration_type& Ifc4::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1137]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1137]); } +const ifcopenshell::enumeration_type& Ifc4::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1137]); } /* -Ifc4::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4::IfcVoidingFeatureTypeEnum::Value Ifc4::IfcVoidingFeatureTypeEnum::FromStri } Ifc4::IfcVoidingFeatureTypeEnum::operator Ifc4::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1144]); } -const IfcParse::enumeration_type& Ifc4::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1144]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1144]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1144]); } /* -Ifc4::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4::IfcWallTypeEnum::Value Ifc4::IfcWallTypeEnum::FromString(const std::string } Ifc4::IfcWallTypeEnum::operator Ifc4::IfcWallTypeEnum::Value() const { - return (Ifc4::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1150]); } -const IfcParse::enumeration_type& Ifc4::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1150]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1150]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1150]); } /* -Ifc4::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4::IfcWasteTerminalTypeEnum::Value Ifc4::IfcWasteTerminalTypeEnum::FromString } Ifc4::IfcWasteTerminalTypeEnum::operator Ifc4::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1153]); } -const IfcParse::enumeration_type& Ifc4::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1153]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1153]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1153]); } /* -Ifc4::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4::IfcWindowPanelOperationEnum::Value Ifc4::IfcWindowPanelOperationEnum::From } Ifc4::IfcWindowPanelOperationEnum::operator Ifc4::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1154]); } -const IfcParse::enumeration_type& Ifc4::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1154]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1154]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1154]); } /* -Ifc4::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4::IfcWindowPanelPositionEnum::Value Ifc4::IfcWindowPanelPositionEnum::FromSt } Ifc4::IfcWindowPanelPositionEnum::operator Ifc4::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWindowStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1158]); } -const IfcParse::enumeration_type& Ifc4::IfcWindowStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1158]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWindowStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1158]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWindowStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1158]); } /* -Ifc4::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) +Ifc4::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4::IfcWindowStyleConstructionEnum::Value Ifc4::IfcWindowStyleConstructionEnum } Ifc4::IfcWindowStyleConstructionEnum::operator Ifc4::IfcWindowStyleConstructionEnum::Value() const { - return (Ifc4::IfcWindowStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWindowStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWindowStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1159]); } -const IfcParse::enumeration_type& Ifc4::IfcWindowStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1159]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWindowStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1159]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWindowStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1159]); } /* -Ifc4::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) +Ifc4::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4::IfcWindowStyleOperationEnum::Value Ifc4::IfcWindowStyleOperationEnum::From } Ifc4::IfcWindowStyleOperationEnum::operator Ifc4::IfcWindowStyleOperationEnum::Value() const { - return (Ifc4::IfcWindowStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWindowStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1161]); } -const IfcParse::enumeration_type& Ifc4::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1161]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1161]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1161]); } /* -Ifc4::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4::IfcWindowTypeEnum::Value Ifc4::IfcWindowTypeEnum::FromString(const std::st } Ifc4::IfcWindowTypeEnum::operator Ifc4::IfcWindowTypeEnum::Value() const { - return (Ifc4::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1162]); } -const IfcParse::enumeration_type& Ifc4::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1162]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1162]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1162]); } /* -Ifc4::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4::IfcWindowTypePartitioningEnum::Value Ifc4::IfcWindowTypePartitioningEnum:: } Ifc4::IfcWindowTypePartitioningEnum::operator Ifc4::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1164]); } -const IfcParse::enumeration_type& Ifc4::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1164]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1164]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1164]); } /* -Ifc4::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4::IfcWorkCalendarTypeEnum::Value Ifc4::IfcWorkCalendarTypeEnum::FromString(c } Ifc4::IfcWorkCalendarTypeEnum::operator Ifc4::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1167]); } -const IfcParse::enumeration_type& Ifc4::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1167]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1167]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1167]); } /* -Ifc4::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4::IfcWorkPlanTypeEnum::Value Ifc4::IfcWorkPlanTypeEnum::FromString(const std } Ifc4::IfcWorkPlanTypeEnum::operator Ifc4::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4_types[1169]); } -const IfcParse::enumeration_type& Ifc4::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4_types[1169]); } +// const ifcopenshell::enumeration_type& Ifc4::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4_types[1169]); } +const ifcopenshell::enumeration_type& Ifc4::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4_types[1169]); } /* -Ifc4::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,849 +6039,849 @@ Ifc4::IfcWorkScheduleTypeEnum::Value Ifc4::IfcWorkScheduleTypeEnum::FromString(c } Ifc4::IfcWorkScheduleTypeEnum::operator Ifc4::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4_types[8]); } +const ifcopenshell::select_type& Ifc4::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[8]); } -const IfcParse::select_type& Ifc4::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4_types[37]); } +const ifcopenshell::select_type& Ifc4::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[37]); } -const IfcParse::select_type& Ifc4::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4_types[54]); } +const ifcopenshell::select_type& Ifc4::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4_types[54]); } -const IfcParse::select_type& Ifc4::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4_types[62]); } +const ifcopenshell::select_type& Ifc4::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[62]); } -const IfcParse::select_type& Ifc4::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4_types[71]); } +const ifcopenshell::select_type& Ifc4::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4_types[71]); } -const IfcParse::select_type& Ifc4::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4_types[143]); } +const ifcopenshell::select_type& Ifc4::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[143]); } -const IfcParse::select_type& Ifc4::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4_types[144]); } +const ifcopenshell::select_type& Ifc4::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[144]); } -const IfcParse::select_type& Ifc4::IfcColour::Class() { return *((IfcParse::select_type*)IFC4_types[149]); } +const ifcopenshell::select_type& Ifc4::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4_types[149]); } -const IfcParse::select_type& Ifc4::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4_types[150]); } +const ifcopenshell::select_type& Ifc4::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4_types[150]); } -const IfcParse::select_type& Ifc4::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4_types[215]); } +const ifcopenshell::select_type& Ifc4::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[215]); } -const IfcParse::select_type& Ifc4::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4_types[229]); } +const ifcopenshell::select_type& Ifc4::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[229]); } -const IfcParse::select_type& Ifc4::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4_types[240]); } +const ifcopenshell::select_type& Ifc4::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[240]); } -const IfcParse::select_type& Ifc4::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4_types[242]); } +const ifcopenshell::select_type& Ifc4::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4_types[242]); } -const IfcParse::select_type& Ifc4::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4_types[243]); } +const ifcopenshell::select_type& Ifc4::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4_types[243]); } -const IfcParse::select_type& Ifc4::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4_types[248]); } +const ifcopenshell::select_type& Ifc4::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[248]); } -const IfcParse::select_type& Ifc4::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4_types[258]); } +const ifcopenshell::select_type& Ifc4::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[258]); } -const IfcParse::select_type& Ifc4::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4_types[259]); } +const ifcopenshell::select_type& Ifc4::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4_types[259]); } -const IfcParse::select_type& Ifc4::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4_types[290]); } +const ifcopenshell::select_type& Ifc4::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[290]); } -const IfcParse::select_type& Ifc4::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4_types[406]); } +const ifcopenshell::select_type& Ifc4::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[406]); } -const IfcParse::select_type& Ifc4::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4_types[457]); } +const ifcopenshell::select_type& Ifc4::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[457]); } -const IfcParse::select_type& Ifc4::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4_types[463]); } +const ifcopenshell::select_type& Ifc4::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[463]); } -const IfcParse::select_type& Ifc4::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4_types[467]); } +const ifcopenshell::select_type& Ifc4::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[467]); } -const IfcParse::select_type& Ifc4::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4_types[514]); } +const ifcopenshell::select_type& Ifc4::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4_types[514]); } -const IfcParse::select_type& Ifc4::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4_types[519]); } +const ifcopenshell::select_type& Ifc4::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[519]); } -const IfcParse::select_type& Ifc4::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4_types[522]); } +const ifcopenshell::select_type& Ifc4::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[522]); } -const IfcParse::select_type& Ifc4::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4_types[576]); } +const ifcopenshell::select_type& Ifc4::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[576]); } -const IfcParse::select_type& Ifc4::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4_types[578]); } +const ifcopenshell::select_type& Ifc4::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4_types[578]); } -const IfcParse::select_type& Ifc4::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4_types[591]); } +const ifcopenshell::select_type& Ifc4::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[591]); } -const IfcParse::select_type& Ifc4::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4_types[596]); } +const ifcopenshell::select_type& Ifc4::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[596]); } -const IfcParse::select_type& Ifc4::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4_types[598]); } +const ifcopenshell::select_type& Ifc4::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[598]); } -const IfcParse::select_type& Ifc4::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4_types[599]); } +const ifcopenshell::select_type& Ifc4::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[599]); } -const IfcParse::select_type& Ifc4::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4_types[619]); } +const ifcopenshell::select_type& Ifc4::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[619]); } -const IfcParse::select_type& Ifc4::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4_types[678]); } +const ifcopenshell::select_type& Ifc4::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4_types[678]); } -const IfcParse::select_type& Ifc4::IfcPresentationStyleSelect::Class() { return *((IfcParse::select_type*)IFC4_types[703]); } +const ifcopenshell::select_type& Ifc4::IfcPresentationStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[703]); } -const IfcParse::select_type& Ifc4::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4_types[709]); } +const ifcopenshell::select_type& Ifc4::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[709]); } -const IfcParse::select_type& Ifc4::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4_types[713]); } +const ifcopenshell::select_type& Ifc4::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[713]); } -const IfcParse::select_type& Ifc4::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4_types[714]); } +const ifcopenshell::select_type& Ifc4::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[714]); } -const IfcParse::select_type& Ifc4::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4_types[737]); } +const ifcopenshell::select_type& Ifc4::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[737]); } -const IfcParse::select_type& Ifc4::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4_types[854]); } +const ifcopenshell::select_type& Ifc4::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[854]); } -const IfcParse::select_type& Ifc4::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4_types[855]); } +const ifcopenshell::select_type& Ifc4::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[855]); } -const IfcParse::select_type& Ifc4::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4_types[869]); } +const ifcopenshell::select_type& Ifc4::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[869]); } -const IfcParse::select_type& Ifc4::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4_types[882]); } +const ifcopenshell::select_type& Ifc4::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[882]); } -const IfcParse::select_type& Ifc4::IfcShell::Class() { return *((IfcParse::select_type*)IFC4_types[894]); } +const ifcopenshell::select_type& Ifc4::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4_types[894]); } -const IfcParse::select_type& Ifc4::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4_types[899]); } +const ifcopenshell::select_type& Ifc4::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4_types[899]); } -const IfcParse::select_type& Ifc4::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4_types[904]); } +const ifcopenshell::select_type& Ifc4::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[904]); } -const IfcParse::select_type& Ifc4::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4_types[916]); } +const ifcopenshell::select_type& Ifc4::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4_types[916]); } -const IfcParse::select_type& Ifc4::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4_types[922]); } +const ifcopenshell::select_type& Ifc4::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[922]); } -const IfcParse::select_type& Ifc4::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4_types[937]); } +const ifcopenshell::select_type& Ifc4::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[937]); } -const IfcParse::select_type& Ifc4::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4_types[953]); } +const ifcopenshell::select_type& Ifc4::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[953]); } -const IfcParse::select_type& Ifc4::IfcStyleAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4_types[993]); } +const ifcopenshell::select_type& Ifc4::IfcStyleAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[993]); } -const IfcParse::select_type& Ifc4::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4_types[1008]); } +const ifcopenshell::select_type& Ifc4::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4_types[1008]); } -const IfcParse::select_type& Ifc4::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4_types[1012]); } +const ifcopenshell::select_type& Ifc4::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[1012]); } -const IfcParse::select_type& Ifc4::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4_types[1057]); } +const ifcopenshell::select_type& Ifc4::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[1057]); } -const IfcParse::select_type& Ifc4::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4_types[1079]); } +const ifcopenshell::select_type& Ifc4::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[1079]); } -const IfcParse::select_type& Ifc4::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4_types[1093]); } +const ifcopenshell::select_type& Ifc4::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[1093]); } -const IfcParse::select_type& Ifc4::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4_types[1101]); } +const ifcopenshell::select_type& Ifc4::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[1101]); } -const IfcParse::select_type& Ifc4::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4_types[1110]); } +const ifcopenshell::select_type& Ifc4::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4_types[1110]); } -const IfcParse::select_type& Ifc4::IfcValue::Class() { return *((IfcParse::select_type*)IFC4_types[1121]); } +const ifcopenshell::select_type& Ifc4::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4_types[1121]); } -const IfcParse::select_type& Ifc4::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4_types[1127]); } +const ifcopenshell::select_type& Ifc4::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4_types[1127]); } -const IfcParse::select_type& Ifc4::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4_types[1147]); } +const ifcopenshell::select_type& Ifc4::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4_types[1147]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[0]); } +const ifcopenshell::type_declaration& Ifc4::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[0]); } void Ifc4::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1]); } +const ifcopenshell::type_declaration& Ifc4::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1]); } void Ifc4::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[29]); } +const ifcopenshell::type_declaration& Ifc4::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[29]); } void Ifc4::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[32]); } +const ifcopenshell::type_declaration& Ifc4::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[32]); } void Ifc4::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4_types[43]); } +const ifcopenshell::type_declaration& Ifc4::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[43]); } void Ifc4::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[44]); } +const ifcopenshell::type_declaration& Ifc4::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[44]); } void Ifc4::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[45]); } +const ifcopenshell::type_declaration& Ifc4::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[45]); } void Ifc4::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4_types[63]); } +const ifcopenshell::type_declaration& Ifc4::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[63]); } void Ifc4::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4_types[69]); } +const ifcopenshell::type_declaration& Ifc4::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[69]); } void Ifc4::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4_types[83]); } +const ifcopenshell::type_declaration& Ifc4::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[83]); } void Ifc4::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4_types[118]); } +const ifcopenshell::type_declaration& Ifc4::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[118]); } void Ifc4::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4_types[161]); } +const ifcopenshell::type_declaration& Ifc4::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[161]); } void Ifc4::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[169]); } +const ifcopenshell::type_declaration& Ifc4::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[169]); } void Ifc4::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[199]); } +const ifcopenshell::type_declaration& Ifc4::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[199]); } void Ifc4::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[221]); } +const ifcopenshell::type_declaration& Ifc4::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[221]); } void Ifc4::IfcCountMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcCountMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[236]); } +const ifcopenshell::type_declaration& Ifc4::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[236]); } void Ifc4::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4_types[254]); } +const ifcopenshell::type_declaration& Ifc4::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[254]); } void Ifc4::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4_types[255]); } +const ifcopenshell::type_declaration& Ifc4::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[255]); } void Ifc4::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4_types[256]); } +const ifcopenshell::type_declaration& Ifc4::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[256]); } void Ifc4::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4_types[257]); } +const ifcopenshell::type_declaration& Ifc4::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[257]); } void Ifc4::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[264]); } +const ifcopenshell::type_declaration& Ifc4::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[264]); } void Ifc4::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4_types[266]); } +const ifcopenshell::type_declaration& Ifc4::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[266]); } void Ifc4::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[304]); } +const ifcopenshell::type_declaration& Ifc4::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[304]); } void Ifc4::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4_types[316]); } +const ifcopenshell::type_declaration& Ifc4::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[316]); } void Ifc4::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[317]); } +const ifcopenshell::type_declaration& Ifc4::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[317]); } void Ifc4::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[324]); } +const ifcopenshell::type_declaration& Ifc4::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[324]); } void Ifc4::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[325]); } +const ifcopenshell::type_declaration& Ifc4::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[325]); } void Ifc4::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[326]); } +const ifcopenshell::type_declaration& Ifc4::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[326]); } void Ifc4::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[327]); } +const ifcopenshell::type_declaration& Ifc4::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[327]); } void Ifc4::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[340]); } +const ifcopenshell::type_declaration& Ifc4::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[340]); } void Ifc4::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[344]); } +const ifcopenshell::type_declaration& Ifc4::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[344]); } void Ifc4::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[359]); } +const ifcopenshell::type_declaration& Ifc4::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[359]); } void Ifc4::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4_types[435]); } +const ifcopenshell::type_declaration& Ifc4::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[435]); } void Ifc4::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4_types[436]); } +const ifcopenshell::type_declaration& Ifc4::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[436]); } void Ifc4::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4_types[437]); } +const ifcopenshell::type_declaration& Ifc4::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[437]); } void Ifc4::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[441]); } +const ifcopenshell::type_declaration& Ifc4::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[441]); } void Ifc4::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[442]); } +const ifcopenshell::type_declaration& Ifc4::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[442]); } void Ifc4::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4_types[458]); } +const ifcopenshell::type_declaration& Ifc4::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[458]); } void Ifc4::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[471]); } +const ifcopenshell::type_declaration& Ifc4::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[471]); } void Ifc4::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[472]); } +const ifcopenshell::type_declaration& Ifc4::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[472]); } void Ifc4::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4_types[476]); } +const ifcopenshell::type_declaration& Ifc4::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[476]); } void Ifc4::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[477]); } +const ifcopenshell::type_declaration& Ifc4::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[477]); } void Ifc4::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[485]); } +const ifcopenshell::type_declaration& Ifc4::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[485]); } void Ifc4::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4_types[486]); } +const ifcopenshell::type_declaration& Ifc4::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[486]); } void Ifc4::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[487]); } +const ifcopenshell::type_declaration& Ifc4::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[487]); } void Ifc4::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[495]); } +const ifcopenshell::type_declaration& Ifc4::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[495]); } void Ifc4::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[499]); } +const ifcopenshell::type_declaration& Ifc4::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[499]); } void Ifc4::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[503]); } +const ifcopenshell::type_declaration& Ifc4::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[503]); } void Ifc4::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4_types[505]); } +const ifcopenshell::type_declaration& Ifc4::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[505]); } void Ifc4::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4_types[513]); } +const ifcopenshell::type_declaration& Ifc4::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[513]); } void Ifc4::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[516]); } +const ifcopenshell::type_declaration& Ifc4::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[516]); } void Ifc4::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4_types[539]); } +const ifcopenshell::type_declaration& Ifc4::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[539]); } void Ifc4::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[535]); } +const ifcopenshell::type_declaration& Ifc4::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[535]); } void Ifc4::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[536]); } +const ifcopenshell::type_declaration& Ifc4::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[536]); } void Ifc4::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[537]); } +const ifcopenshell::type_declaration& Ifc4::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[537]); } void Ifc4::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[538]); } +const ifcopenshell::type_declaration& Ifc4::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[538]); } void Ifc4::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4_types[542]); } +const ifcopenshell::type_declaration& Ifc4::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[542]); } void Ifc4::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[546]); } +const ifcopenshell::type_declaration& Ifc4::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[546]); } void Ifc4::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[547]); } +const ifcopenshell::type_declaration& Ifc4::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[547]); } void Ifc4::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[548]); } +const ifcopenshell::type_declaration& Ifc4::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[548]); } void Ifc4::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[549]); } +const ifcopenshell::type_declaration& Ifc4::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[549]); } void Ifc4::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[550]); } +const ifcopenshell::type_declaration& Ifc4::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[550]); } void Ifc4::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[554]); } +const ifcopenshell::type_declaration& Ifc4::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[554]); } void Ifc4::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[555]); } +const ifcopenshell::type_declaration& Ifc4::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[555]); } void Ifc4::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[556]); } +const ifcopenshell::type_declaration& Ifc4::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[556]); } void Ifc4::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[557]); } +const ifcopenshell::type_declaration& Ifc4::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[557]); } void Ifc4::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[593]); } +const ifcopenshell::type_declaration& Ifc4::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[593]); } void Ifc4::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[594]); } +const ifcopenshell::type_declaration& Ifc4::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[594]); } void Ifc4::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[595]); } +const ifcopenshell::type_declaration& Ifc4::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[595]); } void Ifc4::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[597]); } +const ifcopenshell::type_declaration& Ifc4::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[597]); } void Ifc4::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[600]); } +const ifcopenshell::type_declaration& Ifc4::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[600]); } void Ifc4::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[601]); } +const ifcopenshell::type_declaration& Ifc4::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[601]); } void Ifc4::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[602]); } +const ifcopenshell::type_declaration& Ifc4::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[602]); } void Ifc4::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[603]); } +const ifcopenshell::type_declaration& Ifc4::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[603]); } void Ifc4::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4_types[605]); } +const ifcopenshell::type_declaration& Ifc4::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[605]); } void Ifc4::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[610]); } +const ifcopenshell::type_declaration& Ifc4::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[610]); } void Ifc4::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[611]); } +const ifcopenshell::type_declaration& Ifc4::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[611]); } void Ifc4::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[613]); } +const ifcopenshell::type_declaration& Ifc4::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[613]); } void Ifc4::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[649]); } +const ifcopenshell::type_declaration& Ifc4::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[649]); } void Ifc4::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4_types[638]); } +const ifcopenshell::type_declaration& Ifc4::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[638]); } void Ifc4::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[668]); } +const ifcopenshell::type_declaration& Ifc4::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[668]); } void Ifc4::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[670]); } +const ifcopenshell::type_declaration& Ifc4::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[670]); } void Ifc4::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4_types[684]); } +const ifcopenshell::type_declaration& Ifc4::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[684]); } void Ifc4::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[685]); } +const ifcopenshell::type_declaration& Ifc4::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[685]); } void Ifc4::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[686]); } +const ifcopenshell::type_declaration& Ifc4::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[686]); } void Ifc4::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[687]); } +const ifcopenshell::type_declaration& Ifc4::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[687]); } void Ifc4::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[689]); } +const ifcopenshell::type_declaration& Ifc4::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[689]); } void Ifc4::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4_types[697]); } +const ifcopenshell::type_declaration& Ifc4::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[697]); } void Ifc4::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[704]); } +const ifcopenshell::type_declaration& Ifc4::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[704]); } void Ifc4::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4_types[738]); } +const ifcopenshell::type_declaration& Ifc4::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[738]); } void Ifc4::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[762]); } +const ifcopenshell::type_declaration& Ifc4::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[762]); } void Ifc4::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[772]); } +const ifcopenshell::type_declaration& Ifc4::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[772]); } void Ifc4::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4_types[775]); } +const ifcopenshell::type_declaration& Ifc4::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[775]); } void Ifc4::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[866]); } +const ifcopenshell::type_declaration& Ifc4::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[866]); } void Ifc4::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[867]); } +const ifcopenshell::type_declaration& Ifc4::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[867]); } void Ifc4::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[868]); } +const ifcopenshell::type_declaration& Ifc4::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[868]); } void Ifc4::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[878]); } +const ifcopenshell::type_declaration& Ifc4::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[878]); } void Ifc4::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[876]); } +const ifcopenshell::type_declaration& Ifc4::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[876]); } void Ifc4::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[893]); } +const ifcopenshell::type_declaration& Ifc4::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[893]); } void Ifc4::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[914]); } +const ifcopenshell::type_declaration& Ifc4::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[914]); } void Ifc4::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[917]); } +const ifcopenshell::type_declaration& Ifc4::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[917]); } void Ifc4::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[918]); } +const ifcopenshell::type_declaration& Ifc4::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[918]); } void Ifc4::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[919]); } +const ifcopenshell::type_declaration& Ifc4::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[919]); } void Ifc4::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[920]); } +const ifcopenshell::type_declaration& Ifc4::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[920]); } void Ifc4::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[935]); } +const ifcopenshell::type_declaration& Ifc4::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[935]); } void Ifc4::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4_types[936]); } +const ifcopenshell::type_declaration& Ifc4::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[936]); } void Ifc4::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4_types[938]); } +const ifcopenshell::type_declaration& Ifc4::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[938]); } void Ifc4::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1043]); } +const ifcopenshell::type_declaration& Ifc4::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1043]); } void Ifc4::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1044]); } +const ifcopenshell::type_declaration& Ifc4::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1044]); } void Ifc4::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4_types[1053]); } +const ifcopenshell::type_declaration& Ifc4::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1053]); } void Ifc4::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4_types[1054]); } +const ifcopenshell::type_declaration& Ifc4::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1054]); } void Ifc4::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4_types[1055]); } +const ifcopenshell::type_declaration& Ifc4::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1055]); } void Ifc4::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4_types[1056]); } +const ifcopenshell::type_declaration& Ifc4::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1056]); } void Ifc4::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4_types[1065]); } +const ifcopenshell::type_declaration& Ifc4::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1065]); } void Ifc4::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1071]); } +const ifcopenshell::type_declaration& Ifc4::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1071]); } void Ifc4::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1072]); } +const ifcopenshell::type_declaration& Ifc4::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1072]); } void Ifc4::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1073]); } +const ifcopenshell::type_declaration& Ifc4::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1073]); } void Ifc4::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1074]); } +const ifcopenshell::type_declaration& Ifc4::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1074]); } void Ifc4::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1075]); } +const ifcopenshell::type_declaration& Ifc4::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1075]); } void Ifc4::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1076]); } +const ifcopenshell::type_declaration& Ifc4::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1076]); } void Ifc4::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4_types[1077]); } +const ifcopenshell::type_declaration& Ifc4::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1077]); } void Ifc4::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1078]); } +const ifcopenshell::type_declaration& Ifc4::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1078]); } void Ifc4::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4_types[1084]); } +const ifcopenshell::type_declaration& Ifc4::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1084]); } void Ifc4::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1088]); } +const ifcopenshell::type_declaration& Ifc4::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1088]); } void Ifc4::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4_types[1119]); } +const ifcopenshell::type_declaration& Ifc4::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1119]); } void Ifc4::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1125]); } +const ifcopenshell::type_declaration& Ifc4::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1125]); } void Ifc4::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1138]); } +const ifcopenshell::type_declaration& Ifc4::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1138]); } void Ifc4::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1139]); } +const ifcopenshell::type_declaration& Ifc4::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1139]); } void Ifc4::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1145]); } +const ifcopenshell::type_declaration& Ifc4::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1145]); } void Ifc4::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4_types[1146]); } +const ifcopenshell::type_declaration& Ifc4::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4_types[1146]); } void Ifc4::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4::IfcActionRequestTypeEnum::Value > Ifc4::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4_types[2]); } -void Ifc4::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4_types[2]); } +void Ifc4::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4::IfcActorSelect Ifc4::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4::IfcActorSelect>(); } void Ifc4::IfcActor::setTheActor(const ::Ifc4::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4::IfcRelAssignsToActor> Ifc4::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[799], 6)); } +std::vector<::Ifc4::IfcRelAssignsToActor> Ifc4::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[799], 6)); } -const IfcParse::entity& Ifc4::IfcActor::Class() { return *((IfcParse::entity*)IFC4_types[6]); } +const ifcopenshell::entity& Ifc4::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4_types[6]); } void Ifc4::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4::IfcRoleEnum::Value Ifc4::IfcActorRole::Role() const { return ::Ifc4::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4::IfcActorRole::setRole(const ::Ifc4::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4::IfcActorRole::setRole(const ::Ifc4::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } -const IfcParse::entity& Ifc4::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4_types[7]); } -void Ifc4::IfcActorRole::initialize(::Ifc4::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4_types[7]); } +void Ifc4::IfcActorRole::initialize(::Ifc4::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4::IfcActuatorTypeEnum::Value > Ifc4::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcActuator::setPredefinedType(const std::optional< ::Ifc4::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcActuator::setPredefinedType(const std::optional< ::Ifc4::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcActuator::Class() { return *((IfcParse::entity*)IFC4_types[9]); } -void Ifc4::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4_types[9]); } +void Ifc4::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4::IfcActuatorTypeEnum::Value Ifc4::IfcActuatorType::PredefinedType() const { return ::Ifc4::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcActuatorType::setPredefinedType(const ::Ifc4::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcActuatorType::setPredefinedType(const ::Ifc4::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4_types[10]); } -void Ifc4::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4_types[10]); } +void Ifc4::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4::IfcAddressTypeEnum::Value > Ifc4::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4::IfcAddress::setPurpose(const std::optional< ::Ifc4::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4::IfcAddress::setPurpose(const std::optional< ::Ifc4::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4::IfcPerson> Ifc4::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[647], 7)); } -std::vector<::Ifc4::IfcOrganization> Ifc4::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[629], 4)); } +std::vector<::Ifc4::IfcPerson> Ifc4::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[647], 7)); } +std::vector<::Ifc4::IfcOrganization> Ifc4::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[629], 4)); } -const IfcParse::entity& Ifc4::IfcAddress::Class() { return *((IfcParse::entity*)IFC4_types[12]); } -void Ifc4::IfcAddress::initialize(std::optional< ::Ifc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4_types[12]); } +void Ifc4::IfcAddress::initialize(std::optional< ::Ifc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4_types[14]); } +const ifcopenshell::entity& Ifc4::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4_types[14]); } void Ifc4::IfcAdvancedBrep::initialize(::Ifc4::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -6889,84 +6889,84 @@ std::vector< ::Ifc4::IfcClosedShell > Ifc4::IfcAdvancedBrepWithVoids::Voids() co void Ifc4::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4_types[15]); } +const ifcopenshell::entity& Ifc4::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4_types[15]); } void Ifc4::IfcAdvancedBrepWithVoids::initialize(::Ifc4::IfcClosedShell v1_Outer, std::vector< ::Ifc4::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4_types[16]); } +const ifcopenshell::entity& Ifc4::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4_types[16]); } void Ifc4::IfcAdvancedFace::initialize(std::vector< ::Ifc4::IfcFaceBound > v1_Bounds, ::Ifc4::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4::IfcAirTerminalTypeEnum::Value > Ifc4::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4_types[17]); } -void Ifc4::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4_types[17]); } +void Ifc4::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4::IfcAirTerminalBoxTypeEnum::Value > Ifc4::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4_types[18]); } -void Ifc4::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4_types[18]); } +void Ifc4::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4::IfcAirTerminalBoxTypeEnum::Value Ifc4::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4_types[19]); } -void Ifc4::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4_types[19]); } +void Ifc4::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4::IfcAirTerminalTypeEnum::Value Ifc4::IfcAirTerminalType::PredefinedType() const { return ::Ifc4::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcAirTerminalType::setPredefinedType(const ::Ifc4::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcAirTerminalType::setPredefinedType(const ::Ifc4::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4_types[21]); } -void Ifc4::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4_types[21]); } +void Ifc4::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4_types[23]); } -void Ifc4::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4_types[23]); } +void Ifc4::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4_types[24]); } -void Ifc4::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4_types[24]); } +void Ifc4::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4::IfcAlarmTypeEnum::Value > Ifc4::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4_types[26]); } -void Ifc4::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4_types[26]); } +void Ifc4::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4::IfcAlarmTypeEnum::Value Ifc4::IfcAlarmType::PredefinedType() const { return ::Ifc4::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcAlarmType::setPredefinedType(const ::Ifc4::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcAlarmType::setPredefinedType(const ::Ifc4::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4_types[27]); } -void Ifc4::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4_types[27]); } +void Ifc4::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAnnotation -std::vector<::Ifc4::IfcRelContainedInSpatialStructure> Ifc4::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[823], 4)); } +std::vector<::Ifc4::IfcRelContainedInSpatialStructure> Ifc4::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[823], 4)); } -const IfcParse::entity& Ifc4::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4_types[33]); } +const ifcopenshell::entity& Ifc4::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4_types[33]); } void Ifc4::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAnnotationFillArea @@ -6976,7 +6976,7 @@ std::optional< std::vector< ::Ifc4::IfcCurve > > Ifc4::IfcAnnotationFillArea::In void Ifc4::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4_types[34]); } +const ifcopenshell::entity& Ifc4::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4_types[34]); } void Ifc4::IfcAnnotationFillArea::initialize(::Ifc4::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -6990,7 +6990,7 @@ std::string Ifc4::IfcApplication::ApplicationIdentifier() const { std::string v void Ifc4::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcApplication::Class() { return *((IfcParse::entity*)IFC4_types[35]); } +const ifcopenshell::entity& Ifc4::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4_types[35]); } void Ifc4::IfcApplication::initialize(::Ifc4::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -7011,14 +7011,14 @@ void Ifc4::IfcAppliedValue::setCategory(const std::optional< std::string >& v) { std::optional< std::string > Ifc4::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4::IfcArithmeticOperatorEnum::Value > Ifc4::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4::IfcAppliedValue > > Ifc4::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4::IfcAppliedValue>(es); } void Ifc4::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } -const IfcParse::entity& Ifc4::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4_types[36]); } -void Ifc4::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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(&::Ifc4::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4_types[36]); } +void Ifc4::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -7040,13 +7040,13 @@ void Ifc4::IfcApproval::setRequestingApproval(const ::Ifc4::IfcActorSelect& v) { ::Ifc4::IfcActorSelect Ifc4::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4::IfcActorSelect>(); } void Ifc4::IfcApproval::setGivingApproval(const ::Ifc4::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } -std::vector<::Ifc4::IfcRelAssociatesApproval> Ifc4::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[807], 5)); } -std::vector<::Ifc4::IfcResourceApprovalRelationship> Ifc4::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[851], 3)); } -std::vector<::Ifc4::IfcApprovalRelationship> Ifc4::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[39], 3)); } -std::vector<::Ifc4::IfcApprovalRelationship> Ifc4::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[39], 2)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcRelAssociatesApproval> Ifc4::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[807], 5)); } +std::vector<::Ifc4::IfcResourceApprovalRelationship> Ifc4::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[851], 3)); } +std::vector<::Ifc4::IfcApprovalRelationship> Ifc4::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[39], 3)); } +std::vector<::Ifc4::IfcApprovalRelationship> Ifc4::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[39], 2)); } -const IfcParse::entity& Ifc4::IfcApproval::Class() { return *((IfcParse::entity*)IFC4_types[38]); } +const ifcopenshell::entity& Ifc4::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4_types[38]); } void Ifc4::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4::IfcActorSelect v8_RequestingApproval, ::Ifc4::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -7056,7 +7056,7 @@ std::vector< ::Ifc4::IfcApproval > Ifc4::IfcApprovalRelationship::RelatedApprova void Ifc4::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4_types[39]); } +const ifcopenshell::entity& Ifc4::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[39]); } void Ifc4::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -7064,24 +7064,24 @@ void Ifc4::IfcApprovalRelationship::initialize(std::optional< std::string > v1_N void Ifc4::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[40]); } -void Ifc4::IfcArbitraryClosedProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[40]); } +void Ifc4::IfcArbitraryClosedProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4::IfcBoundedCurve Ifc4::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcBoundedCurve>(); } void Ifc4::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[41]); } -void Ifc4::IfcArbitraryOpenProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[41]); } +void Ifc4::IfcArbitraryOpenProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4::IfcCurve > Ifc4::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4::IfcCurve>(es); } void Ifc4::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4_types[42]); } -void Ifc4::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcCurve v3_OuterCurve, std::vector< ::Ifc4::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4_types[42]); } +void Ifc4::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcCurve v3_OuterCurve, std::vector< ::Ifc4::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -7104,7 +7104,7 @@ void Ifc4::IfcAsset::setIncorporationDate(const std::optional< std::string >& v) void Ifc4::IfcAsset::setDepreciatedValue(const ::Ifc4::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4::IfcAsset::Class() { return *((IfcParse::entity*)IFC4_types[48]); } +const ifcopenshell::entity& Ifc4::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4_types[48]); } void Ifc4::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4::IfcCostValue v7_OriginalValue, ::Ifc4::IfcCostValue v8_CurrentValue, ::Ifc4::IfcCostValue v9_TotalReplacementCost, ::Ifc4::IfcActorSelect v10_Owner, ::Ifc4::IfcActorSelect v11_User, ::Ifc4::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -7134,31 +7134,31 @@ std::optional< double > Ifc4::IfcAsymmetricIShapeProfileDef::TopFlangeSlope() co void Ifc4::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[49]); } -void Ifc4::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[49]); } +void Ifc4::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value > Ifc4::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4_types[50]); } -void Ifc4::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4_types[50]); } +void Ifc4::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value Ifc4::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4_types[51]); } -void Ifc4::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4_types[51]); } +void Ifc4::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4::IfcDirection Ifc4::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4::IfcDirection>(); } void Ifc4::IfcAxis1Placement::setAxis(const ::Ifc4::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4_types[53]); } +const ifcopenshell::entity& Ifc4::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4_types[53]); } void Ifc4::IfcAxis1Placement::initialize(::Ifc4::IfcCartesianPoint v1_Location, ::Ifc4::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -7166,7 +7166,7 @@ void Ifc4::IfcAxis1Placement::initialize(::Ifc4::IfcCartesianPoint v1_Location, void Ifc4::IfcAxis2Placement2D::setRefDirection(const ::Ifc4::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4_types[55]); } +const ifcopenshell::entity& Ifc4::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4_types[55]); } void Ifc4::IfcAxis2Placement2D::initialize(::Ifc4::IfcCartesianPoint v1_Location, ::Ifc4::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -7176,7 +7176,7 @@ void Ifc4::IfcAxis2Placement3D::setAxis(const ::Ifc4::IfcDirection& v) { set_att void Ifc4::IfcAxis2Placement3D::setRefDirection(const ::Ifc4::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4_types[56]); } +const ifcopenshell::entity& Ifc4::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4_types[56]); } void Ifc4::IfcAxis2Placement3D::initialize(::Ifc4::IfcCartesianPoint v1_Location, ::Ifc4::IfcDirection v2_Axis, ::Ifc4::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -7185,15 +7185,15 @@ void Ifc4::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v); std::vector< ::Ifc4::IfcCartesianPoint > Ifc4::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4::IfcCartesianPoint>(es); } void Ifc4::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4::IfcBSplineCurveForm::Value Ifc4::IfcBSplineCurve::CurveForm() const { return ::Ifc4::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4::IfcBSplineCurve::setCurveForm(const ::Ifc4::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4::IfcBSplineCurve::setCurveForm(const ::Ifc4::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4_types[85]); } -void Ifc4::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[85]); } +void Ifc4::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -7201,11 +7201,11 @@ void Ifc4::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< in std::vector< double > /*[2:?]*/ Ifc4::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4::IfcKnotType::Value Ifc4::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4_types[87]); } -void Ifc4::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4::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(&::Ifc4::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4_types[87]); } +void Ifc4::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4::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, (enumeration_reference(&::Ifc4::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -7215,7 +7215,7 @@ void Ifc4::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > Ifc4::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4::IfcCartesianPoint>(es); } void Ifc4::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4::IfcBSplineSurfaceForm::Value Ifc4::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4::IfcBSplineSurface::setSurfaceForm(const ::Ifc4::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4::IfcBSplineSurface::setSurfaceForm(const ::Ifc4::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -7224,8 +7224,8 @@ boost::logic::tribool Ifc4::IfcBSplineSurface::SelfIntersect() const { boost::l void Ifc4::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4_types[88]); } -void Ifc4::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[88]); } +void Ifc4::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -7237,33 +7237,33 @@ void Ifc4::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > /*[ std::vector< double > /*[2:?]*/ Ifc4::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4::IfcKnotType::Value Ifc4::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4_types[90]); } -void Ifc4::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4::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(&::Ifc4::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4_types[90]); } +void Ifc4::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4::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, (enumeration_reference(&::Ifc4::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4::IfcBeamTypeEnum::Value > Ifc4::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcBeam::setPredefinedType(const std::optional< ::Ifc4::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcBeam::setPredefinedType(const std::optional< ::Ifc4::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcBeam::Class() { return *((IfcParse::entity*)IFC4_types[57]); } -void Ifc4::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4_types[57]); } +void Ifc4::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamStandardCase -const IfcParse::entity& Ifc4::IfcBeamStandardCase::Class() { return *((IfcParse::entity*)IFC4_types[58]); } -void Ifc4::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcBeamStandardCase::Class() { return *((ifcopenshell::entity*)IFC4_types[58]); } +void Ifc4::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4::IfcBeamTypeEnum::Value Ifc4::IfcBeamType::PredefinedType() const { return ::Ifc4::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcBeamType::setPredefinedType(const ::Ifc4::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcBeamType::setPredefinedType(const ::Ifc4::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4_types[59]); } -void Ifc4::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4_types[59]); } +void Ifc4::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -7272,7 +7272,7 @@ boost::dynamic_bitset<> Ifc4::IfcBlobTexture::RasterCode() const { boost::dynam void Ifc4::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4_types[64]); } +const ifcopenshell::entity& Ifc4::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4_types[64]); } void Ifc4::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -7284,55 +7284,55 @@ double Ifc4::IfcBlock::ZLength() const { double v = get_attribute_value(3); ret void Ifc4::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcBlock::Class() { return *((IfcParse::entity*)IFC4_types[65]); } +const ifcopenshell::entity& Ifc4::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4_types[65]); } void Ifc4::IfcBlock::initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4::IfcBoilerTypeEnum::Value > Ifc4::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4_types[66]); } -void Ifc4::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4_types[66]); } +void Ifc4::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4::IfcBoilerTypeEnum::Value Ifc4::IfcBoilerType::PredefinedType() const { return ::Ifc4::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcBoilerType::setPredefinedType(const ::Ifc4::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcBoilerType::setPredefinedType(const ::Ifc4::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4_types[67]); } -void Ifc4::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4_types[67]); } +void Ifc4::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4_types[70]); } -void Ifc4::IfcBooleanClippingResult::initialize(::Ifc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4_types[70]); } +void Ifc4::IfcBooleanClippingResult::initialize(::Ifc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4::IfcBooleanOperator::Value Ifc4::IfcBooleanResult::Operator() const { return ::Ifc4::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4::IfcBooleanResult::setOperator(const ::Ifc4::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4::IfcBooleanResult::setOperator(const ::Ifc4::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4::IfcBooleanOperand Ifc4::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4::IfcBooleanOperand>(); } void Ifc4::IfcBooleanResult::setFirstOperand(const ::Ifc4::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4::IfcBooleanOperand Ifc4::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcBooleanOperand>(); } void Ifc4::IfcBooleanResult::setSecondOperand(const ::Ifc4::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4_types[73]); } -void Ifc4::IfcBooleanResult::initialize(::Ifc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4_types[73]); } +void Ifc4::IfcBooleanResult::initialize(::Ifc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBoundaryCondition std::optional< std::string > Ifc4::IfcBoundaryCondition::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4_types[74]); } +const ifcopenshell::entity& Ifc4::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4_types[74]); } void Ifc4::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4_types[75]); } +const ifcopenshell::entity& Ifc4::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[75]); } void Ifc4::IfcBoundaryCurve::initialize(std::vector< ::Ifc4::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -7350,7 +7350,7 @@ void Ifc4::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const ::Ifc void Ifc4::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4_types[76]); } +const ifcopenshell::entity& Ifc4::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4_types[76]); } void Ifc4::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -7362,7 +7362,7 @@ void Ifc4::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(const ::If void Ifc4::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4_types[77]); } +const ifcopenshell::entity& Ifc4::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4_types[77]); } void Ifc4::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -7380,7 +7380,7 @@ void Ifc4::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4::IfcRo void Ifc4::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4_types[78]); } +const ifcopenshell::entity& Ifc4::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4_types[78]); } void Ifc4::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -7388,19 +7388,19 @@ void Ifc4::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_ void Ifc4::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4_types[79]); } +const ifcopenshell::entity& Ifc4::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4_types[79]); } void Ifc4::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -const IfcParse::entity& Ifc4::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4_types[80]); } +const ifcopenshell::entity& Ifc4::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[80]); } void Ifc4::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4_types[81]); } +const ifcopenshell::entity& Ifc4::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[81]); } void Ifc4::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -7414,7 +7414,7 @@ double Ifc4::IfcBoundingBox::ZDim() const { double v = get_attribute_value(3); void Ifc4::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4_types[82]); } +const ifcopenshell::entity& Ifc4::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4_types[82]); } void Ifc4::IfcBoundingBox::initialize(::Ifc4::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -7422,7 +7422,7 @@ void Ifc4::IfcBoundingBox::initialize(::Ifc4::IfcCartesianPoint v1_Corner, doubl void Ifc4::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4_types[84]); } +const ifcopenshell::entity& Ifc4::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4_types[84]); } void Ifc4::IfcBoxedHalfSpace::initialize(::Ifc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBuilding @@ -7434,51 +7434,51 @@ void Ifc4::IfcBuilding::setElevationOfTerrain(const std::optional< double >& v) void Ifc4::IfcBuilding::setBuildingAddress(const ::Ifc4::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4_types[91]); } -void Ifc4::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::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)); } +const ifcopenshell::entity& Ifc4::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4_types[91]); } +void Ifc4::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::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)); } // Function implementations for IfcBuildingElement -const IfcParse::entity& Ifc4::IfcBuildingElement::Class() { return *((IfcParse::entity*)IFC4_types[92]); } +const ifcopenshell::entity& Ifc4::IfcBuildingElement::Class() { return *((ifcopenshell::entity*)IFC4_types[92]); } void Ifc4::IfcBuildingElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4::IfcBuildingElementPartTypeEnum::Value > Ifc4::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4_types[93]); } -void Ifc4::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4_types[93]); } +void Ifc4::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4::IfcBuildingElementPartTypeEnum::Value Ifc4::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4_types[94]); } -void Ifc4::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4_types[94]); } +void Ifc4::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4::IfcBuildingElementProxyTypeEnum::Value > Ifc4::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4_types[96]); } -void Ifc4::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4_types[96]); } +void Ifc4::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4::IfcBuildingElementProxyTypeEnum::Value Ifc4::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4_types[97]); } -void Ifc4::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4_types[97]); } +void Ifc4::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementType -const IfcParse::entity& Ifc4::IfcBuildingElementType::Class() { return *((IfcParse::entity*)IFC4_types[99]); } +const ifcopenshell::entity& Ifc4::IfcBuildingElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[99]); } void Ifc4::IfcBuildingElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuildingStorey @@ -7486,34 +7486,34 @@ std::optional< double > Ifc4::IfcBuildingStorey::Elevation() const { if(get_attr void Ifc4::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4_types[100]); } -void Ifc4::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4_types[100]); } +void Ifc4::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4::IfcBuildingSystemTypeEnum::Value > Ifc4::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4_types[101]); } -void Ifc4::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4_types[101]); } +void Ifc4::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4::IfcBurnerTypeEnum::Value > Ifc4::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcBurner::setPredefinedType(const std::optional< ::Ifc4::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcBurner::setPredefinedType(const std::optional< ::Ifc4::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcBurner::Class() { return *((IfcParse::entity*)IFC4_types[103]); } -void Ifc4::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4_types[103]); } +void Ifc4::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4::IfcBurnerTypeEnum::Value Ifc4::IfcBurnerType::PredefinedType() const { return ::Ifc4::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcBurnerType::setPredefinedType(const ::Ifc4::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcBurnerType::setPredefinedType(const ::Ifc4::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4_types[104]); } -void Ifc4::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4_types[104]); } +void Ifc4::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -7528,85 +7528,85 @@ std::optional< double > Ifc4::IfcCShapeProfileDef::InternalFilletRadius() const void Ifc4::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[231]); } -void Ifc4::IfcCShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[231]); } +void Ifc4::IfcCShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4::IfcCableCarrierFittingTypeEnum::Value > Ifc4::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4_types[106]); } -void Ifc4::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4_types[106]); } +void Ifc4::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4::IfcCableCarrierFittingTypeEnum::Value Ifc4::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4_types[107]); } -void Ifc4::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4_types[107]); } +void Ifc4::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value > Ifc4::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4_types[109]); } -void Ifc4::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4_types[109]); } +void Ifc4::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value Ifc4::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4_types[110]); } -void Ifc4::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4_types[110]); } +void Ifc4::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4::IfcCableFittingTypeEnum::Value > Ifc4::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4_types[112]); } -void Ifc4::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4_types[112]); } +void Ifc4::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4::IfcCableFittingTypeEnum::Value Ifc4::IfcCableFittingType::PredefinedType() const { return ::Ifc4::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCableFittingType::setPredefinedType(const ::Ifc4::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCableFittingType::setPredefinedType(const ::Ifc4::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4_types[113]); } -void Ifc4::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4_types[113]); } +void Ifc4::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4::IfcCableSegmentTypeEnum::Value > Ifc4::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4_types[115]); } -void Ifc4::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4_types[115]); } +void Ifc4::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4::IfcCableSegmentTypeEnum::Value Ifc4::IfcCableSegmentType::PredefinedType() const { return ::Ifc4::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCableSegmentType::setPredefinedType(const ::Ifc4::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCableSegmentType::setPredefinedType(const ::Ifc4::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4_types[116]); } -void Ifc4::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4_types[116]); } +void Ifc4::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4_types[119]); } +const ifcopenshell::entity& Ifc4::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4_types[119]); } void Ifc4::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4_types[120]); } +const ifcopenshell::entity& Ifc4::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4_types[120]); } void Ifc4::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -7614,7 +7614,7 @@ std::vector< std::vector< double > > Ifc4::IfcCartesianPointList2D::CoordList() void Ifc4::IfcCartesianPointList2D::setCoordList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4_types[121]); } +const ifcopenshell::entity& Ifc4::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4_types[121]); } void Ifc4::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList) { set_attribute_value(0, (v1_CoordList)); } // Function implementations for IfcCartesianPointList3D @@ -7622,7 +7622,7 @@ std::vector< std::vector< double > > Ifc4::IfcCartesianPointList3D::CoordList() void Ifc4::IfcCartesianPointList3D::setCoordList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4_types[122]); } +const ifcopenshell::entity& Ifc4::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4_types[122]); } void Ifc4::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList) { set_attribute_value(0, (v1_CoordList)); } // Function implementations for IfcCartesianTransformationOperator @@ -7636,13 +7636,13 @@ std::optional< double > Ifc4::IfcCartesianTransformationOperator::Scale() const void Ifc4::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4_types[123]); } +const ifcopenshell::entity& Ifc4::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4_types[123]); } void Ifc4::IfcCartesianTransformationOperator::initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4_types[124]); } +const ifcopenshell::entity& Ifc4::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4_types[124]); } void Ifc4::IfcCartesianTransformationOperator2D::initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -7650,7 +7650,7 @@ std::optional< double > Ifc4::IfcCartesianTransformationOperator2DnonUniform::Sc void Ifc4::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4_types[125]); } +const ifcopenshell::entity& Ifc4::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4_types[125]); } void Ifc4::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -7658,7 +7658,7 @@ void Ifc4::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4::If void Ifc4::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4_types[126]); } +const ifcopenshell::entity& Ifc4::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4_types[126]); } void Ifc4::IfcCartesianTransformationOperator3D::initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -7668,7 +7668,7 @@ std::optional< double > Ifc4::IfcCartesianTransformationOperator3DnonUniform::Sc void Ifc4::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4_types[127]); } +const ifcopenshell::entity& Ifc4::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4_types[127]); } void Ifc4::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -7676,47 +7676,47 @@ double Ifc4::IfcCenterLineProfileDef::Thickness() const { double v = get_attrib void Ifc4::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[128]); } -void Ifc4::IfcCenterLineProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[128]); } +void Ifc4::IfcCenterLineProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4::IfcChillerTypeEnum::Value > Ifc4::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcChiller::setPredefinedType(const std::optional< ::Ifc4::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcChiller::setPredefinedType(const std::optional< ::Ifc4::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcChiller::Class() { return *((IfcParse::entity*)IFC4_types[130]); } -void Ifc4::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4_types[130]); } +void Ifc4::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4::IfcChillerTypeEnum::Value Ifc4::IfcChillerType::PredefinedType() const { return ::Ifc4::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcChillerType::setPredefinedType(const ::Ifc4::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcChillerType::setPredefinedType(const ::Ifc4::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4_types[131]); } -void Ifc4::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4_types[131]); } +void Ifc4::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4::IfcChimneyTypeEnum::Value > Ifc4::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcChimney::setPredefinedType(const std::optional< ::Ifc4::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcChimney::setPredefinedType(const std::optional< ::Ifc4::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcChimney::Class() { return *((IfcParse::entity*)IFC4_types[133]); } -void Ifc4::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4_types[133]); } +void Ifc4::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4::IfcChimneyTypeEnum::Value Ifc4::IfcChimneyType::PredefinedType() const { return ::Ifc4::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcChimneyType::setPredefinedType(const ::Ifc4::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcChimneyType::setPredefinedType(const ::Ifc4::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4_types[134]); } -void Ifc4::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4_types[134]); } +void Ifc4::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcCircle::Class() { return *((IfcParse::entity*)IFC4_types[136]); } +const ifcopenshell::entity& Ifc4::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4_types[136]); } void Ifc4::IfcCircle::initialize(::Ifc4::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -7724,27 +7724,27 @@ double Ifc4::IfcCircleHollowProfileDef::WallThickness() const { double v = get_ void Ifc4::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[137]); } -void Ifc4::IfcCircleHollowProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[137]); } +void Ifc4::IfcCircleHollowProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[138]); } -void Ifc4::IfcCircleProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[138]); } +void Ifc4::IfcCircleProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4_types[139]); } +const ifcopenshell::entity& Ifc4::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4_types[139]); } void Ifc4::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4_types[140]); } +const ifcopenshell::entity& Ifc4::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[140]); } void Ifc4::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -7763,10 +7763,10 @@ void Ifc4::IfcClassification::setLocation(const std::optional< std::string >& v) std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4::IfcRelAssociatesClassification> Ifc4::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[808], 5)); } -std::vector<::Ifc4::IfcClassificationReference> Ifc4::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[142], 3)); } +std::vector<::Ifc4::IfcRelAssociatesClassification> Ifc4::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[808], 5)); } +std::vector<::Ifc4::IfcClassificationReference> Ifc4::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[142], 3)); } -const IfcParse::entity& Ifc4::IfcClassification::Class() { return *((IfcParse::entity*)IFC4_types[141]); } +const ifcopenshell::entity& Ifc4::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4_types[141]); } void Ifc4::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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_Location) {set_attribute_value(5, (*v6_Location)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); } } // Function implementations for IfcClassificationReference @@ -7777,33 +7777,33 @@ void Ifc4::IfcClassificationReference::setDescription(const std::optional< std:: std::optional< std::string > Ifc4::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4::IfcRelAssociatesClassification> Ifc4::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[808], 5)); } -std::vector<::Ifc4::IfcClassificationReference> Ifc4::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[142], 3)); } +std::vector<::Ifc4::IfcRelAssociatesClassification> Ifc4::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[808], 5)); } +std::vector<::Ifc4::IfcClassificationReference> Ifc4::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[142], 3)); } -const IfcParse::entity& Ifc4::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4_types[142]); } +const ifcopenshell::entity& Ifc4::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4_types[142]); } void Ifc4::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4_types[145]); } +const ifcopenshell::entity& Ifc4::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4_types[145]); } void Ifc4::IfcClosedShell::initialize(std::vector< ::Ifc4::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcCoil std::optional< ::Ifc4::IfcCoilTypeEnum::Value > Ifc4::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCoil::setPredefinedType(const std::optional< ::Ifc4::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCoil::setPredefinedType(const std::optional< ::Ifc4::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCoil::Class() { return *((IfcParse::entity*)IFC4_types[146]); } -void Ifc4::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4_types[146]); } +void Ifc4::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4::IfcCoilTypeEnum::Value Ifc4::IfcCoilType::PredefinedType() const { return ::Ifc4::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCoilType::setPredefinedType(const ::Ifc4::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCoilType::setPredefinedType(const ::Ifc4::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4_types[147]); } -void Ifc4::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4_types[147]); } +void Ifc4::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -7814,7 +7814,7 @@ double Ifc4::IfcColourRgb::Blue() const { double v = get_attribute_value(3); re void Ifc4::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4_types[151]); } +const ifcopenshell::entity& Ifc4::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4_types[151]); } void Ifc4::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -7822,7 +7822,7 @@ std::vector< std::vector< double > > Ifc4::IfcColourRgbList::ColourList() const void Ifc4::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4_types[152]); } +const ifcopenshell::entity& Ifc4::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4_types[152]); } void Ifc4::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -7830,46 +7830,46 @@ std::optional< std::string > Ifc4::IfcColourSpecification::Name() const { if(get void Ifc4::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4_types[153]); } +const ifcopenshell::entity& Ifc4::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4_types[153]); } void Ifc4::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4::IfcColumnTypeEnum::Value > Ifc4::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcColumn::setPredefinedType(const std::optional< ::Ifc4::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcColumn::setPredefinedType(const std::optional< ::Ifc4::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcColumn::Class() { return *((IfcParse::entity*)IFC4_types[154]); } -void Ifc4::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4_types[154]); } +void Ifc4::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnStandardCase -const IfcParse::entity& Ifc4::IfcColumnStandardCase::Class() { return *((IfcParse::entity*)IFC4_types[155]); } -void Ifc4::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcColumnStandardCase::Class() { return *((ifcopenshell::entity*)IFC4_types[155]); } +void Ifc4::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4::IfcColumnTypeEnum::Value Ifc4::IfcColumnType::PredefinedType() const { return ::Ifc4::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcColumnType::setPredefinedType(const ::Ifc4::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcColumnType::setPredefinedType(const ::Ifc4::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4_types[156]); } -void Ifc4::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4_types[156]); } +void Ifc4::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value > Ifc4::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4_types[158]); } -void Ifc4::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4_types[158]); } +void Ifc4::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value Ifc4::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4_types[159]); } -void Ifc4::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4_types[159]); } +void Ifc4::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -7878,20 +7878,20 @@ std::vector< ::Ifc4::IfcProperty > Ifc4::IfcComplexProperty::HasProperties() con void Ifc4::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4_types[162]); } +const ifcopenshell::entity& Ifc4::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4_types[162]); } void Ifc4::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4::IfcProperty > v4_HasProperties) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4::IfcPropertyTemplate > > Ifc4::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4::IfcPropertyTemplate>(es); } void Ifc4::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4_types[163]); } -void Ifc4::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4_types[163]); } +void Ifc4::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4::IfcCompositeCurveSegment > Ifc4::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcCompositeCurveSegment>(es); } @@ -7900,27 +7900,27 @@ boost::logic::tribool Ifc4::IfcCompositeCurve::SelfIntersect() const { boost::l void Ifc4::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4_types[165]); } +const ifcopenshell::entity& Ifc4::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[165]); } void Ifc4::IfcCompositeCurve::initialize(std::vector< ::Ifc4::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4_types[166]); } +const ifcopenshell::entity& Ifc4::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[166]); } void Ifc4::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment ::Ifc4::IfcTransitionCode::Value Ifc4::IfcCompositeCurveSegment::Transition() const { return ::Ifc4::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4::IfcCompositeCurveSegment::setTransition(const ::Ifc4::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4::IfcCompositeCurveSegment::setTransition(const ::Ifc4::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } bool Ifc4::IfcCompositeCurveSegment::SameSense() const { bool v = get_attribute_value(1); return v; } void Ifc4::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4::IfcCurve Ifc4::IfcCompositeCurveSegment::ParentCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcCurve>(); } void Ifc4::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4::IfcCompositeCurve> Ifc4::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[165], 0)); } +std::vector<::Ifc4::IfcCompositeCurve> Ifc4::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[165], 0)); } -const IfcParse::entity& Ifc4::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4_types[167]); } -void Ifc4::IfcCompositeCurveSegment::initialize(::Ifc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4_types[167]); } +void Ifc4::IfcCompositeCurveSegment::initialize(::Ifc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4::IfcProfileDef > Ifc4::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4::IfcProfileDef>(es); } @@ -7929,47 +7929,47 @@ std::optional< std::string > Ifc4::IfcCompositeProfileDef::Label() const { if(ge void Ifc4::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[168]); } -void Ifc4::IfcCompositeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[168]); } +void Ifc4::IfcCompositeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4::IfcCompressorTypeEnum::Value > Ifc4::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4_types[170]); } -void Ifc4::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4_types[170]); } +void Ifc4::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4::IfcCompressorTypeEnum::Value Ifc4::IfcCompressorType::PredefinedType() const { return ::Ifc4::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCompressorType::setPredefinedType(const ::Ifc4::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCompressorType::setPredefinedType(const ::Ifc4::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4_types[171]); } -void Ifc4::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4_types[171]); } +void Ifc4::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4::IfcCondenserTypeEnum::Value > Ifc4::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4_types[173]); } -void Ifc4::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4_types[173]); } +void Ifc4::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4::IfcCondenserTypeEnum::Value Ifc4::IfcCondenserType::PredefinedType() const { return ::Ifc4::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCondenserType::setPredefinedType(const ::Ifc4::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCondenserType::setPredefinedType(const ::Ifc4::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4_types[174]); } -void Ifc4::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4_types[174]); } +void Ifc4::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4::IfcAxis2Placement Ifc4::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcAxis2Placement>(); } void Ifc4::IfcConic::setPosition(const ::Ifc4::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcConic::Class() { return *((IfcParse::entity*)IFC4_types[176]); } +const ifcopenshell::entity& Ifc4::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4_types[176]); } void Ifc4::IfcConic::initialize(::Ifc4::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -7977,7 +7977,7 @@ std::vector< ::Ifc4::IfcFace > Ifc4::IfcConnectedFaceSet::CfsFaces() const { st void Ifc4::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4_types[177]); } +const ifcopenshell::entity& Ifc4::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4_types[177]); } void Ifc4::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -7987,13 +7987,13 @@ void Ifc4::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::Ifc4::I void Ifc4::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4_types[178]); } +const ifcopenshell::entity& Ifc4::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4_types[178]); } void Ifc4::IfcConnectionCurveGeometry::initialize(::Ifc4::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4_types[179]); } +const ifcopenshell::entity& Ifc4::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4_types[179]); } void Ifc4::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -8005,7 +8005,7 @@ std::optional< double > Ifc4::IfcConnectionPointEccentricity::EccentricityInZ() void Ifc4::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4_types[180]); } +const ifcopenshell::entity& Ifc4::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4_types[180]); } void Ifc4::IfcConnectionPointEccentricity::initialize(::Ifc4::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -8015,7 +8015,7 @@ void Ifc4::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::Ifc4::I void Ifc4::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4_types[181]); } +const ifcopenshell::entity& Ifc4::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4_types[181]); } void Ifc4::IfcConnectionPointGeometry::initialize(::Ifc4::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -8025,7 +8025,7 @@ void Ifc4::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const ::Ifc void Ifc4::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4_types[182]); } +const ifcopenshell::entity& Ifc4::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4_types[182]); } void Ifc4::IfcConnectionSurfaceGeometry::initialize(::Ifc4::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -8035,7 +8035,7 @@ void Ifc4::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const ::Ifc4: void Ifc4::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4_types[184]); } +const ifcopenshell::entity& Ifc4::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4_types[184]); } void Ifc4::IfcConnectionVolumeGeometry::initialize(::Ifc4::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -8044,7 +8044,7 @@ void Ifc4::IfcConstraint::setName(const std::string& v) { set_attribute_value(0, std::optional< std::string > Ifc4::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4::IfcConstraintEnum::Value Ifc4::IfcConstraint::ConstraintGrade() const { return ::Ifc4::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4::IfcConstraint::setConstraintGrade(const ::Ifc4::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4::IfcConstraint::setConstraintGrade(const ::Ifc4::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4::IfcActorSelect Ifc4::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcActorSelect>(); } @@ -8054,59 +8054,59 @@ void Ifc4::IfcConstraint::setCreationTime(const std::optional< std::string >& v) std::optional< std::string > Ifc4::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } -std::vector<::Ifc4::IfcResourceConstraintRelationship> Ifc4::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[852], 2)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcResourceConstraintRelationship> Ifc4::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[852], 2)); } -const IfcParse::entity& Ifc4::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4_types[185]); } -void Ifc4::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4_types[185]); } +void Ifc4::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4_types[187]); } -void Ifc4::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4_types[187]); } +void Ifc4::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4_types[188]); } -void Ifc4::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4_types[188]); } +void Ifc4::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4_types[190]); } -void Ifc4::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4_types[190]); } +void Ifc4::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value Ifc4::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4_types[191]); } -void Ifc4::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4_types[191]); } +void Ifc4::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4::IfcConstructionProductResourceTypeEnum::Value > Ifc4::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4_types[193]); } -void Ifc4::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4_types[193]); } +void Ifc4::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4::IfcConstructionProductResourceTypeEnum::Value Ifc4::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4_types[194]); } -void Ifc4::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4_types[194]); } +void Ifc4::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4::IfcResourceTime Ifc4::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4::IfcResourceTime>(); } @@ -8117,7 +8117,7 @@ void Ifc4::IfcConstructionResource::setBaseCosts(const std::optional< std::vecto void Ifc4::IfcConstructionResource::setBaseQuantity(const ::Ifc4::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4_types[196]); } +const ifcopenshell::entity& Ifc4::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4_types[196]); } void Ifc4::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -8127,7 +8127,7 @@ void Ifc4::IfcConstructionResourceType::setBaseCosts(const std::optional< std::v void Ifc4::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4_types[197]); } +const ifcopenshell::entity& Ifc4::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4_types[197]); } void Ifc4::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -8142,45 +8142,45 @@ void Ifc4::IfcContext::setRepresentationContexts(const std::optional< std::vecto ::Ifc4::IfcUnitAssignment Ifc4::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4::IfcUnitAssignment>(); } void Ifc4::IfcContext::setUnitsInContext(const ::Ifc4::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4::IfcRelDefinesByProperties> Ifc4::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[830], 4)); } -std::vector<::Ifc4::IfcRelDeclares> Ifc4::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[826], 4)); } +std::vector<::Ifc4::IfcRelDefinesByProperties> Ifc4::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[830], 4)); } +std::vector<::Ifc4::IfcRelDeclares> Ifc4::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[826], 4)); } -const IfcParse::entity& Ifc4::IfcContext::Class() { return *((IfcParse::entity*)IFC4_types[198]); } +const ifcopenshell::entity& Ifc4::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4_types[198]); } void Ifc4::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } -const IfcParse::entity& Ifc4::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4_types[200]); } -void Ifc4::IfcContextDependentUnit::initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4_types[200]); } +void Ifc4::IfcContextDependentUnit::initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4::IfcRelAssignsToControl> Ifc4::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[800], 6)); } +std::vector<::Ifc4::IfcRelAssignsToControl> Ifc4::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[800], 6)); } -const IfcParse::entity& Ifc4::IfcControl::Class() { return *((IfcParse::entity*)IFC4_types[201]); } +const ifcopenshell::entity& Ifc4::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4_types[201]); } void Ifc4::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4::IfcControllerTypeEnum::Value > Ifc4::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcController::setPredefinedType(const std::optional< ::Ifc4::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcController::setPredefinedType(const std::optional< ::Ifc4::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcController::Class() { return *((IfcParse::entity*)IFC4_types[202]); } -void Ifc4::IfcController::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcController::Class() { return *((ifcopenshell::entity*)IFC4_types[202]); } +void Ifc4::IfcController::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4::IfcControllerTypeEnum::Value Ifc4::IfcControllerType::PredefinedType() const { return ::Ifc4::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcControllerType::setPredefinedType(const ::Ifc4::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcControllerType::setPredefinedType(const ::Ifc4::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4_types[203]); } -void Ifc4::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4_types[203]); } +void Ifc4::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -8188,50 +8188,50 @@ void Ifc4::IfcConversionBasedUnit::setName(const std::string& v) { set_attribute ::Ifc4::IfcMeasureWithUnit Ifc4::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4::IfcMeasureWithUnit>(); } void Ifc4::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } -const IfcParse::entity& Ifc4::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4_types[205]); } -void Ifc4::IfcConversionBasedUnit::initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4_types[205]); } +void Ifc4::IfcConversionBasedUnit::initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4_types[206]); } -void Ifc4::IfcConversionBasedUnitWithOffset::initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4_types[206]); } +void Ifc4::IfcConversionBasedUnitWithOffset::initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4::IfcCooledBeamTypeEnum::Value > Ifc4::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4_types[207]); } -void Ifc4::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4_types[207]); } +void Ifc4::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4::IfcCooledBeamTypeEnum::Value Ifc4::IfcCooledBeamType::PredefinedType() const { return ::Ifc4::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCooledBeamType::setPredefinedType(const ::Ifc4::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCooledBeamType::setPredefinedType(const ::Ifc4::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4_types[208]); } -void Ifc4::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4_types[208]); } +void Ifc4::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4::IfcCoolingTowerTypeEnum::Value > Ifc4::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4_types[210]); } -void Ifc4::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4_types[210]); } +void Ifc4::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4::IfcCoolingTowerTypeEnum::Value Ifc4::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCoolingTowerType::setPredefinedType(const ::Ifc4::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCoolingTowerType::setPredefinedType(const ::Ifc4::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4_types[211]); } -void Ifc4::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4_types[211]); } +void Ifc4::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4::IfcCoordinateReferenceSystemSelect Ifc4::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcCoordinateReferenceSystemSelect>(); } @@ -8240,7 +8240,7 @@ void Ifc4::IfcCoordinateOperation::setSourceCRS(const ::Ifc4::IfcCoordinateRefer void Ifc4::IfcCoordinateOperation::setTargetCRS(const ::Ifc4::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4_types[213]); } +const ifcopenshell::entity& Ifc4::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4_types[213]); } void Ifc4::IfcCoordinateOperation::initialize(::Ifc4::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -8253,26 +8253,26 @@ void Ifc4::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optional< s std::optional< std::string > Ifc4::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::vector<::Ifc4::IfcCoordinateOperation> Ifc4::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[213], 0)); } +std::vector<::Ifc4::IfcCoordinateOperation> Ifc4::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[213], 0)); } -const IfcParse::entity& Ifc4::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4_types[214]); } +const ifcopenshell::entity& Ifc4::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4_types[214]); } void Ifc4::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { 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)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4::IfcCostItemTypeEnum::Value > Ifc4::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4::IfcCostValue > > Ifc4::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4::IfcCostValue>(es); } void Ifc4::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4::IfcPhysicalQuantity > > Ifc4::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4::IfcPhysicalQuantity>(es); } void Ifc4::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4_types[216]); } -void Ifc4::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4_types[216]); } +void Ifc4::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4::IfcCostScheduleTypeEnum::Value > Ifc4::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -8281,55 +8281,55 @@ std::optional< std::string > Ifc4::IfcCostSchedule::UpdateDate() const { if(get_ void Ifc4::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4_types[218]); } -void Ifc4::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4_types[218]); } +void Ifc4::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4_types[220]); } -void Ifc4::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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(&::Ifc4::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4_types[220]); } +void Ifc4::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCovering std::optional< ::Ifc4::IfcCoveringTypeEnum::Value > Ifc4::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCovering::setPredefinedType(const std::optional< ::Ifc4::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCovering::setPredefinedType(const std::optional< ::Ifc4::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4::IfcRelCoversSpaces> Ifc4::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[825], 5)); } -std::vector<::Ifc4::IfcRelCoversBldgElements> Ifc4::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[824], 5)); } +std::vector<::Ifc4::IfcRelCoversSpaces> Ifc4::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[825], 5)); } +std::vector<::Ifc4::IfcRelCoversBldgElements> Ifc4::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[824], 5)); } -const IfcParse::entity& Ifc4::IfcCovering::Class() { return *((IfcParse::entity*)IFC4_types[222]); } -void Ifc4::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4_types[222]); } +void Ifc4::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4::IfcCoveringTypeEnum::Value Ifc4::IfcCoveringType::PredefinedType() const { return ::Ifc4::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCoveringType::setPredefinedType(const ::Ifc4::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCoveringType::setPredefinedType(const ::Ifc4::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4_types[223]); } -void Ifc4::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4_types[223]); } +void Ifc4::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4::IfcCrewResourceTypeEnum::Value > Ifc4::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4_types[225]); } -void Ifc4::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4_types[225]); } +void Ifc4::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4::IfcCrewResourceTypeEnum::Value Ifc4::IfcCrewResourceType::PredefinedType() const { return ::Ifc4::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcCrewResourceType::setPredefinedType(const ::Ifc4::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4::IfcCrewResourceType::setPredefinedType(const ::Ifc4::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4_types[226]); } -void Ifc4::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4_types[226]); } +void Ifc4::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4::IfcAxis2Placement3D Ifc4::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcAxis2Placement3D>(); } void Ifc4::IfcCsgPrimitive3D::setPosition(const ::Ifc4::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4_types[228]); } +const ifcopenshell::entity& Ifc4::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4_types[228]); } void Ifc4::IfcCsgPrimitive3D::initialize(::Ifc4::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -8337,7 +8337,7 @@ void Ifc4::IfcCsgPrimitive3D::initialize(::Ifc4::IfcAxis2Placement3D v1_Position void Ifc4::IfcCsgSolid::setTreeRootExpression(const ::Ifc4::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4_types[230]); } +const ifcopenshell::entity& Ifc4::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4_types[230]); } void Ifc4::IfcCsgSolid::initialize(::Ifc4::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -8353,29 +8353,29 @@ void Ifc4::IfcCurrencyRelationship::setRateDateTime(const std::optional< std::st void Ifc4::IfcCurrencyRelationship::setRateSource(const ::Ifc4::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4_types[232]); } +const ifcopenshell::entity& Ifc4::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[232]); } void Ifc4::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4::IfcCurtainWallTypeEnum::Value > Ifc4::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4_types[233]); } -void Ifc4::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4_types[233]); } +void Ifc4::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4::IfcCurtainWallTypeEnum::Value Ifc4::IfcCurtainWallType::PredefinedType() const { return ::Ifc4::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcCurtainWallType::setPredefinedType(const ::Ifc4::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcCurtainWallType::setPredefinedType(const ::Ifc4::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4_types[234]); } -void Ifc4::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4_types[234]); } +void Ifc4::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4::IfcCurve::Class() { return *((IfcParse::entity*)IFC4_types[237]); } +const ifcopenshell::entity& Ifc4::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[237]); } void Ifc4::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -8387,7 +8387,7 @@ std::vector< ::Ifc4::IfcCurve > Ifc4::IfcCurveBoundedPlane::InnerBoundaries() co void Ifc4::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4_types[238]); } +const ifcopenshell::entity& Ifc4::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4_types[238]); } void Ifc4::IfcCurveBoundedPlane::initialize(::Ifc4::IfcPlane v1_BasisSurface, ::Ifc4::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -8399,7 +8399,7 @@ bool Ifc4::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_attribu void Ifc4::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4_types[239]); } +const ifcopenshell::entity& Ifc4::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[239]); } void Ifc4::IfcCurveBoundedSurface::initialize(::Ifc4::IfcSurface v1_BasisSurface, std::vector< ::Ifc4::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveStyle @@ -8413,7 +8413,7 @@ std::optional< bool > Ifc4::IfcCurveStyle::ModelOrDraughting() const { if(get_at void Ifc4::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4_types[244]); } +const ifcopenshell::entity& Ifc4::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[244]); } void Ifc4::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4::IfcSizeSelect v3_CurveWidth, ::Ifc4::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -8423,7 +8423,7 @@ std::vector< ::Ifc4::IfcCurveStyleFontPattern > Ifc4::IfcCurveStyleFont::Pattern void Ifc4::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4_types[245]); } +const ifcopenshell::entity& Ifc4::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4_types[245]); } void Ifc4::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -8435,7 +8435,7 @@ double Ifc4::IfcCurveStyleFontAndScaling::CurveFontScaling() const { double v = void Ifc4::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4_types[246]); } +const ifcopenshell::entity& Ifc4::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4_types[246]); } void Ifc4::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -8445,7 +8445,7 @@ double Ifc4::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { double void Ifc4::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4_types[247]); } +const ifcopenshell::entity& Ifc4::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4_types[247]); } void Ifc4::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -8453,24 +8453,24 @@ double Ifc4::IfcCylindricalSurface::Radius() const { double v = get_attribute_v void Ifc4::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4_types[249]); } +const ifcopenshell::entity& Ifc4::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[249]); } void Ifc4::IfcCylindricalSurface::initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4::IfcDamperTypeEnum::Value > Ifc4::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcDamper::setPredefinedType(const std::optional< ::Ifc4::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcDamper::setPredefinedType(const std::optional< ::Ifc4::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcDamper::Class() { return *((IfcParse::entity*)IFC4_types[250]); } -void Ifc4::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4_types[250]); } +void Ifc4::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4::IfcDamperTypeEnum::Value Ifc4::IfcDamperType::PredefinedType() const { return ::Ifc4::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcDamperType::setPredefinedType(const ::Ifc4::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcDamperType::setPredefinedType(const ::Ifc4::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4_types[251]); } -void Ifc4::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4_types[251]); } +void Ifc4::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDerivedProfileDef ::Ifc4::IfcProfileDef Ifc4::IfcDerivedProfileDef::ParentProfile() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcProfileDef>(); } @@ -8481,20 +8481,20 @@ std::optional< std::string > Ifc4::IfcDerivedProfileDef::Label() const { if(get_ void Ifc4::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[260]); } -void Ifc4::IfcDerivedProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcProfileDef v3_ParentProfile, ::Ifc4::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[260]); } +void Ifc4::IfcDerivedProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcProfileDef v3_ParentProfile, ::Ifc4::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4::IfcDerivedUnitElement > Ifc4::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcDerivedUnitElement>(es); } void Ifc4::IfcDerivedUnit::setElements(const std::vector< ::Ifc4::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4::IfcDerivedUnitEnum::Value Ifc4::IfcDerivedUnit::UnitType() const { return ::Ifc4::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4::IfcDerivedUnit::setUnitType(const ::Ifc4::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4::IfcDerivedUnit::setUnitType(const ::Ifc4::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4_types[261]); } -void Ifc4::IfcDerivedUnit::initialize(std::vector< ::Ifc4::IfcDerivedUnitElement > v1_Elements, ::Ifc4::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } +const ifcopenshell::entity& Ifc4::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4_types[261]); } +void Ifc4::IfcDerivedUnit::initialize(std::vector< ::Ifc4::IfcDerivedUnitElement > v1_Elements, ::Ifc4::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4::IfcNamedUnit Ifc4::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcNamedUnit>(); } @@ -8503,7 +8503,7 @@ int Ifc4::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_value void Ifc4::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4_types[262]); } +const ifcopenshell::entity& Ifc4::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4_types[262]); } void Ifc4::IfcDerivedUnitElement::initialize(::Ifc4::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -8523,7 +8523,7 @@ int Ifc4::IfcDimensionalExponents::LuminousIntensityExponent() const { int v = void Ifc4::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4_types[265]); } +const ifcopenshell::entity& Ifc4::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4_types[265]); } void Ifc4::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -8531,107 +8531,107 @@ std::vector< double > /*[2:3]*/ Ifc4::IfcDirection::DirectionRatios() const { s void Ifc4::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcDirection::Class() { return *((IfcParse::entity*)IFC4_types[267]); } +const ifcopenshell::entity& Ifc4::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4_types[267]); } void Ifc4::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value > Ifc4::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4_types[269]); } -void Ifc4::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4_types[269]); } +void Ifc4::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value Ifc4::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4_types[270]); } -void Ifc4::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4_types[270]); } +void Ifc4::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4::IfcDistributionChamberElementTypeEnum::Value > Ifc4::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4_types[272]); } -void Ifc4::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4_types[272]); } +void Ifc4::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4::IfcDistributionChamberElementTypeEnum::Value Ifc4::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4_types[273]); } -void Ifc4::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[273]); } +void Ifc4::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4_types[275]); } -void Ifc4::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4_types[275]); } +void Ifc4::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4::IfcRelFlowControlElements> Ifc4::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[834], 4)); } +std::vector<::Ifc4::IfcRelFlowControlElements> Ifc4::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[834], 4)); } -const IfcParse::entity& Ifc4::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4_types[276]); } +const ifcopenshell::entity& Ifc4::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4_types[276]); } void Ifc4::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4_types[277]); } +const ifcopenshell::entity& Ifc4::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[277]); } void Ifc4::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4::IfcRelConnectsPortToElement> Ifc4::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[818], 5)); } +std::vector<::Ifc4::IfcRelConnectsPortToElement> Ifc4::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[818], 5)); } -const IfcParse::entity& Ifc4::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4_types[278]); } +const ifcopenshell::entity& Ifc4::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4_types[278]); } void Ifc4::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4_types[279]); } +const ifcopenshell::entity& Ifc4::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[279]); } void Ifc4::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4::IfcRelFlowControlElements> Ifc4::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[834], 5)); } +std::vector<::Ifc4::IfcRelFlowControlElements> Ifc4::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[834], 5)); } -const IfcParse::entity& Ifc4::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4_types[280]); } +const ifcopenshell::entity& Ifc4::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4_types[280]); } void Ifc4::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4_types[281]); } +const ifcopenshell::entity& Ifc4::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[281]); } void Ifc4::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4::IfcFlowDirectionEnum::Value > Ifc4::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4::IfcDistributionPortTypeEnum::Value > Ifc4::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > Ifc4::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4_types[282]); } -void Ifc4::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4_types[282]); } +void Ifc4::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > Ifc4::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4_types[284]); } -void Ifc4::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4_types[284]); } +void Ifc4::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -8665,17 +8665,17 @@ void Ifc4::IfcDocumentInformation::setValidFrom(const std::optional< std::string std::optional< std::string > Ifc4::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4::IfcDocumentConfidentialityEnum::Value > Ifc4::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4::IfcDocumentStatusEnum::Value > Ifc4::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4::IfcRelAssociatesDocument> Ifc4::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[810], 5)); } -std::vector<::Ifc4::IfcDocumentReference> Ifc4::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[289], 4)); } -std::vector<::Ifc4::IfcDocumentInformationRelationship> Ifc4::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[288], 3)); } -std::vector<::Ifc4::IfcDocumentInformationRelationship> Ifc4::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[288], 2)); } +std::vector<::Ifc4::IfcRelAssociatesDocument> Ifc4::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[810], 5)); } +std::vector<::Ifc4::IfcDocumentReference> Ifc4::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[289], 4)); } +std::vector<::Ifc4::IfcDocumentInformationRelationship> Ifc4::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[288], 3)); } +std::vector<::Ifc4::IfcDocumentInformationRelationship> Ifc4::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[288], 2)); } -const IfcParse::entity& Ifc4::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4_types[287]); } -void Ifc4::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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(&::Ifc4::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4_types[287]); } +void Ifc4::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4::IfcDocumentInformation Ifc4::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcDocumentInformation>(); } @@ -8686,7 +8686,7 @@ std::optional< std::string > Ifc4::IfcDocumentInformationRelationship::Relations void Ifc4::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4_types[288]); } +const ifcopenshell::entity& Ifc4::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[288]); } void Ifc4::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -8695,9 +8695,9 @@ void Ifc4::IfcDocumentReference::setDescription(const std::optional< std::string ::Ifc4::IfcDocumentInformation Ifc4::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcDocumentInformation>(); } void Ifc4::IfcDocumentReference::setReferencedDocument(const ::Ifc4::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4::IfcRelAssociatesDocument> Ifc4::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[810], 5)); } +std::vector<::Ifc4::IfcRelAssociatesDocument> Ifc4::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[810], 5)); } -const IfcParse::entity& Ifc4::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4_types[289]); } +const ifcopenshell::entity& Ifc4::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4_types[289]); } void Ifc4::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -8706,15 +8706,15 @@ void Ifc4::IfcDoor::setOverallHeight(const std::optional< double >& v) { if (v) std::optional< double > Ifc4::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4::IfcDoorTypeEnum::Value > Ifc4::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcDoor::setPredefinedType(const std::optional< ::Ifc4::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcDoor::setPredefinedType(const std::optional< ::Ifc4::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4::IfcDoorTypeOperationEnum::Value > Ifc4::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcDoor::setOperationType(const std::optional< ::Ifc4::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4::IfcDoor::setOperationType(const std::optional< ::Ifc4::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4::IfcDoor::Class() { return *((IfcParse::entity*)IFC4_types[292]); } -void Ifc4::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4_types[292]); } +void Ifc4::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -8745,118 +8745,118 @@ std::optional< double > Ifc4::IfcDoorLiningProperties::LiningToPanelOffsetY() co void Ifc4::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4_types[293]); } +const ifcopenshell::entity& Ifc4::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[293]); } void Ifc4::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4::IfcDoorPanelOperationEnum::Value Ifc4::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4::IfcDoorPanelPositionEnum::Value Ifc4::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4::IfcShapeAspect Ifc4::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4::IfcShapeAspect>(); } void Ifc4::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4_types[296]); } -void Ifc4::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[296]); } +void Ifc4::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorStandardCase -const IfcParse::entity& Ifc4::IfcDoorStandardCase::Class() { return *((IfcParse::entity*)IFC4_types[297]); } -void Ifc4::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4::IfcDoorStandardCase::Class() { return *((ifcopenshell::entity*)IFC4_types[297]); } +void Ifc4::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorStyle ::Ifc4::IfcDoorStyleOperationEnum::Value Ifc4::IfcDoorStyle::OperationType() const { return ::Ifc4::IfcDoorStyleOperationEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcDoorStyle::setOperationType(const ::Ifc4::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4::IfcDoorStyle::setOperationType(const ::Ifc4::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4::IfcDoorStyleConstructionEnum::Value Ifc4::IfcDoorStyle::ConstructionType() const { return ::Ifc4::IfcDoorStyleConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcDoorStyle::setConstructionType(const ::Ifc4::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcDoorStyle::setConstructionType(const ::Ifc4::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4::IfcDoorStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4::IfcDoorStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4::IfcDoorStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4::IfcDoorStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcDoorStyle::Class() { return *((IfcParse::entity*)IFC4_types[298]); } -void Ifc4::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4::IfcDoorStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[298]); } +void Ifc4::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcDoorType ::Ifc4::IfcDoorTypeEnum::Value Ifc4::IfcDoorType::PredefinedType() const { return ::Ifc4::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcDoorType::setPredefinedType(const ::Ifc4::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcDoorType::setPredefinedType(const ::Ifc4::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4::IfcDoorTypeOperationEnum::Value Ifc4::IfcDoorType::OperationType() const { return ::Ifc4::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcDoorType::setOperationType(const ::Ifc4::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4::IfcDoorType::setOperationType(const ::Ifc4::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4_types[301]); } -void Ifc4::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4_types[301]); } +void Ifc4::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4_types[305]); } +const ifcopenshell::entity& Ifc4::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4_types[305]); } void Ifc4::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4_types[306]); } +const ifcopenshell::entity& Ifc4::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4_types[306]); } void Ifc4::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4::IfcDuctFittingTypeEnum::Value > Ifc4::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4_types[307]); } -void Ifc4::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4_types[307]); } +void Ifc4::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4::IfcDuctFittingTypeEnum::Value Ifc4::IfcDuctFittingType::PredefinedType() const { return ::Ifc4::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcDuctFittingType::setPredefinedType(const ::Ifc4::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcDuctFittingType::setPredefinedType(const ::Ifc4::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4_types[308]); } -void Ifc4::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4_types[308]); } +void Ifc4::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4::IfcDuctSegmentTypeEnum::Value > Ifc4::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4_types[310]); } -void Ifc4::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4_types[310]); } +void Ifc4::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4::IfcDuctSegmentTypeEnum::Value Ifc4::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcDuctSegmentType::setPredefinedType(const ::Ifc4::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcDuctSegmentType::setPredefinedType(const ::Ifc4::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4_types[311]); } -void Ifc4::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4_types[311]); } +void Ifc4::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4::IfcDuctSilencerTypeEnum::Value > Ifc4::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4_types[313]); } -void Ifc4::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4_types[313]); } +void Ifc4::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4::IfcDuctSilencerTypeEnum::Value Ifc4::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcDuctSilencerType::setPredefinedType(const ::Ifc4::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcDuctSilencerType::setPredefinedType(const ::Ifc4::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4_types[314]); } -void Ifc4::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4_types[314]); } +void Ifc4::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEdge ::Ifc4::IfcVertex Ifc4::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcVertex>(); } @@ -8865,7 +8865,7 @@ void Ifc4::IfcEdge::setEdgeStart(const ::Ifc4::IfcVertex& v) { set_attribute_val void Ifc4::IfcEdge::setEdgeEnd(const ::Ifc4::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcEdge::Class() { return *((IfcParse::entity*)IFC4_types[318]); } +const ifcopenshell::entity& Ifc4::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4_types[318]); } void Ifc4::IfcEdge::initialize(::Ifc4::IfcVertex v1_EdgeStart, ::Ifc4::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -8875,7 +8875,7 @@ bool Ifc4::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value(3); r void Ifc4::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4_types[319]); } +const ifcopenshell::entity& Ifc4::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[319]); } void Ifc4::IfcEdgeCurve::initialize(::Ifc4::IfcVertex v1_EdgeStart, ::Ifc4::IfcVertex v2_EdgeEnd, ::Ifc4::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -8883,153 +8883,153 @@ std::vector< ::Ifc4::IfcOrientedEdge > Ifc4::IfcEdgeLoop::EdgeList() const { st void Ifc4::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4_types[320]); } +const ifcopenshell::entity& Ifc4::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4_types[320]); } void Ifc4::IfcEdgeLoop::initialize(std::vector< ::Ifc4::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4::IfcElectricApplianceTypeEnum::Value > Ifc4::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4_types[321]); } -void Ifc4::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4_types[321]); } +void Ifc4::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4::IfcElectricApplianceTypeEnum::Value Ifc4::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcElectricApplianceType::setPredefinedType(const ::Ifc4::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcElectricApplianceType::setPredefinedType(const ::Ifc4::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4_types[322]); } -void Ifc4::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4_types[322]); } +void Ifc4::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value > Ifc4::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4_types[328]); } -void Ifc4::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4_types[328]); } +void Ifc4::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value Ifc4::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4_types[329]); } -void Ifc4::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4_types[329]); } +void Ifc4::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4_types[331]); } -void Ifc4::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[331]); } +void Ifc4::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[332]); } -void Ifc4::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[332]); } +void Ifc4::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4::IfcElectricGeneratorTypeEnum::Value > Ifc4::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4_types[334]); } -void Ifc4::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4_types[334]); } +void Ifc4::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4::IfcElectricGeneratorTypeEnum::Value Ifc4::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4_types[335]); } -void Ifc4::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4_types[335]); } +void Ifc4::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4::IfcElectricMotorTypeEnum::Value > Ifc4::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4_types[337]); } -void Ifc4::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4_types[337]); } +void Ifc4::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4::IfcElectricMotorTypeEnum::Value Ifc4::IfcElectricMotorType::PredefinedType() const { return ::Ifc4::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcElectricMotorType::setPredefinedType(const ::Ifc4::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcElectricMotorType::setPredefinedType(const ::Ifc4::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4_types[338]); } -void Ifc4::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4_types[338]); } +void Ifc4::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4::IfcElectricTimeControlTypeEnum::Value > Ifc4::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4_types[341]); } -void Ifc4::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4_types[341]); } +void Ifc4::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4::IfcElectricTimeControlTypeEnum::Value Ifc4::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4_types[342]); } -void Ifc4::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4_types[342]); } +void Ifc4::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4::IfcRelFillsElement> Ifc4::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[833], 5)); } -std::vector<::Ifc4::IfcRelConnectsElements> Ifc4::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[815], 5)); } -std::vector<::Ifc4::IfcRelInterferesElements> Ifc4::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[835], 5)); } -std::vector<::Ifc4::IfcRelInterferesElements> Ifc4::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[835], 4)); } -std::vector<::Ifc4::IfcRelProjectsElement> Ifc4::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[837], 4)); } -std::vector<::Ifc4::IfcRelReferencedInSpatialStructure> Ifc4::IfcElement::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[838], 4)); } -std::vector<::Ifc4::IfcRelVoidsElement> Ifc4::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[844], 4)); } -std::vector<::Ifc4::IfcRelConnectsWithRealizingElements> Ifc4::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[822], 7)); } -std::vector<::Ifc4::IfcRelSpaceBoundary> Ifc4::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[841], 5)); } -std::vector<::Ifc4::IfcRelConnectsElements> Ifc4::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[815], 6)); } -std::vector<::Ifc4::IfcRelContainedInSpatialStructure> Ifc4::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[823], 4)); } -std::vector<::Ifc4::IfcRelCoversBldgElements> Ifc4::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[824], 4)); } +std::vector<::Ifc4::IfcRelFillsElement> Ifc4::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[833], 5)); } +std::vector<::Ifc4::IfcRelConnectsElements> Ifc4::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[815], 5)); } +std::vector<::Ifc4::IfcRelInterferesElements> Ifc4::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[835], 5)); } +std::vector<::Ifc4::IfcRelInterferesElements> Ifc4::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[835], 4)); } +std::vector<::Ifc4::IfcRelProjectsElement> Ifc4::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[837], 4)); } +std::vector<::Ifc4::IfcRelReferencedInSpatialStructure> Ifc4::IfcElement::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[838], 4)); } +std::vector<::Ifc4::IfcRelVoidsElement> Ifc4::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[844], 4)); } +std::vector<::Ifc4::IfcRelConnectsWithRealizingElements> Ifc4::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[822], 7)); } +std::vector<::Ifc4::IfcRelSpaceBoundary> Ifc4::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[841], 5)); } +std::vector<::Ifc4::IfcRelConnectsElements> Ifc4::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[815], 6)); } +std::vector<::Ifc4::IfcRelContainedInSpatialStructure> Ifc4::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[823], 4)); } +std::vector<::Ifc4::IfcRelCoversBldgElements> Ifc4::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[824], 4)); } -const IfcParse::entity& Ifc4::IfcElement::Class() { return *((IfcParse::entity*)IFC4_types[345]); } +const ifcopenshell::entity& Ifc4::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4_types[345]); } void Ifc4::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4::IfcAssemblyPlaceEnum::Value > Ifc4::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4::IfcElementAssemblyTypeEnum::Value > Ifc4::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4_types[347]); } -void Ifc4::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4_types[347]); } +void Ifc4::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4::IfcElementAssemblyTypeEnum::Value Ifc4::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcElementAssemblyType::setPredefinedType(const ::Ifc4::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcElementAssemblyType::setPredefinedType(const ::Ifc4::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4_types[348]); } -void Ifc4::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4_types[348]); } +void Ifc4::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4_types[350]); } +const ifcopenshell::entity& Ifc4::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4_types[350]); } void Ifc4::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4_types[351]); } +const ifcopenshell::entity& Ifc4::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4_types[351]); } void Ifc4::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -9039,7 +9039,7 @@ std::vector< ::Ifc4::IfcPhysicalQuantity > Ifc4::IfcElementQuantity::Quantities( void Ifc4::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4_types[353]); } +const ifcopenshell::entity& Ifc4::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4_types[353]); } void Ifc4::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -9047,7 +9047,7 @@ std::optional< std::string > Ifc4::IfcElementType::ElementType() const { if(get_ void Ifc4::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcElementType::Class() { return *((IfcParse::entity*)IFC4_types[354]); } +const ifcopenshell::entity& Ifc4::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[354]); } void Ifc4::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -9055,7 +9055,7 @@ void Ifc4::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerH void Ifc4::IfcElementarySurface::setPosition(const ::Ifc4::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4_types[346]); } +const ifcopenshell::entity& Ifc4::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4_types[346]); } void Ifc4::IfcElementarySurface::initialize(::Ifc4::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -9065,7 +9065,7 @@ double Ifc4::IfcEllipse::SemiAxis2() const { double v = get_attribute_value(2); void Ifc4::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4_types[355]); } +const ifcopenshell::entity& Ifc4::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4_types[355]); } void Ifc4::IfcEllipse::initialize(::Ifc4::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -9075,82 +9075,82 @@ double Ifc4::IfcEllipseProfileDef::SemiAxis2() const { double v = get_attribute void Ifc4::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[356]); } -void Ifc4::IfcEllipseProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[356]); } +void Ifc4::IfcEllipseProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4_types[357]); } +const ifcopenshell::entity& Ifc4::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[357]); } void Ifc4::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[358]); } +const ifcopenshell::entity& Ifc4::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[358]); } void Ifc4::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4::IfcEngineTypeEnum::Value > Ifc4::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcEngine::setPredefinedType(const std::optional< ::Ifc4::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcEngine::setPredefinedType(const std::optional< ::Ifc4::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcEngine::Class() { return *((IfcParse::entity*)IFC4_types[360]); } -void Ifc4::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4_types[360]); } +void Ifc4::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4::IfcEngineTypeEnum::Value Ifc4::IfcEngineType::PredefinedType() const { return ::Ifc4::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcEngineType::setPredefinedType(const ::Ifc4::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcEngineType::setPredefinedType(const ::Ifc4::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4_types[361]); } -void Ifc4::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4_types[361]); } +void Ifc4::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value > Ifc4::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4_types[363]); } -void Ifc4::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4_types[363]); } +void Ifc4::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value Ifc4::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4_types[364]); } -void Ifc4::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4_types[364]); } +void Ifc4::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4::IfcEvaporatorTypeEnum::Value > Ifc4::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4_types[366]); } -void Ifc4::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4_types[366]); } +void Ifc4::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4::IfcEvaporatorTypeEnum::Value Ifc4::IfcEvaporatorType::PredefinedType() const { return ::Ifc4::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcEvaporatorType::setPredefinedType(const ::Ifc4::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcEvaporatorType::setPredefinedType(const ::Ifc4::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4_types[367]); } -void Ifc4::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4_types[367]); } +void Ifc4::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4::IfcEventTypeEnum::Value > Ifc4::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcEvent::setPredefinedType(const std::optional< ::Ifc4::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4::IfcEvent::setPredefinedType(const std::optional< ::Ifc4::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4::IfcEventTriggerTypeEnum::Value > Ifc4::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4::IfcEventTime Ifc4::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4::IfcEventTime>(); } void Ifc4::IfcEvent::setEventOccurenceTime(const ::Ifc4::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4::IfcEvent::Class() { return *((IfcParse::entity*)IFC4_types[369]); } -void Ifc4::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4_types[369]); } +void Ifc4::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -9163,20 +9163,20 @@ std::optional< std::string > Ifc4::IfcEventTime::ScheduleDate() const { if(get_a void Ifc4::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4_types[370]); } -void Ifc4::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4_types[370]); } +void Ifc4::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcEventType ::Ifc4::IfcEventTypeEnum::Value Ifc4::IfcEventType::PredefinedType() const { return ::Ifc4::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcEventType::setPredefinedType(const ::Ifc4::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcEventType::setPredefinedType(const ::Ifc4::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4::IfcEventTriggerTypeEnum::Value Ifc4::IfcEventType::EventTriggerType() const { return ::Ifc4::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcEventType::setEventTriggerType(const ::Ifc4::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4::IfcEventType::setEventTriggerType(const ::Ifc4::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4::IfcEventType::Class() { return *((IfcParse::entity*)IFC4_types[372]); } -void Ifc4::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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(&::Ifc4::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4_types[372]); } +void Ifc4::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -9187,13 +9187,13 @@ std::vector< ::Ifc4::IfcProperty > Ifc4::IfcExtendedProperties::Properties() con void Ifc4::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4_types[374]); } +const ifcopenshell::entity& Ifc4::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[374]); } void Ifc4::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4_types[375]); } +const ifcopenshell::entity& Ifc4::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4_types[375]); } void Ifc4::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -9204,9 +9204,9 @@ void Ifc4::IfcExternalReference::setIdentification(const std::optional< std::str std::optional< std::string > Ifc4::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 2)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 2)); } -const IfcParse::entity& Ifc4::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4_types[379]); } +const ifcopenshell::entity& Ifc4::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4_types[379]); } void Ifc4::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -9216,40 +9216,40 @@ std::vector< ::Ifc4::IfcResourceObjectSelect > Ifc4::IfcExternalReferenceRelatio void Ifc4::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4_types[380]); } +const ifcopenshell::entity& Ifc4::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[380]); } void Ifc4::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4::IfcExternalSpatialElementTypeEnum::Value > Ifc4::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4::IfcRelSpaceBoundary> Ifc4::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[841], 4)); } +std::vector<::Ifc4::IfcRelSpaceBoundary> Ifc4::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[841], 4)); } -const IfcParse::entity& Ifc4::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4_types[381]); } -void Ifc4::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4_types[381]); } +void Ifc4::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4_types[383]); } +const ifcopenshell::entity& Ifc4::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4_types[383]); } void Ifc4::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4_types[376]); } +const ifcopenshell::entity& Ifc4::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[376]); } void Ifc4::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4_types[377]); } +const ifcopenshell::entity& Ifc4::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[377]); } void Ifc4::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4_types[378]); } +const ifcopenshell::entity& Ifc4::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4_types[378]); } void Ifc4::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -9259,7 +9259,7 @@ double Ifc4::IfcExtrudedAreaSolid::Depth() const { double v = get_attribute_val void Ifc4::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4_types[384]); } +const ifcopenshell::entity& Ifc4::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4_types[384]); } void Ifc4::IfcExtrudedAreaSolid::initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -9267,16 +9267,16 @@ void Ifc4::IfcExtrudedAreaSolid::initialize(::Ifc4::IfcProfileDef v1_SweptArea, void Ifc4::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4_types[385]); } +const ifcopenshell::entity& Ifc4::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4_types[385]); } void Ifc4::IfcExtrudedAreaSolidTapered::initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4::IfcFaceBound > Ifc4::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcFaceBound>(es); } void Ifc4::IfcFace::setBounds(const std::vector< ::Ifc4::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4::IfcTextureMap> Ifc4::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[1068], 2)); } +std::vector<::Ifc4::IfcTextureMap> Ifc4::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[1068], 2)); } -const IfcParse::entity& Ifc4::IfcFace::Class() { return *((IfcParse::entity*)IFC4_types[386]); } +const ifcopenshell::entity& Ifc4::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4_types[386]); } void Ifc4::IfcFace::initialize(std::vector< ::Ifc4::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -9284,7 +9284,7 @@ std::vector< ::Ifc4::IfcConnectedFaceSet > Ifc4::IfcFaceBasedSurfaceModel::FbsmF void Ifc4::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4_types[387]); } +const ifcopenshell::entity& Ifc4::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4_types[387]); } void Ifc4::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -9294,13 +9294,13 @@ bool Ifc4::IfcFaceBound::Orientation() const { bool v = get_attribute_value(1); void Ifc4::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4_types[388]); } +const ifcopenshell::entity& Ifc4::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4_types[388]); } void Ifc4::IfcFaceBound::initialize(::Ifc4::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4_types[389]); } +const ifcopenshell::entity& Ifc4::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4_types[389]); } void Ifc4::IfcFaceOuterBound::initialize(::Ifc4::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -9310,13 +9310,13 @@ bool Ifc4::IfcFaceSurface::SameSense() const { bool v = get_attribute_value(2); void Ifc4::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4_types[390]); } +const ifcopenshell::entity& Ifc4::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[390]); } void Ifc4::IfcFaceSurface::initialize(std::vector< ::Ifc4::IfcFaceBound > v1_Bounds, ::Ifc4::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4_types[391]); } +const ifcopenshell::entity& Ifc4::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4_types[391]); } void Ifc4::IfcFacetedBrep::initialize(::Ifc4::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -9324,7 +9324,7 @@ std::vector< ::Ifc4::IfcClosedShell > Ifc4::IfcFacetedBrepWithVoids::Voids() con void Ifc4::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4_types[392]); } +const ifcopenshell::entity& Ifc4::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4_types[392]); } void Ifc4::IfcFacetedBrepWithVoids::initialize(::Ifc4::IfcClosedShell v1_Outer, std::vector< ::Ifc4::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFailureConnectionCondition @@ -9342,59 +9342,59 @@ std::optional< double > Ifc4::IfcFailureConnectionCondition::CompressionFailureZ void Ifc4::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4_types[393]); } +const ifcopenshell::entity& Ifc4::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4_types[393]); } void Ifc4::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4::IfcFanTypeEnum::Value > Ifc4::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcFan::setPredefinedType(const std::optional< ::Ifc4::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcFan::setPredefinedType(const std::optional< ::Ifc4::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcFan::Class() { return *((IfcParse::entity*)IFC4_types[394]); } -void Ifc4::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4_types[394]); } +void Ifc4::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4::IfcFanTypeEnum::Value Ifc4::IfcFanType::PredefinedType() const { return ::Ifc4::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcFanType::setPredefinedType(const ::Ifc4::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcFanType::setPredefinedType(const ::Ifc4::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcFanType::Class() { return *((IfcParse::entity*)IFC4_types[395]); } -void Ifc4::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4_types[395]); } +void Ifc4::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4::IfcFastenerTypeEnum::Value > Ifc4::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcFastener::setPredefinedType(const std::optional< ::Ifc4::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcFastener::setPredefinedType(const std::optional< ::Ifc4::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcFastener::Class() { return *((IfcParse::entity*)IFC4_types[397]); } -void Ifc4::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4_types[397]); } +void Ifc4::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4::IfcFastenerTypeEnum::Value Ifc4::IfcFastenerType::PredefinedType() const { return ::Ifc4::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcFastenerType::setPredefinedType(const ::Ifc4::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcFastenerType::setPredefinedType(const ::Ifc4::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4_types[398]); } -void Ifc4::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4_types[398]); } +void Ifc4::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4_types[400]); } +const ifcopenshell::entity& Ifc4::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4_types[400]); } void Ifc4::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4::IfcRelProjectsElement> Ifc4::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[837], 5)); } +std::vector<::Ifc4::IfcRelProjectsElement> Ifc4::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[837], 5)); } -const IfcParse::entity& Ifc4::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4_types[401]); } +const ifcopenshell::entity& Ifc4::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4_types[401]); } void Ifc4::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4::IfcRelVoidsElement> Ifc4::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[844], 5)); } +std::vector<::Ifc4::IfcRelVoidsElement> Ifc4::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[844], 5)); } -const IfcParse::entity& Ifc4::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4_types[402]); } +const ifcopenshell::entity& Ifc4::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4_types[402]); } void Ifc4::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -9404,7 +9404,7 @@ std::optional< bool > Ifc4::IfcFillAreaStyle::ModelorDraughting() const { if(get void Ifc4::IfcFillAreaStyle::setModelorDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4_types[403]); } +const ifcopenshell::entity& Ifc4::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[403]); } void Ifc4::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelorDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelorDraughting) {set_attribute_value(2, (*v3_ModelorDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -9420,7 +9420,7 @@ double Ifc4::IfcFillAreaStyleHatching::HatchLineAngle() const { double v = get_ void Ifc4::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4_types[404]); } +const ifcopenshell::entity& Ifc4::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4_types[404]); } void Ifc4::IfcFillAreaStyleHatching::initialize(::Ifc4::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -9432,40 +9432,40 @@ double Ifc4::IfcFillAreaStyleTiles::TilingScale() const { double v = get_attrib void Ifc4::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4_types[405]); } +const ifcopenshell::entity& Ifc4::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4_types[405]); } void Ifc4::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4::IfcVector > v1_TilingPattern, std::vector< ::Ifc4::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4::IfcFilterTypeEnum::Value > Ifc4::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcFilter::setPredefinedType(const std::optional< ::Ifc4::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcFilter::setPredefinedType(const std::optional< ::Ifc4::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcFilter::Class() { return *((IfcParse::entity*)IFC4_types[407]); } -void Ifc4::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4_types[407]); } +void Ifc4::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4::IfcFilterTypeEnum::Value Ifc4::IfcFilterType::PredefinedType() const { return ::Ifc4::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcFilterType::setPredefinedType(const ::Ifc4::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcFilterType::setPredefinedType(const ::Ifc4::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4_types[408]); } -void Ifc4::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4_types[408]); } +void Ifc4::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4_types[410]); } -void Ifc4::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4_types[410]); } +void Ifc4::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value Ifc4::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4_types[411]); } -void Ifc4::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4_types[411]); } +void Ifc4::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4::IfcCurve Ifc4::IfcFixedReferenceSweptAreaSolid::Directrix() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcCurve>(); } @@ -9478,191 +9478,191 @@ void Ifc4::IfcFixedReferenceSweptAreaSolid::setEndParam(const std::optional< dou void Ifc4::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4_types[413]); } +const ifcopenshell::entity& Ifc4::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4_types[413]); } void Ifc4::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix)); if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4_types[414]); } +const ifcopenshell::entity& Ifc4::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4_types[414]); } void Ifc4::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4_types[415]); } +const ifcopenshell::entity& Ifc4::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4_types[415]); } void Ifc4::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4_types[417]); } +const ifcopenshell::entity& Ifc4::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4_types[417]); } void Ifc4::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4_types[418]); } +const ifcopenshell::entity& Ifc4::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4_types[418]); } void Ifc4::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4::IfcFlowInstrumentTypeEnum::Value > Ifc4::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4_types[419]); } -void Ifc4::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4_types[419]); } +void Ifc4::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4::IfcFlowInstrumentTypeEnum::Value Ifc4::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4_types[420]); } -void Ifc4::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4_types[420]); } +void Ifc4::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4::IfcFlowMeterTypeEnum::Value > Ifc4::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4_types[422]); } -void Ifc4::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4_types[422]); } +void Ifc4::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4::IfcFlowMeterTypeEnum::Value Ifc4::IfcFlowMeterType::PredefinedType() const { return ::Ifc4::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcFlowMeterType::setPredefinedType(const ::Ifc4::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcFlowMeterType::setPredefinedType(const ::Ifc4::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4_types[423]); } -void Ifc4::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4_types[423]); } +void Ifc4::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4_types[425]); } +const ifcopenshell::entity& Ifc4::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[425]); } void Ifc4::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[426]); } +const ifcopenshell::entity& Ifc4::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[426]); } void Ifc4::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4_types[427]); } +const ifcopenshell::entity& Ifc4::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4_types[427]); } void Ifc4::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4_types[428]); } +const ifcopenshell::entity& Ifc4::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4_types[428]); } void Ifc4::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4_types[429]); } +const ifcopenshell::entity& Ifc4::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[429]); } void Ifc4::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[430]); } +const ifcopenshell::entity& Ifc4::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[430]); } void Ifc4::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4_types[431]); } +const ifcopenshell::entity& Ifc4::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4_types[431]); } void Ifc4::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4_types[432]); } +const ifcopenshell::entity& Ifc4::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4_types[432]); } void Ifc4::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4_types[433]); } +const ifcopenshell::entity& Ifc4::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[433]); } void Ifc4::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[434]); } +const ifcopenshell::entity& Ifc4::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[434]); } void Ifc4::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4::IfcFootingTypeEnum::Value > Ifc4::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcFooting::setPredefinedType(const std::optional< ::Ifc4::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcFooting::setPredefinedType(const std::optional< ::Ifc4::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcFooting::Class() { return *((IfcParse::entity*)IFC4_types[438]); } -void Ifc4::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4_types[438]); } +void Ifc4::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4::IfcFootingTypeEnum::Value Ifc4::IfcFootingType::PredefinedType() const { return ::Ifc4::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcFootingType::setPredefinedType(const ::Ifc4::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcFootingType::setPredefinedType(const ::Ifc4::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4_types[439]); } -void Ifc4::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4_types[439]); } +void Ifc4::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4_types[443]); } +const ifcopenshell::entity& Ifc4::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4_types[443]); } void Ifc4::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4_types[444]); } +const ifcopenshell::entity& Ifc4::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[444]); } void Ifc4::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > Ifc4::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4_types[445]); } -void Ifc4::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4_types[445]); } +void Ifc4::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4::IfcAssemblyPlaceEnum::Value Ifc4::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcFurnitureType::setAssemblyPlace(const ::Ifc4::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcFurnitureType::setAssemblyPlace(const ::Ifc4::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > Ifc4::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4_types[446]); } -void Ifc4::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4_types[446]); } +void Ifc4::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicElement std::optional< ::Ifc4::IfcGeographicElementTypeEnum::Value > Ifc4::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4_types[448]); } -void Ifc4::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4_types[448]); } +void Ifc4::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4::IfcGeographicElementTypeEnum::Value Ifc4::IfcGeographicElementType::PredefinedType() const { return ::Ifc4::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcGeographicElementType::setPredefinedType(const ::Ifc4::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcGeographicElementType::setPredefinedType(const ::Ifc4::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4_types[449]); } -void Ifc4::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[449]); } +void Ifc4::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4_types[451]); } +const ifcopenshell::entity& Ifc4::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4_types[451]); } void Ifc4::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -9675,16 +9675,16 @@ void Ifc4::IfcGeometricRepresentationContext::setWorldCoordinateSystem(const ::I ::Ifc4::IfcDirection Ifc4::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4::IfcDirection>(); } void Ifc4::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4::IfcGeometricRepresentationSubContext> Ifc4::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[455], 6)); } -std::vector<::Ifc4::IfcCoordinateOperation> Ifc4::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[213], 0)); } +std::vector<::Ifc4::IfcGeometricRepresentationSubContext> Ifc4::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[455], 6)); } +std::vector<::Ifc4::IfcCoordinateOperation> Ifc4::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[213], 0)); } -const IfcParse::entity& Ifc4::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4_types[453]); } +const ifcopenshell::entity& Ifc4::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4_types[453]); } void Ifc4::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4_types[454]); } +const ifcopenshell::entity& Ifc4::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4_types[454]); } void Ifc4::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -9693,20 +9693,20 @@ void Ifc4::IfcGeometricRepresentationSubContext::setParentContext(const ::Ifc4:: std::optional< double > Ifc4::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4::IfcGeometricProjectionEnum::Value Ifc4::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4_types[455]); } -void Ifc4::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4_types[455]); } +void Ifc4::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4::IfcGeometricSetSelect > Ifc4::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcGeometricSetSelect>(es); } void Ifc4::IfcGeometricSet::setElements(const std::vector< ::Ifc4::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4_types[456]); } +const ifcopenshell::entity& Ifc4::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4_types[456]); } void Ifc4::IfcGeometricSet::initialize(std::vector< ::Ifc4::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGrid @@ -9717,12 +9717,12 @@ void Ifc4::IfcGrid::setVAxes(const std::vector< ::Ifc4::IfcGridAxis >& v) { set_ std::optional< std::vector< ::Ifc4::IfcGridAxis > > Ifc4::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4::IfcGridAxis>(es); } void Ifc4::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4::IfcGridTypeEnum::Value > Ifc4::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcGrid::setPredefinedType(const std::optional< ::Ifc4::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcGrid::setPredefinedType(const std::optional< ::Ifc4::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -std::vector<::Ifc4::IfcRelContainedInSpatialStructure> Ifc4::IfcGrid::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[823], 4)); } +std::vector<::Ifc4::IfcRelContainedInSpatialStructure> Ifc4::IfcGrid::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[823], 4)); } -const IfcParse::entity& Ifc4::IfcGrid::Class() { return *((IfcParse::entity*)IFC4_types[460]); } -void Ifc4::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4_types[460]); } +void Ifc4::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -9732,12 +9732,12 @@ void Ifc4::IfcGridAxis::setAxisCurve(const ::Ifc4::IfcCurve& v) { set_attribute_ bool Ifc4::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4::IfcGrid> Ifc4::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[460], 9)); } -std::vector<::Ifc4::IfcGrid> Ifc4::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[460], 8)); } -std::vector<::Ifc4::IfcGrid> Ifc4::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[460], 7)); } -std::vector<::Ifc4::IfcVirtualGridIntersection> Ifc4::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[1135], 0)); } +std::vector<::Ifc4::IfcGrid> Ifc4::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[460], 9)); } +std::vector<::Ifc4::IfcGrid> Ifc4::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[460], 8)); } +std::vector<::Ifc4::IfcGrid> Ifc4::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[460], 7)); } +std::vector<::Ifc4::IfcVirtualGridIntersection> Ifc4::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[1135], 0)); } -const IfcParse::entity& Ifc4::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4_types[461]); } +const ifcopenshell::entity& Ifc4::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4_types[461]); } void Ifc4::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -9747,14 +9747,14 @@ void Ifc4::IfcGridPlacement::setPlacementLocation(const ::Ifc4::IfcVirtualGridIn void Ifc4::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4::IfcGridPlacementDirectionSelect& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4_types[462]); } +const ifcopenshell::entity& Ifc4::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4_types[462]); } void Ifc4::IfcGridPlacement::initialize(::Ifc4::IfcVirtualGridIntersection v1_PlacementLocation, ::Ifc4::IfcGridPlacementDirectionSelect v2_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementLocation));set_attribute_value(1, (v2_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4::IfcRelAssignsToGroup> Ifc4::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[801], 6)); } +std::vector<::Ifc4::IfcRelAssignsToGroup> Ifc4::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[801], 6)); } -const IfcParse::entity& Ifc4::IfcGroup::Class() { return *((IfcParse::entity*)IFC4_types[465]); } +const ifcopenshell::entity& Ifc4::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4_types[465]); } void Ifc4::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -9764,40 +9764,40 @@ bool Ifc4::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attribute_va void Ifc4::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4_types[466]); } +const ifcopenshell::entity& Ifc4::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4_types[466]); } void Ifc4::IfcHalfSpaceSolid::initialize(::Ifc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4::IfcHeatExchangerTypeEnum::Value > Ifc4::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4_types[468]); } -void Ifc4::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4_types[468]); } +void Ifc4::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4::IfcHeatExchangerTypeEnum::Value Ifc4::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcHeatExchangerType::setPredefinedType(const ::Ifc4::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcHeatExchangerType::setPredefinedType(const ::Ifc4::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4_types[469]); } -void Ifc4::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4_types[469]); } +void Ifc4::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4::IfcHumidifierTypeEnum::Value > Ifc4::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4_types[473]); } -void Ifc4::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4_types[473]); } +void Ifc4::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4::IfcHumidifierTypeEnum::Value Ifc4::IfcHumidifierType::PredefinedType() const { return ::Ifc4::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcHumidifierType::setPredefinedType(const ::Ifc4::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcHumidifierType::setPredefinedType(const ::Ifc4::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4_types[474]); } -void Ifc4::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4_types[474]); } +void Ifc4::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -9816,15 +9816,15 @@ std::optional< double > Ifc4::IfcIShapeProfileDef::FlangeSlope() const { if(get_ void Ifc4::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[498]); } -void Ifc4::IfcIShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[498]); } +void Ifc4::IfcIShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4_types[478]); } +const ifcopenshell::entity& Ifc4::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4_types[478]); } void Ifc4::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcIndexedColourMap @@ -9838,7 +9838,7 @@ std::vector< int > /*[1:?]*/ Ifc4::IfcIndexedColourMap::ColourIndex() const { s void Ifc4::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4_types[479]); } +const ifcopenshell::entity& Ifc4::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4_types[479]); } void Ifc4::IfcIndexedColourMap::initialize(::Ifc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -9850,16 +9850,16 @@ std::optional< bool > Ifc4::IfcIndexedPolyCurve::SelfIntersect() const { if(get_ void Ifc4::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4_types[480]); } +const ifcopenshell::entity& Ifc4::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[480]); } void Ifc4::IfcIndexedPolyCurve::initialize(::Ifc4::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4::IfcPolygonalFaceSet> Ifc4::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[680], 2)); } +std::vector<::Ifc4::IfcPolygonalFaceSet> Ifc4::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[680], 2)); } -const IfcParse::entity& Ifc4::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4_types[481]); } +const ifcopenshell::entity& Ifc4::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4_types[481]); } void Ifc4::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -9867,7 +9867,7 @@ std::vector< std::vector< int > > Ifc4::IfcIndexedPolygonalFaceWithVoids::InnerC void Ifc4::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4_types[482]); } +const ifcopenshell::entity& Ifc4::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4_types[482]); } void Ifc4::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -9877,7 +9877,7 @@ void Ifc4::IfcIndexedTextureMap::setMappedTo(const ::Ifc4::IfcTessellatedFaceSet void Ifc4::IfcIndexedTextureMap::setTexCoords(const ::Ifc4::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4_types[483]); } +const ifcopenshell::entity& Ifc4::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4_types[483]); } void Ifc4::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, ::Ifc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -9885,34 +9885,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4::IfcIndexedTriangleTextu void Ifc4::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4_types[484]); } +const ifcopenshell::entity& Ifc4::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4_types[484]); } void Ifc4::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, ::Ifc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4::IfcInterceptorTypeEnum::Value > Ifc4::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4_types[488]); } -void Ifc4::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4_types[488]); } +void Ifc4::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4::IfcInterceptorTypeEnum::Value Ifc4::IfcInterceptorType::PredefinedType() const { return ::Ifc4::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcInterceptorType::setPredefinedType(const ::Ifc4::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcInterceptorType::setPredefinedType(const ::Ifc4::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4_types[489]); } -void Ifc4::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4_types[489]); } +void Ifc4::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4_types[492]); } -void Ifc4::IfcIntersectionCurve::initialize(::Ifc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[492]); } +void Ifc4::IfcIntersectionCurve::initialize(::Ifc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4::IfcInventoryTypeEnum::Value > Ifc4::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcInventory::setPredefinedType(const std::optional< ::Ifc4::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4::IfcInventory::setPredefinedType(const std::optional< ::Ifc4::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4::IfcActorSelect Ifc4::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcActorSelect>(); } void Ifc4::IfcInventory::setJurisdiction(const ::Ifc4::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4::IfcPerson > > Ifc4::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4::IfcPerson>(es); } @@ -9925,16 +9925,16 @@ void Ifc4::IfcInventory::setCurrentValue(const ::Ifc4::IfcCostValue& v) { set_at void Ifc4::IfcInventory::setOriginalValue(const ::Ifc4::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4::IfcInventory::Class() { return *((IfcParse::entity*)IFC4_types[493]); } -void Ifc4::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4::IfcCostValue v10_CurrentValue, ::Ifc4::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4_types[493]); } +void Ifc4::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4::IfcCostValue v10_CurrentValue, ::Ifc4::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4::IfcIrregularTimeSeriesValue > Ifc4::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4::IfcIrregularTimeSeriesValue>(es); } void Ifc4::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4_types[496]); } -void Ifc4::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4::IfcUnit v8_Unit, std::vector< ::Ifc4::IfcIrregularTimeSeriesValue > v9_Values) { 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(&::Ifc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4_types[496]); } +void Ifc4::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4::IfcUnit v8_Unit, std::vector< ::Ifc4::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -9943,24 +9943,24 @@ std::vector< ::Ifc4::IfcValue > Ifc4::IfcIrregularTimeSeriesValue::ListValues() void Ifc4::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4_types[497]); } +const ifcopenshell::entity& Ifc4::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4_types[497]); } void Ifc4::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4::IfcJunctionBoxTypeEnum::Value > Ifc4::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4_types[500]); } -void Ifc4::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4_types[500]); } +void Ifc4::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4::IfcJunctionBoxTypeEnum::Value Ifc4::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcJunctionBoxType::setPredefinedType(const ::Ifc4::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcJunctionBoxType::setPredefinedType(const ::Ifc4::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4_types[501]); } -void Ifc4::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4_types[501]); } +void Ifc4::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLShapeProfileDef double Ifc4::IfcLShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -9977,50 +9977,50 @@ std::optional< double > Ifc4::IfcLShapeProfileDef::LegSlope() const { if(get_att void Ifc4::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[545]); } -void Ifc4::IfcLShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[545]); } +void Ifc4::IfcLShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4::IfcLaborResourceTypeEnum::Value > Ifc4::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4_types[506]); } -void Ifc4::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4_types[506]); } +void Ifc4::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4::IfcLaborResourceTypeEnum::Value Ifc4::IfcLaborResourceType::PredefinedType() const { return ::Ifc4::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcLaborResourceType::setPredefinedType(const ::Ifc4::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4::IfcLaborResourceType::setPredefinedType(const ::Ifc4::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4_types[507]); } -void Ifc4::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4_types[507]); } +void Ifc4::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4::IfcTimeOrRatioSelect Ifc4::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4::IfcTimeOrRatioSelect>(); } void Ifc4::IfcLagTime::setLagValue(const ::Ifc4::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4::IfcTaskDurationEnum::Value Ifc4::IfcLagTime::DurationType() const { return ::Ifc4::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4::IfcLagTime::setDurationType(const ::Ifc4::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4::IfcLagTime::setDurationType(const ::Ifc4::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4_types[509]); } -void Ifc4::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4_types[509]); } +void Ifc4::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4::IfcLampTypeEnum::Value > Ifc4::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcLamp::setPredefinedType(const std::optional< ::Ifc4::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcLamp::setPredefinedType(const std::optional< ::Ifc4::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcLamp::Class() { return *((IfcParse::entity*)IFC4_types[510]); } -void Ifc4::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4_types[510]); } +void Ifc4::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4::IfcLampTypeEnum::Value Ifc4::IfcLampType::PredefinedType() const { return ::Ifc4::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcLampType::setPredefinedType(const ::Ifc4::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcLampType::setPredefinedType(const ::Ifc4::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcLampType::Class() { return *((IfcParse::entity*)IFC4_types[511]); } -void Ifc4::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4_types[511]); } +void Ifc4::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -10036,10 +10036,10 @@ void Ifc4::IfcLibraryInformation::setLocation(const std::optional< std::string > std::optional< std::string > Ifc4::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4::IfcRelAssociatesLibrary> Ifc4::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[811], 5)); } -std::vector<::Ifc4::IfcLibraryReference> Ifc4::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[518], 5)); } +std::vector<::Ifc4::IfcRelAssociatesLibrary> Ifc4::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[811], 5)); } +std::vector<::Ifc4::IfcLibraryReference> Ifc4::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[518], 5)); } -const IfcParse::entity& Ifc4::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4_types[517]); } +const ifcopenshell::entity& Ifc4::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4_types[517]); } void Ifc4::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -10050,9 +10050,9 @@ void Ifc4::IfcLibraryReference::setLanguage(const std::optional< std::string >& ::Ifc4::IfcLibraryInformation Ifc4::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4::IfcLibraryInformation>(); } void Ifc4::IfcLibraryReference::setReferencedLibrary(const ::Ifc4::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4::IfcRelAssociatesLibrary> Ifc4::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[811], 5)); } +std::vector<::Ifc4::IfcRelAssociatesLibrary> Ifc4::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[811], 5)); } -const IfcParse::entity& Ifc4::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4_types[518]); } +const ifcopenshell::entity& Ifc4::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4_types[518]); } void Ifc4::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -10064,34 +10064,34 @@ std::vector< double > /*[1:?]*/ Ifc4::IfcLightDistributionData::LuminousIntensit void Ifc4::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4_types[521]); } +const ifcopenshell::entity& Ifc4::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4_types[521]); } void Ifc4::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4::IfcLightFixtureTypeEnum::Value > Ifc4::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4_types[524]); } -void Ifc4::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4_types[524]); } +void Ifc4::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4::IfcLightFixtureTypeEnum::Value Ifc4::IfcLightFixtureType::PredefinedType() const { return ::Ifc4::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcLightFixtureType::setPredefinedType(const ::Ifc4::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcLightFixtureType::setPredefinedType(const ::Ifc4::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4_types[525]); } -void Ifc4::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4_types[525]); } +void Ifc4::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4::IfcLightDistributionCurveEnum::Value Ifc4::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4::IfcLightDistributionData > Ifc4::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4::IfcLightDistributionData>(es); } void Ifc4::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4_types[527]); } -void Ifc4::IfcLightIntensityDistribution::initialize(::Ifc4::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4_types[527]); } +void Ifc4::IfcLightIntensityDistribution::initialize(::Ifc4::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10104,13 +10104,13 @@ std::optional< double > Ifc4::IfcLightSource::Intensity() const { if(get_attribu void Ifc4::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4_types[528]); } +const ifcopenshell::entity& Ifc4::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4_types[528]); } void Ifc4::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4_types[529]); } +const ifcopenshell::entity& Ifc4::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4_types[529]); } void Ifc4::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -10118,7 +10118,7 @@ void Ifc4::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Nam void Ifc4::IfcLightSourceDirectional::setOrientation(const ::Ifc4::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4_types[530]); } +const ifcopenshell::entity& Ifc4::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4_types[530]); } void Ifc4::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -10131,13 +10131,13 @@ void Ifc4::IfcLightSourceGoniometric::setColourTemperature(const double& v) { se double Ifc4::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4::IfcLightEmissionSourceEnum::Value Ifc4::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4::IfcLightDistributionDataSourceSelect Ifc4::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4::IfcLightDistributionDataSourceSelect>(); } void Ifc4::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4_types[531]); } -void Ifc4::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4::IfcAxis2Placement3D v5_Position, ::Ifc4::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4_types[531]); } +void Ifc4::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4::IfcAxis2Placement3D v5_Position, ::Ifc4::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4::IfcCartesianPoint Ifc4::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcCartesianPoint>(); } @@ -10152,7 +10152,7 @@ double Ifc4::IfcLightSourcePositional::QuadricAttenuation() const { double v = void Ifc4::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4_types[532]); } +const ifcopenshell::entity& Ifc4::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4_types[532]); } void Ifc4::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -10166,7 +10166,7 @@ double Ifc4::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_attrib void Ifc4::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4_types[533]); } +const ifcopenshell::entity& Ifc4::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4_types[533]); } void Ifc4::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -10176,7 +10176,7 @@ void Ifc4::IfcLine::setPnt(const ::Ifc4::IfcCartesianPoint& v) { set_attribute_v void Ifc4::IfcLine::setDir(const ::Ifc4::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcLine::Class() { return *((IfcParse::entity*)IFC4_types[534]); } +const ifcopenshell::entity& Ifc4::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4_types[534]); } void Ifc4::IfcLine::initialize(::Ifc4::IfcCartesianPoint v1_Pnt, ::Ifc4::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLocalPlacement @@ -10186,13 +10186,13 @@ void Ifc4::IfcLocalPlacement::setPlacementRelTo(const ::Ifc4::IfcObjectPlacement void Ifc4::IfcLocalPlacement::setRelativePlacement(const ::Ifc4::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4_types[541]); } +const ifcopenshell::entity& Ifc4::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4_types[541]); } void Ifc4::IfcLocalPlacement::initialize(::Ifc4::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4::IfcLoop::Class() { return *((IfcParse::entity*)IFC4_types[544]); } +const ifcopenshell::entity& Ifc4::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4_types[544]); } void Ifc4::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -10200,7 +10200,7 @@ void Ifc4::IfcLoop::initialize() { } void Ifc4::IfcManifoldSolidBrep::setOuter(const ::Ifc4::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4_types[551]); } +const ifcopenshell::entity& Ifc4::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4_types[551]); } void Ifc4::IfcManifoldSolidBrep::initialize(::Ifc4::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -10218,7 +10218,7 @@ std::optional< double > Ifc4::IfcMapConversion::Scale() const { if(get_attribute void Ifc4::IfcMapConversion::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4_types[552]); } +const ifcopenshell::entity& Ifc4::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4_types[552]); } void Ifc4::IfcMapConversion::initialize(::Ifc4::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } } // Function implementations for IfcMappedItem @@ -10228,7 +10228,7 @@ void Ifc4::IfcMappedItem::setMappingSource(const ::Ifc4::IfcRepresentationMap& v void Ifc4::IfcMappedItem::setMappingTarget(const ::Ifc4::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4_types[553]); } +const ifcopenshell::entity& Ifc4::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4_types[553]); } void Ifc4::IfcMappedItem::initialize(::Ifc4::IfcRepresentationMap v1_MappingSource, ::Ifc4::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMaterial @@ -10239,11 +10239,11 @@ void Ifc4::IfcMaterial::setDescription(const std::optional< std::string >& v) { std::optional< std::string > Ifc4::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4::IfcMaterialDefinitionRepresentation> Ifc4::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[563], 3)); } -std::vector<::Ifc4::IfcMaterialRelationship> Ifc4::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[575], 3)); } -std::vector<::Ifc4::IfcMaterialRelationship> Ifc4::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[575], 2)); } +std::vector<::Ifc4::IfcMaterialDefinitionRepresentation> Ifc4::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[563], 3)); } +std::vector<::Ifc4::IfcMaterialRelationship> Ifc4::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[575], 3)); } +std::vector<::Ifc4::IfcMaterialRelationship> Ifc4::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[575], 2)); } -const IfcParse::entity& Ifc4::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4_types[558]); } +const ifcopenshell::entity& Ifc4::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4_types[558]); } void Ifc4::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -10253,7 +10253,7 @@ void Ifc4::IfcMaterialClassificationRelationship::setMaterialClassifications(con void Ifc4::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4_types[559]); } +const ifcopenshell::entity& Ifc4::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[559]); } void Ifc4::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -10268,9 +10268,9 @@ void Ifc4::IfcMaterialConstituent::setFraction(const std::optional< double >& v) std::optional< std::string > Ifc4::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4::IfcMaterialConstituentSet> Ifc4::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[561], 2)); } +std::vector<::Ifc4::IfcMaterialConstituentSet> Ifc4::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[561], 2)); } -const IfcParse::entity& Ifc4::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4_types[560]); } +const ifcopenshell::entity& Ifc4::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4_types[560]); } void Ifc4::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -10282,16 +10282,16 @@ std::optional< std::vector< ::Ifc4::IfcMaterialConstituent > > Ifc4::IfcMaterial void Ifc4::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4_types[561]); } +const ifcopenshell::entity& Ifc4::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4_types[561]); } void Ifc4::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4::IfcRelAssociatesMaterial> Ifc4::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[812], 5)); } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } -std::vector<::Ifc4::IfcMaterialProperties> Ifc4::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[574], 3)); } +std::vector<::Ifc4::IfcRelAssociatesMaterial> Ifc4::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[812], 5)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcMaterialProperties> Ifc4::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[574], 3)); } -const IfcParse::entity& Ifc4::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4_types[562]); } +const ifcopenshell::entity& Ifc4::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4_types[562]); } void Ifc4::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -10299,7 +10299,7 @@ void Ifc4::IfcMaterialDefinition::initialize() { } void Ifc4::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4_types[563]); } +const ifcopenshell::entity& Ifc4::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4_types[563]); } void Ifc4::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcRepresentation > v3_Representations, ::Ifc4::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -10318,9 +10318,9 @@ void Ifc4::IfcMaterialLayer::setCategory(const std::optional< std::string >& v) std::optional< int > Ifc4::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4::IfcMaterialLayerSet> Ifc4::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[565], 0)); } +std::vector<::Ifc4::IfcMaterialLayerSet> Ifc4::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[565], 0)); } -const IfcParse::entity& Ifc4::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4_types[564]); } +const ifcopenshell::entity& Ifc4::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4_types[564]); } void Ifc4::IfcMaterialLayer::initialize(::Ifc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -10332,41 +10332,41 @@ std::optional< std::string > Ifc4::IfcMaterialLayerSet::Description() const { if void Ifc4::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4_types[565]); } +const ifcopenshell::entity& Ifc4::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4_types[565]); } void Ifc4::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4::IfcMaterialLayerSet Ifc4::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcMaterialLayerSet>(); } void Ifc4::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4::IfcLayerSetDirectionEnum::Value Ifc4::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4::IfcDirectionSenseEnum::Value Ifc4::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4_types[566]); } -void Ifc4::IfcMaterialLayerSetUsage::initialize(::Ifc4::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4_types[566]); } +void Ifc4::IfcMaterialLayerSetUsage::initialize(::Ifc4::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4::IfcLayerSetDirectionEnum::Value Ifc4::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4_types[567]); } -void Ifc4::IfcMaterialLayerWithOffsets::initialize(::Ifc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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(&::Ifc4::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4_types[567]); } +void Ifc4::IfcMaterialLayerWithOffsets::initialize(::Ifc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4::IfcMaterial > Ifc4::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcMaterial>(es); } void Ifc4::IfcMaterialList::setMaterials(const std::vector< ::Ifc4::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4_types[568]); } +const ifcopenshell::entity& Ifc4::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4_types[568]); } void Ifc4::IfcMaterialList::initialize(std::vector< ::Ifc4::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -10383,9 +10383,9 @@ void Ifc4::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if ( std::optional< std::string > Ifc4::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4::IfcMaterialProfileSet> Ifc4::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[570], 2)); } +std::vector<::Ifc4::IfcMaterialProfileSet> Ifc4::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[570], 2)); } -const IfcParse::entity& Ifc4::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4_types[569]); } +const ifcopenshell::entity& Ifc4::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4_types[569]); } void Ifc4::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_Material, ::Ifc4::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -10399,7 +10399,7 @@ void Ifc4::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< ::Ifc4: void Ifc4::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4_types[570]); } +const ifcopenshell::entity& Ifc4::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4_types[570]); } void Ifc4::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -10411,7 +10411,7 @@ std::optional< double > Ifc4::IfcMaterialProfileSetUsage::ReferenceExtent() cons void Ifc4::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4_types[571]); } +const ifcopenshell::entity& Ifc4::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4_types[571]); } void Ifc4::IfcMaterialProfileSetUsage::initialize(::Ifc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -10421,7 +10421,7 @@ std::optional< int > Ifc4::IfcMaterialProfileSetUsageTapering::CardinalEndPoint( void Ifc4::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4_types[572]); } +const ifcopenshell::entity& Ifc4::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4_types[572]); } void Ifc4::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -10429,7 +10429,7 @@ std::vector< double > /*[1:2]*/ Ifc4::IfcMaterialProfileWithOffsets::OffsetValue void Ifc4::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4_types[573]); } +const ifcopenshell::entity& Ifc4::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4_types[573]); } void Ifc4::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_Material, ::Ifc4::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -10437,7 +10437,7 @@ void Ifc4::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string void Ifc4::IfcMaterialProperties::setMaterial(const ::Ifc4::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4_types[574]); } +const ifcopenshell::entity& Ifc4::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[574]); } void Ifc4::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcProperty > v3_Properties, ::Ifc4::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -10449,14 +10449,14 @@ std::optional< std::string > Ifc4::IfcMaterialRelationship::Expression() const { void Ifc4::IfcMaterialRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4_types[575]); } +const ifcopenshell::entity& Ifc4::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[575]); } void Ifc4::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4::IfcRelAssociatesMaterial> Ifc4::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[812], 5)); } +std::vector<::Ifc4::IfcRelAssociatesMaterial> Ifc4::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[812], 5)); } -const IfcParse::entity& Ifc4::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4_types[577]); } +const ifcopenshell::entity& Ifc4::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4_types[577]); } void Ifc4::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -10466,7 +10466,7 @@ void Ifc4::IfcMeasureWithUnit::setValueComponent(const ::Ifc4::IfcValue& v) { se void Ifc4::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4_types[579]); } +const ifcopenshell::entity& Ifc4::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4_types[579]); } void Ifc4::IfcMeasureWithUnit::initialize(::Ifc4::IfcValue v1_ValueComponent, ::Ifc4::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -10475,65 +10475,65 @@ void Ifc4::IfcMechanicalFastener::setNominalDiameter(const std::optional< double std::optional< double > Ifc4::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4::IfcMechanicalFastenerTypeEnum::Value > Ifc4::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4_types[580]); } -void Ifc4::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4_types[580]); } +void Ifc4::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4::IfcMechanicalFastenerTypeEnum::Value Ifc4::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4_types[581]); } -void Ifc4::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4_types[581]); } +void Ifc4::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4::IfcMedicalDeviceTypeEnum::Value > Ifc4::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4_types[583]); } -void Ifc4::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[583]); } +void Ifc4::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4::IfcMedicalDeviceTypeEnum::Value Ifc4::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[584]); } -void Ifc4::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[584]); } +void Ifc4::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4::IfcMemberTypeEnum::Value > Ifc4::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcMember::setPredefinedType(const std::optional< ::Ifc4::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcMember::setPredefinedType(const std::optional< ::Ifc4::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcMember::Class() { return *((IfcParse::entity*)IFC4_types[586]); } -void Ifc4::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4_types[586]); } +void Ifc4::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberStandardCase -const IfcParse::entity& Ifc4::IfcMemberStandardCase::Class() { return *((IfcParse::entity*)IFC4_types[587]); } -void Ifc4::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcMemberStandardCase::Class() { return *((ifcopenshell::entity*)IFC4_types[587]); } +void Ifc4::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4::IfcMemberTypeEnum::Value Ifc4::IfcMemberType::PredefinedType() const { return ::Ifc4::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcMemberType::setPredefinedType(const ::Ifc4::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcMemberType::setPredefinedType(const ::Ifc4::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4_types[588]); } -void Ifc4::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4_types[588]); } +void Ifc4::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4::IfcBenchmarkEnum::Value Ifc4::IfcMetric::Benchmark() const { return ::Ifc4::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcMetric::setBenchmark(const ::Ifc4::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4::IfcMetric::setBenchmark(const ::Ifc4::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4::IfcMetricValueSelect Ifc4::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4::IfcMetricValueSelect>(); } @@ -10542,103 +10542,103 @@ void Ifc4::IfcMetric::setDataValue(const ::Ifc4::IfcMetricValueSelect& v) { set_ void Ifc4::IfcMetric::setReferencePath(const ::Ifc4::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4::IfcMetric::Class() { return *((IfcParse::entity*)IFC4_types[590]); } -void Ifc4::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4::IfcMetricValueSelect v10_DataValue, ::Ifc4::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4_types[590]); } +void Ifc4::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4::IfcMetricValueSelect v10_DataValue, ::Ifc4::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[592]); } -void Ifc4::IfcMirroredProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[592]); } +void Ifc4::IfcMirroredProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMonetaryUnit std::string Ifc4::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4_types[604]); } +const ifcopenshell::entity& Ifc4::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4_types[604]); } void Ifc4::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4::IfcMotorConnectionTypeEnum::Value > Ifc4::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4_types[606]); } -void Ifc4::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4_types[606]); } +void Ifc4::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4::IfcMotorConnectionTypeEnum::Value Ifc4::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcMotorConnectionType::setPredefinedType(const ::Ifc4::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcMotorConnectionType::setPredefinedType(const ::Ifc4::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4_types[607]); } -void Ifc4::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4_types[607]); } +void Ifc4::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4::IfcDimensionalExponents Ifc4::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcDimensionalExponents>(); } void Ifc4::IfcNamedUnit::setDimensions(const ::Ifc4::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4::IfcUnitEnum::Value Ifc4::IfcNamedUnit::UnitType() const { return ::Ifc4::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4::IfcNamedUnit::setUnitType(const ::Ifc4::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4::IfcNamedUnit::setUnitType(const ::Ifc4::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4_types[609]); } -void Ifc4::IfcNamedUnit::initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4_types[609]); } +void Ifc4::IfcNamedUnit::initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4::IfcRelDefinesByObject> Ifc4::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[829], 4)); } -std::vector<::Ifc4::IfcRelDefinesByObject> Ifc4::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[829], 5)); } -std::vector<::Ifc4::IfcRelDefinesByType> Ifc4::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[832], 4)); } -std::vector<::Ifc4::IfcRelDefinesByProperties> Ifc4::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[830], 4)); } +std::vector<::Ifc4::IfcRelDefinesByObject> Ifc4::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[829], 4)); } +std::vector<::Ifc4::IfcRelDefinesByObject> Ifc4::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[829], 5)); } +std::vector<::Ifc4::IfcRelDefinesByType> Ifc4::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[832], 4)); } +std::vector<::Ifc4::IfcRelDefinesByProperties> Ifc4::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[830], 4)); } -const IfcParse::entity& Ifc4::IfcObject::Class() { return *((IfcParse::entity*)IFC4_types[614]); } +const ifcopenshell::entity& Ifc4::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4_types[614]); } void Ifc4::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4::IfcRelAssigns> Ifc4::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[798], 4)); } -std::vector<::Ifc4::IfcRelNests> Ifc4::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[836], 5)); } -std::vector<::Ifc4::IfcRelNests> Ifc4::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[836], 4)); } -std::vector<::Ifc4::IfcRelDeclares> Ifc4::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[826], 5)); } -std::vector<::Ifc4::IfcRelAggregates> Ifc4::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[797], 4)); } -std::vector<::Ifc4::IfcRelAggregates> Ifc4::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[797], 5)); } -std::vector<::Ifc4::IfcRelAssociates> Ifc4::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[806], 4)); } +std::vector<::Ifc4::IfcRelAssigns> Ifc4::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[798], 4)); } +std::vector<::Ifc4::IfcRelNests> Ifc4::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[836], 5)); } +std::vector<::Ifc4::IfcRelNests> Ifc4::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[836], 4)); } +std::vector<::Ifc4::IfcRelDeclares> Ifc4::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[826], 5)); } +std::vector<::Ifc4::IfcRelAggregates> Ifc4::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[797], 4)); } +std::vector<::Ifc4::IfcRelAggregates> Ifc4::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[797], 5)); } +std::vector<::Ifc4::IfcRelAssociates> Ifc4::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[806], 4)); } -const IfcParse::entity& Ifc4::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4_types[615]); } +const ifcopenshell::entity& Ifc4::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4_types[615]); } void Ifc4::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement -std::vector<::Ifc4::IfcProduct> Ifc4::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[710], 5)); } -std::vector<::Ifc4::IfcLocalPlacement> Ifc4::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[541], 0)); } +std::vector<::Ifc4::IfcProduct> Ifc4::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[710], 5)); } +std::vector<::Ifc4::IfcLocalPlacement> Ifc4::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[541], 0)); } -const IfcParse::entity& Ifc4::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4_types[618]); } +const ifcopenshell::entity& Ifc4::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4_types[618]); } void Ifc4::IfcObjectPlacement::initialize() { } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4::IfcConstraint > > Ifc4::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4::IfcConstraint>(es); } void Ifc4::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4::IfcLogicalOperatorEnum::Value > Ifc4::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4::IfcObjectiveEnum::Value Ifc4::IfcObjective::ObjectiveQualifier() const { return ::Ifc4::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcObjective::setObjectiveQualifier(const ::Ifc4::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcObjective::setObjectiveQualifier(const ::Ifc4::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcObjective::Class() { return *((IfcParse::entity*)IFC4_types[616]); } -void Ifc4::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4_types[616]); } +void Ifc4::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4::IfcOccupantTypeEnum::Value > Ifc4::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4_types[621]); } -void Ifc4::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcActorSelect v6_TheActor, std::optional< ::Ifc4::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4_types[621]); } +void Ifc4::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcActorSelect v6_TheActor, std::optional< ::Ifc4::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve2D ::Ifc4::IfcCurve Ifc4::IfcOffsetCurve2D::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcCurve>(); } @@ -10649,7 +10649,7 @@ boost::logic::tribool Ifc4::IfcOffsetCurve2D::SelfIntersect() const { boost::lo void Ifc4::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4_types[623]); } +const ifcopenshell::entity& Ifc4::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4_types[623]); } void Ifc4::IfcOffsetCurve2D::initialize(::Ifc4::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -10663,29 +10663,29 @@ void Ifc4::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& v) { void Ifc4::IfcOffsetCurve3D::setRefDirection(const ::Ifc4::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4_types[624]); } +const ifcopenshell::entity& Ifc4::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4_types[624]); } void Ifc4::IfcOffsetCurve3D::initialize(::Ifc4::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4_types[628]); } +const ifcopenshell::entity& Ifc4::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4_types[628]); } void Ifc4::IfcOpenShell::initialize(std::vector< ::Ifc4::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value > Ifc4::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4::IfcRelFillsElement> Ifc4::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[833], 4)); } +std::vector<::Ifc4::IfcRelFillsElement> Ifc4::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[833], 4)); } -const IfcParse::entity& Ifc4::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4_types[625]); } -void Ifc4::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4_types[625]); } +void Ifc4::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOpeningStandardCase -const IfcParse::entity& Ifc4::IfcOpeningStandardCase::Class() { return *((IfcParse::entity*)IFC4_types[627]); } -void Ifc4::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcOpeningStandardCase::Class() { return *((ifcopenshell::entity*)IFC4_types[627]); } +void Ifc4::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10699,11 +10699,11 @@ void Ifc4::IfcOrganization::setRoles(const std::optional< std::vector< ::Ifc4::I std::optional< std::vector< ::Ifc4::IfcAddress > > Ifc4::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4::IfcAddress>(es); } void Ifc4::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4::IfcOrganizationRelationship> Ifc4::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[630], 3)); } -std::vector<::Ifc4::IfcOrganizationRelationship> Ifc4::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[630], 2)); } -std::vector<::Ifc4::IfcPersonAndOrganization> Ifc4::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[648], 1)); } +std::vector<::Ifc4::IfcOrganizationRelationship> Ifc4::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[630], 3)); } +std::vector<::Ifc4::IfcOrganizationRelationship> Ifc4::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[630], 2)); } +std::vector<::Ifc4::IfcPersonAndOrganization> Ifc4::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[648], 1)); } -const IfcParse::entity& Ifc4::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4_types[629]); } +const ifcopenshell::entity& Ifc4::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4_types[629]); } void Ifc4::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -10713,7 +10713,7 @@ std::vector< ::Ifc4::IfcOrganization > Ifc4::IfcOrganizationRelationship::Relate void Ifc4::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4_types[630]); } +const ifcopenshell::entity& Ifc4::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[630]); } void Ifc4::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientedEdge @@ -10723,30 +10723,30 @@ bool Ifc4::IfcOrientedEdge::Orientation() const { bool v = get_attribute_value( void Ifc4::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4_types[631]); } +const ifcopenshell::entity& Ifc4::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4_types[631]); } void Ifc4::IfcOrientedEdge::initialize(::Ifc4::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4_types[632]); } +const ifcopenshell::entity& Ifc4::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[632]); } void Ifc4::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4::IfcOutletTypeEnum::Value > Ifc4::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4_types[633]); } -void Ifc4::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4_types[633]); } +void Ifc4::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4::IfcOutletTypeEnum::Value Ifc4::IfcOutletType::PredefinedType() const { return ::Ifc4::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcOutletType::setPredefinedType(const ::Ifc4::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcOutletType::setPredefinedType(const ::Ifc4::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4_types[634]); } -void Ifc4::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4_types[634]); } +void Ifc4::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4::IfcPersonAndOrganization Ifc4::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcPersonAndOrganization>(); } @@ -10754,9 +10754,9 @@ void Ifc4::IfcOwnerHistory::setOwningUser(const ::Ifc4::IfcPersonAndOrganization ::Ifc4::IfcApplication Ifc4::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4::IfcApplication>(); } void Ifc4::IfcOwnerHistory::setOwningApplication(const ::Ifc4::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4::IfcStateEnum::Value > Ifc4::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4::IfcOwnerHistory::setState(const std::optional< ::Ifc4::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4::IfcOwnerHistory::setState(const std::optional< ::Ifc4::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4::IfcChangeActionEnum::Value > Ifc4::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4::IfcPersonAndOrganization Ifc4::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4::IfcPersonAndOrganization>(); } @@ -10767,23 +10767,23 @@ int Ifc4::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value(7 void Ifc4::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4_types[636]); } -void Ifc4::IfcOwnerHistory::initialize(::Ifc4::IfcPersonAndOrganization v1_OwningUser, ::Ifc4::IfcApplication v2_OwningApplication, std::optional< ::Ifc4::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4_types[636]); } +void Ifc4::IfcOwnerHistory::initialize(::Ifc4::IfcPersonAndOrganization v1_OwningUser, ::Ifc4::IfcApplication v2_OwningApplication, std::optional< ::Ifc4::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4::IfcAxis2Placement2D Ifc4::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcAxis2Placement2D>(); } void Ifc4::IfcParameterizedProfileDef::setPosition(const ::Ifc4::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[637]); } -void Ifc4::IfcParameterizedProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[637]); } +void Ifc4::IfcParameterizedProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4::IfcOrientedEdge > Ifc4::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcOrientedEdge>(es); } void Ifc4::IfcPath::setEdgeList(const std::vector< ::Ifc4::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcPath::Class() { return *((IfcParse::entity*)IFC4_types[639]); } +const ifcopenshell::entity& Ifc4::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4_types[639]); } void Ifc4::IfcPath::initialize(std::vector< ::Ifc4::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPcurve @@ -10793,24 +10793,24 @@ void Ifc4::IfcPcurve::setBasisSurface(const ::Ifc4::IfcSurface& v) { set_attribu void Ifc4::IfcPcurve::setReferenceCurve(const ::Ifc4::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4_types[640]); } +const ifcopenshell::entity& Ifc4::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4_types[640]); } void Ifc4::IfcPcurve::initialize(::Ifc4::IfcSurface v1_BasisSurface, ::Ifc4::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4::IfcPerformanceHistoryTypeEnum::Value > Ifc4::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4_types[641]); } -void Ifc4::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4_types[641]); } +void Ifc4::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4::IfcPermeableCoveringOperationEnum::Value Ifc4::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4::IfcWindowPanelPositionEnum::Value Ifc4::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -10819,20 +10819,20 @@ void Ifc4::IfcPermeableCoveringProperties::setFrameThickness(const std::optional void Ifc4::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4_types[644]); } -void Ifc4::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4::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)); } +const ifcopenshell::entity& Ifc4::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[644]); } +void Ifc4::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4::IfcPermitTypeEnum::Value > Ifc4::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4::IfcPermit::setPredefinedType(const std::optional< ::Ifc4::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4::IfcPermit::setPredefinedType(const std::optional< ::Ifc4::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcPermit::Class() { return *((IfcParse::entity*)IFC4_types[645]); } -void Ifc4::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4_types[645]); } +void Ifc4::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10852,9 +10852,9 @@ void Ifc4::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4::IfcActo std::optional< std::vector< ::Ifc4::IfcAddress > > Ifc4::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4::IfcAddress>(es); } void Ifc4::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4::IfcPersonAndOrganization> Ifc4::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[648], 0)); } +std::vector<::Ifc4::IfcPersonAndOrganization> Ifc4::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[648], 0)); } -const IfcParse::entity& Ifc4::IfcPerson::Class() { return *((IfcParse::entity*)IFC4_types[647]); } +const ifcopenshell::entity& Ifc4::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4_types[647]); } void Ifc4::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -10866,7 +10866,7 @@ std::optional< std::vector< ::Ifc4::IfcActorRole > > Ifc4::IfcPersonAndOrganizat void Ifc4::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4_types[648]); } +const ifcopenshell::entity& Ifc4::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4_types[648]); } void Ifc4::IfcPersonAndOrganization::initialize(::Ifc4::IfcPerson v1_ThePerson, ::Ifc4::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -10880,7 +10880,7 @@ std::optional< std::string > Ifc4::IfcPhysicalComplexQuantity::Usage() const { i void Ifc4::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4_types[650]); } +const ifcopenshell::entity& Ifc4::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4_types[650]); } void Ifc4::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -10889,10 +10889,10 @@ void Ifc4::IfcPhysicalQuantity::setName(const std::string& v) { set_attribute_va std::optional< std::string > Ifc4::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } -std::vector<::Ifc4::IfcPhysicalComplexQuantity> Ifc4::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[650], 2)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcPhysicalComplexQuantity> Ifc4::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[650], 2)); } -const IfcParse::entity& Ifc4::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4_types[652]); } +const ifcopenshell::entity& Ifc4::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4_types[652]); } void Ifc4::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -10900,58 +10900,58 @@ void Ifc4::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< s void Ifc4::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4_types[653]); } +const ifcopenshell::entity& Ifc4::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4_types[653]); } void Ifc4::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4::IfcPileTypeEnum::Value > Ifc4::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcPile::setPredefinedType(const std::optional< ::Ifc4::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcPile::setPredefinedType(const std::optional< ::Ifc4::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4::IfcPileConstructionEnum::Value > Ifc4::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcPile::setConstructionType(const std::optional< ::Ifc4::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4::IfcPile::setConstructionType(const std::optional< ::Ifc4::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcPile::Class() { return *((IfcParse::entity*)IFC4_types[654]); } -void Ifc4::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4_types[654]); } +void Ifc4::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4::IfcPileTypeEnum::Value Ifc4::IfcPileType::PredefinedType() const { return ::Ifc4::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcPileType::setPredefinedType(const ::Ifc4::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcPileType::setPredefinedType(const ::Ifc4::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcPileType::Class() { return *((IfcParse::entity*)IFC4_types[656]); } -void Ifc4::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4_types[656]); } +void Ifc4::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4::IfcPipeFittingTypeEnum::Value > Ifc4::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4_types[658]); } -void Ifc4::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4_types[658]); } +void Ifc4::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4::IfcPipeFittingTypeEnum::Value Ifc4::IfcPipeFittingType::PredefinedType() const { return ::Ifc4::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcPipeFittingType::setPredefinedType(const ::Ifc4::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcPipeFittingType::setPredefinedType(const ::Ifc4::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4_types[659]); } -void Ifc4::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4_types[659]); } +void Ifc4::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4::IfcPipeSegmentTypeEnum::Value > Ifc4::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4_types[661]); } -void Ifc4::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4_types[661]); } +void Ifc4::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4::IfcPipeSegmentTypeEnum::Value Ifc4::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcPipeSegmentType::setPredefinedType(const ::Ifc4::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcPipeSegmentType::setPredefinedType(const ::Ifc4::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4_types[662]); } -void Ifc4::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4_types[662]); } +void Ifc4::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -10964,7 +10964,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4::IfcPixelTexture::Pixel() void Ifc4::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4_types[664]); } +const ifcopenshell::entity& Ifc4::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4_types[664]); } void Ifc4::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -10972,7 +10972,7 @@ void Ifc4::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::op void Ifc4::IfcPlacement::setLocation(const ::Ifc4::IfcCartesianPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4_types[665]); } +const ifcopenshell::entity& Ifc4::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4_types[665]); } void Ifc4::IfcPlacement::initialize(::Ifc4::IfcCartesianPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -10980,7 +10980,7 @@ void Ifc4::IfcPlacement::initialize(::Ifc4::IfcCartesianPoint v1_Location) { set void Ifc4::IfcPlanarBox::setPlacement(const ::Ifc4::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4_types[666]); } +const ifcopenshell::entity& Ifc4::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4_types[666]); } void Ifc4::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -10990,41 +10990,41 @@ double Ifc4::IfcPlanarExtent::SizeInY() const { double v = get_attribute_value( void Ifc4::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4_types[667]); } +const ifcopenshell::entity& Ifc4::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4_types[667]); } void Ifc4::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4::IfcPlane::Class() { return *((IfcParse::entity*)IFC4_types[669]); } +const ifcopenshell::entity& Ifc4::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4_types[669]); } void Ifc4::IfcPlane::initialize(::Ifc4::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlate std::optional< ::Ifc4::IfcPlateTypeEnum::Value > Ifc4::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcPlate::setPredefinedType(const std::optional< ::Ifc4::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcPlate::setPredefinedType(const std::optional< ::Ifc4::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcPlate::Class() { return *((IfcParse::entity*)IFC4_types[671]); } -void Ifc4::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4_types[671]); } +void Ifc4::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateStandardCase -const IfcParse::entity& Ifc4::IfcPlateStandardCase::Class() { return *((IfcParse::entity*)IFC4_types[672]); } -void Ifc4::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcPlateStandardCase::Class() { return *((ifcopenshell::entity*)IFC4_types[672]); } +void Ifc4::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4::IfcPlateTypeEnum::Value Ifc4::IfcPlateType::PredefinedType() const { return ::Ifc4::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcPlateType::setPredefinedType(const ::Ifc4::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcPlateType::setPredefinedType(const ::Ifc4::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4_types[673]); } -void Ifc4::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4_types[673]); } +void Ifc4::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4::IfcPoint::Class() { return *((IfcParse::entity*)IFC4_types[675]); } +const ifcopenshell::entity& Ifc4::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4_types[675]); } void Ifc4::IfcPoint::initialize() { } // Function implementations for IfcPointOnCurve @@ -11034,7 +11034,7 @@ double Ifc4::IfcPointOnCurve::PointParameter() const { double v = get_attribute void Ifc4::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4_types[676]); } +const ifcopenshell::entity& Ifc4::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[676]); } void Ifc4::IfcPointOnCurve::initialize(::Ifc4::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -11046,7 +11046,7 @@ double Ifc4::IfcPointOnSurface::PointParameterV() const { double v = get_attrib void Ifc4::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4_types[677]); } +const ifcopenshell::entity& Ifc4::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[677]); } void Ifc4::IfcPointOnSurface::initialize(::Ifc4::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -11054,7 +11054,7 @@ std::vector< ::Ifc4::IfcCartesianPoint > Ifc4::IfcPolyLoop::Polygon() const { s void Ifc4::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4_types[682]); } +const ifcopenshell::entity& Ifc4::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4_types[682]); } void Ifc4::IfcPolyLoop::initialize(std::vector< ::Ifc4::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -11064,7 +11064,7 @@ void Ifc4::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4::IfcAxis2Place void Ifc4::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4_types[679]); } +const ifcopenshell::entity& Ifc4::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4_types[679]); } void Ifc4::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4::IfcAxis2Placement3D v3_Position, ::Ifc4::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -11076,7 +11076,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4::IfcPolygonalFaceSet::PnIndex void Ifc4::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4_types[680]); } +const ifcopenshell::entity& Ifc4::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4_types[680]); } void Ifc4::IfcPolygonalFaceSet::initialize(::Ifc4::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -11084,16 +11084,16 @@ std::vector< ::Ifc4::IfcCartesianPoint > Ifc4::IfcPolyline::Points() const { st void Ifc4::IfcPolyline::setPoints(const std::vector< ::Ifc4::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4_types[681]); } +const ifcopenshell::entity& Ifc4::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4_types[681]); } void Ifc4::IfcPolyline::initialize(std::vector< ::Ifc4::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPort -std::vector<::Ifc4::IfcRelConnectsPortToElement> Ifc4::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[818], 4)); } -std::vector<::Ifc4::IfcRelConnectsPorts> Ifc4::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[817], 5)); } -std::vector<::Ifc4::IfcRelConnectsPorts> Ifc4::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[817], 4)); } +std::vector<::Ifc4::IfcRelConnectsPortToElement> Ifc4::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[818], 4)); } +std::vector<::Ifc4::IfcRelConnectsPorts> Ifc4::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[817], 5)); } +std::vector<::Ifc4::IfcRelConnectsPorts> Ifc4::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[817], 4)); } -const IfcParse::entity& Ifc4::IfcPort::Class() { return *((IfcParse::entity*)IFC4_types[683]); } +const ifcopenshell::entity& Ifc4::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4_types[683]); } void Ifc4::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -11113,19 +11113,19 @@ std::optional< std::string > Ifc4::IfcPostalAddress::Country() const { if(get_at void Ifc4::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4_types[688]); } -void Ifc4::IfcPostalAddress::initialize(std::optional< ::Ifc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4_types[688]); } +void Ifc4::IfcPostalAddress::initialize(std::optional< ::Ifc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4_types[690]); } +const ifcopenshell::entity& Ifc4::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4_types[690]); } void Ifc4::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4_types[691]); } +const ifcopenshell::entity& Ifc4::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4_types[691]); } void Ifc4::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -11133,31 +11133,31 @@ std::string Ifc4::IfcPreDefinedItem::Name() const { std::string v = get_attribu void Ifc4::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4_types[692]); } +const ifcopenshell::entity& Ifc4::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4_types[692]); } void Ifc4::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4_types[693]); } +const ifcopenshell::entity& Ifc4::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[693]); } void Ifc4::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4_types[694]); } +const ifcopenshell::entity& Ifc4::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4_types[694]); } void Ifc4::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4_types[695]); } +const ifcopenshell::entity& Ifc4::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4_types[695]); } void Ifc4::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4_types[698]); } +const ifcopenshell::entity& Ifc4::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4_types[698]); } void Ifc4::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -11171,7 +11171,7 @@ std::optional< std::string > Ifc4::IfcPresentationLayerAssignment::Identifier() void Ifc4::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4_types[699]); } +const ifcopenshell::entity& Ifc4::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4_types[699]); } void Ifc4::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -11185,7 +11185,7 @@ std::vector< ::Ifc4::IfcPresentationStyle > Ifc4::IfcPresentationLayerWithStyle: void Ifc4::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4_types[700]); } +const ifcopenshell::entity& Ifc4::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[700]); } void Ifc4::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -11193,7 +11193,7 @@ std::optional< std::string > Ifc4::IfcPresentationStyle::Name() const { if(get_a void Ifc4::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4_types[701]); } +const ifcopenshell::entity& Ifc4::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[701]); } void Ifc4::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcPresentationStyleAssignment @@ -11201,24 +11201,24 @@ std::vector< ::Ifc4::IfcPresentationStyleSelect > Ifc4::IfcPresentationStyleAssi void Ifc4::IfcPresentationStyleAssignment::setStyles(const std::vector< ::Ifc4::IfcPresentationStyleSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcPresentationStyleAssignment::Class() { return *((IfcParse::entity*)IFC4_types[702]); } +const ifcopenshell::entity& Ifc4::IfcPresentationStyleAssignment::Class() { return *((ifcopenshell::entity*)IFC4_types[702]); } void Ifc4::IfcPresentationStyleAssignment::initialize(std::vector< ::Ifc4::IfcPresentationStyleSelect > v1_Styles) { set_attribute_value(0, cast_vector(v1_Styles)); } // Function implementations for IfcProcedure std::optional< ::Ifc4::IfcProcedureTypeEnum::Value > Ifc4::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4_types[705]); } -void Ifc4::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4_types[705]); } +void Ifc4::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4::IfcProcedureTypeEnum::Value Ifc4::IfcProcedureType::PredefinedType() const { return ::Ifc4::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcProcedureType::setPredefinedType(const ::Ifc4::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcProcedureType::setPredefinedType(const ::Ifc4::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4_types[706]); } -void Ifc4::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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(&::Ifc4::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4_types[706]); } +void Ifc4::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -11226,11 +11226,11 @@ void Ifc4::IfcProcess::setIdentification(const std::optional< std::string >& v) std::optional< std::string > Ifc4::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4::IfcRelSequence> Ifc4::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[839], 4)); } -std::vector<::Ifc4::IfcRelSequence> Ifc4::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[839], 5)); } -std::vector<::Ifc4::IfcRelAssignsToProcess> Ifc4::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[803], 6)); } +std::vector<::Ifc4::IfcRelSequence> Ifc4::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[839], 4)); } +std::vector<::Ifc4::IfcRelSequence> Ifc4::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[839], 5)); } +std::vector<::Ifc4::IfcRelAssignsToProcess> Ifc4::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[803], 6)); } -const IfcParse::entity& Ifc4::IfcProcess::Class() { return *((IfcParse::entity*)IFC4_types[708]); } +const ifcopenshell::entity& Ifc4::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4_types[708]); } void Ifc4::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -11239,17 +11239,17 @@ void Ifc4::IfcProduct::setObjectPlacement(const ::Ifc4::IfcObjectPlacement& v) { ::Ifc4::IfcProductRepresentation Ifc4::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcProductRepresentation>(); } void Ifc4::IfcProduct::setRepresentation(const ::Ifc4::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4::IfcRelAssignsToProduct> Ifc4::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[804], 6)); } +std::vector<::Ifc4::IfcRelAssignsToProduct> Ifc4::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[804], 6)); } -const IfcParse::entity& Ifc4::IfcProduct::Class() { return *((IfcParse::entity*)IFC4_types[710]); } +const ifcopenshell::entity& Ifc4::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4_types[710]); } void Ifc4::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4::IfcProduct> Ifc4::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[710], 6)); } -std::vector<::Ifc4::IfcShapeAspect> Ifc4::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[890], 4)); } +std::vector<::Ifc4::IfcProduct> Ifc4::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[710], 6)); } +std::vector<::Ifc4::IfcShapeAspect> Ifc4::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[890], 4)); } -const IfcParse::entity& Ifc4::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4_types[711]); } +const ifcopenshell::entity& Ifc4::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4_types[711]); } void Ifc4::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -11261,52 +11261,52 @@ std::vector< ::Ifc4::IfcRepresentation > Ifc4::IfcProductRepresentation::Represe void Ifc4::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4_types[712]); } +const ifcopenshell::entity& Ifc4::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4_types[712]); } void Ifc4::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4::IfcProfileTypeEnum::Value Ifc4::IfcProfileDef::ProfileType() const { return ::Ifc4::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4::IfcProfileDef::setProfileType(const ::Ifc4::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4::IfcProfileDef::setProfileType(const ::Ifc4::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } -std::vector<::Ifc4::IfcProfileProperties> Ifc4::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[716], 3)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcProfileProperties> Ifc4::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[716], 3)); } -const IfcParse::entity& Ifc4::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[715]); } -void Ifc4::IfcProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[715]); } +void Ifc4::IfcProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4::IfcProfileDef Ifc4::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4::IfcProfileDef>(); } void Ifc4::IfcProfileProperties::setProfileDefinition(const ::Ifc4::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4_types[716]); } +const ifcopenshell::entity& Ifc4::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[716]); } void Ifc4::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcProperty > v3_Properties, ::Ifc4::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4::IfcProject::Class() { return *((IfcParse::entity*)IFC4_types[718]); } +const ifcopenshell::entity& Ifc4::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4_types[718]); } void Ifc4::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4_types[723]); } +const ifcopenshell::entity& Ifc4::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4_types[723]); } void Ifc4::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4::IfcProjectOrderTypeEnum::Value > Ifc4::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4_types[724]); } -void Ifc4::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4_types[724]); } +void Ifc4::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -11317,16 +11317,16 @@ void Ifc4::IfcProjectedCRS::setMapZone(const std::optional< std::string >& v) { void Ifc4::IfcProjectedCRS::setMapUnit(const ::Ifc4::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4_types[719]); } +const ifcopenshell::entity& Ifc4::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4_types[719]); } void Ifc4::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4::IfcProjectionElementTypeEnum::Value > Ifc4::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4_types[721]); } -void Ifc4::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4_types[721]); } +void Ifc4::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11334,21 +11334,21 @@ void Ifc4::IfcProperty::setName(const std::string& v) { set_attribute_value(0, v std::optional< std::string > Ifc4::IfcProperty::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4::IfcProperty::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4::IfcPropertySet> Ifc4::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[735], 4)); } -std::vector<::Ifc4::IfcPropertyDependencyRelationship> Ifc4::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[730], 2)); } -std::vector<::Ifc4::IfcPropertyDependencyRelationship> Ifc4::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[730], 3)); } -std::vector<::Ifc4::IfcComplexProperty> Ifc4::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[162], 3)); } -std::vector<::Ifc4::IfcResourceConstraintRelationship> Ifc4::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[852], 3)); } -std::vector<::Ifc4::IfcResourceApprovalRelationship> Ifc4::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[851], 2)); } +std::vector<::Ifc4::IfcPropertySet> Ifc4::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[735], 4)); } +std::vector<::Ifc4::IfcPropertyDependencyRelationship> Ifc4::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[730], 2)); } +std::vector<::Ifc4::IfcPropertyDependencyRelationship> Ifc4::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[730], 3)); } +std::vector<::Ifc4::IfcComplexProperty> Ifc4::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[162], 3)); } +std::vector<::Ifc4::IfcResourceConstraintRelationship> Ifc4::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[852], 3)); } +std::vector<::Ifc4::IfcResourceApprovalRelationship> Ifc4::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[851], 2)); } -const IfcParse::entity& Ifc4::IfcProperty::Class() { return *((IfcParse::entity*)IFC4_types[726]); } +const ifcopenshell::entity& Ifc4::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4_types[726]); } void Ifc4::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } -const IfcParse::entity& Ifc4::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4_types[727]); } +const ifcopenshell::entity& Ifc4::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4_types[727]); } void Ifc4::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -11362,15 +11362,15 @@ void Ifc4::IfcPropertyBoundedValue::setUnit(const ::Ifc4::IfcUnit& v) { set_attr void Ifc4::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4_types[728]); } +const ifcopenshell::entity& Ifc4::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4_types[728]); } void Ifc4::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcValue v3_UpperBoundValue, ::Ifc4::IfcValue v4_LowerBoundValue, ::Ifc4::IfcUnit v5_Unit, ::Ifc4::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4::IfcRelDeclares> Ifc4::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[826], 5)); } -std::vector<::Ifc4::IfcRelAssociates> Ifc4::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[806], 4)); } +std::vector<::Ifc4::IfcRelDeclares> Ifc4::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[826], 5)); } +std::vector<::Ifc4::IfcRelAssociates> Ifc4::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[806], 4)); } -const IfcParse::entity& Ifc4::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4_types[729]); } +const ifcopenshell::entity& Ifc4::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4_types[729]); } void Ifc4::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -11382,7 +11382,7 @@ std::optional< std::string > Ifc4::IfcPropertyDependencyRelationship::Expression void Ifc4::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4_types[730]); } +const ifcopenshell::entity& Ifc4::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[730]); } void Ifc4::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcProperty v3_DependingProperty, ::Ifc4::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -11392,7 +11392,7 @@ void Ifc4::IfcPropertyEnumeratedValue::setEnumerationValues(const std::optional< void Ifc4::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4_types[731]); } +const ifcopenshell::entity& Ifc4::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4_types[731]); } void Ifc4::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4::IfcValue > > v3_EnumerationValues, ::Ifc4::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -11404,7 +11404,7 @@ void Ifc4::IfcPropertyEnumeration::setEnumerationValues(const std::vector< ::Ifc void Ifc4::IfcPropertyEnumeration::setUnit(const ::Ifc4::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4_types[732]); } +const ifcopenshell::entity& Ifc4::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4_types[732]); } void Ifc4::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4::IfcValue > v2_EnumerationValues, ::Ifc4::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -11414,7 +11414,7 @@ void Ifc4::IfcPropertyListValue::setListValues(const std::optional< std::vector< void Ifc4::IfcPropertyListValue::setUnit(const ::Ifc4::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4_types[733]); } +const ifcopenshell::entity& Ifc4::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4_types[733]); } void Ifc4::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4::IfcValue > > v3_ListValues, ::Ifc4::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -11424,7 +11424,7 @@ void Ifc4::IfcPropertyReferenceValue::setUsageName(const std::optional< std::str void Ifc4::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4_types[734]); } +const ifcopenshell::entity& Ifc4::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4_types[734]); } void Ifc4::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4::IfcObjectReferenceSelect v4_PropertyReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, (v4_PropertyReference)); } // Function implementations for IfcPropertySet @@ -11432,30 +11432,30 @@ std::vector< ::Ifc4::IfcProperty > Ifc4::IfcPropertySet::HasProperties() const { void Ifc4::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4_types[735]); } +const ifcopenshell::entity& Ifc4::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4_types[735]); } void Ifc4::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4::IfcTypeObject> Ifc4::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[1106], 5)); } -std::vector<::Ifc4::IfcRelDefinesByTemplate> Ifc4::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[831], 4)); } -std::vector<::Ifc4::IfcRelDefinesByProperties> Ifc4::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[830], 5)); } +std::vector<::Ifc4::IfcTypeObject> Ifc4::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[1106], 5)); } +std::vector<::Ifc4::IfcRelDefinesByTemplate> Ifc4::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[831], 4)); } +std::vector<::Ifc4::IfcRelDefinesByProperties> Ifc4::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[830], 5)); } -const IfcParse::entity& Ifc4::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4_types[736]); } +const ifcopenshell::entity& Ifc4::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4_types[736]); } void Ifc4::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4::IfcPropertySetTemplateTypeEnum::Value > Ifc4::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4::IfcPropertyTemplate > Ifc4::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4::IfcPropertyTemplate>(es); } void Ifc4::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4::IfcRelDefinesByTemplate> Ifc4::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[831], 5)); } +std::vector<::Ifc4::IfcRelDefinesByTemplate> Ifc4::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[831], 5)); } -const IfcParse::entity& Ifc4::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4_types[739]); } -void Ifc4::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4_types[739]); } +void Ifc4::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4::IfcValue Ifc4::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcValue>(); } @@ -11464,7 +11464,7 @@ void Ifc4::IfcPropertySingleValue::setNominalValue(const ::Ifc4::IfcValue& v) { void Ifc4::IfcPropertySingleValue::setUnit(const ::Ifc4::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4_types[741]); } +const ifcopenshell::entity& Ifc4::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4_types[741]); } void Ifc4::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcValue v3_NominalValue, ::Ifc4::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -11479,83 +11479,83 @@ void Ifc4::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4::IfcUnit& v) { se ::Ifc4::IfcUnit Ifc4::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcUnit>(); } void Ifc4::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4::IfcCurveInterpolationEnum::Value > Ifc4::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4_types[742]); } -void Ifc4::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4::IfcUnit v6_DefiningUnit, ::Ifc4::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4_types[742]); } +void Ifc4::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4::IfcUnit v6_DefiningUnit, ::Ifc4::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4::IfcComplexPropertyTemplate> Ifc4::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[163], 6)); } -std::vector<::Ifc4::IfcPropertySetTemplate> Ifc4::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[739], 6)); } +std::vector<::Ifc4::IfcComplexPropertyTemplate> Ifc4::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[163], 6)); } +std::vector<::Ifc4::IfcPropertySetTemplate> Ifc4::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[739], 6)); } -const IfcParse::entity& Ifc4::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4_types[743]); } +const ifcopenshell::entity& Ifc4::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4_types[743]); } void Ifc4::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4_types[744]); } +const ifcopenshell::entity& Ifc4::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4_types[744]); } void Ifc4::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4::IfcProtectiveDeviceTypeEnum::Value > Ifc4::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4_types[745]); } -void Ifc4::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[745]); } +void Ifc4::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4_types[746]); } -void Ifc4::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4_types[746]); } +void Ifc4::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4_types[747]); } -void Ifc4::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4_types[747]); } +void Ifc4::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4::IfcProtectiveDeviceTypeEnum::Value Ifc4::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[749]); } -void Ifc4::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[749]); } +void Ifc4::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProxy ::Ifc4::IfcObjectTypeEnum::Value Ifc4::IfcProxy::ProxyType() const { return ::Ifc4::IfcObjectTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcProxy::setProxyType(const ::Ifc4::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4::IfcProxy::setProxyType(const ::Ifc4::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4::IfcProxy::Tag() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4::IfcProxy::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcProxy::Class() { return *((IfcParse::entity*)IFC4_types[751]); } -void Ifc4::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } +const ifcopenshell::entity& Ifc4::IfcProxy::Class() { return *((ifcopenshell::entity*)IFC4_types[751]); } +void Ifc4::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } // Function implementations for IfcPump std::optional< ::Ifc4::IfcPumpTypeEnum::Value > Ifc4::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcPump::setPredefinedType(const std::optional< ::Ifc4::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcPump::setPredefinedType(const std::optional< ::Ifc4::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcPump::Class() { return *((IfcParse::entity*)IFC4_types[752]); } -void Ifc4::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4_types[752]); } +void Ifc4::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4::IfcPumpTypeEnum::Value Ifc4::IfcPumpType::PredefinedType() const { return ::Ifc4::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcPumpType::setPredefinedType(const ::Ifc4::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcPumpType::setPredefinedType(const ::Ifc4::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4_types[753]); } -void Ifc4::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4_types[753]); } +void Ifc4::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -11564,7 +11564,7 @@ std::optional< std::string > Ifc4::IfcQuantityArea::Formula() const { if(get_att void Ifc4::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4_types[755]); } +const ifcopenshell::entity& Ifc4::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4_types[755]); } void Ifc4::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -11574,7 +11574,7 @@ std::optional< std::string > Ifc4::IfcQuantityCount::Formula() const { if(get_at void Ifc4::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4_types[756]); } +const ifcopenshell::entity& Ifc4::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4_types[756]); } void Ifc4::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -11584,13 +11584,13 @@ std::optional< std::string > Ifc4::IfcQuantityLength::Formula() const { if(get_a void Ifc4::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4_types[757]); } +const ifcopenshell::entity& Ifc4::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4_types[757]); } void Ifc4::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4_types[758]); } +const ifcopenshell::entity& Ifc4::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4_types[758]); } void Ifc4::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -11600,7 +11600,7 @@ std::optional< std::string > Ifc4::IfcQuantityTime::Formula() const { if(get_att void Ifc4::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4_types[759]); } +const ifcopenshell::entity& Ifc4::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4_types[759]); } void Ifc4::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -11610,7 +11610,7 @@ std::optional< std::string > Ifc4::IfcQuantityVolume::Formula() const { if(get_a void Ifc4::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4_types[760]); } +const ifcopenshell::entity& Ifc4::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4_types[760]); } void Ifc4::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -11620,72 +11620,72 @@ std::optional< std::string > Ifc4::IfcQuantityWeight::Formula() const { if(get_a void Ifc4::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4_types[761]); } +const ifcopenshell::entity& Ifc4::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4_types[761]); } void Ifc4::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRailing std::optional< ::Ifc4::IfcRailingTypeEnum::Value > Ifc4::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcRailing::setPredefinedType(const std::optional< ::Ifc4::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcRailing::setPredefinedType(const std::optional< ::Ifc4::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcRailing::Class() { return *((IfcParse::entity*)IFC4_types[763]); } -void Ifc4::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4_types[763]); } +void Ifc4::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4::IfcRailingTypeEnum::Value Ifc4::IfcRailingType::PredefinedType() const { return ::Ifc4::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcRailingType::setPredefinedType(const ::Ifc4::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcRailingType::setPredefinedType(const ::Ifc4::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4_types[764]); } -void Ifc4::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4_types[764]); } +void Ifc4::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRamp std::optional< ::Ifc4::IfcRampTypeEnum::Value > Ifc4::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcRamp::setPredefinedType(const std::optional< ::Ifc4::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcRamp::setPredefinedType(const std::optional< ::Ifc4::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcRamp::Class() { return *((IfcParse::entity*)IFC4_types[766]); } -void Ifc4::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4_types[766]); } +void Ifc4::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4::IfcRampFlightTypeEnum::Value > Ifc4::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4_types[767]); } -void Ifc4::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4_types[767]); } +void Ifc4::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4::IfcRampFlightTypeEnum::Value Ifc4::IfcRampFlightType::PredefinedType() const { return ::Ifc4::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcRampFlightType::setPredefinedType(const ::Ifc4::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcRampFlightType::setPredefinedType(const ::Ifc4::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4_types[768]); } -void Ifc4::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4_types[768]); } +void Ifc4::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4::IfcRampTypeEnum::Value Ifc4::IfcRampType::PredefinedType() const { return ::Ifc4::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcRampType::setPredefinedType(const ::Ifc4::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcRampType::setPredefinedType(const ::Ifc4::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcRampType::Class() { return *((IfcParse::entity*)IFC4_types[770]); } -void Ifc4::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4_types[770]); } +void Ifc4::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4_types[773]); } -void Ifc4::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4::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(&::Ifc4::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4_types[773]); } +void Ifc4::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4::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, (enumeration_reference(&::Ifc4::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4_types[774]); } -void Ifc4::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4::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(&::Ifc4::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4_types[774]); } +void Ifc4::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4::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, (enumeration_reference(&::Ifc4::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -11696,8 +11696,8 @@ std::optional< double > Ifc4::IfcRectangleHollowProfileDef::OuterFilletRadius() void Ifc4::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[776]); } -void Ifc4::IfcRectangleHollowProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[776]); } +void Ifc4::IfcRectangleHollowProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -11706,8 +11706,8 @@ double Ifc4::IfcRectangleProfileDef::YDim() const { double v = get_attribute_va void Ifc4::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[777]); } -void Ifc4::IfcRectangleProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[777]); } +void Ifc4::IfcRectangleProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -11718,7 +11718,7 @@ double Ifc4::IfcRectangularPyramid::Height() const { double v = get_attribute_v void Ifc4::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4_types[778]); } +const ifcopenshell::entity& Ifc4::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4_types[778]); } void Ifc4::IfcRectangularPyramid::initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -11738,12 +11738,12 @@ bool Ifc4::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_attribut void Ifc4::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4_types[779]); } +const ifcopenshell::entity& Ifc4::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[779]); } void Ifc4::IfcRectangularTrimmedSurface::initialize(::Ifc4::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4::IfcRecurrenceTypeEnum::Value Ifc4::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -11760,8 +11760,8 @@ std::optional< std::vector< ::Ifc4::IfcTimePeriod > > Ifc4::IfcRecurrencePattern void Ifc4::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4_types[780]); } -void Ifc4::IfcRecurrencePattern::initialize(::Ifc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4_types[780]); } +void Ifc4::IfcRecurrencePattern::initialize(::Ifc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11776,7 +11776,7 @@ void Ifc4::IfcReference::setListPositions(const std::optional< std::vector< int void Ifc4::IfcReference::setInnerReference(const ::Ifc4::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcReference::Class() { return *((IfcParse::entity*)IFC4_types[782]); } +const ifcopenshell::entity& Ifc4::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4_types[782]); } void Ifc4::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcRegularTimeSeries @@ -11786,8 +11786,8 @@ std::vector< ::Ifc4::IfcTimeSeriesValue > Ifc4::IfcRegularTimeSeries::Values() c void Ifc4::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4_types[784]); } -void Ifc4::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4::IfcTimeSeriesValue > v10_Values) { 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(&::Ifc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4_types[784]); } +void Ifc4::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcementBarProperties double Ifc4::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -11795,7 +11795,7 @@ void Ifc4::IfcReinforcementBarProperties::setTotalCrossSectionArea(const double& std::string Ifc4::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > Ifc4::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -11804,8 +11804,8 @@ std::optional< double > Ifc4::IfcReinforcementBarProperties::BarCount() const { void Ifc4::IfcReinforcementBarProperties::setBarCount(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4_types[785]); } -void Ifc4::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[785]); } +void Ifc4::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -11814,7 +11814,7 @@ std::vector< ::Ifc4::IfcSectionReinforcementProperties > Ifc4::IfcReinforcementD void Ifc4::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4_types[786]); } +const ifcopenshell::entity& Ifc4::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[786]); } void Ifc4::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -11825,17 +11825,17 @@ void Ifc4::IfcReinforcingBar::setCrossSectionArea(const std::optional< double >& std::optional< double > Ifc4::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4::IfcReinforcingBarTypeEnum::Value > Ifc4::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > Ifc4::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4_types[787]); } -void Ifc4::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4_types[787]); } +void Ifc4::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4::IfcReinforcingBarTypeEnum::Value Ifc4::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcReinforcingBarType::setPredefinedType(const ::Ifc4::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcReinforcingBarType::setPredefinedType(const ::Ifc4::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -11843,28 +11843,28 @@ void Ifc4::IfcReinforcingBarType::setCrossSectionArea(const std::optional< doubl std::optional< double > Ifc4::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > Ifc4::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > Ifc4::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4::IfcBendingParameterSelect>(es); } void Ifc4::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4_types[790]); } -void Ifc4::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::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(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4_types[790]); } +void Ifc4::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::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, (enumeration_reference(&::Ifc4::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4_types[792]); } +const ifcopenshell::entity& Ifc4::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4_types[792]); } void Ifc4::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4_types[793]); } +const ifcopenshell::entity& Ifc4::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[793]); } void Ifc4::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -11885,15 +11885,15 @@ void Ifc4::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::optional< do std::optional< double > Ifc4::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4::IfcReinforcingMeshTypeEnum::Value > Ifc4::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4_types[794]); } -void Ifc4::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4_types[794]); } +void Ifc4::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4::IfcReinforcingMeshTypeEnum::Value Ifc4::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -11916,8 +11916,8 @@ std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > Ifc4::IfcReinf void Ifc4::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4_types[795]); } -void Ifc4::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4_types[795]); } +void Ifc4::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAggregates ::Ifc4::IfcObjectDefinition Ifc4::IfcRelAggregates::RelatingObject() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcObjectDefinition>(); } @@ -11926,18 +11926,18 @@ std::vector< ::Ifc4::IfcObjectDefinition > Ifc4::IfcRelAggregates::RelatedObject void Ifc4::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4_types[797]); } +const ifcopenshell::entity& Ifc4::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4_types[797]); } void Ifc4::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns std::vector< ::Ifc4::IfcObjectDefinition > Ifc4::IfcRelAssigns::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4::IfcObjectDefinition>(es); } void Ifc4::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc4::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc4::IfcObjectTypeEnum::Value > Ifc4::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4::IfcObjectTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4_types[798]); } -void Ifc4::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } +const ifcopenshell::entity& Ifc4::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4_types[798]); } +void Ifc4::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } // Function implementations for IfcRelAssignsToActor ::Ifc4::IfcActor Ifc4::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcActor>(); } @@ -11946,32 +11946,32 @@ void Ifc4::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4::IfcActor& v) { s void Ifc4::IfcRelAssignsToActor::setActingRole(const ::Ifc4::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4_types[799]); } -void Ifc4::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcActor v7_RelatingActor, ::Ifc4::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc4::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4_types[799]); } +void Ifc4::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcActor v7_RelatingActor, ::Ifc4::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl ::Ifc4::IfcControl Ifc4::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcControl>(); } void Ifc4::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4_types[800]); } -void Ifc4::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc4::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4_types[800]); } +void Ifc4::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup ::Ifc4::IfcGroup Ifc4::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcGroup>(); } void Ifc4::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4_types[801]); } -void Ifc4::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } +const ifcopenshell::entity& Ifc4::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4_types[801]); } +void Ifc4::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor double Ifc4::IfcRelAssignsToGroupByFactor::Factor() const { double v = get_attribute_value(7); return v; } void Ifc4::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4_types[802]); } -void Ifc4::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } +const ifcopenshell::entity& Ifc4::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4_types[802]); } +void Ifc4::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess ::Ifc4::IfcProcessSelect Ifc4::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcProcessSelect>(); } @@ -11980,31 +11980,31 @@ void Ifc4::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4::IfcProcessSe void Ifc4::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4_types[803]); } -void Ifc4::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcProcessSelect v7_RelatingProcess, ::Ifc4::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } +const ifcopenshell::entity& Ifc4::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4_types[803]); } +void Ifc4::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcProcessSelect v7_RelatingProcess, ::Ifc4::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct ::Ifc4::IfcProductSelect Ifc4::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcProductSelect>(); } void Ifc4::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4_types[804]); } -void Ifc4::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } +const ifcopenshell::entity& Ifc4::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4_types[804]); } +void Ifc4::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource ::Ifc4::IfcResourceSelect Ifc4::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcResourceSelect>(); } void Ifc4::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4_types[805]); } -void Ifc4::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } +const ifcopenshell::entity& Ifc4::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4_types[805]); } +void Ifc4::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates std::vector< ::Ifc4::IfcDefinitionSelect > Ifc4::IfcRelAssociates::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4::IfcDefinitionSelect>(es); } void Ifc4::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4_types[806]); } +const ifcopenshell::entity& Ifc4::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4_types[806]); } void Ifc4::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -12012,7 +12012,7 @@ void Ifc4::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwne void Ifc4::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4_types[807]); } +const ifcopenshell::entity& Ifc4::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4_types[807]); } void Ifc4::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -12020,7 +12020,7 @@ void Ifc4::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4: void Ifc4::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4_types[808]); } +const ifcopenshell::entity& Ifc4::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4_types[808]); } void Ifc4::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -12030,7 +12030,7 @@ void Ifc4::IfcRelAssociatesConstraint::setIntent(const std::optional< std::strin void Ifc4::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4_types[809]); } +const ifcopenshell::entity& Ifc4::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4_types[809]); } void Ifc4::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -12038,7 +12038,7 @@ void Ifc4::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc void Ifc4::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4_types[810]); } +const ifcopenshell::entity& Ifc4::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4_types[810]); } void Ifc4::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -12046,7 +12046,7 @@ void Ifc4::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4: void Ifc4::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4_types[811]); } +const ifcopenshell::entity& Ifc4::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4_types[811]); } void Ifc4::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -12054,13 +12054,13 @@ void Ifc4::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4:: void Ifc4::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4_types[812]); } +const ifcopenshell::entity& Ifc4::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4_types[812]); } void Ifc4::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4_types[814]); } +const ifcopenshell::entity& Ifc4::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4_types[814]); } void Ifc4::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -12072,7 +12072,7 @@ void Ifc4::IfcRelConnectsElements::setRelatingElement(const ::Ifc4::IfcElement& void Ifc4::IfcRelConnectsElements::setRelatedElement(const ::Ifc4::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4_types[815]); } +const ifcopenshell::entity& Ifc4::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4_types[815]); } void Ifc4::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4::IfcElement v6_RelatingElement, ::Ifc4::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -12081,13 +12081,13 @@ void Ifc4::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector< std::vector< int > /*[0:?]*/ Ifc4::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4::IfcConnectionTypeEnum::Value Ifc4::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4::IfcConnectionTypeEnum::Value Ifc4::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4_types[816]); } -void Ifc4::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4::IfcElement v6_RelatingElement, ::Ifc4::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4_types[816]); } +void Ifc4::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4::IfcElement v6_RelatingElement, ::Ifc4::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4::IfcPort Ifc4::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcPort>(); } @@ -12096,7 +12096,7 @@ void Ifc4::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4::IfcPort& v void Ifc4::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4_types[818]); } +const ifcopenshell::entity& Ifc4::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4_types[818]); } void Ifc4::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcPort v5_RelatingPort, ::Ifc4::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -12108,7 +12108,7 @@ void Ifc4::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4::IfcPort& v) { set_a void Ifc4::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4_types[817]); } +const ifcopenshell::entity& Ifc4::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4_types[817]); } void Ifc4::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcPort v5_RelatingPort, ::Ifc4::IfcPort v6_RelatedPort, ::Ifc4::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -12118,7 +12118,7 @@ void Ifc4::IfcRelConnectsStructuralActivity::setRelatingElement(const ::Ifc4::If void Ifc4::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4_types[819]); } +const ifcopenshell::entity& Ifc4::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4_types[819]); } void Ifc4::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -12136,7 +12136,7 @@ void Ifc4::IfcRelConnectsStructuralMember::setSupportedLength(const std::optiona void Ifc4::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4_types[820]); } +const ifcopenshell::entity& Ifc4::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4_types[820]); } void Ifc4::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -12144,7 +12144,7 @@ void Ifc4::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, : void Ifc4::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4_types[821]); } +const ifcopenshell::entity& Ifc4::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4_types[821]); } void Ifc4::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -12154,7 +12154,7 @@ std::optional< std::string > Ifc4::IfcRelConnectsWithRealizingElements::Connecti void Ifc4::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4_types[822]); } +const ifcopenshell::entity& Ifc4::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4_types[822]); } void Ifc4::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4::IfcElement v6_RelatingElement, ::Ifc4::IfcElement v7_RelatedElement, std::vector< ::Ifc4::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -12164,7 +12164,7 @@ void Ifc4::IfcRelContainedInSpatialStructure::setRelatedElements(const std::vect void Ifc4::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4_types[823]); } +const ifcopenshell::entity& Ifc4::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4_types[823]); } void Ifc4::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcProduct > v5_RelatedElements, ::Ifc4::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -12174,7 +12174,7 @@ std::vector< ::Ifc4::IfcCovering > Ifc4::IfcRelCoversBldgElements::RelatedCoveri void Ifc4::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4_types[824]); } +const ifcopenshell::entity& Ifc4::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4_types[824]); } void Ifc4::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -12184,7 +12184,7 @@ std::vector< ::Ifc4::IfcCovering > Ifc4::IfcRelCoversSpaces::RelatedCoverings() void Ifc4::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4_types[825]); } +const ifcopenshell::entity& Ifc4::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4_types[825]); } void Ifc4::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -12194,19 +12194,19 @@ std::vector< ::Ifc4::IfcDefinitionSelect > Ifc4::IfcRelDeclares::RelatedDefiniti void Ifc4::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4_types[826]); } +const ifcopenshell::entity& Ifc4::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4_types[826]); } void Ifc4::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcContext v5_RelatingContext, std::vector< ::Ifc4::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4_types[827]); } +const ifcopenshell::entity& Ifc4::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4_types[827]); } void Ifc4::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4_types[828]); } +const ifcopenshell::entity& Ifc4::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4_types[828]); } void Ifc4::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -12216,7 +12216,7 @@ void Ifc4::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::Ifc4::I void Ifc4::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4_types[829]); } +const ifcopenshell::entity& Ifc4::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4_types[829]); } void Ifc4::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObject > v5_RelatedObjects, ::Ifc4::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -12226,7 +12226,7 @@ void Ifc4::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< ::Ifc void Ifc4::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4_types[830]); } +const ifcopenshell::entity& Ifc4::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[830]); } void Ifc4::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -12236,7 +12236,7 @@ void Ifc4::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vector< :: void Ifc4::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4_types[831]); } +const ifcopenshell::entity& Ifc4::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4_types[831]); } void Ifc4::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -12246,7 +12246,7 @@ void Ifc4::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc4::Ifc void Ifc4::IfcRelDefinesByType::setRelatingType(const ::Ifc4::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4_types[832]); } +const ifcopenshell::entity& Ifc4::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4_types[832]); } void Ifc4::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObject > v5_RelatedObjects, ::Ifc4::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -12256,7 +12256,7 @@ void Ifc4::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4::IfcOpenin void Ifc4::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4_types[833]); } +const ifcopenshell::entity& Ifc4::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4_types[833]); } void Ifc4::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -12266,7 +12266,7 @@ void Ifc4::IfcRelFlowControlElements::setRelatedControlElements(const std::vecto void Ifc4::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4_types[834]); } +const ifcopenshell::entity& Ifc4::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4_types[834]); } void Ifc4::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -12282,7 +12282,7 @@ boost::logic::tribool Ifc4::IfcRelInterferesElements::ImpliedOrder() const { bo void Ifc4::IfcRelInterferesElements::setImpliedOrder(const boost::logic::tribool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4_types[835]); } +const ifcopenshell::entity& Ifc4::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4_types[835]); } void Ifc4::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcElement v5_RelatingElement, ::Ifc4::IfcElement v6_RelatedElement, ::Ifc4::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder)); } // Function implementations for IfcRelNests @@ -12292,7 +12292,7 @@ std::vector< ::Ifc4::IfcObjectDefinition > Ifc4::IfcRelNests::RelatedObjects() c void Ifc4::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4_types[836]); } +const ifcopenshell::entity& Ifc4::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4_types[836]); } void Ifc4::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelProjectsElement @@ -12302,7 +12302,7 @@ void Ifc4::IfcRelProjectsElement::setRelatingElement(const ::Ifc4::IfcElement& v void Ifc4::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4_types[837]); } +const ifcopenshell::entity& Ifc4::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4_types[837]); } void Ifc4::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcElement v5_RelatingElement, ::Ifc4::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -12312,7 +12312,7 @@ void Ifc4::IfcRelReferencedInSpatialStructure::setRelatedElements(const std::vec void Ifc4::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4_types[838]); } +const ifcopenshell::entity& Ifc4::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4_types[838]); } void Ifc4::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcProduct > v5_RelatedElements, ::Ifc4::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -12323,13 +12323,13 @@ void Ifc4::IfcRelSequence::setRelatedProcess(const ::Ifc4::IfcProcess& v) { set_ ::Ifc4::IfcLagTime Ifc4::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcLagTime>(); } void Ifc4::IfcRelSequence::setTimeLag(const ::Ifc4::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4::IfcSequenceEnum::Value > Ifc4::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4_types[839]); } -void Ifc4::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcProcess v5_RelatingProcess, ::Ifc4::IfcProcess v6_RelatedProcess, ::Ifc4::IfcLagTime v7_TimeLag, std::optional< ::Ifc4::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4_types[839]); } +void Ifc4::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcProcess v5_RelatingProcess, ::Ifc4::IfcProcess v6_RelatedProcess, ::Ifc4::IfcLagTime v7_TimeLag, std::optional< ::Ifc4::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4::IfcSystem Ifc4::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcSystem>(); } @@ -12338,7 +12338,7 @@ std::vector< ::Ifc4::IfcSpatialElement > Ifc4::IfcRelServicesBuildings::RelatedB void Ifc4::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4_types[840]); } +const ifcopenshell::entity& Ifc4::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4_types[840]); } void Ifc4::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -12349,31 +12349,31 @@ void Ifc4::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4::IfcEleme ::Ifc4::IfcConnectionGeometry Ifc4::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcConnectionGeometry>(); } void Ifc4::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4::IfcPhysicalOrVirtualEnum::Value Ifc4::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4::IfcInternalOrExternalEnum::Value Ifc4::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4_types[841]); } -void Ifc4::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4::IfcElement v6_RelatedBuildingElement, ::Ifc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4_types[841]); } +void Ifc4::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4::IfcElement v6_RelatedBuildingElement, ::Ifc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4::IfcRelSpaceBoundary1stLevel Ifc4::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4::IfcRelSpaceBoundary1stLevel>(); } void Ifc4::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4::IfcRelSpaceBoundary1stLevel> Ifc4::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[842], 9)); } +std::vector<::Ifc4::IfcRelSpaceBoundary1stLevel> Ifc4::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[842], 9)); } -const IfcParse::entity& Ifc4::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4_types[842]); } -void Ifc4::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4::IfcElement v6_RelatedBuildingElement, ::Ifc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4_types[842]); } +void Ifc4::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4::IfcElement v6_RelatedBuildingElement, ::Ifc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4::IfcRelSpaceBoundary2ndLevel Ifc4::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4::IfcRelSpaceBoundary2ndLevel> Ifc4::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[843], 10)); } +std::vector<::Ifc4::IfcRelSpaceBoundary2ndLevel> Ifc4::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[843], 10)); } -const IfcParse::entity& Ifc4::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4_types[843]); } -void Ifc4::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4::IfcElement v6_RelatedBuildingElement, ::Ifc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4_types[843]); } +void Ifc4::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4::IfcElement v6_RelatedBuildingElement, ::Ifc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4::IfcElement Ifc4::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcElement>(); } @@ -12382,13 +12382,13 @@ void Ifc4::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4::IfcEleme void Ifc4::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4_types[844]); } +const ifcopenshell::entity& Ifc4::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4_types[844]); } void Ifc4::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcElement v5_RelatingBuildingElement, ::Ifc4::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4_types[813]); } +const ifcopenshell::entity& Ifc4::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[813]); } void Ifc4::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -12396,8 +12396,8 @@ double Ifc4::IfcReparametrisedCompositeCurveSegment::ParamLength() const { doub void Ifc4::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4_types[845]); } -void Ifc4::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4_types[845]); } +void Ifc4::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4::IfcRepresentationContext Ifc4::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcRepresentationContext>(); } @@ -12409,11 +12409,11 @@ void Ifc4::IfcRepresentation::setRepresentationType(const std::optional< std::st std::vector< ::Ifc4::IfcRepresentationItem > Ifc4::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4::IfcRepresentationItem>(es); } void Ifc4::IfcRepresentation::setItems(const std::vector< ::Ifc4::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4::IfcRepresentationMap> Ifc4::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[849], 1)); } -std::vector<::Ifc4::IfcPresentationLayerAssignment> Ifc4::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[699], 2)); } -std::vector<::Ifc4::IfcProductRepresentation> Ifc4::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[712], 2)); } +std::vector<::Ifc4::IfcRepresentationMap> Ifc4::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[849], 1)); } +std::vector<::Ifc4::IfcPresentationLayerAssignment> Ifc4::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[699], 2)); } +std::vector<::Ifc4::IfcProductRepresentation> Ifc4::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[712], 2)); } -const IfcParse::entity& Ifc4::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4_types[846]); } +const ifcopenshell::entity& Ifc4::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4_types[846]); } void Ifc4::IfcRepresentation::initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -12422,17 +12422,17 @@ void Ifc4::IfcRepresentationContext::setContextIdentifier(const std::optional< s std::optional< std::string > Ifc4::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4::IfcRepresentation> Ifc4::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[846], 0)); } +std::vector<::Ifc4::IfcRepresentation> Ifc4::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[846], 0)); } -const IfcParse::entity& Ifc4::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4_types[847]); } +const ifcopenshell::entity& Ifc4::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4_types[847]); } void Ifc4::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4::IfcPresentationLayerAssignment> Ifc4::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[699], 2)); } -std::vector<::Ifc4::IfcStyledItem> Ifc4::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[994], 0)); } +std::vector<::Ifc4::IfcPresentationLayerAssignment> Ifc4::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[699], 2)); } +std::vector<::Ifc4::IfcStyledItem> Ifc4::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[994], 0)); } -const IfcParse::entity& Ifc4::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4_types[848]); } +const ifcopenshell::entity& Ifc4::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4_types[848]); } void Ifc4::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -12441,10 +12441,10 @@ void Ifc4::IfcRepresentationMap::setMappingOrigin(const ::Ifc4::IfcAxis2Placemen ::Ifc4::IfcRepresentation Ifc4::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4::IfcRepresentation>(); } void Ifc4::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4::IfcShapeAspect> Ifc4::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[890], 4)); } -std::vector<::Ifc4::IfcMappedItem> Ifc4::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[553], 0)); } +std::vector<::Ifc4::IfcShapeAspect> Ifc4::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[890], 4)); } +std::vector<::Ifc4::IfcMappedItem> Ifc4::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[553], 0)); } -const IfcParse::entity& Ifc4::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4_types[849]); } +const ifcopenshell::entity& Ifc4::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4_types[849]); } void Ifc4::IfcRepresentationMap::initialize(::Ifc4::IfcAxis2Placement v1_MappingOrigin, ::Ifc4::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -12453,9 +12453,9 @@ void Ifc4::IfcResource::setIdentification(const std::optional< std::string >& v) std::optional< std::string > Ifc4::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4::IfcRelAssignsToResource> Ifc4::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[805], 6)); } +std::vector<::Ifc4::IfcRelAssignsToResource> Ifc4::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[805], 6)); } -const IfcParse::entity& Ifc4::IfcResource::Class() { return *((IfcParse::entity*)IFC4_types[850]); } +const ifcopenshell::entity& Ifc4::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4_types[850]); } void Ifc4::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -12465,7 +12465,7 @@ void Ifc4::IfcResourceApprovalRelationship::setRelatedResourceObjects(const std: void Ifc4::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4_types[851]); } +const ifcopenshell::entity& Ifc4::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[851]); } void Ifc4::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -12475,7 +12475,7 @@ std::vector< ::Ifc4::IfcResourceObjectSelect > Ifc4::IfcResourceConstraintRelati void Ifc4::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4_types[852]); } +const ifcopenshell::entity& Ifc4::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[852]); } void Ifc4::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -12485,7 +12485,7 @@ std::optional< std::string > Ifc4::IfcResourceLevelRelationship::Description() c void Ifc4::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4_types[853]); } +const ifcopenshell::entity& Ifc4::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4_types[853]); } void Ifc4::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -12521,8 +12521,8 @@ std::optional< double > Ifc4::IfcResourceTime::Completion() const { if(get_attri void Ifc4::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4_types[856]); } -void Ifc4::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4_types[856]); } +void Ifc4::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4::IfcAxis1Placement Ifc4::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcAxis1Placement>(); } @@ -12531,7 +12531,7 @@ double Ifc4::IfcRevolvedAreaSolid::Angle() const { double v = get_attribute_val void Ifc4::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4_types[857]); } +const ifcopenshell::entity& Ifc4::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4_types[857]); } void Ifc4::IfcRevolvedAreaSolid::initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -12539,7 +12539,7 @@ void Ifc4::IfcRevolvedAreaSolid::initialize(::Ifc4::IfcProfileDef v1_SweptArea, void Ifc4::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4_types[858]); } +const ifcopenshell::entity& Ifc4::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4_types[858]); } void Ifc4::IfcRevolvedAreaSolidTapered::initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -12549,7 +12549,7 @@ double Ifc4::IfcRightCircularCone::BottomRadius() const { double v = get_attrib void Ifc4::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4_types[859]); } +const ifcopenshell::entity& Ifc4::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4_types[859]); } void Ifc4::IfcRightCircularCone::initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -12559,24 +12559,24 @@ double Ifc4::IfcRightCircularCylinder::Radius() const { double v = get_attribut void Ifc4::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4_types[860]); } +const ifcopenshell::entity& Ifc4::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4_types[860]); } void Ifc4::IfcRightCircularCylinder::initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoof std::optional< ::Ifc4::IfcRoofTypeEnum::Value > Ifc4::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcRoof::setPredefinedType(const std::optional< ::Ifc4::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcRoof::setPredefinedType(const std::optional< ::Ifc4::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcRoof::Class() { return *((IfcParse::entity*)IFC4_types[862]); } -void Ifc4::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4_types[862]); } +void Ifc4::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4::IfcRoofTypeEnum::Value Ifc4::IfcRoofType::PredefinedType() const { return ::Ifc4::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcRoofType::setPredefinedType(const ::Ifc4::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcRoofType::setPredefinedType(const ::Ifc4::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4_types[863]); } -void Ifc4::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4_types[863]); } +void Ifc4::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -12589,7 +12589,7 @@ std::optional< std::string > Ifc4::IfcRoot::Description() const { if(get_attribu void Ifc4::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcRoot::Class() { return *((IfcParse::entity*)IFC4_types[865]); } +const ifcopenshell::entity& Ifc4::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4_types[865]); } void Ifc4::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -12597,64 +12597,64 @@ double Ifc4::IfcRoundedRectangleProfileDef::RoundingRadius() const { double v = void Ifc4::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[870]); } -void Ifc4::IfcRoundedRectangleProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[870]); } +void Ifc4::IfcRoundedRectangleProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4::IfcSIPrefix::Value > Ifc4::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4::IfcSIUnit::setPrefix(const std::optional< ::Ifc4::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4::IfcSIUnit::setPrefix(const std::optional< ::Ifc4::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4::IfcSIUnitName::Value Ifc4::IfcSIUnit::Name() const { return ::Ifc4::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4::IfcSIUnit::setName(const ::Ifc4::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4::IfcSIUnit::setName(const ::Ifc4::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4_types[902]); } -void Ifc4::IfcSIUnit::initialize(::Ifc4::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4::IfcSIPrefix::Value > v3_Prefix, ::Ifc4::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4_types[902]); } +void Ifc4::IfcSIUnit::initialize(::Ifc4::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4::IfcSIPrefix::Value > v3_Prefix, ::Ifc4::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4::IfcSanitaryTerminalTypeEnum::Value > Ifc4::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4_types[871]); } -void Ifc4::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4_types[871]); } +void Ifc4::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4::IfcSanitaryTerminalTypeEnum::Value Ifc4::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4_types[872]); } -void Ifc4::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4_types[872]); } +void Ifc4::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4::IfcDataOriginEnum::Value > Ifc4::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4_types[874]); } -void Ifc4::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4_types[874]); } +void Ifc4::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4_types[875]); } -void Ifc4::IfcSeamCurve::initialize(::Ifc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[875]); } +void Ifc4::IfcSeamCurve::initialize(::Ifc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSectionProperties ::Ifc4::IfcSectionTypeEnum::Value Ifc4::IfcSectionProperties::SectionType() const { return ::Ifc4::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4::IfcSectionProperties::setSectionType(const ::Ifc4::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4::IfcSectionProperties::setSectionType(const ::Ifc4::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4::IfcProfileDef Ifc4::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4::IfcProfileDef>(); } void Ifc4::IfcSectionProperties::setStartProfile(const ::Ifc4::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4::IfcProfileDef Ifc4::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcProfileDef>(); } void Ifc4::IfcSectionProperties::setEndProfile(const ::Ifc4::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4_types[879]); } -void Ifc4::IfcSectionProperties::initialize(::Ifc4::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4::IfcProfileDef v2_StartProfile, ::Ifc4::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[879]); } +void Ifc4::IfcSectionProperties::initialize(::Ifc4::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4::IfcProfileDef v2_StartProfile, ::Ifc4::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -12664,15 +12664,15 @@ void Ifc4::IfcSectionReinforcementProperties::setLongitudinalEndPosition(const d std::optional< double > Ifc4::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4::IfcReinforcingBarRoleEnum::Value Ifc4::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4::IfcSectionProperties Ifc4::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4::IfcSectionProperties>(); } void Ifc4::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4::IfcReinforcementBarProperties > Ifc4::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4::IfcReinforcementBarProperties>(es); } void Ifc4::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4_types[880]); } -void Ifc4::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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(&::Ifc4::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[880]); } +void Ifc4::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSpine ::Ifc4::IfcCompositeCurve Ifc4::IfcSectionedSpine::SpineCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcCompositeCurve>(); } @@ -12683,40 +12683,40 @@ std::vector< ::Ifc4::IfcAxis2Placement3D > Ifc4::IfcSectionedSpine::CrossSection void Ifc4::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4_types[877]); } +const ifcopenshell::entity& Ifc4::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4_types[877]); } void Ifc4::IfcSectionedSpine::initialize(::Ifc4::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSensor std::optional< ::Ifc4::IfcSensorTypeEnum::Value > Ifc4::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSensor::setPredefinedType(const std::optional< ::Ifc4::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSensor::setPredefinedType(const std::optional< ::Ifc4::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSensor::Class() { return *((IfcParse::entity*)IFC4_types[883]); } -void Ifc4::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4_types[883]); } +void Ifc4::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4::IfcSensorTypeEnum::Value Ifc4::IfcSensorType::PredefinedType() const { return ::Ifc4::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSensorType::setPredefinedType(const ::Ifc4::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcSensorType::setPredefinedType(const ::Ifc4::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4_types[884]); } -void Ifc4::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4_types[884]); } +void Ifc4::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShadingDevice std::optional< ::Ifc4::IfcShadingDeviceTypeEnum::Value > Ifc4::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4_types[887]); } -void Ifc4::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[887]); } +void Ifc4::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4::IfcShadingDeviceTypeEnum::Value Ifc4::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcShadingDeviceType::setPredefinedType(const ::Ifc4::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcShadingDeviceType::setPredefinedType(const ::Ifc4::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[888]); } -void Ifc4::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[888]); } +void Ifc4::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4::IfcShapeModel > Ifc4::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcShapeModel>(es); } @@ -12731,20 +12731,20 @@ void Ifc4::IfcShapeAspect::setProductDefinitional(const boost::logic::tribool& v void Ifc4::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4_types[890]); } +const ifcopenshell::entity& Ifc4::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4_types[890]); } void Ifc4::IfcShapeAspect::initialize(std::vector< ::Ifc4::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4::IfcShapeAspect> Ifc4::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[890], 0)); } +std::vector<::Ifc4::IfcShapeAspect> Ifc4::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[890], 0)); } -const IfcParse::entity& Ifc4::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4_types[891]); } +const ifcopenshell::entity& Ifc4::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4_types[891]); } void Ifc4::IfcShapeModel::initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4_types[892]); } +const ifcopenshell::entity& Ifc4::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4_types[892]); } void Ifc4::IfcShapeRepresentation::initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -12752,18 +12752,18 @@ std::vector< ::Ifc4::IfcShell > Ifc4::IfcShellBasedSurfaceModel::SbsmBoundary() void Ifc4::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4_types[895]); } +const ifcopenshell::entity& Ifc4::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4_types[895]); } void Ifc4::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4_types[896]); } +const ifcopenshell::entity& Ifc4::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4_types[896]); } void Ifc4::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -12777,11 +12777,11 @@ void Ifc4::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4::IfcUnit& v) std::optional< std::string > Ifc4::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4::IfcStateEnum::Value > Ifc4::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4_types[897]); } -void Ifc4::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4::IfcPropertyEnumeration v8_Enumerators, ::Ifc4::IfcUnit v9_PrimaryUnit, ::Ifc4::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4_types[897]); } +void Ifc4::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4::IfcPropertyEnumeration v8_Enumerators, ::Ifc4::IfcUnit v9_PrimaryUnit, ::Ifc4::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSite std::optional< std::vector< int > /*[3:4]*/ > Ifc4::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } @@ -12796,36 +12796,36 @@ void Ifc4::IfcSite::setLandTitleNumber(const std::optional< std::string >& v) { void Ifc4::IfcSite::setSiteAddress(const ::Ifc4::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4::IfcSite::Class() { return *((IfcParse::entity*)IFC4_types[901]); } -void Ifc4::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::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)); } +const ifcopenshell::entity& Ifc4::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4_types[901]); } +void Ifc4::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4::IfcSlabTypeEnum::Value > Ifc4::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSlab::setPredefinedType(const std::optional< ::Ifc4::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSlab::setPredefinedType(const std::optional< ::Ifc4::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSlab::Class() { return *((IfcParse::entity*)IFC4_types[905]); } -void Ifc4::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4_types[905]); } +void Ifc4::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabElementedCase -const IfcParse::entity& Ifc4::IfcSlabElementedCase::Class() { return *((IfcParse::entity*)IFC4_types[906]); } -void Ifc4::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSlabElementedCase::Class() { return *((ifcopenshell::entity*)IFC4_types[906]); } +void Ifc4::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabStandardCase -const IfcParse::entity& Ifc4::IfcSlabStandardCase::Class() { return *((IfcParse::entity*)IFC4_types[907]); } -void Ifc4::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSlabStandardCase::Class() { return *((ifcopenshell::entity*)IFC4_types[907]); } +void Ifc4::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4::IfcSlabTypeEnum::Value Ifc4::IfcSlabType::PredefinedType() const { return ::Ifc4::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSlabType::setPredefinedType(const ::Ifc4::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcSlabType::setPredefinedType(const ::Ifc4::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4_types[908]); } -void Ifc4::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4_types[908]); } +void Ifc4::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -12836,78 +12836,78 @@ std::optional< double > Ifc4::IfcSlippageConnectionCondition::SlippageZ() const void Ifc4::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4_types[910]); } +const ifcopenshell::entity& Ifc4::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4_types[910]); } void Ifc4::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4::IfcSolarDeviceTypeEnum::Value > Ifc4::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4_types[911]); } -void Ifc4::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[911]); } +void Ifc4::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4::IfcSolarDeviceTypeEnum::Value Ifc4::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSolarDeviceType::setPredefinedType(const ::Ifc4::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcSolarDeviceType::setPredefinedType(const ::Ifc4::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[912]); } -void Ifc4::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[912]); } +void Ifc4::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4_types[915]); } +const ifcopenshell::entity& Ifc4::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4_types[915]); } void Ifc4::IfcSolidModel::initialize() { } // Function implementations for IfcSpace std::optional< ::Ifc4::IfcSpaceTypeEnum::Value > Ifc4::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSpace::setPredefinedType(const std::optional< ::Ifc4::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4::IfcSpace::setPredefinedType(const std::optional< ::Ifc4::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4::IfcRelCoversSpaces> Ifc4::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[825], 4)); } -std::vector<::Ifc4::IfcRelSpaceBoundary> Ifc4::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[841], 4)); } +std::vector<::Ifc4::IfcRelCoversSpaces> Ifc4::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[825], 4)); } +std::vector<::Ifc4::IfcRelSpaceBoundary> Ifc4::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[841], 4)); } -const IfcParse::entity& Ifc4::IfcSpace::Class() { return *((IfcParse::entity*)IFC4_types[921]); } -void Ifc4::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4_types[921]); } +void Ifc4::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4::IfcSpaceHeaterTypeEnum::Value > Ifc4::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4_types[923]); } -void Ifc4::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4_types[923]); } +void Ifc4::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4::IfcSpaceHeaterTypeEnum::Value Ifc4::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4_types[924]); } -void Ifc4::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4_types[924]); } +void Ifc4::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4::IfcSpaceTypeEnum::Value Ifc4::IfcSpaceType::PredefinedType() const { return ::Ifc4::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSpaceType::setPredefinedType(const ::Ifc4::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcSpaceType::setPredefinedType(const ::Ifc4::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4_types[926]); } -void Ifc4::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4_types[926]); } +void Ifc4::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4::IfcRelContainedInSpatialStructure> Ifc4::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[823], 5)); } -std::vector<::Ifc4::IfcRelServicesBuildings> Ifc4::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[840], 5)); } -std::vector<::Ifc4::IfcRelReferencedInSpatialStructure> Ifc4::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[838], 5)); } +std::vector<::Ifc4::IfcRelContainedInSpatialStructure> Ifc4::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[823], 5)); } +std::vector<::Ifc4::IfcRelServicesBuildings> Ifc4::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[840], 5)); } +std::vector<::Ifc4::IfcRelReferencedInSpatialStructure> Ifc4::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[838], 5)); } -const IfcParse::entity& Ifc4::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4_types[928]); } +const ifcopenshell::entity& Ifc4::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4_types[928]); } void Ifc4::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -12915,47 +12915,47 @@ std::optional< std::string > Ifc4::IfcSpatialElementType::ElementType() const { void Ifc4::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4_types[929]); } +const ifcopenshell::entity& Ifc4::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[929]); } void Ifc4::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4::IfcElementCompositionEnum::Value > Ifc4::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4_types[930]); } -void Ifc4::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4_types[930]); } +void Ifc4::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4_types[931]); } +const ifcopenshell::entity& Ifc4::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[931]); } void Ifc4::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4::IfcSpatialZoneTypeEnum::Value > Ifc4::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4_types[932]); } -void Ifc4::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4_types[932]); } +void Ifc4::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4::IfcSpatialZoneTypeEnum::Value Ifc4::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSpatialZoneType::setPredefinedType(const ::Ifc4::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcSpatialZoneType::setPredefinedType(const ::Ifc4::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4_types[933]); } -void Ifc4::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4_types[933]); } +void Ifc4::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcSphere::Class() { return *((IfcParse::entity*)IFC4_types[939]); } +const ifcopenshell::entity& Ifc4::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4_types[939]); } void Ifc4::IfcSphere::initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -12963,32 +12963,32 @@ double Ifc4::IfcSphericalSurface::Radius() const { double v = get_attribute_val void Ifc4::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4_types[940]); } +const ifcopenshell::entity& Ifc4::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[940]); } void Ifc4::IfcSphericalSurface::initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4::IfcStackTerminalTypeEnum::Value > Ifc4::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4_types[941]); } -void Ifc4::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4_types[941]); } +void Ifc4::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4::IfcStackTerminalTypeEnum::Value Ifc4::IfcStackTerminalType::PredefinedType() const { return ::Ifc4::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcStackTerminalType::setPredefinedType(const ::Ifc4::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcStackTerminalType::setPredefinedType(const ::Ifc4::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4_types[942]); } -void Ifc4::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4_types[942]); } +void Ifc4::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4::IfcStairTypeEnum::Value > Ifc4::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcStair::setPredefinedType(const std::optional< ::Ifc4::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcStair::setPredefinedType(const std::optional< ::Ifc4::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcStair::Class() { return *((IfcParse::entity*)IFC4_types[944]); } -void Ifc4::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4_types[944]); } +void Ifc4::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -13000,50 +13000,50 @@ void Ifc4::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { if std::optional< double > Ifc4::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4::IfcStairFlightTypeEnum::Value > Ifc4::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4_types[945]); } -void Ifc4::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4_types[945]); } +void Ifc4::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4::IfcStairFlightTypeEnum::Value Ifc4::IfcStairFlightType::PredefinedType() const { return ::Ifc4::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcStairFlightType::setPredefinedType(const ::Ifc4::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcStairFlightType::setPredefinedType(const ::Ifc4::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4_types[946]); } -void Ifc4::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4_types[946]); } +void Ifc4::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4::IfcStairTypeEnum::Value Ifc4::IfcStairType::PredefinedType() const { return ::Ifc4::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcStairType::setPredefinedType(const ::Ifc4::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcStairType::setPredefinedType(const ::Ifc4::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcStairType::Class() { return *((IfcParse::entity*)IFC4_types[948]); } -void Ifc4::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4_types[948]); } +void Ifc4::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4_types[951]); } -void Ifc4::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4_types[951]); } +void Ifc4::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4::IfcStructuralLoad Ifc4::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4::IfcStructuralLoad>(); } void Ifc4::IfcStructuralActivity::setAppliedLoad(const ::Ifc4::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4::IfcGlobalOrLocalEnum::Value Ifc4::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4::IfcRelConnectsStructuralActivity> Ifc4::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[819], 5)); } +std::vector<::Ifc4::IfcRelConnectsStructuralActivity> Ifc4::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[819], 5)); } -const IfcParse::entity& Ifc4::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4_types[952]); } -void Ifc4::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4_types[952]); } +void Ifc4::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4::IfcAnalysisModelTypeEnum::Value Ifc4::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4::IfcAxis2Placement3D Ifc4::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcAxis2Placement3D>(); } void Ifc4::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4::IfcStructuralLoadGroup > > Ifc4::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4::IfcStructuralLoadGroup>(es); } @@ -13054,16 +13054,16 @@ void Ifc4::IfcStructuralAnalysisModel::setHasResults(const std::optional< std::v void Ifc4::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4_types[954]); } -void Ifc4::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4_types[954]); } +void Ifc4::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4::IfcBoundaryCondition Ifc4::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4::IfcBoundaryCondition>(); } void Ifc4::IfcStructuralConnection::setAppliedCondition(const ::Ifc4::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4::IfcRelConnectsStructuralMember> Ifc4::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[820], 5)); } +std::vector<::Ifc4::IfcRelConnectsStructuralMember> Ifc4::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[820], 5)); } -const IfcParse::entity& Ifc4::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4_types[955]); } +const ifcopenshell::entity& Ifc4::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4_types[955]); } void Ifc4::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -13071,70 +13071,70 @@ std::optional< std::string > Ifc4::IfcStructuralConnectionCondition::Name() cons void Ifc4::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4_types[956]); } +const ifcopenshell::entity& Ifc4::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4_types[956]); } void Ifc4::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > Ifc4::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value Ifc4::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4_types[957]); } -void Ifc4::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4_types[957]); } +void Ifc4::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4::IfcDirection Ifc4::IfcStructuralCurveConnection::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4::IfcDirection>(); } void Ifc4::IfcStructuralCurveConnection::setAxis(const ::Ifc4::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4_types[959]); } +const ifcopenshell::entity& Ifc4::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4_types[959]); } void Ifc4::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMember ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value Ifc4::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4::IfcDirection Ifc4::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4::IfcDirection>(); } void Ifc4::IfcStructuralCurveMember::setAxis(const ::Ifc4::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4_types[960]); } -void Ifc4::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4_types[960]); } +void Ifc4::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4_types[962]); } -void Ifc4::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4_types[962]); } +void Ifc4::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value Ifc4::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4_types[963]); } -void Ifc4::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4_types[963]); } +void Ifc4::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4::IfcRelConnectsStructuralActivity> Ifc4::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[819], 4)); } +std::vector<::Ifc4::IfcRelConnectsStructuralActivity> Ifc4::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[819], 4)); } -const IfcParse::entity& Ifc4::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4_types[964]); } +const ifcopenshell::entity& Ifc4::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4_types[964]); } void Ifc4::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4_types[965]); } -void Ifc4::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4_types[965]); } +void Ifc4::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4_types[966]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4_types[966]); } void Ifc4::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -13142,8 +13142,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4::IfcStructuralLoadCase::Se void Ifc4::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4_types[967]); } -void Ifc4::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4_types[967]); } +void Ifc4::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4::IfcStructuralLoadOrResult > Ifc4::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4::IfcStructuralLoadOrResult>(es); } @@ -13152,26 +13152,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4::IfcStructuralLoadCon void Ifc4::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4_types[968]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4_types[968]); } void Ifc4::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4::IfcLoadGroupTypeEnum::Value Ifc4::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4::IfcActionTypeEnum::Value Ifc4::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4::IfcStructuralLoadGroup::setActionType(const ::Ifc4::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4::IfcStructuralLoadGroup::setActionType(const ::Ifc4::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4::IfcActionSourceTypeEnum::Value Ifc4::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcStructuralLoadGroup::setActionSource(const ::Ifc4::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4::IfcStructuralLoadGroup::setActionSource(const ::Ifc4::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4::IfcStructuralResultGroup> Ifc4::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[985], 6)); } -std::vector<::Ifc4::IfcStructuralAnalysisModel> Ifc4::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[954], 7)); } +std::vector<::Ifc4::IfcStructuralResultGroup> Ifc4::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[985], 6)); } +std::vector<::Ifc4::IfcStructuralAnalysisModel> Ifc4::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[954], 7)); } -const IfcParse::entity& Ifc4::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4_types[969]); } -void Ifc4::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4_types[969]); } +void Ifc4::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -13188,13 +13188,13 @@ std::optional< double > Ifc4::IfcStructuralLoadLinearForce::LinearMomentZ() cons void Ifc4::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4_types[970]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4_types[970]); } void Ifc4::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4_types[971]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4_types[971]); } void Ifc4::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -13206,7 +13206,7 @@ std::optional< double > Ifc4::IfcStructuralLoadPlanarForce::PlanarForceZ() const void Ifc4::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4_types[972]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4_types[972]); } void Ifc4::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -13224,7 +13224,7 @@ std::optional< double > Ifc4::IfcStructuralLoadSingleDisplacement::RotationalDis void Ifc4::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4_types[973]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4_types[973]); } void Ifc4::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -13232,7 +13232,7 @@ std::optional< double > Ifc4::IfcStructuralLoadSingleDisplacementDistortion::Dis void Ifc4::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4_types[974]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4_types[974]); } void Ifc4::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -13250,7 +13250,7 @@ std::optional< double > Ifc4::IfcStructuralLoadSingleForce::MomentZ() const { if void Ifc4::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4_types[975]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4_types[975]); } void Ifc4::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -13258,13 +13258,13 @@ std::optional< double > Ifc4::IfcStructuralLoadSingleForceWarping::WarpingMoment void Ifc4::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4_types[976]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4_types[976]); } void Ifc4::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4_types[977]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4_types[977]); } void Ifc4::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -13276,105 +13276,105 @@ std::optional< double > Ifc4::IfcStructuralLoadTemperature::DeltaTZ() const { if void Ifc4::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4_types[978]); } +const ifcopenshell::entity& Ifc4::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4_types[978]); } void Ifc4::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4::IfcRelConnectsStructuralMember> Ifc4::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[820], 4)); } +std::vector<::Ifc4::IfcRelConnectsStructuralMember> Ifc4::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[820], 4)); } -const IfcParse::entity& Ifc4::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4_types[979]); } +const ifcopenshell::entity& Ifc4::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4_types[979]); } void Ifc4::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4_types[980]); } -void Ifc4::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4_types[980]); } +void Ifc4::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4_types[981]); } -void Ifc4::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4_types[981]); } +void Ifc4::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4::IfcAxis2Placement3D Ifc4::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4::IfcAxis2Placement3D>(); } void Ifc4::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4_types[982]); } +const ifcopenshell::entity& Ifc4::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4_types[982]); } void Ifc4::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4_types[983]); } -void Ifc4::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4_types[983]); } +void Ifc4::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4_types[984]); } -void Ifc4::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4_types[984]); } +void Ifc4::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4::IfcAnalysisTheoryTypeEnum::Value Ifc4::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcStructuralResultGroup::setTheoryType(const ::Ifc4::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4::IfcStructuralResultGroup::setTheoryType(const ::Ifc4::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4::IfcStructuralLoadGroup Ifc4::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4::IfcStructuralLoadGroup>(); } void Ifc4::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4::IfcStructuralAnalysisModel> Ifc4::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[954], 8)); } +std::vector<::Ifc4::IfcStructuralAnalysisModel> Ifc4::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[954], 8)); } -const IfcParse::entity& Ifc4::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4_types[985]); } -void Ifc4::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4_types[985]); } +void Ifc4::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > Ifc4::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4_types[986]); } -void Ifc4::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4_types[986]); } +void Ifc4::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4_types[988]); } +const ifcopenshell::entity& Ifc4::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4_types[988]); } void Ifc4::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4_types[989]); } -void Ifc4::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4_types[989]); } +void Ifc4::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4_types[991]); } -void Ifc4::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4_types[991]); } +void Ifc4::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4_types[992]); } -void Ifc4::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4_types[992]); } +void Ifc4::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4_types[996]); } +const ifcopenshell::entity& Ifc4::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4_types[996]); } void Ifc4::IfcStyleModel::initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -13386,43 +13386,43 @@ std::optional< std::string > Ifc4::IfcStyledItem::Name() const { if(get_attribut void Ifc4::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4_types[994]); } +const ifcopenshell::entity& Ifc4::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4_types[994]); } void Ifc4::IfcStyledItem::initialize(::Ifc4::IfcRepresentationItem v1_Item, std::vector< ::Ifc4::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4_types[995]); } +const ifcopenshell::entity& Ifc4::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4_types[995]); } void Ifc4::IfcStyledRepresentation::initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4::IfcSubContractResourceTypeEnum::Value > Ifc4::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4_types[997]); } -void Ifc4::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4_types[997]); } +void Ifc4::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4::IfcSubContractResourceTypeEnum::Value Ifc4::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcSubContractResourceType::setPredefinedType(const ::Ifc4::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4::IfcSubContractResourceType::setPredefinedType(const ::Ifc4::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4_types[998]); } -void Ifc4::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4_types[998]); } +void Ifc4::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4::IfcEdge Ifc4::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcEdge>(); } void Ifc4::IfcSubedge::setParentEdge(const ::Ifc4::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4_types[1000]); } +const ifcopenshell::entity& Ifc4::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4_types[1000]); } void Ifc4::IfcSubedge::initialize(::Ifc4::IfcVertex v1_EdgeStart, ::Ifc4::IfcVertex v2_EdgeEnd, ::Ifc4::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4::IfcSurface::Class() { return *((IfcParse::entity*)IFC4_types[1001]); } +const ifcopenshell::entity& Ifc4::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[1001]); } void Ifc4::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -13431,11 +13431,11 @@ void Ifc4::IfcSurfaceCurve::setCurve3D(const ::Ifc4::IfcCurve& v) { set_attribut std::vector< ::Ifc4::IfcPcurve > Ifc4::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4::IfcPcurve>(es); } void Ifc4::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value Ifc4::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4_types[1002]); } -void Ifc4::IfcSurfaceCurve::initialize(::Ifc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[1002]); } +void Ifc4::IfcSurfaceCurve::initialize(::Ifc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4::IfcCurve Ifc4::IfcSurfaceCurveSweptAreaSolid::Directrix() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcCurve>(); } @@ -13448,16 +13448,16 @@ void Ifc4::IfcSurfaceCurveSweptAreaSolid::setEndParam(const std::optional< doubl void Ifc4::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4_types[1003]); } +const ifcopenshell::entity& Ifc4::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4_types[1003]); } void Ifc4::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix)); if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4::IfcSurfaceFeatureTypeEnum::Value > Ifc4::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4_types[1004]); } -void Ifc4::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4_types[1004]); } +void Ifc4::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4::IfcDirection Ifc4::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4::IfcDirection>(); } @@ -13466,7 +13466,7 @@ double Ifc4::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_attrib void Ifc4::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4_types[1006]); } +const ifcopenshell::entity& Ifc4::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4_types[1006]); } void Ifc4::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4::IfcProfileDef v1_SweptCurve, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -13474,7 +13474,7 @@ void Ifc4::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4::IfcProfileDef v1_Swep void Ifc4::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4_types[1007]); } +const ifcopenshell::entity& Ifc4::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4_types[1007]); } void Ifc4::IfcSurfaceOfRevolution::initialize(::Ifc4::IfcProfileDef v1_SweptCurve, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -13486,18 +13486,18 @@ std::optional< double > Ifc4::IfcSurfaceReinforcementArea::ShearReinforcement() void Ifc4::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4_types[1009]); } +const ifcopenshell::entity& Ifc4::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4_types[1009]); } void Ifc4::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4::IfcSurfaceSide::Value Ifc4::IfcSurfaceStyle::Side() const { return ::Ifc4::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4::IfcSurfaceStyle::setSide(const ::Ifc4::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4::IfcSurfaceStyle::setSide(const ::Ifc4::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4::IfcSurfaceStyleElementSelect > Ifc4::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4::IfcSurfaceStyleElementSelect>(es); } void Ifc4::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4_types[1011]); } -void Ifc4::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[1011]); } +void Ifc4::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4::IfcColourRgb Ifc4::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcColourRgb>(); } @@ -13510,7 +13510,7 @@ void Ifc4::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4::IfcColou void Ifc4::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4_types[1013]); } +const ifcopenshell::entity& Ifc4::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4_types[1013]); } void Ifc4::IfcSurfaceStyleLighting::initialize(::Ifc4::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4::IfcColourRgb v3_TransmissionColour, ::Ifc4::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -13520,7 +13520,7 @@ std::optional< double > Ifc4::IfcSurfaceStyleRefraction::DispersionFactor() cons void Ifc4::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4_types[1014]); } +const ifcopenshell::entity& Ifc4::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4_types[1014]); } void Ifc4::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -13537,11 +13537,11 @@ void Ifc4::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4::IfcColourOr ::Ifc4::IfcSpecularHighlightSelect Ifc4::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4::IfcSpecularHighlightSelect>(); } void Ifc4::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4::IfcReflectanceMethodEnum::Value Ifc4::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4_types[1015]); } -void Ifc4::IfcSurfaceStyleRendering::initialize(::Ifc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4::IfcColourOrFactor v3_DiffuseColour, ::Ifc4::IfcColourOrFactor v4_TransmissionColour, ::Ifc4::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4::IfcColourOrFactor v6_ReflectionColour, ::Ifc4::IfcColourOrFactor v7_SpecularColour, ::Ifc4::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4_types[1015]); } +void Ifc4::IfcSurfaceStyleRendering::initialize(::Ifc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4::IfcColourOrFactor v3_DiffuseColour, ::Ifc4::IfcColourOrFactor v4_TransmissionColour, ::Ifc4::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4::IfcColourOrFactor v6_ReflectionColour, ::Ifc4::IfcColourOrFactor v7_SpecularColour, ::Ifc4::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4::IfcColourRgb Ifc4::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcColourRgb>(); } @@ -13550,7 +13550,7 @@ std::optional< double > Ifc4::IfcSurfaceStyleShading::Transparency() const { if( void Ifc4::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4_types[1016]); } +const ifcopenshell::entity& Ifc4::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4_types[1016]); } void Ifc4::IfcSurfaceStyleShading::initialize(::Ifc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -13558,7 +13558,7 @@ std::vector< ::Ifc4::IfcSurfaceTexture > Ifc4::IfcSurfaceStyleWithTextures::Text void Ifc4::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4_types[1017]); } +const ifcopenshell::entity& Ifc4::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4_types[1017]); } void Ifc4::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -13573,10 +13573,10 @@ void Ifc4::IfcSurfaceTexture::setTextureTransform(const ::Ifc4::IfcCartesianTran std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4::IfcTextureCoordinate> Ifc4::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[1066], 0)); } -std::vector<::Ifc4::IfcSurfaceStyleWithTextures> Ifc4::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[1017], 0)); } +std::vector<::Ifc4::IfcTextureCoordinate> Ifc4::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[1066], 0)); } +std::vector<::Ifc4::IfcSurfaceStyleWithTextures> Ifc4::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[1017], 0)); } -const IfcParse::entity& Ifc4::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4_types[1018]); } +const ifcopenshell::entity& Ifc4::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4_types[1018]); } void Ifc4::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -13586,7 +13586,7 @@ void Ifc4::IfcSweptAreaSolid::setSweptArea(const ::Ifc4::IfcProfileDef& v) { set void Ifc4::IfcSweptAreaSolid::setPosition(const ::Ifc4::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4_types[1019]); } +const ifcopenshell::entity& Ifc4::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4_types[1019]); } void Ifc4::IfcSweptAreaSolid::initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -13602,7 +13602,7 @@ std::optional< double > Ifc4::IfcSweptDiskSolid::EndParam() const { if(get_attri void Ifc4::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4_types[1020]); } +const ifcopenshell::entity& Ifc4::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4_types[1020]); } void Ifc4::IfcSweptDiskSolid::initialize(::Ifc4::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -13610,7 +13610,7 @@ std::optional< double > Ifc4::IfcSweptDiskSolidPolygonal::FilletRadius() const { void Ifc4::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4_types[1021]); } +const ifcopenshell::entity& Ifc4::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4_types[1021]); } void Ifc4::IfcSweptDiskSolidPolygonal::initialize(::Ifc4::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -13620,47 +13620,47 @@ void Ifc4::IfcSweptSurface::setSweptCurve(const ::Ifc4::IfcProfileDef& v) { set_ void Ifc4::IfcSweptSurface::setPosition(const ::Ifc4::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4_types[1022]); } +const ifcopenshell::entity& Ifc4::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[1022]); } void Ifc4::IfcSweptSurface::initialize(::Ifc4::IfcProfileDef v1_SweptCurve, ::Ifc4::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4::IfcSwitchingDeviceTypeEnum::Value > Ifc4::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4_types[1023]); } -void Ifc4::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4_types[1023]); } +void Ifc4::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4::IfcSwitchingDeviceTypeEnum::Value Ifc4::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4_types[1024]); } -void Ifc4::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4_types[1024]); } +void Ifc4::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4::IfcRelServicesBuildings> Ifc4::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[840], 4)); } +std::vector<::Ifc4::IfcRelServicesBuildings> Ifc4::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[840], 4)); } -const IfcParse::entity& Ifc4::IfcSystem::Class() { return *((IfcParse::entity*)IFC4_types[1026]); } +const ifcopenshell::entity& Ifc4::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4_types[1026]); } void Ifc4::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > Ifc4::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4_types[1027]); } -void Ifc4::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4_types[1027]); } +void Ifc4::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > Ifc4::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4_types[1028]); } -void Ifc4::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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(&::Ifc4::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[1028]); } +void Ifc4::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -13683,8 +13683,8 @@ std::optional< double > Ifc4::IfcTShapeProfileDef::FlangeSlope() const { if(get_ void Ifc4::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[1102]); } -void Ifc4::IfcTShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[1102]); } +void Ifc4::IfcTShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -13695,7 +13695,7 @@ std::optional< std::vector< ::Ifc4::IfcTableColumn > > Ifc4::IfcTable::Columns() void Ifc4::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcTable::Class() { return *((IfcParse::entity*)IFC4_types[1030]); } +const ifcopenshell::entity& Ifc4::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4_types[1030]); } void Ifc4::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -13711,7 +13711,7 @@ void Ifc4::IfcTableColumn::setUnit(const ::Ifc4::IfcUnit& v) { set_attribute_val void Ifc4::IfcTableColumn::setReferencePath(const ::Ifc4::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4_types[1031]); } +const ifcopenshell::entity& Ifc4::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4_types[1031]); } void Ifc4::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4::IfcUnit v4_Unit, ::Ifc4::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -13721,24 +13721,24 @@ std::optional< bool > Ifc4::IfcTableRow::IsHeading() const { if(get_attribute_va void Ifc4::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4_types[1032]); } +const ifcopenshell::entity& Ifc4::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4_types[1032]); } void Ifc4::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4::IfcTankTypeEnum::Value > Ifc4::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcTank::setPredefinedType(const std::optional< ::Ifc4::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcTank::setPredefinedType(const std::optional< ::Ifc4::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcTank::Class() { return *((IfcParse::entity*)IFC4_types[1033]); } -void Ifc4::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4_types[1033]); } +void Ifc4::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4::IfcTankTypeEnum::Value Ifc4::IfcTankType::PredefinedType() const { return ::Ifc4::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcTankType::setPredefinedType(const ::Ifc4::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcTankType::setPredefinedType(const ::Ifc4::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcTankType::Class() { return *((IfcParse::entity*)IFC4_types[1034]); } -void Ifc4::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4_types[1034]); } +void Ifc4::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -13752,15 +13752,15 @@ void Ifc4::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_att ::Ifc4::IfcTaskTime Ifc4::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4::IfcTaskTime>(); } void Ifc4::IfcTask::setTaskTime(const ::Ifc4::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4::IfcTaskTypeEnum::Value > Ifc4::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4::IfcTask::setPredefinedType(const std::optional< ::Ifc4::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4::IfcTask::setPredefinedType(const std::optional< ::Ifc4::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4::IfcTask::Class() { return *((IfcParse::entity*)IFC4_types[1036]); } -void Ifc4::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4_types[1036]); } +void Ifc4::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4::IfcTaskDurationEnum::Value > Ifc4::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4::IfcTaskTime::setDurationType(const std::optional< ::Ifc4::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4::IfcTaskTime::setDurationType(const std::optional< ::Ifc4::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -13795,26 +13795,26 @@ std::optional< double > Ifc4::IfcTaskTime::Completion() const { if(get_attribute void Ifc4::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4_types[1038]); } -void Ifc4::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4_types[1038]); } +void Ifc4::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4::IfcRecurrencePattern Ifc4::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4::IfcRecurrencePattern>(); } void Ifc4::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4_types[1039]); } -void Ifc4::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4::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)); } +const ifcopenshell::entity& Ifc4::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4_types[1039]); } +void Ifc4::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4::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)); } // Function implementations for IfcTaskType ::Ifc4::IfcTaskTypeEnum::Value Ifc4::IfcTaskType::PredefinedType() const { return ::Ifc4::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcTaskType::setPredefinedType(const ::Ifc4::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcTaskType::setPredefinedType(const ::Ifc4::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4_types[1040]); } -void Ifc4::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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(&::Ifc4::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4_types[1040]); } +void Ifc4::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -13831,12 +13831,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4::IfcTelecomAddress::M void Ifc4::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4_types[1042]); } -void Ifc4::IfcTelecomAddress::initialize(std::optional< ::Ifc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4_types[1042]); } +void Ifc4::IfcTelecomAddress::initialize(std::optional< ::Ifc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4::IfcTendonTypeEnum::Value > Ifc4::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcTendon::setPredefinedType(const std::optional< ::Ifc4::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4::IfcTendon::setPredefinedType(const std::optional< ::Ifc4::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13853,28 +13853,28 @@ std::optional< double > Ifc4::IfcTendon::MinCurvatureRadius() const { if(get_att void Ifc4::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4::IfcTendon::Class() { return *((IfcParse::entity*)IFC4_types[1045]); } -void Ifc4::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4_types[1045]); } +void Ifc4::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4::IfcTendonAnchorTypeEnum::Value > Ifc4::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4_types[1046]); } -void Ifc4::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4_types[1046]); } +void Ifc4::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4::IfcTendonAnchorTypeEnum::Value Ifc4::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcTendonAnchorType::setPredefinedType(const ::Ifc4::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcTendonAnchorType::setPredefinedType(const ::Ifc4::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4_types[1047]); } -void Ifc4::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4_types[1047]); } +void Ifc4::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4::IfcTendonTypeEnum::Value Ifc4::IfcTendonType::PredefinedType() const { return ::Ifc4::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcTendonType::setPredefinedType(const ::Ifc4::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcTendonType::setPredefinedType(const ::Ifc4::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13883,23 +13883,23 @@ std::optional< double > Ifc4::IfcTendonType::SheathDiameter() const { if(get_att void Ifc4::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4_types[1049]); } -void Ifc4::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::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)); } } +const ifcopenshell::entity& Ifc4::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4_types[1049]); } +void Ifc4::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4::IfcCartesianPointList3D Ifc4::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcCartesianPointList3D>(); } void Ifc4::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4::IfcIndexedColourMap> Ifc4::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[479], 0)); } -std::vector<::Ifc4::IfcIndexedTextureMap> Ifc4::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[483], 1)); } +std::vector<::Ifc4::IfcIndexedColourMap> Ifc4::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[479], 0)); } +std::vector<::Ifc4::IfcIndexedTextureMap> Ifc4::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[483], 1)); } -const IfcParse::entity& Ifc4::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4_types[1051]); } +const ifcopenshell::entity& Ifc4::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4_types[1051]); } void Ifc4::IfcTessellatedFaceSet::initialize(::Ifc4::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4_types[1052]); } +const ifcopenshell::entity& Ifc4::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4_types[1052]); } void Ifc4::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -13908,11 +13908,11 @@ void Ifc4::IfcTextLiteral::setLiteral(const std::string& v) { set_attribute_valu ::Ifc4::IfcAxis2Placement Ifc4::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4::IfcAxis2Placement>(); } void Ifc4::IfcTextLiteral::setPlacement(const ::Ifc4::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4::IfcTextPath::Value Ifc4::IfcTextLiteral::Path() const { return ::Ifc4::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4::IfcTextLiteral::setPath(const ::Ifc4::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4::IfcTextLiteral::setPath(const ::Ifc4::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4_types[1058]); } -void Ifc4::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4::IfcAxis2Placement v2_Placement, ::Ifc4::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4_types[1058]); } +void Ifc4::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4::IfcAxis2Placement v2_Placement, ::Ifc4::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4::IfcPlanarExtent Ifc4::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4::IfcPlanarExtent>(); } @@ -13921,8 +13921,8 @@ std::string Ifc4::IfcTextLiteralWithExtent::BoxAlignment() const { std::string void Ifc4::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4_types[1059]); } -void Ifc4::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4::IfcAxis2Placement v2_Placement, ::Ifc4::IfcTextPath::Value v3_Path, ::Ifc4::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4_types[1059]); } +void Ifc4::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4::IfcAxis2Placement v2_Placement, ::Ifc4::IfcTextPath::Value v3_Path, ::Ifc4::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4::IfcTextStyleForDefinedFont Ifc4::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4::IfcTextStyleForDefinedFont>(); } @@ -13935,7 +13935,7 @@ std::optional< bool > Ifc4::IfcTextStyle::ModelOrDraughting() const { if(get_att void Ifc4::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4_types[1061]); } +const ifcopenshell::entity& Ifc4::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[1061]); } void Ifc4::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4::IfcTextStyleTextModel v3_TextStyle, ::Ifc4::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -13951,7 +13951,7 @@ void Ifc4::IfcTextStyleFontModel::setFontWeight(const std::optional< std::string void Ifc4::IfcTextStyleFontModel::setFontSize(const ::Ifc4::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4_types[1062]); } +const ifcopenshell::entity& Ifc4::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4_types[1062]); } void Ifc4::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -13961,7 +13961,7 @@ void Ifc4::IfcTextStyleForDefinedFont::setColour(const ::Ifc4::IfcColour& v) { s void Ifc4::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4_types[1063]); } +const ifcopenshell::entity& Ifc4::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4_types[1063]); } void Ifc4::IfcTextStyleForDefinedFont::initialize(::Ifc4::IfcColour v1_Colour, ::Ifc4::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -13981,7 +13981,7 @@ void Ifc4::IfcTextStyleTextModel::setTextTransform(const std::optional< std::str void Ifc4::IfcTextStyleTextModel::setLineHeight(const ::Ifc4::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4_types[1064]); } +const ifcopenshell::entity& Ifc4::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4_types[1064]); } void Ifc4::IfcTextStyleTextModel::initialize(::Ifc4::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4::IfcSizeSelect v4_LetterSpacing, ::Ifc4::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -13989,7 +13989,7 @@ std::vector< ::Ifc4::IfcSurfaceTexture > Ifc4::IfcTextureCoordinate::Maps() cons void Ifc4::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4_types[1066]); } +const ifcopenshell::entity& Ifc4::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4_types[1066]); } void Ifc4::IfcTextureCoordinate::initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -13999,7 +13999,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4::IfcTextureCoordinateGener void Ifc4::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4_types[1067]); } +const ifcopenshell::entity& Ifc4::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4_types[1067]); } void Ifc4::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureMap @@ -14009,7 +14009,7 @@ void Ifc4::IfcTextureMap::setVertices(const std::vector< ::Ifc4::IfcTextureVerte void Ifc4::IfcTextureMap::setMappedTo(const ::Ifc4::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4_types[1068]); } +const ifcopenshell::entity& Ifc4::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4_types[1068]); } void Ifc4::IfcTextureMap::initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4::IfcTextureVertex > v2_Vertices, ::Ifc4::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -14017,7 +14017,7 @@ std::vector< double > /*[2:2]*/ Ifc4::IfcTextureVertex::Coordinates() const { s void Ifc4::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4_types[1069]); } +const ifcopenshell::entity& Ifc4::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4_types[1069]); } void Ifc4::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -14025,7 +14025,7 @@ std::vector< std::vector< double > > Ifc4::IfcTextureVertexList::TexCoordsList() void Ifc4::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4_types[1070]); } +const ifcopenshell::entity& Ifc4::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4_types[1070]); } void Ifc4::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcTimePeriod @@ -14035,7 +14035,7 @@ std::string Ifc4::IfcTimePeriod::EndTime() const { std::string v = get_attribut void Ifc4::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4_types[1080]); } +const ifcopenshell::entity& Ifc4::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4_types[1080]); } void Ifc4::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -14048,37 +14048,37 @@ void Ifc4::IfcTimeSeries::setStartTime(const std::string& v) { set_attribute_val std::string Ifc4::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4::IfcTimeSeriesDataTypeEnum::Value Ifc4::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4::IfcDataOriginEnum::Value Ifc4::IfcTimeSeries::DataOrigin() const { return ::Ifc4::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcTimeSeries::setDataOrigin(const ::Ifc4::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4::IfcTimeSeries::setDataOrigin(const ::Ifc4::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4::IfcUnit Ifc4::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4::IfcUnit>(); } void Ifc4::IfcTimeSeries::setUnit(const ::Ifc4::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[380], 3)); } +std::vector<::Ifc4::IfcExternalReferenceRelationship> Ifc4::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[380], 3)); } -const IfcParse::entity& Ifc4::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4_types[1081]); } -void Ifc4::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4::IfcUnit v8_Unit) { 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(&::Ifc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4_types[1081]); } +void Ifc4::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4::IfcValue > Ifc4::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcValue>(es); } void Ifc4::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4_types[1083]); } +const ifcopenshell::entity& Ifc4::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4_types[1083]); } void Ifc4::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4_types[1085]); } +const ifcopenshell::entity& Ifc4::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4_types[1085]); } void Ifc4::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4_types[1086]); } +const ifcopenshell::entity& Ifc4::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4_types[1086]); } void Ifc4::IfcTopologyRepresentation::initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -14088,40 +14088,40 @@ double Ifc4::IfcToroidalSurface::MinorRadius() const { double v = get_attribute void Ifc4::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4_types[1087]); } +const ifcopenshell::entity& Ifc4::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4_types[1087]); } void Ifc4::IfcToroidalSurface::initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTransformer std::optional< ::Ifc4::IfcTransformerTypeEnum::Value > Ifc4::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4_types[1089]); } -void Ifc4::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4_types[1089]); } +void Ifc4::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4::IfcTransformerTypeEnum::Value Ifc4::IfcTransformerType::PredefinedType() const { return ::Ifc4::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcTransformerType::setPredefinedType(const ::Ifc4::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcTransformerType::setPredefinedType(const ::Ifc4::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4_types[1090]); } -void Ifc4::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4_types[1090]); } +void Ifc4::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportElement std::optional< ::Ifc4::IfcTransportElementTypeEnum::Value > Ifc4::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcTransportElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4_types[1094]); } -void Ifc4::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4_types[1094]); } +void Ifc4::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransportElementType ::Ifc4::IfcTransportElementTypeEnum::Value Ifc4::IfcTransportElementType::PredefinedType() const { return ::Ifc4::IfcTransportElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcTransportElementType::setPredefinedType(const ::Ifc4::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcTransportElementType::setPredefinedType(const ::Ifc4::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4_types[1095]); } -void Ifc4::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[1095]); } +void Ifc4::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTrapeziumProfileDef double Ifc4::IfcTrapeziumProfileDef::BottomXDim() const { double v = get_attribute_value(3); return v; } @@ -14134,8 +14134,8 @@ double Ifc4::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_attrib void Ifc4::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[1097]); } -void Ifc4::IfcTrapeziumProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[1097]); } +void Ifc4::IfcTrapeziumProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -14148,7 +14148,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4::IfcTriangulatedFaceSet::PnIn void Ifc4::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4_types[1098]); } +const ifcopenshell::entity& Ifc4::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4_types[1098]); } void Ifc4::IfcTriangulatedFaceSet::initialize(::Ifc4::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTrimmedCurve @@ -14161,27 +14161,27 @@ void Ifc4::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4::IfcTrimmingSelec bool Ifc4::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4::IfcTrimmingPreference::Value Ifc4::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4_types[1099]); } -void Ifc4::IfcTrimmedCurve::initialize(::Ifc4::IfcCurve v1_BasisCurve, std::vector< ::Ifc4::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4_types[1099]); } +void Ifc4::IfcTrimmedCurve::initialize(::Ifc4::IfcCurve v1_BasisCurve, std::vector< ::Ifc4::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4::IfcTubeBundleTypeEnum::Value > Ifc4::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4_types[1103]); } -void Ifc4::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4_types[1103]); } +void Ifc4::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4::IfcTubeBundleTypeEnum::Value Ifc4::IfcTubeBundleType::PredefinedType() const { return ::Ifc4::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcTubeBundleType::setPredefinedType(const ::Ifc4::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcTubeBundleType::setPredefinedType(const ::Ifc4::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4_types[1104]); } -void Ifc4::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4_types[1104]); } +void Ifc4::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -14189,9 +14189,9 @@ void Ifc4::IfcTypeObject::setApplicableOccurrence(const std::optional< std::stri std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > Ifc4::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4::IfcPropertySetDefinition>(es); } void Ifc4::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4::IfcRelDefinesByType> Ifc4::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[832], 5)); } +std::vector<::Ifc4::IfcRelDefinesByType> Ifc4::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[832], 5)); } -const IfcParse::entity& Ifc4::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4_types[1106]); } +const ifcopenshell::entity& Ifc4::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4_types[1106]); } void Ifc4::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -14202,9 +14202,9 @@ void Ifc4::IfcTypeProcess::setLongDescription(const std::optional< std::string > std::optional< std::string > Ifc4::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4::IfcRelAssignsToProcess> Ifc4::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[803], 6)); } +std::vector<::Ifc4::IfcRelAssignsToProcess> Ifc4::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[803], 6)); } -const IfcParse::entity& Ifc4::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4_types[1107]); } +const ifcopenshell::entity& Ifc4::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4_types[1107]); } void Ifc4::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -14213,9 +14213,9 @@ void Ifc4::IfcTypeProduct::setRepresentationMaps(const std::optional< std::vecto std::optional< std::string > Ifc4::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4::IfcRelAssignsToProduct> Ifc4::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[804], 6)); } +std::vector<::Ifc4::IfcRelAssignsToProduct> Ifc4::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[804], 6)); } -const IfcParse::entity& Ifc4::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4_types[1108]); } +const ifcopenshell::entity& Ifc4::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4_types[1108]); } void Ifc4::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -14226,9 +14226,9 @@ void Ifc4::IfcTypeResource::setLongDescription(const std::optional< std::string std::optional< std::string > Ifc4::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4::IfcRelAssignsToResource> Ifc4::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4_types[805], 6)); } +std::vector<::Ifc4::IfcRelAssignsToResource> Ifc4::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4_types[805], 6)); } -const IfcParse::entity& Ifc4::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4_types[1109]); } +const ifcopenshell::entity& Ifc4::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4_types[1109]); } void Ifc4::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -14248,64 +14248,64 @@ std::optional< double > Ifc4::IfcUShapeProfileDef::FlangeSlope() const { if(get_ void Ifc4::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[1120]); } -void Ifc4::IfcUShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[1120]); } +void Ifc4::IfcUShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4::IfcUnit > Ifc4::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4::IfcUnit>(es); } void Ifc4::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4_types[1117]); } +const ifcopenshell::entity& Ifc4::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4_types[1117]); } void Ifc4::IfcUnitAssignment::initialize(std::vector< ::Ifc4::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4::IfcUnitaryControlElementTypeEnum::Value > Ifc4::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4_types[1111]); } -void Ifc4::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4_types[1111]); } +void Ifc4::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4::IfcUnitaryControlElementTypeEnum::Value Ifc4::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4_types[1112]); } -void Ifc4::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4_types[1112]); } +void Ifc4::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value > Ifc4::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4_types[1114]); } -void Ifc4::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4_types[1114]); } +void Ifc4::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value Ifc4::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4_types[1115]); } -void Ifc4::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4_types[1115]); } +void Ifc4::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4::IfcValveTypeEnum::Value > Ifc4::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcValve::setPredefinedType(const std::optional< ::Ifc4::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcValve::setPredefinedType(const std::optional< ::Ifc4::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcValve::Class() { return *((IfcParse::entity*)IFC4_types[1122]); } -void Ifc4::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4_types[1122]); } +void Ifc4::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4::IfcValveTypeEnum::Value Ifc4::IfcValveType::PredefinedType() const { return ::Ifc4::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcValveType::setPredefinedType(const ::Ifc4::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcValveType::setPredefinedType(const ::Ifc4::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcValveType::Class() { return *((IfcParse::entity*)IFC4_types[1123]); } -void Ifc4::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4_types[1123]); } +void Ifc4::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4::IfcDirection Ifc4::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4::IfcDirection>(); } @@ -14314,13 +14314,13 @@ double Ifc4::IfcVector::Magnitude() const { double v = get_attribute_value(1); void Ifc4::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcVector::Class() { return *((IfcParse::entity*)IFC4_types[1126]); } +const ifcopenshell::entity& Ifc4::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4_types[1126]); } void Ifc4::IfcVector::initialize(::Ifc4::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4::IfcVertex::Class() { return *((IfcParse::entity*)IFC4_types[1128]); } +const ifcopenshell::entity& Ifc4::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4_types[1128]); } void Ifc4::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -14328,7 +14328,7 @@ void Ifc4::IfcVertex::initialize() { } void Ifc4::IfcVertexLoop::setLoopVertex(const ::Ifc4::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4_types[1129]); } +const ifcopenshell::entity& Ifc4::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4_types[1129]); } void Ifc4::IfcVertexLoop::initialize(::Ifc4::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -14336,29 +14336,29 @@ void Ifc4::IfcVertexLoop::initialize(::Ifc4::IfcVertex v1_LoopVertex) { set_attr void Ifc4::IfcVertexPoint::setVertexGeometry(const ::Ifc4::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4_types[1130]); } +const ifcopenshell::entity& Ifc4::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4_types[1130]); } void Ifc4::IfcVertexPoint::initialize(::Ifc4::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4::IfcVibrationIsolatorTypeEnum::Value > Ifc4::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4_types[1131]); } -void Ifc4::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4_types[1131]); } +void Ifc4::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4::IfcVibrationIsolatorTypeEnum::Value Ifc4::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4_types[1132]); } -void Ifc4::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4_types[1132]); } +void Ifc4::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement -const IfcParse::entity& Ifc4::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4_types[1134]); } +const ifcopenshell::entity& Ifc4::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4_types[1134]); } void Ifc4::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVirtualGridIntersection @@ -14368,60 +14368,60 @@ std::vector< double > /*[2:3]*/ Ifc4::IfcVirtualGridIntersection::OffsetDistance void Ifc4::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4_types[1135]); } +const ifcopenshell::entity& Ifc4::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4_types[1135]); } void Ifc4::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4::IfcVoidingFeatureTypeEnum::Value > Ifc4::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4_types[1136]); } -void Ifc4::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4_types[1136]); } +void Ifc4::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4::IfcWallTypeEnum::Value > Ifc4::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcWall::setPredefinedType(const std::optional< ::Ifc4::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcWall::setPredefinedType(const std::optional< ::Ifc4::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcWall::Class() { return *((IfcParse::entity*)IFC4_types[1140]); } -void Ifc4::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4_types[1140]); } +void Ifc4::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallElementedCase -const IfcParse::entity& Ifc4::IfcWallElementedCase::Class() { return *((IfcParse::entity*)IFC4_types[1141]); } -void Ifc4::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcWallElementedCase::Class() { return *((ifcopenshell::entity*)IFC4_types[1141]); } +void Ifc4::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4_types[1142]); } -void Ifc4::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4_types[1142]); } +void Ifc4::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4::IfcWallTypeEnum::Value Ifc4::IfcWallType::PredefinedType() const { return ::Ifc4::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcWallType::setPredefinedType(const ::Ifc4::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcWallType::setPredefinedType(const ::Ifc4::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcWallType::Class() { return *((IfcParse::entity*)IFC4_types[1143]); } -void Ifc4::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4_types[1143]); } +void Ifc4::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4::IfcWasteTerminalTypeEnum::Value > Ifc4::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4_types[1148]); } -void Ifc4::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4_types[1148]); } +void Ifc4::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4::IfcWasteTerminalTypeEnum::Value Ifc4::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcWasteTerminalType::setPredefinedType(const ::Ifc4::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcWasteTerminalType::setPredefinedType(const ::Ifc4::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4_types[1149]); } -void Ifc4::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4_types[1149]); } +void Ifc4::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWindow std::optional< double > Ifc4::IfcWindow::OverallHeight() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } @@ -14429,15 +14429,15 @@ void Ifc4::IfcWindow::setOverallHeight(const std::optional< double >& v) { if (v std::optional< double > Ifc4::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4::IfcWindowTypeEnum::Value > Ifc4::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcWindow::setPredefinedType(const std::optional< ::Ifc4::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4::IfcWindow::setPredefinedType(const std::optional< ::Ifc4::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4::IfcWindowTypePartitioningEnum::Value > Ifc4::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4::IfcWindow::setPartitioningType(const std::optional< ::Ifc4::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4::IfcWindow::setPartitioningType(const std::optional< ::Ifc4::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4::IfcWindow::Class() { return *((IfcParse::entity*)IFC4_types[1151]); } -void Ifc4::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4_types[1151]); } +void Ifc4::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -14466,14 +14466,14 @@ std::optional< double > Ifc4::IfcWindowLiningProperties::LiningToPanelOffsetY() void Ifc4::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4_types[1152]); } +const ifcopenshell::entity& Ifc4::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[1152]); } void Ifc4::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4::IfcWindowPanelOperationEnum::Value Ifc4::IfcWindowPanelProperties::OperationType() const { return ::Ifc4::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4::IfcWindowPanelProperties::setOperationType(const ::Ifc4::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4::IfcWindowPanelProperties::setOperationType(const ::Ifc4::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4::IfcWindowPanelPositionEnum::Value Ifc4::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -14482,42 +14482,42 @@ void Ifc4::IfcWindowPanelProperties::setFrameThickness(const std::optional< doub void Ifc4::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4_types[1155]); } -void Ifc4::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4::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)); } +const ifcopenshell::entity& Ifc4::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4_types[1155]); } +void Ifc4::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4::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)); } // Function implementations for IfcWindowStandardCase -const IfcParse::entity& Ifc4::IfcWindowStandardCase::Class() { return *((IfcParse::entity*)IFC4_types[1156]); } -void Ifc4::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4::IfcWindowStandardCase::Class() { return *((ifcopenshell::entity*)IFC4_types[1156]); } +void Ifc4::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowStyle ::Ifc4::IfcWindowStyleConstructionEnum::Value Ifc4::IfcWindowStyle::ConstructionType() const { return ::Ifc4::IfcWindowStyleConstructionEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcWindowStyle::setConstructionType(const ::Ifc4::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4::IfcWindowStyle::setConstructionType(const ::Ifc4::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4::IfcWindowStyleOperationEnum::Value Ifc4::IfcWindowStyle::OperationType() const { return ::Ifc4::IfcWindowStyleOperationEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcWindowStyle::setOperationType(const ::Ifc4::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcWindowStyle::setOperationType(const ::Ifc4::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4::IfcWindowStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4::IfcWindowStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4::IfcWindowStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4::IfcWindowStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4::IfcWindowStyle::Class() { return *((IfcParse::entity*)IFC4_types[1157]); } -void Ifc4::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4::IfcWindowStyle::Class() { return *((ifcopenshell::entity*)IFC4_types[1157]); } +void Ifc4::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcWindowType ::Ifc4::IfcWindowTypeEnum::Value Ifc4::IfcWindowType::PredefinedType() const { return ::Ifc4::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4::IfcWindowType::setPredefinedType(const ::Ifc4::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4::IfcWindowType::setPredefinedType(const ::Ifc4::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4::IfcWindowTypePartitioningEnum::Value Ifc4::IfcWindowType::PartitioningType() const { return ::Ifc4::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4::IfcWindowType::setPartitioningType(const ::Ifc4::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4::IfcWindowType::setPartitioningType(const ::Ifc4::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4_types[1160]); } -void Ifc4::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4_types[1160]); } +void Ifc4::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4::IfcWorkTime > > Ifc4::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4::IfcWorkTime>(es); } @@ -14525,11 +14525,11 @@ void Ifc4::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vector< :: std::optional< std::vector< ::Ifc4::IfcWorkTime > > Ifc4::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4::IfcWorkTime>(es); } void Ifc4::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4::IfcWorkCalendarTypeEnum::Value > Ifc4::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4_types[1163]); } -void Ifc4::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4_types[1163]); } +void Ifc4::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -14548,24 +14548,24 @@ std::optional< std::string > Ifc4::IfcWorkControl::FinishTime() const { if(get_a void Ifc4::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4_types[1165]); } +const ifcopenshell::entity& Ifc4::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4_types[1165]); } void Ifc4::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4::IfcWorkPlanTypeEnum::Value > Ifc4::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4_types[1166]); } -void Ifc4::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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(&::Ifc4::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4_types[1166]); } +void Ifc4::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4::IfcWorkScheduleTypeEnum::Value > Ifc4::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4_types[1168]); } -void Ifc4::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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(&::Ifc4::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4_types[1168]); } +void Ifc4::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4::IfcRecurrencePattern Ifc4::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4::IfcRecurrencePattern>(); } @@ -14576,8 +14576,8 @@ std::optional< std::string > Ifc4::IfcWorkTime::Finish() const { if(get_attribut void Ifc4::IfcWorkTime::setFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4_types[1170]); } -void Ifc4::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } +const ifcopenshell::entity& Ifc4::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4_types[1170]); } +void Ifc4::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } // Function implementations for IfcZShapeProfileDef double Ifc4::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -14594,14 +14594,14 @@ std::optional< double > Ifc4::IfcZShapeProfileDef::EdgeRadius() const { if(get_a void Ifc4::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4_types[1172]); } -void Ifc4::IfcZShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4_types[1172]); } +void Ifc4::IfcZShapeProfileDef::initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4::IfcZone::Class() { return *((IfcParse::entity*)IFC4_types[1171]); } +const ifcopenshell::entity& Ifc4::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4_types[1171]); } void Ifc4::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4.h b/src/ifcparse/schemas/Ifc4.h index 3838fdcdfb..8b2c53304d 100644 --- a/src/ifcparse/schemas/Ifc4.h +++ b/src/ifcparse/schemas/Ifc4.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1121,7 +1121,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1145,7 +1145,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1171,7 +1171,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1264,7 +1264,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1705,7 +1705,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1730,7 +1730,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1778,7 +1778,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1811,7 +1811,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1833,7 +1833,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1859,7 +1859,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1888,7 +1888,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -1929,7 +1929,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -1974,7 +1974,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2008,7 +2008,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2165,7 +2165,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2877,7 +2877,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2899,7 +2899,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2921,7 +2921,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2943,7 +2943,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3011,7 +3011,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3038,7 +3038,7 @@ public: IfcPresentationStyleSelect() {} explicit IfcPresentationStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyle as() const { return express::Base::as(); } @@ -3085,7 +3085,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3105,7 +3105,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3133,7 +3133,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3153,7 +3153,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3175,7 +3175,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3287,7 +3287,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3309,7 +3309,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3329,7 +3329,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3359,7 +3359,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3397,7 +3397,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3500,7 +3500,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3550,7 +3550,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3581,7 +3581,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3610,7 +3610,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3638,7 +3638,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3667,7 +3667,7 @@ public: IfcStyleAssignmentSelect() {} explicit IfcStyleAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPresentationStyle as() const { return express::Base::as(); } @@ -3695,7 +3695,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3729,7 +3729,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3773,7 +3773,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3794,7 +3794,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3816,7 +3816,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3840,7 +3840,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -3872,7 +3872,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -3907,7 +3907,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4588,7 +4588,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4610,7 +4610,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4638,13 +4638,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4657,13 +4657,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_SNOW_S, IfcActionSourceType_WIND_W, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_FIRE, IfcActionSourceType_IMPULSE, IfcActionSourceType_IMPACT, IfcActionSourceType_TRANSPORT, IfcActionSourceType_ERECTION, IfcActionSourceType_PROPPING, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_CREEP, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_BUOYANCY, IfcActionSourceType_ICE, IfcActionSourceType_CURRENT, IfcActionSourceType_WAVE, IfcActionSourceType_RAIN, IfcActionSourceType_BRAKES, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4678,13 +4678,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_EXTRAORDINARY_A, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4708,13 +4708,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4733,13 +4733,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_HOME, IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4758,13 +4758,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4785,13 +4785,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4815,13 +4815,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4843,13 +4843,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4863,13 +4863,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4884,13 +4884,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4910,13 +4910,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4936,13 +4936,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_SITE, IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4964,13 +4964,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4992,13 +4992,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5007,13 +5007,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5060,13 +5060,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_JOIST, IfcBeamType_HOLLOWCORE, IfcBeamType_LINTEL, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5114,13 +5114,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_EQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_INCLUDES, IfcBenchmark_NOTINCLUDES, IfcBenchmark_INCLUDEDIN, IfcBenchmark_NOTINCLUDEDIN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5137,13 +5137,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_WATER, IfcBoilerType_STEAM, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5160,13 +5160,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_UNION, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_DIFFERENCE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5182,13 +5182,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5207,13 +5207,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5235,13 +5235,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5256,13 +5256,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5280,13 +5280,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5304,13 +5304,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5329,13 +5329,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5355,13 +5355,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5380,13 +5380,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_NOCHANGE, IfcChangeAction_MODIFIED, IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5404,13 +5404,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_WATERCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5428,13 +5428,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5464,13 +5464,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5492,13 +5492,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PILASTER, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5522,13 +5522,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5544,13 +5544,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5580,13 +5580,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_DYNAMIC, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROTARY, IfcCompressorType_SCROLL, IfcCompressorType_TROCHOIDAL, IfcCompressorType_SINGLESTAGE, IfcCompressorType_BOOSTER, IfcCompressorType_OPENTYPE, IfcCompressorType_HERMETIC, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARYVANE, IfcCompressorType_SINGLESCREW, IfcCompressorType_TWINSCREW, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5607,13 +5607,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5641,13 +5641,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_ATEND, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5672,13 +5672,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_ADVISORY, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5700,13 +5700,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5729,13 +5729,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_NOTDEFINED, IfcConstructionMaterialResourceType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5751,13 +5751,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5779,13 +5779,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_MULTIPOSITION, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5812,13 +5812,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5838,13 +5838,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5858,13 +5858,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5885,13 +5885,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_TENDER, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5942,13 +5942,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_FLOORING, IfcCoveringType_CLADDING, IfcCoveringType_ROOFING, IfcCoveringType_MOLDING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_SLEEVING, IfcCoveringType_WRAPPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5964,13 +5964,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5987,13 +5987,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6018,13 +6018,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6049,13 +6049,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6071,13 +6071,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6142,13 +6142,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6164,13 +6164,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_POSITIVE, IfcDirectionSense_NEGATIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6187,13 +6187,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6217,13 +6217,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6232,13 +6232,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6293,13 +6293,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6319,13 +6319,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6336,13 +6336,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6383,13 +6383,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6404,13 +6404,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6425,13 +6425,13 @@ public: class IFC_PARSE_API IfcDoorStyleConstructionEnum : public express::DeclaredType { public: IfcDoorStyleConstructionEnum() {} - explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleConstruction_ALUMINIUM, IfcDoorStyleConstruction_HIGH_GRADE_STEEL, IfcDoorStyleConstruction_STEEL, IfcDoorStyleConstruction_WOOD, IfcDoorStyleConstruction_ALUMINIUM_WOOD, IfcDoorStyleConstruction_ALUMINIUM_PLASTIC, IfcDoorStyleConstruction_PLASTIC, IfcDoorStyleConstruction_USERDEFINED, IfcDoorStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6608,13 +6608,13 @@ public: class IFC_PARSE_API IfcDoorStyleOperationEnum : public express::DeclaredType { public: IfcDoorStyleOperationEnum() {} - explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleOperation_SINGLE_SWING_LEFT, IfcDoorStyleOperation_SINGLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorStyleOperation_DOUBLE_SWING_LEFT, IfcDoorStyleOperation_DOUBLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorStyleOperation_SLIDING_TO_LEFT, IfcDoorStyleOperation_SLIDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING, IfcDoorStyleOperation_FOLDING_TO_LEFT, IfcDoorStyleOperation_FOLDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING, IfcDoorStyleOperation_REVOLVING, IfcDoorStyleOperation_ROLLINGUP, IfcDoorStyleOperation_USERDEFINED, IfcDoorStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6638,13 +6638,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6832,13 +6832,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SLIDING, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_FOLDING, IfcDoorTypeOperation_REVOLVING, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6879,13 +6879,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6908,13 +6908,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6932,13 +6932,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6975,13 +6975,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6999,13 +6999,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7023,13 +7023,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7047,13 +7047,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7072,13 +7072,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7095,13 +7095,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7128,13 +7128,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7154,13 +7154,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7176,13 +7176,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7206,13 +7206,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7233,13 +7233,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7259,13 +7259,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7284,13 +7284,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_STARTEVENT, IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7314,13 +7314,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7342,13 +7342,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7365,13 +7365,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7392,13 +7392,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7419,13 +7419,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7441,13 +7441,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SOURCE, IfcFlowDirection_SINK, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7471,13 +7471,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7500,13 +7500,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7528,13 +7528,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7555,13 +7555,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_CHAIR, IfcFurnitureType_TABLE, IfcFurnitureType_DESK, IfcFurnitureType_BED, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7570,13 +7570,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_TERRAIN, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7625,13 +7625,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7645,13 +7645,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7660,13 +7660,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_RECTANGULAR, IfcGridType_RADIAL, IfcGridType_TRIANGULAR, IfcGridType_IRREGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7683,13 +7683,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7717,13 +7717,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7741,13 +7741,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7810,13 +7810,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7833,13 +7833,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7854,13 +7854,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7869,13 +7869,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_UNIFORM_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7907,13 +7907,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7938,13 +7938,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7961,13 +7961,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7989,13 +7989,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8020,13 +8020,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8045,13 +8045,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8080,13 +8080,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8338,13 +8338,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8369,13 +8369,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8396,13 +8396,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8453,13 +8453,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STRINGER, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8476,13 +8476,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8498,13 +8498,13 @@ public: class IFC_PARSE_API IfcNullStyle : public express::DeclaredType { public: IfcNullStyle() {} - explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNullStyle_NULL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8515,13 +8515,13 @@ public: class IFC_PARSE_API IfcObjectTypeEnum : public express::DeclaredType { public: IfcObjectTypeEnum() {} - explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjectType_PRODUCT, IfcObjectType_PROCESS, IfcObjectType_CONTROL, IfcObjectType_RESOURCE, IfcObjectType_ACTOR, IfcObjectType_GROUP, IfcObjectType_PROJECT, IfcObjectType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8558,13 +8558,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8585,13 +8585,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8619,13 +8619,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8646,13 +8646,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8666,13 +8666,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8702,13 +8702,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8725,13 +8725,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8762,13 +8762,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8798,13 +8798,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8825,13 +8825,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_DRIVEN, IfcPileType_JETGROUTING, IfcPileType_COHESION, IfcPileType_FRICTION, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8870,13 +8870,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8899,13 +8899,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8931,13 +8931,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_CURTAIN_PANEL, IfcPlateType_SHEET, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8946,13 +8946,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8974,13 +8974,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8996,13 +8996,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_CURVE, IfcProfileType_AREA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9021,13 +9021,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9041,13 +9041,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9067,13 +9067,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9119,13 +9119,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9140,13 +9140,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9169,13 +9169,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9211,13 +9211,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9245,13 +9245,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_HANDRAIL, IfcRailingType_GUARDRAIL, IfcRailingType_BALUSTRADE, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9270,13 +9270,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_STRAIGHT, IfcRampFlightType_SPIRAL, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9332,13 +9332,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_HALF_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9367,13 +9367,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_DAILY, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9397,13 +9397,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9430,13 +9430,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9453,13 +9453,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9468,13 +9468,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9483,13 +9483,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9526,13 +9526,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_SUPPLIER, IfcRole_MANUFACTURER, IfcRole_CONTRACTOR, IfcRole_SUBCONTRACTOR, IfcRole_ARCHITECT, IfcRole_STRUCTURALENGINEER, IfcRole_COSTENGINEER, IfcRole_CLIENT, IfcRole_BUILDINGOWNER, IfcRole_BUILDINGOPERATOR, IfcRole_MECHANICALENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_PROJECTMANAGER, IfcRole_FACILITIESMANAGER, IfcRole_CIVILENGINEER, IfcRole_COMMISSIONINGENGINEER, IfcRole_ENGINEER, IfcRole_OWNER, IfcRole_CONSULTANT, IfcRole_CONSTRUCTIONMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_RESELLER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9606,13 +9606,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_FLAT_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_BARREL_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FREEFORM, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9647,13 +9647,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_EXA, IfcSIPrefix_PETA, IfcSIPrefix_TERA, IfcSIPrefix_GIGA, IfcSIPrefix_MEGA, IfcSIPrefix_KILO, IfcSIPrefix_HECTO, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_CENTI, IfcSIPrefix_MILLI, IfcSIPrefix_MICRO, IfcSIPrefix_NANO, IfcSIPrefix_PICO, IfcSIPrefix_FEMTO, IfcSIPrefix_ATTO} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9700,13 +9700,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9733,13 +9733,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9757,13 +9757,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_UNIFORM, IfcSectionType_TAPERED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9799,13 +9799,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_COSENSOR, IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9818,13 +9818,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_START_START, IfcSequence_START_FINISH, IfcSequence_FINISH_START, IfcSequence_FINISH_FINISH, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9842,13 +9842,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_AWNING, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9874,13 +9874,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_WEIGHT, IfcSimplePropertyTemplateType_Q_TIME} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9920,13 +9920,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_FLOOR, IfcSlabType_ROOF, IfcSlabType_LANDING, IfcSlabType_BASESLAB, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9943,13 +9943,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9969,13 +9969,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10018,13 +10018,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_SPACE, IfcSpaceType_PARKING, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_EXTERNAL, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10057,13 +10057,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10080,13 +10080,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10109,13 +10109,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_SPIRAL, IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10216,13 +10216,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_CURVED_RUN_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10243,13 +10243,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_READWRITE, IfcState_READONLY, IfcState_LOCKED, IfcState_READWRITELOCKED, IfcState_READONLYLOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10272,13 +10272,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10304,13 +10304,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10330,13 +10330,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10358,13 +10358,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10380,13 +10380,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10405,13 +10405,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10430,13 +10430,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_POSITIVE, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_BOTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10460,13 +10460,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10482,13 +10482,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10519,13 +10519,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10540,13 +10540,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10572,13 +10572,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ATTENDANCE, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10587,13 +10587,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10602,13 +10602,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10623,13 +10623,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP, IfcTextPath_DOWN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10648,13 +10648,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10673,13 +10673,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10703,13 +10703,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_DISCONTINUOUS, IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10741,13 +10741,13 @@ public: class IFC_PARSE_API IfcTransportElementTypeEnum : public express::DeclaredType { public: IfcTransportElementTypeEnum() {} - explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementType_ELEVATOR, IfcTransportElementType_ESCALATOR, IfcTransportElementType_MOVINGWALKWAY, IfcTransportElementType_CRANEWAY, IfcTransportElementType_LIFTINGGEAR, IfcTransportElementType_USERDEFINED, IfcTransportElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10766,13 +10766,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10788,13 +10788,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10838,13 +10838,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10868,13 +10868,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10894,13 +10894,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10951,13 +10951,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DRAWOFFCOCK, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10974,13 +10974,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11002,13 +11002,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11053,13 +11053,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_POLYGONAL, IfcWallType_ELEMENTEDWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11081,13 +11081,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11179,13 +11179,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11257,13 +11257,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11278,13 +11278,13 @@ public: class IFC_PARSE_API IfcWindowStyleConstructionEnum : public express::DeclaredType { public: IfcWindowStyleConstructionEnum() {} - explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleConstruction_ALUMINIUM, IfcWindowStyleConstruction_HIGH_GRADE_STEEL, IfcWindowStyleConstruction_STEEL, IfcWindowStyleConstruction_WOOD, IfcWindowStyleConstruction_ALUMINIUM_WOOD, IfcWindowStyleConstruction_PLASTIC, IfcWindowStyleConstruction_OTHER_CONSTRUCTION, IfcWindowStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11366,13 +11366,13 @@ public: class IFC_PARSE_API IfcWindowStyleOperationEnum : public express::DeclaredType { public: IfcWindowStyleOperationEnum() {} - explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleOperation_SINGLE_PANEL, IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL, IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL, IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM, IfcWindowStyleOperation_TRIPLE_PANEL_TOP, IfcWindowStyleOperation_TRIPLE_PANEL_LEFT, IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT, IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_USERDEFINED, IfcWindowStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11396,13 +11396,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_WINDOW, IfcWindowType_SKYLIGHT, IfcWindowType_LIGHTDOME, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11481,13 +11481,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11506,13 +11506,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11531,13 +11531,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11556,13 +11556,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11575,9 +11575,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11589,9 +11589,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11606,9 +11606,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11620,9 +11620,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11630,9 +11630,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -11640,9 +11640,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11656,9 +11656,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11666,9 +11666,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -11680,9 +11680,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -11732,9 +11732,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -11752,9 +11752,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -11809,9 +11809,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -11824,9 +11824,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11839,9 +11839,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11855,9 +11855,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11870,9 +11870,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -11897,9 +11897,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -11918,9 +11918,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -11961,9 +11961,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -11976,9 +11976,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -11992,9 +11992,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12006,9 +12006,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12020,9 +12020,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12035,9 +12035,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12049,9 +12049,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12063,9 +12063,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12077,9 +12077,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12093,9 +12093,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12107,9 +12107,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12121,9 +12121,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12135,9 +12135,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12158,9 +12158,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12179,9 +12179,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12211,9 +12211,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12225,9 +12225,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12239,9 +12239,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12261,9 +12261,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12275,9 +12275,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12287,9 +12287,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12310,9 +12310,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12324,9 +12324,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12338,9 +12338,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12354,9 +12354,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12370,9 +12370,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12382,9 +12382,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12396,9 +12396,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12410,9 +12410,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12433,9 +12433,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12452,9 +12452,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12468,9 +12468,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12478,9 +12478,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -12492,9 +12492,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12506,9 +12506,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12520,9 +12520,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12534,9 +12534,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12548,9 +12548,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -12562,9 +12562,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12578,9 +12578,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12594,9 +12594,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12608,9 +12608,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12622,9 +12622,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12636,9 +12636,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12650,9 +12650,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12666,9 +12666,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12682,9 +12682,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12696,9 +12696,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12710,9 +12710,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12724,9 +12724,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12742,9 +12742,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12756,9 +12756,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12770,9 +12770,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12784,9 +12784,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12797,9 +12797,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12862,9 +12862,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12876,9 +12876,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12891,9 +12891,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12903,9 +12903,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12919,9 +12919,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12933,9 +12933,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12953,9 +12953,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12963,9 +12963,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12978,9 +12978,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12993,9 +12993,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13007,9 +13007,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13025,9 +13025,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13039,9 +13039,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13049,9 +13049,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4::IfcPropertySetDefinition >() const; }; @@ -13063,9 +13063,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13082,9 +13082,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13098,9 +13098,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13112,9 +13112,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13127,9 +13127,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13141,9 +13141,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13155,9 +13155,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13169,9 +13169,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13183,9 +13183,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13199,9 +13199,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13209,9 +13209,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13223,9 +13223,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13233,9 +13233,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13247,9 +13247,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13261,9 +13261,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13277,9 +13277,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13295,9 +13295,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13309,9 +13309,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13323,9 +13323,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13343,9 +13343,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13362,9 +13362,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13384,9 +13384,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13412,9 +13412,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13431,9 +13431,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13445,9 +13445,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13459,9 +13459,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13472,9 +13472,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13485,9 +13485,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13499,9 +13499,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13515,9 +13515,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13532,9 +13532,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13548,9 +13548,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13561,9 +13561,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13575,9 +13575,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13591,9 +13591,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13605,9 +13605,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13621,9 +13621,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13635,9 +13635,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13649,9 +13649,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13663,9 +13663,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13697,9 +13697,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13711,9 +13711,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13726,9 +13726,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13747,7 +13747,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -13764,7 +13764,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -13775,7 +13775,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4::IfcAddressTypeEnum::Value > Purpose() const; @@ -13792,7 +13792,7 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -13801,7 +13801,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4::IfcOrganization ApplicationDeveloper() const; @@ -13816,7 +13816,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -13836,7 +13836,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -13874,7 +13874,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -13885,7 +13885,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -13926,7 +13926,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4::IfcActorSelect v8_RequestingApproval, ::Ifc4::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -13947,13 +13947,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -13969,7 +13969,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -13990,7 +13990,7 @@ public: ::Ifc4::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14006,7 +14006,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14018,7 +14018,7 @@ public: ::Ifc4::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14034,7 +14034,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14055,7 +14055,7 @@ public: ::Ifc4::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14070,13 +14070,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14096,10 +14096,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14121,7 +14121,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14130,7 +14130,7 @@ public: ::Ifc4::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14144,7 +14144,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14153,7 +14153,7 @@ public: ::Ifc4::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14165,7 +14165,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14174,7 +14174,7 @@ public: ::Ifc4::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14192,7 +14192,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14221,7 +14221,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14273,7 +14273,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14282,7 +14282,7 @@ public: ::Ifc4::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14310,7 +14310,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -14334,7 +14334,7 @@ public: void setVerticalDatum(const std::optional< std::string >& v); std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -14382,10 +14382,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -14398,7 +14398,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4::IfcDerivedUnitElement > Elements() const; @@ -14409,7 +14409,7 @@ public: std::optional< std::string > UserDefinedType() const; void setUserDefinedType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcDerivedUnitElement > v1_Elements, ::Ifc4::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -14424,7 +14424,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4::IfcNamedUnit Unit() const; @@ -14433,7 +14433,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -14456,7 +14456,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -14480,7 +14480,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -14492,10 +14492,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -14510,7 +14510,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -14533,7 +14533,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -14547,10 +14547,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -14563,10 +14563,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -14579,10 +14579,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -14611,7 +14611,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -14627,7 +14627,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -14636,7 +14636,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -14645,7 +14645,7 @@ public: std::vector< ::Ifc4::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -14659,7 +14659,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -14685,7 +14685,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -14698,7 +14698,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -14715,7 +14715,7 @@ public: void setReferencedLibrary(const ::Ifc4::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -14736,7 +14736,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -14750,7 +14750,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -14759,7 +14759,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -14768,7 +14768,7 @@ public: std::vector< ::Ifc4::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -14785,7 +14785,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -14813,7 +14813,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -14824,7 +14824,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4::IfcClassificationSelect > MaterialClassifications() const; @@ -14833,7 +14833,7 @@ public: ::Ifc4::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -14863,13 +14863,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -14898,7 +14898,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4::IfcMaterial Material() const; @@ -14931,7 +14931,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -14970,7 +14970,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4::IfcMaterialLayer > MaterialLayers() const; @@ -14984,7 +14984,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15033,7 +15033,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15042,7 +15042,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15065,13 +15065,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15082,7 +15082,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15104,7 +15104,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_Material, ::Ifc4::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15115,7 +15115,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15133,7 +15133,7 @@ public: ::Ifc4::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15144,13 +15144,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_Material, ::Ifc4::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15187,11 +15187,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15207,7 +15207,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4::IfcValue ValueComponent() const; @@ -15216,7 +15216,7 @@ public: ::Ifc4::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcValue v1_ValueComponent, ::Ifc4::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15274,7 +15274,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4::IfcBenchmarkEnum::Value Benchmark() const; @@ -15288,7 +15288,7 @@ public: ::Ifc4::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4::IfcMetricValueSelect v10_DataValue, ::Ifc4::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15299,13 +15299,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15316,7 +15316,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4::IfcDimensionalExponents Dimensions() const; @@ -15325,7 +15325,7 @@ public: ::Ifc4::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -15342,12 +15342,12 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement std::vector< IfcLocalPlacement > ReferencedByPlacements() const; // INVERSE IfcLocalPlacement::PlacementRelTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -15362,7 +15362,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4::IfcConstraint > > BenchmarkValues() const; @@ -15376,7 +15376,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -15390,7 +15390,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -15412,7 +15412,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -15428,7 +15428,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4::IfcPersonAndOrganization OwningUser() const; @@ -15455,7 +15455,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcPersonAndOrganization v1_OwningUser, ::Ifc4::IfcApplication v2_OwningApplication, std::optional< ::Ifc4::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -15470,7 +15470,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -15504,7 +15504,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -15515,7 +15515,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4::IfcPerson ThePerson() const; @@ -15527,7 +15527,7 @@ public: std::optional< std::vector< ::Ifc4::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcPerson v1_ThePerson, ::Ifc4::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -15538,7 +15538,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -15549,7 +15549,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -15564,13 +15564,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -15579,7 +15579,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -15609,17 +15609,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -15640,7 +15640,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -15655,7 +15655,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -15674,7 +15674,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -15693,7 +15693,7 @@ public: std::vector< ::Ifc4::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -15704,13 +15704,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The presentation style assignment is a set of styles which are assigned to styled items for the purpose of presenting these styled items. @@ -15721,13 +15721,13 @@ public: class IFC_PARSE_API IfcPresentationStyleAssignment : public express::Entity { public: IfcPresentationStyleAssignment() {} - explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// A set of presentation styles that are assigned to styled items. std::vector< ::Ifc4::IfcPresentationStyleSelect > Styles() const; void setStyles(const std::vector< ::Ifc4::IfcPresentationStyleSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcPresentationStyleSelect > v1_Styles); }; /// IfcProductRepresentation defines a representation of a @@ -15750,7 +15750,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -15762,7 +15762,7 @@ public: std::vector< ::Ifc4::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -15938,7 +15938,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4::IfcProfileTypeEnum::Value ProfileType() const; @@ -15949,7 +15949,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -15978,7 +15978,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} /// Name by which the map projection is identified. /// @@ -15997,18 +15997,18 @@ public: ::Ifc4::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16060,7 +16060,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16072,7 +16072,7 @@ public: ::Ifc4::IfcUnit Unit() const; void setUnit(const ::Ifc4::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4::IfcValue > v2_EnumerationValues, ::Ifc4::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16083,7 +16083,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16094,7 +16094,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16105,7 +16105,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. double CountValue() const; @@ -16116,7 +16116,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16127,7 +16127,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16138,7 +16138,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16149,7 +16149,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16160,7 +16160,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16171,7 +16171,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16182,7 +16182,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16193,7 +16193,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16204,7 +16204,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16216,7 +16216,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16256,14 +16256,14 @@ public: std::optional< std::vector< ::Ifc4::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16276,7 +16276,7 @@ public: ::Ifc4::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16328,7 +16328,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4::IfcRepresentationContext ContextOfItems() const; @@ -16347,7 +16347,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -16363,7 +16363,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -16373,7 +16373,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -16411,12 +16411,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -16433,7 +16433,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -16445,7 +16445,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement v1_MappingOrigin, ::Ifc4::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -16454,7 +16454,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -16463,7 +16463,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -16478,7 +16478,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -16497,7 +16497,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -16510,7 +16510,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4::IfcSIPrefix::Value > Prefix() const; @@ -16521,7 +16521,7 @@ public: ::Ifc4::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4::IfcSIPrefix::Value > v3_Prefix, ::Ifc4::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -16530,7 +16530,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -16543,7 +16543,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -16586,7 +16586,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -16608,7 +16608,7 @@ public: ::Ifc4::IfcProductRepresentationSelect PartOfProductDefinitionShape() const; void setPartOfProductDefinitionShape(const ::Ifc4::IfcProductRepresentationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -16632,11 +16632,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -16777,10 +16777,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -16789,13 +16789,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -16804,13 +16804,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -16827,7 +16827,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4::IfcStructuralLoadOrResult > Values() const; @@ -16836,7 +16836,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -16845,10 +16845,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -16857,10 +16857,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -16871,7 +16871,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -16889,7 +16889,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -16900,10 +16900,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -16937,7 +16937,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -16956,7 +16956,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRepresentationItem v1_Item, std::vector< ::Ifc4::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -16969,10 +16969,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -16983,7 +16983,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -16995,7 +16995,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17008,7 +17008,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4::IfcSurfaceSide::Value Side() const; @@ -17017,7 +17017,7 @@ public: std::vector< ::Ifc4::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17034,7 +17034,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17053,7 +17053,7 @@ public: ::Ifc4::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4::IfcColourRgb v3_TransmissionColour, ::Ifc4::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17064,7 +17064,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17073,7 +17073,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17086,7 +17086,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4::IfcColourRgb SurfaceColour() const; @@ -17094,7 +17094,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17118,13 +17118,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17222,7 +17222,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17253,7 +17253,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17274,7 +17274,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17286,7 +17286,7 @@ public: std::optional< std::vector< ::Ifc4::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17297,7 +17297,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17314,7 +17314,7 @@ public: ::Ifc4::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4::IfcUnit v4_Unit, ::Ifc4::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17333,7 +17333,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4::IfcValue > > RowCells() const; @@ -17342,7 +17342,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -17356,7 +17356,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -17464,7 +17464,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -17473,12 +17473,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -17490,7 +17490,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -17514,7 +17514,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -17548,7 +17548,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -17568,7 +17568,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4::IfcTextStyleTextModel v3_TextStyle, ::Ifc4::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -17591,7 +17591,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4::IfcColour Colour() const; @@ -17600,7 +17600,7 @@ public: ::Ifc4::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcColour v1_Colour, ::Ifc4::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -17613,7 +17613,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -17644,7 +17644,7 @@ public: ::Ifc4::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4::IfcSizeSelect v4_LetterSpacing, ::Ifc4::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -17661,12 +17661,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -17698,7 +17698,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -17711,7 +17711,7 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; /// An IfcTextureMap provides the mapping of the @@ -17768,7 +17768,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -17778,7 +17778,7 @@ public: ::Ifc4::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4::IfcTextureVertex > v2_Vertices, ::Ifc4::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -17811,25 +17811,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -17841,7 +17841,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -17850,7 +17850,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -17861,7 +17861,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -17889,7 +17889,7 @@ public: void setUnit(const ::Ifc4::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -17904,13 +17904,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -17921,10 +17921,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -17964,10 +17964,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -17978,13 +17978,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18000,10 +18000,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18018,13 +18018,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18089,7 +18089,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4::IfcGridAxis > IntersectingAxes() const; @@ -18098,7 +18098,7 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18112,7 +18112,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18128,7 +18128,7 @@ public: std::optional< std::string > Finish() const; void setFinish(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish); }; /// An IfcApprovalRelationship associates approvals (one @@ -18141,7 +18141,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4::IfcApproval RelatingApproval() const; @@ -18150,7 +18150,7 @@ public: std::vector< ::Ifc4::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18174,13 +18174,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18201,13 +18201,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18232,13 +18232,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcCurve v3_OuterCurve, std::vector< ::Ifc4::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18253,7 +18253,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18262,7 +18262,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -18297,13 +18297,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -18324,7 +18324,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -18377,7 +18377,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -18404,7 +18404,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4::IfcClassificationReferenceSelect ReferencedSource() const; @@ -18419,19 +18419,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -18442,7 +18442,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -18451,7 +18451,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -18493,7 +18493,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4::IfcProfileDef > Profiles() const; @@ -18502,7 +18502,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -18517,13 +18517,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -18542,7 +18542,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -18551,7 +18551,7 @@ public: ::Ifc4::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -18576,7 +18576,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -18588,7 +18588,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -18601,14 +18601,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -18661,7 +18661,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -18671,7 +18671,7 @@ public: void setConversionFactor(const ::Ifc4::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -18695,13 +18695,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -18718,7 +18718,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -18738,7 +18738,7 @@ public: ::Ifc4::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -18761,7 +18761,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -18775,7 +18775,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4::IfcSizeSelect v3_CurveWidth, ::Ifc4::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -18786,7 +18786,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -18795,7 +18795,7 @@ public: std::vector< ::Ifc4::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -18812,7 +18812,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -18824,7 +18824,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -18835,7 +18835,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -18848,7 +18848,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -18938,7 +18938,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4::IfcProfileDef ParentProfile() const; @@ -18950,7 +18950,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcProfileDef v3_ParentProfile, ::Ifc4::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -18959,7 +18959,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19030,7 +19030,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19044,7 +19044,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4::IfcDocumentInformation RelatingDocument() const; @@ -19056,7 +19056,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19073,7 +19073,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19085,7 +19085,7 @@ public: void setReferencedDocument(const ::Ifc4::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19140,7 +19140,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4::IfcVertex EdgeStart() const; @@ -19149,7 +19149,7 @@ public: ::Ifc4::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcVertex v1_EdgeStart, ::Ifc4::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19188,7 +19188,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4::IfcCurve EdgeGeometry() const; @@ -19197,7 +19197,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcVertex v1_EdgeStart, ::Ifc4::IfcVertex v2_EdgeEnd, ::Ifc4::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19226,7 +19226,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19243,14 +19243,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19259,7 +19259,7 @@ public: std::vector< ::Ifc4::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19272,7 +19272,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19283,7 +19283,7 @@ public: std::vector< ::Ifc4::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -19333,14 +19333,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -19351,7 +19351,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4::IfcLoop Bound() const; @@ -19360,7 +19360,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -19371,10 +19371,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -19416,7 +19416,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4::IfcSurface FaceSurface() const; @@ -19425,7 +19425,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcFaceBound > v1_Bounds, ::Ifc4::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -19438,7 +19438,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -19459,7 +19459,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -19499,7 +19499,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4::IfcFillStyleSelect > FillStyles() const; @@ -19507,7 +19507,7 @@ public: std::optional< bool > ModelorDraughting() const; void setModelorDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelorDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -19560,7 +19560,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -19579,7 +19579,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -19604,10 +19604,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -19626,7 +19626,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4::IfcGeometricRepresentationContext ParentContext() const; @@ -19651,7 +19651,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -19664,13 +19664,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -19721,7 +19721,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4::IfcVirtualGridIntersection PlacementLocation() const; @@ -19732,7 +19732,7 @@ public: ::Ifc4::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcVirtualGridIntersection v1_PlacementLocation, ::Ifc4::IfcGridPlacementDirectionSelect v2_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -19753,7 +19753,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4::IfcSurface BaseSurface() const; @@ -19762,7 +19762,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -19803,20 +19803,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4::IfcTessellatedFaceSet& v); @@ -19827,33 +19827,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4::IfcTessellatedFaceSet& v); ::Ifc4::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, ::Ifc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcSurfaceTexture > v1_Maps, ::Ifc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -19864,13 +19864,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4::IfcUnit v8_Unit, std::vector< ::Ifc4::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -19913,7 +19913,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -19924,7 +19924,7 @@ public: ::Ifc4::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -19937,7 +19937,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -19953,7 +19953,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -19966,10 +19966,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -19984,14 +19984,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4::IfcDirection Orientation() const; void setOrientation(const ::Ifc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20004,7 +20004,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4::IfcAxis2Placement3D Position() const; @@ -20025,7 +20025,7 @@ public: ::Ifc4::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4::IfcAxis2Placement3D v5_Position, ::Ifc4::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20046,7 +20046,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20066,7 +20066,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20087,7 +20087,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20105,7 +20105,7 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20163,7 +20163,7 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Reference to Object that provides the relative placement by its local coordinate system. If it is omitted, then the local placement is given to the WCS, established by the geometric representation context. ::Ifc4::IfcObjectPlacement PlacementRelTo() const; @@ -20172,7 +20172,7 @@ public: ::Ifc4::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20204,10 +20204,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20232,7 +20232,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4::IfcRepresentationMap MappingSource() const; @@ -20241,7 +20241,7 @@ public: ::Ifc4::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcRepresentationMap v1_MappingSource, ::Ifc4::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20274,7 +20274,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -20299,7 +20299,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -20310,7 +20310,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -20329,7 +20329,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -20349,7 +20349,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -20361,7 +20361,7 @@ public: std::optional< std::vector< ::Ifc4::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -20397,13 +20397,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcRepresentation > v3_Representations, ::Ifc4::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -20509,7 +20509,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4::IfcMaterialLayerSet ForLayerSet() const; @@ -20539,7 +20539,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -20552,7 +20552,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4::IfcMaterialProfileSet ForProfileSet() const; @@ -20569,7 +20569,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -20600,7 +20600,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4::IfcMaterialProfileSet ForProfileEndSet() const; @@ -20609,7 +20609,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -20637,7 +20637,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -20645,7 +20645,7 @@ public: ::Ifc4::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcProperty > v3_Properties, ::Ifc4::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -20654,7 +20654,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4::IfcMaterial RelatingMaterial() const; @@ -20666,7 +20666,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -20699,10 +20699,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -20758,7 +20758,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -20768,7 +20768,7 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -20833,10 +20833,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -20848,7 +20848,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4::IfcOrganization RelatingOrganization() const; @@ -20857,7 +20857,7 @@ public: std::vector< ::Ifc4::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4::IfcOrganization > v4_RelatedOrganizations); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -20870,7 +20870,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4::IfcEdge EdgeElement() const; @@ -20879,7 +20879,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -20927,13 +20927,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -20953,13 +20953,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -20974,7 +20974,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4::IfcPhysicalQuantity > HasQuantities() const; @@ -20989,7 +20989,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21013,7 +21013,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21030,7 +21030,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21045,13 +21045,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4::IfcCartesianPoint Location() const; void setLocation(const ::Ifc4::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21062,7 +21062,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21071,7 +21071,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21082,10 +21082,10 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21100,7 +21100,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4::IfcCurve BasisCurve() const; @@ -21109,7 +21109,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21124,7 +21124,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4::IfcSurface BasisSurface() const; @@ -21136,7 +21136,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21181,13 +21181,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -21249,7 +21249,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4::IfcAxis2Placement3D Position() const; @@ -21260,7 +21260,7 @@ public: ::Ifc4::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4::IfcAxis2Placement3D v3_Position, ::Ifc4::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -21273,23 +21273,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -21306,10 +21306,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -21327,12 +21327,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -21349,13 +21349,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcProperty > v3_Properties, ::Ifc4::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -21364,7 +21364,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -21379,7 +21379,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// IfcPropertyDefinition defines the generalization of @@ -21435,12 +21435,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -21454,7 +21454,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4::IfcProperty DependingProperty() const; @@ -21466,7 +21466,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcProperty v3_DependingProperty, ::Ifc4::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -21514,13 +21514,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -21551,20 +21551,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -21604,7 +21604,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -21613,7 +21613,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -21624,7 +21624,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -21633,7 +21633,7 @@ public: std::vector< ::Ifc4::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -21644,7 +21644,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -21665,7 +21665,7 @@ public: std::optional< double > BarCount() const; void setBarCount(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -21679,10 +21679,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -21694,7 +21694,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -21703,7 +21703,7 @@ public: ::Ifc4::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -21729,7 +21729,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4::IfcConstraint RelatingConstraint() const; @@ -21738,7 +21738,7 @@ public: std::vector< ::Ifc4::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -21746,7 +21746,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -21794,7 +21794,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -21837,13 +21837,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -21854,7 +21854,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4::IfcSectionTypeEnum::Value SectionType() const; @@ -21866,7 +21866,7 @@ public: ::Ifc4::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4::IfcProfileDef v2_StartProfile, ::Ifc4::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -21879,7 +21879,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -21900,7 +21900,7 @@ public: std::vector< ::Ifc4::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -21959,7 +21959,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4::IfcCompositeCurve SpineCurve() const; @@ -21971,7 +21971,7 @@ public: std::vector< ::Ifc4::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4::IfcAxis2Placement3D > v3_CrossSectionPositions); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -21989,12 +21989,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22003,10 +22003,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22021,7 +22021,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22033,7 +22033,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22044,10 +22044,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22058,7 +22058,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22079,7 +22079,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22090,7 +22090,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22102,7 +22102,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22113,7 +22113,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22134,7 +22134,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22143,13 +22143,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22161,7 +22161,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22182,7 +22182,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22196,13 +22196,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22218,13 +22218,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcVertex v1_EdgeStart, ::Ifc4::IfcVertex v2_EdgeEnd, ::Ifc4::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -22240,10 +22240,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -22294,7 +22294,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -22328,7 +22328,7 @@ public: ::Ifc4::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4::IfcColourOrFactor v3_DiffuseColour, ::Ifc4::IfcColourOrFactor v4_TransmissionColour, ::Ifc4::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4::IfcColourOrFactor v6_ReflectionColour, ::Ifc4::IfcColourOrFactor v7_SpecularColour, ::Ifc4::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -22352,7 +22352,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4::IfcProfileDef SweptArea() const; @@ -22361,7 +22361,7 @@ public: ::Ifc4::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -22420,7 +22420,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4::IfcCurve Directrix() const; @@ -22442,7 +22442,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -22458,13 +22458,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -22475,7 +22475,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4::IfcProfileDef SweptCurve() const; @@ -22484,7 +22484,7 @@ public: ::Ifc4::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptCurve, ::Ifc4::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -22518,7 +22518,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -22548,17 +22548,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -22574,7 +22574,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -22587,7 +22587,7 @@ public: ::Ifc4::IfcTextPath::Value Path() const; void setPath(const ::Ifc4::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4::IfcAxis2Placement v2_Placement, ::Ifc4::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -22602,7 +22602,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4::IfcPlanarExtent Extent() const; @@ -22611,7 +22611,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4::IfcAxis2Placement v2_Placement, ::Ifc4::IfcTextPath::Value v3_Path, ::Ifc4::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -22682,7 +22682,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -22703,7 +22703,7 @@ public: ::Ifc4::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22747,7 +22747,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -22762,7 +22762,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -22799,7 +22799,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -22817,7 +22817,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -22851,7 +22851,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -22866,7 +22866,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -22938,7 +22938,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > RepresentationMaps() const; @@ -22948,7 +22948,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -22966,7 +22966,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -22981,7 +22981,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23015,7 +23015,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23039,7 +23039,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23052,7 +23052,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4::IfcDirection Orientation() const; @@ -23061,7 +23061,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23079,13 +23079,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcVertex v1_LoopVertex); }; /// Definition: The window style defines a particular style of windows, which may be included into the spatial context of the building model through instances of IfcWindow. A window style defines the overall parameter of the window style and refers to the particular parameter of the lining and one (or several) panels through IfcWindowLiningProperties and IfcWindowPanelProperties. @@ -23109,7 +23109,7 @@ public: class IFC_PARSE_API IfcWindowStyle : public IfcTypeProduct { public: IfcWindowStyle() {} - explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the basic construction and material type of the window. ::Ifc4::IfcWindowStyleConstructionEnum::Value ConstructionType() const; @@ -23124,7 +23124,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// IfcZShapeProfileDef defines @@ -23155,7 +23155,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23176,7 +23176,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23195,10 +23195,10 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcFaceBound > v1_Bounds, ::Ifc4::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -23224,7 +23224,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -23237,7 +23237,7 @@ public: std::optional< std::vector< ::Ifc4::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -23280,7 +23280,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -23310,7 +23310,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -23325,13 +23325,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4::IfcDirection Axis() const; void setAxis(const ::Ifc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPoint v1_Location, ::Ifc4::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -23348,13 +23348,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPoint v1_Location, ::Ifc4::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -23373,7 +23373,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4::IfcDirection Axis() const; @@ -23382,7 +23382,7 @@ public: ::Ifc4::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPoint v1_Location, ::Ifc4::IfcDirection v2_Axis, ::Ifc4::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -23414,7 +23414,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4::IfcBooleanOperator::Value Operator() const; @@ -23426,7 +23426,7 @@ public: ::Ifc4::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -23444,10 +23444,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -23475,7 +23475,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4::IfcCartesianPoint Corner() const; @@ -23490,7 +23490,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -23526,13 +23526,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -23560,7 +23560,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -23578,7 +23578,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -23591,47 +23591,47 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -23667,7 +23667,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4::IfcDirection Axis1() const; @@ -23682,7 +23682,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -23693,10 +23693,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -23712,13 +23712,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -23729,13 +23729,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4::IfcDirection Axis3() const; void setAxis3(const ::Ifc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -23752,7 +23752,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -23761,7 +23761,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcDirection v1_Axis1, ::Ifc4::IfcDirection v2_Axis2, ::Ifc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -23779,13 +23779,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -23840,10 +23840,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -23857,7 +23857,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -23875,7 +23875,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -23886,7 +23886,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -23896,7 +23896,7 @@ public: std::vector< ::Ifc4::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -23909,7 +23909,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcGeometricRepresentationItem { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The state of transition (i.e., geometric continuity from the last point of this segment to the first point of the next segment) in a composite curve. ::Ifc4::IfcTransitionCode::Value Transition() const; @@ -23924,7 +23924,7 @@ public: void setParentCurve(const ::Ifc4::IfcCurve& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -23945,14 +23945,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4::IfcAppliedValue > >& v); ::Ifc4::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -23971,7 +23971,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -23995,7 +23995,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24011,13 +24011,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24028,13 +24028,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24081,13 +24081,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24103,10 +24103,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24125,7 +24125,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4::IfcPlane BasisSurface() const; @@ -24137,7 +24137,7 @@ public: std::vector< ::Ifc4::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcPlane v1_BasisSurface, ::Ifc4::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24164,7 +24164,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4::IfcSurface BasisSurface() const; @@ -24175,7 +24175,7 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSurface v1_BasisSurface, std::vector< ::Ifc4::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -24188,13 +24188,13 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; /// Definition: The door style, IfcDoorStyle, defines a particular style of doors, which may be included into the spatial context of the building model through instances of IfcDoor. A door style defines the overall parameter of the door style and refers to the particular parameter of the lining and one (or several) panels through the IfcDoorLiningProperties and the IfcDoorPanelProperties. @@ -24226,7 +24226,7 @@ public: class IFC_PARSE_API IfcDoorStyle : public IfcTypeProduct { public: IfcDoorStyle() {} - explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the general layout and operation of the door style. ::Ifc4::IfcDoorStyleOperationEnum::Value OperationType() const; @@ -24241,7 +24241,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -24258,13 +24258,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -24347,7 +24347,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -24358,7 +24358,7 @@ public: std::vector< ::Ifc4::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -24386,13 +24386,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -24403,13 +24403,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -24431,7 +24431,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -24440,7 +24440,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -24452,7 +24452,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -24468,7 +24468,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -24542,7 +24542,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4::IfcDirection ExtrudedDirection() const; @@ -24552,7 +24552,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -24656,13 +24656,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -24680,13 +24680,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -24739,7 +24739,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4::IfcCurveStyle HatchLineAppearance() const; @@ -24765,7 +24765,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -24776,7 +24776,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4::IfcVector > TilingPattern() const; @@ -24788,7 +24788,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcVector > v1_TilingPattern, std::vector< ::Ifc4::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -24852,7 +24852,7 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping the SELF\IfcSweptAreaSolid.SweptArea along the Directrix. ::Ifc4::IfcCurve Directrix() const; @@ -24867,7 +24867,7 @@ public: ::Ifc4::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -24901,10 +24901,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -24947,7 +24947,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -24955,7 +24955,7 @@ public: std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25022,13 +25022,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25041,10 +25041,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25113,7 +25113,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25135,32 +25135,32 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef @@ -25217,7 +25217,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -25238,7 +25238,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -25255,13 +25255,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -25280,7 +25280,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4::IfcCartesianPoint Pnt() const; @@ -25289,7 +25289,7 @@ public: ::Ifc4::IfcVector Dir() const; void setDir(const ::Ifc4::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPoint v1_Pnt, ::Ifc4::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -25358,13 +25358,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4::IfcClosedShell Outer() const; void setOuter(const ::Ifc4::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -25452,7 +25452,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -25462,7 +25462,7 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -25479,7 +25479,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcCurve(data) {} /// The curve that is being offset. ::Ifc4::IfcCurve BasisCurve() const; @@ -25491,7 +25491,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -25512,7 +25512,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcCurve(data) {} /// The curve that is being offset. ::Ifc4::IfcCurve BasisCurve() const; @@ -25527,7 +25527,7 @@ public: ::Ifc4::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4::IfcDirection v4_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -25540,14 +25540,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4::IfcSurface& v); ::Ifc4::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSurface v1_BasisSurface, ::Ifc4::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -25559,14 +25559,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -25608,10 +25608,10 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -25622,10 +25622,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -25638,10 +25638,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -25667,10 +25667,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -25689,14 +25689,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -25742,7 +25742,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -25759,7 +25759,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -25856,7 +25856,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4::IfcObjectPlacement ObjectPlacement() const; @@ -25866,7 +25866,7 @@ public: void setRepresentation(const ::Ifc4::IfcProductRepresentation& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -25916,10 +25916,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -25949,10 +25949,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26062,7 +26062,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4::IfcValue UpperBoundValue() const; @@ -26079,7 +26079,7 @@ public: ::Ifc4::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcValue v3_UpperBoundValue, ::Ifc4::IfcValue v4_LowerBoundValue, ::Ifc4::IfcUnit v5_Unit, ::Ifc4::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -26162,7 +26162,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -26173,7 +26173,7 @@ public: ::Ifc4::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4::IfcValue > > v3_EnumerationValues, ::Ifc4::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -26244,7 +26244,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -26255,7 +26255,7 @@ public: ::Ifc4::IfcUnit Unit() const; void setUnit(const ::Ifc4::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4::IfcValue > > v3_ListValues, ::Ifc4::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -26276,7 +26276,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -26287,7 +26287,7 @@ public: ::Ifc4::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -26346,13 +26346,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -26389,7 +26389,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -26412,7 +26412,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -26462,7 +26462,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -26475,7 +26475,7 @@ public: ::Ifc4::IfcUnit Unit() const; void setUnit(const ::Ifc4::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4::IfcValue v3_NominalValue, ::Ifc4::IfcUnit v4_Unit); }; /// A property with a range value @@ -26597,7 +26597,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -26624,7 +26624,7 @@ public: std::optional< ::Ifc4::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4::IfcUnit v6_DefiningUnit, ::Ifc4::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -26654,12 +26654,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcProxy is intended to be a kind of a container for wrapping objects which are defined by associated properties, which may or may not have a geometric representation and placement in space. A proxy may have a semantic meaning, defined by the Name attribute, and property definitions, attached through the property assignment relationship, which definition may be outside of the definitions given by the current release of IFC. @@ -26681,7 +26681,7 @@ public: class IFC_PARSE_API IfcProxy : public IfcProduct { public: IfcProxy() {} - explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} /// High level (and only) semantic meaning attached to the IfcProxy, defining the basic construct type behind the Proxy, e.g. Product or Process. ::Ifc4::IfcObjectTypeEnum::Value ProxyType() const; @@ -26690,7 +26690,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -26716,7 +26716,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -26728,7 +26728,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -26822,7 +26822,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -26834,7 +26834,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -26855,7 +26855,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4::IfcSurface BasisSurface() const; @@ -26879,7 +26879,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -26911,7 +26911,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -26920,7 +26920,7 @@ public: std::vector< ::Ifc4::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -26937,7 +26937,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4::IfcObjectDefinition > RelatedObjects() const; @@ -26947,7 +26947,7 @@ public: std::optional< ::Ifc4::IfcObjectTypeEnum::Value > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< ::Ifc4::IfcObjectTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -26962,7 +26962,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4::IfcActor RelatingActor() const; @@ -26971,7 +26971,7 @@ public: ::Ifc4::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcActor v7_RelatingActor, ::Ifc4::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -26982,13 +26982,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27007,13 +27007,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27028,13 +27028,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27062,7 +27062,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27073,7 +27073,7 @@ public: ::Ifc4::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcProcessSelect v7_RelatingProcess, ::Ifc4::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27087,7 +27087,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27095,7 +27095,7 @@ public: ::Ifc4::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -27107,7 +27107,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -27115,7 +27115,7 @@ public: ::Ifc4::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -27162,7 +27162,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -27170,7 +27170,7 @@ public: std::vector< ::Ifc4::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -27179,13 +27179,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -27221,13 +27221,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -27236,7 +27236,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -27245,7 +27245,7 @@ public: ::Ifc4::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -27258,13 +27258,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -27277,13 +27277,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -27383,13 +27383,13 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4::IfcMaterialSelect v6_RelatingMaterial); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -27398,10 +27398,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -27429,7 +27429,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4::IfcConnectionGeometry ConnectionGeometry() const; @@ -27441,7 +27441,7 @@ public: ::Ifc4::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4::IfcElement v6_RelatingElement, ::Ifc4::IfcElement v7_RelatedElement); }; /// The @@ -27477,7 +27477,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -27492,7 +27492,7 @@ public: ::Ifc4::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4::IfcElement v6_RelatingElement, ::Ifc4::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -27523,7 +27523,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4::IfcPort RelatingPort() const; @@ -27534,7 +27534,7 @@ public: ::Ifc4::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcPort v5_RelatingPort, ::Ifc4::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -27553,7 +27553,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4::IfcPort RelatingPort() const; @@ -27565,7 +27565,7 @@ public: ::Ifc4::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcPort v5_RelatingPort, ::Ifc4::IfcPort v6_RelatedPort, ::Ifc4::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -27574,7 +27574,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -27583,7 +27583,7 @@ public: ::Ifc4::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -27613,7 +27613,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4::IfcStructuralMember RelatingStructuralMember() const; @@ -27634,7 +27634,7 @@ public: ::Ifc4::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -27657,13 +27657,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -27692,7 +27692,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4::IfcElement > RealizingElements() const; @@ -27701,7 +27701,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4::IfcElement v6_RelatingElement, ::Ifc4::IfcElement v7_RelatedElement, std::vector< ::Ifc4::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -27767,7 +27767,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -27778,7 +27778,7 @@ public: ::Ifc4::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcProduct > v5_RelatedElements, ::Ifc4::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -27800,7 +27800,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -27811,7 +27811,7 @@ public: std::vector< ::Ifc4::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -27843,7 +27843,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -27854,7 +27854,7 @@ public: std::vector< ::Ifc4::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -27871,7 +27871,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4::IfcContext RelatingContext() const; @@ -27880,7 +27880,7 @@ public: std::vector< ::Ifc4::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcContext v5_RelatingContext, std::vector< ::Ifc4::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -27916,10 +27916,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -27952,10 +27952,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -27976,7 +27976,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4::IfcObject > RelatedObjects() const; @@ -27985,7 +27985,7 @@ public: ::Ifc4::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObject > v5_RelatedObjects, ::Ifc4::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28006,7 +28006,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4::IfcObjectDefinition > RelatedObjects() const; @@ -28015,7 +28015,7 @@ public: ::Ifc4::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28033,7 +28033,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28042,7 +28042,7 @@ public: ::Ifc4::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -28117,7 +28117,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4::IfcObject >& v); @@ -28125,7 +28125,7 @@ public: ::Ifc4::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcObject > v5_RelatedObjects, ::Ifc4::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -28140,7 +28140,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4::IfcOpeningElement RelatingOpeningElement() const; @@ -28151,7 +28151,7 @@ public: ::Ifc4::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -28164,7 +28164,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4::IfcDistributionControlElement > RelatedControlElements() const; @@ -28173,7 +28173,7 @@ public: ::Ifc4::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -28226,7 +28226,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4::IfcElement RelatingElement() const; @@ -28244,7 +28244,7 @@ public: boost::logic::tribool ImpliedOrder() const; void setImpliedOrder(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcElement v5_RelatingElement, ::Ifc4::IfcElement v6_RelatedElement, ::Ifc4::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder); }; /// The nesting relationship @@ -28275,7 +28275,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -28288,7 +28288,7 @@ public: std::vector< ::Ifc4::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4::IfcObjectDefinition > v6_RelatedObjects); }; /// The IfcRelProjectsElement is an objectified relationship @@ -28326,7 +28326,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4::IfcElement RelatingElement() const; @@ -28335,7 +28335,7 @@ public: ::Ifc4::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcElement v5_RelatingElement, ::Ifc4::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -28390,7 +28390,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -28402,7 +28402,7 @@ public: ::Ifc4::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4::IfcProduct > v5_RelatedElements, ::Ifc4::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -28462,7 +28462,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4::IfcProcess RelatingProcess() const; @@ -28490,7 +28490,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcProcess v5_RelatingProcess, ::Ifc4::IfcProcess v6_RelatedProcess, ::Ifc4::IfcLagTime v7_TimeLag, std::optional< ::Ifc4::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -28517,7 +28517,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4::IfcSystem RelatingSystem() const; @@ -28530,7 +28530,7 @@ public: std::vector< ::Ifc4::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -28698,7 +28698,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4::IfcSpaceBoundarySelect RelatingSpace() const; @@ -28722,7 +28722,7 @@ public: ::Ifc4::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4::IfcElement v6_RelatedBuildingElement, ::Ifc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -28775,14 +28775,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4::IfcElement v6_RelatedBuildingElement, ::Ifc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -28820,14 +28820,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4::IfcElement v6_RelatedBuildingElement, ::Ifc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -28840,14 +28840,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4::IfcElement& v); ::Ifc4::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcElement v5_RelatingBuildingElement, ::Ifc4::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -28876,12 +28876,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -28900,7 +28900,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -28915,7 +28915,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -28997,7 +28997,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4::IfcAxis1Placement Axis() const; @@ -29006,7 +29006,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29070,12 +29070,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -29146,7 +29146,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -29155,7 +29155,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -29242,7 +29242,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -29251,7 +29251,7 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; /// The IfcSimplePropertyTemplate defines the template for @@ -29302,7 +29302,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -29352,7 +29352,7 @@ public: std::optional< ::Ifc4::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4::IfcPropertyEnumeration v8_Enumerators, ::Ifc4::IfcUnit v9_PrimaryUnit, ::Ifc4::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -29389,7 +29389,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -29400,7 +29400,7 @@ public: std::vector< IfcRelServicesBuildings > ServicedBySystems() const; // INVERSE IfcRelServicesBuildings::RelatedBuildings std::vector< IfcRelReferencedInSpatialStructure > ReferencesElements() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatingStructure - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -29437,13 +29437,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -29523,7 +29523,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -29532,7 +29532,7 @@ public: std::optional< ::Ifc4::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -29572,10 +29572,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -29630,13 +29630,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -29672,7 +29672,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -29680,7 +29680,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -29736,25 +29736,25 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Radius); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -29853,7 +29853,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -29881,7 +29881,7 @@ public: void setGlobalOrLocal(const ::Ifc4::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -29974,11 +29974,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -29988,11 +29988,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30018,10 +30018,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -30047,7 +30047,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -30056,7 +30056,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -30080,10 +30080,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -30111,13 +30111,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -30134,20 +30134,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4::IfcCurve& v); @@ -30156,7 +30156,7 @@ public: ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -30224,7 +30224,7 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping the SELF\IfcSweptAreaSolid.SweptArea along the Directrix. ::Ifc4::IfcCurve Directrix() const; @@ -30243,7 +30243,7 @@ public: ::Ifc4::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptArea, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -30262,7 +30262,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4::IfcDirection ExtrudedDirection() const; @@ -30271,7 +30271,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptCurve, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -30294,13 +30294,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileDef v1_SweptCurve, ::Ifc4::IfcAxis2Placement3D v2_Position, ::Ifc4::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -30336,12 +30336,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -30592,7 +30592,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -30634,7 +30634,7 @@ public: std::optional< ::Ifc4::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -30680,7 +30680,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -30690,35 +30690,35 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; /// Definition from IAI: The element type @@ -30787,20 +30787,20 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcElementType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4::IfcTransportElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcTransportElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTransportElementTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -30811,7 +30811,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; /// The window lining is the outer @@ -30915,7 +30915,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -30962,7 +30962,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31013,7 +31013,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -31033,7 +31033,7 @@ public: ::Ifc4::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -31054,14 +31054,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -31100,10 +31100,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -31130,12 +31130,12 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcClosedShell v1_Outer, std::vector< ::Ifc4::IfcClosedShell > v2_Voids); }; /// Definition from IAI: An annotation is a graphical @@ -31314,11 +31314,11 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -31393,7 +31393,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -31417,7 +31417,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -31430,7 +31430,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -31448,7 +31448,7 @@ public: ::Ifc4::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -31551,7 +31551,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -31563,7 +31563,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -31576,10 +31576,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -31595,10 +31595,10 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -31778,7 +31778,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcSpatialStructureElement { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -31790,7 +31790,7 @@ public: ::Ifc4::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: The element type @@ -31825,10 +31825,10 @@ public: class IFC_PARSE_API IfcBuildingElementType : public IfcElementType { public: IfcBuildingElementType() {} - explicit IfcBuildingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuildingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The building storey has an @@ -32011,13 +32011,13 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; /// Definition from IAI: The IfcChimneyType @@ -32048,13 +32048,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuildingElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32078,23 +32078,23 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The element type @@ -32198,13 +32198,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuildingElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -32218,7 +32218,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -32228,7 +32228,7 @@ public: std::optional< std::vector< ::Ifc4::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -32300,7 +32300,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4::IfcCompositeCurveSegment > Segments() const; @@ -32309,7 +32309,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -32326,10 +32326,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -32340,13 +32340,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -32365,13 +32365,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -32390,13 +32390,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -32415,13 +32415,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -32499,7 +32499,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4::IfcResourceTime Usage() const; void setUsage(const ::Ifc4::IfcResourceTime& v); @@ -32508,7 +32508,7 @@ public: ::Ifc4::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -32524,7 +32524,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -32534,7 +32534,7 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -32576,7 +32576,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -32598,7 +32598,7 @@ public: std::optional< std::vector< ::Ifc4::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -32627,7 +32627,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -32654,7 +32654,7 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; /// Definition from IAI: The element type @@ -32739,13 +32739,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuildingElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -32761,14 +32761,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -32795,13 +32795,13 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuildingElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -32861,13 +32861,13 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement3D v1_Position, double v2_Radius); }; /// Definition from IAI: The @@ -32901,10 +32901,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -32975,10 +32975,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33079,7 +33079,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -33127,7 +33127,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -33178,7 +33178,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -33198,7 +33198,7 @@ public: ::Ifc4::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -33332,7 +33332,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuildingElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4::IfcDoorTypeEnum::Value PredefinedType() const; @@ -33345,7 +33345,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -33423,10 +33423,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -33445,10 +33445,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -33507,7 +33507,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -33525,7 +33525,7 @@ public: std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -33625,7 +33625,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -33636,7 +33636,7 @@ public: std::optional< ::Ifc4::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -33664,13 +33664,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -33753,10 +33753,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -33771,10 +33771,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -33807,7 +33807,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -33816,7 +33816,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -33845,10 +33845,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -33880,12 +33880,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -33917,13 +33917,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -33955,13 +33955,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34044,7 +34044,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34063,7 +34063,7 @@ public: ::Ifc4::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34074,10 +34074,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -34107,10 +34107,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -34140,13 +34140,13 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcClosedShell v1_Outer, std::vector< ::Ifc4::IfcClosedShell > v2_Voids); }; /// Definition from IAI: @@ -34160,13 +34160,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -34195,13 +34195,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -34301,10 +34301,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -34365,11 +34365,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -34425,11 +34425,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -34457,10 +34457,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -34489,10 +34489,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -34530,13 +34530,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -34564,10 +34564,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -34604,10 +34604,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -34620,10 +34620,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -34636,10 +34636,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -34653,10 +34653,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -34671,13 +34671,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuildingElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Subtype of footing. ::Ifc4::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -34787,10 +34787,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -34827,12 +34827,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -34978,13 +34978,13 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; /// IfcGrid ia a planar design @@ -35086,7 +35086,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcProduct { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcProduct(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4::IfcGridAxis > UAxes() const; @@ -35101,7 +35101,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4::IfcGridTypeEnum::Value >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35137,11 +35137,11 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35176,13 +35176,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -35214,20 +35214,20 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4::IfcCartesianPointList& v); @@ -35236,7 +35236,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -35275,22 +35275,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -35307,7 +35307,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -35332,7 +35332,7 @@ public: ::Ifc4::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4::IfcCostValue v10_CurrentValue, ::Ifc4::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -35365,13 +35365,13 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -35401,14 +35401,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -35443,13 +35443,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -35486,13 +35486,13 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -35527,7 +35527,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -35537,7 +35537,7 @@ public: std::optional< ::Ifc4::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -35578,7 +35578,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -35590,7 +35590,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -35622,12 +35622,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -35734,13 +35734,13 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuildingElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMemberTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -35773,13 +35773,13 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -35792,7 +35792,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -35800,7 +35800,7 @@ public: std::optional< ::Ifc4::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcActorSelect v6_TheActor, std::optional< ::Ifc4::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -36008,7 +36008,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36017,7 +36017,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The standard opening, @@ -36116,10 +36116,10 @@ public: class IFC_PARSE_API IfcOpeningStandardCase : public IfcOpeningElement { public: IfcOpeningStandardCase() {} - explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} + explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -36154,13 +36154,13 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcOutletTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -36171,7 +36171,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -36182,7 +36182,7 @@ public: std::optional< ::Ifc4::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -36219,7 +36219,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -36237,7 +36237,7 @@ public: ::Ifc4::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -36280,7 +36280,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -36298,7 +36298,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -36311,13 +36311,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcBuildingElementType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Subtype of pile. ::Ifc4::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -36352,13 +36352,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -36397,13 +36397,13 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -36486,20 +36486,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuildingElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -36508,7 +36508,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -36528,13 +36528,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -36593,13 +36593,13 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -36709,14 +36709,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -36765,7 +36765,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36787,7 +36787,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -36900,7 +36900,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36908,7 +36908,7 @@ public: std::optional< ::Ifc4::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -36949,13 +36949,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -36989,13 +36989,13 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcPumpTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -37021,13 +37021,13 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuildingElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRailingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -37053,13 +37053,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuildingElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -37098,13 +37098,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuildingElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -37123,13 +37123,13 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37143,12 +37143,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37157,10 +37157,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37190,7 +37190,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -37212,7 +37212,7 @@ public: std::optional< ::Ifc4::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37229,7 +37229,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -37263,7 +37263,7 @@ public: std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > v20_BendingParameters); }; /// The aggregation relationship @@ -37291,7 +37291,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -37304,7 +37304,7 @@ public: std::vector< ::Ifc4::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4::IfcObjectDefinition > v6_RelatedObjects); }; /// Definition from IAI: The element type @@ -37342,13 +37342,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuildingElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -37391,23 +37391,23 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// Definition from IAI: The IfcShadingDeviceType @@ -37434,13 +37434,13 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuildingElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -37635,7 +37635,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -37656,7 +37656,7 @@ public: ::Ifc4::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -37739,13 +37739,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuildingElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -37777,12 +37777,12 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; /// A space represents an area or volume @@ -38038,7 +38038,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -38053,7 +38053,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -38089,13 +38089,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -38182,7 +38182,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -38190,7 +38190,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -38222,13 +38222,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -38254,13 +38254,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuildingElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38299,13 +38299,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuildingElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -38330,13 +38330,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -38345,14 +38345,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -38414,7 +38414,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -38423,7 +38423,7 @@ public: ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -38446,7 +38446,7 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Direction which is used in the definition of the local z axis. Axis is specified relative to the so-called global coordinate system, i.e. the SELF\IfcProduct.ObjectPlacement. /// @@ -38454,7 +38454,7 @@ public: ::Ifc4::IfcDirection Axis() const; void setAxis(const ::Ifc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4::IfcDirection v9_Axis); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -38497,7 +38497,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -38508,7 +38508,7 @@ public: ::Ifc4::IfcDirection Axis() const; void setAxis(const ::Ifc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -38534,10 +38534,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -38593,13 +38593,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -38612,10 +38612,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -38654,7 +38654,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -38674,7 +38674,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -38725,10 +38725,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -38747,13 +38747,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -38802,10 +38802,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -38815,7 +38815,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -38828,7 +38828,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -38886,7 +38886,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -38895,7 +38895,7 @@ public: ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -38913,10 +38913,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -38946,14 +38946,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -38991,13 +38991,13 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSurfaceFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -39043,13 +39043,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -39072,11 +39072,11 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -39106,12 +39106,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -39149,20 +39149,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcTendonTypeEnum::Value >& v); @@ -39181,38 +39181,38 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcTendonTypeEnum::Value& v); @@ -39223,7 +39223,7 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -39256,13 +39256,13 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTransformerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all transport @@ -39384,7 +39384,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcElement { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -39392,7 +39392,7 @@ public: std::optional< ::Ifc4::IfcTransportElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcTransportElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTransportElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: @@ -39476,7 +39476,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4::IfcCurve BasisCurve() const; @@ -39494,7 +39494,7 @@ public: ::Ifc4::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcCurve v1_BasisCurve, std::vector< ::Ifc4::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -39529,13 +39529,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -39569,13 +39569,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -39619,13 +39619,13 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcValveTypeEnum::Value v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -39665,12 +39665,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -39698,13 +39698,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -39796,10 +39796,10 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -39837,13 +39837,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -39933,13 +39933,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuildingElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -39981,13 +39981,13 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -40114,7 +40114,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuildingElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4::IfcWindowTypeEnum::Value PredefinedType() const; @@ -40127,7 +40127,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -40146,7 +40146,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -40165,7 +40165,7 @@ public: std::optional< ::Ifc4::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -40215,7 +40215,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -40239,7 +40239,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -40270,14 +40270,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -40323,14 +40323,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -40421,7 +40421,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -40431,7 +40431,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -40475,7 +40475,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -40497,7 +40497,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -40529,13 +40529,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -40567,12 +40567,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -40604,13 +40604,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -40640,7 +40640,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -40675,7 +40675,7 @@ public: ::Ifc4::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4::IfcCostValue v7_OriginalValue, ::Ifc4::IfcCostValue v8_CurrentValue, ::Ifc4::IfcCostValue v9_TotalReplacementCost, ::Ifc4::IfcActorSelect v10_Owner, ::Ifc4::IfcActorSelect v11_User, ::Ifc4::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -40723,13 +40723,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -40784,7 +40784,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -40802,7 +40802,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -40825,7 +40825,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -40837,7 +40837,7 @@ public: ::Ifc4::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -40941,13 +40941,13 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuildingElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -40982,13 +40982,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -41001,10 +41001,10 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO 6707-1:1989: Major functional part @@ -41373,10 +41373,10 @@ public: class IFC_PARSE_API IfcBuildingElement : public IfcElement { public: IfcBuildingElement() {} - explicit IfcBuildingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuildingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Layers or major components as subordinate @@ -41399,13 +41399,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -41415,13 +41415,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -41617,12 +41617,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuildingElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuildingElement(data) {} std::optional< ::Ifc4::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -41662,13 +41662,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuildingElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -41710,7 +41710,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -41718,7 +41718,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -41751,12 +41751,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -41788,13 +41788,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -41832,13 +41832,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -41872,13 +41872,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -41925,13 +41925,13 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -41969,13 +41969,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42022,14 +42022,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuildingElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42062,23 +42062,23 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -42111,13 +42111,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -42394,7 +42394,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuildingElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -42403,7 +42403,7 @@ public: std::optional< ::Ifc4::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The standard column, @@ -42654,10 +42654,10 @@ public: class IFC_PARSE_API IfcColumnStandardCase : public IfcColumn { public: IfcColumnStandardCase() {} - explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} + explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -42695,13 +42695,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -42734,13 +42734,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -42773,13 +42773,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -42807,14 +42807,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -42846,14 +42846,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -42874,14 +42874,14 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -42916,13 +42916,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -42961,13 +42961,13 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -43197,7 +43197,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuildingElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -43205,7 +43205,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -43349,7 +43349,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuildingElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -43358,7 +43358,7 @@ public: std::optional< ::Ifc4::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -43398,13 +43398,13 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDamperTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Representation of different kinds of @@ -43583,13 +43583,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -43783,13 +43783,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -43832,13 +43832,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -43898,10 +43898,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -44069,11 +44069,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -44147,11 +44147,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -44239,7 +44239,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -44250,7 +44250,7 @@ public: std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -44296,7 +44296,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -44307,7 +44307,7 @@ public: std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -44669,7 +44669,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuildingElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -44697,7 +44697,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The standard door, @@ -44807,10 +44807,10 @@ public: class IFC_PARSE_API IfcDoorStandardCase : public IfcDoor { public: IfcDoorStandardCase() {} - explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} + explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -44845,13 +44845,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -44886,13 +44886,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -44924,13 +44924,13 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -44965,13 +44965,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -45004,13 +45004,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -45043,13 +45043,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -45087,13 +45087,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -45126,13 +45126,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -45165,13 +45165,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -45186,10 +45186,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -45236,12 +45236,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -45291,12 +45291,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -45366,12 +45366,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -45392,14 +45392,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -45433,13 +45433,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -45474,13 +45474,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -45519,13 +45519,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -45540,10 +45540,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -45554,10 +45554,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -45593,13 +45593,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -45685,12 +45685,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -45701,10 +45701,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -45733,10 +45733,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -45751,10 +45751,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -45771,10 +45771,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -45785,10 +45785,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -45816,7 +45816,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuildingElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// The generic type of the footing. /// @@ -45824,7 +45824,7 @@ public: std::optional< ::Ifc4::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFootingTypeEnum::Value > v9_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -45880,12 +45880,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -45934,12 +45934,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -46002,12 +46002,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -46079,12 +46079,12 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -46137,12 +46137,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -46214,12 +46214,12 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -46269,12 +46269,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -46530,7 +46530,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuildingElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -46539,7 +46539,7 @@ public: std::optional< ::Ifc4::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// The standard member, @@ -46784,10 +46784,10 @@ public: class IFC_PARSE_API IfcMemberStandardCase : public IfcMember { public: IfcMemberStandardCase() {} - explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} + explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -46834,12 +46834,12 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -46850,10 +46850,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -46925,12 +46925,12 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcOutletTypeEnum::Value > v9_PredefinedType); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -46954,7 +46954,7 @@ public: class IFC_PARSE_API IfcPile : public IfcBuildingElement { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// The predefined generic type of the pile according to function. /// @@ -46967,7 +46967,7 @@ public: std::optional< ::Ifc4::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -47058,12 +47058,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -47129,12 +47129,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -47368,7 +47368,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuildingElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -47377,7 +47377,7 @@ public: std::optional< ::Ifc4::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// The standard plate, @@ -47536,10 +47536,10 @@ public: class IFC_PARSE_API IfcPlateStandardCase : public IfcPlate { public: IfcPlateStandardCase() {} - explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} + explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -47621,12 +47621,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -47672,13 +47672,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -47733,12 +47733,12 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcPumpTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -47876,7 +47876,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuildingElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -47884,7 +47884,7 @@ public: std::optional< ::Ifc4::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -48023,7 +48023,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuildingElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -48033,7 +48033,7 @@ public: std::optional< ::Ifc4::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -48227,7 +48227,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuildingElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -48236,7 +48236,7 @@ public: std::optional< ::Ifc4::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -48278,13 +48278,13 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4::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, ::Ifc4::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48318,7 +48318,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -48332,7 +48332,7 @@ public: std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48354,7 +48354,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -48376,7 +48376,7 @@ public: std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -48527,7 +48527,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuildingElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -48535,7 +48535,7 @@ public: std::optional< ::Ifc4::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -48667,12 +48667,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -48726,13 +48726,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -48752,14 +48752,14 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuildingElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -49025,7 +49025,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuildingElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -49034,7 +49034,7 @@ public: std::optional< ::Ifc4::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The IfcSlabElementedCase @@ -49123,10 +49123,10 @@ public: class IFC_PARSE_API IfcSlabElementedCase : public IfcSlab { public: IfcSlabElementedCase() {} - explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The standard slab, @@ -49291,10 +49291,10 @@ public: class IFC_PARSE_API IfcSlabStandardCase : public IfcSlab { public: IfcSlabStandardCase() {} - explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -49347,12 +49347,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -49420,12 +49420,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -49481,12 +49481,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -49657,7 +49657,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuildingElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -49665,7 +49665,7 @@ public: std::optional< ::Ifc4::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -49838,7 +49838,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuildingElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -49864,7 +49864,7 @@ public: std::optional< ::Ifc4::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -49893,7 +49893,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -49924,7 +49924,7 @@ public: ::Ifc4::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -49933,7 +49933,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -49943,7 +49943,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -49956,10 +49956,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, ::Ifc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -50053,12 +50053,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -50124,12 +50124,12 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTankTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -50177,12 +50177,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -50235,12 +50235,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -50272,13 +50272,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -50356,12 +50356,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -50553,12 +50553,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -50806,7 +50806,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuildingElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -50815,7 +50815,7 @@ public: std::optional< ::Ifc4::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallElementedCase @@ -50919,10 +50919,10 @@ public: class IFC_PARSE_API IfcWallElementedCase : public IfcWall { public: IfcWallElementedCase() {} - explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -51130,10 +51130,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -51243,12 +51243,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -51612,7 +51612,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuildingElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -51640,7 +51640,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The standard window, @@ -51760,10 +51760,10 @@ public: class IFC_PARSE_API IfcWindowStandardCase : public IfcWindow { public: IfcWindowStandardCase() {} - explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} + explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -51800,13 +51800,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -51869,12 +51869,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -51922,12 +51922,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -51978,12 +51978,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -52015,13 +52015,13 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcAlarmTypeEnum::Value v10_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -52205,12 +52205,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -52453,7 +52453,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuildingElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -52462,7 +52462,7 @@ public: std::optional< ::Ifc4::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBeamTypeEnum::Value > v9_PredefinedType); }; /// The standard beam, @@ -52719,10 +52719,10 @@ public: class IFC_PARSE_API IfcBeamStandardCase : public IfcBeam { public: IfcBeamStandardCase() {} - explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} + explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBeamTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -52797,12 +52797,12 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -52849,12 +52849,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -52921,13 +52921,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -52992,13 +52992,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -53078,13 +53078,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -53177,13 +53177,13 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -53258,12 +53258,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -53335,12 +53335,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -53448,12 +53448,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -53505,12 +53505,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -53582,12 +53582,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -53629,13 +53629,13 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4::IfcControllerTypeEnum::Value v10_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -53690,12 +53690,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -53758,12 +53758,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -53840,12 +53840,12 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDamperTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -53882,22 +53882,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -53981,11 +53981,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -54066,12 +54066,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -54126,12 +54126,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -54179,12 +54179,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -54288,12 +54288,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -54356,12 +54356,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -54408,12 +54408,12 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -54466,12 +54466,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -54518,12 +54518,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -54570,12 +54570,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -54635,12 +54635,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -54733,12 +54733,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -54810,12 +54810,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -54873,12 +54873,12 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; /// Entity Definition @@ -54936,12 +54936,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -55081,12 +55081,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -55147,12 +55147,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -55220,12 +55220,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -55273,12 +55273,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -55390,12 +55390,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x1-schema.cpp b/src/ifcparse/schemas/Ifc4x1-schema.cpp index 868d2f87ef..4d4bbf4f36 100644 --- a/src/ifcparse/schemas/Ifc4x1-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x1-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x1.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X1_types[1201] = {nullptr}; -IfcParse::schema_definition* IFC4X1_populate_schema() { +ifcopenshell::schema_definition* IFC4X1_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"DEAD_LOAD_G"s,"COMPLETION_G1"s,"LIVE_LOAD_Q"s,"SNOW_S"s,"WIND_W"s,"PRESTRESSING_P"s,"SETTLEMENT_U"s,"TEMPERATURE_T"s,"EARTHQUAKE_E"s,"FIRE"s,"IMPULSE"s,"IMPACT"s,"TRANSPORT"s,"ERECTION"s,"PROPPING"s,"SYSTEM_IMPERFECTION"s,"SHRINKAGE"s,"CREEP"s,"LACK_OF_FIT"s,"BUOYANCY"s,"ICE"s,"CURRENT"s,"WAVE"s,"RAIN"s,"BRAKES"s,"IfcActionTypeEnum"s,"PERMANENT_G"s,"VARIABLE_Q"s,"EXTRAORDINARY_A"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"OFFICE"s,"SITE"s,"HOME"s,"DISTRIBUTIONPOINT"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"HEATPIPE"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"SIREN"s,"WHISTLE"s,"IfcAlignmentTypeEnum"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"OUT_PLANE_LOADING_2D"s,"LOADING_3D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"IfcBSplineCurveForm"s,"POLYLINE_FORM"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"PARABOLIC_ARC"s,"HYPERBOLIC_ARC"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"PLANE_SURF"s,"CYLINDRICAL_SURF"s,"CONICAL_SURF"s,"SPHERICAL_SURF"s,"TOROIDAL_SURF"s,"SURF_OF_REVOLUTION"s,"RULED_SURF"s,"GENERALISED_CONE"s,"QUADRIC_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"IfcBeamTypeEnum"s,"BEAM"s,"JOIST"s,"HOLLOWCORE"s,"LINTEL"s,"SPANDREL"s,"T_BEAM"s,"IfcBenchmarkEnum"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"EQUALTO"s,"NOTEQUALTO"s,"INCLUDES"s,"NOTINCLUDES"s,"INCLUDEDIN"s,"NOTINCLUDEDIN"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"WATER"s,"STEAM"s,"IfcBoolean"s,"IfcBooleanOperator"s,"UNION"s,"INTERSECTION"s,"DIFFERENCE"s,"IfcBuildingElementPartTypeEnum"s,"INSULATION"s,"PRECASTPANEL"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORVOID"s,"PROVISIONFORSPACE"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"FOUNDATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CROSS"s,"REDUCER"s,"TEE"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CONDUITSEGMENT"s,"IfcCableFittingTypeEnum"s,"CONNECTOR"s,"ENTRY"s,"EXIT"s,"JUNCTION"s,"TRANSITION"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CORESEGMENT"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"NOCHANGE"s,"MODIFIED"s,"ADDED"s,"DELETED"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"WATERCOOLED"s,"HEATRECOVERY"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PILASTER"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"COMPUTER"s,"GATEWAY"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"PRINTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"DYNAMIC"s,"RECIPROCATING"s,"ROTARY"s,"SCROLL"s,"TROCHOIDAL"s,"SINGLESTAGE"s,"BOOSTER"s,"OPENTYPE"s,"HERMETIC"s,"SEMIHERMETIC"s,"WELDEDSHELLHERMETIC"s,"ROLLINGPISTON"s,"ROTARYVANE"s,"SINGLESCREW"s,"TWINSCREW"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATPATH"s,"ATSTART"s,"ATEND"s,"IfcConstraintEnum"s,"HARD"s,"SOFT"s,"ADVISORY"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"MULTIPOSITION"s,"TWOPOSITION"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"NATURALDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"MECHANICALFORCEDDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"TENDER"s,"PRICEDBILLOFQUANTITIES"s,"UNPRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"IfcCountMeasure"s,"IfcCoveringTypeEnum"s,"CEILING"s,"FLOORING"s,"CLADDING"s,"ROOFING"s,"MOLDING"s,"SKIRTINGBOARD"s,"MEMBRANE"s,"SLEEVING"s,"WRAPPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"INTEGERCOUNTRATEUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARVELOCITYUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"TORQUEUNIT"s,"MOMENTOFINERTIAUNIT"s,"LINEARMOMENTUNIT"s,"LINEARFORCEUNIT"s,"PLANARFORCEUNIT"s,"MODULUSOFELASTICITYUNIT"s,"SHEARMODULUSUNIT"s,"LINEARSTIFFNESSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"ACCELERATIONUNIT"s,"CURVATUREUNIT"s,"HEATINGVALUEUNIT"s,"IONCONCENTRATIONUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"PHUNIT"s,"ROTATIONALMASSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"POSITIVE"s,"NEGATIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BRACKET"s,"SHOE"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"IfcDocumentConfidentialityEnum"s,"PUBLIC"s,"RESTRICTED"s,"CONFIDENTIAL"s,"PERSONAL"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINALDRAFT"s,"FINAL"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"SWINGING"s,"DOUBLE_ACTING"s,"SLIDING"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"FIXEDPANEL"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorStyleConstructionEnum"s,"ALUMINIUM"s,"HIGH_GRADE_STEEL"s,"STEEL"s,"ALUMINIUM_WOOD"s,"ALUMINIUM_PLASTIC"s,"IfcDoorStyleOperationEnum"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"DOUBLE_DOOR_FOLDING"s,"IfcDoorTypeEnum"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"IfcDoorTypeOperationEnum"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"RIGIDSEGMENT"s,"FLEXIBLESEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERHEATER"s,"FREESTANDINGWATERCOOLER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"CONSUMERUNIT"s,"DISTRIBUTIONBOARD"s,"MOTORCONTROLCENTRE"s,"SWITCHBOARD"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITORBANK"s,"HARMONICFILTER"s,"INDUCTORBANK"s,"UPS"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"TIMECLOCK"s,"TIMEDELAY"s,"RELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"GIRDER"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SLAB_FIELD"s,"TRUSS"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVEAIRWASHER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTRULE"s,"EVENTMESSAGE"s,"EVENTTIME"s,"EVENTCOMPLEX"s,"IfcEventTypeEnum"s,"STARTEVENT"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_WATER"s,"EXTERNAL_FIRE"s,"IfcFanTypeEnum"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALAIRFOIL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"PROPELLORAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SOURCE"s,"SINK"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"AMMETER"s,"FREQUENCYMETER"s,"POWERFACTORMETER"s,"PHASEANGLEMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"CHAIR"s,"TABLE"s,"DESK"s,"BED"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"IfcGeographicElementTypeEnum"s,"TERRAIN"s,"IfcGeometricProjectionEnum"s,"GRAPH_VIEW"s,"SKETCH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"ELEVATION_VIEW"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"RADIAL"s,"TRIANGULAR"s,"IRREGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"STEAMINJECTION"s,"ADIABATICAIRWASHER"s,"ADIABATICPAN"s,"ADIABATICWETTEDELEMENT"s,"ADIABATICATOMIZING"s,"ADIABATICULTRASONIC"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDBUTANE"s,"ASSISTEDSTEAM"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"SPACEINVENTORY"s,"FURNITUREINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"UNIFORM_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"PIECEWISE_BEZIER_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"POINTSOURCE"s,"DIRECTIONSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLoadGroupTypeEnum"s,"LOAD_GROUP"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALOR"s,"LOGICALXOR"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RIVET"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STRINGER"s,"STRUT"s,"STUD"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNonNegativeLengthMeasure"s,"IfcNullStyle"s,"NULL"s,"IfcNumericMeasure"s,"IfcObjectTypeEnum"s,"PRODUCT"s,"PROCESS"s,"RESOURCE"s,"ACTOR"s,"GROUP"s,"PROJECT"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"POWEROUTLET"s,"DATAOUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"DRIVEN"s,"JETGROUTING"s,"COHESION"s,"FRICTION"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"CULVERT"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"CURTAIN_PANEL"s,"SHEET"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"CURVE"s,"AREA"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTRONIC"s,"ELECTROMAGNETIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"CIRCUITBREAKER"s,"EARTHLEAKAGECIRCUITBREAKER"s,"EARTHINGSWITCH"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"VARISTOR"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailingTypeEnum"s,"HANDRAIL"s,"GUARDRAIL"s,"BALUSTRADE"s,"IfcRampFlightTypeEnum"s,"STRAIGHT"s,"SPIRAL"s,"IfcRampTypeEnum"s,"STRAIGHT_RUN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"QUARTER_TURN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"HALF_TURN_RAMP"s,"SPIRAL_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"DAILY"s,"WEEKLY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"KILOPOINT"s,"MILEPOINT"s,"STATION"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcingBarRoleEnum"s,"MAIN"s,"SHEAR"s,"LIGATURE"s,"PUNCHING"s,"EDGE"s,"RING"s,"ANCHORING"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoleEnum"s,"SUPPLIER"s,"MANUFACTURER"s,"CONTRACTOR"s,"SUBCONTRACTOR"s,"ARCHITECT"s,"STRUCTURALENGINEER"s,"COSTENGINEER"s,"CLIENT"s,"BUILDINGOWNER"s,"BUILDINGOPERATOR"s,"MECHANICALENGINEER"s,"ELECTRICALENGINEER"s,"PROJECTMANAGER"s,"FACILITIESMANAGER"s,"CIVILENGINEER"s,"COMMISSIONINGENGINEER"s,"ENGINEER"s,"CONSULTANT"s,"CONSTRUCTIONMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"RESELLER"s,"IfcRoofTypeEnum"s,"FLAT_ROOF"s,"SHED_ROOF"s,"GABLE_ROOF"s,"HIP_ROOF"s,"HIPPED_GABLE_ROOF"s,"GAMBREL_ROOF"s,"MANSARD_ROOF"s,"BARREL_ROOF"s,"RAINBOW_ROOF"s,"BUTTERFLY_ROOF"s,"PAVILION_ROOF"s,"DOME_ROOF"s,"FREEFORM"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"EXA"s,"PETA"s,"TERA"s,"GIGA"s,"MEGA"s,"KILO"s,"HECTO"s,"DECA"s,"DECI"s,"CENTI"s,"MILLI"s,"MICRO"s,"NANO"s,"PICO"s,"FEMTO"s,"ATTO"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SHOWER"s,"SANITARYFOUNTAIN"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"UNIFORM"s,"TAPERED"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"COSENSOR"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"SMOKESENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"WINDSENSOR"s,"IfcSequenceEnum"s,"START_START"s,"START_FINISH"s,"FINISH_START"s,"FINISH_FINISH"s,"IfcShadingDeviceTypeEnum"s,"JALOUSIE"s,"SHUTTER"s,"AWNING"s,"IfcShearModulusMeasure"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_SINGLEVALUE"s,"P_ENUMERATEDVALUE"s,"P_BOUNDEDVALUE"s,"P_LISTVALUE"s,"P_TABLEVALUE"s,"P_REFERENCEVALUE"s,"Q_LENGTH"s,"Q_AREA"s,"Q_VOLUME"s,"Q_COUNT"s,"Q_WEIGHT"s,"Q_TIME"s,"IfcSlabTypeEnum"s,"FLOOR"s,"ROOF"s,"LANDING"s,"BASESLAB"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"SPACE"s,"PARKING"s,"GFA"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"OCCUPANCY"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"WINDER"s,"CURVED"s,"IfcStairTypeEnum"s,"STRAIGHT_RUN_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"QUARTER_WINDING_STAIR"s,"QUARTER_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"HALF_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"SPIRAL_STAIR"s,"DOUBLE_RETURN_STAIR"s,"CURVED_RUN_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"IfcStateEnum"s,"READWRITE"s,"READONLY"s,"LOCKED"s,"READWRITELOCKED"s,"READONLYLOCKED"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"POLYGONAL"s,"EQUIDISTANT"s,"SINUS"s,"PARABOLA"s,"DISCRETE"s,"IfcStructuralCurveMemberTypeEnum"s,"RIGID_JOINED_MEMBER"s,"PIN_JOINED_MEMBER"s,"TENSION_MEMBER"s,"COMPRESSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"MARK"s,"TAG"s,"TREATMENT"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"WORKSURFACE"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"PRESSUREVESSEL"s,"STORAGE"s,"VESSEL"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"COUPLER"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"UP"s,"DOWN"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTransformerTypeEnum"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"IfcTransitionCode"s,"DISCONTINUOUS"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"IfcTransitionCurveType"s,"BIQUADRATICPARABOLA"s,"BLOSSCURVE"s,"CLOTHOIDCURVE"s,"COSINECURVE"s,"CUBICPARABOLA"s,"SINECURVE"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementTypeEnum"s,"ELEVATOR"s,"ESCALATOR"s,"MOVINGWALKWAY"s,"CRANEWAY"s,"LIFTINGGEAR"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"INDICATORPANEL"s,"MIMICPANEL"s,"HUMIDISTAT"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRHANDLER"s,"AIRCONDITIONINGUNIT"s,"DEHUMIDIFIER"s,"SPLITSYSTEM"s,"ROOFTOPUNIT"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DRAWOFFCOCK"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVibrationIsolatorTypeEnum"s,"COMPRESSION"s,"SPRING"s,"IfcVoidingFeatureTypeEnum"s,"CUTOUT"s,"NOTCH"s,"HOLE"s,"MITER"s,"CHAMFER"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"SOLIDWALL"s,"STANDARD"s,"ELEMENTEDWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"SIDEHUNGRIGHTHAND"s,"SIDEHUNGLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TILTANDTURNLEFTHAND"s,"TOPHUNG"s,"BOTTOMHUNG"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"REMOVABLECASEMENT"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowStyleConstructionEnum"s,"OTHER_CONSTRUCTION"s,"IfcWindowStyleOperationEnum"s,"SINGLE_PANEL"s,"DOUBLE_PANEL_VERTICAL"s,"DOUBLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_VERTICAL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_HORIZONTAL"s,"IfcWindowTypeEnum"s,"WINDOW"s,"SKYLIGHT"s,"LIGHTDOME"s,"IfcWindowTypePartitioningEnum"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcPresentationStyleAssignment"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcDerivedMeasureValue"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcStyleAssignmentSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientationExpression"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcWindowStyle"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcPresentationStyleSelect"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAlignment2DHorizontal"s,"IfcAlignment2DSegment"s,"IfcAlignment2DVertical"s,"IfcAlignment2DVerticalSegment"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcDirection"s,"IfcDistanceExpression"s,"IfcDoorStyle"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcProxy"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcToroidalSurface"s,"IfcTransportElementType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAlignment2DHorizontalSegment"s,"IfcAlignment2DVerSegCircularArc"s,"IfcAlignment2DVerSegLine"s,"IfcAlignment2DVerSegParabolicArc"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuilding"s,"IfcBuildingElementType"s,"IfcBuildingStorey"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCurveSegment2D"s,"IfcCylindricalSurface"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLineSegment2D"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMotorConnectionType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOpeningStandardCase"s,"IfcOutletType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailingType"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAggregates"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcShadingDeviceType"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonType"s,"IfcTransformerType"s,"IfcTransitionCurveSegment2D"s,"IfcTransportElement"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignmentCurve"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBuildingElement"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxy"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCircularArcSegment2D"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcColumnStandardCase"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDoorStandardCase"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMemberStandardCase"s,"IfcMotorConnection"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcPlateStandardCase"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSlab"s,"IfcSlabElementedCase"s,"IfcSlabStandardCase"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTransformer"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallElementedCase"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcWindowStandardCase"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBeamStandardCase"s,"IfcBoiler"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"StartDistAlong"s,"Segments"s,"CurveGeometry"s,"TangentialContinuity"s,"StartTag"s,"EndTag"s,"Radius"s,"IsConvex"s,"ParabolaConstant"s,"HorizontalLength"s,"StartHeight"s,"StartGradient"s,"Horizontal"s,"Vertical"s,"Tag"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"IsCCW"s,"Source"s,"Edition"s,"EditionDate"s,"Location"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Transition"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"VerticalDatum"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"StartPoint"s,"StartDirection"s,"SegmentLength"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"AlongHorizontal"s,"FlowDirection"s,"SystemType"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ConstructionType"s,"ParameterTakesPrecedence"s,"Sizeable"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"ModelorDraughting"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"Directrix"s,"StartParam"s,"EndParam"s,"FixedReference"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"PlacementRelTo"s,"Distance"s,"CartesianPosition"s,"RelativePlacement"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"Expression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"LateralAxisDirection"s,"VerticalAxisDirection"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"Height"s,"ColourComponents"s,"Pixel"s,"Placement"s,"SizeInX"s,"SizeInY"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"Styles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"ProxyType"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"RestartDistance"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"ConnectionGeometry"s,"RelatingElement"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceType"s,"ImpliedOrder"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"FixedAxisVertical"s,"SpineCurve"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"StartRadius"s,"EndRadius"s,"IsStartRadiusCCW"s,"IsEndRadiusCCW"s,"TransitionCurveType"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"Start"s,"Finish"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ToAlignmentCurve"s,"ToHorizontal"s,"ToVertical"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"UsingCurves"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"ReferencedInStructures"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ToFaceSet"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"ReferencedByPlacements"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"HasColours"s,"HasTextures"s,"Types"s,"IFC4X1"s}; diff --git a/src/ifcparse/schemas/Ifc4x1.cpp b/src/ifcparse/schemas/Ifc4x1.cpp index 74aef07e6e..f493e36970 100644 --- a/src/ifcparse/schemas/Ifc4x1.cpp +++ b/src/ifcparse/schemas/Ifc4x1.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x1.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x1::Identifier = "IFC4X1"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X1_types[1201]; -// const IfcParse::enumeration_type& Ifc4x1::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[3]); } -const IfcParse::enumeration_type& Ifc4x1::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[3]); } /* -Ifc4x1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x1::IfcActionRequestTypeEnum::Value Ifc4x1::IfcActionRequestTypeEnum::FromSt } Ifc4x1::IfcActionRequestTypeEnum::operator Ifc4x1::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x1::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[4]); } -const IfcParse::enumeration_type& Ifc4x1::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[4]); } /* -Ifc4x1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x1::IfcActionSourceTypeEnum::Value Ifc4x1::IfcActionSourceTypeEnum::FromStri } Ifc4x1::IfcActionSourceTypeEnum::operator Ifc4x1::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x1::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[5]); } -const IfcParse::enumeration_type& Ifc4x1::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[5]); } /* -Ifc4x1::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x1::IfcActionTypeEnum::Value Ifc4x1::IfcActionTypeEnum::FromString(const std } Ifc4x1::IfcActionTypeEnum::operator Ifc4x1::IfcActionTypeEnum::Value() const { - return (Ifc4x1::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[11]); } -const IfcParse::enumeration_type& Ifc4x1::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[11]); } /* -Ifc4x1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x1::IfcActuatorTypeEnum::Value Ifc4x1::IfcActuatorTypeEnum::FromString(const } Ifc4x1::IfcActuatorTypeEnum::operator Ifc4x1::IfcActuatorTypeEnum::Value() const { - return (Ifc4x1::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[13]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[13]); } /* -Ifc4x1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x1::IfcAddressTypeEnum::Value Ifc4x1::IfcAddressTypeEnum::FromString(const s } Ifc4x1::IfcAddressTypeEnum::operator Ifc4x1::IfcAddressTypeEnum::Value() const { - return (Ifc4x1::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[20]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[20]); } /* -Ifc4x1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x1::IfcAirTerminalBoxTypeEnum::Value Ifc4x1::IfcAirTerminalBoxTypeEnum::From } Ifc4x1::IfcAirTerminalBoxTypeEnum::operator Ifc4x1::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x1::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[22]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[22]); } /* -Ifc4x1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x1::IfcAirTerminalTypeEnum::Value Ifc4x1::IfcAirTerminalTypeEnum::FromString } Ifc4x1::IfcAirTerminalTypeEnum::operator Ifc4x1::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x1::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[25]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[25]); } /* -Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x1::IfcAirToAirHeatRecoveryTy } Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[28]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[28]); } /* -Ifc4x1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x1::IfcAlarmTypeEnum::Value Ifc4x1::IfcAlarmTypeEnum::FromString(const std:: } Ifc4x1::IfcAlarmTypeEnum::operator Ifc4x1::IfcAlarmTypeEnum::Value() const { - return (Ifc4x1::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[39]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[39]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[39]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[39]); } /* -Ifc4x1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x1::IfcAlignmentTypeEnum::Value Ifc4x1::IfcAlignmentTypeEnum::FromString(con } Ifc4x1::IfcAlignmentTypeEnum::operator Ifc4x1::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x1::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[41]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[41]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[41]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[41]); } /* -Ifc4x1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x1::IfcAnalysisModelTypeEnum::Value Ifc4x1::IfcAnalysisModelTypeEnum::FromSt } Ifc4x1::IfcAnalysisModelTypeEnum::operator Ifc4x1::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x1::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[42]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[42]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[42]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[42]); } /* -Ifc4x1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x1::IfcAnalysisTheoryTypeEnum::Value Ifc4x1::IfcAnalysisTheoryTypeEnum::From } Ifc4x1::IfcAnalysisTheoryTypeEnum::operator Ifc4x1::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x1::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[57]); } -const IfcParse::enumeration_type& Ifc4x1::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[57]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[57]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[57]); } /* -Ifc4x1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x1::IfcArithmeticOperatorEnum::Value Ifc4x1::IfcArithmeticOperatorEnum::From } Ifc4x1::IfcArithmeticOperatorEnum::operator Ifc4x1::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x1::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[58]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[58]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[58]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[58]); } /* -Ifc4x1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x1::IfcAssemblyPlaceEnum::Value Ifc4x1::IfcAssemblyPlaceEnum::FromString(con } Ifc4x1::IfcAssemblyPlaceEnum::operator Ifc4x1::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x1::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[63]); } -const IfcParse::enumeration_type& Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[63]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[63]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[63]); } /* -Ifc4x1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x1::IfcAudioVisualApplianceTy } Ifc4x1::IfcAudioVisualApplianceTypeEnum::operator Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[97]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[97]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[97]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[97]); } /* -Ifc4x1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x1::IfcBSplineCurveForm::Value Ifc4x1::IfcBSplineCurveForm::FromString(const } Ifc4x1::IfcBSplineCurveForm::operator Ifc4x1::IfcBSplineCurveForm::Value() const { - return (Ifc4x1::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[100]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[100]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[100]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[100]); } /* -Ifc4x1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x1::IfcBSplineSurfaceForm::Value Ifc4x1::IfcBSplineSurfaceForm::FromString(c } Ifc4x1::IfcBSplineSurfaceForm::operator Ifc4x1::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x1::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[71]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[71]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[71]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[71]); } /* -Ifc4x1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x1::IfcBeamTypeEnum::Value Ifc4x1::IfcBeamTypeEnum::FromString(const std::st } Ifc4x1::IfcBeamTypeEnum::operator Ifc4x1::IfcBeamTypeEnum::Value() const { - return (Ifc4x1::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[72]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[72]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[72]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[72]); } /* -Ifc4x1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x1::IfcBenchmarkEnum::Value Ifc4x1::IfcBenchmarkEnum::FromString(const std:: } Ifc4x1::IfcBenchmarkEnum::operator Ifc4x1::IfcBenchmarkEnum::Value() const { - return (Ifc4x1::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[79]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[79]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[79]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[79]); } /* -Ifc4x1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x1::IfcBoilerTypeEnum::Value Ifc4x1::IfcBoilerTypeEnum::FromString(const std } Ifc4x1::IfcBoilerTypeEnum::operator Ifc4x1::IfcBoilerTypeEnum::Value() const { - return (Ifc4x1::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[83]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[83]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[83]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[83]); } /* -Ifc4x1::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x1::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x1::IfcBooleanOperator::Value Ifc4x1::IfcBooleanOperator::FromString(const s } Ifc4x1::IfcBooleanOperator::operator Ifc4x1::IfcBooleanOperator::Value() const { - return (Ifc4x1::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[106]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[106]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[106]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[106]); } /* -Ifc4x1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x1::IfcBuildingElementPartTypeEnum::Value Ifc4x1::IfcBuildingElementPartType } Ifc4x1::IfcBuildingElementPartTypeEnum::operator Ifc4x1::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x1::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[109]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[109]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[109]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[109]); } /* -Ifc4x1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x1::IfcBuildingElementProxyTypeEnum::Value Ifc4x1::IfcBuildingElementProxyTy } Ifc4x1::IfcBuildingElementProxyTypeEnum::operator Ifc4x1::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x1::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[113]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[113]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[113]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[113]); } /* -Ifc4x1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x1::IfcBuildingSystemTypeEnum::Value Ifc4x1::IfcBuildingSystemTypeEnum::From } Ifc4x1::IfcBuildingSystemTypeEnum::operator Ifc4x1::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x1::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[116]); } -const IfcParse::enumeration_type& Ifc4x1::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[116]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[116]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[116]); } /* -Ifc4x1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x1::IfcBurnerTypeEnum::Value Ifc4x1::IfcBurnerTypeEnum::FromString(const std } Ifc4x1::IfcBurnerTypeEnum::operator Ifc4x1::IfcBurnerTypeEnum::Value() const { - return (Ifc4x1::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[119]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[119]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[119]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[119]); } /* -Ifc4x1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x1::IfcCableCarrierFittingTypeEnum::Value Ifc4x1::IfcCableCarrierFittingType } Ifc4x1::IfcCableCarrierFittingTypeEnum::operator Ifc4x1::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x1::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[122]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[122]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[122]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[122]); } /* -Ifc4x1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x1::IfcCableCarrierSegmentType } Ifc4x1::IfcCableCarrierSegmentTypeEnum::operator Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[125]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[125]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[125]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[125]); } /* -Ifc4x1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x1::IfcCableFittingTypeEnum::Value Ifc4x1::IfcCableFittingTypeEnum::FromStri } Ifc4x1::IfcCableFittingTypeEnum::operator Ifc4x1::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x1::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[128]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[128]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[128]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[128]); } /* -Ifc4x1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x1::IfcCableSegmentTypeEnum::Value Ifc4x1::IfcCableSegmentTypeEnum::FromStri } Ifc4x1::IfcCableSegmentTypeEnum::operator Ifc4x1::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x1::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[140]); } -const IfcParse::enumeration_type& Ifc4x1::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[140]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[140]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[140]); } /* -Ifc4x1::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x1::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x1::IfcChangeActionEnum::Value Ifc4x1::IfcChangeActionEnum::FromString(const } Ifc4x1::IfcChangeActionEnum::operator Ifc4x1::IfcChangeActionEnum::Value() const { - return (Ifc4x1::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[143]); } -const IfcParse::enumeration_type& Ifc4x1::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[143]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[143]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[143]); } /* -Ifc4x1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x1::IfcChillerTypeEnum::Value Ifc4x1::IfcChillerTypeEnum::FromString(const s } Ifc4x1::IfcChillerTypeEnum::operator Ifc4x1::IfcChillerTypeEnum::Value() const { - return (Ifc4x1::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[146]); } -const IfcParse::enumeration_type& Ifc4x1::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[146]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[146]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[146]); } /* -Ifc4x1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x1::IfcChimneyTypeEnum::Value Ifc4x1::IfcChimneyTypeEnum::FromString(const s } Ifc4x1::IfcChimneyTypeEnum::operator Ifc4x1::IfcChimneyTypeEnum::Value() const { - return (Ifc4x1::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[160]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[160]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[160]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[160]); } /* -Ifc4x1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x1::IfcCoilTypeEnum::Value Ifc4x1::IfcCoilTypeEnum::FromString(const std::st } Ifc4x1::IfcCoilTypeEnum::operator Ifc4x1::IfcCoilTypeEnum::Value() const { - return (Ifc4x1::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[169]); } -const IfcParse::enumeration_type& Ifc4x1::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[169]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[169]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[169]); } /* -Ifc4x1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x1::IfcColumnTypeEnum::Value Ifc4x1::IfcColumnTypeEnum::FromString(const std } Ifc4x1::IfcColumnTypeEnum::operator Ifc4x1::IfcColumnTypeEnum::Value() const { - return (Ifc4x1::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[172]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[172]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[172]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[172]); } /* -Ifc4x1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x1::IfcCommunicationsAppli } Ifc4x1::IfcCommunicationsApplianceTypeEnum::operator Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[176]); } -const IfcParse::enumeration_type& Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[176]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[176]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[176]); } /* -Ifc4x1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x1::IfcComplexPropertyTemp } Ifc4x1::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[184]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[184]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[184]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[184]); } /* -Ifc4x1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x1::IfcCompressorTypeEnum::Value Ifc4x1::IfcCompressorTypeEnum::FromString(c } Ifc4x1::IfcCompressorTypeEnum::operator Ifc4x1::IfcCompressorTypeEnum::Value() const { - return (Ifc4x1::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[187]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[187]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[187]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[187]); } /* -Ifc4x1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x1::IfcCondenserTypeEnum::Value Ifc4x1::IfcCondenserTypeEnum::FromString(con } Ifc4x1::IfcCondenserTypeEnum::operator Ifc4x1::IfcCondenserTypeEnum::Value() const { - return (Ifc4x1::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[195]); } -const IfcParse::enumeration_type& Ifc4x1::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[195]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[195]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[195]); } /* -Ifc4x1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x1::IfcConnectionTypeEnum::Value Ifc4x1::IfcConnectionTypeEnum::FromString(c } Ifc4x1::IfcConnectionTypeEnum::operator Ifc4x1::IfcConnectionTypeEnum::Value() const { - return (Ifc4x1::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[198]); } -const IfcParse::enumeration_type& Ifc4x1::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[198]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[198]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[198]); } /* -Ifc4x1::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x1::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x1::IfcConstraintEnum::Value Ifc4x1::IfcConstraintEnum::FromString(const std } Ifc4x1::IfcConstraintEnum::operator Ifc4x1::IfcConstraintEnum::Value() const { - return (Ifc4x1::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[201]); } -const IfcParse::enumeration_type& Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[201]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[201]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[201]); } /* -Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x1::IfcConstructionE } Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[204]); } -const IfcParse::enumeration_type& Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[204]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[204]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[204]); } /* -Ifc4x1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x1::IfcConstructionMa } Ifc4x1::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[207]); } -const IfcParse::enumeration_type& Ifc4x1::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[207]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[207]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[207]); } /* -Ifc4x1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x1::IfcConstructionProductResourceTypeEnum::Value Ifc4x1::IfcConstructionPro } Ifc4x1::IfcConstructionProductResourceTypeEnum::operator Ifc4x1::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x1::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[216]); } -const IfcParse::enumeration_type& Ifc4x1::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[216]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[216]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[216]); } /* -Ifc4x1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x1::IfcControllerTypeEnum::Value Ifc4x1::IfcControllerTypeEnum::FromString(c } Ifc4x1::IfcControllerTypeEnum::operator Ifc4x1::IfcControllerTypeEnum::Value() const { - return (Ifc4x1::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[221]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[221]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[221]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[221]); } /* -Ifc4x1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x1::IfcCooledBeamTypeEnum::Value Ifc4x1::IfcCooledBeamTypeEnum::FromString(c } Ifc4x1::IfcCooledBeamTypeEnum::operator Ifc4x1::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x1::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[224]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[224]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[224]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[224]); } /* -Ifc4x1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x1::IfcCoolingTowerTypeEnum::Value Ifc4x1::IfcCoolingTowerTypeEnum::FromStri } Ifc4x1::IfcCoolingTowerTypeEnum::operator Ifc4x1::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x1::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[229]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[229]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[229]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[229]); } /* -Ifc4x1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x1::IfcCostItemTypeEnum::Value Ifc4x1::IfcCostItemTypeEnum::FromString(const } Ifc4x1::IfcCostItemTypeEnum::operator Ifc4x1::IfcCostItemTypeEnum::Value() const { - return (Ifc4x1::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[231]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[231]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[231]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[231]); } /* -Ifc4x1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x1::IfcCostScheduleTypeEnum::Value Ifc4x1::IfcCostScheduleTypeEnum::FromStri } Ifc4x1::IfcCostScheduleTypeEnum::operator Ifc4x1::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x1::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[236]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[236]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[236]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[236]); } /* -Ifc4x1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x1::IfcCoveringTypeEnum::Value Ifc4x1::IfcCoveringTypeEnum::FromString(const } Ifc4x1::IfcCoveringTypeEnum::operator Ifc4x1::IfcCoveringTypeEnum::Value() const { - return (Ifc4x1::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[239]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[239]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[239]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[239]); } /* -Ifc4x1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x1::IfcCrewResourceTypeEnum::Value Ifc4x1::IfcCrewResourceTypeEnum::FromStri } Ifc4x1::IfcCrewResourceTypeEnum::operator Ifc4x1::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x1::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[247]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[247]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[247]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[247]); } /* -Ifc4x1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x1::IfcCurtainWallTypeEnum::Value Ifc4x1::IfcCurtainWallTypeEnum::FromString } Ifc4x1::IfcCurtainWallTypeEnum::operator Ifc4x1::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x1::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[253]); } -const IfcParse::enumeration_type& Ifc4x1::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[253]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[253]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[253]); } /* -Ifc4x1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x1::IfcCurveInterpolationEnum::Value Ifc4x1::IfcCurveInterpolationEnum::From } Ifc4x1::IfcCurveInterpolationEnum::operator Ifc4x1::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x1::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[265]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[265]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[265]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[265]); } /* -Ifc4x1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x1::IfcDamperTypeEnum::Value Ifc4x1::IfcDamperTypeEnum::FromString(const std } Ifc4x1::IfcDamperTypeEnum::operator Ifc4x1::IfcDamperTypeEnum::Value() const { - return (Ifc4x1::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[266]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[266]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[266]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[266]); } /* -Ifc4x1::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x1::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x1::IfcDataOriginEnum::Value Ifc4x1::IfcDataOriginEnum::FromString(const std } Ifc4x1::IfcDataOriginEnum::operator Ifc4x1::IfcDataOriginEnum::Value() const { - return (Ifc4x1::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[276]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[276]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[276]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[276]); } /* -Ifc4x1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x1::IfcDerivedUnitEnum::Value Ifc4x1::IfcDerivedUnitEnum::FromString(const s } Ifc4x1::IfcDerivedUnitEnum::operator Ifc4x1::IfcDerivedUnitEnum::Value() const { - return (Ifc4x1::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[281]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[281]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[281]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[281]); } /* -Ifc4x1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x1::IfcDirectionSenseEnum::Value Ifc4x1::IfcDirectionSenseEnum::FromString(c } Ifc4x1::IfcDirectionSenseEnum::operator Ifc4x1::IfcDirectionSenseEnum::Value() const { - return (Ifc4x1::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[284]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[284]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[284]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[284]); } /* -Ifc4x1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x1::IfcDiscreteAccessoryTypeEnum } Ifc4x1::IfcDiscreteAccessoryTypeEnum::operator Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[288]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[288]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[288]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[288]); } /* -Ifc4x1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x1::IfcDistributionChamberElementTypeEnum::Value Ifc4x1::IfcDistributionCham } Ifc4x1::IfcDistributionChamberElementTypeEnum::operator Ifc4x1::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x1::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[297]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[297]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[297]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[297]); } /* -Ifc4x1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x1::IfcDistributionPortTypeEnum::Value Ifc4x1::IfcDistributionPortTypeEnum:: } Ifc4x1::IfcDistributionPortTypeEnum::operator Ifc4x1::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x1::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[299]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[299]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[299]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[299]); } /* -Ifc4x1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x1::IfcDistributionSystemEnum::Value Ifc4x1::IfcDistributionSystemEnum::From } Ifc4x1::IfcDistributionSystemEnum::operator Ifc4x1::IfcDistributionSystemEnum::Value() const { - return (Ifc4x1::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[300]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[300]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[300]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[300]); } /* -Ifc4x1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x1::IfcDocumentConfidentialityEnum::Value Ifc4x1::IfcDocumentConfidentiality } Ifc4x1::IfcDocumentConfidentialityEnum::operator Ifc4x1::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x1::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[305]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[305]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[305]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[305]); } /* -Ifc4x1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x1::IfcDocumentStatusEnum::Value Ifc4x1::IfcDocumentStatusEnum::FromString(c } Ifc4x1::IfcDocumentStatusEnum::operator Ifc4x1::IfcDocumentStatusEnum::Value() const { - return (Ifc4x1::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[308]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[308]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[308]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[308]); } /* -Ifc4x1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x1::IfcDoorPanelOperationEnum::Value Ifc4x1::IfcDoorPanelOperationEnum::From } Ifc4x1::IfcDoorPanelOperationEnum::operator Ifc4x1::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x1::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[309]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[309]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[309]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[309]); } /* -Ifc4x1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x1::IfcDoorPanelPositionEnum::Value Ifc4x1::IfcDoorPanelPositionEnum::FromSt } Ifc4x1::IfcDoorPanelPositionEnum::operator Ifc4x1::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x1::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDoorStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[313]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDoorStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[313]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[313]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[313]); } /* -Ifc4x1::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x1::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x1::IfcDoorStyleConstructionEnum::Value Ifc4x1::IfcDoorStyleConstructionEnum } Ifc4x1::IfcDoorStyleConstructionEnum::operator Ifc4x1::IfcDoorStyleConstructionEnum::Value() const { - return (Ifc4x1::IfcDoorStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDoorStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDoorStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[314]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDoorStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[314]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[314]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[314]); } /* -Ifc4x1::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) +Ifc4x1::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x1::IfcDoorStyleOperationEnum::Value Ifc4x1::IfcDoorStyleOperationEnum::From } Ifc4x1::IfcDoorStyleOperationEnum::operator Ifc4x1::IfcDoorStyleOperationEnum::Value() const { - return (Ifc4x1::IfcDoorStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDoorStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[316]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[316]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[316]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[316]); } /* -Ifc4x1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x1::IfcDoorTypeEnum::Value Ifc4x1::IfcDoorTypeEnum::FromString(const std::st } Ifc4x1::IfcDoorTypeEnum::operator Ifc4x1::IfcDoorTypeEnum::Value() const { - return (Ifc4x1::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[317]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[317]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[317]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[317]); } /* -Ifc4x1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x1::IfcDoorTypeOperationEnum::Value Ifc4x1::IfcDoorTypeOperationEnum::FromSt } Ifc4x1::IfcDoorTypeOperationEnum::operator Ifc4x1::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x1::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[323]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[323]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[323]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[323]); } /* -Ifc4x1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x1::IfcDuctFittingTypeEnum::Value Ifc4x1::IfcDuctFittingTypeEnum::FromString } Ifc4x1::IfcDuctFittingTypeEnum::operator Ifc4x1::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x1::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[326]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[326]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[326]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[326]); } /* -Ifc4x1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x1::IfcDuctSegmentTypeEnum::Value Ifc4x1::IfcDuctSegmentTypeEnum::FromString } Ifc4x1::IfcDuctSegmentTypeEnum::operator Ifc4x1::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x1::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[329]); } -const IfcParse::enumeration_type& Ifc4x1::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[329]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[329]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[329]); } /* -Ifc4x1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x1::IfcDuctSilencerTypeEnum::Value Ifc4x1::IfcDuctSilencerTypeEnum::FromStri } Ifc4x1::IfcDuctSilencerTypeEnum::operator Ifc4x1::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x1::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[337]); } -const IfcParse::enumeration_type& Ifc4x1::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[337]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[337]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[337]); } /* -Ifc4x1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x1::IfcElectricApplianceTypeEnum::Value Ifc4x1::IfcElectricApplianceTypeEnum } Ifc4x1::IfcElectricApplianceTypeEnum::operator Ifc4x1::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x1::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[344]); } -const IfcParse::enumeration_type& Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[344]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[344]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[344]); } /* -Ifc4x1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x1::IfcElectricDistribut } Ifc4x1::IfcElectricDistributionBoardTypeEnum::operator Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[347]); } -const IfcParse::enumeration_type& Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[347]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[347]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[347]); } /* -Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x1::IfcElectricFlowStora } Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[350]); } -const IfcParse::enumeration_type& Ifc4x1::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[350]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[350]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[350]); } /* -Ifc4x1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x1::IfcElectricGeneratorTypeEnum::Value Ifc4x1::IfcElectricGeneratorTypeEnum } Ifc4x1::IfcElectricGeneratorTypeEnum::operator Ifc4x1::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x1::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[353]); } -const IfcParse::enumeration_type& Ifc4x1::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[353]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[353]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[353]); } /* -Ifc4x1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x1::IfcElectricMotorTypeEnum::Value Ifc4x1::IfcElectricMotorTypeEnum::FromSt } Ifc4x1::IfcElectricMotorTypeEnum::operator Ifc4x1::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x1::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[357]); } -const IfcParse::enumeration_type& Ifc4x1::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[357]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[357]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[357]); } /* -Ifc4x1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x1::IfcElectricTimeControlTypeEnum::Value Ifc4x1::IfcElectricTimeControlType } Ifc4x1::IfcElectricTimeControlTypeEnum::operator Ifc4x1::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x1::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[363]); } -const IfcParse::enumeration_type& Ifc4x1::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[363]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[363]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[363]); } /* -Ifc4x1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x1::IfcElementAssemblyTypeEnum::Value Ifc4x1::IfcElementAssemblyTypeEnum::Fr } Ifc4x1::IfcElementAssemblyTypeEnum::operator Ifc4x1::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x1::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[366]); } -const IfcParse::enumeration_type& Ifc4x1::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[366]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[366]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[366]); } /* -Ifc4x1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x1::IfcElementCompositionEnum::Value Ifc4x1::IfcElementCompositionEnum::From } Ifc4x1::IfcElementCompositionEnum::operator Ifc4x1::IfcElementCompositionEnum::Value() const { - return (Ifc4x1::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[376]); } -const IfcParse::enumeration_type& Ifc4x1::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[376]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[376]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[376]); } /* -Ifc4x1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x1::IfcEngineTypeEnum::Value Ifc4x1::IfcEngineTypeEnum::FromString(const std } Ifc4x1::IfcEngineTypeEnum::operator Ifc4x1::IfcEngineTypeEnum::Value() const { - return (Ifc4x1::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[379]); } -const IfcParse::enumeration_type& Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[379]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[379]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[379]); } /* -Ifc4x1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x1::IfcEvaporativeCoolerTypeEnum } Ifc4x1::IfcEvaporativeCoolerTypeEnum::operator Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[382]); } -const IfcParse::enumeration_type& Ifc4x1::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[382]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[382]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[382]); } /* -Ifc4x1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x1::IfcEvaporatorTypeEnum::Value Ifc4x1::IfcEvaporatorTypeEnum::FromString(c } Ifc4x1::IfcEvaporatorTypeEnum::operator Ifc4x1::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x1::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[385]); } -const IfcParse::enumeration_type& Ifc4x1::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[385]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[385]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[385]); } /* -Ifc4x1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x1::IfcEventTriggerTypeEnum::Value Ifc4x1::IfcEventTriggerTypeEnum::FromStri } Ifc4x1::IfcEventTriggerTypeEnum::operator Ifc4x1::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x1::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[387]); } -const IfcParse::enumeration_type& Ifc4x1::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[387]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[387]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[387]); } /* -Ifc4x1::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x1::IfcEventTypeEnum::Value Ifc4x1::IfcEventTypeEnum::FromString(const std:: } Ifc4x1::IfcEventTypeEnum::operator Ifc4x1::IfcEventTypeEnum::Value() const { - return (Ifc4x1::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[396]); } -const IfcParse::enumeration_type& Ifc4x1::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[396]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[396]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[396]); } /* -Ifc4x1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x1::IfcExternalSpatialElementTypeEnum::Value Ifc4x1::IfcExternalSpatialEleme } Ifc4x1::IfcExternalSpatialElementTypeEnum::operator Ifc4x1::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x1::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[410]); } -const IfcParse::enumeration_type& Ifc4x1::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[410]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[410]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[410]); } /* -Ifc4x1::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x1::IfcFanTypeEnum::Value Ifc4x1::IfcFanTypeEnum::FromString(const std::stri } Ifc4x1::IfcFanTypeEnum::operator Ifc4x1::IfcFanTypeEnum::Value() const { - return (Ifc4x1::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[413]); } -const IfcParse::enumeration_type& Ifc4x1::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[413]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[413]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[413]); } /* -Ifc4x1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x1::IfcFastenerTypeEnum::Value Ifc4x1::IfcFastenerTypeEnum::FromString(const } Ifc4x1::IfcFastenerTypeEnum::operator Ifc4x1::IfcFastenerTypeEnum::Value() const { - return (Ifc4x1::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[423]); } -const IfcParse::enumeration_type& Ifc4x1::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[423]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[423]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[423]); } /* -Ifc4x1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x1::IfcFilterTypeEnum::Value Ifc4x1::IfcFilterTypeEnum::FromString(const std } Ifc4x1::IfcFilterTypeEnum::operator Ifc4x1::IfcFilterTypeEnum::Value() const { - return (Ifc4x1::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[426]); } -const IfcParse::enumeration_type& Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[426]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[426]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[426]); } /* -Ifc4x1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x1::IfcFireSuppressionTerm } Ifc4x1::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[430]); } -const IfcParse::enumeration_type& Ifc4x1::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[430]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[430]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[430]); } /* -Ifc4x1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x1::IfcFlowDirectionEnum::Value Ifc4x1::IfcFlowDirectionEnum::FromString(con } Ifc4x1::IfcFlowDirectionEnum::operator Ifc4x1::IfcFlowDirectionEnum::Value() const { - return (Ifc4x1::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[435]); } -const IfcParse::enumeration_type& Ifc4x1::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[435]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[435]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[435]); } /* -Ifc4x1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x1::IfcFlowInstrumentTypeEnum::Value Ifc4x1::IfcFlowInstrumentTypeEnum::From } Ifc4x1::IfcFlowInstrumentTypeEnum::operator Ifc4x1::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x1::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[438]); } -const IfcParse::enumeration_type& Ifc4x1::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[438]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[438]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[438]); } /* -Ifc4x1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x1::IfcFlowMeterTypeEnum::Value Ifc4x1::IfcFlowMeterTypeEnum::FromString(con } Ifc4x1::IfcFlowMeterTypeEnum::operator Ifc4x1::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x1::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[454]); } -const IfcParse::enumeration_type& Ifc4x1::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[454]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[454]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[454]); } /* -Ifc4x1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x1::IfcFootingTypeEnum::Value Ifc4x1::IfcFootingTypeEnum::FromString(const s } Ifc4x1::IfcFootingTypeEnum::operator Ifc4x1::IfcFootingTypeEnum::Value() const { - return (Ifc4x1::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[461]); } -const IfcParse::enumeration_type& Ifc4x1::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[461]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[461]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[461]); } /* -Ifc4x1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x1::IfcFurnitureTypeEnum::Value Ifc4x1::IfcFurnitureTypeEnum::FromString(con } Ifc4x1::IfcFurnitureTypeEnum::operator Ifc4x1::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x1::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[464]); } -const IfcParse::enumeration_type& Ifc4x1::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[464]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[464]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[464]); } /* -Ifc4x1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x1::IfcGeographicElementTypeEnum::Value Ifc4x1::IfcGeographicElementTypeEnum } Ifc4x1::IfcGeographicElementTypeEnum::operator Ifc4x1::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x1::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[466]); } -const IfcParse::enumeration_type& Ifc4x1::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[466]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[466]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[466]); } /* -Ifc4x1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x1::IfcGeometricProjectionEnum::Value Ifc4x1::IfcGeometricProjectionEnum::Fr } Ifc4x1::IfcGeometricProjectionEnum::operator Ifc4x1::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x1::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[473]); } -const IfcParse::enumeration_type& Ifc4x1::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[473]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[473]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[473]); } /* -Ifc4x1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x1::IfcGlobalOrLocalEnum::Value Ifc4x1::IfcGlobalOrLocalEnum::FromString(con } Ifc4x1::IfcGlobalOrLocalEnum::operator Ifc4x1::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x1::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[478]); } -const IfcParse::enumeration_type& Ifc4x1::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[478]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[478]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[478]); } /* -Ifc4x1::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x1::IfcGridTypeEnum::Value Ifc4x1::IfcGridTypeEnum::FromString(const std::st } Ifc4x1::IfcGridTypeEnum::operator Ifc4x1::IfcGridTypeEnum::Value() const { - return (Ifc4x1::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[484]); } -const IfcParse::enumeration_type& Ifc4x1::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[484]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[484]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[484]); } /* -Ifc4x1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x1::IfcHeatExchangerTypeEnum::Value Ifc4x1::IfcHeatExchangerTypeEnum::FromSt } Ifc4x1::IfcHeatExchangerTypeEnum::operator Ifc4x1::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x1::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[489]); } -const IfcParse::enumeration_type& Ifc4x1::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[489]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[489]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[489]); } /* -Ifc4x1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x1::IfcHumidifierTypeEnum::Value Ifc4x1::IfcHumidifierTypeEnum::FromString(c } Ifc4x1::IfcHumidifierTypeEnum::operator Ifc4x1::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x1::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[504]); } -const IfcParse::enumeration_type& Ifc4x1::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[504]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[504]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[504]); } /* -Ifc4x1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x1::IfcInterceptorTypeEnum::Value Ifc4x1::IfcInterceptorTypeEnum::FromString } Ifc4x1::IfcInterceptorTypeEnum::operator Ifc4x1::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x1::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[505]); } -const IfcParse::enumeration_type& Ifc4x1::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[505]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[505]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[505]); } /* -Ifc4x1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x1::IfcInternalOrExternalEnum::Value Ifc4x1::IfcInternalOrExternalEnum::From } Ifc4x1::IfcInternalOrExternalEnum::operator Ifc4x1::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x1::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[508]); } -const IfcParse::enumeration_type& Ifc4x1::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[508]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[508]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[508]); } /* -Ifc4x1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x1::IfcInventoryTypeEnum::Value Ifc4x1::IfcInventoryTypeEnum::FromString(con } Ifc4x1::IfcInventoryTypeEnum::operator Ifc4x1::IfcInventoryTypeEnum::Value() const { - return (Ifc4x1::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[516]); } -const IfcParse::enumeration_type& Ifc4x1::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[516]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[516]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[516]); } /* -Ifc4x1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x1::IfcJunctionBoxTypeEnum::Value Ifc4x1::IfcJunctionBoxTypeEnum::FromString } Ifc4x1::IfcJunctionBoxTypeEnum::operator Ifc4x1::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x1::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[518]); } -const IfcParse::enumeration_type& Ifc4x1::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[518]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[518]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[518]); } /* -Ifc4x1::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x1::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x1::IfcKnotType::Value Ifc4x1::IfcKnotType::FromString(const std::string& s) } Ifc4x1::IfcKnotType::operator Ifc4x1::IfcKnotType::Value() const { - return (Ifc4x1::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[522]); } -const IfcParse::enumeration_type& Ifc4x1::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[522]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[522]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[522]); } /* -Ifc4x1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x1::IfcLaborResourceTypeEnum::Value Ifc4x1::IfcLaborResourceTypeEnum::FromSt } Ifc4x1::IfcLaborResourceTypeEnum::operator Ifc4x1::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x1::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[526]); } -const IfcParse::enumeration_type& Ifc4x1::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[526]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[526]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[526]); } /* -Ifc4x1::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x1::IfcLampTypeEnum::Value Ifc4x1::IfcLampTypeEnum::FromString(const std::st } Ifc4x1::IfcLampTypeEnum::operator Ifc4x1::IfcLampTypeEnum::Value() const { - return (Ifc4x1::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[529]); } -const IfcParse::enumeration_type& Ifc4x1::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[529]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[529]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[529]); } /* -Ifc4x1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x1::IfcLayerSetDirectionEnum::Value Ifc4x1::IfcLayerSetDirectionEnum::FromSt } Ifc4x1::IfcLayerSetDirectionEnum::operator Ifc4x1::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x1::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[534]); } -const IfcParse::enumeration_type& Ifc4x1::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[534]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[534]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[534]); } /* -Ifc4x1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x1::IfcLightDistributionCurveEnum::Value Ifc4x1::IfcLightDistributionCurveEn } Ifc4x1::IfcLightDistributionCurveEnum::operator Ifc4x1::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x1::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[537]); } -const IfcParse::enumeration_type& Ifc4x1::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[537]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[537]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[537]); } /* -Ifc4x1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x1::IfcLightEmissionSourceEnum::Value Ifc4x1::IfcLightEmissionSourceEnum::Fr } Ifc4x1::IfcLightEmissionSourceEnum::operator Ifc4x1::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x1::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[540]); } -const IfcParse::enumeration_type& Ifc4x1::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[540]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[540]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[540]); } /* -Ifc4x1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x1::IfcLightFixtureTypeEnum::Value Ifc4x1::IfcLightFixtureTypeEnum::FromStri } Ifc4x1::IfcLightFixtureTypeEnum::operator Ifc4x1::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x1::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[557]); } -const IfcParse::enumeration_type& Ifc4x1::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[557]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[557]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[557]); } /* -Ifc4x1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x1::IfcLoadGroupTypeEnum::Value Ifc4x1::IfcLoadGroupTypeEnum::FromString(con } Ifc4x1::IfcLoadGroupTypeEnum::operator Ifc4x1::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x1::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[560]); } -const IfcParse::enumeration_type& Ifc4x1::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[560]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[560]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[560]); } /* -Ifc4x1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x1::IfcLogicalOperatorEnum::Value Ifc4x1::IfcLogicalOperatorEnum::FromString } Ifc4x1::IfcLogicalOperatorEnum::operator Ifc4x1::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x1::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[599]); } -const IfcParse::enumeration_type& Ifc4x1::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[599]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[599]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[599]); } /* -Ifc4x1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x1::IfcMechanicalFastenerTypeEnum::Value Ifc4x1::IfcMechanicalFastenerTypeEn } Ifc4x1::IfcMechanicalFastenerTypeEnum::operator Ifc4x1::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x1::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[602]); } -const IfcParse::enumeration_type& Ifc4x1::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[602]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[602]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[602]); } /* -Ifc4x1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x1::IfcMedicalDeviceTypeEnum::Value Ifc4x1::IfcMedicalDeviceTypeEnum::FromSt } Ifc4x1::IfcMedicalDeviceTypeEnum::operator Ifc4x1::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x1::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[606]); } -const IfcParse::enumeration_type& Ifc4x1::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[606]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[606]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[606]); } /* -Ifc4x1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x1::IfcMemberTypeEnum::Value Ifc4x1::IfcMemberTypeEnum::FromString(const std } Ifc4x1::IfcMemberTypeEnum::operator Ifc4x1::IfcMemberTypeEnum::Value() const { - return (Ifc4x1::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[625]); } -const IfcParse::enumeration_type& Ifc4x1::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[625]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[625]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[625]); } /* -Ifc4x1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x1::IfcMotorConnectionTypeEnum::Value Ifc4x1::IfcMotorConnectionTypeEnum::Fr } Ifc4x1::IfcMotorConnectionTypeEnum::operator Ifc4x1::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x1::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcNullStyle::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[629]); } -const IfcParse::enumeration_type& Ifc4x1::IfcNullStyle::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[629]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcNullStyle::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[629]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcNullStyle::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[629]); } /* -Ifc4x1::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) +Ifc4x1::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcNullStyle::IfcNullStyle(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcNullStyle::IfcNullStyle(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x1::IfcNullStyle::Value Ifc4x1::IfcNullStyle::FromString(const std::string& } Ifc4x1::IfcNullStyle::operator Ifc4x1::IfcNullStyle::Value() const { - return (Ifc4x1::IfcNullStyle::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcNullStyle::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcObjectTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[637]); } -const IfcParse::enumeration_type& Ifc4x1::IfcObjectTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[637]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcObjectTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[637]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcObjectTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[637]); } /* -Ifc4x1::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcObjectTypeEnum::IfcObjectTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x1::IfcObjectTypeEnum::Value Ifc4x1::IfcObjectTypeEnum::FromString(const std } Ifc4x1::IfcObjectTypeEnum::operator Ifc4x1::IfcObjectTypeEnum::Value() const { - return (Ifc4x1::IfcObjectTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcObjectTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[634]); } -const IfcParse::enumeration_type& Ifc4x1::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[634]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[634]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[634]); } /* -Ifc4x1::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x1::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x1::IfcObjectiveEnum::Value Ifc4x1::IfcObjectiveEnum::FromString(const std:: } Ifc4x1::IfcObjectiveEnum::operator Ifc4x1::IfcObjectiveEnum::Value() const { - return (Ifc4x1::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[639]); } -const IfcParse::enumeration_type& Ifc4x1::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[639]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[639]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[639]); } /* -Ifc4x1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x1::IfcOccupantTypeEnum::Value Ifc4x1::IfcOccupantTypeEnum::FromString(const } Ifc4x1::IfcOccupantTypeEnum::operator Ifc4x1::IfcOccupantTypeEnum::Value() const { - return (Ifc4x1::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[645]); } -const IfcParse::enumeration_type& Ifc4x1::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[645]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[645]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[645]); } /* -Ifc4x1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x1::IfcOpeningElementTypeEnum::Value Ifc4x1::IfcOpeningElementTypeEnum::From } Ifc4x1::IfcOpeningElementTypeEnum::operator Ifc4x1::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x1::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[655]); } -const IfcParse::enumeration_type& Ifc4x1::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[655]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[655]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[655]); } /* -Ifc4x1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x1::IfcOutletTypeEnum::Value Ifc4x1::IfcOutletTypeEnum::FromString(const std } Ifc4x1::IfcOutletTypeEnum::operator Ifc4x1::IfcOutletTypeEnum::Value() const { - return (Ifc4x1::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[662]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[662]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[662]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[662]); } /* -Ifc4x1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x1::IfcPerformanceHistoryTypeEnum::Value Ifc4x1::IfcPerformanceHistoryTypeEn } Ifc4x1::IfcPerformanceHistoryTypeEnum::operator Ifc4x1::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x1::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[663]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[663]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[663]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[663]); } /* -Ifc4x1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x1::IfcPermeableCoveringOperationEnum::Value Ifc4x1::IfcPermeableCoveringOpe } Ifc4x1::IfcPermeableCoveringOperationEnum::operator Ifc4x1::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x1::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[666]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[666]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[666]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[666]); } /* -Ifc4x1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x1::IfcPermitTypeEnum::Value Ifc4x1::IfcPermitTypeEnum::FromString(const std } Ifc4x1::IfcPermitTypeEnum::operator Ifc4x1::IfcPermitTypeEnum::Value() const { - return (Ifc4x1::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[671]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[671]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[671]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[671]); } /* -Ifc4x1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x1::IfcPhysicalOrVirtualEnum::Value Ifc4x1::IfcPhysicalOrVirtualEnum::FromSt } Ifc4x1::IfcPhysicalOrVirtualEnum::operator Ifc4x1::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x1::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[675]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[675]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[675]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[675]); } /* -Ifc4x1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x1::IfcPileConstructionEnum::Value Ifc4x1::IfcPileConstructionEnum::FromStri } Ifc4x1::IfcPileConstructionEnum::operator Ifc4x1::IfcPileConstructionEnum::Value() const { - return (Ifc4x1::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[677]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[677]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[677]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[677]); } /* -Ifc4x1::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x1::IfcPileTypeEnum::Value Ifc4x1::IfcPileTypeEnum::FromString(const std::st } Ifc4x1::IfcPileTypeEnum::operator Ifc4x1::IfcPileTypeEnum::Value() const { - return (Ifc4x1::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[680]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[680]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[680]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[680]); } /* -Ifc4x1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x1::IfcPipeFittingTypeEnum::Value Ifc4x1::IfcPipeFittingTypeEnum::FromString } Ifc4x1::IfcPipeFittingTypeEnum::operator Ifc4x1::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x1::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[683]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[683]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[683]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[683]); } /* -Ifc4x1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x1::IfcPipeSegmentTypeEnum::Value Ifc4x1::IfcPipeSegmentTypeEnum::FromString } Ifc4x1::IfcPipeSegmentTypeEnum::operator Ifc4x1::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x1::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[694]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[694]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[694]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[694]); } /* -Ifc4x1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x1::IfcPlateTypeEnum::Value Ifc4x1::IfcPlateTypeEnum::FromString(const std:: } Ifc4x1::IfcPlateTypeEnum::operator Ifc4x1::IfcPlateTypeEnum::Value() const { - return (Ifc4x1::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[717]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[717]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[717]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[717]); } /* -Ifc4x1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x1::IfcPreferredSurfac } Ifc4x1::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[728]); } -const IfcParse::enumeration_type& Ifc4x1::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[728]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[728]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[728]); } /* -Ifc4x1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x1::IfcProcedureTypeEnum::Value Ifc4x1::IfcProcedureTypeEnum::FromString(con } Ifc4x1::IfcProcedureTypeEnum::operator Ifc4x1::IfcProcedureTypeEnum::Value() const { - return (Ifc4x1::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[738]); } -const IfcParse::enumeration_type& Ifc4x1::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[738]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[738]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[738]); } /* -Ifc4x1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x1::IfcProfileTypeEnum::Value Ifc4x1::IfcProfileTypeEnum::FromString(const s } Ifc4x1::IfcProfileTypeEnum::operator Ifc4x1::IfcProfileTypeEnum::Value() const { - return (Ifc4x1::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[746]); } -const IfcParse::enumeration_type& Ifc4x1::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[746]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[746]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[746]); } /* -Ifc4x1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x1::IfcProjectOrderTypeEnum::Value Ifc4x1::IfcProjectOrderTypeEnum::FromStri } Ifc4x1::IfcProjectOrderTypeEnum::operator Ifc4x1::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x1::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[741]); } -const IfcParse::enumeration_type& Ifc4x1::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[741]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[741]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[741]); } /* -Ifc4x1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x1::IfcProjectedOrTrueLengthEnum::Value Ifc4x1::IfcProjectedOrTrueLengthEnum } Ifc4x1::IfcProjectedOrTrueLengthEnum::operator Ifc4x1::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x1::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[743]); } -const IfcParse::enumeration_type& Ifc4x1::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[743]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[743]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[743]); } /* -Ifc4x1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x1::IfcProjectionElementTypeEnum::Value Ifc4x1::IfcProjectionElementTypeEnum } Ifc4x1::IfcProjectionElementTypeEnum::operator Ifc4x1::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x1::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[761]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[761]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[761]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[761]); } /* -Ifc4x1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x1::IfcPropertySetTemplateTypeEnum::Value Ifc4x1::IfcPropertySetTemplateType } Ifc4x1::IfcPropertySetTemplateTypeEnum::operator Ifc4x1::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x1::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[769]); } -const IfcParse::enumeration_type& Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[769]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[769]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[769]); } /* -Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x1::IfcProtectiveDevi } Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[771]); } -const IfcParse::enumeration_type& Ifc4x1::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[771]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[771]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[771]); } /* -Ifc4x1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x1::IfcProtectiveDeviceTypeEnum::Value Ifc4x1::IfcProtectiveDeviceTypeEnum:: } Ifc4x1::IfcProtectiveDeviceTypeEnum::operator Ifc4x1::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x1::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[775]); } -const IfcParse::enumeration_type& Ifc4x1::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[775]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[775]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[775]); } /* -Ifc4x1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x1::IfcPumpTypeEnum::Value Ifc4x1::IfcPumpTypeEnum::FromString(const std::st } Ifc4x1::IfcPumpTypeEnum::operator Ifc4x1::IfcPumpTypeEnum::Value() const { - return (Ifc4x1::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[786]); } -const IfcParse::enumeration_type& Ifc4x1::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[786]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[786]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[786]); } /* -Ifc4x1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x1::IfcRailingTypeEnum::Value Ifc4x1::IfcRailingTypeEnum::FromString(const s } Ifc4x1::IfcRailingTypeEnum::operator Ifc4x1::IfcRailingTypeEnum::Value() const { - return (Ifc4x1::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[790]); } -const IfcParse::enumeration_type& Ifc4x1::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[790]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[790]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[790]); } /* -Ifc4x1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x1::IfcRampFlightTypeEnum::Value Ifc4x1::IfcRampFlightTypeEnum::FromString(c } Ifc4x1::IfcRampFlightTypeEnum::operator Ifc4x1::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x1::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[792]); } -const IfcParse::enumeration_type& Ifc4x1::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[792]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[792]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[792]); } /* -Ifc4x1::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x1::IfcRampTypeEnum::Value Ifc4x1::IfcRampTypeEnum::FromString(const std::st } Ifc4x1::IfcRampTypeEnum::operator Ifc4x1::IfcRampTypeEnum::Value() const { - return (Ifc4x1::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[802]); } -const IfcParse::enumeration_type& Ifc4x1::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[802]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[802]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[802]); } /* -Ifc4x1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x1::IfcRecurrenceTypeEnum::Value Ifc4x1::IfcRecurrenceTypeEnum::FromString(c } Ifc4x1::IfcRecurrenceTypeEnum::operator Ifc4x1::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x1::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[805]); } -const IfcParse::enumeration_type& Ifc4x1::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[805]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[805]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[805]); } /* -Ifc4x1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x1::IfcReferentTypeEnum::Value Ifc4x1::IfcReferentTypeEnum::FromString(const } Ifc4x1::IfcReferentTypeEnum::operator Ifc4x1::IfcReferentTypeEnum::Value() const { - return (Ifc4x1::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[806]); } -const IfcParse::enumeration_type& Ifc4x1::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[806]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[806]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[806]); } /* -Ifc4x1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x1::IfcReflectanceMethodEnum::Value Ifc4x1::IfcReflectanceMethodEnum::FromSt } Ifc4x1::IfcReflectanceMethodEnum::operator Ifc4x1::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x1::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[811]); } -const IfcParse::enumeration_type& Ifc4x1::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[811]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[811]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[811]); } /* -Ifc4x1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x1::IfcReinforcingBarRoleEnum::Value Ifc4x1::IfcReinforcingBarRoleEnum::From } Ifc4x1::IfcReinforcingBarRoleEnum::operator Ifc4x1::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x1::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[812]); } -const IfcParse::enumeration_type& Ifc4x1::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[812]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[812]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[812]); } /* -Ifc4x1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x1::IfcReinforcingBarSurfaceEnum::Value Ifc4x1::IfcReinforcingBarSurfaceEnum } Ifc4x1::IfcReinforcingBarSurfaceEnum::operator Ifc4x1::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x1::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[814]); } -const IfcParse::enumeration_type& Ifc4x1::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[814]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[814]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[814]); } /* -Ifc4x1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x1::IfcReinforcingBarTypeEnum::Value Ifc4x1::IfcReinforcingBarTypeEnum::From } Ifc4x1::IfcReinforcingBarTypeEnum::operator Ifc4x1::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x1::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[819]); } -const IfcParse::enumeration_type& Ifc4x1::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[819]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[819]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[819]); } /* -Ifc4x1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x1::IfcReinforcingMeshTypeEnum::Value Ifc4x1::IfcReinforcingMeshTypeEnum::Fr } Ifc4x1::IfcReinforcingMeshTypeEnum::operator Ifc4x1::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x1::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[884]); } -const IfcParse::enumeration_type& Ifc4x1::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[884]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[884]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[884]); } /* -Ifc4x1::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x1::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x1::IfcRoleEnum::Value Ifc4x1::IfcRoleEnum::FromString(const std::string& s) } Ifc4x1::IfcRoleEnum::operator Ifc4x1::IfcRoleEnum::Value() const { - return (Ifc4x1::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[887]); } -const IfcParse::enumeration_type& Ifc4x1::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[887]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[887]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[887]); } /* -Ifc4x1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x1::IfcRoofTypeEnum::Value Ifc4x1::IfcRoofTypeEnum::FromString(const std::st } Ifc4x1::IfcRoofTypeEnum::operator Ifc4x1::IfcRoofTypeEnum::Value() const { - return (Ifc4x1::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[925]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[925]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[925]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[925]); } /* -Ifc4x1::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x1::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x1::IfcSIPrefix::Value Ifc4x1::IfcSIPrefix::FromString(const std::string& s) } Ifc4x1::IfcSIPrefix::operator Ifc4x1::IfcSIPrefix::Value() const { - return (Ifc4x1::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[928]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[928]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[928]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[928]); } /* -Ifc4x1::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x1::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x1::IfcSIUnitName::Value Ifc4x1::IfcSIUnitName::FromString(const std::string } Ifc4x1::IfcSIUnitName::operator Ifc4x1::IfcSIUnitName::Value() const { - return (Ifc4x1::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[896]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[896]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[896]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[896]); } /* -Ifc4x1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x1::IfcSanitaryTerminalTypeEnum::Value Ifc4x1::IfcSanitaryTerminalTypeEnum:: } Ifc4x1::IfcSanitaryTerminalTypeEnum::operator Ifc4x1::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x1::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[906]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[906]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[906]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[906]); } /* -Ifc4x1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x1::IfcSectionTypeEnum::Value Ifc4x1::IfcSectionTypeEnum::FromString(const s } Ifc4x1::IfcSectionTypeEnum::operator Ifc4x1::IfcSectionTypeEnum::Value() const { - return (Ifc4x1::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[910]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[910]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[910]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[910]); } /* -Ifc4x1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x1::IfcSensorTypeEnum::Value Ifc4x1::IfcSensorTypeEnum::FromString(const std } Ifc4x1::IfcSensorTypeEnum::operator Ifc4x1::IfcSensorTypeEnum::Value() const { - return (Ifc4x1::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[911]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[911]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[911]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[911]); } /* -Ifc4x1::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x1::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x1::IfcSequenceEnum::Value Ifc4x1::IfcSequenceEnum::FromString(const std::st } Ifc4x1::IfcSequenceEnum::operator Ifc4x1::IfcSequenceEnum::Value() const { - return (Ifc4x1::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[914]); } -const IfcParse::enumeration_type& Ifc4x1::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[914]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[914]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[914]); } /* -Ifc4x1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x1::IfcShadingDeviceTypeEnum::Value Ifc4x1::IfcShadingDeviceTypeEnum::FromSt } Ifc4x1::IfcShadingDeviceTypeEnum::operator Ifc4x1::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x1::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[923]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[923]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[923]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[923]); } /* -Ifc4x1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x1::IfcSimplePropertyTempla } Ifc4x1::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[934]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[934]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[934]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[934]); } /* -Ifc4x1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x1::IfcSlabTypeEnum::Value Ifc4x1::IfcSlabTypeEnum::FromString(const std::st } Ifc4x1::IfcSlabTypeEnum::operator Ifc4x1::IfcSlabTypeEnum::Value() const { - return (Ifc4x1::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[938]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[938]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[938]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[938]); } /* -Ifc4x1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x1::IfcSolarDeviceTypeEnum::Value Ifc4x1::IfcSolarDeviceTypeEnum::FromString } Ifc4x1::IfcSolarDeviceTypeEnum::operator Ifc4x1::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x1::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[950]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[950]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[950]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[950]); } /* -Ifc4x1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x1::IfcSpaceHeaterTypeEnum::Value Ifc4x1::IfcSpaceHeaterTypeEnum::FromString } Ifc4x1::IfcSpaceHeaterTypeEnum::operator Ifc4x1::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x1::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[952]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[952]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[952]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[952]); } /* -Ifc4x1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x1::IfcSpaceTypeEnum::Value Ifc4x1::IfcSpaceTypeEnum::FromString(const std:: } Ifc4x1::IfcSpaceTypeEnum::operator Ifc4x1::IfcSpaceTypeEnum::Value() const { - return (Ifc4x1::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[959]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[959]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[959]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[959]); } /* -Ifc4x1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x1::IfcSpatialZoneTypeEnum::Value Ifc4x1::IfcSpatialZoneTypeEnum::FromString } Ifc4x1::IfcSpatialZoneTypeEnum::operator Ifc4x1::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x1::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[968]); } -const IfcParse::enumeration_type& Ifc4x1::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[968]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[968]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[968]); } /* -Ifc4x1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x1::IfcStackTerminalTypeEnum::Value Ifc4x1::IfcStackTerminalTypeEnum::FromSt } Ifc4x1::IfcStackTerminalTypeEnum::operator Ifc4x1::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x1::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[972]); } -const IfcParse::enumeration_type& Ifc4x1::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[972]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[972]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[972]); } /* -Ifc4x1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x1::IfcStairFlightTypeEnum::Value Ifc4x1::IfcStairFlightTypeEnum::FromString } Ifc4x1::IfcStairFlightTypeEnum::operator Ifc4x1::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x1::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[974]); } -const IfcParse::enumeration_type& Ifc4x1::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[974]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[974]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[974]); } /* -Ifc4x1::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x1::IfcStairTypeEnum::Value Ifc4x1::IfcStairTypeEnum::FromString(const std:: } Ifc4x1::IfcStairTypeEnum::operator Ifc4x1::IfcStairTypeEnum::Value() const { - return (Ifc4x1::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[975]); } -const IfcParse::enumeration_type& Ifc4x1::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[975]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[975]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[975]); } /* -Ifc4x1::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x1::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x1::IfcStateEnum::Value Ifc4x1::IfcStateEnum::FromString(const std::string& } Ifc4x1::IfcStateEnum::operator Ifc4x1::IfcStateEnum::Value() const { - return (Ifc4x1::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[983]); } -const IfcParse::enumeration_type& Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[983]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[983]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[983]); } /* -Ifc4x1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x1::IfcStructuralCurveActi } Ifc4x1::IfcStructuralCurveActivityTypeEnum::operator Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[986]); } -const IfcParse::enumeration_type& Ifc4x1::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[986]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[986]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[986]); } /* -Ifc4x1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x1::IfcStructuralCurveMember } Ifc4x1::IfcStructuralCurveMemberTypeEnum::operator Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1012]); } -const IfcParse::enumeration_type& Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1012]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1012]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1012]); } /* -Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x1::IfcStructuralSurface } Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1015]); } -const IfcParse::enumeration_type& Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1015]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1015]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1015]); } /* -Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x1::IfcStructuralSurfaceMe } Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1024]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1024]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1024]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1024]); } /* -Ifc4x1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x1::IfcSubContractResourceTypeEnum::Value Ifc4x1::IfcSubContractResourceType } Ifc4x1::IfcSubContractResourceTypeEnum::operator Ifc4x1::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x1::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1030]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1030]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1030]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1030]); } /* -Ifc4x1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x1::IfcSurfaceFeatureTypeEnum::Value Ifc4x1::IfcSurfaceFeatureTypeEnum::From } Ifc4x1::IfcSurfaceFeatureTypeEnum::operator Ifc4x1::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x1::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1035]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1035]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1035]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1035]); } /* -Ifc4x1::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x1::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x1::IfcSurfaceSide::Value Ifc4x1::IfcSurfaceSide::FromString(const std::stri } Ifc4x1::IfcSurfaceSide::operator Ifc4x1::IfcSurfaceSide::Value() const { - return (Ifc4x1::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1050]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1050]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1050]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1050]); } /* -Ifc4x1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x1::IfcSwitchingDeviceTypeEnum::Value Ifc4x1::IfcSwitchingDeviceTypeEnum::Fr } Ifc4x1::IfcSwitchingDeviceTypeEnum::operator Ifc4x1::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x1::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1054]); } -const IfcParse::enumeration_type& Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1054]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1054]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1054]); } /* -Ifc4x1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value Ifc4x1::IfcSystemFurnitureEleme } Ifc4x1::IfcSystemFurnitureElementTypeEnum::operator Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1060]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1060]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1060]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1060]); } /* -Ifc4x1::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x1::IfcTankTypeEnum::Value Ifc4x1::IfcTankTypeEnum::FromString(const std::st } Ifc4x1::IfcTankTypeEnum::operator Ifc4x1::IfcTankTypeEnum::Value() const { - return (Ifc4x1::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1062]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1062]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1062]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1062]); } /* -Ifc4x1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x1::IfcTaskDurationEnum::Value Ifc4x1::IfcTaskDurationEnum::FromString(const } Ifc4x1::IfcTaskDurationEnum::operator Ifc4x1::IfcTaskDurationEnum::Value() const { - return (Ifc4x1::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1066]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1066]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1066]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1066]); } /* -Ifc4x1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x1::IfcTaskTypeEnum::Value Ifc4x1::IfcTaskTypeEnum::FromString(const std::st } Ifc4x1::IfcTaskTypeEnum::operator Ifc4x1::IfcTaskTypeEnum::Value() const { - return (Ifc4x1::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1073]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1073]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1073]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1073]); } /* -Ifc4x1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x1::IfcTendonAnchorTypeEnum::Value Ifc4x1::IfcTendonAnchorTypeEnum::FromStri } Ifc4x1::IfcTendonAnchorTypeEnum::operator Ifc4x1::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x1::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1075]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1075]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1075]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1075]); } /* -Ifc4x1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x1::IfcTendonTypeEnum::Value Ifc4x1::IfcTendonTypeEnum::FromString(const std } Ifc4x1::IfcTendonTypeEnum::operator Ifc4x1::IfcTendonTypeEnum::Value() const { - return (Ifc4x1::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1085]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1085]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1085]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1085]); } /* -Ifc4x1::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x1::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x1::IfcTextPath::Value Ifc4x1::IfcTextPath::FromString(const std::string& s) } Ifc4x1::IfcTextPath::operator Ifc4x1::IfcTextPath::Value() const { - return (Ifc4x1::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1107]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1107]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1107]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1107]); } /* -Ifc4x1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x1::IfcTimeSeriesDataTypeEnum::Value Ifc4x1::IfcTimeSeriesDataTypeEnum::From } Ifc4x1::IfcTimeSeriesDataTypeEnum::operator Ifc4x1::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x1::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1116]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1116]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1116]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1116]); } /* -Ifc4x1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x1::IfcTransformerTypeEnum::Value Ifc4x1::IfcTransformerTypeEnum::FromString } Ifc4x1::IfcTransformerTypeEnum::operator Ifc4x1::IfcTransformerTypeEnum::Value() const { - return (Ifc4x1::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1117]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1117]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1117]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1117]); } /* -Ifc4x1::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x1::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x1::IfcTransitionCode::Value Ifc4x1::IfcTransitionCode::FromString(const std } Ifc4x1::IfcTransitionCode::operator Ifc4x1::IfcTransitionCode::Value() const { - return (Ifc4x1::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTransitionCurveType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1119]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTransitionCurveType::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1119]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTransitionCurveType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1119]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTransitionCurveType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1119]); } /* -Ifc4x1::IfcTransitionCurveType::IfcTransitionCurveType(const std::weak_ptr& e) +Ifc4x1::IfcTransitionCurveType::IfcTransitionCurveType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTransitionCurveType::IfcTransitionCurveType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTransitionCurveType::IfcTransitionCurveType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x1::IfcTransitionCurveType::Value Ifc4x1::IfcTransitionCurveType::FromString } Ifc4x1::IfcTransitionCurveType::operator Ifc4x1::IfcTransitionCurveType::Value() const { - return (Ifc4x1::IfcTransitionCurveType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTransitionCurveType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTransportElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1123]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTransportElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1123]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTransportElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1123]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTransportElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1123]); } /* -Ifc4x1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x1::IfcTransportElementTypeEnum::Value Ifc4x1::IfcTransportElementTypeEnum:: } Ifc4x1::IfcTransportElementTypeEnum::operator Ifc4x1::IfcTransportElementTypeEnum::Value() const { - return (Ifc4x1::IfcTransportElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTransportElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1128]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1128]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1128]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1128]); } /* -Ifc4x1::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x1::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x1::IfcTrimmingPreference::Value Ifc4x1::IfcTrimmingPreference::FromString(c } Ifc4x1::IfcTrimmingPreference::operator Ifc4x1::IfcTrimmingPreference::Value() const { - return (Ifc4x1::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1133]); } -const IfcParse::enumeration_type& Ifc4x1::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1133]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1133]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1133]); } /* -Ifc4x1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x1::IfcTubeBundleTypeEnum::Value Ifc4x1::IfcTubeBundleTypeEnum::FromString(c } Ifc4x1::IfcTubeBundleTypeEnum::operator Ifc4x1::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x1::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1146]); } -const IfcParse::enumeration_type& Ifc4x1::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1146]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1146]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1146]); } /* -Ifc4x1::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x1::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x1::IfcUnitEnum::Value Ifc4x1::IfcUnitEnum::FromString(const std::string& s) } Ifc4x1::IfcUnitEnum::operator Ifc4x1::IfcUnitEnum::Value() const { - return (Ifc4x1::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1141]); } -const IfcParse::enumeration_type& Ifc4x1::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1141]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1141]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1141]); } /* -Ifc4x1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x1::IfcUnitaryControlElementTypeEnum::Value Ifc4x1::IfcUnitaryControlElement } Ifc4x1::IfcUnitaryControlElementTypeEnum::operator Ifc4x1::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x1::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1144]); } -const IfcParse::enumeration_type& Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1144]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1144]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1144]); } /* -Ifc4x1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x1::IfcUnitaryEquipmentTypeEnum:: } Ifc4x1::IfcUnitaryEquipmentTypeEnum::operator Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1152]); } -const IfcParse::enumeration_type& Ifc4x1::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1152]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1152]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1152]); } /* -Ifc4x1::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x1::IfcValveTypeEnum::Value Ifc4x1::IfcValveTypeEnum::FromString(const std:: } Ifc4x1::IfcValveTypeEnum::operator Ifc4x1::IfcValveTypeEnum::Value() const { - return (Ifc4x1::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1161]); } -const IfcParse::enumeration_type& Ifc4x1::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1161]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1161]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1161]); } /* -Ifc4x1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x1::IfcVibrationIsolatorTypeEnum::Value Ifc4x1::IfcVibrationIsolatorTypeEnum } Ifc4x1::IfcVibrationIsolatorTypeEnum::operator Ifc4x1::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x1::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1165]); } -const IfcParse::enumeration_type& Ifc4x1::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1165]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1165]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1165]); } /* -Ifc4x1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x1::IfcVoidingFeatureTypeEnum::Value Ifc4x1::IfcVoidingFeatureTypeEnum::From } Ifc4x1::IfcVoidingFeatureTypeEnum::operator Ifc4x1::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x1::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1172]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1172]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1172]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1172]); } /* -Ifc4x1::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x1::IfcWallTypeEnum::Value Ifc4x1::IfcWallTypeEnum::FromString(const std::st } Ifc4x1::IfcWallTypeEnum::operator Ifc4x1::IfcWallTypeEnum::Value() const { - return (Ifc4x1::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1178]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1178]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1178]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1178]); } /* -Ifc4x1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x1::IfcWasteTerminalTypeEnum::Value Ifc4x1::IfcWasteTerminalTypeEnum::FromSt } Ifc4x1::IfcWasteTerminalTypeEnum::operator Ifc4x1::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x1::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1181]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1181]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1181]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1181]); } /* -Ifc4x1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x1::IfcWindowPanelOperationEnum::Value Ifc4x1::IfcWindowPanelOperationEnum:: } Ifc4x1::IfcWindowPanelOperationEnum::operator Ifc4x1::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x1::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1182]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1182]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1182]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1182]); } /* -Ifc4x1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x1::IfcWindowPanelPositionEnum::Value Ifc4x1::IfcWindowPanelPositionEnum::Fr } Ifc4x1::IfcWindowPanelPositionEnum::operator Ifc4x1::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x1::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWindowStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1186]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWindowStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1186]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1186]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1186]); } /* -Ifc4x1::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x1::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x1::IfcWindowStyleConstructionEnum::Value Ifc4x1::IfcWindowStyleConstruction } Ifc4x1::IfcWindowStyleConstructionEnum::operator Ifc4x1::IfcWindowStyleConstructionEnum::Value() const { - return (Ifc4x1::IfcWindowStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWindowStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWindowStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1187]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWindowStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1187]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1187]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1187]); } /* -Ifc4x1::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) +Ifc4x1::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x1::IfcWindowStyleOperationEnum::Value Ifc4x1::IfcWindowStyleOperationEnum:: } Ifc4x1::IfcWindowStyleOperationEnum::operator Ifc4x1::IfcWindowStyleOperationEnum::Value() const { - return (Ifc4x1::IfcWindowStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWindowStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1189]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1189]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1189]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1189]); } /* -Ifc4x1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x1::IfcWindowTypeEnum::Value Ifc4x1::IfcWindowTypeEnum::FromString(const std } Ifc4x1::IfcWindowTypeEnum::operator Ifc4x1::IfcWindowTypeEnum::Value() const { - return (Ifc4x1::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1190]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1190]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1190]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1190]); } /* -Ifc4x1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x1::IfcWindowTypePartitioningEnum::Value Ifc4x1::IfcWindowTypePartitioningEn } Ifc4x1::IfcWindowTypePartitioningEnum::operator Ifc4x1::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x1::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1192]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1192]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1192]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1192]); } /* -Ifc4x1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x1::IfcWorkCalendarTypeEnum::Value Ifc4x1::IfcWorkCalendarTypeEnum::FromStri } Ifc4x1::IfcWorkCalendarTypeEnum::operator Ifc4x1::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x1::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1195]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1195]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1195]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1195]); } /* -Ifc4x1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x1::IfcWorkPlanTypeEnum::Value Ifc4x1::IfcWorkPlanTypeEnum::FromString(const } Ifc4x1::IfcWorkPlanTypeEnum::operator Ifc4x1::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x1::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x1::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X1_types[1197]); } -const IfcParse::enumeration_type& Ifc4x1::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X1_types[1197]); } +// const ifcopenshell::enumeration_type& Ifc4x1::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1197]); } +const ifcopenshell::enumeration_type& Ifc4x1::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X1_types[1197]); } /* -Ifc4x1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,849 +6126,849 @@ Ifc4x1::IfcWorkScheduleTypeEnum::Value Ifc4x1::IfcWorkScheduleTypeEnum::FromStri } Ifc4x1::IfcWorkScheduleTypeEnum::operator Ifc4x1::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x1::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x1::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x1::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[8]); } +const ifcopenshell::select_type& Ifc4x1::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[8]); } -const IfcParse::select_type& Ifc4x1::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[48]); } +const ifcopenshell::select_type& Ifc4x1::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[48]); } -const IfcParse::select_type& Ifc4x1::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X1_types[65]); } +const ifcopenshell::select_type& Ifc4x1::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[65]); } -const IfcParse::select_type& Ifc4x1::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[73]); } +const ifcopenshell::select_type& Ifc4x1::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[73]); } -const IfcParse::select_type& Ifc4x1::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X1_types[82]); } +const ifcopenshell::select_type& Ifc4x1::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[82]); } -const IfcParse::select_type& Ifc4x1::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[155]); } +const ifcopenshell::select_type& Ifc4x1::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[155]); } -const IfcParse::select_type& Ifc4x1::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[156]); } +const ifcopenshell::select_type& Ifc4x1::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[156]); } -const IfcParse::select_type& Ifc4x1::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X1_types[161]); } +const ifcopenshell::select_type& Ifc4x1::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[161]); } -const IfcParse::select_type& Ifc4x1::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X1_types[162]); } +const ifcopenshell::select_type& Ifc4x1::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[162]); } -const IfcParse::select_type& Ifc4x1::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[227]); } +const ifcopenshell::select_type& Ifc4x1::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[227]); } -const IfcParse::select_type& Ifc4x1::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[241]); } +const ifcopenshell::select_type& Ifc4x1::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[241]); } -const IfcParse::select_type& Ifc4x1::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[252]); } +const ifcopenshell::select_type& Ifc4x1::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[252]); } -const IfcParse::select_type& Ifc4x1::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X1_types[254]); } +const ifcopenshell::select_type& Ifc4x1::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[254]); } -const IfcParse::select_type& Ifc4x1::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X1_types[255]); } +const ifcopenshell::select_type& Ifc4x1::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[255]); } -const IfcParse::select_type& Ifc4x1::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[261]); } +const ifcopenshell::select_type& Ifc4x1::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[261]); } -const IfcParse::select_type& Ifc4x1::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[271]); } +const ifcopenshell::select_type& Ifc4x1::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[271]); } -const IfcParse::select_type& Ifc4x1::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X1_types[272]); } +const ifcopenshell::select_type& Ifc4x1::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[272]); } -const IfcParse::select_type& Ifc4x1::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[304]); } +const ifcopenshell::select_type& Ifc4x1::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[304]); } -const IfcParse::select_type& Ifc4x1::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[420]); } +const ifcopenshell::select_type& Ifc4x1::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[420]); } -const IfcParse::select_type& Ifc4x1::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[471]); } +const ifcopenshell::select_type& Ifc4x1::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[471]); } -const IfcParse::select_type& Ifc4x1::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[477]); } +const ifcopenshell::select_type& Ifc4x1::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[477]); } -const IfcParse::select_type& Ifc4x1::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[481]); } +const ifcopenshell::select_type& Ifc4x1::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[481]); } -const IfcParse::select_type& Ifc4x1::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X1_types[528]); } +const ifcopenshell::select_type& Ifc4x1::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[528]); } -const IfcParse::select_type& Ifc4x1::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[533]); } +const ifcopenshell::select_type& Ifc4x1::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[533]); } -const IfcParse::select_type& Ifc4x1::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[536]); } +const ifcopenshell::select_type& Ifc4x1::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[536]); } -const IfcParse::select_type& Ifc4x1::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[593]); } +const ifcopenshell::select_type& Ifc4x1::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[593]); } -const IfcParse::select_type& Ifc4x1::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X1_types[595]); } +const ifcopenshell::select_type& Ifc4x1::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[595]); } -const IfcParse::select_type& Ifc4x1::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[608]); } +const ifcopenshell::select_type& Ifc4x1::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[608]); } -const IfcParse::select_type& Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[613]); } +const ifcopenshell::select_type& Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[613]); } -const IfcParse::select_type& Ifc4x1::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[615]); } +const ifcopenshell::select_type& Ifc4x1::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[615]); } -const IfcParse::select_type& Ifc4x1::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[616]); } +const ifcopenshell::select_type& Ifc4x1::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[616]); } -const IfcParse::select_type& Ifc4x1::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[636]); } +const ifcopenshell::select_type& Ifc4x1::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[636]); } -const IfcParse::select_type& Ifc4x1::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X1_types[698]); } +const ifcopenshell::select_type& Ifc4x1::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[698]); } -const IfcParse::select_type& Ifc4x1::IfcPresentationStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[724]); } +const ifcopenshell::select_type& Ifc4x1::IfcPresentationStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[724]); } -const IfcParse::select_type& Ifc4x1::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[730]); } +const ifcopenshell::select_type& Ifc4x1::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[730]); } -const IfcParse::select_type& Ifc4x1::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[734]); } +const ifcopenshell::select_type& Ifc4x1::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[734]); } -const IfcParse::select_type& Ifc4x1::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[735]); } +const ifcopenshell::select_type& Ifc4x1::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[735]); } -const IfcParse::select_type& Ifc4x1::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[758]); } +const ifcopenshell::select_type& Ifc4x1::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[758]); } -const IfcParse::select_type& Ifc4x1::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[877]); } +const ifcopenshell::select_type& Ifc4x1::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[877]); } -const IfcParse::select_type& Ifc4x1::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[878]); } +const ifcopenshell::select_type& Ifc4x1::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[878]); } -const IfcParse::select_type& Ifc4x1::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[892]); } +const ifcopenshell::select_type& Ifc4x1::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[892]); } -const IfcParse::select_type& Ifc4x1::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[907]); } +const ifcopenshell::select_type& Ifc4x1::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[907]); } -const IfcParse::select_type& Ifc4x1::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X1_types[919]); } +const ifcopenshell::select_type& Ifc4x1::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[919]); } -const IfcParse::select_type& Ifc4x1::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X1_types[924]); } +const ifcopenshell::select_type& Ifc4x1::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[924]); } -const IfcParse::select_type& Ifc4x1::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[929]); } +const ifcopenshell::select_type& Ifc4x1::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[929]); } -const IfcParse::select_type& Ifc4x1::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X1_types[941]); } +const ifcopenshell::select_type& Ifc4x1::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[941]); } -const IfcParse::select_type& Ifc4x1::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[947]); } +const ifcopenshell::select_type& Ifc4x1::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[947]); } -const IfcParse::select_type& Ifc4x1::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[962]); } +const ifcopenshell::select_type& Ifc4x1::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[962]); } -const IfcParse::select_type& Ifc4x1::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[978]); } +const ifcopenshell::select_type& Ifc4x1::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[978]); } -const IfcParse::select_type& Ifc4x1::IfcStyleAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[1018]); } +const ifcopenshell::select_type& Ifc4x1::IfcStyleAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1018]); } -const IfcParse::select_type& Ifc4x1::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X1_types[1033]); } +const ifcopenshell::select_type& Ifc4x1::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1033]); } -const IfcParse::select_type& Ifc4x1::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[1037]); } +const ifcopenshell::select_type& Ifc4x1::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1037]); } -const IfcParse::select_type& Ifc4x1::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[1082]); } +const ifcopenshell::select_type& Ifc4x1::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1082]); } -const IfcParse::select_type& Ifc4x1::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[1104]); } +const ifcopenshell::select_type& Ifc4x1::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1104]); } -const IfcParse::select_type& Ifc4x1::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[1120]); } +const ifcopenshell::select_type& Ifc4x1::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1120]); } -const IfcParse::select_type& Ifc4x1::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[1129]); } +const ifcopenshell::select_type& Ifc4x1::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1129]); } -const IfcParse::select_type& Ifc4x1::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X1_types[1138]); } +const ifcopenshell::select_type& Ifc4x1::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1138]); } -const IfcParse::select_type& Ifc4x1::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X1_types[1149]); } +const ifcopenshell::select_type& Ifc4x1::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1149]); } -const IfcParse::select_type& Ifc4x1::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X1_types[1155]); } +const ifcopenshell::select_type& Ifc4x1::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1155]); } -const IfcParse::select_type& Ifc4x1::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X1_types[1175]); } +const ifcopenshell::select_type& Ifc4x1::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X1_types[1175]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x1::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[0]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[0]); } void Ifc4x1::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x1::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1]); } void Ifc4x1::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[40]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[40]); } void Ifc4x1::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[43]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[43]); } void Ifc4x1::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x1::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[54]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[54]); } void Ifc4x1::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x1::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[55]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[55]); } void Ifc4x1::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x1::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[56]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[56]); } void Ifc4x1::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x1::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[74]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[74]); } void Ifc4x1::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x1::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x1::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[80]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[80]); } void Ifc4x1::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x1::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x1::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[94]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[94]); } void Ifc4x1::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x1::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[129]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[129]); } void Ifc4x1::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x1::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x1::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[173]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[173]); } void Ifc4x1::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x1::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x1::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[181]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[181]); } void Ifc4x1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x1::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x1::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[211]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[211]); } void Ifc4x1::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x1::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[233]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[233]); } void Ifc4x1::IfcCountMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcCountMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x1::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[248]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[248]); } void Ifc4x1::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x1::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[267]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[267]); } void Ifc4x1::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x1::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[268]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[268]); } void Ifc4x1::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x1::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[269]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[269]); } void Ifc4x1::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x1::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x1::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[270]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[270]); } void Ifc4x1::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x1::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x1::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[277]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[277]); } void Ifc4x1::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x1::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[279]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[279]); } void Ifc4x1::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x1::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x1::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[318]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[318]); } void Ifc4x1::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x1::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[330]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[330]); } void Ifc4x1::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[331]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[331]); } void Ifc4x1::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[338]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[338]); } void Ifc4x1::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x1::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[339]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[339]); } void Ifc4x1::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[340]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[340]); } void Ifc4x1::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x1::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[341]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[341]); } void Ifc4x1::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[354]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[354]); } void Ifc4x1::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x1::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[358]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[358]); } void Ifc4x1::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x1::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[373]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[373]); } void Ifc4x1::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x1::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[449]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[449]); } void Ifc4x1::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x1::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[450]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[450]); } void Ifc4x1::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x1::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[451]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[451]); } void Ifc4x1::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[455]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[455]); } void Ifc4x1::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x1::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[456]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[456]); } void Ifc4x1::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x1::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[472]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[472]); } void Ifc4x1::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[485]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[485]); } void Ifc4x1::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x1::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[486]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[486]); } void Ifc4x1::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x1::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[490]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[490]); } void Ifc4x1::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[491]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[491]); } void Ifc4x1::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[499]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[499]); } void Ifc4x1::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x1::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[500]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[500]); } void Ifc4x1::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x1::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x1::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[501]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[501]); } void Ifc4x1::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x1::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x1::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[509]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[509]); } void Ifc4x1::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[513]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[513]); } void Ifc4x1::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[517]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[517]); } void Ifc4x1::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x1::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[519]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[519]); } void Ifc4x1::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x1::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[527]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[527]); } void Ifc4x1::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x1::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[530]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[530]); } void Ifc4x1::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x1::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[555]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[555]); } void Ifc4x1::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[549]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[549]); } void Ifc4x1::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x1::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[550]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[550]); } void Ifc4x1::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x1::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[553]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[553]); } void Ifc4x1::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[554]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[554]); } void Ifc4x1::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x1::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[559]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[559]); } void Ifc4x1::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x1::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[563]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[563]); } void Ifc4x1::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x1::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[564]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[564]); } void Ifc4x1::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[565]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[565]); } void Ifc4x1::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[566]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[566]); } void Ifc4x1::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[567]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[567]); } void Ifc4x1::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[571]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[571]); } void Ifc4x1::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[572]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[572]); } void Ifc4x1::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[573]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[573]); } void Ifc4x1::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[574]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[574]); } void Ifc4x1::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[610]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[610]); } void Ifc4x1::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x1::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[611]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[611]); } void Ifc4x1::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x1::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[612]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[612]); } void Ifc4x1::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x1::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[614]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[614]); } void Ifc4x1::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[617]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[617]); } void Ifc4x1::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[618]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[618]); } void Ifc4x1::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[619]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[619]); } void Ifc4x1::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x1::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[620]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[620]); } void Ifc4x1::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x1::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[622]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[622]); } void Ifc4x1::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x1::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x1::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[627]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[627]); } void Ifc4x1::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x1::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[628]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[628]); } void Ifc4x1::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x1::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[630]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[630]); } void Ifc4x1::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x1::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[669]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[669]); } void Ifc4x1::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x1::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[658]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[658]); } void Ifc4x1::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[688]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[688]); } void Ifc4x1::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x1::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[690]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[690]); } void Ifc4x1::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x1::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[705]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[705]); } void Ifc4x1::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x1::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[706]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[706]); } void Ifc4x1::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x1::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[707]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[707]); } void Ifc4x1::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x1::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[708]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[708]); } void Ifc4x1::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x1::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[710]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[710]); } void Ifc4x1::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x1::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[718]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[718]); } void Ifc4x1::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x1::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[725]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[725]); } void Ifc4x1::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x1::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[759]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[759]); } void Ifc4x1::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x1::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x1::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x1::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[783]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[783]); } void Ifc4x1::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x1::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[793]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[793]); } void Ifc4x1::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x1::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[796]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[796]); } void Ifc4x1::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x1::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[889]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[889]); } void Ifc4x1::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x1::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[890]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[890]); } void Ifc4x1::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x1::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[891]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[891]); } void Ifc4x1::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x1::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[903]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[903]); } void Ifc4x1::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x1::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[899]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[899]); } void Ifc4x1::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x1::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[918]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[918]); } void Ifc4x1::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x1::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[939]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[939]); } void Ifc4x1::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x1::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[942]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[942]); } void Ifc4x1::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x1::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[943]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[943]); } void Ifc4x1::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x1::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[944]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[944]); } void Ifc4x1::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x1::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[945]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[945]); } void Ifc4x1::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[960]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[960]); } void Ifc4x1::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x1::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[961]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[961]); } void Ifc4x1::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x1::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[963]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[963]); } void Ifc4x1::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x1::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1068]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1068]); } void Ifc4x1::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x1::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1069]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1069]); } void Ifc4x1::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x1::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1078]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1078]); } void Ifc4x1::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x1::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1079]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1079]); } void Ifc4x1::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x1::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1080]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1080]); } void Ifc4x1::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x1::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1081]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1081]); } void Ifc4x1::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x1::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1090]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1090]); } void Ifc4x1::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1096]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1096]); } void Ifc4x1::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1097]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1097]); } void Ifc4x1::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x1::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1098]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1098]); } void Ifc4x1::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1099]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1099]); } void Ifc4x1::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x1::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1100]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1100]); } void Ifc4x1::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x1::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1101]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1101]); } void Ifc4x1::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x1::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1102]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1102]); } void Ifc4x1::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x1::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1103]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1103]); } void Ifc4x1::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x1::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1109]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1109]); } void Ifc4x1::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x1::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1113]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1113]); } void Ifc4x1::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x1::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1147]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1147]); } void Ifc4x1::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x1::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x1::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1153]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1153]); } void Ifc4x1::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x1::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1166]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1166]); } void Ifc4x1::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x1::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1167]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1167]); } void Ifc4x1::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x1::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1173]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1173]); } void Ifc4x1::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x1::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X1_types[1174]); } +const ifcopenshell::type_declaration& Ifc4x1::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X1_types[1174]); } void Ifc4x1::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x1::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x1::IfcActionRequestTypeEnum::Value > Ifc4x1::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x1::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x1::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x1::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x1::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x1::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x1::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x1::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x1::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x1::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x1::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X1_types[2]); } -void Ifc4x1::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x1::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X1_types[2]); } +void Ifc4x1::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4x1::IfcActorSelect Ifc4x1::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x1::IfcActorSelect>(); } void Ifc4x1::IfcActor::setTheActor(const ::Ifc4x1::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x1::IfcRelAssignsToActor> Ifc4x1::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[822], 6)); } +std::vector<::Ifc4x1::IfcRelAssignsToActor> Ifc4x1::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[822], 6)); } -const IfcParse::entity& Ifc4x1::IfcActor::Class() { return *((IfcParse::entity*)IFC4X1_types[6]); } +const ifcopenshell::entity& Ifc4x1::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X1_types[6]); } void Ifc4x1::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x1::IfcRoleEnum::Value Ifc4x1::IfcActorRole::Role() const { return ::Ifc4x1::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x1::IfcActorRole::setRole(const ::Ifc4x1::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x1::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x1::IfcActorRole::setRole(const ::Ifc4x1::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x1::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x1::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x1::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x1::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x1::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } -const IfcParse::entity& Ifc4x1::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X1_types[7]); } -void Ifc4x1::IfcActorRole::initialize(::Ifc4x1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4x1::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X1_types[7]); } +void Ifc4x1::IfcActorRole::initialize(::Ifc4x1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x1::IfcActuatorTypeEnum::Value > Ifc4x1::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x1::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x1::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X1_types[9]); } -void Ifc4x1::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X1_types[9]); } +void Ifc4x1::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x1::IfcActuatorTypeEnum::Value Ifc4x1::IfcActuatorType::PredefinedType() const { return ::Ifc4x1::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcActuatorType::setPredefinedType(const ::Ifc4x1::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcActuatorType::setPredefinedType(const ::Ifc4x1::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X1_types[10]); } -void Ifc4x1::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[10]); } +void Ifc4x1::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > Ifc4x1::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x1::IfcAddress::setPurpose(const std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x1::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x1::IfcAddress::setPurpose(const std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x1::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x1::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x1::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x1::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x1::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x1::IfcPerson> Ifc4x1::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[667], 7)); } -std::vector<::Ifc4x1::IfcOrganization> Ifc4x1::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[648], 4)); } +std::vector<::Ifc4x1::IfcPerson> Ifc4x1::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[667], 7)); } +std::vector<::Ifc4x1::IfcOrganization> Ifc4x1::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[648], 4)); } -const IfcParse::entity& Ifc4x1::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X1_types[12]); } -void Ifc4x1::IfcAddress::initialize(std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4x1::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X1_types[12]); } +void Ifc4x1::IfcAddress::initialize(std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x1::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X1_types[14]); } +const ifcopenshell::entity& Ifc4x1::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X1_types[14]); } void Ifc4x1::IfcAdvancedBrep::initialize(::Ifc4x1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -6976,86 +6976,86 @@ std::vector< ::Ifc4x1::IfcClosedShell > Ifc4x1::IfcAdvancedBrepWithVoids::Voids( void Ifc4x1::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X1_types[15]); } +const ifcopenshell::entity& Ifc4x1::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X1_types[15]); } void Ifc4x1::IfcAdvancedBrepWithVoids::initialize(::Ifc4x1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x1::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X1_types[16]); } +const ifcopenshell::entity& Ifc4x1::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X1_types[16]); } void Ifc4x1::IfcAdvancedFace::initialize(std::vector< ::Ifc4x1::IfcFaceBound > v1_Bounds, ::Ifc4x1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x1::IfcAirTerminalTypeEnum::Value > Ifc4x1::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X1_types[17]); } -void Ifc4x1::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X1_types[17]); } +void Ifc4x1::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value > Ifc4x1::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X1_types[18]); } -void Ifc4x1::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X1_types[18]); } +void Ifc4x1::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value Ifc4x1::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X1_types[19]); } -void Ifc4x1::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[19]); } +void Ifc4x1::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x1::IfcAirTerminalTypeEnum::Value Ifc4x1::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcAirTerminalType::setPredefinedType(const ::Ifc4x1::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcAirTerminalType::setPredefinedType(const ::Ifc4x1::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X1_types[21]); } -void Ifc4x1::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[21]); } +void Ifc4x1::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x1::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X1_types[23]); } -void Ifc4x1::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X1_types[23]); } +void Ifc4x1::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x1::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X1_types[24]); } -void Ifc4x1::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[24]); } +void Ifc4x1::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x1::IfcAlarmTypeEnum::Value > Ifc4x1::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x1::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x1::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X1_types[26]); } -void Ifc4x1::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X1_types[26]); } +void Ifc4x1::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x1::IfcAlarmTypeEnum::Value Ifc4x1::IfcAlarmType::PredefinedType() const { return ::Ifc4x1::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcAlarmType::setPredefinedType(const ::Ifc4x1::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcAlarmType::setPredefinedType(const ::Ifc4x1::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X1_types[27]); } -void Ifc4x1::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[27]); } +void Ifc4x1::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x1::IfcAlignmentTypeEnum::Value > Ifc4x1::IfcAlignment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcAlignmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x1::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x1::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X1_types[29]); } -void Ifc4x1::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcCurve v8_Axis, std::optional< ::Ifc4x1::IfcAlignmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcAlignmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[29]); } +void Ifc4x1::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcCurve v8_Axis, std::optional< ::Ifc4x1::IfcAlignmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcAlignmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlignment2DHorizontal std::optional< double > Ifc4x1::IfcAlignment2DHorizontal::StartDistAlong() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } double v = get_attribute_value(0); return v; } @@ -7063,18 +7063,18 @@ void Ifc4x1::IfcAlignment2DHorizontal::setStartDistAlong(const std::optional< do std::vector< ::Ifc4x1::IfcAlignment2DHorizontalSegment > Ifc4x1::IfcAlignment2DHorizontal::Segments() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x1::IfcAlignment2DHorizontalSegment>(es); } void Ifc4x1::IfcAlignment2DHorizontal::setSegments(const std::vector< ::Ifc4x1::IfcAlignment2DHorizontalSegment >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x1::IfcAlignmentCurve> Ifc4x1::IfcAlignment2DHorizontal::ToAlignmentCurve() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[38], 0)); } +std::vector<::Ifc4x1::IfcAlignmentCurve> Ifc4x1::IfcAlignment2DHorizontal::ToAlignmentCurve() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[38], 0)); } -const IfcParse::entity& Ifc4x1::IfcAlignment2DHorizontal::Class() { return *((IfcParse::entity*)IFC4X1_types[30]); } +const ifcopenshell::entity& Ifc4x1::IfcAlignment2DHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X1_types[30]); } void Ifc4x1::IfcAlignment2DHorizontal::initialize(std::optional< double > v1_StartDistAlong, std::vector< ::Ifc4x1::IfcAlignment2DHorizontalSegment > v2_Segments) { if (v1_StartDistAlong) {set_attribute_value(0, (*v1_StartDistAlong)); }set_attribute_value(1, cast_vector(v2_Segments)); } // Function implementations for IfcAlignment2DHorizontalSegment ::Ifc4x1::IfcCurveSegment2D Ifc4x1::IfcAlignment2DHorizontalSegment::CurveGeometry() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x1::IfcCurveSegment2D>(); } void Ifc4x1::IfcAlignment2DHorizontalSegment::setCurveGeometry(const ::Ifc4x1::IfcCurveSegment2D& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x1::IfcAlignment2DHorizontal> Ifc4x1::IfcAlignment2DHorizontalSegment::ToHorizontal() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[30], 1)); } +std::vector<::Ifc4x1::IfcAlignment2DHorizontal> Ifc4x1::IfcAlignment2DHorizontalSegment::ToHorizontal() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[30], 1)); } -const IfcParse::entity& Ifc4x1::IfcAlignment2DHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[31]); } +const ifcopenshell::entity& Ifc4x1::IfcAlignment2DHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[31]); } void Ifc4x1::IfcAlignment2DHorizontalSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, ::Ifc4x1::IfcCurveSegment2D v4_CurveGeometry) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_CurveGeometry)); } // Function implementations for IfcAlignment2DSegment @@ -7086,7 +7086,7 @@ std::optional< std::string > Ifc4x1::IfcAlignment2DSegment::EndTag() const { if( void Ifc4x1::IfcAlignment2DSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcAlignment2DSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[32]); } +const ifcopenshell::entity& Ifc4x1::IfcAlignment2DSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[32]); } void Ifc4x1::IfcAlignment2DSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); } } // Function implementations for IfcAlignment2DVerSegCircularArc @@ -7096,13 +7096,13 @@ bool Ifc4x1::IfcAlignment2DVerSegCircularArc::IsConvex() const { bool v = get_a void Ifc4x1::IfcAlignment2DVerSegCircularArc::setIsConvex(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcAlignment2DVerSegCircularArc::Class() { return *((IfcParse::entity*)IFC4X1_types[33]); } +const ifcopenshell::entity& Ifc4x1::IfcAlignment2DVerSegCircularArc::Class() { return *((ifcopenshell::entity*)IFC4X1_types[33]); } void Ifc4x1::IfcAlignment2DVerSegCircularArc::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_Radius, bool v9_IsConvex) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient));set_attribute_value(7, (v8_Radius));set_attribute_value(8, (v9_IsConvex)); } // Function implementations for IfcAlignment2DVerSegLine -const IfcParse::entity& Ifc4x1::IfcAlignment2DVerSegLine::Class() { return *((IfcParse::entity*)IFC4X1_types[34]); } +const ifcopenshell::entity& Ifc4x1::IfcAlignment2DVerSegLine::Class() { return *((ifcopenshell::entity*)IFC4X1_types[34]); } void Ifc4x1::IfcAlignment2DVerSegLine::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient)); } // Function implementations for IfcAlignment2DVerSegParabolicArc @@ -7112,16 +7112,16 @@ bool Ifc4x1::IfcAlignment2DVerSegParabolicArc::IsConvex() const { bool v = get_ void Ifc4x1::IfcAlignment2DVerSegParabolicArc::setIsConvex(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcAlignment2DVerSegParabolicArc::Class() { return *((IfcParse::entity*)IFC4X1_types[35]); } +const ifcopenshell::entity& Ifc4x1::IfcAlignment2DVerSegParabolicArc::Class() { return *((ifcopenshell::entity*)IFC4X1_types[35]); } void Ifc4x1::IfcAlignment2DVerSegParabolicArc::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_ParabolaConstant, bool v9_IsConvex) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient));set_attribute_value(7, (v8_ParabolaConstant));set_attribute_value(8, (v9_IsConvex)); } // Function implementations for IfcAlignment2DVertical std::vector< ::Ifc4x1::IfcAlignment2DVerticalSegment > Ifc4x1::IfcAlignment2DVertical::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcAlignment2DVerticalSegment>(es); } void Ifc4x1::IfcAlignment2DVertical::setSegments(const std::vector< ::Ifc4x1::IfcAlignment2DVerticalSegment >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x1::IfcAlignmentCurve> Ifc4x1::IfcAlignment2DVertical::ToAlignmentCurve() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[38], 1)); } +std::vector<::Ifc4x1::IfcAlignmentCurve> Ifc4x1::IfcAlignment2DVertical::ToAlignmentCurve() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[38], 1)); } -const IfcParse::entity& Ifc4x1::IfcAlignment2DVertical::Class() { return *((IfcParse::entity*)IFC4X1_types[36]); } +const ifcopenshell::entity& Ifc4x1::IfcAlignment2DVertical::Class() { return *((ifcopenshell::entity*)IFC4X1_types[36]); } void Ifc4x1::IfcAlignment2DVertical::initialize(std::vector< ::Ifc4x1::IfcAlignment2DVerticalSegment > v1_Segments) { set_attribute_value(0, cast_vector(v1_Segments)); } // Function implementations for IfcAlignment2DVerticalSegment @@ -7134,9 +7134,9 @@ void Ifc4x1::IfcAlignment2DVerticalSegment::setStartHeight(const double& v) { se double Ifc4x1::IfcAlignment2DVerticalSegment::StartGradient() const { double v = get_attribute_value(6); return v; } void Ifc4x1::IfcAlignment2DVerticalSegment::setStartGradient(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x1::IfcAlignment2DVertical> Ifc4x1::IfcAlignment2DVerticalSegment::ToVertical() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[36], 0)); } +std::vector<::Ifc4x1::IfcAlignment2DVertical> Ifc4x1::IfcAlignment2DVerticalSegment::ToVertical() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[36], 0)); } -const IfcParse::entity& Ifc4x1::IfcAlignment2DVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[37]); } +const ifcopenshell::entity& Ifc4x1::IfcAlignment2DVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[37]); } void Ifc4x1::IfcAlignment2DVerticalSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient)); } // Function implementations for IfcAlignmentCurve @@ -7148,14 +7148,14 @@ std::optional< std::string > Ifc4x1::IfcAlignmentCurve::Tag() const { if(get_att void Ifc4x1::IfcAlignmentCurve::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcAlignmentCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[38]); } +const ifcopenshell::entity& Ifc4x1::IfcAlignmentCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[38]); } void Ifc4x1::IfcAlignmentCurve::initialize(::Ifc4x1::IfcAlignment2DHorizontal v1_Horizontal, ::Ifc4x1::IfcAlignment2DVertical v2_Vertical, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_Horizontal));set_attribute_value(1, (v2_Vertical)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcAnnotation -std::vector<::Ifc4x1::IfcRelContainedInSpatialStructure> Ifc4x1::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[846], 4)); } +std::vector<::Ifc4x1::IfcRelContainedInSpatialStructure> Ifc4x1::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[846], 4)); } -const IfcParse::entity& Ifc4x1::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X1_types[44]); } +const ifcopenshell::entity& Ifc4x1::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[44]); } void Ifc4x1::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAnnotationFillArea @@ -7165,7 +7165,7 @@ std::optional< std::vector< ::Ifc4x1::IfcCurve > > Ifc4x1::IfcAnnotationFillArea void Ifc4x1::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x1::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x1::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X1_types[45]); } +const ifcopenshell::entity& Ifc4x1::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X1_types[45]); } void Ifc4x1::IfcAnnotationFillArea::initialize(::Ifc4x1::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x1::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -7179,7 +7179,7 @@ std::string Ifc4x1::IfcApplication::ApplicationIdentifier() const { std::string void Ifc4x1::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X1_types[46]); } +const ifcopenshell::entity& Ifc4x1::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X1_types[46]); } void Ifc4x1::IfcApplication::initialize(::Ifc4x1::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -7200,14 +7200,14 @@ void Ifc4x1::IfcAppliedValue::setCategory(const std::optional< std::string >& v) std::optional< std::string > Ifc4x1::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x1::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x1::IfcArithmeticOperatorEnum::Value > Ifc4x1::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x1::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x1::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > Ifc4x1::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x1::IfcAppliedValue>(es); } void Ifc4x1::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } -const IfcParse::entity& Ifc4x1::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X1_types[47]); } -void Ifc4x1::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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(&::Ifc4x1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x1::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[47]); } +void Ifc4x1::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x1::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -7229,13 +7229,13 @@ void Ifc4x1::IfcApproval::setRequestingApproval(const ::Ifc4x1::IfcActorSelect& ::Ifc4x1::IfcActorSelect Ifc4x1::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x1::IfcActorSelect>(); } void Ifc4x1::IfcApproval::setGivingApproval(const ::Ifc4x1::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } -std::vector<::Ifc4x1::IfcRelAssociatesApproval> Ifc4x1::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[830], 5)); } -std::vector<::Ifc4x1::IfcResourceApprovalRelationship> Ifc4x1::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[874], 3)); } -std::vector<::Ifc4x1::IfcApprovalRelationship> Ifc4x1::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[50], 3)); } -std::vector<::Ifc4x1::IfcApprovalRelationship> Ifc4x1::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[50], 2)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcRelAssociatesApproval> Ifc4x1::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[830], 5)); } +std::vector<::Ifc4x1::IfcResourceApprovalRelationship> Ifc4x1::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[874], 3)); } +std::vector<::Ifc4x1::IfcApprovalRelationship> Ifc4x1::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[50], 3)); } +std::vector<::Ifc4x1::IfcApprovalRelationship> Ifc4x1::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[50], 2)); } -const IfcParse::entity& Ifc4x1::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X1_types[49]); } +const ifcopenshell::entity& Ifc4x1::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X1_types[49]); } void Ifc4x1::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x1::IfcActorSelect v8_RequestingApproval, ::Ifc4x1::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -7245,7 +7245,7 @@ std::vector< ::Ifc4x1::IfcApproval > Ifc4x1::IfcApprovalRelationship::RelatedApp void Ifc4x1::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x1::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[50]); } +const ifcopenshell::entity& Ifc4x1::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[50]); } void Ifc4x1::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x1::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -7253,24 +7253,24 @@ void Ifc4x1::IfcApprovalRelationship::initialize(std::optional< std::string > v1 void Ifc4x1::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[51]); } -void Ifc4x1::IfcArbitraryClosedProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4x1::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[51]); } +void Ifc4x1::IfcArbitraryClosedProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x1::IfcBoundedCurve Ifc4x1::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcBoundedCurve>(); } void Ifc4x1::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x1::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[52]); } -void Ifc4x1::IfcArbitraryOpenProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4x1::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[52]); } +void Ifc4x1::IfcArbitraryOpenProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x1::IfcCurve > Ifc4x1::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x1::IfcCurve>(es); } void Ifc4x1::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x1::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X1_types[53]); } -void Ifc4x1::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x1::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x1::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X1_types[53]); } +void Ifc4x1::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x1::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x1::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -7293,7 +7293,7 @@ void Ifc4x1::IfcAsset::setIncorporationDate(const std::optional< std::string >& void Ifc4x1::IfcAsset::setDepreciatedValue(const ::Ifc4x1::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x1::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X1_types[59]); } +const ifcopenshell::entity& Ifc4x1::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X1_types[59]); } void Ifc4x1::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x1::IfcCostValue v7_OriginalValue, ::Ifc4x1::IfcCostValue v8_CurrentValue, ::Ifc4x1::IfcCostValue v9_TotalReplacementCost, ::Ifc4x1::IfcActorSelect v10_Owner, ::Ifc4x1::IfcActorSelect v11_User, ::Ifc4x1::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x1::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -7323,31 +7323,31 @@ std::optional< double > Ifc4x1::IfcAsymmetricIShapeProfileDef::TopFlangeSlope() void Ifc4x1::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x1::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[60]); } -void Ifc4x1::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x1::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[60]); } +void Ifc4x1::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x1::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X1_types[61]); } -void Ifc4x1::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X1_types[61]); } +void Ifc4x1::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x1::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X1_types[62]); } -void Ifc4x1::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[62]); } +void Ifc4x1::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x1::IfcDirection Ifc4x1::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x1::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x1::IfcDirection>(); } void Ifc4x1::IfcAxis1Placement::setAxis(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X1_types[64]); } +const ifcopenshell::entity& Ifc4x1::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[64]); } void Ifc4x1::IfcAxis1Placement::initialize(::Ifc4x1::IfcCartesianPoint v1_Location, ::Ifc4x1::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -7355,7 +7355,7 @@ void Ifc4x1::IfcAxis1Placement::initialize(::Ifc4x1::IfcCartesianPoint v1_Locati void Ifc4x1::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X1_types[66]); } +const ifcopenshell::entity& Ifc4x1::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[66]); } void Ifc4x1::IfcAxis2Placement2D::initialize(::Ifc4x1::IfcCartesianPoint v1_Location, ::Ifc4x1::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -7365,7 +7365,7 @@ void Ifc4x1::IfcAxis2Placement3D::setAxis(const ::Ifc4x1::IfcDirection& v) { set void Ifc4x1::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X1_types[67]); } +const ifcopenshell::entity& Ifc4x1::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[67]); } void Ifc4x1::IfcAxis2Placement3D::initialize(::Ifc4x1::IfcCartesianPoint v1_Location, ::Ifc4x1::IfcDirection v2_Axis, ::Ifc4x1::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -7374,15 +7374,15 @@ void Ifc4x1::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v std::vector< ::Ifc4x1::IfcCartesianPoint > Ifc4x1::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x1::IfcCartesianPoint>(es); } void Ifc4x1::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x1::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x1::IfcBSplineCurveForm::Value Ifc4x1::IfcBSplineCurve::CurveForm() const { return ::Ifc4x1::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x1::IfcBSplineCurve::setCurveForm(const ::Ifc4x1::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x1::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x1::IfcBSplineCurve::setCurveForm(const ::Ifc4x1::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x1::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x1::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x1::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x1::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x1::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[96]); } -void Ifc4x1::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x1::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[96]); } +void Ifc4x1::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -7390,11 +7390,11 @@ void Ifc4x1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< std::vector< double > /*[2:?]*/ Ifc4x1::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x1::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x1::IfcKnotType::Value Ifc4x1::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x1::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x1::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x1::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x1::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X1_types[98]); } -void Ifc4x1::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x1::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(&::Ifc4x1::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4x1::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X1_types[98]); } +void Ifc4x1::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x1::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, (enumeration_reference(&::Ifc4x1::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x1::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -7404,7 +7404,7 @@ void Ifc4x1::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1 std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > Ifc4x1::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x1::IfcCartesianPoint>(es); } void Ifc4x1::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x1::IfcBSplineSurfaceForm::Value Ifc4x1::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x1::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x1::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x1::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x1::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x1::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x1::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x1::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x1::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x1::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x1::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -7413,8 +7413,8 @@ boost::logic::tribool Ifc4x1::IfcBSplineSurface::SelfIntersect() const { boost: void Ifc4x1::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[99]); } -void Ifc4x1::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x1::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x1::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[99]); } +void Ifc4x1::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x1::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -7426,33 +7426,33 @@ void Ifc4x1::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > / std::vector< double > /*[2:?]*/ Ifc4x1::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x1::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x1::IfcKnotType::Value Ifc4x1::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x1::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x1::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x1::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X1_types[101]); } -void Ifc4x1::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x1::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(&::Ifc4x1::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4x1::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X1_types[101]); } +void Ifc4x1::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x1::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, (enumeration_reference(&::Ifc4x1::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value > Ifc4x1::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X1_types[68]); } -void Ifc4x1::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X1_types[68]); } +void Ifc4x1::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamStandardCase -const IfcParse::entity& Ifc4x1::IfcBeamStandardCase::Class() { return *((IfcParse::entity*)IFC4X1_types[69]); } -void Ifc4x1::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcBeamStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[69]); } +void Ifc4x1::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x1::IfcBeamTypeEnum::Value Ifc4x1::IfcBeamType::PredefinedType() const { return ::Ifc4x1::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcBeamType::setPredefinedType(const ::Ifc4x1::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcBeamType::setPredefinedType(const ::Ifc4x1::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X1_types[70]); } -void Ifc4x1::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[70]); } +void Ifc4x1::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x1::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -7461,7 +7461,7 @@ boost::dynamic_bitset<> Ifc4x1::IfcBlobTexture::RasterCode() const { boost::dyn void Ifc4x1::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X1_types[75]); } +const ifcopenshell::entity& Ifc4x1::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X1_types[75]); } void Ifc4x1::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -7473,55 +7473,55 @@ double Ifc4x1::IfcBlock::ZLength() const { double v = get_attribute_value(3); r void Ifc4x1::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X1_types[76]); } +const ifcopenshell::entity& Ifc4x1::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X1_types[76]); } void Ifc4x1::IfcBlock::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x1::IfcBoilerTypeEnum::Value > Ifc4x1::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x1::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x1::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X1_types[77]); } -void Ifc4x1::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X1_types[77]); } +void Ifc4x1::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x1::IfcBoilerTypeEnum::Value Ifc4x1::IfcBoilerType::PredefinedType() const { return ::Ifc4x1::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcBoilerType::setPredefinedType(const ::Ifc4x1::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcBoilerType::setPredefinedType(const ::Ifc4x1::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X1_types[78]); } -void Ifc4x1::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[78]); } +void Ifc4x1::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x1::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X1_types[81]); } -void Ifc4x1::IfcBooleanClippingResult::initialize(::Ifc4x1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x1::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X1_types[81]); } +void Ifc4x1::IfcBooleanClippingResult::initialize(::Ifc4x1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x1::IfcBooleanOperator::Value Ifc4x1::IfcBooleanResult::Operator() const { return ::Ifc4x1::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x1::IfcBooleanResult::setOperator(const ::Ifc4x1::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x1::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x1::IfcBooleanResult::setOperator(const ::Ifc4x1::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x1::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x1::IfcBooleanOperand Ifc4x1::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x1::IfcBooleanOperand>(); } void Ifc4x1::IfcBooleanResult::setFirstOperand(const ::Ifc4x1::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x1::IfcBooleanOperand Ifc4x1::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcBooleanOperand>(); } void Ifc4x1::IfcBooleanResult::setSecondOperand(const ::Ifc4x1::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X1_types[84]); } -void Ifc4x1::IfcBooleanResult::initialize(::Ifc4x1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x1::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X1_types[84]); } +void Ifc4x1::IfcBooleanResult::initialize(::Ifc4x1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBoundaryCondition std::optional< std::string > Ifc4x1::IfcBoundaryCondition::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x1::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x1::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X1_types[85]); } +const ifcopenshell::entity& Ifc4x1::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[85]); } void Ifc4x1::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x1::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[86]); } +const ifcopenshell::entity& Ifc4x1::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[86]); } void Ifc4x1::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -7539,7 +7539,7 @@ void Ifc4x1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const ::I void Ifc4x1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X1_types[87]); } +const ifcopenshell::entity& Ifc4x1::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[87]); } void Ifc4x1::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x1::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x1::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -7551,7 +7551,7 @@ void Ifc4x1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(const :: void Ifc4x1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x1::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X1_types[88]); } +const ifcopenshell::entity& Ifc4x1::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[88]); } void Ifc4x1::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x1::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x1::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -7569,7 +7569,7 @@ void Ifc4x1::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4x1::I void Ifc4x1::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x1::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X1_types[89]); } +const ifcopenshell::entity& Ifc4x1::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[89]); } void Ifc4x1::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -7577,19 +7577,19 @@ void Ifc4x1::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v void Ifc4x1::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x1::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x1::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X1_types[90]); } +const ifcopenshell::entity& Ifc4x1::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X1_types[90]); } void Ifc4x1::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x1::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -const IfcParse::entity& Ifc4x1::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[91]); } +const ifcopenshell::entity& Ifc4x1::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[91]); } void Ifc4x1::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x1::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[92]); } +const ifcopenshell::entity& Ifc4x1::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[92]); } void Ifc4x1::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -7603,7 +7603,7 @@ double Ifc4x1::IfcBoundingBox::ZDim() const { double v = get_attribute_value(3) void Ifc4x1::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X1_types[93]); } +const ifcopenshell::entity& Ifc4x1::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X1_types[93]); } void Ifc4x1::IfcBoundingBox::initialize(::Ifc4x1::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -7611,7 +7611,7 @@ void Ifc4x1::IfcBoundingBox::initialize(::Ifc4x1::IfcCartesianPoint v1_Corner, d void Ifc4x1::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x1::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X1_types[95]); } +const ifcopenshell::entity& Ifc4x1::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X1_types[95]); } void Ifc4x1::IfcBoxedHalfSpace::initialize(::Ifc4x1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x1::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBuilding @@ -7623,51 +7623,51 @@ void Ifc4x1::IfcBuilding::setElevationOfTerrain(const std::optional< double >& v void Ifc4x1::IfcBuilding::setBuildingAddress(const ::Ifc4x1::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X1_types[102]); } -void Ifc4x1::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x1::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::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)); } +const ifcopenshell::entity& Ifc4x1::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X1_types[102]); } +void Ifc4x1::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x1::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::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)); } // Function implementations for IfcBuildingElement -const IfcParse::entity& Ifc4x1::IfcBuildingElement::Class() { return *((IfcParse::entity*)IFC4X1_types[103]); } +const ifcopenshell::entity& Ifc4x1::IfcBuildingElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[103]); } void Ifc4x1::IfcBuildingElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value > Ifc4x1::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X1_types[104]); } -void Ifc4x1::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X1_types[104]); } +void Ifc4x1::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value Ifc4x1::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X1_types[105]); } -void Ifc4x1::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[105]); } +void Ifc4x1::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value > Ifc4x1::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X1_types[107]); } -void Ifc4x1::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X1_types[107]); } +void Ifc4x1::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value Ifc4x1::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X1_types[108]); } -void Ifc4x1::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[108]); } +void Ifc4x1::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementType -const IfcParse::entity& Ifc4x1::IfcBuildingElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[110]); } +const ifcopenshell::entity& Ifc4x1::IfcBuildingElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[110]); } void Ifc4x1::IfcBuildingElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuildingStorey @@ -7675,34 +7675,34 @@ std::optional< double > Ifc4x1::IfcBuildingStorey::Elevation() const { if(get_at void Ifc4x1::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X1_types[111]); } -void Ifc4x1::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4x1::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X1_types[111]); } +void Ifc4x1::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x1::IfcBuildingSystemTypeEnum::Value > Ifc4x1::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x1::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x1::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x1::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x1::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x1::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X1_types[112]); } -void Ifc4x1::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x1::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[112]); } +void Ifc4x1::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x1::IfcBurnerTypeEnum::Value > Ifc4x1::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x1::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x1::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X1_types[114]); } -void Ifc4x1::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X1_types[114]); } +void Ifc4x1::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x1::IfcBurnerTypeEnum::Value Ifc4x1::IfcBurnerType::PredefinedType() const { return ::Ifc4x1::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcBurnerType::setPredefinedType(const ::Ifc4x1::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcBurnerType::setPredefinedType(const ::Ifc4x1::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X1_types[115]); } -void Ifc4x1::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[115]); } +void Ifc4x1::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x1::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -7717,85 +7717,85 @@ std::optional< double > Ifc4x1::IfcCShapeProfileDef::InternalFilletRadius() cons void Ifc4x1::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x1::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[243]); } -void Ifc4x1::IfcCShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x1::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[243]); } +void Ifc4x1::IfcCShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value > Ifc4x1::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X1_types[117]); } -void Ifc4x1::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X1_types[117]); } +void Ifc4x1::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value Ifc4x1::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X1_types[118]); } -void Ifc4x1::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[118]); } +void Ifc4x1::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x1::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[120]); } -void Ifc4x1::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[120]); } +void Ifc4x1::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x1::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X1_types[121]); } -void Ifc4x1::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[121]); } +void Ifc4x1::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x1::IfcCableFittingTypeEnum::Value > Ifc4x1::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x1::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x1::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X1_types[123]); } -void Ifc4x1::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X1_types[123]); } +void Ifc4x1::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x1::IfcCableFittingTypeEnum::Value Ifc4x1::IfcCableFittingType::PredefinedType() const { return ::Ifc4x1::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCableFittingType::setPredefinedType(const ::Ifc4x1::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCableFittingType::setPredefinedType(const ::Ifc4x1::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X1_types[124]); } -void Ifc4x1::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[124]); } +void Ifc4x1::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x1::IfcCableSegmentTypeEnum::Value > Ifc4x1::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x1::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x1::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[126]); } -void Ifc4x1::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[126]); } +void Ifc4x1::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x1::IfcCableSegmentTypeEnum::Value Ifc4x1::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCableSegmentType::setPredefinedType(const ::Ifc4x1::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCableSegmentType::setPredefinedType(const ::Ifc4x1::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X1_types[127]); } -void Ifc4x1::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[127]); } +void Ifc4x1::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x1::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x1::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X1_types[130]); } +const ifcopenshell::entity& Ifc4x1::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X1_types[130]); } void Ifc4x1::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x1::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X1_types[131]); } +const ifcopenshell::entity& Ifc4x1::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X1_types[131]); } void Ifc4x1::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -7805,7 +7805,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x1::IfcCartesianPointL void Ifc4x1::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x1::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X1_types[132]); } +const ifcopenshell::entity& Ifc4x1::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[132]); } void Ifc4x1::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -7815,7 +7815,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x1::IfcCartesianPointL void Ifc4x1::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x1::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X1_types[133]); } +const ifcopenshell::entity& Ifc4x1::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[133]); } void Ifc4x1::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -7829,13 +7829,13 @@ std::optional< double > Ifc4x1::IfcCartesianTransformationOperator::Scale() cons void Ifc4x1::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X1_types[134]); } +const ifcopenshell::entity& Ifc4x1::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X1_types[134]); } void Ifc4x1::IfcCartesianTransformationOperator::initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x1::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X1_types[135]); } +const ifcopenshell::entity& Ifc4x1::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[135]); } void Ifc4x1::IfcCartesianTransformationOperator2D::initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -7843,7 +7843,7 @@ std::optional< double > Ifc4x1::IfcCartesianTransformationOperator2DnonUniform:: void Ifc4x1::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X1_types[136]); } +const ifcopenshell::entity& Ifc4x1::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X1_types[136]); } void Ifc4x1::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -7851,7 +7851,7 @@ void Ifc4x1::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x1 void Ifc4x1::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X1_types[137]); } +const ifcopenshell::entity& Ifc4x1::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[137]); } void Ifc4x1::IfcCartesianTransformationOperator3D::initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x1::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -7861,7 +7861,7 @@ std::optional< double > Ifc4x1::IfcCartesianTransformationOperator3DnonUniform:: void Ifc4x1::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X1_types[138]); } +const ifcopenshell::entity& Ifc4x1::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X1_types[138]); } void Ifc4x1::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x1::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -7869,47 +7869,47 @@ double Ifc4x1::IfcCenterLineProfileDef::Thickness() const { double v = get_attr void Ifc4x1::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[139]); } -void Ifc4x1::IfcCenterLineProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x1::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[139]); } +void Ifc4x1::IfcCenterLineProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x1::IfcChillerTypeEnum::Value > Ifc4x1::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x1::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x1::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X1_types[141]); } -void Ifc4x1::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X1_types[141]); } +void Ifc4x1::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x1::IfcChillerTypeEnum::Value Ifc4x1::IfcChillerType::PredefinedType() const { return ::Ifc4x1::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcChillerType::setPredefinedType(const ::Ifc4x1::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcChillerType::setPredefinedType(const ::Ifc4x1::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X1_types[142]); } -void Ifc4x1::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[142]); } +void Ifc4x1::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x1::IfcChimneyTypeEnum::Value > Ifc4x1::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x1::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x1::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X1_types[144]); } -void Ifc4x1::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X1_types[144]); } +void Ifc4x1::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x1::IfcChimneyTypeEnum::Value Ifc4x1::IfcChimneyType::PredefinedType() const { return ::Ifc4x1::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcChimneyType::setPredefinedType(const ::Ifc4x1::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcChimneyType::setPredefinedType(const ::Ifc4x1::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X1_types[145]); } -void Ifc4x1::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[145]); } +void Ifc4x1::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x1::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x1::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X1_types[147]); } +const ifcopenshell::entity& Ifc4x1::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[147]); } void Ifc4x1::IfcCircle::initialize(::Ifc4x1::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -7917,16 +7917,16 @@ double Ifc4x1::IfcCircleHollowProfileDef::WallThickness() const { double v = ge void Ifc4x1::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[148]); } -void Ifc4x1::IfcCircleHollowProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x1::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[148]); } +void Ifc4x1::IfcCircleHollowProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x1::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x1::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[149]); } -void Ifc4x1::IfcCircleProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x1::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[149]); } +void Ifc4x1::IfcCircleProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCircularArcSegment2D double Ifc4x1::IfcCircularArcSegment2D::Radius() const { double v = get_attribute_value(3); return v; } @@ -7935,19 +7935,19 @@ bool Ifc4x1::IfcCircularArcSegment2D::IsCCW() const { bool v = get_attribute_va void Ifc4x1::IfcCircularArcSegment2D::setIsCCW(const bool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcCircularArcSegment2D::Class() { return *((IfcParse::entity*)IFC4X1_types[150]); } +const ifcopenshell::entity& Ifc4x1::IfcCircularArcSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[150]); } void Ifc4x1::IfcCircularArcSegment2D::initialize(::Ifc4x1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, double v4_Radius, bool v5_IsCCW) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_IsCCW)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x1::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X1_types[151]); } +const ifcopenshell::entity& Ifc4x1::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[151]); } void Ifc4x1::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x1::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[152]); } +const ifcopenshell::entity& Ifc4x1::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[152]); } void Ifc4x1::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -7966,10 +7966,10 @@ void Ifc4x1::IfcClassification::setLocation(const std::optional< std::string >& std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x1::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x1::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x1::IfcRelAssociatesClassification> Ifc4x1::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[831], 5)); } -std::vector<::Ifc4x1::IfcClassificationReference> Ifc4x1::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[154], 3)); } +std::vector<::Ifc4x1::IfcRelAssociatesClassification> Ifc4x1::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[831], 5)); } +std::vector<::Ifc4x1::IfcClassificationReference> Ifc4x1::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[154], 3)); } -const IfcParse::entity& Ifc4x1::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X1_types[153]); } +const ifcopenshell::entity& Ifc4x1::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X1_types[153]); } void Ifc4x1::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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_Location) {set_attribute_value(5, (*v6_Location)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); } } // Function implementations for IfcClassificationReference @@ -7980,33 +7980,33 @@ void Ifc4x1::IfcClassificationReference::setDescription(const std::optional< std std::optional< std::string > Ifc4x1::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x1::IfcRelAssociatesClassification> Ifc4x1::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[831], 5)); } -std::vector<::Ifc4x1::IfcClassificationReference> Ifc4x1::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[154], 3)); } +std::vector<::Ifc4x1::IfcRelAssociatesClassification> Ifc4x1::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[831], 5)); } +std::vector<::Ifc4x1::IfcClassificationReference> Ifc4x1::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[154], 3)); } -const IfcParse::entity& Ifc4x1::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X1_types[154]); } +const ifcopenshell::entity& Ifc4x1::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X1_types[154]); } void Ifc4x1::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x1::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x1::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X1_types[157]); } +const ifcopenshell::entity& Ifc4x1::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X1_types[157]); } void Ifc4x1::IfcClosedShell::initialize(std::vector< ::Ifc4x1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcCoil std::optional< ::Ifc4x1::IfcCoilTypeEnum::Value > Ifc4x1::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x1::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x1::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X1_types[158]); } -void Ifc4x1::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X1_types[158]); } +void Ifc4x1::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x1::IfcCoilTypeEnum::Value Ifc4x1::IfcCoilType::PredefinedType() const { return ::Ifc4x1::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCoilType::setPredefinedType(const ::Ifc4x1::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCoilType::setPredefinedType(const ::Ifc4x1::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X1_types[159]); } -void Ifc4x1::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[159]); } +void Ifc4x1::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x1::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -8017,7 +8017,7 @@ double Ifc4x1::IfcColourRgb::Blue() const { double v = get_attribute_value(3); void Ifc4x1::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X1_types[163]); } +const ifcopenshell::entity& Ifc4x1::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X1_types[163]); } void Ifc4x1::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -8025,7 +8025,7 @@ std::vector< std::vector< double > > Ifc4x1::IfcColourRgbList::ColourList() cons void Ifc4x1::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X1_types[164]); } +const ifcopenshell::entity& Ifc4x1::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X1_types[164]); } void Ifc4x1::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -8033,46 +8033,46 @@ std::optional< std::string > Ifc4x1::IfcColourSpecification::Name() const { if(g void Ifc4x1::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x1::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X1_types[165]); } +const ifcopenshell::entity& Ifc4x1::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X1_types[165]); } void Ifc4x1::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value > Ifc4x1::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X1_types[166]); } -void Ifc4x1::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X1_types[166]); } +void Ifc4x1::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnStandardCase -const IfcParse::entity& Ifc4x1::IfcColumnStandardCase::Class() { return *((IfcParse::entity*)IFC4X1_types[167]); } -void Ifc4x1::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcColumnStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[167]); } +void Ifc4x1::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x1::IfcColumnTypeEnum::Value Ifc4x1::IfcColumnType::PredefinedType() const { return ::Ifc4x1::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcColumnType::setPredefinedType(const ::Ifc4x1::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcColumnType::setPredefinedType(const ::Ifc4x1::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X1_types[168]); } -void Ifc4x1::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[168]); } +void Ifc4x1::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x1::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X1_types[170]); } -void Ifc4x1::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X1_types[170]); } +void Ifc4x1::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x1::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X1_types[171]); } -void Ifc4x1::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[171]); } +void Ifc4x1::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x1::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -8081,20 +8081,20 @@ std::vector< ::Ifc4x1::IfcProperty > Ifc4x1::IfcComplexProperty::HasProperties() void Ifc4x1::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x1::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X1_types[174]); } +const ifcopenshell::entity& Ifc4x1::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X1_types[174]); } void Ifc4x1::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x1::IfcProperty > v4_HasProperties) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x1::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x1::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x1::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x1::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x1::IfcPropertyTemplate > > Ifc4x1::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x1::IfcPropertyTemplate>(es); } void Ifc4x1::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x1::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X1_types[175]); } -void Ifc4x1::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x1::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x1::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X1_types[175]); } +void Ifc4x1::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x1::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x1::IfcCompositeCurveSegment > Ifc4x1::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcCompositeCurveSegment>(es); } @@ -8103,27 +8103,27 @@ boost::logic::tribool Ifc4x1::IfcCompositeCurve::SelfIntersect() const { boost: void Ifc4x1::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[177]); } +const ifcopenshell::entity& Ifc4x1::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[177]); } void Ifc4x1::IfcCompositeCurve::initialize(std::vector< ::Ifc4x1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x1::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[178]); } +const ifcopenshell::entity& Ifc4x1::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[178]); } void Ifc4x1::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment ::Ifc4x1::IfcTransitionCode::Value Ifc4x1::IfcCompositeCurveSegment::Transition() const { return ::Ifc4x1::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x1::IfcCompositeCurveSegment::setTransition(const ::Ifc4x1::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x1::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x1::IfcCompositeCurveSegment::setTransition(const ::Ifc4x1::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x1::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } bool Ifc4x1::IfcCompositeCurveSegment::SameSense() const { bool v = get_attribute_value(1); return v; } void Ifc4x1::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x1::IfcCurve Ifc4x1::IfcCompositeCurveSegment::ParentCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcCurve>(); } void Ifc4x1::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x1::IfcCompositeCurve> Ifc4x1::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[177], 0)); } +std::vector<::Ifc4x1::IfcCompositeCurve> Ifc4x1::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[177], 0)); } -const IfcParse::entity& Ifc4x1::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[179]); } -void Ifc4x1::IfcCompositeCurveSegment::initialize(::Ifc4x1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x1::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4x1::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[179]); } +void Ifc4x1::IfcCompositeCurveSegment::initialize(::Ifc4x1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x1::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x1::IfcProfileDef > Ifc4x1::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x1::IfcProfileDef>(es); } @@ -8132,47 +8132,47 @@ std::optional< std::string > Ifc4x1::IfcCompositeProfileDef::Label() const { if( void Ifc4x1::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[180]); } -void Ifc4x1::IfcCompositeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x1::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[180]); } +void Ifc4x1::IfcCompositeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x1::IfcCompressorTypeEnum::Value > Ifc4x1::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x1::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x1::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X1_types[182]); } -void Ifc4x1::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X1_types[182]); } +void Ifc4x1::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x1::IfcCompressorTypeEnum::Value Ifc4x1::IfcCompressorType::PredefinedType() const { return ::Ifc4x1::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCompressorType::setPredefinedType(const ::Ifc4x1::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCompressorType::setPredefinedType(const ::Ifc4x1::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X1_types[183]); } -void Ifc4x1::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[183]); } +void Ifc4x1::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x1::IfcCondenserTypeEnum::Value > Ifc4x1::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x1::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x1::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X1_types[185]); } -void Ifc4x1::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X1_types[185]); } +void Ifc4x1::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x1::IfcCondenserTypeEnum::Value Ifc4x1::IfcCondenserType::PredefinedType() const { return ::Ifc4x1::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCondenserType::setPredefinedType(const ::Ifc4x1::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCondenserType::setPredefinedType(const ::Ifc4x1::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X1_types[186]); } -void Ifc4x1::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[186]); } +void Ifc4x1::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x1::IfcAxis2Placement Ifc4x1::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcAxis2Placement>(); } void Ifc4x1::IfcConic::setPosition(const ::Ifc4x1::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcConic::Class() { return *((IfcParse::entity*)IFC4X1_types[188]); } +const ifcopenshell::entity& Ifc4x1::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X1_types[188]); } void Ifc4x1::IfcConic::initialize(::Ifc4x1::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -8180,7 +8180,7 @@ std::vector< ::Ifc4x1::IfcFace > Ifc4x1::IfcConnectedFaceSet::CfsFaces() const { void Ifc4x1::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x1::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X1_types[189]); } +const ifcopenshell::entity& Ifc4x1::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[189]); } void Ifc4x1::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -8190,13 +8190,13 @@ void Ifc4x1::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::Ifc4x void Ifc4x1::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x1::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X1_types[190]); } +const ifcopenshell::entity& Ifc4x1::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X1_types[190]); } void Ifc4x1::IfcConnectionCurveGeometry::initialize(::Ifc4x1::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x1::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x1::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X1_types[191]); } +const ifcopenshell::entity& Ifc4x1::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X1_types[191]); } void Ifc4x1::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -8208,7 +8208,7 @@ std::optional< double > Ifc4x1::IfcConnectionPointEccentricity::EccentricityInZ( void Ifc4x1::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X1_types[192]); } +const ifcopenshell::entity& Ifc4x1::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X1_types[192]); } void Ifc4x1::IfcConnectionPointEccentricity::initialize(::Ifc4x1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x1::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -8218,7 +8218,7 @@ void Ifc4x1::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::Ifc4x void Ifc4x1::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x1::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X1_types[193]); } +const ifcopenshell::entity& Ifc4x1::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X1_types[193]); } void Ifc4x1::IfcConnectionPointGeometry::initialize(::Ifc4x1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x1::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -8228,7 +8228,7 @@ void Ifc4x1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const ::I void Ifc4x1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x1::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X1_types[194]); } +const ifcopenshell::entity& Ifc4x1::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X1_types[194]); } void Ifc4x1::IfcConnectionSurfaceGeometry::initialize(::Ifc4x1::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x1::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -8238,7 +8238,7 @@ void Ifc4x1::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const ::Ifc void Ifc4x1::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x1::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X1_types[196]); } +const ifcopenshell::entity& Ifc4x1::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X1_types[196]); } void Ifc4x1::IfcConnectionVolumeGeometry::initialize(::Ifc4x1::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x1::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -8247,7 +8247,7 @@ void Ifc4x1::IfcConstraint::setName(const std::string& v) { set_attribute_value( std::optional< std::string > Ifc4x1::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x1::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x1::IfcConstraintEnum::Value Ifc4x1::IfcConstraint::ConstraintGrade() const { return ::Ifc4x1::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x1::IfcConstraint::setConstraintGrade(const ::Ifc4x1::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x1::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x1::IfcConstraint::setConstraintGrade(const ::Ifc4x1::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x1::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x1::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x1::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x1::IfcActorSelect Ifc4x1::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcActorSelect>(); } @@ -8257,59 +8257,59 @@ void Ifc4x1::IfcConstraint::setCreationTime(const std::optional< std::string >& std::optional< std::string > Ifc4x1::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x1::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } -std::vector<::Ifc4x1::IfcResourceConstraintRelationship> Ifc4x1::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[875], 2)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcResourceConstraintRelationship> Ifc4x1::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[875], 2)); } -const IfcParse::entity& Ifc4x1::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X1_types[197]); } -void Ifc4x1::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x1::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X1_types[197]); } +void Ifc4x1::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x1::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X1_types[199]); } -void Ifc4x1::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[199]); } +void Ifc4x1::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x1::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x1::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X1_types[200]); } -void Ifc4x1::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[200]); } +void Ifc4x1::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x1::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X1_types[202]); } -void Ifc4x1::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[202]); } +void Ifc4x1::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x1::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x1::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X1_types[203]); } -void Ifc4x1::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[203]); } +void Ifc4x1::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value > Ifc4x1::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X1_types[205]); } -void Ifc4x1::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[205]); } +void Ifc4x1::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value Ifc4x1::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x1::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X1_types[206]); } -void Ifc4x1::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[206]); } +void Ifc4x1::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x1::IfcResourceTime Ifc4x1::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x1::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x1::IfcResourceTime>(); } @@ -8320,7 +8320,7 @@ void Ifc4x1::IfcConstructionResource::setBaseCosts(const std::optional< std::vec void Ifc4x1::IfcConstructionResource::setBaseQuantity(const ::Ifc4x1::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X1_types[208]); } +const ifcopenshell::entity& Ifc4x1::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[208]); } void Ifc4x1::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -8330,7 +8330,7 @@ void Ifc4x1::IfcConstructionResourceType::setBaseCosts(const std::optional< std: void Ifc4x1::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x1::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x1::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X1_types[209]); } +const ifcopenshell::entity& Ifc4x1::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[209]); } void Ifc4x1::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -8345,45 +8345,45 @@ void Ifc4x1::IfcContext::setRepresentationContexts(const std::optional< std::vec ::Ifc4x1::IfcUnitAssignment Ifc4x1::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x1::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x1::IfcUnitAssignment>(); } void Ifc4x1::IfcContext::setUnitsInContext(const ::Ifc4x1::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x1::IfcRelDefinesByProperties> Ifc4x1::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[853], 4)); } -std::vector<::Ifc4x1::IfcRelDeclares> Ifc4x1::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[849], 4)); } +std::vector<::Ifc4x1::IfcRelDefinesByProperties> Ifc4x1::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[853], 4)); } +std::vector<::Ifc4x1::IfcRelDeclares> Ifc4x1::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[849], 4)); } -const IfcParse::entity& Ifc4x1::IfcContext::Class() { return *((IfcParse::entity*)IFC4X1_types[210]); } +const ifcopenshell::entity& Ifc4x1::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X1_types[210]); } void Ifc4x1::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x1::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x1::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } -const IfcParse::entity& Ifc4x1::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X1_types[212]); } -void Ifc4x1::IfcContextDependentUnit::initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x1::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[212]); } +void Ifc4x1::IfcContextDependentUnit::initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x1::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x1::IfcRelAssignsToControl> Ifc4x1::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[823], 6)); } +std::vector<::Ifc4x1::IfcRelAssignsToControl> Ifc4x1::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[823], 6)); } -const IfcParse::entity& Ifc4x1::IfcControl::Class() { return *((IfcParse::entity*)IFC4X1_types[213]); } +const ifcopenshell::entity& Ifc4x1::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X1_types[213]); } void Ifc4x1::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x1::IfcControllerTypeEnum::Value > Ifc4x1::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcController::setPredefinedType(const std::optional< ::Ifc4x1::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcController::setPredefinedType(const std::optional< ::Ifc4x1::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcController::Class() { return *((IfcParse::entity*)IFC4X1_types[214]); } -void Ifc4x1::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X1_types[214]); } +void Ifc4x1::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x1::IfcControllerTypeEnum::Value Ifc4x1::IfcControllerType::PredefinedType() const { return ::Ifc4x1::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcControllerType::setPredefinedType(const ::Ifc4x1::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcControllerType::setPredefinedType(const ::Ifc4x1::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X1_types[215]); } -void Ifc4x1::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[215]); } +void Ifc4x1::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x1::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -8391,50 +8391,50 @@ void Ifc4x1::IfcConversionBasedUnit::setName(const std::string& v) { set_attribu ::Ifc4x1::IfcMeasureWithUnit Ifc4x1::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x1::IfcMeasureWithUnit>(); } void Ifc4x1::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x1::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } -const IfcParse::entity& Ifc4x1::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X1_types[217]); } -void Ifc4x1::IfcConversionBasedUnit::initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x1::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4x1::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[217]); } +void Ifc4x1::IfcConversionBasedUnit::initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x1::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x1::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x1::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X1_types[218]); } -void Ifc4x1::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x1::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X1_types[218]); } +void Ifc4x1::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x1::IfcCooledBeamTypeEnum::Value > Ifc4x1::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x1::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x1::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X1_types[219]); } -void Ifc4x1::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X1_types[219]); } +void Ifc4x1::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x1::IfcCooledBeamTypeEnum::Value Ifc4x1::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCooledBeamType::setPredefinedType(const ::Ifc4x1::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCooledBeamType::setPredefinedType(const ::Ifc4x1::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X1_types[220]); } -void Ifc4x1::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[220]); } +void Ifc4x1::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x1::IfcCoolingTowerTypeEnum::Value > Ifc4x1::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x1::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x1::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X1_types[222]); } -void Ifc4x1::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X1_types[222]); } +void Ifc4x1::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x1::IfcCoolingTowerTypeEnum::Value Ifc4x1::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x1::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x1::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X1_types[223]); } -void Ifc4x1::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[223]); } +void Ifc4x1::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x1::IfcCoordinateReferenceSystemSelect Ifc4x1::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcCoordinateReferenceSystemSelect>(); } @@ -8443,7 +8443,7 @@ void Ifc4x1::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x1::IfcCoordinateR void Ifc4x1::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x1::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X1_types[225]); } +const ifcopenshell::entity& Ifc4x1::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[225]); } void Ifc4x1::IfcCoordinateOperation::initialize(::Ifc4x1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x1::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -8456,26 +8456,26 @@ void Ifc4x1::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optional< std::optional< std::string > Ifc4x1::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x1::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::vector<::Ifc4x1::IfcCoordinateOperation> Ifc4x1::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[225], 0)); } +std::vector<::Ifc4x1::IfcCoordinateOperation> Ifc4x1::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[225], 0)); } -const IfcParse::entity& Ifc4x1::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X1_types[226]); } +const ifcopenshell::entity& Ifc4x1::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[226]); } void Ifc4x1::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { 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)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4x1::IfcCostItemTypeEnum::Value > Ifc4x1::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x1::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x1::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x1::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x1::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x1::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x1::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x1::IfcCostValue > > Ifc4x1::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x1::IfcCostValue>(es); } void Ifc4x1::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x1::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x1::IfcPhysicalQuantity > > Ifc4x1::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x1::IfcPhysicalQuantity>(es); } void Ifc4x1::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x1::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X1_types[228]); } -void Ifc4x1::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x1::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x1::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[228]); } +void Ifc4x1::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x1::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x1::IfcCostScheduleTypeEnum::Value > Ifc4x1::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x1::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x1::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x1::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x1::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x1::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x1::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x1::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x1::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x1::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -8484,55 +8484,55 @@ std::optional< std::string > Ifc4x1::IfcCostSchedule::UpdateDate() const { if(ge void Ifc4x1::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X1_types[230]); } -void Ifc4x1::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X1_types[230]); } +void Ifc4x1::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x1::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X1_types[232]); } -void Ifc4x1::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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(&::Ifc4x1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x1::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[232]); } +void Ifc4x1::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCovering std::optional< ::Ifc4x1::IfcCoveringTypeEnum::Value > Ifc4x1::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x1::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x1::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x1::IfcRelCoversSpaces> Ifc4x1::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[848], 5)); } -std::vector<::Ifc4x1::IfcRelCoversBldgElements> Ifc4x1::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[847], 5)); } +std::vector<::Ifc4x1::IfcRelCoversSpaces> Ifc4x1::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[848], 5)); } +std::vector<::Ifc4x1::IfcRelCoversBldgElements> Ifc4x1::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[847], 5)); } -const IfcParse::entity& Ifc4x1::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X1_types[234]); } -void Ifc4x1::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X1_types[234]); } +void Ifc4x1::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x1::IfcCoveringTypeEnum::Value Ifc4x1::IfcCoveringType::PredefinedType() const { return ::Ifc4x1::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCoveringType::setPredefinedType(const ::Ifc4x1::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCoveringType::setPredefinedType(const ::Ifc4x1::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X1_types[235]); } -void Ifc4x1::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[235]); } +void Ifc4x1::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x1::IfcCrewResourceTypeEnum::Value > Ifc4x1::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X1_types[237]); } -void Ifc4x1::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[237]); } +void Ifc4x1::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x1::IfcCrewResourceTypeEnum::Value Ifc4x1::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcCrewResourceType::setPredefinedType(const ::Ifc4x1::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x1::IfcCrewResourceType::setPredefinedType(const ::Ifc4x1::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X1_types[238]); } -void Ifc4x1::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[238]); } +void Ifc4x1::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x1::IfcAxis2Placement3D Ifc4x1::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcAxis2Placement3D>(); } void Ifc4x1::IfcCsgPrimitive3D::setPosition(const ::Ifc4x1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X1_types[240]); } +const ifcopenshell::entity& Ifc4x1::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[240]); } void Ifc4x1::IfcCsgPrimitive3D::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -8540,7 +8540,7 @@ void Ifc4x1::IfcCsgPrimitive3D::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Posi void Ifc4x1::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x1::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X1_types[242]); } +const ifcopenshell::entity& Ifc4x1::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[242]); } void Ifc4x1::IfcCsgSolid::initialize(::Ifc4x1::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -8556,29 +8556,29 @@ void Ifc4x1::IfcCurrencyRelationship::setRateDateTime(const std::optional< std:: void Ifc4x1::IfcCurrencyRelationship::setRateSource(const ::Ifc4x1::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[244]); } +const ifcopenshell::entity& Ifc4x1::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[244]); } void Ifc4x1::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x1::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x1::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x1::IfcCurtainWallTypeEnum::Value > Ifc4x1::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x1::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x1::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X1_types[245]); } -void Ifc4x1::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X1_types[245]); } +void Ifc4x1::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x1::IfcCurtainWallTypeEnum::Value Ifc4x1::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcCurtainWallType::setPredefinedType(const ::Ifc4x1::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcCurtainWallType::setPredefinedType(const ::Ifc4x1::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X1_types[246]); } -void Ifc4x1::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[246]); } +void Ifc4x1::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x1::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[249]); } +const ifcopenshell::entity& Ifc4x1::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[249]); } void Ifc4x1::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -8590,7 +8590,7 @@ std::vector< ::Ifc4x1::IfcCurve > Ifc4x1::IfcCurveBoundedPlane::InnerBoundaries( void Ifc4x1::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x1::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X1_types[250]); } +const ifcopenshell::entity& Ifc4x1::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X1_types[250]); } void Ifc4x1::IfcCurveBoundedPlane::initialize(::Ifc4x1::IfcPlane v1_BasisSurface, ::Ifc4x1::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x1::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -8602,7 +8602,7 @@ bool Ifc4x1::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_attri void Ifc4x1::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[251]); } +const ifcopenshell::entity& Ifc4x1::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[251]); } void Ifc4x1::IfcCurveBoundedSurface::initialize(::Ifc4x1::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x1::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment2D @@ -8614,7 +8614,7 @@ double Ifc4x1::IfcCurveSegment2D::SegmentLength() const { double v = get_attrib void Ifc4x1::IfcCurveSegment2D::setSegmentLength(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcCurveSegment2D::Class() { return *((IfcParse::entity*)IFC4X1_types[256]); } +const ifcopenshell::entity& Ifc4x1::IfcCurveSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[256]); } void Ifc4x1::IfcCurveSegment2D::initialize(::Ifc4x1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); } // Function implementations for IfcCurveStyle @@ -8628,7 +8628,7 @@ std::optional< bool > Ifc4x1::IfcCurveStyle::ModelOrDraughting() const { if(get_ void Ifc4x1::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[257]); } +const ifcopenshell::entity& Ifc4x1::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[257]); } void Ifc4x1::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x1::IfcSizeSelect v3_CurveWidth, ::Ifc4x1::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -8638,7 +8638,7 @@ std::vector< ::Ifc4x1::IfcCurveStyleFontPattern > Ifc4x1::IfcCurveStyleFont::Pat void Ifc4x1::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x1::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X1_types[258]); } +const ifcopenshell::entity& Ifc4x1::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X1_types[258]); } void Ifc4x1::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x1::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -8650,7 +8650,7 @@ double Ifc4x1::IfcCurveStyleFontAndScaling::CurveFontScaling() const { double v void Ifc4x1::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X1_types[259]); } +const ifcopenshell::entity& Ifc4x1::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X1_types[259]); } void Ifc4x1::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -8660,7 +8660,7 @@ double Ifc4x1::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { doubl void Ifc4x1::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X1_types[260]); } +const ifcopenshell::entity& Ifc4x1::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X1_types[260]); } void Ifc4x1::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -8668,24 +8668,24 @@ double Ifc4x1::IfcCylindricalSurface::Radius() const { double v = get_attribute void Ifc4x1::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[262]); } +const ifcopenshell::entity& Ifc4x1::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[262]); } void Ifc4x1::IfcCylindricalSurface::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x1::IfcDamperTypeEnum::Value > Ifc4x1::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x1::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x1::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X1_types[263]); } -void Ifc4x1::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X1_types[263]); } +void Ifc4x1::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x1::IfcDamperTypeEnum::Value Ifc4x1::IfcDamperType::PredefinedType() const { return ::Ifc4x1::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcDamperType::setPredefinedType(const ::Ifc4x1::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcDamperType::setPredefinedType(const ::Ifc4x1::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X1_types[264]); } -void Ifc4x1::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[264]); } +void Ifc4x1::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDerivedProfileDef ::Ifc4x1::IfcProfileDef Ifc4x1::IfcDerivedProfileDef::ParentProfile() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcProfileDef>(); } @@ -8696,20 +8696,20 @@ std::optional< std::string > Ifc4x1::IfcDerivedProfileDef::Label() const { if(ge void Ifc4x1::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[273]); } -void Ifc4x1::IfcDerivedProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcProfileDef v3_ParentProfile, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x1::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[273]); } +void Ifc4x1::IfcDerivedProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcProfileDef v3_ParentProfile, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x1::IfcDerivedUnitElement > Ifc4x1::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcDerivedUnitElement>(es); } void Ifc4x1::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x1::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x1::IfcDerivedUnitEnum::Value Ifc4x1::IfcDerivedUnit::UnitType() const { return ::Ifc4x1::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x1::IfcDerivedUnit::setUnitType(const ::Ifc4x1::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x1::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x1::IfcDerivedUnit::setUnitType(const ::Ifc4x1::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x1::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x1::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x1::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X1_types[274]); } -void Ifc4x1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } +const ifcopenshell::entity& Ifc4x1::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[274]); } +void Ifc4x1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x1::IfcNamedUnit Ifc4x1::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcNamedUnit>(); } @@ -8718,7 +8718,7 @@ int Ifc4x1::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_val void Ifc4x1::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X1_types[275]); } +const ifcopenshell::entity& Ifc4x1::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[275]); } void Ifc4x1::IfcDerivedUnitElement::initialize(::Ifc4x1::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -8738,7 +8738,7 @@ int Ifc4x1::IfcDimensionalExponents::LuminousIntensityExponent() const { int v void Ifc4x1::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X1_types[278]); } +const ifcopenshell::entity& Ifc4x1::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X1_types[278]); } void Ifc4x1::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -8746,24 +8746,24 @@ std::vector< double > /*[2:3]*/ Ifc4x1::IfcDirection::DirectionRatios() const { void Ifc4x1::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X1_types[280]); } +const ifcopenshell::entity& Ifc4x1::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X1_types[280]); } void Ifc4x1::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x1::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X1_types[282]); } -void Ifc4x1::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X1_types[282]); } +void Ifc4x1::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x1::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X1_types[283]); } -void Ifc4x1::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[283]); } +void Ifc4x1::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistanceExpression double Ifc4x1::IfcDistanceExpression::DistanceAlong() const { double v = get_attribute_value(0); return v; } @@ -8778,91 +8778,91 @@ std::optional< bool > Ifc4x1::IfcDistanceExpression::AlongHorizontal() const { i void Ifc4x1::IfcDistanceExpression::setAlongHorizontal(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X1_types[285]); } +const ifcopenshell::entity& Ifc4x1::IfcDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X1_types[285]); } void Ifc4x1::IfcDistanceExpression::initialize(double v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, std::optional< bool > v5_AlongHorizontal) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } if (v5_AlongHorizontal) {set_attribute_value(4, (*v5_AlongHorizontal)); } } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value > Ifc4x1::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X1_types[286]); } -void Ifc4x1::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[286]); } +void Ifc4x1::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value Ifc4x1::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[287]); } -void Ifc4x1::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[287]); } +void Ifc4x1::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x1::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X1_types[289]); } -void Ifc4x1::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[289]); } +void Ifc4x1::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x1::IfcRelFlowControlElements> Ifc4x1::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[857], 4)); } +std::vector<::Ifc4x1::IfcRelFlowControlElements> Ifc4x1::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[857], 4)); } -const IfcParse::entity& Ifc4x1::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X1_types[290]); } +const ifcopenshell::entity& Ifc4x1::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[290]); } void Ifc4x1::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x1::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[291]); } +const ifcopenshell::entity& Ifc4x1::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[291]); } void Ifc4x1::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x1::IfcRelConnectsPortToElement> Ifc4x1::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[841], 5)); } +std::vector<::Ifc4x1::IfcRelConnectsPortToElement> Ifc4x1::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[841], 5)); } -const IfcParse::entity& Ifc4x1::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X1_types[292]); } +const ifcopenshell::entity& Ifc4x1::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[292]); } void Ifc4x1::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x1::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[293]); } +const ifcopenshell::entity& Ifc4x1::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[293]); } void Ifc4x1::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x1::IfcRelFlowControlElements> Ifc4x1::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[857], 5)); } +std::vector<::Ifc4x1::IfcRelFlowControlElements> Ifc4x1::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[857], 5)); } -const IfcParse::entity& Ifc4x1::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X1_types[294]); } +const ifcopenshell::entity& Ifc4x1::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[294]); } void Ifc4x1::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x1::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[295]); } +const ifcopenshell::entity& Ifc4x1::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[295]); } void Ifc4x1::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x1::IfcFlowDirectionEnum::Value > Ifc4x1::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x1::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x1::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x1::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x1::IfcDistributionPortTypeEnum::Value > Ifc4x1::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x1::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x1::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > Ifc4x1::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x1::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X1_types[296]); } -void Ifc4x1::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4x1::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X1_types[296]); } +void Ifc4x1::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x1::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > Ifc4x1::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x1::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x1::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X1_types[298]); } -void Ifc4x1::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[298]); } +void Ifc4x1::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x1::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -8896,17 +8896,17 @@ void Ifc4x1::IfcDocumentInformation::setValidFrom(const std::optional< std::stri std::optional< std::string > Ifc4x1::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x1::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x1::IfcDocumentConfidentialityEnum::Value > Ifc4x1::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x1::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x1::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x1::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x1::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x1::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x1::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x1::IfcDocumentStatusEnum::Value > Ifc4x1::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x1::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x1::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x1::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x1::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x1::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x1::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x1::IfcRelAssociatesDocument> Ifc4x1::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[833], 5)); } -std::vector<::Ifc4x1::IfcDocumentReference> Ifc4x1::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[303], 4)); } -std::vector<::Ifc4x1::IfcDocumentInformationRelationship> Ifc4x1::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[302], 3)); } -std::vector<::Ifc4x1::IfcDocumentInformationRelationship> Ifc4x1::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[302], 2)); } +std::vector<::Ifc4x1::IfcRelAssociatesDocument> Ifc4x1::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[833], 5)); } +std::vector<::Ifc4x1::IfcDocumentReference> Ifc4x1::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[303], 4)); } +std::vector<::Ifc4x1::IfcDocumentInformationRelationship> Ifc4x1::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[302], 3)); } +std::vector<::Ifc4x1::IfcDocumentInformationRelationship> Ifc4x1::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[302], 2)); } -const IfcParse::entity& Ifc4x1::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X1_types[301]); } -void Ifc4x1::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x1::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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(&::Ifc4x1::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x1::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4x1::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[301]); } +void Ifc4x1::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x1::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x1::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x1::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x1::IfcDocumentInformation Ifc4x1::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcDocumentInformation>(); } @@ -8917,7 +8917,7 @@ std::optional< std::string > Ifc4x1::IfcDocumentInformationRelationship::Relatio void Ifc4x1::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[302]); } +const ifcopenshell::entity& Ifc4x1::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[302]); } void Ifc4x1::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x1::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -8926,9 +8926,9 @@ void Ifc4x1::IfcDocumentReference::setDescription(const std::optional< std::stri ::Ifc4x1::IfcDocumentInformation Ifc4x1::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x1::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcDocumentInformation>(); } void Ifc4x1::IfcDocumentReference::setReferencedDocument(const ::Ifc4x1::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x1::IfcRelAssociatesDocument> Ifc4x1::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[833], 5)); } +std::vector<::Ifc4x1::IfcRelAssociatesDocument> Ifc4x1::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[833], 5)); } -const IfcParse::entity& Ifc4x1::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X1_types[303]); } +const ifcopenshell::entity& Ifc4x1::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X1_types[303]); } void Ifc4x1::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -8937,15 +8937,15 @@ void Ifc4x1::IfcDoor::setOverallHeight(const std::optional< double >& v) { if (v std::optional< double > Ifc4x1::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x1::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x1::IfcDoorTypeEnum::Value > Ifc4x1::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x1::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x1::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x1::IfcDoorTypeOperationEnum::Value > Ifc4x1::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcDoor::setOperationType(const std::optional< ::Ifc4x1::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x1::IfcDoor::setOperationType(const std::optional< ::Ifc4x1::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x1::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x1::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x1::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X1_types[306]); } -void Ifc4x1::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x1::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X1_types[306]); } +void Ifc4x1::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x1::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -8976,118 +8976,118 @@ std::optional< double > Ifc4x1::IfcDoorLiningProperties::LiningToPanelOffsetY() void Ifc4x1::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x1::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[307]); } +const ifcopenshell::entity& Ifc4x1::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[307]); } void Ifc4x1::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x1::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x1::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x1::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x1::IfcDoorPanelOperationEnum::Value Ifc4x1::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x1::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x1::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x1::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x1::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x1::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x1::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x1::IfcDoorPanelPositionEnum::Value Ifc4x1::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x1::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x1::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x1::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x1::IfcShapeAspect Ifc4x1::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x1::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x1::IfcShapeAspect>(); } void Ifc4x1::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[310]); } -void Ifc4x1::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4x1::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4x1::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[310]); } +void Ifc4x1::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x1::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorStandardCase -const IfcParse::entity& Ifc4x1::IfcDoorStandardCase::Class() { return *((IfcParse::entity*)IFC4X1_types[311]); } -void Ifc4x1::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x1::IfcDoorStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[311]); } +void Ifc4x1::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorStyle ::Ifc4x1::IfcDoorStyleOperationEnum::Value Ifc4x1::IfcDoorStyle::OperationType() const { return ::Ifc4x1::IfcDoorStyleOperationEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcDoorStyle::setOperationType(const ::Ifc4x1::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x1::IfcDoorStyle::setOperationType(const ::Ifc4x1::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x1::IfcDoorStyleConstructionEnum::Value Ifc4x1::IfcDoorStyle::ConstructionType() const { return ::Ifc4x1::IfcDoorStyleConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcDoorStyle::setConstructionType(const ::Ifc4x1::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcDoorStyle::setConstructionType(const ::Ifc4x1::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x1::IfcDoorStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x1::IfcDoorStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x1::IfcDoorStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x1::IfcDoorStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcDoorStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[312]); } -void Ifc4x1::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x1::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x1::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x1::IfcDoorStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[312]); } +void Ifc4x1::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x1::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x1::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcDoorType ::Ifc4x1::IfcDoorTypeEnum::Value Ifc4x1::IfcDoorType::PredefinedType() const { return ::Ifc4x1::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcDoorType::setPredefinedType(const ::Ifc4x1::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcDoorType::setPredefinedType(const ::Ifc4x1::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x1::IfcDoorTypeOperationEnum::Value Ifc4x1::IfcDoorType::OperationType() const { return ::Ifc4x1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcDoorType::setOperationType(const ::Ifc4x1::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x1::IfcDoorType::setOperationType(const ::Ifc4x1::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x1::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x1::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x1::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x1::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x1::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X1_types[315]); } -void Ifc4x1::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x1::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[315]); } +void Ifc4x1::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x1::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X1_types[319]); } +const ifcopenshell::entity& Ifc4x1::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X1_types[319]); } void Ifc4x1::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x1::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X1_types[320]); } +const ifcopenshell::entity& Ifc4x1::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X1_types[320]); } void Ifc4x1::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x1::IfcDuctFittingTypeEnum::Value > Ifc4x1::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x1::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x1::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X1_types[321]); } -void Ifc4x1::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X1_types[321]); } +void Ifc4x1::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x1::IfcDuctFittingTypeEnum::Value Ifc4x1::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcDuctFittingType::setPredefinedType(const ::Ifc4x1::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcDuctFittingType::setPredefinedType(const ::Ifc4x1::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X1_types[322]); } -void Ifc4x1::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[322]); } +void Ifc4x1::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x1::IfcDuctSegmentTypeEnum::Value > Ifc4x1::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x1::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x1::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[324]); } -void Ifc4x1::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[324]); } +void Ifc4x1::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x1::IfcDuctSegmentTypeEnum::Value Ifc4x1::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x1::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x1::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X1_types[325]); } -void Ifc4x1::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[325]); } +void Ifc4x1::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x1::IfcDuctSilencerTypeEnum::Value > Ifc4x1::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x1::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x1::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X1_types[327]); } -void Ifc4x1::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X1_types[327]); } +void Ifc4x1::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x1::IfcDuctSilencerTypeEnum::Value Ifc4x1::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x1::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x1::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X1_types[328]); } -void Ifc4x1::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[328]); } +void Ifc4x1::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEdge ::Ifc4x1::IfcVertex Ifc4x1::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcVertex>(); } @@ -9096,7 +9096,7 @@ void Ifc4x1::IfcEdge::setEdgeStart(const ::Ifc4x1::IfcVertex& v) { set_attribute void Ifc4x1::IfcEdge::setEdgeEnd(const ::Ifc4x1::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X1_types[332]); } +const ifcopenshell::entity& Ifc4x1::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X1_types[332]); } void Ifc4x1::IfcEdge::initialize(::Ifc4x1::IfcVertex v1_EdgeStart, ::Ifc4x1::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -9106,7 +9106,7 @@ bool Ifc4x1::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value(3); void Ifc4x1::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[333]); } +const ifcopenshell::entity& Ifc4x1::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[333]); } void Ifc4x1::IfcEdgeCurve::initialize(::Ifc4x1::IfcVertex v1_EdgeStart, ::Ifc4x1::IfcVertex v2_EdgeEnd, ::Ifc4x1::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -9114,153 +9114,153 @@ std::vector< ::Ifc4x1::IfcOrientedEdge > Ifc4x1::IfcEdgeLoop::EdgeList() const { void Ifc4x1::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X1_types[334]); } +const ifcopenshell::entity& Ifc4x1::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X1_types[334]); } void Ifc4x1::IfcEdgeLoop::initialize(std::vector< ::Ifc4x1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x1::IfcElectricApplianceTypeEnum::Value > Ifc4x1::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X1_types[335]); } -void Ifc4x1::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X1_types[335]); } +void Ifc4x1::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x1::IfcElectricApplianceTypeEnum::Value Ifc4x1::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x1::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x1::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X1_types[336]); } -void Ifc4x1::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[336]); } +void Ifc4x1::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x1::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X1_types[342]); } -void Ifc4x1::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X1_types[342]); } +void Ifc4x1::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x1::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X1_types[343]); } -void Ifc4x1::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[343]); } +void Ifc4x1::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x1::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[345]); } -void Ifc4x1::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[345]); } +void Ifc4x1::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x1::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[346]); } -void Ifc4x1::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[346]); } +void Ifc4x1::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value > Ifc4x1::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X1_types[348]); } -void Ifc4x1::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X1_types[348]); } +void Ifc4x1::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value Ifc4x1::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X1_types[349]); } -void Ifc4x1::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[349]); } +void Ifc4x1::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x1::IfcElectricMotorTypeEnum::Value > Ifc4x1::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X1_types[351]); } -void Ifc4x1::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X1_types[351]); } +void Ifc4x1::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x1::IfcElectricMotorTypeEnum::Value Ifc4x1::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcElectricMotorType::setPredefinedType(const ::Ifc4x1::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcElectricMotorType::setPredefinedType(const ::Ifc4x1::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X1_types[352]); } -void Ifc4x1::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[352]); } +void Ifc4x1::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value > Ifc4x1::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X1_types[355]); } -void Ifc4x1::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X1_types[355]); } +void Ifc4x1::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value Ifc4x1::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X1_types[356]); } -void Ifc4x1::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[356]); } +void Ifc4x1::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x1::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x1::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x1::IfcRelFillsElement> Ifc4x1::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[856], 5)); } -std::vector<::Ifc4x1::IfcRelConnectsElements> Ifc4x1::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[838], 5)); } -std::vector<::Ifc4x1::IfcRelInterferesElements> Ifc4x1::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[858], 5)); } -std::vector<::Ifc4x1::IfcRelInterferesElements> Ifc4x1::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[858], 4)); } -std::vector<::Ifc4x1::IfcRelProjectsElement> Ifc4x1::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[860], 4)); } -std::vector<::Ifc4x1::IfcRelReferencedInSpatialStructure> Ifc4x1::IfcElement::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[861], 4)); } -std::vector<::Ifc4x1::IfcRelVoidsElement> Ifc4x1::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[867], 4)); } -std::vector<::Ifc4x1::IfcRelConnectsWithRealizingElements> Ifc4x1::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[845], 7)); } -std::vector<::Ifc4x1::IfcRelSpaceBoundary> Ifc4x1::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[864], 5)); } -std::vector<::Ifc4x1::IfcRelConnectsElements> Ifc4x1::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[838], 6)); } -std::vector<::Ifc4x1::IfcRelContainedInSpatialStructure> Ifc4x1::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[846], 4)); } -std::vector<::Ifc4x1::IfcRelCoversBldgElements> Ifc4x1::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[847], 4)); } +std::vector<::Ifc4x1::IfcRelFillsElement> Ifc4x1::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[856], 5)); } +std::vector<::Ifc4x1::IfcRelConnectsElements> Ifc4x1::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[838], 5)); } +std::vector<::Ifc4x1::IfcRelInterferesElements> Ifc4x1::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[858], 5)); } +std::vector<::Ifc4x1::IfcRelInterferesElements> Ifc4x1::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[858], 4)); } +std::vector<::Ifc4x1::IfcRelProjectsElement> Ifc4x1::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[860], 4)); } +std::vector<::Ifc4x1::IfcRelReferencedInSpatialStructure> Ifc4x1::IfcElement::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[861], 4)); } +std::vector<::Ifc4x1::IfcRelVoidsElement> Ifc4x1::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[867], 4)); } +std::vector<::Ifc4x1::IfcRelConnectsWithRealizingElements> Ifc4x1::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[845], 7)); } +std::vector<::Ifc4x1::IfcRelSpaceBoundary> Ifc4x1::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[864], 5)); } +std::vector<::Ifc4x1::IfcRelConnectsElements> Ifc4x1::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[838], 6)); } +std::vector<::Ifc4x1::IfcRelContainedInSpatialStructure> Ifc4x1::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[846], 4)); } +std::vector<::Ifc4x1::IfcRelCoversBldgElements> Ifc4x1::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[847], 4)); } -const IfcParse::entity& Ifc4x1::IfcElement::Class() { return *((IfcParse::entity*)IFC4X1_types[359]); } +const ifcopenshell::entity& Ifc4x1::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[359]); } void Ifc4x1::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x1::IfcAssemblyPlaceEnum::Value > Ifc4x1::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x1::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x1::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x1::IfcElementAssemblyTypeEnum::Value > Ifc4x1::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x1::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x1::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x1::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X1_types[361]); } -void Ifc4x1::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X1_types[361]); } +void Ifc4x1::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x1::IfcElementAssemblyTypeEnum::Value Ifc4x1::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x1::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x1::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X1_types[362]); } -void Ifc4x1::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[362]); } +void Ifc4x1::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x1::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X1_types[364]); } +const ifcopenshell::entity& Ifc4x1::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X1_types[364]); } void Ifc4x1::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x1::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X1_types[365]); } +const ifcopenshell::entity& Ifc4x1::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[365]); } void Ifc4x1::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -9270,7 +9270,7 @@ std::vector< ::Ifc4x1::IfcPhysicalQuantity > Ifc4x1::IfcElementQuantity::Quantit void Ifc4x1::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x1::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X1_types[367]); } +const ifcopenshell::entity& Ifc4x1::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X1_types[367]); } void Ifc4x1::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x1::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -9278,7 +9278,7 @@ std::optional< std::string > Ifc4x1::IfcElementType::ElementType() const { if(ge void Ifc4x1::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[368]); } +const ifcopenshell::entity& Ifc4x1::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[368]); } void Ifc4x1::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -9286,7 +9286,7 @@ void Ifc4x1::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOw void Ifc4x1::IfcElementarySurface::setPosition(const ::Ifc4x1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X1_types[360]); } +const ifcopenshell::entity& Ifc4x1::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[360]); } void Ifc4x1::IfcElementarySurface::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -9296,7 +9296,7 @@ double Ifc4x1::IfcEllipse::SemiAxis2() const { double v = get_attribute_value(2 void Ifc4x1::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X1_types[369]); } +const ifcopenshell::entity& Ifc4x1::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X1_types[369]); } void Ifc4x1::IfcEllipse::initialize(::Ifc4x1::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -9306,82 +9306,82 @@ double Ifc4x1::IfcEllipseProfileDef::SemiAxis2() const { double v = get_attribu void Ifc4x1::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[370]); } -void Ifc4x1::IfcEllipseProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x1::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[370]); } +void Ifc4x1::IfcEllipseProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x1::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[371]); } +const ifcopenshell::entity& Ifc4x1::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[371]); } void Ifc4x1::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x1::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[372]); } +const ifcopenshell::entity& Ifc4x1::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[372]); } void Ifc4x1::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x1::IfcEngineTypeEnum::Value > Ifc4x1::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x1::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x1::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X1_types[374]); } -void Ifc4x1::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X1_types[374]); } +void Ifc4x1::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x1::IfcEngineTypeEnum::Value Ifc4x1::IfcEngineType::PredefinedType() const { return ::Ifc4x1::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcEngineType::setPredefinedType(const ::Ifc4x1::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcEngineType::setPredefinedType(const ::Ifc4x1::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X1_types[375]); } -void Ifc4x1::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[375]); } +void Ifc4x1::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x1::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X1_types[377]); } -void Ifc4x1::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X1_types[377]); } +void Ifc4x1::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x1::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X1_types[378]); } -void Ifc4x1::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[378]); } +void Ifc4x1::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x1::IfcEvaporatorTypeEnum::Value > Ifc4x1::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x1::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x1::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X1_types[380]); } -void Ifc4x1::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X1_types[380]); } +void Ifc4x1::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x1::IfcEvaporatorTypeEnum::Value Ifc4x1::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcEvaporatorType::setPredefinedType(const ::Ifc4x1::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcEvaporatorType::setPredefinedType(const ::Ifc4x1::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X1_types[381]); } -void Ifc4x1::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[381]); } +void Ifc4x1::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x1::IfcEventTypeEnum::Value > Ifc4x1::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x1::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x1::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x1::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x1::IfcEventTriggerTypeEnum::Value > Ifc4x1::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x1::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x1::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x1::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x1::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x1::IfcEventTime Ifc4x1::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x1::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x1::IfcEventTime>(); } void Ifc4x1::IfcEvent::setEventOccurenceTime(const ::Ifc4x1::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x1::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X1_types[383]); } -void Ifc4x1::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x1::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4x1::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X1_types[383]); } +void Ifc4x1::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x1::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x1::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -9394,20 +9394,20 @@ std::optional< std::string > Ifc4x1::IfcEventTime::ScheduleDate() const { if(get void Ifc4x1::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X1_types[384]); } -void Ifc4x1::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X1_types[384]); } +void Ifc4x1::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcEventType ::Ifc4x1::IfcEventTypeEnum::Value Ifc4x1::IfcEventType::PredefinedType() const { return ::Ifc4x1::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcEventType::setPredefinedType(const ::Ifc4x1::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcEventType::setPredefinedType(const ::Ifc4x1::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x1::IfcEventTriggerTypeEnum::Value Ifc4x1::IfcEventType::EventTriggerType() const { return ::Ifc4x1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcEventType::setEventTriggerType(const ::Ifc4x1::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x1::IfcEventType::setEventTriggerType(const ::Ifc4x1::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x1::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x1::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x1::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X1_types[386]); } -void Ifc4x1::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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(&::Ifc4x1::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4x1::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[386]); } +void Ifc4x1::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x1::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x1::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -9418,13 +9418,13 @@ std::vector< ::Ifc4x1::IfcProperty > Ifc4x1::IfcExtendedProperties::Properties() void Ifc4x1::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x1::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[388]); } +const ifcopenshell::entity& Ifc4x1::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[388]); } void Ifc4x1::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x1::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X1_types[389]); } +const ifcopenshell::entity& Ifc4x1::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[389]); } void Ifc4x1::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -9435,9 +9435,9 @@ void Ifc4x1::IfcExternalReference::setIdentification(const std::optional< std::s std::optional< std::string > Ifc4x1::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x1::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 2)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 2)); } -const IfcParse::entity& Ifc4x1::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X1_types[393]); } +const ifcopenshell::entity& Ifc4x1::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X1_types[393]); } void Ifc4x1::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -9447,40 +9447,40 @@ std::vector< ::Ifc4x1::IfcResourceObjectSelect > Ifc4x1::IfcExternalReferenceRel void Ifc4x1::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[394]); } +const ifcopenshell::entity& Ifc4x1::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[394]); } void Ifc4x1::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x1::IfcExternalSpatialElementTypeEnum::Value > Ifc4x1::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x1::IfcRelSpaceBoundary> Ifc4x1::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[864], 4)); } +std::vector<::Ifc4x1::IfcRelSpaceBoundary> Ifc4x1::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[864], 4)); } -const IfcParse::entity& Ifc4x1::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X1_types[395]); } -void Ifc4x1::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[395]); } +void Ifc4x1::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x1::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X1_types[397]); } +const ifcopenshell::entity& Ifc4x1::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[397]); } void Ifc4x1::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x1::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[390]); } +const ifcopenshell::entity& Ifc4x1::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[390]); } void Ifc4x1::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x1::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[391]); } +const ifcopenshell::entity& Ifc4x1::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[391]); } void Ifc4x1::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x1::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X1_types[392]); } +const ifcopenshell::entity& Ifc4x1::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X1_types[392]); } void Ifc4x1::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -9490,7 +9490,7 @@ double Ifc4x1::IfcExtrudedAreaSolid::Depth() const { double v = get_attribute_v void Ifc4x1::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X1_types[398]); } +const ifcopenshell::entity& Ifc4x1::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[398]); } void Ifc4x1::IfcExtrudedAreaSolid::initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -9498,16 +9498,16 @@ void Ifc4x1::IfcExtrudedAreaSolid::initialize(::Ifc4x1::IfcProfileDef v1_SweptAr void Ifc4x1::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X1_types[399]); } +const ifcopenshell::entity& Ifc4x1::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X1_types[399]); } void Ifc4x1::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x1::IfcFaceBound > Ifc4x1::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcFaceBound>(es); } void Ifc4x1::IfcFace::setBounds(const std::vector< ::Ifc4x1::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x1::IfcTextureMap> Ifc4x1::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[1093], 2)); } +std::vector<::Ifc4x1::IfcTextureMap> Ifc4x1::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[1093], 2)); } -const IfcParse::entity& Ifc4x1::IfcFace::Class() { return *((IfcParse::entity*)IFC4X1_types[400]); } +const ifcopenshell::entity& Ifc4x1::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X1_types[400]); } void Ifc4x1::IfcFace::initialize(std::vector< ::Ifc4x1::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -9515,7 +9515,7 @@ std::vector< ::Ifc4x1::IfcConnectedFaceSet > Ifc4x1::IfcFaceBasedSurfaceModel::F void Ifc4x1::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x1::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X1_types[401]); } +const ifcopenshell::entity& Ifc4x1::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[401]); } void Ifc4x1::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x1::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -9525,13 +9525,13 @@ bool Ifc4x1::IfcFaceBound::Orientation() const { bool v = get_attribute_value(1 void Ifc4x1::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X1_types[402]); } +const ifcopenshell::entity& Ifc4x1::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X1_types[402]); } void Ifc4x1::IfcFaceBound::initialize(::Ifc4x1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x1::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X1_types[403]); } +const ifcopenshell::entity& Ifc4x1::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X1_types[403]); } void Ifc4x1::IfcFaceOuterBound::initialize(::Ifc4x1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -9541,13 +9541,13 @@ bool Ifc4x1::IfcFaceSurface::SameSense() const { bool v = get_attribute_value(2 void Ifc4x1::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[404]); } +const ifcopenshell::entity& Ifc4x1::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[404]); } void Ifc4x1::IfcFaceSurface::initialize(std::vector< ::Ifc4x1::IfcFaceBound > v1_Bounds, ::Ifc4x1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x1::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X1_types[405]); } +const ifcopenshell::entity& Ifc4x1::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X1_types[405]); } void Ifc4x1::IfcFacetedBrep::initialize(::Ifc4x1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -9555,7 +9555,7 @@ std::vector< ::Ifc4x1::IfcClosedShell > Ifc4x1::IfcFacetedBrepWithVoids::Voids() void Ifc4x1::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X1_types[406]); } +const ifcopenshell::entity& Ifc4x1::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X1_types[406]); } void Ifc4x1::IfcFacetedBrepWithVoids::initialize(::Ifc4x1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFailureConnectionCondition @@ -9573,59 +9573,59 @@ std::optional< double > Ifc4x1::IfcFailureConnectionCondition::CompressionFailur void Ifc4x1::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X1_types[407]); } +const ifcopenshell::entity& Ifc4x1::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[407]); } void Ifc4x1::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x1::IfcFanTypeEnum::Value > Ifc4x1::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcFan::setPredefinedType(const std::optional< ::Ifc4x1::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcFan::setPredefinedType(const std::optional< ::Ifc4x1::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcFan::Class() { return *((IfcParse::entity*)IFC4X1_types[408]); } -void Ifc4x1::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X1_types[408]); } +void Ifc4x1::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x1::IfcFanTypeEnum::Value Ifc4x1::IfcFanType::PredefinedType() const { return ::Ifc4x1::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcFanType::setPredefinedType(const ::Ifc4x1::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcFanType::setPredefinedType(const ::Ifc4x1::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X1_types[409]); } -void Ifc4x1::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[409]); } +void Ifc4x1::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x1::IfcFastenerTypeEnum::Value > Ifc4x1::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x1::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x1::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X1_types[411]); } -void Ifc4x1::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X1_types[411]); } +void Ifc4x1::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x1::IfcFastenerTypeEnum::Value Ifc4x1::IfcFastenerType::PredefinedType() const { return ::Ifc4x1::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcFastenerType::setPredefinedType(const ::Ifc4x1::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcFastenerType::setPredefinedType(const ::Ifc4x1::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X1_types[412]); } -void Ifc4x1::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[412]); } +void Ifc4x1::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x1::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X1_types[414]); } +const ifcopenshell::entity& Ifc4x1::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[414]); } void Ifc4x1::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x1::IfcRelProjectsElement> Ifc4x1::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[860], 5)); } +std::vector<::Ifc4x1::IfcRelProjectsElement> Ifc4x1::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[860], 5)); } -const IfcParse::entity& Ifc4x1::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X1_types[415]); } +const ifcopenshell::entity& Ifc4x1::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[415]); } void Ifc4x1::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x1::IfcRelVoidsElement> Ifc4x1::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[867], 5)); } +std::vector<::Ifc4x1::IfcRelVoidsElement> Ifc4x1::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[867], 5)); } -const IfcParse::entity& Ifc4x1::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X1_types[416]); } +const ifcopenshell::entity& Ifc4x1::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[416]); } void Ifc4x1::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -9635,7 +9635,7 @@ std::optional< bool > Ifc4x1::IfcFillAreaStyle::ModelorDraughting() const { if(g void Ifc4x1::IfcFillAreaStyle::setModelorDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[417]); } +const ifcopenshell::entity& Ifc4x1::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[417]); } void Ifc4x1::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x1::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelorDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelorDraughting) {set_attribute_value(2, (*v3_ModelorDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -9651,7 +9651,7 @@ double Ifc4x1::IfcFillAreaStyleHatching::HatchLineAngle() const { double v = ge void Ifc4x1::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X1_types[418]); } +const ifcopenshell::entity& Ifc4x1::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X1_types[418]); } void Ifc4x1::IfcFillAreaStyleHatching::initialize(::Ifc4x1::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x1::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x1::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x1::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -9663,40 +9663,40 @@ double Ifc4x1::IfcFillAreaStyleTiles::TilingScale() const { double v = get_attr void Ifc4x1::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X1_types[419]); } +const ifcopenshell::entity& Ifc4x1::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X1_types[419]); } void Ifc4x1::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x1::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x1::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x1::IfcFilterTypeEnum::Value > Ifc4x1::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x1::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x1::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X1_types[421]); } -void Ifc4x1::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X1_types[421]); } +void Ifc4x1::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x1::IfcFilterTypeEnum::Value Ifc4x1::IfcFilterType::PredefinedType() const { return ::Ifc4x1::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcFilterType::setPredefinedType(const ::Ifc4x1::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcFilterType::setPredefinedType(const ::Ifc4x1::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X1_types[422]); } -void Ifc4x1::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[422]); } +void Ifc4x1::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x1::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X1_types[424]); } -void Ifc4x1::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X1_types[424]); } +void Ifc4x1::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x1::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X1_types[425]); } -void Ifc4x1::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[425]); } +void Ifc4x1::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x1::IfcCurve Ifc4x1::IfcFixedReferenceSweptAreaSolid::Directrix() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcCurve>(); } @@ -9709,191 +9709,191 @@ void Ifc4x1::IfcFixedReferenceSweptAreaSolid::setEndParam(const std::optional< d void Ifc4x1::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X1_types[427]); } +const ifcopenshell::entity& Ifc4x1::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[427]); } void Ifc4x1::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x1::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix)); if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x1::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X1_types[428]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X1_types[428]); } void Ifc4x1::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x1::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X1_types[429]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[429]); } void Ifc4x1::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x1::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X1_types[431]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X1_types[431]); } void Ifc4x1::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x1::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X1_types[432]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[432]); } void Ifc4x1::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value > Ifc4x1::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X1_types[433]); } -void Ifc4x1::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X1_types[433]); } +void Ifc4x1::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value Ifc4x1::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X1_types[434]); } -void Ifc4x1::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[434]); } +void Ifc4x1::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x1::IfcFlowMeterTypeEnum::Value > Ifc4x1::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x1::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x1::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X1_types[436]); } -void Ifc4x1::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X1_types[436]); } +void Ifc4x1::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x1::IfcFlowMeterTypeEnum::Value Ifc4x1::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcFlowMeterType::setPredefinedType(const ::Ifc4x1::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcFlowMeterType::setPredefinedType(const ::Ifc4x1::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X1_types[437]); } -void Ifc4x1::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[437]); } +void Ifc4x1::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x1::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[439]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[439]); } void Ifc4x1::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x1::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[440]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[440]); } void Ifc4x1::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x1::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[441]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[441]); } void Ifc4x1::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x1::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X1_types[442]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[442]); } void Ifc4x1::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x1::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[443]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[443]); } void Ifc4x1::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x1::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[444]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[444]); } void Ifc4x1::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x1::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X1_types[445]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X1_types[445]); } void Ifc4x1::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x1::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X1_types[446]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[446]); } void Ifc4x1::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x1::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[447]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[447]); } void Ifc4x1::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x1::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[448]); } +const ifcopenshell::entity& Ifc4x1::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[448]); } void Ifc4x1::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x1::IfcFootingTypeEnum::Value > Ifc4x1::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x1::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x1::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X1_types[452]); } -void Ifc4x1::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X1_types[452]); } +void Ifc4x1::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x1::IfcFootingTypeEnum::Value Ifc4x1::IfcFootingType::PredefinedType() const { return ::Ifc4x1::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcFootingType::setPredefinedType(const ::Ifc4x1::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcFootingType::setPredefinedType(const ::Ifc4x1::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X1_types[453]); } -void Ifc4x1::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[453]); } +void Ifc4x1::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x1::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X1_types[457]); } +const ifcopenshell::entity& Ifc4x1::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[457]); } void Ifc4x1::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x1::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[458]); } +const ifcopenshell::entity& Ifc4x1::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[458]); } void Ifc4x1::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > Ifc4x1::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X1_types[459]); } -void Ifc4x1::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X1_types[459]); } +void Ifc4x1::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x1::IfcAssemblyPlaceEnum::Value Ifc4x1::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x1::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x1::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > Ifc4x1::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X1_types[460]); } -void Ifc4x1::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[460]); } +void Ifc4x1::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x1::IfcGeographicElementTypeEnum::Value > Ifc4x1::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X1_types[462]); } -void Ifc4x1::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[462]); } +void Ifc4x1::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x1::IfcGeographicElementTypeEnum::Value Ifc4x1::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcGeographicElementType::setPredefinedType(const ::Ifc4x1::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcGeographicElementType::setPredefinedType(const ::Ifc4x1::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[463]); } -void Ifc4x1::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[463]); } +void Ifc4x1::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x1::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X1_types[465]); } +const ifcopenshell::entity& Ifc4x1::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[465]); } void Ifc4x1::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -9906,16 +9906,16 @@ void Ifc4x1::IfcGeometricRepresentationContext::setWorldCoordinateSystem(const : ::Ifc4x1::IfcDirection Ifc4x1::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x1::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x1::IfcDirection>(); } void Ifc4x1::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x1::IfcGeometricRepresentationSubContext> Ifc4x1::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[469], 6)); } -std::vector<::Ifc4x1::IfcCoordinateOperation> Ifc4x1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[225], 0)); } +std::vector<::Ifc4x1::IfcGeometricRepresentationSubContext> Ifc4x1::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[469], 6)); } +std::vector<::Ifc4x1::IfcCoordinateOperation> Ifc4x1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[225], 0)); } -const IfcParse::entity& Ifc4x1::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X1_types[467]); } +const ifcopenshell::entity& Ifc4x1::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X1_types[467]); } void Ifc4x1::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x1::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x1::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x1::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X1_types[468]); } +const ifcopenshell::entity& Ifc4x1::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[468]); } void Ifc4x1::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -9924,20 +9924,20 @@ void Ifc4x1::IfcGeometricRepresentationSubContext::setParentContext(const ::Ifc4 std::optional< double > Ifc4x1::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x1::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x1::IfcGeometricProjectionEnum::Value Ifc4x1::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x1::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x1::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x1::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x1::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x1::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x1::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X1_types[469]); } -void Ifc4x1::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4x1::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X1_types[469]); } +void Ifc4x1::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x1::IfcGeometricSetSelect > Ifc4x1::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcGeometricSetSelect>(es); } void Ifc4x1::IfcGeometricSet::setElements(const std::vector< ::Ifc4x1::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X1_types[470]); } +const ifcopenshell::entity& Ifc4x1::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[470]); } void Ifc4x1::IfcGeometricSet::initialize(std::vector< ::Ifc4x1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGrid @@ -9948,11 +9948,11 @@ void Ifc4x1::IfcGrid::setVAxes(const std::vector< ::Ifc4x1::IfcGridAxis >& v) { std::optional< std::vector< ::Ifc4x1::IfcGridAxis > > Ifc4x1::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x1::IfcGridAxis>(es); } void Ifc4x1::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x1::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x1::IfcGridTypeEnum::Value > Ifc4x1::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x1::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x1::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X1_types[474]); } -void Ifc4x1::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x1::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[474]); } +void Ifc4x1::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x1::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x1::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -9962,12 +9962,12 @@ void Ifc4x1::IfcGridAxis::setAxisCurve(const ::Ifc4x1::IfcCurve& v) { set_attrib bool Ifc4x1::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x1::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x1::IfcGrid> Ifc4x1::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[474], 9)); } -std::vector<::Ifc4x1::IfcGrid> Ifc4x1::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[474], 8)); } -std::vector<::Ifc4x1::IfcGrid> Ifc4x1::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[474], 7)); } -std::vector<::Ifc4x1::IfcVirtualGridIntersection> Ifc4x1::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[1163], 0)); } +std::vector<::Ifc4x1::IfcGrid> Ifc4x1::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[474], 9)); } +std::vector<::Ifc4x1::IfcGrid> Ifc4x1::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[474], 8)); } +std::vector<::Ifc4x1::IfcGrid> Ifc4x1::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[474], 7)); } +std::vector<::Ifc4x1::IfcVirtualGridIntersection> Ifc4x1::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[1163], 0)); } -const IfcParse::entity& Ifc4x1::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X1_types[475]); } +const ifcopenshell::entity& Ifc4x1::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X1_types[475]); } void Ifc4x1::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x1::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -9977,14 +9977,14 @@ void Ifc4x1::IfcGridPlacement::setPlacementLocation(const ::Ifc4x1::IfcVirtualGr void Ifc4x1::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x1::IfcGridPlacementDirectionSelect& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X1_types[476]); } +const ifcopenshell::entity& Ifc4x1::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[476]); } void Ifc4x1::IfcGridPlacement::initialize(::Ifc4x1::IfcVirtualGridIntersection v1_PlacementLocation, ::Ifc4x1::IfcGridPlacementDirectionSelect v2_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementLocation));set_attribute_value(1, (v2_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x1::IfcRelAssignsToGroup> Ifc4x1::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[824], 6)); } +std::vector<::Ifc4x1::IfcRelAssignsToGroup> Ifc4x1::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[824], 6)); } -const IfcParse::entity& Ifc4x1::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X1_types[479]); } +const ifcopenshell::entity& Ifc4x1::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X1_types[479]); } void Ifc4x1::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -9994,40 +9994,40 @@ bool Ifc4x1::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attribute_ void Ifc4x1::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X1_types[480]); } +const ifcopenshell::entity& Ifc4x1::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[480]); } void Ifc4x1::IfcHalfSpaceSolid::initialize(::Ifc4x1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x1::IfcHeatExchangerTypeEnum::Value > Ifc4x1::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x1::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x1::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X1_types[482]); } -void Ifc4x1::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X1_types[482]); } +void Ifc4x1::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x1::IfcHeatExchangerTypeEnum::Value Ifc4x1::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x1::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x1::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X1_types[483]); } -void Ifc4x1::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[483]); } +void Ifc4x1::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x1::IfcHumidifierTypeEnum::Value > Ifc4x1::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x1::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x1::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X1_types[487]); } -void Ifc4x1::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X1_types[487]); } +void Ifc4x1::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x1::IfcHumidifierTypeEnum::Value Ifc4x1::IfcHumidifierType::PredefinedType() const { return ::Ifc4x1::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcHumidifierType::setPredefinedType(const ::Ifc4x1::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcHumidifierType::setPredefinedType(const ::Ifc4x1::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X1_types[488]); } -void Ifc4x1::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[488]); } +void Ifc4x1::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x1::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -10046,15 +10046,15 @@ std::optional< double > Ifc4x1::IfcIShapeProfileDef::FlangeSlope() const { if(ge void Ifc4x1::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[512]); } -void Ifc4x1::IfcIShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x1::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[512]); } +void Ifc4x1::IfcIShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x1::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X1_types[492]); } +const ifcopenshell::entity& Ifc4x1::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X1_types[492]); } void Ifc4x1::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcIndexedColourMap @@ -10068,7 +10068,7 @@ std::vector< int > /*[1:?]*/ Ifc4x1::IfcIndexedColourMap::ColourIndex() const { void Ifc4x1::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X1_types[493]); } +const ifcopenshell::entity& Ifc4x1::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X1_types[493]); } void Ifc4x1::IfcIndexedColourMap::initialize(::Ifc4x1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -10080,16 +10080,16 @@ std::optional< bool > Ifc4x1::IfcIndexedPolyCurve::SelfIntersect() const { if(ge void Ifc4x1::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[494]); } +const ifcopenshell::entity& Ifc4x1::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[494]); } void Ifc4x1::IfcIndexedPolyCurve::initialize(::Ifc4x1::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x1::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x1::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x1::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x1::IfcPolygonalFaceSet> Ifc4x1::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[700], 2)); } +std::vector<::Ifc4x1::IfcPolygonalFaceSet> Ifc4x1::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[700], 2)); } -const IfcParse::entity& Ifc4x1::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X1_types[495]); } +const ifcopenshell::entity& Ifc4x1::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X1_types[495]); } void Ifc4x1::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -10097,7 +10097,7 @@ std::vector< std::vector< int > > Ifc4x1::IfcIndexedPolygonalFaceWithVoids::Inne void Ifc4x1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X1_types[496]); } +const ifcopenshell::entity& Ifc4x1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X1_types[496]); } void Ifc4x1::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -10107,7 +10107,7 @@ void Ifc4x1::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x1::IfcTessellatedFac void Ifc4x1::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x1::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X1_types[497]); } +const ifcopenshell::entity& Ifc4x1::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X1_types[497]); } void Ifc4x1::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, ::Ifc4x1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x1::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -10115,34 +10115,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x1::IfcIndexedTriangleTex void Ifc4x1::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X1_types[498]); } +const ifcopenshell::entity& Ifc4x1::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X1_types[498]); } void Ifc4x1::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, ::Ifc4x1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x1::IfcInterceptorTypeEnum::Value > Ifc4x1::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x1::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x1::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X1_types[502]); } -void Ifc4x1::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X1_types[502]); } +void Ifc4x1::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x1::IfcInterceptorTypeEnum::Value Ifc4x1::IfcInterceptorType::PredefinedType() const { return ::Ifc4x1::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcInterceptorType::setPredefinedType(const ::Ifc4x1::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcInterceptorType::setPredefinedType(const ::Ifc4x1::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X1_types[503]); } -void Ifc4x1::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[503]); } +void Ifc4x1::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x1::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[506]); } -void Ifc4x1::IfcIntersectionCurve::initialize(::Ifc4x1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x1::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[506]); } +void Ifc4x1::IfcIntersectionCurve::initialize(::Ifc4x1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x1::IfcInventoryTypeEnum::Value > Ifc4x1::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x1::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x1::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x1::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x1::IfcActorSelect Ifc4x1::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcActorSelect>(); } void Ifc4x1::IfcInventory::setJurisdiction(const ::Ifc4x1::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x1::IfcPerson > > Ifc4x1::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x1::IfcPerson>(es); } @@ -10155,16 +10155,16 @@ void Ifc4x1::IfcInventory::setCurrentValue(const ::Ifc4x1::IfcCostValue& v) { se void Ifc4x1::IfcInventory::setOriginalValue(const ::Ifc4x1::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x1::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X1_types[507]); } -void Ifc4x1::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x1::IfcCostValue v10_CurrentValue, ::Ifc4x1::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x1::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X1_types[507]); } +void Ifc4x1::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x1::IfcCostValue v10_CurrentValue, ::Ifc4x1::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x1::IfcIrregularTimeSeriesValue > Ifc4x1::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x1::IfcIrregularTimeSeriesValue>(es); } void Ifc4x1::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x1::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X1_types[510]); } -void Ifc4x1::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x1::IfcUnit v8_Unit, std::vector< ::Ifc4x1::IfcIrregularTimeSeriesValue > v9_Values) { 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(&::Ifc4x1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x1::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X1_types[510]); } +void Ifc4x1::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x1::IfcUnit v8_Unit, std::vector< ::Ifc4x1::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x1::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -10173,24 +10173,24 @@ std::vector< ::Ifc4x1::IfcValue > Ifc4x1::IfcIrregularTimeSeriesValue::ListValue void Ifc4x1::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x1::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X1_types[511]); } +const ifcopenshell::entity& Ifc4x1::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[511]); } void Ifc4x1::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x1::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x1::IfcJunctionBoxTypeEnum::Value > Ifc4x1::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x1::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x1::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X1_types[514]); } -void Ifc4x1::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X1_types[514]); } +void Ifc4x1::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x1::IfcJunctionBoxTypeEnum::Value Ifc4x1::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x1::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x1::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X1_types[515]); } -void Ifc4x1::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[515]); } +void Ifc4x1::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLShapeProfileDef double Ifc4x1::IfcLShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -10207,50 +10207,50 @@ std::optional< double > Ifc4x1::IfcLShapeProfileDef::LegSlope() const { if(get_a void Ifc4x1::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[562]); } -void Ifc4x1::IfcLShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x1::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[562]); } +void Ifc4x1::IfcLShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x1::IfcLaborResourceTypeEnum::Value > Ifc4x1::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X1_types[520]); } -void Ifc4x1::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[520]); } +void Ifc4x1::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x1::IfcLaborResourceTypeEnum::Value Ifc4x1::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcLaborResourceType::setPredefinedType(const ::Ifc4x1::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x1::IfcLaborResourceType::setPredefinedType(const ::Ifc4x1::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X1_types[521]); } -void Ifc4x1::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[521]); } +void Ifc4x1::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x1::IfcTimeOrRatioSelect Ifc4x1::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x1::IfcTimeOrRatioSelect>(); } void Ifc4x1::IfcLagTime::setLagValue(const ::Ifc4x1::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x1::IfcTaskDurationEnum::Value Ifc4x1::IfcLagTime::DurationType() const { return ::Ifc4x1::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x1::IfcLagTime::setDurationType(const ::Ifc4x1::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x1::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x1::IfcLagTime::setDurationType(const ::Ifc4x1::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x1::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X1_types[523]); } -void Ifc4x1::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x1::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4x1::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x1::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X1_types[523]); } +void Ifc4x1::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x1::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x1::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x1::IfcLampTypeEnum::Value > Ifc4x1::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x1::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x1::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X1_types[524]); } -void Ifc4x1::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X1_types[524]); } +void Ifc4x1::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x1::IfcLampTypeEnum::Value Ifc4x1::IfcLampType::PredefinedType() const { return ::Ifc4x1::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcLampType::setPredefinedType(const ::Ifc4x1::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcLampType::setPredefinedType(const ::Ifc4x1::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X1_types[525]); } -void Ifc4x1::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[525]); } +void Ifc4x1::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x1::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -10266,10 +10266,10 @@ void Ifc4x1::IfcLibraryInformation::setLocation(const std::optional< std::string std::optional< std::string > Ifc4x1::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x1::IfcRelAssociatesLibrary> Ifc4x1::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[834], 5)); } -std::vector<::Ifc4x1::IfcLibraryReference> Ifc4x1::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[532], 5)); } +std::vector<::Ifc4x1::IfcRelAssociatesLibrary> Ifc4x1::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[834], 5)); } +std::vector<::Ifc4x1::IfcLibraryReference> Ifc4x1::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[532], 5)); } -const IfcParse::entity& Ifc4x1::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X1_types[531]); } +const ifcopenshell::entity& Ifc4x1::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[531]); } void Ifc4x1::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x1::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -10280,9 +10280,9 @@ void Ifc4x1::IfcLibraryReference::setLanguage(const std::optional< std::string > ::Ifc4x1::IfcLibraryInformation Ifc4x1::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x1::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x1::IfcLibraryInformation>(); } void Ifc4x1::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x1::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x1::IfcRelAssociatesLibrary> Ifc4x1::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[834], 5)); } +std::vector<::Ifc4x1::IfcRelAssociatesLibrary> Ifc4x1::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[834], 5)); } -const IfcParse::entity& Ifc4x1::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X1_types[532]); } +const ifcopenshell::entity& Ifc4x1::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X1_types[532]); } void Ifc4x1::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x1::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -10294,34 +10294,34 @@ std::vector< double > /*[1:?]*/ Ifc4x1::IfcLightDistributionData::LuminousIntens void Ifc4x1::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X1_types[535]); } +const ifcopenshell::entity& Ifc4x1::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X1_types[535]); } void Ifc4x1::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x1::IfcLightFixtureTypeEnum::Value > Ifc4x1::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x1::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x1::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X1_types[538]); } -void Ifc4x1::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X1_types[538]); } +void Ifc4x1::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x1::IfcLightFixtureTypeEnum::Value Ifc4x1::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcLightFixtureType::setPredefinedType(const ::Ifc4x1::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcLightFixtureType::setPredefinedType(const ::Ifc4x1::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X1_types[539]); } -void Ifc4x1::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[539]); } +void Ifc4x1::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x1::IfcLightDistributionCurveEnum::Value Ifc4x1::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x1::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x1::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x1::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x1::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x1::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x1::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x1::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x1::IfcLightDistributionData > Ifc4x1::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x1::IfcLightDistributionData>(es); } void Ifc4x1::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x1::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X1_types[541]); } -void Ifc4x1::IfcLightIntensityDistribution::initialize(::Ifc4x1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x1::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x1::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X1_types[541]); } +void Ifc4x1::IfcLightIntensityDistribution::initialize(::Ifc4x1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x1::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x1::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10334,13 +10334,13 @@ std::optional< double > Ifc4x1::IfcLightSource::Intensity() const { if(get_attri void Ifc4x1::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X1_types[542]); } +const ifcopenshell::entity& Ifc4x1::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[542]); } void Ifc4x1::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x1::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X1_types[543]); } +const ifcopenshell::entity& Ifc4x1::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X1_types[543]); } void Ifc4x1::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -10348,7 +10348,7 @@ void Ifc4x1::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_N void Ifc4x1::IfcLightSourceDirectional::setOrientation(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X1_types[544]); } +const ifcopenshell::entity& Ifc4x1::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X1_types[544]); } void Ifc4x1::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x1::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -10361,13 +10361,13 @@ void Ifc4x1::IfcLightSourceGoniometric::setColourTemperature(const double& v) { double Ifc4x1::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x1::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x1::IfcLightEmissionSourceEnum::Value Ifc4x1::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x1::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x1::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x1::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x1::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x1::IfcLightDistributionDataSourceSelect Ifc4x1::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x1::IfcLightDistributionDataSourceSelect>(); } void Ifc4x1::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x1::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X1_types[545]); } -void Ifc4x1::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x1::IfcAxis2Placement3D v5_Position, ::Ifc4x1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4x1::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X1_types[545]); } +void Ifc4x1::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x1::IfcAxis2Placement3D v5_Position, ::Ifc4x1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x1::IfcCartesianPoint Ifc4x1::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcCartesianPoint>(); } @@ -10382,7 +10382,7 @@ double Ifc4x1::IfcLightSourcePositional::QuadricAttenuation() const { double v void Ifc4x1::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X1_types[546]); } +const ifcopenshell::entity& Ifc4x1::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X1_types[546]); } void Ifc4x1::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -10396,7 +10396,7 @@ double Ifc4x1::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_attr void Ifc4x1::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x1::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X1_types[547]); } +const ifcopenshell::entity& Ifc4x1::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X1_types[547]); } void Ifc4x1::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x1::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -10406,13 +10406,13 @@ void Ifc4x1::IfcLine::setPnt(const ::Ifc4x1::IfcCartesianPoint& v) { set_attribu void Ifc4x1::IfcLine::setDir(const ::Ifc4x1::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcLine::Class() { return *((IfcParse::entity*)IFC4X1_types[548]); } +const ifcopenshell::entity& Ifc4x1::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X1_types[548]); } void Ifc4x1::IfcLine::initialize(::Ifc4x1::IfcCartesianPoint v1_Pnt, ::Ifc4x1::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLineSegment2D -const IfcParse::entity& Ifc4x1::IfcLineSegment2D::Class() { return *((IfcParse::entity*)IFC4X1_types[556]); } +const ifcopenshell::entity& Ifc4x1::IfcLineSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[556]); } void Ifc4x1::IfcLineSegment2D::initialize(::Ifc4x1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); } // Function implementations for IfcLinearPlacement @@ -10426,7 +10426,7 @@ void Ifc4x1::IfcLinearPlacement::setOrientation(const ::Ifc4x1::IfcOrientationEx void Ifc4x1::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x1::IfcAxis2Placement3D& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X1_types[551]); } +const ifcopenshell::entity& Ifc4x1::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[551]); } void Ifc4x1::IfcLinearPlacement::initialize(::Ifc4x1::IfcCurve v1_PlacementRelTo, ::Ifc4x1::IfcDistanceExpression v2_Distance, ::Ifc4x1::IfcOrientationExpression v3_Orientation, ::Ifc4x1::IfcAxis2Placement3D v4_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_Orientation));set_attribute_value(3, (v4_CartesianPosition)); } // Function implementations for IfcLinearPositioningElement @@ -10434,7 +10434,7 @@ void Ifc4x1::IfcLinearPlacement::initialize(::Ifc4x1::IfcCurve v1_PlacementRelTo void Ifc4x1::IfcLinearPositioningElement::setAxis(const ::Ifc4x1::IfcCurve& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x1::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X1_types[552]); } +const ifcopenshell::entity& Ifc4x1::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[552]); } void Ifc4x1::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcCurve v8_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); } // Function implementations for IfcLocalPlacement @@ -10444,13 +10444,13 @@ void Ifc4x1::IfcLocalPlacement::setPlacementRelTo(const ::Ifc4x1::IfcObjectPlace void Ifc4x1::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X1_types[558]); } +const ifcopenshell::entity& Ifc4x1::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[558]); } void Ifc4x1::IfcLocalPlacement::initialize(::Ifc4x1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x1::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x1::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X1_types[561]); } +const ifcopenshell::entity& Ifc4x1::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X1_types[561]); } void Ifc4x1::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -10458,7 +10458,7 @@ void Ifc4x1::IfcLoop::initialize() { } void Ifc4x1::IfcManifoldSolidBrep::setOuter(const ::Ifc4x1::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X1_types[568]); } +const ifcopenshell::entity& Ifc4x1::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X1_types[568]); } void Ifc4x1::IfcManifoldSolidBrep::initialize(::Ifc4x1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -10476,7 +10476,7 @@ std::optional< double > Ifc4x1::IfcMapConversion::Scale() const { if(get_attribu void Ifc4x1::IfcMapConversion::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x1::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X1_types[569]); } +const ifcopenshell::entity& Ifc4x1::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X1_types[569]); } void Ifc4x1::IfcMapConversion::initialize(::Ifc4x1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } } // Function implementations for IfcMappedItem @@ -10486,7 +10486,7 @@ void Ifc4x1::IfcMappedItem::setMappingSource(const ::Ifc4x1::IfcRepresentationMa void Ifc4x1::IfcMappedItem::setMappingTarget(const ::Ifc4x1::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X1_types[570]); } +const ifcopenshell::entity& Ifc4x1::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[570]); } void Ifc4x1::IfcMappedItem::initialize(::Ifc4x1::IfcRepresentationMap v1_MappingSource, ::Ifc4x1::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMaterial @@ -10497,11 +10497,11 @@ void Ifc4x1::IfcMaterial::setDescription(const std::optional< std::string >& v) std::optional< std::string > Ifc4x1::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x1::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x1::IfcMaterialDefinitionRepresentation> Ifc4x1::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[580], 3)); } -std::vector<::Ifc4x1::IfcMaterialRelationship> Ifc4x1::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[592], 3)); } -std::vector<::Ifc4x1::IfcMaterialRelationship> Ifc4x1::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[592], 2)); } +std::vector<::Ifc4x1::IfcMaterialDefinitionRepresentation> Ifc4x1::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[580], 3)); } +std::vector<::Ifc4x1::IfcMaterialRelationship> Ifc4x1::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[592], 3)); } +std::vector<::Ifc4x1::IfcMaterialRelationship> Ifc4x1::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[592], 2)); } -const IfcParse::entity& Ifc4x1::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X1_types[575]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X1_types[575]); } void Ifc4x1::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -10511,7 +10511,7 @@ void Ifc4x1::IfcMaterialClassificationRelationship::setMaterialClassifications(c void Ifc4x1::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x1::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[576]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[576]); } void Ifc4x1::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x1::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x1::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -10526,9 +10526,9 @@ void Ifc4x1::IfcMaterialConstituent::setFraction(const std::optional< double >& std::optional< std::string > Ifc4x1::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x1::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x1::IfcMaterialConstituentSet> Ifc4x1::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[578], 2)); } +std::vector<::Ifc4x1::IfcMaterialConstituentSet> Ifc4x1::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[578], 2)); } -const IfcParse::entity& Ifc4x1::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X1_types[577]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X1_types[577]); } void Ifc4x1::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -10540,16 +10540,16 @@ std::optional< std::vector< ::Ifc4x1::IfcMaterialConstituent > > Ifc4x1::IfcMate void Ifc4x1::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x1::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X1_types[578]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[578]); } void Ifc4x1::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x1::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x1::IfcRelAssociatesMaterial> Ifc4x1::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[835], 5)); } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } -std::vector<::Ifc4x1::IfcMaterialProperties> Ifc4x1::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[591], 3)); } +std::vector<::Ifc4x1::IfcRelAssociatesMaterial> Ifc4x1::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[835], 5)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcMaterialProperties> Ifc4x1::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[591], 3)); } -const IfcParse::entity& Ifc4x1::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X1_types[579]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[579]); } void Ifc4x1::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -10557,7 +10557,7 @@ void Ifc4x1::IfcMaterialDefinition::initialize() { } void Ifc4x1::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x1::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X1_types[580]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[580]); } void Ifc4x1::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcRepresentation > v3_Representations, ::Ifc4x1::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -10576,9 +10576,9 @@ void Ifc4x1::IfcMaterialLayer::setCategory(const std::optional< std::string >& v std::optional< int > Ifc4x1::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x1::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x1::IfcMaterialLayerSet> Ifc4x1::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[582], 0)); } +std::vector<::Ifc4x1::IfcMaterialLayerSet> Ifc4x1::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[582], 0)); } -const IfcParse::entity& Ifc4x1::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X1_types[581]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X1_types[581]); } void Ifc4x1::IfcMaterialLayer::initialize(::Ifc4x1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -10590,41 +10590,41 @@ std::optional< std::string > Ifc4x1::IfcMaterialLayerSet::Description() const { void Ifc4x1::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X1_types[582]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[582]); } void Ifc4x1::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x1::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x1::IfcMaterialLayerSet Ifc4x1::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcMaterialLayerSet>(); } void Ifc4x1::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x1::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x1::IfcLayerSetDirectionEnum::Value Ifc4x1::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x1::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x1::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x1::IfcDirectionSenseEnum::Value Ifc4x1::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x1::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x1::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x1::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x1::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x1::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x1::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x1::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x1::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x1::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x1::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x1::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X1_types[583]); } -void Ifc4x1::IfcMaterialLayerSetUsage::initialize(::Ifc4x1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4x1::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X1_types[583]); } +void Ifc4x1::IfcMaterialLayerSetUsage::initialize(::Ifc4x1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x1::IfcLayerSetDirectionEnum::Value Ifc4x1::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x1::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x1::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X1_types[584]); } -void Ifc4x1::IfcMaterialLayerWithOffsets::initialize(::Ifc4x1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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(&::Ifc4x1::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X1_types[584]); } +void Ifc4x1::IfcMaterialLayerWithOffsets::initialize(::Ifc4x1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x1::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x1::IfcMaterial > Ifc4x1::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcMaterial>(es); } void Ifc4x1::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x1::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X1_types[585]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X1_types[585]); } void Ifc4x1::IfcMaterialList::initialize(std::vector< ::Ifc4x1::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -10641,9 +10641,9 @@ void Ifc4x1::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if std::optional< std::string > Ifc4x1::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x1::IfcMaterialProfileSet> Ifc4x1::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[587], 2)); } +std::vector<::Ifc4x1::IfcMaterialProfileSet> Ifc4x1::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[587], 2)); } -const IfcParse::entity& Ifc4x1::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X1_types[586]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X1_types[586]); } void Ifc4x1::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_Material, ::Ifc4x1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -10657,7 +10657,7 @@ void Ifc4x1::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< ::Ifc void Ifc4x1::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x1::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X1_types[587]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[587]); } void Ifc4x1::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x1::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -10669,7 +10669,7 @@ std::optional< double > Ifc4x1::IfcMaterialProfileSetUsage::ReferenceExtent() co void Ifc4x1::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X1_types[588]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X1_types[588]); } void Ifc4x1::IfcMaterialProfileSetUsage::initialize(::Ifc4x1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -10679,7 +10679,7 @@ std::optional< int > Ifc4x1::IfcMaterialProfileSetUsageTapering::CardinalEndPoin void Ifc4x1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X1_types[589]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X1_types[589]); } void Ifc4x1::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -10687,7 +10687,7 @@ std::vector< double > /*[1:2]*/ Ifc4x1::IfcMaterialProfileWithOffsets::OffsetVal void Ifc4x1::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X1_types[590]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X1_types[590]); } void Ifc4x1::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_Material, ::Ifc4x1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -10695,7 +10695,7 @@ void Ifc4x1::IfcMaterialProfileWithOffsets::initialize(std::optional< std::strin void Ifc4x1::IfcMaterialProperties::setMaterial(const ::Ifc4x1::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[591]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[591]); } void Ifc4x1::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcProperty > v3_Properties, ::Ifc4x1::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -10707,14 +10707,14 @@ std::optional< std::string > Ifc4x1::IfcMaterialRelationship::Expression() const void Ifc4x1::IfcMaterialRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[592]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[592]); } void Ifc4x1::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x1::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x1::IfcRelAssociatesMaterial> Ifc4x1::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[835], 5)); } +std::vector<::Ifc4x1::IfcRelAssociatesMaterial> Ifc4x1::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[835], 5)); } -const IfcParse::entity& Ifc4x1::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X1_types[594]); } +const ifcopenshell::entity& Ifc4x1::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[594]); } void Ifc4x1::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -10724,7 +10724,7 @@ void Ifc4x1::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x1::IfcValue& v) void Ifc4x1::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x1::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X1_types[596]); } +const ifcopenshell::entity& Ifc4x1::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[596]); } void Ifc4x1::IfcMeasureWithUnit::initialize(::Ifc4x1::IfcValue v1_ValueComponent, ::Ifc4x1::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -10733,65 +10733,65 @@ void Ifc4x1::IfcMechanicalFastener::setNominalDiameter(const std::optional< doub std::optional< double > Ifc4x1::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x1::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value > Ifc4x1::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X1_types[597]); } -void Ifc4x1::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X1_types[597]); } +void Ifc4x1::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value Ifc4x1::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x1::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x1::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x1::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x1::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x1::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X1_types[598]); } -void Ifc4x1::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4x1::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[598]); } +void Ifc4x1::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value > Ifc4x1::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[600]); } -void Ifc4x1::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[600]); } +void Ifc4x1::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value Ifc4x1::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[601]); } -void Ifc4x1::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[601]); } +void Ifc4x1::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value > Ifc4x1::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcMember::setPredefinedType(const std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcMember::setPredefinedType(const std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcMember::Class() { return *((IfcParse::entity*)IFC4X1_types[603]); } -void Ifc4x1::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X1_types[603]); } +void Ifc4x1::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberStandardCase -const IfcParse::entity& Ifc4x1::IfcMemberStandardCase::Class() { return *((IfcParse::entity*)IFC4X1_types[604]); } -void Ifc4x1::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcMemberStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[604]); } +void Ifc4x1::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x1::IfcMemberTypeEnum::Value Ifc4x1::IfcMemberType::PredefinedType() const { return ::Ifc4x1::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcMemberType::setPredefinedType(const ::Ifc4x1::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcMemberType::setPredefinedType(const ::Ifc4x1::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X1_types[605]); } -void Ifc4x1::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[605]); } +void Ifc4x1::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x1::IfcBenchmarkEnum::Value Ifc4x1::IfcMetric::Benchmark() const { return ::Ifc4x1::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcMetric::setBenchmark(const ::Ifc4x1::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcMetric::setBenchmark(const ::Ifc4x1::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x1::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x1::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x1::IfcMetricValueSelect Ifc4x1::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x1::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x1::IfcMetricValueSelect>(); } @@ -10800,110 +10800,110 @@ void Ifc4x1::IfcMetric::setDataValue(const ::Ifc4x1::IfcMetricValueSelect& v) { void Ifc4x1::IfcMetric::setReferencePath(const ::Ifc4x1::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x1::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X1_types[607]); } -void Ifc4x1::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x1::IfcMetricValueSelect v10_DataValue, ::Ifc4x1::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x1::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X1_types[607]); } +void Ifc4x1::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x1::IfcMetricValueSelect v10_DataValue, ::Ifc4x1::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x1::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[609]); } -void Ifc4x1::IfcMirroredProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x1::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[609]); } +void Ifc4x1::IfcMirroredProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMonetaryUnit std::string Ifc4x1::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x1::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X1_types[621]); } +const ifcopenshell::entity& Ifc4x1::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[621]); } void Ifc4x1::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x1::IfcMotorConnectionTypeEnum::Value > Ifc4x1::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x1::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x1::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X1_types[623]); } -void Ifc4x1::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X1_types[623]); } +void Ifc4x1::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x1::IfcMotorConnectionTypeEnum::Value Ifc4x1::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x1::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x1::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X1_types[624]); } -void Ifc4x1::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[624]); } +void Ifc4x1::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x1::IfcDimensionalExponents Ifc4x1::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcDimensionalExponents>(); } void Ifc4x1::IfcNamedUnit::setDimensions(const ::Ifc4x1::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x1::IfcUnitEnum::Value Ifc4x1::IfcNamedUnit::UnitType() const { return ::Ifc4x1::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x1::IfcNamedUnit::setUnitType(const ::Ifc4x1::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x1::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x1::IfcNamedUnit::setUnitType(const ::Ifc4x1::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x1::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X1_types[626]); } -void Ifc4x1::IfcNamedUnit::initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x1::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[626]); } +void Ifc4x1::IfcNamedUnit::initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x1::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x1::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x1::IfcRelDefinesByObject> Ifc4x1::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[852], 4)); } -std::vector<::Ifc4x1::IfcRelDefinesByObject> Ifc4x1::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[852], 5)); } -std::vector<::Ifc4x1::IfcRelDefinesByType> Ifc4x1::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[855], 4)); } -std::vector<::Ifc4x1::IfcRelDefinesByProperties> Ifc4x1::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[853], 4)); } +std::vector<::Ifc4x1::IfcRelDefinesByObject> Ifc4x1::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[852], 4)); } +std::vector<::Ifc4x1::IfcRelDefinesByObject> Ifc4x1::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[852], 5)); } +std::vector<::Ifc4x1::IfcRelDefinesByType> Ifc4x1::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[855], 4)); } +std::vector<::Ifc4x1::IfcRelDefinesByProperties> Ifc4x1::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[853], 4)); } -const IfcParse::entity& Ifc4x1::IfcObject::Class() { return *((IfcParse::entity*)IFC4X1_types[631]); } +const ifcopenshell::entity& Ifc4x1::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X1_types[631]); } void Ifc4x1::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x1::IfcRelAssigns> Ifc4x1::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[821], 4)); } -std::vector<::Ifc4x1::IfcRelNests> Ifc4x1::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[859], 5)); } -std::vector<::Ifc4x1::IfcRelNests> Ifc4x1::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[859], 4)); } -std::vector<::Ifc4x1::IfcRelDeclares> Ifc4x1::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[849], 5)); } -std::vector<::Ifc4x1::IfcRelAggregates> Ifc4x1::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[820], 4)); } -std::vector<::Ifc4x1::IfcRelAggregates> Ifc4x1::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[820], 5)); } -std::vector<::Ifc4x1::IfcRelAssociates> Ifc4x1::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[829], 4)); } +std::vector<::Ifc4x1::IfcRelAssigns> Ifc4x1::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[821], 4)); } +std::vector<::Ifc4x1::IfcRelNests> Ifc4x1::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[859], 5)); } +std::vector<::Ifc4x1::IfcRelNests> Ifc4x1::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[859], 4)); } +std::vector<::Ifc4x1::IfcRelDeclares> Ifc4x1::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[849], 5)); } +std::vector<::Ifc4x1::IfcRelAggregates> Ifc4x1::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[820], 4)); } +std::vector<::Ifc4x1::IfcRelAggregates> Ifc4x1::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[820], 5)); } +std::vector<::Ifc4x1::IfcRelAssociates> Ifc4x1::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[829], 4)); } -const IfcParse::entity& Ifc4x1::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X1_types[632]); } +const ifcopenshell::entity& Ifc4x1::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[632]); } void Ifc4x1::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement -std::vector<::Ifc4x1::IfcProduct> Ifc4x1::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[731], 5)); } -std::vector<::Ifc4x1::IfcLocalPlacement> Ifc4x1::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[558], 0)); } +std::vector<::Ifc4x1::IfcProduct> Ifc4x1::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[731], 5)); } +std::vector<::Ifc4x1::IfcLocalPlacement> Ifc4x1::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[558], 0)); } -const IfcParse::entity& Ifc4x1::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X1_types[635]); } +const ifcopenshell::entity& Ifc4x1::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[635]); } void Ifc4x1::IfcObjectPlacement::initialize() { } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x1::IfcConstraint > > Ifc4x1::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x1::IfcConstraint>(es); } void Ifc4x1::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x1::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x1::IfcLogicalOperatorEnum::Value > Ifc4x1::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x1::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x1::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x1::IfcObjectiveEnum::Value Ifc4x1::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x1::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcObjective::setObjectiveQualifier(const ::Ifc4x1::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcObjective::setObjectiveQualifier(const ::Ifc4x1::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x1::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x1::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X1_types[633]); } -void Ifc4x1::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4x1::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X1_types[633]); } +void Ifc4x1::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x1::IfcOccupantTypeEnum::Value > Ifc4x1::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x1::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x1::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x1::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x1::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x1::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x1::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X1_types[638]); } -void Ifc4x1::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x1::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x1::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X1_types[638]); } +void Ifc4x1::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x1::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x1::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x1::IfcCurve Ifc4x1::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcCurve>(); } void Ifc4x1::IfcOffsetCurve::setBasisCurve(const ::Ifc4x1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[640]); } +const ifcopenshell::entity& Ifc4x1::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[640]); } void Ifc4x1::IfcOffsetCurve::initialize(::Ifc4x1::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -10913,7 +10913,7 @@ boost::logic::tribool Ifc4x1::IfcOffsetCurve2D::SelfIntersect() const { boost:: void Ifc4x1::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X1_types[641]); } +const ifcopenshell::entity& Ifc4x1::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[641]); } void Ifc4x1::IfcOffsetCurve2D::initialize(::Ifc4x1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -10925,7 +10925,7 @@ void Ifc4x1::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& v) void Ifc4x1::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X1_types[642]); } +const ifcopenshell::entity& Ifc4x1::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[642]); } void Ifc4x1::IfcOffsetCurve3D::initialize(::Ifc4x1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x1::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -10935,29 +10935,29 @@ std::optional< std::string > Ifc4x1::IfcOffsetCurveByDistances::Tag() const { if void Ifc4x1::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X1_types[643]); } +const ifcopenshell::entity& Ifc4x1::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X1_types[643]); } void Ifc4x1::IfcOffsetCurveByDistances::initialize(::Ifc4x1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x1::IfcDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x1::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X1_types[647]); } +const ifcopenshell::entity& Ifc4x1::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X1_types[647]); } void Ifc4x1::IfcOpenShell::initialize(std::vector< ::Ifc4x1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value > Ifc4x1::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x1::IfcRelFillsElement> Ifc4x1::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[856], 4)); } +std::vector<::Ifc4x1::IfcRelFillsElement> Ifc4x1::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[856], 4)); } -const IfcParse::entity& Ifc4x1::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X1_types[644]); } -void Ifc4x1::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[644]); } +void Ifc4x1::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOpeningStandardCase -const IfcParse::entity& Ifc4x1::IfcOpeningStandardCase::Class() { return *((IfcParse::entity*)IFC4X1_types[646]); } -void Ifc4x1::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcOpeningStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[646]); } +void Ifc4x1::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x1::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10971,11 +10971,11 @@ void Ifc4x1::IfcOrganization::setRoles(const std::optional< std::vector< ::Ifc4x std::optional< std::vector< ::Ifc4x1::IfcAddress > > Ifc4x1::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x1::IfcAddress>(es); } void Ifc4x1::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x1::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x1::IfcOrganizationRelationship> Ifc4x1::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[649], 3)); } -std::vector<::Ifc4x1::IfcOrganizationRelationship> Ifc4x1::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[649], 2)); } -std::vector<::Ifc4x1::IfcPersonAndOrganization> Ifc4x1::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[668], 1)); } +std::vector<::Ifc4x1::IfcOrganizationRelationship> Ifc4x1::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[649], 3)); } +std::vector<::Ifc4x1::IfcOrganizationRelationship> Ifc4x1::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[649], 2)); } +std::vector<::Ifc4x1::IfcPersonAndOrganization> Ifc4x1::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[668], 1)); } -const IfcParse::entity& Ifc4x1::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X1_types[648]); } +const ifcopenshell::entity& Ifc4x1::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X1_types[648]); } void Ifc4x1::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x1::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x1::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -10985,7 +10985,7 @@ std::vector< ::Ifc4x1::IfcOrganization > Ifc4x1::IfcOrganizationRelationship::Re void Ifc4x1::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x1::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[649]); } +const ifcopenshell::entity& Ifc4x1::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[649]); } void Ifc4x1::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x1::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientationExpression @@ -10995,7 +10995,7 @@ void Ifc4x1::IfcOrientationExpression::setLateralAxisDirection(const ::Ifc4x1::I void Ifc4x1::IfcOrientationExpression::setVerticalAxisDirection(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcOrientationExpression::Class() { return *((IfcParse::entity*)IFC4X1_types[650]); } +const ifcopenshell::entity& Ifc4x1::IfcOrientationExpression::Class() { return *((ifcopenshell::entity*)IFC4X1_types[650]); } void Ifc4x1::IfcOrientationExpression::initialize(::Ifc4x1::IfcDirection v1_LateralAxisDirection, ::Ifc4x1::IfcDirection v2_VerticalAxisDirection) { set_attribute_value(0, (v1_LateralAxisDirection));set_attribute_value(1, (v2_VerticalAxisDirection)); } // Function implementations for IfcOrientedEdge @@ -11005,30 +11005,30 @@ bool Ifc4x1::IfcOrientedEdge::Orientation() const { bool v = get_attribute_valu void Ifc4x1::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X1_types[651]); } +const ifcopenshell::entity& Ifc4x1::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X1_types[651]); } void Ifc4x1::IfcOrientedEdge::initialize(::Ifc4x1::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x1::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[652]); } +const ifcopenshell::entity& Ifc4x1::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[652]); } void Ifc4x1::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x1::IfcOutletTypeEnum::Value > Ifc4x1::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x1::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x1::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X1_types[653]); } -void Ifc4x1::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[653]); } +void Ifc4x1::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x1::IfcOutletTypeEnum::Value Ifc4x1::IfcOutletType::PredefinedType() const { return ::Ifc4x1::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcOutletType::setPredefinedType(const ::Ifc4x1::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcOutletType::setPredefinedType(const ::Ifc4x1::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X1_types[654]); } -void Ifc4x1::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[654]); } +void Ifc4x1::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x1::IfcPersonAndOrganization Ifc4x1::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcPersonAndOrganization>(); } @@ -11036,9 +11036,9 @@ void Ifc4x1::IfcOwnerHistory::setOwningUser(const ::Ifc4x1::IfcPersonAndOrganiza ::Ifc4x1::IfcApplication Ifc4x1::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x1::IfcApplication>(); } void Ifc4x1::IfcOwnerHistory::setOwningApplication(const ::Ifc4x1::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x1::IfcStateEnum::Value > Ifc4x1::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x1::IfcOwnerHistory::setState(const std::optional< ::Ifc4x1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x1::IfcOwnerHistory::setState(const std::optional< ::Ifc4x1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x1::IfcChangeActionEnum::Value > Ifc4x1::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x1::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x1::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x1::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x1::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x1::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x1::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x1::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x1::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x1::IfcPersonAndOrganization Ifc4x1::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x1::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x1::IfcPersonAndOrganization>(); } @@ -11049,23 +11049,23 @@ int Ifc4x1::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value void Ifc4x1::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x1::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X1_types[656]); } -void Ifc4x1::IfcOwnerHistory::initialize(::Ifc4x1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x1::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x1::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X1_types[656]); } +void Ifc4x1::IfcOwnerHistory::initialize(::Ifc4x1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x1::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x1::IfcAxis2Placement2D Ifc4x1::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x1::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcAxis2Placement2D>(); } void Ifc4x1::IfcParameterizedProfileDef::setPosition(const ::Ifc4x1::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[657]); } -void Ifc4x1::IfcParameterizedProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4x1::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[657]); } +void Ifc4x1::IfcParameterizedProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x1::IfcOrientedEdge > Ifc4x1::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcOrientedEdge>(es); } void Ifc4x1::IfcPath::setEdgeList(const std::vector< ::Ifc4x1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcPath::Class() { return *((IfcParse::entity*)IFC4X1_types[659]); } +const ifcopenshell::entity& Ifc4x1::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X1_types[659]); } void Ifc4x1::IfcPath::initialize(std::vector< ::Ifc4x1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPcurve @@ -11075,24 +11075,24 @@ void Ifc4x1::IfcPcurve::setBasisSurface(const ::Ifc4x1::IfcSurface& v) { set_att void Ifc4x1::IfcPcurve::setReferenceCurve(const ::Ifc4x1::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X1_types[660]); } +const ifcopenshell::entity& Ifc4x1::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[660]); } void Ifc4x1::IfcPcurve::initialize(::Ifc4x1::IfcSurface v1_BasisSurface, ::Ifc4x1::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x1::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x1::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x1::IfcPerformanceHistoryTypeEnum::Value > Ifc4x1::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x1::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x1::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x1::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x1::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X1_types[661]); } -void Ifc4x1::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X1_types[661]); } +void Ifc4x1::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x1::IfcPermeableCoveringOperationEnum::Value Ifc4x1::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x1::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x1::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x1::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x1::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x1::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x1::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x1::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x1::IfcWindowPanelPositionEnum::Value Ifc4x1::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x1::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x1::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x1::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x1::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -11101,20 +11101,20 @@ void Ifc4x1::IfcPermeableCoveringProperties::setFrameThickness(const std::option void Ifc4x1::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[664]); } -void Ifc4x1::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x1::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x1::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)); } +const ifcopenshell::entity& Ifc4x1::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[664]); } +void Ifc4x1::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x1::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x1::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x1::IfcPermitTypeEnum::Value > Ifc4x1::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x1::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x1::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x1::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x1::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x1::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x1::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x1::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x1::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x1::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x1::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X1_types[665]); } -void Ifc4x1::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x1::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[665]); } +void Ifc4x1::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x1::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11134,9 +11134,9 @@ void Ifc4x1::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x1::Ifc std::optional< std::vector< ::Ifc4x1::IfcAddress > > Ifc4x1::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x1::IfcAddress>(es); } void Ifc4x1::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x1::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x1::IfcPersonAndOrganization> Ifc4x1::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[668], 0)); } +std::vector<::Ifc4x1::IfcPersonAndOrganization> Ifc4x1::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[668], 0)); } -const IfcParse::entity& Ifc4x1::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X1_types[667]); } +const ifcopenshell::entity& Ifc4x1::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X1_types[667]); } void Ifc4x1::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x1::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x1::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -11148,7 +11148,7 @@ std::optional< std::vector< ::Ifc4x1::IfcActorRole > > Ifc4x1::IfcPersonAndOrgan void Ifc4x1::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x1::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X1_types[668]); } +const ifcopenshell::entity& Ifc4x1::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X1_types[668]); } void Ifc4x1::IfcPersonAndOrganization::initialize(::Ifc4x1::IfcPerson v1_ThePerson, ::Ifc4x1::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x1::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -11162,7 +11162,7 @@ std::optional< std::string > Ifc4x1::IfcPhysicalComplexQuantity::Usage() const { void Ifc4x1::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x1::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X1_types[670]); } +const ifcopenshell::entity& Ifc4x1::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X1_types[670]); } void Ifc4x1::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -11171,10 +11171,10 @@ void Ifc4x1::IfcPhysicalQuantity::setName(const std::string& v) { set_attribute_ std::optional< std::string > Ifc4x1::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x1::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } -std::vector<::Ifc4x1::IfcPhysicalComplexQuantity> Ifc4x1::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[670], 2)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcPhysicalComplexQuantity> Ifc4x1::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[670], 2)); } -const IfcParse::entity& Ifc4x1::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X1_types[672]); } +const ifcopenshell::entity& Ifc4x1::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X1_types[672]); } void Ifc4x1::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -11182,58 +11182,58 @@ void Ifc4x1::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< void Ifc4x1::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x1::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X1_types[673]); } +const ifcopenshell::entity& Ifc4x1::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X1_types[673]); } void Ifc4x1::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x1::IfcPileTypeEnum::Value > Ifc4x1::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcPile::setPredefinedType(const std::optional< ::Ifc4x1::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcPile::setPredefinedType(const std::optional< ::Ifc4x1::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x1::IfcPileConstructionEnum::Value > Ifc4x1::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcPile::setConstructionType(const std::optional< ::Ifc4x1::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x1::IfcPile::setConstructionType(const std::optional< ::Ifc4x1::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcPile::Class() { return *((IfcParse::entity*)IFC4X1_types[674]); } -void Ifc4x1::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x1::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4x1::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X1_types[674]); } +void Ifc4x1::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x1::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x1::IfcPileTypeEnum::Value Ifc4x1::IfcPileType::PredefinedType() const { return ::Ifc4x1::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcPileType::setPredefinedType(const ::Ifc4x1::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcPileType::setPredefinedType(const ::Ifc4x1::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X1_types[676]); } -void Ifc4x1::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[676]); } +void Ifc4x1::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x1::IfcPipeFittingTypeEnum::Value > Ifc4x1::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x1::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x1::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X1_types[678]); } -void Ifc4x1::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X1_types[678]); } +void Ifc4x1::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x1::IfcPipeFittingTypeEnum::Value Ifc4x1::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcPipeFittingType::setPredefinedType(const ::Ifc4x1::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcPipeFittingType::setPredefinedType(const ::Ifc4x1::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X1_types[679]); } -void Ifc4x1::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[679]); } +void Ifc4x1::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x1::IfcPipeSegmentTypeEnum::Value > Ifc4x1::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x1::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x1::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[681]); } -void Ifc4x1::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[681]); } +void Ifc4x1::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x1::IfcPipeSegmentTypeEnum::Value Ifc4x1::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x1::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x1::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X1_types[682]); } -void Ifc4x1::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[682]); } +void Ifc4x1::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x1::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -11246,7 +11246,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x1::IfcPixelTexture::Pixel( void Ifc4x1::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X1_types[684]); } +const ifcopenshell::entity& Ifc4x1::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X1_types[684]); } void Ifc4x1::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -11254,7 +11254,7 @@ void Ifc4x1::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std:: void Ifc4x1::IfcPlacement::setLocation(const ::Ifc4x1::IfcCartesianPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X1_types[685]); } +const ifcopenshell::entity& Ifc4x1::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[685]); } void Ifc4x1::IfcPlacement::initialize(::Ifc4x1::IfcCartesianPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -11262,7 +11262,7 @@ void Ifc4x1::IfcPlacement::initialize(::Ifc4x1::IfcCartesianPoint v1_Location) { void Ifc4x1::IfcPlanarBox::setPlacement(const ::Ifc4x1::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X1_types[686]); } +const ifcopenshell::entity& Ifc4x1::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X1_types[686]); } void Ifc4x1::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x1::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -11272,41 +11272,41 @@ double Ifc4x1::IfcPlanarExtent::SizeInY() const { double v = get_attribute_valu void Ifc4x1::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X1_types[687]); } +const ifcopenshell::entity& Ifc4x1::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X1_types[687]); } void Ifc4x1::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x1::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X1_types[689]); } +const ifcopenshell::entity& Ifc4x1::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X1_types[689]); } void Ifc4x1::IfcPlane::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlate std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value > Ifc4x1::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X1_types[691]); } -void Ifc4x1::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X1_types[691]); } +void Ifc4x1::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateStandardCase -const IfcParse::entity& Ifc4x1::IfcPlateStandardCase::Class() { return *((IfcParse::entity*)IFC4X1_types[692]); } -void Ifc4x1::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcPlateStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[692]); } +void Ifc4x1::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x1::IfcPlateTypeEnum::Value Ifc4x1::IfcPlateType::PredefinedType() const { return ::Ifc4x1::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcPlateType::setPredefinedType(const ::Ifc4x1::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcPlateType::setPredefinedType(const ::Ifc4x1::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X1_types[693]); } -void Ifc4x1::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[693]); } +void Ifc4x1::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x1::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X1_types[695]); } +const ifcopenshell::entity& Ifc4x1::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X1_types[695]); } void Ifc4x1::IfcPoint::initialize() { } // Function implementations for IfcPointOnCurve @@ -11316,7 +11316,7 @@ double Ifc4x1::IfcPointOnCurve::PointParameter() const { double v = get_attribu void Ifc4x1::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[696]); } +const ifcopenshell::entity& Ifc4x1::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[696]); } void Ifc4x1::IfcPointOnCurve::initialize(::Ifc4x1::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -11328,7 +11328,7 @@ double Ifc4x1::IfcPointOnSurface::PointParameterV() const { double v = get_attr void Ifc4x1::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[697]); } +const ifcopenshell::entity& Ifc4x1::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[697]); } void Ifc4x1::IfcPointOnSurface::initialize(::Ifc4x1::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -11336,7 +11336,7 @@ std::vector< ::Ifc4x1::IfcCartesianPoint > Ifc4x1::IfcPolyLoop::Polygon() const void Ifc4x1::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X1_types[702]); } +const ifcopenshell::entity& Ifc4x1::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X1_types[702]); } void Ifc4x1::IfcPolyLoop::initialize(std::vector< ::Ifc4x1::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -11346,7 +11346,7 @@ void Ifc4x1::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x1::IfcAxis2P void Ifc4x1::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x1::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X1_types[699]); } +const ifcopenshell::entity& Ifc4x1::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X1_types[699]); } void Ifc4x1::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x1::IfcAxis2Placement3D v3_Position, ::Ifc4x1::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -11358,7 +11358,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x1::IfcPolygonalFaceSet::PnInd void Ifc4x1::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X1_types[700]); } +const ifcopenshell::entity& Ifc4x1::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[700]); } void Ifc4x1::IfcPolygonalFaceSet::initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -11366,23 +11366,23 @@ std::vector< ::Ifc4x1::IfcCartesianPoint > Ifc4x1::IfcPolyline::Points() const { void Ifc4x1::IfcPolyline::setPoints(const std::vector< ::Ifc4x1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X1_types[701]); } +const ifcopenshell::entity& Ifc4x1::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X1_types[701]); } void Ifc4x1::IfcPolyline::initialize(std::vector< ::Ifc4x1::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPort -std::vector<::Ifc4x1::IfcRelConnectsPortToElement> Ifc4x1::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[841], 4)); } -std::vector<::Ifc4x1::IfcRelConnectsPorts> Ifc4x1::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[840], 5)); } -std::vector<::Ifc4x1::IfcRelConnectsPorts> Ifc4x1::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[840], 4)); } +std::vector<::Ifc4x1::IfcRelConnectsPortToElement> Ifc4x1::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[841], 4)); } +std::vector<::Ifc4x1::IfcRelConnectsPorts> Ifc4x1::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[840], 5)); } +std::vector<::Ifc4x1::IfcRelConnectsPorts> Ifc4x1::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[840], 4)); } -const IfcParse::entity& Ifc4x1::IfcPort::Class() { return *((IfcParse::entity*)IFC4X1_types[703]); } +const ifcopenshell::entity& Ifc4x1::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X1_types[703]); } void Ifc4x1::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x1::IfcRelContainedInSpatialStructure> Ifc4x1::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[846], 4)); } +std::vector<::Ifc4x1::IfcRelContainedInSpatialStructure> Ifc4x1::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[846], 4)); } -const IfcParse::entity& Ifc4x1::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X1_types[704]); } +const ifcopenshell::entity& Ifc4x1::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[704]); } void Ifc4x1::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -11402,19 +11402,19 @@ std::optional< std::string > Ifc4x1::IfcPostalAddress::Country() const { if(get_ void Ifc4x1::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X1_types[709]); } -void Ifc4x1::IfcPostalAddress::initialize(std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X1_types[709]); } +void Ifc4x1::IfcPostalAddress::initialize(std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x1::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X1_types[711]); } +const ifcopenshell::entity& Ifc4x1::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X1_types[711]); } void Ifc4x1::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x1::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X1_types[712]); } +const ifcopenshell::entity& Ifc4x1::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X1_types[712]); } void Ifc4x1::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -11422,31 +11422,31 @@ std::string Ifc4x1::IfcPreDefinedItem::Name() const { std::string v = get_attri void Ifc4x1::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X1_types[713]); } +const ifcopenshell::entity& Ifc4x1::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[713]); } void Ifc4x1::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x1::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[714]); } +const ifcopenshell::entity& Ifc4x1::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[714]); } void Ifc4x1::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x1::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X1_types[715]); } +const ifcopenshell::entity& Ifc4x1::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[715]); } void Ifc4x1::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x1::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X1_types[716]); } +const ifcopenshell::entity& Ifc4x1::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X1_types[716]); } void Ifc4x1::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x1::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X1_types[719]); } +const ifcopenshell::entity& Ifc4x1::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[719]); } void Ifc4x1::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -11460,7 +11460,7 @@ std::optional< std::string > Ifc4x1::IfcPresentationLayerAssignment::Identifier( void Ifc4x1::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X1_types[720]); } +const ifcopenshell::entity& Ifc4x1::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[720]); } void Ifc4x1::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -11474,7 +11474,7 @@ std::vector< ::Ifc4x1::IfcPresentationStyle > Ifc4x1::IfcPresentationLayerWithSt void Ifc4x1::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x1::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x1::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[721]); } +const ifcopenshell::entity& Ifc4x1::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[721]); } void Ifc4x1::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x1::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -11482,7 +11482,7 @@ std::optional< std::string > Ifc4x1::IfcPresentationStyle::Name() const { if(get void Ifc4x1::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x1::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[722]); } +const ifcopenshell::entity& Ifc4x1::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[722]); } void Ifc4x1::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcPresentationStyleAssignment @@ -11490,24 +11490,24 @@ std::vector< ::Ifc4x1::IfcPresentationStyleSelect > Ifc4x1::IfcPresentationStyle void Ifc4x1::IfcPresentationStyleAssignment::setStyles(const std::vector< ::Ifc4x1::IfcPresentationStyleSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcPresentationStyleAssignment::Class() { return *((IfcParse::entity*)IFC4X1_types[723]); } +const ifcopenshell::entity& Ifc4x1::IfcPresentationStyleAssignment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[723]); } void Ifc4x1::IfcPresentationStyleAssignment::initialize(std::vector< ::Ifc4x1::IfcPresentationStyleSelect > v1_Styles) { set_attribute_value(0, cast_vector(v1_Styles)); } // Function implementations for IfcProcedure std::optional< ::Ifc4x1::IfcProcedureTypeEnum::Value > Ifc4x1::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x1::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x1::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x1::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x1::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X1_types[726]); } -void Ifc4x1::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x1::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X1_types[726]); } +void Ifc4x1::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x1::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x1::IfcProcedureTypeEnum::Value Ifc4x1::IfcProcedureType::PredefinedType() const { return ::Ifc4x1::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcProcedureType::setPredefinedType(const ::Ifc4x1::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcProcedureType::setPredefinedType(const ::Ifc4x1::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X1_types[727]); } -void Ifc4x1::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x1::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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(&::Ifc4x1::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[727]); } +void Ifc4x1::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x1::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x1::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x1::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -11515,11 +11515,11 @@ void Ifc4x1::IfcProcess::setIdentification(const std::optional< std::string >& v std::optional< std::string > Ifc4x1::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x1::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x1::IfcRelSequence> Ifc4x1::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[862], 4)); } -std::vector<::Ifc4x1::IfcRelSequence> Ifc4x1::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[862], 5)); } -std::vector<::Ifc4x1::IfcRelAssignsToProcess> Ifc4x1::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[826], 6)); } +std::vector<::Ifc4x1::IfcRelSequence> Ifc4x1::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[862], 4)); } +std::vector<::Ifc4x1::IfcRelSequence> Ifc4x1::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[862], 5)); } +std::vector<::Ifc4x1::IfcRelAssignsToProcess> Ifc4x1::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[826], 6)); } -const IfcParse::entity& Ifc4x1::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X1_types[729]); } +const ifcopenshell::entity& Ifc4x1::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X1_types[729]); } void Ifc4x1::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -11528,17 +11528,17 @@ void Ifc4x1::IfcProduct::setObjectPlacement(const ::Ifc4x1::IfcObjectPlacement& ::Ifc4x1::IfcProductRepresentation Ifc4x1::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x1::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcProductRepresentation>(); } void Ifc4x1::IfcProduct::setRepresentation(const ::Ifc4x1::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x1::IfcRelAssignsToProduct> Ifc4x1::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[827], 6)); } +std::vector<::Ifc4x1::IfcRelAssignsToProduct> Ifc4x1::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[827], 6)); } -const IfcParse::entity& Ifc4x1::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X1_types[731]); } +const ifcopenshell::entity& Ifc4x1::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X1_types[731]); } void Ifc4x1::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x1::IfcProduct> Ifc4x1::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[731], 6)); } -std::vector<::Ifc4x1::IfcShapeAspect> Ifc4x1::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[915], 4)); } +std::vector<::Ifc4x1::IfcProduct> Ifc4x1::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[731], 6)); } +std::vector<::Ifc4x1::IfcShapeAspect> Ifc4x1::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[915], 4)); } -const IfcParse::entity& Ifc4x1::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X1_types[732]); } +const ifcopenshell::entity& Ifc4x1::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X1_types[732]); } void Ifc4x1::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -11550,52 +11550,52 @@ std::vector< ::Ifc4x1::IfcRepresentation > Ifc4x1::IfcProductRepresentation::Rep void Ifc4x1::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x1::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X1_types[733]); } +const ifcopenshell::entity& Ifc4x1::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[733]); } void Ifc4x1::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x1::IfcProfileTypeEnum::Value Ifc4x1::IfcProfileDef::ProfileType() const { return ::Ifc4x1::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x1::IfcProfileDef::setProfileType(const ::Ifc4x1::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x1::IfcProfileDef::setProfileType(const ::Ifc4x1::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x1::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x1::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } -std::vector<::Ifc4x1::IfcProfileProperties> Ifc4x1::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[737], 3)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcProfileProperties> Ifc4x1::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[737], 3)); } -const IfcParse::entity& Ifc4x1::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[736]); } -void Ifc4x1::IfcProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x1::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[736]); } +void Ifc4x1::IfcProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x1::IfcProfileDef Ifc4x1::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x1::IfcProfileDef>(); } void Ifc4x1::IfcProfileProperties::setProfileDefinition(const ::Ifc4x1::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[737]); } +const ifcopenshell::entity& Ifc4x1::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[737]); } void Ifc4x1::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcProperty > v3_Properties, ::Ifc4x1::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x1::IfcProject::Class() { return *((IfcParse::entity*)IFC4X1_types[739]); } +const ifcopenshell::entity& Ifc4x1::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X1_types[739]); } void Ifc4x1::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x1::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X1_types[744]); } +const ifcopenshell::entity& Ifc4x1::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X1_types[744]); } void Ifc4x1::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x1::IfcProjectOrderTypeEnum::Value > Ifc4x1::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x1::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x1::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x1::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x1::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x1::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x1::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x1::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x1::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x1::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x1::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X1_types[745]); } -void Ifc4x1::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x1::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x1::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X1_types[745]); } +void Ifc4x1::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x1::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x1::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -11606,16 +11606,16 @@ void Ifc4x1::IfcProjectedCRS::setMapZone(const std::optional< std::string >& v) void Ifc4x1::IfcProjectedCRS::setMapUnit(const ::Ifc4x1::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X1_types[740]); } +const ifcopenshell::entity& Ifc4x1::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X1_types[740]); } void Ifc4x1::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x1::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x1::IfcProjectionElementTypeEnum::Value > Ifc4x1::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X1_types[742]); } -void Ifc4x1::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[742]); } +void Ifc4x1::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x1::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11623,21 +11623,21 @@ void Ifc4x1::IfcProperty::setName(const std::string& v) { set_attribute_value(0, std::optional< std::string > Ifc4x1::IfcProperty::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x1::IfcProperty::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x1::IfcPropertySet> Ifc4x1::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[756], 4)); } -std::vector<::Ifc4x1::IfcPropertyDependencyRelationship> Ifc4x1::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[751], 2)); } -std::vector<::Ifc4x1::IfcPropertyDependencyRelationship> Ifc4x1::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[751], 3)); } -std::vector<::Ifc4x1::IfcComplexProperty> Ifc4x1::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[174], 3)); } -std::vector<::Ifc4x1::IfcResourceConstraintRelationship> Ifc4x1::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[875], 3)); } -std::vector<::Ifc4x1::IfcResourceApprovalRelationship> Ifc4x1::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[874], 2)); } +std::vector<::Ifc4x1::IfcPropertySet> Ifc4x1::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[756], 4)); } +std::vector<::Ifc4x1::IfcPropertyDependencyRelationship> Ifc4x1::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[751], 2)); } +std::vector<::Ifc4x1::IfcPropertyDependencyRelationship> Ifc4x1::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[751], 3)); } +std::vector<::Ifc4x1::IfcComplexProperty> Ifc4x1::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[174], 3)); } +std::vector<::Ifc4x1::IfcResourceConstraintRelationship> Ifc4x1::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[875], 3)); } +std::vector<::Ifc4x1::IfcResourceApprovalRelationship> Ifc4x1::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[874], 2)); } -const IfcParse::entity& Ifc4x1::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X1_types[747]); } +const ifcopenshell::entity& Ifc4x1::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X1_types[747]); } void Ifc4x1::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } -const IfcParse::entity& Ifc4x1::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X1_types[748]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[748]); } void Ifc4x1::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -11651,15 +11651,15 @@ void Ifc4x1::IfcPropertyBoundedValue::setUnit(const ::Ifc4x1::IfcUnit& v) { set_ void Ifc4x1::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x1::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X1_types[749]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[749]); } void Ifc4x1::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcValue v3_UpperBoundValue, ::Ifc4x1::IfcValue v4_LowerBoundValue, ::Ifc4x1::IfcUnit v5_Unit, ::Ifc4x1::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x1::IfcRelDeclares> Ifc4x1::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[849], 5)); } -std::vector<::Ifc4x1::IfcRelAssociates> Ifc4x1::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[829], 4)); } +std::vector<::Ifc4x1::IfcRelDeclares> Ifc4x1::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[849], 5)); } +std::vector<::Ifc4x1::IfcRelAssociates> Ifc4x1::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[829], 4)); } -const IfcParse::entity& Ifc4x1::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X1_types[750]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[750]); } void Ifc4x1::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -11671,7 +11671,7 @@ std::optional< std::string > Ifc4x1::IfcPropertyDependencyRelationship::Expressi void Ifc4x1::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[751]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[751]); } void Ifc4x1::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcProperty v3_DependingProperty, ::Ifc4x1::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -11681,7 +11681,7 @@ void Ifc4x1::IfcPropertyEnumeratedValue::setEnumerationValues(const std::optiona void Ifc4x1::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x1::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X1_types[752]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[752]); } void Ifc4x1::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x1::IfcValue > > v3_EnumerationValues, ::Ifc4x1::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -11693,7 +11693,7 @@ void Ifc4x1::IfcPropertyEnumeration::setEnumerationValues(const std::vector< ::I void Ifc4x1::IfcPropertyEnumeration::setUnit(const ::Ifc4x1::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X1_types[753]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X1_types[753]); } void Ifc4x1::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x1::IfcValue > v2_EnumerationValues, ::Ifc4x1::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -11703,7 +11703,7 @@ void Ifc4x1::IfcPropertyListValue::setListValues(const std::optional< std::vecto void Ifc4x1::IfcPropertyListValue::setUnit(const ::Ifc4x1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X1_types[754]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[754]); } void Ifc4x1::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x1::IfcValue > > v3_ListValues, ::Ifc4x1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -11713,7 +11713,7 @@ void Ifc4x1::IfcPropertyReferenceValue::setUsageName(const std::optional< std::s void Ifc4x1::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x1::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X1_types[755]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[755]); } void Ifc4x1::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x1::IfcObjectReferenceSelect v4_PropertyReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, (v4_PropertyReference)); } // Function implementations for IfcPropertySet @@ -11721,30 +11721,30 @@ std::vector< ::Ifc4x1::IfcProperty > Ifc4x1::IfcPropertySet::HasProperties() con void Ifc4x1::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x1::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X1_types[756]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[756]); } void Ifc4x1::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x1::IfcTypeObject> Ifc4x1::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[1134], 5)); } -std::vector<::Ifc4x1::IfcRelDefinesByTemplate> Ifc4x1::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[854], 4)); } -std::vector<::Ifc4x1::IfcRelDefinesByProperties> Ifc4x1::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[853], 5)); } +std::vector<::Ifc4x1::IfcTypeObject> Ifc4x1::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[1134], 5)); } +std::vector<::Ifc4x1::IfcRelDefinesByTemplate> Ifc4x1::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[854], 4)); } +std::vector<::Ifc4x1::IfcRelDefinesByProperties> Ifc4x1::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[853], 5)); } -const IfcParse::entity& Ifc4x1::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X1_types[757]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[757]); } void Ifc4x1::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x1::IfcPropertySetTemplateTypeEnum::Value > Ifc4x1::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x1::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x1::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x1::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x1::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x1::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x1::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x1::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x1::IfcPropertyTemplate > Ifc4x1::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x1::IfcPropertyTemplate>(es); } void Ifc4x1::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x1::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x1::IfcRelDefinesByTemplate> Ifc4x1::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[854], 5)); } +std::vector<::Ifc4x1::IfcRelDefinesByTemplate> Ifc4x1::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[854], 5)); } -const IfcParse::entity& Ifc4x1::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X1_types[760]); } -void Ifc4x1::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x1::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4x1::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x1::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X1_types[760]); } +void Ifc4x1::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x1::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x1::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x1::IfcValue Ifc4x1::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x1::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcValue>(); } @@ -11753,7 +11753,7 @@ void Ifc4x1::IfcPropertySingleValue::setNominalValue(const ::Ifc4x1::IfcValue& v void Ifc4x1::IfcPropertySingleValue::setUnit(const ::Ifc4x1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X1_types[762]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[762]); } void Ifc4x1::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcValue v3_NominalValue, ::Ifc4x1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -11768,83 +11768,83 @@ void Ifc4x1::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x1::IfcUnit& v) ::Ifc4x1::IfcUnit Ifc4x1::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x1::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcUnit>(); } void Ifc4x1::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x1::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x1::IfcCurveInterpolationEnum::Value > Ifc4x1::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x1::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x1::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x1::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x1::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X1_types[763]); } -void Ifc4x1::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x1::IfcUnit v6_DefiningUnit, ::Ifc4x1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x1::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[763]); } +void Ifc4x1::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x1::IfcUnit v6_DefiningUnit, ::Ifc4x1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x1::IfcComplexPropertyTemplate> Ifc4x1::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[175], 6)); } -std::vector<::Ifc4x1::IfcPropertySetTemplate> Ifc4x1::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[760], 6)); } +std::vector<::Ifc4x1::IfcComplexPropertyTemplate> Ifc4x1::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[175], 6)); } +std::vector<::Ifc4x1::IfcPropertySetTemplate> Ifc4x1::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[760], 6)); } -const IfcParse::entity& Ifc4x1::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X1_types[764]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X1_types[764]); } void Ifc4x1::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x1::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X1_types[765]); } +const ifcopenshell::entity& Ifc4x1::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[765]); } void Ifc4x1::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value > Ifc4x1::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[766]); } -void Ifc4x1::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[766]); } +void Ifc4x1::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x1::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X1_types[767]); } -void Ifc4x1::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[767]); } +void Ifc4x1::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x1::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X1_types[768]); } -void Ifc4x1::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[768]); } +void Ifc4x1::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value Ifc4x1::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[770]); } -void Ifc4x1::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[770]); } +void Ifc4x1::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProxy ::Ifc4x1::IfcObjectTypeEnum::Value Ifc4x1::IfcProxy::ProxyType() const { return ::Ifc4x1::IfcObjectTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcProxy::setProxyType(const ::Ifc4x1::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcProxy::setProxyType(const ::Ifc4x1::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x1::IfcProxy::Tag() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x1::IfcProxy::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcProxy::Class() { return *((IfcParse::entity*)IFC4X1_types[772]); } -void Ifc4x1::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } +const ifcopenshell::entity& Ifc4x1::IfcProxy::Class() { return *((ifcopenshell::entity*)IFC4X1_types[772]); } +void Ifc4x1::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } // Function implementations for IfcPump std::optional< ::Ifc4x1::IfcPumpTypeEnum::Value > Ifc4x1::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcPump::setPredefinedType(const std::optional< ::Ifc4x1::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcPump::setPredefinedType(const std::optional< ::Ifc4x1::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcPump::Class() { return *((IfcParse::entity*)IFC4X1_types[773]); } -void Ifc4x1::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X1_types[773]); } +void Ifc4x1::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x1::IfcPumpTypeEnum::Value Ifc4x1::IfcPumpType::PredefinedType() const { return ::Ifc4x1::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcPumpType::setPredefinedType(const ::Ifc4x1::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcPumpType::setPredefinedType(const ::Ifc4x1::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X1_types[774]); } -void Ifc4x1::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[774]); } +void Ifc4x1::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x1::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -11853,7 +11853,7 @@ std::optional< std::string > Ifc4x1::IfcQuantityArea::Formula() const { if(get_a void Ifc4x1::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X1_types[776]); } +const ifcopenshell::entity& Ifc4x1::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X1_types[776]); } void Ifc4x1::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -11863,7 +11863,7 @@ std::optional< std::string > Ifc4x1::IfcQuantityCount::Formula() const { if(get_ void Ifc4x1::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X1_types[777]); } +const ifcopenshell::entity& Ifc4x1::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X1_types[777]); } void Ifc4x1::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -11873,13 +11873,13 @@ std::optional< std::string > Ifc4x1::IfcQuantityLength::Formula() const { if(get void Ifc4x1::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X1_types[778]); } +const ifcopenshell::entity& Ifc4x1::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X1_types[778]); } void Ifc4x1::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x1::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X1_types[779]); } +const ifcopenshell::entity& Ifc4x1::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[779]); } void Ifc4x1::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -11889,7 +11889,7 @@ std::optional< std::string > Ifc4x1::IfcQuantityTime::Formula() const { if(get_a void Ifc4x1::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X1_types[780]); } +const ifcopenshell::entity& Ifc4x1::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X1_types[780]); } void Ifc4x1::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -11899,7 +11899,7 @@ std::optional< std::string > Ifc4x1::IfcQuantityVolume::Formula() const { if(get void Ifc4x1::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X1_types[781]); } +const ifcopenshell::entity& Ifc4x1::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X1_types[781]); } void Ifc4x1::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -11909,72 +11909,72 @@ std::optional< std::string > Ifc4x1::IfcQuantityWeight::Formula() const { if(get void Ifc4x1::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X1_types[782]); } +const ifcopenshell::entity& Ifc4x1::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X1_types[782]); } void Ifc4x1::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRailing std::optional< ::Ifc4x1::IfcRailingTypeEnum::Value > Ifc4x1::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x1::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x1::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X1_types[784]); } -void Ifc4x1::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X1_types[784]); } +void Ifc4x1::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x1::IfcRailingTypeEnum::Value Ifc4x1::IfcRailingType::PredefinedType() const { return ::Ifc4x1::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcRailingType::setPredefinedType(const ::Ifc4x1::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcRailingType::setPredefinedType(const ::Ifc4x1::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X1_types[785]); } -void Ifc4x1::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[785]); } +void Ifc4x1::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRamp std::optional< ::Ifc4x1::IfcRampTypeEnum::Value > Ifc4x1::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x1::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x1::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X1_types[787]); } -void Ifc4x1::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X1_types[787]); } +void Ifc4x1::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x1::IfcRampFlightTypeEnum::Value > Ifc4x1::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x1::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x1::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X1_types[788]); } -void Ifc4x1::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X1_types[788]); } +void Ifc4x1::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x1::IfcRampFlightTypeEnum::Value Ifc4x1::IfcRampFlightType::PredefinedType() const { return ::Ifc4x1::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcRampFlightType::setPredefinedType(const ::Ifc4x1::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcRampFlightType::setPredefinedType(const ::Ifc4x1::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X1_types[789]); } -void Ifc4x1::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[789]); } +void Ifc4x1::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x1::IfcRampTypeEnum::Value Ifc4x1::IfcRampType::PredefinedType() const { return ::Ifc4x1::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcRampType::setPredefinedType(const ::Ifc4x1::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcRampType::setPredefinedType(const ::Ifc4x1::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X1_types[791]); } -void Ifc4x1::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[791]); } +void Ifc4x1::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x1::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x1::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X1_types[794]); } -void Ifc4x1::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x1::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(&::Ifc4x1::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4x1::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X1_types[794]); } +void Ifc4x1::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x1::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, (enumeration_reference(&::Ifc4x1::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x1::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x1::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X1_types[795]); } -void Ifc4x1::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x1::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(&::Ifc4x1::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4x1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X1_types[795]); } +void Ifc4x1::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x1::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, (enumeration_reference(&::Ifc4x1::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x1::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -11985,8 +11985,8 @@ std::optional< double > Ifc4x1::IfcRectangleHollowProfileDef::OuterFilletRadius( void Ifc4x1::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x1::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[797]); } -void Ifc4x1::IfcRectangleHollowProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x1::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[797]); } +void Ifc4x1::IfcRectangleHollowProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x1::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -11995,8 +11995,8 @@ double Ifc4x1::IfcRectangleProfileDef::YDim() const { double v = get_attribute_ void Ifc4x1::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[798]); } -void Ifc4x1::IfcRectangleProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x1::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[798]); } +void Ifc4x1::IfcRectangleProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x1::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -12007,7 +12007,7 @@ double Ifc4x1::IfcRectangularPyramid::Height() const { double v = get_attribute void Ifc4x1::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X1_types[799]); } +const ifcopenshell::entity& Ifc4x1::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[799]); } void Ifc4x1::IfcRectangularPyramid::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -12027,12 +12027,12 @@ bool Ifc4x1::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_attrib void Ifc4x1::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[800]); } +const ifcopenshell::entity& Ifc4x1::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[800]); } void Ifc4x1::IfcRectangularTrimmedSurface::initialize(::Ifc4x1::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x1::IfcRecurrenceTypeEnum::Value Ifc4x1::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x1::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x1::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x1::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x1::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x1::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x1::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x1::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x1::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x1::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x1::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -12049,8 +12049,8 @@ std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > > Ifc4x1::IfcRecurrencePat void Ifc4x1::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x1::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X1_types[801]); } -void Ifc4x1::IfcRecurrencePattern::initialize(::Ifc4x1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x1::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X1_types[801]); } +void Ifc4x1::IfcRecurrencePattern::initialize(::Ifc4x1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x1::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12065,18 +12065,18 @@ void Ifc4x1::IfcReference::setListPositions(const std::optional< std::vector< in void Ifc4x1::IfcReference::setInnerReference(const ::Ifc4x1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcReference::Class() { return *((IfcParse::entity*)IFC4X1_types[803]); } +const ifcopenshell::entity& Ifc4x1::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X1_types[803]); } void Ifc4x1::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x1::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x1::IfcReferentTypeEnum::Value > Ifc4x1::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x1::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x1::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x1::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< double > Ifc4x1::IfcReferent::RestartDistance() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x1::IfcReferent::setRestartDistance(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X1_types[804]); } -void Ifc4x1::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x1::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } +const ifcopenshell::entity& Ifc4x1::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X1_types[804]); } +void Ifc4x1::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x1::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } // Function implementations for IfcRegularTimeSeries double Ifc4x1::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -12085,8 +12085,8 @@ std::vector< ::Ifc4x1::IfcTimeSeriesValue > Ifc4x1::IfcRegularTimeSeries::Values void Ifc4x1::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x1::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X1_types[807]); } -void Ifc4x1::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x1::IfcTimeSeriesValue > v10_Values) { 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(&::Ifc4x1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x1::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X1_types[807]); } +void Ifc4x1::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x1::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcementBarProperties double Ifc4x1::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -12094,7 +12094,7 @@ void Ifc4x1::IfcReinforcementBarProperties::setTotalCrossSectionArea(const doubl std::string Ifc4x1::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x1::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x1::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x1::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x1::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x1::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x1::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x1::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -12103,8 +12103,8 @@ std::optional< double > Ifc4x1::IfcReinforcementBarProperties::BarCount() const void Ifc4x1::IfcReinforcementBarProperties::setBarCount(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x1::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[808]); } -void Ifc4x1::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[808]); } +void Ifc4x1::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x1::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -12113,7 +12113,7 @@ std::vector< ::Ifc4x1::IfcSectionReinforcementProperties > Ifc4x1::IfcReinforcem void Ifc4x1::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x1::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[809]); } +const ifcopenshell::entity& Ifc4x1::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[809]); } void Ifc4x1::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x1::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -12124,17 +12124,17 @@ void Ifc4x1::IfcReinforcingBar::setCrossSectionArea(const std::optional< double std::optional< double > Ifc4x1::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x1::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x1::IfcReinforcingBarTypeEnum::Value > Ifc4x1::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x1::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x1::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x1::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x1::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x1::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x1::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x1::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x1::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x1::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x1::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X1_types[810]); } -void Ifc4x1::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4x1::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X1_types[810]); } +void Ifc4x1::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x1::IfcReinforcingBarTypeEnum::Value Ifc4x1::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x1::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x1::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x1::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x1::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x1::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -12142,28 +12142,28 @@ void Ifc4x1::IfcReinforcingBarType::setCrossSectionArea(const std::optional< dou std::optional< double > Ifc4x1::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x1::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x1::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x1::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x1::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x1::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x1::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > Ifc4x1::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x1::IfcBendingParameterSelect>(es); } void Ifc4x1::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x1::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X1_types[813]); } -void Ifc4x1::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::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(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x1::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[813]); } +void Ifc4x1::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::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, (enumeration_reference(&::Ifc4x1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x1::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x1::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X1_types[815]); } +const ifcopenshell::entity& Ifc4x1::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[815]); } void Ifc4x1::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x1::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[816]); } +const ifcopenshell::entity& Ifc4x1::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[816]); } void Ifc4x1::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -12184,15 +12184,15 @@ void Ifc4x1::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::optional< std::optional< double > Ifc4x1::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x1::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value > Ifc4x1::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x1::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x1::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x1::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x1::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x1::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X1_types[817]); } -void Ifc4x1::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X1_types[817]); } +void Ifc4x1::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value Ifc4x1::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x1::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x1::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x1::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -12215,8 +12215,8 @@ std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > Ifc4x1::IfcR void Ifc4x1::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x1::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X1_types[818]); } -void Ifc4x1::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x1::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[818]); } +void Ifc4x1::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAggregates ::Ifc4x1::IfcObjectDefinition Ifc4x1::IfcRelAggregates::RelatingObject() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcObjectDefinition>(); } @@ -12225,18 +12225,18 @@ std::vector< ::Ifc4x1::IfcObjectDefinition > Ifc4x1::IfcRelAggregates::RelatedOb void Ifc4x1::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X1_types[820]); } +const ifcopenshell::entity& Ifc4x1::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X1_types[820]); } void Ifc4x1::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns std::vector< ::Ifc4x1::IfcObjectDefinition > Ifc4x1::IfcRelAssigns::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x1::IfcObjectDefinition>(es); } void Ifc4x1::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc4x1::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > Ifc4x1::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcObjectTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x1::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x1::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X1_types[821]); } -void Ifc4x1::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } +const ifcopenshell::entity& Ifc4x1::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X1_types[821]); } +void Ifc4x1::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } // Function implementations for IfcRelAssignsToActor ::Ifc4x1::IfcActor Ifc4x1::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcActor>(); } @@ -12245,32 +12245,32 @@ void Ifc4x1::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x1::IfcActor& v) void Ifc4x1::IfcRelAssignsToActor::setActingRole(const ::Ifc4x1::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x1::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X1_types[822]); } -void Ifc4x1::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcActor v7_RelatingActor, ::Ifc4x1::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X1_types[822]); } +void Ifc4x1::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcActor v7_RelatingActor, ::Ifc4x1::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl ::Ifc4x1::IfcControl Ifc4x1::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcControl>(); } void Ifc4x1::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x1::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X1_types[823]); } -void Ifc4x1::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X1_types[823]); } +void Ifc4x1::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup ::Ifc4x1::IfcGroup Ifc4x1::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcGroup>(); } void Ifc4x1::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x1::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X1_types[824]); } -void Ifc4x1::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X1_types[824]); } +void Ifc4x1::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor double Ifc4x1::IfcRelAssignsToGroupByFactor::Factor() const { double v = get_attribute_value(7); return v; } void Ifc4x1::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x1::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X1_types[825]); } -void Ifc4x1::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X1_types[825]); } +void Ifc4x1::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess ::Ifc4x1::IfcProcessSelect Ifc4x1::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcProcessSelect>(); } @@ -12279,31 +12279,31 @@ void Ifc4x1::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x1::IfcProce void Ifc4x1::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x1::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x1::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X1_types[826]); } -void Ifc4x1::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x1::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X1_types[826]); } +void Ifc4x1::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x1::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct ::Ifc4x1::IfcProductSelect Ifc4x1::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcProductSelect>(); } void Ifc4x1::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x1::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X1_types[827]); } -void Ifc4x1::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X1_types[827]); } +void Ifc4x1::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource ::Ifc4x1::IfcResourceSelect Ifc4x1::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcResourceSelect>(); } void Ifc4x1::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x1::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X1_types[828]); } -void Ifc4x1::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[828]); } +void Ifc4x1::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates std::vector< ::Ifc4x1::IfcDefinitionSelect > Ifc4x1::IfcRelAssociates::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x1::IfcDefinitionSelect>(es); } void Ifc4x1::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x1::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X1_types[829]); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X1_types[829]); } void Ifc4x1::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -12311,7 +12311,7 @@ void Ifc4x1::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x1::Ifc void Ifc4x1::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x1::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X1_types[830]); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X1_types[830]); } void Ifc4x1::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -12319,7 +12319,7 @@ void Ifc4x1::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc void Ifc4x1::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x1::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X1_types[831]); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X1_types[831]); } void Ifc4x1::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -12329,7 +12329,7 @@ void Ifc4x1::IfcRelAssociatesConstraint::setIntent(const std::optional< std::str void Ifc4x1::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x1::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X1_types[832]); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X1_types[832]); } void Ifc4x1::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x1::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -12337,7 +12337,7 @@ void Ifc4x1::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::I void Ifc4x1::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x1::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X1_types[833]); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X1_types[833]); } void Ifc4x1::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -12345,7 +12345,7 @@ void Ifc4x1::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc void Ifc4x1::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x1::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X1_types[834]); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X1_types[834]); } void Ifc4x1::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -12353,13 +12353,13 @@ void Ifc4x1::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4 void Ifc4x1::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x1::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X1_types[835]); } +const ifcopenshell::entity& Ifc4x1::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X1_types[835]); } void Ifc4x1::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x1::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X1_types[837]); } +const ifcopenshell::entity& Ifc4x1::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X1_types[837]); } void Ifc4x1::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -12371,7 +12371,7 @@ void Ifc4x1::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x1::IfcEleme void Ifc4x1::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X1_types[838]); } +const ifcopenshell::entity& Ifc4x1::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X1_types[838]); } void Ifc4x1::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x1::IfcElement v6_RelatingElement, ::Ifc4x1::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -12380,13 +12380,13 @@ void Ifc4x1::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector std::vector< int > /*[0:?]*/ Ifc4x1::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x1::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x1::IfcConnectionTypeEnum::Value Ifc4x1::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x1::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x1::IfcConnectionTypeEnum::Value Ifc4x1::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x1::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x1::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X1_types[839]); } -void Ifc4x1::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x1::IfcElement v6_RelatingElement, ::Ifc4x1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4x1::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X1_types[839]); } +void Ifc4x1::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x1::IfcElement v6_RelatingElement, ::Ifc4x1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x1::IfcPort Ifc4x1::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcPort>(); } @@ -12395,7 +12395,7 @@ void Ifc4x1::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x1::IfcPor void Ifc4x1::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x1::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X1_types[841]); } +const ifcopenshell::entity& Ifc4x1::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[841]); } void Ifc4x1::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcPort v5_RelatingPort, ::Ifc4x1::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -12407,7 +12407,7 @@ void Ifc4x1::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x1::IfcPort& v) { s void Ifc4x1::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X1_types[840]); } +const ifcopenshell::entity& Ifc4x1::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X1_types[840]); } void Ifc4x1::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcPort v5_RelatingPort, ::Ifc4x1::IfcPort v6_RelatedPort, ::Ifc4x1::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -12417,7 +12417,7 @@ void Ifc4x1::IfcRelConnectsStructuralActivity::setRelatingElement(const ::Ifc4x1 void Ifc4x1::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x1::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X1_types[842]); } +const ifcopenshell::entity& Ifc4x1::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X1_types[842]); } void Ifc4x1::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x1::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -12435,7 +12435,7 @@ void Ifc4x1::IfcRelConnectsStructuralMember::setSupportedLength(const std::optio void Ifc4x1::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x1::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X1_types[843]); } +const ifcopenshell::entity& Ifc4x1::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X1_types[843]); } void Ifc4x1::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x1::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -12443,7 +12443,7 @@ void Ifc4x1::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, void Ifc4x1::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x1::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x1::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X1_types[844]); } +const ifcopenshell::entity& Ifc4x1::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X1_types[844]); } void Ifc4x1::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x1::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x1::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -12453,7 +12453,7 @@ std::optional< std::string > Ifc4x1::IfcRelConnectsWithRealizingElements::Connec void Ifc4x1::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X1_types[845]); } +const ifcopenshell::entity& Ifc4x1::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X1_types[845]); } void Ifc4x1::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x1::IfcElement v6_RelatingElement, ::Ifc4x1::IfcElement v7_RelatedElement, std::vector< ::Ifc4x1::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -12463,7 +12463,7 @@ void Ifc4x1::IfcRelContainedInSpatialStructure::setRelatedElements(const std::ve void Ifc4x1::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X1_types[846]); } +const ifcopenshell::entity& Ifc4x1::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X1_types[846]); } void Ifc4x1::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcProduct > v5_RelatedElements, ::Ifc4x1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -12473,7 +12473,7 @@ std::vector< ::Ifc4x1::IfcCovering > Ifc4x1::IfcRelCoversBldgElements::RelatedCo void Ifc4x1::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x1::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X1_types[847]); } +const ifcopenshell::entity& Ifc4x1::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X1_types[847]); } void Ifc4x1::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -12483,7 +12483,7 @@ std::vector< ::Ifc4x1::IfcCovering > Ifc4x1::IfcRelCoversSpaces::RelatedCovering void Ifc4x1::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x1::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X1_types[848]); } +const ifcopenshell::entity& Ifc4x1::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X1_types[848]); } void Ifc4x1::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -12493,19 +12493,19 @@ std::vector< ::Ifc4x1::IfcDefinitionSelect > Ifc4x1::IfcRelDeclares::RelatedDefi void Ifc4x1::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x1::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X1_types[849]); } +const ifcopenshell::entity& Ifc4x1::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X1_types[849]); } void Ifc4x1::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcContext v5_RelatingContext, std::vector< ::Ifc4x1::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x1::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X1_types[850]); } +const ifcopenshell::entity& Ifc4x1::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X1_types[850]); } void Ifc4x1::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x1::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X1_types[851]); } +const ifcopenshell::entity& Ifc4x1::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X1_types[851]); } void Ifc4x1::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -12515,7 +12515,7 @@ void Ifc4x1::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::Ifc4x void Ifc4x1::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x1::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X1_types[852]); } +const ifcopenshell::entity& Ifc4x1::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X1_types[852]); } void Ifc4x1::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObject > v5_RelatedObjects, ::Ifc4x1::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -12525,7 +12525,7 @@ void Ifc4x1::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< ::I void Ifc4x1::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x1::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[853]); } +const ifcopenshell::entity& Ifc4x1::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[853]); } void Ifc4x1::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x1::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -12535,7 +12535,7 @@ void Ifc4x1::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vector< void Ifc4x1::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x1::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X1_types[854]); } +const ifcopenshell::entity& Ifc4x1::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X1_types[854]); } void Ifc4x1::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x1::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -12545,7 +12545,7 @@ void Ifc4x1::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc4x1: void Ifc4x1::IfcRelDefinesByType::setRelatingType(const ::Ifc4x1::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X1_types[855]); } +const ifcopenshell::entity& Ifc4x1::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[855]); } void Ifc4x1::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObject > v5_RelatedObjects, ::Ifc4x1::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -12555,7 +12555,7 @@ void Ifc4x1::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x1::IfcOp void Ifc4x1::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x1::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X1_types[856]); } +const ifcopenshell::entity& Ifc4x1::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[856]); } void Ifc4x1::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x1::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -12565,7 +12565,7 @@ void Ifc4x1::IfcRelFlowControlElements::setRelatedControlElements(const std::vec void Ifc4x1::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x1::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X1_types[857]); } +const ifcopenshell::entity& Ifc4x1::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X1_types[857]); } void Ifc4x1::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x1::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -12581,7 +12581,7 @@ boost::logic::tribool Ifc4x1::IfcRelInterferesElements::ImpliedOrder() const { void Ifc4x1::IfcRelInterferesElements::setImpliedOrder(const boost::logic::tribool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X1_types[858]); } +const ifcopenshell::entity& Ifc4x1::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X1_types[858]); } void Ifc4x1::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcElement v5_RelatingElement, ::Ifc4x1::IfcElement v6_RelatedElement, ::Ifc4x1::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder)); } // Function implementations for IfcRelNests @@ -12591,7 +12591,7 @@ std::vector< ::Ifc4x1::IfcObjectDefinition > Ifc4x1::IfcRelNests::RelatedObjects void Ifc4x1::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X1_types[859]); } +const ifcopenshell::entity& Ifc4x1::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X1_types[859]); } void Ifc4x1::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelProjectsElement @@ -12601,7 +12601,7 @@ void Ifc4x1::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x1::IfcElemen void Ifc4x1::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x1::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X1_types[860]); } +const ifcopenshell::entity& Ifc4x1::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[860]); } void Ifc4x1::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcElement v5_RelatingElement, ::Ifc4x1::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -12611,7 +12611,7 @@ void Ifc4x1::IfcRelReferencedInSpatialStructure::setRelatedElements(const std::v void Ifc4x1::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X1_types[861]); } +const ifcopenshell::entity& Ifc4x1::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X1_types[861]); } void Ifc4x1::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcProduct > v5_RelatedElements, ::Ifc4x1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -12622,13 +12622,13 @@ void Ifc4x1::IfcRelSequence::setRelatedProcess(const ::Ifc4x1::IfcProcess& v) { ::Ifc4x1::IfcLagTime Ifc4x1::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x1::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcLagTime>(); } void Ifc4x1::IfcRelSequence::setTimeLag(const ::Ifc4x1::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x1::IfcSequenceEnum::Value > Ifc4x1::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x1::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x1::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x1::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x1::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x1::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X1_types[862]); } -void Ifc4x1::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcProcess v5_RelatingProcess, ::Ifc4x1::IfcProcess v6_RelatedProcess, ::Ifc4x1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4x1::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X1_types[862]); } +void Ifc4x1::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcProcess v5_RelatingProcess, ::Ifc4x1::IfcProcess v6_RelatedProcess, ::Ifc4x1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x1::IfcSystem Ifc4x1::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcSystem>(); } @@ -12637,7 +12637,7 @@ std::vector< ::Ifc4x1::IfcSpatialElement > Ifc4x1::IfcRelServicesBuildings::Rela void Ifc4x1::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x1::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X1_types[863]); } +const ifcopenshell::entity& Ifc4x1::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X1_types[863]); } void Ifc4x1::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x1::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -12648,31 +12648,31 @@ void Ifc4x1::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x1::IfcE ::Ifc4x1::IfcConnectionGeometry Ifc4x1::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x1::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcConnectionGeometry>(); } void Ifc4x1::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x1::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value Ifc4x1::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x1::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x1::IfcInternalOrExternalEnum::Value Ifc4x1::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x1::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x1::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x1::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x1::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X1_types[864]); } -void Ifc4x1::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x1::IfcElement v6_RelatedBuildingElement, ::Ifc4x1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4x1::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X1_types[864]); } +void Ifc4x1::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x1::IfcElement v6_RelatedBuildingElement, ::Ifc4x1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x1::IfcRelSpaceBoundary1stLevel Ifc4x1::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x1::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x1::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x1::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x1::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x1::IfcRelSpaceBoundary1stLevel> Ifc4x1::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[865], 9)); } +std::vector<::Ifc4x1::IfcRelSpaceBoundary1stLevel> Ifc4x1::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[865], 9)); } -const IfcParse::entity& Ifc4x1::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X1_types[865]); } -void Ifc4x1::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x1::IfcElement v6_RelatedBuildingElement, ::Ifc4x1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4x1::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[865]); } +void Ifc4x1::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x1::IfcElement v6_RelatedBuildingElement, ::Ifc4x1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x1::IfcRelSpaceBoundary2ndLevel Ifc4x1::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x1::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x1::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x1::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x1::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x1::IfcRelSpaceBoundary2ndLevel> Ifc4x1::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[866], 10)); } +std::vector<::Ifc4x1::IfcRelSpaceBoundary2ndLevel> Ifc4x1::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[866], 10)); } -const IfcParse::entity& Ifc4x1::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X1_types[866]); } -void Ifc4x1::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x1::IfcElement v6_RelatedBuildingElement, ::Ifc4x1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x1::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[866]); } +void Ifc4x1::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x1::IfcElement v6_RelatedBuildingElement, ::Ifc4x1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x1::IfcElement Ifc4x1::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcElement>(); } @@ -12681,13 +12681,13 @@ void Ifc4x1::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x1::IfcE void Ifc4x1::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x1::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X1_types[867]); } +const ifcopenshell::entity& Ifc4x1::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[867]); } void Ifc4x1::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcElement v5_RelatingBuildingElement, ::Ifc4x1::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x1::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[836]); } +const ifcopenshell::entity& Ifc4x1::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[836]); } void Ifc4x1::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -12695,8 +12695,8 @@ double Ifc4x1::IfcReparametrisedCompositeCurveSegment::ParamLength() const { do void Ifc4x1::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X1_types[868]); } -void Ifc4x1::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x1::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x1::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[868]); } +void Ifc4x1::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x1::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x1::IfcRepresentationContext Ifc4x1::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcRepresentationContext>(); } @@ -12708,11 +12708,11 @@ void Ifc4x1::IfcRepresentation::setRepresentationType(const std::optional< std:: std::vector< ::Ifc4x1::IfcRepresentationItem > Ifc4x1::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x1::IfcRepresentationItem>(es); } void Ifc4x1::IfcRepresentation::setItems(const std::vector< ::Ifc4x1::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x1::IfcRepresentationMap> Ifc4x1::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[872], 1)); } -std::vector<::Ifc4x1::IfcPresentationLayerAssignment> Ifc4x1::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[720], 2)); } -std::vector<::Ifc4x1::IfcProductRepresentation> Ifc4x1::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[733], 2)); } +std::vector<::Ifc4x1::IfcRepresentationMap> Ifc4x1::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[872], 1)); } +std::vector<::Ifc4x1::IfcPresentationLayerAssignment> Ifc4x1::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[720], 2)); } +std::vector<::Ifc4x1::IfcProductRepresentation> Ifc4x1::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[733], 2)); } -const IfcParse::entity& Ifc4x1::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X1_types[869]); } +const ifcopenshell::entity& Ifc4x1::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[869]); } void Ifc4x1::IfcRepresentation::initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -12721,17 +12721,17 @@ void Ifc4x1::IfcRepresentationContext::setContextIdentifier(const std::optional< std::optional< std::string > Ifc4x1::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x1::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x1::IfcRepresentation> Ifc4x1::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[869], 0)); } +std::vector<::Ifc4x1::IfcRepresentation> Ifc4x1::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[869], 0)); } -const IfcParse::entity& Ifc4x1::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X1_types[870]); } +const ifcopenshell::entity& Ifc4x1::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X1_types[870]); } void Ifc4x1::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x1::IfcPresentationLayerAssignment> Ifc4x1::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[720], 2)); } -std::vector<::Ifc4x1::IfcStyledItem> Ifc4x1::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[1019], 0)); } +std::vector<::Ifc4x1::IfcPresentationLayerAssignment> Ifc4x1::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[720], 2)); } +std::vector<::Ifc4x1::IfcStyledItem> Ifc4x1::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[1019], 0)); } -const IfcParse::entity& Ifc4x1::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X1_types[871]); } +const ifcopenshell::entity& Ifc4x1::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[871]); } void Ifc4x1::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -12740,10 +12740,10 @@ void Ifc4x1::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x1::IfcAxis2Plac ::Ifc4x1::IfcRepresentation Ifc4x1::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x1::IfcRepresentation>(); } void Ifc4x1::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x1::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x1::IfcShapeAspect> Ifc4x1::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[915], 4)); } -std::vector<::Ifc4x1::IfcMappedItem> Ifc4x1::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[570], 0)); } +std::vector<::Ifc4x1::IfcShapeAspect> Ifc4x1::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[915], 4)); } +std::vector<::Ifc4x1::IfcMappedItem> Ifc4x1::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[570], 0)); } -const IfcParse::entity& Ifc4x1::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X1_types[872]); } +const ifcopenshell::entity& Ifc4x1::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X1_types[872]); } void Ifc4x1::IfcRepresentationMap::initialize(::Ifc4x1::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x1::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -12752,9 +12752,9 @@ void Ifc4x1::IfcResource::setIdentification(const std::optional< std::string >& std::optional< std::string > Ifc4x1::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x1::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x1::IfcRelAssignsToResource> Ifc4x1::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[828], 6)); } +std::vector<::Ifc4x1::IfcRelAssignsToResource> Ifc4x1::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[828], 6)); } -const IfcParse::entity& Ifc4x1::IfcResource::Class() { return *((IfcParse::entity*)IFC4X1_types[873]); } +const ifcopenshell::entity& Ifc4x1::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[873]); } void Ifc4x1::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -12764,7 +12764,7 @@ void Ifc4x1::IfcResourceApprovalRelationship::setRelatedResourceObjects(const st void Ifc4x1::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x1::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[874]); } +const ifcopenshell::entity& Ifc4x1::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[874]); } void Ifc4x1::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x1::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -12774,7 +12774,7 @@ std::vector< ::Ifc4x1::IfcResourceObjectSelect > Ifc4x1::IfcResourceConstraintRe void Ifc4x1::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[875]); } +const ifcopenshell::entity& Ifc4x1::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[875]); } void Ifc4x1::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -12784,7 +12784,7 @@ std::optional< std::string > Ifc4x1::IfcResourceLevelRelationship::Description() void Ifc4x1::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x1::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X1_types[876]); } +const ifcopenshell::entity& Ifc4x1::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X1_types[876]); } void Ifc4x1::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -12820,8 +12820,8 @@ std::optional< double > Ifc4x1::IfcResourceTime::Completion() const { if(get_att void Ifc4x1::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x1::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X1_types[879]); } -void Ifc4x1::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X1_types[879]); } +void Ifc4x1::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x1::IfcAxis1Placement Ifc4x1::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcAxis1Placement>(); } @@ -12830,7 +12830,7 @@ double Ifc4x1::IfcRevolvedAreaSolid::Angle() const { double v = get_attribute_v void Ifc4x1::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X1_types[880]); } +const ifcopenshell::entity& Ifc4x1::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[880]); } void Ifc4x1::IfcRevolvedAreaSolid::initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -12838,7 +12838,7 @@ void Ifc4x1::IfcRevolvedAreaSolid::initialize(::Ifc4x1::IfcProfileDef v1_SweptAr void Ifc4x1::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X1_types[881]); } +const ifcopenshell::entity& Ifc4x1::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X1_types[881]); } void Ifc4x1::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -12848,7 +12848,7 @@ double Ifc4x1::IfcRightCircularCone::BottomRadius() const { double v = get_attr void Ifc4x1::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X1_types[882]); } +const ifcopenshell::entity& Ifc4x1::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X1_types[882]); } void Ifc4x1::IfcRightCircularCone::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -12858,24 +12858,24 @@ double Ifc4x1::IfcRightCircularCylinder::Radius() const { double v = get_attrib void Ifc4x1::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X1_types[883]); } +const ifcopenshell::entity& Ifc4x1::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X1_types[883]); } void Ifc4x1::IfcRightCircularCylinder::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoof std::optional< ::Ifc4x1::IfcRoofTypeEnum::Value > Ifc4x1::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x1::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x1::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X1_types[885]); } -void Ifc4x1::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X1_types[885]); } +void Ifc4x1::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x1::IfcRoofTypeEnum::Value Ifc4x1::IfcRoofType::PredefinedType() const { return ::Ifc4x1::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcRoofType::setPredefinedType(const ::Ifc4x1::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcRoofType::setPredefinedType(const ::Ifc4x1::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X1_types[886]); } -void Ifc4x1::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[886]); } +void Ifc4x1::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x1::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -12888,7 +12888,7 @@ std::optional< std::string > Ifc4x1::IfcRoot::Description() const { if(get_attri void Ifc4x1::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X1_types[888]); } +const ifcopenshell::entity& Ifc4x1::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X1_types[888]); } void Ifc4x1::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -12896,64 +12896,64 @@ double Ifc4x1::IfcRoundedRectangleProfileDef::RoundingRadius() const { double v void Ifc4x1::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[893]); } -void Ifc4x1::IfcRoundedRectangleProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x1::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[893]); } +void Ifc4x1::IfcRoundedRectangleProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x1::IfcSIPrefix::Value > Ifc4x1::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x1::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x1::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x1::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x1::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x1::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x1::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x1::IfcSIUnitName::Value Ifc4x1::IfcSIUnit::Name() const { return ::Ifc4x1::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x1::IfcSIUnit::setName(const ::Ifc4x1::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x1::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x1::IfcSIUnit::setName(const ::Ifc4x1::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x1::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X1_types[927]); } -void Ifc4x1::IfcSIUnit::initialize(::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x1::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x1::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4x1::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X1_types[927]); } +void Ifc4x1::IfcSIUnit::initialize(::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x1::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x1::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value > Ifc4x1::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X1_types[894]); } -void Ifc4x1::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X1_types[894]); } +void Ifc4x1::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value Ifc4x1::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X1_types[895]); } -void Ifc4x1::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[895]); } +void Ifc4x1::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x1::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x1::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > Ifc4x1::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x1::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x1::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x1::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x1::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x1::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x1::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X1_types[897]); } -void Ifc4x1::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4x1::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X1_types[897]); } +void Ifc4x1::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x1::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[898]); } -void Ifc4x1::IfcSeamCurve::initialize(::Ifc4x1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x1::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[898]); } +void Ifc4x1::IfcSeamCurve::initialize(::Ifc4x1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSectionProperties ::Ifc4x1::IfcSectionTypeEnum::Value Ifc4x1::IfcSectionProperties::SectionType() const { return ::Ifc4x1::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x1::IfcSectionProperties::setSectionType(const ::Ifc4x1::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x1::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x1::IfcSectionProperties::setSectionType(const ::Ifc4x1::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x1::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x1::IfcProfileDef Ifc4x1::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x1::IfcProfileDef>(); } void Ifc4x1::IfcSectionProperties::setStartProfile(const ::Ifc4x1::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x1::IfcProfileDef Ifc4x1::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x1::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcProfileDef>(); } void Ifc4x1::IfcSectionProperties::setEndProfile(const ::Ifc4x1::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[904]); } -void Ifc4x1::IfcSectionProperties::initialize(::Ifc4x1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x1::IfcProfileDef v2_StartProfile, ::Ifc4x1::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x1::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[904]); } +void Ifc4x1::IfcSectionProperties::initialize(::Ifc4x1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x1::IfcProfileDef v2_StartProfile, ::Ifc4x1::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x1::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -12963,15 +12963,15 @@ void Ifc4x1::IfcSectionReinforcementProperties::setLongitudinalEndPosition(const std::optional< double > Ifc4x1::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x1::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x1::IfcReinforcingBarRoleEnum::Value Ifc4x1::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x1::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x1::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x1::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x1::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x1::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x1::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x1::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x1::IfcSectionProperties Ifc4x1::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcSectionProperties>(); } void Ifc4x1::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x1::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x1::IfcReinforcementBarProperties > Ifc4x1::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x1::IfcReinforcementBarProperties>(es); } void Ifc4x1::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x1::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[905]); } -void Ifc4x1::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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(&::Ifc4x1::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x1::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[905]); } +void Ifc4x1::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x1::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x1::IfcCurve Ifc4x1::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcCurve>(); } @@ -12980,7 +12980,7 @@ std::vector< ::Ifc4x1::IfcProfileDef > Ifc4x1::IfcSectionedSolid::CrossSections( void Ifc4x1::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x1::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X1_types[900]); } +const ifcopenshell::entity& Ifc4x1::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[900]); } void Ifc4x1::IfcSectionedSolid::initialize(::Ifc4x1::IfcCurve v1_Directrix, std::vector< ::Ifc4x1::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -12990,7 +12990,7 @@ bool Ifc4x1::IfcSectionedSolidHorizontal::FixedAxisVertical() const { bool v = void Ifc4x1::IfcSectionedSolidHorizontal::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X1_types[901]); } +const ifcopenshell::entity& Ifc4x1::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X1_types[901]); } void Ifc4x1::IfcSectionedSolidHorizontal::initialize(::Ifc4x1::IfcCurve v1_Directrix, std::vector< ::Ifc4x1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x1::IfcDistanceExpression > v3_CrossSectionPositions, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSectionedSpine @@ -13002,40 +13002,40 @@ std::vector< ::Ifc4x1::IfcAxis2Placement3D > Ifc4x1::IfcSectionedSpine::CrossSec void Ifc4x1::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x1::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X1_types[902]); } +const ifcopenshell::entity& Ifc4x1::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X1_types[902]); } void Ifc4x1::IfcSectionedSpine::initialize(::Ifc4x1::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x1::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSensor std::optional< ::Ifc4x1::IfcSensorTypeEnum::Value > Ifc4x1::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x1::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x1::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X1_types[908]); } -void Ifc4x1::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X1_types[908]); } +void Ifc4x1::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x1::IfcSensorTypeEnum::Value Ifc4x1::IfcSensorType::PredefinedType() const { return ::Ifc4x1::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSensorType::setPredefinedType(const ::Ifc4x1::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcSensorType::setPredefinedType(const ::Ifc4x1::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X1_types[909]); } -void Ifc4x1::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[909]); } +void Ifc4x1::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x1::IfcShadingDeviceTypeEnum::Value > Ifc4x1::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[912]); } -void Ifc4x1::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[912]); } +void Ifc4x1::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x1::IfcShadingDeviceTypeEnum::Value Ifc4x1::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x1::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x1::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[913]); } -void Ifc4x1::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[913]); } +void Ifc4x1::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x1::IfcShapeModel > Ifc4x1::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcShapeModel>(es); } @@ -13049,22 +13049,22 @@ void Ifc4x1::IfcShapeAspect::setProductDefinitional(const boost::logic::tribool& ::Ifc4x1::IfcProductRepresentationSelect Ifc4x1::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x1::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x1::IfcProductRepresentationSelect>(); } void Ifc4x1::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x1::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } -const IfcParse::entity& Ifc4x1::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X1_types[915]); } +const ifcopenshell::entity& Ifc4x1::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X1_types[915]); } void Ifc4x1::IfcShapeAspect::initialize(std::vector< ::Ifc4x1::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x1::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x1::IfcShapeAspect> Ifc4x1::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[915], 0)); } +std::vector<::Ifc4x1::IfcShapeAspect> Ifc4x1::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[915], 0)); } -const IfcParse::entity& Ifc4x1::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X1_types[916]); } +const ifcopenshell::entity& Ifc4x1::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[916]); } void Ifc4x1::IfcShapeModel::initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x1::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X1_types[917]); } +const ifcopenshell::entity& Ifc4x1::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[917]); } void Ifc4x1::IfcShapeRepresentation::initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -13072,18 +13072,18 @@ std::vector< ::Ifc4x1::IfcShell > Ifc4x1::IfcShellBasedSurfaceModel::SbsmBoundar void Ifc4x1::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x1::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X1_types[920]); } +const ifcopenshell::entity& Ifc4x1::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[920]); } void Ifc4x1::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x1::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x1::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X1_types[921]); } +const ifcopenshell::entity& Ifc4x1::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X1_types[921]); } void Ifc4x1::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x1::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x1::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x1::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x1::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x1::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -13097,11 +13097,11 @@ void Ifc4x1::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x1::IfcUnit std::optional< std::string > Ifc4x1::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x1::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x1::IfcStateEnum::Value > Ifc4x1::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x1::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x1::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X1_types[922]); } -void Ifc4x1::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x1::IfcUnit v9_PrimaryUnit, ::Ifc4x1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x1::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4x1::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4x1::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X1_types[922]); } +void Ifc4x1::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x1::IfcUnit v9_PrimaryUnit, ::Ifc4x1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x1::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x1::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSite std::optional< std::vector< int > /*[3:4]*/ > Ifc4x1::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } @@ -13116,36 +13116,36 @@ void Ifc4x1::IfcSite::setLandTitleNumber(const std::optional< std::string >& v) void Ifc4x1::IfcSite::setSiteAddress(const ::Ifc4x1::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x1::IfcSite::Class() { return *((IfcParse::entity*)IFC4X1_types[926]); } -void Ifc4x1::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x1::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::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)); } +const ifcopenshell::entity& Ifc4x1::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X1_types[926]); } +void Ifc4x1::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x1::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > Ifc4x1::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X1_types[930]); } -void Ifc4x1::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X1_types[930]); } +void Ifc4x1::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabElementedCase -const IfcParse::entity& Ifc4x1::IfcSlabElementedCase::Class() { return *((IfcParse::entity*)IFC4X1_types[931]); } -void Ifc4x1::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSlabElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[931]); } +void Ifc4x1::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabStandardCase -const IfcParse::entity& Ifc4x1::IfcSlabStandardCase::Class() { return *((IfcParse::entity*)IFC4X1_types[932]); } -void Ifc4x1::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSlabStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[932]); } +void Ifc4x1::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x1::IfcSlabTypeEnum::Value Ifc4x1::IfcSlabType::PredefinedType() const { return ::Ifc4x1::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSlabType::setPredefinedType(const ::Ifc4x1::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcSlabType::setPredefinedType(const ::Ifc4x1::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X1_types[933]); } -void Ifc4x1::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[933]); } +void Ifc4x1::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x1::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -13156,78 +13156,78 @@ std::optional< double > Ifc4x1::IfcSlippageConnectionCondition::SlippageZ() cons void Ifc4x1::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X1_types[935]); } +const ifcopenshell::entity& Ifc4x1::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[935]); } void Ifc4x1::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x1::IfcSolarDeviceTypeEnum::Value > Ifc4x1::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[936]); } -void Ifc4x1::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[936]); } +void Ifc4x1::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x1::IfcSolarDeviceTypeEnum::Value Ifc4x1::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x1::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x1::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[937]); } -void Ifc4x1::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[937]); } +void Ifc4x1::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x1::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X1_types[940]); } +const ifcopenshell::entity& Ifc4x1::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[940]); } void Ifc4x1::IfcSolidModel::initialize() { } // Function implementations for IfcSpace std::optional< ::Ifc4x1::IfcSpaceTypeEnum::Value > Ifc4x1::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x1::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x1::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x1::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x1::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x1::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x1::IfcRelCoversSpaces> Ifc4x1::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[848], 4)); } -std::vector<::Ifc4x1::IfcRelSpaceBoundary> Ifc4x1::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[864], 4)); } +std::vector<::Ifc4x1::IfcRelCoversSpaces> Ifc4x1::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[848], 4)); } +std::vector<::Ifc4x1::IfcRelSpaceBoundary> Ifc4x1::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[864], 4)); } -const IfcParse::entity& Ifc4x1::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X1_types[946]); } -void Ifc4x1::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4x1::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X1_types[946]); } +void Ifc4x1::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value > Ifc4x1::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X1_types[948]); } -void Ifc4x1::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X1_types[948]); } +void Ifc4x1::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value Ifc4x1::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X1_types[949]); } -void Ifc4x1::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[949]); } +void Ifc4x1::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x1::IfcSpaceTypeEnum::Value Ifc4x1::IfcSpaceType::PredefinedType() const { return ::Ifc4x1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSpaceType::setPredefinedType(const ::Ifc4x1::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcSpaceType::setPredefinedType(const ::Ifc4x1::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x1::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x1::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X1_types[951]); } -void Ifc4x1::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x1::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[951]); } +void Ifc4x1::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x1::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x1::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x1::IfcRelContainedInSpatialStructure> Ifc4x1::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[846], 5)); } -std::vector<::Ifc4x1::IfcRelServicesBuildings> Ifc4x1::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[863], 5)); } -std::vector<::Ifc4x1::IfcRelReferencedInSpatialStructure> Ifc4x1::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[861], 5)); } +std::vector<::Ifc4x1::IfcRelContainedInSpatialStructure> Ifc4x1::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[846], 5)); } +std::vector<::Ifc4x1::IfcRelServicesBuildings> Ifc4x1::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[863], 5)); } +std::vector<::Ifc4x1::IfcRelReferencedInSpatialStructure> Ifc4x1::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[861], 5)); } -const IfcParse::entity& Ifc4x1::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X1_types[953]); } +const ifcopenshell::entity& Ifc4x1::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[953]); } void Ifc4x1::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -13235,47 +13235,47 @@ std::optional< std::string > Ifc4x1::IfcSpatialElementType::ElementType() const void Ifc4x1::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[954]); } +const ifcopenshell::entity& Ifc4x1::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[954]); } void Ifc4x1::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > Ifc4x1::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X1_types[955]); } -void Ifc4x1::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[955]); } +void Ifc4x1::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x1::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[956]); } +const ifcopenshell::entity& Ifc4x1::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[956]); } void Ifc4x1::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x1::IfcSpatialZoneTypeEnum::Value > Ifc4x1::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x1::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x1::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X1_types[957]); } -void Ifc4x1::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X1_types[957]); } +void Ifc4x1::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x1::IfcSpatialZoneTypeEnum::Value Ifc4x1::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x1::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x1::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x1::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x1::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X1_types[958]); } -void Ifc4x1::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x1::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[958]); } +void Ifc4x1::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x1::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x1::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X1_types[964]); } +const ifcopenshell::entity& Ifc4x1::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X1_types[964]); } void Ifc4x1::IfcSphere::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -13283,32 +13283,32 @@ double Ifc4x1::IfcSphericalSurface::Radius() const { double v = get_attribute_v void Ifc4x1::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[965]); } +const ifcopenshell::entity& Ifc4x1::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[965]); } void Ifc4x1::IfcSphericalSurface::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x1::IfcStackTerminalTypeEnum::Value > Ifc4x1::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X1_types[966]); } -void Ifc4x1::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X1_types[966]); } +void Ifc4x1::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x1::IfcStackTerminalTypeEnum::Value Ifc4x1::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcStackTerminalType::setPredefinedType(const ::Ifc4x1::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcStackTerminalType::setPredefinedType(const ::Ifc4x1::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X1_types[967]); } -void Ifc4x1::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[967]); } +void Ifc4x1::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x1::IfcStairTypeEnum::Value > Ifc4x1::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcStair::setPredefinedType(const std::optional< ::Ifc4x1::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcStair::setPredefinedType(const std::optional< ::Ifc4x1::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcStair::Class() { return *((IfcParse::entity*)IFC4X1_types[969]); } -void Ifc4x1::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X1_types[969]); } +void Ifc4x1::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x1::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -13320,50 +13320,50 @@ void Ifc4x1::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { std::optional< double > Ifc4x1::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x1::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x1::IfcStairFlightTypeEnum::Value > Ifc4x1::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x1::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x1::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x1::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x1::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x1::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X1_types[970]); } -void Ifc4x1::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x1::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X1_types[970]); } +void Ifc4x1::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x1::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x1::IfcStairFlightTypeEnum::Value Ifc4x1::IfcStairFlightType::PredefinedType() const { return ::Ifc4x1::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcStairFlightType::setPredefinedType(const ::Ifc4x1::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcStairFlightType::setPredefinedType(const ::Ifc4x1::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X1_types[971]); } -void Ifc4x1::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[971]); } +void Ifc4x1::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x1::IfcStairTypeEnum::Value Ifc4x1::IfcStairType::PredefinedType() const { return ::Ifc4x1::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcStairType::setPredefinedType(const ::Ifc4x1::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcStairType::setPredefinedType(const ::Ifc4x1::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X1_types[973]); } -void Ifc4x1::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[973]); } +void Ifc4x1::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x1::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x1::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X1_types[976]); } -void Ifc4x1::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x1::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[976]); } +void Ifc4x1::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x1::IfcStructuralLoad Ifc4x1::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x1::IfcStructuralLoad>(); } void Ifc4x1::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x1::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x1::IfcGlobalOrLocalEnum::Value Ifc4x1::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x1::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x1::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x1::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x1::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x1::IfcRelConnectsStructuralActivity> Ifc4x1::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[842], 5)); } +std::vector<::Ifc4x1::IfcRelConnectsStructuralActivity> Ifc4x1::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[842], 5)); } -const IfcParse::entity& Ifc4x1::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X1_types[977]); } -void Ifc4x1::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X1_types[977]); } +void Ifc4x1::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x1::IfcAnalysisModelTypeEnum::Value Ifc4x1::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x1::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x1::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x1::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x1::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x1::IfcAxis2Placement3D Ifc4x1::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcAxis2Placement3D>(); } void Ifc4x1::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x1::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x1::IfcStructuralLoadGroup > > Ifc4x1::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x1::IfcStructuralLoadGroup>(es); } @@ -13374,16 +13374,16 @@ void Ifc4x1::IfcStructuralAnalysisModel::setHasResults(const std::optional< std: void Ifc4x1::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x1::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X1_types[979]); } -void Ifc4x1::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x1::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4x1::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[979]); } +void Ifc4x1::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x1::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x1::IfcBoundaryCondition Ifc4x1::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x1::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x1::IfcBoundaryCondition>(); } void Ifc4x1::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x1::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x1::IfcRelConnectsStructuralMember> Ifc4x1::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[843], 5)); } +std::vector<::Ifc4x1::IfcRelConnectsStructuralMember> Ifc4x1::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[843], 5)); } -const IfcParse::entity& Ifc4x1::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X1_types[980]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X1_types[980]); } void Ifc4x1::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -13391,70 +13391,70 @@ std::optional< std::string > Ifc4x1::IfcStructuralConnectionCondition::Name() co void Ifc4x1::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x1::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X1_types[981]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X1_types[981]); } void Ifc4x1::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x1::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x1::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x1::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X1_types[982]); } -void Ifc4x1::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[982]); } +void Ifc4x1::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x1::IfcDirection Ifc4x1::IfcStructuralCurveConnection::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x1::IfcDirection>(); } void Ifc4x1::IfcStructuralCurveConnection::setAxis(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X1_types[984]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X1_types[984]); } void Ifc4x1::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x1::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x1::IfcDirection Ifc4x1::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x1::IfcDirection>(); } void Ifc4x1::IfcStructuralCurveMember::setAxis(const ::Ifc4x1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X1_types[985]); } -void Ifc4x1::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X1_types[985]); } +void Ifc4x1::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x1::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X1_types[987]); } -void Ifc4x1::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X1_types[987]); } +void Ifc4x1::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x1::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X1_types[988]); } -void Ifc4x1::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[988]); } +void Ifc4x1::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x1::IfcRelConnectsStructuralActivity> Ifc4x1::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[842], 4)); } +std::vector<::Ifc4x1::IfcRelConnectsStructuralActivity> Ifc4x1::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[842], 4)); } -const IfcParse::entity& Ifc4x1::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X1_types[989]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[989]); } void Ifc4x1::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x1::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X1_types[990]); } -void Ifc4x1::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[990]); } +void Ifc4x1::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x1::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x1::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X1_types[991]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X1_types[991]); } void Ifc4x1::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -13462,8 +13462,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x1::IfcStructuralLoadCase:: void Ifc4x1::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X1_types[992]); } -void Ifc4x1::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4x1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[992]); } +void Ifc4x1::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x1::IfcStructuralLoadOrResult > Ifc4x1::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x1::IfcStructuralLoadOrResult>(es); } @@ -13472,26 +13472,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x1::IfcStructuralLoadC void Ifc4x1::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X1_types[993]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X1_types[993]); } void Ifc4x1::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x1::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x1::IfcLoadGroupTypeEnum::Value Ifc4x1::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x1::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x1::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x1::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x1::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x1::IfcActionTypeEnum::Value Ifc4x1::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x1::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x1::IfcStructuralLoadGroup::setActionType(const ::Ifc4x1::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x1::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x1::IfcStructuralLoadGroup::setActionType(const ::Ifc4x1::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x1::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x1::IfcActionSourceTypeEnum::Value Ifc4x1::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x1::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x1::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x1::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x1::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x1::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x1::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x1::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x1::IfcStructuralResultGroup> Ifc4x1::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[1010], 6)); } -std::vector<::Ifc4x1::IfcStructuralAnalysisModel> Ifc4x1::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[979], 7)); } +std::vector<::Ifc4x1::IfcStructuralResultGroup> Ifc4x1::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[1010], 6)); } +std::vector<::Ifc4x1::IfcStructuralAnalysisModel> Ifc4x1::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[979], 7)); } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X1_types[994]); } -void Ifc4x1::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4x1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X1_types[994]); } +void Ifc4x1::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x1::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -13508,13 +13508,13 @@ std::optional< double > Ifc4x1::IfcStructuralLoadLinearForce::LinearMomentZ() co void Ifc4x1::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X1_types[995]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X1_types[995]); } void Ifc4x1::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x1::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X1_types[996]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X1_types[996]); } void Ifc4x1::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -13526,7 +13526,7 @@ std::optional< double > Ifc4x1::IfcStructuralLoadPlanarForce::PlanarForceZ() con void Ifc4x1::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X1_types[997]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X1_types[997]); } void Ifc4x1::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -13544,7 +13544,7 @@ std::optional< double > Ifc4x1::IfcStructuralLoadSingleDisplacement::RotationalD void Ifc4x1::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X1_types[998]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[998]); } void Ifc4x1::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -13552,7 +13552,7 @@ std::optional< double > Ifc4x1::IfcStructuralLoadSingleDisplacementDistortion::D void Ifc4x1::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X1_types[999]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X1_types[999]); } void Ifc4x1::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -13570,7 +13570,7 @@ std::optional< double > Ifc4x1::IfcStructuralLoadSingleForce::MomentZ() const { void Ifc4x1::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X1_types[1000]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1000]); } void Ifc4x1::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -13578,13 +13578,13 @@ std::optional< double > Ifc4x1::IfcStructuralLoadSingleForceWarping::WarpingMome void Ifc4x1::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X1_types[1001]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1001]); } void Ifc4x1::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x1::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X1_types[1002]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1002]); } void Ifc4x1::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -13596,105 +13596,105 @@ std::optional< double > Ifc4x1::IfcStructuralLoadTemperature::DeltaTZ() const { void Ifc4x1::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X1_types[1003]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1003]); } void Ifc4x1::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x1::IfcRelConnectsStructuralMember> Ifc4x1::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[843], 4)); } +std::vector<::Ifc4x1::IfcRelConnectsStructuralMember> Ifc4x1::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[843], 4)); } -const IfcParse::entity& Ifc4x1::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X1_types[1004]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1004]); } void Ifc4x1::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x1::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X1_types[1005]); } -void Ifc4x1::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1005]); } +void Ifc4x1::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x1::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X1_types[1006]); } -void Ifc4x1::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x1::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1006]); } +void Ifc4x1::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x1::IfcAxis2Placement3D Ifc4x1::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x1::IfcAxis2Placement3D>(); } void Ifc4x1::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x1::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X1_types[1007]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1007]); } void Ifc4x1::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x1::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x1::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X1_types[1008]); } -void Ifc4x1::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1008]); } +void Ifc4x1::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x1::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X1_types[1009]); } -void Ifc4x1::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1009]); } +void Ifc4x1::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x1::IfcAnalysisTheoryTypeEnum::Value Ifc4x1::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x1::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x1::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x1::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x1::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x1::IfcStructuralLoadGroup Ifc4x1::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x1::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x1::IfcStructuralLoadGroup>(); } void Ifc4x1::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x1::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x1::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x1::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x1::IfcStructuralAnalysisModel> Ifc4x1::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[979], 8)); } +std::vector<::Ifc4x1::IfcStructuralAnalysisModel> Ifc4x1::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[979], 8)); } -const IfcParse::entity& Ifc4x1::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X1_types[1010]); } -void Ifc4x1::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4x1::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1010]); } +void Ifc4x1::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x1::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x1::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x1::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X1_types[1011]); } -void Ifc4x1::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1011]); } +void Ifc4x1::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x1::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X1_types[1013]); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1013]); } void Ifc4x1::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x1::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x1::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x1::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X1_types[1014]); } -void Ifc4x1::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x1::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1014]); } +void Ifc4x1::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x1::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X1_types[1016]); } -void Ifc4x1::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x1::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1016]); } +void Ifc4x1::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x1::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X1_types[1017]); } -void Ifc4x1::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1017]); } +void Ifc4x1::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x1::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X1_types[1021]); } +const ifcopenshell::entity& Ifc4x1::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1021]); } void Ifc4x1::IfcStyleModel::initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -13706,43 +13706,43 @@ std::optional< std::string > Ifc4x1::IfcStyledItem::Name() const { if(get_attrib void Ifc4x1::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X1_types[1019]); } +const ifcopenshell::entity& Ifc4x1::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1019]); } void Ifc4x1::IfcStyledItem::initialize(::Ifc4x1::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x1::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x1::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X1_types[1020]); } +const ifcopenshell::entity& Ifc4x1::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1020]); } void Ifc4x1::IfcStyledRepresentation::initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x1::IfcSubContractResourceTypeEnum::Value > Ifc4x1::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x1::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X1_types[1022]); } -void Ifc4x1::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1022]); } +void Ifc4x1::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x1::IfcSubContractResourceTypeEnum::Value Ifc4x1::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x1::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x1::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x1::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X1_types[1023]); } -void Ifc4x1::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1023]); } +void Ifc4x1::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x1::IfcEdge Ifc4x1::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcEdge>(); } void Ifc4x1::IfcSubedge::setParentEdge(const ::Ifc4x1::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X1_types[1025]); } +const ifcopenshell::entity& Ifc4x1::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1025]); } void Ifc4x1::IfcSubedge::initialize(::Ifc4x1::IfcVertex v1_EdgeStart, ::Ifc4x1::IfcVertex v2_EdgeEnd, ::Ifc4x1::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x1::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[1026]); } +const ifcopenshell::entity& Ifc4x1::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1026]); } void Ifc4x1::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -13751,11 +13751,11 @@ void Ifc4x1::IfcSurfaceCurve::setCurve3D(const ::Ifc4x1::IfcCurve& v) { set_attr std::vector< ::Ifc4x1::IfcPcurve > Ifc4x1::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x1::IfcPcurve>(es); } void Ifc4x1::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x1::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x1::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x1::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x1::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[1027]); } -void Ifc4x1::IfcSurfaceCurve::initialize(::Ifc4x1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1027]); } +void Ifc4x1::IfcSurfaceCurve::initialize(::Ifc4x1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x1::IfcCurve Ifc4x1::IfcSurfaceCurveSweptAreaSolid::Directrix() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcCurve>(); } @@ -13768,16 +13768,16 @@ void Ifc4x1::IfcSurfaceCurveSweptAreaSolid::setEndParam(const std::optional< dou void Ifc4x1::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x1::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X1_types[1028]); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1028]); } void Ifc4x1::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x1::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix)); if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x1::IfcSurfaceFeatureTypeEnum::Value > Ifc4x1::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x1::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x1::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X1_types[1029]); } -void Ifc4x1::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1029]); } +void Ifc4x1::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x1::IfcDirection Ifc4x1::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x1::IfcDirection>(); } @@ -13786,7 +13786,7 @@ double Ifc4x1::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_attr void Ifc4x1::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X1_types[1031]); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1031]); } void Ifc4x1::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x1::IfcProfileDef v1_SweptCurve, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -13794,7 +13794,7 @@ void Ifc4x1::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x1::IfcProfileDef v1_ void Ifc4x1::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x1::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X1_types[1032]); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1032]); } void Ifc4x1::IfcSurfaceOfRevolution::initialize(::Ifc4x1::IfcProfileDef v1_SweptCurve, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -13806,18 +13806,18 @@ std::optional< double > Ifc4x1::IfcSurfaceReinforcementArea::ShearReinforcement( void Ifc4x1::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x1::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X1_types[1034]); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1034]); } void Ifc4x1::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x1::IfcSurfaceSide::Value Ifc4x1::IfcSurfaceStyle::Side() const { return ::Ifc4x1::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x1::IfcSurfaceStyle::setSide(const ::Ifc4x1::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x1::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x1::IfcSurfaceStyle::setSide(const ::Ifc4x1::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x1::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x1::IfcSurfaceStyleElementSelect > Ifc4x1::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x1::IfcSurfaceStyleElementSelect>(es); } void Ifc4x1::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x1::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[1036]); } -void Ifc4x1::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x1::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1036]); } +void Ifc4x1::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x1::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x1::IfcColourRgb Ifc4x1::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcColourRgb>(); } @@ -13830,7 +13830,7 @@ void Ifc4x1::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x1::IfcC void Ifc4x1::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x1::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x1::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X1_types[1038]); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1038]); } void Ifc4x1::IfcSurfaceStyleLighting::initialize(::Ifc4x1::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x1::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x1::IfcColourRgb v3_TransmissionColour, ::Ifc4x1::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -13840,7 +13840,7 @@ std::optional< double > Ifc4x1::IfcSurfaceStyleRefraction::DispersionFactor() co void Ifc4x1::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x1::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X1_types[1039]); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1039]); } void Ifc4x1::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -13857,11 +13857,11 @@ void Ifc4x1::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x1::IfcColo ::Ifc4x1::IfcSpecularHighlightSelect Ifc4x1::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x1::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x1::IfcSpecularHighlightSelect>(); } void Ifc4x1::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x1::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x1::IfcReflectanceMethodEnum::Value Ifc4x1::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x1::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x1::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x1::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x1::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X1_types[1040]); } -void Ifc4x1::IfcSurfaceStyleRendering::initialize(::Ifc4x1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1040]); } +void Ifc4x1::IfcSurfaceStyleRendering::initialize(::Ifc4x1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x1::IfcColourRgb Ifc4x1::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcColourRgb>(); } @@ -13870,7 +13870,7 @@ std::optional< double > Ifc4x1::IfcSurfaceStyleShading::Transparency() const { i void Ifc4x1::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x1::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X1_types[1041]); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1041]); } void Ifc4x1::IfcSurfaceStyleShading::initialize(::Ifc4x1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -13878,7 +13878,7 @@ std::vector< ::Ifc4x1::IfcSurfaceTexture > Ifc4x1::IfcSurfaceStyleWithTextures:: void Ifc4x1::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X1_types[1042]); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1042]); } void Ifc4x1::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -13893,10 +13893,10 @@ void Ifc4x1::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x1::IfcCartesian std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x1::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x1::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x1::IfcTextureCoordinate> Ifc4x1::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[1091], 0)); } -std::vector<::Ifc4x1::IfcSurfaceStyleWithTextures> Ifc4x1::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[1042], 0)); } +std::vector<::Ifc4x1::IfcTextureCoordinate> Ifc4x1::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[1091], 0)); } +std::vector<::Ifc4x1::IfcSurfaceStyleWithTextures> Ifc4x1::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[1042], 0)); } -const IfcParse::entity& Ifc4x1::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X1_types[1043]); } +const ifcopenshell::entity& Ifc4x1::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1043]); } void Ifc4x1::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -13906,7 +13906,7 @@ void Ifc4x1::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x1::IfcProfileDef& v) { void Ifc4x1::IfcSweptAreaSolid::setPosition(const ::Ifc4x1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X1_types[1044]); } +const ifcopenshell::entity& Ifc4x1::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1044]); } void Ifc4x1::IfcSweptAreaSolid::initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -13922,7 +13922,7 @@ std::optional< double > Ifc4x1::IfcSweptDiskSolid::EndParam() const { if(get_att void Ifc4x1::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X1_types[1045]); } +const ifcopenshell::entity& Ifc4x1::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1045]); } void Ifc4x1::IfcSweptDiskSolid::initialize(::Ifc4x1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -13930,7 +13930,7 @@ std::optional< double > Ifc4x1::IfcSweptDiskSolidPolygonal::FilletRadius() const void Ifc4x1::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x1::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X1_types[1046]); } +const ifcopenshell::entity& Ifc4x1::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1046]); } void Ifc4x1::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -13940,47 +13940,47 @@ void Ifc4x1::IfcSweptSurface::setSweptCurve(const ::Ifc4x1::IfcProfileDef& v) { void Ifc4x1::IfcSweptSurface::setPosition(const ::Ifc4x1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[1047]); } +const ifcopenshell::entity& Ifc4x1::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1047]); } void Ifc4x1::IfcSweptSurface::initialize(::Ifc4x1::IfcProfileDef v1_SweptCurve, ::Ifc4x1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value > Ifc4x1::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X1_types[1048]); } -void Ifc4x1::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1048]); } +void Ifc4x1::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value Ifc4x1::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X1_types[1049]); } -void Ifc4x1::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1049]); } +void Ifc4x1::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x1::IfcRelServicesBuildings> Ifc4x1::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[863], 4)); } +std::vector<::Ifc4x1::IfcRelServicesBuildings> Ifc4x1::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[863], 4)); } -const IfcParse::entity& Ifc4x1::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X1_types[1051]); } +const ifcopenshell::entity& Ifc4x1::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1051]); } void Ifc4x1::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x1::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X1_types[1052]); } -void Ifc4x1::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1052]); } +void Ifc4x1::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x1::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x1::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[1053]); } -void Ifc4x1::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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(&::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1053]); } +void Ifc4x1::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x1::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -14003,8 +14003,8 @@ std::optional< double > Ifc4x1::IfcTShapeProfileDef::FlangeSlope() const { if(ge void Ifc4x1::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x1::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[1130]); } -void Ifc4x1::IfcTShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x1::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1130]); } +void Ifc4x1::IfcTShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x1::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -14015,7 +14015,7 @@ std::optional< std::vector< ::Ifc4x1::IfcTableColumn > > Ifc4x1::IfcTable::Colum void Ifc4x1::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x1::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcTable::Class() { return *((IfcParse::entity*)IFC4X1_types[1055]); } +const ifcopenshell::entity& Ifc4x1::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1055]); } void Ifc4x1::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x1::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x1::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -14031,7 +14031,7 @@ void Ifc4x1::IfcTableColumn::setUnit(const ::Ifc4x1::IfcUnit& v) { set_attribute void Ifc4x1::IfcTableColumn::setReferencePath(const ::Ifc4x1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X1_types[1056]); } +const ifcopenshell::entity& Ifc4x1::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1056]); } void Ifc4x1::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x1::IfcUnit v4_Unit, ::Ifc4x1::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -14041,24 +14041,24 @@ std::optional< bool > Ifc4x1::IfcTableRow::IsHeading() const { if(get_attribute_ void Ifc4x1::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x1::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X1_types[1057]); } +const ifcopenshell::entity& Ifc4x1::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1057]); } void Ifc4x1::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x1::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x1::IfcTankTypeEnum::Value > Ifc4x1::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcTank::setPredefinedType(const std::optional< ::Ifc4x1::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcTank::setPredefinedType(const std::optional< ::Ifc4x1::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcTank::Class() { return *((IfcParse::entity*)IFC4X1_types[1058]); } -void Ifc4x1::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1058]); } +void Ifc4x1::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x1::IfcTankTypeEnum::Value Ifc4x1::IfcTankType::PredefinedType() const { return ::Ifc4x1::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcTankType::setPredefinedType(const ::Ifc4x1::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcTankType::setPredefinedType(const ::Ifc4x1::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X1_types[1059]); } -void Ifc4x1::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1059]); } +void Ifc4x1::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x1::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -14072,15 +14072,15 @@ void Ifc4x1::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_a ::Ifc4x1::IfcTaskTime Ifc4x1::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x1::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x1::IfcTaskTime>(); } void Ifc4x1::IfcTask::setTaskTime(const ::Ifc4x1::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value > Ifc4x1::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x1::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x1::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x1::IfcTask::Class() { return *((IfcParse::entity*)IFC4X1_types[1061]); } -void Ifc4x1::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x1::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1061]); } +void Ifc4x1::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x1::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x1::IfcTaskDurationEnum::Value > Ifc4x1::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x1::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x1::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x1::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x1::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x1::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x1::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x1::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x1::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x1::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -14115,26 +14115,26 @@ std::optional< double > Ifc4x1::IfcTaskTime::Completion() const { if(get_attribu void Ifc4x1::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x1::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X1_types[1063]); } -void Ifc4x1::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1063]); } +void Ifc4x1::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x1::IfcRecurrencePattern Ifc4x1::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x1::IfcRecurrencePattern>(); } void Ifc4x1::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x1::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x1::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X1_types[1064]); } -void Ifc4x1::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x1::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x1::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)); } +const ifcopenshell::entity& Ifc4x1::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1064]); } +void Ifc4x1::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x1::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x1::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)); } // Function implementations for IfcTaskType ::Ifc4x1::IfcTaskTypeEnum::Value Ifc4x1::IfcTaskType::PredefinedType() const { return ::Ifc4x1::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcTaskType::setPredefinedType(const ::Ifc4x1::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcTaskType::setPredefinedType(const ::Ifc4x1::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x1::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x1::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x1::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X1_types[1065]); } -void Ifc4x1::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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(&::Ifc4x1::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4x1::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1065]); } +void Ifc4x1::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x1::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x1::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -14151,12 +14151,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x1::IfcTelecomAddress: void Ifc4x1::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X1_types[1067]); } -void Ifc4x1::IfcTelecomAddress::initialize(std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1067]); } +void Ifc4x1::IfcTelecomAddress::initialize(std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x1::IfcTendonTypeEnum::Value > Ifc4x1::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x1::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x1::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x1::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x1::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x1::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x1::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -14173,28 +14173,28 @@ std::optional< double > Ifc4x1::IfcTendon::MinCurvatureRadius() const { if(get_a void Ifc4x1::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x1::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X1_types[1070]); } -void Ifc4x1::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1070]); } +void Ifc4x1::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x1::IfcTendonAnchorTypeEnum::Value > Ifc4x1::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x1::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x1::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x1::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X1_types[1071]); } -void Ifc4x1::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1071]); } +void Ifc4x1::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x1::IfcTendonAnchorTypeEnum::Value Ifc4x1::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x1::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x1::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X1_types[1072]); } -void Ifc4x1::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1072]); } +void Ifc4x1::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x1::IfcTendonTypeEnum::Value Ifc4x1::IfcTendonType::PredefinedType() const { return ::Ifc4x1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcTendonType::setPredefinedType(const ::Ifc4x1::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcTendonType::setPredefinedType(const ::Ifc4x1::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x1::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x1::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x1::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -14203,23 +14203,23 @@ std::optional< double > Ifc4x1::IfcTendonType::SheathDiameter() const { if(get_a void Ifc4x1::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x1::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X1_types[1074]); } -void Ifc4x1::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::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)); } } +const ifcopenshell::entity& Ifc4x1::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1074]); } +void Ifc4x1::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x1::IfcCartesianPointList3D Ifc4x1::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcCartesianPointList3D>(); } void Ifc4x1::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x1::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x1::IfcIndexedColourMap> Ifc4x1::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[493], 0)); } -std::vector<::Ifc4x1::IfcIndexedTextureMap> Ifc4x1::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[497], 1)); } +std::vector<::Ifc4x1::IfcIndexedColourMap> Ifc4x1::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[493], 0)); } +std::vector<::Ifc4x1::IfcIndexedTextureMap> Ifc4x1::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[497], 1)); } -const IfcParse::entity& Ifc4x1::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X1_types[1076]); } +const ifcopenshell::entity& Ifc4x1::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1076]); } void Ifc4x1::IfcTessellatedFaceSet::initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x1::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X1_types[1077]); } +const ifcopenshell::entity& Ifc4x1::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1077]); } void Ifc4x1::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -14228,11 +14228,11 @@ void Ifc4x1::IfcTextLiteral::setLiteral(const std::string& v) { set_attribute_va ::Ifc4x1::IfcAxis2Placement Ifc4x1::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x1::IfcAxis2Placement>(); } void Ifc4x1::IfcTextLiteral::setPlacement(const ::Ifc4x1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x1::IfcTextPath::Value Ifc4x1::IfcTextLiteral::Path() const { return ::Ifc4x1::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x1::IfcTextLiteral::setPath(const ::Ifc4x1::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x1::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x1::IfcTextLiteral::setPath(const ::Ifc4x1::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x1::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X1_types[1083]); } -void Ifc4x1::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x1::IfcAxis2Placement v2_Placement, ::Ifc4x1::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x1::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1083]); } +void Ifc4x1::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x1::IfcAxis2Placement v2_Placement, ::Ifc4x1::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x1::IfcPlanarExtent Ifc4x1::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x1::IfcPlanarExtent>(); } @@ -14241,8 +14241,8 @@ std::string Ifc4x1::IfcTextLiteralWithExtent::BoxAlignment() const { std::strin void Ifc4x1::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X1_types[1084]); } -void Ifc4x1::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x1::IfcAxis2Placement v2_Placement, ::Ifc4x1::IfcTextPath::Value v3_Path, ::Ifc4x1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x1::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x1::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1084]); } +void Ifc4x1::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x1::IfcAxis2Placement v2_Placement, ::Ifc4x1::IfcTextPath::Value v3_Path, ::Ifc4x1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x1::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x1::IfcTextStyleForDefinedFont Ifc4x1::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x1::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x1::IfcTextStyleForDefinedFont>(); } @@ -14255,7 +14255,7 @@ std::optional< bool > Ifc4x1::IfcTextStyle::ModelOrDraughting() const { if(get_a void Ifc4x1::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[1086]); } +const ifcopenshell::entity& Ifc4x1::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1086]); } void Ifc4x1::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x1::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x1::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -14271,7 +14271,7 @@ void Ifc4x1::IfcTextStyleFontModel::setFontWeight(const std::optional< std::stri void Ifc4x1::IfcTextStyleFontModel::setFontSize(const ::Ifc4x1::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X1_types[1087]); } +const ifcopenshell::entity& Ifc4x1::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1087]); } void Ifc4x1::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x1::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -14281,7 +14281,7 @@ void Ifc4x1::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x1::IfcColour& v) void Ifc4x1::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x1::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X1_types[1088]); } +const ifcopenshell::entity& Ifc4x1::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1088]); } void Ifc4x1::IfcTextStyleForDefinedFont::initialize(::Ifc4x1::IfcColour v1_Colour, ::Ifc4x1::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -14301,7 +14301,7 @@ void Ifc4x1::IfcTextStyleTextModel::setTextTransform(const std::optional< std::s void Ifc4x1::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x1::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X1_types[1089]); } +const ifcopenshell::entity& Ifc4x1::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1089]); } void Ifc4x1::IfcTextStyleTextModel::initialize(::Ifc4x1::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x1::IfcSizeSelect v4_LetterSpacing, ::Ifc4x1::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x1::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -14309,7 +14309,7 @@ std::vector< ::Ifc4x1::IfcSurfaceTexture > Ifc4x1::IfcTextureCoordinate::Maps() void Ifc4x1::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X1_types[1091]); } +const ifcopenshell::entity& Ifc4x1::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1091]); } void Ifc4x1::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -14319,7 +14319,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x1::IfcTextureCoordinateGen void Ifc4x1::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x1::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X1_types[1092]); } +const ifcopenshell::entity& Ifc4x1::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1092]); } void Ifc4x1::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureMap @@ -14329,7 +14329,7 @@ void Ifc4x1::IfcTextureMap::setVertices(const std::vector< ::Ifc4x1::IfcTextureV void Ifc4x1::IfcTextureMap::setMappedTo(const ::Ifc4x1::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X1_types[1093]); } +const ifcopenshell::entity& Ifc4x1::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1093]); } void Ifc4x1::IfcTextureMap::initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x1::IfcTextureVertex > v2_Vertices, ::Ifc4x1::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -14337,7 +14337,7 @@ std::vector< double > /*[2:2]*/ Ifc4x1::IfcTextureVertex::Coordinates() const { void Ifc4x1::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X1_types[1094]); } +const ifcopenshell::entity& Ifc4x1::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1094]); } void Ifc4x1::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -14345,7 +14345,7 @@ std::vector< std::vector< double > > Ifc4x1::IfcTextureVertexList::TexCoordsList void Ifc4x1::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X1_types[1095]); } +const ifcopenshell::entity& Ifc4x1::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1095]); } void Ifc4x1::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcTimePeriod @@ -14355,7 +14355,7 @@ std::string Ifc4x1::IfcTimePeriod::EndTime() const { std::string v = get_attrib void Ifc4x1::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X1_types[1105]); } +const ifcopenshell::entity& Ifc4x1::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1105]); } void Ifc4x1::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -14368,37 +14368,37 @@ void Ifc4x1::IfcTimeSeries::setStartTime(const std::string& v) { set_attribute_v std::string Ifc4x1::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x1::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value Ifc4x1::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x1::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x1::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x1::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x1::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x1::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x1::IfcDataOriginEnum::Value Ifc4x1::IfcTimeSeries::DataOrigin() const { return ::Ifc4x1::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcTimeSeries::setDataOrigin(const ::Ifc4x1::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x1::IfcTimeSeries::setDataOrigin(const ::Ifc4x1::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x1::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x1::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x1::IfcUnit Ifc4x1::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x1::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x1::IfcUnit>(); } void Ifc4x1::IfcTimeSeries::setUnit(const ::Ifc4x1::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[394], 3)); } +std::vector<::Ifc4x1::IfcExternalReferenceRelationship> Ifc4x1::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[394], 3)); } -const IfcParse::entity& Ifc4x1::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X1_types[1106]); } -void Ifc4x1::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x1::IfcUnit v8_Unit) { 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(&::Ifc4x1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4x1::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1106]); } +void Ifc4x1::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x1::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x1::IfcValue > Ifc4x1::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcValue>(es); } void Ifc4x1::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x1::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X1_types[1108]); } +const ifcopenshell::entity& Ifc4x1::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1108]); } void Ifc4x1::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x1::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x1::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X1_types[1110]); } +const ifcopenshell::entity& Ifc4x1::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1110]); } void Ifc4x1::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x1::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X1_types[1111]); } +const ifcopenshell::entity& Ifc4x1::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1111]); } void Ifc4x1::IfcTopologyRepresentation::initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -14408,24 +14408,24 @@ double Ifc4x1::IfcToroidalSurface::MinorRadius() const { double v = get_attribu void Ifc4x1::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x1::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X1_types[1112]); } +const ifcopenshell::entity& Ifc4x1::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1112]); } void Ifc4x1::IfcToroidalSurface::initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTransformer std::optional< ::Ifc4x1::IfcTransformerTypeEnum::Value > Ifc4x1::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x1::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x1::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X1_types[1114]); } -void Ifc4x1::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1114]); } +void Ifc4x1::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x1::IfcTransformerTypeEnum::Value Ifc4x1::IfcTransformerType::PredefinedType() const { return ::Ifc4x1::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcTransformerType::setPredefinedType(const ::Ifc4x1::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcTransformerType::setPredefinedType(const ::Ifc4x1::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X1_types[1115]); } -void Ifc4x1::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1115]); } +void Ifc4x1::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransitionCurveSegment2D std::optional< double > Ifc4x1::IfcTransitionCurveSegment2D::StartRadius() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } @@ -14437,27 +14437,27 @@ void Ifc4x1::IfcTransitionCurveSegment2D::setIsStartRadiusCCW(const bool& v) { s bool Ifc4x1::IfcTransitionCurveSegment2D::IsEndRadiusCCW() const { bool v = get_attribute_value(6); return v; } void Ifc4x1::IfcTransitionCurveSegment2D::setIsEndRadiusCCW(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x1::IfcTransitionCurveType::Value Ifc4x1::IfcTransitionCurveSegment2D::TransitionCurveType() const { return ::Ifc4x1::IfcTransitionCurveType::FromString(get_attribute_value(7)); } -void Ifc4x1::IfcTransitionCurveSegment2D::setTransitionCurveType(const ::Ifc4x1::IfcTransitionCurveType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x1::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x1::IfcTransitionCurveSegment2D::setTransitionCurveType(const ::Ifc4x1::IfcTransitionCurveType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x1::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x1::IfcTransitionCurveSegment2D::Class() { return *((IfcParse::entity*)IFC4X1_types[1118]); } -void Ifc4x1::IfcTransitionCurveSegment2D::initialize(::Ifc4x1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x1::IfcTransitionCurveType::Value v8_TransitionCurveType) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); if (v4_StartRadius) {set_attribute_value(3, (*v4_StartRadius)); } if (v5_EndRadius) {set_attribute_value(4, (*v5_EndRadius)); }set_attribute_value(5, (v6_IsStartRadiusCCW));set_attribute_value(6, (v7_IsEndRadiusCCW));set_attribute_value(7, (EnumerationReference(&::Ifc4x1::IfcTransitionCurveType::Class(),(size_t)v8_TransitionCurveType))); } +const ifcopenshell::entity& Ifc4x1::IfcTransitionCurveSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1118]); } +void Ifc4x1::IfcTransitionCurveSegment2D::initialize(::Ifc4x1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x1::IfcTransitionCurveType::Value v8_TransitionCurveType) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); if (v4_StartRadius) {set_attribute_value(3, (*v4_StartRadius)); } if (v5_EndRadius) {set_attribute_value(4, (*v5_EndRadius)); }set_attribute_value(5, (v6_IsStartRadiusCCW));set_attribute_value(6, (v7_IsEndRadiusCCW));set_attribute_value(7, (enumeration_reference(&::Ifc4x1::IfcTransitionCurveType::Class(),(size_t)v8_TransitionCurveType))); } // Function implementations for IfcTransportElement std::optional< ::Ifc4x1::IfcTransportElementTypeEnum::Value > Ifc4x1::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcTransportElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X1_types[1121]); } -void Ifc4x1::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1121]); } +void Ifc4x1::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransportElementType ::Ifc4x1::IfcTransportElementTypeEnum::Value Ifc4x1::IfcTransportElementType::PredefinedType() const { return ::Ifc4x1::IfcTransportElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcTransportElementType::setPredefinedType(const ::Ifc4x1::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcTransportElementType::setPredefinedType(const ::Ifc4x1::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[1122]); } -void Ifc4x1::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1122]); } +void Ifc4x1::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTrapeziumProfileDef double Ifc4x1::IfcTrapeziumProfileDef::BottomXDim() const { double v = get_attribute_value(3); return v; } @@ -14470,8 +14470,8 @@ double Ifc4x1::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_attr void Ifc4x1::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x1::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[1124]); } -void Ifc4x1::IfcTrapeziumProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x1::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1124]); } +void Ifc4x1::IfcTrapeziumProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x1::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -14484,7 +14484,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x1::IfcTriangulatedFaceSet::Pn void Ifc4x1::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x1::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X1_types[1125]); } +const ifcopenshell::entity& Ifc4x1::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1125]); } void Ifc4x1::IfcTriangulatedFaceSet::initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -14492,7 +14492,7 @@ std::vector< int > /*[1:?]*/ Ifc4x1::IfcTriangulatedIrregularNetwork::Flags() co void Ifc4x1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x1::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X1_types[1126]); } +const ifcopenshell::entity& Ifc4x1::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1126]); } void Ifc4x1::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); 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)); } // Function implementations for IfcTrimmedCurve @@ -14505,27 +14505,27 @@ void Ifc4x1::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x1::IfcTrimmingS bool Ifc4x1::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x1::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x1::IfcTrimmingPreference::Value Ifc4x1::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x1::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x1::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x1::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x1::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x1::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x1::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x1::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x1::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X1_types[1127]); } -void Ifc4x1::IfcTrimmedCurve::initialize(::Ifc4x1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x1::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x1::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x1::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1127]); } +void Ifc4x1::IfcTrimmedCurve::initialize(::Ifc4x1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x1::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x1::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x1::IfcTubeBundleTypeEnum::Value > Ifc4x1::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x1::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x1::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X1_types[1131]); } -void Ifc4x1::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1131]); } +void Ifc4x1::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x1::IfcTubeBundleTypeEnum::Value Ifc4x1::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcTubeBundleType::setPredefinedType(const ::Ifc4x1::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcTubeBundleType::setPredefinedType(const ::Ifc4x1::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X1_types[1132]); } -void Ifc4x1::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1132]); } +void Ifc4x1::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x1::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -14533,9 +14533,9 @@ void Ifc4x1::IfcTypeObject::setApplicableOccurrence(const std::optional< std::st std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > Ifc4x1::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x1::IfcPropertySetDefinition>(es); } void Ifc4x1::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x1::IfcRelDefinesByType> Ifc4x1::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[855], 5)); } +std::vector<::Ifc4x1::IfcRelDefinesByType> Ifc4x1::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[855], 5)); } -const IfcParse::entity& Ifc4x1::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X1_types[1134]); } +const ifcopenshell::entity& Ifc4x1::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1134]); } void Ifc4x1::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -14546,9 +14546,9 @@ void Ifc4x1::IfcTypeProcess::setLongDescription(const std::optional< std::string std::optional< std::string > Ifc4x1::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x1::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x1::IfcRelAssignsToProcess> Ifc4x1::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[826], 6)); } +std::vector<::Ifc4x1::IfcRelAssignsToProcess> Ifc4x1::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[826], 6)); } -const IfcParse::entity& Ifc4x1::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X1_types[1135]); } +const ifcopenshell::entity& Ifc4x1::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1135]); } void Ifc4x1::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -14557,9 +14557,9 @@ void Ifc4x1::IfcTypeProduct::setRepresentationMaps(const std::optional< std::vec std::optional< std::string > Ifc4x1::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x1::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x1::IfcRelAssignsToProduct> Ifc4x1::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[827], 6)); } +std::vector<::Ifc4x1::IfcRelAssignsToProduct> Ifc4x1::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[827], 6)); } -const IfcParse::entity& Ifc4x1::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X1_types[1136]); } +const ifcopenshell::entity& Ifc4x1::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1136]); } void Ifc4x1::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -14570,9 +14570,9 @@ void Ifc4x1::IfcTypeResource::setLongDescription(const std::optional< std::strin std::optional< std::string > Ifc4x1::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x1::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x1::IfcRelAssignsToResource> Ifc4x1::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X1_types[828], 6)); } +std::vector<::Ifc4x1::IfcRelAssignsToResource> Ifc4x1::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X1_types[828], 6)); } -const IfcParse::entity& Ifc4x1::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X1_types[1137]); } +const ifcopenshell::entity& Ifc4x1::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1137]); } void Ifc4x1::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -14592,64 +14592,64 @@ std::optional< double > Ifc4x1::IfcUShapeProfileDef::FlangeSlope() const { if(ge void Ifc4x1::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x1::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[1148]); } -void Ifc4x1::IfcUShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x1::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1148]); } +void Ifc4x1::IfcUShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x1::IfcUnit > Ifc4x1::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x1::IfcUnit>(es); } void Ifc4x1::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x1::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X1_types[1145]); } +const ifcopenshell::entity& Ifc4x1::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1145]); } void Ifc4x1::IfcUnitAssignment::initialize(std::vector< ::Ifc4x1::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value > Ifc4x1::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X1_types[1139]); } -void Ifc4x1::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1139]); } +void Ifc4x1::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value Ifc4x1::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X1_types[1140]); } -void Ifc4x1::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1140]); } +void Ifc4x1::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x1::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X1_types[1142]); } -void Ifc4x1::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1142]); } +void Ifc4x1::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x1::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X1_types[1143]); } -void Ifc4x1::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1143]); } +void Ifc4x1::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x1::IfcValveTypeEnum::Value > Ifc4x1::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcValve::setPredefinedType(const std::optional< ::Ifc4x1::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcValve::setPredefinedType(const std::optional< ::Ifc4x1::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcValve::Class() { return *((IfcParse::entity*)IFC4X1_types[1150]); } -void Ifc4x1::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1150]); } +void Ifc4x1::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x1::IfcValveTypeEnum::Value Ifc4x1::IfcValveType::PredefinedType() const { return ::Ifc4x1::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcValveType::setPredefinedType(const ::Ifc4x1::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcValveType::setPredefinedType(const ::Ifc4x1::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X1_types[1151]); } -void Ifc4x1::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1151]); } +void Ifc4x1::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x1::IfcDirection Ifc4x1::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x1::IfcDirection>(); } @@ -14658,13 +14658,13 @@ double Ifc4x1::IfcVector::Magnitude() const { double v = get_attribute_value(1) void Ifc4x1::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcVector::Class() { return *((IfcParse::entity*)IFC4X1_types[1154]); } +const ifcopenshell::entity& Ifc4x1::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1154]); } void Ifc4x1::IfcVector::initialize(::Ifc4x1::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x1::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X1_types[1156]); } +const ifcopenshell::entity& Ifc4x1::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1156]); } void Ifc4x1::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -14672,7 +14672,7 @@ void Ifc4x1::IfcVertex::initialize() { } void Ifc4x1::IfcVertexLoop::setLoopVertex(const ::Ifc4x1::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X1_types[1157]); } +const ifcopenshell::entity& Ifc4x1::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1157]); } void Ifc4x1::IfcVertexLoop::initialize(::Ifc4x1::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -14680,29 +14680,29 @@ void Ifc4x1::IfcVertexLoop::initialize(::Ifc4x1::IfcVertex v1_LoopVertex) { set_ void Ifc4x1::IfcVertexPoint::setVertexGeometry(const ::Ifc4x1::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x1::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X1_types[1158]); } +const ifcopenshell::entity& Ifc4x1::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1158]); } void Ifc4x1::IfcVertexPoint::initialize(::Ifc4x1::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value > Ifc4x1::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X1_types[1159]); } -void Ifc4x1::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1159]); } +void Ifc4x1::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value Ifc4x1::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X1_types[1160]); } -void Ifc4x1::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1160]); } +void Ifc4x1::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement -const IfcParse::entity& Ifc4x1::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X1_types[1162]); } +const ifcopenshell::entity& Ifc4x1::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1162]); } void Ifc4x1::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVirtualGridIntersection @@ -14712,60 +14712,60 @@ std::vector< double > /*[2:3]*/ Ifc4x1::IfcVirtualGridIntersection::OffsetDistan void Ifc4x1::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x1::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X1_types[1163]); } +const ifcopenshell::entity& Ifc4x1::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1163]); } void Ifc4x1::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x1::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x1::IfcVoidingFeatureTypeEnum::Value > Ifc4x1::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x1::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x1::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X1_types[1164]); } -void Ifc4x1::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1164]); } +void Ifc4x1::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > Ifc4x1::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcWall::setPredefinedType(const std::optional< ::Ifc4x1::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcWall::setPredefinedType(const std::optional< ::Ifc4x1::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcWall::Class() { return *((IfcParse::entity*)IFC4X1_types[1168]); } -void Ifc4x1::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1168]); } +void Ifc4x1::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallElementedCase -const IfcParse::entity& Ifc4x1::IfcWallElementedCase::Class() { return *((IfcParse::entity*)IFC4X1_types[1169]); } -void Ifc4x1::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcWallElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1169]); } +void Ifc4x1::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x1::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X1_types[1170]); } -void Ifc4x1::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1170]); } +void Ifc4x1::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x1::IfcWallTypeEnum::Value Ifc4x1::IfcWallType::PredefinedType() const { return ::Ifc4x1::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcWallType::setPredefinedType(const ::Ifc4x1::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcWallType::setPredefinedType(const ::Ifc4x1::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X1_types[1171]); } -void Ifc4x1::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1171]); } +void Ifc4x1::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x1::IfcWasteTerminalTypeEnum::Value > Ifc4x1::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x1::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X1_types[1176]); } -void Ifc4x1::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1176]); } +void Ifc4x1::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x1::IfcWasteTerminalTypeEnum::Value Ifc4x1::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x1::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x1::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x1::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X1_types[1177]); } -void Ifc4x1::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x1::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1177]); } +void Ifc4x1::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWindow std::optional< double > Ifc4x1::IfcWindow::OverallHeight() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } @@ -14773,15 +14773,15 @@ void Ifc4x1::IfcWindow::setOverallHeight(const std::optional< double >& v) { if std::optional< double > Ifc4x1::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x1::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x1::IfcWindowTypeEnum::Value > Ifc4x1::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x1::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x1::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x1::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x1::IfcWindowTypePartitioningEnum::Value > Ifc4x1::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x1::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x1::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x1::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x1::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x1::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x1::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x1::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X1_types[1179]); } -void Ifc4x1::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x1::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1179]); } +void Ifc4x1::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x1::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -14810,14 +14810,14 @@ std::optional< double > Ifc4x1::IfcWindowLiningProperties::LiningToPanelOffsetY( void Ifc4x1::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x1::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[1180]); } +const ifcopenshell::entity& Ifc4x1::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1180]); } void Ifc4x1::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x1::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x1::IfcWindowPanelOperationEnum::Value Ifc4x1::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x1::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x1::IfcWindowPanelProperties::setOperationType(const ::Ifc4x1::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x1::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x1::IfcWindowPanelProperties::setOperationType(const ::Ifc4x1::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x1::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x1::IfcWindowPanelPositionEnum::Value Ifc4x1::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x1::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x1::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x1::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x1::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x1::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -14826,42 +14826,42 @@ void Ifc4x1::IfcWindowPanelProperties::setFrameThickness(const std::optional< do void Ifc4x1::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x1::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X1_types[1183]); } -void Ifc4x1::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x1::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x1::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)); } +const ifcopenshell::entity& Ifc4x1::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1183]); } +void Ifc4x1::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x1::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x1::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)); } // Function implementations for IfcWindowStandardCase -const IfcParse::entity& Ifc4x1::IfcWindowStandardCase::Class() { return *((IfcParse::entity*)IFC4X1_types[1184]); } -void Ifc4x1::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x1::IfcWindowStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1184]); } +void Ifc4x1::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowStyle ::Ifc4x1::IfcWindowStyleConstructionEnum::Value Ifc4x1::IfcWindowStyle::ConstructionType() const { return ::Ifc4x1::IfcWindowStyleConstructionEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcWindowStyle::setConstructionType(const ::Ifc4x1::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x1::IfcWindowStyle::setConstructionType(const ::Ifc4x1::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x1::IfcWindowStyleOperationEnum::Value Ifc4x1::IfcWindowStyle::OperationType() const { return ::Ifc4x1::IfcWindowStyleOperationEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcWindowStyle::setOperationType(const ::Ifc4x1::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcWindowStyle::setOperationType(const ::Ifc4x1::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x1::IfcWindowStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x1::IfcWindowStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x1::IfcWindowStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x1::IfcWindowStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x1::IfcWindowStyle::Class() { return *((IfcParse::entity*)IFC4X1_types[1185]); } -void Ifc4x1::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x1::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x1::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x1::IfcWindowStyle::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1185]); } +void Ifc4x1::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x1::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x1::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcWindowType ::Ifc4x1::IfcWindowTypeEnum::Value Ifc4x1::IfcWindowType::PredefinedType() const { return ::Ifc4x1::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x1::IfcWindowType::setPredefinedType(const ::Ifc4x1::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x1::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x1::IfcWindowType::setPredefinedType(const ::Ifc4x1::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x1::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x1::IfcWindowTypePartitioningEnum::Value Ifc4x1::IfcWindowType::PartitioningType() const { return ::Ifc4x1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x1::IfcWindowType::setPartitioningType(const ::Ifc4x1::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x1::IfcWindowType::setPartitioningType(const ::Ifc4x1::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x1::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x1::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x1::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x1::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x1::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X1_types[1188]); } -void Ifc4x1::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x1::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x1::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1188]); } +void Ifc4x1::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x1::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x1::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x1::IfcWorkTime > > Ifc4x1::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x1::IfcWorkTime>(es); } @@ -14869,11 +14869,11 @@ void Ifc4x1::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vector< std::optional< std::vector< ::Ifc4x1::IfcWorkTime > > Ifc4x1::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x1::IfcWorkTime>(es); } void Ifc4x1::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x1::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x1::IfcWorkCalendarTypeEnum::Value > Ifc4x1::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x1::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x1::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x1::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x1::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x1::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x1::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X1_types[1191]); } -void Ifc4x1::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x1::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1191]); } +void Ifc4x1::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x1::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x1::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -14892,24 +14892,24 @@ std::optional< std::string > Ifc4x1::IfcWorkControl::FinishTime() const { if(get void Ifc4x1::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x1::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X1_types[1193]); } +const ifcopenshell::entity& Ifc4x1::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1193]); } void Ifc4x1::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x1::IfcWorkPlanTypeEnum::Value > Ifc4x1::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x1::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x1::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x1::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x1::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x1::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x1::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x1::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X1_types[1194]); } -void Ifc4x1::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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(&::Ifc4x1::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1194]); } +void Ifc4x1::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x1::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x1::IfcWorkScheduleTypeEnum::Value > Ifc4x1::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x1::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x1::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x1::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x1::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x1::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x1::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x1::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x1::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X1_types[1196]); } -void Ifc4x1::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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(&::Ifc4x1::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x1::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1196]); } +void Ifc4x1::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x1::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x1::IfcRecurrencePattern Ifc4x1::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x1::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x1::IfcRecurrencePattern>(); } @@ -14920,8 +14920,8 @@ std::optional< std::string > Ifc4x1::IfcWorkTime::Finish() const { if(get_attrib void Ifc4x1::IfcWorkTime::setFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x1::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X1_types[1198]); } -void Ifc4x1::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } +const ifcopenshell::entity& Ifc4x1::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1198]); } +void Ifc4x1::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x1::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -14938,14 +14938,14 @@ std::optional< double > Ifc4x1::IfcZShapeProfileDef::EdgeRadius() const { if(get void Ifc4x1::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x1::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X1_types[1200]); } -void Ifc4x1::IfcZShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x1::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1200]); } +void Ifc4x1::IfcZShapeProfileDef::initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x1::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x1::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x1::IfcZone::Class() { return *((IfcParse::entity*)IFC4X1_types[1199]); } +const ifcopenshell::entity& Ifc4x1::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X1_types[1199]); } void Ifc4x1::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x1.h b/src/ifcparse/schemas/Ifc4x1.h index 29b52fcb1c..3b308f5bda 100644 --- a/src/ifcparse/schemas/Ifc4x1.h +++ b/src/ifcparse/schemas/Ifc4x1.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x1 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1121,7 +1121,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1145,7 +1145,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1171,7 +1171,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1264,7 +1264,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1705,7 +1705,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1730,7 +1730,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1778,7 +1778,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1811,7 +1811,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1833,7 +1833,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1859,7 +1859,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1888,7 +1888,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -1929,7 +1929,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -1974,7 +1974,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2008,7 +2008,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2165,7 +2165,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2877,7 +2877,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2899,7 +2899,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2921,7 +2921,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2943,7 +2943,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3011,7 +3011,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3038,7 +3038,7 @@ public: IfcPresentationStyleSelect() {} explicit IfcPresentationStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyle as() const { return express::Base::as(); } @@ -3085,7 +3085,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3105,7 +3105,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3133,7 +3133,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3153,7 +3153,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3175,7 +3175,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3293,7 +3293,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3315,7 +3315,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3335,7 +3335,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3365,7 +3365,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3403,7 +3403,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3506,7 +3506,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3556,7 +3556,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3587,7 +3587,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3616,7 +3616,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3644,7 +3644,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3673,7 +3673,7 @@ public: IfcStyleAssignmentSelect() {} explicit IfcStyleAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPresentationStyle as() const { return express::Base::as(); } @@ -3701,7 +3701,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3735,7 +3735,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3779,7 +3779,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3800,7 +3800,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3822,7 +3822,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3846,7 +3846,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -3878,7 +3878,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -3913,7 +3913,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4594,7 +4594,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4616,7 +4616,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4644,13 +4644,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4663,13 +4663,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_SNOW_S, IfcActionSourceType_WIND_W, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_FIRE, IfcActionSourceType_IMPULSE, IfcActionSourceType_IMPACT, IfcActionSourceType_TRANSPORT, IfcActionSourceType_ERECTION, IfcActionSourceType_PROPPING, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_CREEP, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_BUOYANCY, IfcActionSourceType_ICE, IfcActionSourceType_CURRENT, IfcActionSourceType_WAVE, IfcActionSourceType_RAIN, IfcActionSourceType_BRAKES, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4684,13 +4684,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_EXTRAORDINARY_A, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4714,13 +4714,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4739,13 +4739,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_HOME, IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4764,13 +4764,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4791,13 +4791,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4821,13 +4821,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4849,13 +4849,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4864,13 +4864,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4884,13 +4884,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4905,13 +4905,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4931,13 +4931,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4957,13 +4957,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_SITE, IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4985,13 +4985,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5013,13 +5013,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5028,13 +5028,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5081,13 +5081,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_JOIST, IfcBeamType_HOLLOWCORE, IfcBeamType_LINTEL, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5135,13 +5135,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_EQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_INCLUDES, IfcBenchmark_NOTINCLUDES, IfcBenchmark_INCLUDEDIN, IfcBenchmark_NOTINCLUDEDIN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5158,13 +5158,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_WATER, IfcBoilerType_STEAM, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5181,13 +5181,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_UNION, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_DIFFERENCE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5203,13 +5203,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5228,13 +5228,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5256,13 +5256,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5277,13 +5277,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5301,13 +5301,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5325,13 +5325,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5350,13 +5350,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5376,13 +5376,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5401,13 +5401,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_NOCHANGE, IfcChangeAction_MODIFIED, IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5425,13 +5425,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_WATERCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5449,13 +5449,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5485,13 +5485,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5513,13 +5513,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PILASTER, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5543,13 +5543,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5565,13 +5565,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5601,13 +5601,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_DYNAMIC, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROTARY, IfcCompressorType_SCROLL, IfcCompressorType_TROCHOIDAL, IfcCompressorType_SINGLESTAGE, IfcCompressorType_BOOSTER, IfcCompressorType_OPENTYPE, IfcCompressorType_HERMETIC, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARYVANE, IfcCompressorType_SINGLESCREW, IfcCompressorType_TWINSCREW, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5628,13 +5628,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5662,13 +5662,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_ATEND, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5693,13 +5693,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_ADVISORY, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5721,13 +5721,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5750,13 +5750,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_NOTDEFINED, IfcConstructionMaterialResourceType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5772,13 +5772,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5800,13 +5800,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_MULTIPOSITION, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5833,13 +5833,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5859,13 +5859,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5879,13 +5879,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5906,13 +5906,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_TENDER, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5963,13 +5963,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_FLOORING, IfcCoveringType_CLADDING, IfcCoveringType_ROOFING, IfcCoveringType_MOLDING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_SLEEVING, IfcCoveringType_WRAPPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5985,13 +5985,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6008,13 +6008,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6039,13 +6039,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6070,13 +6070,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6092,13 +6092,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6163,13 +6163,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6185,13 +6185,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_POSITIVE, IfcDirectionSense_NEGATIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6208,13 +6208,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6238,13 +6238,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6253,13 +6253,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6314,13 +6314,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6340,13 +6340,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6357,13 +6357,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6404,13 +6404,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6425,13 +6425,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6446,13 +6446,13 @@ public: class IFC_PARSE_API IfcDoorStyleConstructionEnum : public express::DeclaredType { public: IfcDoorStyleConstructionEnum() {} - explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleConstruction_ALUMINIUM, IfcDoorStyleConstruction_HIGH_GRADE_STEEL, IfcDoorStyleConstruction_STEEL, IfcDoorStyleConstruction_WOOD, IfcDoorStyleConstruction_ALUMINIUM_WOOD, IfcDoorStyleConstruction_ALUMINIUM_PLASTIC, IfcDoorStyleConstruction_PLASTIC, IfcDoorStyleConstruction_USERDEFINED, IfcDoorStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6629,13 +6629,13 @@ public: class IFC_PARSE_API IfcDoorStyleOperationEnum : public express::DeclaredType { public: IfcDoorStyleOperationEnum() {} - explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleOperation_SINGLE_SWING_LEFT, IfcDoorStyleOperation_SINGLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorStyleOperation_DOUBLE_SWING_LEFT, IfcDoorStyleOperation_DOUBLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorStyleOperation_SLIDING_TO_LEFT, IfcDoorStyleOperation_SLIDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING, IfcDoorStyleOperation_FOLDING_TO_LEFT, IfcDoorStyleOperation_FOLDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING, IfcDoorStyleOperation_REVOLVING, IfcDoorStyleOperation_ROLLINGUP, IfcDoorStyleOperation_USERDEFINED, IfcDoorStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6659,13 +6659,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6853,13 +6853,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SLIDING, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_FOLDING, IfcDoorTypeOperation_REVOLVING, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6900,13 +6900,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6929,13 +6929,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6953,13 +6953,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6996,13 +6996,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7020,13 +7020,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7044,13 +7044,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7068,13 +7068,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7093,13 +7093,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7116,13 +7116,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7149,13 +7149,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7175,13 +7175,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7197,13 +7197,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7227,13 +7227,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7254,13 +7254,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7280,13 +7280,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7305,13 +7305,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_STARTEVENT, IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7335,13 +7335,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7363,13 +7363,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7386,13 +7386,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7413,13 +7413,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7440,13 +7440,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7462,13 +7462,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SOURCE, IfcFlowDirection_SINK, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7492,13 +7492,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7521,13 +7521,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7549,13 +7549,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7576,13 +7576,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_CHAIR, IfcFurnitureType_TABLE, IfcFurnitureType_DESK, IfcFurnitureType_BED, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7591,13 +7591,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_TERRAIN, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7646,13 +7646,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7666,13 +7666,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7681,13 +7681,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_RECTANGULAR, IfcGridType_RADIAL, IfcGridType_TRIANGULAR, IfcGridType_IRREGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7704,13 +7704,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7738,13 +7738,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7762,13 +7762,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7831,13 +7831,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7854,13 +7854,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7875,13 +7875,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7890,13 +7890,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_UNIFORM_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7928,13 +7928,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7959,13 +7959,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7982,13 +7982,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8010,13 +8010,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8041,13 +8041,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8066,13 +8066,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8101,13 +8101,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8359,13 +8359,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8390,13 +8390,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8417,13 +8417,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8474,13 +8474,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STRINGER, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8497,13 +8497,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8519,13 +8519,13 @@ public: class IFC_PARSE_API IfcNullStyle : public express::DeclaredType { public: IfcNullStyle() {} - explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNullStyle_NULL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8536,13 +8536,13 @@ public: class IFC_PARSE_API IfcObjectTypeEnum : public express::DeclaredType { public: IfcObjectTypeEnum() {} - explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjectType_PRODUCT, IfcObjectType_PROCESS, IfcObjectType_CONTROL, IfcObjectType_RESOURCE, IfcObjectType_ACTOR, IfcObjectType_GROUP, IfcObjectType_PROJECT, IfcObjectType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8579,13 +8579,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8606,13 +8606,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8640,13 +8640,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8667,13 +8667,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8687,13 +8687,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8723,13 +8723,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8746,13 +8746,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8783,13 +8783,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8819,13 +8819,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8846,13 +8846,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_DRIVEN, IfcPileType_JETGROUTING, IfcPileType_COHESION, IfcPileType_FRICTION, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8891,13 +8891,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8920,13 +8920,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8952,13 +8952,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_CURTAIN_PANEL, IfcPlateType_SHEET, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8967,13 +8967,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8995,13 +8995,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9017,13 +9017,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_CURVE, IfcProfileType_AREA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9042,13 +9042,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9062,13 +9062,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9088,13 +9088,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9140,13 +9140,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9161,13 +9161,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9190,13 +9190,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9232,13 +9232,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9266,13 +9266,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_HANDRAIL, IfcRailingType_GUARDRAIL, IfcRailingType_BALUSTRADE, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9291,13 +9291,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_STRAIGHT, IfcRampFlightType_SPIRAL, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9353,13 +9353,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_HALF_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9388,13 +9388,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_DAILY, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9403,13 +9403,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_KILOPOINT, IfcReferentType_MILEPOINT, IfcReferentType_STATION, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9433,13 +9433,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9466,13 +9466,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9489,13 +9489,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9504,13 +9504,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9519,13 +9519,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9562,13 +9562,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_SUPPLIER, IfcRole_MANUFACTURER, IfcRole_CONTRACTOR, IfcRole_SUBCONTRACTOR, IfcRole_ARCHITECT, IfcRole_STRUCTURALENGINEER, IfcRole_COSTENGINEER, IfcRole_CLIENT, IfcRole_BUILDINGOWNER, IfcRole_BUILDINGOPERATOR, IfcRole_MECHANICALENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_PROJECTMANAGER, IfcRole_FACILITIESMANAGER, IfcRole_CIVILENGINEER, IfcRole_COMMISSIONINGENGINEER, IfcRole_ENGINEER, IfcRole_OWNER, IfcRole_CONSULTANT, IfcRole_CONSTRUCTIONMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_RESELLER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9642,13 +9642,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_FLAT_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_BARREL_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FREEFORM, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9683,13 +9683,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_EXA, IfcSIPrefix_PETA, IfcSIPrefix_TERA, IfcSIPrefix_GIGA, IfcSIPrefix_MEGA, IfcSIPrefix_KILO, IfcSIPrefix_HECTO, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_CENTI, IfcSIPrefix_MILLI, IfcSIPrefix_MICRO, IfcSIPrefix_NANO, IfcSIPrefix_PICO, IfcSIPrefix_FEMTO, IfcSIPrefix_ATTO} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9736,13 +9736,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9769,13 +9769,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9793,13 +9793,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_UNIFORM, IfcSectionType_TAPERED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9835,13 +9835,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_COSENSOR, IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9854,13 +9854,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_START_START, IfcSequence_START_FINISH, IfcSequence_FINISH_START, IfcSequence_FINISH_FINISH, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9878,13 +9878,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_AWNING, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9910,13 +9910,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_WEIGHT, IfcSimplePropertyTemplateType_Q_TIME} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9956,13 +9956,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_FLOOR, IfcSlabType_ROOF, IfcSlabType_LANDING, IfcSlabType_BASESLAB, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9979,13 +9979,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10005,13 +10005,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10054,13 +10054,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_SPACE, IfcSpaceType_PARKING, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_EXTERNAL, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10093,13 +10093,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10116,13 +10116,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10145,13 +10145,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_SPIRAL, IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10252,13 +10252,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_CURVED_RUN_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10279,13 +10279,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_READWRITE, IfcState_READONLY, IfcState_LOCKED, IfcState_READWRITELOCKED, IfcState_READONLYLOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10308,13 +10308,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10340,13 +10340,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10366,13 +10366,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10394,13 +10394,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10416,13 +10416,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10441,13 +10441,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10466,13 +10466,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_POSITIVE, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_BOTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10496,13 +10496,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10518,13 +10518,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10555,13 +10555,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10576,13 +10576,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10608,13 +10608,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ATTENDANCE, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10623,13 +10623,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10638,13 +10638,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10659,13 +10659,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP, IfcTextPath_DOWN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10684,13 +10684,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10709,13 +10709,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10739,13 +10739,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_DISCONTINUOUS, IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10754,13 +10754,13 @@ public: class IFC_PARSE_API IfcTransitionCurveType : public express::DeclaredType { public: IfcTransitionCurveType() {} - explicit IfcTransitionCurveType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCurveType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCurveType_BIQUADRATICPARABOLA, IfcTransitionCurveType_BLOSSCURVE, IfcTransitionCurveType_CLOTHOIDCURVE, IfcTransitionCurveType_COSINECURVE, IfcTransitionCurveType_CUBICPARABOLA, IfcTransitionCurveType_SINECURVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10792,13 +10792,13 @@ public: class IFC_PARSE_API IfcTransportElementTypeEnum : public express::DeclaredType { public: IfcTransportElementTypeEnum() {} - explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementType_ELEVATOR, IfcTransportElementType_ESCALATOR, IfcTransportElementType_MOVINGWALKWAY, IfcTransportElementType_CRANEWAY, IfcTransportElementType_LIFTINGGEAR, IfcTransportElementType_USERDEFINED, IfcTransportElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10817,13 +10817,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10839,13 +10839,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10889,13 +10889,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10919,13 +10919,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10945,13 +10945,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11002,13 +11002,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DRAWOFFCOCK, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11025,13 +11025,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11053,13 +11053,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11104,13 +11104,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_POLYGONAL, IfcWallType_ELEMENTEDWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11132,13 +11132,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11230,13 +11230,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11308,13 +11308,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11329,13 +11329,13 @@ public: class IFC_PARSE_API IfcWindowStyleConstructionEnum : public express::DeclaredType { public: IfcWindowStyleConstructionEnum() {} - explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleConstruction_ALUMINIUM, IfcWindowStyleConstruction_HIGH_GRADE_STEEL, IfcWindowStyleConstruction_STEEL, IfcWindowStyleConstruction_WOOD, IfcWindowStyleConstruction_ALUMINIUM_WOOD, IfcWindowStyleConstruction_PLASTIC, IfcWindowStyleConstruction_OTHER_CONSTRUCTION, IfcWindowStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11417,13 +11417,13 @@ public: class IFC_PARSE_API IfcWindowStyleOperationEnum : public express::DeclaredType { public: IfcWindowStyleOperationEnum() {} - explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleOperation_SINGLE_PANEL, IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL, IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL, IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM, IfcWindowStyleOperation_TRIPLE_PANEL_TOP, IfcWindowStyleOperation_TRIPLE_PANEL_LEFT, IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT, IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_USERDEFINED, IfcWindowStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11447,13 +11447,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_WINDOW, IfcWindowType_SKYLIGHT, IfcWindowType_LIGHTDOME, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11532,13 +11532,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11557,13 +11557,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11582,13 +11582,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11607,13 +11607,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11626,9 +11626,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11640,9 +11640,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11657,9 +11657,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11671,9 +11671,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11681,9 +11681,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -11691,9 +11691,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11707,9 +11707,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11717,9 +11717,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -11731,9 +11731,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -11783,9 +11783,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -11803,9 +11803,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -11860,9 +11860,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -11875,9 +11875,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11890,9 +11890,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11906,9 +11906,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11921,9 +11921,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -11948,9 +11948,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -11969,9 +11969,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12012,9 +12012,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12027,9 +12027,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12043,9 +12043,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12057,9 +12057,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12071,9 +12071,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12086,9 +12086,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12100,9 +12100,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12114,9 +12114,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12128,9 +12128,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12144,9 +12144,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12158,9 +12158,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12172,9 +12172,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12186,9 +12186,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12209,9 +12209,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12230,9 +12230,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12262,9 +12262,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12276,9 +12276,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12290,9 +12290,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12312,9 +12312,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12326,9 +12326,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12338,9 +12338,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12361,9 +12361,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12375,9 +12375,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12389,9 +12389,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12405,9 +12405,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12421,9 +12421,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12433,9 +12433,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12447,9 +12447,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12461,9 +12461,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12484,9 +12484,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12503,9 +12503,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12519,9 +12519,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12529,9 +12529,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -12543,9 +12543,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12557,9 +12557,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12571,9 +12571,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12585,9 +12585,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12599,9 +12599,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -12613,9 +12613,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12629,9 +12629,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12645,9 +12645,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12659,9 +12659,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12673,9 +12673,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12687,9 +12687,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12701,9 +12701,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12717,9 +12717,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12733,9 +12733,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12747,9 +12747,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12761,9 +12761,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12775,9 +12775,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12793,9 +12793,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12807,9 +12807,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12821,9 +12821,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12835,9 +12835,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12848,9 +12848,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12913,9 +12913,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12927,9 +12927,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12942,9 +12942,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12954,9 +12954,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12970,9 +12970,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12984,9 +12984,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13004,9 +13004,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13014,9 +13014,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13029,9 +13029,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13044,9 +13044,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13058,9 +13058,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13076,9 +13076,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13090,9 +13090,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13100,9 +13100,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x1::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x1::IfcPropertySetDefinition >() const; }; @@ -13114,9 +13114,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13133,9 +13133,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13149,9 +13149,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13163,9 +13163,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13178,9 +13178,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13192,9 +13192,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13206,9 +13206,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13220,9 +13220,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13234,9 +13234,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13250,9 +13250,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13260,9 +13260,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13274,9 +13274,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13284,9 +13284,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13298,9 +13298,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13312,9 +13312,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13328,9 +13328,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13346,9 +13346,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13360,9 +13360,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13374,9 +13374,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13394,9 +13394,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13413,9 +13413,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13435,9 +13435,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13463,9 +13463,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13482,9 +13482,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13496,9 +13496,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13510,9 +13510,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13523,9 +13523,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13536,9 +13536,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13550,9 +13550,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13566,9 +13566,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13583,9 +13583,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13599,9 +13599,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13612,9 +13612,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13626,9 +13626,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13642,9 +13642,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13656,9 +13656,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13672,9 +13672,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13686,9 +13686,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13700,9 +13700,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13714,9 +13714,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13748,9 +13748,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13762,9 +13762,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13777,9 +13777,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13798,7 +13798,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -13815,7 +13815,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -13826,7 +13826,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > Purpose() const; @@ -13843,7 +13843,7 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -13852,7 +13852,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x1::IfcOrganization ApplicationDeveloper() const; @@ -13867,7 +13867,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -13887,7 +13887,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -13925,7 +13925,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -13936,7 +13936,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -13977,7 +13977,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x1::IfcActorSelect v8_RequestingApproval, ::Ifc4x1::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -13998,13 +13998,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14020,7 +14020,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x1::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14041,7 +14041,7 @@ public: ::Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x1::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x1::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x1::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14057,7 +14057,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x1::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14069,7 +14069,7 @@ public: ::Ifc4x1::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x1::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x1::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x1::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14085,7 +14085,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x1::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14106,7 +14106,7 @@ public: ::Ifc4x1::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x1::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14121,13 +14121,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x1::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x1::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x1::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14147,10 +14147,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14172,7 +14172,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x1::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14181,7 +14181,7 @@ public: ::Ifc4x1::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x1::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x1::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14195,7 +14195,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x1::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14204,7 +14204,7 @@ public: ::Ifc4x1::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x1::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x1::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14216,7 +14216,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x1::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14225,7 +14225,7 @@ public: ::Ifc4x1::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x1::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x1::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14243,7 +14243,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14272,7 +14272,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14324,7 +14324,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x1::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14333,7 +14333,7 @@ public: ::Ifc4x1::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x1::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x1::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14361,7 +14361,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -14385,7 +14385,7 @@ public: void setVerticalDatum(const std::optional< std::string >& v); std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -14433,10 +14433,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -14449,7 +14449,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x1::IfcDerivedUnitElement > Elements() const; @@ -14460,7 +14460,7 @@ public: std::optional< std::string > UserDefinedType() const; void setUserDefinedType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -14475,7 +14475,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x1::IfcNamedUnit Unit() const; @@ -14484,7 +14484,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -14507,7 +14507,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -14531,7 +14531,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -14543,10 +14543,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -14561,7 +14561,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -14584,7 +14584,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -14598,10 +14598,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -14614,10 +14614,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -14630,10 +14630,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -14662,7 +14662,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -14678,7 +14678,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x1::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -14687,7 +14687,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -14696,7 +14696,7 @@ public: std::vector< ::Ifc4x1::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x1::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x1::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -14710,7 +14710,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -14736,7 +14736,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x1::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -14749,7 +14749,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -14766,7 +14766,7 @@ public: void setReferencedLibrary(const ::Ifc4x1::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x1::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -14787,7 +14787,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -14801,7 +14801,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -14810,7 +14810,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x1::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -14819,7 +14819,7 @@ public: std::vector< ::Ifc4x1::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x1::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x1::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -14836,7 +14836,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -14864,7 +14864,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -14875,7 +14875,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x1::IfcClassificationSelect > MaterialClassifications() const; @@ -14884,7 +14884,7 @@ public: ::Ifc4x1::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x1::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x1::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -14914,13 +14914,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -14949,7 +14949,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x1::IfcMaterial Material() const; @@ -14982,7 +14982,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15021,7 +15021,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x1::IfcMaterialLayer > MaterialLayers() const; @@ -15035,7 +15035,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15084,7 +15084,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x1::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15093,7 +15093,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15116,13 +15116,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x1::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x1::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15133,7 +15133,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15155,7 +15155,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_Material, ::Ifc4x1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15166,7 +15166,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15184,7 +15184,7 @@ public: ::Ifc4x1::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x1::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x1::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15195,13 +15195,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_Material, ::Ifc4x1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15238,11 +15238,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15258,7 +15258,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x1::IfcValue ValueComponent() const; @@ -15267,7 +15267,7 @@ public: ::Ifc4x1::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcValue v1_ValueComponent, ::Ifc4x1::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15325,7 +15325,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x1::IfcBenchmarkEnum::Value Benchmark() const; @@ -15339,7 +15339,7 @@ public: ::Ifc4x1::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x1::IfcMetricValueSelect v10_DataValue, ::Ifc4x1::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15350,13 +15350,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15367,7 +15367,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x1::IfcDimensionalExponents Dimensions() const; @@ -15376,7 +15376,7 @@ public: ::Ifc4x1::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x1::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -15393,12 +15393,12 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement std::vector< IfcLocalPlacement > ReferencedByPlacements() const; // INVERSE IfcLocalPlacement::PlacementRelTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -15413,7 +15413,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x1::IfcConstraint > > BenchmarkValues() const; @@ -15427,7 +15427,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -15441,7 +15441,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -15463,7 +15463,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x1::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x1::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -15479,7 +15479,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x1::IfcPersonAndOrganization OwningUser() const; @@ -15506,7 +15506,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -15521,7 +15521,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -15555,7 +15555,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x1::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x1::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x1::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -15566,7 +15566,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x1::IfcPerson ThePerson() const; @@ -15578,7 +15578,7 @@ public: std::optional< std::vector< ::Ifc4x1::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x1::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcPerson v1_ThePerson, ::Ifc4x1::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x1::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -15589,7 +15589,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -15600,7 +15600,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -15615,13 +15615,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x1::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x1::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -15630,7 +15630,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -15660,17 +15660,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -15691,7 +15691,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -15706,7 +15706,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -15725,7 +15725,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -15744,7 +15744,7 @@ public: std::vector< ::Ifc4x1::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x1::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x1::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -15755,13 +15755,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The presentation style assignment is a set of styles which are assigned to styled items for the purpose of presenting these styled items. @@ -15772,13 +15772,13 @@ public: class IFC_PARSE_API IfcPresentationStyleAssignment : public express::Entity { public: IfcPresentationStyleAssignment() {} - explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// A set of presentation styles that are assigned to styled items. std::vector< ::Ifc4x1::IfcPresentationStyleSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x1::IfcPresentationStyleSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcPresentationStyleSelect > v1_Styles); }; /// IfcProductRepresentation defines a representation of a @@ -15801,7 +15801,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -15813,7 +15813,7 @@ public: std::vector< ::Ifc4x1::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x1::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -15989,7 +15989,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x1::IfcProfileTypeEnum::Value ProfileType() const; @@ -16000,7 +16000,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16029,7 +16029,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} /// Name by which the map projection is identified. /// @@ -16048,18 +16048,18 @@ public: ::Ifc4x1::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x1::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x1::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16111,7 +16111,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16123,7 +16123,7 @@ public: ::Ifc4x1::IfcUnit Unit() const; void setUnit(const ::Ifc4x1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x1::IfcValue > v2_EnumerationValues, ::Ifc4x1::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16134,7 +16134,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16145,7 +16145,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16156,7 +16156,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. double CountValue() const; @@ -16167,7 +16167,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16178,7 +16178,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16189,7 +16189,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16200,7 +16200,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16211,7 +16211,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16222,7 +16222,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16233,7 +16233,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16244,7 +16244,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16255,7 +16255,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16267,7 +16267,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16307,14 +16307,14 @@ public: std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x1::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16327,7 +16327,7 @@ public: ::Ifc4x1::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x1::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16379,7 +16379,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x1::IfcRepresentationContext ContextOfItems() const; @@ -16398,7 +16398,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -16414,7 +16414,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -16424,7 +16424,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -16462,12 +16462,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -16484,7 +16484,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -16496,7 +16496,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x1::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -16505,7 +16505,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -16514,7 +16514,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -16529,7 +16529,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -16548,7 +16548,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -16561,7 +16561,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x1::IfcSIPrefix::Value > Prefix() const; @@ -16572,7 +16572,7 @@ public: ::Ifc4x1::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x1::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x1::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -16581,7 +16581,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -16594,7 +16594,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -16637,7 +16637,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -16660,7 +16660,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x1::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x1::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -16684,11 +16684,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -16829,10 +16829,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -16841,13 +16841,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -16856,13 +16856,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -16879,7 +16879,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x1::IfcStructuralLoadOrResult > Values() const; @@ -16888,7 +16888,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x1::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -16897,10 +16897,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -16909,10 +16909,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -16923,7 +16923,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -16941,7 +16941,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -16952,10 +16952,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -16989,7 +16989,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17008,7 +17008,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x1::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17021,10 +17021,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17035,7 +17035,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17047,7 +17047,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17060,7 +17060,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x1::IfcSurfaceSide::Value Side() const; @@ -17069,7 +17069,7 @@ public: std::vector< ::Ifc4x1::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x1::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x1::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17086,7 +17086,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17105,7 +17105,7 @@ public: ::Ifc4x1::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x1::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x1::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x1::IfcColourRgb v3_TransmissionColour, ::Ifc4x1::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17116,7 +17116,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17125,7 +17125,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17138,7 +17138,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x1::IfcColourRgb SurfaceColour() const; @@ -17146,7 +17146,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17170,13 +17170,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x1::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x1::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17274,7 +17274,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17305,7 +17305,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17326,7 +17326,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17338,7 +17338,7 @@ public: std::optional< std::vector< ::Ifc4x1::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x1::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x1::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x1::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17349,7 +17349,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17366,7 +17366,7 @@ public: ::Ifc4x1::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x1::IfcUnit v4_Unit, ::Ifc4x1::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17385,7 +17385,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x1::IfcValue > > RowCells() const; @@ -17394,7 +17394,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x1::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -17408,7 +17408,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -17516,7 +17516,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -17525,12 +17525,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x1::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x1::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x1::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -17542,7 +17542,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -17566,7 +17566,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -17600,7 +17600,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x1::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -17620,7 +17620,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x1::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x1::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -17643,7 +17643,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x1::IfcColour Colour() const; @@ -17652,7 +17652,7 @@ public: ::Ifc4x1::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x1::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcColour v1_Colour, ::Ifc4x1::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -17665,7 +17665,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -17696,7 +17696,7 @@ public: ::Ifc4x1::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x1::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x1::IfcSizeSelect v4_LetterSpacing, ::Ifc4x1::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x1::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -17713,12 +17713,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x1::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x1::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -17750,7 +17750,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -17763,7 +17763,7 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; /// An IfcTextureMap provides the mapping of the @@ -17820,7 +17820,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -17830,7 +17830,7 @@ public: ::Ifc4x1::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x1::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x1::IfcTextureVertex > v2_Vertices, ::Ifc4x1::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -17863,25 +17863,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -17893,7 +17893,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -17902,7 +17902,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -17913,7 +17913,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -17941,7 +17941,7 @@ public: void setUnit(const ::Ifc4x1::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x1::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -17956,13 +17956,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x1::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x1::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -17973,10 +17973,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18016,10 +18016,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x1::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18030,13 +18030,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x1::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x1::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18052,10 +18052,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18070,13 +18070,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x1::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x1::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18141,7 +18141,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x1::IfcGridAxis > IntersectingAxes() const; @@ -18150,7 +18150,7 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18164,7 +18164,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18180,7 +18180,7 @@ public: std::optional< std::string > Finish() const; void setFinish(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish); }; /// An IfcApprovalRelationship associates approvals (one @@ -18193,7 +18193,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x1::IfcApproval RelatingApproval() const; @@ -18202,7 +18202,7 @@ public: std::vector< ::Ifc4x1::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x1::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x1::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18226,13 +18226,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x1::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18253,13 +18253,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x1::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x1::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18284,13 +18284,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x1::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x1::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x1::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18305,7 +18305,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18314,7 +18314,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -18349,13 +18349,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -18376,7 +18376,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -18429,7 +18429,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -18456,7 +18456,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x1::IfcClassificationReferenceSelect ReferencedSource() const; @@ -18471,19 +18471,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x1::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -18494,7 +18494,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -18503,7 +18503,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -18545,7 +18545,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x1::IfcProfileDef > Profiles() const; @@ -18554,7 +18554,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -18569,13 +18569,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x1::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x1::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -18594,7 +18594,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x1::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -18603,7 +18603,7 @@ public: ::Ifc4x1::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x1::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x1::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -18628,7 +18628,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -18640,7 +18640,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x1::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -18653,14 +18653,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -18713,7 +18713,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -18723,7 +18723,7 @@ public: void setConversionFactor(const ::Ifc4x1::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x1::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -18747,13 +18747,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -18770,7 +18770,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x1::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -18790,7 +18790,7 @@ public: ::Ifc4x1::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x1::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x1::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x1::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -18813,7 +18813,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x1::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -18827,7 +18827,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x1::IfcSizeSelect v3_CurveWidth, ::Ifc4x1::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -18838,7 +18838,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -18847,7 +18847,7 @@ public: std::vector< ::Ifc4x1::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x1::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x1::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -18864,7 +18864,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -18876,7 +18876,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -18887,7 +18887,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -18900,7 +18900,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -18990,7 +18990,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x1::IfcProfileDef ParentProfile() const; @@ -19002,7 +19002,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcProfileDef v3_ParentProfile, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19011,7 +19011,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19082,7 +19082,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x1::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19096,7 +19096,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x1::IfcDocumentInformation RelatingDocument() const; @@ -19108,7 +19108,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x1::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19125,7 +19125,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19137,7 +19137,7 @@ public: void setReferencedDocument(const ::Ifc4x1::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19192,7 +19192,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x1::IfcVertex EdgeStart() const; @@ -19201,7 +19201,7 @@ public: ::Ifc4x1::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x1::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcVertex v1_EdgeStart, ::Ifc4x1::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19240,7 +19240,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x1::IfcCurve EdgeGeometry() const; @@ -19249,7 +19249,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcVertex v1_EdgeStart, ::Ifc4x1::IfcVertex v2_EdgeEnd, ::Ifc4x1::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19278,7 +19278,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19295,14 +19295,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19311,7 +19311,7 @@ public: std::vector< ::Ifc4x1::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19324,7 +19324,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19335,7 +19335,7 @@ public: std::vector< ::Ifc4x1::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x1::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x1::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -19385,14 +19385,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x1::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x1::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -19403,7 +19403,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x1::IfcLoop Bound() const; @@ -19412,7 +19412,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -19423,10 +19423,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -19468,7 +19468,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x1::IfcSurface FaceSurface() const; @@ -19477,7 +19477,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcFaceBound > v1_Bounds, ::Ifc4x1::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -19490,7 +19490,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -19511,7 +19511,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -19551,7 +19551,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x1::IfcFillStyleSelect > FillStyles() const; @@ -19559,7 +19559,7 @@ public: std::optional< bool > ModelorDraughting() const; void setModelorDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x1::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelorDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -19612,7 +19612,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -19631,7 +19631,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x1::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x1::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -19656,10 +19656,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -19678,7 +19678,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x1::IfcGeometricRepresentationContext ParentContext() const; @@ -19703,7 +19703,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -19716,13 +19716,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x1::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x1::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -19773,7 +19773,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x1::IfcVirtualGridIntersection PlacementLocation() const; @@ -19784,7 +19784,7 @@ public: ::Ifc4x1::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x1::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcVirtualGridIntersection v1_PlacementLocation, ::Ifc4x1::IfcGridPlacementDirectionSelect v2_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -19805,7 +19805,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x1::IfcSurface BaseSurface() const; @@ -19814,7 +19814,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -19855,20 +19855,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x1::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x1::IfcTessellatedFaceSet& v); @@ -19879,33 +19879,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x1::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x1::IfcTessellatedFaceSet& v); ::Ifc4x1::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x1::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, ::Ifc4x1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x1::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcSurfaceTexture > v1_Maps, ::Ifc4x1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -19916,13 +19916,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x1::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x1::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x1::IfcUnit v8_Unit, std::vector< ::Ifc4x1::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -19965,7 +19965,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -19976,7 +19976,7 @@ public: ::Ifc4x1::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x1::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x1::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -19989,7 +19989,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20005,7 +20005,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20018,10 +20018,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20036,14 +20036,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x1::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x1::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20056,7 +20056,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x1::IfcAxis2Placement3D Position() const; @@ -20077,7 +20077,7 @@ public: ::Ifc4x1::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x1::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x1::IfcAxis2Placement3D v5_Position, ::Ifc4x1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20098,7 +20098,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20118,7 +20118,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20139,7 +20139,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20157,14 +20157,14 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x1::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x1::IfcCurve PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x1::IfcCurve& v); @@ -20175,7 +20175,7 @@ public: ::Ifc4x1::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_PlacementRelTo, ::Ifc4x1::IfcDistanceExpression v2_Distance, ::Ifc4x1::IfcOrientationExpression v3_Orientation, ::Ifc4x1::IfcAxis2Placement3D v4_CartesianPosition); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20233,7 +20233,7 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Reference to Object that provides the relative placement by its local coordinate system. If it is omitted, then the local placement is given to the WCS, established by the geometric representation context. ::Ifc4x1::IfcObjectPlacement PlacementRelTo() const; @@ -20242,7 +20242,7 @@ public: ::Ifc4x1::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x1::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20274,10 +20274,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20302,7 +20302,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x1::IfcRepresentationMap MappingSource() const; @@ -20311,7 +20311,7 @@ public: ::Ifc4x1::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x1::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcRepresentationMap v1_MappingSource, ::Ifc4x1::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20344,7 +20344,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -20369,7 +20369,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -20380,7 +20380,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -20399,7 +20399,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -20419,7 +20419,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -20431,7 +20431,7 @@ public: std::optional< std::vector< ::Ifc4x1::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x1::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x1::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -20467,13 +20467,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x1::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x1::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcRepresentation > v3_Representations, ::Ifc4x1::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -20579,7 +20579,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x1::IfcMaterialLayerSet ForLayerSet() const; @@ -20609,7 +20609,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -20622,7 +20622,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x1::IfcMaterialProfileSet ForProfileSet() const; @@ -20639,7 +20639,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -20670,7 +20670,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x1::IfcMaterialProfileSet ForProfileEndSet() const; @@ -20679,7 +20679,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -20707,7 +20707,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -20715,7 +20715,7 @@ public: ::Ifc4x1::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x1::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcProperty > v3_Properties, ::Ifc4x1::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -20724,7 +20724,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x1::IfcMaterial RelatingMaterial() const; @@ -20736,7 +20736,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x1::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -20769,10 +20769,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -20828,7 +20828,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -20838,7 +20838,7 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -20903,10 +20903,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -20918,7 +20918,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x1::IfcOrganization RelatingOrganization() const; @@ -20927,21 +20927,21 @@ public: std::vector< ::Ifc4x1::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x1::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x1::IfcOrganization > v4_RelatedOrganizations); }; class IFC_PARSE_API IfcOrientationExpression : public IfcGeometricRepresentationItem { public: IfcOrientationExpression() {} - explicit IfcOrientationExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcOrientationExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x1::IfcDirection LateralAxisDirection() const; void setLateralAxisDirection(const ::Ifc4x1::IfcDirection& v); ::Ifc4x1::IfcDirection VerticalAxisDirection() const; void setVerticalAxisDirection(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDirection v1_LateralAxisDirection, ::Ifc4x1::IfcDirection v2_VerticalAxisDirection); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -20954,7 +20954,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x1::IfcEdge EdgeElement() const; @@ -20963,7 +20963,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21011,13 +21011,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x1::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x1::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21037,13 +21037,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x1::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x1::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21058,7 +21058,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x1::IfcPhysicalQuantity > HasQuantities() const; @@ -21073,7 +21073,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21097,7 +21097,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21114,7 +21114,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21129,13 +21129,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x1::IfcCartesianPoint Location() const; void setLocation(const ::Ifc4x1::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21146,7 +21146,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21155,7 +21155,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21166,10 +21166,10 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21184,7 +21184,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x1::IfcCurve BasisCurve() const; @@ -21193,7 +21193,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21208,7 +21208,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x1::IfcSurface BasisSurface() const; @@ -21220,7 +21220,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21265,13 +21265,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x1::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x1::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -21333,7 +21333,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x1::IfcAxis2Placement3D Position() const; @@ -21344,7 +21344,7 @@ public: ::Ifc4x1::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x1::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x1::IfcAxis2Placement3D v3_Position, ::Ifc4x1::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -21357,23 +21357,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -21390,10 +21390,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -21411,12 +21411,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -21433,13 +21433,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x1::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcProperty > v3_Properties, ::Ifc4x1::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -21448,7 +21448,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -21463,7 +21463,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// IfcPropertyDefinition defines the generalization of @@ -21519,12 +21519,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -21538,7 +21538,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x1::IfcProperty DependingProperty() const; @@ -21550,7 +21550,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcProperty v3_DependingProperty, ::Ifc4x1::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -21598,13 +21598,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -21635,20 +21635,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -21688,7 +21688,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -21697,7 +21697,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -21708,7 +21708,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -21717,7 +21717,7 @@ public: std::vector< ::Ifc4x1::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x1::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x1::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -21728,7 +21728,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -21749,7 +21749,7 @@ public: std::optional< double > BarCount() const; void setBarCount(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -21763,10 +21763,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -21778,7 +21778,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x1::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -21787,7 +21787,7 @@ public: ::Ifc4x1::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x1::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x1::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x1::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -21813,7 +21813,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x1::IfcConstraint RelatingConstraint() const; @@ -21822,7 +21822,7 @@ public: std::vector< ::Ifc4x1::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x1::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x1::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -21830,7 +21830,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -21878,7 +21878,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -21921,13 +21921,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -21938,7 +21938,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x1::IfcSectionTypeEnum::Value SectionType() const; @@ -21950,7 +21950,7 @@ public: ::Ifc4x1::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x1::IfcProfileDef v2_StartProfile, ::Ifc4x1::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -21963,7 +21963,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -21984,7 +21984,7 @@ public: std::vector< ::Ifc4x1::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x1::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22043,7 +22043,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x1::IfcCompositeCurve SpineCurve() const; @@ -22055,7 +22055,7 @@ public: std::vector< ::Ifc4x1::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x1::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x1::IfcAxis2Placement3D > v3_CrossSectionPositions); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22073,12 +22073,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x1::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x1::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22087,10 +22087,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22105,7 +22105,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22117,7 +22117,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22128,10 +22128,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22142,7 +22142,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22163,7 +22163,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22174,7 +22174,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22186,7 +22186,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22197,7 +22197,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22218,7 +22218,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22227,13 +22227,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22245,7 +22245,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22266,7 +22266,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22280,13 +22280,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22302,13 +22302,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x1::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x1::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcVertex v1_EdgeStart, ::Ifc4x1::IfcVertex v2_EdgeEnd, ::Ifc4x1::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -22324,10 +22324,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -22378,7 +22378,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -22412,7 +22412,7 @@ public: ::Ifc4x1::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x1::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -22436,7 +22436,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x1::IfcProfileDef SweptArea() const; @@ -22445,7 +22445,7 @@ public: ::Ifc4x1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -22504,7 +22504,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x1::IfcCurve Directrix() const; @@ -22526,7 +22526,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -22542,13 +22542,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -22559,7 +22559,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x1::IfcProfileDef SweptCurve() const; @@ -22568,7 +22568,7 @@ public: ::Ifc4x1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptCurve, ::Ifc4x1::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -22602,7 +22602,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -22632,17 +22632,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -22658,7 +22658,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -22671,7 +22671,7 @@ public: ::Ifc4x1::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x1::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x1::IfcAxis2Placement v2_Placement, ::Ifc4x1::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -22686,7 +22686,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x1::IfcPlanarExtent Extent() const; @@ -22695,7 +22695,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x1::IfcAxis2Placement v2_Placement, ::Ifc4x1::IfcTextPath::Value v3_Path, ::Ifc4x1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -22766,7 +22766,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -22787,7 +22787,7 @@ public: ::Ifc4x1::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x1::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x1::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22831,7 +22831,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -22846,7 +22846,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -22883,7 +22883,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -22901,7 +22901,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -22935,7 +22935,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -22950,7 +22950,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23022,7 +23022,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > RepresentationMaps() const; @@ -23032,7 +23032,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23050,7 +23050,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23065,7 +23065,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23099,7 +23099,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23123,7 +23123,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23136,7 +23136,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x1::IfcDirection Orientation() const; @@ -23145,7 +23145,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23163,13 +23163,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x1::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x1::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcVertex v1_LoopVertex); }; /// Definition: The window style defines a particular style of windows, which may be included into the spatial context of the building model through instances of IfcWindow. A window style defines the overall parameter of the window style and refers to the particular parameter of the lining and one (or several) panels through IfcWindowLiningProperties and IfcWindowPanelProperties. @@ -23193,7 +23193,7 @@ public: class IFC_PARSE_API IfcWindowStyle : public IfcTypeProduct { public: IfcWindowStyle() {} - explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the basic construction and material type of the window. ::Ifc4x1::IfcWindowStyleConstructionEnum::Value ConstructionType() const; @@ -23208,7 +23208,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x1::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x1::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// IfcZShapeProfileDef defines @@ -23239,7 +23239,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23260,7 +23260,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23279,17 +23279,17 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcFaceBound > v1_Bounds, ::Ifc4x1::IfcSurface v2_FaceSurface, bool v3_SameSense); }; class IFC_PARSE_API IfcAlignment2DHorizontal : public IfcGeometricRepresentationItem { public: IfcAlignment2DHorizontal() {} - explicit IfcAlignment2DHorizontal (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAlignment2DHorizontal (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::optional< double > StartDistAlong() const; void setStartDistAlong(const std::optional< double >& v); @@ -23297,14 +23297,14 @@ public: void setSegments(const std::vector< ::Ifc4x1::IfcAlignment2DHorizontalSegment >& v); std::vector< IfcAlignmentCurve > ToAlignmentCurve() const; // INVERSE IfcAlignmentCurve::Horizontal - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_StartDistAlong, std::vector< ::Ifc4x1::IfcAlignment2DHorizontalSegment > v2_Segments); }; class IFC_PARSE_API IfcAlignment2DSegment : public IfcGeometricRepresentationItem { public: IfcAlignment2DSegment() {} - explicit IfcAlignment2DSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAlignment2DSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::optional< bool > TangentialContinuity() const; void setTangentialContinuity(const std::optional< bool >& v); @@ -23313,27 +23313,27 @@ public: std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag); }; class IFC_PARSE_API IfcAlignment2DVertical : public IfcGeometricRepresentationItem { public: IfcAlignment2DVertical() {} - explicit IfcAlignment2DVertical (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAlignment2DVertical (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x1::IfcAlignment2DVerticalSegment > Segments() const; void setSegments(const std::vector< ::Ifc4x1::IfcAlignment2DVerticalSegment >& v); std::vector< IfcAlignmentCurve > ToAlignmentCurve() const; // INVERSE IfcAlignmentCurve::Vertical - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcAlignment2DVerticalSegment > v1_Segments); }; class IFC_PARSE_API IfcAlignment2DVerticalSegment : public IfcAlignment2DSegment { public: IfcAlignment2DVerticalSegment() {} - explicit IfcAlignment2DVerticalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} + explicit IfcAlignment2DVerticalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -23345,7 +23345,7 @@ public: void setStartGradient(const double& v); std::vector< IfcAlignment2DVertical > ToVertical() const; // INVERSE IfcAlignment2DVertical::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -23371,7 +23371,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -23384,7 +23384,7 @@ public: std::optional< std::vector< ::Ifc4x1::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x1::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x1::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -23427,7 +23427,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -23457,7 +23457,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -23472,13 +23472,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x1::IfcDirection Axis() const; void setAxis(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_Location, ::Ifc4x1::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -23495,13 +23495,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_Location, ::Ifc4x1::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -23520,7 +23520,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x1::IfcDirection Axis() const; @@ -23529,7 +23529,7 @@ public: ::Ifc4x1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_Location, ::Ifc4x1::IfcDirection v2_Axis, ::Ifc4x1::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -23561,7 +23561,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x1::IfcBooleanOperator::Value Operator() const; @@ -23573,7 +23573,7 @@ public: ::Ifc4x1::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x1::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x1::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -23591,10 +23591,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -23622,7 +23622,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x1::IfcCartesianPoint Corner() const; @@ -23637,7 +23637,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -23673,13 +23673,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x1::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x1::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x1::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -23707,7 +23707,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -23725,7 +23725,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -23738,51 +23738,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -23818,7 +23818,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x1::IfcDirection Axis1() const; @@ -23833,7 +23833,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -23844,10 +23844,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -23863,13 +23863,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -23880,13 +23880,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x1::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x1::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -23903,7 +23903,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -23912,7 +23912,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcDirection v1_Axis1, ::Ifc4x1::IfcDirection v2_Axis2, ::Ifc4x1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x1::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -23930,13 +23930,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -23991,10 +23991,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24008,7 +24008,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24026,7 +24026,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24037,7 +24037,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24047,7 +24047,7 @@ public: std::vector< ::Ifc4x1::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x1::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24060,7 +24060,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcGeometricRepresentationItem { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The state of transition (i.e., geometric continuity from the last point of this segment to the first point of the next segment) in a composite curve. ::Ifc4x1::IfcTransitionCode::Value Transition() const; @@ -24075,7 +24075,7 @@ public: void setParentCurve(const ::Ifc4x1::IfcCurve& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x1::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24096,14 +24096,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > >& v); ::Ifc4x1::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x1::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24122,7 +24122,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24146,7 +24146,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x1::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24162,13 +24162,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x1::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24179,13 +24179,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24232,13 +24232,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x1::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x1::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24254,10 +24254,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24276,7 +24276,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x1::IfcPlane BasisSurface() const; @@ -24288,7 +24288,7 @@ public: std::vector< ::Ifc4x1::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x1::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcPlane v1_BasisSurface, ::Ifc4x1::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x1::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24315,7 +24315,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x1::IfcSurface BasisSurface() const; @@ -24326,7 +24326,7 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x1::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -24339,20 +24339,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDistanceExpression : public IfcGeometricRepresentationItem { public: IfcDistanceExpression() {} - explicit IfcDistanceExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDistanceExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} double DistanceAlong() const; void setDistanceAlong(const double& v); @@ -24365,7 +24365,7 @@ public: std::optional< bool > AlongHorizontal() const; void setAlongHorizontal(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, std::optional< bool > v5_AlongHorizontal); }; /// Definition: The door style, IfcDoorStyle, defines a particular style of doors, which may be included into the spatial context of the building model through instances of IfcDoor. A door style defines the overall parameter of the door style and refers to the particular parameter of the lining and one (or several) panels through the IfcDoorLiningProperties and the IfcDoorPanelProperties. @@ -24397,7 +24397,7 @@ public: class IFC_PARSE_API IfcDoorStyle : public IfcTypeProduct { public: IfcDoorStyle() {} - explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the general layout and operation of the door style. ::Ifc4x1::IfcDoorStyleOperationEnum::Value OperationType() const; @@ -24412,7 +24412,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x1::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x1::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -24429,13 +24429,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x1::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x1::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -24518,7 +24518,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -24529,7 +24529,7 @@ public: std::vector< ::Ifc4x1::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x1::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x1::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -24557,13 +24557,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -24574,13 +24574,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -24602,7 +24602,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -24611,7 +24611,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -24623,7 +24623,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -24639,7 +24639,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -24713,7 +24713,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x1::IfcDirection ExtrudedDirection() const; @@ -24723,7 +24723,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -24827,13 +24827,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x1::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x1::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -24851,13 +24851,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x1::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x1::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -24910,7 +24910,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x1::IfcCurveStyle HatchLineAppearance() const; @@ -24936,7 +24936,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x1::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x1::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x1::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -24947,7 +24947,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x1::IfcVector > TilingPattern() const; @@ -24959,7 +24959,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x1::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25023,7 +25023,7 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping the SELF\IfcSweptAreaSolid.SweptArea along the Directrix. ::Ifc4x1::IfcCurve Directrix() const; @@ -25038,7 +25038,7 @@ public: ::Ifc4x1::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x1::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -25072,10 +25072,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25118,7 +25118,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x1::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25126,7 +25126,7 @@ public: std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25193,13 +25193,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x1::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25212,10 +25212,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25284,7 +25284,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25306,32 +25306,32 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef @@ -25388,7 +25388,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -25409,7 +25409,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -25426,13 +25426,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x1::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -25451,7 +25451,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x1::IfcCartesianPoint Pnt() const; @@ -25460,7 +25460,7 @@ public: ::Ifc4x1::IfcVector Dir() const; void setDir(const ::Ifc4x1::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_Pnt, ::Ifc4x1::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -25529,13 +25529,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x1::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x1::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -25623,7 +25623,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -25633,19 +25633,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x1::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -25662,7 +25662,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -25671,7 +25671,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -25692,7 +25692,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -25704,21 +25704,21 @@ public: ::Ifc4x1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x1::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x1::IfcDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x1::IfcDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x1::IfcDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -25731,14 +25731,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x1::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x1::IfcSurface& v); ::Ifc4x1::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSurface v1_BasisSurface, ::Ifc4x1::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -25750,14 +25750,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x1::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x1::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -25799,10 +25799,10 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -25813,10 +25813,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -25829,10 +25829,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -25858,10 +25858,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -25880,14 +25880,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x1::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x1::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -25933,7 +25933,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -25950,7 +25950,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26047,7 +26047,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x1::IfcObjectPlacement ObjectPlacement() const; @@ -26057,7 +26057,7 @@ public: void setRepresentation(const ::Ifc4x1::IfcProductRepresentation& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26107,10 +26107,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x1::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26140,10 +26140,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x1::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26253,7 +26253,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x1::IfcValue UpperBoundValue() const; @@ -26270,7 +26270,7 @@ public: ::Ifc4x1::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x1::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcValue v3_UpperBoundValue, ::Ifc4x1::IfcValue v4_LowerBoundValue, ::Ifc4x1::IfcUnit v5_Unit, ::Ifc4x1::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -26353,7 +26353,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -26364,7 +26364,7 @@ public: ::Ifc4x1::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x1::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x1::IfcValue > > v3_EnumerationValues, ::Ifc4x1::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -26435,7 +26435,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -26446,7 +26446,7 @@ public: ::Ifc4x1::IfcUnit Unit() const; void setUnit(const ::Ifc4x1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x1::IfcValue > > v3_ListValues, ::Ifc4x1::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -26467,7 +26467,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -26478,7 +26478,7 @@ public: ::Ifc4x1::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x1::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x1::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -26537,13 +26537,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x1::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -26580,7 +26580,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -26603,7 +26603,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x1::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x1::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -26653,7 +26653,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -26666,7 +26666,7 @@ public: ::Ifc4x1::IfcUnit Unit() const; void setUnit(const ::Ifc4x1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x1::IfcValue v3_NominalValue, ::Ifc4x1::IfcUnit v4_Unit); }; /// A property with a range value @@ -26788,7 +26788,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -26815,7 +26815,7 @@ public: std::optional< ::Ifc4x1::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x1::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x1::IfcUnit v6_DefiningUnit, ::Ifc4x1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -26845,12 +26845,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcProxy is intended to be a kind of a container for wrapping objects which are defined by associated properties, which may or may not have a geometric representation and placement in space. A proxy may have a semantic meaning, defined by the Name attribute, and property definitions, attached through the property assignment relationship, which definition may be outside of the definitions given by the current release of IFC. @@ -26872,7 +26872,7 @@ public: class IFC_PARSE_API IfcProxy : public IfcProduct { public: IfcProxy() {} - explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} /// High level (and only) semantic meaning attached to the IfcProxy, defining the basic construct type behind the Proxy, e.g. Product or Process. ::Ifc4x1::IfcObjectTypeEnum::Value ProxyType() const; @@ -26881,7 +26881,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -26907,7 +26907,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -26919,7 +26919,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27013,7 +27013,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27025,7 +27025,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27046,7 +27046,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x1::IfcSurface BasisSurface() const; @@ -27070,7 +27070,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27102,7 +27102,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27111,7 +27111,7 @@ public: std::vector< ::Ifc4x1::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x1::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x1::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27128,7 +27128,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x1::IfcObjectDefinition > RelatedObjects() const; @@ -27138,7 +27138,7 @@ public: std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -27153,7 +27153,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x1::IfcActor RelatingActor() const; @@ -27162,7 +27162,7 @@ public: ::Ifc4x1::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x1::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcActor v7_RelatingActor, ::Ifc4x1::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -27173,13 +27173,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x1::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x1::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27198,13 +27198,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x1::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x1::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27219,13 +27219,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27253,7 +27253,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27264,7 +27264,7 @@ public: ::Ifc4x1::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x1::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x1::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27278,7 +27278,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27286,7 +27286,7 @@ public: ::Ifc4x1::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x1::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -27298,7 +27298,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -27306,7 +27306,7 @@ public: ::Ifc4x1::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x1::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x1::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -27353,7 +27353,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -27361,7 +27361,7 @@ public: std::vector< ::Ifc4x1::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x1::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -27370,13 +27370,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x1::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x1::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -27412,13 +27412,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x1::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x1::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -27427,7 +27427,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -27436,7 +27436,7 @@ public: ::Ifc4x1::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x1::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x1::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -27449,13 +27449,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x1::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x1::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -27468,13 +27468,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x1::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x1::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -27574,13 +27574,13 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x1::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x1::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x1::IfcMaterialSelect v6_RelatingMaterial); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -27589,10 +27589,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -27620,7 +27620,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x1::IfcConnectionGeometry ConnectionGeometry() const; @@ -27632,7 +27632,7 @@ public: ::Ifc4x1::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x1::IfcElement v6_RelatingElement, ::Ifc4x1::IfcElement v7_RelatedElement); }; /// The @@ -27668,7 +27668,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -27683,7 +27683,7 @@ public: ::Ifc4x1::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x1::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x1::IfcElement v6_RelatingElement, ::Ifc4x1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -27714,7 +27714,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x1::IfcPort RelatingPort() const; @@ -27725,7 +27725,7 @@ public: ::Ifc4x1::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x1::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcPort v5_RelatingPort, ::Ifc4x1::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -27744,7 +27744,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x1::IfcPort RelatingPort() const; @@ -27756,7 +27756,7 @@ public: ::Ifc4x1::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcPort v5_RelatingPort, ::Ifc4x1::IfcPort v6_RelatedPort, ::Ifc4x1::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -27765,7 +27765,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x1::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -27774,7 +27774,7 @@ public: ::Ifc4x1::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x1::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x1::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -27804,7 +27804,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x1::IfcStructuralMember RelatingStructuralMember() const; @@ -27825,7 +27825,7 @@ public: ::Ifc4x1::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x1::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -27848,13 +27848,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x1::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x1::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x1::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x1::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -27883,7 +27883,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x1::IfcElement > RealizingElements() const; @@ -27892,7 +27892,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x1::IfcElement v6_RelatingElement, ::Ifc4x1::IfcElement v7_RelatedElement, std::vector< ::Ifc4x1::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -27958,7 +27958,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -27969,7 +27969,7 @@ public: ::Ifc4x1::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x1::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcProduct > v5_RelatedElements, ::Ifc4x1::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -27991,7 +27991,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28002,7 +28002,7 @@ public: std::vector< ::Ifc4x1::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x1::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x1::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28034,7 +28034,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28045,7 +28045,7 @@ public: std::vector< ::Ifc4x1::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x1::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x1::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28062,7 +28062,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x1::IfcContext RelatingContext() const; @@ -28071,7 +28071,7 @@ public: std::vector< ::Ifc4x1::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x1::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcContext v5_RelatingContext, std::vector< ::Ifc4x1::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28107,10 +28107,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -28143,10 +28143,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -28167,7 +28167,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x1::IfcObject > RelatedObjects() const; @@ -28176,7 +28176,7 @@ public: ::Ifc4x1::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x1::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObject > v5_RelatedObjects, ::Ifc4x1::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28197,7 +28197,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x1::IfcObjectDefinition > RelatedObjects() const; @@ -28206,7 +28206,7 @@ public: ::Ifc4x1::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x1::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x1::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28224,7 +28224,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x1::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28233,7 +28233,7 @@ public: ::Ifc4x1::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x1::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x1::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -28308,7 +28308,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x1::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x1::IfcObject >& v); @@ -28316,7 +28316,7 @@ public: ::Ifc4x1::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x1::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcObject > v5_RelatedObjects, ::Ifc4x1::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -28331,7 +28331,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x1::IfcOpeningElement RelatingOpeningElement() const; @@ -28342,7 +28342,7 @@ public: ::Ifc4x1::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x1::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -28355,7 +28355,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x1::IfcDistributionControlElement > RelatedControlElements() const; @@ -28364,7 +28364,7 @@ public: ::Ifc4x1::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x1::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x1::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -28417,7 +28417,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x1::IfcElement RelatingElement() const; @@ -28435,7 +28435,7 @@ public: boost::logic::tribool ImpliedOrder() const; void setImpliedOrder(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcElement v5_RelatingElement, ::Ifc4x1::IfcElement v6_RelatedElement, ::Ifc4x1::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder); }; /// The nesting relationship @@ -28466,7 +28466,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -28479,7 +28479,7 @@ public: std::vector< ::Ifc4x1::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x1::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x1::IfcObjectDefinition > v6_RelatedObjects); }; /// The IfcRelProjectsElement is an objectified relationship @@ -28517,7 +28517,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x1::IfcElement RelatingElement() const; @@ -28526,7 +28526,7 @@ public: ::Ifc4x1::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x1::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcElement v5_RelatingElement, ::Ifc4x1::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -28581,7 +28581,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -28593,7 +28593,7 @@ public: ::Ifc4x1::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x1::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x1::IfcProduct > v5_RelatedElements, ::Ifc4x1::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -28653,7 +28653,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x1::IfcProcess RelatingProcess() const; @@ -28681,7 +28681,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcProcess v5_RelatingProcess, ::Ifc4x1::IfcProcess v6_RelatedProcess, ::Ifc4x1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -28708,7 +28708,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x1::IfcSystem RelatingSystem() const; @@ -28721,7 +28721,7 @@ public: std::vector< ::Ifc4x1::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x1::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x1::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -28889,7 +28889,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x1::IfcSpaceBoundarySelect RelatingSpace() const; @@ -28913,7 +28913,7 @@ public: ::Ifc4x1::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x1::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x1::IfcElement v6_RelatedBuildingElement, ::Ifc4x1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -28966,14 +28966,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x1::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x1::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x1::IfcElement v6_RelatedBuildingElement, ::Ifc4x1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29011,14 +29011,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x1::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x1::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x1::IfcElement v6_RelatedBuildingElement, ::Ifc4x1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29031,14 +29031,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x1::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x1::IfcElement& v); ::Ifc4x1::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x1::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcElement v5_RelatingBuildingElement, ::Ifc4x1::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29067,12 +29067,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x1::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29091,7 +29091,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29106,7 +29106,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -29188,7 +29188,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x1::IfcAxis1Placement Axis() const; @@ -29197,7 +29197,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29261,12 +29261,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x1::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x1::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -29337,7 +29337,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -29346,7 +29346,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -29433,7 +29433,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -29442,35 +29442,35 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x1::IfcCurve& v); std::vector< ::Ifc4x1::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x1::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_Directrix, std::vector< ::Ifc4x1::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x1::IfcDistanceExpression > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x1::IfcDistanceExpression >& v); bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_Directrix, std::vector< ::Ifc4x1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x1::IfcDistanceExpression > v3_CrossSectionPositions, bool v4_FixedAxisVertical); }; /// The IfcSimplePropertyTemplate defines the template for @@ -29521,7 +29521,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -29571,7 +29571,7 @@ public: std::optional< ::Ifc4x1::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x1::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x1::IfcUnit v9_PrimaryUnit, ::Ifc4x1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x1::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -29608,7 +29608,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -29619,7 +29619,7 @@ public: std::vector< IfcRelServicesBuildings > ServicedBySystems() const; // INVERSE IfcRelServicesBuildings::RelatedBuildings std::vector< IfcRelReferencedInSpatialStructure > ReferencesElements() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatingStructure - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -29656,13 +29656,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -29742,7 +29742,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -29751,7 +29751,7 @@ public: std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -29791,10 +29791,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -29849,13 +29849,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x1::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -29891,7 +29891,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x1::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -29899,7 +29899,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -29955,25 +29955,25 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30072,7 +30072,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -30100,7 +30100,7 @@ public: void setGlobalOrLocal(const ::Ifc4x1::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -30193,11 +30193,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -30207,11 +30207,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30237,10 +30237,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -30266,7 +30266,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -30275,7 +30275,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -30299,10 +30299,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -30330,13 +30330,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -30353,20 +30353,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x1::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x1::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x1::IfcCurve& v); @@ -30375,7 +30375,7 @@ public: ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -30443,7 +30443,7 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping the SELF\IfcSweptAreaSolid.SweptArea along the Directrix. ::Ifc4x1::IfcCurve Directrix() const; @@ -30462,7 +30462,7 @@ public: ::Ifc4x1::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x1::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptArea, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x1::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -30481,7 +30481,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x1::IfcDirection ExtrudedDirection() const; @@ -30490,7 +30490,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptCurve, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -30513,13 +30513,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x1::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x1::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileDef v1_SweptCurve, ::Ifc4x1::IfcAxis2Placement3D v2_Position, ::Ifc4x1::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -30555,12 +30555,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -30811,7 +30811,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -30853,7 +30853,7 @@ public: std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x1::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -30899,7 +30899,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -30909,35 +30909,35 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x1::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x1::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; /// Definition from IAI: The element type @@ -31006,20 +31006,20 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcElementType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x1::IfcTransportElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcTransportElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTransportElementTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31030,19 +31030,19 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer @@ -31146,7 +31146,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -31193,7 +31193,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x1::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31244,7 +31244,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x1::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -31264,7 +31264,7 @@ public: ::Ifc4x1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x1::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -31285,14 +31285,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x1::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x1::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -31331,10 +31331,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -31361,63 +31361,63 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x1::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x1::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x1::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcAlignment2DHorizontalSegment : public IfcAlignment2DSegment { public: IfcAlignment2DHorizontalSegment() {} - explicit IfcAlignment2DHorizontalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} + explicit IfcAlignment2DHorizontalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} ::Ifc4x1::IfcCurveSegment2D CurveGeometry() const; void setCurveGeometry(const ::Ifc4x1::IfcCurveSegment2D& v); std::vector< IfcAlignment2DHorizontal > ToHorizontal() const; // INVERSE IfcAlignment2DHorizontal::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, ::Ifc4x1::IfcCurveSegment2D v4_CurveGeometry); }; class IFC_PARSE_API IfcAlignment2DVerSegCircularArc : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegCircularArc() {} - explicit IfcAlignment2DVerSegCircularArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegCircularArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} double Radius() const; void setRadius(const double& v); bool IsConvex() const; void setIsConvex(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_Radius, bool v9_IsConvex); }; class IFC_PARSE_API IfcAlignment2DVerSegLine : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegLine() {} - explicit IfcAlignment2DVerSegLine (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegLine (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient); }; class IFC_PARSE_API IfcAlignment2DVerSegParabolicArc : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegParabolicArc() {} - explicit IfcAlignment2DVerSegParabolicArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegParabolicArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} double ParabolaConstant() const; void setParabolaConstant(const double& v); bool IsConvex() const; void setIsConvex(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_ParabolaConstant, bool v9_IsConvex); }; /// Definition from IAI: An annotation is a graphical @@ -31596,11 +31596,11 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -31675,7 +31675,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -31699,7 +31699,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -31712,7 +31712,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -31730,7 +31730,7 @@ public: ::Ifc4x1::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x1::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -31833,7 +31833,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -31845,7 +31845,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -31858,10 +31858,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x1::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -31877,10 +31877,10 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -32060,7 +32060,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcSpatialStructureElement { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -32072,7 +32072,7 @@ public: ::Ifc4x1::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x1::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x1::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: The element type @@ -32107,10 +32107,10 @@ public: class IFC_PARSE_API IfcBuildingElementType : public IfcElementType { public: IfcBuildingElementType() {} - explicit IfcBuildingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuildingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The building storey has an @@ -32293,13 +32293,13 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; /// Definition from IAI: The IfcChimneyType @@ -32330,13 +32330,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuildingElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x1::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32360,23 +32360,23 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The element type @@ -32480,13 +32480,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuildingElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x1::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -32500,7 +32500,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -32510,7 +32510,7 @@ public: std::optional< std::vector< ::Ifc4x1::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x1::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x1::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -32582,7 +32582,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x1::IfcCompositeCurveSegment > Segments() const; @@ -32591,7 +32591,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -32608,10 +32608,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -32622,13 +32622,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x1::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -32647,13 +32647,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -32672,13 +32672,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -32697,13 +32697,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -32781,7 +32781,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x1::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x1::IfcResourceTime& v); @@ -32790,7 +32790,7 @@ public: ::Ifc4x1::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x1::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -32806,7 +32806,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -32816,7 +32816,7 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -32858,7 +32858,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -32880,7 +32880,7 @@ public: std::optional< std::vector< ::Ifc4x1::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x1::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x1::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -32909,7 +32909,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -32936,7 +32936,7 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; /// Definition from IAI: The element type @@ -33021,13 +33021,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuildingElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x1::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -33043,14 +33043,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x1::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -33077,20 +33077,20 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuildingElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x1::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCurveSegment2D : public IfcBoundedCurve { public: IfcCurveSegment2D() {} - explicit IfcCurveSegment2D (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCurveSegment2D (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x1::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x1::IfcCartesianPoint& v); @@ -33099,7 +33099,7 @@ public: double SegmentLength() const; void setSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -33159,13 +33159,13 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; /// Definition from IAI: The @@ -33199,10 +33199,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33273,10 +33273,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33377,7 +33377,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -33425,7 +33425,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x1::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -33476,7 +33476,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -33496,7 +33496,7 @@ public: ::Ifc4x1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x1::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -33630,7 +33630,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuildingElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x1::IfcDoorTypeEnum::Value PredefinedType() const; @@ -33643,7 +33643,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -33721,10 +33721,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -33743,10 +33743,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -33805,7 +33805,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -33823,7 +33823,7 @@ public: std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -33923,7 +33923,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x1::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -33934,7 +33934,7 @@ public: std::optional< ::Ifc4x1::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -33962,13 +33962,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x1::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -34051,10 +34051,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -34069,10 +34069,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -34105,7 +34105,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -34114,7 +34114,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -34143,10 +34143,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -34178,12 +34178,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x1::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -34215,13 +34215,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34253,13 +34253,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x1::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34342,7 +34342,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34361,7 +34361,7 @@ public: ::Ifc4x1::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x1::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x1::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34372,10 +34372,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -34405,10 +34405,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -34438,13 +34438,13 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x1::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x1::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x1::IfcClosedShell > v2_Voids); }; /// Definition from IAI: @@ -34458,13 +34458,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x1::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -34493,13 +34493,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x1::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -34599,10 +34599,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -34663,11 +34663,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -34723,11 +34723,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -34755,10 +34755,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -34787,10 +34787,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -34828,13 +34828,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x1::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -34862,10 +34862,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -34902,10 +34902,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -34918,10 +34918,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -34934,10 +34934,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -34951,10 +34951,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -34969,13 +34969,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuildingElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Subtype of footing. ::Ifc4x1::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -35085,10 +35085,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -35125,12 +35125,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35276,13 +35276,13 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x1::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35318,11 +35318,11 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35357,13 +35357,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x1::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -35395,20 +35395,20 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x1::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x1::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x1::IfcCartesianPointList& v); @@ -35417,7 +35417,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x1::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -35456,22 +35456,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x1::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -35488,7 +35488,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -35513,7 +35513,7 @@ public: ::Ifc4x1::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x1::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x1::IfcCostValue v10_CurrentValue, ::Ifc4x1::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -35546,13 +35546,13 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x1::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -35582,14 +35582,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x1::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -35624,13 +35624,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x1::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -35667,23 +35667,23 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x1::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLineSegment2D : public IfcCurveSegment2D { public: IfcLineSegment2D() {} - explicit IfcLineSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcLineSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -35718,7 +35718,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -35728,7 +35728,7 @@ public: std::optional< ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -35769,7 +35769,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -35781,7 +35781,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -35813,12 +35813,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -35925,13 +35925,13 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuildingElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x1::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMemberTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -35964,13 +35964,13 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x1::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -35983,7 +35983,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -35991,7 +35991,7 @@ public: std::optional< ::Ifc4x1::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x1::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -36199,7 +36199,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36208,7 +36208,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The standard opening, @@ -36307,10 +36307,10 @@ public: class IFC_PARSE_API IfcOpeningStandardCase : public IfcOpeningElement { public: IfcOpeningStandardCase() {} - explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} + explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -36345,13 +36345,13 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x1::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcOutletTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -36362,7 +36362,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -36373,7 +36373,7 @@ public: std::optional< ::Ifc4x1::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -36410,7 +36410,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x1::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -36428,7 +36428,7 @@ public: ::Ifc4x1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x1::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -36471,7 +36471,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -36489,7 +36489,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -36502,13 +36502,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcBuildingElementType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Subtype of pile. ::Ifc4x1::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -36543,13 +36543,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x1::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -36588,13 +36588,13 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x1::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -36677,20 +36677,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuildingElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x1::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -36699,7 +36699,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -36719,13 +36719,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x1::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x1::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -36784,24 +36784,24 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -36911,14 +36911,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x1::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x1::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -36967,7 +36967,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36989,7 +36989,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -37102,7 +37102,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37110,7 +37110,7 @@ public: std::optional< ::Ifc4x1::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -37151,13 +37151,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -37191,13 +37191,13 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x1::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcPumpTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -37223,13 +37223,13 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuildingElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x1::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRailingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -37255,13 +37255,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuildingElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x1::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -37300,13 +37300,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuildingElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x1::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -37325,27 +37325,27 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x1::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcReferentTypeEnum::Value >& v); std::optional< double > RestartDistance() const; void setRestartDistance(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x1::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37359,12 +37359,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37373,10 +37373,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37406,7 +37406,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -37428,7 +37428,7 @@ public: std::optional< ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37445,7 +37445,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -37479,7 +37479,7 @@ public: std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > v20_BendingParameters); }; /// The aggregation relationship @@ -37507,7 +37507,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -37520,7 +37520,7 @@ public: std::vector< ::Ifc4x1::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x1::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x1::IfcObjectDefinition > v6_RelatedObjects); }; /// Definition from IAI: The element type @@ -37558,13 +37558,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuildingElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x1::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -37607,23 +37607,23 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// Definition from IAI: The IfcShadingDeviceType @@ -37650,13 +37650,13 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuildingElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x1::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -37851,7 +37851,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -37872,7 +37872,7 @@ public: ::Ifc4x1::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x1::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x1::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -37955,13 +37955,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuildingElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x1::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -37993,12 +37993,12 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x1::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; /// A space represents an area or volume @@ -38254,7 +38254,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -38269,7 +38269,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -38305,13 +38305,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -38398,7 +38398,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x1::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -38406,7 +38406,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -38438,13 +38438,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x1::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -38470,13 +38470,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuildingElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x1::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38515,13 +38515,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuildingElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x1::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -38546,13 +38546,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -38561,14 +38561,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x1::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x1::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -38630,7 +38630,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -38639,7 +38639,7 @@ public: ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -38662,7 +38662,7 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Direction which is used in the definition of the local z axis. Axis is specified relative to the so-called global coordinate system, i.e. the SELF\IfcProduct.ObjectPlacement. /// @@ -38670,7 +38670,7 @@ public: ::Ifc4x1::IfcDirection Axis() const; void setAxis(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x1::IfcDirection v9_Axis); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -38713,7 +38713,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -38724,7 +38724,7 @@ public: ::Ifc4x1::IfcDirection Axis() const; void setAxis(const ::Ifc4x1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x1::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -38750,10 +38750,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x1::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -38809,13 +38809,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -38828,10 +38828,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -38870,7 +38870,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x1::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -38890,7 +38890,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -38941,10 +38941,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -38963,13 +38963,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x1::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x1::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -39018,10 +39018,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -39031,7 +39031,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x1::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -39044,7 +39044,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -39102,7 +39102,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39111,7 +39111,7 @@ public: ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -39129,10 +39129,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -39162,14 +39162,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x1::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -39207,13 +39207,13 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x1::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSurfaceFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -39259,13 +39259,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -39288,11 +39288,11 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -39322,12 +39322,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -39365,20 +39365,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x1::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x1::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcTendonTypeEnum::Value >& v); @@ -39397,38 +39397,38 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x1::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x1::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x1::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcTendonTypeEnum::Value& v); @@ -39439,7 +39439,7 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -39472,20 +39472,20 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x1::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTransformerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTransitionCurveSegment2D : public IfcCurveSegment2D { public: IfcTransitionCurveSegment2D() {} - explicit IfcTransitionCurveSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcTransitionCurveSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} std::optional< double > StartRadius() const; void setStartRadius(const std::optional< double >& v); @@ -39498,7 +39498,7 @@ public: ::Ifc4x1::IfcTransitionCurveType::Value TransitionCurveType() const; void setTransitionCurveType(const ::Ifc4x1::IfcTransitionCurveType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x1::IfcTransitionCurveType::Value v8_TransitionCurveType); }; /// Definition from IAI: Generalization of all transport @@ -39620,7 +39620,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcElement { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -39628,7 +39628,7 @@ public: std::optional< ::Ifc4x1::IfcTransportElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcTransportElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTransportElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: @@ -39712,7 +39712,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x1::IfcCurve BasisCurve() const; @@ -39730,7 +39730,7 @@ public: ::Ifc4x1::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x1::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x1::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -39765,13 +39765,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x1::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -39805,13 +39805,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -39855,13 +39855,13 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x1::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcValveTypeEnum::Value v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -39901,12 +39901,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -39934,13 +39934,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -40032,10 +40032,10 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -40073,13 +40073,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x1::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -40169,13 +40169,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuildingElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x1::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -40217,13 +40217,13 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x1::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -40350,7 +40350,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuildingElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x1::IfcWindowTypeEnum::Value PredefinedType() const; @@ -40363,7 +40363,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -40382,7 +40382,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -40401,7 +40401,7 @@ public: std::optional< ::Ifc4x1::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -40451,7 +40451,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -40475,7 +40475,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -40506,14 +40506,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x1::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -40559,14 +40559,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x1::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -40657,7 +40657,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -40667,7 +40667,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -40711,7 +40711,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -40733,7 +40733,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -40765,13 +40765,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -40803,12 +40803,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x1::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -40840,20 +40840,20 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentCurve : public IfcBoundedCurve { public: IfcAlignmentCurve() {} - explicit IfcAlignmentCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcAlignmentCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x1::IfcAlignment2DHorizontal Horizontal() const; void setHorizontal(const ::Ifc4x1::IfcAlignment2DHorizontal& v); @@ -40862,7 +40862,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAlignment2DHorizontal v1_Horizontal, ::Ifc4x1::IfcAlignment2DVertical v2_Vertical, std::optional< std::string > v3_Tag); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -40892,7 +40892,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -40927,7 +40927,7 @@ public: ::Ifc4x1::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x1::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x1::IfcCostValue v7_OriginalValue, ::Ifc4x1::IfcCostValue v8_CurrentValue, ::Ifc4x1::IfcCostValue v9_TotalReplacementCost, ::Ifc4x1::IfcActorSelect v10_Owner, ::Ifc4x1::IfcActorSelect v11_User, ::Ifc4x1::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x1::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -40975,13 +40975,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -41036,7 +41036,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -41054,7 +41054,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -41077,7 +41077,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -41089,7 +41089,7 @@ public: ::Ifc4x1::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x1::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -41193,13 +41193,13 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuildingElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x1::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -41234,13 +41234,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x1::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -41253,10 +41253,10 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO 6707-1:1989: Major functional part @@ -41625,10 +41625,10 @@ public: class IFC_PARSE_API IfcBuildingElement : public IfcElement { public: IfcBuildingElement() {} - explicit IfcBuildingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuildingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Layers or major components as subordinate @@ -41651,13 +41651,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -41667,13 +41667,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -41869,12 +41869,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuildingElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuildingElement(data) {} std::optional< ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -41914,13 +41914,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuildingElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -41962,7 +41962,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x1::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -41970,7 +41970,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42003,12 +42003,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x1::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42040,13 +42040,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42084,13 +42084,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42124,13 +42124,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x1::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42177,13 +42177,13 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x1::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -42221,13 +42221,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x1::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42274,14 +42274,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuildingElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x1::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42314,37 +42314,37 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCircularArcSegment2D : public IfcCurveSegment2D { public: IfcCircularArcSegment2D() {} - explicit IfcCircularArcSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcCircularArcSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} double Radius() const; void setRadius(const double& v); bool IsCCW() const; void setIsCCW(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, double v4_Radius, bool v5_IsCCW); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -42377,13 +42377,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x1::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -42660,7 +42660,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuildingElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -42669,7 +42669,7 @@ public: std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The standard column, @@ -42920,10 +42920,10 @@ public: class IFC_PARSE_API IfcColumnStandardCase : public IfcColumn { public: IfcColumnStandardCase() {} - explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} + explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -42961,13 +42961,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -43000,13 +43000,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x1::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -43039,13 +43039,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x1::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -43073,14 +43073,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -43112,14 +43112,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -43140,14 +43140,14 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -43182,13 +43182,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x1::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -43227,13 +43227,13 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x1::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -43463,7 +43463,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuildingElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x1::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -43471,7 +43471,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -43615,7 +43615,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuildingElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -43624,7 +43624,7 @@ public: std::optional< ::Ifc4x1::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -43664,13 +43664,13 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x1::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDamperTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Representation of different kinds of @@ -43849,13 +43849,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -44049,13 +44049,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -44098,13 +44098,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -44164,10 +44164,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -44335,11 +44335,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -44413,11 +44413,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -44505,7 +44505,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x1::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -44516,7 +44516,7 @@ public: std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -44562,7 +44562,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -44573,7 +44573,7 @@ public: std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -44935,7 +44935,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuildingElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -44963,7 +44963,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The standard door, @@ -45073,10 +45073,10 @@ public: class IFC_PARSE_API IfcDoorStandardCase : public IfcDoor { public: IfcDoorStandardCase() {} - explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} + explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -45111,13 +45111,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x1::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -45152,13 +45152,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x1::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -45190,13 +45190,13 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x1::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -45231,13 +45231,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x1::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -45270,13 +45270,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -45309,13 +45309,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -45353,13 +45353,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -45392,13 +45392,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x1::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -45431,13 +45431,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -45452,10 +45452,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -45502,12 +45502,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -45557,12 +45557,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -45632,12 +45632,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -45658,14 +45658,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x1::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -45699,13 +45699,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x1::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -45740,13 +45740,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x1::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -45785,13 +45785,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -45806,10 +45806,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -45820,10 +45820,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -45859,13 +45859,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -45951,12 +45951,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x1::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -45967,10 +45967,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -45999,10 +45999,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -46017,10 +46017,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -46037,10 +46037,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -46051,10 +46051,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -46082,7 +46082,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuildingElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// The generic type of the footing. /// @@ -46090,7 +46090,7 @@ public: std::optional< ::Ifc4x1::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFootingTypeEnum::Value > v9_PredefinedType); }; /// IfcGrid ia a planar design @@ -46192,7 +46192,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x1::IfcGridAxis > UAxes() const; @@ -46206,7 +46206,7 @@ public: std::optional< ::Ifc4x1::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x1::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -46262,12 +46262,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -46316,12 +46316,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -46384,12 +46384,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x1::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -46461,12 +46461,12 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x1::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -46519,12 +46519,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -46596,24 +46596,24 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} ::Ifc4x1::IfcCurve Axis() const; void setAxis(const ::Ifc4x1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcCurve v8_Axis); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -46663,12 +46663,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -46924,7 +46924,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuildingElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -46933,7 +46933,7 @@ public: std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// The standard member, @@ -47178,10 +47178,10 @@ public: class IFC_PARSE_API IfcMemberStandardCase : public IfcMember { public: IfcMemberStandardCase() {} - explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} + explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -47228,12 +47228,12 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -47244,10 +47244,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -47319,12 +47319,12 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcOutletTypeEnum::Value > v9_PredefinedType); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -47348,7 +47348,7 @@ public: class IFC_PARSE_API IfcPile : public IfcBuildingElement { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// The predefined generic type of the pile according to function. /// @@ -47361,7 +47361,7 @@ public: std::optional< ::Ifc4x1::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x1::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x1::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -47452,12 +47452,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x1::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -47523,12 +47523,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x1::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -47762,7 +47762,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuildingElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -47771,7 +47771,7 @@ public: std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// The standard plate, @@ -47930,10 +47930,10 @@ public: class IFC_PARSE_API IfcPlateStandardCase : public IfcPlate { public: IfcPlateStandardCase() {} - explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} + explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -48015,12 +48015,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -48066,13 +48066,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -48127,12 +48127,12 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x1::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcPumpTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -48270,7 +48270,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuildingElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -48278,7 +48278,7 @@ public: std::optional< ::Ifc4x1::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -48417,7 +48417,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuildingElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -48427,7 +48427,7 @@ public: std::optional< ::Ifc4x1::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -48621,7 +48621,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuildingElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -48630,7 +48630,7 @@ public: std::optional< ::Ifc4x1::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -48672,13 +48672,13 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x1::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, ::Ifc4x1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48712,7 +48712,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -48726,7 +48726,7 @@ public: std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48748,7 +48748,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x1::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -48770,7 +48770,7 @@ public: std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x1::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -48921,7 +48921,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuildingElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -48929,7 +48929,7 @@ public: std::optional< ::Ifc4x1::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -49061,12 +49061,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -49120,13 +49120,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x1::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -49146,14 +49146,14 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuildingElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x1::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -49419,7 +49419,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuildingElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -49428,7 +49428,7 @@ public: std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The IfcSlabElementedCase @@ -49517,10 +49517,10 @@ public: class IFC_PARSE_API IfcSlabElementedCase : public IfcSlab { public: IfcSlabElementedCase() {} - explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The standard slab, @@ -49685,10 +49685,10 @@ public: class IFC_PARSE_API IfcSlabStandardCase : public IfcSlab { public: IfcSlabStandardCase() {} - explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -49741,12 +49741,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -49814,12 +49814,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -49875,12 +49875,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -50051,7 +50051,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuildingElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -50059,7 +50059,7 @@ public: std::optional< ::Ifc4x1::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -50232,7 +50232,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuildingElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -50258,7 +50258,7 @@ public: std::optional< ::Ifc4x1::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x1::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -50287,7 +50287,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x1::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -50318,7 +50318,7 @@ public: ::Ifc4x1::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x1::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x1::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -50327,7 +50327,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -50337,7 +50337,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -50350,10 +50350,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -50447,12 +50447,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -50518,12 +50518,12 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x1::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTankTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -50571,12 +50571,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -50629,12 +50629,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -50666,13 +50666,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -50750,12 +50750,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -50947,12 +50947,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x1::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -51200,7 +51200,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuildingElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -51209,7 +51209,7 @@ public: std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallElementedCase @@ -51313,10 +51313,10 @@ public: class IFC_PARSE_API IfcWallElementedCase : public IfcWall { public: IfcWallElementedCase() {} - explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -51524,10 +51524,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -51637,12 +51637,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -52006,7 +52006,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuildingElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -52034,7 +52034,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The standard window, @@ -52154,10 +52154,10 @@ public: class IFC_PARSE_API IfcWindowStandardCase : public IfcWindow { public: IfcWindowStandardCase() {} - explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} + explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -52194,13 +52194,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x1::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -52263,12 +52263,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -52316,12 +52316,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -52372,12 +52372,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -52409,25 +52409,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x1::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x1::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, ::Ifc4x1::IfcCurve v8_Axis, std::optional< ::Ifc4x1::IfcAlignmentTypeEnum::Value > v9_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -52611,12 +52611,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -52859,7 +52859,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuildingElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -52868,7 +52868,7 @@ public: std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value > v9_PredefinedType); }; /// The standard beam, @@ -53125,10 +53125,10 @@ public: class IFC_PARSE_API IfcBeamStandardCase : public IfcBeam { public: IfcBeamStandardCase() {} - explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} + explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBeamTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -53203,12 +53203,12 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -53255,12 +53255,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -53327,13 +53327,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -53398,13 +53398,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -53484,13 +53484,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x1::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -53583,13 +53583,13 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x1::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -53664,12 +53664,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -53741,12 +53741,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -53854,12 +53854,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -53911,12 +53911,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x1::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -53988,12 +53988,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -54035,13 +54035,13 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x1::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x1::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x1::IfcControllerTypeEnum::Value v10_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -54096,12 +54096,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -54164,12 +54164,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -54246,12 +54246,12 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x1::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDamperTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -54288,22 +54288,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x1::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -54387,11 +54387,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -54472,12 +54472,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x1::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -54532,12 +54532,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x1::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -54585,12 +54585,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x1::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -54694,12 +54694,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -54762,12 +54762,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -54814,12 +54814,12 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -54872,12 +54872,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -54924,12 +54924,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x1::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -54976,12 +54976,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -55041,12 +55041,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x1::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -55139,12 +55139,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x1::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -55216,12 +55216,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -55279,12 +55279,12 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; /// Entity Definition @@ -55342,12 +55342,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -55487,12 +55487,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x1::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -55553,12 +55553,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -55626,12 +55626,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x1::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -55679,12 +55679,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x1::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -55796,12 +55796,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x1::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x1::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x1::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x2-schema.cpp b/src/ifcparse/schemas/Ifc4x2-schema.cpp index 289b72ae3f..384c420a04 100644 --- a/src/ifcparse/schemas/Ifc4x2-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x2-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x2.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X2_types[1223] = {nullptr}; -IfcParse::schema_definition* IFC4X2_populate_schema() { +ifcopenshell::schema_definition* IFC4X2_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"DEAD_LOAD_G"s,"COMPLETION_G1"s,"LIVE_LOAD_Q"s,"SNOW_S"s,"WIND_W"s,"PRESTRESSING_P"s,"SETTLEMENT_U"s,"TEMPERATURE_T"s,"EARTHQUAKE_E"s,"FIRE"s,"IMPULSE"s,"IMPACT"s,"TRANSPORT"s,"ERECTION"s,"PROPPING"s,"SYSTEM_IMPERFECTION"s,"SHRINKAGE"s,"CREEP"s,"LACK_OF_FIT"s,"BUOYANCY"s,"ICE"s,"CURRENT"s,"WAVE"s,"RAIN"s,"BRAKES"s,"IfcActionTypeEnum"s,"PERMANENT_G"s,"VARIABLE_Q"s,"EXTRAORDINARY_A"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"OFFICE"s,"SITE"s,"HOME"s,"DISTRIBUTIONPOINT"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"HEATPIPE"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"SIREN"s,"WHISTLE"s,"IfcAlignmentTypeEnum"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"OUT_PLANE_LOADING_2D"s,"LOADING_3D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"IfcBSplineCurveForm"s,"POLYLINE_FORM"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"PARABOLIC_ARC"s,"HYPERBOLIC_ARC"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"PLANE_SURF"s,"CYLINDRICAL_SURF"s,"CONICAL_SURF"s,"SPHERICAL_SURF"s,"TOROIDAL_SURF"s,"SURF_OF_REVOLUTION"s,"RULED_SURF"s,"GENERALISED_CONE"s,"QUADRIC_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"IfcBeamTypeEnum"s,"BEAM"s,"JOIST"s,"HOLLOWCORE"s,"LINTEL"s,"SPANDREL"s,"T_BEAM"s,"GIRDER_SEGMENT"s,"DIAPHRAGM"s,"PIERCAP"s,"HATSTONE"s,"CORNICE"s,"EDGEBEAM"s,"IfcBearingTypeDisplacementEnum"s,"FIXED_MOVEMENT"s,"GUIDED_LONGITUDINAL"s,"GUIDED_TRANSVERSAL"s,"FREE_MOVEMENT"s,"IfcBearingTypeEnum"s,"CYLINDRICAL"s,"SPHERICAL"s,"ELASTOMERIC"s,"POT"s,"GUIDE"s,"ROCKER"s,"ROLLER"s,"DISK"s,"IfcBenchmarkEnum"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"EQUALTO"s,"NOTEQUALTO"s,"INCLUDES"s,"NOTINCLUDES"s,"INCLUDEDIN"s,"NOTINCLUDEDIN"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"WATER"s,"STEAM"s,"IfcBoolean"s,"IfcBooleanOperator"s,"UNION"s,"INTERSECTION"s,"DIFFERENCE"s,"IfcBridgePartTypeEnum"s,"ABUTMENT"s,"DECK"s,"DECK_SEGMENT"s,"FOUNDATION"s,"PIER"s,"PIER_SEGMENT"s,"PYLON"s,"SUBSTRUCTURE"s,"SUPERSTRUCTURE"s,"SURFACESTRUCTURE"s,"IfcBridgeTypeEnum"s,"ARCHED"s,"CABLE_STAYED"s,"CANTILEVER"s,"CULVERT"s,"FRAMEWORK"s,"GIRDER"s,"SUSPENSION"s,"TRUSS"s,"IfcBuildingElementPartTypeEnum"s,"INSULATION"s,"PRECASTPANEL"s,"APRON"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORVOID"s,"PROVISIONFORSPACE"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"REINFORCING"s,"PRESTRESSING"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CROSS"s,"REDUCER"s,"TEE"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CONDUITSEGMENT"s,"IfcCableFittingTypeEnum"s,"CONNECTOR"s,"ENTRY"s,"EXIT"s,"JUNCTION"s,"TRANSITION"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CORESEGMENT"s,"IfcCaissonFoundationTypeEnum"s,"WELL"s,"CAISSON"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"NOCHANGE"s,"MODIFIED"s,"ADDED"s,"DELETED"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"WATERCOOLED"s,"HEATRECOVERY"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PILASTER"s,"PIERSTEM"s,"PIERSTEM_SEGMENT"s,"STANDCOLUMN"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"COMPUTER"s,"GATEWAY"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"PRINTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"DYNAMIC"s,"RECIPROCATING"s,"ROTARY"s,"SCROLL"s,"TROCHOIDAL"s,"SINGLESTAGE"s,"BOOSTER"s,"OPENTYPE"s,"HERMETIC"s,"SEMIHERMETIC"s,"WELDEDSHELLHERMETIC"s,"ROLLINGPISTON"s,"ROTARYVANE"s,"SINGLESCREW"s,"TWINSCREW"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATPATH"s,"ATSTART"s,"ATEND"s,"IfcConstraintEnum"s,"HARD"s,"SOFT"s,"ADVISORY"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"MULTIPOSITION"s,"TWOPOSITION"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"NATURALDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"MECHANICALFORCEDDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"TENDER"s,"PRICEDBILLOFQUANTITIES"s,"UNPRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"IfcCountMeasure"s,"IfcCoveringTypeEnum"s,"CEILING"s,"FLOORING"s,"CLADDING"s,"ROOFING"s,"MOLDING"s,"SKIRTINGBOARD"s,"MEMBRANE"s,"SLEEVING"s,"WRAPPING"s,"COPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"INTEGERCOUNTRATEUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARVELOCITYUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"TORQUEUNIT"s,"MOMENTOFINERTIAUNIT"s,"LINEARMOMENTUNIT"s,"LINEARFORCEUNIT"s,"PLANARFORCEUNIT"s,"MODULUSOFELASTICITYUNIT"s,"SHEARMODULUSUNIT"s,"LINEARSTIFFNESSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"ACCELERATIONUNIT"s,"CURVATUREUNIT"s,"HEATINGVALUEUNIT"s,"IONCONCENTRATIONUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"PHUNIT"s,"ROTATIONALMASSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"POSITIVE"s,"NEGATIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BRACKET"s,"SHOE"s,"EXPANSION_JOINT_DEVICE"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"IfcDocumentConfidentialityEnum"s,"PUBLIC"s,"RESTRICTED"s,"CONFIDENTIAL"s,"PERSONAL"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINALDRAFT"s,"FINAL"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"SWINGING"s,"DOUBLE_ACTING"s,"SLIDING"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"FIXEDPANEL"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorStyleConstructionEnum"s,"ALUMINIUM"s,"HIGH_GRADE_STEEL"s,"STEEL"s,"ALUMINIUM_WOOD"s,"ALUMINIUM_PLASTIC"s,"IfcDoorStyleOperationEnum"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"DOUBLE_DOOR_FOLDING"s,"IfcDoorTypeEnum"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"IfcDoorTypeOperationEnum"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"RIGIDSEGMENT"s,"FLEXIBLESEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERHEATER"s,"FREESTANDINGWATERCOOLER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"CONSUMERUNIT"s,"DISTRIBUTIONBOARD"s,"MOTORCONTROLCENTRE"s,"SWITCHBOARD"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITORBANK"s,"HARMONICFILTER"s,"INDUCTORBANK"s,"UPS"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"TIMECLOCK"s,"TIMEDELAY"s,"RELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SLAB_FIELD"s,"CROSS_BRACING"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVEAIRWASHER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTRULE"s,"EVENTMESSAGE"s,"EVENTTIME"s,"EVENTCOMPLEX"s,"IfcEventTypeEnum"s,"STARTEVENT"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_WATER"s,"EXTERNAL_FIRE"s,"IfcFanTypeEnum"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALAIRFOIL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"PROPELLORAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SOURCE"s,"SINK"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"AMMETER"s,"FREQUENCYMETER"s,"POWERFACTORMETER"s,"PHASEANGLEMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"CHAIR"s,"TABLE"s,"DESK"s,"BED"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"IfcGeographicElementTypeEnum"s,"TERRAIN"s,"SOIL_BORING_POINT"s,"IfcGeometricProjectionEnum"s,"GRAPH_VIEW"s,"SKETCH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"ELEVATION_VIEW"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"RADIAL"s,"TRIANGULAR"s,"IRREGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"STEAMINJECTION"s,"ADIABATICAIRWASHER"s,"ADIABATICPAN"s,"ADIABATICWETTEDELEMENT"s,"ADIABATICATOMIZING"s,"ADIABATICULTRASONIC"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDBUTANE"s,"ASSISTEDSTEAM"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"SPACEINVENTORY"s,"FURNITUREINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"UNIFORM_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"PIECEWISE_BEZIER_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"POINTSOURCE"s,"DIRECTIONSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLoadGroupTypeEnum"s,"LOAD_GROUP"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALOR"s,"LOGICALXOR"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RIVET"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"COUPLER"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STRINGER"s,"STRUT"s,"STUD"s,"STIFFENING_RIB"s,"ARCH_SEGMENT"s,"SUSPENSION_CABLE"s,"SUSPENDER"s,"STAY_CABLE"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNonNegativeLengthMeasure"s,"IfcNullStyle"s,"NULL"s,"IfcNumericMeasure"s,"IfcObjectTypeEnum"s,"PRODUCT"s,"PROCESS"s,"RESOURCE"s,"ACTOR"s,"GROUP"s,"PROJECT"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"POWEROUTLET"s,"DATAOUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"DRIVEN"s,"JETGROUTING"s,"COHESION"s,"FRICTION"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"CURTAIN_PANEL"s,"SHEET"s,"FLANGE_PLATE"s,"WEB_PLATE"s,"STIFFENER_PLATE"s,"GUSSET_PLATE"s,"COVER_PLATE"s,"SPLICE_PLATE"s,"BASE_PLATE"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"CURVE"s,"AREA"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"BLISTER"s,"DEVIATOR"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTRONIC"s,"ELECTROMAGNETIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"CIRCUITBREAKER"s,"EARTHLEAKAGECIRCUITBREAKER"s,"EARTHINGSWITCH"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"VARISTOR"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailingTypeEnum"s,"HANDRAIL"s,"GUARDRAIL"s,"BALUSTRADE"s,"IfcRampFlightTypeEnum"s,"STRAIGHT"s,"SPIRAL"s,"IfcRampTypeEnum"s,"STRAIGHT_RUN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"QUARTER_TURN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"HALF_TURN_RAMP"s,"SPIRAL_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"DAILY"s,"WEEKLY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"KILOPOINT"s,"MILEPOINT"s,"STATION"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcingBarRoleEnum"s,"MAIN"s,"SHEAR"s,"LIGATURE"s,"PUNCHING"s,"EDGE"s,"RING"s,"ANCHORING"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"SPACEBAR"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoleEnum"s,"SUPPLIER"s,"MANUFACTURER"s,"CONTRACTOR"s,"SUBCONTRACTOR"s,"ARCHITECT"s,"STRUCTURALENGINEER"s,"COSTENGINEER"s,"CLIENT"s,"BUILDINGOWNER"s,"BUILDINGOPERATOR"s,"MECHANICALENGINEER"s,"ELECTRICALENGINEER"s,"PROJECTMANAGER"s,"FACILITIESMANAGER"s,"CIVILENGINEER"s,"COMMISSIONINGENGINEER"s,"ENGINEER"s,"CONSULTANT"s,"CONSTRUCTIONMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"RESELLER"s,"IfcRoofTypeEnum"s,"FLAT_ROOF"s,"SHED_ROOF"s,"GABLE_ROOF"s,"HIP_ROOF"s,"HIPPED_GABLE_ROOF"s,"GAMBREL_ROOF"s,"MANSARD_ROOF"s,"BARREL_ROOF"s,"RAINBOW_ROOF"s,"BUTTERFLY_ROOF"s,"PAVILION_ROOF"s,"DOME_ROOF"s,"FREEFORM"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"EXA"s,"PETA"s,"TERA"s,"GIGA"s,"MEGA"s,"KILO"s,"HECTO"s,"DECA"s,"DECI"s,"CENTI"s,"MILLI"s,"MICRO"s,"NANO"s,"PICO"s,"FEMTO"s,"ATTO"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SHOWER"s,"SANITARYFOUNTAIN"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"UNIFORM"s,"TAPERED"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"COSENSOR"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"SMOKESENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"WINDSENSOR"s,"IfcSequenceEnum"s,"START_START"s,"START_FINISH"s,"FINISH_START"s,"FINISH_FINISH"s,"IfcShadingDeviceTypeEnum"s,"JALOUSIE"s,"SHUTTER"s,"AWNING"s,"IfcShearModulusMeasure"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_SINGLEVALUE"s,"P_ENUMERATEDVALUE"s,"P_BOUNDEDVALUE"s,"P_LISTVALUE"s,"P_TABLEVALUE"s,"P_REFERENCEVALUE"s,"Q_LENGTH"s,"Q_AREA"s,"Q_VOLUME"s,"Q_COUNT"s,"Q_WEIGHT"s,"Q_TIME"s,"IfcSlabTypeEnum"s,"FLOOR"s,"ROOF"s,"LANDING"s,"BASESLAB"s,"APPROACH_SLAB"s,"WEARING"s,"SIDEWALK"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"SPACE"s,"PARKING"s,"GFA"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"OCCUPANCY"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"WINDER"s,"CURVED"s,"IfcStairTypeEnum"s,"STRAIGHT_RUN_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"QUARTER_WINDING_STAIR"s,"QUARTER_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"HALF_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"SPIRAL_STAIR"s,"DOUBLE_RETURN_STAIR"s,"CURVED_RUN_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"IfcStateEnum"s,"READWRITE"s,"READONLY"s,"LOCKED"s,"READWRITELOCKED"s,"READONLYLOCKED"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"POLYGONAL"s,"EQUIDISTANT"s,"SINUS"s,"PARABOLA"s,"DISCRETE"s,"IfcStructuralCurveMemberTypeEnum"s,"RIGID_JOINED_MEMBER"s,"PIN_JOINED_MEMBER"s,"TENSION_MEMBER"s,"COMPRESSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"MARK"s,"TAG"s,"TREATMENT"s,"DEFECT"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"WORKSURFACE"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"PRESSUREVESSEL"s,"STORAGE"s,"VESSEL"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonConduitTypeEnum"s,"GROUTING_DUCT"s,"TRUMPET"s,"DIABOLO"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"UP"s,"DOWN"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTransformerTypeEnum"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"IfcTransitionCode"s,"DISCONTINUOUS"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"IfcTransitionCurveType"s,"BIQUADRATICPARABOLA"s,"BLOSSCURVE"s,"CLOTHOIDCURVE"s,"COSINECURVE"s,"CUBICPARABOLA"s,"SINECURVE"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementTypeEnum"s,"ELEVATOR"s,"ESCALATOR"s,"MOVINGWALKWAY"s,"CRANEWAY"s,"LIFTINGGEAR"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"INDICATORPANEL"s,"MIMICPANEL"s,"HUMIDISTAT"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRHANDLER"s,"AIRCONDITIONINGUNIT"s,"DEHUMIDIFIER"s,"SPLITSYSTEM"s,"ROOFTOPUNIT"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DRAWOFFCOCK"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVibrationDamperTypeEnum"s,"BENDING_YIELD"s,"SHEAR_YIELD"s,"AXIAL_YIELD"s,"VISCOUS"s,"RUBBER"s,"IfcVibrationIsolatorTypeEnum"s,"COMPRESSION"s,"SPRING"s,"BASE"s,"IfcVoidingFeatureTypeEnum"s,"CUTOUT"s,"NOTCH"s,"HOLE"s,"MITER"s,"CHAMFER"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"SOLIDWALL"s,"STANDARD"s,"ELEMENTEDWALL"s,"RETAININGWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"SIDEHUNGRIGHTHAND"s,"SIDEHUNGLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TILTANDTURNLEFTHAND"s,"TOPHUNG"s,"BOTTOMHUNG"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"REMOVABLECASEMENT"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowStyleConstructionEnum"s,"OTHER_CONSTRUCTION"s,"IfcWindowStyleOperationEnum"s,"SINGLE_PANEL"s,"DOUBLE_PANEL_VERTICAL"s,"DOUBLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_VERTICAL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_HORIZONTAL"s,"IfcWindowTypeEnum"s,"WINDOW"s,"SKYLIGHT"s,"LIGHTDOME"s,"IfcWindowTypePartitioningEnum"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcPresentationStyleAssignment"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcDerivedMeasureValue"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcStyleAssignmentSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientationExpression"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcWindowStyle"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcPresentationStyleSelect"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAlignment2DHorizontal"s,"IfcAlignment2DSegment"s,"IfcAlignment2DVertical"s,"IfcAlignment2DVerticalSegment"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcDirection"s,"IfcDistanceExpression"s,"IfcDoorStyle"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcProxy"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelPositions"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcToroidalSurface"s,"IfcTransportElementType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAlignment2DHorizontalSegment"s,"IfcAlignment2DVerSegCircularArc"s,"IfcAlignment2DVerSegLine"s,"IfcAlignment2DVerSegParabolicArc"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuildingElementType"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCurveSegment2D"s,"IfcCylindricalSurface"s,"IfcDeepFoundationType"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFacility"s,"IfcFacilityPart"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLineSegment2D"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMotorConnectionType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOpeningStandardCase"s,"IfcOutletType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailingType"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAggregates"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcShadingDeviceType"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonConduit"s,"IfcTendonConduitType"s,"IfcTendonType"s,"IfcTransformerType"s,"IfcTransitionCurveSegment2D"s,"IfcTransportElement"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVibrationDamper"s,"IfcVibrationDamperType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignmentCurve"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBearingType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBridge"s,"IfcBridgePart"s,"IfcBuilding"s,"IfcBuildingElement"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxy"s,"IfcBuildingElementProxyType"s,"IfcBuildingStorey"s,"IfcBuildingSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcCaissonFoundationType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCircularArcSegment2D"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcColumnStandardCase"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDeepFoundation"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDoorStandardCase"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMemberStandardCase"s,"IfcMotorConnection"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcPlateStandardCase"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSlab"s,"IfcSlabElementedCase"s,"IfcSlabStandardCase"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTransformer"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallElementedCase"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcWindowStandardCase"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBeamStandardCase"s,"IfcBearing"s,"IfcBoiler"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcCaissonFoundation"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"StartDistAlong"s,"Segments"s,"CurveGeometry"s,"TangentialContinuity"s,"StartTag"s,"EndTag"s,"Radius"s,"IsConvex"s,"ParabolaConstant"s,"HorizontalLength"s,"StartHeight"s,"StartGradient"s,"Horizontal"s,"Vertical"s,"Tag"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"IsCCW"s,"Source"s,"Edition"s,"EditionDate"s,"Location"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Transition"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"VerticalDatum"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"StartPoint"s,"StartDirection"s,"SegmentLength"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"AlongHorizontal"s,"FlowDirection"s,"SystemType"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ConstructionType"s,"ParameterTakesPrecedence"s,"Sizeable"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"ModelorDraughting"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"Directrix"s,"StartParam"s,"EndParam"s,"FixedReference"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"PlacementMeasuredAlong"s,"Distance"s,"CartesianPosition"s,"RelativePlacement"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"Expression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"PlacementRelTo"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"LateralAxisDirection"s,"VerticalAxisDirection"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"Height"s,"ColourComponents"s,"Pixel"s,"Placement"s,"SizeInX"s,"SizeInY"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"Styles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"ProxyType"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"RestartDistance"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"ConnectionGeometry"s,"RelatingElement"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceType"s,"ImpliedOrder"s,"RelatingPositioningElement"s,"RelatedProducts"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"FixedAxisVertical"s,"SpineCurve"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"StartRadius"s,"EndRadius"s,"IsStartRadiusCCW"s,"IsEndRadiusCCW"s,"TransitionCurveType"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"Start"s,"Finish"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ToAlignmentCurve"s,"ToHorizontal"s,"ToVertical"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"PositioningElement"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"UsingCurves"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"ReferencedInStructures"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ToFaceSet"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"Positions"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"PositionedRelativeTo"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"HasColours"s,"HasTextures"s,"Types"s,"IFC4X2"s}; diff --git a/src/ifcparse/schemas/Ifc4x2.cpp b/src/ifcparse/schemas/Ifc4x2.cpp index 2da53b7364..abd6669fc2 100644 --- a/src/ifcparse/schemas/Ifc4x2.cpp +++ b/src/ifcparse/schemas/Ifc4x2.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x2.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x2::Identifier = "IFC4X2"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X2_types[1223]; -// const IfcParse::enumeration_type& Ifc4x2::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[3]); } -const IfcParse::enumeration_type& Ifc4x2::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[3]); } /* -Ifc4x2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x2::IfcActionRequestTypeEnum::Value Ifc4x2::IfcActionRequestTypeEnum::FromSt } Ifc4x2::IfcActionRequestTypeEnum::operator Ifc4x2::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x2::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[4]); } -const IfcParse::enumeration_type& Ifc4x2::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[4]); } /* -Ifc4x2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x2::IfcActionSourceTypeEnum::Value Ifc4x2::IfcActionSourceTypeEnum::FromStri } Ifc4x2::IfcActionSourceTypeEnum::operator Ifc4x2::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x2::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[5]); } -const IfcParse::enumeration_type& Ifc4x2::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[5]); } /* -Ifc4x2::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x2::IfcActionTypeEnum::Value Ifc4x2::IfcActionTypeEnum::FromString(const std } Ifc4x2::IfcActionTypeEnum::operator Ifc4x2::IfcActionTypeEnum::Value() const { - return (Ifc4x2::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[11]); } -const IfcParse::enumeration_type& Ifc4x2::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[11]); } /* -Ifc4x2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x2::IfcActuatorTypeEnum::Value Ifc4x2::IfcActuatorTypeEnum::FromString(const } Ifc4x2::IfcActuatorTypeEnum::operator Ifc4x2::IfcActuatorTypeEnum::Value() const { - return (Ifc4x2::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[13]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[13]); } /* -Ifc4x2::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x2::IfcAddressTypeEnum::Value Ifc4x2::IfcAddressTypeEnum::FromString(const s } Ifc4x2::IfcAddressTypeEnum::operator Ifc4x2::IfcAddressTypeEnum::Value() const { - return (Ifc4x2::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[20]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[20]); } /* -Ifc4x2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x2::IfcAirTerminalBoxTypeEnum::Value Ifc4x2::IfcAirTerminalBoxTypeEnum::From } Ifc4x2::IfcAirTerminalBoxTypeEnum::operator Ifc4x2::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x2::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[22]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[22]); } /* -Ifc4x2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x2::IfcAirTerminalTypeEnum::Value Ifc4x2::IfcAirTerminalTypeEnum::FromString } Ifc4x2::IfcAirTerminalTypeEnum::operator Ifc4x2::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x2::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[25]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[25]); } /* -Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x2::IfcAirToAirHeatRecoveryTy } Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[28]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[28]); } /* -Ifc4x2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x2::IfcAlarmTypeEnum::Value Ifc4x2::IfcAlarmTypeEnum::FromString(const std:: } Ifc4x2::IfcAlarmTypeEnum::operator Ifc4x2::IfcAlarmTypeEnum::Value() const { - return (Ifc4x2::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[39]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[39]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[39]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[39]); } /* -Ifc4x2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x2::IfcAlignmentTypeEnum::Value Ifc4x2::IfcAlignmentTypeEnum::FromString(con } Ifc4x2::IfcAlignmentTypeEnum::operator Ifc4x2::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x2::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[41]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[41]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[41]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[41]); } /* -Ifc4x2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x2::IfcAnalysisModelTypeEnum::Value Ifc4x2::IfcAnalysisModelTypeEnum::FromSt } Ifc4x2::IfcAnalysisModelTypeEnum::operator Ifc4x2::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x2::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[42]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[42]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[42]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[42]); } /* -Ifc4x2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x2::IfcAnalysisTheoryTypeEnum::Value Ifc4x2::IfcAnalysisTheoryTypeEnum::From } Ifc4x2::IfcAnalysisTheoryTypeEnum::operator Ifc4x2::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x2::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[57]); } -const IfcParse::enumeration_type& Ifc4x2::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[57]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[57]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[57]); } /* -Ifc4x2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x2::IfcArithmeticOperatorEnum::Value Ifc4x2::IfcArithmeticOperatorEnum::From } Ifc4x2::IfcArithmeticOperatorEnum::operator Ifc4x2::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x2::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[58]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[58]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[58]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[58]); } /* -Ifc4x2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x2::IfcAssemblyPlaceEnum::Value Ifc4x2::IfcAssemblyPlaceEnum::FromString(con } Ifc4x2::IfcAssemblyPlaceEnum::operator Ifc4x2::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x2::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[63]); } -const IfcParse::enumeration_type& Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[63]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[63]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[63]); } /* -Ifc4x2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value Ifc4x2::IfcAudioVisualApplianceTy } Ifc4x2::IfcAudioVisualApplianceTypeEnum::operator Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[105]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[105]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[105]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[105]); } /* -Ifc4x2::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x2::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x2::IfcBSplineCurveForm::Value Ifc4x2::IfcBSplineCurveForm::FromString(const } Ifc4x2::IfcBSplineCurveForm::operator Ifc4x2::IfcBSplineCurveForm::Value() const { - return (Ifc4x2::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[108]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[108]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[108]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[108]); } /* -Ifc4x2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x2::IfcBSplineSurfaceForm::Value Ifc4x2::IfcBSplineSurfaceForm::FromString(c } Ifc4x2::IfcBSplineSurfaceForm::operator Ifc4x2::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x2::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[71]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[71]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[71]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[71]); } /* -Ifc4x2::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x2::IfcBeamTypeEnum::Value Ifc4x2::IfcBeamTypeEnum::FromString(const std::st } Ifc4x2::IfcBeamTypeEnum::operator Ifc4x2::IfcBeamTypeEnum::Value() const { - return (Ifc4x2::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBearingTypeDisplacementEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[74]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBearingTypeDisplacementEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[74]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBearingTypeDisplacementEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[74]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBearingTypeDisplacementEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[74]); } /* -Ifc4x2::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) +Ifc4x2::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x2::IfcBearingTypeDisplacementEnum::Value Ifc4x2::IfcBearingTypeDisplacement } Ifc4x2::IfcBearingTypeDisplacementEnum::operator Ifc4x2::IfcBearingTypeDisplacementEnum::Value() const { - return (Ifc4x2::IfcBearingTypeDisplacementEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBearingTypeDisplacementEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBearingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[75]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBearingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[75]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[75]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[75]); } /* -Ifc4x2::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x2::IfcBearingTypeEnum::Value Ifc4x2::IfcBearingTypeEnum::FromString(const s } Ifc4x2::IfcBearingTypeEnum::operator Ifc4x2::IfcBearingTypeEnum::Value() const { - return (Ifc4x2::IfcBearingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[76]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[76]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[76]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[76]); } /* -Ifc4x2::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x2::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x2::IfcBenchmarkEnum::Value Ifc4x2::IfcBenchmarkEnum::FromString(const std:: } Ifc4x2::IfcBenchmarkEnum::operator Ifc4x2::IfcBenchmarkEnum::Value() const { - return (Ifc4x2::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[83]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[83]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[83]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[83]); } /* -Ifc4x2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x2::IfcBoilerTypeEnum::Value Ifc4x2::IfcBoilerTypeEnum::FromString(const std } Ifc4x2::IfcBoilerTypeEnum::operator Ifc4x2::IfcBoilerTypeEnum::Value() const { - return (Ifc4x2::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[87]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[87]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[87]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[87]); } /* -Ifc4x2::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x2::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x2::IfcBooleanOperator::Value Ifc4x2::IfcBooleanOperator::FromString(const s } Ifc4x2::IfcBooleanOperator::operator Ifc4x2::IfcBooleanOperator::Value() const { - return (Ifc4x2::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBridgePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[102]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBridgePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[102]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[102]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[102]); } /* -Ifc4x2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x2::IfcBridgePartTypeEnum::Value Ifc4x2::IfcBridgePartTypeEnum::FromString(c } Ifc4x2::IfcBridgePartTypeEnum::operator Ifc4x2::IfcBridgePartTypeEnum::Value() const { - return (Ifc4x2::IfcBridgePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBridgeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[103]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBridgeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[103]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[103]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[103]); } /* -Ifc4x2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x2::IfcBridgeTypeEnum::Value Ifc4x2::IfcBridgeTypeEnum::FromString(const std } Ifc4x2::IfcBridgeTypeEnum::operator Ifc4x2::IfcBridgeTypeEnum::Value() const { - return (Ifc4x2::IfcBridgeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[114]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[114]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[114]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[114]); } /* -Ifc4x2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x2::IfcBuildingElementPartTypeEnum::Value Ifc4x2::IfcBuildingElementPartType } Ifc4x2::IfcBuildingElementPartTypeEnum::operator Ifc4x2::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x2::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[117]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[117]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[117]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[117]); } /* -Ifc4x2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x2::IfcBuildingElementProxyTypeEnum::Value Ifc4x2::IfcBuildingElementProxyTy } Ifc4x2::IfcBuildingElementProxyTypeEnum::operator Ifc4x2::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x2::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[121]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[121]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[121]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[121]); } /* -Ifc4x2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x2::IfcBuildingSystemTypeEnum::Value Ifc4x2::IfcBuildingSystemTypeEnum::From } Ifc4x2::IfcBuildingSystemTypeEnum::operator Ifc4x2::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x2::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[124]); } -const IfcParse::enumeration_type& Ifc4x2::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[124]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[124]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[124]); } /* -Ifc4x2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x2::IfcBurnerTypeEnum::Value Ifc4x2::IfcBurnerTypeEnum::FromString(const std } Ifc4x2::IfcBurnerTypeEnum::operator Ifc4x2::IfcBurnerTypeEnum::Value() const { - return (Ifc4x2::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[127]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[127]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[127]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[127]); } /* -Ifc4x2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x2::IfcCableCarrierFittingTypeEnum::Value Ifc4x2::IfcCableCarrierFittingType } Ifc4x2::IfcCableCarrierFittingTypeEnum::operator Ifc4x2::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x2::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[130]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[130]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[130]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[130]); } /* -Ifc4x2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value Ifc4x2::IfcCableCarrierSegmentType } Ifc4x2::IfcCableCarrierSegmentTypeEnum::operator Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[133]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[133]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[133]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[133]); } /* -Ifc4x2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x2::IfcCableFittingTypeEnum::Value Ifc4x2::IfcCableFittingTypeEnum::FromStri } Ifc4x2::IfcCableFittingTypeEnum::operator Ifc4x2::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x2::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[136]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[136]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[136]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[136]); } /* -Ifc4x2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x2::IfcCableSegmentTypeEnum::Value Ifc4x2::IfcCableSegmentTypeEnum::FromStri } Ifc4x2::IfcCableSegmentTypeEnum::operator Ifc4x2::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x2::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCaissonFoundationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[139]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCaissonFoundationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[139]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[139]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[139]); } /* -Ifc4x2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x2::IfcCaissonFoundationTypeEnum::Value Ifc4x2::IfcCaissonFoundationTypeEnum } Ifc4x2::IfcCaissonFoundationTypeEnum::operator Ifc4x2::IfcCaissonFoundationTypeEnum::Value() const { - return (Ifc4x2::IfcCaissonFoundationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[151]); } -const IfcParse::enumeration_type& Ifc4x2::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[151]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[151]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[151]); } /* -Ifc4x2::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x2::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x2::IfcChangeActionEnum::Value Ifc4x2::IfcChangeActionEnum::FromString(const } Ifc4x2::IfcChangeActionEnum::operator Ifc4x2::IfcChangeActionEnum::Value() const { - return (Ifc4x2::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[154]); } -const IfcParse::enumeration_type& Ifc4x2::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[154]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[154]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[154]); } /* -Ifc4x2::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x2::IfcChillerTypeEnum::Value Ifc4x2::IfcChillerTypeEnum::FromString(const s } Ifc4x2::IfcChillerTypeEnum::operator Ifc4x2::IfcChillerTypeEnum::Value() const { - return (Ifc4x2::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[157]); } -const IfcParse::enumeration_type& Ifc4x2::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[157]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[157]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[157]); } /* -Ifc4x2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x2::IfcChimneyTypeEnum::Value Ifc4x2::IfcChimneyTypeEnum::FromString(const s } Ifc4x2::IfcChimneyTypeEnum::operator Ifc4x2::IfcChimneyTypeEnum::Value() const { - return (Ifc4x2::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[171]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[171]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[171]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[171]); } /* -Ifc4x2::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x2::IfcCoilTypeEnum::Value Ifc4x2::IfcCoilTypeEnum::FromString(const std::st } Ifc4x2::IfcCoilTypeEnum::operator Ifc4x2::IfcCoilTypeEnum::Value() const { - return (Ifc4x2::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[180]); } -const IfcParse::enumeration_type& Ifc4x2::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[180]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[180]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[180]); } /* -Ifc4x2::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x2::IfcColumnTypeEnum::Value Ifc4x2::IfcColumnTypeEnum::FromString(const std } Ifc4x2::IfcColumnTypeEnum::operator Ifc4x2::IfcColumnTypeEnum::Value() const { - return (Ifc4x2::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[183]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[183]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[183]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[183]); } /* -Ifc4x2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value Ifc4x2::IfcCommunicationsAppli } Ifc4x2::IfcCommunicationsApplianceTypeEnum::operator Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[187]); } -const IfcParse::enumeration_type& Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[187]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[187]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[187]); } /* -Ifc4x2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x2::IfcComplexPropertyTemp } Ifc4x2::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[195]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[195]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[195]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[195]); } /* -Ifc4x2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x2::IfcCompressorTypeEnum::Value Ifc4x2::IfcCompressorTypeEnum::FromString(c } Ifc4x2::IfcCompressorTypeEnum::operator Ifc4x2::IfcCompressorTypeEnum::Value() const { - return (Ifc4x2::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[198]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[198]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[198]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[198]); } /* -Ifc4x2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x2::IfcCondenserTypeEnum::Value Ifc4x2::IfcCondenserTypeEnum::FromString(con } Ifc4x2::IfcCondenserTypeEnum::operator Ifc4x2::IfcCondenserTypeEnum::Value() const { - return (Ifc4x2::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[206]); } -const IfcParse::enumeration_type& Ifc4x2::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[206]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[206]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[206]); } /* -Ifc4x2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x2::IfcConnectionTypeEnum::Value Ifc4x2::IfcConnectionTypeEnum::FromString(c } Ifc4x2::IfcConnectionTypeEnum::operator Ifc4x2::IfcConnectionTypeEnum::Value() const { - return (Ifc4x2::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[209]); } -const IfcParse::enumeration_type& Ifc4x2::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[209]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[209]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[209]); } /* -Ifc4x2::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x2::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x2::IfcConstraintEnum::Value Ifc4x2::IfcConstraintEnum::FromString(const std } Ifc4x2::IfcConstraintEnum::operator Ifc4x2::IfcConstraintEnum::Value() const { - return (Ifc4x2::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[212]); } -const IfcParse::enumeration_type& Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[212]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[212]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[212]); } /* -Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x2::IfcConstructionE } Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[215]); } -const IfcParse::enumeration_type& Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[215]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[215]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[215]); } /* -Ifc4x2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x2::IfcConstructionMa } Ifc4x2::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[218]); } -const IfcParse::enumeration_type& Ifc4x2::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[218]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[218]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[218]); } /* -Ifc4x2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x2::IfcConstructionProductResourceTypeEnum::Value Ifc4x2::IfcConstructionPro } Ifc4x2::IfcConstructionProductResourceTypeEnum::operator Ifc4x2::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x2::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[227]); } -const IfcParse::enumeration_type& Ifc4x2::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[227]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[227]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[227]); } /* -Ifc4x2::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x2::IfcControllerTypeEnum::Value Ifc4x2::IfcControllerTypeEnum::FromString(c } Ifc4x2::IfcControllerTypeEnum::operator Ifc4x2::IfcControllerTypeEnum::Value() const { - return (Ifc4x2::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[232]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[232]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[232]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[232]); } /* -Ifc4x2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x2::IfcCooledBeamTypeEnum::Value Ifc4x2::IfcCooledBeamTypeEnum::FromString(c } Ifc4x2::IfcCooledBeamTypeEnum::operator Ifc4x2::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x2::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[235]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[235]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[235]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[235]); } /* -Ifc4x2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x2::IfcCoolingTowerTypeEnum::Value Ifc4x2::IfcCoolingTowerTypeEnum::FromStri } Ifc4x2::IfcCoolingTowerTypeEnum::operator Ifc4x2::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x2::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[240]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[240]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[240]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[240]); } /* -Ifc4x2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x2::IfcCostItemTypeEnum::Value Ifc4x2::IfcCostItemTypeEnum::FromString(const } Ifc4x2::IfcCostItemTypeEnum::operator Ifc4x2::IfcCostItemTypeEnum::Value() const { - return (Ifc4x2::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[242]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[242]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[242]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[242]); } /* -Ifc4x2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x2::IfcCostScheduleTypeEnum::Value Ifc4x2::IfcCostScheduleTypeEnum::FromStri } Ifc4x2::IfcCostScheduleTypeEnum::operator Ifc4x2::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x2::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[247]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[247]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[247]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[247]); } /* -Ifc4x2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x2::IfcCoveringTypeEnum::Value Ifc4x2::IfcCoveringTypeEnum::FromString(const } Ifc4x2::IfcCoveringTypeEnum::operator Ifc4x2::IfcCoveringTypeEnum::Value() const { - return (Ifc4x2::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[250]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[250]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[250]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[250]); } /* -Ifc4x2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x2::IfcCrewResourceTypeEnum::Value Ifc4x2::IfcCrewResourceTypeEnum::FromStri } Ifc4x2::IfcCrewResourceTypeEnum::operator Ifc4x2::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x2::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[258]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[258]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[258]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[258]); } /* -Ifc4x2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x2::IfcCurtainWallTypeEnum::Value Ifc4x2::IfcCurtainWallTypeEnum::FromString } Ifc4x2::IfcCurtainWallTypeEnum::operator Ifc4x2::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x2::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[264]); } -const IfcParse::enumeration_type& Ifc4x2::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[264]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[264]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[264]); } /* -Ifc4x2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x2::IfcCurveInterpolationEnum::Value Ifc4x2::IfcCurveInterpolationEnum::From } Ifc4x2::IfcCurveInterpolationEnum::operator Ifc4x2::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x2::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[276]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[276]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[276]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[276]); } /* -Ifc4x2::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x2::IfcDamperTypeEnum::Value Ifc4x2::IfcDamperTypeEnum::FromString(const std } Ifc4x2::IfcDamperTypeEnum::operator Ifc4x2::IfcDamperTypeEnum::Value() const { - return (Ifc4x2::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[277]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[277]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[277]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[277]); } /* -Ifc4x2::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x2::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x2::IfcDataOriginEnum::Value Ifc4x2::IfcDataOriginEnum::FromString(const std } Ifc4x2::IfcDataOriginEnum::operator Ifc4x2::IfcDataOriginEnum::Value() const { - return (Ifc4x2::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[289]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[289]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[289]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[289]); } /* -Ifc4x2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x2::IfcDerivedUnitEnum::Value Ifc4x2::IfcDerivedUnitEnum::FromString(const s } Ifc4x2::IfcDerivedUnitEnum::operator Ifc4x2::IfcDerivedUnitEnum::Value() const { - return (Ifc4x2::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[294]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[294]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[294]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[294]); } /* -Ifc4x2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x2::IfcDirectionSenseEnum::Value Ifc4x2::IfcDirectionSenseEnum::FromString(c } Ifc4x2::IfcDirectionSenseEnum::operator Ifc4x2::IfcDirectionSenseEnum::Value() const { - return (Ifc4x2::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[297]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[297]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[297]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[297]); } /* -Ifc4x2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value Ifc4x2::IfcDiscreteAccessoryTypeEnum } Ifc4x2::IfcDiscreteAccessoryTypeEnum::operator Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[301]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[301]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[301]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[301]); } /* -Ifc4x2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x2::IfcDistributionChamberElementTypeEnum::Value Ifc4x2::IfcDistributionCham } Ifc4x2::IfcDistributionChamberElementTypeEnum::operator Ifc4x2::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x2::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[310]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[310]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[310]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[310]); } /* -Ifc4x2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x2::IfcDistributionPortTypeEnum::Value Ifc4x2::IfcDistributionPortTypeEnum:: } Ifc4x2::IfcDistributionPortTypeEnum::operator Ifc4x2::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x2::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[312]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[312]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[312]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[312]); } /* -Ifc4x2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x2::IfcDistributionSystemEnum::Value Ifc4x2::IfcDistributionSystemEnum::From } Ifc4x2::IfcDistributionSystemEnum::operator Ifc4x2::IfcDistributionSystemEnum::Value() const { - return (Ifc4x2::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[313]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[313]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[313]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[313]); } /* -Ifc4x2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x2::IfcDocumentConfidentialityEnum::Value Ifc4x2::IfcDocumentConfidentiality } Ifc4x2::IfcDocumentConfidentialityEnum::operator Ifc4x2::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x2::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[318]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[318]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[318]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[318]); } /* -Ifc4x2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x2::IfcDocumentStatusEnum::Value Ifc4x2::IfcDocumentStatusEnum::FromString(c } Ifc4x2::IfcDocumentStatusEnum::operator Ifc4x2::IfcDocumentStatusEnum::Value() const { - return (Ifc4x2::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[321]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[321]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[321]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[321]); } /* -Ifc4x2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x2::IfcDoorPanelOperationEnum::Value Ifc4x2::IfcDoorPanelOperationEnum::From } Ifc4x2::IfcDoorPanelOperationEnum::operator Ifc4x2::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x2::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[322]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[322]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[322]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[322]); } /* -Ifc4x2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x2::IfcDoorPanelPositionEnum::Value Ifc4x2::IfcDoorPanelPositionEnum::FromSt } Ifc4x2::IfcDoorPanelPositionEnum::operator Ifc4x2::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x2::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDoorStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[326]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDoorStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[326]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[326]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[326]); } /* -Ifc4x2::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x2::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x2::IfcDoorStyleConstructionEnum::Value Ifc4x2::IfcDoorStyleConstructionEnum } Ifc4x2::IfcDoorStyleConstructionEnum::operator Ifc4x2::IfcDoorStyleConstructionEnum::Value() const { - return (Ifc4x2::IfcDoorStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDoorStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDoorStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[327]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDoorStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[327]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[327]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[327]); } /* -Ifc4x2::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) +Ifc4x2::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x2::IfcDoorStyleOperationEnum::Value Ifc4x2::IfcDoorStyleOperationEnum::From } Ifc4x2::IfcDoorStyleOperationEnum::operator Ifc4x2::IfcDoorStyleOperationEnum::Value() const { - return (Ifc4x2::IfcDoorStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDoorStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[329]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[329]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[329]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[329]); } /* -Ifc4x2::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x2::IfcDoorTypeEnum::Value Ifc4x2::IfcDoorTypeEnum::FromString(const std::st } Ifc4x2::IfcDoorTypeEnum::operator Ifc4x2::IfcDoorTypeEnum::Value() const { - return (Ifc4x2::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[330]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[330]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[330]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[330]); } /* -Ifc4x2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x2::IfcDoorTypeOperationEnum::Value Ifc4x2::IfcDoorTypeOperationEnum::FromSt } Ifc4x2::IfcDoorTypeOperationEnum::operator Ifc4x2::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x2::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[336]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[336]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[336]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[336]); } /* -Ifc4x2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x2::IfcDuctFittingTypeEnum::Value Ifc4x2::IfcDuctFittingTypeEnum::FromString } Ifc4x2::IfcDuctFittingTypeEnum::operator Ifc4x2::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x2::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[339]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[339]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[339]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[339]); } /* -Ifc4x2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x2::IfcDuctSegmentTypeEnum::Value Ifc4x2::IfcDuctSegmentTypeEnum::FromString } Ifc4x2::IfcDuctSegmentTypeEnum::operator Ifc4x2::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x2::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[342]); } -const IfcParse::enumeration_type& Ifc4x2::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[342]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[342]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[342]); } /* -Ifc4x2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x2::IfcDuctSilencerTypeEnum::Value Ifc4x2::IfcDuctSilencerTypeEnum::FromStri } Ifc4x2::IfcDuctSilencerTypeEnum::operator Ifc4x2::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x2::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[350]); } -const IfcParse::enumeration_type& Ifc4x2::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[350]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[350]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[350]); } /* -Ifc4x2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x2::IfcElectricApplianceTypeEnum::Value Ifc4x2::IfcElectricApplianceTypeEnum } Ifc4x2::IfcElectricApplianceTypeEnum::operator Ifc4x2::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x2::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[357]); } -const IfcParse::enumeration_type& Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[357]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[357]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[357]); } /* -Ifc4x2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value Ifc4x2::IfcElectricDistribut } Ifc4x2::IfcElectricDistributionBoardTypeEnum::operator Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[360]); } -const IfcParse::enumeration_type& Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[360]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[360]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[360]); } /* -Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x2::IfcElectricFlowStora } Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[363]); } -const IfcParse::enumeration_type& Ifc4x2::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[363]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[363]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[363]); } /* -Ifc4x2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x2::IfcElectricGeneratorTypeEnum::Value Ifc4x2::IfcElectricGeneratorTypeEnum } Ifc4x2::IfcElectricGeneratorTypeEnum::operator Ifc4x2::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x2::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[366]); } -const IfcParse::enumeration_type& Ifc4x2::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[366]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[366]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[366]); } /* -Ifc4x2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x2::IfcElectricMotorTypeEnum::Value Ifc4x2::IfcElectricMotorTypeEnum::FromSt } Ifc4x2::IfcElectricMotorTypeEnum::operator Ifc4x2::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x2::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[370]); } -const IfcParse::enumeration_type& Ifc4x2::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[370]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[370]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[370]); } /* -Ifc4x2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x2::IfcElectricTimeControlTypeEnum::Value Ifc4x2::IfcElectricTimeControlType } Ifc4x2::IfcElectricTimeControlTypeEnum::operator Ifc4x2::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x2::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[376]); } -const IfcParse::enumeration_type& Ifc4x2::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[376]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[376]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[376]); } /* -Ifc4x2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x2::IfcElementAssemblyTypeEnum::Value Ifc4x2::IfcElementAssemblyTypeEnum::Fr } Ifc4x2::IfcElementAssemblyTypeEnum::operator Ifc4x2::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x2::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[379]); } -const IfcParse::enumeration_type& Ifc4x2::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[379]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[379]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[379]); } /* -Ifc4x2::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x2::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x2::IfcElementCompositionEnum::Value Ifc4x2::IfcElementCompositionEnum::From } Ifc4x2::IfcElementCompositionEnum::operator Ifc4x2::IfcElementCompositionEnum::Value() const { - return (Ifc4x2::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[389]); } -const IfcParse::enumeration_type& Ifc4x2::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[389]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[389]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[389]); } /* -Ifc4x2::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x2::IfcEngineTypeEnum::Value Ifc4x2::IfcEngineTypeEnum::FromString(const std } Ifc4x2::IfcEngineTypeEnum::operator Ifc4x2::IfcEngineTypeEnum::Value() const { - return (Ifc4x2::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[392]); } -const IfcParse::enumeration_type& Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[392]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[392]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[392]); } /* -Ifc4x2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value Ifc4x2::IfcEvaporativeCoolerTypeEnum } Ifc4x2::IfcEvaporativeCoolerTypeEnum::operator Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[395]); } -const IfcParse::enumeration_type& Ifc4x2::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[395]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[395]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[395]); } /* -Ifc4x2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x2::IfcEvaporatorTypeEnum::Value Ifc4x2::IfcEvaporatorTypeEnum::FromString(c } Ifc4x2::IfcEvaporatorTypeEnum::operator Ifc4x2::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x2::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[398]); } -const IfcParse::enumeration_type& Ifc4x2::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[398]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[398]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[398]); } /* -Ifc4x2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x2::IfcEventTriggerTypeEnum::Value Ifc4x2::IfcEventTriggerTypeEnum::FromStri } Ifc4x2::IfcEventTriggerTypeEnum::operator Ifc4x2::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x2::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[400]); } -const IfcParse::enumeration_type& Ifc4x2::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[400]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[400]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[400]); } /* -Ifc4x2::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x2::IfcEventTypeEnum::Value Ifc4x2::IfcEventTypeEnum::FromString(const std:: } Ifc4x2::IfcEventTypeEnum::operator Ifc4x2::IfcEventTypeEnum::Value() const { - return (Ifc4x2::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[409]); } -const IfcParse::enumeration_type& Ifc4x2::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[409]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[409]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[409]); } /* -Ifc4x2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x2::IfcExternalSpatialElementTypeEnum::Value Ifc4x2::IfcExternalSpatialEleme } Ifc4x2::IfcExternalSpatialElementTypeEnum::operator Ifc4x2::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x2::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[425]); } -const IfcParse::enumeration_type& Ifc4x2::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[425]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[425]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[425]); } /* -Ifc4x2::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x2::IfcFanTypeEnum::Value Ifc4x2::IfcFanTypeEnum::FromString(const std::stri } Ifc4x2::IfcFanTypeEnum::operator Ifc4x2::IfcFanTypeEnum::Value() const { - return (Ifc4x2::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[428]); } -const IfcParse::enumeration_type& Ifc4x2::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[428]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[428]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[428]); } /* -Ifc4x2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x2::IfcFastenerTypeEnum::Value Ifc4x2::IfcFastenerTypeEnum::FromString(const } Ifc4x2::IfcFastenerTypeEnum::operator Ifc4x2::IfcFastenerTypeEnum::Value() const { - return (Ifc4x2::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[438]); } -const IfcParse::enumeration_type& Ifc4x2::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[438]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[438]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[438]); } /* -Ifc4x2::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x2::IfcFilterTypeEnum::Value Ifc4x2::IfcFilterTypeEnum::FromString(const std } Ifc4x2::IfcFilterTypeEnum::operator Ifc4x2::IfcFilterTypeEnum::Value() const { - return (Ifc4x2::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[441]); } -const IfcParse::enumeration_type& Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[441]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[441]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[441]); } /* -Ifc4x2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x2::IfcFireSuppressionTerm } Ifc4x2::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[445]); } -const IfcParse::enumeration_type& Ifc4x2::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[445]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[445]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[445]); } /* -Ifc4x2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x2::IfcFlowDirectionEnum::Value Ifc4x2::IfcFlowDirectionEnum::FromString(con } Ifc4x2::IfcFlowDirectionEnum::operator Ifc4x2::IfcFlowDirectionEnum::Value() const { - return (Ifc4x2::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[450]); } -const IfcParse::enumeration_type& Ifc4x2::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[450]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[450]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[450]); } /* -Ifc4x2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x2::IfcFlowInstrumentTypeEnum::Value Ifc4x2::IfcFlowInstrumentTypeEnum::From } Ifc4x2::IfcFlowInstrumentTypeEnum::operator Ifc4x2::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x2::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[453]); } -const IfcParse::enumeration_type& Ifc4x2::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[453]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[453]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[453]); } /* -Ifc4x2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x2::IfcFlowMeterTypeEnum::Value Ifc4x2::IfcFlowMeterTypeEnum::FromString(con } Ifc4x2::IfcFlowMeterTypeEnum::operator Ifc4x2::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x2::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[469]); } -const IfcParse::enumeration_type& Ifc4x2::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[469]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[469]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[469]); } /* -Ifc4x2::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x2::IfcFootingTypeEnum::Value Ifc4x2::IfcFootingTypeEnum::FromString(const s } Ifc4x2::IfcFootingTypeEnum::operator Ifc4x2::IfcFootingTypeEnum::Value() const { - return (Ifc4x2::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[476]); } -const IfcParse::enumeration_type& Ifc4x2::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[476]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[476]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[476]); } /* -Ifc4x2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x2::IfcFurnitureTypeEnum::Value Ifc4x2::IfcFurnitureTypeEnum::FromString(con } Ifc4x2::IfcFurnitureTypeEnum::operator Ifc4x2::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x2::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[479]); } -const IfcParse::enumeration_type& Ifc4x2::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[479]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[479]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[479]); } /* -Ifc4x2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x2::IfcGeographicElementTypeEnum::Value Ifc4x2::IfcGeographicElementTypeEnum } Ifc4x2::IfcGeographicElementTypeEnum::operator Ifc4x2::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x2::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[481]); } -const IfcParse::enumeration_type& Ifc4x2::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[481]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[481]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[481]); } /* -Ifc4x2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x2::IfcGeometricProjectionEnum::Value Ifc4x2::IfcGeometricProjectionEnum::Fr } Ifc4x2::IfcGeometricProjectionEnum::operator Ifc4x2::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x2::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[488]); } -const IfcParse::enumeration_type& Ifc4x2::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[488]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[488]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[488]); } /* -Ifc4x2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x2::IfcGlobalOrLocalEnum::Value Ifc4x2::IfcGlobalOrLocalEnum::FromString(con } Ifc4x2::IfcGlobalOrLocalEnum::operator Ifc4x2::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x2::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[493]); } -const IfcParse::enumeration_type& Ifc4x2::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[493]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[493]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[493]); } /* -Ifc4x2::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x2::IfcGridTypeEnum::Value Ifc4x2::IfcGridTypeEnum::FromString(const std::st } Ifc4x2::IfcGridTypeEnum::operator Ifc4x2::IfcGridTypeEnum::Value() const { - return (Ifc4x2::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[499]); } -const IfcParse::enumeration_type& Ifc4x2::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[499]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[499]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[499]); } /* -Ifc4x2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x2::IfcHeatExchangerTypeEnum::Value Ifc4x2::IfcHeatExchangerTypeEnum::FromSt } Ifc4x2::IfcHeatExchangerTypeEnum::operator Ifc4x2::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x2::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[504]); } -const IfcParse::enumeration_type& Ifc4x2::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[504]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[504]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[504]); } /* -Ifc4x2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x2::IfcHumidifierTypeEnum::Value Ifc4x2::IfcHumidifierTypeEnum::FromString(c } Ifc4x2::IfcHumidifierTypeEnum::operator Ifc4x2::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x2::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[519]); } -const IfcParse::enumeration_type& Ifc4x2::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[519]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[519]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[519]); } /* -Ifc4x2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x2::IfcInterceptorTypeEnum::Value Ifc4x2::IfcInterceptorTypeEnum::FromString } Ifc4x2::IfcInterceptorTypeEnum::operator Ifc4x2::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x2::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[520]); } -const IfcParse::enumeration_type& Ifc4x2::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[520]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[520]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[520]); } /* -Ifc4x2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x2::IfcInternalOrExternalEnum::Value Ifc4x2::IfcInternalOrExternalEnum::From } Ifc4x2::IfcInternalOrExternalEnum::operator Ifc4x2::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x2::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[523]); } -const IfcParse::enumeration_type& Ifc4x2::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[523]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[523]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[523]); } /* -Ifc4x2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x2::IfcInventoryTypeEnum::Value Ifc4x2::IfcInventoryTypeEnum::FromString(con } Ifc4x2::IfcInventoryTypeEnum::operator Ifc4x2::IfcInventoryTypeEnum::Value() const { - return (Ifc4x2::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[531]); } -const IfcParse::enumeration_type& Ifc4x2::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[531]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[531]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[531]); } /* -Ifc4x2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x2::IfcJunctionBoxTypeEnum::Value Ifc4x2::IfcJunctionBoxTypeEnum::FromString } Ifc4x2::IfcJunctionBoxTypeEnum::operator Ifc4x2::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x2::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[533]); } -const IfcParse::enumeration_type& Ifc4x2::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[533]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[533]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[533]); } /* -Ifc4x2::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x2::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x2::IfcKnotType::Value Ifc4x2::IfcKnotType::FromString(const std::string& s) } Ifc4x2::IfcKnotType::operator Ifc4x2::IfcKnotType::Value() const { - return (Ifc4x2::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[537]); } -const IfcParse::enumeration_type& Ifc4x2::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[537]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[537]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[537]); } /* -Ifc4x2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x2::IfcLaborResourceTypeEnum::Value Ifc4x2::IfcLaborResourceTypeEnum::FromSt } Ifc4x2::IfcLaborResourceTypeEnum::operator Ifc4x2::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x2::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[541]); } -const IfcParse::enumeration_type& Ifc4x2::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[541]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[541]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[541]); } /* -Ifc4x2::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x2::IfcLampTypeEnum::Value Ifc4x2::IfcLampTypeEnum::FromString(const std::st } Ifc4x2::IfcLampTypeEnum::operator Ifc4x2::IfcLampTypeEnum::Value() const { - return (Ifc4x2::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[544]); } -const IfcParse::enumeration_type& Ifc4x2::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[544]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[544]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[544]); } /* -Ifc4x2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x2::IfcLayerSetDirectionEnum::Value Ifc4x2::IfcLayerSetDirectionEnum::FromSt } Ifc4x2::IfcLayerSetDirectionEnum::operator Ifc4x2::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x2::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[549]); } -const IfcParse::enumeration_type& Ifc4x2::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[549]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[549]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[549]); } /* -Ifc4x2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x2::IfcLightDistributionCurveEnum::Value Ifc4x2::IfcLightDistributionCurveEn } Ifc4x2::IfcLightDistributionCurveEnum::operator Ifc4x2::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x2::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[552]); } -const IfcParse::enumeration_type& Ifc4x2::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[552]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[552]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[552]); } /* -Ifc4x2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x2::IfcLightEmissionSourceEnum::Value Ifc4x2::IfcLightEmissionSourceEnum::Fr } Ifc4x2::IfcLightEmissionSourceEnum::operator Ifc4x2::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x2::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[555]); } -const IfcParse::enumeration_type& Ifc4x2::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[555]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[555]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[555]); } /* -Ifc4x2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x2::IfcLightFixtureTypeEnum::Value Ifc4x2::IfcLightFixtureTypeEnum::FromStri } Ifc4x2::IfcLightFixtureTypeEnum::operator Ifc4x2::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x2::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[572]); } -const IfcParse::enumeration_type& Ifc4x2::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[572]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[572]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[572]); } /* -Ifc4x2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x2::IfcLoadGroupTypeEnum::Value Ifc4x2::IfcLoadGroupTypeEnum::FromString(con } Ifc4x2::IfcLoadGroupTypeEnum::operator Ifc4x2::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x2::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[575]); } -const IfcParse::enumeration_type& Ifc4x2::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[575]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[575]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[575]); } /* -Ifc4x2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x2::IfcLogicalOperatorEnum::Value Ifc4x2::IfcLogicalOperatorEnum::FromString } Ifc4x2::IfcLogicalOperatorEnum::operator Ifc4x2::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x2::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[614]); } -const IfcParse::enumeration_type& Ifc4x2::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[614]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[614]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[614]); } /* -Ifc4x2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x2::IfcMechanicalFastenerTypeEnum::Value Ifc4x2::IfcMechanicalFastenerTypeEn } Ifc4x2::IfcMechanicalFastenerTypeEnum::operator Ifc4x2::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x2::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[617]); } -const IfcParse::enumeration_type& Ifc4x2::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[617]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[617]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[617]); } /* -Ifc4x2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x2::IfcMedicalDeviceTypeEnum::Value Ifc4x2::IfcMedicalDeviceTypeEnum::FromSt } Ifc4x2::IfcMedicalDeviceTypeEnum::operator Ifc4x2::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x2::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[621]); } -const IfcParse::enumeration_type& Ifc4x2::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[621]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[621]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[621]); } /* -Ifc4x2::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x2::IfcMemberTypeEnum::Value Ifc4x2::IfcMemberTypeEnum::FromString(const std } Ifc4x2::IfcMemberTypeEnum::operator Ifc4x2::IfcMemberTypeEnum::Value() const { - return (Ifc4x2::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[640]); } -const IfcParse::enumeration_type& Ifc4x2::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[640]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[640]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[640]); } /* -Ifc4x2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x2::IfcMotorConnectionTypeEnum::Value Ifc4x2::IfcMotorConnectionTypeEnum::Fr } Ifc4x2::IfcMotorConnectionTypeEnum::operator Ifc4x2::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x2::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcNullStyle::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[644]); } -const IfcParse::enumeration_type& Ifc4x2::IfcNullStyle::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[644]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcNullStyle::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[644]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcNullStyle::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[644]); } /* -Ifc4x2::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) +Ifc4x2::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcNullStyle::IfcNullStyle(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcNullStyle::IfcNullStyle(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x2::IfcNullStyle::Value Ifc4x2::IfcNullStyle::FromString(const std::string& } Ifc4x2::IfcNullStyle::operator Ifc4x2::IfcNullStyle::Value() const { - return (Ifc4x2::IfcNullStyle::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcNullStyle::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcObjectTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[652]); } -const IfcParse::enumeration_type& Ifc4x2::IfcObjectTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[652]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcObjectTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[652]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcObjectTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[652]); } /* -Ifc4x2::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcObjectTypeEnum::IfcObjectTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x2::IfcObjectTypeEnum::Value Ifc4x2::IfcObjectTypeEnum::FromString(const std } Ifc4x2::IfcObjectTypeEnum::operator Ifc4x2::IfcObjectTypeEnum::Value() const { - return (Ifc4x2::IfcObjectTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcObjectTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[649]); } -const IfcParse::enumeration_type& Ifc4x2::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[649]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[649]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[649]); } /* -Ifc4x2::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x2::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x2::IfcObjectiveEnum::Value Ifc4x2::IfcObjectiveEnum::FromString(const std:: } Ifc4x2::IfcObjectiveEnum::operator Ifc4x2::IfcObjectiveEnum::Value() const { - return (Ifc4x2::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[654]); } -const IfcParse::enumeration_type& Ifc4x2::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[654]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[654]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[654]); } /* -Ifc4x2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x2::IfcOccupantTypeEnum::Value Ifc4x2::IfcOccupantTypeEnum::FromString(const } Ifc4x2::IfcOccupantTypeEnum::operator Ifc4x2::IfcOccupantTypeEnum::Value() const { - return (Ifc4x2::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[660]); } -const IfcParse::enumeration_type& Ifc4x2::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[660]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[660]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[660]); } /* -Ifc4x2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x2::IfcOpeningElementTypeEnum::Value Ifc4x2::IfcOpeningElementTypeEnum::From } Ifc4x2::IfcOpeningElementTypeEnum::operator Ifc4x2::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x2::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[670]); } -const IfcParse::enumeration_type& Ifc4x2::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[670]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[670]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[670]); } /* -Ifc4x2::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x2::IfcOutletTypeEnum::Value Ifc4x2::IfcOutletTypeEnum::FromString(const std } Ifc4x2::IfcOutletTypeEnum::operator Ifc4x2::IfcOutletTypeEnum::Value() const { - return (Ifc4x2::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[677]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[677]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[677]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[677]); } /* -Ifc4x2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x2::IfcPerformanceHistoryTypeEnum::Value Ifc4x2::IfcPerformanceHistoryTypeEn } Ifc4x2::IfcPerformanceHistoryTypeEnum::operator Ifc4x2::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x2::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[678]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[678]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[678]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[678]); } /* -Ifc4x2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x2::IfcPermeableCoveringOperationEnum::Value Ifc4x2::IfcPermeableCoveringOpe } Ifc4x2::IfcPermeableCoveringOperationEnum::operator Ifc4x2::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x2::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[681]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[681]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[681]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[681]); } /* -Ifc4x2::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x2::IfcPermitTypeEnum::Value Ifc4x2::IfcPermitTypeEnum::FromString(const std } Ifc4x2::IfcPermitTypeEnum::operator Ifc4x2::IfcPermitTypeEnum::Value() const { - return (Ifc4x2::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[686]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[686]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[686]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[686]); } /* -Ifc4x2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x2::IfcPhysicalOrVirtualEnum::Value Ifc4x2::IfcPhysicalOrVirtualEnum::FromSt } Ifc4x2::IfcPhysicalOrVirtualEnum::operator Ifc4x2::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x2::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[690]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[690]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[690]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[690]); } /* -Ifc4x2::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x2::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x2::IfcPileConstructionEnum::Value Ifc4x2::IfcPileConstructionEnum::FromStri } Ifc4x2::IfcPileConstructionEnum::operator Ifc4x2::IfcPileConstructionEnum::Value() const { - return (Ifc4x2::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[692]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[692]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[692]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[692]); } /* -Ifc4x2::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x2::IfcPileTypeEnum::Value Ifc4x2::IfcPileTypeEnum::FromString(const std::st } Ifc4x2::IfcPileTypeEnum::operator Ifc4x2::IfcPileTypeEnum::Value() const { - return (Ifc4x2::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[695]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[695]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[695]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[695]); } /* -Ifc4x2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x2::IfcPipeFittingTypeEnum::Value Ifc4x2::IfcPipeFittingTypeEnum::FromString } Ifc4x2::IfcPipeFittingTypeEnum::operator Ifc4x2::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x2::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[698]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[698]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[698]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[698]); } /* -Ifc4x2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x2::IfcPipeSegmentTypeEnum::Value Ifc4x2::IfcPipeSegmentTypeEnum::FromString } Ifc4x2::IfcPipeSegmentTypeEnum::operator Ifc4x2::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x2::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[709]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[709]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[709]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[709]); } /* -Ifc4x2::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x2::IfcPlateTypeEnum::Value Ifc4x2::IfcPlateTypeEnum::FromString(const std:: } Ifc4x2::IfcPlateTypeEnum::operator Ifc4x2::IfcPlateTypeEnum::Value() const { - return (Ifc4x2::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[732]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[732]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[732]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[732]); } /* -Ifc4x2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x2::IfcPreferredSurfac } Ifc4x2::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[743]); } -const IfcParse::enumeration_type& Ifc4x2::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[743]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[743]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[743]); } /* -Ifc4x2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x2::IfcProcedureTypeEnum::Value Ifc4x2::IfcProcedureTypeEnum::FromString(con } Ifc4x2::IfcProcedureTypeEnum::operator Ifc4x2::IfcProcedureTypeEnum::Value() const { - return (Ifc4x2::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[753]); } -const IfcParse::enumeration_type& Ifc4x2::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[753]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[753]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[753]); } /* -Ifc4x2::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x2::IfcProfileTypeEnum::Value Ifc4x2::IfcProfileTypeEnum::FromString(const s } Ifc4x2::IfcProfileTypeEnum::operator Ifc4x2::IfcProfileTypeEnum::Value() const { - return (Ifc4x2::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[761]); } -const IfcParse::enumeration_type& Ifc4x2::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[761]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[761]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[761]); } /* -Ifc4x2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x2::IfcProjectOrderTypeEnum::Value Ifc4x2::IfcProjectOrderTypeEnum::FromStri } Ifc4x2::IfcProjectOrderTypeEnum::operator Ifc4x2::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x2::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[756]); } -const IfcParse::enumeration_type& Ifc4x2::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[756]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[756]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[756]); } /* -Ifc4x2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x2::IfcProjectedOrTrueLengthEnum::Value Ifc4x2::IfcProjectedOrTrueLengthEnum } Ifc4x2::IfcProjectedOrTrueLengthEnum::operator Ifc4x2::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x2::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[758]); } -const IfcParse::enumeration_type& Ifc4x2::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[758]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[758]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[758]); } /* -Ifc4x2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x2::IfcProjectionElementTypeEnum::Value Ifc4x2::IfcProjectionElementTypeEnum } Ifc4x2::IfcProjectionElementTypeEnum::operator Ifc4x2::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x2::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[776]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[776]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[776]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[776]); } /* -Ifc4x2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x2::IfcPropertySetTemplateTypeEnum::Value Ifc4x2::IfcPropertySetTemplateType } Ifc4x2::IfcPropertySetTemplateTypeEnum::operator Ifc4x2::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x2::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[784]); } -const IfcParse::enumeration_type& Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[784]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[784]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[784]); } /* -Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x2::IfcProtectiveDevi } Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[786]); } -const IfcParse::enumeration_type& Ifc4x2::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[786]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[786]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[786]); } /* -Ifc4x2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x2::IfcProtectiveDeviceTypeEnum::Value Ifc4x2::IfcProtectiveDeviceTypeEnum:: } Ifc4x2::IfcProtectiveDeviceTypeEnum::operator Ifc4x2::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x2::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[790]); } -const IfcParse::enumeration_type& Ifc4x2::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[790]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[790]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[790]); } /* -Ifc4x2::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x2::IfcPumpTypeEnum::Value Ifc4x2::IfcPumpTypeEnum::FromString(const std::st } Ifc4x2::IfcPumpTypeEnum::operator Ifc4x2::IfcPumpTypeEnum::Value() const { - return (Ifc4x2::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[801]); } -const IfcParse::enumeration_type& Ifc4x2::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[801]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[801]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[801]); } /* -Ifc4x2::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x2::IfcRailingTypeEnum::Value Ifc4x2::IfcRailingTypeEnum::FromString(const s } Ifc4x2::IfcRailingTypeEnum::operator Ifc4x2::IfcRailingTypeEnum::Value() const { - return (Ifc4x2::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[805]); } -const IfcParse::enumeration_type& Ifc4x2::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[805]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[805]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[805]); } /* -Ifc4x2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x2::IfcRampFlightTypeEnum::Value Ifc4x2::IfcRampFlightTypeEnum::FromString(c } Ifc4x2::IfcRampFlightTypeEnum::operator Ifc4x2::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x2::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[807]); } -const IfcParse::enumeration_type& Ifc4x2::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[807]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[807]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[807]); } /* -Ifc4x2::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x2::IfcRampTypeEnum::Value Ifc4x2::IfcRampTypeEnum::FromString(const std::st } Ifc4x2::IfcRampTypeEnum::operator Ifc4x2::IfcRampTypeEnum::Value() const { - return (Ifc4x2::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[817]); } -const IfcParse::enumeration_type& Ifc4x2::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[817]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[817]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[817]); } /* -Ifc4x2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x2::IfcRecurrenceTypeEnum::Value Ifc4x2::IfcRecurrenceTypeEnum::FromString(c } Ifc4x2::IfcRecurrenceTypeEnum::operator Ifc4x2::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x2::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[820]); } -const IfcParse::enumeration_type& Ifc4x2::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[820]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[820]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[820]); } /* -Ifc4x2::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x2::IfcReferentTypeEnum::Value Ifc4x2::IfcReferentTypeEnum::FromString(const } Ifc4x2::IfcReferentTypeEnum::operator Ifc4x2::IfcReferentTypeEnum::Value() const { - return (Ifc4x2::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[821]); } -const IfcParse::enumeration_type& Ifc4x2::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[821]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[821]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[821]); } /* -Ifc4x2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x2::IfcReflectanceMethodEnum::Value Ifc4x2::IfcReflectanceMethodEnum::FromSt } Ifc4x2::IfcReflectanceMethodEnum::operator Ifc4x2::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x2::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[826]); } -const IfcParse::enumeration_type& Ifc4x2::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[826]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[826]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[826]); } /* -Ifc4x2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x2::IfcReinforcingBarRoleEnum::Value Ifc4x2::IfcReinforcingBarRoleEnum::From } Ifc4x2::IfcReinforcingBarRoleEnum::operator Ifc4x2::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x2::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[827]); } -const IfcParse::enumeration_type& Ifc4x2::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[827]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[827]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[827]); } /* -Ifc4x2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x2::IfcReinforcingBarSurfaceEnum::Value Ifc4x2::IfcReinforcingBarSurfaceEnum } Ifc4x2::IfcReinforcingBarSurfaceEnum::operator Ifc4x2::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x2::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[829]); } -const IfcParse::enumeration_type& Ifc4x2::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[829]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[829]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[829]); } /* -Ifc4x2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x2::IfcReinforcingBarTypeEnum::Value Ifc4x2::IfcReinforcingBarTypeEnum::From } Ifc4x2::IfcReinforcingBarTypeEnum::operator Ifc4x2::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x2::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[834]); } -const IfcParse::enumeration_type& Ifc4x2::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[834]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[834]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[834]); } /* -Ifc4x2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x2::IfcReinforcingMeshTypeEnum::Value Ifc4x2::IfcReinforcingMeshTypeEnum::Fr } Ifc4x2::IfcReinforcingMeshTypeEnum::operator Ifc4x2::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x2::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[900]); } -const IfcParse::enumeration_type& Ifc4x2::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[900]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[900]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[900]); } /* -Ifc4x2::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x2::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x2::IfcRoleEnum::Value Ifc4x2::IfcRoleEnum::FromString(const std::string& s) } Ifc4x2::IfcRoleEnum::operator Ifc4x2::IfcRoleEnum::Value() const { - return (Ifc4x2::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[903]); } -const IfcParse::enumeration_type& Ifc4x2::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[903]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[903]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[903]); } /* -Ifc4x2::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x2::IfcRoofTypeEnum::Value Ifc4x2::IfcRoofTypeEnum::FromString(const std::st } Ifc4x2::IfcRoofTypeEnum::operator Ifc4x2::IfcRoofTypeEnum::Value() const { - return (Ifc4x2::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[941]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[941]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[941]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[941]); } /* -Ifc4x2::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x2::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x2::IfcSIPrefix::Value Ifc4x2::IfcSIPrefix::FromString(const std::string& s) } Ifc4x2::IfcSIPrefix::operator Ifc4x2::IfcSIPrefix::Value() const { - return (Ifc4x2::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[944]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[944]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[944]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[944]); } /* -Ifc4x2::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x2::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x2::IfcSIUnitName::Value Ifc4x2::IfcSIUnitName::FromString(const std::string } Ifc4x2::IfcSIUnitName::operator Ifc4x2::IfcSIUnitName::Value() const { - return (Ifc4x2::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[912]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[912]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[912]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[912]); } /* -Ifc4x2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x2::IfcSanitaryTerminalTypeEnum::Value Ifc4x2::IfcSanitaryTerminalTypeEnum:: } Ifc4x2::IfcSanitaryTerminalTypeEnum::operator Ifc4x2::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x2::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[922]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[922]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[922]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[922]); } /* -Ifc4x2::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x2::IfcSectionTypeEnum::Value Ifc4x2::IfcSectionTypeEnum::FromString(const s } Ifc4x2::IfcSectionTypeEnum::operator Ifc4x2::IfcSectionTypeEnum::Value() const { - return (Ifc4x2::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[926]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[926]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[926]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[926]); } /* -Ifc4x2::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x2::IfcSensorTypeEnum::Value Ifc4x2::IfcSensorTypeEnum::FromString(const std } Ifc4x2::IfcSensorTypeEnum::operator Ifc4x2::IfcSensorTypeEnum::Value() const { - return (Ifc4x2::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[927]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[927]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[927]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[927]); } /* -Ifc4x2::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x2::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x2::IfcSequenceEnum::Value Ifc4x2::IfcSequenceEnum::FromString(const std::st } Ifc4x2::IfcSequenceEnum::operator Ifc4x2::IfcSequenceEnum::Value() const { - return (Ifc4x2::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[930]); } -const IfcParse::enumeration_type& Ifc4x2::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[930]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[930]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[930]); } /* -Ifc4x2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x2::IfcShadingDeviceTypeEnum::Value Ifc4x2::IfcShadingDeviceTypeEnum::FromSt } Ifc4x2::IfcShadingDeviceTypeEnum::operator Ifc4x2::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x2::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[939]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[939]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[939]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[939]); } /* -Ifc4x2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x2::IfcSimplePropertyTempla } Ifc4x2::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[950]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[950]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[950]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[950]); } /* -Ifc4x2::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x2::IfcSlabTypeEnum::Value Ifc4x2::IfcSlabTypeEnum::FromString(const std::st } Ifc4x2::IfcSlabTypeEnum::operator Ifc4x2::IfcSlabTypeEnum::Value() const { - return (Ifc4x2::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[954]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[954]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[954]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[954]); } /* -Ifc4x2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x2::IfcSolarDeviceTypeEnum::Value Ifc4x2::IfcSolarDeviceTypeEnum::FromString } Ifc4x2::IfcSolarDeviceTypeEnum::operator Ifc4x2::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x2::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[966]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[966]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[966]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[966]); } /* -Ifc4x2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x2::IfcSpaceHeaterTypeEnum::Value Ifc4x2::IfcSpaceHeaterTypeEnum::FromString } Ifc4x2::IfcSpaceHeaterTypeEnum::operator Ifc4x2::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x2::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[968]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[968]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[968]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[968]); } /* -Ifc4x2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x2::IfcSpaceTypeEnum::Value Ifc4x2::IfcSpaceTypeEnum::FromString(const std:: } Ifc4x2::IfcSpaceTypeEnum::operator Ifc4x2::IfcSpaceTypeEnum::Value() const { - return (Ifc4x2::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[975]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[975]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[975]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[975]); } /* -Ifc4x2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x2::IfcSpatialZoneTypeEnum::Value Ifc4x2::IfcSpatialZoneTypeEnum::FromString } Ifc4x2::IfcSpatialZoneTypeEnum::operator Ifc4x2::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x2::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[984]); } -const IfcParse::enumeration_type& Ifc4x2::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[984]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[984]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[984]); } /* -Ifc4x2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x2::IfcStackTerminalTypeEnum::Value Ifc4x2::IfcStackTerminalTypeEnum::FromSt } Ifc4x2::IfcStackTerminalTypeEnum::operator Ifc4x2::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x2::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[988]); } -const IfcParse::enumeration_type& Ifc4x2::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[988]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[988]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[988]); } /* -Ifc4x2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x2::IfcStairFlightTypeEnum::Value Ifc4x2::IfcStairFlightTypeEnum::FromString } Ifc4x2::IfcStairFlightTypeEnum::operator Ifc4x2::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x2::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[990]); } -const IfcParse::enumeration_type& Ifc4x2::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[990]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[990]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[990]); } /* -Ifc4x2::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x2::IfcStairTypeEnum::Value Ifc4x2::IfcStairTypeEnum::FromString(const std:: } Ifc4x2::IfcStairTypeEnum::operator Ifc4x2::IfcStairTypeEnum::Value() const { - return (Ifc4x2::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[991]); } -const IfcParse::enumeration_type& Ifc4x2::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[991]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[991]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[991]); } /* -Ifc4x2::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x2::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x2::IfcStateEnum::Value Ifc4x2::IfcStateEnum::FromString(const std::string& } Ifc4x2::IfcStateEnum::operator Ifc4x2::IfcStateEnum::Value() const { - return (Ifc4x2::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[999]); } -const IfcParse::enumeration_type& Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[999]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[999]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[999]); } /* -Ifc4x2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x2::IfcStructuralCurveActi } Ifc4x2::IfcStructuralCurveActivityTypeEnum::operator Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1002]); } -const IfcParse::enumeration_type& Ifc4x2::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1002]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1002]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1002]); } /* -Ifc4x2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value Ifc4x2::IfcStructuralCurveMember } Ifc4x2::IfcStructuralCurveMemberTypeEnum::operator Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1028]); } -const IfcParse::enumeration_type& Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1028]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1028]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1028]); } /* -Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x2::IfcStructuralSurface } Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1031]); } -const IfcParse::enumeration_type& Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1031]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1031]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1031]); } /* -Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x2::IfcStructuralSurfaceMe } Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1040]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1040]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1040]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1040]); } /* -Ifc4x2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x2::IfcSubContractResourceTypeEnum::Value Ifc4x2::IfcSubContractResourceType } Ifc4x2::IfcSubContractResourceTypeEnum::operator Ifc4x2::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x2::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1046]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1046]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1046]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1046]); } /* -Ifc4x2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x2::IfcSurfaceFeatureTypeEnum::Value Ifc4x2::IfcSurfaceFeatureTypeEnum::From } Ifc4x2::IfcSurfaceFeatureTypeEnum::operator Ifc4x2::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x2::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1051]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1051]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1051]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1051]); } /* -Ifc4x2::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x2::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x2::IfcSurfaceSide::Value Ifc4x2::IfcSurfaceSide::FromString(const std::stri } Ifc4x2::IfcSurfaceSide::operator Ifc4x2::IfcSurfaceSide::Value() const { - return (Ifc4x2::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1066]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1066]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1066]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1066]); } /* -Ifc4x2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x2::IfcSwitchingDeviceTypeEnum::Value Ifc4x2::IfcSwitchingDeviceTypeEnum::Fr } Ifc4x2::IfcSwitchingDeviceTypeEnum::operator Ifc4x2::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x2::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1070]); } -const IfcParse::enumeration_type& Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1070]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1070]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1070]); } /* -Ifc4x2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value Ifc4x2::IfcSystemFurnitureEleme } Ifc4x2::IfcSystemFurnitureElementTypeEnum::operator Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1076]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1076]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1076]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1076]); } /* -Ifc4x2::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x2::IfcTankTypeEnum::Value Ifc4x2::IfcTankTypeEnum::FromString(const std::st } Ifc4x2::IfcTankTypeEnum::operator Ifc4x2::IfcTankTypeEnum::Value() const { - return (Ifc4x2::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1078]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1078]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1078]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1078]); } /* -Ifc4x2::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x2::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x2::IfcTaskDurationEnum::Value Ifc4x2::IfcTaskDurationEnum::FromString(const } Ifc4x2::IfcTaskDurationEnum::operator Ifc4x2::IfcTaskDurationEnum::Value() const { - return (Ifc4x2::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1082]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1082]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1082]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1082]); } /* -Ifc4x2::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x2::IfcTaskTypeEnum::Value Ifc4x2::IfcTaskTypeEnum::FromString(const std::st } Ifc4x2::IfcTaskTypeEnum::operator Ifc4x2::IfcTaskTypeEnum::Value() const { - return (Ifc4x2::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1089]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1089]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1089]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1089]); } /* -Ifc4x2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x2::IfcTendonAnchorTypeEnum::Value Ifc4x2::IfcTendonAnchorTypeEnum::FromStri } Ifc4x2::IfcTendonAnchorTypeEnum::operator Ifc4x2::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x2::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTendonConduitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1092]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTendonConduitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1092]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1092]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1092]); } /* -Ifc4x2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x2::IfcTendonConduitTypeEnum::Value Ifc4x2::IfcTendonConduitTypeEnum::FromSt } Ifc4x2::IfcTendonConduitTypeEnum::operator Ifc4x2::IfcTendonConduitTypeEnum::Value() const { - return (Ifc4x2::IfcTendonConduitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1094]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1094]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1094]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1094]); } /* -Ifc4x2::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x2::IfcTendonTypeEnum::Value Ifc4x2::IfcTendonTypeEnum::FromString(const std } Ifc4x2::IfcTendonTypeEnum::operator Ifc4x2::IfcTendonTypeEnum::Value() const { - return (Ifc4x2::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1104]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1104]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1104]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1104]); } /* -Ifc4x2::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x2::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x2::IfcTextPath::Value Ifc4x2::IfcTextPath::FromString(const std::string& s) } Ifc4x2::IfcTextPath::operator Ifc4x2::IfcTextPath::Value() const { - return (Ifc4x2::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1126]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1126]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1126]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1126]); } /* -Ifc4x2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x2::IfcTimeSeriesDataTypeEnum::Value Ifc4x2::IfcTimeSeriesDataTypeEnum::From } Ifc4x2::IfcTimeSeriesDataTypeEnum::operator Ifc4x2::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x2::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1135]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1135]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1135]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1135]); } /* -Ifc4x2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x2::IfcTransformerTypeEnum::Value Ifc4x2::IfcTransformerTypeEnum::FromString } Ifc4x2::IfcTransformerTypeEnum::operator Ifc4x2::IfcTransformerTypeEnum::Value() const { - return (Ifc4x2::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1136]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1136]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1136]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1136]); } /* -Ifc4x2::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x2::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x2::IfcTransitionCode::Value Ifc4x2::IfcTransitionCode::FromString(const std } Ifc4x2::IfcTransitionCode::operator Ifc4x2::IfcTransitionCode::Value() const { - return (Ifc4x2::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTransitionCurveType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1138]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTransitionCurveType::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1138]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTransitionCurveType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1138]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTransitionCurveType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1138]); } /* -Ifc4x2::IfcTransitionCurveType::IfcTransitionCurveType(const std::weak_ptr& e) +Ifc4x2::IfcTransitionCurveType::IfcTransitionCurveType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTransitionCurveType::IfcTransitionCurveType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTransitionCurveType::IfcTransitionCurveType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x2::IfcTransitionCurveType::Value Ifc4x2::IfcTransitionCurveType::FromString } Ifc4x2::IfcTransitionCurveType::operator Ifc4x2::IfcTransitionCurveType::Value() const { - return (Ifc4x2::IfcTransitionCurveType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTransitionCurveType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTransportElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1142]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTransportElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1142]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTransportElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1142]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTransportElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1142]); } /* -Ifc4x2::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x2::IfcTransportElementTypeEnum::Value Ifc4x2::IfcTransportElementTypeEnum:: } Ifc4x2::IfcTransportElementTypeEnum::operator Ifc4x2::IfcTransportElementTypeEnum::Value() const { - return (Ifc4x2::IfcTransportElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTransportElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1147]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1147]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1147]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1147]); } /* -Ifc4x2::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x2::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x2::IfcTrimmingPreference::Value Ifc4x2::IfcTrimmingPreference::FromString(c } Ifc4x2::IfcTrimmingPreference::operator Ifc4x2::IfcTrimmingPreference::Value() const { - return (Ifc4x2::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1152]); } -const IfcParse::enumeration_type& Ifc4x2::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1152]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1152]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1152]); } /* -Ifc4x2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x2::IfcTubeBundleTypeEnum::Value Ifc4x2::IfcTubeBundleTypeEnum::FromString(c } Ifc4x2::IfcTubeBundleTypeEnum::operator Ifc4x2::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x2::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1165]); } -const IfcParse::enumeration_type& Ifc4x2::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1165]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1165]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1165]); } /* -Ifc4x2::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x2::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x2::IfcUnitEnum::Value Ifc4x2::IfcUnitEnum::FromString(const std::string& s) } Ifc4x2::IfcUnitEnum::operator Ifc4x2::IfcUnitEnum::Value() const { - return (Ifc4x2::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1160]); } -const IfcParse::enumeration_type& Ifc4x2::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1160]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1160]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1160]); } /* -Ifc4x2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x2::IfcUnitaryControlElementTypeEnum::Value Ifc4x2::IfcUnitaryControlElement } Ifc4x2::IfcUnitaryControlElementTypeEnum::operator Ifc4x2::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x2::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1163]); } -const IfcParse::enumeration_type& Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1163]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1163]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1163]); } /* -Ifc4x2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value Ifc4x2::IfcUnitaryEquipmentTypeEnum:: } Ifc4x2::IfcUnitaryEquipmentTypeEnum::operator Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1171]); } -const IfcParse::enumeration_type& Ifc4x2::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1171]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1171]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1171]); } /* -Ifc4x2::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x2::IfcValveTypeEnum::Value Ifc4x2::IfcValveTypeEnum::FromString(const std:: } Ifc4x2::IfcValveTypeEnum::operator Ifc4x2::IfcValveTypeEnum::Value() const { - return (Ifc4x2::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcVibrationDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1180]); } -const IfcParse::enumeration_type& Ifc4x2::IfcVibrationDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1180]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1180]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1180]); } /* -Ifc4x2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x2::IfcVibrationDamperTypeEnum::Value Ifc4x2::IfcVibrationDamperTypeEnum::Fr } Ifc4x2::IfcVibrationDamperTypeEnum::operator Ifc4x2::IfcVibrationDamperTypeEnum::Value() const { - return (Ifc4x2::IfcVibrationDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1183]); } -const IfcParse::enumeration_type& Ifc4x2::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1183]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1183]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1183]); } /* -Ifc4x2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x2::IfcVibrationIsolatorTypeEnum::Value Ifc4x2::IfcVibrationIsolatorTypeEnum } Ifc4x2::IfcVibrationIsolatorTypeEnum::operator Ifc4x2::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x2::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1187]); } -const IfcParse::enumeration_type& Ifc4x2::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1187]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1187]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1187]); } /* -Ifc4x2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x2::IfcVoidingFeatureTypeEnum::Value Ifc4x2::IfcVoidingFeatureTypeEnum::From } Ifc4x2::IfcVoidingFeatureTypeEnum::operator Ifc4x2::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x2::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1194]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1194]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1194]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1194]); } /* -Ifc4x2::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x2::IfcWallTypeEnum::Value Ifc4x2::IfcWallTypeEnum::FromString(const std::st } Ifc4x2::IfcWallTypeEnum::operator Ifc4x2::IfcWallTypeEnum::Value() const { - return (Ifc4x2::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1200]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1200]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1200]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1200]); } /* -Ifc4x2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x2::IfcWasteTerminalTypeEnum::Value Ifc4x2::IfcWasteTerminalTypeEnum::FromSt } Ifc4x2::IfcWasteTerminalTypeEnum::operator Ifc4x2::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x2::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1203]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1203]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1203]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1203]); } /* -Ifc4x2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x2::IfcWindowPanelOperationEnum::Value Ifc4x2::IfcWindowPanelOperationEnum:: } Ifc4x2::IfcWindowPanelOperationEnum::operator Ifc4x2::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x2::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1204]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1204]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1204]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1204]); } /* -Ifc4x2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,23 +6126,23 @@ Ifc4x2::IfcWindowPanelPositionEnum::Value Ifc4x2::IfcWindowPanelPositionEnum::Fr } Ifc4x2::IfcWindowPanelPositionEnum::operator Ifc4x2::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x2::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWindowStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1208]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWindowStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1208]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1208]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1208]); } /* -Ifc4x2::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x2::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6155,23 +6155,23 @@ Ifc4x2::IfcWindowStyleConstructionEnum::Value Ifc4x2::IfcWindowStyleConstruction } Ifc4x2::IfcWindowStyleConstructionEnum::operator Ifc4x2::IfcWindowStyleConstructionEnum::Value() const { - return (Ifc4x2::IfcWindowStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWindowStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWindowStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1209]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWindowStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1209]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1209]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1209]); } /* -Ifc4x2::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) +Ifc4x2::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6184,23 +6184,23 @@ Ifc4x2::IfcWindowStyleOperationEnum::Value Ifc4x2::IfcWindowStyleOperationEnum:: } Ifc4x2::IfcWindowStyleOperationEnum::operator Ifc4x2::IfcWindowStyleOperationEnum::Value() const { - return (Ifc4x2::IfcWindowStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWindowStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1211]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1211]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1211]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1211]); } /* -Ifc4x2::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6213,23 +6213,23 @@ Ifc4x2::IfcWindowTypeEnum::Value Ifc4x2::IfcWindowTypeEnum::FromString(const std } Ifc4x2::IfcWindowTypeEnum::operator Ifc4x2::IfcWindowTypeEnum::Value() const { - return (Ifc4x2::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1212]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1212]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1212]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1212]); } /* -Ifc4x2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6242,23 +6242,23 @@ Ifc4x2::IfcWindowTypePartitioningEnum::Value Ifc4x2::IfcWindowTypePartitioningEn } Ifc4x2::IfcWindowTypePartitioningEnum::operator Ifc4x2::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x2::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1214]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1214]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1214]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1214]); } /* -Ifc4x2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6271,23 +6271,23 @@ Ifc4x2::IfcWorkCalendarTypeEnum::Value Ifc4x2::IfcWorkCalendarTypeEnum::FromStri } Ifc4x2::IfcWorkCalendarTypeEnum::operator Ifc4x2::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x2::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1217]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1217]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1217]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1217]); } /* -Ifc4x2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6300,23 +6300,23 @@ Ifc4x2::IfcWorkPlanTypeEnum::Value Ifc4x2::IfcWorkPlanTypeEnum::FromString(const } Ifc4x2::IfcWorkPlanTypeEnum::operator Ifc4x2::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x2::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x2::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X2_types[1219]); } -const IfcParse::enumeration_type& Ifc4x2::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X2_types[1219]); } +// const ifcopenshell::enumeration_type& Ifc4x2::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1219]); } +const ifcopenshell::enumeration_type& Ifc4x2::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X2_types[1219]); } /* -Ifc4x2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6329,849 +6329,849 @@ Ifc4x2::IfcWorkScheduleTypeEnum::Value Ifc4x2::IfcWorkScheduleTypeEnum::FromStri } Ifc4x2::IfcWorkScheduleTypeEnum::operator Ifc4x2::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x2::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x2::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x2::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[8]); } +const ifcopenshell::select_type& Ifc4x2::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[8]); } -const IfcParse::select_type& Ifc4x2::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[48]); } +const ifcopenshell::select_type& Ifc4x2::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[48]); } -const IfcParse::select_type& Ifc4x2::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X2_types[65]); } +const ifcopenshell::select_type& Ifc4x2::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[65]); } -const IfcParse::select_type& Ifc4x2::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[77]); } +const ifcopenshell::select_type& Ifc4x2::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[77]); } -const IfcParse::select_type& Ifc4x2::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X2_types[86]); } +const ifcopenshell::select_type& Ifc4x2::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[86]); } -const IfcParse::select_type& Ifc4x2::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[166]); } +const ifcopenshell::select_type& Ifc4x2::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[166]); } -const IfcParse::select_type& Ifc4x2::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[167]); } +const ifcopenshell::select_type& Ifc4x2::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[167]); } -const IfcParse::select_type& Ifc4x2::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X2_types[172]); } +const ifcopenshell::select_type& Ifc4x2::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[172]); } -const IfcParse::select_type& Ifc4x2::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X2_types[173]); } +const ifcopenshell::select_type& Ifc4x2::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[173]); } -const IfcParse::select_type& Ifc4x2::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[238]); } +const ifcopenshell::select_type& Ifc4x2::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[238]); } -const IfcParse::select_type& Ifc4x2::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[252]); } +const ifcopenshell::select_type& Ifc4x2::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[252]); } -const IfcParse::select_type& Ifc4x2::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[263]); } +const ifcopenshell::select_type& Ifc4x2::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[263]); } -const IfcParse::select_type& Ifc4x2::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X2_types[265]); } +const ifcopenshell::select_type& Ifc4x2::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[265]); } -const IfcParse::select_type& Ifc4x2::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X2_types[266]); } +const ifcopenshell::select_type& Ifc4x2::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[266]); } -const IfcParse::select_type& Ifc4x2::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[272]); } +const ifcopenshell::select_type& Ifc4x2::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[272]); } -const IfcParse::select_type& Ifc4x2::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[284]); } +const ifcopenshell::select_type& Ifc4x2::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[284]); } -const IfcParse::select_type& Ifc4x2::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X2_types[285]); } +const ifcopenshell::select_type& Ifc4x2::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[285]); } -const IfcParse::select_type& Ifc4x2::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[317]); } +const ifcopenshell::select_type& Ifc4x2::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[317]); } -const IfcParse::select_type& Ifc4x2::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[435]); } +const ifcopenshell::select_type& Ifc4x2::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[435]); } -const IfcParse::select_type& Ifc4x2::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[486]); } +const ifcopenshell::select_type& Ifc4x2::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[486]); } -const IfcParse::select_type& Ifc4x2::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[492]); } +const ifcopenshell::select_type& Ifc4x2::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[492]); } -const IfcParse::select_type& Ifc4x2::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[496]); } +const ifcopenshell::select_type& Ifc4x2::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[496]); } -const IfcParse::select_type& Ifc4x2::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X2_types[543]); } +const ifcopenshell::select_type& Ifc4x2::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[543]); } -const IfcParse::select_type& Ifc4x2::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[548]); } +const ifcopenshell::select_type& Ifc4x2::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[548]); } -const IfcParse::select_type& Ifc4x2::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[551]); } +const ifcopenshell::select_type& Ifc4x2::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[551]); } -const IfcParse::select_type& Ifc4x2::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[608]); } +const ifcopenshell::select_type& Ifc4x2::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[608]); } -const IfcParse::select_type& Ifc4x2::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X2_types[610]); } +const ifcopenshell::select_type& Ifc4x2::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[610]); } -const IfcParse::select_type& Ifc4x2::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[623]); } +const ifcopenshell::select_type& Ifc4x2::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[623]); } -const IfcParse::select_type& Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[628]); } +const ifcopenshell::select_type& Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[628]); } -const IfcParse::select_type& Ifc4x2::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[630]); } +const ifcopenshell::select_type& Ifc4x2::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[630]); } -const IfcParse::select_type& Ifc4x2::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[631]); } +const ifcopenshell::select_type& Ifc4x2::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[631]); } -const IfcParse::select_type& Ifc4x2::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[651]); } +const ifcopenshell::select_type& Ifc4x2::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[651]); } -const IfcParse::select_type& Ifc4x2::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X2_types[713]); } +const ifcopenshell::select_type& Ifc4x2::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[713]); } -const IfcParse::select_type& Ifc4x2::IfcPresentationStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[739]); } +const ifcopenshell::select_type& Ifc4x2::IfcPresentationStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[739]); } -const IfcParse::select_type& Ifc4x2::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[745]); } +const ifcopenshell::select_type& Ifc4x2::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[745]); } -const IfcParse::select_type& Ifc4x2::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[749]); } +const ifcopenshell::select_type& Ifc4x2::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[749]); } -const IfcParse::select_type& Ifc4x2::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[750]); } +const ifcopenshell::select_type& Ifc4x2::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[750]); } -const IfcParse::select_type& Ifc4x2::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[773]); } +const ifcopenshell::select_type& Ifc4x2::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[773]); } -const IfcParse::select_type& Ifc4x2::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[893]); } +const ifcopenshell::select_type& Ifc4x2::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[893]); } -const IfcParse::select_type& Ifc4x2::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[894]); } +const ifcopenshell::select_type& Ifc4x2::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[894]); } -const IfcParse::select_type& Ifc4x2::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[908]); } +const ifcopenshell::select_type& Ifc4x2::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[908]); } -const IfcParse::select_type& Ifc4x2::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[923]); } +const ifcopenshell::select_type& Ifc4x2::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[923]); } -const IfcParse::select_type& Ifc4x2::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X2_types[935]); } +const ifcopenshell::select_type& Ifc4x2::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[935]); } -const IfcParse::select_type& Ifc4x2::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X2_types[940]); } +const ifcopenshell::select_type& Ifc4x2::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[940]); } -const IfcParse::select_type& Ifc4x2::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[945]); } +const ifcopenshell::select_type& Ifc4x2::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[945]); } -const IfcParse::select_type& Ifc4x2::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X2_types[957]); } +const ifcopenshell::select_type& Ifc4x2::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[957]); } -const IfcParse::select_type& Ifc4x2::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[963]); } +const ifcopenshell::select_type& Ifc4x2::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[963]); } -const IfcParse::select_type& Ifc4x2::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[978]); } +const ifcopenshell::select_type& Ifc4x2::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[978]); } -const IfcParse::select_type& Ifc4x2::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[994]); } +const ifcopenshell::select_type& Ifc4x2::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[994]); } -const IfcParse::select_type& Ifc4x2::IfcStyleAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[1034]); } +const ifcopenshell::select_type& Ifc4x2::IfcStyleAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1034]); } -const IfcParse::select_type& Ifc4x2::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X2_types[1049]); } +const ifcopenshell::select_type& Ifc4x2::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1049]); } -const IfcParse::select_type& Ifc4x2::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[1053]); } +const ifcopenshell::select_type& Ifc4x2::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1053]); } -const IfcParse::select_type& Ifc4x2::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[1101]); } +const ifcopenshell::select_type& Ifc4x2::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1101]); } -const IfcParse::select_type& Ifc4x2::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[1123]); } +const ifcopenshell::select_type& Ifc4x2::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1123]); } -const IfcParse::select_type& Ifc4x2::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[1139]); } +const ifcopenshell::select_type& Ifc4x2::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1139]); } -const IfcParse::select_type& Ifc4x2::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[1148]); } +const ifcopenshell::select_type& Ifc4x2::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1148]); } -const IfcParse::select_type& Ifc4x2::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X2_types[1157]); } +const ifcopenshell::select_type& Ifc4x2::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1157]); } -const IfcParse::select_type& Ifc4x2::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X2_types[1168]); } +const ifcopenshell::select_type& Ifc4x2::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1168]); } -const IfcParse::select_type& Ifc4x2::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X2_types[1174]); } +const ifcopenshell::select_type& Ifc4x2::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1174]); } -const IfcParse::select_type& Ifc4x2::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X2_types[1197]); } +const ifcopenshell::select_type& Ifc4x2::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X2_types[1197]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x2::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[0]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[0]); } void Ifc4x2::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x2::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1]); } void Ifc4x2::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[40]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[40]); } void Ifc4x2::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[43]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[43]); } void Ifc4x2::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x2::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[54]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[54]); } void Ifc4x2::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x2::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[55]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[55]); } void Ifc4x2::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x2::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[56]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[56]); } void Ifc4x2::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x2::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[78]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[78]); } void Ifc4x2::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x2::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x2::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[84]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[84]); } void Ifc4x2::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x2::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x2::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[98]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[98]); } void Ifc4x2::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x2::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[140]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[140]); } void Ifc4x2::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x2::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x2::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[184]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[184]); } void Ifc4x2::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x2::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x2::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[192]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[192]); } void Ifc4x2::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x2::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x2::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[222]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[222]); } void Ifc4x2::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x2::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[244]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[244]); } void Ifc4x2::IfcCountMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcCountMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x2::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[259]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[259]); } void Ifc4x2::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x2::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[278]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[278]); } void Ifc4x2::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x2::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[279]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[279]); } void Ifc4x2::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x2::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[280]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[280]); } void Ifc4x2::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x2::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x2::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[281]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[281]); } void Ifc4x2::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x2::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x2::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[290]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[290]); } void Ifc4x2::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x2::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[292]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[292]); } void Ifc4x2::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x2::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x2::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[331]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[331]); } void Ifc4x2::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x2::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[343]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[343]); } void Ifc4x2::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[344]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[344]); } void Ifc4x2::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[351]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[351]); } void Ifc4x2::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x2::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[352]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[352]); } void Ifc4x2::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[353]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[353]); } void Ifc4x2::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x2::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[354]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[354]); } void Ifc4x2::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[367]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[367]); } void Ifc4x2::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x2::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[371]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[371]); } void Ifc4x2::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x2::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[386]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[386]); } void Ifc4x2::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x2::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[464]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[464]); } void Ifc4x2::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x2::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[465]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[465]); } void Ifc4x2::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x2::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[466]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[466]); } void Ifc4x2::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[470]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[470]); } void Ifc4x2::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x2::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[471]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[471]); } void Ifc4x2::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x2::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[487]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[487]); } void Ifc4x2::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[500]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[500]); } void Ifc4x2::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x2::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[501]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[501]); } void Ifc4x2::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x2::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[505]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[505]); } void Ifc4x2::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[506]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[506]); } void Ifc4x2::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[514]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[514]); } void Ifc4x2::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x2::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[515]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[515]); } void Ifc4x2::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x2::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x2::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[516]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[516]); } void Ifc4x2::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x2::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x2::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[524]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[524]); } void Ifc4x2::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[528]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[528]); } void Ifc4x2::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[532]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[532]); } void Ifc4x2::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x2::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[534]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[534]); } void Ifc4x2::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x2::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[542]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[542]); } void Ifc4x2::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x2::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[545]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[545]); } void Ifc4x2::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x2::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[570]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[570]); } void Ifc4x2::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[564]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[564]); } void Ifc4x2::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x2::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[565]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[565]); } void Ifc4x2::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x2::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[568]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[568]); } void Ifc4x2::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[569]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[569]); } void Ifc4x2::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x2::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[574]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[574]); } void Ifc4x2::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x2::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[578]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[578]); } void Ifc4x2::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x2::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[579]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[579]); } void Ifc4x2::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[580]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[580]); } void Ifc4x2::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[581]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[581]); } void Ifc4x2::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[582]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[582]); } void Ifc4x2::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[586]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[586]); } void Ifc4x2::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[587]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[587]); } void Ifc4x2::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[588]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[588]); } void Ifc4x2::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[589]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[589]); } void Ifc4x2::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[625]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[625]); } void Ifc4x2::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x2::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[626]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[626]); } void Ifc4x2::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x2::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[627]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[627]); } void Ifc4x2::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x2::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[629]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[629]); } void Ifc4x2::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[632]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[632]); } void Ifc4x2::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[633]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[633]); } void Ifc4x2::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[634]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[634]); } void Ifc4x2::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x2::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[635]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[635]); } void Ifc4x2::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x2::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[637]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[637]); } void Ifc4x2::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x2::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x2::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[642]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[642]); } void Ifc4x2::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x2::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[643]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[643]); } void Ifc4x2::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x2::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[645]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[645]); } void Ifc4x2::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x2::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[684]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[684]); } void Ifc4x2::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x2::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[673]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[673]); } void Ifc4x2::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[703]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[703]); } void Ifc4x2::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x2::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[705]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[705]); } void Ifc4x2::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x2::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[720]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[720]); } void Ifc4x2::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x2::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[721]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[721]); } void Ifc4x2::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x2::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[722]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[722]); } void Ifc4x2::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x2::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[723]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[723]); } void Ifc4x2::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x2::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[725]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[725]); } void Ifc4x2::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x2::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[733]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[733]); } void Ifc4x2::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x2::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[740]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[740]); } void Ifc4x2::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x2::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[774]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[774]); } void Ifc4x2::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x2::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x2::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x2::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[798]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[798]); } void Ifc4x2::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x2::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[808]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[808]); } void Ifc4x2::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x2::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[811]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[811]); } void Ifc4x2::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x2::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[905]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[905]); } void Ifc4x2::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x2::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[906]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[906]); } void Ifc4x2::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x2::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[907]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[907]); } void Ifc4x2::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x2::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[919]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[919]); } void Ifc4x2::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x2::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[915]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[915]); } void Ifc4x2::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x2::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[934]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[934]); } void Ifc4x2::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x2::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[955]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[955]); } void Ifc4x2::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x2::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[958]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[958]); } void Ifc4x2::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x2::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[959]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[959]); } void Ifc4x2::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x2::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[960]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[960]); } void Ifc4x2::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x2::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[961]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[961]); } void Ifc4x2::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[976]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[976]); } void Ifc4x2::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x2::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[977]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[977]); } void Ifc4x2::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x2::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[979]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[979]); } void Ifc4x2::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x2::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1084]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1084]); } void Ifc4x2::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x2::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1085]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1085]); } void Ifc4x2::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x2::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1097]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1097]); } void Ifc4x2::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x2::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1098]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1098]); } void Ifc4x2::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x2::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1099]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1099]); } void Ifc4x2::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x2::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1100]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1100]); } void Ifc4x2::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x2::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1109]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1109]); } void Ifc4x2::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1115]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1115]); } void Ifc4x2::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1116]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1116]); } void Ifc4x2::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x2::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1117]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1117]); } void Ifc4x2::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1118]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1118]); } void Ifc4x2::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x2::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1119]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1119]); } void Ifc4x2::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x2::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1120]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1120]); } void Ifc4x2::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x2::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1121]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1121]); } void Ifc4x2::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x2::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1122]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1122]); } void Ifc4x2::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x2::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1128]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1128]); } void Ifc4x2::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x2::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1132]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1132]); } void Ifc4x2::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x2::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1166]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1166]); } void Ifc4x2::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x2::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x2::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1172]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1172]); } void Ifc4x2::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x2::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1188]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1188]); } void Ifc4x2::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x2::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1189]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1189]); } void Ifc4x2::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x2::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1195]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1195]); } void Ifc4x2::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x2::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X2_types[1196]); } +const ifcopenshell::type_declaration& Ifc4x2::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X2_types[1196]); } void Ifc4x2::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x2::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x2::IfcActionRequestTypeEnum::Value > Ifc4x2::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x2::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x2::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x2::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x2::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x2::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x2::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x2::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x2::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x2::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x2::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X2_types[2]); } -void Ifc4x2::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x2::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X2_types[2]); } +void Ifc4x2::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4x2::IfcActorSelect Ifc4x2::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x2::IfcActorSelect>(); } void Ifc4x2::IfcActor::setTheActor(const ::Ifc4x2::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x2::IfcRelAssignsToActor> Ifc4x2::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[837], 6)); } +std::vector<::Ifc4x2::IfcRelAssignsToActor> Ifc4x2::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[837], 6)); } -const IfcParse::entity& Ifc4x2::IfcActor::Class() { return *((IfcParse::entity*)IFC4X2_types[6]); } +const ifcopenshell::entity& Ifc4x2::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X2_types[6]); } void Ifc4x2::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x2::IfcRoleEnum::Value Ifc4x2::IfcActorRole::Role() const { return ::Ifc4x2::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x2::IfcActorRole::setRole(const ::Ifc4x2::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x2::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x2::IfcActorRole::setRole(const ::Ifc4x2::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x2::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x2::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x2::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x2::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x2::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } -const IfcParse::entity& Ifc4x2::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X2_types[7]); } -void Ifc4x2::IfcActorRole::initialize(::Ifc4x2::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4x2::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X2_types[7]); } +void Ifc4x2::IfcActorRole::initialize(::Ifc4x2::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x2::IfcActuatorTypeEnum::Value > Ifc4x2::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x2::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x2::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X2_types[9]); } -void Ifc4x2::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X2_types[9]); } +void Ifc4x2::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x2::IfcActuatorTypeEnum::Value Ifc4x2::IfcActuatorType::PredefinedType() const { return ::Ifc4x2::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcActuatorType::setPredefinedType(const ::Ifc4x2::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcActuatorType::setPredefinedType(const ::Ifc4x2::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X2_types[10]); } -void Ifc4x2::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[10]); } +void Ifc4x2::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > Ifc4x2::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x2::IfcAddress::setPurpose(const std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x2::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x2::IfcAddress::setPurpose(const std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x2::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x2::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x2::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x2::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x2::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x2::IfcPerson> Ifc4x2::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[682], 7)); } -std::vector<::Ifc4x2::IfcOrganization> Ifc4x2::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[663], 4)); } +std::vector<::Ifc4x2::IfcPerson> Ifc4x2::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[682], 7)); } +std::vector<::Ifc4x2::IfcOrganization> Ifc4x2::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[663], 4)); } -const IfcParse::entity& Ifc4x2::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X2_types[12]); } -void Ifc4x2::IfcAddress::initialize(std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4x2::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X2_types[12]); } +void Ifc4x2::IfcAddress::initialize(std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x2::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X2_types[14]); } +const ifcopenshell::entity& Ifc4x2::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X2_types[14]); } void Ifc4x2::IfcAdvancedBrep::initialize(::Ifc4x2::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -7179,86 +7179,86 @@ std::vector< ::Ifc4x2::IfcClosedShell > Ifc4x2::IfcAdvancedBrepWithVoids::Voids( void Ifc4x2::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x2::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X2_types[15]); } +const ifcopenshell::entity& Ifc4x2::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X2_types[15]); } void Ifc4x2::IfcAdvancedBrepWithVoids::initialize(::Ifc4x2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x2::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x2::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X2_types[16]); } +const ifcopenshell::entity& Ifc4x2::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X2_types[16]); } void Ifc4x2::IfcAdvancedFace::initialize(std::vector< ::Ifc4x2::IfcFaceBound > v1_Bounds, ::Ifc4x2::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x2::IfcAirTerminalTypeEnum::Value > Ifc4x2::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X2_types[17]); } -void Ifc4x2::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X2_types[17]); } +void Ifc4x2::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value > Ifc4x2::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X2_types[18]); } -void Ifc4x2::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X2_types[18]); } +void Ifc4x2::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value Ifc4x2::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x2::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X2_types[19]); } -void Ifc4x2::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[19]); } +void Ifc4x2::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x2::IfcAirTerminalTypeEnum::Value Ifc4x2::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x2::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcAirTerminalType::setPredefinedType(const ::Ifc4x2::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcAirTerminalType::setPredefinedType(const ::Ifc4x2::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X2_types[21]); } -void Ifc4x2::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[21]); } +void Ifc4x2::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x2::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X2_types[23]); } -void Ifc4x2::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X2_types[23]); } +void Ifc4x2::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x2::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X2_types[24]); } -void Ifc4x2::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[24]); } +void Ifc4x2::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x2::IfcAlarmTypeEnum::Value > Ifc4x2::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x2::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x2::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X2_types[26]); } -void Ifc4x2::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X2_types[26]); } +void Ifc4x2::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x2::IfcAlarmTypeEnum::Value Ifc4x2::IfcAlarmType::PredefinedType() const { return ::Ifc4x2::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcAlarmType::setPredefinedType(const ::Ifc4x2::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcAlarmType::setPredefinedType(const ::Ifc4x2::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X2_types[27]); } -void Ifc4x2::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[27]); } +void Ifc4x2::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x2::IfcAlignmentTypeEnum::Value > Ifc4x2::IfcAlignment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcAlignmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x2::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x2::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X2_types[29]); } -void Ifc4x2::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcCurve v8_Axis, std::optional< ::Ifc4x2::IfcAlignmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcAlignmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[29]); } +void Ifc4x2::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcCurve v8_Axis, std::optional< ::Ifc4x2::IfcAlignmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcAlignmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlignment2DHorizontal std::optional< double > Ifc4x2::IfcAlignment2DHorizontal::StartDistAlong() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } double v = get_attribute_value(0); return v; } @@ -7266,18 +7266,18 @@ void Ifc4x2::IfcAlignment2DHorizontal::setStartDistAlong(const std::optional< do std::vector< ::Ifc4x2::IfcAlignment2DHorizontalSegment > Ifc4x2::IfcAlignment2DHorizontal::Segments() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x2::IfcAlignment2DHorizontalSegment>(es); } void Ifc4x2::IfcAlignment2DHorizontal::setSegments(const std::vector< ::Ifc4x2::IfcAlignment2DHorizontalSegment >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x2::IfcAlignmentCurve> Ifc4x2::IfcAlignment2DHorizontal::ToAlignmentCurve() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[38], 0)); } +std::vector<::Ifc4x2::IfcAlignmentCurve> Ifc4x2::IfcAlignment2DHorizontal::ToAlignmentCurve() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[38], 0)); } -const IfcParse::entity& Ifc4x2::IfcAlignment2DHorizontal::Class() { return *((IfcParse::entity*)IFC4X2_types[30]); } +const ifcopenshell::entity& Ifc4x2::IfcAlignment2DHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X2_types[30]); } void Ifc4x2::IfcAlignment2DHorizontal::initialize(std::optional< double > v1_StartDistAlong, std::vector< ::Ifc4x2::IfcAlignment2DHorizontalSegment > v2_Segments) { if (v1_StartDistAlong) {set_attribute_value(0, (*v1_StartDistAlong)); }set_attribute_value(1, cast_vector(v2_Segments)); } // Function implementations for IfcAlignment2DHorizontalSegment ::Ifc4x2::IfcCurveSegment2D Ifc4x2::IfcAlignment2DHorizontalSegment::CurveGeometry() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x2::IfcCurveSegment2D>(); } void Ifc4x2::IfcAlignment2DHorizontalSegment::setCurveGeometry(const ::Ifc4x2::IfcCurveSegment2D& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x2::IfcAlignment2DHorizontal> Ifc4x2::IfcAlignment2DHorizontalSegment::ToHorizontal() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[30], 1)); } +std::vector<::Ifc4x2::IfcAlignment2DHorizontal> Ifc4x2::IfcAlignment2DHorizontalSegment::ToHorizontal() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[30], 1)); } -const IfcParse::entity& Ifc4x2::IfcAlignment2DHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[31]); } +const ifcopenshell::entity& Ifc4x2::IfcAlignment2DHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[31]); } void Ifc4x2::IfcAlignment2DHorizontalSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, ::Ifc4x2::IfcCurveSegment2D v4_CurveGeometry) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_CurveGeometry)); } // Function implementations for IfcAlignment2DSegment @@ -7289,7 +7289,7 @@ std::optional< std::string > Ifc4x2::IfcAlignment2DSegment::EndTag() const { if( void Ifc4x2::IfcAlignment2DSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcAlignment2DSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[32]); } +const ifcopenshell::entity& Ifc4x2::IfcAlignment2DSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[32]); } void Ifc4x2::IfcAlignment2DSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); } } // Function implementations for IfcAlignment2DVerSegCircularArc @@ -7299,13 +7299,13 @@ bool Ifc4x2::IfcAlignment2DVerSegCircularArc::IsConvex() const { bool v = get_a void Ifc4x2::IfcAlignment2DVerSegCircularArc::setIsConvex(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcAlignment2DVerSegCircularArc::Class() { return *((IfcParse::entity*)IFC4X2_types[33]); } +const ifcopenshell::entity& Ifc4x2::IfcAlignment2DVerSegCircularArc::Class() { return *((ifcopenshell::entity*)IFC4X2_types[33]); } void Ifc4x2::IfcAlignment2DVerSegCircularArc::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_Radius, bool v9_IsConvex) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient));set_attribute_value(7, (v8_Radius));set_attribute_value(8, (v9_IsConvex)); } // Function implementations for IfcAlignment2DVerSegLine -const IfcParse::entity& Ifc4x2::IfcAlignment2DVerSegLine::Class() { return *((IfcParse::entity*)IFC4X2_types[34]); } +const ifcopenshell::entity& Ifc4x2::IfcAlignment2DVerSegLine::Class() { return *((ifcopenshell::entity*)IFC4X2_types[34]); } void Ifc4x2::IfcAlignment2DVerSegLine::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient)); } // Function implementations for IfcAlignment2DVerSegParabolicArc @@ -7315,16 +7315,16 @@ bool Ifc4x2::IfcAlignment2DVerSegParabolicArc::IsConvex() const { bool v = get_ void Ifc4x2::IfcAlignment2DVerSegParabolicArc::setIsConvex(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcAlignment2DVerSegParabolicArc::Class() { return *((IfcParse::entity*)IFC4X2_types[35]); } +const ifcopenshell::entity& Ifc4x2::IfcAlignment2DVerSegParabolicArc::Class() { return *((ifcopenshell::entity*)IFC4X2_types[35]); } void Ifc4x2::IfcAlignment2DVerSegParabolicArc::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_ParabolaConstant, bool v9_IsConvex) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient));set_attribute_value(7, (v8_ParabolaConstant));set_attribute_value(8, (v9_IsConvex)); } // Function implementations for IfcAlignment2DVertical std::vector< ::Ifc4x2::IfcAlignment2DVerticalSegment > Ifc4x2::IfcAlignment2DVertical::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcAlignment2DVerticalSegment>(es); } void Ifc4x2::IfcAlignment2DVertical::setSegments(const std::vector< ::Ifc4x2::IfcAlignment2DVerticalSegment >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x2::IfcAlignmentCurve> Ifc4x2::IfcAlignment2DVertical::ToAlignmentCurve() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[38], 1)); } +std::vector<::Ifc4x2::IfcAlignmentCurve> Ifc4x2::IfcAlignment2DVertical::ToAlignmentCurve() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[38], 1)); } -const IfcParse::entity& Ifc4x2::IfcAlignment2DVertical::Class() { return *((IfcParse::entity*)IFC4X2_types[36]); } +const ifcopenshell::entity& Ifc4x2::IfcAlignment2DVertical::Class() { return *((ifcopenshell::entity*)IFC4X2_types[36]); } void Ifc4x2::IfcAlignment2DVertical::initialize(std::vector< ::Ifc4x2::IfcAlignment2DVerticalSegment > v1_Segments) { set_attribute_value(0, cast_vector(v1_Segments)); } // Function implementations for IfcAlignment2DVerticalSegment @@ -7337,9 +7337,9 @@ void Ifc4x2::IfcAlignment2DVerticalSegment::setStartHeight(const double& v) { se double Ifc4x2::IfcAlignment2DVerticalSegment::StartGradient() const { double v = get_attribute_value(6); return v; } void Ifc4x2::IfcAlignment2DVerticalSegment::setStartGradient(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x2::IfcAlignment2DVertical> Ifc4x2::IfcAlignment2DVerticalSegment::ToVertical() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[36], 0)); } +std::vector<::Ifc4x2::IfcAlignment2DVertical> Ifc4x2::IfcAlignment2DVerticalSegment::ToVertical() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[36], 0)); } -const IfcParse::entity& Ifc4x2::IfcAlignment2DVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[37]); } +const ifcopenshell::entity& Ifc4x2::IfcAlignment2DVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[37]); } void Ifc4x2::IfcAlignment2DVerticalSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient)); } // Function implementations for IfcAlignmentCurve @@ -7351,14 +7351,14 @@ std::optional< std::string > Ifc4x2::IfcAlignmentCurve::Tag() const { if(get_att void Ifc4x2::IfcAlignmentCurve::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcAlignmentCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[38]); } +const ifcopenshell::entity& Ifc4x2::IfcAlignmentCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[38]); } void Ifc4x2::IfcAlignmentCurve::initialize(::Ifc4x2::IfcAlignment2DHorizontal v1_Horizontal, ::Ifc4x2::IfcAlignment2DVertical v2_Vertical, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_Horizontal));set_attribute_value(1, (v2_Vertical)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcAnnotation -std::vector<::Ifc4x2::IfcRelContainedInSpatialStructure> Ifc4x2::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[861], 4)); } +std::vector<::Ifc4x2::IfcRelContainedInSpatialStructure> Ifc4x2::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[861], 4)); } -const IfcParse::entity& Ifc4x2::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X2_types[44]); } +const ifcopenshell::entity& Ifc4x2::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[44]); } void Ifc4x2::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAnnotationFillArea @@ -7368,7 +7368,7 @@ std::optional< std::vector< ::Ifc4x2::IfcCurve > > Ifc4x2::IfcAnnotationFillArea void Ifc4x2::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x2::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x2::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X2_types[45]); } +const ifcopenshell::entity& Ifc4x2::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X2_types[45]); } void Ifc4x2::IfcAnnotationFillArea::initialize(::Ifc4x2::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x2::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -7382,7 +7382,7 @@ std::string Ifc4x2::IfcApplication::ApplicationIdentifier() const { std::string void Ifc4x2::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X2_types[46]); } +const ifcopenshell::entity& Ifc4x2::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X2_types[46]); } void Ifc4x2::IfcApplication::initialize(::Ifc4x2::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -7403,14 +7403,14 @@ void Ifc4x2::IfcAppliedValue::setCategory(const std::optional< std::string >& v) std::optional< std::string > Ifc4x2::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x2::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x2::IfcArithmeticOperatorEnum::Value > Ifc4x2::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x2::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x2::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > Ifc4x2::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x2::IfcAppliedValue>(es); } void Ifc4x2::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } -const IfcParse::entity& Ifc4x2::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X2_types[47]); } -void Ifc4x2::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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(&::Ifc4x2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x2::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[47]); } +void Ifc4x2::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x2::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -7432,13 +7432,13 @@ void Ifc4x2::IfcApproval::setRequestingApproval(const ::Ifc4x2::IfcActorSelect& ::Ifc4x2::IfcActorSelect Ifc4x2::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x2::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x2::IfcActorSelect>(); } void Ifc4x2::IfcApproval::setGivingApproval(const ::Ifc4x2::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } -std::vector<::Ifc4x2::IfcRelAssociatesApproval> Ifc4x2::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[845], 5)); } -std::vector<::Ifc4x2::IfcResourceApprovalRelationship> Ifc4x2::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[890], 3)); } -std::vector<::Ifc4x2::IfcApprovalRelationship> Ifc4x2::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[50], 3)); } -std::vector<::Ifc4x2::IfcApprovalRelationship> Ifc4x2::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[50], 2)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcRelAssociatesApproval> Ifc4x2::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[845], 5)); } +std::vector<::Ifc4x2::IfcResourceApprovalRelationship> Ifc4x2::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[890], 3)); } +std::vector<::Ifc4x2::IfcApprovalRelationship> Ifc4x2::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[50], 3)); } +std::vector<::Ifc4x2::IfcApprovalRelationship> Ifc4x2::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[50], 2)); } -const IfcParse::entity& Ifc4x2::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X2_types[49]); } +const ifcopenshell::entity& Ifc4x2::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X2_types[49]); } void Ifc4x2::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x2::IfcActorSelect v8_RequestingApproval, ::Ifc4x2::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -7448,7 +7448,7 @@ std::vector< ::Ifc4x2::IfcApproval > Ifc4x2::IfcApprovalRelationship::RelatedApp void Ifc4x2::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x2::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[50]); } +const ifcopenshell::entity& Ifc4x2::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[50]); } void Ifc4x2::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x2::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -7456,24 +7456,24 @@ void Ifc4x2::IfcApprovalRelationship::initialize(std::optional< std::string > v1 void Ifc4x2::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x2::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[51]); } -void Ifc4x2::IfcArbitraryClosedProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4x2::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[51]); } +void Ifc4x2::IfcArbitraryClosedProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x2::IfcBoundedCurve Ifc4x2::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcBoundedCurve>(); } void Ifc4x2::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x2::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[52]); } -void Ifc4x2::IfcArbitraryOpenProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4x2::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[52]); } +void Ifc4x2::IfcArbitraryOpenProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x2::IfcCurve > Ifc4x2::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x2::IfcCurve>(es); } void Ifc4x2::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x2::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X2_types[53]); } -void Ifc4x2::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x2::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x2::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X2_types[53]); } +void Ifc4x2::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x2::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x2::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -7496,7 +7496,7 @@ void Ifc4x2::IfcAsset::setIncorporationDate(const std::optional< std::string >& void Ifc4x2::IfcAsset::setDepreciatedValue(const ::Ifc4x2::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x2::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X2_types[59]); } +const ifcopenshell::entity& Ifc4x2::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X2_types[59]); } void Ifc4x2::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x2::IfcCostValue v7_OriginalValue, ::Ifc4x2::IfcCostValue v8_CurrentValue, ::Ifc4x2::IfcCostValue v9_TotalReplacementCost, ::Ifc4x2::IfcActorSelect v10_Owner, ::Ifc4x2::IfcActorSelect v11_User, ::Ifc4x2::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x2::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -7526,31 +7526,31 @@ std::optional< double > Ifc4x2::IfcAsymmetricIShapeProfileDef::TopFlangeSlope() void Ifc4x2::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x2::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[60]); } -void Ifc4x2::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x2::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[60]); } +void Ifc4x2::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x2::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X2_types[61]); } -void Ifc4x2::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X2_types[61]); } +void Ifc4x2::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value Ifc4x2::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X2_types[62]); } -void Ifc4x2::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[62]); } +void Ifc4x2::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x2::IfcDirection Ifc4x2::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x2::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x2::IfcDirection>(); } void Ifc4x2::IfcAxis1Placement::setAxis(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X2_types[64]); } +const ifcopenshell::entity& Ifc4x2::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[64]); } void Ifc4x2::IfcAxis1Placement::initialize(::Ifc4x2::IfcCartesianPoint v1_Location, ::Ifc4x2::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -7558,7 +7558,7 @@ void Ifc4x2::IfcAxis1Placement::initialize(::Ifc4x2::IfcCartesianPoint v1_Locati void Ifc4x2::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X2_types[66]); } +const ifcopenshell::entity& Ifc4x2::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[66]); } void Ifc4x2::IfcAxis2Placement2D::initialize(::Ifc4x2::IfcCartesianPoint v1_Location, ::Ifc4x2::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -7568,7 +7568,7 @@ void Ifc4x2::IfcAxis2Placement3D::setAxis(const ::Ifc4x2::IfcDirection& v) { set void Ifc4x2::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X2_types[67]); } +const ifcopenshell::entity& Ifc4x2::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[67]); } void Ifc4x2::IfcAxis2Placement3D::initialize(::Ifc4x2::IfcCartesianPoint v1_Location, ::Ifc4x2::IfcDirection v2_Axis, ::Ifc4x2::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -7577,15 +7577,15 @@ void Ifc4x2::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v std::vector< ::Ifc4x2::IfcCartesianPoint > Ifc4x2::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x2::IfcCartesianPoint>(es); } void Ifc4x2::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x2::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x2::IfcBSplineCurveForm::Value Ifc4x2::IfcBSplineCurve::CurveForm() const { return ::Ifc4x2::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x2::IfcBSplineCurve::setCurveForm(const ::Ifc4x2::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x2::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x2::IfcBSplineCurve::setCurveForm(const ::Ifc4x2::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x2::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x2::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x2::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x2::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x2::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[104]); } -void Ifc4x2::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x2::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[104]); } +void Ifc4x2::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -7593,11 +7593,11 @@ void Ifc4x2::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< std::vector< double > /*[2:?]*/ Ifc4x2::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x2::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x2::IfcKnotType::Value Ifc4x2::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x2::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x2::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x2::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x2::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X2_types[106]); } -void Ifc4x2::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x2::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(&::Ifc4x2::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4x2::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X2_types[106]); } +void Ifc4x2::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x2::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, (enumeration_reference(&::Ifc4x2::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x2::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -7607,7 +7607,7 @@ void Ifc4x2::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1 std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > Ifc4x2::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x2::IfcCartesianPoint>(es); } void Ifc4x2::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x2::IfcBSplineSurfaceForm::Value Ifc4x2::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x2::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x2::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x2::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x2::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x2::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x2::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x2::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x2::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x2::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x2::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -7616,8 +7616,8 @@ boost::logic::tribool Ifc4x2::IfcBSplineSurface::SelfIntersect() const { boost: void Ifc4x2::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[107]); } -void Ifc4x2::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x2::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[107]); } +void Ifc4x2::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -7629,49 +7629,49 @@ void Ifc4x2::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > / std::vector< double > /*[2:?]*/ Ifc4x2::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x2::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x2::IfcKnotType::Value Ifc4x2::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x2::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x2::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x2::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x2::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X2_types[109]); } -void Ifc4x2::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x2::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(&::Ifc4x2::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4x2::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X2_types[109]); } +void Ifc4x2::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x2::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, (enumeration_reference(&::Ifc4x2::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value > Ifc4x2::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X2_types[68]); } -void Ifc4x2::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X2_types[68]); } +void Ifc4x2::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamStandardCase -const IfcParse::entity& Ifc4x2::IfcBeamStandardCase::Class() { return *((IfcParse::entity*)IFC4X2_types[69]); } -void Ifc4x2::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcBeamStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[69]); } +void Ifc4x2::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x2::IfcBeamTypeEnum::Value Ifc4x2::IfcBeamType::PredefinedType() const { return ::Ifc4x2::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcBeamType::setPredefinedType(const ::Ifc4x2::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcBeamType::setPredefinedType(const ::Ifc4x2::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X2_types[70]); } -void Ifc4x2::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[70]); } +void Ifc4x2::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBearing std::optional< ::Ifc4x2::IfcBearingTypeEnum::Value > Ifc4x2::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcBearingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x2::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x2::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X2_types[72]); } -void Ifc4x2::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X2_types[72]); } +void Ifc4x2::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBearingType ::Ifc4x2::IfcBearingTypeEnum::Value Ifc4x2::IfcBearingType::PredefinedType() const { return ::Ifc4x2::IfcBearingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcBearingType::setPredefinedType(const ::Ifc4x2::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcBearingType::setPredefinedType(const ::Ifc4x2::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X2_types[73]); } -void Ifc4x2::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[73]); } +void Ifc4x2::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x2::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -7680,7 +7680,7 @@ boost::dynamic_bitset<> Ifc4x2::IfcBlobTexture::RasterCode() const { boost::dyn void Ifc4x2::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X2_types[79]); } +const ifcopenshell::entity& Ifc4x2::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X2_types[79]); } void Ifc4x2::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -7692,55 +7692,55 @@ double Ifc4x2::IfcBlock::ZLength() const { double v = get_attribute_value(3); r void Ifc4x2::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X2_types[80]); } +const ifcopenshell::entity& Ifc4x2::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X2_types[80]); } void Ifc4x2::IfcBlock::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x2::IfcBoilerTypeEnum::Value > Ifc4x2::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x2::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x2::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X2_types[81]); } -void Ifc4x2::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X2_types[81]); } +void Ifc4x2::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x2::IfcBoilerTypeEnum::Value Ifc4x2::IfcBoilerType::PredefinedType() const { return ::Ifc4x2::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcBoilerType::setPredefinedType(const ::Ifc4x2::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcBoilerType::setPredefinedType(const ::Ifc4x2::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X2_types[82]); } -void Ifc4x2::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[82]); } +void Ifc4x2::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x2::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X2_types[85]); } -void Ifc4x2::IfcBooleanClippingResult::initialize(::Ifc4x2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x2::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X2_types[85]); } +void Ifc4x2::IfcBooleanClippingResult::initialize(::Ifc4x2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x2::IfcBooleanOperator::Value Ifc4x2::IfcBooleanResult::Operator() const { return ::Ifc4x2::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x2::IfcBooleanResult::setOperator(const ::Ifc4x2::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x2::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x2::IfcBooleanResult::setOperator(const ::Ifc4x2::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x2::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x2::IfcBooleanOperand Ifc4x2::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x2::IfcBooleanOperand>(); } void Ifc4x2::IfcBooleanResult::setFirstOperand(const ::Ifc4x2::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x2::IfcBooleanOperand Ifc4x2::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcBooleanOperand>(); } void Ifc4x2::IfcBooleanResult::setSecondOperand(const ::Ifc4x2::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X2_types[88]); } -void Ifc4x2::IfcBooleanResult::initialize(::Ifc4x2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x2::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X2_types[88]); } +void Ifc4x2::IfcBooleanResult::initialize(::Ifc4x2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBoundaryCondition std::optional< std::string > Ifc4x2::IfcBoundaryCondition::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x2::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x2::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X2_types[89]); } +const ifcopenshell::entity& Ifc4x2::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[89]); } void Ifc4x2::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x2::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[90]); } +const ifcopenshell::entity& Ifc4x2::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[90]); } void Ifc4x2::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x2::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -7758,7 +7758,7 @@ void Ifc4x2::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const ::I void Ifc4x2::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X2_types[91]); } +const ifcopenshell::entity& Ifc4x2::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[91]); } void Ifc4x2::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x2::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x2::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -7770,7 +7770,7 @@ void Ifc4x2::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(const :: void Ifc4x2::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x2::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X2_types[92]); } +const ifcopenshell::entity& Ifc4x2::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[92]); } void Ifc4x2::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x2::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x2::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -7788,7 +7788,7 @@ void Ifc4x2::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4x2::I void Ifc4x2::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x2::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X2_types[93]); } +const ifcopenshell::entity& Ifc4x2::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[93]); } void Ifc4x2::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x2::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x2::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x2::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x2::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x2::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -7796,20 +7796,20 @@ void Ifc4x2::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v void Ifc4x2::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x2::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x2::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X2_types[94]); } +const ifcopenshell::entity& Ifc4x2::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X2_types[94]); } void Ifc4x2::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x2::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x2::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x2::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x2::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x2::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x2::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -std::vector<::Ifc4x2::IfcLinearPositioningElement> Ifc4x2::IfcBoundedCurve::PositioningElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[567], 7)); } +std::vector<::Ifc4x2::IfcLinearPositioningElement> Ifc4x2::IfcBoundedCurve::PositioningElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[567], 7)); } -const IfcParse::entity& Ifc4x2::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[95]); } +const ifcopenshell::entity& Ifc4x2::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[95]); } void Ifc4x2::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x2::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[96]); } +const ifcopenshell::entity& Ifc4x2::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[96]); } void Ifc4x2::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -7823,7 +7823,7 @@ double Ifc4x2::IfcBoundingBox::ZDim() const { double v = get_attribute_value(3) void Ifc4x2::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X2_types[97]); } +const ifcopenshell::entity& Ifc4x2::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X2_types[97]); } void Ifc4x2::IfcBoundingBox::initialize(::Ifc4x2::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -7831,24 +7831,24 @@ void Ifc4x2::IfcBoundingBox::initialize(::Ifc4x2::IfcCartesianPoint v1_Corner, d void Ifc4x2::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x2::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X2_types[99]); } +const ifcopenshell::entity& Ifc4x2::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X2_types[99]); } void Ifc4x2::IfcBoxedHalfSpace::initialize(::Ifc4x2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x2::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBridge std::optional< ::Ifc4x2::IfcBridgeTypeEnum::Value > Ifc4x2::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x2::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x2::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X2_types[100]); } -void Ifc4x2::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x2::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X2_types[100]); } +void Ifc4x2::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x2::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBridgePart std::optional< ::Ifc4x2::IfcBridgePartTypeEnum::Value > Ifc4x2::IfcBridgePart::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcBridgePartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x2::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x2::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcBridgePart::Class() { return *((IfcParse::entity*)IFC4X2_types[101]); } -void Ifc4x2::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x2::IfcBridgePartTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcBridgePartTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcBridgePart::Class() { return *((ifcopenshell::entity*)IFC4X2_types[101]); } +void Ifc4x2::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x2::IfcBridgePartTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcBridgePartTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBuilding std::optional< double > Ifc4x2::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -7859,51 +7859,51 @@ void Ifc4x2::IfcBuilding::setElevationOfTerrain(const std::optional< double >& v void Ifc4x2::IfcBuilding::setBuildingAddress(const ::Ifc4x2::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X2_types[110]); } -void Ifc4x2::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x2::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::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)); } +const ifcopenshell::entity& Ifc4x2::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X2_types[110]); } +void Ifc4x2::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x2::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::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)); } // Function implementations for IfcBuildingElement -const IfcParse::entity& Ifc4x2::IfcBuildingElement::Class() { return *((IfcParse::entity*)IFC4X2_types[111]); } +const ifcopenshell::entity& Ifc4x2::IfcBuildingElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[111]); } void Ifc4x2::IfcBuildingElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value > Ifc4x2::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X2_types[112]); } -void Ifc4x2::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X2_types[112]); } +void Ifc4x2::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value Ifc4x2::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x2::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X2_types[113]); } -void Ifc4x2::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[113]); } +void Ifc4x2::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value > Ifc4x2::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X2_types[115]); } -void Ifc4x2::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X2_types[115]); } +void Ifc4x2::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value Ifc4x2::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x2::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X2_types[116]); } -void Ifc4x2::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[116]); } +void Ifc4x2::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementType -const IfcParse::entity& Ifc4x2::IfcBuildingElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[118]); } +const ifcopenshell::entity& Ifc4x2::IfcBuildingElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[118]); } void Ifc4x2::IfcBuildingElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuildingStorey @@ -7911,34 +7911,34 @@ std::optional< double > Ifc4x2::IfcBuildingStorey::Elevation() const { if(get_at void Ifc4x2::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X2_types[119]); } -void Ifc4x2::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4x2::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X2_types[119]); } +void Ifc4x2::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x2::IfcBuildingSystemTypeEnum::Value > Ifc4x2::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x2::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x2::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x2::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x2::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x2::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X2_types[120]); } -void Ifc4x2::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x2::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[120]); } +void Ifc4x2::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x2::IfcBurnerTypeEnum::Value > Ifc4x2::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x2::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x2::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X2_types[122]); } -void Ifc4x2::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X2_types[122]); } +void Ifc4x2::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x2::IfcBurnerTypeEnum::Value Ifc4x2::IfcBurnerType::PredefinedType() const { return ::Ifc4x2::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcBurnerType::setPredefinedType(const ::Ifc4x2::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcBurnerType::setPredefinedType(const ::Ifc4x2::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X2_types[123]); } -void Ifc4x2::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[123]); } +void Ifc4x2::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x2::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -7953,101 +7953,101 @@ std::optional< double > Ifc4x2::IfcCShapeProfileDef::InternalFilletRadius() cons void Ifc4x2::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x2::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[254]); } -void Ifc4x2::IfcCShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x2::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[254]); } +void Ifc4x2::IfcCShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value > Ifc4x2::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X2_types[125]); } -void Ifc4x2::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X2_types[125]); } +void Ifc4x2::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value Ifc4x2::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x2::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X2_types[126]); } -void Ifc4x2::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[126]); } +void Ifc4x2::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x2::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[128]); } -void Ifc4x2::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[128]); } +void Ifc4x2::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value Ifc4x2::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X2_types[129]); } -void Ifc4x2::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[129]); } +void Ifc4x2::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x2::IfcCableFittingTypeEnum::Value > Ifc4x2::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x2::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x2::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X2_types[131]); } -void Ifc4x2::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X2_types[131]); } +void Ifc4x2::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x2::IfcCableFittingTypeEnum::Value Ifc4x2::IfcCableFittingType::PredefinedType() const { return ::Ifc4x2::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCableFittingType::setPredefinedType(const ::Ifc4x2::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCableFittingType::setPredefinedType(const ::Ifc4x2::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X2_types[132]); } -void Ifc4x2::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[132]); } +void Ifc4x2::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x2::IfcCableSegmentTypeEnum::Value > Ifc4x2::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x2::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x2::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[134]); } -void Ifc4x2::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[134]); } +void Ifc4x2::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x2::IfcCableSegmentTypeEnum::Value Ifc4x2::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x2::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCableSegmentType::setPredefinedType(const ::Ifc4x2::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCableSegmentType::setPredefinedType(const ::Ifc4x2::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X2_types[135]); } -void Ifc4x2::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[135]); } +void Ifc4x2::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCaissonFoundation std::optional< ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value > Ifc4x2::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X2_types[137]); } -void Ifc4x2::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[137]); } +void Ifc4x2::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCaissonFoundationType ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value Ifc4x2::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x2::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X2_types[138]); } -void Ifc4x2::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[138]); } +void Ifc4x2::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x2::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x2::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X2_types[141]); } +const ifcopenshell::entity& Ifc4x2::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X2_types[141]); } void Ifc4x2::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x2::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X2_types[142]); } +const ifcopenshell::entity& Ifc4x2::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X2_types[142]); } void Ifc4x2::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -8057,7 +8057,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x2::IfcCartesianPointL void Ifc4x2::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x2::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X2_types[143]); } +const ifcopenshell::entity& Ifc4x2::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[143]); } void Ifc4x2::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -8067,7 +8067,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x2::IfcCartesianPointL void Ifc4x2::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x2::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X2_types[144]); } +const ifcopenshell::entity& Ifc4x2::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[144]); } void Ifc4x2::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -8081,13 +8081,13 @@ std::optional< double > Ifc4x2::IfcCartesianTransformationOperator::Scale() cons void Ifc4x2::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X2_types[145]); } +const ifcopenshell::entity& Ifc4x2::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X2_types[145]); } void Ifc4x2::IfcCartesianTransformationOperator::initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x2::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X2_types[146]); } +const ifcopenshell::entity& Ifc4x2::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[146]); } void Ifc4x2::IfcCartesianTransformationOperator2D::initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -8095,7 +8095,7 @@ std::optional< double > Ifc4x2::IfcCartesianTransformationOperator2DnonUniform:: void Ifc4x2::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X2_types[147]); } +const ifcopenshell::entity& Ifc4x2::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X2_types[147]); } void Ifc4x2::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -8103,7 +8103,7 @@ void Ifc4x2::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x2 void Ifc4x2::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X2_types[148]); } +const ifcopenshell::entity& Ifc4x2::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[148]); } void Ifc4x2::IfcCartesianTransformationOperator3D::initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x2::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -8113,7 +8113,7 @@ std::optional< double > Ifc4x2::IfcCartesianTransformationOperator3DnonUniform:: void Ifc4x2::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X2_types[149]); } +const ifcopenshell::entity& Ifc4x2::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X2_types[149]); } void Ifc4x2::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x2::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -8121,47 +8121,47 @@ double Ifc4x2::IfcCenterLineProfileDef::Thickness() const { double v = get_attr void Ifc4x2::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[150]); } -void Ifc4x2::IfcCenterLineProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x2::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[150]); } +void Ifc4x2::IfcCenterLineProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x2::IfcChillerTypeEnum::Value > Ifc4x2::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x2::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x2::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X2_types[152]); } -void Ifc4x2::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X2_types[152]); } +void Ifc4x2::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x2::IfcChillerTypeEnum::Value Ifc4x2::IfcChillerType::PredefinedType() const { return ::Ifc4x2::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcChillerType::setPredefinedType(const ::Ifc4x2::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcChillerType::setPredefinedType(const ::Ifc4x2::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X2_types[153]); } -void Ifc4x2::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[153]); } +void Ifc4x2::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x2::IfcChimneyTypeEnum::Value > Ifc4x2::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x2::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x2::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X2_types[155]); } -void Ifc4x2::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X2_types[155]); } +void Ifc4x2::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x2::IfcChimneyTypeEnum::Value Ifc4x2::IfcChimneyType::PredefinedType() const { return ::Ifc4x2::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcChimneyType::setPredefinedType(const ::Ifc4x2::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcChimneyType::setPredefinedType(const ::Ifc4x2::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X2_types[156]); } -void Ifc4x2::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[156]); } +void Ifc4x2::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x2::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x2::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X2_types[158]); } +const ifcopenshell::entity& Ifc4x2::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[158]); } void Ifc4x2::IfcCircle::initialize(::Ifc4x2::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -8169,16 +8169,16 @@ double Ifc4x2::IfcCircleHollowProfileDef::WallThickness() const { double v = ge void Ifc4x2::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[159]); } -void Ifc4x2::IfcCircleHollowProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x2::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[159]); } +void Ifc4x2::IfcCircleHollowProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x2::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x2::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[160]); } -void Ifc4x2::IfcCircleProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x2::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[160]); } +void Ifc4x2::IfcCircleProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCircularArcSegment2D double Ifc4x2::IfcCircularArcSegment2D::Radius() const { double v = get_attribute_value(3); return v; } @@ -8187,19 +8187,19 @@ bool Ifc4x2::IfcCircularArcSegment2D::IsCCW() const { bool v = get_attribute_va void Ifc4x2::IfcCircularArcSegment2D::setIsCCW(const bool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcCircularArcSegment2D::Class() { return *((IfcParse::entity*)IFC4X2_types[161]); } +const ifcopenshell::entity& Ifc4x2::IfcCircularArcSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[161]); } void Ifc4x2::IfcCircularArcSegment2D::initialize(::Ifc4x2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, double v4_Radius, bool v5_IsCCW) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_IsCCW)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x2::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X2_types[162]); } +const ifcopenshell::entity& Ifc4x2::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[162]); } void Ifc4x2::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x2::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[163]); } +const ifcopenshell::entity& Ifc4x2::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[163]); } void Ifc4x2::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -8218,10 +8218,10 @@ void Ifc4x2::IfcClassification::setLocation(const std::optional< std::string >& std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x2::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x2::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x2::IfcRelAssociatesClassification> Ifc4x2::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[846], 5)); } -std::vector<::Ifc4x2::IfcClassificationReference> Ifc4x2::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[165], 3)); } +std::vector<::Ifc4x2::IfcRelAssociatesClassification> Ifc4x2::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[846], 5)); } +std::vector<::Ifc4x2::IfcClassificationReference> Ifc4x2::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[165], 3)); } -const IfcParse::entity& Ifc4x2::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X2_types[164]); } +const ifcopenshell::entity& Ifc4x2::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X2_types[164]); } void Ifc4x2::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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_Location) {set_attribute_value(5, (*v6_Location)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); } } // Function implementations for IfcClassificationReference @@ -8232,33 +8232,33 @@ void Ifc4x2::IfcClassificationReference::setDescription(const std::optional< std std::optional< std::string > Ifc4x2::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x2::IfcRelAssociatesClassification> Ifc4x2::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[846], 5)); } -std::vector<::Ifc4x2::IfcClassificationReference> Ifc4x2::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[165], 3)); } +std::vector<::Ifc4x2::IfcRelAssociatesClassification> Ifc4x2::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[846], 5)); } +std::vector<::Ifc4x2::IfcClassificationReference> Ifc4x2::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[165], 3)); } -const IfcParse::entity& Ifc4x2::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X2_types[165]); } +const ifcopenshell::entity& Ifc4x2::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X2_types[165]); } void Ifc4x2::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x2::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x2::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X2_types[168]); } +const ifcopenshell::entity& Ifc4x2::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X2_types[168]); } void Ifc4x2::IfcClosedShell::initialize(std::vector< ::Ifc4x2::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcCoil std::optional< ::Ifc4x2::IfcCoilTypeEnum::Value > Ifc4x2::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x2::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x2::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X2_types[169]); } -void Ifc4x2::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X2_types[169]); } +void Ifc4x2::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x2::IfcCoilTypeEnum::Value Ifc4x2::IfcCoilType::PredefinedType() const { return ::Ifc4x2::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCoilType::setPredefinedType(const ::Ifc4x2::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCoilType::setPredefinedType(const ::Ifc4x2::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X2_types[170]); } -void Ifc4x2::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[170]); } +void Ifc4x2::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x2::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -8269,7 +8269,7 @@ double Ifc4x2::IfcColourRgb::Blue() const { double v = get_attribute_value(3); void Ifc4x2::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X2_types[174]); } +const ifcopenshell::entity& Ifc4x2::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X2_types[174]); } void Ifc4x2::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -8277,7 +8277,7 @@ std::vector< std::vector< double > > Ifc4x2::IfcColourRgbList::ColourList() cons void Ifc4x2::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X2_types[175]); } +const ifcopenshell::entity& Ifc4x2::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X2_types[175]); } void Ifc4x2::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -8285,46 +8285,46 @@ std::optional< std::string > Ifc4x2::IfcColourSpecification::Name() const { if(g void Ifc4x2::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x2::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X2_types[176]); } +const ifcopenshell::entity& Ifc4x2::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X2_types[176]); } void Ifc4x2::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value > Ifc4x2::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X2_types[177]); } -void Ifc4x2::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X2_types[177]); } +void Ifc4x2::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnStandardCase -const IfcParse::entity& Ifc4x2::IfcColumnStandardCase::Class() { return *((IfcParse::entity*)IFC4X2_types[178]); } -void Ifc4x2::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcColumnStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[178]); } +void Ifc4x2::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x2::IfcColumnTypeEnum::Value Ifc4x2::IfcColumnType::PredefinedType() const { return ::Ifc4x2::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcColumnType::setPredefinedType(const ::Ifc4x2::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcColumnType::setPredefinedType(const ::Ifc4x2::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X2_types[179]); } -void Ifc4x2::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[179]); } +void Ifc4x2::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x2::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X2_types[181]); } -void Ifc4x2::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X2_types[181]); } +void Ifc4x2::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value Ifc4x2::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X2_types[182]); } -void Ifc4x2::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[182]); } +void Ifc4x2::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x2::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -8333,20 +8333,20 @@ std::vector< ::Ifc4x2::IfcProperty > Ifc4x2::IfcComplexProperty::HasProperties() void Ifc4x2::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x2::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X2_types[185]); } +const ifcopenshell::entity& Ifc4x2::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X2_types[185]); } void Ifc4x2::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x2::IfcProperty > v4_HasProperties) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x2::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x2::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x2::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x2::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x2::IfcPropertyTemplate > > Ifc4x2::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x2::IfcPropertyTemplate>(es); } void Ifc4x2::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x2::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X2_types[186]); } -void Ifc4x2::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x2::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x2::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X2_types[186]); } +void Ifc4x2::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x2::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x2::IfcCompositeCurveSegment > Ifc4x2::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcCompositeCurveSegment>(es); } @@ -8355,27 +8355,27 @@ boost::logic::tribool Ifc4x2::IfcCompositeCurve::SelfIntersect() const { boost: void Ifc4x2::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[188]); } +const ifcopenshell::entity& Ifc4x2::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[188]); } void Ifc4x2::IfcCompositeCurve::initialize(std::vector< ::Ifc4x2::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x2::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[189]); } +const ifcopenshell::entity& Ifc4x2::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[189]); } void Ifc4x2::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x2::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment ::Ifc4x2::IfcTransitionCode::Value Ifc4x2::IfcCompositeCurveSegment::Transition() const { return ::Ifc4x2::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x2::IfcCompositeCurveSegment::setTransition(const ::Ifc4x2::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x2::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x2::IfcCompositeCurveSegment::setTransition(const ::Ifc4x2::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x2::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } bool Ifc4x2::IfcCompositeCurveSegment::SameSense() const { bool v = get_attribute_value(1); return v; } void Ifc4x2::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x2::IfcCurve Ifc4x2::IfcCompositeCurveSegment::ParentCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcCurve>(); } void Ifc4x2::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x2::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x2::IfcCompositeCurve> Ifc4x2::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[188], 0)); } +std::vector<::Ifc4x2::IfcCompositeCurve> Ifc4x2::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[188], 0)); } -const IfcParse::entity& Ifc4x2::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[190]); } -void Ifc4x2::IfcCompositeCurveSegment::initialize(::Ifc4x2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x2::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4x2::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[190]); } +void Ifc4x2::IfcCompositeCurveSegment::initialize(::Ifc4x2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x2::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x2::IfcProfileDef > Ifc4x2::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x2::IfcProfileDef>(es); } @@ -8384,47 +8384,47 @@ std::optional< std::string > Ifc4x2::IfcCompositeProfileDef::Label() const { if( void Ifc4x2::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[191]); } -void Ifc4x2::IfcCompositeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x2::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x2::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[191]); } +void Ifc4x2::IfcCompositeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x2::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x2::IfcCompressorTypeEnum::Value > Ifc4x2::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x2::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x2::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X2_types[193]); } -void Ifc4x2::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X2_types[193]); } +void Ifc4x2::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x2::IfcCompressorTypeEnum::Value Ifc4x2::IfcCompressorType::PredefinedType() const { return ::Ifc4x2::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCompressorType::setPredefinedType(const ::Ifc4x2::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCompressorType::setPredefinedType(const ::Ifc4x2::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X2_types[194]); } -void Ifc4x2::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[194]); } +void Ifc4x2::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x2::IfcCondenserTypeEnum::Value > Ifc4x2::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x2::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x2::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X2_types[196]); } -void Ifc4x2::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X2_types[196]); } +void Ifc4x2::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x2::IfcCondenserTypeEnum::Value Ifc4x2::IfcCondenserType::PredefinedType() const { return ::Ifc4x2::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCondenserType::setPredefinedType(const ::Ifc4x2::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCondenserType::setPredefinedType(const ::Ifc4x2::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X2_types[197]); } -void Ifc4x2::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[197]); } +void Ifc4x2::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x2::IfcAxis2Placement Ifc4x2::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcAxis2Placement>(); } void Ifc4x2::IfcConic::setPosition(const ::Ifc4x2::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcConic::Class() { return *((IfcParse::entity*)IFC4X2_types[199]); } +const ifcopenshell::entity& Ifc4x2::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X2_types[199]); } void Ifc4x2::IfcConic::initialize(::Ifc4x2::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -8432,7 +8432,7 @@ std::vector< ::Ifc4x2::IfcFace > Ifc4x2::IfcConnectedFaceSet::CfsFaces() const { void Ifc4x2::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x2::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X2_types[200]); } +const ifcopenshell::entity& Ifc4x2::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[200]); } void Ifc4x2::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x2::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -8442,13 +8442,13 @@ void Ifc4x2::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::Ifc4x void Ifc4x2::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x2::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X2_types[201]); } +const ifcopenshell::entity& Ifc4x2::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X2_types[201]); } void Ifc4x2::IfcConnectionCurveGeometry::initialize(::Ifc4x2::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x2::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x2::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X2_types[202]); } +const ifcopenshell::entity& Ifc4x2::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X2_types[202]); } void Ifc4x2::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -8460,7 +8460,7 @@ std::optional< double > Ifc4x2::IfcConnectionPointEccentricity::EccentricityInZ( void Ifc4x2::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X2_types[203]); } +const ifcopenshell::entity& Ifc4x2::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X2_types[203]); } void Ifc4x2::IfcConnectionPointEccentricity::initialize(::Ifc4x2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x2::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -8470,7 +8470,7 @@ void Ifc4x2::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::Ifc4x void Ifc4x2::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x2::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X2_types[204]); } +const ifcopenshell::entity& Ifc4x2::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X2_types[204]); } void Ifc4x2::IfcConnectionPointGeometry::initialize(::Ifc4x2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x2::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -8480,7 +8480,7 @@ void Ifc4x2::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const ::I void Ifc4x2::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x2::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X2_types[205]); } +const ifcopenshell::entity& Ifc4x2::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X2_types[205]); } void Ifc4x2::IfcConnectionSurfaceGeometry::initialize(::Ifc4x2::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x2::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -8490,7 +8490,7 @@ void Ifc4x2::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const ::Ifc void Ifc4x2::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x2::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X2_types[207]); } +const ifcopenshell::entity& Ifc4x2::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X2_types[207]); } void Ifc4x2::IfcConnectionVolumeGeometry::initialize(::Ifc4x2::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x2::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -8499,7 +8499,7 @@ void Ifc4x2::IfcConstraint::setName(const std::string& v) { set_attribute_value( std::optional< std::string > Ifc4x2::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x2::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x2::IfcConstraintEnum::Value Ifc4x2::IfcConstraint::ConstraintGrade() const { return ::Ifc4x2::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x2::IfcConstraint::setConstraintGrade(const ::Ifc4x2::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x2::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x2::IfcConstraint::setConstraintGrade(const ::Ifc4x2::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x2::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x2::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x2::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x2::IfcActorSelect Ifc4x2::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x2::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcActorSelect>(); } @@ -8509,59 +8509,59 @@ void Ifc4x2::IfcConstraint::setCreationTime(const std::optional< std::string >& std::optional< std::string > Ifc4x2::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x2::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } -std::vector<::Ifc4x2::IfcResourceConstraintRelationship> Ifc4x2::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[891], 2)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcResourceConstraintRelationship> Ifc4x2::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[891], 2)); } -const IfcParse::entity& Ifc4x2::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X2_types[208]); } -void Ifc4x2::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x2::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X2_types[208]); } +void Ifc4x2::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x2::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X2_types[210]); } -void Ifc4x2::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[210]); } +void Ifc4x2::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x2::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x2::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X2_types[211]); } -void Ifc4x2::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[211]); } +void Ifc4x2::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x2::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X2_types[213]); } -void Ifc4x2::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[213]); } +void Ifc4x2::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x2::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x2::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X2_types[214]); } -void Ifc4x2::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[214]); } +void Ifc4x2::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value > Ifc4x2::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X2_types[216]); } -void Ifc4x2::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[216]); } +void Ifc4x2::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value Ifc4x2::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x2::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x2::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X2_types[217]); } -void Ifc4x2::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[217]); } +void Ifc4x2::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x2::IfcResourceTime Ifc4x2::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x2::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x2::IfcResourceTime>(); } @@ -8572,7 +8572,7 @@ void Ifc4x2::IfcConstructionResource::setBaseCosts(const std::optional< std::vec void Ifc4x2::IfcConstructionResource::setBaseQuantity(const ::Ifc4x2::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X2_types[219]); } +const ifcopenshell::entity& Ifc4x2::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[219]); } void Ifc4x2::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -8582,7 +8582,7 @@ void Ifc4x2::IfcConstructionResourceType::setBaseCosts(const std::optional< std: void Ifc4x2::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x2::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x2::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X2_types[220]); } +const ifcopenshell::entity& Ifc4x2::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[220]); } void Ifc4x2::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -8597,45 +8597,45 @@ void Ifc4x2::IfcContext::setRepresentationContexts(const std::optional< std::vec ::Ifc4x2::IfcUnitAssignment Ifc4x2::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x2::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x2::IfcUnitAssignment>(); } void Ifc4x2::IfcContext::setUnitsInContext(const ::Ifc4x2::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x2::IfcRelDefinesByProperties> Ifc4x2::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[868], 4)); } -std::vector<::Ifc4x2::IfcRelDeclares> Ifc4x2::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[864], 4)); } +std::vector<::Ifc4x2::IfcRelDefinesByProperties> Ifc4x2::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[868], 4)); } +std::vector<::Ifc4x2::IfcRelDeclares> Ifc4x2::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[864], 4)); } -const IfcParse::entity& Ifc4x2::IfcContext::Class() { return *((IfcParse::entity*)IFC4X2_types[221]); } +const ifcopenshell::entity& Ifc4x2::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X2_types[221]); } void Ifc4x2::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x2::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x2::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x2::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } -const IfcParse::entity& Ifc4x2::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X2_types[223]); } -void Ifc4x2::IfcContextDependentUnit::initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x2::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[223]); } +void Ifc4x2::IfcContextDependentUnit::initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x2::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x2::IfcRelAssignsToControl> Ifc4x2::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[838], 6)); } +std::vector<::Ifc4x2::IfcRelAssignsToControl> Ifc4x2::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[838], 6)); } -const IfcParse::entity& Ifc4x2::IfcControl::Class() { return *((IfcParse::entity*)IFC4X2_types[224]); } +const ifcopenshell::entity& Ifc4x2::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X2_types[224]); } void Ifc4x2::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x2::IfcControllerTypeEnum::Value > Ifc4x2::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcController::setPredefinedType(const std::optional< ::Ifc4x2::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcController::setPredefinedType(const std::optional< ::Ifc4x2::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcController::Class() { return *((IfcParse::entity*)IFC4X2_types[225]); } -void Ifc4x2::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X2_types[225]); } +void Ifc4x2::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x2::IfcControllerTypeEnum::Value Ifc4x2::IfcControllerType::PredefinedType() const { return ::Ifc4x2::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcControllerType::setPredefinedType(const ::Ifc4x2::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcControllerType::setPredefinedType(const ::Ifc4x2::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X2_types[226]); } -void Ifc4x2::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[226]); } +void Ifc4x2::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x2::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -8643,50 +8643,50 @@ void Ifc4x2::IfcConversionBasedUnit::setName(const std::string& v) { set_attribu ::Ifc4x2::IfcMeasureWithUnit Ifc4x2::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x2::IfcMeasureWithUnit>(); } void Ifc4x2::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x2::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } -const IfcParse::entity& Ifc4x2::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X2_types[228]); } -void Ifc4x2::IfcConversionBasedUnit::initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x2::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4x2::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[228]); } +void Ifc4x2::IfcConversionBasedUnit::initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x2::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x2::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x2::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X2_types[229]); } -void Ifc4x2::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x2::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x2::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X2_types[229]); } +void Ifc4x2::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x2::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x2::IfcCooledBeamTypeEnum::Value > Ifc4x2::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x2::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x2::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X2_types[230]); } -void Ifc4x2::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X2_types[230]); } +void Ifc4x2::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x2::IfcCooledBeamTypeEnum::Value Ifc4x2::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x2::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCooledBeamType::setPredefinedType(const ::Ifc4x2::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCooledBeamType::setPredefinedType(const ::Ifc4x2::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X2_types[231]); } -void Ifc4x2::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[231]); } +void Ifc4x2::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x2::IfcCoolingTowerTypeEnum::Value > Ifc4x2::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x2::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x2::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X2_types[233]); } -void Ifc4x2::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X2_types[233]); } +void Ifc4x2::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x2::IfcCoolingTowerTypeEnum::Value Ifc4x2::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x2::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x2::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x2::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X2_types[234]); } -void Ifc4x2::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[234]); } +void Ifc4x2::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x2::IfcCoordinateReferenceSystemSelect Ifc4x2::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcCoordinateReferenceSystemSelect>(); } @@ -8695,7 +8695,7 @@ void Ifc4x2::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x2::IfcCoordinateR void Ifc4x2::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x2::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X2_types[236]); } +const ifcopenshell::entity& Ifc4x2::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[236]); } void Ifc4x2::IfcCoordinateOperation::initialize(::Ifc4x2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x2::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -8708,26 +8708,26 @@ void Ifc4x2::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optional< std::optional< std::string > Ifc4x2::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x2::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::vector<::Ifc4x2::IfcCoordinateOperation> Ifc4x2::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[236], 0)); } +std::vector<::Ifc4x2::IfcCoordinateOperation> Ifc4x2::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[236], 0)); } -const IfcParse::entity& Ifc4x2::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X2_types[237]); } +const ifcopenshell::entity& Ifc4x2::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[237]); } void Ifc4x2::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { 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)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4x2::IfcCostItemTypeEnum::Value > Ifc4x2::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x2::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x2::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x2::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x2::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x2::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x2::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x2::IfcCostValue > > Ifc4x2::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x2::IfcCostValue>(es); } void Ifc4x2::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x2::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x2::IfcPhysicalQuantity > > Ifc4x2::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x2::IfcPhysicalQuantity>(es); } void Ifc4x2::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x2::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X2_types[239]); } -void Ifc4x2::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x2::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x2::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x2::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[239]); } +void Ifc4x2::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x2::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x2::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x2::IfcCostScheduleTypeEnum::Value > Ifc4x2::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x2::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x2::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x2::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x2::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x2::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x2::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x2::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x2::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x2::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -8736,55 +8736,55 @@ std::optional< std::string > Ifc4x2::IfcCostSchedule::UpdateDate() const { if(ge void Ifc4x2::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X2_types[241]); } -void Ifc4x2::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X2_types[241]); } +void Ifc4x2::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x2::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X2_types[243]); } -void Ifc4x2::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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(&::Ifc4x2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x2::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[243]); } +void Ifc4x2::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCovering std::optional< ::Ifc4x2::IfcCoveringTypeEnum::Value > Ifc4x2::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x2::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x2::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x2::IfcRelCoversSpaces> Ifc4x2::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[863], 5)); } -std::vector<::Ifc4x2::IfcRelCoversBldgElements> Ifc4x2::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[862], 5)); } +std::vector<::Ifc4x2::IfcRelCoversSpaces> Ifc4x2::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[863], 5)); } +std::vector<::Ifc4x2::IfcRelCoversBldgElements> Ifc4x2::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[862], 5)); } -const IfcParse::entity& Ifc4x2::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X2_types[245]); } -void Ifc4x2::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X2_types[245]); } +void Ifc4x2::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x2::IfcCoveringTypeEnum::Value Ifc4x2::IfcCoveringType::PredefinedType() const { return ::Ifc4x2::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCoveringType::setPredefinedType(const ::Ifc4x2::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCoveringType::setPredefinedType(const ::Ifc4x2::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X2_types[246]); } -void Ifc4x2::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[246]); } +void Ifc4x2::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x2::IfcCrewResourceTypeEnum::Value > Ifc4x2::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X2_types[248]); } -void Ifc4x2::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[248]); } +void Ifc4x2::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x2::IfcCrewResourceTypeEnum::Value Ifc4x2::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x2::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcCrewResourceType::setPredefinedType(const ::Ifc4x2::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x2::IfcCrewResourceType::setPredefinedType(const ::Ifc4x2::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X2_types[249]); } -void Ifc4x2::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[249]); } +void Ifc4x2::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x2::IfcAxis2Placement3D Ifc4x2::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcAxis2Placement3D>(); } void Ifc4x2::IfcCsgPrimitive3D::setPosition(const ::Ifc4x2::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X2_types[251]); } +const ifcopenshell::entity& Ifc4x2::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[251]); } void Ifc4x2::IfcCsgPrimitive3D::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -8792,7 +8792,7 @@ void Ifc4x2::IfcCsgPrimitive3D::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Posi void Ifc4x2::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x2::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X2_types[253]); } +const ifcopenshell::entity& Ifc4x2::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[253]); } void Ifc4x2::IfcCsgSolid::initialize(::Ifc4x2::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -8808,29 +8808,29 @@ void Ifc4x2::IfcCurrencyRelationship::setRateDateTime(const std::optional< std:: void Ifc4x2::IfcCurrencyRelationship::setRateSource(const ::Ifc4x2::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[255]); } +const ifcopenshell::entity& Ifc4x2::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[255]); } void Ifc4x2::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x2::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x2::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x2::IfcCurtainWallTypeEnum::Value > Ifc4x2::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x2::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x2::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X2_types[256]); } -void Ifc4x2::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X2_types[256]); } +void Ifc4x2::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x2::IfcCurtainWallTypeEnum::Value Ifc4x2::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x2::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcCurtainWallType::setPredefinedType(const ::Ifc4x2::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcCurtainWallType::setPredefinedType(const ::Ifc4x2::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X2_types[257]); } -void Ifc4x2::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[257]); } +void Ifc4x2::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x2::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[260]); } +const ifcopenshell::entity& Ifc4x2::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[260]); } void Ifc4x2::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -8842,7 +8842,7 @@ std::vector< ::Ifc4x2::IfcCurve > Ifc4x2::IfcCurveBoundedPlane::InnerBoundaries( void Ifc4x2::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x2::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X2_types[261]); } +const ifcopenshell::entity& Ifc4x2::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X2_types[261]); } void Ifc4x2::IfcCurveBoundedPlane::initialize(::Ifc4x2::IfcPlane v1_BasisSurface, ::Ifc4x2::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x2::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -8854,7 +8854,7 @@ bool Ifc4x2::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_attri void Ifc4x2::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[262]); } +const ifcopenshell::entity& Ifc4x2::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[262]); } void Ifc4x2::IfcCurveBoundedSurface::initialize(::Ifc4x2::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x2::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment2D @@ -8866,7 +8866,7 @@ double Ifc4x2::IfcCurveSegment2D::SegmentLength() const { double v = get_attrib void Ifc4x2::IfcCurveSegment2D::setSegmentLength(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcCurveSegment2D::Class() { return *((IfcParse::entity*)IFC4X2_types[267]); } +const ifcopenshell::entity& Ifc4x2::IfcCurveSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[267]); } void Ifc4x2::IfcCurveSegment2D::initialize(::Ifc4x2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); } // Function implementations for IfcCurveStyle @@ -8880,7 +8880,7 @@ std::optional< bool > Ifc4x2::IfcCurveStyle::ModelOrDraughting() const { if(get_ void Ifc4x2::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[268]); } +const ifcopenshell::entity& Ifc4x2::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[268]); } void Ifc4x2::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x2::IfcSizeSelect v3_CurveWidth, ::Ifc4x2::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -8890,7 +8890,7 @@ std::vector< ::Ifc4x2::IfcCurveStyleFontPattern > Ifc4x2::IfcCurveStyleFont::Pat void Ifc4x2::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x2::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X2_types[269]); } +const ifcopenshell::entity& Ifc4x2::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X2_types[269]); } void Ifc4x2::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x2::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -8902,7 +8902,7 @@ double Ifc4x2::IfcCurveStyleFontAndScaling::CurveFontScaling() const { double v void Ifc4x2::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X2_types[270]); } +const ifcopenshell::entity& Ifc4x2::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X2_types[270]); } void Ifc4x2::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -8912,7 +8912,7 @@ double Ifc4x2::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { doubl void Ifc4x2::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X2_types[271]); } +const ifcopenshell::entity& Ifc4x2::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X2_types[271]); } void Ifc4x2::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -8920,35 +8920,35 @@ double Ifc4x2::IfcCylindricalSurface::Radius() const { double v = get_attribute void Ifc4x2::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[273]); } +const ifcopenshell::entity& Ifc4x2::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[273]); } void Ifc4x2::IfcCylindricalSurface::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x2::IfcDamperTypeEnum::Value > Ifc4x2::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x2::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x2::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X2_types[274]); } -void Ifc4x2::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X2_types[274]); } +void Ifc4x2::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x2::IfcDamperTypeEnum::Value Ifc4x2::IfcDamperType::PredefinedType() const { return ::Ifc4x2::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcDamperType::setPredefinedType(const ::Ifc4x2::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcDamperType::setPredefinedType(const ::Ifc4x2::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X2_types[275]); } -void Ifc4x2::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[275]); } +void Ifc4x2::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDeepFoundation -const IfcParse::entity& Ifc4x2::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X2_types[282]); } +const ifcopenshell::entity& Ifc4x2::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[282]); } void Ifc4x2::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDeepFoundationType -const IfcParse::entity& Ifc4x2::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X2_types[283]); } +const ifcopenshell::entity& Ifc4x2::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[283]); } void Ifc4x2::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDerivedProfileDef @@ -8960,20 +8960,20 @@ std::optional< std::string > Ifc4x2::IfcDerivedProfileDef::Label() const { if(ge void Ifc4x2::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[286]); } -void Ifc4x2::IfcDerivedProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcProfileDef v3_ParentProfile, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x2::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[286]); } +void Ifc4x2::IfcDerivedProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcProfileDef v3_ParentProfile, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x2::IfcDerivedUnitElement > Ifc4x2::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcDerivedUnitElement>(es); } void Ifc4x2::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x2::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x2::IfcDerivedUnitEnum::Value Ifc4x2::IfcDerivedUnit::UnitType() const { return ::Ifc4x2::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x2::IfcDerivedUnit::setUnitType(const ::Ifc4x2::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x2::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x2::IfcDerivedUnit::setUnitType(const ::Ifc4x2::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x2::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x2::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x2::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X2_types[287]); } -void Ifc4x2::IfcDerivedUnit::initialize(std::vector< ::Ifc4x2::IfcDerivedUnitElement > v1_Elements, ::Ifc4x2::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } +const ifcopenshell::entity& Ifc4x2::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[287]); } +void Ifc4x2::IfcDerivedUnit::initialize(std::vector< ::Ifc4x2::IfcDerivedUnitElement > v1_Elements, ::Ifc4x2::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x2::IfcNamedUnit Ifc4x2::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcNamedUnit>(); } @@ -8982,7 +8982,7 @@ int Ifc4x2::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_val void Ifc4x2::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X2_types[288]); } +const ifcopenshell::entity& Ifc4x2::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[288]); } void Ifc4x2::IfcDerivedUnitElement::initialize(::Ifc4x2::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -9002,7 +9002,7 @@ int Ifc4x2::IfcDimensionalExponents::LuminousIntensityExponent() const { int v void Ifc4x2::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X2_types[291]); } +const ifcopenshell::entity& Ifc4x2::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X2_types[291]); } void Ifc4x2::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -9010,24 +9010,24 @@ std::vector< double > /*[2:3]*/ Ifc4x2::IfcDirection::DirectionRatios() const { void Ifc4x2::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X2_types[293]); } +const ifcopenshell::entity& Ifc4x2::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X2_types[293]); } void Ifc4x2::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x2::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X2_types[295]); } -void Ifc4x2::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X2_types[295]); } +void Ifc4x2::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value Ifc4x2::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X2_types[296]); } -void Ifc4x2::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[296]); } +void Ifc4x2::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistanceExpression double Ifc4x2::IfcDistanceExpression::DistanceAlong() const { double v = get_attribute_value(0); return v; } @@ -9042,91 +9042,91 @@ std::optional< bool > Ifc4x2::IfcDistanceExpression::AlongHorizontal() const { i void Ifc4x2::IfcDistanceExpression::setAlongHorizontal(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X2_types[298]); } +const ifcopenshell::entity& Ifc4x2::IfcDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X2_types[298]); } void Ifc4x2::IfcDistanceExpression::initialize(double v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, std::optional< bool > v5_AlongHorizontal) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } if (v5_AlongHorizontal) {set_attribute_value(4, (*v5_AlongHorizontal)); } } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value > Ifc4x2::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X2_types[299]); } -void Ifc4x2::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[299]); } +void Ifc4x2::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value Ifc4x2::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x2::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[300]); } -void Ifc4x2::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[300]); } +void Ifc4x2::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x2::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X2_types[302]); } -void Ifc4x2::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[302]); } +void Ifc4x2::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x2::IfcRelFlowControlElements> Ifc4x2::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[872], 4)); } +std::vector<::Ifc4x2::IfcRelFlowControlElements> Ifc4x2::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[872], 4)); } -const IfcParse::entity& Ifc4x2::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X2_types[303]); } +const ifcopenshell::entity& Ifc4x2::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[303]); } void Ifc4x2::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x2::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[304]); } +const ifcopenshell::entity& Ifc4x2::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[304]); } void Ifc4x2::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x2::IfcRelConnectsPortToElement> Ifc4x2::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[856], 5)); } +std::vector<::Ifc4x2::IfcRelConnectsPortToElement> Ifc4x2::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[856], 5)); } -const IfcParse::entity& Ifc4x2::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X2_types[305]); } +const ifcopenshell::entity& Ifc4x2::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[305]); } void Ifc4x2::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x2::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[306]); } +const ifcopenshell::entity& Ifc4x2::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[306]); } void Ifc4x2::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x2::IfcRelFlowControlElements> Ifc4x2::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[872], 5)); } +std::vector<::Ifc4x2::IfcRelFlowControlElements> Ifc4x2::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[872], 5)); } -const IfcParse::entity& Ifc4x2::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X2_types[307]); } +const ifcopenshell::entity& Ifc4x2::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[307]); } void Ifc4x2::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x2::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[308]); } +const ifcopenshell::entity& Ifc4x2::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[308]); } void Ifc4x2::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x2::IfcFlowDirectionEnum::Value > Ifc4x2::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x2::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x2::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x2::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x2::IfcDistributionPortTypeEnum::Value > Ifc4x2::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x2::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x2::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > Ifc4x2::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X2_types[309]); } -void Ifc4x2::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x2::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4x2::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X2_types[309]); } +void Ifc4x2::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x2::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x2::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > Ifc4x2::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x2::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x2::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X2_types[311]); } -void Ifc4x2::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[311]); } +void Ifc4x2::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x2::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -9160,17 +9160,17 @@ void Ifc4x2::IfcDocumentInformation::setValidFrom(const std::optional< std::stri std::optional< std::string > Ifc4x2::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x2::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x2::IfcDocumentConfidentialityEnum::Value > Ifc4x2::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x2::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x2::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x2::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x2::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x2::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x2::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x2::IfcDocumentStatusEnum::Value > Ifc4x2::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x2::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x2::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x2::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x2::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x2::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x2::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x2::IfcRelAssociatesDocument> Ifc4x2::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[848], 5)); } -std::vector<::Ifc4x2::IfcDocumentReference> Ifc4x2::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[316], 4)); } -std::vector<::Ifc4x2::IfcDocumentInformationRelationship> Ifc4x2::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[315], 3)); } -std::vector<::Ifc4x2::IfcDocumentInformationRelationship> Ifc4x2::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[315], 2)); } +std::vector<::Ifc4x2::IfcRelAssociatesDocument> Ifc4x2::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[848], 5)); } +std::vector<::Ifc4x2::IfcDocumentReference> Ifc4x2::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[316], 4)); } +std::vector<::Ifc4x2::IfcDocumentInformationRelationship> Ifc4x2::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[315], 3)); } +std::vector<::Ifc4x2::IfcDocumentInformationRelationship> Ifc4x2::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[315], 2)); } -const IfcParse::entity& Ifc4x2::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X2_types[314]); } -void Ifc4x2::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x2::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x2::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x2::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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(&::Ifc4x2::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x2::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4x2::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[314]); } +void Ifc4x2::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x2::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x2::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x2::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x2::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x2::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x2::IfcDocumentInformation Ifc4x2::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcDocumentInformation>(); } @@ -9181,7 +9181,7 @@ std::optional< std::string > Ifc4x2::IfcDocumentInformationRelationship::Relatio void Ifc4x2::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[315]); } +const ifcopenshell::entity& Ifc4x2::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[315]); } void Ifc4x2::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x2::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -9190,9 +9190,9 @@ void Ifc4x2::IfcDocumentReference::setDescription(const std::optional< std::stri ::Ifc4x2::IfcDocumentInformation Ifc4x2::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x2::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcDocumentInformation>(); } void Ifc4x2::IfcDocumentReference::setReferencedDocument(const ::Ifc4x2::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x2::IfcRelAssociatesDocument> Ifc4x2::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[848], 5)); } +std::vector<::Ifc4x2::IfcRelAssociatesDocument> Ifc4x2::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[848], 5)); } -const IfcParse::entity& Ifc4x2::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X2_types[316]); } +const ifcopenshell::entity& Ifc4x2::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X2_types[316]); } void Ifc4x2::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -9201,15 +9201,15 @@ void Ifc4x2::IfcDoor::setOverallHeight(const std::optional< double >& v) { if (v std::optional< double > Ifc4x2::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x2::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x2::IfcDoorTypeEnum::Value > Ifc4x2::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x2::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x2::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x2::IfcDoorTypeOperationEnum::Value > Ifc4x2::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcDoor::setOperationType(const std::optional< ::Ifc4x2::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x2::IfcDoor::setOperationType(const std::optional< ::Ifc4x2::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x2::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x2::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x2::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X2_types[319]); } -void Ifc4x2::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x2::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X2_types[319]); } +void Ifc4x2::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x2::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -9240,118 +9240,118 @@ std::optional< double > Ifc4x2::IfcDoorLiningProperties::LiningToPanelOffsetY() void Ifc4x2::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x2::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[320]); } +const ifcopenshell::entity& Ifc4x2::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[320]); } void Ifc4x2::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x2::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x2::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x2::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x2::IfcDoorPanelOperationEnum::Value Ifc4x2::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x2::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x2::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x2::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x2::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x2::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x2::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x2::IfcDoorPanelPositionEnum::Value Ifc4x2::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x2::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x2::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x2::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x2::IfcShapeAspect Ifc4x2::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x2::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x2::IfcShapeAspect>(); } void Ifc4x2::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x2::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[323]); } -void Ifc4x2::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4x2::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4x2::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[323]); } +void Ifc4x2::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x2::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorStandardCase -const IfcParse::entity& Ifc4x2::IfcDoorStandardCase::Class() { return *((IfcParse::entity*)IFC4X2_types[324]); } -void Ifc4x2::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x2::IfcDoorStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[324]); } +void Ifc4x2::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorStyle ::Ifc4x2::IfcDoorStyleOperationEnum::Value Ifc4x2::IfcDoorStyle::OperationType() const { return ::Ifc4x2::IfcDoorStyleOperationEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcDoorStyle::setOperationType(const ::Ifc4x2::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x2::IfcDoorStyle::setOperationType(const ::Ifc4x2::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x2::IfcDoorStyleConstructionEnum::Value Ifc4x2::IfcDoorStyle::ConstructionType() const { return ::Ifc4x2::IfcDoorStyleConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcDoorStyle::setConstructionType(const ::Ifc4x2::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcDoorStyle::setConstructionType(const ::Ifc4x2::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x2::IfcDoorStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x2::IfcDoorStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x2::IfcDoorStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x2::IfcDoorStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcDoorStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[325]); } -void Ifc4x2::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x2::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x2::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x2::IfcDoorStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[325]); } +void Ifc4x2::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x2::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x2::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcDoorType ::Ifc4x2::IfcDoorTypeEnum::Value Ifc4x2::IfcDoorType::PredefinedType() const { return ::Ifc4x2::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcDoorType::setPredefinedType(const ::Ifc4x2::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcDoorType::setPredefinedType(const ::Ifc4x2::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x2::IfcDoorTypeOperationEnum::Value Ifc4x2::IfcDoorType::OperationType() const { return ::Ifc4x2::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcDoorType::setOperationType(const ::Ifc4x2::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x2::IfcDoorType::setOperationType(const ::Ifc4x2::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x2::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x2::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x2::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x2::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x2::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X2_types[328]); } -void Ifc4x2::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x2::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x2::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[328]); } +void Ifc4x2::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x2::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x2::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X2_types[332]); } +const ifcopenshell::entity& Ifc4x2::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X2_types[332]); } void Ifc4x2::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x2::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X2_types[333]); } +const ifcopenshell::entity& Ifc4x2::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X2_types[333]); } void Ifc4x2::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x2::IfcDuctFittingTypeEnum::Value > Ifc4x2::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x2::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x2::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X2_types[334]); } -void Ifc4x2::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X2_types[334]); } +void Ifc4x2::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x2::IfcDuctFittingTypeEnum::Value Ifc4x2::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x2::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcDuctFittingType::setPredefinedType(const ::Ifc4x2::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcDuctFittingType::setPredefinedType(const ::Ifc4x2::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X2_types[335]); } -void Ifc4x2::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[335]); } +void Ifc4x2::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x2::IfcDuctSegmentTypeEnum::Value > Ifc4x2::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x2::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x2::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[337]); } -void Ifc4x2::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[337]); } +void Ifc4x2::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x2::IfcDuctSegmentTypeEnum::Value Ifc4x2::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x2::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x2::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x2::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X2_types[338]); } -void Ifc4x2::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[338]); } +void Ifc4x2::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x2::IfcDuctSilencerTypeEnum::Value > Ifc4x2::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x2::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x2::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X2_types[340]); } -void Ifc4x2::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X2_types[340]); } +void Ifc4x2::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x2::IfcDuctSilencerTypeEnum::Value Ifc4x2::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x2::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x2::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x2::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X2_types[341]); } -void Ifc4x2::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[341]); } +void Ifc4x2::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEdge ::Ifc4x2::IfcVertex Ifc4x2::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcVertex>(); } @@ -9360,7 +9360,7 @@ void Ifc4x2::IfcEdge::setEdgeStart(const ::Ifc4x2::IfcVertex& v) { set_attribute void Ifc4x2::IfcEdge::setEdgeEnd(const ::Ifc4x2::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X2_types[345]); } +const ifcopenshell::entity& Ifc4x2::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X2_types[345]); } void Ifc4x2::IfcEdge::initialize(::Ifc4x2::IfcVertex v1_EdgeStart, ::Ifc4x2::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -9370,7 +9370,7 @@ bool Ifc4x2::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value(3); void Ifc4x2::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[346]); } +const ifcopenshell::entity& Ifc4x2::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[346]); } void Ifc4x2::IfcEdgeCurve::initialize(::Ifc4x2::IfcVertex v1_EdgeStart, ::Ifc4x2::IfcVertex v2_EdgeEnd, ::Ifc4x2::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -9378,153 +9378,153 @@ std::vector< ::Ifc4x2::IfcOrientedEdge > Ifc4x2::IfcEdgeLoop::EdgeList() const { void Ifc4x2::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x2::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X2_types[347]); } +const ifcopenshell::entity& Ifc4x2::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X2_types[347]); } void Ifc4x2::IfcEdgeLoop::initialize(std::vector< ::Ifc4x2::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x2::IfcElectricApplianceTypeEnum::Value > Ifc4x2::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X2_types[348]); } -void Ifc4x2::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X2_types[348]); } +void Ifc4x2::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x2::IfcElectricApplianceTypeEnum::Value Ifc4x2::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x2::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x2::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x2::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X2_types[349]); } -void Ifc4x2::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[349]); } +void Ifc4x2::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x2::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X2_types[355]); } -void Ifc4x2::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X2_types[355]); } +void Ifc4x2::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value Ifc4x2::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X2_types[356]); } -void Ifc4x2::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[356]); } +void Ifc4x2::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x2::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[358]); } -void Ifc4x2::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[358]); } +void Ifc4x2::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x2::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[359]); } -void Ifc4x2::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[359]); } +void Ifc4x2::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value > Ifc4x2::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X2_types[361]); } -void Ifc4x2::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X2_types[361]); } +void Ifc4x2::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value Ifc4x2::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x2::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X2_types[362]); } -void Ifc4x2::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[362]); } +void Ifc4x2::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x2::IfcElectricMotorTypeEnum::Value > Ifc4x2::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X2_types[364]); } -void Ifc4x2::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X2_types[364]); } +void Ifc4x2::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x2::IfcElectricMotorTypeEnum::Value Ifc4x2::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x2::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcElectricMotorType::setPredefinedType(const ::Ifc4x2::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcElectricMotorType::setPredefinedType(const ::Ifc4x2::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X2_types[365]); } -void Ifc4x2::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[365]); } +void Ifc4x2::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value > Ifc4x2::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X2_types[368]); } -void Ifc4x2::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X2_types[368]); } +void Ifc4x2::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value Ifc4x2::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x2::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X2_types[369]); } -void Ifc4x2::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[369]); } +void Ifc4x2::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x2::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x2::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x2::IfcRelFillsElement> Ifc4x2::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[871], 5)); } -std::vector<::Ifc4x2::IfcRelConnectsElements> Ifc4x2::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[853], 5)); } -std::vector<::Ifc4x2::IfcRelInterferesElements> Ifc4x2::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[873], 5)); } -std::vector<::Ifc4x2::IfcRelInterferesElements> Ifc4x2::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[873], 4)); } -std::vector<::Ifc4x2::IfcRelProjectsElement> Ifc4x2::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[876], 4)); } -std::vector<::Ifc4x2::IfcRelReferencedInSpatialStructure> Ifc4x2::IfcElement::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[877], 4)); } -std::vector<::Ifc4x2::IfcRelVoidsElement> Ifc4x2::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[883], 4)); } -std::vector<::Ifc4x2::IfcRelConnectsWithRealizingElements> Ifc4x2::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[860], 7)); } -std::vector<::Ifc4x2::IfcRelSpaceBoundary> Ifc4x2::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[880], 5)); } -std::vector<::Ifc4x2::IfcRelConnectsElements> Ifc4x2::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[853], 6)); } -std::vector<::Ifc4x2::IfcRelContainedInSpatialStructure> Ifc4x2::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[861], 4)); } -std::vector<::Ifc4x2::IfcRelCoversBldgElements> Ifc4x2::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[862], 4)); } +std::vector<::Ifc4x2::IfcRelFillsElement> Ifc4x2::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[871], 5)); } +std::vector<::Ifc4x2::IfcRelConnectsElements> Ifc4x2::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[853], 5)); } +std::vector<::Ifc4x2::IfcRelInterferesElements> Ifc4x2::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[873], 5)); } +std::vector<::Ifc4x2::IfcRelInterferesElements> Ifc4x2::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[873], 4)); } +std::vector<::Ifc4x2::IfcRelProjectsElement> Ifc4x2::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[876], 4)); } +std::vector<::Ifc4x2::IfcRelReferencedInSpatialStructure> Ifc4x2::IfcElement::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[877], 4)); } +std::vector<::Ifc4x2::IfcRelVoidsElement> Ifc4x2::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[883], 4)); } +std::vector<::Ifc4x2::IfcRelConnectsWithRealizingElements> Ifc4x2::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[860], 7)); } +std::vector<::Ifc4x2::IfcRelSpaceBoundary> Ifc4x2::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[880], 5)); } +std::vector<::Ifc4x2::IfcRelConnectsElements> Ifc4x2::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[853], 6)); } +std::vector<::Ifc4x2::IfcRelContainedInSpatialStructure> Ifc4x2::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[861], 4)); } +std::vector<::Ifc4x2::IfcRelCoversBldgElements> Ifc4x2::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[862], 4)); } -const IfcParse::entity& Ifc4x2::IfcElement::Class() { return *((IfcParse::entity*)IFC4X2_types[372]); } +const ifcopenshell::entity& Ifc4x2::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[372]); } void Ifc4x2::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x2::IfcAssemblyPlaceEnum::Value > Ifc4x2::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x2::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x2::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x2::IfcElementAssemblyTypeEnum::Value > Ifc4x2::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x2::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x2::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X2_types[374]); } -void Ifc4x2::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X2_types[374]); } +void Ifc4x2::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x2::IfcElementAssemblyTypeEnum::Value Ifc4x2::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x2::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x2::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x2::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X2_types[375]); } -void Ifc4x2::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[375]); } +void Ifc4x2::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x2::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X2_types[377]); } +const ifcopenshell::entity& Ifc4x2::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X2_types[377]); } void Ifc4x2::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x2::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X2_types[378]); } +const ifcopenshell::entity& Ifc4x2::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[378]); } void Ifc4x2::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -9534,7 +9534,7 @@ std::vector< ::Ifc4x2::IfcPhysicalQuantity > Ifc4x2::IfcElementQuantity::Quantit void Ifc4x2::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x2::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X2_types[380]); } +const ifcopenshell::entity& Ifc4x2::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X2_types[380]); } void Ifc4x2::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x2::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -9542,7 +9542,7 @@ std::optional< std::string > Ifc4x2::IfcElementType::ElementType() const { if(ge void Ifc4x2::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[381]); } +const ifcopenshell::entity& Ifc4x2::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[381]); } void Ifc4x2::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -9550,7 +9550,7 @@ void Ifc4x2::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOw void Ifc4x2::IfcElementarySurface::setPosition(const ::Ifc4x2::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X2_types[373]); } +const ifcopenshell::entity& Ifc4x2::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[373]); } void Ifc4x2::IfcElementarySurface::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -9560,7 +9560,7 @@ double Ifc4x2::IfcEllipse::SemiAxis2() const { double v = get_attribute_value(2 void Ifc4x2::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X2_types[382]); } +const ifcopenshell::entity& Ifc4x2::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X2_types[382]); } void Ifc4x2::IfcEllipse::initialize(::Ifc4x2::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -9570,82 +9570,82 @@ double Ifc4x2::IfcEllipseProfileDef::SemiAxis2() const { double v = get_attribu void Ifc4x2::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[383]); } -void Ifc4x2::IfcEllipseProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x2::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[383]); } +void Ifc4x2::IfcEllipseProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x2::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[384]); } +const ifcopenshell::entity& Ifc4x2::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[384]); } void Ifc4x2::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x2::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[385]); } +const ifcopenshell::entity& Ifc4x2::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[385]); } void Ifc4x2::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x2::IfcEngineTypeEnum::Value > Ifc4x2::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x2::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x2::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X2_types[387]); } -void Ifc4x2::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X2_types[387]); } +void Ifc4x2::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x2::IfcEngineTypeEnum::Value Ifc4x2::IfcEngineType::PredefinedType() const { return ::Ifc4x2::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcEngineType::setPredefinedType(const ::Ifc4x2::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcEngineType::setPredefinedType(const ::Ifc4x2::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X2_types[388]); } -void Ifc4x2::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[388]); } +void Ifc4x2::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x2::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X2_types[390]); } -void Ifc4x2::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X2_types[390]); } +void Ifc4x2::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value Ifc4x2::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X2_types[391]); } -void Ifc4x2::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[391]); } +void Ifc4x2::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x2::IfcEvaporatorTypeEnum::Value > Ifc4x2::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x2::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x2::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X2_types[393]); } -void Ifc4x2::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X2_types[393]); } +void Ifc4x2::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x2::IfcEvaporatorTypeEnum::Value Ifc4x2::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x2::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcEvaporatorType::setPredefinedType(const ::Ifc4x2::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcEvaporatorType::setPredefinedType(const ::Ifc4x2::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X2_types[394]); } -void Ifc4x2::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[394]); } +void Ifc4x2::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x2::IfcEventTypeEnum::Value > Ifc4x2::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x2::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x2::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x2::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x2::IfcEventTriggerTypeEnum::Value > Ifc4x2::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x2::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x2::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x2::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x2::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x2::IfcEventTime Ifc4x2::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x2::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x2::IfcEventTime>(); } void Ifc4x2::IfcEvent::setEventOccurenceTime(const ::Ifc4x2::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x2::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X2_types[396]); } -void Ifc4x2::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x2::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x2::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4x2::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X2_types[396]); } +void Ifc4x2::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x2::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x2::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x2::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -9658,20 +9658,20 @@ std::optional< std::string > Ifc4x2::IfcEventTime::ScheduleDate() const { if(get void Ifc4x2::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X2_types[397]); } -void Ifc4x2::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X2_types[397]); } +void Ifc4x2::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcEventType ::Ifc4x2::IfcEventTypeEnum::Value Ifc4x2::IfcEventType::PredefinedType() const { return ::Ifc4x2::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcEventType::setPredefinedType(const ::Ifc4x2::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcEventType::setPredefinedType(const ::Ifc4x2::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x2::IfcEventTriggerTypeEnum::Value Ifc4x2::IfcEventType::EventTriggerType() const { return ::Ifc4x2::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcEventType::setEventTriggerType(const ::Ifc4x2::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x2::IfcEventType::setEventTriggerType(const ::Ifc4x2::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x2::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x2::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x2::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X2_types[399]); } -void Ifc4x2::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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(&::Ifc4x2::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4x2::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[399]); } +void Ifc4x2::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x2::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x2::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -9682,13 +9682,13 @@ std::vector< ::Ifc4x2::IfcProperty > Ifc4x2::IfcExtendedProperties::Properties() void Ifc4x2::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x2::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[401]); } +const ifcopenshell::entity& Ifc4x2::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[401]); } void Ifc4x2::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x2::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X2_types[402]); } +const ifcopenshell::entity& Ifc4x2::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[402]); } void Ifc4x2::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -9699,9 +9699,9 @@ void Ifc4x2::IfcExternalReference::setIdentification(const std::optional< std::s std::optional< std::string > Ifc4x2::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x2::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 2)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 2)); } -const IfcParse::entity& Ifc4x2::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X2_types[406]); } +const ifcopenshell::entity& Ifc4x2::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X2_types[406]); } void Ifc4x2::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -9711,40 +9711,40 @@ std::vector< ::Ifc4x2::IfcResourceObjectSelect > Ifc4x2::IfcExternalReferenceRel void Ifc4x2::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x2::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[407]); } +const ifcopenshell::entity& Ifc4x2::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[407]); } void Ifc4x2::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x2::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x2::IfcExternalSpatialElementTypeEnum::Value > Ifc4x2::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x2::IfcRelSpaceBoundary> Ifc4x2::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[880], 4)); } +std::vector<::Ifc4x2::IfcRelSpaceBoundary> Ifc4x2::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[880], 4)); } -const IfcParse::entity& Ifc4x2::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X2_types[408]); } -void Ifc4x2::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[408]); } +void Ifc4x2::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x2::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X2_types[410]); } +const ifcopenshell::entity& Ifc4x2::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[410]); } void Ifc4x2::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x2::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[403]); } +const ifcopenshell::entity& Ifc4x2::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[403]); } void Ifc4x2::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x2::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[404]); } +const ifcopenshell::entity& Ifc4x2::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[404]); } void Ifc4x2::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x2::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X2_types[405]); } +const ifcopenshell::entity& Ifc4x2::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X2_types[405]); } void Ifc4x2::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -9754,7 +9754,7 @@ double Ifc4x2::IfcExtrudedAreaSolid::Depth() const { double v = get_attribute_v void Ifc4x2::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X2_types[411]); } +const ifcopenshell::entity& Ifc4x2::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[411]); } void Ifc4x2::IfcExtrudedAreaSolid::initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -9762,16 +9762,16 @@ void Ifc4x2::IfcExtrudedAreaSolid::initialize(::Ifc4x2::IfcProfileDef v1_SweptAr void Ifc4x2::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x2::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X2_types[412]); } +const ifcopenshell::entity& Ifc4x2::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X2_types[412]); } void Ifc4x2::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x2::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x2::IfcFaceBound > Ifc4x2::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcFaceBound>(es); } void Ifc4x2::IfcFace::setBounds(const std::vector< ::Ifc4x2::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x2::IfcTextureMap> Ifc4x2::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[1112], 2)); } +std::vector<::Ifc4x2::IfcTextureMap> Ifc4x2::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[1112], 2)); } -const IfcParse::entity& Ifc4x2::IfcFace::Class() { return *((IfcParse::entity*)IFC4X2_types[413]); } +const ifcopenshell::entity& Ifc4x2::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X2_types[413]); } void Ifc4x2::IfcFace::initialize(std::vector< ::Ifc4x2::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -9779,7 +9779,7 @@ std::vector< ::Ifc4x2::IfcConnectedFaceSet > Ifc4x2::IfcFaceBasedSurfaceModel::F void Ifc4x2::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x2::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X2_types[414]); } +const ifcopenshell::entity& Ifc4x2::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[414]); } void Ifc4x2::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x2::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -9789,13 +9789,13 @@ bool Ifc4x2::IfcFaceBound::Orientation() const { bool v = get_attribute_value(1 void Ifc4x2::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X2_types[415]); } +const ifcopenshell::entity& Ifc4x2::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X2_types[415]); } void Ifc4x2::IfcFaceBound::initialize(::Ifc4x2::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x2::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X2_types[416]); } +const ifcopenshell::entity& Ifc4x2::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X2_types[416]); } void Ifc4x2::IfcFaceOuterBound::initialize(::Ifc4x2::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -9805,13 +9805,13 @@ bool Ifc4x2::IfcFaceSurface::SameSense() const { bool v = get_attribute_value(2 void Ifc4x2::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[417]); } +const ifcopenshell::entity& Ifc4x2::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[417]); } void Ifc4x2::IfcFaceSurface::initialize(std::vector< ::Ifc4x2::IfcFaceBound > v1_Bounds, ::Ifc4x2::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x2::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X2_types[418]); } +const ifcopenshell::entity& Ifc4x2::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X2_types[418]); } void Ifc4x2::IfcFacetedBrep::initialize(::Ifc4x2::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -9819,20 +9819,20 @@ std::vector< ::Ifc4x2::IfcClosedShell > Ifc4x2::IfcFacetedBrepWithVoids::Voids() void Ifc4x2::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x2::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X2_types[419]); } +const ifcopenshell::entity& Ifc4x2::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X2_types[419]); } void Ifc4x2::IfcFacetedBrepWithVoids::initialize(::Ifc4x2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x2::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFacility -const IfcParse::entity& Ifc4x2::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X2_types[420]); } -void Ifc4x2::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X2_types[420]); } +void Ifc4x2::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFacilityPart -const IfcParse::entity& Ifc4x2::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X2_types[421]); } -void Ifc4x2::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X2_types[421]); } +void Ifc4x2::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFailureConnectionCondition std::optional< double > Ifc4x2::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -9849,59 +9849,59 @@ std::optional< double > Ifc4x2::IfcFailureConnectionCondition::CompressionFailur void Ifc4x2::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X2_types[422]); } +const ifcopenshell::entity& Ifc4x2::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[422]); } void Ifc4x2::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x2::IfcFanTypeEnum::Value > Ifc4x2::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcFan::setPredefinedType(const std::optional< ::Ifc4x2::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcFan::setPredefinedType(const std::optional< ::Ifc4x2::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcFan::Class() { return *((IfcParse::entity*)IFC4X2_types[423]); } -void Ifc4x2::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X2_types[423]); } +void Ifc4x2::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x2::IfcFanTypeEnum::Value Ifc4x2::IfcFanType::PredefinedType() const { return ::Ifc4x2::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcFanType::setPredefinedType(const ::Ifc4x2::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcFanType::setPredefinedType(const ::Ifc4x2::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X2_types[424]); } -void Ifc4x2::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[424]); } +void Ifc4x2::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x2::IfcFastenerTypeEnum::Value > Ifc4x2::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x2::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x2::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X2_types[426]); } -void Ifc4x2::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X2_types[426]); } +void Ifc4x2::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x2::IfcFastenerTypeEnum::Value Ifc4x2::IfcFastenerType::PredefinedType() const { return ::Ifc4x2::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcFastenerType::setPredefinedType(const ::Ifc4x2::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcFastenerType::setPredefinedType(const ::Ifc4x2::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X2_types[427]); } -void Ifc4x2::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[427]); } +void Ifc4x2::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x2::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X2_types[429]); } +const ifcopenshell::entity& Ifc4x2::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[429]); } void Ifc4x2::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x2::IfcRelProjectsElement> Ifc4x2::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[876], 5)); } +std::vector<::Ifc4x2::IfcRelProjectsElement> Ifc4x2::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[876], 5)); } -const IfcParse::entity& Ifc4x2::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X2_types[430]); } +const ifcopenshell::entity& Ifc4x2::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[430]); } void Ifc4x2::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x2::IfcRelVoidsElement> Ifc4x2::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[883], 5)); } +std::vector<::Ifc4x2::IfcRelVoidsElement> Ifc4x2::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[883], 5)); } -const IfcParse::entity& Ifc4x2::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X2_types[431]); } +const ifcopenshell::entity& Ifc4x2::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[431]); } void Ifc4x2::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -9911,7 +9911,7 @@ std::optional< bool > Ifc4x2::IfcFillAreaStyle::ModelorDraughting() const { if(g void Ifc4x2::IfcFillAreaStyle::setModelorDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[432]); } +const ifcopenshell::entity& Ifc4x2::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[432]); } void Ifc4x2::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x2::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelorDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelorDraughting) {set_attribute_value(2, (*v3_ModelorDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -9927,7 +9927,7 @@ double Ifc4x2::IfcFillAreaStyleHatching::HatchLineAngle() const { double v = ge void Ifc4x2::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X2_types[433]); } +const ifcopenshell::entity& Ifc4x2::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X2_types[433]); } void Ifc4x2::IfcFillAreaStyleHatching::initialize(::Ifc4x2::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x2::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x2::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x2::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -9939,40 +9939,40 @@ double Ifc4x2::IfcFillAreaStyleTiles::TilingScale() const { double v = get_attr void Ifc4x2::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X2_types[434]); } +const ifcopenshell::entity& Ifc4x2::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X2_types[434]); } void Ifc4x2::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x2::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x2::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x2::IfcFilterTypeEnum::Value > Ifc4x2::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x2::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x2::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X2_types[436]); } -void Ifc4x2::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X2_types[436]); } +void Ifc4x2::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x2::IfcFilterTypeEnum::Value Ifc4x2::IfcFilterType::PredefinedType() const { return ::Ifc4x2::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcFilterType::setPredefinedType(const ::Ifc4x2::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcFilterType::setPredefinedType(const ::Ifc4x2::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X2_types[437]); } -void Ifc4x2::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[437]); } +void Ifc4x2::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x2::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X2_types[439]); } -void Ifc4x2::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X2_types[439]); } +void Ifc4x2::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x2::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X2_types[440]); } -void Ifc4x2::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[440]); } +void Ifc4x2::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x2::IfcCurve Ifc4x2::IfcFixedReferenceSweptAreaSolid::Directrix() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcCurve>(); } @@ -9985,191 +9985,191 @@ void Ifc4x2::IfcFixedReferenceSweptAreaSolid::setEndParam(const std::optional< d void Ifc4x2::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X2_types[442]); } +const ifcopenshell::entity& Ifc4x2::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[442]); } void Ifc4x2::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x2::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix)); if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x2::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X2_types[443]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X2_types[443]); } void Ifc4x2::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x2::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X2_types[444]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[444]); } void Ifc4x2::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x2::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X2_types[446]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X2_types[446]); } void Ifc4x2::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x2::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X2_types[447]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[447]); } void Ifc4x2::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value > Ifc4x2::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X2_types[448]); } -void Ifc4x2::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X2_types[448]); } +void Ifc4x2::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value Ifc4x2::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x2::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X2_types[449]); } -void Ifc4x2::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[449]); } +void Ifc4x2::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x2::IfcFlowMeterTypeEnum::Value > Ifc4x2::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x2::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x2::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X2_types[451]); } -void Ifc4x2::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X2_types[451]); } +void Ifc4x2::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x2::IfcFlowMeterTypeEnum::Value Ifc4x2::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x2::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcFlowMeterType::setPredefinedType(const ::Ifc4x2::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcFlowMeterType::setPredefinedType(const ::Ifc4x2::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X2_types[452]); } -void Ifc4x2::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[452]); } +void Ifc4x2::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x2::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[454]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[454]); } void Ifc4x2::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x2::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[455]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[455]); } void Ifc4x2::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x2::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[456]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[456]); } void Ifc4x2::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x2::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X2_types[457]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[457]); } void Ifc4x2::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x2::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[458]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[458]); } void Ifc4x2::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x2::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[459]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[459]); } void Ifc4x2::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x2::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X2_types[460]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X2_types[460]); } void Ifc4x2::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x2::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X2_types[461]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[461]); } void Ifc4x2::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x2::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[462]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[462]); } void Ifc4x2::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x2::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[463]); } +const ifcopenshell::entity& Ifc4x2::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[463]); } void Ifc4x2::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x2::IfcFootingTypeEnum::Value > Ifc4x2::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x2::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x2::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X2_types[467]); } -void Ifc4x2::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X2_types[467]); } +void Ifc4x2::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x2::IfcFootingTypeEnum::Value Ifc4x2::IfcFootingType::PredefinedType() const { return ::Ifc4x2::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcFootingType::setPredefinedType(const ::Ifc4x2::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcFootingType::setPredefinedType(const ::Ifc4x2::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X2_types[468]); } -void Ifc4x2::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[468]); } +void Ifc4x2::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x2::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X2_types[472]); } +const ifcopenshell::entity& Ifc4x2::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[472]); } void Ifc4x2::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x2::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[473]); } +const ifcopenshell::entity& Ifc4x2::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[473]); } void Ifc4x2::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > Ifc4x2::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X2_types[474]); } -void Ifc4x2::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X2_types[474]); } +void Ifc4x2::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x2::IfcAssemblyPlaceEnum::Value Ifc4x2::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x2::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x2::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x2::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > Ifc4x2::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X2_types[475]); } -void Ifc4x2::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[475]); } +void Ifc4x2::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x2::IfcGeographicElementTypeEnum::Value > Ifc4x2::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X2_types[477]); } -void Ifc4x2::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[477]); } +void Ifc4x2::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x2::IfcGeographicElementTypeEnum::Value Ifc4x2::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x2::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcGeographicElementType::setPredefinedType(const ::Ifc4x2::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcGeographicElementType::setPredefinedType(const ::Ifc4x2::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[478]); } -void Ifc4x2::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[478]); } +void Ifc4x2::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x2::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X2_types[480]); } +const ifcopenshell::entity& Ifc4x2::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[480]); } void Ifc4x2::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x2::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -10182,16 +10182,16 @@ void Ifc4x2::IfcGeometricRepresentationContext::setWorldCoordinateSystem(const : ::Ifc4x2::IfcDirection Ifc4x2::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x2::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x2::IfcDirection>(); } void Ifc4x2::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x2::IfcGeometricRepresentationSubContext> Ifc4x2::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[484], 6)); } -std::vector<::Ifc4x2::IfcCoordinateOperation> Ifc4x2::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[236], 0)); } +std::vector<::Ifc4x2::IfcGeometricRepresentationSubContext> Ifc4x2::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[484], 6)); } +std::vector<::Ifc4x2::IfcCoordinateOperation> Ifc4x2::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[236], 0)); } -const IfcParse::entity& Ifc4x2::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X2_types[482]); } +const ifcopenshell::entity& Ifc4x2::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X2_types[482]); } void Ifc4x2::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x2::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x2::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x2::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X2_types[483]); } +const ifcopenshell::entity& Ifc4x2::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[483]); } void Ifc4x2::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -10200,20 +10200,20 @@ void Ifc4x2::IfcGeometricRepresentationSubContext::setParentContext(const ::Ifc4 std::optional< double > Ifc4x2::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x2::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x2::IfcGeometricProjectionEnum::Value Ifc4x2::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x2::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x2::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x2::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x2::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x2::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x2::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X2_types[484]); } -void Ifc4x2::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x2::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x2::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4x2::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X2_types[484]); } +void Ifc4x2::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x2::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x2::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x2::IfcGeometricSetSelect > Ifc4x2::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcGeometricSetSelect>(es); } void Ifc4x2::IfcGeometricSet::setElements(const std::vector< ::Ifc4x2::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X2_types[485]); } +const ifcopenshell::entity& Ifc4x2::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[485]); } void Ifc4x2::IfcGeometricSet::initialize(std::vector< ::Ifc4x2::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGrid @@ -10224,11 +10224,11 @@ void Ifc4x2::IfcGrid::setVAxes(const std::vector< ::Ifc4x2::IfcGridAxis >& v) { std::optional< std::vector< ::Ifc4x2::IfcGridAxis > > Ifc4x2::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x2::IfcGridAxis>(es); } void Ifc4x2::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x2::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x2::IfcGridTypeEnum::Value > Ifc4x2::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x2::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x2::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X2_types[489]); } -void Ifc4x2::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x2::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x2::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x2::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x2::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[489]); } +void Ifc4x2::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x2::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x2::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x2::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x2::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x2::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10238,12 +10238,12 @@ void Ifc4x2::IfcGridAxis::setAxisCurve(const ::Ifc4x2::IfcCurve& v) { set_attrib bool Ifc4x2::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x2::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x2::IfcGrid> Ifc4x2::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[489], 9)); } -std::vector<::Ifc4x2::IfcGrid> Ifc4x2::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[489], 8)); } -std::vector<::Ifc4x2::IfcGrid> Ifc4x2::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[489], 7)); } -std::vector<::Ifc4x2::IfcVirtualGridIntersection> Ifc4x2::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[1185], 0)); } +std::vector<::Ifc4x2::IfcGrid> Ifc4x2::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[489], 9)); } +std::vector<::Ifc4x2::IfcGrid> Ifc4x2::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[489], 8)); } +std::vector<::Ifc4x2::IfcGrid> Ifc4x2::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[489], 7)); } +std::vector<::Ifc4x2::IfcVirtualGridIntersection> Ifc4x2::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[1185], 0)); } -const IfcParse::entity& Ifc4x2::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X2_types[490]); } +const ifcopenshell::entity& Ifc4x2::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X2_types[490]); } void Ifc4x2::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x2::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -10253,14 +10253,14 @@ void Ifc4x2::IfcGridPlacement::setPlacementLocation(const ::Ifc4x2::IfcVirtualGr void Ifc4x2::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x2::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X2_types[491]); } +const ifcopenshell::entity& Ifc4x2::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[491]); } void Ifc4x2::IfcGridPlacement::initialize(::Ifc4x2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x2::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x2::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x2::IfcRelAssignsToGroup> Ifc4x2::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[839], 6)); } +std::vector<::Ifc4x2::IfcRelAssignsToGroup> Ifc4x2::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[839], 6)); } -const IfcParse::entity& Ifc4x2::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X2_types[494]); } +const ifcopenshell::entity& Ifc4x2::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X2_types[494]); } void Ifc4x2::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -10270,40 +10270,40 @@ bool Ifc4x2::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attribute_ void Ifc4x2::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X2_types[495]); } +const ifcopenshell::entity& Ifc4x2::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[495]); } void Ifc4x2::IfcHalfSpaceSolid::initialize(::Ifc4x2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x2::IfcHeatExchangerTypeEnum::Value > Ifc4x2::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x2::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x2::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X2_types[497]); } -void Ifc4x2::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X2_types[497]); } +void Ifc4x2::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x2::IfcHeatExchangerTypeEnum::Value Ifc4x2::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x2::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x2::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x2::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X2_types[498]); } -void Ifc4x2::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[498]); } +void Ifc4x2::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x2::IfcHumidifierTypeEnum::Value > Ifc4x2::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x2::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x2::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X2_types[502]); } -void Ifc4x2::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X2_types[502]); } +void Ifc4x2::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x2::IfcHumidifierTypeEnum::Value Ifc4x2::IfcHumidifierType::PredefinedType() const { return ::Ifc4x2::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcHumidifierType::setPredefinedType(const ::Ifc4x2::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcHumidifierType::setPredefinedType(const ::Ifc4x2::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X2_types[503]); } -void Ifc4x2::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[503]); } +void Ifc4x2::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x2::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -10322,15 +10322,15 @@ std::optional< double > Ifc4x2::IfcIShapeProfileDef::FlangeSlope() const { if(ge void Ifc4x2::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[527]); } -void Ifc4x2::IfcIShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x2::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[527]); } +void Ifc4x2::IfcIShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x2::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X2_types[507]); } +const ifcopenshell::entity& Ifc4x2::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X2_types[507]); } void Ifc4x2::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcIndexedColourMap @@ -10344,7 +10344,7 @@ std::vector< int > /*[1:?]*/ Ifc4x2::IfcIndexedColourMap::ColourIndex() const { void Ifc4x2::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X2_types[508]); } +const ifcopenshell::entity& Ifc4x2::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X2_types[508]); } void Ifc4x2::IfcIndexedColourMap::initialize(::Ifc4x2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x2::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -10356,16 +10356,16 @@ std::optional< bool > Ifc4x2::IfcIndexedPolyCurve::SelfIntersect() const { if(ge void Ifc4x2::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[509]); } +const ifcopenshell::entity& Ifc4x2::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[509]); } void Ifc4x2::IfcIndexedPolyCurve::initialize(::Ifc4x2::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x2::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x2::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x2::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x2::IfcPolygonalFaceSet> Ifc4x2::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[715], 2)); } +std::vector<::Ifc4x2::IfcPolygonalFaceSet> Ifc4x2::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[715], 2)); } -const IfcParse::entity& Ifc4x2::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X2_types[510]); } +const ifcopenshell::entity& Ifc4x2::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X2_types[510]); } void Ifc4x2::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -10373,7 +10373,7 @@ std::vector< std::vector< int > > Ifc4x2::IfcIndexedPolygonalFaceWithVoids::Inne void Ifc4x2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X2_types[511]); } +const ifcopenshell::entity& Ifc4x2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X2_types[511]); } void Ifc4x2::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -10383,7 +10383,7 @@ void Ifc4x2::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x2::IfcTessellatedFac void Ifc4x2::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x2::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X2_types[512]); } +const ifcopenshell::entity& Ifc4x2::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X2_types[512]); } void Ifc4x2::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, ::Ifc4x2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x2::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -10391,34 +10391,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x2::IfcIndexedTriangleTex void Ifc4x2::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X2_types[513]); } +const ifcopenshell::entity& Ifc4x2::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X2_types[513]); } void Ifc4x2::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, ::Ifc4x2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x2::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x2::IfcInterceptorTypeEnum::Value > Ifc4x2::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x2::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x2::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X2_types[517]); } -void Ifc4x2::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X2_types[517]); } +void Ifc4x2::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x2::IfcInterceptorTypeEnum::Value Ifc4x2::IfcInterceptorType::PredefinedType() const { return ::Ifc4x2::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcInterceptorType::setPredefinedType(const ::Ifc4x2::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcInterceptorType::setPredefinedType(const ::Ifc4x2::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X2_types[518]); } -void Ifc4x2::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[518]); } +void Ifc4x2::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x2::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[521]); } -void Ifc4x2::IfcIntersectionCurve::initialize(::Ifc4x2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x2::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[521]); } +void Ifc4x2::IfcIntersectionCurve::initialize(::Ifc4x2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x2::IfcInventoryTypeEnum::Value > Ifc4x2::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x2::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x2::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x2::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x2::IfcActorSelect Ifc4x2::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x2::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcActorSelect>(); } void Ifc4x2::IfcInventory::setJurisdiction(const ::Ifc4x2::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x2::IfcPerson > > Ifc4x2::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x2::IfcPerson>(es); } @@ -10431,16 +10431,16 @@ void Ifc4x2::IfcInventory::setCurrentValue(const ::Ifc4x2::IfcCostValue& v) { se void Ifc4x2::IfcInventory::setOriginalValue(const ::Ifc4x2::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x2::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X2_types[522]); } -void Ifc4x2::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x2::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x2::IfcCostValue v10_CurrentValue, ::Ifc4x2::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x2::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X2_types[522]); } +void Ifc4x2::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x2::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x2::IfcCostValue v10_CurrentValue, ::Ifc4x2::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x2::IfcIrregularTimeSeriesValue > Ifc4x2::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x2::IfcIrregularTimeSeriesValue>(es); } void Ifc4x2::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x2::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X2_types[525]); } -void Ifc4x2::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x2::IfcUnit v8_Unit, std::vector< ::Ifc4x2::IfcIrregularTimeSeriesValue > v9_Values) { 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(&::Ifc4x2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x2::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X2_types[525]); } +void Ifc4x2::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x2::IfcUnit v8_Unit, std::vector< ::Ifc4x2::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x2::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -10449,24 +10449,24 @@ std::vector< ::Ifc4x2::IfcValue > Ifc4x2::IfcIrregularTimeSeriesValue::ListValue void Ifc4x2::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x2::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X2_types[526]); } +const ifcopenshell::entity& Ifc4x2::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[526]); } void Ifc4x2::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x2::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x2::IfcJunctionBoxTypeEnum::Value > Ifc4x2::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x2::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x2::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X2_types[529]); } -void Ifc4x2::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X2_types[529]); } +void Ifc4x2::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x2::IfcJunctionBoxTypeEnum::Value Ifc4x2::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x2::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x2::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x2::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X2_types[530]); } -void Ifc4x2::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[530]); } +void Ifc4x2::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLShapeProfileDef double Ifc4x2::IfcLShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -10483,50 +10483,50 @@ std::optional< double > Ifc4x2::IfcLShapeProfileDef::LegSlope() const { if(get_a void Ifc4x2::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[577]); } -void Ifc4x2::IfcLShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x2::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[577]); } +void Ifc4x2::IfcLShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x2::IfcLaborResourceTypeEnum::Value > Ifc4x2::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X2_types[535]); } -void Ifc4x2::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[535]); } +void Ifc4x2::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x2::IfcLaborResourceTypeEnum::Value Ifc4x2::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x2::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcLaborResourceType::setPredefinedType(const ::Ifc4x2::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x2::IfcLaborResourceType::setPredefinedType(const ::Ifc4x2::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X2_types[536]); } -void Ifc4x2::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[536]); } +void Ifc4x2::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x2::IfcTimeOrRatioSelect Ifc4x2::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x2::IfcTimeOrRatioSelect>(); } void Ifc4x2::IfcLagTime::setLagValue(const ::Ifc4x2::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x2::IfcTaskDurationEnum::Value Ifc4x2::IfcLagTime::DurationType() const { return ::Ifc4x2::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x2::IfcLagTime::setDurationType(const ::Ifc4x2::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x2::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x2::IfcLagTime::setDurationType(const ::Ifc4x2::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x2::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X2_types[538]); } -void Ifc4x2::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x2::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x2::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4x2::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x2::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X2_types[538]); } +void Ifc4x2::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x2::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x2::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x2::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x2::IfcLampTypeEnum::Value > Ifc4x2::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x2::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x2::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X2_types[539]); } -void Ifc4x2::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X2_types[539]); } +void Ifc4x2::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x2::IfcLampTypeEnum::Value Ifc4x2::IfcLampType::PredefinedType() const { return ::Ifc4x2::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcLampType::setPredefinedType(const ::Ifc4x2::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcLampType::setPredefinedType(const ::Ifc4x2::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X2_types[540]); } -void Ifc4x2::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[540]); } +void Ifc4x2::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x2::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -10542,10 +10542,10 @@ void Ifc4x2::IfcLibraryInformation::setLocation(const std::optional< std::string std::optional< std::string > Ifc4x2::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x2::IfcRelAssociatesLibrary> Ifc4x2::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[849], 5)); } -std::vector<::Ifc4x2::IfcLibraryReference> Ifc4x2::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[547], 5)); } +std::vector<::Ifc4x2::IfcRelAssociatesLibrary> Ifc4x2::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[849], 5)); } +std::vector<::Ifc4x2::IfcLibraryReference> Ifc4x2::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[547], 5)); } -const IfcParse::entity& Ifc4x2::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X2_types[546]); } +const ifcopenshell::entity& Ifc4x2::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[546]); } void Ifc4x2::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x2::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -10556,9 +10556,9 @@ void Ifc4x2::IfcLibraryReference::setLanguage(const std::optional< std::string > ::Ifc4x2::IfcLibraryInformation Ifc4x2::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x2::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x2::IfcLibraryInformation>(); } void Ifc4x2::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x2::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x2::IfcRelAssociatesLibrary> Ifc4x2::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[849], 5)); } +std::vector<::Ifc4x2::IfcRelAssociatesLibrary> Ifc4x2::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[849], 5)); } -const IfcParse::entity& Ifc4x2::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X2_types[547]); } +const ifcopenshell::entity& Ifc4x2::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X2_types[547]); } void Ifc4x2::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x2::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -10570,34 +10570,34 @@ std::vector< double > /*[1:?]*/ Ifc4x2::IfcLightDistributionData::LuminousIntens void Ifc4x2::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X2_types[550]); } +const ifcopenshell::entity& Ifc4x2::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X2_types[550]); } void Ifc4x2::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x2::IfcLightFixtureTypeEnum::Value > Ifc4x2::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x2::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x2::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X2_types[553]); } -void Ifc4x2::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X2_types[553]); } +void Ifc4x2::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x2::IfcLightFixtureTypeEnum::Value Ifc4x2::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x2::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcLightFixtureType::setPredefinedType(const ::Ifc4x2::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcLightFixtureType::setPredefinedType(const ::Ifc4x2::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X2_types[554]); } -void Ifc4x2::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[554]); } +void Ifc4x2::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x2::IfcLightDistributionCurveEnum::Value Ifc4x2::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x2::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x2::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x2::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x2::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x2::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x2::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x2::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x2::IfcLightDistributionData > Ifc4x2::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x2::IfcLightDistributionData>(es); } void Ifc4x2::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x2::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X2_types[556]); } -void Ifc4x2::IfcLightIntensityDistribution::initialize(::Ifc4x2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x2::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x2::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X2_types[556]); } +void Ifc4x2::IfcLightIntensityDistribution::initialize(::Ifc4x2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x2::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x2::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10610,13 +10610,13 @@ std::optional< double > Ifc4x2::IfcLightSource::Intensity() const { if(get_attri void Ifc4x2::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X2_types[557]); } +const ifcopenshell::entity& Ifc4x2::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[557]); } void Ifc4x2::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x2::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X2_types[558]); } +const ifcopenshell::entity& Ifc4x2::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X2_types[558]); } void Ifc4x2::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -10624,7 +10624,7 @@ void Ifc4x2::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_N void Ifc4x2::IfcLightSourceDirectional::setOrientation(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X2_types[559]); } +const ifcopenshell::entity& Ifc4x2::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X2_types[559]); } void Ifc4x2::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x2::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -10637,13 +10637,13 @@ void Ifc4x2::IfcLightSourceGoniometric::setColourTemperature(const double& v) { double Ifc4x2::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x2::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x2::IfcLightEmissionSourceEnum::Value Ifc4x2::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x2::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x2::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x2::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x2::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x2::IfcLightDistributionDataSourceSelect Ifc4x2::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x2::IfcLightDistributionDataSourceSelect>(); } void Ifc4x2::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x2::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X2_types[560]); } -void Ifc4x2::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x2::IfcAxis2Placement3D v5_Position, ::Ifc4x2::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x2::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x2::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4x2::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X2_types[560]); } +void Ifc4x2::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x2::IfcAxis2Placement3D v5_Position, ::Ifc4x2::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x2::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x2::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x2::IfcCartesianPoint Ifc4x2::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcCartesianPoint>(); } @@ -10658,7 +10658,7 @@ double Ifc4x2::IfcLightSourcePositional::QuadricAttenuation() const { double v void Ifc4x2::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X2_types[561]); } +const ifcopenshell::entity& Ifc4x2::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X2_types[561]); } void Ifc4x2::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -10672,7 +10672,7 @@ double Ifc4x2::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_attr void Ifc4x2::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x2::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X2_types[562]); } +const ifcopenshell::entity& Ifc4x2::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X2_types[562]); } void Ifc4x2::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x2::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -10682,13 +10682,13 @@ void Ifc4x2::IfcLine::setPnt(const ::Ifc4x2::IfcCartesianPoint& v) { set_attribu void Ifc4x2::IfcLine::setDir(const ::Ifc4x2::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcLine::Class() { return *((IfcParse::entity*)IFC4X2_types[563]); } +const ifcopenshell::entity& Ifc4x2::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X2_types[563]); } void Ifc4x2::IfcLine::initialize(::Ifc4x2::IfcCartesianPoint v1_Pnt, ::Ifc4x2::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLineSegment2D -const IfcParse::entity& Ifc4x2::IfcLineSegment2D::Class() { return *((IfcParse::entity*)IFC4X2_types[571]); } +const ifcopenshell::entity& Ifc4x2::IfcLineSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[571]); } void Ifc4x2::IfcLineSegment2D::initialize(::Ifc4x2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); } // Function implementations for IfcLinearPlacement @@ -10702,7 +10702,7 @@ void Ifc4x2::IfcLinearPlacement::setOrientation(const ::Ifc4x2::IfcOrientationEx void Ifc4x2::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x2::IfcAxis2Placement3D& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X2_types[566]); } +const ifcopenshell::entity& Ifc4x2::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[566]); } void Ifc4x2::IfcLinearPlacement::initialize(::Ifc4x2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x2::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x2::IfcDistanceExpression v3_Distance, ::Ifc4x2::IfcOrientationExpression v4_Orientation, ::Ifc4x2::IfcAxis2Placement3D v5_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementMeasuredAlong));set_attribute_value(2, (v3_Distance));set_attribute_value(3, (v4_Orientation));set_attribute_value(4, (v5_CartesianPosition)); } // Function implementations for IfcLinearPositioningElement @@ -10710,7 +10710,7 @@ void Ifc4x2::IfcLinearPlacement::initialize(::Ifc4x2::IfcObjectPlacement v1_Plac void Ifc4x2::IfcLinearPositioningElement::setAxis(const ::Ifc4x2::IfcCurve& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x2::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X2_types[567]); } +const ifcopenshell::entity& Ifc4x2::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[567]); } void Ifc4x2::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcCurve v8_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); } // Function implementations for IfcLocalPlacement @@ -10718,13 +10718,13 @@ void Ifc4x2::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, :: void Ifc4x2::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x2::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X2_types[573]); } +const ifcopenshell::entity& Ifc4x2::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[573]); } void Ifc4x2::IfcLocalPlacement::initialize(::Ifc4x2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x2::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x2::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X2_types[576]); } +const ifcopenshell::entity& Ifc4x2::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X2_types[576]); } void Ifc4x2::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -10732,7 +10732,7 @@ void Ifc4x2::IfcLoop::initialize() { } void Ifc4x2::IfcManifoldSolidBrep::setOuter(const ::Ifc4x2::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X2_types[583]); } +const ifcopenshell::entity& Ifc4x2::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X2_types[583]); } void Ifc4x2::IfcManifoldSolidBrep::initialize(::Ifc4x2::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -10750,7 +10750,7 @@ std::optional< double > Ifc4x2::IfcMapConversion::Scale() const { if(get_attribu void Ifc4x2::IfcMapConversion::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x2::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X2_types[584]); } +const ifcopenshell::entity& Ifc4x2::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X2_types[584]); } void Ifc4x2::IfcMapConversion::initialize(::Ifc4x2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x2::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } } // Function implementations for IfcMappedItem @@ -10760,7 +10760,7 @@ void Ifc4x2::IfcMappedItem::setMappingSource(const ::Ifc4x2::IfcRepresentationMa void Ifc4x2::IfcMappedItem::setMappingTarget(const ::Ifc4x2::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X2_types[585]); } +const ifcopenshell::entity& Ifc4x2::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[585]); } void Ifc4x2::IfcMappedItem::initialize(::Ifc4x2::IfcRepresentationMap v1_MappingSource, ::Ifc4x2::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMaterial @@ -10771,11 +10771,11 @@ void Ifc4x2::IfcMaterial::setDescription(const std::optional< std::string >& v) std::optional< std::string > Ifc4x2::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x2::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x2::IfcMaterialDefinitionRepresentation> Ifc4x2::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[595], 3)); } -std::vector<::Ifc4x2::IfcMaterialRelationship> Ifc4x2::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[607], 3)); } -std::vector<::Ifc4x2::IfcMaterialRelationship> Ifc4x2::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[607], 2)); } +std::vector<::Ifc4x2::IfcMaterialDefinitionRepresentation> Ifc4x2::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[595], 3)); } +std::vector<::Ifc4x2::IfcMaterialRelationship> Ifc4x2::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[607], 3)); } +std::vector<::Ifc4x2::IfcMaterialRelationship> Ifc4x2::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[607], 2)); } -const IfcParse::entity& Ifc4x2::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X2_types[590]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X2_types[590]); } void Ifc4x2::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -10785,7 +10785,7 @@ void Ifc4x2::IfcMaterialClassificationRelationship::setMaterialClassifications(c void Ifc4x2::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x2::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[591]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[591]); } void Ifc4x2::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x2::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x2::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -10800,9 +10800,9 @@ void Ifc4x2::IfcMaterialConstituent::setFraction(const std::optional< double >& std::optional< std::string > Ifc4x2::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x2::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x2::IfcMaterialConstituentSet> Ifc4x2::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[593], 2)); } +std::vector<::Ifc4x2::IfcMaterialConstituentSet> Ifc4x2::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[593], 2)); } -const IfcParse::entity& Ifc4x2::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X2_types[592]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X2_types[592]); } void Ifc4x2::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -10814,16 +10814,16 @@ std::optional< std::vector< ::Ifc4x2::IfcMaterialConstituent > > Ifc4x2::IfcMate void Ifc4x2::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x2::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X2_types[593]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[593]); } void Ifc4x2::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x2::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x2::IfcRelAssociatesMaterial> Ifc4x2::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[850], 5)); } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } -std::vector<::Ifc4x2::IfcMaterialProperties> Ifc4x2::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[606], 3)); } +std::vector<::Ifc4x2::IfcRelAssociatesMaterial> Ifc4x2::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[850], 5)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcMaterialProperties> Ifc4x2::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[606], 3)); } -const IfcParse::entity& Ifc4x2::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X2_types[594]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[594]); } void Ifc4x2::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -10831,7 +10831,7 @@ void Ifc4x2::IfcMaterialDefinition::initialize() { } void Ifc4x2::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x2::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X2_types[595]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[595]); } void Ifc4x2::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcRepresentation > v3_Representations, ::Ifc4x2::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -10850,9 +10850,9 @@ void Ifc4x2::IfcMaterialLayer::setCategory(const std::optional< std::string >& v std::optional< int > Ifc4x2::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x2::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x2::IfcMaterialLayerSet> Ifc4x2::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[597], 0)); } +std::vector<::Ifc4x2::IfcMaterialLayerSet> Ifc4x2::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[597], 0)); } -const IfcParse::entity& Ifc4x2::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X2_types[596]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X2_types[596]); } void Ifc4x2::IfcMaterialLayer::initialize(::Ifc4x2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -10864,41 +10864,41 @@ std::optional< std::string > Ifc4x2::IfcMaterialLayerSet::Description() const { void Ifc4x2::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X2_types[597]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[597]); } void Ifc4x2::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x2::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x2::IfcMaterialLayerSet Ifc4x2::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcMaterialLayerSet>(); } void Ifc4x2::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x2::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x2::IfcLayerSetDirectionEnum::Value Ifc4x2::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x2::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x2::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x2::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x2::IfcDirectionSenseEnum::Value Ifc4x2::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x2::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x2::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x2::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x2::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x2::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x2::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x2::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x2::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x2::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x2::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x2::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X2_types[598]); } -void Ifc4x2::IfcMaterialLayerSetUsage::initialize(::Ifc4x2::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4x2::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X2_types[598]); } +void Ifc4x2::IfcMaterialLayerSetUsage::initialize(::Ifc4x2::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x2::IfcLayerSetDirectionEnum::Value Ifc4x2::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x2::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x2::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x2::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X2_types[599]); } -void Ifc4x2::IfcMaterialLayerWithOffsets::initialize(::Ifc4x2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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(&::Ifc4x2::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X2_types[599]); } +void Ifc4x2::IfcMaterialLayerWithOffsets::initialize(::Ifc4x2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x2::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x2::IfcMaterial > Ifc4x2::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcMaterial>(es); } void Ifc4x2::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x2::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X2_types[600]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X2_types[600]); } void Ifc4x2::IfcMaterialList::initialize(std::vector< ::Ifc4x2::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -10915,9 +10915,9 @@ void Ifc4x2::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if std::optional< std::string > Ifc4x2::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x2::IfcMaterialProfileSet> Ifc4x2::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[602], 2)); } +std::vector<::Ifc4x2::IfcMaterialProfileSet> Ifc4x2::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[602], 2)); } -const IfcParse::entity& Ifc4x2::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X2_types[601]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X2_types[601]); } void Ifc4x2::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_Material, ::Ifc4x2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -10931,7 +10931,7 @@ void Ifc4x2::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< ::Ifc void Ifc4x2::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x2::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X2_types[602]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[602]); } void Ifc4x2::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x2::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -10943,7 +10943,7 @@ std::optional< double > Ifc4x2::IfcMaterialProfileSetUsage::ReferenceExtent() co void Ifc4x2::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X2_types[603]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X2_types[603]); } void Ifc4x2::IfcMaterialProfileSetUsage::initialize(::Ifc4x2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -10953,7 +10953,7 @@ std::optional< int > Ifc4x2::IfcMaterialProfileSetUsageTapering::CardinalEndPoin void Ifc4x2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X2_types[604]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X2_types[604]); } void Ifc4x2::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -10961,7 +10961,7 @@ std::vector< double > /*[1:2]*/ Ifc4x2::IfcMaterialProfileWithOffsets::OffsetVal void Ifc4x2::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X2_types[605]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X2_types[605]); } void Ifc4x2::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_Material, ::Ifc4x2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -10969,7 +10969,7 @@ void Ifc4x2::IfcMaterialProfileWithOffsets::initialize(std::optional< std::strin void Ifc4x2::IfcMaterialProperties::setMaterial(const ::Ifc4x2::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[606]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[606]); } void Ifc4x2::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcProperty > v3_Properties, ::Ifc4x2::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -10981,14 +10981,14 @@ std::optional< std::string > Ifc4x2::IfcMaterialRelationship::Expression() const void Ifc4x2::IfcMaterialRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[607]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[607]); } void Ifc4x2::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x2::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x2::IfcRelAssociatesMaterial> Ifc4x2::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[850], 5)); } +std::vector<::Ifc4x2::IfcRelAssociatesMaterial> Ifc4x2::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[850], 5)); } -const IfcParse::entity& Ifc4x2::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X2_types[609]); } +const ifcopenshell::entity& Ifc4x2::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[609]); } void Ifc4x2::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -10998,7 +10998,7 @@ void Ifc4x2::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x2::IfcValue& v) void Ifc4x2::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x2::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X2_types[611]); } +const ifcopenshell::entity& Ifc4x2::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[611]); } void Ifc4x2::IfcMeasureWithUnit::initialize(::Ifc4x2::IfcValue v1_ValueComponent, ::Ifc4x2::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -11007,65 +11007,65 @@ void Ifc4x2::IfcMechanicalFastener::setNominalDiameter(const std::optional< doub std::optional< double > Ifc4x2::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x2::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value > Ifc4x2::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X2_types[612]); } -void Ifc4x2::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X2_types[612]); } +void Ifc4x2::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value Ifc4x2::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x2::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x2::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x2::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x2::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x2::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x2::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X2_types[613]); } -void Ifc4x2::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4x2::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[613]); } +void Ifc4x2::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value > Ifc4x2::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[615]); } -void Ifc4x2::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[615]); } +void Ifc4x2::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value Ifc4x2::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x2::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[616]); } -void Ifc4x2::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[616]); } +void Ifc4x2::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value > Ifc4x2::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcMember::setPredefinedType(const std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcMember::setPredefinedType(const std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcMember::Class() { return *((IfcParse::entity*)IFC4X2_types[618]); } -void Ifc4x2::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X2_types[618]); } +void Ifc4x2::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberStandardCase -const IfcParse::entity& Ifc4x2::IfcMemberStandardCase::Class() { return *((IfcParse::entity*)IFC4X2_types[619]); } -void Ifc4x2::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcMemberStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[619]); } +void Ifc4x2::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x2::IfcMemberTypeEnum::Value Ifc4x2::IfcMemberType::PredefinedType() const { return ::Ifc4x2::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcMemberType::setPredefinedType(const ::Ifc4x2::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcMemberType::setPredefinedType(const ::Ifc4x2::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X2_types[620]); } -void Ifc4x2::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[620]); } +void Ifc4x2::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x2::IfcBenchmarkEnum::Value Ifc4x2::IfcMetric::Benchmark() const { return ::Ifc4x2::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcMetric::setBenchmark(const ::Ifc4x2::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcMetric::setBenchmark(const ::Ifc4x2::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x2::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x2::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x2::IfcMetricValueSelect Ifc4x2::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x2::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x2::IfcMetricValueSelect>(); } @@ -11074,111 +11074,111 @@ void Ifc4x2::IfcMetric::setDataValue(const ::Ifc4x2::IfcMetricValueSelect& v) { void Ifc4x2::IfcMetric::setReferencePath(const ::Ifc4x2::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x2::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X2_types[622]); } -void Ifc4x2::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x2::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x2::IfcMetricValueSelect v10_DataValue, ::Ifc4x2::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x2::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X2_types[622]); } +void Ifc4x2::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x2::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x2::IfcMetricValueSelect v10_DataValue, ::Ifc4x2::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x2::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[624]); } -void Ifc4x2::IfcMirroredProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x2::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[624]); } +void Ifc4x2::IfcMirroredProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMonetaryUnit std::string Ifc4x2::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x2::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X2_types[636]); } +const ifcopenshell::entity& Ifc4x2::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[636]); } void Ifc4x2::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x2::IfcMotorConnectionTypeEnum::Value > Ifc4x2::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x2::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x2::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X2_types[638]); } -void Ifc4x2::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X2_types[638]); } +void Ifc4x2::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x2::IfcMotorConnectionTypeEnum::Value Ifc4x2::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x2::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x2::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x2::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X2_types[639]); } -void Ifc4x2::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[639]); } +void Ifc4x2::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x2::IfcDimensionalExponents Ifc4x2::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcDimensionalExponents>(); } void Ifc4x2::IfcNamedUnit::setDimensions(const ::Ifc4x2::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x2::IfcUnitEnum::Value Ifc4x2::IfcNamedUnit::UnitType() const { return ::Ifc4x2::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x2::IfcNamedUnit::setUnitType(const ::Ifc4x2::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x2::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x2::IfcNamedUnit::setUnitType(const ::Ifc4x2::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x2::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X2_types[641]); } -void Ifc4x2::IfcNamedUnit::initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x2::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[641]); } +void Ifc4x2::IfcNamedUnit::initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x2::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x2::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x2::IfcRelDefinesByObject> Ifc4x2::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[867], 4)); } -std::vector<::Ifc4x2::IfcRelDefinesByObject> Ifc4x2::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[867], 5)); } -std::vector<::Ifc4x2::IfcRelDefinesByType> Ifc4x2::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[870], 4)); } -std::vector<::Ifc4x2::IfcRelDefinesByProperties> Ifc4x2::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[868], 4)); } +std::vector<::Ifc4x2::IfcRelDefinesByObject> Ifc4x2::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[867], 4)); } +std::vector<::Ifc4x2::IfcRelDefinesByObject> Ifc4x2::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[867], 5)); } +std::vector<::Ifc4x2::IfcRelDefinesByType> Ifc4x2::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[870], 4)); } +std::vector<::Ifc4x2::IfcRelDefinesByProperties> Ifc4x2::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[868], 4)); } -const IfcParse::entity& Ifc4x2::IfcObject::Class() { return *((IfcParse::entity*)IFC4X2_types[646]); } +const ifcopenshell::entity& Ifc4x2::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X2_types[646]); } void Ifc4x2::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x2::IfcRelAssigns> Ifc4x2::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[836], 4)); } -std::vector<::Ifc4x2::IfcRelNests> Ifc4x2::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[874], 5)); } -std::vector<::Ifc4x2::IfcRelNests> Ifc4x2::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[874], 4)); } -std::vector<::Ifc4x2::IfcRelDeclares> Ifc4x2::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[864], 5)); } -std::vector<::Ifc4x2::IfcRelAggregates> Ifc4x2::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[835], 4)); } -std::vector<::Ifc4x2::IfcRelAggregates> Ifc4x2::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[835], 5)); } -std::vector<::Ifc4x2::IfcRelAssociates> Ifc4x2::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[844], 4)); } +std::vector<::Ifc4x2::IfcRelAssigns> Ifc4x2::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[836], 4)); } +std::vector<::Ifc4x2::IfcRelNests> Ifc4x2::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[874], 5)); } +std::vector<::Ifc4x2::IfcRelNests> Ifc4x2::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[874], 4)); } +std::vector<::Ifc4x2::IfcRelDeclares> Ifc4x2::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[864], 5)); } +std::vector<::Ifc4x2::IfcRelAggregates> Ifc4x2::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[835], 4)); } +std::vector<::Ifc4x2::IfcRelAggregates> Ifc4x2::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[835], 5)); } +std::vector<::Ifc4x2::IfcRelAssociates> Ifc4x2::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[844], 4)); } -const IfcParse::entity& Ifc4x2::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X2_types[647]); } +const ifcopenshell::entity& Ifc4x2::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[647]); } void Ifc4x2::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement ::Ifc4x2::IfcObjectPlacement Ifc4x2::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x2::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcObjectPlacement>(); } void Ifc4x2::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x2::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x2::IfcProduct> Ifc4x2::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[746], 5)); } +std::vector<::Ifc4x2::IfcProduct> Ifc4x2::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[746], 5)); } -const IfcParse::entity& Ifc4x2::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X2_types[650]); } +const ifcopenshell::entity& Ifc4x2::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[650]); } void Ifc4x2::IfcObjectPlacement::initialize(::Ifc4x2::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo)); } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x2::IfcConstraint > > Ifc4x2::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x2::IfcConstraint>(es); } void Ifc4x2::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x2::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x2::IfcLogicalOperatorEnum::Value > Ifc4x2::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x2::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x2::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x2::IfcObjectiveEnum::Value Ifc4x2::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x2::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcObjective::setObjectiveQualifier(const ::Ifc4x2::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcObjective::setObjectiveQualifier(const ::Ifc4x2::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x2::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x2::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X2_types[648]); } -void Ifc4x2::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x2::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4x2::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X2_types[648]); } +void Ifc4x2::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x2::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x2::IfcOccupantTypeEnum::Value > Ifc4x2::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x2::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x2::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x2::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x2::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x2::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x2::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X2_types[653]); } -void Ifc4x2::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x2::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x2::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X2_types[653]); } +void Ifc4x2::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x2::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x2::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x2::IfcCurve Ifc4x2::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcCurve>(); } void Ifc4x2::IfcOffsetCurve::setBasisCurve(const ::Ifc4x2::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[655]); } +const ifcopenshell::entity& Ifc4x2::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[655]); } void Ifc4x2::IfcOffsetCurve::initialize(::Ifc4x2::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -11188,7 +11188,7 @@ boost::logic::tribool Ifc4x2::IfcOffsetCurve2D::SelfIntersect() const { boost:: void Ifc4x2::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X2_types[656]); } +const ifcopenshell::entity& Ifc4x2::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[656]); } void Ifc4x2::IfcOffsetCurve2D::initialize(::Ifc4x2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -11200,7 +11200,7 @@ void Ifc4x2::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& v) void Ifc4x2::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X2_types[657]); } +const ifcopenshell::entity& Ifc4x2::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[657]); } void Ifc4x2::IfcOffsetCurve3D::initialize(::Ifc4x2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x2::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -11210,29 +11210,29 @@ std::optional< std::string > Ifc4x2::IfcOffsetCurveByDistances::Tag() const { if void Ifc4x2::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X2_types[658]); } +const ifcopenshell::entity& Ifc4x2::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X2_types[658]); } void Ifc4x2::IfcOffsetCurveByDistances::initialize(::Ifc4x2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x2::IfcDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x2::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X2_types[662]); } +const ifcopenshell::entity& Ifc4x2::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X2_types[662]); } void Ifc4x2::IfcOpenShell::initialize(std::vector< ::Ifc4x2::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value > Ifc4x2::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x2::IfcRelFillsElement> Ifc4x2::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[871], 4)); } +std::vector<::Ifc4x2::IfcRelFillsElement> Ifc4x2::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[871], 4)); } -const IfcParse::entity& Ifc4x2::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X2_types[659]); } -void Ifc4x2::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[659]); } +void Ifc4x2::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOpeningStandardCase -const IfcParse::entity& Ifc4x2::IfcOpeningStandardCase::Class() { return *((IfcParse::entity*)IFC4X2_types[661]); } -void Ifc4x2::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcOpeningStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[661]); } +void Ifc4x2::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x2::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11246,11 +11246,11 @@ void Ifc4x2::IfcOrganization::setRoles(const std::optional< std::vector< ::Ifc4x std::optional< std::vector< ::Ifc4x2::IfcAddress > > Ifc4x2::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x2::IfcAddress>(es); } void Ifc4x2::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x2::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x2::IfcOrganizationRelationship> Ifc4x2::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[664], 3)); } -std::vector<::Ifc4x2::IfcOrganizationRelationship> Ifc4x2::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[664], 2)); } -std::vector<::Ifc4x2::IfcPersonAndOrganization> Ifc4x2::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[683], 1)); } +std::vector<::Ifc4x2::IfcOrganizationRelationship> Ifc4x2::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[664], 3)); } +std::vector<::Ifc4x2::IfcOrganizationRelationship> Ifc4x2::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[664], 2)); } +std::vector<::Ifc4x2::IfcPersonAndOrganization> Ifc4x2::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[683], 1)); } -const IfcParse::entity& Ifc4x2::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X2_types[663]); } +const ifcopenshell::entity& Ifc4x2::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X2_types[663]); } void Ifc4x2::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x2::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x2::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -11260,7 +11260,7 @@ std::vector< ::Ifc4x2::IfcOrganization > Ifc4x2::IfcOrganizationRelationship::Re void Ifc4x2::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x2::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[664]); } +const ifcopenshell::entity& Ifc4x2::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[664]); } void Ifc4x2::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x2::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientationExpression @@ -11270,7 +11270,7 @@ void Ifc4x2::IfcOrientationExpression::setLateralAxisDirection(const ::Ifc4x2::I void Ifc4x2::IfcOrientationExpression::setVerticalAxisDirection(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcOrientationExpression::Class() { return *((IfcParse::entity*)IFC4X2_types[665]); } +const ifcopenshell::entity& Ifc4x2::IfcOrientationExpression::Class() { return *((ifcopenshell::entity*)IFC4X2_types[665]); } void Ifc4x2::IfcOrientationExpression::initialize(::Ifc4x2::IfcDirection v1_LateralAxisDirection, ::Ifc4x2::IfcDirection v2_VerticalAxisDirection) { set_attribute_value(0, (v1_LateralAxisDirection));set_attribute_value(1, (v2_VerticalAxisDirection)); } // Function implementations for IfcOrientedEdge @@ -11280,30 +11280,30 @@ bool Ifc4x2::IfcOrientedEdge::Orientation() const { bool v = get_attribute_valu void Ifc4x2::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X2_types[666]); } +const ifcopenshell::entity& Ifc4x2::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X2_types[666]); } void Ifc4x2::IfcOrientedEdge::initialize(::Ifc4x2::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x2::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[667]); } +const ifcopenshell::entity& Ifc4x2::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[667]); } void Ifc4x2::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x2::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x2::IfcOutletTypeEnum::Value > Ifc4x2::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x2::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x2::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X2_types[668]); } -void Ifc4x2::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[668]); } +void Ifc4x2::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x2::IfcOutletTypeEnum::Value Ifc4x2::IfcOutletType::PredefinedType() const { return ::Ifc4x2::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcOutletType::setPredefinedType(const ::Ifc4x2::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcOutletType::setPredefinedType(const ::Ifc4x2::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X2_types[669]); } -void Ifc4x2::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[669]); } +void Ifc4x2::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x2::IfcPersonAndOrganization Ifc4x2::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcPersonAndOrganization>(); } @@ -11311,9 +11311,9 @@ void Ifc4x2::IfcOwnerHistory::setOwningUser(const ::Ifc4x2::IfcPersonAndOrganiza ::Ifc4x2::IfcApplication Ifc4x2::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x2::IfcApplication>(); } void Ifc4x2::IfcOwnerHistory::setOwningApplication(const ::Ifc4x2::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x2::IfcStateEnum::Value > Ifc4x2::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x2::IfcOwnerHistory::setState(const std::optional< ::Ifc4x2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x2::IfcOwnerHistory::setState(const std::optional< ::Ifc4x2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x2::IfcChangeActionEnum::Value > Ifc4x2::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x2::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x2::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x2::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x2::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x2::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x2::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x2::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x2::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x2::IfcPersonAndOrganization Ifc4x2::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x2::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x2::IfcPersonAndOrganization>(); } @@ -11324,23 +11324,23 @@ int Ifc4x2::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value void Ifc4x2::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x2::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X2_types[671]); } -void Ifc4x2::IfcOwnerHistory::initialize(::Ifc4x2::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x2::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x2::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x2::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x2::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x2::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x2::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X2_types[671]); } +void Ifc4x2::IfcOwnerHistory::initialize(::Ifc4x2::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x2::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x2::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x2::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x2::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x2::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x2::IfcAxis2Placement2D Ifc4x2::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x2::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcAxis2Placement2D>(); } void Ifc4x2::IfcParameterizedProfileDef::setPosition(const ::Ifc4x2::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[672]); } -void Ifc4x2::IfcParameterizedProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4x2::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[672]); } +void Ifc4x2::IfcParameterizedProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x2::IfcOrientedEdge > Ifc4x2::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcOrientedEdge>(es); } void Ifc4x2::IfcPath::setEdgeList(const std::vector< ::Ifc4x2::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcPath::Class() { return *((IfcParse::entity*)IFC4X2_types[674]); } +const ifcopenshell::entity& Ifc4x2::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X2_types[674]); } void Ifc4x2::IfcPath::initialize(std::vector< ::Ifc4x2::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPcurve @@ -11350,24 +11350,24 @@ void Ifc4x2::IfcPcurve::setBasisSurface(const ::Ifc4x2::IfcSurface& v) { set_att void Ifc4x2::IfcPcurve::setReferenceCurve(const ::Ifc4x2::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X2_types[675]); } +const ifcopenshell::entity& Ifc4x2::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[675]); } void Ifc4x2::IfcPcurve::initialize(::Ifc4x2::IfcSurface v1_BasisSurface, ::Ifc4x2::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x2::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x2::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x2::IfcPerformanceHistoryTypeEnum::Value > Ifc4x2::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x2::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x2::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x2::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x2::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X2_types[676]); } -void Ifc4x2::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X2_types[676]); } +void Ifc4x2::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x2::IfcPermeableCoveringOperationEnum::Value Ifc4x2::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x2::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x2::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x2::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x2::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x2::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x2::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x2::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x2::IfcWindowPanelPositionEnum::Value Ifc4x2::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x2::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x2::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x2::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x2::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x2::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -11376,20 +11376,20 @@ void Ifc4x2::IfcPermeableCoveringProperties::setFrameThickness(const std::option void Ifc4x2::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x2::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[679]); } -void Ifc4x2::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x2::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x2::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)); } +const ifcopenshell::entity& Ifc4x2::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[679]); } +void Ifc4x2::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x2::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x2::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x2::IfcPermitTypeEnum::Value > Ifc4x2::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x2::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x2::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x2::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x2::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x2::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x2::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x2::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x2::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x2::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x2::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X2_types[680]); } -void Ifc4x2::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x2::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[680]); } +void Ifc4x2::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x2::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11409,9 +11409,9 @@ void Ifc4x2::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x2::Ifc std::optional< std::vector< ::Ifc4x2::IfcAddress > > Ifc4x2::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x2::IfcAddress>(es); } void Ifc4x2::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x2::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x2::IfcPersonAndOrganization> Ifc4x2::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[683], 0)); } +std::vector<::Ifc4x2::IfcPersonAndOrganization> Ifc4x2::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[683], 0)); } -const IfcParse::entity& Ifc4x2::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X2_types[682]); } +const ifcopenshell::entity& Ifc4x2::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X2_types[682]); } void Ifc4x2::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x2::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x2::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -11423,7 +11423,7 @@ std::optional< std::vector< ::Ifc4x2::IfcActorRole > > Ifc4x2::IfcPersonAndOrgan void Ifc4x2::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x2::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X2_types[683]); } +const ifcopenshell::entity& Ifc4x2::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X2_types[683]); } void Ifc4x2::IfcPersonAndOrganization::initialize(::Ifc4x2::IfcPerson v1_ThePerson, ::Ifc4x2::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x2::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -11437,7 +11437,7 @@ std::optional< std::string > Ifc4x2::IfcPhysicalComplexQuantity::Usage() const { void Ifc4x2::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x2::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X2_types[685]); } +const ifcopenshell::entity& Ifc4x2::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X2_types[685]); } void Ifc4x2::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -11446,10 +11446,10 @@ void Ifc4x2::IfcPhysicalQuantity::setName(const std::string& v) { set_attribute_ std::optional< std::string > Ifc4x2::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x2::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } -std::vector<::Ifc4x2::IfcPhysicalComplexQuantity> Ifc4x2::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[685], 2)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcPhysicalComplexQuantity> Ifc4x2::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[685], 2)); } -const IfcParse::entity& Ifc4x2::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X2_types[687]); } +const ifcopenshell::entity& Ifc4x2::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X2_types[687]); } void Ifc4x2::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -11457,58 +11457,58 @@ void Ifc4x2::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< void Ifc4x2::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x2::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X2_types[688]); } +const ifcopenshell::entity& Ifc4x2::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X2_types[688]); } void Ifc4x2::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x2::IfcPileTypeEnum::Value > Ifc4x2::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcPile::setPredefinedType(const std::optional< ::Ifc4x2::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcPile::setPredefinedType(const std::optional< ::Ifc4x2::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x2::IfcPileConstructionEnum::Value > Ifc4x2::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcPile::setConstructionType(const std::optional< ::Ifc4x2::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcPile::setConstructionType(const std::optional< ::Ifc4x2::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcPile::Class() { return *((IfcParse::entity*)IFC4X2_types[689]); } -void Ifc4x2::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x2::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4x2::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X2_types[689]); } +void Ifc4x2::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x2::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x2::IfcPileTypeEnum::Value Ifc4x2::IfcPileType::PredefinedType() const { return ::Ifc4x2::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcPileType::setPredefinedType(const ::Ifc4x2::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcPileType::setPredefinedType(const ::Ifc4x2::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X2_types[691]); } -void Ifc4x2::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[691]); } +void Ifc4x2::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x2::IfcPipeFittingTypeEnum::Value > Ifc4x2::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x2::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x2::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X2_types[693]); } -void Ifc4x2::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X2_types[693]); } +void Ifc4x2::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x2::IfcPipeFittingTypeEnum::Value Ifc4x2::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x2::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcPipeFittingType::setPredefinedType(const ::Ifc4x2::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcPipeFittingType::setPredefinedType(const ::Ifc4x2::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X2_types[694]); } -void Ifc4x2::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[694]); } +void Ifc4x2::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x2::IfcPipeSegmentTypeEnum::Value > Ifc4x2::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x2::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x2::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[696]); } -void Ifc4x2::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[696]); } +void Ifc4x2::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x2::IfcPipeSegmentTypeEnum::Value Ifc4x2::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x2::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x2::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x2::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X2_types[697]); } -void Ifc4x2::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[697]); } +void Ifc4x2::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x2::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -11521,7 +11521,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x2::IfcPixelTexture::Pixel( void Ifc4x2::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X2_types[699]); } +const ifcopenshell::entity& Ifc4x2::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X2_types[699]); } void Ifc4x2::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -11529,7 +11529,7 @@ void Ifc4x2::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std:: void Ifc4x2::IfcPlacement::setLocation(const ::Ifc4x2::IfcCartesianPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X2_types[700]); } +const ifcopenshell::entity& Ifc4x2::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[700]); } void Ifc4x2::IfcPlacement::initialize(::Ifc4x2::IfcCartesianPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -11537,7 +11537,7 @@ void Ifc4x2::IfcPlacement::initialize(::Ifc4x2::IfcCartesianPoint v1_Location) { void Ifc4x2::IfcPlanarBox::setPlacement(const ::Ifc4x2::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X2_types[701]); } +const ifcopenshell::entity& Ifc4x2::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X2_types[701]); } void Ifc4x2::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x2::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -11547,41 +11547,41 @@ double Ifc4x2::IfcPlanarExtent::SizeInY() const { double v = get_attribute_valu void Ifc4x2::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X2_types[702]); } +const ifcopenshell::entity& Ifc4x2::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X2_types[702]); } void Ifc4x2::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x2::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X2_types[704]); } +const ifcopenshell::entity& Ifc4x2::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X2_types[704]); } void Ifc4x2::IfcPlane::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlate std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value > Ifc4x2::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X2_types[706]); } -void Ifc4x2::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X2_types[706]); } +void Ifc4x2::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateStandardCase -const IfcParse::entity& Ifc4x2::IfcPlateStandardCase::Class() { return *((IfcParse::entity*)IFC4X2_types[707]); } -void Ifc4x2::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcPlateStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[707]); } +void Ifc4x2::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x2::IfcPlateTypeEnum::Value Ifc4x2::IfcPlateType::PredefinedType() const { return ::Ifc4x2::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcPlateType::setPredefinedType(const ::Ifc4x2::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcPlateType::setPredefinedType(const ::Ifc4x2::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X2_types[708]); } -void Ifc4x2::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[708]); } +void Ifc4x2::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x2::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X2_types[710]); } +const ifcopenshell::entity& Ifc4x2::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X2_types[710]); } void Ifc4x2::IfcPoint::initialize() { } // Function implementations for IfcPointOnCurve @@ -11591,7 +11591,7 @@ double Ifc4x2::IfcPointOnCurve::PointParameter() const { double v = get_attribu void Ifc4x2::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[711]); } +const ifcopenshell::entity& Ifc4x2::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[711]); } void Ifc4x2::IfcPointOnCurve::initialize(::Ifc4x2::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -11603,7 +11603,7 @@ double Ifc4x2::IfcPointOnSurface::PointParameterV() const { double v = get_attr void Ifc4x2::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[712]); } +const ifcopenshell::entity& Ifc4x2::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[712]); } void Ifc4x2::IfcPointOnSurface::initialize(::Ifc4x2::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -11611,7 +11611,7 @@ std::vector< ::Ifc4x2::IfcCartesianPoint > Ifc4x2::IfcPolyLoop::Polygon() const void Ifc4x2::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x2::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X2_types[717]); } +const ifcopenshell::entity& Ifc4x2::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X2_types[717]); } void Ifc4x2::IfcPolyLoop::initialize(std::vector< ::Ifc4x2::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -11621,7 +11621,7 @@ void Ifc4x2::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x2::IfcAxis2P void Ifc4x2::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x2::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X2_types[714]); } +const ifcopenshell::entity& Ifc4x2::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X2_types[714]); } void Ifc4x2::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x2::IfcAxis2Placement3D v3_Position, ::Ifc4x2::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -11633,7 +11633,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x2::IfcPolygonalFaceSet::PnInd void Ifc4x2::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X2_types[715]); } +const ifcopenshell::entity& Ifc4x2::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[715]); } void Ifc4x2::IfcPolygonalFaceSet::initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -11641,24 +11641,24 @@ std::vector< ::Ifc4x2::IfcCartesianPoint > Ifc4x2::IfcPolyline::Points() const { void Ifc4x2::IfcPolyline::setPoints(const std::vector< ::Ifc4x2::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X2_types[716]); } +const ifcopenshell::entity& Ifc4x2::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X2_types[716]); } void Ifc4x2::IfcPolyline::initialize(std::vector< ::Ifc4x2::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPort -std::vector<::Ifc4x2::IfcRelConnectsPortToElement> Ifc4x2::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[856], 4)); } -std::vector<::Ifc4x2::IfcRelConnectsPorts> Ifc4x2::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[855], 5)); } -std::vector<::Ifc4x2::IfcRelConnectsPorts> Ifc4x2::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[855], 4)); } +std::vector<::Ifc4x2::IfcRelConnectsPortToElement> Ifc4x2::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[856], 4)); } +std::vector<::Ifc4x2::IfcRelConnectsPorts> Ifc4x2::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[855], 5)); } +std::vector<::Ifc4x2::IfcRelConnectsPorts> Ifc4x2::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[855], 4)); } -const IfcParse::entity& Ifc4x2::IfcPort::Class() { return *((IfcParse::entity*)IFC4X2_types[718]); } +const ifcopenshell::entity& Ifc4x2::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X2_types[718]); } void Ifc4x2::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x2::IfcRelContainedInSpatialStructure> Ifc4x2::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[861], 4)); } -std::vector<::Ifc4x2::IfcRelPositions> Ifc4x2::IfcPositioningElement::Positions() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[875], 4)); } +std::vector<::Ifc4x2::IfcRelContainedInSpatialStructure> Ifc4x2::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[861], 4)); } +std::vector<::Ifc4x2::IfcRelPositions> Ifc4x2::IfcPositioningElement::Positions() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[875], 4)); } -const IfcParse::entity& Ifc4x2::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X2_types[719]); } +const ifcopenshell::entity& Ifc4x2::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[719]); } void Ifc4x2::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -11678,19 +11678,19 @@ std::optional< std::string > Ifc4x2::IfcPostalAddress::Country() const { if(get_ void Ifc4x2::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X2_types[724]); } -void Ifc4x2::IfcPostalAddress::initialize(std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X2_types[724]); } +void Ifc4x2::IfcPostalAddress::initialize(std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x2::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X2_types[726]); } +const ifcopenshell::entity& Ifc4x2::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X2_types[726]); } void Ifc4x2::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x2::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X2_types[727]); } +const ifcopenshell::entity& Ifc4x2::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X2_types[727]); } void Ifc4x2::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -11698,31 +11698,31 @@ std::string Ifc4x2::IfcPreDefinedItem::Name() const { std::string v = get_attri void Ifc4x2::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X2_types[728]); } +const ifcopenshell::entity& Ifc4x2::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[728]); } void Ifc4x2::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x2::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[729]); } +const ifcopenshell::entity& Ifc4x2::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[729]); } void Ifc4x2::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x2::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X2_types[730]); } +const ifcopenshell::entity& Ifc4x2::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[730]); } void Ifc4x2::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x2::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X2_types[731]); } +const ifcopenshell::entity& Ifc4x2::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X2_types[731]); } void Ifc4x2::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x2::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X2_types[734]); } +const ifcopenshell::entity& Ifc4x2::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[734]); } void Ifc4x2::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -11736,7 +11736,7 @@ std::optional< std::string > Ifc4x2::IfcPresentationLayerAssignment::Identifier( void Ifc4x2::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X2_types[735]); } +const ifcopenshell::entity& Ifc4x2::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[735]); } void Ifc4x2::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -11750,7 +11750,7 @@ std::vector< ::Ifc4x2::IfcPresentationStyle > Ifc4x2::IfcPresentationLayerWithSt void Ifc4x2::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x2::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x2::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[736]); } +const ifcopenshell::entity& Ifc4x2::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[736]); } void Ifc4x2::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x2::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -11758,7 +11758,7 @@ std::optional< std::string > Ifc4x2::IfcPresentationStyle::Name() const { if(get void Ifc4x2::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x2::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[737]); } +const ifcopenshell::entity& Ifc4x2::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[737]); } void Ifc4x2::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcPresentationStyleAssignment @@ -11766,24 +11766,24 @@ std::vector< ::Ifc4x2::IfcPresentationStyleSelect > Ifc4x2::IfcPresentationStyle void Ifc4x2::IfcPresentationStyleAssignment::setStyles(const std::vector< ::Ifc4x2::IfcPresentationStyleSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcPresentationStyleAssignment::Class() { return *((IfcParse::entity*)IFC4X2_types[738]); } +const ifcopenshell::entity& Ifc4x2::IfcPresentationStyleAssignment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[738]); } void Ifc4x2::IfcPresentationStyleAssignment::initialize(std::vector< ::Ifc4x2::IfcPresentationStyleSelect > v1_Styles) { set_attribute_value(0, cast_vector(v1_Styles)); } // Function implementations for IfcProcedure std::optional< ::Ifc4x2::IfcProcedureTypeEnum::Value > Ifc4x2::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x2::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x2::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x2::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x2::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X2_types[741]); } -void Ifc4x2::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x2::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X2_types[741]); } +void Ifc4x2::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x2::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x2::IfcProcedureTypeEnum::Value Ifc4x2::IfcProcedureType::PredefinedType() const { return ::Ifc4x2::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcProcedureType::setPredefinedType(const ::Ifc4x2::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcProcedureType::setPredefinedType(const ::Ifc4x2::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X2_types[742]); } -void Ifc4x2::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x2::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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(&::Ifc4x2::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[742]); } +void Ifc4x2::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x2::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x2::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x2::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -11791,11 +11791,11 @@ void Ifc4x2::IfcProcess::setIdentification(const std::optional< std::string >& v std::optional< std::string > Ifc4x2::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x2::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x2::IfcRelSequence> Ifc4x2::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[878], 4)); } -std::vector<::Ifc4x2::IfcRelSequence> Ifc4x2::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[878], 5)); } -std::vector<::Ifc4x2::IfcRelAssignsToProcess> Ifc4x2::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[841], 6)); } +std::vector<::Ifc4x2::IfcRelSequence> Ifc4x2::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[878], 4)); } +std::vector<::Ifc4x2::IfcRelSequence> Ifc4x2::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[878], 5)); } +std::vector<::Ifc4x2::IfcRelAssignsToProcess> Ifc4x2::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[841], 6)); } -const IfcParse::entity& Ifc4x2::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X2_types[744]); } +const ifcopenshell::entity& Ifc4x2::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X2_types[744]); } void Ifc4x2::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -11804,18 +11804,18 @@ void Ifc4x2::IfcProduct::setObjectPlacement(const ::Ifc4x2::IfcObjectPlacement& ::Ifc4x2::IfcProductRepresentation Ifc4x2::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x2::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcProductRepresentation>(); } void Ifc4x2::IfcProduct::setRepresentation(const ::Ifc4x2::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x2::IfcRelAssignsToProduct> Ifc4x2::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[842], 6)); } -std::vector<::Ifc4x2::IfcRelPositions> Ifc4x2::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[875], 5)); } +std::vector<::Ifc4x2::IfcRelAssignsToProduct> Ifc4x2::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[842], 6)); } +std::vector<::Ifc4x2::IfcRelPositions> Ifc4x2::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[875], 5)); } -const IfcParse::entity& Ifc4x2::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X2_types[746]); } +const ifcopenshell::entity& Ifc4x2::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X2_types[746]); } void Ifc4x2::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x2::IfcProduct> Ifc4x2::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[746], 6)); } -std::vector<::Ifc4x2::IfcShapeAspect> Ifc4x2::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[931], 4)); } +std::vector<::Ifc4x2::IfcProduct> Ifc4x2::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[746], 6)); } +std::vector<::Ifc4x2::IfcShapeAspect> Ifc4x2::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[931], 4)); } -const IfcParse::entity& Ifc4x2::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X2_types[747]); } +const ifcopenshell::entity& Ifc4x2::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X2_types[747]); } void Ifc4x2::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -11827,52 +11827,52 @@ std::vector< ::Ifc4x2::IfcRepresentation > Ifc4x2::IfcProductRepresentation::Rep void Ifc4x2::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x2::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X2_types[748]); } +const ifcopenshell::entity& Ifc4x2::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[748]); } void Ifc4x2::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x2::IfcProfileTypeEnum::Value Ifc4x2::IfcProfileDef::ProfileType() const { return ::Ifc4x2::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x2::IfcProfileDef::setProfileType(const ::Ifc4x2::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x2::IfcProfileDef::setProfileType(const ::Ifc4x2::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x2::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x2::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } -std::vector<::Ifc4x2::IfcProfileProperties> Ifc4x2::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[752], 3)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcProfileProperties> Ifc4x2::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[752], 3)); } -const IfcParse::entity& Ifc4x2::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[751]); } -void Ifc4x2::IfcProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x2::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[751]); } +void Ifc4x2::IfcProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x2::IfcProfileDef Ifc4x2::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x2::IfcProfileDef>(); } void Ifc4x2::IfcProfileProperties::setProfileDefinition(const ::Ifc4x2::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[752]); } +const ifcopenshell::entity& Ifc4x2::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[752]); } void Ifc4x2::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcProperty > v3_Properties, ::Ifc4x2::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x2::IfcProject::Class() { return *((IfcParse::entity*)IFC4X2_types[754]); } +const ifcopenshell::entity& Ifc4x2::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X2_types[754]); } void Ifc4x2::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x2::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x2::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X2_types[759]); } +const ifcopenshell::entity& Ifc4x2::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X2_types[759]); } void Ifc4x2::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x2::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x2::IfcProjectOrderTypeEnum::Value > Ifc4x2::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x2::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x2::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x2::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x2::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x2::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x2::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x2::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x2::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x2::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x2::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X2_types[760]); } -void Ifc4x2::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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(&::Ifc4x2::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x2::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X2_types[760]); } +void Ifc4x2::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x2::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x2::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -11883,16 +11883,16 @@ void Ifc4x2::IfcProjectedCRS::setMapZone(const std::optional< std::string >& v) void Ifc4x2::IfcProjectedCRS::setMapUnit(const ::Ifc4x2::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X2_types[755]); } +const ifcopenshell::entity& Ifc4x2::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X2_types[755]); } void Ifc4x2::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x2::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x2::IfcProjectionElementTypeEnum::Value > Ifc4x2::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X2_types[757]); } -void Ifc4x2::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[757]); } +void Ifc4x2::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x2::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11900,21 +11900,21 @@ void Ifc4x2::IfcProperty::setName(const std::string& v) { set_attribute_value(0, std::optional< std::string > Ifc4x2::IfcProperty::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x2::IfcProperty::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x2::IfcPropertySet> Ifc4x2::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[771], 4)); } -std::vector<::Ifc4x2::IfcPropertyDependencyRelationship> Ifc4x2::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[766], 2)); } -std::vector<::Ifc4x2::IfcPropertyDependencyRelationship> Ifc4x2::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[766], 3)); } -std::vector<::Ifc4x2::IfcComplexProperty> Ifc4x2::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[185], 3)); } -std::vector<::Ifc4x2::IfcResourceConstraintRelationship> Ifc4x2::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[891], 3)); } -std::vector<::Ifc4x2::IfcResourceApprovalRelationship> Ifc4x2::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[890], 2)); } +std::vector<::Ifc4x2::IfcPropertySet> Ifc4x2::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[771], 4)); } +std::vector<::Ifc4x2::IfcPropertyDependencyRelationship> Ifc4x2::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[766], 2)); } +std::vector<::Ifc4x2::IfcPropertyDependencyRelationship> Ifc4x2::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[766], 3)); } +std::vector<::Ifc4x2::IfcComplexProperty> Ifc4x2::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[185], 3)); } +std::vector<::Ifc4x2::IfcResourceConstraintRelationship> Ifc4x2::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[891], 3)); } +std::vector<::Ifc4x2::IfcResourceApprovalRelationship> Ifc4x2::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[890], 2)); } -const IfcParse::entity& Ifc4x2::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X2_types[762]); } +const ifcopenshell::entity& Ifc4x2::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X2_types[762]); } void Ifc4x2::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } -const IfcParse::entity& Ifc4x2::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X2_types[763]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[763]); } void Ifc4x2::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -11928,15 +11928,15 @@ void Ifc4x2::IfcPropertyBoundedValue::setUnit(const ::Ifc4x2::IfcUnit& v) { set_ void Ifc4x2::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x2::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X2_types[764]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[764]); } void Ifc4x2::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcValue v3_UpperBoundValue, ::Ifc4x2::IfcValue v4_LowerBoundValue, ::Ifc4x2::IfcUnit v5_Unit, ::Ifc4x2::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x2::IfcRelDeclares> Ifc4x2::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[864], 5)); } -std::vector<::Ifc4x2::IfcRelAssociates> Ifc4x2::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[844], 4)); } +std::vector<::Ifc4x2::IfcRelDeclares> Ifc4x2::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[864], 5)); } +std::vector<::Ifc4x2::IfcRelAssociates> Ifc4x2::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[844], 4)); } -const IfcParse::entity& Ifc4x2::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X2_types[765]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[765]); } void Ifc4x2::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -11948,7 +11948,7 @@ std::optional< std::string > Ifc4x2::IfcPropertyDependencyRelationship::Expressi void Ifc4x2::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[766]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[766]); } void Ifc4x2::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcProperty v3_DependingProperty, ::Ifc4x2::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -11958,7 +11958,7 @@ void Ifc4x2::IfcPropertyEnumeratedValue::setEnumerationValues(const std::optiona void Ifc4x2::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x2::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X2_types[767]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[767]); } void Ifc4x2::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x2::IfcValue > > v3_EnumerationValues, ::Ifc4x2::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -11970,7 +11970,7 @@ void Ifc4x2::IfcPropertyEnumeration::setEnumerationValues(const std::vector< ::I void Ifc4x2::IfcPropertyEnumeration::setUnit(const ::Ifc4x2::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X2_types[768]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X2_types[768]); } void Ifc4x2::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x2::IfcValue > v2_EnumerationValues, ::Ifc4x2::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -11980,7 +11980,7 @@ void Ifc4x2::IfcPropertyListValue::setListValues(const std::optional< std::vecto void Ifc4x2::IfcPropertyListValue::setUnit(const ::Ifc4x2::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X2_types[769]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[769]); } void Ifc4x2::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x2::IfcValue > > v3_ListValues, ::Ifc4x2::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -11990,7 +11990,7 @@ void Ifc4x2::IfcPropertyReferenceValue::setUsageName(const std::optional< std::s void Ifc4x2::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x2::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X2_types[770]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[770]); } void Ifc4x2::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x2::IfcObjectReferenceSelect v4_PropertyReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, (v4_PropertyReference)); } // Function implementations for IfcPropertySet @@ -11998,30 +11998,30 @@ std::vector< ::Ifc4x2::IfcProperty > Ifc4x2::IfcPropertySet::HasProperties() con void Ifc4x2::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x2::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X2_types[771]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[771]); } void Ifc4x2::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x2::IfcTypeObject> Ifc4x2::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[1153], 5)); } -std::vector<::Ifc4x2::IfcRelDefinesByTemplate> Ifc4x2::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[869], 4)); } -std::vector<::Ifc4x2::IfcRelDefinesByProperties> Ifc4x2::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[868], 5)); } +std::vector<::Ifc4x2::IfcTypeObject> Ifc4x2::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[1153], 5)); } +std::vector<::Ifc4x2::IfcRelDefinesByTemplate> Ifc4x2::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[869], 4)); } +std::vector<::Ifc4x2::IfcRelDefinesByProperties> Ifc4x2::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[868], 5)); } -const IfcParse::entity& Ifc4x2::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X2_types[772]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[772]); } void Ifc4x2::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x2::IfcPropertySetTemplateTypeEnum::Value > Ifc4x2::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x2::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x2::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x2::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x2::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x2::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x2::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x2::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x2::IfcPropertyTemplate > Ifc4x2::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x2::IfcPropertyTemplate>(es); } void Ifc4x2::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x2::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x2::IfcRelDefinesByTemplate> Ifc4x2::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[869], 5)); } +std::vector<::Ifc4x2::IfcRelDefinesByTemplate> Ifc4x2::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[869], 5)); } -const IfcParse::entity& Ifc4x2::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X2_types[775]); } -void Ifc4x2::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x2::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4x2::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x2::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X2_types[775]); } +void Ifc4x2::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x2::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x2::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x2::IfcValue Ifc4x2::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x2::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcValue>(); } @@ -12030,7 +12030,7 @@ void Ifc4x2::IfcPropertySingleValue::setNominalValue(const ::Ifc4x2::IfcValue& v void Ifc4x2::IfcPropertySingleValue::setUnit(const ::Ifc4x2::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X2_types[777]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[777]); } void Ifc4x2::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcValue v3_NominalValue, ::Ifc4x2::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -12045,83 +12045,83 @@ void Ifc4x2::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x2::IfcUnit& v) ::Ifc4x2::IfcUnit Ifc4x2::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x2::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcUnit>(); } void Ifc4x2::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x2::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x2::IfcCurveInterpolationEnum::Value > Ifc4x2::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x2::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x2::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x2::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x2::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X2_types[778]); } -void Ifc4x2::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x2::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x2::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x2::IfcUnit v6_DefiningUnit, ::Ifc4x2::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x2::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[778]); } +void Ifc4x2::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x2::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x2::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x2::IfcUnit v6_DefiningUnit, ::Ifc4x2::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x2::IfcComplexPropertyTemplate> Ifc4x2::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[186], 6)); } -std::vector<::Ifc4x2::IfcPropertySetTemplate> Ifc4x2::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[775], 6)); } +std::vector<::Ifc4x2::IfcComplexPropertyTemplate> Ifc4x2::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[186], 6)); } +std::vector<::Ifc4x2::IfcPropertySetTemplate> Ifc4x2::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[775], 6)); } -const IfcParse::entity& Ifc4x2::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X2_types[779]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X2_types[779]); } void Ifc4x2::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x2::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X2_types[780]); } +const ifcopenshell::entity& Ifc4x2::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[780]); } void Ifc4x2::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value > Ifc4x2::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[781]); } -void Ifc4x2::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[781]); } +void Ifc4x2::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x2::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X2_types[782]); } -void Ifc4x2::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[782]); } +void Ifc4x2::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x2::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X2_types[783]); } -void Ifc4x2::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[783]); } +void Ifc4x2::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value Ifc4x2::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x2::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[785]); } -void Ifc4x2::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[785]); } +void Ifc4x2::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProxy ::Ifc4x2::IfcObjectTypeEnum::Value Ifc4x2::IfcProxy::ProxyType() const { return ::Ifc4x2::IfcObjectTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcProxy::setProxyType(const ::Ifc4x2::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcProxy::setProxyType(const ::Ifc4x2::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x2::IfcProxy::Tag() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x2::IfcProxy::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcProxy::Class() { return *((IfcParse::entity*)IFC4X2_types[787]); } -void Ifc4x2::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } +const ifcopenshell::entity& Ifc4x2::IfcProxy::Class() { return *((ifcopenshell::entity*)IFC4X2_types[787]); } +void Ifc4x2::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } // Function implementations for IfcPump std::optional< ::Ifc4x2::IfcPumpTypeEnum::Value > Ifc4x2::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcPump::setPredefinedType(const std::optional< ::Ifc4x2::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcPump::setPredefinedType(const std::optional< ::Ifc4x2::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcPump::Class() { return *((IfcParse::entity*)IFC4X2_types[788]); } -void Ifc4x2::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X2_types[788]); } +void Ifc4x2::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x2::IfcPumpTypeEnum::Value Ifc4x2::IfcPumpType::PredefinedType() const { return ::Ifc4x2::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcPumpType::setPredefinedType(const ::Ifc4x2::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcPumpType::setPredefinedType(const ::Ifc4x2::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X2_types[789]); } -void Ifc4x2::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[789]); } +void Ifc4x2::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x2::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -12130,7 +12130,7 @@ std::optional< std::string > Ifc4x2::IfcQuantityArea::Formula() const { if(get_a void Ifc4x2::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X2_types[791]); } +const ifcopenshell::entity& Ifc4x2::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X2_types[791]); } void Ifc4x2::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -12140,7 +12140,7 @@ std::optional< std::string > Ifc4x2::IfcQuantityCount::Formula() const { if(get_ void Ifc4x2::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X2_types[792]); } +const ifcopenshell::entity& Ifc4x2::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X2_types[792]); } void Ifc4x2::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -12150,13 +12150,13 @@ std::optional< std::string > Ifc4x2::IfcQuantityLength::Formula() const { if(get void Ifc4x2::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X2_types[793]); } +const ifcopenshell::entity& Ifc4x2::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X2_types[793]); } void Ifc4x2::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x2::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X2_types[794]); } +const ifcopenshell::entity& Ifc4x2::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[794]); } void Ifc4x2::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -12166,7 +12166,7 @@ std::optional< std::string > Ifc4x2::IfcQuantityTime::Formula() const { if(get_a void Ifc4x2::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X2_types[795]); } +const ifcopenshell::entity& Ifc4x2::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X2_types[795]); } void Ifc4x2::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -12176,7 +12176,7 @@ std::optional< std::string > Ifc4x2::IfcQuantityVolume::Formula() const { if(get void Ifc4x2::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X2_types[796]); } +const ifcopenshell::entity& Ifc4x2::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X2_types[796]); } void Ifc4x2::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -12186,72 +12186,72 @@ std::optional< std::string > Ifc4x2::IfcQuantityWeight::Formula() const { if(get void Ifc4x2::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X2_types[797]); } +const ifcopenshell::entity& Ifc4x2::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X2_types[797]); } void Ifc4x2::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRailing std::optional< ::Ifc4x2::IfcRailingTypeEnum::Value > Ifc4x2::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x2::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x2::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X2_types[799]); } -void Ifc4x2::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X2_types[799]); } +void Ifc4x2::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x2::IfcRailingTypeEnum::Value Ifc4x2::IfcRailingType::PredefinedType() const { return ::Ifc4x2::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcRailingType::setPredefinedType(const ::Ifc4x2::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcRailingType::setPredefinedType(const ::Ifc4x2::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X2_types[800]); } -void Ifc4x2::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[800]); } +void Ifc4x2::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRamp std::optional< ::Ifc4x2::IfcRampTypeEnum::Value > Ifc4x2::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x2::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x2::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X2_types[802]); } -void Ifc4x2::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X2_types[802]); } +void Ifc4x2::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x2::IfcRampFlightTypeEnum::Value > Ifc4x2::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x2::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x2::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X2_types[803]); } -void Ifc4x2::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X2_types[803]); } +void Ifc4x2::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x2::IfcRampFlightTypeEnum::Value Ifc4x2::IfcRampFlightType::PredefinedType() const { return ::Ifc4x2::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcRampFlightType::setPredefinedType(const ::Ifc4x2::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcRampFlightType::setPredefinedType(const ::Ifc4x2::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X2_types[804]); } -void Ifc4x2::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[804]); } +void Ifc4x2::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x2::IfcRampTypeEnum::Value Ifc4x2::IfcRampType::PredefinedType() const { return ::Ifc4x2::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcRampType::setPredefinedType(const ::Ifc4x2::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcRampType::setPredefinedType(const ::Ifc4x2::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X2_types[806]); } -void Ifc4x2::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[806]); } +void Ifc4x2::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x2::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x2::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X2_types[809]); } -void Ifc4x2::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x2::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(&::Ifc4x2::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4x2::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X2_types[809]); } +void Ifc4x2::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x2::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, (enumeration_reference(&::Ifc4x2::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x2::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x2::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X2_types[810]); } -void Ifc4x2::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x2::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(&::Ifc4x2::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4x2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X2_types[810]); } +void Ifc4x2::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x2::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, (enumeration_reference(&::Ifc4x2::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x2::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -12262,8 +12262,8 @@ std::optional< double > Ifc4x2::IfcRectangleHollowProfileDef::OuterFilletRadius( void Ifc4x2::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x2::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[812]); } -void Ifc4x2::IfcRectangleHollowProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x2::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[812]); } +void Ifc4x2::IfcRectangleHollowProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x2::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -12272,8 +12272,8 @@ double Ifc4x2::IfcRectangleProfileDef::YDim() const { double v = get_attribute_ void Ifc4x2::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[813]); } -void Ifc4x2::IfcRectangleProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x2::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[813]); } +void Ifc4x2::IfcRectangleProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x2::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -12284,7 +12284,7 @@ double Ifc4x2::IfcRectangularPyramid::Height() const { double v = get_attribute void Ifc4x2::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X2_types[814]); } +const ifcopenshell::entity& Ifc4x2::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[814]); } void Ifc4x2::IfcRectangularPyramid::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -12304,12 +12304,12 @@ bool Ifc4x2::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_attrib void Ifc4x2::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[815]); } +const ifcopenshell::entity& Ifc4x2::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[815]); } void Ifc4x2::IfcRectangularTrimmedSurface::initialize(::Ifc4x2::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x2::IfcRecurrenceTypeEnum::Value Ifc4x2::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x2::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x2::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x2::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x2::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x2::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x2::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x2::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x2::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x2::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x2::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -12326,8 +12326,8 @@ std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > > Ifc4x2::IfcRecurrencePat void Ifc4x2::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x2::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X2_types[816]); } -void Ifc4x2::IfcRecurrencePattern::initialize(::Ifc4x2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x2::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X2_types[816]); } +void Ifc4x2::IfcRecurrencePattern::initialize(::Ifc4x2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x2::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12342,18 +12342,18 @@ void Ifc4x2::IfcReference::setListPositions(const std::optional< std::vector< in void Ifc4x2::IfcReference::setInnerReference(const ::Ifc4x2::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcReference::Class() { return *((IfcParse::entity*)IFC4X2_types[818]); } +const ifcopenshell::entity& Ifc4x2::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X2_types[818]); } void Ifc4x2::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x2::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x2::IfcReferentTypeEnum::Value > Ifc4x2::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x2::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x2::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x2::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< double > Ifc4x2::IfcReferent::RestartDistance() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x2::IfcReferent::setRestartDistance(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X2_types[819]); } -void Ifc4x2::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x2::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } +const ifcopenshell::entity& Ifc4x2::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X2_types[819]); } +void Ifc4x2::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x2::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } // Function implementations for IfcRegularTimeSeries double Ifc4x2::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -12362,8 +12362,8 @@ std::vector< ::Ifc4x2::IfcTimeSeriesValue > Ifc4x2::IfcRegularTimeSeries::Values void Ifc4x2::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x2::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X2_types[822]); } -void Ifc4x2::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x2::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x2::IfcTimeSeriesValue > v10_Values) { 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(&::Ifc4x2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x2::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X2_types[822]); } +void Ifc4x2::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x2::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x2::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcementBarProperties double Ifc4x2::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -12371,7 +12371,7 @@ void Ifc4x2::IfcReinforcementBarProperties::setTotalCrossSectionArea(const doubl std::string Ifc4x2::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x2::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > Ifc4x2::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x2::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x2::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x2::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x2::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x2::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -12380,8 +12380,8 @@ std::optional< double > Ifc4x2::IfcReinforcementBarProperties::BarCount() const void Ifc4x2::IfcReinforcementBarProperties::setBarCount(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x2::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[823]); } -void Ifc4x2::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[823]); } +void Ifc4x2::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x2::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -12390,7 +12390,7 @@ std::vector< ::Ifc4x2::IfcSectionReinforcementProperties > Ifc4x2::IfcReinforcem void Ifc4x2::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x2::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[824]); } +const ifcopenshell::entity& Ifc4x2::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[824]); } void Ifc4x2::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x2::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -12401,17 +12401,17 @@ void Ifc4x2::IfcReinforcingBar::setCrossSectionArea(const std::optional< double std::optional< double > Ifc4x2::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x2::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x2::IfcReinforcingBarTypeEnum::Value > Ifc4x2::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x2::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x2::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x2::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x2::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x2::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x2::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > Ifc4x2::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x2::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x2::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x2::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X2_types[825]); } -void Ifc4x2::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4x2::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X2_types[825]); } +void Ifc4x2::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x2::IfcReinforcingBarTypeEnum::Value Ifc4x2::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x2::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x2::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x2::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x2::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x2::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x2::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -12419,28 +12419,28 @@ void Ifc4x2::IfcReinforcingBarType::setCrossSectionArea(const std::optional< dou std::optional< double > Ifc4x2::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x2::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > Ifc4x2::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x2::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x2::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x2::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x2::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > Ifc4x2::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x2::IfcBendingParameterSelect>(es); } void Ifc4x2::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x2::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X2_types[828]); } -void Ifc4x2::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::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(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x2::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[828]); } +void Ifc4x2::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::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, (enumeration_reference(&::Ifc4x2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x2::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x2::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X2_types[830]); } +const ifcopenshell::entity& Ifc4x2::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[830]); } void Ifc4x2::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x2::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[831]); } +const ifcopenshell::entity& Ifc4x2::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[831]); } void Ifc4x2::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -12461,15 +12461,15 @@ void Ifc4x2::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::optional< std::optional< double > Ifc4x2::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x2::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value > Ifc4x2::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x2::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x2::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x2::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x2::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x2::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X2_types[832]); } -void Ifc4x2::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X2_types[832]); } +void Ifc4x2::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value Ifc4x2::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x2::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x2::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x2::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x2::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -12492,8 +12492,8 @@ std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > Ifc4x2::IfcR void Ifc4x2::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x2::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X2_types[833]); } -void Ifc4x2::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x2::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[833]); } +void Ifc4x2::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAggregates ::Ifc4x2::IfcObjectDefinition Ifc4x2::IfcRelAggregates::RelatingObject() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcObjectDefinition>(); } @@ -12502,18 +12502,18 @@ std::vector< ::Ifc4x2::IfcObjectDefinition > Ifc4x2::IfcRelAggregates::RelatedOb void Ifc4x2::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x2::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X2_types[835]); } +const ifcopenshell::entity& Ifc4x2::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X2_types[835]); } void Ifc4x2::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x2::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns std::vector< ::Ifc4x2::IfcObjectDefinition > Ifc4x2::IfcRelAssigns::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x2::IfcObjectDefinition>(es); } void Ifc4x2::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc4x2::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > Ifc4x2::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcObjectTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x2::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x2::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X2_types[836]); } -void Ifc4x2::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } +const ifcopenshell::entity& Ifc4x2::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X2_types[836]); } +void Ifc4x2::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } // Function implementations for IfcRelAssignsToActor ::Ifc4x2::IfcActor Ifc4x2::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcActor>(); } @@ -12522,32 +12522,32 @@ void Ifc4x2::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x2::IfcActor& v) void Ifc4x2::IfcRelAssignsToActor::setActingRole(const ::Ifc4x2::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x2::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X2_types[837]); } -void Ifc4x2::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcActor v7_RelatingActor, ::Ifc4x2::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X2_types[837]); } +void Ifc4x2::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcActor v7_RelatingActor, ::Ifc4x2::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl ::Ifc4x2::IfcControl Ifc4x2::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcControl>(); } void Ifc4x2::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x2::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X2_types[838]); } -void Ifc4x2::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X2_types[838]); } +void Ifc4x2::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup ::Ifc4x2::IfcGroup Ifc4x2::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcGroup>(); } void Ifc4x2::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x2::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X2_types[839]); } -void Ifc4x2::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X2_types[839]); } +void Ifc4x2::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor double Ifc4x2::IfcRelAssignsToGroupByFactor::Factor() const { double v = get_attribute_value(7); return v; } void Ifc4x2::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x2::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X2_types[840]); } -void Ifc4x2::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X2_types[840]); } +void Ifc4x2::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess ::Ifc4x2::IfcProcessSelect Ifc4x2::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcProcessSelect>(); } @@ -12556,31 +12556,31 @@ void Ifc4x2::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x2::IfcProce void Ifc4x2::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x2::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x2::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X2_types[841]); } -void Ifc4x2::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcProcessSelect v7_RelatingProcess, ::Ifc4x2::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X2_types[841]); } +void Ifc4x2::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcProcessSelect v7_RelatingProcess, ::Ifc4x2::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct ::Ifc4x2::IfcProductSelect Ifc4x2::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcProductSelect>(); } void Ifc4x2::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x2::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X2_types[842]); } -void Ifc4x2::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X2_types[842]); } +void Ifc4x2::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource ::Ifc4x2::IfcResourceSelect Ifc4x2::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcResourceSelect>(); } void Ifc4x2::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x2::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X2_types[843]); } -void Ifc4x2::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[843]); } +void Ifc4x2::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates std::vector< ::Ifc4x2::IfcDefinitionSelect > Ifc4x2::IfcRelAssociates::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x2::IfcDefinitionSelect>(es); } void Ifc4x2::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x2::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X2_types[844]); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X2_types[844]); } void Ifc4x2::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -12588,7 +12588,7 @@ void Ifc4x2::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x2::Ifc void Ifc4x2::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x2::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X2_types[845]); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X2_types[845]); } void Ifc4x2::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -12596,7 +12596,7 @@ void Ifc4x2::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc void Ifc4x2::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x2::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X2_types[846]); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X2_types[846]); } void Ifc4x2::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -12606,7 +12606,7 @@ void Ifc4x2::IfcRelAssociatesConstraint::setIntent(const std::optional< std::str void Ifc4x2::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x2::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X2_types[847]); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X2_types[847]); } void Ifc4x2::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x2::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -12614,7 +12614,7 @@ void Ifc4x2::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::I void Ifc4x2::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x2::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X2_types[848]); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X2_types[848]); } void Ifc4x2::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -12622,7 +12622,7 @@ void Ifc4x2::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc void Ifc4x2::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x2::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X2_types[849]); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X2_types[849]); } void Ifc4x2::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -12630,13 +12630,13 @@ void Ifc4x2::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4 void Ifc4x2::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x2::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X2_types[850]); } +const ifcopenshell::entity& Ifc4x2::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X2_types[850]); } void Ifc4x2::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x2::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X2_types[852]); } +const ifcopenshell::entity& Ifc4x2::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X2_types[852]); } void Ifc4x2::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -12648,7 +12648,7 @@ void Ifc4x2::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x2::IfcEleme void Ifc4x2::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x2::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X2_types[853]); } +const ifcopenshell::entity& Ifc4x2::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X2_types[853]); } void Ifc4x2::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x2::IfcElement v6_RelatingElement, ::Ifc4x2::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -12657,13 +12657,13 @@ void Ifc4x2::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector std::vector< int > /*[0:?]*/ Ifc4x2::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x2::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x2::IfcConnectionTypeEnum::Value Ifc4x2::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x2::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x2::IfcConnectionTypeEnum::Value Ifc4x2::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x2::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x2::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x2::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X2_types[854]); } -void Ifc4x2::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x2::IfcElement v6_RelatingElement, ::Ifc4x2::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4x2::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X2_types[854]); } +void Ifc4x2::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x2::IfcElement v6_RelatingElement, ::Ifc4x2::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x2::IfcPort Ifc4x2::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcPort>(); } @@ -12672,7 +12672,7 @@ void Ifc4x2::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x2::IfcPor void Ifc4x2::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x2::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X2_types[856]); } +const ifcopenshell::entity& Ifc4x2::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[856]); } void Ifc4x2::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcPort v5_RelatingPort, ::Ifc4x2::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -12684,7 +12684,7 @@ void Ifc4x2::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x2::IfcPort& v) { s void Ifc4x2::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x2::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X2_types[855]); } +const ifcopenshell::entity& Ifc4x2::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X2_types[855]); } void Ifc4x2::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcPort v5_RelatingPort, ::Ifc4x2::IfcPort v6_RelatedPort, ::Ifc4x2::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -12694,7 +12694,7 @@ void Ifc4x2::IfcRelConnectsStructuralActivity::setRelatingElement(const ::Ifc4x2 void Ifc4x2::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x2::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X2_types[857]); } +const ifcopenshell::entity& Ifc4x2::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X2_types[857]); } void Ifc4x2::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x2::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -12712,7 +12712,7 @@ void Ifc4x2::IfcRelConnectsStructuralMember::setSupportedLength(const std::optio void Ifc4x2::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x2::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X2_types[858]); } +const ifcopenshell::entity& Ifc4x2::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X2_types[858]); } void Ifc4x2::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x2::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x2::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x2::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x2::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -12720,7 +12720,7 @@ void Ifc4x2::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, void Ifc4x2::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x2::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x2::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X2_types[859]); } +const ifcopenshell::entity& Ifc4x2::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X2_types[859]); } void Ifc4x2::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x2::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x2::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x2::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x2::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x2::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -12730,7 +12730,7 @@ std::optional< std::string > Ifc4x2::IfcRelConnectsWithRealizingElements::Connec void Ifc4x2::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X2_types[860]); } +const ifcopenshell::entity& Ifc4x2::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X2_types[860]); } void Ifc4x2::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x2::IfcElement v6_RelatingElement, ::Ifc4x2::IfcElement v7_RelatedElement, std::vector< ::Ifc4x2::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -12740,7 +12740,7 @@ void Ifc4x2::IfcRelContainedInSpatialStructure::setRelatedElements(const std::ve void Ifc4x2::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x2::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X2_types[861]); } +const ifcopenshell::entity& Ifc4x2::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X2_types[861]); } void Ifc4x2::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcProduct > v5_RelatedElements, ::Ifc4x2::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -12750,7 +12750,7 @@ std::vector< ::Ifc4x2::IfcCovering > Ifc4x2::IfcRelCoversBldgElements::RelatedCo void Ifc4x2::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x2::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X2_types[862]); } +const ifcopenshell::entity& Ifc4x2::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X2_types[862]); } void Ifc4x2::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x2::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -12760,7 +12760,7 @@ std::vector< ::Ifc4x2::IfcCovering > Ifc4x2::IfcRelCoversSpaces::RelatedCovering void Ifc4x2::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x2::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X2_types[863]); } +const ifcopenshell::entity& Ifc4x2::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X2_types[863]); } void Ifc4x2::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x2::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -12770,19 +12770,19 @@ std::vector< ::Ifc4x2::IfcDefinitionSelect > Ifc4x2::IfcRelDeclares::RelatedDefi void Ifc4x2::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x2::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X2_types[864]); } +const ifcopenshell::entity& Ifc4x2::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X2_types[864]); } void Ifc4x2::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcContext v5_RelatingContext, std::vector< ::Ifc4x2::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x2::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X2_types[865]); } +const ifcopenshell::entity& Ifc4x2::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X2_types[865]); } void Ifc4x2::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x2::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X2_types[866]); } +const ifcopenshell::entity& Ifc4x2::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X2_types[866]); } void Ifc4x2::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -12792,7 +12792,7 @@ void Ifc4x2::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::Ifc4x void Ifc4x2::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x2::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X2_types[867]); } +const ifcopenshell::entity& Ifc4x2::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X2_types[867]); } void Ifc4x2::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObject > v5_RelatedObjects, ::Ifc4x2::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -12802,7 +12802,7 @@ void Ifc4x2::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< ::I void Ifc4x2::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x2::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[868]); } +const ifcopenshell::entity& Ifc4x2::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[868]); } void Ifc4x2::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x2::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -12812,7 +12812,7 @@ void Ifc4x2::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vector< void Ifc4x2::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x2::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X2_types[869]); } +const ifcopenshell::entity& Ifc4x2::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X2_types[869]); } void Ifc4x2::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x2::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -12822,7 +12822,7 @@ void Ifc4x2::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc4x2: void Ifc4x2::IfcRelDefinesByType::setRelatingType(const ::Ifc4x2::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X2_types[870]); } +const ifcopenshell::entity& Ifc4x2::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[870]); } void Ifc4x2::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObject > v5_RelatedObjects, ::Ifc4x2::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -12832,7 +12832,7 @@ void Ifc4x2::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x2::IfcOp void Ifc4x2::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x2::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X2_types[871]); } +const ifcopenshell::entity& Ifc4x2::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[871]); } void Ifc4x2::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x2::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -12842,7 +12842,7 @@ void Ifc4x2::IfcRelFlowControlElements::setRelatedControlElements(const std::vec void Ifc4x2::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x2::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X2_types[872]); } +const ifcopenshell::entity& Ifc4x2::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X2_types[872]); } void Ifc4x2::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x2::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -12858,7 +12858,7 @@ boost::logic::tribool Ifc4x2::IfcRelInterferesElements::ImpliedOrder() const { void Ifc4x2::IfcRelInterferesElements::setImpliedOrder(const boost::logic::tribool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X2_types[873]); } +const ifcopenshell::entity& Ifc4x2::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X2_types[873]); } void Ifc4x2::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcElement v5_RelatingElement, ::Ifc4x2::IfcElement v6_RelatedElement, ::Ifc4x2::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder)); } // Function implementations for IfcRelNests @@ -12868,7 +12868,7 @@ std::vector< ::Ifc4x2::IfcObjectDefinition > Ifc4x2::IfcRelNests::RelatedObjects void Ifc4x2::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x2::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X2_types[874]); } +const ifcopenshell::entity& Ifc4x2::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X2_types[874]); } void Ifc4x2::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x2::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelPositions @@ -12878,7 +12878,7 @@ std::vector< ::Ifc4x2::IfcProduct > Ifc4x2::IfcRelPositions::RelatedProducts() c void Ifc4x2::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x2::IfcProduct >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X2_types[875]); } +const ifcopenshell::entity& Ifc4x2::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X2_types[875]); } void Ifc4x2::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x2::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector(v6_RelatedProducts)); } // Function implementations for IfcRelProjectsElement @@ -12888,7 +12888,7 @@ void Ifc4x2::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x2::IfcElemen void Ifc4x2::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x2::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X2_types[876]); } +const ifcopenshell::entity& Ifc4x2::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[876]); } void Ifc4x2::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcElement v5_RelatingElement, ::Ifc4x2::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -12898,7 +12898,7 @@ void Ifc4x2::IfcRelReferencedInSpatialStructure::setRelatedElements(const std::v void Ifc4x2::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x2::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X2_types[877]); } +const ifcopenshell::entity& Ifc4x2::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X2_types[877]); } void Ifc4x2::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcProduct > v5_RelatedElements, ::Ifc4x2::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -12909,13 +12909,13 @@ void Ifc4x2::IfcRelSequence::setRelatedProcess(const ::Ifc4x2::IfcProcess& v) { ::Ifc4x2::IfcLagTime Ifc4x2::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x2::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcLagTime>(); } void Ifc4x2::IfcRelSequence::setTimeLag(const ::Ifc4x2::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x2::IfcSequenceEnum::Value > Ifc4x2::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x2::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x2::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x2::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x2::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x2::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X2_types[878]); } -void Ifc4x2::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcProcess v5_RelatingProcess, ::Ifc4x2::IfcProcess v6_RelatedProcess, ::Ifc4x2::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x2::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4x2::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X2_types[878]); } +void Ifc4x2::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcProcess v5_RelatingProcess, ::Ifc4x2::IfcProcess v6_RelatedProcess, ::Ifc4x2::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x2::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x2::IfcSystem Ifc4x2::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcSystem>(); } @@ -12924,7 +12924,7 @@ std::vector< ::Ifc4x2::IfcSpatialElement > Ifc4x2::IfcRelServicesBuildings::Rela void Ifc4x2::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x2::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X2_types[879]); } +const ifcopenshell::entity& Ifc4x2::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X2_types[879]); } void Ifc4x2::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x2::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -12935,31 +12935,31 @@ void Ifc4x2::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x2::IfcE ::Ifc4x2::IfcConnectionGeometry Ifc4x2::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x2::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcConnectionGeometry>(); } void Ifc4x2::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x2::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value Ifc4x2::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x2::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x2::IfcInternalOrExternalEnum::Value Ifc4x2::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x2::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x2::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x2::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x2::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X2_types[880]); } -void Ifc4x2::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x2::IfcElement v6_RelatedBuildingElement, ::Ifc4x2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4x2::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X2_types[880]); } +void Ifc4x2::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x2::IfcElement v6_RelatedBuildingElement, ::Ifc4x2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x2::IfcRelSpaceBoundary1stLevel Ifc4x2::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x2::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x2::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x2::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x2::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x2::IfcRelSpaceBoundary1stLevel> Ifc4x2::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[881], 9)); } +std::vector<::Ifc4x2::IfcRelSpaceBoundary1stLevel> Ifc4x2::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[881], 9)); } -const IfcParse::entity& Ifc4x2::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X2_types[881]); } -void Ifc4x2::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x2::IfcElement v6_RelatedBuildingElement, ::Ifc4x2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4x2::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[881]); } +void Ifc4x2::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x2::IfcElement v6_RelatedBuildingElement, ::Ifc4x2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x2::IfcRelSpaceBoundary2ndLevel Ifc4x2::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x2::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x2::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x2::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x2::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x2::IfcRelSpaceBoundary2ndLevel> Ifc4x2::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[882], 10)); } +std::vector<::Ifc4x2::IfcRelSpaceBoundary2ndLevel> Ifc4x2::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[882], 10)); } -const IfcParse::entity& Ifc4x2::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X2_types[882]); } -void Ifc4x2::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x2::IfcElement v6_RelatedBuildingElement, ::Ifc4x2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x2::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x2::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[882]); } +void Ifc4x2::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x2::IfcElement v6_RelatedBuildingElement, ::Ifc4x2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x2::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x2::IfcElement Ifc4x2::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcElement>(); } @@ -12968,13 +12968,13 @@ void Ifc4x2::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x2::IfcE void Ifc4x2::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x2::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X2_types[883]); } +const ifcopenshell::entity& Ifc4x2::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[883]); } void Ifc4x2::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcElement v5_RelatingBuildingElement, ::Ifc4x2::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x2::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[851]); } +const ifcopenshell::entity& Ifc4x2::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[851]); } void Ifc4x2::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -12982,8 +12982,8 @@ double Ifc4x2::IfcReparametrisedCompositeCurveSegment::ParamLength() const { do void Ifc4x2::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X2_types[884]); } -void Ifc4x2::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x2::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x2::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[884]); } +void Ifc4x2::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x2::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x2::IfcRepresentationContext Ifc4x2::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcRepresentationContext>(); } @@ -12995,11 +12995,11 @@ void Ifc4x2::IfcRepresentation::setRepresentationType(const std::optional< std:: std::vector< ::Ifc4x2::IfcRepresentationItem > Ifc4x2::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x2::IfcRepresentationItem>(es); } void Ifc4x2::IfcRepresentation::setItems(const std::vector< ::Ifc4x2::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x2::IfcRepresentationMap> Ifc4x2::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[888], 1)); } -std::vector<::Ifc4x2::IfcPresentationLayerAssignment> Ifc4x2::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[735], 2)); } -std::vector<::Ifc4x2::IfcProductRepresentation> Ifc4x2::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[748], 2)); } +std::vector<::Ifc4x2::IfcRepresentationMap> Ifc4x2::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[888], 1)); } +std::vector<::Ifc4x2::IfcPresentationLayerAssignment> Ifc4x2::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[735], 2)); } +std::vector<::Ifc4x2::IfcProductRepresentation> Ifc4x2::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[748], 2)); } -const IfcParse::entity& Ifc4x2::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X2_types[885]); } +const ifcopenshell::entity& Ifc4x2::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[885]); } void Ifc4x2::IfcRepresentation::initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -13008,17 +13008,17 @@ void Ifc4x2::IfcRepresentationContext::setContextIdentifier(const std::optional< std::optional< std::string > Ifc4x2::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x2::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x2::IfcRepresentation> Ifc4x2::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[885], 0)); } +std::vector<::Ifc4x2::IfcRepresentation> Ifc4x2::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[885], 0)); } -const IfcParse::entity& Ifc4x2::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X2_types[886]); } +const ifcopenshell::entity& Ifc4x2::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X2_types[886]); } void Ifc4x2::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x2::IfcPresentationLayerAssignment> Ifc4x2::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[735], 2)); } -std::vector<::Ifc4x2::IfcStyledItem> Ifc4x2::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[1035], 0)); } +std::vector<::Ifc4x2::IfcPresentationLayerAssignment> Ifc4x2::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[735], 2)); } +std::vector<::Ifc4x2::IfcStyledItem> Ifc4x2::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[1035], 0)); } -const IfcParse::entity& Ifc4x2::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X2_types[887]); } +const ifcopenshell::entity& Ifc4x2::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[887]); } void Ifc4x2::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -13027,10 +13027,10 @@ void Ifc4x2::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x2::IfcAxis2Plac ::Ifc4x2::IfcRepresentation Ifc4x2::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x2::IfcRepresentation>(); } void Ifc4x2::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x2::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x2::IfcShapeAspect> Ifc4x2::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[931], 4)); } -std::vector<::Ifc4x2::IfcMappedItem> Ifc4x2::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[585], 0)); } +std::vector<::Ifc4x2::IfcShapeAspect> Ifc4x2::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[931], 4)); } +std::vector<::Ifc4x2::IfcMappedItem> Ifc4x2::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[585], 0)); } -const IfcParse::entity& Ifc4x2::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X2_types[888]); } +const ifcopenshell::entity& Ifc4x2::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X2_types[888]); } void Ifc4x2::IfcRepresentationMap::initialize(::Ifc4x2::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x2::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -13039,9 +13039,9 @@ void Ifc4x2::IfcResource::setIdentification(const std::optional< std::string >& std::optional< std::string > Ifc4x2::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x2::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x2::IfcRelAssignsToResource> Ifc4x2::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[843], 6)); } +std::vector<::Ifc4x2::IfcRelAssignsToResource> Ifc4x2::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[843], 6)); } -const IfcParse::entity& Ifc4x2::IfcResource::Class() { return *((IfcParse::entity*)IFC4X2_types[889]); } +const ifcopenshell::entity& Ifc4x2::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[889]); } void Ifc4x2::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -13051,7 +13051,7 @@ void Ifc4x2::IfcResourceApprovalRelationship::setRelatedResourceObjects(const st void Ifc4x2::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x2::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[890]); } +const ifcopenshell::entity& Ifc4x2::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[890]); } void Ifc4x2::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x2::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -13061,7 +13061,7 @@ std::vector< ::Ifc4x2::IfcResourceObjectSelect > Ifc4x2::IfcResourceConstraintRe void Ifc4x2::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x2::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[891]); } +const ifcopenshell::entity& Ifc4x2::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[891]); } void Ifc4x2::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x2::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -13071,7 +13071,7 @@ std::optional< std::string > Ifc4x2::IfcResourceLevelRelationship::Description() void Ifc4x2::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x2::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X2_types[892]); } +const ifcopenshell::entity& Ifc4x2::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X2_types[892]); } void Ifc4x2::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -13107,8 +13107,8 @@ std::optional< double > Ifc4x2::IfcResourceTime::Completion() const { if(get_att void Ifc4x2::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x2::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X2_types[895]); } -void Ifc4x2::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X2_types[895]); } +void Ifc4x2::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x2::IfcAxis1Placement Ifc4x2::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcAxis1Placement>(); } @@ -13117,7 +13117,7 @@ double Ifc4x2::IfcRevolvedAreaSolid::Angle() const { double v = get_attribute_v void Ifc4x2::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X2_types[896]); } +const ifcopenshell::entity& Ifc4x2::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[896]); } void Ifc4x2::IfcRevolvedAreaSolid::initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -13125,7 +13125,7 @@ void Ifc4x2::IfcRevolvedAreaSolid::initialize(::Ifc4x2::IfcProfileDef v1_SweptAr void Ifc4x2::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x2::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X2_types[897]); } +const ifcopenshell::entity& Ifc4x2::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X2_types[897]); } void Ifc4x2::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x2::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -13135,7 +13135,7 @@ double Ifc4x2::IfcRightCircularCone::BottomRadius() const { double v = get_attr void Ifc4x2::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X2_types[898]); } +const ifcopenshell::entity& Ifc4x2::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X2_types[898]); } void Ifc4x2::IfcRightCircularCone::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -13145,24 +13145,24 @@ double Ifc4x2::IfcRightCircularCylinder::Radius() const { double v = get_attrib void Ifc4x2::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X2_types[899]); } +const ifcopenshell::entity& Ifc4x2::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X2_types[899]); } void Ifc4x2::IfcRightCircularCylinder::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoof std::optional< ::Ifc4x2::IfcRoofTypeEnum::Value > Ifc4x2::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x2::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x2::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X2_types[901]); } -void Ifc4x2::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X2_types[901]); } +void Ifc4x2::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x2::IfcRoofTypeEnum::Value Ifc4x2::IfcRoofType::PredefinedType() const { return ::Ifc4x2::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcRoofType::setPredefinedType(const ::Ifc4x2::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcRoofType::setPredefinedType(const ::Ifc4x2::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X2_types[902]); } -void Ifc4x2::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[902]); } +void Ifc4x2::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x2::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -13175,7 +13175,7 @@ std::optional< std::string > Ifc4x2::IfcRoot::Description() const { if(get_attri void Ifc4x2::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X2_types[904]); } +const ifcopenshell::entity& Ifc4x2::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X2_types[904]); } void Ifc4x2::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -13183,64 +13183,64 @@ double Ifc4x2::IfcRoundedRectangleProfileDef::RoundingRadius() const { double v void Ifc4x2::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[909]); } -void Ifc4x2::IfcRoundedRectangleProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x2::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[909]); } +void Ifc4x2::IfcRoundedRectangleProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x2::IfcSIPrefix::Value > Ifc4x2::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x2::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x2::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x2::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x2::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x2::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x2::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x2::IfcSIUnitName::Value Ifc4x2::IfcSIUnit::Name() const { return ::Ifc4x2::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x2::IfcSIUnit::setName(const ::Ifc4x2::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x2::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x2::IfcSIUnit::setName(const ::Ifc4x2::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x2::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X2_types[943]); } -void Ifc4x2::IfcSIUnit::initialize(::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x2::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x2::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4x2::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[943]); } +void Ifc4x2::IfcSIUnit::initialize(::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x2::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x2::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value > Ifc4x2::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X2_types[910]); } -void Ifc4x2::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X2_types[910]); } +void Ifc4x2::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value Ifc4x2::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x2::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X2_types[911]); } -void Ifc4x2::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[911]); } +void Ifc4x2::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x2::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x2::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > Ifc4x2::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x2::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x2::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x2::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x2::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x2::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x2::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X2_types[913]); } -void Ifc4x2::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4x2::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X2_types[913]); } +void Ifc4x2::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x2::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[914]); } -void Ifc4x2::IfcSeamCurve::initialize(::Ifc4x2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x2::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[914]); } +void Ifc4x2::IfcSeamCurve::initialize(::Ifc4x2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSectionProperties ::Ifc4x2::IfcSectionTypeEnum::Value Ifc4x2::IfcSectionProperties::SectionType() const { return ::Ifc4x2::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x2::IfcSectionProperties::setSectionType(const ::Ifc4x2::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x2::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x2::IfcSectionProperties::setSectionType(const ::Ifc4x2::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x2::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x2::IfcProfileDef Ifc4x2::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x2::IfcProfileDef>(); } void Ifc4x2::IfcSectionProperties::setStartProfile(const ::Ifc4x2::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x2::IfcProfileDef Ifc4x2::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x2::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcProfileDef>(); } void Ifc4x2::IfcSectionProperties::setEndProfile(const ::Ifc4x2::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[920]); } -void Ifc4x2::IfcSectionProperties::initialize(::Ifc4x2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x2::IfcProfileDef v2_StartProfile, ::Ifc4x2::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x2::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[920]); } +void Ifc4x2::IfcSectionProperties::initialize(::Ifc4x2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x2::IfcProfileDef v2_StartProfile, ::Ifc4x2::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x2::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -13250,15 +13250,15 @@ void Ifc4x2::IfcSectionReinforcementProperties::setLongitudinalEndPosition(const std::optional< double > Ifc4x2::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x2::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x2::IfcReinforcingBarRoleEnum::Value Ifc4x2::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x2::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x2::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x2::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x2::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x2::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x2::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x2::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x2::IfcSectionProperties Ifc4x2::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcSectionProperties>(); } void Ifc4x2::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x2::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x2::IfcReinforcementBarProperties > Ifc4x2::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x2::IfcReinforcementBarProperties>(es); } void Ifc4x2::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x2::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[921]); } -void Ifc4x2::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x2::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x2::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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(&::Ifc4x2::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x2::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[921]); } +void Ifc4x2::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x2::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x2::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x2::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x2::IfcCurve Ifc4x2::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcCurve>(); } @@ -13267,7 +13267,7 @@ std::vector< ::Ifc4x2::IfcProfileDef > Ifc4x2::IfcSectionedSolid::CrossSections( void Ifc4x2::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x2::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X2_types[916]); } +const ifcopenshell::entity& Ifc4x2::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[916]); } void Ifc4x2::IfcSectionedSolid::initialize(::Ifc4x2::IfcCurve v1_Directrix, std::vector< ::Ifc4x2::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -13277,7 +13277,7 @@ bool Ifc4x2::IfcSectionedSolidHorizontal::FixedAxisVertical() const { bool v = void Ifc4x2::IfcSectionedSolidHorizontal::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X2_types[917]); } +const ifcopenshell::entity& Ifc4x2::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X2_types[917]); } void Ifc4x2::IfcSectionedSolidHorizontal::initialize(::Ifc4x2::IfcCurve v1_Directrix, std::vector< ::Ifc4x2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x2::IfcDistanceExpression > v3_CrossSectionPositions, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSectionedSpine @@ -13289,40 +13289,40 @@ std::vector< ::Ifc4x2::IfcAxis2Placement3D > Ifc4x2::IfcSectionedSpine::CrossSec void Ifc4x2::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x2::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X2_types[918]); } +const ifcopenshell::entity& Ifc4x2::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X2_types[918]); } void Ifc4x2::IfcSectionedSpine::initialize(::Ifc4x2::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x2::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSensor std::optional< ::Ifc4x2::IfcSensorTypeEnum::Value > Ifc4x2::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x2::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x2::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X2_types[924]); } -void Ifc4x2::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X2_types[924]); } +void Ifc4x2::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x2::IfcSensorTypeEnum::Value Ifc4x2::IfcSensorType::PredefinedType() const { return ::Ifc4x2::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSensorType::setPredefinedType(const ::Ifc4x2::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcSensorType::setPredefinedType(const ::Ifc4x2::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X2_types[925]); } -void Ifc4x2::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[925]); } +void Ifc4x2::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x2::IfcShadingDeviceTypeEnum::Value > Ifc4x2::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[928]); } -void Ifc4x2::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[928]); } +void Ifc4x2::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x2::IfcShadingDeviceTypeEnum::Value Ifc4x2::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x2::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x2::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x2::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[929]); } -void Ifc4x2::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[929]); } +void Ifc4x2::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x2::IfcShapeModel > Ifc4x2::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcShapeModel>(es); } @@ -13336,22 +13336,22 @@ void Ifc4x2::IfcShapeAspect::setProductDefinitional(const boost::logic::tribool& ::Ifc4x2::IfcProductRepresentationSelect Ifc4x2::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x2::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x2::IfcProductRepresentationSelect>(); } void Ifc4x2::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x2::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } -const IfcParse::entity& Ifc4x2::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X2_types[931]); } +const ifcopenshell::entity& Ifc4x2::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X2_types[931]); } void Ifc4x2::IfcShapeAspect::initialize(std::vector< ::Ifc4x2::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x2::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x2::IfcShapeAspect> Ifc4x2::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[931], 0)); } +std::vector<::Ifc4x2::IfcShapeAspect> Ifc4x2::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[931], 0)); } -const IfcParse::entity& Ifc4x2::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X2_types[932]); } +const ifcopenshell::entity& Ifc4x2::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[932]); } void Ifc4x2::IfcShapeModel::initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x2::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X2_types[933]); } +const ifcopenshell::entity& Ifc4x2::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[933]); } void Ifc4x2::IfcShapeRepresentation::initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -13359,18 +13359,18 @@ std::vector< ::Ifc4x2::IfcShell > Ifc4x2::IfcShellBasedSurfaceModel::SbsmBoundar void Ifc4x2::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x2::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X2_types[936]); } +const ifcopenshell::entity& Ifc4x2::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[936]); } void Ifc4x2::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x2::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x2::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X2_types[937]); } +const ifcopenshell::entity& Ifc4x2::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X2_types[937]); } void Ifc4x2::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x2::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x2::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x2::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x2::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x2::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -13384,11 +13384,11 @@ void Ifc4x2::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x2::IfcUnit std::optional< std::string > Ifc4x2::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x2::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x2::IfcStateEnum::Value > Ifc4x2::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x2::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x2::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X2_types[938]); } -void Ifc4x2::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x2::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x2::IfcUnit v9_PrimaryUnit, ::Ifc4x2::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x2::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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(&::Ifc4x2::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4x2::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X2_types[938]); } +void Ifc4x2::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x2::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x2::IfcUnit v9_PrimaryUnit, ::Ifc4x2::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x2::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x2::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSite std::optional< std::vector< int > /*[3:4]*/ > Ifc4x2::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } @@ -13403,36 +13403,36 @@ void Ifc4x2::IfcSite::setLandTitleNumber(const std::optional< std::string >& v) void Ifc4x2::IfcSite::setSiteAddress(const ::Ifc4x2::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x2::IfcSite::Class() { return *((IfcParse::entity*)IFC4X2_types[942]); } -void Ifc4x2::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x2::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::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)); } +const ifcopenshell::entity& Ifc4x2::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X2_types[942]); } +void Ifc4x2::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x2::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > Ifc4x2::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X2_types[946]); } -void Ifc4x2::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X2_types[946]); } +void Ifc4x2::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabElementedCase -const IfcParse::entity& Ifc4x2::IfcSlabElementedCase::Class() { return *((IfcParse::entity*)IFC4X2_types[947]); } -void Ifc4x2::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSlabElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[947]); } +void Ifc4x2::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabStandardCase -const IfcParse::entity& Ifc4x2::IfcSlabStandardCase::Class() { return *((IfcParse::entity*)IFC4X2_types[948]); } -void Ifc4x2::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSlabStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[948]); } +void Ifc4x2::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x2::IfcSlabTypeEnum::Value Ifc4x2::IfcSlabType::PredefinedType() const { return ::Ifc4x2::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSlabType::setPredefinedType(const ::Ifc4x2::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcSlabType::setPredefinedType(const ::Ifc4x2::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X2_types[949]); } -void Ifc4x2::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[949]); } +void Ifc4x2::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x2::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -13443,78 +13443,78 @@ std::optional< double > Ifc4x2::IfcSlippageConnectionCondition::SlippageZ() cons void Ifc4x2::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X2_types[951]); } +const ifcopenshell::entity& Ifc4x2::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[951]); } void Ifc4x2::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x2::IfcSolarDeviceTypeEnum::Value > Ifc4x2::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[952]); } -void Ifc4x2::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[952]); } +void Ifc4x2::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x2::IfcSolarDeviceTypeEnum::Value Ifc4x2::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x2::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x2::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x2::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[953]); } -void Ifc4x2::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[953]); } +void Ifc4x2::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x2::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X2_types[956]); } +const ifcopenshell::entity& Ifc4x2::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[956]); } void Ifc4x2::IfcSolidModel::initialize() { } // Function implementations for IfcSpace std::optional< ::Ifc4x2::IfcSpaceTypeEnum::Value > Ifc4x2::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x2::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x2::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x2::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x2::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x2::IfcRelCoversSpaces> Ifc4x2::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[863], 4)); } -std::vector<::Ifc4x2::IfcRelSpaceBoundary> Ifc4x2::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[880], 4)); } +std::vector<::Ifc4x2::IfcRelCoversSpaces> Ifc4x2::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[863], 4)); } +std::vector<::Ifc4x2::IfcRelSpaceBoundary> Ifc4x2::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[880], 4)); } -const IfcParse::entity& Ifc4x2::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X2_types[962]); } -void Ifc4x2::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x2::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4x2::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X2_types[962]); } +void Ifc4x2::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x2::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value > Ifc4x2::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X2_types[964]); } -void Ifc4x2::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X2_types[964]); } +void Ifc4x2::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value Ifc4x2::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x2::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X2_types[965]); } -void Ifc4x2::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[965]); } +void Ifc4x2::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x2::IfcSpaceTypeEnum::Value Ifc4x2::IfcSpaceType::PredefinedType() const { return ::Ifc4x2::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSpaceType::setPredefinedType(const ::Ifc4x2::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcSpaceType::setPredefinedType(const ::Ifc4x2::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x2::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x2::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X2_types[967]); } -void Ifc4x2::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x2::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[967]); } +void Ifc4x2::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x2::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x2::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x2::IfcRelContainedInSpatialStructure> Ifc4x2::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[861], 5)); } -std::vector<::Ifc4x2::IfcRelServicesBuildings> Ifc4x2::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[879], 5)); } -std::vector<::Ifc4x2::IfcRelReferencedInSpatialStructure> Ifc4x2::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[877], 5)); } +std::vector<::Ifc4x2::IfcRelContainedInSpatialStructure> Ifc4x2::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[861], 5)); } +std::vector<::Ifc4x2::IfcRelServicesBuildings> Ifc4x2::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[879], 5)); } +std::vector<::Ifc4x2::IfcRelReferencedInSpatialStructure> Ifc4x2::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[877], 5)); } -const IfcParse::entity& Ifc4x2::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X2_types[969]); } +const ifcopenshell::entity& Ifc4x2::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[969]); } void Ifc4x2::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -13522,47 +13522,47 @@ std::optional< std::string > Ifc4x2::IfcSpatialElementType::ElementType() const void Ifc4x2::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[970]); } +const ifcopenshell::entity& Ifc4x2::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[970]); } void Ifc4x2::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > Ifc4x2::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X2_types[971]); } -void Ifc4x2::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[971]); } +void Ifc4x2::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x2::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[972]); } +const ifcopenshell::entity& Ifc4x2::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[972]); } void Ifc4x2::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x2::IfcSpatialZoneTypeEnum::Value > Ifc4x2::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x2::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x2::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X2_types[973]); } -void Ifc4x2::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X2_types[973]); } +void Ifc4x2::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x2::IfcSpatialZoneTypeEnum::Value Ifc4x2::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x2::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x2::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x2::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x2::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x2::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X2_types[974]); } -void Ifc4x2::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x2::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[974]); } +void Ifc4x2::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x2::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x2::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X2_types[980]); } +const ifcopenshell::entity& Ifc4x2::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X2_types[980]); } void Ifc4x2::IfcSphere::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -13570,32 +13570,32 @@ double Ifc4x2::IfcSphericalSurface::Radius() const { double v = get_attribute_v void Ifc4x2::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[981]); } +const ifcopenshell::entity& Ifc4x2::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[981]); } void Ifc4x2::IfcSphericalSurface::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x2::IfcStackTerminalTypeEnum::Value > Ifc4x2::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X2_types[982]); } -void Ifc4x2::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X2_types[982]); } +void Ifc4x2::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x2::IfcStackTerminalTypeEnum::Value Ifc4x2::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x2::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcStackTerminalType::setPredefinedType(const ::Ifc4x2::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcStackTerminalType::setPredefinedType(const ::Ifc4x2::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X2_types[983]); } -void Ifc4x2::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[983]); } +void Ifc4x2::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x2::IfcStairTypeEnum::Value > Ifc4x2::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcStair::setPredefinedType(const std::optional< ::Ifc4x2::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcStair::setPredefinedType(const std::optional< ::Ifc4x2::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcStair::Class() { return *((IfcParse::entity*)IFC4X2_types[985]); } -void Ifc4x2::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X2_types[985]); } +void Ifc4x2::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x2::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -13607,50 +13607,50 @@ void Ifc4x2::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { std::optional< double > Ifc4x2::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x2::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x2::IfcStairFlightTypeEnum::Value > Ifc4x2::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x2::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x2::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x2::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x2::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x2::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x2::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x2::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X2_types[986]); } -void Ifc4x2::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x2::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X2_types[986]); } +void Ifc4x2::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x2::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x2::IfcStairFlightTypeEnum::Value Ifc4x2::IfcStairFlightType::PredefinedType() const { return ::Ifc4x2::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcStairFlightType::setPredefinedType(const ::Ifc4x2::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcStairFlightType::setPredefinedType(const ::Ifc4x2::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X2_types[987]); } -void Ifc4x2::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[987]); } +void Ifc4x2::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x2::IfcStairTypeEnum::Value Ifc4x2::IfcStairType::PredefinedType() const { return ::Ifc4x2::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcStairType::setPredefinedType(const ::Ifc4x2::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcStairType::setPredefinedType(const ::Ifc4x2::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X2_types[989]); } -void Ifc4x2::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[989]); } +void Ifc4x2::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x2::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x2::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X2_types[992]); } -void Ifc4x2::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x2::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[992]); } +void Ifc4x2::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x2::IfcStructuralLoad Ifc4x2::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x2::IfcStructuralLoad>(); } void Ifc4x2::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x2::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x2::IfcGlobalOrLocalEnum::Value Ifc4x2::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x2::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x2::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x2::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x2::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x2::IfcRelConnectsStructuralActivity> Ifc4x2::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[857], 5)); } +std::vector<::Ifc4x2::IfcRelConnectsStructuralActivity> Ifc4x2::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[857], 5)); } -const IfcParse::entity& Ifc4x2::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X2_types[993]); } -void Ifc4x2::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X2_types[993]); } +void Ifc4x2::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x2::IfcAnalysisModelTypeEnum::Value Ifc4x2::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x2::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x2::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x2::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x2::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x2::IfcAxis2Placement3D Ifc4x2::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x2::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcAxis2Placement3D>(); } void Ifc4x2::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x2::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x2::IfcStructuralLoadGroup > > Ifc4x2::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x2::IfcStructuralLoadGroup>(es); } @@ -13661,16 +13661,16 @@ void Ifc4x2::IfcStructuralAnalysisModel::setHasResults(const std::optional< std: void Ifc4x2::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x2::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X2_types[995]); } -void Ifc4x2::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x2::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x2::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x2::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x2::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4x2::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[995]); } +void Ifc4x2::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x2::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x2::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x2::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x2::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x2::IfcBoundaryCondition Ifc4x2::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x2::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x2::IfcBoundaryCondition>(); } void Ifc4x2::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x2::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x2::IfcRelConnectsStructuralMember> Ifc4x2::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[858], 5)); } +std::vector<::Ifc4x2::IfcRelConnectsStructuralMember> Ifc4x2::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[858], 5)); } -const IfcParse::entity& Ifc4x2::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X2_types[996]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X2_types[996]); } void Ifc4x2::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -13678,70 +13678,70 @@ std::optional< std::string > Ifc4x2::IfcStructuralConnectionCondition::Name() co void Ifc4x2::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x2::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X2_types[997]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X2_types[997]); } void Ifc4x2::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > Ifc4x2::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x2::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x2::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X2_types[998]); } -void Ifc4x2::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[998]); } +void Ifc4x2::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x2::IfcDirection Ifc4x2::IfcStructuralCurveConnection::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x2::IfcDirection>(); } void Ifc4x2::IfcStructuralCurveConnection::setAxis(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X2_types[1000]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1000]); } void Ifc4x2::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value Ifc4x2::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x2::IfcDirection Ifc4x2::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x2::IfcDirection>(); } void Ifc4x2::IfcStructuralCurveMember::setAxis(const ::Ifc4x2::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X2_types[1001]); } -void Ifc4x2::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1001]); } +void Ifc4x2::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x2::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X2_types[1003]); } -void Ifc4x2::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1003]); } +void Ifc4x2::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x2::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X2_types[1004]); } -void Ifc4x2::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1004]); } +void Ifc4x2::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x2::IfcRelConnectsStructuralActivity> Ifc4x2::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[857], 4)); } +std::vector<::Ifc4x2::IfcRelConnectsStructuralActivity> Ifc4x2::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[857], 4)); } -const IfcParse::entity& Ifc4x2::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X2_types[1005]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1005]); } void Ifc4x2::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x2::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X2_types[1006]); } -void Ifc4x2::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1006]); } +void Ifc4x2::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x2::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x2::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X2_types[1007]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1007]); } void Ifc4x2::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -13749,8 +13749,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x2::IfcStructuralLoadCase:: void Ifc4x2::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X2_types[1008]); } -void Ifc4x2::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4x2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1008]); } +void Ifc4x2::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x2::IfcStructuralLoadOrResult > Ifc4x2::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x2::IfcStructuralLoadOrResult>(es); } @@ -13759,26 +13759,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x2::IfcStructuralLoadC void Ifc4x2::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X2_types[1009]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1009]); } void Ifc4x2::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x2::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x2::IfcLoadGroupTypeEnum::Value Ifc4x2::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x2::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x2::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x2::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x2::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x2::IfcActionTypeEnum::Value Ifc4x2::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x2::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x2::IfcStructuralLoadGroup::setActionType(const ::Ifc4x2::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x2::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x2::IfcStructuralLoadGroup::setActionType(const ::Ifc4x2::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x2::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x2::IfcActionSourceTypeEnum::Value Ifc4x2::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x2::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x2::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x2::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x2::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x2::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x2::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x2::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x2::IfcStructuralResultGroup> Ifc4x2::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[1026], 6)); } -std::vector<::Ifc4x2::IfcStructuralAnalysisModel> Ifc4x2::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[995], 7)); } +std::vector<::Ifc4x2::IfcStructuralResultGroup> Ifc4x2::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[1026], 6)); } +std::vector<::Ifc4x2::IfcStructuralAnalysisModel> Ifc4x2::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[995], 7)); } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X2_types[1010]); } -void Ifc4x2::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4x2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1010]); } +void Ifc4x2::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x2::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -13795,13 +13795,13 @@ std::optional< double > Ifc4x2::IfcStructuralLoadLinearForce::LinearMomentZ() co void Ifc4x2::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X2_types[1011]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1011]); } void Ifc4x2::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x2::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X2_types[1012]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1012]); } void Ifc4x2::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -13813,7 +13813,7 @@ std::optional< double > Ifc4x2::IfcStructuralLoadPlanarForce::PlanarForceZ() con void Ifc4x2::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X2_types[1013]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1013]); } void Ifc4x2::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -13831,7 +13831,7 @@ std::optional< double > Ifc4x2::IfcStructuralLoadSingleDisplacement::RotationalD void Ifc4x2::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X2_types[1014]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1014]); } void Ifc4x2::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -13839,7 +13839,7 @@ std::optional< double > Ifc4x2::IfcStructuralLoadSingleDisplacementDistortion::D void Ifc4x2::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X2_types[1015]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1015]); } void Ifc4x2::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -13857,7 +13857,7 @@ std::optional< double > Ifc4x2::IfcStructuralLoadSingleForce::MomentZ() const { void Ifc4x2::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X2_types[1016]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1016]); } void Ifc4x2::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -13865,13 +13865,13 @@ std::optional< double > Ifc4x2::IfcStructuralLoadSingleForceWarping::WarpingMome void Ifc4x2::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X2_types[1017]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1017]); } void Ifc4x2::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x2::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X2_types[1018]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1018]); } void Ifc4x2::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -13883,105 +13883,105 @@ std::optional< double > Ifc4x2::IfcStructuralLoadTemperature::DeltaTZ() const { void Ifc4x2::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X2_types[1019]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1019]); } void Ifc4x2::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x2::IfcRelConnectsStructuralMember> Ifc4x2::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[858], 4)); } +std::vector<::Ifc4x2::IfcRelConnectsStructuralMember> Ifc4x2::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[858], 4)); } -const IfcParse::entity& Ifc4x2::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X2_types[1020]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1020]); } void Ifc4x2::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x2::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X2_types[1021]); } -void Ifc4x2::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1021]); } +void Ifc4x2::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x2::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X2_types[1022]); } -void Ifc4x2::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x2::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1022]); } +void Ifc4x2::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x2::IfcAxis2Placement3D Ifc4x2::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x2::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x2::IfcAxis2Placement3D>(); } void Ifc4x2::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x2::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X2_types[1023]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1023]); } void Ifc4x2::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x2::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x2::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X2_types[1024]); } -void Ifc4x2::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1024]); } +void Ifc4x2::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x2::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X2_types[1025]); } -void Ifc4x2::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1025]); } +void Ifc4x2::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x2::IfcAnalysisTheoryTypeEnum::Value Ifc4x2::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x2::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x2::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x2::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x2::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x2::IfcStructuralLoadGroup Ifc4x2::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x2::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x2::IfcStructuralLoadGroup>(); } void Ifc4x2::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x2::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x2::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x2::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x2::IfcStructuralAnalysisModel> Ifc4x2::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[995], 8)); } +std::vector<::Ifc4x2::IfcStructuralAnalysisModel> Ifc4x2::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[995], 8)); } -const IfcParse::entity& Ifc4x2::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X2_types[1026]); } -void Ifc4x2::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x2::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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(&::Ifc4x2::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1026]); } +void Ifc4x2::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x2::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > Ifc4x2::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x2::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x2::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X2_types[1027]); } -void Ifc4x2::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1027]); } +void Ifc4x2::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x2::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X2_types[1029]); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1029]); } void Ifc4x2::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x2::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x2::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x2::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X2_types[1030]); } -void Ifc4x2::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x2::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1030]); } +void Ifc4x2::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x2::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X2_types[1032]); } -void Ifc4x2::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x2::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1032]); } +void Ifc4x2::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x2::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X2_types[1033]); } -void Ifc4x2::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1033]); } +void Ifc4x2::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x2::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X2_types[1037]); } +const ifcopenshell::entity& Ifc4x2::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1037]); } void Ifc4x2::IfcStyleModel::initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -13993,43 +13993,43 @@ std::optional< std::string > Ifc4x2::IfcStyledItem::Name() const { if(get_attrib void Ifc4x2::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X2_types[1035]); } +const ifcopenshell::entity& Ifc4x2::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1035]); } void Ifc4x2::IfcStyledItem::initialize(::Ifc4x2::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x2::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x2::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X2_types[1036]); } +const ifcopenshell::entity& Ifc4x2::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1036]); } void Ifc4x2::IfcStyledRepresentation::initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x2::IfcSubContractResourceTypeEnum::Value > Ifc4x2::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x2::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X2_types[1038]); } -void Ifc4x2::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1038]); } +void Ifc4x2::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x2::IfcSubContractResourceTypeEnum::Value Ifc4x2::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x2::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x2::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x2::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x2::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X2_types[1039]); } -void Ifc4x2::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1039]); } +void Ifc4x2::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x2::IfcEdge Ifc4x2::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcEdge>(); } void Ifc4x2::IfcSubedge::setParentEdge(const ::Ifc4x2::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X2_types[1041]); } +const ifcopenshell::entity& Ifc4x2::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1041]); } void Ifc4x2::IfcSubedge::initialize(::Ifc4x2::IfcVertex v1_EdgeStart, ::Ifc4x2::IfcVertex v2_EdgeEnd, ::Ifc4x2::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x2::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[1042]); } +const ifcopenshell::entity& Ifc4x2::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1042]); } void Ifc4x2::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -14038,11 +14038,11 @@ void Ifc4x2::IfcSurfaceCurve::setCurve3D(const ::Ifc4x2::IfcCurve& v) { set_attr std::vector< ::Ifc4x2::IfcPcurve > Ifc4x2::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x2::IfcPcurve>(es); } void Ifc4x2::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x2::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x2::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x2::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x2::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[1043]); } -void Ifc4x2::IfcSurfaceCurve::initialize(::Ifc4x2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1043]); } +void Ifc4x2::IfcSurfaceCurve::initialize(::Ifc4x2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x2::IfcCurve Ifc4x2::IfcSurfaceCurveSweptAreaSolid::Directrix() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcCurve>(); } @@ -14055,16 +14055,16 @@ void Ifc4x2::IfcSurfaceCurveSweptAreaSolid::setEndParam(const std::optional< dou void Ifc4x2::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x2::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X2_types[1044]); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1044]); } void Ifc4x2::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x2::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix)); if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x2::IfcSurfaceFeatureTypeEnum::Value > Ifc4x2::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x2::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x2::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X2_types[1045]); } -void Ifc4x2::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1045]); } +void Ifc4x2::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x2::IfcDirection Ifc4x2::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x2::IfcDirection>(); } @@ -14073,7 +14073,7 @@ double Ifc4x2::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_attr void Ifc4x2::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X2_types[1047]); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1047]); } void Ifc4x2::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x2::IfcProfileDef v1_SweptCurve, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -14081,7 +14081,7 @@ void Ifc4x2::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x2::IfcProfileDef v1_ void Ifc4x2::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x2::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X2_types[1048]); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1048]); } void Ifc4x2::IfcSurfaceOfRevolution::initialize(::Ifc4x2::IfcProfileDef v1_SweptCurve, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -14093,18 +14093,18 @@ std::optional< double > Ifc4x2::IfcSurfaceReinforcementArea::ShearReinforcement( void Ifc4x2::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x2::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X2_types[1050]); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1050]); } void Ifc4x2::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x2::IfcSurfaceSide::Value Ifc4x2::IfcSurfaceStyle::Side() const { return ::Ifc4x2::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x2::IfcSurfaceStyle::setSide(const ::Ifc4x2::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x2::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x2::IfcSurfaceStyle::setSide(const ::Ifc4x2::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x2::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x2::IfcSurfaceStyleElementSelect > Ifc4x2::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x2::IfcSurfaceStyleElementSelect>(es); } void Ifc4x2::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x2::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[1052]); } -void Ifc4x2::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x2::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1052]); } +void Ifc4x2::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x2::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x2::IfcColourRgb Ifc4x2::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcColourRgb>(); } @@ -14117,7 +14117,7 @@ void Ifc4x2::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x2::IfcC void Ifc4x2::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x2::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x2::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X2_types[1054]); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1054]); } void Ifc4x2::IfcSurfaceStyleLighting::initialize(::Ifc4x2::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x2::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x2::IfcColourRgb v3_TransmissionColour, ::Ifc4x2::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -14127,7 +14127,7 @@ std::optional< double > Ifc4x2::IfcSurfaceStyleRefraction::DispersionFactor() co void Ifc4x2::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x2::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X2_types[1055]); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1055]); } void Ifc4x2::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -14144,11 +14144,11 @@ void Ifc4x2::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x2::IfcColo ::Ifc4x2::IfcSpecularHighlightSelect Ifc4x2::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x2::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x2::IfcSpecularHighlightSelect>(); } void Ifc4x2::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x2::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x2::IfcReflectanceMethodEnum::Value Ifc4x2::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x2::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x2::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x2::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x2::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X2_types[1056]); } -void Ifc4x2::IfcSurfaceStyleRendering::initialize(::Ifc4x2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x2::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x2::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x2::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x2::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x2::IfcColourOrFactor v7_SpecularColour, ::Ifc4x2::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x2::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1056]); } +void Ifc4x2::IfcSurfaceStyleRendering::initialize(::Ifc4x2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x2::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x2::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x2::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x2::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x2::IfcColourOrFactor v7_SpecularColour, ::Ifc4x2::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x2::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x2::IfcColourRgb Ifc4x2::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcColourRgb>(); } @@ -14157,7 +14157,7 @@ std::optional< double > Ifc4x2::IfcSurfaceStyleShading::Transparency() const { i void Ifc4x2::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x2::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X2_types[1057]); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1057]); } void Ifc4x2::IfcSurfaceStyleShading::initialize(::Ifc4x2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -14165,7 +14165,7 @@ std::vector< ::Ifc4x2::IfcSurfaceTexture > Ifc4x2::IfcSurfaceStyleWithTextures:: void Ifc4x2::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x2::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X2_types[1058]); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1058]); } void Ifc4x2::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -14180,10 +14180,10 @@ void Ifc4x2::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x2::IfcCartesian std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x2::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x2::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x2::IfcTextureCoordinate> Ifc4x2::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[1110], 0)); } -std::vector<::Ifc4x2::IfcSurfaceStyleWithTextures> Ifc4x2::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[1058], 0)); } +std::vector<::Ifc4x2::IfcTextureCoordinate> Ifc4x2::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[1110], 0)); } +std::vector<::Ifc4x2::IfcSurfaceStyleWithTextures> Ifc4x2::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[1058], 0)); } -const IfcParse::entity& Ifc4x2::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X2_types[1059]); } +const ifcopenshell::entity& Ifc4x2::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1059]); } void Ifc4x2::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -14193,7 +14193,7 @@ void Ifc4x2::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x2::IfcProfileDef& v) { void Ifc4x2::IfcSweptAreaSolid::setPosition(const ::Ifc4x2::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X2_types[1060]); } +const ifcopenshell::entity& Ifc4x2::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1060]); } void Ifc4x2::IfcSweptAreaSolid::initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -14209,7 +14209,7 @@ std::optional< double > Ifc4x2::IfcSweptDiskSolid::EndParam() const { if(get_att void Ifc4x2::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X2_types[1061]); } +const ifcopenshell::entity& Ifc4x2::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1061]); } void Ifc4x2::IfcSweptDiskSolid::initialize(::Ifc4x2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -14217,7 +14217,7 @@ std::optional< double > Ifc4x2::IfcSweptDiskSolidPolygonal::FilletRadius() const void Ifc4x2::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x2::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X2_types[1062]); } +const ifcopenshell::entity& Ifc4x2::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1062]); } void Ifc4x2::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -14227,47 +14227,47 @@ void Ifc4x2::IfcSweptSurface::setSweptCurve(const ::Ifc4x2::IfcProfileDef& v) { void Ifc4x2::IfcSweptSurface::setPosition(const ::Ifc4x2::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[1063]); } +const ifcopenshell::entity& Ifc4x2::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1063]); } void Ifc4x2::IfcSweptSurface::initialize(::Ifc4x2::IfcProfileDef v1_SweptCurve, ::Ifc4x2::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value > Ifc4x2::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X2_types[1064]); } -void Ifc4x2::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1064]); } +void Ifc4x2::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value Ifc4x2::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x2::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X2_types[1065]); } -void Ifc4x2::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1065]); } +void Ifc4x2::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x2::IfcRelServicesBuildings> Ifc4x2::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[879], 4)); } +std::vector<::Ifc4x2::IfcRelServicesBuildings> Ifc4x2::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[879], 4)); } -const IfcParse::entity& Ifc4x2::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X2_types[1067]); } +const ifcopenshell::entity& Ifc4x2::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1067]); } void Ifc4x2::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x2::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X2_types[1068]); } -void Ifc4x2::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1068]); } +void Ifc4x2::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x2::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[1069]); } -void Ifc4x2::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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(&::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1069]); } +void Ifc4x2::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x2::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -14290,8 +14290,8 @@ std::optional< double > Ifc4x2::IfcTShapeProfileDef::FlangeSlope() const { if(ge void Ifc4x2::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x2::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[1149]); } -void Ifc4x2::IfcTShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x2::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1149]); } +void Ifc4x2::IfcTShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x2::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -14302,7 +14302,7 @@ std::optional< std::vector< ::Ifc4x2::IfcTableColumn > > Ifc4x2::IfcTable::Colum void Ifc4x2::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x2::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcTable::Class() { return *((IfcParse::entity*)IFC4X2_types[1071]); } +const ifcopenshell::entity& Ifc4x2::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1071]); } void Ifc4x2::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x2::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x2::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -14318,7 +14318,7 @@ void Ifc4x2::IfcTableColumn::setUnit(const ::Ifc4x2::IfcUnit& v) { set_attribute void Ifc4x2::IfcTableColumn::setReferencePath(const ::Ifc4x2::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X2_types[1072]); } +const ifcopenshell::entity& Ifc4x2::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1072]); } void Ifc4x2::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x2::IfcUnit v4_Unit, ::Ifc4x2::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -14328,24 +14328,24 @@ std::optional< bool > Ifc4x2::IfcTableRow::IsHeading() const { if(get_attribute_ void Ifc4x2::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x2::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X2_types[1073]); } +const ifcopenshell::entity& Ifc4x2::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1073]); } void Ifc4x2::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x2::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x2::IfcTankTypeEnum::Value > Ifc4x2::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcTank::setPredefinedType(const std::optional< ::Ifc4x2::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcTank::setPredefinedType(const std::optional< ::Ifc4x2::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcTank::Class() { return *((IfcParse::entity*)IFC4X2_types[1074]); } -void Ifc4x2::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1074]); } +void Ifc4x2::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x2::IfcTankTypeEnum::Value Ifc4x2::IfcTankType::PredefinedType() const { return ::Ifc4x2::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTankType::setPredefinedType(const ::Ifc4x2::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcTankType::setPredefinedType(const ::Ifc4x2::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X2_types[1075]); } -void Ifc4x2::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1075]); } +void Ifc4x2::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x2::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -14359,15 +14359,15 @@ void Ifc4x2::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_a ::Ifc4x2::IfcTaskTime Ifc4x2::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x2::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x2::IfcTaskTime>(); } void Ifc4x2::IfcTask::setTaskTime(const ::Ifc4x2::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value > Ifc4x2::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x2::IfcTask::setPredefinedType(const std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x2::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x2::IfcTask::setPredefinedType(const std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x2::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x2::IfcTask::Class() { return *((IfcParse::entity*)IFC4X2_types[1077]); } -void Ifc4x2::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x2::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1077]); } +void Ifc4x2::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x2::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x2::IfcTaskDurationEnum::Value > Ifc4x2::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x2::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x2::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x2::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x2::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x2::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x2::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x2::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x2::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x2::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -14402,26 +14402,26 @@ std::optional< double > Ifc4x2::IfcTaskTime::Completion() const { if(get_attribu void Ifc4x2::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x2::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X2_types[1079]); } -void Ifc4x2::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1079]); } +void Ifc4x2::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x2::IfcRecurrencePattern Ifc4x2::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x2::IfcRecurrencePattern>(); } void Ifc4x2::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x2::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x2::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X2_types[1080]); } -void Ifc4x2::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x2::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x2::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)); } +const ifcopenshell::entity& Ifc4x2::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1080]); } +void Ifc4x2::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x2::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x2::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)); } // Function implementations for IfcTaskType ::Ifc4x2::IfcTaskTypeEnum::Value Ifc4x2::IfcTaskType::PredefinedType() const { return ::Ifc4x2::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTaskType::setPredefinedType(const ::Ifc4x2::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcTaskType::setPredefinedType(const ::Ifc4x2::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x2::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x2::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x2::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X2_types[1081]); } -void Ifc4x2::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x2::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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(&::Ifc4x2::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4x2::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1081]); } +void Ifc4x2::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x2::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x2::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x2::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -14438,12 +14438,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x2::IfcTelecomAddress: void Ifc4x2::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X2_types[1083]); } -void Ifc4x2::IfcTelecomAddress::initialize(std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1083]); } +void Ifc4x2::IfcTelecomAddress::initialize(std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x2::IfcTendonTypeEnum::Value > Ifc4x2::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x2::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x2::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x2::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x2::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x2::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -14460,44 +14460,44 @@ std::optional< double > Ifc4x2::IfcTendon::MinCurvatureRadius() const { if(get_a void Ifc4x2::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x2::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X2_types[1086]); } -void Ifc4x2::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x2::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1086]); } +void Ifc4x2::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x2::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x2::IfcTendonAnchorTypeEnum::Value > Ifc4x2::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x2::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x2::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X2_types[1087]); } -void Ifc4x2::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1087]); } +void Ifc4x2::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x2::IfcTendonAnchorTypeEnum::Value Ifc4x2::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x2::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x2::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x2::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X2_types[1088]); } -void Ifc4x2::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1088]); } +void Ifc4x2::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduit ::Ifc4x2::IfcTendonConduitTypeEnum::Value Ifc4x2::IfcTendonConduit::PredefinedType() const { return ::Ifc4x2::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTendonConduit::setPredefinedType(const ::Ifc4x2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcTendonConduit::setPredefinedType(const ::Ifc4x2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X2_types[1090]); } -void Ifc4x2::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1090]); } +void Ifc4x2::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduitType ::Ifc4x2::IfcTendonConduitTypeEnum::Value Ifc4x2::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x2::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTendonConduitType::setPredefinedType(const ::Ifc4x2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcTendonConduitType::setPredefinedType(const ::Ifc4x2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X2_types[1091]); } -void Ifc4x2::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1091]); } +void Ifc4x2::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x2::IfcTendonTypeEnum::Value Ifc4x2::IfcTendonType::PredefinedType() const { return ::Ifc4x2::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTendonType::setPredefinedType(const ::Ifc4x2::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcTendonType::setPredefinedType(const ::Ifc4x2::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x2::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x2::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x2::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -14506,23 +14506,23 @@ std::optional< double > Ifc4x2::IfcTendonType::SheathDiameter() const { if(get_a void Ifc4x2::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x2::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X2_types[1093]); } -void Ifc4x2::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::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)); } } +const ifcopenshell::entity& Ifc4x2::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1093]); } +void Ifc4x2::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x2::IfcCartesianPointList3D Ifc4x2::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcCartesianPointList3D>(); } void Ifc4x2::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x2::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x2::IfcIndexedColourMap> Ifc4x2::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[508], 0)); } -std::vector<::Ifc4x2::IfcIndexedTextureMap> Ifc4x2::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[512], 1)); } +std::vector<::Ifc4x2::IfcIndexedColourMap> Ifc4x2::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[508], 0)); } +std::vector<::Ifc4x2::IfcIndexedTextureMap> Ifc4x2::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[512], 1)); } -const IfcParse::entity& Ifc4x2::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X2_types[1095]); } +const ifcopenshell::entity& Ifc4x2::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1095]); } void Ifc4x2::IfcTessellatedFaceSet::initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x2::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X2_types[1096]); } +const ifcopenshell::entity& Ifc4x2::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1096]); } void Ifc4x2::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -14531,11 +14531,11 @@ void Ifc4x2::IfcTextLiteral::setLiteral(const std::string& v) { set_attribute_va ::Ifc4x2::IfcAxis2Placement Ifc4x2::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x2::IfcAxis2Placement>(); } void Ifc4x2::IfcTextLiteral::setPlacement(const ::Ifc4x2::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x2::IfcTextPath::Value Ifc4x2::IfcTextLiteral::Path() const { return ::Ifc4x2::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x2::IfcTextLiteral::setPath(const ::Ifc4x2::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x2::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x2::IfcTextLiteral::setPath(const ::Ifc4x2::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x2::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X2_types[1102]); } -void Ifc4x2::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x2::IfcAxis2Placement v2_Placement, ::Ifc4x2::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x2::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1102]); } +void Ifc4x2::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x2::IfcAxis2Placement v2_Placement, ::Ifc4x2::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x2::IfcPlanarExtent Ifc4x2::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x2::IfcPlanarExtent>(); } @@ -14544,8 +14544,8 @@ std::string Ifc4x2::IfcTextLiteralWithExtent::BoxAlignment() const { std::strin void Ifc4x2::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X2_types[1103]); } -void Ifc4x2::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x2::IfcAxis2Placement v2_Placement, ::Ifc4x2::IfcTextPath::Value v3_Path, ::Ifc4x2::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x2::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x2::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1103]); } +void Ifc4x2::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x2::IfcAxis2Placement v2_Placement, ::Ifc4x2::IfcTextPath::Value v3_Path, ::Ifc4x2::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x2::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x2::IfcTextStyleForDefinedFont Ifc4x2::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x2::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x2::IfcTextStyleForDefinedFont>(); } @@ -14558,7 +14558,7 @@ std::optional< bool > Ifc4x2::IfcTextStyle::ModelOrDraughting() const { if(get_a void Ifc4x2::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[1105]); } +const ifcopenshell::entity& Ifc4x2::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1105]); } void Ifc4x2::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x2::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x2::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -14574,7 +14574,7 @@ void Ifc4x2::IfcTextStyleFontModel::setFontWeight(const std::optional< std::stri void Ifc4x2::IfcTextStyleFontModel::setFontSize(const ::Ifc4x2::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X2_types[1106]); } +const ifcopenshell::entity& Ifc4x2::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1106]); } void Ifc4x2::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x2::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -14584,7 +14584,7 @@ void Ifc4x2::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x2::IfcColour& v) void Ifc4x2::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x2::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X2_types[1107]); } +const ifcopenshell::entity& Ifc4x2::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1107]); } void Ifc4x2::IfcTextStyleForDefinedFont::initialize(::Ifc4x2::IfcColour v1_Colour, ::Ifc4x2::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -14604,7 +14604,7 @@ void Ifc4x2::IfcTextStyleTextModel::setTextTransform(const std::optional< std::s void Ifc4x2::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x2::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X2_types[1108]); } +const ifcopenshell::entity& Ifc4x2::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1108]); } void Ifc4x2::IfcTextStyleTextModel::initialize(::Ifc4x2::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x2::IfcSizeSelect v4_LetterSpacing, ::Ifc4x2::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x2::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -14612,7 +14612,7 @@ std::vector< ::Ifc4x2::IfcSurfaceTexture > Ifc4x2::IfcTextureCoordinate::Maps() void Ifc4x2::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x2::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X2_types[1110]); } +const ifcopenshell::entity& Ifc4x2::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1110]); } void Ifc4x2::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -14622,7 +14622,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x2::IfcTextureCoordinateGen void Ifc4x2::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x2::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X2_types[1111]); } +const ifcopenshell::entity& Ifc4x2::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1111]); } void Ifc4x2::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureMap @@ -14632,7 +14632,7 @@ void Ifc4x2::IfcTextureMap::setVertices(const std::vector< ::Ifc4x2::IfcTextureV void Ifc4x2::IfcTextureMap::setMappedTo(const ::Ifc4x2::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X2_types[1112]); } +const ifcopenshell::entity& Ifc4x2::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1112]); } void Ifc4x2::IfcTextureMap::initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x2::IfcTextureVertex > v2_Vertices, ::Ifc4x2::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -14640,7 +14640,7 @@ std::vector< double > /*[2:2]*/ Ifc4x2::IfcTextureVertex::Coordinates() const { void Ifc4x2::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X2_types[1113]); } +const ifcopenshell::entity& Ifc4x2::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1113]); } void Ifc4x2::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -14648,7 +14648,7 @@ std::vector< std::vector< double > > Ifc4x2::IfcTextureVertexList::TexCoordsList void Ifc4x2::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X2_types[1114]); } +const ifcopenshell::entity& Ifc4x2::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1114]); } void Ifc4x2::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcTimePeriod @@ -14658,7 +14658,7 @@ std::string Ifc4x2::IfcTimePeriod::EndTime() const { std::string v = get_attrib void Ifc4x2::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X2_types[1124]); } +const ifcopenshell::entity& Ifc4x2::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1124]); } void Ifc4x2::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -14671,37 +14671,37 @@ void Ifc4x2::IfcTimeSeries::setStartTime(const std::string& v) { set_attribute_v std::string Ifc4x2::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x2::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value Ifc4x2::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x2::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x2::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x2::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x2::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x2::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x2::IfcDataOriginEnum::Value Ifc4x2::IfcTimeSeries::DataOrigin() const { return ::Ifc4x2::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcTimeSeries::setDataOrigin(const ::Ifc4x2::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x2::IfcTimeSeries::setDataOrigin(const ::Ifc4x2::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x2::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x2::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x2::IfcUnit Ifc4x2::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x2::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x2::IfcUnit>(); } void Ifc4x2::IfcTimeSeries::setUnit(const ::Ifc4x2::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[407], 3)); } +std::vector<::Ifc4x2::IfcExternalReferenceRelationship> Ifc4x2::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[407], 3)); } -const IfcParse::entity& Ifc4x2::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X2_types[1125]); } -void Ifc4x2::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x2::IfcUnit v8_Unit) { 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(&::Ifc4x2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4x2::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1125]); } +void Ifc4x2::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x2::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x2::IfcValue > Ifc4x2::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcValue>(es); } void Ifc4x2::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x2::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X2_types[1127]); } +const ifcopenshell::entity& Ifc4x2::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1127]); } void Ifc4x2::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x2::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x2::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X2_types[1129]); } +const ifcopenshell::entity& Ifc4x2::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1129]); } void Ifc4x2::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x2::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X2_types[1130]); } +const ifcopenshell::entity& Ifc4x2::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1130]); } void Ifc4x2::IfcTopologyRepresentation::initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -14711,24 +14711,24 @@ double Ifc4x2::IfcToroidalSurface::MinorRadius() const { double v = get_attribu void Ifc4x2::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x2::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X2_types[1131]); } +const ifcopenshell::entity& Ifc4x2::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1131]); } void Ifc4x2::IfcToroidalSurface::initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTransformer std::optional< ::Ifc4x2::IfcTransformerTypeEnum::Value > Ifc4x2::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x2::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x2::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X2_types[1133]); } -void Ifc4x2::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1133]); } +void Ifc4x2::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x2::IfcTransformerTypeEnum::Value Ifc4x2::IfcTransformerType::PredefinedType() const { return ::Ifc4x2::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTransformerType::setPredefinedType(const ::Ifc4x2::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcTransformerType::setPredefinedType(const ::Ifc4x2::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X2_types[1134]); } -void Ifc4x2::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1134]); } +void Ifc4x2::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransitionCurveSegment2D std::optional< double > Ifc4x2::IfcTransitionCurveSegment2D::StartRadius() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } @@ -14740,27 +14740,27 @@ void Ifc4x2::IfcTransitionCurveSegment2D::setIsStartRadiusCCW(const bool& v) { s bool Ifc4x2::IfcTransitionCurveSegment2D::IsEndRadiusCCW() const { bool v = get_attribute_value(6); return v; } void Ifc4x2::IfcTransitionCurveSegment2D::setIsEndRadiusCCW(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x2::IfcTransitionCurveType::Value Ifc4x2::IfcTransitionCurveSegment2D::TransitionCurveType() const { return ::Ifc4x2::IfcTransitionCurveType::FromString(get_attribute_value(7)); } -void Ifc4x2::IfcTransitionCurveSegment2D::setTransitionCurveType(const ::Ifc4x2::IfcTransitionCurveType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x2::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x2::IfcTransitionCurveSegment2D::setTransitionCurveType(const ::Ifc4x2::IfcTransitionCurveType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x2::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x2::IfcTransitionCurveSegment2D::Class() { return *((IfcParse::entity*)IFC4X2_types[1137]); } -void Ifc4x2::IfcTransitionCurveSegment2D::initialize(::Ifc4x2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x2::IfcTransitionCurveType::Value v8_TransitionCurveType) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); if (v4_StartRadius) {set_attribute_value(3, (*v4_StartRadius)); } if (v5_EndRadius) {set_attribute_value(4, (*v5_EndRadius)); }set_attribute_value(5, (v6_IsStartRadiusCCW));set_attribute_value(6, (v7_IsEndRadiusCCW));set_attribute_value(7, (EnumerationReference(&::Ifc4x2::IfcTransitionCurveType::Class(),(size_t)v8_TransitionCurveType))); } +const ifcopenshell::entity& Ifc4x2::IfcTransitionCurveSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1137]); } +void Ifc4x2::IfcTransitionCurveSegment2D::initialize(::Ifc4x2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x2::IfcTransitionCurveType::Value v8_TransitionCurveType) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); if (v4_StartRadius) {set_attribute_value(3, (*v4_StartRadius)); } if (v5_EndRadius) {set_attribute_value(4, (*v5_EndRadius)); }set_attribute_value(5, (v6_IsStartRadiusCCW));set_attribute_value(6, (v7_IsEndRadiusCCW));set_attribute_value(7, (enumeration_reference(&::Ifc4x2::IfcTransitionCurveType::Class(),(size_t)v8_TransitionCurveType))); } // Function implementations for IfcTransportElement std::optional< ::Ifc4x2::IfcTransportElementTypeEnum::Value > Ifc4x2::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcTransportElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X2_types[1140]); } -void Ifc4x2::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1140]); } +void Ifc4x2::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransportElementType ::Ifc4x2::IfcTransportElementTypeEnum::Value Ifc4x2::IfcTransportElementType::PredefinedType() const { return ::Ifc4x2::IfcTransportElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTransportElementType::setPredefinedType(const ::Ifc4x2::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcTransportElementType::setPredefinedType(const ::Ifc4x2::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[1141]); } -void Ifc4x2::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1141]); } +void Ifc4x2::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTrapeziumProfileDef double Ifc4x2::IfcTrapeziumProfileDef::BottomXDim() const { double v = get_attribute_value(3); return v; } @@ -14773,8 +14773,8 @@ double Ifc4x2::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_attr void Ifc4x2::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x2::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[1143]); } -void Ifc4x2::IfcTrapeziumProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x2::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1143]); } +void Ifc4x2::IfcTrapeziumProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x2::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -14787,7 +14787,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x2::IfcTriangulatedFaceSet::Pn void Ifc4x2::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x2::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X2_types[1144]); } +const ifcopenshell::entity& Ifc4x2::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1144]); } void Ifc4x2::IfcTriangulatedFaceSet::initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -14795,7 +14795,7 @@ std::vector< int > /*[1:?]*/ Ifc4x2::IfcTriangulatedIrregularNetwork::Flags() co void Ifc4x2::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x2::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X2_types[1145]); } +const ifcopenshell::entity& Ifc4x2::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1145]); } void Ifc4x2::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); 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)); } // Function implementations for IfcTrimmedCurve @@ -14808,27 +14808,27 @@ void Ifc4x2::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x2::IfcTrimmingS bool Ifc4x2::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x2::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x2::IfcTrimmingPreference::Value Ifc4x2::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x2::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x2::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x2::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x2::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x2::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x2::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x2::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x2::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X2_types[1146]); } -void Ifc4x2::IfcTrimmedCurve::initialize(::Ifc4x2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x2::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x2::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x2::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x2::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x2::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1146]); } +void Ifc4x2::IfcTrimmedCurve::initialize(::Ifc4x2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x2::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x2::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x2::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x2::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x2::IfcTubeBundleTypeEnum::Value > Ifc4x2::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x2::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x2::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X2_types[1150]); } -void Ifc4x2::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1150]); } +void Ifc4x2::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x2::IfcTubeBundleTypeEnum::Value Ifc4x2::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x2::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcTubeBundleType::setPredefinedType(const ::Ifc4x2::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcTubeBundleType::setPredefinedType(const ::Ifc4x2::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X2_types[1151]); } -void Ifc4x2::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1151]); } +void Ifc4x2::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x2::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -14836,9 +14836,9 @@ void Ifc4x2::IfcTypeObject::setApplicableOccurrence(const std::optional< std::st std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > Ifc4x2::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x2::IfcPropertySetDefinition>(es); } void Ifc4x2::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x2::IfcRelDefinesByType> Ifc4x2::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[870], 5)); } +std::vector<::Ifc4x2::IfcRelDefinesByType> Ifc4x2::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[870], 5)); } -const IfcParse::entity& Ifc4x2::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X2_types[1153]); } +const ifcopenshell::entity& Ifc4x2::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1153]); } void Ifc4x2::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -14849,9 +14849,9 @@ void Ifc4x2::IfcTypeProcess::setLongDescription(const std::optional< std::string std::optional< std::string > Ifc4x2::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x2::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x2::IfcRelAssignsToProcess> Ifc4x2::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[841], 6)); } +std::vector<::Ifc4x2::IfcRelAssignsToProcess> Ifc4x2::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[841], 6)); } -const IfcParse::entity& Ifc4x2::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X2_types[1154]); } +const ifcopenshell::entity& Ifc4x2::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1154]); } void Ifc4x2::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -14860,9 +14860,9 @@ void Ifc4x2::IfcTypeProduct::setRepresentationMaps(const std::optional< std::vec std::optional< std::string > Ifc4x2::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x2::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x2::IfcRelAssignsToProduct> Ifc4x2::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[842], 6)); } +std::vector<::Ifc4x2::IfcRelAssignsToProduct> Ifc4x2::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[842], 6)); } -const IfcParse::entity& Ifc4x2::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X2_types[1155]); } +const ifcopenshell::entity& Ifc4x2::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1155]); } void Ifc4x2::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -14873,9 +14873,9 @@ void Ifc4x2::IfcTypeResource::setLongDescription(const std::optional< std::strin std::optional< std::string > Ifc4x2::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x2::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x2::IfcRelAssignsToResource> Ifc4x2::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X2_types[843], 6)); } +std::vector<::Ifc4x2::IfcRelAssignsToResource> Ifc4x2::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X2_types[843], 6)); } -const IfcParse::entity& Ifc4x2::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X2_types[1156]); } +const ifcopenshell::entity& Ifc4x2::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1156]); } void Ifc4x2::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -14895,64 +14895,64 @@ std::optional< double > Ifc4x2::IfcUShapeProfileDef::FlangeSlope() const { if(ge void Ifc4x2::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[1167]); } -void Ifc4x2::IfcUShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x2::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1167]); } +void Ifc4x2::IfcUShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x2::IfcUnit > Ifc4x2::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x2::IfcUnit>(es); } void Ifc4x2::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x2::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X2_types[1164]); } +const ifcopenshell::entity& Ifc4x2::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1164]); } void Ifc4x2::IfcUnitAssignment::initialize(std::vector< ::Ifc4x2::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value > Ifc4x2::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X2_types[1158]); } -void Ifc4x2::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1158]); } +void Ifc4x2::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value Ifc4x2::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x2::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X2_types[1159]); } -void Ifc4x2::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1159]); } +void Ifc4x2::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x2::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X2_types[1161]); } -void Ifc4x2::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1161]); } +void Ifc4x2::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value Ifc4x2::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X2_types[1162]); } -void Ifc4x2::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1162]); } +void Ifc4x2::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x2::IfcValveTypeEnum::Value > Ifc4x2::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcValve::setPredefinedType(const std::optional< ::Ifc4x2::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcValve::setPredefinedType(const std::optional< ::Ifc4x2::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcValve::Class() { return *((IfcParse::entity*)IFC4X2_types[1169]); } -void Ifc4x2::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1169]); } +void Ifc4x2::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x2::IfcValveTypeEnum::Value Ifc4x2::IfcValveType::PredefinedType() const { return ::Ifc4x2::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcValveType::setPredefinedType(const ::Ifc4x2::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcValveType::setPredefinedType(const ::Ifc4x2::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X2_types[1170]); } -void Ifc4x2::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1170]); } +void Ifc4x2::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x2::IfcDirection Ifc4x2::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x2::IfcDirection>(); } @@ -14961,13 +14961,13 @@ double Ifc4x2::IfcVector::Magnitude() const { double v = get_attribute_value(1) void Ifc4x2::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcVector::Class() { return *((IfcParse::entity*)IFC4X2_types[1173]); } +const ifcopenshell::entity& Ifc4x2::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1173]); } void Ifc4x2::IfcVector::initialize(::Ifc4x2::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x2::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X2_types[1175]); } +const ifcopenshell::entity& Ifc4x2::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1175]); } void Ifc4x2::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -14975,7 +14975,7 @@ void Ifc4x2::IfcVertex::initialize() { } void Ifc4x2::IfcVertexLoop::setLoopVertex(const ::Ifc4x2::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X2_types[1176]); } +const ifcopenshell::entity& Ifc4x2::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1176]); } void Ifc4x2::IfcVertexLoop::initialize(::Ifc4x2::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -14983,45 +14983,45 @@ void Ifc4x2::IfcVertexLoop::initialize(::Ifc4x2::IfcVertex v1_LoopVertex) { set_ void Ifc4x2::IfcVertexPoint::setVertexGeometry(const ::Ifc4x2::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x2::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X2_types[1177]); } +const ifcopenshell::entity& Ifc4x2::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1177]); } void Ifc4x2::IfcVertexPoint::initialize(::Ifc4x2::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationDamper std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > Ifc4x2::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X2_types[1178]); } -void Ifc4x2::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1178]); } +void Ifc4x2::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationDamperType std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > Ifc4x2::IfcVibrationDamperType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x2::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x2::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X2_types[1179]); } -void Ifc4x2::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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(&::Ifc4x2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1179]); } +void Ifc4x2::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value > Ifc4x2::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X2_types[1181]); } -void Ifc4x2::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1181]); } +void Ifc4x2::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value Ifc4x2::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x2::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X2_types[1182]); } -void Ifc4x2::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1182]); } +void Ifc4x2::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement -const IfcParse::entity& Ifc4x2::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X2_types[1184]); } +const ifcopenshell::entity& Ifc4x2::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1184]); } void Ifc4x2::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVirtualGridIntersection @@ -15031,60 +15031,60 @@ std::vector< double > /*[2:3]*/ Ifc4x2::IfcVirtualGridIntersection::OffsetDistan void Ifc4x2::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x2::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X2_types[1185]); } +const ifcopenshell::entity& Ifc4x2::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1185]); } void Ifc4x2::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x2::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x2::IfcVoidingFeatureTypeEnum::Value > Ifc4x2::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x2::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x2::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X2_types[1186]); } -void Ifc4x2::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1186]); } +void Ifc4x2::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > Ifc4x2::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcWall::setPredefinedType(const std::optional< ::Ifc4x2::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcWall::setPredefinedType(const std::optional< ::Ifc4x2::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcWall::Class() { return *((IfcParse::entity*)IFC4X2_types[1190]); } -void Ifc4x2::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1190]); } +void Ifc4x2::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallElementedCase -const IfcParse::entity& Ifc4x2::IfcWallElementedCase::Class() { return *((IfcParse::entity*)IFC4X2_types[1191]); } -void Ifc4x2::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcWallElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1191]); } +void Ifc4x2::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x2::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X2_types[1192]); } -void Ifc4x2::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1192]); } +void Ifc4x2::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x2::IfcWallTypeEnum::Value Ifc4x2::IfcWallType::PredefinedType() const { return ::Ifc4x2::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcWallType::setPredefinedType(const ::Ifc4x2::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcWallType::setPredefinedType(const ::Ifc4x2::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X2_types[1193]); } -void Ifc4x2::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1193]); } +void Ifc4x2::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x2::IfcWasteTerminalTypeEnum::Value > Ifc4x2::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x2::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X2_types[1198]); } -void Ifc4x2::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1198]); } +void Ifc4x2::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x2::IfcWasteTerminalTypeEnum::Value Ifc4x2::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x2::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x2::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x2::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x2::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X2_types[1199]); } -void Ifc4x2::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x2::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1199]); } +void Ifc4x2::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWindow std::optional< double > Ifc4x2::IfcWindow::OverallHeight() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } @@ -15092,15 +15092,15 @@ void Ifc4x2::IfcWindow::setOverallHeight(const std::optional< double >& v) { if std::optional< double > Ifc4x2::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x2::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x2::IfcWindowTypeEnum::Value > Ifc4x2::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x2::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x2::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x2::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x2::IfcWindowTypePartitioningEnum::Value > Ifc4x2::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x2::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x2::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x2::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x2::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x2::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x2::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x2::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X2_types[1201]); } -void Ifc4x2::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x2::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1201]); } +void Ifc4x2::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x2::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -15129,14 +15129,14 @@ std::optional< double > Ifc4x2::IfcWindowLiningProperties::LiningToPanelOffsetY( void Ifc4x2::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x2::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[1202]); } +const ifcopenshell::entity& Ifc4x2::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1202]); } void Ifc4x2::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x2::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x2::IfcWindowPanelOperationEnum::Value Ifc4x2::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x2::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x2::IfcWindowPanelProperties::setOperationType(const ::Ifc4x2::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x2::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x2::IfcWindowPanelProperties::setOperationType(const ::Ifc4x2::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x2::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x2::IfcWindowPanelPositionEnum::Value Ifc4x2::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x2::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x2::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x2::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x2::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x2::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x2::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -15145,42 +15145,42 @@ void Ifc4x2::IfcWindowPanelProperties::setFrameThickness(const std::optional< do void Ifc4x2::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x2::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x2::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X2_types[1205]); } -void Ifc4x2::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x2::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x2::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)); } +const ifcopenshell::entity& Ifc4x2::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1205]); } +void Ifc4x2::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x2::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x2::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)); } // Function implementations for IfcWindowStandardCase -const IfcParse::entity& Ifc4x2::IfcWindowStandardCase::Class() { return *((IfcParse::entity*)IFC4X2_types[1206]); } -void Ifc4x2::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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(&::Ifc4x2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x2::IfcWindowStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1206]); } +void Ifc4x2::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowStyle ::Ifc4x2::IfcWindowStyleConstructionEnum::Value Ifc4x2::IfcWindowStyle::ConstructionType() const { return ::Ifc4x2::IfcWindowStyleConstructionEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcWindowStyle::setConstructionType(const ::Ifc4x2::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x2::IfcWindowStyle::setConstructionType(const ::Ifc4x2::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x2::IfcWindowStyleOperationEnum::Value Ifc4x2::IfcWindowStyle::OperationType() const { return ::Ifc4x2::IfcWindowStyleOperationEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcWindowStyle::setOperationType(const ::Ifc4x2::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcWindowStyle::setOperationType(const ::Ifc4x2::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x2::IfcWindowStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x2::IfcWindowStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x2::IfcWindowStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x2::IfcWindowStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x2::IfcWindowStyle::Class() { return *((IfcParse::entity*)IFC4X2_types[1207]); } -void Ifc4x2::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x2::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x2::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x2::IfcWindowStyle::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1207]); } +void Ifc4x2::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x2::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x2::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcWindowType ::Ifc4x2::IfcWindowTypeEnum::Value Ifc4x2::IfcWindowType::PredefinedType() const { return ::Ifc4x2::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x2::IfcWindowType::setPredefinedType(const ::Ifc4x2::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x2::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x2::IfcWindowType::setPredefinedType(const ::Ifc4x2::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x2::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x2::IfcWindowTypePartitioningEnum::Value Ifc4x2::IfcWindowType::PartitioningType() const { return ::Ifc4x2::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x2::IfcWindowType::setPartitioningType(const ::Ifc4x2::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x2::IfcWindowType::setPartitioningType(const ::Ifc4x2::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x2::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x2::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x2::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x2::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x2::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X2_types[1210]); } -void Ifc4x2::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x2::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x2::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1210]); } +void Ifc4x2::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x2::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x2::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x2::IfcWorkTime > > Ifc4x2::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x2::IfcWorkTime>(es); } @@ -15188,11 +15188,11 @@ void Ifc4x2::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vector< std::optional< std::vector< ::Ifc4x2::IfcWorkTime > > Ifc4x2::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x2::IfcWorkTime>(es); } void Ifc4x2::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x2::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x2::IfcWorkCalendarTypeEnum::Value > Ifc4x2::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x2::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x2::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x2::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x2::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x2::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x2::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X2_types[1213]); } -void Ifc4x2::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x2::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x2::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x2::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1213]); } +void Ifc4x2::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x2::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x2::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x2::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x2::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -15211,24 +15211,24 @@ std::optional< std::string > Ifc4x2::IfcWorkControl::FinishTime() const { if(get void Ifc4x2::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x2::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X2_types[1215]); } +const ifcopenshell::entity& Ifc4x2::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1215]); } void Ifc4x2::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x2::IfcWorkPlanTypeEnum::Value > Ifc4x2::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x2::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x2::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x2::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x2::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x2::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x2::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x2::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X2_types[1216]); } -void Ifc4x2::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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(&::Ifc4x2::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1216]); } +void Ifc4x2::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x2::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x2::IfcWorkScheduleTypeEnum::Value > Ifc4x2::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x2::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x2::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x2::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x2::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x2::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x2::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x2::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x2::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X2_types[1218]); } -void Ifc4x2::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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(&::Ifc4x2::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x2::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1218]); } +void Ifc4x2::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x2::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x2::IfcRecurrencePattern Ifc4x2::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x2::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x2::IfcRecurrencePattern>(); } @@ -15239,8 +15239,8 @@ std::optional< std::string > Ifc4x2::IfcWorkTime::Finish() const { if(get_attrib void Ifc4x2::IfcWorkTime::setFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x2::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X2_types[1220]); } -void Ifc4x2::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x2::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } +const ifcopenshell::entity& Ifc4x2::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1220]); } +void Ifc4x2::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x2::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x2::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -15257,14 +15257,14 @@ std::optional< double > Ifc4x2::IfcZShapeProfileDef::EdgeRadius() const { if(get void Ifc4x2::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x2::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X2_types[1222]); } -void Ifc4x2::IfcZShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x2::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1222]); } +void Ifc4x2::IfcZShapeProfileDef::initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x2::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x2::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x2::IfcZone::Class() { return *((IfcParse::entity*)IFC4X2_types[1221]); } +const ifcopenshell::entity& Ifc4x2::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X2_types[1221]); } void Ifc4x2::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x2.h b/src/ifcparse/schemas/Ifc4x2.h index b91f1fa996..0323d1494f 100644 --- a/src/ifcparse/schemas/Ifc4x2.h +++ b/src/ifcparse/schemas/Ifc4x2.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x2 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1121,7 +1121,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1145,7 +1145,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1171,7 +1171,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1264,7 +1264,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1705,7 +1705,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1730,7 +1730,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1778,7 +1778,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1811,7 +1811,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1833,7 +1833,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1859,7 +1859,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1888,7 +1888,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -1929,7 +1929,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -1974,7 +1974,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2008,7 +2008,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2165,7 +2165,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2877,7 +2877,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2899,7 +2899,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2921,7 +2921,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2943,7 +2943,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3011,7 +3011,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3038,7 +3038,7 @@ public: IfcPresentationStyleSelect() {} explicit IfcPresentationStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyle as() const { return express::Base::as(); } @@ -3085,7 +3085,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3105,7 +3105,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3133,7 +3133,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3153,7 +3153,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3175,7 +3175,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3293,7 +3293,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3315,7 +3315,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3335,7 +3335,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3365,7 +3365,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3403,7 +3403,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3506,7 +3506,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3556,7 +3556,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3587,7 +3587,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3616,7 +3616,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3644,7 +3644,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3673,7 +3673,7 @@ public: IfcStyleAssignmentSelect() {} explicit IfcStyleAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPresentationStyle as() const { return express::Base::as(); } @@ -3701,7 +3701,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3735,7 +3735,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3779,7 +3779,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3800,7 +3800,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3822,7 +3822,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3846,7 +3846,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -3878,7 +3878,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -3913,7 +3913,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4594,7 +4594,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4616,7 +4616,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4644,13 +4644,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4663,13 +4663,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_SNOW_S, IfcActionSourceType_WIND_W, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_FIRE, IfcActionSourceType_IMPULSE, IfcActionSourceType_IMPACT, IfcActionSourceType_TRANSPORT, IfcActionSourceType_ERECTION, IfcActionSourceType_PROPPING, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_CREEP, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_BUOYANCY, IfcActionSourceType_ICE, IfcActionSourceType_CURRENT, IfcActionSourceType_WAVE, IfcActionSourceType_RAIN, IfcActionSourceType_BRAKES, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4684,13 +4684,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_EXTRAORDINARY_A, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4714,13 +4714,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4739,13 +4739,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_HOME, IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4764,13 +4764,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4791,13 +4791,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4821,13 +4821,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4849,13 +4849,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4864,13 +4864,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4884,13 +4884,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4905,13 +4905,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4931,13 +4931,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4957,13 +4957,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_SITE, IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4985,13 +4985,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5013,13 +5013,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5028,13 +5028,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5081,13 +5081,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_JOIST, IfcBeamType_HOLLOWCORE, IfcBeamType_LINTEL, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_GIRDER_SEGMENT, IfcBeamType_DIAPHRAGM, IfcBeamType_PIERCAP, IfcBeamType_HATSTONE, IfcBeamType_CORNICE, IfcBeamType_EDGEBEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5096,13 +5096,13 @@ public: class IFC_PARSE_API IfcBearingTypeDisplacementEnum : public express::DeclaredType { public: IfcBearingTypeDisplacementEnum() {} - explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingTypeDisplacement_FIXED_MOVEMENT, IfcBearingTypeDisplacement_GUIDED_LONGITUDINAL, IfcBearingTypeDisplacement_GUIDED_TRANSVERSAL, IfcBearingTypeDisplacement_FREE_MOVEMENT, IfcBearingTypeDisplacement_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5111,13 +5111,13 @@ public: class IFC_PARSE_API IfcBearingTypeEnum : public express::DeclaredType { public: IfcBearingTypeEnum() {} - explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingType_CYLINDRICAL, IfcBearingType_SPHERICAL, IfcBearingType_ELASTOMERIC, IfcBearingType_POT, IfcBearingType_GUIDE, IfcBearingType_ROCKER, IfcBearingType_ROLLER, IfcBearingType_DISK, IfcBearingType_USERDEFINED, IfcBearingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5165,13 +5165,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_EQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_INCLUDES, IfcBenchmark_NOTINCLUDES, IfcBenchmark_INCLUDEDIN, IfcBenchmark_NOTINCLUDEDIN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5188,13 +5188,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_WATER, IfcBoilerType_STEAM, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5211,13 +5211,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_UNION, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_DIFFERENCE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5226,13 +5226,13 @@ public: class IFC_PARSE_API IfcBridgePartTypeEnum : public express::DeclaredType { public: IfcBridgePartTypeEnum() {} - explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgePartType_ABUTMENT, IfcBridgePartType_DECK, IfcBridgePartType_DECK_SEGMENT, IfcBridgePartType_FOUNDATION, IfcBridgePartType_PIER, IfcBridgePartType_PIER_SEGMENT, IfcBridgePartType_PYLON, IfcBridgePartType_SUBSTRUCTURE, IfcBridgePartType_SUPERSTRUCTURE, IfcBridgePartType_SURFACESTRUCTURE, IfcBridgePartType_USERDEFINED, IfcBridgePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5241,13 +5241,13 @@ public: class IFC_PARSE_API IfcBridgeTypeEnum : public express::DeclaredType { public: IfcBridgeTypeEnum() {} - explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgeType_ARCHED, IfcBridgeType_CABLE_STAYED, IfcBridgeType_CANTILEVER, IfcBridgeType_CULVERT, IfcBridgeType_FRAMEWORK, IfcBridgeType_GIRDER, IfcBridgeType_SUSPENSION, IfcBridgeType_TRUSS, IfcBridgeType_USERDEFINED, IfcBridgeType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5263,13 +5263,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_APRON, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5288,13 +5288,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5316,13 +5316,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_REINFORCING, IfcBuildingSystemType_PRESTRESSING, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5337,13 +5337,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5361,13 +5361,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5385,13 +5385,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5410,13 +5410,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5436,13 +5436,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5451,13 +5451,13 @@ public: class IFC_PARSE_API IfcCaissonFoundationTypeEnum : public express::DeclaredType { public: IfcCaissonFoundationTypeEnum() {} - explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCaissonFoundationType_WELL, IfcCaissonFoundationType_CAISSON, IfcCaissonFoundationType_USERDEFINED, IfcCaissonFoundationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5476,13 +5476,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_NOCHANGE, IfcChangeAction_MODIFIED, IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5500,13 +5500,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_WATERCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5524,13 +5524,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5560,13 +5560,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5588,13 +5588,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PILASTER, IfcColumnType_PIERSTEM, IfcColumnType_PIERSTEM_SEGMENT, IfcColumnType_STANDCOLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5618,13 +5618,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5640,13 +5640,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5676,13 +5676,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_DYNAMIC, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROTARY, IfcCompressorType_SCROLL, IfcCompressorType_TROCHOIDAL, IfcCompressorType_SINGLESTAGE, IfcCompressorType_BOOSTER, IfcCompressorType_OPENTYPE, IfcCompressorType_HERMETIC, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARYVANE, IfcCompressorType_SINGLESCREW, IfcCompressorType_TWINSCREW, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5703,13 +5703,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5737,13 +5737,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_ATEND, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5768,13 +5768,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_ADVISORY, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5796,13 +5796,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5825,13 +5825,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_NOTDEFINED, IfcConstructionMaterialResourceType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5847,13 +5847,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5875,13 +5875,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_MULTIPOSITION, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5908,13 +5908,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5934,13 +5934,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5954,13 +5954,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5981,13 +5981,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_TENDER, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6038,13 +6038,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_FLOORING, IfcCoveringType_CLADDING, IfcCoveringType_ROOFING, IfcCoveringType_MOLDING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_SLEEVING, IfcCoveringType_WRAPPING, IfcCoveringType_COPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6060,13 +6060,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6083,13 +6083,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6114,13 +6114,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6145,13 +6145,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6167,13 +6167,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6238,13 +6238,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6260,13 +6260,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_POSITIVE, IfcDirectionSense_NEGATIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6283,13 +6283,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_EXPANSION_JOINT_DEVICE, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6313,13 +6313,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6328,13 +6328,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6389,13 +6389,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6415,13 +6415,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6432,13 +6432,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6479,13 +6479,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6500,13 +6500,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6521,13 +6521,13 @@ public: class IFC_PARSE_API IfcDoorStyleConstructionEnum : public express::DeclaredType { public: IfcDoorStyleConstructionEnum() {} - explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleConstruction_ALUMINIUM, IfcDoorStyleConstruction_HIGH_GRADE_STEEL, IfcDoorStyleConstruction_STEEL, IfcDoorStyleConstruction_WOOD, IfcDoorStyleConstruction_ALUMINIUM_WOOD, IfcDoorStyleConstruction_ALUMINIUM_PLASTIC, IfcDoorStyleConstruction_PLASTIC, IfcDoorStyleConstruction_USERDEFINED, IfcDoorStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6704,13 +6704,13 @@ public: class IFC_PARSE_API IfcDoorStyleOperationEnum : public express::DeclaredType { public: IfcDoorStyleOperationEnum() {} - explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleOperation_SINGLE_SWING_LEFT, IfcDoorStyleOperation_SINGLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorStyleOperation_DOUBLE_SWING_LEFT, IfcDoorStyleOperation_DOUBLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorStyleOperation_SLIDING_TO_LEFT, IfcDoorStyleOperation_SLIDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING, IfcDoorStyleOperation_FOLDING_TO_LEFT, IfcDoorStyleOperation_FOLDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING, IfcDoorStyleOperation_REVOLVING, IfcDoorStyleOperation_ROLLINGUP, IfcDoorStyleOperation_USERDEFINED, IfcDoorStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6734,13 +6734,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6928,13 +6928,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SLIDING, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_FOLDING, IfcDoorTypeOperation_REVOLVING, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6975,13 +6975,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7004,13 +7004,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7028,13 +7028,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7071,13 +7071,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7095,13 +7095,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7119,13 +7119,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7143,13 +7143,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7168,13 +7168,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7191,13 +7191,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7224,13 +7224,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_ABUTMENT, IfcElementAssemblyType_PIER, IfcElementAssemblyType_PYLON, IfcElementAssemblyType_CROSS_BRACING, IfcElementAssemblyType_DECK, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7250,13 +7250,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7272,13 +7272,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7302,13 +7302,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7329,13 +7329,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7355,13 +7355,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7380,13 +7380,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_STARTEVENT, IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7410,13 +7410,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7438,13 +7438,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7461,13 +7461,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7488,13 +7488,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7515,13 +7515,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7537,13 +7537,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SOURCE, IfcFlowDirection_SINK, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7567,13 +7567,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7596,13 +7596,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7624,13 +7624,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7651,13 +7651,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_CHAIR, IfcFurnitureType_TABLE, IfcFurnitureType_DESK, IfcFurnitureType_BED, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7666,13 +7666,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_TERRAIN, IfcGeographicElementType_SOIL_BORING_POINT, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7721,13 +7721,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7741,13 +7741,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7756,13 +7756,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_RECTANGULAR, IfcGridType_RADIAL, IfcGridType_TRIANGULAR, IfcGridType_IRREGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7779,13 +7779,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7813,13 +7813,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7837,13 +7837,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7906,13 +7906,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7929,13 +7929,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7950,13 +7950,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7965,13 +7965,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_UNIFORM_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8003,13 +8003,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8034,13 +8034,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8057,13 +8057,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8085,13 +8085,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8116,13 +8116,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8141,13 +8141,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8176,13 +8176,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8434,13 +8434,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8465,13 +8465,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_COUPLER, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8492,13 +8492,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8549,13 +8549,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STRINGER, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_STIFFENING_RIB, IfcMemberType_ARCH_SEGMENT, IfcMemberType_SUSPENSION_CABLE, IfcMemberType_SUSPENDER, IfcMemberType_STAY_CABLE, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8572,13 +8572,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8594,13 +8594,13 @@ public: class IFC_PARSE_API IfcNullStyle : public express::DeclaredType { public: IfcNullStyle() {} - explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNullStyle_NULL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8611,13 +8611,13 @@ public: class IFC_PARSE_API IfcObjectTypeEnum : public express::DeclaredType { public: IfcObjectTypeEnum() {} - explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjectType_PRODUCT, IfcObjectType_PROCESS, IfcObjectType_CONTROL, IfcObjectType_RESOURCE, IfcObjectType_ACTOR, IfcObjectType_GROUP, IfcObjectType_PROJECT, IfcObjectType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8654,13 +8654,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8681,13 +8681,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8715,13 +8715,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8742,13 +8742,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8762,13 +8762,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8798,13 +8798,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8821,13 +8821,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8858,13 +8858,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8894,13 +8894,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8921,13 +8921,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_DRIVEN, IfcPileType_JETGROUTING, IfcPileType_COHESION, IfcPileType_FRICTION, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8966,13 +8966,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8995,13 +8995,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9027,13 +9027,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_CURTAIN_PANEL, IfcPlateType_SHEET, IfcPlateType_FLANGE_PLATE, IfcPlateType_WEB_PLATE, IfcPlateType_STIFFENER_PLATE, IfcPlateType_GUSSET_PLATE, IfcPlateType_COVER_PLATE, IfcPlateType_SPLICE_PLATE, IfcPlateType_BASE_PLATE, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9042,13 +9042,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9070,13 +9070,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9092,13 +9092,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_CURVE, IfcProfileType_AREA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9117,13 +9117,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9137,13 +9137,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9163,13 +9163,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_BLISTER, IfcProjectionElementType_DEVIATOR, IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9215,13 +9215,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9236,13 +9236,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9265,13 +9265,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9307,13 +9307,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9341,13 +9341,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_HANDRAIL, IfcRailingType_GUARDRAIL, IfcRailingType_BALUSTRADE, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9366,13 +9366,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_STRAIGHT, IfcRampFlightType_SPIRAL, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9428,13 +9428,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_HALF_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9463,13 +9463,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_DAILY, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9478,13 +9478,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_KILOPOINT, IfcReferentType_MILEPOINT, IfcReferentType_STATION, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9508,13 +9508,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9541,13 +9541,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9564,13 +9564,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9579,13 +9579,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_SPACEBAR, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9594,13 +9594,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9637,13 +9637,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_SUPPLIER, IfcRole_MANUFACTURER, IfcRole_CONTRACTOR, IfcRole_SUBCONTRACTOR, IfcRole_ARCHITECT, IfcRole_STRUCTURALENGINEER, IfcRole_COSTENGINEER, IfcRole_CLIENT, IfcRole_BUILDINGOWNER, IfcRole_BUILDINGOPERATOR, IfcRole_MECHANICALENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_PROJECTMANAGER, IfcRole_FACILITIESMANAGER, IfcRole_CIVILENGINEER, IfcRole_COMMISSIONINGENGINEER, IfcRole_ENGINEER, IfcRole_OWNER, IfcRole_CONSULTANT, IfcRole_CONSTRUCTIONMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_RESELLER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9717,13 +9717,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_FLAT_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_BARREL_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FREEFORM, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9758,13 +9758,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_EXA, IfcSIPrefix_PETA, IfcSIPrefix_TERA, IfcSIPrefix_GIGA, IfcSIPrefix_MEGA, IfcSIPrefix_KILO, IfcSIPrefix_HECTO, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_CENTI, IfcSIPrefix_MILLI, IfcSIPrefix_MICRO, IfcSIPrefix_NANO, IfcSIPrefix_PICO, IfcSIPrefix_FEMTO, IfcSIPrefix_ATTO} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9811,13 +9811,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9844,13 +9844,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9868,13 +9868,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_UNIFORM, IfcSectionType_TAPERED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9910,13 +9910,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_COSENSOR, IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9929,13 +9929,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_START_START, IfcSequence_START_FINISH, IfcSequence_FINISH_START, IfcSequence_FINISH_FINISH, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9953,13 +9953,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_AWNING, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9985,13 +9985,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_WEIGHT, IfcSimplePropertyTemplateType_Q_TIME} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10031,13 +10031,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_FLOOR, IfcSlabType_ROOF, IfcSlabType_LANDING, IfcSlabType_BASESLAB, IfcSlabType_APPROACH_SLAB, IfcSlabType_PAVING, IfcSlabType_WEARING, IfcSlabType_SIDEWALK, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10054,13 +10054,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10080,13 +10080,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10129,13 +10129,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_SPACE, IfcSpaceType_PARKING, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_EXTERNAL, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10168,13 +10168,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10191,13 +10191,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10220,13 +10220,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_SPIRAL, IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10327,13 +10327,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_CURVED_RUN_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10354,13 +10354,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_READWRITE, IfcState_READONLY, IfcState_LOCKED, IfcState_READWRITELOCKED, IfcState_READONLYLOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10383,13 +10383,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10415,13 +10415,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10441,13 +10441,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10469,13 +10469,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10491,13 +10491,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10516,13 +10516,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_DEFECT, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10541,13 +10541,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_POSITIVE, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_BOTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10571,13 +10571,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10593,13 +10593,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10630,13 +10630,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10651,13 +10651,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10683,13 +10683,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ATTENDANCE, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10698,13 +10698,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10713,13 +10713,13 @@ public: class IFC_PARSE_API IfcTendonConduitTypeEnum : public express::DeclaredType { public: IfcTendonConduitTypeEnum() {} - explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonConduitType_DUCT, IfcTendonConduitType_COUPLER, IfcTendonConduitType_GROUTING_DUCT, IfcTendonConduitType_TRUMPET, IfcTendonConduitType_DIABOLO, IfcTendonConduitType_USERDEFINED, IfcTendonConduitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10728,13 +10728,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10749,13 +10749,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP, IfcTextPath_DOWN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10774,13 +10774,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10799,13 +10799,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10829,13 +10829,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_DISCONTINUOUS, IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10844,13 +10844,13 @@ public: class IFC_PARSE_API IfcTransitionCurveType : public express::DeclaredType { public: IfcTransitionCurveType() {} - explicit IfcTransitionCurveType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCurveType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCurveType_BIQUADRATICPARABOLA, IfcTransitionCurveType_BLOSSCURVE, IfcTransitionCurveType_CLOTHOIDCURVE, IfcTransitionCurveType_COSINECURVE, IfcTransitionCurveType_CUBICPARABOLA, IfcTransitionCurveType_SINECURVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10882,13 +10882,13 @@ public: class IFC_PARSE_API IfcTransportElementTypeEnum : public express::DeclaredType { public: IfcTransportElementTypeEnum() {} - explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementType_ELEVATOR, IfcTransportElementType_ESCALATOR, IfcTransportElementType_MOVINGWALKWAY, IfcTransportElementType_CRANEWAY, IfcTransportElementType_LIFTINGGEAR, IfcTransportElementType_USERDEFINED, IfcTransportElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10907,13 +10907,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10929,13 +10929,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10979,13 +10979,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11009,13 +11009,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11035,13 +11035,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11092,13 +11092,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DRAWOFFCOCK, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11107,13 +11107,13 @@ public: class IFC_PARSE_API IfcVibrationDamperTypeEnum : public express::DeclaredType { public: IfcVibrationDamperTypeEnum() {} - explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationDamperType_BENDING_YIELD, IfcVibrationDamperType_SHEAR_YIELD, IfcVibrationDamperType_AXIAL_YIELD, IfcVibrationDamperType_FRICTION, IfcVibrationDamperType_VISCOUS, IfcVibrationDamperType_RUBBER, IfcVibrationDamperType_USERDEFINED, IfcVibrationDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11130,13 +11130,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_BASE, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11158,13 +11158,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11209,13 +11209,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_POLYGONAL, IfcWallType_ELEMENTEDWALL, IfcWallType_RETAININGWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11237,13 +11237,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11335,13 +11335,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11413,13 +11413,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11434,13 +11434,13 @@ public: class IFC_PARSE_API IfcWindowStyleConstructionEnum : public express::DeclaredType { public: IfcWindowStyleConstructionEnum() {} - explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleConstruction_ALUMINIUM, IfcWindowStyleConstruction_HIGH_GRADE_STEEL, IfcWindowStyleConstruction_STEEL, IfcWindowStyleConstruction_WOOD, IfcWindowStyleConstruction_ALUMINIUM_WOOD, IfcWindowStyleConstruction_PLASTIC, IfcWindowStyleConstruction_OTHER_CONSTRUCTION, IfcWindowStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11522,13 +11522,13 @@ public: class IFC_PARSE_API IfcWindowStyleOperationEnum : public express::DeclaredType { public: IfcWindowStyleOperationEnum() {} - explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleOperation_SINGLE_PANEL, IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL, IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL, IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM, IfcWindowStyleOperation_TRIPLE_PANEL_TOP, IfcWindowStyleOperation_TRIPLE_PANEL_LEFT, IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT, IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_USERDEFINED, IfcWindowStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11552,13 +11552,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_WINDOW, IfcWindowType_SKYLIGHT, IfcWindowType_LIGHTDOME, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11637,13 +11637,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11662,13 +11662,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11687,13 +11687,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11712,13 +11712,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11731,9 +11731,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11745,9 +11745,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11762,9 +11762,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11776,9 +11776,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11786,9 +11786,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -11796,9 +11796,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11812,9 +11812,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11822,9 +11822,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -11836,9 +11836,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -11888,9 +11888,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -11908,9 +11908,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -11965,9 +11965,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -11980,9 +11980,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11995,9 +11995,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12011,9 +12011,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12026,9 +12026,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12053,9 +12053,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12074,9 +12074,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12117,9 +12117,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12132,9 +12132,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12148,9 +12148,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12162,9 +12162,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12176,9 +12176,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12191,9 +12191,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12205,9 +12205,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12219,9 +12219,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12233,9 +12233,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12249,9 +12249,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12263,9 +12263,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12277,9 +12277,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12291,9 +12291,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12314,9 +12314,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12335,9 +12335,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12367,9 +12367,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12381,9 +12381,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12395,9 +12395,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12417,9 +12417,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12431,9 +12431,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12443,9 +12443,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12466,9 +12466,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12480,9 +12480,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12494,9 +12494,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12510,9 +12510,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12526,9 +12526,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12538,9 +12538,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12552,9 +12552,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12566,9 +12566,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12589,9 +12589,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12608,9 +12608,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12624,9 +12624,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12634,9 +12634,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -12648,9 +12648,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12662,9 +12662,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12676,9 +12676,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12690,9 +12690,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12704,9 +12704,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -12718,9 +12718,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12734,9 +12734,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12750,9 +12750,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12764,9 +12764,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12778,9 +12778,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12792,9 +12792,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12806,9 +12806,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12822,9 +12822,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12838,9 +12838,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12852,9 +12852,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12866,9 +12866,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12880,9 +12880,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12898,9 +12898,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12912,9 +12912,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12926,9 +12926,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12940,9 +12940,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12953,9 +12953,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13018,9 +13018,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13032,9 +13032,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13047,9 +13047,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13059,9 +13059,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13075,9 +13075,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13089,9 +13089,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13109,9 +13109,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13119,9 +13119,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13134,9 +13134,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13149,9 +13149,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13163,9 +13163,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13181,9 +13181,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13195,9 +13195,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13205,9 +13205,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x2::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x2::IfcPropertySetDefinition >() const; }; @@ -13219,9 +13219,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13238,9 +13238,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13254,9 +13254,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13268,9 +13268,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13283,9 +13283,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13297,9 +13297,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13311,9 +13311,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13325,9 +13325,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13339,9 +13339,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13355,9 +13355,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13365,9 +13365,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13379,9 +13379,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13389,9 +13389,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13403,9 +13403,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13417,9 +13417,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13433,9 +13433,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13451,9 +13451,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13465,9 +13465,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13479,9 +13479,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13499,9 +13499,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13518,9 +13518,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13540,9 +13540,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13568,9 +13568,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13587,9 +13587,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13601,9 +13601,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13615,9 +13615,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13628,9 +13628,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13641,9 +13641,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13655,9 +13655,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13671,9 +13671,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13688,9 +13688,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13704,9 +13704,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13717,9 +13717,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13731,9 +13731,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13747,9 +13747,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13761,9 +13761,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13777,9 +13777,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13791,9 +13791,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13805,9 +13805,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13819,9 +13819,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13853,9 +13853,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13867,9 +13867,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13882,9 +13882,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13903,7 +13903,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -13920,7 +13920,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -13931,7 +13931,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > Purpose() const; @@ -13948,7 +13948,7 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -13957,7 +13957,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x2::IfcOrganization ApplicationDeveloper() const; @@ -13972,7 +13972,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -13992,7 +13992,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -14030,7 +14030,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -14041,7 +14041,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -14082,7 +14082,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x2::IfcActorSelect v8_RequestingApproval, ::Ifc4x2::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -14103,13 +14103,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14125,7 +14125,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x2::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14146,7 +14146,7 @@ public: ::Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x2::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x2::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x2::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14162,7 +14162,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x2::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14174,7 +14174,7 @@ public: ::Ifc4x2::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x2::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x2::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x2::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14190,7 +14190,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x2::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14211,7 +14211,7 @@ public: ::Ifc4x2::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x2::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x2::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x2::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x2::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x2::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x2::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14226,13 +14226,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x2::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x2::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x2::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x2::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x2::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x2::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x2::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x2::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14252,10 +14252,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14277,7 +14277,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x2::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14286,7 +14286,7 @@ public: ::Ifc4x2::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x2::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x2::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14300,7 +14300,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x2::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14309,7 +14309,7 @@ public: ::Ifc4x2::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x2::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x2::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14321,7 +14321,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x2::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14330,7 +14330,7 @@ public: ::Ifc4x2::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x2::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x2::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14348,7 +14348,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14377,7 +14377,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14429,7 +14429,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x2::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14438,7 +14438,7 @@ public: ::Ifc4x2::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x2::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x2::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14466,7 +14466,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -14490,7 +14490,7 @@ public: void setVerticalDatum(const std::optional< std::string >& v); std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -14538,10 +14538,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -14554,7 +14554,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x2::IfcDerivedUnitElement > Elements() const; @@ -14565,7 +14565,7 @@ public: std::optional< std::string > UserDefinedType() const; void setUserDefinedType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcDerivedUnitElement > v1_Elements, ::Ifc4x2::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -14580,7 +14580,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x2::IfcNamedUnit Unit() const; @@ -14589,7 +14589,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -14612,7 +14612,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -14636,7 +14636,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -14648,10 +14648,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -14666,7 +14666,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -14689,7 +14689,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -14703,10 +14703,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -14719,10 +14719,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -14735,10 +14735,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -14767,7 +14767,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -14783,7 +14783,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x2::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -14792,7 +14792,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -14801,7 +14801,7 @@ public: std::vector< ::Ifc4x2::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x2::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x2::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -14815,7 +14815,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -14841,7 +14841,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x2::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -14854,7 +14854,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -14871,7 +14871,7 @@ public: void setReferencedLibrary(const ::Ifc4x2::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x2::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -14892,7 +14892,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -14906,7 +14906,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -14915,7 +14915,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x2::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -14924,7 +14924,7 @@ public: std::vector< ::Ifc4x2::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x2::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x2::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -14941,7 +14941,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -14969,7 +14969,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x2::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -14980,7 +14980,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x2::IfcClassificationSelect > MaterialClassifications() const; @@ -14989,7 +14989,7 @@ public: ::Ifc4x2::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x2::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x2::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -15019,13 +15019,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -15054,7 +15054,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x2::IfcMaterial Material() const; @@ -15087,7 +15087,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15126,7 +15126,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x2::IfcMaterialLayer > MaterialLayers() const; @@ -15140,7 +15140,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15189,7 +15189,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x2::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15198,7 +15198,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15221,13 +15221,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x2::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x2::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15238,7 +15238,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15260,7 +15260,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_Material, ::Ifc4x2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15271,7 +15271,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15289,7 +15289,7 @@ public: ::Ifc4x2::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x2::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x2::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15300,13 +15300,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_Material, ::Ifc4x2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15343,11 +15343,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15363,7 +15363,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x2::IfcValue ValueComponent() const; @@ -15372,7 +15372,7 @@ public: ::Ifc4x2::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcValue v1_ValueComponent, ::Ifc4x2::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15430,7 +15430,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x2::IfcBenchmarkEnum::Value Benchmark() const; @@ -15444,7 +15444,7 @@ public: ::Ifc4x2::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x2::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x2::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x2::IfcMetricValueSelect v10_DataValue, ::Ifc4x2::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15455,13 +15455,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15472,7 +15472,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x2::IfcDimensionalExponents Dimensions() const; @@ -15481,7 +15481,7 @@ public: ::Ifc4x2::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x2::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -15498,13 +15498,13 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc4x2::IfcObjectPlacement PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x2::IfcObjectPlacement& v); std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcObjectPlacement v1_PlacementRelTo); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -15519,7 +15519,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x2::IfcConstraint > > BenchmarkValues() const; @@ -15533,7 +15533,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x2::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -15547,7 +15547,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -15569,7 +15569,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x2::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x2::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -15585,7 +15585,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x2::IfcPersonAndOrganization OwningUser() const; @@ -15612,7 +15612,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x2::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x2::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x2::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x2::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -15627,7 +15627,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -15661,7 +15661,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x2::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x2::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x2::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -15672,7 +15672,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x2::IfcPerson ThePerson() const; @@ -15684,7 +15684,7 @@ public: std::optional< std::vector< ::Ifc4x2::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x2::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcPerson v1_ThePerson, ::Ifc4x2::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x2::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -15695,7 +15695,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -15706,7 +15706,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -15721,13 +15721,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x2::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x2::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -15736,7 +15736,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -15766,17 +15766,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -15797,7 +15797,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -15812,7 +15812,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -15831,7 +15831,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -15850,7 +15850,7 @@ public: std::vector< ::Ifc4x2::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x2::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x2::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -15861,13 +15861,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The presentation style assignment is a set of styles which are assigned to styled items for the purpose of presenting these styled items. @@ -15878,13 +15878,13 @@ public: class IFC_PARSE_API IfcPresentationStyleAssignment : public express::Entity { public: IfcPresentationStyleAssignment() {} - explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// A set of presentation styles that are assigned to styled items. std::vector< ::Ifc4x2::IfcPresentationStyleSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x2::IfcPresentationStyleSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcPresentationStyleSelect > v1_Styles); }; /// IfcProductRepresentation defines a representation of a @@ -15907,7 +15907,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -15919,7 +15919,7 @@ public: std::vector< ::Ifc4x2::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x2::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -16095,7 +16095,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x2::IfcProfileTypeEnum::Value ProfileType() const; @@ -16106,7 +16106,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16135,7 +16135,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} /// Name by which the map projection is identified. /// @@ -16154,18 +16154,18 @@ public: ::Ifc4x2::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x2::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x2::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16217,7 +16217,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16229,7 +16229,7 @@ public: ::Ifc4x2::IfcUnit Unit() const; void setUnit(const ::Ifc4x2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x2::IfcValue > v2_EnumerationValues, ::Ifc4x2::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16240,7 +16240,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16251,7 +16251,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16262,7 +16262,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. double CountValue() const; @@ -16273,7 +16273,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16284,7 +16284,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16295,7 +16295,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16306,7 +16306,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16317,7 +16317,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16328,7 +16328,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16339,7 +16339,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16350,7 +16350,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16361,7 +16361,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16373,7 +16373,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16413,14 +16413,14 @@ public: std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x2::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16433,7 +16433,7 @@ public: ::Ifc4x2::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x2::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x2::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16485,7 +16485,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x2::IfcRepresentationContext ContextOfItems() const; @@ -16504,7 +16504,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -16520,7 +16520,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -16530,7 +16530,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -16568,12 +16568,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -16590,7 +16590,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -16602,7 +16602,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x2::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -16611,7 +16611,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -16620,7 +16620,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -16635,7 +16635,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -16654,7 +16654,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -16667,7 +16667,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x2::IfcSIPrefix::Value > Prefix() const; @@ -16678,7 +16678,7 @@ public: ::Ifc4x2::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x2::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x2::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -16687,7 +16687,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -16700,7 +16700,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -16743,7 +16743,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -16766,7 +16766,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x2::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x2::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -16790,11 +16790,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -16935,10 +16935,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -16947,13 +16947,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -16962,13 +16962,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -16985,7 +16985,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x2::IfcStructuralLoadOrResult > Values() const; @@ -16994,7 +16994,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x2::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -17003,10 +17003,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -17015,10 +17015,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -17029,7 +17029,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -17047,7 +17047,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -17058,10 +17058,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -17095,7 +17095,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17114,7 +17114,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x2::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17127,10 +17127,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17141,7 +17141,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17153,7 +17153,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17166,7 +17166,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x2::IfcSurfaceSide::Value Side() const; @@ -17175,7 +17175,7 @@ public: std::vector< ::Ifc4x2::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x2::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x2::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17192,7 +17192,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17211,7 +17211,7 @@ public: ::Ifc4x2::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x2::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x2::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x2::IfcColourRgb v3_TransmissionColour, ::Ifc4x2::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17222,7 +17222,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17231,7 +17231,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17244,7 +17244,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x2::IfcColourRgb SurfaceColour() const; @@ -17252,7 +17252,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17276,13 +17276,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x2::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x2::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17380,7 +17380,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17411,7 +17411,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17432,7 +17432,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17444,7 +17444,7 @@ public: std::optional< std::vector< ::Ifc4x2::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x2::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x2::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x2::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17455,7 +17455,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17472,7 +17472,7 @@ public: ::Ifc4x2::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x2::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x2::IfcUnit v4_Unit, ::Ifc4x2::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17491,7 +17491,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x2::IfcValue > > RowCells() const; @@ -17500,7 +17500,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x2::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -17514,7 +17514,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -17622,7 +17622,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -17631,12 +17631,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x2::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x2::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x2::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -17648,7 +17648,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -17672,7 +17672,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -17706,7 +17706,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x2::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -17726,7 +17726,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x2::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x2::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -17749,7 +17749,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x2::IfcColour Colour() const; @@ -17758,7 +17758,7 @@ public: ::Ifc4x2::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x2::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcColour v1_Colour, ::Ifc4x2::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -17771,7 +17771,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -17802,7 +17802,7 @@ public: ::Ifc4x2::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x2::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x2::IfcSizeSelect v4_LetterSpacing, ::Ifc4x2::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x2::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -17819,12 +17819,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x2::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x2::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -17856,7 +17856,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -17869,7 +17869,7 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; /// An IfcTextureMap provides the mapping of the @@ -17926,7 +17926,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -17936,7 +17936,7 @@ public: ::Ifc4x2::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x2::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x2::IfcTextureVertex > v2_Vertices, ::Ifc4x2::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -17969,25 +17969,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -17999,7 +17999,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -18008,7 +18008,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -18019,7 +18019,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -18047,7 +18047,7 @@ public: void setUnit(const ::Ifc4x2::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x2::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -18062,13 +18062,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x2::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x2::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -18079,10 +18079,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18122,10 +18122,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x2::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18136,13 +18136,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x2::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x2::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18158,10 +18158,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18176,13 +18176,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x2::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x2::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18247,7 +18247,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x2::IfcGridAxis > IntersectingAxes() const; @@ -18256,7 +18256,7 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18270,7 +18270,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18286,7 +18286,7 @@ public: std::optional< std::string > Finish() const; void setFinish(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x2::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish); }; /// An IfcApprovalRelationship associates approvals (one @@ -18299,7 +18299,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x2::IfcApproval RelatingApproval() const; @@ -18308,7 +18308,7 @@ public: std::vector< ::Ifc4x2::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x2::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x2::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18332,13 +18332,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x2::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18359,13 +18359,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x2::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x2::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18390,13 +18390,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x2::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x2::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x2::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18411,7 +18411,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18420,7 +18420,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -18455,13 +18455,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -18482,7 +18482,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -18535,7 +18535,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -18562,7 +18562,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x2::IfcClassificationReferenceSelect ReferencedSource() const; @@ -18577,19 +18577,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x2::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -18600,7 +18600,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -18609,7 +18609,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -18651,7 +18651,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x2::IfcProfileDef > Profiles() const; @@ -18660,7 +18660,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x2::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -18675,13 +18675,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x2::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x2::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -18700,7 +18700,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x2::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -18709,7 +18709,7 @@ public: ::Ifc4x2::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x2::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x2::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -18734,7 +18734,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -18746,7 +18746,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x2::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -18759,14 +18759,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -18819,7 +18819,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -18829,7 +18829,7 @@ public: void setConversionFactor(const ::Ifc4x2::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x2::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -18853,13 +18853,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x2::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -18876,7 +18876,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x2::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -18896,7 +18896,7 @@ public: ::Ifc4x2::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x2::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x2::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x2::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -18919,7 +18919,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x2::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -18933,7 +18933,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x2::IfcSizeSelect v3_CurveWidth, ::Ifc4x2::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -18944,7 +18944,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -18953,7 +18953,7 @@ public: std::vector< ::Ifc4x2::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x2::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x2::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -18970,7 +18970,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -18982,7 +18982,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -18993,7 +18993,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -19006,7 +19006,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -19096,7 +19096,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x2::IfcProfileDef ParentProfile() const; @@ -19108,7 +19108,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcProfileDef v3_ParentProfile, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19117,7 +19117,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19188,7 +19188,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x2::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x2::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x2::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19202,7 +19202,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x2::IfcDocumentInformation RelatingDocument() const; @@ -19214,7 +19214,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x2::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19231,7 +19231,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19243,7 +19243,7 @@ public: void setReferencedDocument(const ::Ifc4x2::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19298,7 +19298,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x2::IfcVertex EdgeStart() const; @@ -19307,7 +19307,7 @@ public: ::Ifc4x2::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x2::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcVertex v1_EdgeStart, ::Ifc4x2::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19346,7 +19346,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x2::IfcCurve EdgeGeometry() const; @@ -19355,7 +19355,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcVertex v1_EdgeStart, ::Ifc4x2::IfcVertex v2_EdgeEnd, ::Ifc4x2::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19384,7 +19384,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19401,14 +19401,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19417,7 +19417,7 @@ public: std::vector< ::Ifc4x2::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x2::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19430,7 +19430,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19441,7 +19441,7 @@ public: std::vector< ::Ifc4x2::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x2::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x2::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -19491,14 +19491,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x2::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x2::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -19509,7 +19509,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x2::IfcLoop Bound() const; @@ -19518,7 +19518,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -19529,10 +19529,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -19574,7 +19574,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x2::IfcSurface FaceSurface() const; @@ -19583,7 +19583,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcFaceBound > v1_Bounds, ::Ifc4x2::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -19596,7 +19596,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -19617,7 +19617,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -19657,7 +19657,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x2::IfcFillStyleSelect > FillStyles() const; @@ -19665,7 +19665,7 @@ public: std::optional< bool > ModelorDraughting() const; void setModelorDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x2::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelorDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -19718,7 +19718,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -19737,7 +19737,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x2::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x2::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -19762,10 +19762,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -19784,7 +19784,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x2::IfcGeometricRepresentationContext ParentContext() const; @@ -19809,7 +19809,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x2::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x2::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -19822,13 +19822,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x2::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x2::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -19879,7 +19879,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x2::IfcVirtualGridIntersection PlacementLocation() const; @@ -19890,7 +19890,7 @@ public: ::Ifc4x2::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x2::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x2::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x2::IfcGridPlacementDirectionSelect v3_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -19911,7 +19911,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x2::IfcSurface BaseSurface() const; @@ -19920,7 +19920,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -19961,20 +19961,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x2::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x2::IfcTessellatedFaceSet& v); @@ -19985,33 +19985,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x2::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x2::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x2::IfcTessellatedFaceSet& v); ::Ifc4x2::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x2::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, ::Ifc4x2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x2::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcSurfaceTexture > v1_Maps, ::Ifc4x2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x2::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -20022,13 +20022,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x2::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x2::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x2::IfcUnit v8_Unit, std::vector< ::Ifc4x2::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -20071,7 +20071,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -20082,7 +20082,7 @@ public: ::Ifc4x2::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x2::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x2::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x2::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -20095,7 +20095,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20111,7 +20111,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20124,10 +20124,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20142,14 +20142,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x2::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x2::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20162,7 +20162,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x2::IfcAxis2Placement3D Position() const; @@ -20183,7 +20183,7 @@ public: ::Ifc4x2::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x2::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x2::IfcAxis2Placement3D v5_Position, ::Ifc4x2::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x2::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x2::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20204,7 +20204,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20224,7 +20224,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20245,7 +20245,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20263,14 +20263,14 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x2::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x2::IfcCurve PlacementMeasuredAlong() const; void setPlacementMeasuredAlong(const ::Ifc4x2::IfcCurve& v); @@ -20281,7 +20281,7 @@ public: ::Ifc4x2::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x2::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x2::IfcDistanceExpression v3_Distance, ::Ifc4x2::IfcOrientationExpression v4_Orientation, ::Ifc4x2::IfcAxis2Placement3D v5_CartesianPosition); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20339,13 +20339,13 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system. ::Ifc4x2::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x2::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20377,10 +20377,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20405,7 +20405,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x2::IfcRepresentationMap MappingSource() const; @@ -20414,7 +20414,7 @@ public: ::Ifc4x2::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x2::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcRepresentationMap v1_MappingSource, ::Ifc4x2::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20447,7 +20447,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -20472,7 +20472,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -20483,7 +20483,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -20502,7 +20502,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -20522,7 +20522,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -20534,7 +20534,7 @@ public: std::optional< std::vector< ::Ifc4x2::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x2::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x2::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -20570,13 +20570,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x2::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x2::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcRepresentation > v3_Representations, ::Ifc4x2::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -20682,7 +20682,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x2::IfcMaterialLayerSet ForLayerSet() const; @@ -20712,7 +20712,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -20725,7 +20725,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x2::IfcMaterialProfileSet ForProfileSet() const; @@ -20742,7 +20742,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -20773,7 +20773,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x2::IfcMaterialProfileSet ForProfileEndSet() const; @@ -20782,7 +20782,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -20810,7 +20810,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -20818,7 +20818,7 @@ public: ::Ifc4x2::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x2::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcProperty > v3_Properties, ::Ifc4x2::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -20827,7 +20827,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x2::IfcMaterial RelatingMaterial() const; @@ -20839,7 +20839,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x2::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -20872,10 +20872,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -20931,7 +20931,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -20941,7 +20941,7 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -21006,10 +21006,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -21021,7 +21021,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x2::IfcOrganization RelatingOrganization() const; @@ -21030,21 +21030,21 @@ public: std::vector< ::Ifc4x2::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x2::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x2::IfcOrganization > v4_RelatedOrganizations); }; class IFC_PARSE_API IfcOrientationExpression : public IfcGeometricRepresentationItem { public: IfcOrientationExpression() {} - explicit IfcOrientationExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcOrientationExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x2::IfcDirection LateralAxisDirection() const; void setLateralAxisDirection(const ::Ifc4x2::IfcDirection& v); ::Ifc4x2::IfcDirection VerticalAxisDirection() const; void setVerticalAxisDirection(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDirection v1_LateralAxisDirection, ::Ifc4x2::IfcDirection v2_VerticalAxisDirection); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -21057,7 +21057,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x2::IfcEdge EdgeElement() const; @@ -21066,7 +21066,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21114,13 +21114,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x2::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x2::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21140,13 +21140,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x2::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x2::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21161,7 +21161,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x2::IfcPhysicalQuantity > HasQuantities() const; @@ -21176,7 +21176,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21200,7 +21200,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21217,7 +21217,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21232,13 +21232,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x2::IfcCartesianPoint Location() const; void setLocation(const ::Ifc4x2::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21249,7 +21249,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21258,7 +21258,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21269,10 +21269,10 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21287,7 +21287,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x2::IfcCurve BasisCurve() const; @@ -21296,7 +21296,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21311,7 +21311,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x2::IfcSurface BasisSurface() const; @@ -21323,7 +21323,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21368,13 +21368,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x2::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x2::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -21436,7 +21436,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x2::IfcAxis2Placement3D Position() const; @@ -21447,7 +21447,7 @@ public: ::Ifc4x2::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x2::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x2::IfcAxis2Placement3D v3_Position, ::Ifc4x2::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -21460,23 +21460,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -21493,10 +21493,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -21514,12 +21514,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -21536,13 +21536,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x2::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcProperty > v3_Properties, ::Ifc4x2::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -21551,7 +21551,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -21566,7 +21566,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// IfcPropertyDefinition defines the generalization of @@ -21622,12 +21622,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -21641,7 +21641,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x2::IfcProperty DependingProperty() const; @@ -21653,7 +21653,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcProperty v3_DependingProperty, ::Ifc4x2::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -21701,13 +21701,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -21738,20 +21738,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -21791,7 +21791,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -21800,7 +21800,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -21811,7 +21811,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -21820,7 +21820,7 @@ public: std::vector< ::Ifc4x2::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x2::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x2::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x2::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -21831,7 +21831,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -21852,7 +21852,7 @@ public: std::optional< double > BarCount() const; void setBarCount(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -21866,10 +21866,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -21881,7 +21881,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x2::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -21890,7 +21890,7 @@ public: ::Ifc4x2::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x2::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x2::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x2::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -21916,7 +21916,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x2::IfcConstraint RelatingConstraint() const; @@ -21925,7 +21925,7 @@ public: std::vector< ::Ifc4x2::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x2::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x2::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -21933,7 +21933,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -21981,7 +21981,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22024,13 +22024,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -22041,7 +22041,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x2::IfcSectionTypeEnum::Value SectionType() const; @@ -22053,7 +22053,7 @@ public: ::Ifc4x2::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x2::IfcProfileDef v2_StartProfile, ::Ifc4x2::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -22066,7 +22066,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -22087,7 +22087,7 @@ public: std::vector< ::Ifc4x2::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x2::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x2::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x2::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22146,7 +22146,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x2::IfcCompositeCurve SpineCurve() const; @@ -22158,7 +22158,7 @@ public: std::vector< ::Ifc4x2::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x2::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x2::IfcAxis2Placement3D > v3_CrossSectionPositions); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22176,12 +22176,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x2::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x2::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22190,10 +22190,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22208,7 +22208,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22220,7 +22220,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22231,10 +22231,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22245,7 +22245,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22266,7 +22266,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22277,7 +22277,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22289,7 +22289,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22300,7 +22300,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22321,7 +22321,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22330,13 +22330,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22348,7 +22348,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22369,7 +22369,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22383,13 +22383,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22405,13 +22405,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x2::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x2::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcVertex v1_EdgeStart, ::Ifc4x2::IfcVertex v2_EdgeEnd, ::Ifc4x2::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -22427,10 +22427,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -22481,7 +22481,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -22515,7 +22515,7 @@ public: ::Ifc4x2::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x2::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x2::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x2::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x2::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x2::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x2::IfcColourOrFactor v7_SpecularColour, ::Ifc4x2::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x2::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -22539,7 +22539,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x2::IfcProfileDef SweptArea() const; @@ -22548,7 +22548,7 @@ public: ::Ifc4x2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -22607,7 +22607,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x2::IfcCurve Directrix() const; @@ -22629,7 +22629,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -22645,13 +22645,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -22662,7 +22662,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x2::IfcProfileDef SweptCurve() const; @@ -22671,7 +22671,7 @@ public: ::Ifc4x2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptCurve, ::Ifc4x2::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -22705,7 +22705,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -22735,17 +22735,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -22761,7 +22761,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -22774,7 +22774,7 @@ public: ::Ifc4x2::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x2::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x2::IfcAxis2Placement v2_Placement, ::Ifc4x2::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -22789,7 +22789,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x2::IfcPlanarExtent Extent() const; @@ -22798,7 +22798,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x2::IfcAxis2Placement v2_Placement, ::Ifc4x2::IfcTextPath::Value v3_Path, ::Ifc4x2::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -22869,7 +22869,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -22890,7 +22890,7 @@ public: ::Ifc4x2::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x2::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x2::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22934,7 +22934,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -22949,7 +22949,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -22986,7 +22986,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -23004,7 +23004,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -23038,7 +23038,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -23053,7 +23053,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23125,7 +23125,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > RepresentationMaps() const; @@ -23135,7 +23135,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23153,7 +23153,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23168,7 +23168,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23202,7 +23202,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23226,7 +23226,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23239,7 +23239,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x2::IfcDirection Orientation() const; @@ -23248,7 +23248,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23266,13 +23266,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x2::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x2::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcVertex v1_LoopVertex); }; /// Definition: The window style defines a particular style of windows, which may be included into the spatial context of the building model through instances of IfcWindow. A window style defines the overall parameter of the window style and refers to the particular parameter of the lining and one (or several) panels through IfcWindowLiningProperties and IfcWindowPanelProperties. @@ -23296,7 +23296,7 @@ public: class IFC_PARSE_API IfcWindowStyle : public IfcTypeProduct { public: IfcWindowStyle() {} - explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the basic construction and material type of the window. ::Ifc4x2::IfcWindowStyleConstructionEnum::Value ConstructionType() const; @@ -23311,7 +23311,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x2::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x2::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// IfcZShapeProfileDef defines @@ -23342,7 +23342,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23363,7 +23363,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23382,17 +23382,17 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcFaceBound > v1_Bounds, ::Ifc4x2::IfcSurface v2_FaceSurface, bool v3_SameSense); }; class IFC_PARSE_API IfcAlignment2DHorizontal : public IfcGeometricRepresentationItem { public: IfcAlignment2DHorizontal() {} - explicit IfcAlignment2DHorizontal (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAlignment2DHorizontal (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::optional< double > StartDistAlong() const; void setStartDistAlong(const std::optional< double >& v); @@ -23400,14 +23400,14 @@ public: void setSegments(const std::vector< ::Ifc4x2::IfcAlignment2DHorizontalSegment >& v); std::vector< IfcAlignmentCurve > ToAlignmentCurve() const; // INVERSE IfcAlignmentCurve::Horizontal - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_StartDistAlong, std::vector< ::Ifc4x2::IfcAlignment2DHorizontalSegment > v2_Segments); }; class IFC_PARSE_API IfcAlignment2DSegment : public IfcGeometricRepresentationItem { public: IfcAlignment2DSegment() {} - explicit IfcAlignment2DSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAlignment2DSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::optional< bool > TangentialContinuity() const; void setTangentialContinuity(const std::optional< bool >& v); @@ -23416,27 +23416,27 @@ public: std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag); }; class IFC_PARSE_API IfcAlignment2DVertical : public IfcGeometricRepresentationItem { public: IfcAlignment2DVertical() {} - explicit IfcAlignment2DVertical (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAlignment2DVertical (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x2::IfcAlignment2DVerticalSegment > Segments() const; void setSegments(const std::vector< ::Ifc4x2::IfcAlignment2DVerticalSegment >& v); std::vector< IfcAlignmentCurve > ToAlignmentCurve() const; // INVERSE IfcAlignmentCurve::Vertical - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcAlignment2DVerticalSegment > v1_Segments); }; class IFC_PARSE_API IfcAlignment2DVerticalSegment : public IfcAlignment2DSegment { public: IfcAlignment2DVerticalSegment() {} - explicit IfcAlignment2DVerticalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} + explicit IfcAlignment2DVerticalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -23448,7 +23448,7 @@ public: void setStartGradient(const double& v); std::vector< IfcAlignment2DVertical > ToVertical() const; // INVERSE IfcAlignment2DVertical::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -23474,7 +23474,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -23487,7 +23487,7 @@ public: std::optional< std::vector< ::Ifc4x2::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x2::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x2::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -23530,7 +23530,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -23560,7 +23560,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -23575,13 +23575,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x2::IfcDirection Axis() const; void setAxis(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_Location, ::Ifc4x2::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -23598,13 +23598,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_Location, ::Ifc4x2::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -23623,7 +23623,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x2::IfcDirection Axis() const; @@ -23632,7 +23632,7 @@ public: ::Ifc4x2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_Location, ::Ifc4x2::IfcDirection v2_Axis, ::Ifc4x2::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -23664,7 +23664,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x2::IfcBooleanOperator::Value Operator() const; @@ -23676,7 +23676,7 @@ public: ::Ifc4x2::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x2::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x2::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -23694,10 +23694,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -23725,7 +23725,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x2::IfcCartesianPoint Corner() const; @@ -23740,7 +23740,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -23776,13 +23776,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x2::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x2::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x2::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -23810,7 +23810,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -23828,7 +23828,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -23841,51 +23841,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -23921,7 +23921,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x2::IfcDirection Axis1() const; @@ -23936,7 +23936,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -23947,10 +23947,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -23966,13 +23966,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -23983,13 +23983,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x2::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x2::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -24006,7 +24006,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -24015,7 +24015,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcDirection v1_Axis1, ::Ifc4x2::IfcDirection v2_Axis2, ::Ifc4x2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x2::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -24033,13 +24033,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -24094,10 +24094,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24111,7 +24111,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24129,7 +24129,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24140,7 +24140,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24150,7 +24150,7 @@ public: std::vector< ::Ifc4x2::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x2::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x2::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24163,7 +24163,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcGeometricRepresentationItem { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The state of transition (i.e., geometric continuity from the last point of this segment to the first point of the next segment) in a composite curve. ::Ifc4x2::IfcTransitionCode::Value Transition() const; @@ -24178,7 +24178,7 @@ public: void setParentCurve(const ::Ifc4x2::IfcCurve& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x2::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24199,14 +24199,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > >& v); ::Ifc4x2::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x2::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24225,7 +24225,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24249,7 +24249,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x2::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24265,13 +24265,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x2::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24282,13 +24282,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24335,13 +24335,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x2::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x2::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24357,10 +24357,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24379,7 +24379,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x2::IfcPlane BasisSurface() const; @@ -24391,7 +24391,7 @@ public: std::vector< ::Ifc4x2::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x2::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcPlane v1_BasisSurface, ::Ifc4x2::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x2::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24418,7 +24418,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x2::IfcSurface BasisSurface() const; @@ -24429,7 +24429,7 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x2::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -24442,20 +24442,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDistanceExpression : public IfcGeometricRepresentationItem { public: IfcDistanceExpression() {} - explicit IfcDistanceExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDistanceExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} double DistanceAlong() const; void setDistanceAlong(const double& v); @@ -24468,7 +24468,7 @@ public: std::optional< bool > AlongHorizontal() const; void setAlongHorizontal(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, std::optional< bool > v5_AlongHorizontal); }; /// Definition: The door style, IfcDoorStyle, defines a particular style of doors, which may be included into the spatial context of the building model through instances of IfcDoor. A door style defines the overall parameter of the door style and refers to the particular parameter of the lining and one (or several) panels through the IfcDoorLiningProperties and the IfcDoorPanelProperties. @@ -24500,7 +24500,7 @@ public: class IFC_PARSE_API IfcDoorStyle : public IfcTypeProduct { public: IfcDoorStyle() {} - explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the general layout and operation of the door style. ::Ifc4x2::IfcDoorStyleOperationEnum::Value OperationType() const; @@ -24515,7 +24515,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x2::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x2::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -24532,13 +24532,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x2::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x2::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -24621,7 +24621,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -24632,7 +24632,7 @@ public: std::vector< ::Ifc4x2::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x2::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x2::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -24660,13 +24660,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -24677,13 +24677,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -24705,7 +24705,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -24714,7 +24714,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -24726,7 +24726,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -24742,7 +24742,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -24816,7 +24816,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x2::IfcDirection ExtrudedDirection() const; @@ -24826,7 +24826,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -24930,13 +24930,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x2::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x2::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -24954,13 +24954,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x2::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x2::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -25013,7 +25013,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x2::IfcCurveStyle HatchLineAppearance() const; @@ -25039,7 +25039,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x2::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x2::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x2::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -25050,7 +25050,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x2::IfcVector > TilingPattern() const; @@ -25062,7 +25062,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x2::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25126,7 +25126,7 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping the SELF\IfcSweptAreaSolid.SweptArea along the Directrix. ::Ifc4x2::IfcCurve Directrix() const; @@ -25141,7 +25141,7 @@ public: ::Ifc4x2::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x2::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -25175,10 +25175,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25221,7 +25221,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x2::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25229,7 +25229,7 @@ public: std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25296,13 +25296,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x2::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25315,10 +25315,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25387,7 +25387,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25409,32 +25409,32 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef @@ -25491,7 +25491,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -25512,7 +25512,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -25529,13 +25529,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x2::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -25554,7 +25554,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x2::IfcCartesianPoint Pnt() const; @@ -25563,7 +25563,7 @@ public: ::Ifc4x2::IfcVector Dir() const; void setDir(const ::Ifc4x2::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_Pnt, ::Ifc4x2::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -25632,13 +25632,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x2::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x2::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -25726,7 +25726,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -25736,19 +25736,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x2::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -25765,7 +25765,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -25774,7 +25774,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -25795,7 +25795,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -25807,21 +25807,21 @@ public: ::Ifc4x2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x2::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x2::IfcDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x2::IfcDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x2::IfcDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -25834,14 +25834,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x2::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x2::IfcSurface& v); ::Ifc4x2::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSurface v1_BasisSurface, ::Ifc4x2::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -25853,14 +25853,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x2::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x2::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -25902,10 +25902,10 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -25916,10 +25916,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -25932,10 +25932,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -25961,10 +25961,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -25983,14 +25983,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x2::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x2::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -26036,7 +26036,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -26053,7 +26053,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26150,7 +26150,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x2::IfcObjectPlacement ObjectPlacement() const; @@ -26161,7 +26161,7 @@ public: std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct std::vector< IfcRelPositions > PositionedRelativeTo() const; // INVERSE IfcRelPositions::RelatedProducts - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26211,10 +26211,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x2::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26244,10 +26244,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x2::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26357,7 +26357,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x2::IfcValue UpperBoundValue() const; @@ -26374,7 +26374,7 @@ public: ::Ifc4x2::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x2::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcValue v3_UpperBoundValue, ::Ifc4x2::IfcValue v4_LowerBoundValue, ::Ifc4x2::IfcUnit v5_Unit, ::Ifc4x2::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -26457,7 +26457,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -26468,7 +26468,7 @@ public: ::Ifc4x2::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x2::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x2::IfcValue > > v3_EnumerationValues, ::Ifc4x2::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -26539,7 +26539,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -26550,7 +26550,7 @@ public: ::Ifc4x2::IfcUnit Unit() const; void setUnit(const ::Ifc4x2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x2::IfcValue > > v3_ListValues, ::Ifc4x2::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -26571,7 +26571,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -26582,7 +26582,7 @@ public: ::Ifc4x2::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x2::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x2::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -26641,13 +26641,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x2::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x2::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -26684,7 +26684,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -26707,7 +26707,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x2::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x2::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -26757,7 +26757,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -26770,7 +26770,7 @@ public: ::Ifc4x2::IfcUnit Unit() const; void setUnit(const ::Ifc4x2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x2::IfcValue v3_NominalValue, ::Ifc4x2::IfcUnit v4_Unit); }; /// A property with a range value @@ -26892,7 +26892,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -26919,7 +26919,7 @@ public: std::optional< ::Ifc4x2::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x2::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x2::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x2::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x2::IfcUnit v6_DefiningUnit, ::Ifc4x2::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -26949,12 +26949,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcProxy is intended to be a kind of a container for wrapping objects which are defined by associated properties, which may or may not have a geometric representation and placement in space. A proxy may have a semantic meaning, defined by the Name attribute, and property definitions, attached through the property assignment relationship, which definition may be outside of the definitions given by the current release of IFC. @@ -26976,7 +26976,7 @@ public: class IFC_PARSE_API IfcProxy : public IfcProduct { public: IfcProxy() {} - explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} /// High level (and only) semantic meaning attached to the IfcProxy, defining the basic construct type behind the Proxy, e.g. Product or Process. ::Ifc4x2::IfcObjectTypeEnum::Value ProxyType() const; @@ -26985,7 +26985,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -27011,7 +27011,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -27023,7 +27023,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27117,7 +27117,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27129,7 +27129,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27150,7 +27150,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x2::IfcSurface BasisSurface() const; @@ -27174,7 +27174,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27206,7 +27206,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27215,7 +27215,7 @@ public: std::vector< ::Ifc4x2::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x2::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x2::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27232,7 +27232,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x2::IfcObjectDefinition > RelatedObjects() const; @@ -27242,7 +27242,7 @@ public: std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -27257,7 +27257,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x2::IfcActor RelatingActor() const; @@ -27266,7 +27266,7 @@ public: ::Ifc4x2::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x2::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcActor v7_RelatingActor, ::Ifc4x2::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -27277,13 +27277,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x2::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x2::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27302,13 +27302,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x2::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x2::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27323,13 +27323,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27357,7 +27357,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27368,7 +27368,7 @@ public: ::Ifc4x2::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x2::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcProcessSelect v7_RelatingProcess, ::Ifc4x2::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27382,7 +27382,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27390,7 +27390,7 @@ public: ::Ifc4x2::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x2::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -27402,7 +27402,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -27410,7 +27410,7 @@ public: ::Ifc4x2::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x2::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x2::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -27457,7 +27457,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -27465,7 +27465,7 @@ public: std::vector< ::Ifc4x2::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x2::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -27474,13 +27474,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x2::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x2::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -27516,13 +27516,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x2::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x2::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -27531,7 +27531,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -27540,7 +27540,7 @@ public: ::Ifc4x2::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x2::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x2::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -27553,13 +27553,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x2::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x2::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -27572,13 +27572,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x2::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x2::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -27678,13 +27678,13 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x2::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x2::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x2::IfcMaterialSelect v6_RelatingMaterial); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -27693,10 +27693,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -27724,7 +27724,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x2::IfcConnectionGeometry ConnectionGeometry() const; @@ -27736,7 +27736,7 @@ public: ::Ifc4x2::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x2::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x2::IfcElement v6_RelatingElement, ::Ifc4x2::IfcElement v7_RelatedElement); }; /// The @@ -27772,7 +27772,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -27787,7 +27787,7 @@ public: ::Ifc4x2::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x2::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x2::IfcElement v6_RelatingElement, ::Ifc4x2::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -27818,7 +27818,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x2::IfcPort RelatingPort() const; @@ -27829,7 +27829,7 @@ public: ::Ifc4x2::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x2::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcPort v5_RelatingPort, ::Ifc4x2::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -27848,7 +27848,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x2::IfcPort RelatingPort() const; @@ -27860,7 +27860,7 @@ public: ::Ifc4x2::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x2::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcPort v5_RelatingPort, ::Ifc4x2::IfcPort v6_RelatedPort, ::Ifc4x2::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -27869,7 +27869,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x2::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -27878,7 +27878,7 @@ public: ::Ifc4x2::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x2::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x2::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -27908,7 +27908,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x2::IfcStructuralMember RelatingStructuralMember() const; @@ -27929,7 +27929,7 @@ public: ::Ifc4x2::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x2::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x2::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x2::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x2::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -27952,13 +27952,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x2::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x2::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x2::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x2::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x2::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x2::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x2::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -27987,7 +27987,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x2::IfcElement > RealizingElements() const; @@ -27996,7 +27996,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x2::IfcElement v6_RelatingElement, ::Ifc4x2::IfcElement v7_RelatedElement, std::vector< ::Ifc4x2::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -28062,7 +28062,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -28073,7 +28073,7 @@ public: ::Ifc4x2::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x2::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcProduct > v5_RelatedElements, ::Ifc4x2::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -28095,7 +28095,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28106,7 +28106,7 @@ public: std::vector< ::Ifc4x2::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x2::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x2::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28138,7 +28138,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28149,7 +28149,7 @@ public: std::vector< ::Ifc4x2::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x2::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x2::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28166,7 +28166,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x2::IfcContext RelatingContext() const; @@ -28175,7 +28175,7 @@ public: std::vector< ::Ifc4x2::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x2::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcContext v5_RelatingContext, std::vector< ::Ifc4x2::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28211,10 +28211,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -28247,10 +28247,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -28271,7 +28271,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x2::IfcObject > RelatedObjects() const; @@ -28280,7 +28280,7 @@ public: ::Ifc4x2::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x2::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObject > v5_RelatedObjects, ::Ifc4x2::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28301,7 +28301,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x2::IfcObjectDefinition > RelatedObjects() const; @@ -28310,7 +28310,7 @@ public: ::Ifc4x2::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x2::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x2::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28328,7 +28328,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x2::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28337,7 +28337,7 @@ public: ::Ifc4x2::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x2::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x2::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -28412,7 +28412,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x2::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x2::IfcObject >& v); @@ -28420,7 +28420,7 @@ public: ::Ifc4x2::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x2::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcObject > v5_RelatedObjects, ::Ifc4x2::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -28435,7 +28435,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x2::IfcOpeningElement RelatingOpeningElement() const; @@ -28446,7 +28446,7 @@ public: ::Ifc4x2::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x2::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x2::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -28459,7 +28459,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x2::IfcDistributionControlElement > RelatedControlElements() const; @@ -28468,7 +28468,7 @@ public: ::Ifc4x2::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x2::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x2::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -28521,7 +28521,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x2::IfcElement RelatingElement() const; @@ -28539,7 +28539,7 @@ public: boost::logic::tribool ImpliedOrder() const; void setImpliedOrder(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcElement v5_RelatingElement, ::Ifc4x2::IfcElement v6_RelatedElement, ::Ifc4x2::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder); }; /// The nesting relationship @@ -28570,7 +28570,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -28583,21 +28583,21 @@ public: std::vector< ::Ifc4x2::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x2::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x2::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelPositions : public IfcRelConnects { public: IfcRelPositions() {} - explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc4x2::IfcPositioningElement RelatingPositioningElement() const; void setRelatingPositioningElement(const ::Ifc4x2::IfcPositioningElement& v); std::vector< ::Ifc4x2::IfcProduct > RelatedProducts() const; void setRelatedProducts(const std::vector< ::Ifc4x2::IfcProduct >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x2::IfcProduct > v6_RelatedProducts); }; /// The IfcRelProjectsElement is an objectified relationship @@ -28635,7 +28635,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x2::IfcElement RelatingElement() const; @@ -28644,7 +28644,7 @@ public: ::Ifc4x2::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x2::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcElement v5_RelatingElement, ::Ifc4x2::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -28699,7 +28699,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -28711,7 +28711,7 @@ public: ::Ifc4x2::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x2::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x2::IfcProduct > v5_RelatedElements, ::Ifc4x2::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -28771,7 +28771,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x2::IfcProcess RelatingProcess() const; @@ -28799,7 +28799,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcProcess v5_RelatingProcess, ::Ifc4x2::IfcProcess v6_RelatedProcess, ::Ifc4x2::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x2::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -28826,7 +28826,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x2::IfcSystem RelatingSystem() const; @@ -28839,7 +28839,7 @@ public: std::vector< ::Ifc4x2::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x2::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x2::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -29007,7 +29007,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x2::IfcSpaceBoundarySelect RelatingSpace() const; @@ -29031,7 +29031,7 @@ public: ::Ifc4x2::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x2::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x2::IfcElement v6_RelatedBuildingElement, ::Ifc4x2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -29084,14 +29084,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x2::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x2::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x2::IfcElement v6_RelatedBuildingElement, ::Ifc4x2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29129,14 +29129,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x2::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x2::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x2::IfcElement v6_RelatedBuildingElement, ::Ifc4x2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x2::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29149,14 +29149,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x2::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x2::IfcElement& v); ::Ifc4x2::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x2::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcElement v5_RelatingBuildingElement, ::Ifc4x2::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29185,12 +29185,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x2::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29209,7 +29209,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29224,7 +29224,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -29306,7 +29306,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x2::IfcAxis1Placement Axis() const; @@ -29315,7 +29315,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29379,12 +29379,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x2::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x2::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -29455,7 +29455,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -29464,7 +29464,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -29551,7 +29551,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -29560,35 +29560,35 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x2::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x2::IfcCurve& v); std::vector< ::Ifc4x2::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x2::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_Directrix, std::vector< ::Ifc4x2::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x2::IfcDistanceExpression > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x2::IfcDistanceExpression >& v); bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_Directrix, std::vector< ::Ifc4x2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x2::IfcDistanceExpression > v3_CrossSectionPositions, bool v4_FixedAxisVertical); }; /// The IfcSimplePropertyTemplate defines the template for @@ -29639,7 +29639,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -29689,7 +29689,7 @@ public: std::optional< ::Ifc4x2::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x2::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x2::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x2::IfcUnit v9_PrimaryUnit, ::Ifc4x2::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x2::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -29726,7 +29726,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -29737,7 +29737,7 @@ public: std::vector< IfcRelServicesBuildings > ServicedBySystems() const; // INVERSE IfcRelServicesBuildings::RelatedBuildings std::vector< IfcRelReferencedInSpatialStructure > ReferencesElements() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatingStructure - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -29774,13 +29774,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -29860,7 +29860,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -29869,7 +29869,7 @@ public: std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -29909,10 +29909,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -29967,13 +29967,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x2::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -30009,7 +30009,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x2::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -30017,7 +30017,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -30073,25 +30073,25 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Radius); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30190,7 +30190,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -30218,7 +30218,7 @@ public: void setGlobalOrLocal(const ::Ifc4x2::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -30311,11 +30311,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -30325,11 +30325,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30355,10 +30355,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -30384,7 +30384,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -30393,7 +30393,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -30417,10 +30417,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -30448,13 +30448,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -30471,20 +30471,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x2::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x2::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x2::IfcCurve& v); @@ -30493,7 +30493,7 @@ public: ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -30561,7 +30561,7 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping the SELF\IfcSweptAreaSolid.SweptArea along the Directrix. ::Ifc4x2::IfcCurve Directrix() const; @@ -30580,7 +30580,7 @@ public: ::Ifc4x2::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x2::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptArea, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x2::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -30599,7 +30599,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x2::IfcDirection ExtrudedDirection() const; @@ -30608,7 +30608,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptCurve, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -30631,13 +30631,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x2::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x2::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileDef v1_SweptCurve, ::Ifc4x2::IfcAxis2Placement3D v2_Position, ::Ifc4x2::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -30673,12 +30673,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -30929,7 +30929,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -30971,7 +30971,7 @@ public: std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x2::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -31017,7 +31017,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -31027,35 +31027,35 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x2::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x2::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x2::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; /// Definition from IAI: The element type @@ -31124,20 +31124,20 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcElementType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x2::IfcTransportElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcTransportElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTransportElementTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31148,19 +31148,19 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer @@ -31264,7 +31264,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -31311,7 +31311,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x2::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31362,7 +31362,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x2::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -31382,7 +31382,7 @@ public: ::Ifc4x2::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x2::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x2::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -31403,14 +31403,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x2::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x2::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -31449,10 +31449,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -31479,63 +31479,63 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x2::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x2::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x2::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcAlignment2DHorizontalSegment : public IfcAlignment2DSegment { public: IfcAlignment2DHorizontalSegment() {} - explicit IfcAlignment2DHorizontalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} + explicit IfcAlignment2DHorizontalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} ::Ifc4x2::IfcCurveSegment2D CurveGeometry() const; void setCurveGeometry(const ::Ifc4x2::IfcCurveSegment2D& v); std::vector< IfcAlignment2DHorizontal > ToHorizontal() const; // INVERSE IfcAlignment2DHorizontal::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, ::Ifc4x2::IfcCurveSegment2D v4_CurveGeometry); }; class IFC_PARSE_API IfcAlignment2DVerSegCircularArc : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegCircularArc() {} - explicit IfcAlignment2DVerSegCircularArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegCircularArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} double Radius() const; void setRadius(const double& v); bool IsConvex() const; void setIsConvex(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_Radius, bool v9_IsConvex); }; class IFC_PARSE_API IfcAlignment2DVerSegLine : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegLine() {} - explicit IfcAlignment2DVerSegLine (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegLine (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient); }; class IFC_PARSE_API IfcAlignment2DVerSegParabolicArc : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegParabolicArc() {} - explicit IfcAlignment2DVerSegParabolicArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegParabolicArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} double ParabolaConstant() const; void setParabolaConstant(const double& v); bool IsConvex() const; void setIsConvex(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_ParabolaConstant, bool v9_IsConvex); }; /// Definition from IAI: An annotation is a graphical @@ -31714,11 +31714,11 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -31793,7 +31793,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -31817,7 +31817,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -31830,7 +31830,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -31848,7 +31848,7 @@ public: ::Ifc4x2::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x2::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -31951,7 +31951,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -31963,7 +31963,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -31976,10 +31976,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x2::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -31995,11 +31995,11 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} std::vector< IfcLinearPositioningElement > PositioningElement() const; // INVERSE IfcLinearPositioningElement::Axis - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: The element type @@ -32034,10 +32034,10 @@ public: class IFC_PARSE_API IfcBuildingElementType : public IfcElementType { public: IfcBuildingElementType() {} - explicit IfcBuildingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuildingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The IfcChimneyType @@ -32068,13 +32068,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuildingElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x2::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32098,23 +32098,23 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x2::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The element type @@ -32218,13 +32218,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuildingElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x2::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -32238,7 +32238,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -32248,7 +32248,7 @@ public: std::optional< std::vector< ::Ifc4x2::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x2::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x2::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -32320,7 +32320,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x2::IfcCompositeCurveSegment > Segments() const; @@ -32329,7 +32329,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -32346,10 +32346,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -32360,13 +32360,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x2::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -32385,13 +32385,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -32410,13 +32410,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -32435,13 +32435,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -32519,7 +32519,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x2::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x2::IfcResourceTime& v); @@ -32528,7 +32528,7 @@ public: ::Ifc4x2::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x2::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -32544,7 +32544,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -32554,7 +32554,7 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -32596,7 +32596,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -32618,7 +32618,7 @@ public: std::optional< std::vector< ::Ifc4x2::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x2::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x2::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x2::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -32647,7 +32647,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -32674,7 +32674,7 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; /// Definition from IAI: The element type @@ -32759,13 +32759,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuildingElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x2::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -32781,14 +32781,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x2::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -32815,20 +32815,20 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuildingElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x2::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCurveSegment2D : public IfcBoundedCurve { public: IfcCurveSegment2D() {} - explicit IfcCurveSegment2D (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCurveSegment2D (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x2::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x2::IfcCartesianPoint& v); @@ -32837,7 +32837,7 @@ public: double SegmentLength() const; void setSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -32897,23 +32897,23 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcDeepFoundationType : public IfcBuildingElementType { public: IfcDeepFoundationType() {} - explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The @@ -32947,10 +32947,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33021,10 +33021,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33125,7 +33125,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -33173,7 +33173,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x2::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -33224,7 +33224,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -33244,7 +33244,7 @@ public: ::Ifc4x2::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x2::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x2::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -33378,7 +33378,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuildingElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x2::IfcDoorTypeEnum::Value PredefinedType() const; @@ -33391,7 +33391,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x2::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -33469,10 +33469,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -33491,10 +33491,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -33553,7 +33553,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -33571,7 +33571,7 @@ public: std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -33671,7 +33671,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x2::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -33682,7 +33682,7 @@ public: std::optional< ::Ifc4x2::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -33710,13 +33710,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x2::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -33799,10 +33799,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -33817,10 +33817,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -33853,7 +33853,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -33862,7 +33862,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -33891,10 +33891,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -33926,12 +33926,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x2::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -33963,13 +33963,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34001,13 +34001,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x2::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34090,7 +34090,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34109,7 +34109,7 @@ public: ::Ifc4x2::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x2::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x2::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x2::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34120,10 +34120,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -34153,10 +34153,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -34186,33 +34186,33 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x2::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x2::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x2::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcFacility : public IfcSpatialStructureElement { public: IfcFacility() {} - explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType); }; class IFC_PARSE_API IfcFacilityPart : public IfcSpatialStructureElement { public: IfcFacilityPart() {} - explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: @@ -34226,13 +34226,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x2::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -34261,13 +34261,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x2::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -34367,10 +34367,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -34431,11 +34431,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -34491,11 +34491,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -34523,10 +34523,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -34555,10 +34555,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -34596,13 +34596,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x2::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -34630,10 +34630,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -34670,10 +34670,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -34686,10 +34686,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -34702,10 +34702,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -34719,10 +34719,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -34737,13 +34737,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuildingElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Subtype of footing. ::Ifc4x2::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -34853,10 +34853,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -34893,12 +34893,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35044,13 +35044,13 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x2::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35086,11 +35086,11 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35125,13 +35125,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x2::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -35163,20 +35163,20 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x2::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x2::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x2::IfcCartesianPointList& v); @@ -35185,7 +35185,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x2::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -35224,22 +35224,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x2::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -35256,7 +35256,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -35281,7 +35281,7 @@ public: ::Ifc4x2::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x2::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x2::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x2::IfcCostValue v10_CurrentValue, ::Ifc4x2::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -35314,13 +35314,13 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x2::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -35350,14 +35350,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x2::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -35392,13 +35392,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x2::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -35435,23 +35435,23 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x2::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLineSegment2D : public IfcCurveSegment2D { public: IfcLineSegment2D() {} - explicit IfcLineSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcLineSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -35486,7 +35486,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -35496,7 +35496,7 @@ public: std::optional< ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -35537,7 +35537,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -35549,7 +35549,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -35581,12 +35581,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -35693,13 +35693,13 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuildingElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x2::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMemberTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -35732,13 +35732,13 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x2::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -35751,7 +35751,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -35759,7 +35759,7 @@ public: std::optional< ::Ifc4x2::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x2::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -35967,7 +35967,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -35976,7 +35976,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The standard opening, @@ -36075,10 +36075,10 @@ public: class IFC_PARSE_API IfcOpeningStandardCase : public IfcOpeningElement { public: IfcOpeningStandardCase() {} - explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} + explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -36113,13 +36113,13 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x2::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcOutletTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -36130,7 +36130,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -36141,7 +36141,7 @@ public: std::optional< ::Ifc4x2::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -36178,7 +36178,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x2::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -36196,7 +36196,7 @@ public: ::Ifc4x2::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x2::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x2::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -36239,7 +36239,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -36257,7 +36257,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -36270,13 +36270,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcDeepFoundationType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} /// Subtype of pile. ::Ifc4x2::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -36311,13 +36311,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x2::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -36356,13 +36356,13 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x2::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -36445,20 +36445,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuildingElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x2::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -36467,7 +36467,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -36487,13 +36487,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x2::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x2::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -36552,25 +36552,25 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelPositions > Positions() const; // INVERSE IfcRelPositions::RelatingPositioningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -36680,14 +36680,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x2::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x2::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -36736,7 +36736,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36758,7 +36758,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -36871,7 +36871,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36879,7 +36879,7 @@ public: std::optional< ::Ifc4x2::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -36920,13 +36920,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -36960,13 +36960,13 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x2::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcPumpTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -36992,13 +36992,13 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuildingElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x2::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRailingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -37024,13 +37024,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuildingElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x2::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -37069,13 +37069,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuildingElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x2::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -37094,27 +37094,27 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x2::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcReferentTypeEnum::Value >& v); std::optional< double > RestartDistance() const; void setRestartDistance(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x2::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37128,12 +37128,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37142,10 +37142,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37175,7 +37175,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -37197,7 +37197,7 @@ public: std::optional< ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37214,7 +37214,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -37248,7 +37248,7 @@ public: std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > v20_BendingParameters); }; /// The aggregation relationship @@ -37276,7 +37276,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -37289,7 +37289,7 @@ public: std::vector< ::Ifc4x2::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x2::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x2::IfcObjectDefinition > v6_RelatedObjects); }; /// Definition from IAI: The element type @@ -37327,13 +37327,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuildingElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x2::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -37376,23 +37376,23 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// Definition from IAI: The IfcShadingDeviceType @@ -37419,13 +37419,13 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuildingElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x2::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -37620,7 +37620,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -37641,7 +37641,7 @@ public: ::Ifc4x2::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x2::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x2::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -37724,13 +37724,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuildingElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x2::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -37762,12 +37762,12 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x2::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; /// A space represents an area or volume @@ -38023,7 +38023,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -38038,7 +38038,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x2::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -38074,13 +38074,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -38167,7 +38167,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x2::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -38175,7 +38175,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -38207,13 +38207,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x2::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -38239,13 +38239,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuildingElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x2::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38284,13 +38284,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuildingElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x2::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -38315,13 +38315,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -38330,14 +38330,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x2::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x2::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -38399,7 +38399,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -38408,7 +38408,7 @@ public: ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -38431,7 +38431,7 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Direction which is used in the definition of the local z axis. Axis is specified relative to the so-called global coordinate system, i.e. the SELF\IfcProduct.ObjectPlacement. /// @@ -38439,7 +38439,7 @@ public: ::Ifc4x2::IfcDirection Axis() const; void setAxis(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x2::IfcDirection v9_Axis); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -38482,7 +38482,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -38493,7 +38493,7 @@ public: ::Ifc4x2::IfcDirection Axis() const; void setAxis(const ::Ifc4x2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x2::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -38519,10 +38519,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x2::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -38578,13 +38578,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -38597,10 +38597,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -38639,7 +38639,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x2::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -38659,7 +38659,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -38710,10 +38710,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -38732,13 +38732,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x2::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x2::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -38787,10 +38787,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -38800,7 +38800,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x2::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -38813,7 +38813,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x2::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -38871,7 +38871,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -38880,7 +38880,7 @@ public: ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -38898,10 +38898,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -38931,14 +38931,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x2::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -38976,13 +38976,13 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x2::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSurfaceFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -39028,13 +39028,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -39057,11 +39057,11 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -39091,12 +39091,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -39134,20 +39134,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x2::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x2::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcTendonTypeEnum::Value >& v); @@ -39166,62 +39166,62 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x2::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x2::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x2::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduit : public IfcReinforcingElement { public: IfcTendonConduit() {} - explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} ::Ifc4x2::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x2::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduitType : public IfcReinforcingElementType { public: IfcTendonConduitType() {} - explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x2::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x2::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcTendonTypeEnum::Value& v); @@ -39232,7 +39232,7 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -39265,20 +39265,20 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x2::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTransformerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTransitionCurveSegment2D : public IfcCurveSegment2D { public: IfcTransitionCurveSegment2D() {} - explicit IfcTransitionCurveSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcTransitionCurveSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} std::optional< double > StartRadius() const; void setStartRadius(const std::optional< double >& v); @@ -39291,7 +39291,7 @@ public: ::Ifc4x2::IfcTransitionCurveType::Value TransitionCurveType() const; void setTransitionCurveType(const ::Ifc4x2::IfcTransitionCurveType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x2::IfcTransitionCurveType::Value v8_TransitionCurveType); }; /// Definition from IAI: Generalization of all transport @@ -39413,7 +39413,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcElement { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -39421,7 +39421,7 @@ public: std::optional< ::Ifc4x2::IfcTransportElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcTransportElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTransportElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: @@ -39505,7 +39505,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x2::IfcCurve BasisCurve() const; @@ -39523,7 +39523,7 @@ public: ::Ifc4x2::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x2::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x2::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x2::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x2::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -39558,13 +39558,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x2::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -39598,13 +39598,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -39648,37 +39648,37 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x2::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcValveTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamper : public IfcElementComponent { public: IfcVibrationDamper() {} - explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamperType : public IfcElementComponentType { public: IfcVibrationDamperType() {} - explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x2::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -39718,12 +39718,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -39751,13 +39751,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -39849,10 +39849,10 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -39890,13 +39890,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x2::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -39986,13 +39986,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuildingElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x2::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -40034,13 +40034,13 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x2::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -40167,7 +40167,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuildingElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x2::IfcWindowTypeEnum::Value PredefinedType() const; @@ -40180,7 +40180,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -40199,7 +40199,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -40218,7 +40218,7 @@ public: std::optional< ::Ifc4x2::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x2::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x2::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -40268,7 +40268,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -40292,7 +40292,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -40323,14 +40323,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x2::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -40376,14 +40376,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x2::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -40474,7 +40474,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -40484,7 +40484,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -40528,7 +40528,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -40550,7 +40550,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -40582,13 +40582,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -40620,12 +40620,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x2::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -40657,20 +40657,20 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentCurve : public IfcBoundedCurve { public: IfcAlignmentCurve() {} - explicit IfcAlignmentCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcAlignmentCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x2::IfcAlignment2DHorizontal Horizontal() const; void setHorizontal(const ::Ifc4x2::IfcAlignment2DHorizontal& v); @@ -40679,7 +40679,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAlignment2DHorizontal v1_Horizontal, ::Ifc4x2::IfcAlignment2DVertical v2_Vertical, std::optional< std::string > v3_Tag); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -40709,7 +40709,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -40744,7 +40744,7 @@ public: ::Ifc4x2::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x2::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x2::IfcCostValue v7_OriginalValue, ::Ifc4x2::IfcCostValue v8_CurrentValue, ::Ifc4x2::IfcCostValue v9_TotalReplacementCost, ::Ifc4x2::IfcActorSelect v10_Owner, ::Ifc4x2::IfcActorSelect v11_User, ::Ifc4x2::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x2::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -40792,13 +40792,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -40853,7 +40853,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -40871,7 +40871,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -40894,7 +40894,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -40906,7 +40906,7 @@ public: ::Ifc4x2::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x2::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -41010,25 +41010,25 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuildingElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x2::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBearingType : public IfcBuildingElementType { public: IfcBearingType() {} - explicit IfcBearingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcBearingType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} ::Ifc4x2::IfcBearingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcBearingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBearingTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -41063,13 +41063,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x2::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -41082,34 +41082,34 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; class IFC_PARSE_API IfcBridge : public IfcFacility { public: IfcBridge() {} - explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x2::IfcBridgeTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcBridgeTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x2::IfcBridgeTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcBridgePart : public IfcFacilityPart { public: IfcBridgePart() {} - explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x2::IfcBridgePartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcBridgePartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x2::IfcBridgePartTypeEnum::Value > v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -41289,7 +41289,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcFacility { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -41301,7 +41301,7 @@ public: ::Ifc4x2::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x2::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x2::IfcPostalAddress v12_BuildingAddress); }; /// Definition from ISO 6707-1:1989: Major functional part @@ -41670,10 +41670,10 @@ public: class IFC_PARSE_API IfcBuildingElement : public IfcElement { public: IfcBuildingElement() {} - explicit IfcBuildingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuildingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Layers or major components as subordinate @@ -41696,13 +41696,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -41712,13 +41712,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -41914,12 +41914,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuildingElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuildingElement(data) {} std::optional< ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -41959,13 +41959,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuildingElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuildingElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// The building storey has an @@ -42148,13 +42148,13 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcFacilityPart { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcFacilityPart(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; /// Definition from IAI: A building system is a @@ -42196,7 +42196,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x2::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -42204,7 +42204,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42237,12 +42237,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x2::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42274,13 +42274,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42318,13 +42318,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42358,13 +42358,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x2::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42411,25 +42411,25 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x2::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundationType : public IfcDeepFoundationType { public: IfcCaissonFoundationType() {} - explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -42467,13 +42467,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x2::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42520,14 +42520,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuildingElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x2::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42560,37 +42560,37 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCircularArcSegment2D : public IfcCurveSegment2D { public: IfcCircularArcSegment2D() {} - explicit IfcCircularArcSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcCircularArcSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} double Radius() const; void setRadius(const double& v); bool IsCCW() const; void setIsCCW(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, double v4_Radius, bool v5_IsCCW); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -42623,13 +42623,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x2::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -42906,7 +42906,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuildingElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -42915,7 +42915,7 @@ public: std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The standard column, @@ -43166,10 +43166,10 @@ public: class IFC_PARSE_API IfcColumnStandardCase : public IfcColumn { public: IfcColumnStandardCase() {} - explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} + explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -43207,13 +43207,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -43246,13 +43246,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x2::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -43285,13 +43285,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x2::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -43319,14 +43319,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -43358,14 +43358,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -43386,14 +43386,14 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -43428,13 +43428,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x2::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -43473,13 +43473,13 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x2::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -43709,7 +43709,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuildingElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x2::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -43717,7 +43717,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -43861,7 +43861,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuildingElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -43870,7 +43870,7 @@ public: std::optional< ::Ifc4x2::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -43910,23 +43910,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x2::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDeepFoundation : public IfcBuildingElement { public: IfcDeepFoundation() {} - explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuildingElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Representation of different kinds of @@ -44105,13 +44105,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -44305,13 +44305,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -44354,13 +44354,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -44420,10 +44420,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -44591,11 +44591,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -44669,11 +44669,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -44761,7 +44761,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x2::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -44772,7 +44772,7 @@ public: std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x2::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -44818,7 +44818,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -44829,7 +44829,7 @@ public: std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -45191,7 +45191,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuildingElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -45219,7 +45219,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The standard door, @@ -45329,10 +45329,10 @@ public: class IFC_PARSE_API IfcDoorStandardCase : public IfcDoor { public: IfcDoorStandardCase() {} - explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} + explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -45367,13 +45367,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x2::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -45408,13 +45408,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x2::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -45446,13 +45446,13 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x2::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -45487,13 +45487,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x2::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -45526,13 +45526,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -45565,13 +45565,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -45609,13 +45609,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -45648,13 +45648,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x2::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -45687,13 +45687,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -45708,10 +45708,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -45758,12 +45758,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -45813,12 +45813,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -45888,12 +45888,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -45914,14 +45914,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x2::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -45955,13 +45955,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x2::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -45996,13 +45996,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x2::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -46041,13 +46041,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -46062,10 +46062,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -46076,10 +46076,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -46115,13 +46115,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -46207,12 +46207,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x2::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -46223,10 +46223,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -46255,10 +46255,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -46273,10 +46273,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -46293,10 +46293,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -46307,10 +46307,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -46338,7 +46338,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuildingElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// The generic type of the footing. /// @@ -46346,7 +46346,7 @@ public: std::optional< ::Ifc4x2::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFootingTypeEnum::Value > v9_PredefinedType); }; /// IfcGrid ia a planar design @@ -46448,7 +46448,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x2::IfcGridAxis > UAxes() const; @@ -46462,7 +46462,7 @@ public: std::optional< ::Ifc4x2::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x2::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x2::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x2::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x2::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -46518,12 +46518,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -46572,12 +46572,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -46640,12 +46640,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x2::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -46717,12 +46717,12 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x2::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -46775,12 +46775,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -46852,24 +46852,24 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} ::Ifc4x2::IfcCurve Axis() const; void setAxis(const ::Ifc4x2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcCurve v8_Axis); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -46919,12 +46919,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -47180,7 +47180,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuildingElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -47189,7 +47189,7 @@ public: std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// The standard member, @@ -47434,10 +47434,10 @@ public: class IFC_PARSE_API IfcMemberStandardCase : public IfcMember { public: IfcMemberStandardCase() {} - explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} + explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -47484,12 +47484,12 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -47500,10 +47500,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x2::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -47575,12 +47575,12 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcOutletTypeEnum::Value > v9_PredefinedType); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -47604,7 +47604,7 @@ public: class IFC_PARSE_API IfcPile : public IfcDeepFoundation { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} /// The predefined generic type of the pile according to function. /// @@ -47617,7 +47617,7 @@ public: std::optional< ::Ifc4x2::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x2::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x2::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -47708,12 +47708,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x2::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -47779,12 +47779,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x2::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -48018,7 +48018,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuildingElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -48027,7 +48027,7 @@ public: std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// The standard plate, @@ -48186,10 +48186,10 @@ public: class IFC_PARSE_API IfcPlateStandardCase : public IfcPlate { public: IfcPlateStandardCase() {} - explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} + explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -48271,12 +48271,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -48322,13 +48322,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -48383,12 +48383,12 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x2::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcPumpTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -48526,7 +48526,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuildingElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -48534,7 +48534,7 @@ public: std::optional< ::Ifc4x2::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -48673,7 +48673,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuildingElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -48683,7 +48683,7 @@ public: std::optional< ::Ifc4x2::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -48877,7 +48877,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuildingElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -48886,7 +48886,7 @@ public: std::optional< ::Ifc4x2::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -48928,13 +48928,13 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x2::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, ::Ifc4x2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48968,7 +48968,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -48982,7 +48982,7 @@ public: std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -49004,7 +49004,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x2::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -49026,7 +49026,7 @@ public: std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x2::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -49177,7 +49177,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuildingElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -49185,7 +49185,7 @@ public: std::optional< ::Ifc4x2::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -49317,12 +49317,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -49376,13 +49376,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x2::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -49402,14 +49402,14 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuildingElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x2::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -49675,7 +49675,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuildingElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -49684,7 +49684,7 @@ public: std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The IfcSlabElementedCase @@ -49773,10 +49773,10 @@ public: class IFC_PARSE_API IfcSlabElementedCase : public IfcSlab { public: IfcSlabElementedCase() {} - explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The standard slab, @@ -49941,10 +49941,10 @@ public: class IFC_PARSE_API IfcSlabStandardCase : public IfcSlab { public: IfcSlabStandardCase() {} - explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -49997,12 +49997,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -50070,12 +50070,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -50131,12 +50131,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -50307,7 +50307,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuildingElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -50315,7 +50315,7 @@ public: std::optional< ::Ifc4x2::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -50488,7 +50488,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuildingElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuildingElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -50514,7 +50514,7 @@ public: std::optional< ::Ifc4x2::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x2::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -50543,7 +50543,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x2::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -50574,7 +50574,7 @@ public: ::Ifc4x2::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x2::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x2::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x2::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x2::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x2::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -50583,7 +50583,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -50593,7 +50593,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -50606,10 +50606,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -50703,12 +50703,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -50774,12 +50774,12 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x2::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTankTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -50827,12 +50827,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -50885,12 +50885,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -50922,13 +50922,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -51006,12 +51006,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -51203,12 +51203,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x2::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -51456,7 +51456,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuildingElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -51465,7 +51465,7 @@ public: std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallElementedCase @@ -51569,10 +51569,10 @@ public: class IFC_PARSE_API IfcWallElementedCase : public IfcWall { public: IfcWallElementedCase() {} - explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -51780,10 +51780,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -51893,12 +51893,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -52262,7 +52262,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuildingElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -52290,7 +52290,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The standard window, @@ -52410,10 +52410,10 @@ public: class IFC_PARSE_API IfcWindowStandardCase : public IfcWindow { public: IfcWindowStandardCase() {} - explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} + explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -52450,13 +52450,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x2::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -52519,12 +52519,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -52572,12 +52572,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -52628,12 +52628,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -52665,25 +52665,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x2::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x2::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, ::Ifc4x2::IfcCurve v8_Axis, std::optional< ::Ifc4x2::IfcAlignmentTypeEnum::Value > v9_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -52867,12 +52867,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -53115,7 +53115,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuildingElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuildingElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -53124,7 +53124,7 @@ public: std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value > v9_PredefinedType); }; /// The standard beam, @@ -53381,22 +53381,22 @@ public: class IFC_PARSE_API IfcBeamStandardCase : public IfcBeam { public: IfcBeamStandardCase() {} - explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} + explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBeamTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBearing : public IfcBuildingElement { public: IfcBearing() {} - explicit IfcBearing (const std::weak_ptr& data) : IfcBuildingElement(data) {} + explicit IfcBearing (const std::weak_ptr& data) : IfcBuildingElement(data) {} std::optional< ::Ifc4x2::IfcBearingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcBearingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBearingTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -53471,12 +53471,12 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -53523,12 +53523,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -53595,13 +53595,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -53666,13 +53666,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -53752,13 +53752,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x2::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -53851,25 +53851,25 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x2::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundation : public IfcDeepFoundation { public: IfcCaissonFoundation() {} - explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} std::optional< ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -53944,12 +53944,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -54021,12 +54021,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -54134,12 +54134,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -54191,12 +54191,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x2::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -54268,12 +54268,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -54315,13 +54315,13 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x2::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x2::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x2::IfcControllerTypeEnum::Value v10_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -54376,12 +54376,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -54444,12 +54444,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -54526,12 +54526,12 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x2::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDamperTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -54568,22 +54568,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x2::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -54667,11 +54667,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -54752,12 +54752,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x2::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -54812,12 +54812,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x2::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -54865,12 +54865,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x2::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -54974,12 +54974,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -55042,12 +55042,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -55094,12 +55094,12 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -55152,12 +55152,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -55204,12 +55204,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x2::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -55256,12 +55256,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -55321,12 +55321,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x2::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -55419,12 +55419,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x2::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -55496,12 +55496,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -55559,12 +55559,12 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; /// Entity Definition @@ -55622,12 +55622,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -55767,12 +55767,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x2::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -55833,12 +55833,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -55906,12 +55906,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x2::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -55959,12 +55959,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x2::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -56076,12 +56076,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x2::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x2::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x2::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x3-schema.cpp b/src/ifcparse/schemas/Ifc4x3-schema.cpp index ef570812df..7c9dd8ec7a 100644 --- a/src/ifcparse/schemas/Ifc4x3-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x3-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x3.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X3_types[1311] = {nullptr}; -IfcParse::schema_definition* IFC4X3_populate_schema() { +ifcopenshell::schema_definition* IFC4X3_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"BRAKES"s,"BUOYANCY"s,"COMPLETION_G1"s,"CREEP"s,"CURRENT"s,"DEAD_LOAD_G"s,"EARTHQUAKE_E"s,"ERECTION"s,"FIRE"s,"ICE"s,"IMPACT"s,"IMPULSE"s,"LACK_OF_FIT"s,"LIVE_LOAD_Q"s,"PRESTRESSING_P"s,"PROPPING"s,"RAIN"s,"SETTLEMENT_U"s,"SHRINKAGE"s,"SNOW_S"s,"SYSTEM_IMPERFECTION"s,"TEMPERATURE_T"s,"TRANSPORT"s,"WAVE"s,"WIND_W"s,"IfcActionTypeEnum"s,"EXTRAORDINARY_A"s,"PERMANENT_G"s,"VARIABLE_Q"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"DISTRIBUTIONPOINT"s,"HOME"s,"OFFICE"s,"SITE"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"HEATPIPE"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"RAILWAYCROCODILE"s,"RAILWAYDETONATOR"s,"SIREN"s,"WHISTLE"s,"IfcAlignmentCantSegmentTypeEnum"s,"BLOSSCURVE"s,"CONSTANTCANT"s,"COSINECURVE"s,"HELMERTCURVE"s,"LINEARTRANSITION"s,"SINECURVE"s,"VIENNESEBEND"s,"IfcAlignmentHorizontalSegmentTypeEnum"s,"CIRCULARARC"s,"CLOTHOID"s,"CUBIC"s,"LINE"s,"IfcAlignmentTypeEnum"s,"IfcAlignmentVerticalSegmentTypeEnum"s,"CONSTANTGRADIENT"s,"PARABOLICARC"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"LOADING_3D"s,"OUT_PLANE_LOADING_2D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAnnotationTypeEnum"s,"ASBUILTAREA"s,"ASBUILTLINE"s,"ASBUILTPOINT"s,"ASSUMEDAREA"s,"ASSUMEDLINE"s,"ASSUMEDPOINT"s,"NON_PHYSICAL_SIGNAL"s,"SUPERELEVATIONEVENT"s,"WIDTHEVENT"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"COMMUNICATIONTERMINAL"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"RECORDINGEQUIPMENT"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"IfcBSplineCurveForm"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"HYPERBOLIC_ARC"s,"PARABOLIC_ARC"s,"POLYLINE_FORM"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"CONICAL_SURF"s,"CYLINDRICAL_SURF"s,"GENERALISED_CONE"s,"PLANE_SURF"s,"QUADRIC_SURF"s,"RULED_SURF"s,"SPHERICAL_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"SURF_OF_REVOLUTION"s,"TOROIDAL_SURF"s,"IfcBeamTypeEnum"s,"BEAM"s,"CORNICE"s,"DIAPHRAGM"s,"EDGEBEAM"s,"GIRDER_SEGMENT"s,"HATSTONE"s,"HOLLOWCORE"s,"JOIST"s,"LINTEL"s,"PIERCAP"s,"SPANDREL"s,"T_BEAM"s,"IfcBearingTypeDisplacementEnum"s,"FIXED_MOVEMENT"s,"FREE_MOVEMENT"s,"GUIDED_LONGITUDINAL"s,"GUIDED_TRANSVERSAL"s,"IfcBearingTypeEnum"s,"CYLINDRICAL"s,"DISK"s,"ELASTOMERIC"s,"GUIDE"s,"POT"s,"ROCKER"s,"ROLLER"s,"SPHERICAL"s,"IfcBenchmarkEnum"s,"EQUALTO"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"INCLUDEDIN"s,"INCLUDES"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"NOTEQUALTO"s,"NOTINCLUDEDIN"s,"NOTINCLUDES"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"STEAM"s,"WATER"s,"IfcBoolean"s,"IfcBooleanOperator"s,"DIFFERENCE"s,"INTERSECTION"s,"UNION"s,"IfcBridgePartTypeEnum"s,"ABUTMENT"s,"DECK"s,"DECK_SEGMENT"s,"FOUNDATION"s,"PIER"s,"PIER_SEGMENT"s,"PYLON"s,"SUBSTRUCTURE"s,"SUPERSTRUCTURE"s,"SURFACESTRUCTURE"s,"IfcBridgeTypeEnum"s,"ARCHED"s,"CABLE_STAYED"s,"CANTILEVER"s,"CULVERT"s,"FRAMEWORK"s,"GIRDER"s,"SUSPENSION"s,"TRUSS"s,"IfcBuildingElementPartTypeEnum"s,"APRON"s,"ARMOURUNIT"s,"INSULATION"s,"PRECASTPANEL"s,"SAFETYCAGE"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"IfcBuildingSystemTypeEnum"s,"EROSIONPREVENTION"s,"FENESTRATION"s,"LOADBEARING"s,"OUTERSHELL"s,"PRESTRESSING"s,"REINFORCING"s,"SHADING"s,"IfcBuiltSystemTypeEnum"s,"MOORING"s,"RAILWAYLINE"s,"RAILWAYTRACK"s,"TRACKCIRCUIT"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CONNECTOR"s,"CROSS"s,"JUNCTION"s,"TEE"s,"TRANSITION"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLEBRACKET"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CATENARYWIRE"s,"CONDUITSEGMENT"s,"DROPPER"s,"IfcCableFittingTypeEnum"s,"ENTRY"s,"EXIT"s,"FANOUT"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CONTACTWIRESEGMENT"s,"CORESEGMENT"s,"FIBERSEGMENT"s,"FIBERTUBE"s,"OPTICALCABLESEGMENT"s,"STITCHWIRE"s,"WIREPAIRSEGMENT"s,"IfcCaissonFoundationTypeEnum"s,"CAISSON"s,"WELL"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"ADDED"s,"DELETED"s,"MODIFIED"s,"NOCHANGE"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"HEATRECOVERY"s,"WATERCOOLED"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PIERSTEM"s,"PIERSTEM_SEGMENT"s,"PILASTER"s,"STANDCOLUMN"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"AUTOMATON"s,"COMPUTER"s,"GATEWAY"s,"INTELLIGENTPERIPHERAL"s,"IPNETWORKEQUIPMENT"s,"LINESIDEELECTRONICUNIT"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"OPTICALLINETERMINAL"s,"OPTICALNETWORKUNIT"s,"PRINTER"s,"RADIOBLOCKCENTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"TELECOMMAND"s,"TELEPHONYEXCHANGE"s,"TRANSITIONCOMPONENT"s,"TRANSPONDER"s,"TRANSPORTEQUIPMENT"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"BOOSTER"s,"DYNAMIC"s,"HERMETIC"s,"OPENTYPE"s,"RECIPROCATING"s,"ROLLINGPISTON"s,"ROTARY"s,"ROTARYVANE"s,"SCROLL"s,"SEMIHERMETIC"s,"SINGLESCREW"s,"SINGLESTAGE"s,"TROCHOIDAL"s,"TWINSCREW"s,"WELDEDSHELLHERMETIC"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATEND"s,"ATPATH"s,"ATSTART"s,"IfcConstraintEnum"s,"ADVISORY"s,"HARD"s,"SOFT"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"MULTIPOSITION"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"TWOPOSITION"s,"IfcConveyorSegmentTypeEnum"s,"BELTCONVEYOR"s,"BUCKETCONVEYOR"s,"CHUTECONVEYOR"s,"SCREWCONVEYOR"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"MECHANICALFORCEDDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"NATURALDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"PRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"TENDER"s,"UNPRICEDBILLOFQUANTITIES"s,"IfcCountMeasure"s,"IfcCourseTypeEnum"s,"ARMOUR"s,"BALLASTBED"s,"CORE"s,"FILTER"s,"PAVEMENT"s,"PROTECTION"s,"IfcCoveringTypeEnum"s,"CEILING"s,"CLADDING"s,"COPING"s,"FLOORING"s,"MEMBRANE"s,"MOLDING"s,"ROOFING"s,"SKIRTINGBOARD"s,"SLEEVING"s,"TOPPING"s,"WRAPPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ACCELERATIONUNIT"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"CURVATUREUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"HEATINGVALUEUNIT"s,"INTEGERCOUNTRATEUNIT"s,"IONCONCENTRATIONUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARFORCEUNIT"s,"LINEARMOMENTUNIT"s,"LINEARSTIFFNESSUNIT"s,"LINEARVELOCITYUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFELASTICITYUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"MOMENTOFINERTIAUNIT"s,"PHUNIT"s,"PLANARFORCEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"ROTATIONALMASSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SHEARMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"TORQUEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"NEGATIVE"s,"POSITIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BIRDPROTECTION"s,"BRACKET"s,"CABLEARRANGER"s,"ELASTIC_CUSHION"s,"EXPANSION_JOINT_DEVICE"s,"FILLER"s,"FLASHING"s,"INSULATOR"s,"LOCK"s,"PANEL_STRENGTHENING"s,"POINTMACHINEMOUNTINGDEVICE"s,"POINT_MACHINE_LOCKING_DEVICE"s,"RAILBRACE"s,"RAILPAD"s,"RAIL_LUBRICATION"s,"RAIL_MECHANICAL_EQUIPMENT"s,"SHOE"s,"SLIDINGCHAIR"s,"SOUNDABSORPTION"s,"TENSIONINGEQUIPMENT"s,"IfcDistributionBoardTypeEnum"s,"CONSUMERUNIT"s,"DISPATCHINGBOARD"s,"DISTRIBUTIONBOARD"s,"DISTRIBUTIONFRAME"s,"MOTORCONTROLCENTRE"s,"SWITCHBOARD"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"WIRELESS"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CATENARY_SYSTEM"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"FIXEDTRANSMISSIONNETWORK"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MOBILENETWORK"s,"MONITORINGSYSTEM"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"OPERATIONALTELEPHONYSYSTEM"s,"OVERHEAD_CONTACTLINE_SYSTEM"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"RETURN_CIRCUIT"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"IfcDocumentConfidentialityEnum"s,"CONFIDENTIAL"s,"PERSONAL"s,"PUBLIC"s,"RESTRICTED"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINAL"s,"FINALDRAFT"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"DOUBLE_ACTING"s,"FIXEDPANEL"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"SLIDING"s,"SWINGING"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorStyleConstructionEnum"s,"ALUMINIUM"s,"ALUMINIUM_PLASTIC"s,"ALUMINIUM_WOOD"s,"HIGH_GRADE_STEEL"s,"STEEL"s,"IfcDoorStyleOperationEnum"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"DOUBLE_DOOR_FOLDING"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"IfcDoorTypeEnum"s,"BOOM_BARRIER"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"TURNSTILE"s,"IfcDoorTypeOperationEnum"s,"DOUBLE_PANEL_DOUBLE_SWING"s,"DOUBLE_PANEL_FOLDING"s,"DOUBLE_PANEL_LIFTING_VERTICAL"s,"DOUBLE_PANEL_SINGLE_SWING"s,"DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_PANEL_SLIDING"s,"LIFTING_HORIZONTAL"s,"LIFTING_VERTICAL_LEFT"s,"LIFTING_VERTICAL_RIGHT"s,"REVOLVING_HORIZONTAL"s,"REVOLVING_VERTICAL"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"FLEXIBLESEGMENT"s,"RIGIDSEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcEarthworksCutTypeEnum"s,"BASE_EXCAVATION"s,"CUT"s,"DREDGING"s,"EXCAVATION"s,"OVEREXCAVATION"s,"PAVEMENTMILLING"s,"STEPEXCAVATION"s,"TOPSOILREMOVAL"s,"IfcEarthworksFillTypeEnum"s,"BACKFILL"s,"COUNTERWEIGHT"s,"EMBANKMENT"s,"SLOPEFILL"s,"SUBGRADE"s,"SUBGRADEBED"s,"TRANSITIONSECTION"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERCOOLER"s,"FREESTANDINGWATERHEATER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITOR"s,"CAPACITORBANK"s,"COMPENSATOR"s,"HARMONICFILTER"s,"INDUCTOR"s,"INDUCTORBANK"s,"RECHARGER"s,"UPS"s,"IfcElectricFlowTreatmentDeviceTypeEnum"s,"ELECTRONICFILTER"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"RELAY"s,"TIMECLOCK"s,"TIMEDELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"CROSS_BRACING"s,"DILATATIONPANEL"s,"ENTRANCEWORKS"s,"GRID"s,"MAST"s,"RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SHELTER"s,"SIGNALASSEMBLY"s,"SLAB_FIELD"s,"SUMPBUSTER"s,"SUPPORTINGASSEMBLY"s,"SUSPENSIONASSEMBLY"s,"TRACKPANEL"s,"TRACTION_SWITCHING_ASSEMBLY"s,"TRAFFIC_CALMING_DEVICE"s,"TURNOUTPANEL"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVEAIRWASHER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTCOMPLEX"s,"EVENTMESSAGE"s,"EVENTRULE"s,"EVENTTIME"s,"IfcEventTypeEnum"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"STARTEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_FIRE"s,"EXTERNAL_WATER"s,"IfcFacilityPartCommonTypeEnum"s,"ABOVEGROUND"s,"BELOWGROUND"s,"LEVELCROSSING"s,"SEGMENT"s,"TERMINAL"s,"IfcFacilityUsageEnum"s,"LATERAL"s,"LONGITUDINAL"s,"REGION"s,"VERTICAL"s,"IfcFanTypeEnum"s,"CENTRIFUGALAIRFOIL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"PROPELLORAXIAL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"FIREMONITOR"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SINK"s,"SOURCE"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"AMMETER"s,"COMBINED"s,"FREQUENCYMETER"s,"PHASEANGLEMETER"s,"POWERFACTORMETER"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"VOLTMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"BED"s,"CHAIR"s,"DESK"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"TABLE"s,"TECHNICALCABINET"s,"IfcGeographicElementTypeEnum"s,"SOIL_BORING_POINT"s,"TERRAIN"s,"VEGETATION"s,"IfcGeometricProjectionEnum"s,"ELEVATION_VIEW"s,"GRAPH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"SKETCH_VIEW"s,"IfcGeotechnicalStratumTypeEnum"s,"SOLID"s,"VOID"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"IRREGULAR"s,"RADIAL"s,"TRIANGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"TURNOUTHEATING"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"ADIABATICAIRWASHER"s,"ADIABATICATOMIZING"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ADIABATICPAN"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICULTRASONIC"s,"ADIABATICWETTEDELEMENT"s,"ASSISTEDBUTANE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDSTEAM"s,"STEAMINJECTION"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcImpactProtectionDeviceTypeEnum"s,"BUMPER"s,"CRASHCUSHION"s,"DAMPINGSYSTEM"s,"FENDER"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"FURNITUREINVENTORY"s,"SPACEINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"PIECEWISE_BEZIER_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"UNIFORM_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"DIRECTIONSOURCE"s,"POINTSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLiquidTerminalTypeEnum"s,"LOADINGARM"s,"IfcLoadGroupTypeEnum"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"LOAD_GROUP"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"LOGICALOR"s,"LOGICALXOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMarineFacilityTypeEnum"s,"BARRIERBEACH"s,"BREAKWATER"s,"CANAL"s,"DRYDOCK"s,"FLOATINGDOCK"s,"HYDROLIFT"s,"JETTY"s,"LAUNCHRECOVERY"s,"MARINEDEFENCE"s,"NAVIGATIONALCHANNEL"s,"PORT"s,"QUAY"s,"REVETMENT"s,"SHIPLIFT"s,"SHIPLOCK"s,"SHIPYARD"s,"SLIPWAY"s,"WATERWAY"s,"WATERWAYSHIPLIFT"s,"IfcMarinePartTypeEnum"s,"ABOVEWATERLINE"s,"ANCHORAGE"s,"APPROACHCHANNEL"s,"BELOWWATERLINE"s,"BERTHINGSTRUCTURE"s,"CHAMBER"s,"CILL_LEVEL"s,"COPELEVEL"s,"CREST"s,"GATEHEAD"s,"GUDINGSTRUCTURE"s,"HIGHWATERLINE"s,"LANDFIELD"s,"LEEWARDSIDE"s,"LOWWATERLINE"s,"MANUFACTURING"s,"NAVIGATIONALAREA"s,"SHIPTRANSFER"s,"STORAGEAREA"s,"VEHICLESERVICING"s,"WATERFIELD"s,"WEATHERSIDE"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"CHAIN"s,"COUPLER"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RAILFASTENING"s,"RAILJOINT"s,"RIVET"s,"ROPE"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"ARCH_SEGMENT"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STAY_CABLE"s,"STIFFENING_RIB"s,"STRINGER"s,"STRUCTURALCABLE"s,"STRUT"s,"STUD"s,"SUSPENDER"s,"SUSPENSION_CABLE"s,"TIEBAR"s,"IfcMobileTelecommunicationsApplianceTypeEnum"s,"ACCESSPOINT"s,"BASEBANDUNIT"s,"BASETRANSCEIVERSTATION"s,"E_UTRAN_NODE_B"s,"GATEWAY_GPRS_SUPPORT_NODE"s,"MASTERUNIT"s,"MOBILESWITCHINGCENTER"s,"MSCSERVER"s,"PACKETCONTROLUNIT"s,"REMOTERADIOUNIT"s,"REMOTEUNIT"s,"SERVICE_GPRS_SUPPORT_NODE"s,"SUBSCRIBERSERVER"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMooringDeviceTypeEnum"s,"BOLLARD"s,"LINETENSIONER"s,"MAGNETICDEVICE"s,"MOORINGHOOKS"s,"VACUUMDEVICE"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNavigationElementTypeEnum"s,"BEACON"s,"BUOY"s,"IfcNonNegativeLengthMeasure"s,"IfcNumericMeasure"s,"IfcObjectTypeEnum"s,"ACTOR"s,"GROUP"s,"PROCESS"s,"PRODUCT"s,"PROJECT"s,"RESOURCE"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"DATAOUTLET"s,"POWEROUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPavementTypeEnum"s,"FLEXIBLE"s,"RIGID"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"COHESION"s,"DRIVEN"s,"FRICTION"s,"JETGROUTING"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"BASE_PLATE"s,"COVER_PLATE"s,"CURTAIN_PANEL"s,"FLANGE_PLATE"s,"GUSSET_PLATE"s,"SHEET"s,"SPLICE_PLATE"s,"STIFFENER_PLATE"s,"WEB_PLATE"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"AREA"s,"CURVE"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"BLISTER"s,"DEVIATOR"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_MATERIALDRIVEN"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"PSET_PROFILEDRIVEN"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTROMAGNETIC"s,"ELECTRONIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"ANTI_ARCING_DEVICE"s,"CIRCUITBREAKER"s,"EARTHINGSWITCH"s,"EARTHLEAKAGECIRCUITBREAKER"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"SPARKGAP"s,"VARISTOR"s,"VOLTAGELIMITER"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailTypeEnum"s,"BLADE"s,"CHECKRAIL"s,"GUARDRAIL"s,"RACKRAIL"s,"RAIL"s,"STOCKRAIL"s,"IfcRailingTypeEnum"s,"BALUSTRADE"s,"FENCE"s,"HANDRAIL"s,"IfcRailwayPartTypeEnum"s,"DILATATIONSUPERSTRUCTURE"s,"LINESIDESTRUCTURE"s,"LINESIDESTRUCTUREPART"s,"PLAINTRACKSUPERSTRUCTURE"s,"TRACKSTRUCTURE"s,"TRACKSTRUCTUREPART"s,"TURNOUTSUPERSTRUCTURE"s,"IfcRailwayTypeEnum"s,"IfcRampFlightTypeEnum"s,"SPIRAL"s,"STRAIGHT"s,"IfcRampTypeEnum"s,"HALF_TURN_RAMP"s,"QUARTER_TURN_RAMP"s,"SPIRAL_RAMP"s,"STRAIGHT_RUN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"DAILY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"WEEKLY"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"BOUNDARY"s,"KILOPOINT"s,"LANDMARK"s,"MILEPOINT"s,"POSITION"s,"REFERENCEMARKER"s,"STATION"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcedSoilTypeEnum"s,"DYNAMICALLYCOMPACTED"s,"GROUTED"s,"REPLACED"s,"ROLLERCOMPACTED"s,"SURCHARGEPRELOADED"s,"VERTICALLYDRAINED"s,"IfcReinforcingBarRoleEnum"s,"ANCHORING"s,"EDGE"s,"LIGATURE"s,"MAIN"s,"PUNCHING"s,"RING"s,"SHEAR"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"SPACEBAR"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoadPartTypeEnum"s,"BICYCLECROSSING"s,"BUS_STOP"s,"CARRIAGEWAY"s,"CENTRALISLAND"s,"CENTRALRESERVE"s,"HARDSHOULDER"s,"LAYBY"s,"PARKINGBAY"s,"PASSINGBAY"s,"PEDESTRIAN_CROSSING"s,"RAILWAYCROSSING"s,"REFUGEISLAND"s,"ROADSEGMENT"s,"ROADSIDE"s,"ROADSIDEPART"s,"ROADWAYPLATEAU"s,"ROUNDABOUT"s,"SHOULDER"s,"SIDEWALK"s,"SOFTSHOULDER"s,"TOLLPLAZA"s,"TRAFFICISLAND"s,"TRAFFICLANE"s,"IfcRoadTypeEnum"s,"IfcRoleEnum"s,"ARCHITECT"s,"BUILDINGOPERATOR"s,"BUILDINGOWNER"s,"CIVILENGINEER"s,"CLIENT"s,"COMMISSIONINGENGINEER"s,"CONSTRUCTIONMANAGER"s,"CONSULTANT"s,"CONTRACTOR"s,"COSTENGINEER"s,"ELECTRICALENGINEER"s,"ENGINEER"s,"FACILITIESMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"MANUFACTURER"s,"MECHANICALENGINEER"s,"PROJECTMANAGER"s,"RESELLER"s,"STRUCTURALENGINEER"s,"SUBCONTRACTOR"s,"SUPPLIER"s,"IfcRoofTypeEnum"s,"BARREL_ROOF"s,"BUTTERFLY_ROOF"s,"DOME_ROOF"s,"FLAT_ROOF"s,"FREEFORM"s,"GABLE_ROOF"s,"GAMBREL_ROOF"s,"HIPPED_GABLE_ROOF"s,"HIP_ROOF"s,"MANSARD_ROOF"s,"PAVILION_ROOF"s,"RAINBOW_ROOF"s,"SHED_ROOF"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"ATTO"s,"CENTI"s,"DECA"s,"DECI"s,"EXA"s,"FEMTO"s,"GIGA"s,"HECTO"s,"KILO"s,"MEGA"s,"MICRO"s,"MILLI"s,"NANO"s,"PETA"s,"PICO"s,"TERA"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SANITARYFOUNTAIN"s,"SHOWER"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"TAPERED"s,"UNIFORM"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"COSENSOR"s,"EARTHQUAKESENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FOREIGNOBJECTDETECTIONSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"OBSTACLESENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"RAINSENSOR"s,"SMOKESENSOR"s,"SNOWDEPTHSENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"TRAINSENSOR"s,"TURNOUTCLOSURESENSOR"s,"WHEELSENSOR"s,"WINDSENSOR"s,"IfcSequenceEnum"s,"FINISH_FINISH"s,"FINISH_START"s,"START_FINISH"s,"START_START"s,"IfcShadingDeviceTypeEnum"s,"AWNING"s,"JALOUSIE"s,"SHUTTER"s,"IfcShearModulusMeasure"s,"IfcSignTypeEnum"s,"MARKER"s,"PICTORAL"s,"IfcSignalTypeEnum"s,"AUDIO"s,"MIXED"s,"VISUAL"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_BOUNDEDVALUE"s,"P_ENUMERATEDVALUE"s,"P_LISTVALUE"s,"P_REFERENCEVALUE"s,"P_SINGLEVALUE"s,"P_TABLEVALUE"s,"Q_AREA"s,"Q_COUNT"s,"Q_LENGTH"s,"Q_NUMBER"s,"Q_TIME"s,"Q_VOLUME"s,"Q_WEIGHT"s,"IfcSlabTypeEnum"s,"APPROACH_SLAB"s,"BASESLAB"s,"FLOOR"s,"LANDING"s,"ROOF"s,"TRACKSLAB"s,"WEARING"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"BERTH"s,"GFA"s,"PARKING"s,"SPACE"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"INTERFERENCE"s,"OCCUPANCY"s,"RESERVATION"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"CURVED"s,"WINDER"s,"IfcStairTypeEnum"s,"CURVED_RUN_STAIR"s,"DOUBLE_RETURN_STAIR"s,"HALF_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"LADDER"s,"QUARTER_TURN_STAIR"s,"QUARTER_WINDING_STAIR"s,"SPIRAL_STAIR"s,"STRAIGHT_RUN_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"IfcStateEnum"s,"LOCKED"s,"READONLY"s,"READONLYLOCKED"s,"READWRITE"s,"READWRITELOCKED"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"DISCRETE"s,"EQUIDISTANT"s,"PARABOLA"s,"POLYGONAL"s,"SINUS"s,"IfcStructuralCurveMemberTypeEnum"s,"COMPRESSION_MEMBER"s,"PIN_JOINED_MEMBER"s,"RIGID_JOINED_MEMBER"s,"TENSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"DEFECT"s,"HATCHMARKING"s,"LINEMARKING"s,"MARK"s,"NONSKIDSURFACING"s,"PAVEMENTSURFACEMARKING"s,"RUMBLESTRIP"s,"SYMBOLMARKING"s,"TAG"s,"TRANSVERSERUMBLESTRIP"s,"TREATMENT"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"START_AND_STOP_EQUIPMENT"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"SUBRACK"s,"WORKSURFACE"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"OILRETENTIONTRAY"s,"PRESSUREVESSEL"s,"STORAGE"s,"VESSEL"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ADJUSTMENT"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"EMERGENCY"s,"INSPECTION"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"SAFETY"s,"TESTING"s,"TROUBLESHOOTING"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonConduitTypeEnum"s,"DIABOLO"s,"GROUTING_DUCT"s,"TRUMPET"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"DOWN"s,"UP"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTrackElementTypeEnum"s,"BLOCKINGDEVICE"s,"DERAILER"s,"FROG"s,"HALF_SET_OF_BLADES"s,"SLEEPER"s,"SPEEDREGULATOR"s,"TRACKENDOFALIGNMENT"s,"VEHICLESTOP"s,"IfcTransformerTypeEnum"s,"CHOPPER"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"IfcTransitionCode"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"DISCONTINUOUS"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementTypeEnum"s,"CRANEWAY"s,"ELEVATOR"s,"ESCALATOR"s,"HAULINGGEAR"s,"LIFTINGGEAR"s,"MOVINGWALKWAY"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"BASESTATIONCONTROLLER"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"HUMIDISTAT"s,"INDICATORPANEL"s,"MIMICPANEL"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRCONDITIONINGUNIT"s,"AIRHANDLER"s,"DEHUMIDIFIER"s,"ROOFTOPUNIT"s,"SPLITSYSTEM"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"DRAWOFFCOCK"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVehicleTypeEnum"s,"CARGO"s,"ROLLINGSTOCK"s,"VEHICLE"s,"VEHICLEAIR"s,"VEHICLEMARINE"s,"VEHICLETRACKED"s,"VEHICLEWHEELED"s,"IfcVibrationDamperTypeEnum"s,"AXIAL_YIELD"s,"BENDING_YIELD"s,"RUBBER"s,"SHEAR_YIELD"s,"VISCOUS"s,"IfcVibrationIsolatorTypeEnum"s,"BASE"s,"COMPRESSION"s,"SPRING"s,"IfcVirtualElementTypeEnum"s,"CLEARANCE"s,"PROVISIONFORVOID"s,"IfcVoidingFeatureTypeEnum"s,"CHAMFER"s,"CUTOUT"s,"HOLE"s,"MITER"s,"NOTCH"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"ELEMENTEDWALL"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"RETAININGWALL"s,"SOLIDWALL"s,"STANDARD"s,"WAVEWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"BOTTOMHUNG"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"REMOVABLECASEMENT"s,"SIDEHUNGLEFTHAND"s,"SIDEHUNGRIGHTHAND"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"TILTANDTURNLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TOPHUNG"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowStyleConstructionEnum"s,"OTHER_CONSTRUCTION"s,"IfcWindowStyleOperationEnum"s,"DOUBLE_PANEL_HORIZONTAL"s,"DOUBLE_PANEL_VERTICAL"s,"SINGLE_PANEL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_VERTICAL"s,"IfcWindowTypeEnum"s,"LIGHTDOME"s,"SKYLIGHT"s,"WINDOW"s,"IfcWindowTypePartitioningEnum"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcAlignmentParameterSegment"s,"IfcAlignmentVerticalSegment"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityNumber"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureCoordinateIndices"s,"IfcTextureCoordinateIndicesWithVoids"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcCurveMeasureSelect"s,"IfcDerivedMeasureValue"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcAlignmentCantSegment"s,"IfcAlignmentHorizontalSegment"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenCrossProfileDef"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointByDistanceExpression"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcSegment"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcAxis2PlacementLinear"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcCurveSegment"s,"IfcDirection"s,"IfcDirectrixCurveSweptAreaSolid"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcIndexedPolygonalTextureMap"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPolynomialCurve"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelAssociatesProfileDef"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelPositions"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSectionedSurface"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcSpiral"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcThirdOrderPolynomialSpiral"s,"IfcToroidalSurface"s,"IfcTransportationDeviceType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcVehicleType"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuildingStorey"s,"IfcBuiltElementType"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcClothoid"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCosineSpiral"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCourseType"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCylindricalSurface"s,"IfcDeepFoundationType"s,"IfcDirectrixDerivedReferenceSweptAreaSolid"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFacility"s,"IfcFacilityPart"s,"IfcFacilityPartCommon"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGeotechnicalElement"s,"IfcGeotechnicalStratum"s,"IfcGradientCurve"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcImpactProtectionDevice"s,"IfcImpactProtectionDeviceType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcKerbType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLinearElement"s,"IfcLiquidTerminalType"s,"IfcMarineFacility"s,"IfcMarinePart"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMobileTelecommunicationsApplianceType"s,"IfcMooringDeviceType"s,"IfcMotorConnectionType"s,"IfcNavigationElementType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOutletType"s,"IfcPavementType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailType"s,"IfcRailingType"s,"IfcRailway"s,"IfcRailwayPart"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAdheresToElement"s,"IfcRelAggregates"s,"IfcRoad"s,"IfcRoadPart"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcSecondOrderPolynomialSpiral"s,"IfcSegmentedReferenceCurve"s,"IfcSeventhOrderPolynomialSpiral"s,"IfcShadingDeviceType"s,"IfcSign"s,"IfcSignType"s,"IfcSignalType"s,"IfcSineSpiral"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonConduit"s,"IfcTendonConduitType"s,"IfcTendonType"s,"IfcTrackElementType"s,"IfcTransformerType"s,"IfcTransportElementType"s,"IfcTransportationDevice"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVehicle"s,"IfcVibrationDamper"s,"IfcVibrationDamperType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcInterferenceSelect"s,"IfcSpatialReferenceSelect"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignmentCant"s,"IfcAlignmentHorizontal"s,"IfcAlignmentSegment"s,"IfcAlignmentVertical"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBearingType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBridge"s,"IfcBridgePart"s,"IfcBuilding"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBuiltElement"s,"IfcBuiltSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcCaissonFoundationType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcConveyorSegmentType"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCourse"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDeepFoundation"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionBoardType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcEarthworksCut"s,"IfcEarthworksElement"s,"IfcEarthworksFill"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricFlowTreatmentDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGeotechnicalAssembly"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcKerb"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcLiquidTerminal"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMobileTelecommunicationsAppliance"s,"IfcMooringDevice"s,"IfcMotorConnection"s,"IfcNavigationElement"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPavement"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRail"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcedSoil"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSignal"s,"IfcSlab"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTrackElement"s,"IfcTransformer"s,"IfcTransportElement"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBearing"s,"IfcBoiler"s,"IfcBorehole"s,"IfcBuildingElementProxy"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcCaissonFoundation"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcConveyorSegment"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionBoard"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricFlowTreatmentDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcGeomodel"s,"IfcGeoslice"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"RailHeadDistance"s,"StartDistAlong"s,"HorizontalLength"s,"StartCantLeft"s,"EndCantLeft"s,"StartCantRight"s,"EndCantRight"s,"StartPoint"s,"StartDirection"s,"StartRadiusOfCurvature"s,"EndRadiusOfCurvature"s,"SegmentLength"s,"GravityCenterLineHeight"s,"StartTag"s,"EndTag"s,"DesignParameters"s,"StartHeight"s,"StartGradient"s,"EndGradient"s,"RadiusOfCurvature"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"Radius"s,"Source"s,"Edition"s,"EditionDate"s,"Specification"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"ClothoidConstant"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Segments"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"VerticalDatum"s,"CosineTerm"s,"ConstantTerm"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"Placement"s,"SegmentStart"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveStyleFont"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"Directrix"s,"StartParam"s,"EndParam"s,"FlowDirection"s,"SystemType"s,"Location"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ParameterTakesPrecedence"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"Tag"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"UsageType"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"FixedReference"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"BaseCurve"s,"EndPoint"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"Mountable"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"RelativePlacement"s,"CartesianPosition"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"ScaleY"s,"ScaleZ"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"MaterialExpression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"PlacementRelTo"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Distance"s,"HorizontalWidths"s,"Widths"s,"Slopes"s,"Tags"s,"OffsetPoint"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"ConstructionType"s,"Height"s,"ColourComponents"s,"Pixel"s,"SizeInX"s,"SizeInY"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Faces"s,"PnIndex"s,"CoefficientsX"s,"CoefficientsY"s,"CoefficientsZ"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"Expression"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"NumberValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingElement"s,"RelatedSurfaceFeatures"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"RelatingProfileDef"s,"ConnectionGeometry"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceSpace"s,"InterferenceType"s,"ImpliedOrder"s,"RelatingPositioningElement"s,"RelatedProducts"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"QuadraticTerm"s,"LinearTerm"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"SpineCurve"s,"Transition"s,"SepticTerm"s,"SexticTerm"s,"QuinticTerm"s,"QuarticTerm"s,"CubicTerm"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"SineTerm"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"AxisDirection"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"Styles"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Closed"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"TexCoordsOf"s,"InnerTexCoordIndices"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"StartDate"s,"FinishDate"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"HasSurfaceFeatures"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ReferencedInStructures"s,"ToFaceSet"s,"HasTexCoords"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"ReferencedByPlacements"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"Positions"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"PositionedRelativeTo"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"UsingCurves"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"AdheresToElement"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"ServicesFacilities"s,"HasColours"s,"HasTextures"s,"ToTexMap"s,"Types"s,"IFC4X3"s}; diff --git a/src/ifcparse/schemas/Ifc4x3.cpp b/src/ifcparse/schemas/Ifc4x3.cpp index 52fac7e977..f0c2bdebb8 100644 --- a/src/ifcparse/schemas/Ifc4x3.cpp +++ b/src/ifcparse/schemas/Ifc4x3.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x3.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x3::Identifier = "IFC4X3"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X3_types[1311]; -// const IfcParse::enumeration_type& Ifc4x3::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[3]); } -const IfcParse::enumeration_type& Ifc4x3::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[3]); } /* -Ifc4x3::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x3::IfcActionRequestTypeEnum::Value Ifc4x3::IfcActionRequestTypeEnum::FromSt } Ifc4x3::IfcActionRequestTypeEnum::operator Ifc4x3::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x3::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[4]); } -const IfcParse::enumeration_type& Ifc4x3::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[4]); } /* -Ifc4x3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x3::IfcActionSourceTypeEnum::Value Ifc4x3::IfcActionSourceTypeEnum::FromStri } Ifc4x3::IfcActionSourceTypeEnum::operator Ifc4x3::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x3::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[5]); } -const IfcParse::enumeration_type& Ifc4x3::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[5]); } /* -Ifc4x3::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x3::IfcActionTypeEnum::Value Ifc4x3::IfcActionTypeEnum::FromString(const std } Ifc4x3::IfcActionTypeEnum::operator Ifc4x3::IfcActionTypeEnum::Value() const { - return (Ifc4x3::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[11]); } -const IfcParse::enumeration_type& Ifc4x3::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[11]); } /* -Ifc4x3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x3::IfcActuatorTypeEnum::Value Ifc4x3::IfcActuatorTypeEnum::FromString(const } Ifc4x3::IfcActuatorTypeEnum::operator Ifc4x3::IfcActuatorTypeEnum::Value() const { - return (Ifc4x3::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[13]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[13]); } /* -Ifc4x3::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x3::IfcAddressTypeEnum::Value Ifc4x3::IfcAddressTypeEnum::FromString(const s } Ifc4x3::IfcAddressTypeEnum::operator Ifc4x3::IfcAddressTypeEnum::Value() const { - return (Ifc4x3::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[20]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[20]); } /* -Ifc4x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x3::IfcAirTerminalBoxTypeEnum::Value Ifc4x3::IfcAirTerminalBoxTypeEnum::From } Ifc4x3::IfcAirTerminalBoxTypeEnum::operator Ifc4x3::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x3::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[22]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[22]); } /* -Ifc4x3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x3::IfcAirTerminalTypeEnum::Value Ifc4x3::IfcAirTerminalTypeEnum::FromString } Ifc4x3::IfcAirTerminalTypeEnum::operator Ifc4x3::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x3::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[25]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[25]); } /* -Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3::IfcAirToAirHeatRecoveryTy } Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[28]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[28]); } /* -Ifc4x3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x3::IfcAlarmTypeEnum::Value Ifc4x3::IfcAlarmTypeEnum::FromString(const std:: } Ifc4x3::IfcAlarmTypeEnum::operator Ifc4x3::IfcAlarmTypeEnum::Value() const { - return (Ifc4x3::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[32]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[32]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[32]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[32]); } /* -Ifc4x3::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3::IfcAlignmentCantSegmentTy } Ifc4x3::IfcAlignmentCantSegmentTypeEnum::operator Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value() const { - return (Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[35]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[35]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[35]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[35]); } /* -Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3::IfcAlignmentHorizon } Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::operator Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value() const { - return (Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[38]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[38]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[38]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[38]); } /* -Ifc4x3::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x3::IfcAlignmentTypeEnum::Value Ifc4x3::IfcAlignmentTypeEnum::FromString(con } Ifc4x3::IfcAlignmentTypeEnum::operator Ifc4x3::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x3::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[41]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[41]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[41]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[41]); } /* -Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3::IfcAlignmentVerticalS } Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::operator Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value() const { - return (Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[43]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[43]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[43]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[43]); } /* -Ifc4x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x3::IfcAnalysisModelTypeEnum::Value Ifc4x3::IfcAnalysisModelTypeEnum::FromSt } Ifc4x3::IfcAnalysisModelTypeEnum::operator Ifc4x3::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x3::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[44]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[44]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[44]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[44]); } /* -Ifc4x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x3::IfcAnalysisTheoryTypeEnum::Value Ifc4x3::IfcAnalysisTheoryTypeEnum::From } Ifc4x3::IfcAnalysisTheoryTypeEnum::operator Ifc4x3::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x3::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAnnotationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[48]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAnnotationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[48]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAnnotationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[48]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAnnotationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[48]); } /* -Ifc4x3::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x3::IfcAnnotationTypeEnum::Value Ifc4x3::IfcAnnotationTypeEnum::FromString(c } Ifc4x3::IfcAnnotationTypeEnum::operator Ifc4x3::IfcAnnotationTypeEnum::Value() const { - return (Ifc4x3::IfcAnnotationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAnnotationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[60]); } -const IfcParse::enumeration_type& Ifc4x3::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[60]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[60]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[60]); } /* -Ifc4x3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x3::IfcArithmeticOperatorEnum::Value Ifc4x3::IfcArithmeticOperatorEnum::From } Ifc4x3::IfcArithmeticOperatorEnum::operator Ifc4x3::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x3::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[61]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[61]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[61]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[61]); } /* -Ifc4x3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x3::IfcAssemblyPlaceEnum::Value Ifc4x3::IfcAssemblyPlaceEnum::FromString(con } Ifc4x3::IfcAssemblyPlaceEnum::operator Ifc4x3::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x3::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[66]); } -const IfcParse::enumeration_type& Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[66]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[66]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[66]); } /* -Ifc4x3::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3::IfcAudioVisualApplianceTy } Ifc4x3::IfcAudioVisualApplianceTypeEnum::operator Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[109]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[109]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[109]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[109]); } /* -Ifc4x3::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x3::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x3::IfcBSplineCurveForm::Value Ifc4x3::IfcBSplineCurveForm::FromString(const } Ifc4x3::IfcBSplineCurveForm::operator Ifc4x3::IfcBSplineCurveForm::Value() const { - return (Ifc4x3::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[112]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[112]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[112]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[112]); } /* -Ifc4x3::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x3::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x3::IfcBSplineSurfaceForm::Value Ifc4x3::IfcBSplineSurfaceForm::FromString(c } Ifc4x3::IfcBSplineSurfaceForm::operator Ifc4x3::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x3::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[74]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[74]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[74]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[74]); } /* -Ifc4x3::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x3::IfcBeamTypeEnum::Value Ifc4x3::IfcBeamTypeEnum::FromString(const std::st } Ifc4x3::IfcBeamTypeEnum::operator Ifc4x3::IfcBeamTypeEnum::Value() const { - return (Ifc4x3::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBearingTypeDisplacementEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[77]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBearingTypeDisplacementEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[77]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBearingTypeDisplacementEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[77]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBearingTypeDisplacementEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[77]); } /* -Ifc4x3::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) +Ifc4x3::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x3::IfcBearingTypeDisplacementEnum::Value Ifc4x3::IfcBearingTypeDisplacement } Ifc4x3::IfcBearingTypeDisplacementEnum::operator Ifc4x3::IfcBearingTypeDisplacementEnum::Value() const { - return (Ifc4x3::IfcBearingTypeDisplacementEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBearingTypeDisplacementEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBearingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[78]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBearingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[78]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[78]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[78]); } /* -Ifc4x3::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x3::IfcBearingTypeEnum::Value Ifc4x3::IfcBearingTypeEnum::FromString(const s } Ifc4x3::IfcBearingTypeEnum::operator Ifc4x3::IfcBearingTypeEnum::Value() const { - return (Ifc4x3::IfcBearingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[79]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[79]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[79]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[79]); } /* -Ifc4x3::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x3::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x3::IfcBenchmarkEnum::Value Ifc4x3::IfcBenchmarkEnum::FromString(const std:: } Ifc4x3::IfcBenchmarkEnum::operator Ifc4x3::IfcBenchmarkEnum::Value() const { - return (Ifc4x3::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[86]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[86]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[86]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[86]); } /* -Ifc4x3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x3::IfcBoilerTypeEnum::Value Ifc4x3::IfcBoilerTypeEnum::FromString(const std } Ifc4x3::IfcBoilerTypeEnum::operator Ifc4x3::IfcBoilerTypeEnum::Value() const { - return (Ifc4x3::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[90]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[90]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[90]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[90]); } /* -Ifc4x3::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x3::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x3::IfcBooleanOperator::Value Ifc4x3::IfcBooleanOperator::FromString(const s } Ifc4x3::IfcBooleanOperator::operator Ifc4x3::IfcBooleanOperator::Value() const { - return (Ifc4x3::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBridgePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[106]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBridgePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[106]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[106]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[106]); } /* -Ifc4x3::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x3::IfcBridgePartTypeEnum::Value Ifc4x3::IfcBridgePartTypeEnum::FromString(c } Ifc4x3::IfcBridgePartTypeEnum::operator Ifc4x3::IfcBridgePartTypeEnum::Value() const { - return (Ifc4x3::IfcBridgePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBridgeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[107]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBridgeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[107]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[107]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[107]); } /* -Ifc4x3::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x3::IfcBridgeTypeEnum::Value Ifc4x3::IfcBridgeTypeEnum::FromString(const std } Ifc4x3::IfcBridgeTypeEnum::operator Ifc4x3::IfcBridgeTypeEnum::Value() const { - return (Ifc4x3::IfcBridgeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[117]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[117]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[117]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[117]); } /* -Ifc4x3::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x3::IfcBuildingElementPartTypeEnum::Value Ifc4x3::IfcBuildingElementPartType } Ifc4x3::IfcBuildingElementPartTypeEnum::operator Ifc4x3::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x3::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[120]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[120]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[120]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[120]); } /* -Ifc4x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x3::IfcBuildingElementProxyTypeEnum::Value Ifc4x3::IfcBuildingElementProxyTy } Ifc4x3::IfcBuildingElementProxyTypeEnum::operator Ifc4x3::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x3::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[123]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[123]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[123]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[123]); } /* -Ifc4x3::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x3::IfcBuildingSystemTypeEnum::Value Ifc4x3::IfcBuildingSystemTypeEnum::From } Ifc4x3::IfcBuildingSystemTypeEnum::operator Ifc4x3::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x3::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBuiltSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[127]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBuiltSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[127]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBuiltSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[127]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBuiltSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[127]); } /* -Ifc4x3::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x3::IfcBuiltSystemTypeEnum::Value Ifc4x3::IfcBuiltSystemTypeEnum::FromString } Ifc4x3::IfcBuiltSystemTypeEnum::operator Ifc4x3::IfcBuiltSystemTypeEnum::Value() const { - return (Ifc4x3::IfcBuiltSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBuiltSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[130]); } -const IfcParse::enumeration_type& Ifc4x3::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[130]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[130]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[130]); } /* -Ifc4x3::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x3::IfcBurnerTypeEnum::Value Ifc4x3::IfcBurnerTypeEnum::FromString(const std } Ifc4x3::IfcBurnerTypeEnum::operator Ifc4x3::IfcBurnerTypeEnum::Value() const { - return (Ifc4x3::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[133]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[133]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[133]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[133]); } /* -Ifc4x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x3::IfcCableCarrierFittingTypeEnum::Value Ifc4x3::IfcCableCarrierFittingType } Ifc4x3::IfcCableCarrierFittingTypeEnum::operator Ifc4x3::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x3::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[136]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[136]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[136]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[136]); } /* -Ifc4x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3::IfcCableCarrierSegmentType } Ifc4x3::IfcCableCarrierSegmentTypeEnum::operator Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[139]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[139]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[139]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[139]); } /* -Ifc4x3::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x3::IfcCableFittingTypeEnum::Value Ifc4x3::IfcCableFittingTypeEnum::FromStri } Ifc4x3::IfcCableFittingTypeEnum::operator Ifc4x3::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x3::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[142]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[142]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[142]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[142]); } /* -Ifc4x3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x3::IfcCableSegmentTypeEnum::Value Ifc4x3::IfcCableSegmentTypeEnum::FromStri } Ifc4x3::IfcCableSegmentTypeEnum::operator Ifc4x3::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x3::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCaissonFoundationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[145]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCaissonFoundationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[145]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[145]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[145]); } /* -Ifc4x3::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x3::IfcCaissonFoundationTypeEnum::Value Ifc4x3::IfcCaissonFoundationTypeEnum } Ifc4x3::IfcCaissonFoundationTypeEnum::operator Ifc4x3::IfcCaissonFoundationTypeEnum::Value() const { - return (Ifc4x3::IfcCaissonFoundationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[157]); } -const IfcParse::enumeration_type& Ifc4x3::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[157]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[157]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[157]); } /* -Ifc4x3::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x3::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x3::IfcChangeActionEnum::Value Ifc4x3::IfcChangeActionEnum::FromString(const } Ifc4x3::IfcChangeActionEnum::operator Ifc4x3::IfcChangeActionEnum::Value() const { - return (Ifc4x3::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[160]); } -const IfcParse::enumeration_type& Ifc4x3::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[160]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[160]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[160]); } /* -Ifc4x3::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x3::IfcChillerTypeEnum::Value Ifc4x3::IfcChillerTypeEnum::FromString(const s } Ifc4x3::IfcChillerTypeEnum::operator Ifc4x3::IfcChillerTypeEnum::Value() const { - return (Ifc4x3::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[163]); } -const IfcParse::enumeration_type& Ifc4x3::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[163]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[163]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[163]); } /* -Ifc4x3::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x3::IfcChimneyTypeEnum::Value Ifc4x3::IfcChimneyTypeEnum::FromString(const s } Ifc4x3::IfcChimneyTypeEnum::operator Ifc4x3::IfcChimneyTypeEnum::Value() const { - return (Ifc4x3::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[177]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[177]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[177]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[177]); } /* -Ifc4x3::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x3::IfcCoilTypeEnum::Value Ifc4x3::IfcCoilTypeEnum::FromString(const std::st } Ifc4x3::IfcCoilTypeEnum::operator Ifc4x3::IfcCoilTypeEnum::Value() const { - return (Ifc4x3::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[185]); } -const IfcParse::enumeration_type& Ifc4x3::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[185]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[185]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[185]); } /* -Ifc4x3::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x3::IfcColumnTypeEnum::Value Ifc4x3::IfcColumnTypeEnum::FromString(const std } Ifc4x3::IfcColumnTypeEnum::operator Ifc4x3::IfcColumnTypeEnum::Value() const { - return (Ifc4x3::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[188]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[188]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[188]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[188]); } /* -Ifc4x3::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3::IfcCommunicationsAppli } Ifc4x3::IfcCommunicationsApplianceTypeEnum::operator Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[192]); } -const IfcParse::enumeration_type& Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[192]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[192]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[192]); } /* -Ifc4x3::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x3::IfcComplexPropertyTemp } Ifc4x3::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[200]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[200]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[200]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[200]); } /* -Ifc4x3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x3::IfcCompressorTypeEnum::Value Ifc4x3::IfcCompressorTypeEnum::FromString(c } Ifc4x3::IfcCompressorTypeEnum::operator Ifc4x3::IfcCompressorTypeEnum::Value() const { - return (Ifc4x3::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[203]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[203]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[203]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[203]); } /* -Ifc4x3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x3::IfcCondenserTypeEnum::Value Ifc4x3::IfcCondenserTypeEnum::FromString(con } Ifc4x3::IfcCondenserTypeEnum::operator Ifc4x3::IfcCondenserTypeEnum::Value() const { - return (Ifc4x3::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[211]); } -const IfcParse::enumeration_type& Ifc4x3::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[211]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[211]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[211]); } /* -Ifc4x3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x3::IfcConnectionTypeEnum::Value Ifc4x3::IfcConnectionTypeEnum::FromString(c } Ifc4x3::IfcConnectionTypeEnum::operator Ifc4x3::IfcConnectionTypeEnum::Value() const { - return (Ifc4x3::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[214]); } -const IfcParse::enumeration_type& Ifc4x3::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[214]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[214]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[214]); } /* -Ifc4x3::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x3::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x3::IfcConstraintEnum::Value Ifc4x3::IfcConstraintEnum::FromString(const std } Ifc4x3::IfcConstraintEnum::operator Ifc4x3::IfcConstraintEnum::Value() const { - return (Ifc4x3::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[217]); } -const IfcParse::enumeration_type& Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[217]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[217]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[217]); } /* -Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3::IfcConstructionE } Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[220]); } -const IfcParse::enumeration_type& Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[220]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[220]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[220]); } /* -Ifc4x3::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3::IfcConstructionMa } Ifc4x3::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[223]); } -const IfcParse::enumeration_type& Ifc4x3::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[223]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[223]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[223]); } /* -Ifc4x3::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x3::IfcConstructionProductResourceTypeEnum::Value Ifc4x3::IfcConstructionPro } Ifc4x3::IfcConstructionProductResourceTypeEnum::operator Ifc4x3::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x3::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[232]); } -const IfcParse::enumeration_type& Ifc4x3::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[232]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[232]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[232]); } /* -Ifc4x3::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x3::IfcControllerTypeEnum::Value Ifc4x3::IfcControllerTypeEnum::FromString(c } Ifc4x3::IfcControllerTypeEnum::operator Ifc4x3::IfcControllerTypeEnum::Value() const { - return (Ifc4x3::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcConveyorSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[237]); } -const IfcParse::enumeration_type& Ifc4x3::IfcConveyorSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[237]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcConveyorSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[237]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcConveyorSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[237]); } /* -Ifc4x3::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x3::IfcConveyorSegmentTypeEnum::Value Ifc4x3::IfcConveyorSegmentTypeEnum::Fr } Ifc4x3::IfcConveyorSegmentTypeEnum::operator Ifc4x3::IfcConveyorSegmentTypeEnum::Value() const { - return (Ifc4x3::IfcConveyorSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcConveyorSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[240]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[240]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[240]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[240]); } /* -Ifc4x3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x3::IfcCooledBeamTypeEnum::Value Ifc4x3::IfcCooledBeamTypeEnum::FromString(c } Ifc4x3::IfcCooledBeamTypeEnum::operator Ifc4x3::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x3::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[243]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[243]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[243]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[243]); } /* -Ifc4x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x3::IfcCoolingTowerTypeEnum::Value Ifc4x3::IfcCoolingTowerTypeEnum::FromStri } Ifc4x3::IfcCoolingTowerTypeEnum::operator Ifc4x3::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x3::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[249]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[249]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[249]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[249]); } /* -Ifc4x3::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x3::IfcCostItemTypeEnum::Value Ifc4x3::IfcCostItemTypeEnum::FromString(const } Ifc4x3::IfcCostItemTypeEnum::operator Ifc4x3::IfcCostItemTypeEnum::Value() const { - return (Ifc4x3::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[251]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[251]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[251]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[251]); } /* -Ifc4x3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x3::IfcCostScheduleTypeEnum::Value Ifc4x3::IfcCostScheduleTypeEnum::FromStri } Ifc4x3::IfcCostScheduleTypeEnum::operator Ifc4x3::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x3::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCourseTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[256]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCourseTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[256]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCourseTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[256]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCourseTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[256]); } /* -Ifc4x3::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCourseTypeEnum::IfcCourseTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x3::IfcCourseTypeEnum::Value Ifc4x3::IfcCourseTypeEnum::FromString(const std } Ifc4x3::IfcCourseTypeEnum::operator Ifc4x3::IfcCourseTypeEnum::Value() const { - return (Ifc4x3::IfcCourseTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCourseTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[259]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[259]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[259]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[259]); } /* -Ifc4x3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x3::IfcCoveringTypeEnum::Value Ifc4x3::IfcCoveringTypeEnum::FromString(const } Ifc4x3::IfcCoveringTypeEnum::operator Ifc4x3::IfcCoveringTypeEnum::Value() const { - return (Ifc4x3::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[262]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[262]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[262]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[262]); } /* -Ifc4x3::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x3::IfcCrewResourceTypeEnum::Value Ifc4x3::IfcCrewResourceTypeEnum::FromStri } Ifc4x3::IfcCrewResourceTypeEnum::operator Ifc4x3::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x3::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[270]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[270]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[270]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[270]); } /* -Ifc4x3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x3::IfcCurtainWallTypeEnum::Value Ifc4x3::IfcCurtainWallTypeEnum::FromString } Ifc4x3::IfcCurtainWallTypeEnum::operator Ifc4x3::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x3::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[276]); } -const IfcParse::enumeration_type& Ifc4x3::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[276]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[276]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[276]); } /* -Ifc4x3::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x3::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x3::IfcCurveInterpolationEnum::Value Ifc4x3::IfcCurveInterpolationEnum::From } Ifc4x3::IfcCurveInterpolationEnum::operator Ifc4x3::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x3::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[289]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[289]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[289]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[289]); } /* -Ifc4x3::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x3::IfcDamperTypeEnum::Value Ifc4x3::IfcDamperTypeEnum::FromString(const std } Ifc4x3::IfcDamperTypeEnum::operator Ifc4x3::IfcDamperTypeEnum::Value() const { - return (Ifc4x3::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[290]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[290]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[290]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[290]); } /* -Ifc4x3::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x3::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x3::IfcDataOriginEnum::Value Ifc4x3::IfcDataOriginEnum::FromString(const std } Ifc4x3::IfcDataOriginEnum::operator Ifc4x3::IfcDataOriginEnum::Value() const { - return (Ifc4x3::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[302]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[302]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[302]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[302]); } /* -Ifc4x3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x3::IfcDerivedUnitEnum::Value Ifc4x3::IfcDerivedUnitEnum::FromString(const s } Ifc4x3::IfcDerivedUnitEnum::operator Ifc4x3::IfcDerivedUnitEnum::Value() const { - return (Ifc4x3::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[307]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[307]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[307]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[307]); } /* -Ifc4x3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x3::IfcDirectionSenseEnum::Value Ifc4x3::IfcDirectionSenseEnum::FromString(c } Ifc4x3::IfcDirectionSenseEnum::operator Ifc4x3::IfcDirectionSenseEnum::Value() const { - return (Ifc4x3::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[312]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[312]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[312]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[312]); } /* -Ifc4x3::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3::IfcDiscreteAccessoryTypeEnum } Ifc4x3::IfcDiscreteAccessoryTypeEnum::operator Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[315]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[315]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[315]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[315]); } /* -Ifc4x3::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x3::IfcDistributionBoardTypeEnum::Value Ifc4x3::IfcDistributionBoardTypeEnum } Ifc4x3::IfcDistributionBoardTypeEnum::operator Ifc4x3::IfcDistributionBoardTypeEnum::Value() const { - return (Ifc4x3::IfcDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[318]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[318]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[318]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[318]); } /* -Ifc4x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x3::IfcDistributionChamberElementTypeEnum::Value Ifc4x3::IfcDistributionCham } Ifc4x3::IfcDistributionChamberElementTypeEnum::operator Ifc4x3::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x3::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[327]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[327]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[327]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[327]); } /* -Ifc4x3::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x3::IfcDistributionPortTypeEnum::Value Ifc4x3::IfcDistributionPortTypeEnum:: } Ifc4x3::IfcDistributionPortTypeEnum::operator Ifc4x3::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x3::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[329]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[329]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[329]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[329]); } /* -Ifc4x3::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x3::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x3::IfcDistributionSystemEnum::Value Ifc4x3::IfcDistributionSystemEnum::From } Ifc4x3::IfcDistributionSystemEnum::operator Ifc4x3::IfcDistributionSystemEnum::Value() const { - return (Ifc4x3::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[330]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[330]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[330]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[330]); } /* -Ifc4x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x3::IfcDocumentConfidentialityEnum::Value Ifc4x3::IfcDocumentConfidentiality } Ifc4x3::IfcDocumentConfidentialityEnum::operator Ifc4x3::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x3::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[335]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[335]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[335]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[335]); } /* -Ifc4x3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x3::IfcDocumentStatusEnum::Value Ifc4x3::IfcDocumentStatusEnum::FromString(c } Ifc4x3::IfcDocumentStatusEnum::operator Ifc4x3::IfcDocumentStatusEnum::Value() const { - return (Ifc4x3::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[338]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[338]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[338]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[338]); } /* -Ifc4x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x3::IfcDoorPanelOperationEnum::Value Ifc4x3::IfcDoorPanelOperationEnum::From } Ifc4x3::IfcDoorPanelOperationEnum::operator Ifc4x3::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x3::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[339]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[339]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[339]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[339]); } /* -Ifc4x3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x3::IfcDoorPanelPositionEnum::Value Ifc4x3::IfcDoorPanelPositionEnum::FromSt } Ifc4x3::IfcDoorPanelPositionEnum::operator Ifc4x3::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x3::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDoorStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[341]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDoorStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[341]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[341]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[341]); } /* -Ifc4x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x3::IfcDoorStyleConstructionEnum::Value Ifc4x3::IfcDoorStyleConstructionEnum } Ifc4x3::IfcDoorStyleConstructionEnum::operator Ifc4x3::IfcDoorStyleConstructionEnum::Value() const { - return (Ifc4x3::IfcDoorStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDoorStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDoorStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[342]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDoorStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[342]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[342]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[342]); } /* -Ifc4x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x3::IfcDoorStyleOperationEnum::Value Ifc4x3::IfcDoorStyleOperationEnum::From } Ifc4x3::IfcDoorStyleOperationEnum::operator Ifc4x3::IfcDoorStyleOperationEnum::Value() const { - return (Ifc4x3::IfcDoorStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDoorStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[344]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[344]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[344]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[344]); } /* -Ifc4x3::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x3::IfcDoorTypeEnum::Value Ifc4x3::IfcDoorTypeEnum::FromString(const std::st } Ifc4x3::IfcDoorTypeEnum::operator Ifc4x3::IfcDoorTypeEnum::Value() const { - return (Ifc4x3::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[345]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[345]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[345]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[345]); } /* -Ifc4x3::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x3::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x3::IfcDoorTypeOperationEnum::Value Ifc4x3::IfcDoorTypeOperationEnum::FromSt } Ifc4x3::IfcDoorTypeOperationEnum::operator Ifc4x3::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x3::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[351]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[351]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[351]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[351]); } /* -Ifc4x3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x3::IfcDuctFittingTypeEnum::Value Ifc4x3::IfcDuctFittingTypeEnum::FromString } Ifc4x3::IfcDuctFittingTypeEnum::operator Ifc4x3::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x3::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[354]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[354]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[354]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[354]); } /* -Ifc4x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x3::IfcDuctSegmentTypeEnum::Value Ifc4x3::IfcDuctSegmentTypeEnum::FromString } Ifc4x3::IfcDuctSegmentTypeEnum::operator Ifc4x3::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x3::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[357]); } -const IfcParse::enumeration_type& Ifc4x3::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[357]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[357]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[357]); } /* -Ifc4x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x3::IfcDuctSilencerTypeEnum::Value Ifc4x3::IfcDuctSilencerTypeEnum::FromStri } Ifc4x3::IfcDuctSilencerTypeEnum::operator Ifc4x3::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x3::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcEarthworksCutTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[361]); } -const IfcParse::enumeration_type& Ifc4x3::IfcEarthworksCutTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[361]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcEarthworksCutTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[361]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcEarthworksCutTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[361]); } /* -Ifc4x3::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x3::IfcEarthworksCutTypeEnum::Value Ifc4x3::IfcEarthworksCutTypeEnum::FromSt } Ifc4x3::IfcEarthworksCutTypeEnum::operator Ifc4x3::IfcEarthworksCutTypeEnum::Value() const { - return (Ifc4x3::IfcEarthworksCutTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcEarthworksCutTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcEarthworksFillTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[364]); } -const IfcParse::enumeration_type& Ifc4x3::IfcEarthworksFillTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[364]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcEarthworksFillTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[364]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcEarthworksFillTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[364]); } /* -Ifc4x3::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x3::IfcEarthworksFillTypeEnum::Value Ifc4x3::IfcEarthworksFillTypeEnum::From } Ifc4x3::IfcEarthworksFillTypeEnum::operator Ifc4x3::IfcEarthworksFillTypeEnum::Value() const { - return (Ifc4x3::IfcEarthworksFillTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcEarthworksFillTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[370]); } -const IfcParse::enumeration_type& Ifc4x3::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[370]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[370]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[370]); } /* -Ifc4x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x3::IfcElectricApplianceTypeEnum::Value Ifc4x3::IfcElectricApplianceTypeEnum } Ifc4x3::IfcElectricApplianceTypeEnum::operator Ifc4x3::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x3::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[377]); } -const IfcParse::enumeration_type& Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[377]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[377]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[377]); } /* -Ifc4x3::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3::IfcElectricDistribut } Ifc4x3::IfcElectricDistributionBoardTypeEnum::operator Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[380]); } -const IfcParse::enumeration_type& Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[380]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[380]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[380]); } /* -Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3::IfcElectricFlowStora } Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[383]); } -const IfcParse::enumeration_type& Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[383]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[383]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[383]); } /* -Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3::IfcElectricFlowTre } Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::operator Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value() const { - return (Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[386]); } -const IfcParse::enumeration_type& Ifc4x3::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[386]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[386]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[386]); } /* -Ifc4x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x3::IfcElectricGeneratorTypeEnum::Value Ifc4x3::IfcElectricGeneratorTypeEnum } Ifc4x3::IfcElectricGeneratorTypeEnum::operator Ifc4x3::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x3::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[389]); } -const IfcParse::enumeration_type& Ifc4x3::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[389]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[389]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[389]); } /* -Ifc4x3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x3::IfcElectricMotorTypeEnum::Value Ifc4x3::IfcElectricMotorTypeEnum::FromSt } Ifc4x3::IfcElectricMotorTypeEnum::operator Ifc4x3::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x3::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[393]); } -const IfcParse::enumeration_type& Ifc4x3::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[393]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[393]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[393]); } /* -Ifc4x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x3::IfcElectricTimeControlTypeEnum::Value Ifc4x3::IfcElectricTimeControlType } Ifc4x3::IfcElectricTimeControlTypeEnum::operator Ifc4x3::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x3::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[399]); } -const IfcParse::enumeration_type& Ifc4x3::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[399]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[399]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[399]); } /* -Ifc4x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x3::IfcElementAssemblyTypeEnum::Value Ifc4x3::IfcElementAssemblyTypeEnum::Fr } Ifc4x3::IfcElementAssemblyTypeEnum::operator Ifc4x3::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x3::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[402]); } -const IfcParse::enumeration_type& Ifc4x3::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[402]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[402]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[402]); } /* -Ifc4x3::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x3::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x3::IfcElementCompositionEnum::Value Ifc4x3::IfcElementCompositionEnum::From } Ifc4x3::IfcElementCompositionEnum::operator Ifc4x3::IfcElementCompositionEnum::Value() const { - return (Ifc4x3::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[412]); } -const IfcParse::enumeration_type& Ifc4x3::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[412]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[412]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[412]); } /* -Ifc4x3::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x3::IfcEngineTypeEnum::Value Ifc4x3::IfcEngineTypeEnum::FromString(const std } Ifc4x3::IfcEngineTypeEnum::operator Ifc4x3::IfcEngineTypeEnum::Value() const { - return (Ifc4x3::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[415]); } -const IfcParse::enumeration_type& Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[415]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[415]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[415]); } /* -Ifc4x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3::IfcEvaporativeCoolerTypeEnum } Ifc4x3::IfcEvaporativeCoolerTypeEnum::operator Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[418]); } -const IfcParse::enumeration_type& Ifc4x3::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[418]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[418]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[418]); } /* -Ifc4x3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x3::IfcEvaporatorTypeEnum::Value Ifc4x3::IfcEvaporatorTypeEnum::FromString(c } Ifc4x3::IfcEvaporatorTypeEnum::operator Ifc4x3::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x3::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[421]); } -const IfcParse::enumeration_type& Ifc4x3::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[421]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[421]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[421]); } /* -Ifc4x3::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x3::IfcEventTriggerTypeEnum::Value Ifc4x3::IfcEventTriggerTypeEnum::FromStri } Ifc4x3::IfcEventTriggerTypeEnum::operator Ifc4x3::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x3::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[423]); } -const IfcParse::enumeration_type& Ifc4x3::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[423]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[423]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[423]); } /* -Ifc4x3::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x3::IfcEventTypeEnum::Value Ifc4x3::IfcEventTypeEnum::FromString(const std:: } Ifc4x3::IfcEventTypeEnum::operator Ifc4x3::IfcEventTypeEnum::Value() const { - return (Ifc4x3::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[432]); } -const IfcParse::enumeration_type& Ifc4x3::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[432]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[432]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[432]); } /* -Ifc4x3::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x3::IfcExternalSpatialElementTypeEnum::Value Ifc4x3::IfcExternalSpatialEleme } Ifc4x3::IfcExternalSpatialElementTypeEnum::operator Ifc4x3::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x3::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFacilityPartCommonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[446]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFacilityPartCommonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[446]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFacilityPartCommonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[446]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFacilityPartCommonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[446]); } /* -Ifc4x3::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x3::IfcFacilityPartCommonTypeEnum::Value Ifc4x3::IfcFacilityPartCommonTypeEn } Ifc4x3::IfcFacilityPartCommonTypeEnum::operator Ifc4x3::IfcFacilityPartCommonTypeEnum::Value() const { - return (Ifc4x3::IfcFacilityPartCommonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFacilityPartCommonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFacilityUsageEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[447]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFacilityUsageEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[447]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFacilityUsageEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[447]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFacilityUsageEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[447]); } /* -Ifc4x3::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) +Ifc4x3::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFacilityUsageEnum::IfcFacilityUsageEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x3::IfcFacilityUsageEnum::Value Ifc4x3::IfcFacilityUsageEnum::FromString(con } Ifc4x3::IfcFacilityUsageEnum::operator Ifc4x3::IfcFacilityUsageEnum::Value() const { - return (Ifc4x3::IfcFacilityUsageEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFacilityUsageEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[451]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[451]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[451]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[451]); } /* -Ifc4x3::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x3::IfcFanTypeEnum::Value Ifc4x3::IfcFanTypeEnum::FromString(const std::stri } Ifc4x3::IfcFanTypeEnum::operator Ifc4x3::IfcFanTypeEnum::Value() const { - return (Ifc4x3::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[454]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[454]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[454]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[454]); } /* -Ifc4x3::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x3::IfcFastenerTypeEnum::Value Ifc4x3::IfcFastenerTypeEnum::FromString(const } Ifc4x3::IfcFastenerTypeEnum::operator Ifc4x3::IfcFastenerTypeEnum::Value() const { - return (Ifc4x3::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[464]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[464]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[464]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[464]); } /* -Ifc4x3::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x3::IfcFilterTypeEnum::Value Ifc4x3::IfcFilterTypeEnum::FromString(const std } Ifc4x3::IfcFilterTypeEnum::operator Ifc4x3::IfcFilterTypeEnum::Value() const { - return (Ifc4x3::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[467]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[467]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[467]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[467]); } /* -Ifc4x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3::IfcFireSuppressionTerm } Ifc4x3::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[471]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[471]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[471]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[471]); } /* -Ifc4x3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x3::IfcFlowDirectionEnum::Value Ifc4x3::IfcFlowDirectionEnum::FromString(con } Ifc4x3::IfcFlowDirectionEnum::operator Ifc4x3::IfcFlowDirectionEnum::Value() const { - return (Ifc4x3::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[476]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[476]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[476]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[476]); } /* -Ifc4x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x3::IfcFlowInstrumentTypeEnum::Value Ifc4x3::IfcFlowInstrumentTypeEnum::From } Ifc4x3::IfcFlowInstrumentTypeEnum::operator Ifc4x3::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x3::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[479]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[479]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[479]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[479]); } /* -Ifc4x3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x3::IfcFlowMeterTypeEnum::Value Ifc4x3::IfcFlowMeterTypeEnum::FromString(con } Ifc4x3::IfcFlowMeterTypeEnum::operator Ifc4x3::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x3::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[495]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[495]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[495]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[495]); } /* -Ifc4x3::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x3::IfcFootingTypeEnum::Value Ifc4x3::IfcFootingTypeEnum::FromString(const s } Ifc4x3::IfcFootingTypeEnum::operator Ifc4x3::IfcFootingTypeEnum::Value() const { - return (Ifc4x3::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[502]); } -const IfcParse::enumeration_type& Ifc4x3::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[502]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[502]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[502]); } /* -Ifc4x3::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x3::IfcFurnitureTypeEnum::Value Ifc4x3::IfcFurnitureTypeEnum::FromString(con } Ifc4x3::IfcFurnitureTypeEnum::operator Ifc4x3::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x3::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[505]); } -const IfcParse::enumeration_type& Ifc4x3::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[505]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[505]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[505]); } /* -Ifc4x3::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x3::IfcGeographicElementTypeEnum::Value Ifc4x3::IfcGeographicElementTypeEnum } Ifc4x3::IfcGeographicElementTypeEnum::operator Ifc4x3::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x3::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[507]); } -const IfcParse::enumeration_type& Ifc4x3::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[507]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[507]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[507]); } /* -Ifc4x3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x3::IfcGeometricProjectionEnum::Value Ifc4x3::IfcGeometricProjectionEnum::Fr } Ifc4x3::IfcGeometricProjectionEnum::operator Ifc4x3::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x3::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcGeotechnicalStratumTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[518]); } -const IfcParse::enumeration_type& Ifc4x3::IfcGeotechnicalStratumTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[518]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcGeotechnicalStratumTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[518]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcGeotechnicalStratumTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[518]); } /* -Ifc4x3::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value Ifc4x3::IfcGeotechnicalStratumType } Ifc4x3::IfcGeotechnicalStratumTypeEnum::operator Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value() const { - return (Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[520]); } -const IfcParse::enumeration_type& Ifc4x3::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[520]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[520]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[520]); } /* -Ifc4x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x3::IfcGlobalOrLocalEnum::Value Ifc4x3::IfcGlobalOrLocalEnum::FromString(con } Ifc4x3::IfcGlobalOrLocalEnum::operator Ifc4x3::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x3::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[526]); } -const IfcParse::enumeration_type& Ifc4x3::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[526]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[526]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[526]); } /* -Ifc4x3::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x3::IfcGridTypeEnum::Value Ifc4x3::IfcGridTypeEnum::FromString(const std::st } Ifc4x3::IfcGridTypeEnum::operator Ifc4x3::IfcGridTypeEnum::Value() const { - return (Ifc4x3::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[532]); } -const IfcParse::enumeration_type& Ifc4x3::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[532]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[532]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[532]); } /* -Ifc4x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x3::IfcHeatExchangerTypeEnum::Value Ifc4x3::IfcHeatExchangerTypeEnum::FromSt } Ifc4x3::IfcHeatExchangerTypeEnum::operator Ifc4x3::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x3::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[537]); } -const IfcParse::enumeration_type& Ifc4x3::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[537]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[537]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[537]); } /* -Ifc4x3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x3::IfcHumidifierTypeEnum::Value Ifc4x3::IfcHumidifierTypeEnum::FromString(c } Ifc4x3::IfcHumidifierTypeEnum::operator Ifc4x3::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x3::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[543]); } -const IfcParse::enumeration_type& Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[543]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[543]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[543]); } /* -Ifc4x3::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3::IfcImpactProtectionDevi } Ifc4x3::IfcImpactProtectionDeviceTypeEnum::operator Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value() const { - return (Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[556]); } -const IfcParse::enumeration_type& Ifc4x3::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[556]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[556]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[556]); } /* -Ifc4x3::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x3::IfcInterceptorTypeEnum::Value Ifc4x3::IfcInterceptorTypeEnum::FromString } Ifc4x3::IfcInterceptorTypeEnum::operator Ifc4x3::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x3::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[558]); } -const IfcParse::enumeration_type& Ifc4x3::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[558]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[558]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[558]); } /* -Ifc4x3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x3::IfcInternalOrExternalEnum::Value Ifc4x3::IfcInternalOrExternalEnum::From } Ifc4x3::IfcInternalOrExternalEnum::operator Ifc4x3::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x3::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[561]); } -const IfcParse::enumeration_type& Ifc4x3::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[561]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[561]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[561]); } /* -Ifc4x3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x3::IfcInventoryTypeEnum::Value Ifc4x3::IfcInventoryTypeEnum::FromString(con } Ifc4x3::IfcInventoryTypeEnum::operator Ifc4x3::IfcInventoryTypeEnum::Value() const { - return (Ifc4x3::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[569]); } -const IfcParse::enumeration_type& Ifc4x3::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[569]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[569]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[569]); } /* -Ifc4x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x3::IfcJunctionBoxTypeEnum::Value Ifc4x3::IfcJunctionBoxTypeEnum::FromString } Ifc4x3::IfcJunctionBoxTypeEnum::operator Ifc4x3::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x3::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[573]); } -const IfcParse::enumeration_type& Ifc4x3::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[573]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[573]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[573]); } /* -Ifc4x3::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x3::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x3::IfcKnotType::Value Ifc4x3::IfcKnotType::FromString(const std::string& s) } Ifc4x3::IfcKnotType::operator Ifc4x3::IfcKnotType::Value() const { - return (Ifc4x3::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[577]); } -const IfcParse::enumeration_type& Ifc4x3::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[577]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[577]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[577]); } /* -Ifc4x3::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x3::IfcLaborResourceTypeEnum::Value Ifc4x3::IfcLaborResourceTypeEnum::FromSt } Ifc4x3::IfcLaborResourceTypeEnum::operator Ifc4x3::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x3::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[581]); } -const IfcParse::enumeration_type& Ifc4x3::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[581]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[581]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[581]); } /* -Ifc4x3::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x3::IfcLampTypeEnum::Value Ifc4x3::IfcLampTypeEnum::FromString(const std::st } Ifc4x3::IfcLampTypeEnum::operator Ifc4x3::IfcLampTypeEnum::Value() const { - return (Ifc4x3::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[584]); } -const IfcParse::enumeration_type& Ifc4x3::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[584]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[584]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[584]); } /* -Ifc4x3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x3::IfcLayerSetDirectionEnum::Value Ifc4x3::IfcLayerSetDirectionEnum::FromSt } Ifc4x3::IfcLayerSetDirectionEnum::operator Ifc4x3::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x3::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[589]); } -const IfcParse::enumeration_type& Ifc4x3::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[589]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[589]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[589]); } /* -Ifc4x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x3::IfcLightDistributionCurveEnum::Value Ifc4x3::IfcLightDistributionCurveEn } Ifc4x3::IfcLightDistributionCurveEnum::operator Ifc4x3::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x3::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[592]); } -const IfcParse::enumeration_type& Ifc4x3::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[592]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[592]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[592]); } /* -Ifc4x3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x3::IfcLightEmissionSourceEnum::Value Ifc4x3::IfcLightEmissionSourceEnum::Fr } Ifc4x3::IfcLightEmissionSourceEnum::operator Ifc4x3::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x3::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[595]); } -const IfcParse::enumeration_type& Ifc4x3::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[595]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[595]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[595]); } /* -Ifc4x3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x3::IfcLightFixtureTypeEnum::Value Ifc4x3::IfcLightFixtureTypeEnum::FromStri } Ifc4x3::IfcLightFixtureTypeEnum::operator Ifc4x3::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x3::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcLiquidTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[614]); } -const IfcParse::enumeration_type& Ifc4x3::IfcLiquidTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[614]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcLiquidTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[614]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcLiquidTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[614]); } /* -Ifc4x3::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x3::IfcLiquidTerminalTypeEnum::Value Ifc4x3::IfcLiquidTerminalTypeEnum::From } Ifc4x3::IfcLiquidTerminalTypeEnum::operator Ifc4x3::IfcLiquidTerminalTypeEnum::Value() const { - return (Ifc4x3::IfcLiquidTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcLiquidTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[615]); } -const IfcParse::enumeration_type& Ifc4x3::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[615]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[615]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[615]); } /* -Ifc4x3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x3::IfcLoadGroupTypeEnum::Value Ifc4x3::IfcLoadGroupTypeEnum::FromString(con } Ifc4x3::IfcLoadGroupTypeEnum::operator Ifc4x3::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x3::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[618]); } -const IfcParse::enumeration_type& Ifc4x3::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[618]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[618]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[618]); } /* -Ifc4x3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x3::IfcLogicalOperatorEnum::Value Ifc4x3::IfcLogicalOperatorEnum::FromString } Ifc4x3::IfcLogicalOperatorEnum::operator Ifc4x3::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x3::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcMarineFacilityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[630]); } -const IfcParse::enumeration_type& Ifc4x3::IfcMarineFacilityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[630]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcMarineFacilityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[630]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcMarineFacilityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[630]); } /* -Ifc4x3::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x3::IfcMarineFacilityTypeEnum::Value Ifc4x3::IfcMarineFacilityTypeEnum::From } Ifc4x3::IfcMarineFacilityTypeEnum::operator Ifc4x3::IfcMarineFacilityTypeEnum::Value() const { - return (Ifc4x3::IfcMarineFacilityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcMarineFacilityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcMarinePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[632]); } -const IfcParse::enumeration_type& Ifc4x3::IfcMarinePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[632]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcMarinePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[632]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcMarinePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[632]); } /* -Ifc4x3::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x3::IfcMarinePartTypeEnum::Value Ifc4x3::IfcMarinePartTypeEnum::FromString(c } Ifc4x3::IfcMarinePartTypeEnum::operator Ifc4x3::IfcMarinePartTypeEnum::Value() const { - return (Ifc4x3::IfcMarinePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcMarinePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[661]); } -const IfcParse::enumeration_type& Ifc4x3::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[661]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[661]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[661]); } /* -Ifc4x3::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x3::IfcMechanicalFastenerTypeEnum::Value Ifc4x3::IfcMechanicalFastenerTypeEn } Ifc4x3::IfcMechanicalFastenerTypeEnum::operator Ifc4x3::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x3::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[664]); } -const IfcParse::enumeration_type& Ifc4x3::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[664]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[664]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[664]); } /* -Ifc4x3::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x3::IfcMedicalDeviceTypeEnum::Value Ifc4x3::IfcMedicalDeviceTypeEnum::FromSt } Ifc4x3::IfcMedicalDeviceTypeEnum::operator Ifc4x3::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x3::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[667]); } -const IfcParse::enumeration_type& Ifc4x3::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[667]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[667]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[667]); } /* -Ifc4x3::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x3::IfcMemberTypeEnum::Value Ifc4x3::IfcMemberTypeEnum::FromString(const std } Ifc4x3::IfcMemberTypeEnum::operator Ifc4x3::IfcMemberTypeEnum::Value() const { - return (Ifc4x3::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[673]); } -const IfcParse::enumeration_type& Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[673]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[673]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[673]); } /* -Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3::IfcMobileTel } Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::operator Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcMooringDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[689]); } -const IfcParse::enumeration_type& Ifc4x3::IfcMooringDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[689]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcMooringDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[689]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcMooringDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[689]); } /* -Ifc4x3::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x3::IfcMooringDeviceTypeEnum::Value Ifc4x3::IfcMooringDeviceTypeEnum::FromSt } Ifc4x3::IfcMooringDeviceTypeEnum::operator Ifc4x3::IfcMooringDeviceTypeEnum::Value() const { - return (Ifc4x3::IfcMooringDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcMooringDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[692]); } -const IfcParse::enumeration_type& Ifc4x3::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[692]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[692]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[692]); } /* -Ifc4x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x3::IfcMotorConnectionTypeEnum::Value Ifc4x3::IfcMotorConnectionTypeEnum::Fr } Ifc4x3::IfcMotorConnectionTypeEnum::operator Ifc4x3::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x3::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcNavigationElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[696]); } -const IfcParse::enumeration_type& Ifc4x3::IfcNavigationElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[696]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcNavigationElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[696]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcNavigationElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[696]); } /* -Ifc4x3::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x3::IfcNavigationElementTypeEnum::Value Ifc4x3::IfcNavigationElementTypeEnum } Ifc4x3::IfcNavigationElementTypeEnum::operator Ifc4x3::IfcNavigationElementTypeEnum::Value() const { - return (Ifc4x3::IfcNavigationElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcNavigationElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcObjectTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[706]); } -const IfcParse::enumeration_type& Ifc4x3::IfcObjectTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[706]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcObjectTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[706]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcObjectTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[706]); } /* -Ifc4x3::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcObjectTypeEnum::IfcObjectTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x3::IfcObjectTypeEnum::Value Ifc4x3::IfcObjectTypeEnum::FromString(const std } Ifc4x3::IfcObjectTypeEnum::operator Ifc4x3::IfcObjectTypeEnum::Value() const { - return (Ifc4x3::IfcObjectTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcObjectTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[703]); } -const IfcParse::enumeration_type& Ifc4x3::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[703]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[703]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[703]); } /* -Ifc4x3::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x3::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x3::IfcObjectiveEnum::Value Ifc4x3::IfcObjectiveEnum::FromString(const std:: } Ifc4x3::IfcObjectiveEnum::operator Ifc4x3::IfcObjectiveEnum::Value() const { - return (Ifc4x3::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[708]); } -const IfcParse::enumeration_type& Ifc4x3::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[708]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[708]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[708]); } /* -Ifc4x3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x3::IfcOccupantTypeEnum::Value Ifc4x3::IfcOccupantTypeEnum::FromString(const } Ifc4x3::IfcOccupantTypeEnum::operator Ifc4x3::IfcOccupantTypeEnum::Value() const { - return (Ifc4x3::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[715]); } -const IfcParse::enumeration_type& Ifc4x3::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[715]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[715]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[715]); } /* -Ifc4x3::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x3::IfcOpeningElementTypeEnum::Value Ifc4x3::IfcOpeningElementTypeEnum::From } Ifc4x3::IfcOpeningElementTypeEnum::operator Ifc4x3::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x3::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[723]); } -const IfcParse::enumeration_type& Ifc4x3::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[723]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[723]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[723]); } /* -Ifc4x3::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x3::IfcOutletTypeEnum::Value Ifc4x3::IfcOutletTypeEnum::FromString(const std } Ifc4x3::IfcOutletTypeEnum::operator Ifc4x3::IfcOutletTypeEnum::Value() const { - return (Ifc4x3::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPavementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[730]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPavementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[730]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPavementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[730]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPavementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[730]); } /* -Ifc4x3::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPavementTypeEnum::IfcPavementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x3::IfcPavementTypeEnum::Value Ifc4x3::IfcPavementTypeEnum::FromString(const } Ifc4x3::IfcPavementTypeEnum::operator Ifc4x3::IfcPavementTypeEnum::Value() const { - return (Ifc4x3::IfcPavementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPavementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[733]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[733]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[733]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[733]); } /* -Ifc4x3::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x3::IfcPerformanceHistoryTypeEnum::Value Ifc4x3::IfcPerformanceHistoryTypeEn } Ifc4x3::IfcPerformanceHistoryTypeEnum::operator Ifc4x3::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x3::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[734]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[734]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[734]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[734]); } /* -Ifc4x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x3::IfcPermeableCoveringOperationEnum::Value Ifc4x3::IfcPermeableCoveringOpe } Ifc4x3::IfcPermeableCoveringOperationEnum::operator Ifc4x3::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x3::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[737]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[737]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[737]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[737]); } /* -Ifc4x3::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x3::IfcPermitTypeEnum::Value Ifc4x3::IfcPermitTypeEnum::FromString(const std } Ifc4x3::IfcPermitTypeEnum::operator Ifc4x3::IfcPermitTypeEnum::Value() const { - return (Ifc4x3::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[742]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[742]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[742]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[742]); } /* -Ifc4x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x3::IfcPhysicalOrVirtualEnum::Value Ifc4x3::IfcPhysicalOrVirtualEnum::FromSt } Ifc4x3::IfcPhysicalOrVirtualEnum::operator Ifc4x3::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x3::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[746]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[746]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[746]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[746]); } /* -Ifc4x3::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x3::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x3::IfcPileConstructionEnum::Value Ifc4x3::IfcPileConstructionEnum::FromStri } Ifc4x3::IfcPileConstructionEnum::operator Ifc4x3::IfcPileConstructionEnum::Value() const { - return (Ifc4x3::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[748]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[748]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[748]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[748]); } /* -Ifc4x3::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x3::IfcPileTypeEnum::Value Ifc4x3::IfcPileTypeEnum::FromString(const std::st } Ifc4x3::IfcPileTypeEnum::operator Ifc4x3::IfcPileTypeEnum::Value() const { - return (Ifc4x3::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[751]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[751]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[751]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[751]); } /* -Ifc4x3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x3::IfcPipeFittingTypeEnum::Value Ifc4x3::IfcPipeFittingTypeEnum::FromString } Ifc4x3::IfcPipeFittingTypeEnum::operator Ifc4x3::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x3::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[754]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[754]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[754]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[754]); } /* -Ifc4x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x3::IfcPipeSegmentTypeEnum::Value Ifc4x3::IfcPipeSegmentTypeEnum::FromString } Ifc4x3::IfcPipeSegmentTypeEnum::operator Ifc4x3::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x3::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[764]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[764]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[764]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[764]); } /* -Ifc4x3::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x3::IfcPlateTypeEnum::Value Ifc4x3::IfcPlateTypeEnum::FromString(const std:: } Ifc4x3::IfcPlateTypeEnum::operator Ifc4x3::IfcPlateTypeEnum::Value() const { - return (Ifc4x3::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[789]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[789]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[789]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[789]); } /* -Ifc4x3::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x3::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3::IfcPreferredSurfac } Ifc4x3::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[798]); } -const IfcParse::enumeration_type& Ifc4x3::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[798]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[798]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[798]); } /* -Ifc4x3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x3::IfcProcedureTypeEnum::Value Ifc4x3::IfcProcedureTypeEnum::FromString(con } Ifc4x3::IfcProcedureTypeEnum::operator Ifc4x3::IfcProcedureTypeEnum::Value() const { - return (Ifc4x3::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[808]); } -const IfcParse::enumeration_type& Ifc4x3::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[808]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[808]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[808]); } /* -Ifc4x3::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x3::IfcProfileTypeEnum::Value Ifc4x3::IfcProfileTypeEnum::FromString(const s } Ifc4x3::IfcProfileTypeEnum::operator Ifc4x3::IfcProfileTypeEnum::Value() const { - return (Ifc4x3::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[816]); } -const IfcParse::enumeration_type& Ifc4x3::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[816]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[816]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[816]); } /* -Ifc4x3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x3::IfcProjectOrderTypeEnum::Value Ifc4x3::IfcProjectOrderTypeEnum::FromStri } Ifc4x3::IfcProjectOrderTypeEnum::operator Ifc4x3::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x3::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[811]); } -const IfcParse::enumeration_type& Ifc4x3::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[811]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[811]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[811]); } /* -Ifc4x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x3::IfcProjectedOrTrueLengthEnum::Value Ifc4x3::IfcProjectedOrTrueLengthEnum } Ifc4x3::IfcProjectedOrTrueLengthEnum::operator Ifc4x3::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x3::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[813]); } -const IfcParse::enumeration_type& Ifc4x3::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[813]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[813]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[813]); } /* -Ifc4x3::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x3::IfcProjectionElementTypeEnum::Value Ifc4x3::IfcProjectionElementTypeEnum } Ifc4x3::IfcProjectionElementTypeEnum::operator Ifc4x3::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x3::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[831]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[831]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[831]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[831]); } /* -Ifc4x3::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x3::IfcPropertySetTemplateTypeEnum::Value Ifc4x3::IfcPropertySetTemplateType } Ifc4x3::IfcPropertySetTemplateTypeEnum::operator Ifc4x3::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x3::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[839]); } -const IfcParse::enumeration_type& Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[839]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[839]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[839]); } /* -Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3::IfcProtectiveDevi } Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[841]); } -const IfcParse::enumeration_type& Ifc4x3::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[841]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[841]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[841]); } /* -Ifc4x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x3::IfcProtectiveDeviceTypeEnum::Value Ifc4x3::IfcProtectiveDeviceTypeEnum:: } Ifc4x3::IfcProtectiveDeviceTypeEnum::operator Ifc4x3::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x3::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[844]); } -const IfcParse::enumeration_type& Ifc4x3::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[844]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[844]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[844]); } /* -Ifc4x3::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x3::IfcPumpTypeEnum::Value Ifc4x3::IfcPumpTypeEnum::FromString(const std::st } Ifc4x3::IfcPumpTypeEnum::operator Ifc4x3::IfcPumpTypeEnum::Value() const { - return (Ifc4x3::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRailTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[859]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRailTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[859]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRailTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[859]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRailTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[859]); } /* -Ifc4x3::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRailTypeEnum::IfcRailTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRailTypeEnum::IfcRailTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x3::IfcRailTypeEnum::Value Ifc4x3::IfcRailTypeEnum::FromString(const std::st } Ifc4x3::IfcRailTypeEnum::operator Ifc4x3::IfcRailTypeEnum::Value() const { - return (Ifc4x3::IfcRailTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRailTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[857]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[857]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[857]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[857]); } /* -Ifc4x3::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x3::IfcRailingTypeEnum::Value Ifc4x3::IfcRailingTypeEnum::FromString(const s } Ifc4x3::IfcRailingTypeEnum::operator Ifc4x3::IfcRailingTypeEnum::Value() const { - return (Ifc4x3::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRailwayPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[862]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRailwayPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[862]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRailwayPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[862]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRailwayPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[862]); } /* -Ifc4x3::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x3::IfcRailwayPartTypeEnum::Value Ifc4x3::IfcRailwayPartTypeEnum::FromString } Ifc4x3::IfcRailwayPartTypeEnum::operator Ifc4x3::IfcRailwayPartTypeEnum::Value() const { - return (Ifc4x3::IfcRailwayPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRailwayPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRailwayTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[863]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRailwayTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[863]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRailwayTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[863]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRailwayTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[863]); } /* -Ifc4x3::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRailwayTypeEnum::IfcRailwayTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x3::IfcRailwayTypeEnum::Value Ifc4x3::IfcRailwayTypeEnum::FromString(const s } Ifc4x3::IfcRailwayTypeEnum::operator Ifc4x3::IfcRailwayTypeEnum::Value() const { - return (Ifc4x3::IfcRailwayTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRailwayTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[867]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[867]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[867]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[867]); } /* -Ifc4x3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x3::IfcRampFlightTypeEnum::Value Ifc4x3::IfcRampFlightTypeEnum::FromString(c } Ifc4x3::IfcRampFlightTypeEnum::operator Ifc4x3::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x3::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[869]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[869]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[869]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[869]); } /* -Ifc4x3::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x3::IfcRampTypeEnum::Value Ifc4x3::IfcRampTypeEnum::FromString(const std::st } Ifc4x3::IfcRampTypeEnum::operator Ifc4x3::IfcRampTypeEnum::Value() const { - return (Ifc4x3::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[879]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[879]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[879]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[879]); } /* -Ifc4x3::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x3::IfcRecurrenceTypeEnum::Value Ifc4x3::IfcRecurrenceTypeEnum::FromString(c } Ifc4x3::IfcRecurrenceTypeEnum::operator Ifc4x3::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x3::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[882]); } -const IfcParse::enumeration_type& Ifc4x3::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[882]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[882]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[882]); } /* -Ifc4x3::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x3::IfcReferentTypeEnum::Value Ifc4x3::IfcReferentTypeEnum::FromString(const } Ifc4x3::IfcReferentTypeEnum::operator Ifc4x3::IfcReferentTypeEnum::Value() const { - return (Ifc4x3::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[883]); } -const IfcParse::enumeration_type& Ifc4x3::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[883]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[883]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[883]); } /* -Ifc4x3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x3::IfcReflectanceMethodEnum::Value Ifc4x3::IfcReflectanceMethodEnum::FromSt } Ifc4x3::IfcReflectanceMethodEnum::operator Ifc4x3::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x3::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcReinforcedSoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[886]); } -const IfcParse::enumeration_type& Ifc4x3::IfcReinforcedSoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[886]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcedSoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[886]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcedSoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[886]); } /* -Ifc4x3::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x3::IfcReinforcedSoilTypeEnum::Value Ifc4x3::IfcReinforcedSoilTypeEnum::From } Ifc4x3::IfcReinforcedSoilTypeEnum::operator Ifc4x3::IfcReinforcedSoilTypeEnum::Value() const { - return (Ifc4x3::IfcReinforcedSoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcReinforcedSoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[890]); } -const IfcParse::enumeration_type& Ifc4x3::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[890]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[890]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[890]); } /* -Ifc4x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x3::IfcReinforcingBarRoleEnum::Value Ifc4x3::IfcReinforcingBarRoleEnum::From } Ifc4x3::IfcReinforcingBarRoleEnum::operator Ifc4x3::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x3::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[891]); } -const IfcParse::enumeration_type& Ifc4x3::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[891]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[891]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[891]); } /* -Ifc4x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x3::IfcReinforcingBarSurfaceEnum::Value Ifc4x3::IfcReinforcingBarSurfaceEnum } Ifc4x3::IfcReinforcingBarSurfaceEnum::operator Ifc4x3::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x3::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[893]); } -const IfcParse::enumeration_type& Ifc4x3::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[893]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[893]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[893]); } /* -Ifc4x3::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x3::IfcReinforcingBarTypeEnum::Value Ifc4x3::IfcReinforcingBarTypeEnum::From } Ifc4x3::IfcReinforcingBarTypeEnum::operator Ifc4x3::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x3::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[898]); } -const IfcParse::enumeration_type& Ifc4x3::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[898]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[898]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[898]); } /* -Ifc4x3::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x3::IfcReinforcingMeshTypeEnum::Value Ifc4x3::IfcReinforcingMeshTypeEnum::Fr } Ifc4x3::IfcReinforcingMeshTypeEnum::operator Ifc4x3::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x3::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRoadPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[968]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRoadPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[968]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRoadPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[968]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRoadPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[968]); } /* -Ifc4x3::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x3::IfcRoadPartTypeEnum::Value Ifc4x3::IfcRoadPartTypeEnum::FromString(const } Ifc4x3::IfcRoadPartTypeEnum::operator Ifc4x3::IfcRoadPartTypeEnum::Value() const { - return (Ifc4x3::IfcRoadPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRoadPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRoadTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[969]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRoadTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[969]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRoadTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[969]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRoadTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[969]); } /* -Ifc4x3::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRoadTypeEnum::IfcRoadTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x3::IfcRoadTypeEnum::Value Ifc4x3::IfcRoadTypeEnum::FromString(const std::st } Ifc4x3::IfcRoadTypeEnum::operator Ifc4x3::IfcRoadTypeEnum::Value() const { - return (Ifc4x3::IfcRoadTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRoadTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[970]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[970]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[970]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[970]); } /* -Ifc4x3::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x3::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x3::IfcRoleEnum::Value Ifc4x3::IfcRoleEnum::FromString(const std::string& s) } Ifc4x3::IfcRoleEnum::operator Ifc4x3::IfcRoleEnum::Value() const { - return (Ifc4x3::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[973]); } -const IfcParse::enumeration_type& Ifc4x3::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[973]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[973]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[973]); } /* -Ifc4x3::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x3::IfcRoofTypeEnum::Value Ifc4x3::IfcRoofTypeEnum::FromString(const std::st } Ifc4x3::IfcRoofTypeEnum::operator Ifc4x3::IfcRoofTypeEnum::Value() const { - return (Ifc4x3::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1023]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1023]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1023]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1023]); } /* -Ifc4x3::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x3::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x3::IfcSIPrefix::Value Ifc4x3::IfcSIPrefix::FromString(const std::string& s) } Ifc4x3::IfcSIPrefix::operator Ifc4x3::IfcSIPrefix::Value() const { - return (Ifc4x3::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1026]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1026]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1026]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1026]); } /* -Ifc4x3::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x3::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x3::IfcSIUnitName::Value Ifc4x3::IfcSIUnitName::FromString(const std::string } Ifc4x3::IfcSIUnitName::operator Ifc4x3::IfcSIUnitName::Value() const { - return (Ifc4x3::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[982]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[982]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[982]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[982]); } /* -Ifc4x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x3::IfcSanitaryTerminalTypeEnum::Value Ifc4x3::IfcSanitaryTerminalTypeEnum:: } Ifc4x3::IfcSanitaryTerminalTypeEnum::operator Ifc4x3::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x3::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[994]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[994]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[994]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[994]); } /* -Ifc4x3::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x3::IfcSectionTypeEnum::Value Ifc4x3::IfcSectionTypeEnum::FromString(const s } Ifc4x3::IfcSectionTypeEnum::operator Ifc4x3::IfcSectionTypeEnum::Value() const { - return (Ifc4x3::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1000]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1000]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1000]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1000]); } /* -Ifc4x3::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x3::IfcSensorTypeEnum::Value Ifc4x3::IfcSensorTypeEnum::FromString(const std } Ifc4x3::IfcSensorTypeEnum::operator Ifc4x3::IfcSensorTypeEnum::Value() const { - return (Ifc4x3::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1001]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1001]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1001]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1001]); } /* -Ifc4x3::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x3::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x3::IfcSequenceEnum::Value Ifc4x3::IfcSequenceEnum::FromString(const std::st } Ifc4x3::IfcSequenceEnum::operator Ifc4x3::IfcSequenceEnum::Value() const { - return (Ifc4x3::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1005]); } -const IfcParse::enumeration_type& Ifc4x3::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1005]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1005]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1005]); } /* -Ifc4x3::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x3::IfcShadingDeviceTypeEnum::Value Ifc4x3::IfcShadingDeviceTypeEnum::FromSt } Ifc4x3::IfcShadingDeviceTypeEnum::operator Ifc4x3::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x3::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSignTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1017]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSignTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1017]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSignTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1017]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSignTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1017]); } /* -Ifc4x3::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSignTypeEnum::IfcSignTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSignTypeEnum::IfcSignTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x3::IfcSignTypeEnum::Value Ifc4x3::IfcSignTypeEnum::FromString(const std::st } Ifc4x3::IfcSignTypeEnum::operator Ifc4x3::IfcSignTypeEnum::Value() const { - return (Ifc4x3::IfcSignTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSignTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSignalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1015]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSignalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1015]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSignalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1015]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSignalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1015]); } /* -Ifc4x3::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSignalTypeEnum::IfcSignalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x3::IfcSignalTypeEnum::Value Ifc4x3::IfcSignalTypeEnum::FromString(const std } Ifc4x3::IfcSignalTypeEnum::operator Ifc4x3::IfcSignalTypeEnum::Value() const { - return (Ifc4x3::IfcSignalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSignalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1020]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1020]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1020]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1020]); } /* -Ifc4x3::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x3::IfcSimplePropertyTempla } Ifc4x3::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1030]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1030]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1030]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1030]); } /* -Ifc4x3::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x3::IfcSlabTypeEnum::Value Ifc4x3::IfcSlabTypeEnum::FromString(const std::st } Ifc4x3::IfcSlabTypeEnum::operator Ifc4x3::IfcSlabTypeEnum::Value() const { - return (Ifc4x3::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1034]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1034]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1034]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1034]); } /* -Ifc4x3::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x3::IfcSolarDeviceTypeEnum::Value Ifc4x3::IfcSolarDeviceTypeEnum::FromString } Ifc4x3::IfcSolarDeviceTypeEnum::operator Ifc4x3::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x3::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1046]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1046]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1046]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1046]); } /* -Ifc4x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x3::IfcSpaceHeaterTypeEnum::Value Ifc4x3::IfcSpaceHeaterTypeEnum::FromString } Ifc4x3::IfcSpaceHeaterTypeEnum::operator Ifc4x3::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x3::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1048]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1048]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1048]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1048]); } /* -Ifc4x3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x3::IfcSpaceTypeEnum::Value Ifc4x3::IfcSpaceTypeEnum::FromString(const std:: } Ifc4x3::IfcSpaceTypeEnum::operator Ifc4x3::IfcSpaceTypeEnum::Value() const { - return (Ifc4x3::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1056]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1056]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1056]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1056]); } /* -Ifc4x3::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x3::IfcSpatialZoneTypeEnum::Value Ifc4x3::IfcSpatialZoneTypeEnum::FromString } Ifc4x3::IfcSpatialZoneTypeEnum::operator Ifc4x3::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x3::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1066]); } -const IfcParse::enumeration_type& Ifc4x3::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1066]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1066]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1066]); } /* -Ifc4x3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x3::IfcStackTerminalTypeEnum::Value Ifc4x3::IfcStackTerminalTypeEnum::FromSt } Ifc4x3::IfcStackTerminalTypeEnum::operator Ifc4x3::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x3::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1070]); } -const IfcParse::enumeration_type& Ifc4x3::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1070]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1070]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1070]); } /* -Ifc4x3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x3::IfcStairFlightTypeEnum::Value Ifc4x3::IfcStairFlightTypeEnum::FromString } Ifc4x3::IfcStairFlightTypeEnum::operator Ifc4x3::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x3::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1072]); } -const IfcParse::enumeration_type& Ifc4x3::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1072]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1072]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1072]); } /* -Ifc4x3::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x3::IfcStairTypeEnum::Value Ifc4x3::IfcStairTypeEnum::FromString(const std:: } Ifc4x3::IfcStairTypeEnum::operator Ifc4x3::IfcStairTypeEnum::Value() const { - return (Ifc4x3::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1073]); } -const IfcParse::enumeration_type& Ifc4x3::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1073]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1073]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1073]); } /* -Ifc4x3::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x3::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x3::IfcStateEnum::Value Ifc4x3::IfcStateEnum::FromString(const std::string& } Ifc4x3::IfcStateEnum::operator Ifc4x3::IfcStateEnum::Value() const { - return (Ifc4x3::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1081]); } -const IfcParse::enumeration_type& Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1081]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1081]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1081]); } /* -Ifc4x3::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3::IfcStructuralCurveActi } Ifc4x3::IfcStructuralCurveActivityTypeEnum::operator Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1084]); } -const IfcParse::enumeration_type& Ifc4x3::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1084]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1084]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1084]); } /* -Ifc4x3::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3::IfcStructuralCurveMember } Ifc4x3::IfcStructuralCurveMemberTypeEnum::operator Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1110]); } -const IfcParse::enumeration_type& Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1110]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1110]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1110]); } /* -Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3::IfcStructuralSurface } Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1113]); } -const IfcParse::enumeration_type& Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1113]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1113]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1113]); } /* -Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3::IfcStructuralSurfaceMe } Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1121]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1121]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1121]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1121]); } /* -Ifc4x3::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,23 +6126,23 @@ Ifc4x3::IfcSubContractResourceTypeEnum::Value Ifc4x3::IfcSubContractResourceType } Ifc4x3::IfcSubContractResourceTypeEnum::operator Ifc4x3::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x3::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1127]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1127]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1127]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1127]); } /* -Ifc4x3::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6155,23 +6155,23 @@ Ifc4x3::IfcSurfaceFeatureTypeEnum::Value Ifc4x3::IfcSurfaceFeatureTypeEnum::From } Ifc4x3::IfcSurfaceFeatureTypeEnum::operator Ifc4x3::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x3::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1132]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1132]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1132]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1132]); } /* -Ifc4x3::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x3::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6184,23 +6184,23 @@ Ifc4x3::IfcSurfaceSide::Value Ifc4x3::IfcSurfaceSide::FromString(const std::stri } Ifc4x3::IfcSurfaceSide::operator Ifc4x3::IfcSurfaceSide::Value() const { - return (Ifc4x3::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1147]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1147]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1147]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1147]); } /* -Ifc4x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6213,23 +6213,23 @@ Ifc4x3::IfcSwitchingDeviceTypeEnum::Value Ifc4x3::IfcSwitchingDeviceTypeEnum::Fr } Ifc4x3::IfcSwitchingDeviceTypeEnum::operator Ifc4x3::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x3::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1151]); } -const IfcParse::enumeration_type& Ifc4x3::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1151]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1151]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1151]); } /* -Ifc4x3::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6242,23 +6242,23 @@ Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value Ifc4x3::IfcSystemFurnitureEleme } Ifc4x3::IfcSystemFurnitureElementTypeEnum::operator Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1157]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1157]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1157]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1157]); } /* -Ifc4x3::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6271,23 +6271,23 @@ Ifc4x3::IfcTankTypeEnum::Value Ifc4x3::IfcTankTypeEnum::FromString(const std::st } Ifc4x3::IfcTankTypeEnum::operator Ifc4x3::IfcTankTypeEnum::Value() const { - return (Ifc4x3::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1159]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1159]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1159]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1159]); } /* -Ifc4x3::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x3::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6300,23 +6300,23 @@ Ifc4x3::IfcTaskDurationEnum::Value Ifc4x3::IfcTaskDurationEnum::FromString(const } Ifc4x3::IfcTaskDurationEnum::operator Ifc4x3::IfcTaskDurationEnum::Value() const { - return (Ifc4x3::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1163]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1163]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1163]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1163]); } /* -Ifc4x3::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6329,23 +6329,23 @@ Ifc4x3::IfcTaskTypeEnum::Value Ifc4x3::IfcTaskTypeEnum::FromString(const std::st } Ifc4x3::IfcTaskTypeEnum::operator Ifc4x3::IfcTaskTypeEnum::Value() const { - return (Ifc4x3::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1170]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1170]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1170]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1170]); } /* -Ifc4x3::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6358,23 +6358,23 @@ Ifc4x3::IfcTendonAnchorTypeEnum::Value Ifc4x3::IfcTendonAnchorTypeEnum::FromStri } Ifc4x3::IfcTendonAnchorTypeEnum::operator Ifc4x3::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x3::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTendonConduitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1173]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTendonConduitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1173]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1173]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1173]); } /* -Ifc4x3::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6387,23 +6387,23 @@ Ifc4x3::IfcTendonConduitTypeEnum::Value Ifc4x3::IfcTendonConduitTypeEnum::FromSt } Ifc4x3::IfcTendonConduitTypeEnum::operator Ifc4x3::IfcTendonConduitTypeEnum::Value() const { - return (Ifc4x3::IfcTendonConduitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1175]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1175]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1175]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1175]); } /* -Ifc4x3::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6416,23 +6416,23 @@ Ifc4x3::IfcTendonTypeEnum::Value Ifc4x3::IfcTendonTypeEnum::FromString(const std } Ifc4x3::IfcTendonTypeEnum::operator Ifc4x3::IfcTendonTypeEnum::Value() const { - return (Ifc4x3::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1185]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1185]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1185]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1185]); } /* -Ifc4x3::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x3::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6445,23 +6445,23 @@ Ifc4x3::IfcTextPath::Value Ifc4x3::IfcTextPath::FromString(const std::string& s) } Ifc4x3::IfcTextPath::operator Ifc4x3::IfcTextPath::Value() const { - return (Ifc4x3::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1210]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1210]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1210]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1210]); } /* -Ifc4x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6474,23 +6474,23 @@ Ifc4x3::IfcTimeSeriesDataTypeEnum::Value Ifc4x3::IfcTimeSeriesDataTypeEnum::From } Ifc4x3::IfcTimeSeriesDataTypeEnum::operator Ifc4x3::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x3::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTrackElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1219]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTrackElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1219]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTrackElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1219]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTrackElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1219]); } /* -Ifc4x3::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6503,23 +6503,23 @@ Ifc4x3::IfcTrackElementTypeEnum::Value Ifc4x3::IfcTrackElementTypeEnum::FromStri } Ifc4x3::IfcTrackElementTypeEnum::operator Ifc4x3::IfcTrackElementTypeEnum::Value() const { - return (Ifc4x3::IfcTrackElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTrackElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1222]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1222]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1222]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1222]); } /* -Ifc4x3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6532,23 +6532,23 @@ Ifc4x3::IfcTransformerTypeEnum::Value Ifc4x3::IfcTransformerTypeEnum::FromString } Ifc4x3::IfcTransformerTypeEnum::operator Ifc4x3::IfcTransformerTypeEnum::Value() const { - return (Ifc4x3::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1223]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1223]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1223]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1223]); } /* -Ifc4x3::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x3::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6561,23 +6561,23 @@ Ifc4x3::IfcTransitionCode::Value Ifc4x3::IfcTransitionCode::FromString(const std } Ifc4x3::IfcTransitionCode::operator Ifc4x3::IfcTransitionCode::Value() const { - return (Ifc4x3::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTransportElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1229]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTransportElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1229]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTransportElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1229]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTransportElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1229]); } /* -Ifc4x3::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6590,23 +6590,23 @@ Ifc4x3::IfcTransportElementTypeEnum::Value Ifc4x3::IfcTransportElementTypeEnum:: } Ifc4x3::IfcTransportElementTypeEnum::operator Ifc4x3::IfcTransportElementTypeEnum::Value() const { - return (Ifc4x3::IfcTransportElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTransportElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1234]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1234]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1234]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1234]); } /* -Ifc4x3::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x3::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6619,23 +6619,23 @@ Ifc4x3::IfcTrimmingPreference::Value Ifc4x3::IfcTrimmingPreference::FromString(c } Ifc4x3::IfcTrimmingPreference::operator Ifc4x3::IfcTrimmingPreference::Value() const { - return (Ifc4x3::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1239]); } -const IfcParse::enumeration_type& Ifc4x3::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1239]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1239]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1239]); } /* -Ifc4x3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6648,23 +6648,23 @@ Ifc4x3::IfcTubeBundleTypeEnum::Value Ifc4x3::IfcTubeBundleTypeEnum::FromString(c } Ifc4x3::IfcTubeBundleTypeEnum::operator Ifc4x3::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x3::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1252]); } -const IfcParse::enumeration_type& Ifc4x3::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1252]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1252]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1252]); } /* -Ifc4x3::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x3::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6677,23 +6677,23 @@ Ifc4x3::IfcUnitEnum::Value Ifc4x3::IfcUnitEnum::FromString(const std::string& s) } Ifc4x3::IfcUnitEnum::operator Ifc4x3::IfcUnitEnum::Value() const { - return (Ifc4x3::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1247]); } -const IfcParse::enumeration_type& Ifc4x3::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1247]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1247]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1247]); } /* -Ifc4x3::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6706,23 +6706,23 @@ Ifc4x3::IfcUnitaryControlElementTypeEnum::Value Ifc4x3::IfcUnitaryControlElement } Ifc4x3::IfcUnitaryControlElementTypeEnum::operator Ifc4x3::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x3::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1250]); } -const IfcParse::enumeration_type& Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1250]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1250]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1250]); } /* -Ifc4x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6735,23 +6735,23 @@ Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3::IfcUnitaryEquipmentTypeEnum:: } Ifc4x3::IfcUnitaryEquipmentTypeEnum::operator Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1258]); } -const IfcParse::enumeration_type& Ifc4x3::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1258]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1258]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1258]); } /* -Ifc4x3::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6764,23 +6764,23 @@ Ifc4x3::IfcValveTypeEnum::Value Ifc4x3::IfcValveTypeEnum::FromString(const std:: } Ifc4x3::IfcValveTypeEnum::operator Ifc4x3::IfcValveTypeEnum::Value() const { - return (Ifc4x3::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcVehicleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1264]); } -const IfcParse::enumeration_type& Ifc4x3::IfcVehicleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1264]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcVehicleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1264]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcVehicleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1264]); } /* -Ifc4x3::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcVehicleTypeEnum::IfcVehicleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6793,23 +6793,23 @@ Ifc4x3::IfcVehicleTypeEnum::Value Ifc4x3::IfcVehicleTypeEnum::FromString(const s } Ifc4x3::IfcVehicleTypeEnum::operator Ifc4x3::IfcVehicleTypeEnum::Value() const { - return (Ifc4x3::IfcVehicleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcVehicleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcVibrationDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1270]); } -const IfcParse::enumeration_type& Ifc4x3::IfcVibrationDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1270]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1270]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1270]); } /* -Ifc4x3::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6822,23 +6822,23 @@ Ifc4x3::IfcVibrationDamperTypeEnum::Value Ifc4x3::IfcVibrationDamperTypeEnum::Fr } Ifc4x3::IfcVibrationDamperTypeEnum::operator Ifc4x3::IfcVibrationDamperTypeEnum::Value() const { - return (Ifc4x3::IfcVibrationDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1273]); } -const IfcParse::enumeration_type& Ifc4x3::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1273]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1273]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1273]); } /* -Ifc4x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6851,23 +6851,23 @@ Ifc4x3::IfcVibrationIsolatorTypeEnum::Value Ifc4x3::IfcVibrationIsolatorTypeEnum } Ifc4x3::IfcVibrationIsolatorTypeEnum::operator Ifc4x3::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x3::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcVirtualElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1275]); } -const IfcParse::enumeration_type& Ifc4x3::IfcVirtualElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1275]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcVirtualElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1275]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcVirtualElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1275]); } /* -Ifc4x3::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6880,23 +6880,23 @@ Ifc4x3::IfcVirtualElementTypeEnum::Value Ifc4x3::IfcVirtualElementTypeEnum::From } Ifc4x3::IfcVirtualElementTypeEnum::operator Ifc4x3::IfcVirtualElementTypeEnum::Value() const { - return (Ifc4x3::IfcVirtualElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcVirtualElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1278]); } -const IfcParse::enumeration_type& Ifc4x3::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1278]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1278]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1278]); } /* -Ifc4x3::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6909,23 +6909,23 @@ Ifc4x3::IfcVoidingFeatureTypeEnum::Value Ifc4x3::IfcVoidingFeatureTypeEnum::From } Ifc4x3::IfcVoidingFeatureTypeEnum::operator Ifc4x3::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x3::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1284]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1284]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1284]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1284]); } /* -Ifc4x3::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6938,23 +6938,23 @@ Ifc4x3::IfcWallTypeEnum::Value Ifc4x3::IfcWallTypeEnum::FromString(const std::st } Ifc4x3::IfcWallTypeEnum::operator Ifc4x3::IfcWallTypeEnum::Value() const { - return (Ifc4x3::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1290]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1290]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1290]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1290]); } /* -Ifc4x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6967,23 +6967,23 @@ Ifc4x3::IfcWasteTerminalTypeEnum::Value Ifc4x3::IfcWasteTerminalTypeEnum::FromSt } Ifc4x3::IfcWasteTerminalTypeEnum::operator Ifc4x3::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x3::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1293]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1293]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1293]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1293]); } /* -Ifc4x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6996,23 +6996,23 @@ Ifc4x3::IfcWindowPanelOperationEnum::Value Ifc4x3::IfcWindowPanelOperationEnum:: } Ifc4x3::IfcWindowPanelOperationEnum::operator Ifc4x3::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x3::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1294]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1294]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1294]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1294]); } /* -Ifc4x3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7025,23 +7025,23 @@ Ifc4x3::IfcWindowPanelPositionEnum::Value Ifc4x3::IfcWindowPanelPositionEnum::Fr } Ifc4x3::IfcWindowPanelPositionEnum::operator Ifc4x3::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x3::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWindowStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1296]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWindowStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1296]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1296]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1296]); } /* -Ifc4x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7054,23 +7054,23 @@ Ifc4x3::IfcWindowStyleConstructionEnum::Value Ifc4x3::IfcWindowStyleConstruction } Ifc4x3::IfcWindowStyleConstructionEnum::operator Ifc4x3::IfcWindowStyleConstructionEnum::Value() const { - return (Ifc4x3::IfcWindowStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWindowStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWindowStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1297]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWindowStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1297]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1297]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1297]); } /* -Ifc4x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7083,23 +7083,23 @@ Ifc4x3::IfcWindowStyleOperationEnum::Value Ifc4x3::IfcWindowStyleOperationEnum:: } Ifc4x3::IfcWindowStyleOperationEnum::operator Ifc4x3::IfcWindowStyleOperationEnum::Value() const { - return (Ifc4x3::IfcWindowStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWindowStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1299]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1299]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1299]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1299]); } /* -Ifc4x3::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7112,23 +7112,23 @@ Ifc4x3::IfcWindowTypeEnum::Value Ifc4x3::IfcWindowTypeEnum::FromString(const std } Ifc4x3::IfcWindowTypeEnum::operator Ifc4x3::IfcWindowTypeEnum::Value() const { - return (Ifc4x3::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1300]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1300]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1300]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1300]); } /* -Ifc4x3::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x3::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7141,23 +7141,23 @@ Ifc4x3::IfcWindowTypePartitioningEnum::Value Ifc4x3::IfcWindowTypePartitioningEn } Ifc4x3::IfcWindowTypePartitioningEnum::operator Ifc4x3::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x3::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1302]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1302]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1302]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1302]); } /* -Ifc4x3::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7170,23 +7170,23 @@ Ifc4x3::IfcWorkCalendarTypeEnum::Value Ifc4x3::IfcWorkCalendarTypeEnum::FromStri } Ifc4x3::IfcWorkCalendarTypeEnum::operator Ifc4x3::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x3::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1305]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1305]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1305]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1305]); } /* -Ifc4x3::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7199,23 +7199,23 @@ Ifc4x3::IfcWorkPlanTypeEnum::Value Ifc4x3::IfcWorkPlanTypeEnum::FromString(const } Ifc4x3::IfcWorkPlanTypeEnum::operator Ifc4x3::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x3::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_types[1307]); } -const IfcParse::enumeration_type& Ifc4x3::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_types[1307]); } +// const ifcopenshell::enumeration_type& Ifc4x3::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1307]); } +const ifcopenshell::enumeration_type& Ifc4x3::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_types[1307]); } /* -Ifc4x3::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7228,851 +7228,851 @@ Ifc4x3::IfcWorkScheduleTypeEnum::Value Ifc4x3::IfcWorkScheduleTypeEnum::FromStri } Ifc4x3::IfcWorkScheduleTypeEnum::operator Ifc4x3::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x3::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x3::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[8]); } +const ifcopenshell::select_type& Ifc4x3::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[8]); } -const IfcParse::select_type& Ifc4x3::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[51]); } +const ifcopenshell::select_type& Ifc4x3::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[51]); } -const IfcParse::select_type& Ifc4x3::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X3_types[68]); } +const ifcopenshell::select_type& Ifc4x3::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[68]); } -const IfcParse::select_type& Ifc4x3::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[80]); } +const ifcopenshell::select_type& Ifc4x3::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[80]); } -const IfcParse::select_type& Ifc4x3::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X3_types[89]); } +const ifcopenshell::select_type& Ifc4x3::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[89]); } -const IfcParse::select_type& Ifc4x3::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[171]); } +const ifcopenshell::select_type& Ifc4x3::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[171]); } -const IfcParse::select_type& Ifc4x3::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[172]); } +const ifcopenshell::select_type& Ifc4x3::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[172]); } -const IfcParse::select_type& Ifc4x3::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X3_types[178]); } +const ifcopenshell::select_type& Ifc4x3::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[178]); } -const IfcParse::select_type& Ifc4x3::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X3_types[179]); } +const ifcopenshell::select_type& Ifc4x3::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[179]); } -const IfcParse::select_type& Ifc4x3::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[246]); } +const ifcopenshell::select_type& Ifc4x3::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[246]); } -const IfcParse::select_type& Ifc4x3::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[264]); } +const ifcopenshell::select_type& Ifc4x3::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[264]); } -const IfcParse::select_type& Ifc4x3::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[275]); } +const ifcopenshell::select_type& Ifc4x3::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[275]); } -const IfcParse::select_type& Ifc4x3::IfcCurveMeasureSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[277]); } +const ifcopenshell::select_type& Ifc4x3::IfcCurveMeasureSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[277]); } -const IfcParse::select_type& Ifc4x3::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X3_types[278]); } +const ifcopenshell::select_type& Ifc4x3::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[278]); } -const IfcParse::select_type& Ifc4x3::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X3_types[279]); } +const ifcopenshell::select_type& Ifc4x3::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[279]); } -const IfcParse::select_type& Ifc4x3::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[285]); } +const ifcopenshell::select_type& Ifc4x3::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[285]); } -const IfcParse::select_type& Ifc4x3::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[297]); } +const ifcopenshell::select_type& Ifc4x3::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[297]); } -const IfcParse::select_type& Ifc4x3::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_types[298]); } +const ifcopenshell::select_type& Ifc4x3::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[298]); } -const IfcParse::select_type& Ifc4x3::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[334]); } +const ifcopenshell::select_type& Ifc4x3::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[334]); } -const IfcParse::select_type& Ifc4x3::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[461]); } +const ifcopenshell::select_type& Ifc4x3::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[461]); } -const IfcParse::select_type& Ifc4x3::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[512]); } +const ifcopenshell::select_type& Ifc4x3::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[512]); } -const IfcParse::select_type& Ifc4x3::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[525]); } +const ifcopenshell::select_type& Ifc4x3::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[525]); } -const IfcParse::select_type& Ifc4x3::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[529]); } +const ifcopenshell::select_type& Ifc4x3::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[529]); } -const IfcParse::select_type& Ifc4x3::IfcInterferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[557]); } +const ifcopenshell::select_type& Ifc4x3::IfcInterferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[557]); } -const IfcParse::select_type& Ifc4x3::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X3_types[583]); } +const ifcopenshell::select_type& Ifc4x3::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[583]); } -const IfcParse::select_type& Ifc4x3::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[588]); } +const ifcopenshell::select_type& Ifc4x3::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[588]); } -const IfcParse::select_type& Ifc4x3::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[591]); } +const ifcopenshell::select_type& Ifc4x3::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[591]); } -const IfcParse::select_type& Ifc4x3::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[655]); } +const ifcopenshell::select_type& Ifc4x3::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[655]); } -const IfcParse::select_type& Ifc4x3::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_types[657]); } +const ifcopenshell::select_type& Ifc4x3::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[657]); } -const IfcParse::select_type& Ifc4x3::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[669]); } +const ifcopenshell::select_type& Ifc4x3::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[669]); } -const IfcParse::select_type& Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[677]); } +const ifcopenshell::select_type& Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[677]); } -const IfcParse::select_type& Ifc4x3::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[679]); } +const ifcopenshell::select_type& Ifc4x3::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[679]); } -const IfcParse::select_type& Ifc4x3::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[680]); } +const ifcopenshell::select_type& Ifc4x3::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[680]); } -const IfcParse::select_type& Ifc4x3::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[705]); } +const ifcopenshell::select_type& Ifc4x3::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[705]); } -const IfcParse::select_type& Ifc4x3::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X3_types[769]); } +const ifcopenshell::select_type& Ifc4x3::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[769]); } -const IfcParse::select_type& Ifc4x3::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[800]); } +const ifcopenshell::select_type& Ifc4x3::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[800]); } -const IfcParse::select_type& Ifc4x3::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[804]); } +const ifcopenshell::select_type& Ifc4x3::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[804]); } -const IfcParse::select_type& Ifc4x3::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[805]); } +const ifcopenshell::select_type& Ifc4x3::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[805]); } -const IfcParse::select_type& Ifc4x3::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[828]); } +const ifcopenshell::select_type& Ifc4x3::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[828]); } -const IfcParse::select_type& Ifc4x3::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[959]); } +const ifcopenshell::select_type& Ifc4x3::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[959]); } -const IfcParse::select_type& Ifc4x3::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[960]); } +const ifcopenshell::select_type& Ifc4x3::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[960]); } -const IfcParse::select_type& Ifc4x3::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[978]); } +const ifcopenshell::select_type& Ifc4x3::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[978]); } -const IfcParse::select_type& Ifc4x3::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[997]); } +const ifcopenshell::select_type& Ifc4x3::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[997]); } -const IfcParse::select_type& Ifc4x3::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X3_types[1010]); } +const ifcopenshell::select_type& Ifc4x3::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1010]); } -const IfcParse::select_type& Ifc4x3::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X3_types[1021]); } +const ifcopenshell::select_type& Ifc4x3::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1021]); } -const IfcParse::select_type& Ifc4x3::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1027]); } +const ifcopenshell::select_type& Ifc4x3::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1027]); } -const IfcParse::select_type& Ifc4x3::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X3_types[1037]); } +const ifcopenshell::select_type& Ifc4x3::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1037]); } -const IfcParse::select_type& Ifc4x3::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1043]); } +const ifcopenshell::select_type& Ifc4x3::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1043]); } -const IfcParse::select_type& Ifc4x3::IfcSpatialReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1051]); } +const ifcopenshell::select_type& Ifc4x3::IfcSpatialReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1051]); } -const IfcParse::select_type& Ifc4x3::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1059]); } +const ifcopenshell::select_type& Ifc4x3::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1059]); } -const IfcParse::select_type& Ifc4x3::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1076]); } +const ifcopenshell::select_type& Ifc4x3::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1076]); } -const IfcParse::select_type& Ifc4x3::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X3_types[1130]); } +const ifcopenshell::select_type& Ifc4x3::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1130]); } -const IfcParse::select_type& Ifc4x3::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1134]); } +const ifcopenshell::select_type& Ifc4x3::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1134]); } -const IfcParse::select_type& Ifc4x3::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1182]); } +const ifcopenshell::select_type& Ifc4x3::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1182]); } -const IfcParse::select_type& Ifc4x3::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1207]); } +const ifcopenshell::select_type& Ifc4x3::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1207]); } -const IfcParse::select_type& Ifc4x3::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1224]); } +const ifcopenshell::select_type& Ifc4x3::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1224]); } -const IfcParse::select_type& Ifc4x3::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1235]); } +const ifcopenshell::select_type& Ifc4x3::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1235]); } -const IfcParse::select_type& Ifc4x3::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X3_types[1244]); } +const ifcopenshell::select_type& Ifc4x3::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1244]); } -const IfcParse::select_type& Ifc4x3::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X3_types[1255]); } +const ifcopenshell::select_type& Ifc4x3::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1255]); } -const IfcParse::select_type& Ifc4x3::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X3_types[1261]); } +const ifcopenshell::select_type& Ifc4x3::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1261]); } -const IfcParse::select_type& Ifc4x3::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_types[1287]); } +const ifcopenshell::select_type& Ifc4x3::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_types[1287]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x3::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[0]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[0]); } void Ifc4x3::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x3::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1]); } void Ifc4x3::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[42]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[42]); } void Ifc4x3::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[45]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[45]); } void Ifc4x3::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x3::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[57]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[57]); } void Ifc4x3::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x3::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[58]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[58]); } void Ifc4x3::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x3::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[59]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[59]); } void Ifc4x3::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x3::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[81]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[81]); } void Ifc4x3::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x3::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x3::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[87]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[87]); } void Ifc4x3::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x3::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[102]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[102]); } void Ifc4x3::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x3::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[146]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[146]); } void Ifc4x3::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x3::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[189]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[189]); } void Ifc4x3::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x3::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[197]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[197]); } void Ifc4x3::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x3::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x3::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[227]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[227]); } void Ifc4x3::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x3::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[253]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[253]); } void Ifc4x3::IfcCountMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcCountMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x3::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[271]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[271]); } void Ifc4x3::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x3::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[291]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[291]); } void Ifc4x3::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x3::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[292]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[292]); } void Ifc4x3::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x3::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[293]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[293]); } void Ifc4x3::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x3::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[294]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[294]); } void Ifc4x3::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x3::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[303]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[303]); } void Ifc4x3::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x3::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[305]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[305]); } void Ifc4x3::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x3::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[346]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[346]); } void Ifc4x3::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x3::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[358]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[358]); } void Ifc4x3::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[359]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[359]); } void Ifc4x3::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[371]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[371]); } void Ifc4x3::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x3::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[372]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[372]); } void Ifc4x3::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[373]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[373]); } void Ifc4x3::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x3::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[374]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[374]); } void Ifc4x3::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[390]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[390]); } void Ifc4x3::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x3::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[394]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[394]); } void Ifc4x3::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x3::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[409]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[409]); } void Ifc4x3::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x3::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[490]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[490]); } void Ifc4x3::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x3::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[491]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[491]); } void Ifc4x3::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x3::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[492]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[492]); } void Ifc4x3::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[496]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[496]); } void Ifc4x3::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[497]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[497]); } void Ifc4x3::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x3::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[519]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[519]); } void Ifc4x3::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[533]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[533]); } void Ifc4x3::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x3::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[534]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[534]); } void Ifc4x3::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x3::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[538]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[538]); } void Ifc4x3::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[539]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[539]); } void Ifc4x3::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[551]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[551]); } void Ifc4x3::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x3::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[552]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[552]); } void Ifc4x3::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x3::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[553]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[553]); } void Ifc4x3::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x3::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[562]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[562]); } void Ifc4x3::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[566]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[566]); } void Ifc4x3::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[572]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[572]); } void Ifc4x3::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x3::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[574]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[574]); } void Ifc4x3::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x3::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[582]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[582]); } void Ifc4x3::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x3::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[585]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[585]); } void Ifc4x3::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x3::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[611]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[611]); } void Ifc4x3::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[605]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[605]); } void Ifc4x3::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x3::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[606]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[606]); } void Ifc4x3::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[609]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[609]); } void Ifc4x3::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[610]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[610]); } void Ifc4x3::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x3::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[617]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[617]); } void Ifc4x3::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x3::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[621]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[621]); } void Ifc4x3::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x3::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[622]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[622]); } void Ifc4x3::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[623]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[623]); } void Ifc4x3::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[624]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[624]); } void Ifc4x3::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[625]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[625]); } void Ifc4x3::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[633]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[633]); } void Ifc4x3::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[634]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[634]); } void Ifc4x3::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[635]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[635]); } void Ifc4x3::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[636]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[636]); } void Ifc4x3::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[674]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[674]); } void Ifc4x3::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[675]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[675]); } void Ifc4x3::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[676]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[676]); } void Ifc4x3::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[678]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[678]); } void Ifc4x3::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[681]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[681]); } void Ifc4x3::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[682]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[682]); } void Ifc4x3::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[683]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[683]); } void Ifc4x3::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x3::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[684]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[684]); } void Ifc4x3::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x3::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[686]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[686]); } void Ifc4x3::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x3::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[697]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[697]); } void Ifc4x3::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x3::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[698]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[698]); } void Ifc4x3::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x3::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[699]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[699]); } void Ifc4x3::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x3::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[740]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[740]); } void Ifc4x3::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x3::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[726]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[726]); } void Ifc4x3::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[759]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[759]); } void Ifc4x3::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[761]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[761]); } void Ifc4x3::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x3::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[777]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[777]); } void Ifc4x3::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x3::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[778]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[778]); } void Ifc4x3::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[779]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[779]); } void Ifc4x3::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x3::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[780]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[780]); } void Ifc4x3::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x3::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[782]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[782]); } void Ifc4x3::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x3::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[790]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[790]); } void Ifc4x3::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x3::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[795]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[795]); } void Ifc4x3::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x3::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[829]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[829]); } void Ifc4x3::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x3::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x3::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x3::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[853]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[853]); } void Ifc4x3::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x3::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[870]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[870]); } void Ifc4x3::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x3::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[873]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[873]); } void Ifc4x3::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[975]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[975]); } void Ifc4x3::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x3::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[976]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[976]); } void Ifc4x3::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[977]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[977]); } void Ifc4x3::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x3::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[991]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[991]); } void Ifc4x3::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x3::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[986]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[986]); } void Ifc4x3::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x3::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1009]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1009]); } void Ifc4x3::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x3::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1035]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1035]); } void Ifc4x3::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x3::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1038]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1038]); } void Ifc4x3::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x3::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1039]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1039]); } void Ifc4x3::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x3::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1040]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1040]); } void Ifc4x3::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x3::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1041]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1041]); } void Ifc4x3::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1057]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1057]); } void Ifc4x3::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x3::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1058]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1058]); } void Ifc4x3::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x3::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1060]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1060]); } void Ifc4x3::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x3::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1165]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1165]); } void Ifc4x3::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x3::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1166]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1166]); } void Ifc4x3::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x3::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1178]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1178]); } void Ifc4x3::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x3::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1179]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1179]); } void Ifc4x3::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x3::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1180]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1180]); } void Ifc4x3::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x3::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1181]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1181]); } void Ifc4x3::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x3::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1190]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1190]); } void Ifc4x3::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1198]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1198]); } void Ifc4x3::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1199]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1199]); } void Ifc4x3::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x3::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1200]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1200]); } void Ifc4x3::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1201]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1201]); } void Ifc4x3::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x3::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1202]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1202]); } void Ifc4x3::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x3::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1203]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1203]); } void Ifc4x3::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x3::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1205]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1205]); } void Ifc4x3::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x3::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1206]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1206]); } void Ifc4x3::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x3::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1212]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1212]); } void Ifc4x3::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x3::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1216]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1216]); } void Ifc4x3::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x3::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1253]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1253]); } void Ifc4x3::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x3::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1259]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1259]); } void Ifc4x3::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x3::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1279]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1279]); } void Ifc4x3::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1280]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1280]); } void Ifc4x3::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x3::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1285]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1285]); } void Ifc4x3::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x3::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_types[1286]); } +const ifcopenshell::type_declaration& Ifc4x3::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_types[1286]); } void Ifc4x3::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x3::IfcActionRequestTypeEnum::Value > Ifc4x3::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X3_types[2]); } -void Ifc4x3::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X3_types[2]); } +void Ifc4x3::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4x3::IfcActorSelect Ifc4x3::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3::IfcActorSelect>(); } void Ifc4x3::IfcActor::setTheActor(const ::Ifc4x3::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3::IfcRelAssignsToActor> Ifc4x3::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[902], 6)); } +std::vector<::Ifc4x3::IfcRelAssignsToActor> Ifc4x3::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[902], 6)); } -const IfcParse::entity& Ifc4x3::IfcActor::Class() { return *((IfcParse::entity*)IFC4X3_types[6]); } +const ifcopenshell::entity& Ifc4x3::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X3_types[6]); } void Ifc4x3::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x3::IfcRoleEnum::Value Ifc4x3::IfcActorRole::Role() const { return ::Ifc4x3::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x3::IfcActorRole::setRole(const ::Ifc4x3::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3::IfcActorRole::setRole(const ::Ifc4x3::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } -const IfcParse::entity& Ifc4x3::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X3_types[7]); } -void Ifc4x3::IfcActorRole::initialize(::Ifc4x3::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4x3::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X3_types[7]); } +void Ifc4x3::IfcActorRole::initialize(::Ifc4x3::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x3::IfcActuatorTypeEnum::Value > Ifc4x3::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X3_types[9]); } -void Ifc4x3::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X3_types[9]); } +void Ifc4x3::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x3::IfcActuatorTypeEnum::Value Ifc4x3::IfcActuatorType::PredefinedType() const { return ::Ifc4x3::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcActuatorType::setPredefinedType(const ::Ifc4x3::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcActuatorType::setPredefinedType(const ::Ifc4x3::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X3_types[10]); } -void Ifc4x3::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[10]); } +void Ifc4x3::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > Ifc4x3::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3::IfcAddress::setPurpose(const std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x3::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x3::IfcAddress::setPurpose(const std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x3::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x3::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3::IfcPerson> Ifc4x3::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[738], 7)); } -std::vector<::Ifc4x3::IfcOrganization> Ifc4x3::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[717], 4)); } +std::vector<::Ifc4x3::IfcPerson> Ifc4x3::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[738], 7)); } +std::vector<::Ifc4x3::IfcOrganization> Ifc4x3::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[717], 4)); } -const IfcParse::entity& Ifc4x3::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X3_types[12]); } -void Ifc4x3::IfcAddress::initialize(std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4x3::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_types[12]); } +void Ifc4x3::IfcAddress::initialize(std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x3::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X3_types[14]); } +const ifcopenshell::entity& Ifc4x3::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_types[14]); } void Ifc4x3::IfcAdvancedBrep::initialize(::Ifc4x3::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -8080,93 +8080,93 @@ std::vector< ::Ifc4x3::IfcClosedShell > Ifc4x3::IfcAdvancedBrepWithVoids::Voids( void Ifc4x3::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_types[15]); } +const ifcopenshell::entity& Ifc4x3::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_types[15]); } void Ifc4x3::IfcAdvancedBrepWithVoids::initialize(::Ifc4x3::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x3::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X3_types[16]); } +const ifcopenshell::entity& Ifc4x3::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X3_types[16]); } void Ifc4x3::IfcAdvancedFace::initialize(std::vector< ::Ifc4x3::IfcFaceBound > v1_Bounds, ::Ifc4x3::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x3::IfcAirTerminalTypeEnum::Value > Ifc4x3::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X3_types[17]); } -void Ifc4x3::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[17]); } +void Ifc4x3::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X3_types[18]); } -void Ifc4x3::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X3_types[18]); } +void Ifc4x3::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value Ifc4x3::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X3_types[19]); } -void Ifc4x3::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[19]); } +void Ifc4x3::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x3::IfcAirTerminalTypeEnum::Value Ifc4x3::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_types[21]); } -void Ifc4x3::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[21]); } +void Ifc4x3::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X3_types[23]); } -void Ifc4x3::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X3_types[23]); } +void Ifc4x3::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X3_types[24]); } -void Ifc4x3::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[24]); } +void Ifc4x3::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x3::IfcAlarmTypeEnum::Value > Ifc4x3::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X3_types[26]); } -void Ifc4x3::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X3_types[26]); } +void Ifc4x3::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x3::IfcAlarmTypeEnum::Value Ifc4x3::IfcAlarmType::PredefinedType() const { return ::Ifc4x3::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcAlarmType::setPredefinedType(const ::Ifc4x3::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcAlarmType::setPredefinedType(const ::Ifc4x3::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X3_types[27]); } -void Ifc4x3::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[27]); } +void Ifc4x3::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x3::IfcAlignmentTypeEnum::Value > Ifc4x3::IfcAlignment::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcAlignmentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X3_types[29]); } -void Ifc4x3::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[29]); } +void Ifc4x3::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAlignmentCant double Ifc4x3::IfcAlignmentCant::RailHeadDistance() const { double v = get_attribute_value(7); return v; } void Ifc4x3::IfcAlignmentCant::setRailHeadDistance(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3::IfcAlignmentCant::Class() { return *((IfcParse::entity*)IFC4X3_types[30]); } +const ifcopenshell::entity& Ifc4x3::IfcAlignmentCant::Class() { return *((ifcopenshell::entity*)IFC4X3_types[30]); } void Ifc4x3::IfcAlignmentCant::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_RailHeadDistance)); } // Function implementations for IfcAlignmentCantSegment @@ -8183,16 +8183,16 @@ void Ifc4x3::IfcAlignmentCantSegment::setStartCantRight(const double& v) { set_a std::optional< double > Ifc4x3::IfcAlignmentCantSegment::EndCantRight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3::IfcAlignmentCantSegment::setEndCantRight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3::IfcAlignmentCantSegment::PredefinedType() const { return ::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcAlignmentCantSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[31]); } -void Ifc4x3::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcAlignmentCantSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[31]); } +void Ifc4x3::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentHorizontal -const IfcParse::entity& Ifc4x3::IfcAlignmentHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_types[33]); } +const ifcopenshell::entity& Ifc4x3::IfcAlignmentHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[33]); } void Ifc4x3::IfcAlignmentHorizontal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentHorizontalSegment @@ -8209,11 +8209,11 @@ void Ifc4x3::IfcAlignmentHorizontalSegment::setSegmentLength(const double& v) { std::optional< double > Ifc4x3::IfcAlignmentHorizontalSegment::GravityCenterLineHeight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3::IfcAlignmentHorizontalSegment::setGravityCenterLineHeight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3::IfcAlignmentHorizontalSegment::PredefinedType() const { return ::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcAlignmentHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[34]); } -void Ifc4x3::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcAlignmentHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[34]); } +void Ifc4x3::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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, (enumeration_reference(&::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentParameterSegment std::optional< std::string > Ifc4x3::IfcAlignmentParameterSegment::StartTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8222,7 +8222,7 @@ std::optional< std::string > Ifc4x3::IfcAlignmentParameterSegment::EndTag() cons void Ifc4x3::IfcAlignmentParameterSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3::IfcAlignmentParameterSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[36]); } +const ifcopenshell::entity& Ifc4x3::IfcAlignmentParameterSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[36]); } void Ifc4x3::IfcAlignmentParameterSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); } } // Function implementations for IfcAlignmentSegment @@ -8230,13 +8230,13 @@ void Ifc4x3::IfcAlignmentParameterSegment::initialize(std::optional< std::string void Ifc4x3::IfcAlignmentSegment::setDesignParameters(const ::Ifc4x3::IfcAlignmentParameterSegment& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3::IfcAlignmentSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[37]); } +const ifcopenshell::entity& Ifc4x3::IfcAlignmentSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[37]); } void Ifc4x3::IfcAlignmentSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcAlignmentParameterSegment v8_DesignParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_DesignParameters)); } // Function implementations for IfcAlignmentVertical -const IfcParse::entity& Ifc4x3::IfcAlignmentVertical::Class() { return *((IfcParse::entity*)IFC4X3_types[39]); } +const ifcopenshell::entity& Ifc4x3::IfcAlignmentVertical::Class() { return *((ifcopenshell::entity*)IFC4X3_types[39]); } void Ifc4x3::IfcAlignmentVertical::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentVerticalSegment @@ -8253,20 +8253,20 @@ void Ifc4x3::IfcAlignmentVerticalSegment::setEndGradient(const double& v) { set_ std::optional< double > Ifc4x3::IfcAlignmentVerticalSegment::RadiusOfCurvature() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3::IfcAlignmentVerticalSegment::setRadiusOfCurvature(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3::IfcAlignmentVerticalSegment::PredefinedType() const { return ::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcAlignmentVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[40]); } -void Ifc4x3::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcAlignmentVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[40]); } +void Ifc4x3::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAnnotation std::optional< ::Ifc4x3::IfcAnnotationTypeEnum::Value > Ifc4x3::IfcAnnotation::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcAnnotationTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3::IfcRelContainedInSpatialStructure> Ifc4x3::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[927], 4)); } +std::vector<::Ifc4x3::IfcRelContainedInSpatialStructure> Ifc4x3::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[927], 4)); } -const IfcParse::entity& Ifc4x3::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X3_types[46]); } -void Ifc4x3::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[46]); } +void Ifc4x3::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAnnotationFillArea ::Ifc4x3::IfcCurve Ifc4x3::IfcAnnotationFillArea::OuterBoundary() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcCurve>(); } @@ -8275,7 +8275,7 @@ std::optional< std::vector< ::Ifc4x3::IfcCurve > > Ifc4x3::IfcAnnotationFillArea void Ifc4x3::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X3_types[47]); } +const ifcopenshell::entity& Ifc4x3::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X3_types[47]); } void Ifc4x3::IfcAnnotationFillArea::initialize(::Ifc4x3::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -8289,7 +8289,7 @@ std::string Ifc4x3::IfcApplication::ApplicationIdentifier() const { std::string void Ifc4x3::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X3_types[49]); } +const ifcopenshell::entity& Ifc4x3::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X3_types[49]); } void Ifc4x3::IfcApplication::initialize(::Ifc4x3::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -8310,14 +8310,14 @@ void Ifc4x3::IfcAppliedValue::setCategory(const std::optional< std::string >& v) std::optional< std::string > Ifc4x3::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3::IfcArithmeticOperatorEnum::Value > Ifc4x3::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > Ifc4x3::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3::IfcAppliedValue>(es); } void Ifc4x3::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } -const IfcParse::entity& Ifc4x3::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X3_types[50]); } -void Ifc4x3::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[50]); } +void Ifc4x3::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x3::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8339,13 +8339,13 @@ void Ifc4x3::IfcApproval::setRequestingApproval(const ::Ifc4x3::IfcActorSelect& ::Ifc4x3::IfcActorSelect Ifc4x3::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3::IfcActorSelect>(); } void Ifc4x3::IfcApproval::setGivingApproval(const ::Ifc4x3::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } -std::vector<::Ifc4x3::IfcRelAssociatesApproval> Ifc4x3::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[910], 5)); } -std::vector<::Ifc4x3::IfcResourceApprovalRelationship> Ifc4x3::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[956], 3)); } -std::vector<::Ifc4x3::IfcApprovalRelationship> Ifc4x3::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[53], 3)); } -std::vector<::Ifc4x3::IfcApprovalRelationship> Ifc4x3::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[53], 2)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcRelAssociatesApproval> Ifc4x3::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[910], 5)); } +std::vector<::Ifc4x3::IfcResourceApprovalRelationship> Ifc4x3::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[956], 3)); } +std::vector<::Ifc4x3::IfcApprovalRelationship> Ifc4x3::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[53], 3)); } +std::vector<::Ifc4x3::IfcApprovalRelationship> Ifc4x3::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[53], 2)); } -const IfcParse::entity& Ifc4x3::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X3_types[52]); } +const ifcopenshell::entity& Ifc4x3::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_types[52]); } void Ifc4x3::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3::IfcActorSelect v8_RequestingApproval, ::Ifc4x3::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -8355,7 +8355,7 @@ std::vector< ::Ifc4x3::IfcApproval > Ifc4x3::IfcApprovalRelationship::RelatedApp void Ifc4x3::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x3::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[53]); } +const ifcopenshell::entity& Ifc4x3::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[53]); } void Ifc4x3::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -8363,24 +8363,24 @@ void Ifc4x3::IfcApprovalRelationship::initialize(std::optional< std::string > v1 void Ifc4x3::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x3::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[54]); } -void Ifc4x3::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4x3::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[54]); } +void Ifc4x3::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x3::IfcBoundedCurve Ifc4x3::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcBoundedCurve>(); } void Ifc4x3::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x3::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[55]); } -void Ifc4x3::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4x3::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[55]); } +void Ifc4x3::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x3::IfcCurve > Ifc4x3::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3::IfcCurve>(es); } void Ifc4x3::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x3::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_types[56]); } -void Ifc4x3::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x3::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_types[56]); } +void Ifc4x3::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x3::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -8403,7 +8403,7 @@ void Ifc4x3::IfcAsset::setIncorporationDate(const std::optional< std::string >& void Ifc4x3::IfcAsset::setDepreciatedValue(const ::Ifc4x3::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X3_types[62]); } +const ifcopenshell::entity& Ifc4x3::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X3_types[62]); } void Ifc4x3::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3::IfcCostValue v7_OriginalValue, ::Ifc4x3::IfcCostValue v8_CurrentValue, ::Ifc4x3::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3::IfcActorSelect v10_Owner, ::Ifc4x3::IfcActorSelect v11_User, ::Ifc4x3::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -8433,31 +8433,31 @@ std::optional< double > Ifc4x3::IfcAsymmetricIShapeProfileDef::TopFlangeSlope() void Ifc4x3::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x3::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[63]); } -void Ifc4x3::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[63]); } +void Ifc4x3::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X3_types[64]); } -void Ifc4x3::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_types[64]); } +void Ifc4x3::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_types[65]); } -void Ifc4x3::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[65]); } +void Ifc4x3::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x3::IfcDirection Ifc4x3::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcDirection>(); } void Ifc4x3::IfcAxis1Placement::setAxis(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X3_types[67]); } +const ifcopenshell::entity& Ifc4x3::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[67]); } void Ifc4x3::IfcAxis1Placement::initialize(::Ifc4x3::IfcPoint v1_Location, ::Ifc4x3::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -8465,7 +8465,7 @@ void Ifc4x3::IfcAxis1Placement::initialize(::Ifc4x3::IfcPoint v1_Location, ::Ifc void Ifc4x3::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X3_types[69]); } +const ifcopenshell::entity& Ifc4x3::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X3_types[69]); } void Ifc4x3::IfcAxis2Placement2D::initialize(::Ifc4x3::IfcPoint v1_Location, ::Ifc4x3::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -8475,7 +8475,7 @@ void Ifc4x3::IfcAxis2Placement3D::setAxis(const ::Ifc4x3::IfcDirection& v) { set void Ifc4x3::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X3_types[70]); } +const ifcopenshell::entity& Ifc4x3::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X3_types[70]); } void Ifc4x3::IfcAxis2Placement3D::initialize(::Ifc4x3::IfcPoint v1_Location, ::Ifc4x3::IfcDirection v2_Axis, ::Ifc4x3::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcAxis2PlacementLinear @@ -8485,7 +8485,7 @@ void Ifc4x3::IfcAxis2PlacementLinear::setAxis(const ::Ifc4x3::IfcDirection& v) { void Ifc4x3::IfcAxis2PlacementLinear::setRefDirection(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcAxis2PlacementLinear::Class() { return *((IfcParse::entity*)IFC4X3_types[71]); } +const ifcopenshell::entity& Ifc4x3::IfcAxis2PlacementLinear::Class() { return *((ifcopenshell::entity*)IFC4X3_types[71]); } void Ifc4x3::IfcAxis2PlacementLinear::initialize(::Ifc4x3::IfcPoint v1_Location, ::Ifc4x3::IfcDirection v2_Axis, ::Ifc4x3::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -8494,15 +8494,15 @@ void Ifc4x3::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value(0, v std::vector< ::Ifc4x3::IfcCartesianPoint > Ifc4x3::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3::IfcCartesianPoint>(es); } void Ifc4x3::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x3::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3::IfcBSplineCurveForm::Value Ifc4x3::IfcBSplineCurve::CurveForm() const { return ::Ifc4x3::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x3::IfcBSplineCurve::setCurveForm(const ::Ifc4x3::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3::IfcBSplineCurve::setCurveForm(const ::Ifc4x3::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x3::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x3::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[108]); } -void Ifc4x3::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[108]); } +void Ifc4x3::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x3::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -8510,11 +8510,11 @@ void Ifc4x3::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vector< std::vector< double > /*[2:?]*/ Ifc4x3::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3::IfcKnotType::Value Ifc4x3::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x3::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_types[110]); } -void Ifc4x3::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3::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::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_types[110]); } +void Ifc4x3::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3::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, (enumeration_reference(&::Ifc4x3::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x3::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -8524,7 +8524,7 @@ void Ifc4x3::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_value(1 std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > Ifc4x3::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x3::IfcCartesianPoint>(es); } void Ifc4x3::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x3::IfcBSplineSurfaceForm::Value Ifc4x3::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x3::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x3::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x3::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -8533,8 +8533,8 @@ boost::logic::tribool Ifc4x3::IfcBSplineSurface::SelfIntersect() const { boost: void Ifc4x3::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[111]); } -void Ifc4x3::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[111]); } +void Ifc4x3::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x3::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -8546,43 +8546,43 @@ void Ifc4x3::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double > / std::vector< double > /*[2:?]*/ Ifc4x3::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x3::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x3::IfcKnotType::Value Ifc4x3::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x3::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_types[113]); } -void Ifc4x3::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3::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::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_types[113]); } +void Ifc4x3::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3::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, (enumeration_reference(&::Ifc4x3::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x3::IfcBeamTypeEnum::Value > Ifc4x3::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X3_types[72]); } -void Ifc4x3::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_types[72]); } +void Ifc4x3::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x3::IfcBeamTypeEnum::Value Ifc4x3::IfcBeamType::PredefinedType() const { return ::Ifc4x3::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcBeamType::setPredefinedType(const ::Ifc4x3::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcBeamType::setPredefinedType(const ::Ifc4x3::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X3_types[73]); } -void Ifc4x3::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[73]); } +void Ifc4x3::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBearing std::optional< ::Ifc4x3::IfcBearingTypeEnum::Value > Ifc4x3::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBearingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X3_types[75]); } -void Ifc4x3::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X3_types[75]); } +void Ifc4x3::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBearingType ::Ifc4x3::IfcBearingTypeEnum::Value Ifc4x3::IfcBearingType::PredefinedType() const { return ::Ifc4x3::IfcBearingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcBearingType::setPredefinedType(const ::Ifc4x3::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcBearingType::setPredefinedType(const ::Ifc4x3::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X3_types[76]); } -void Ifc4x3::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[76]); } +void Ifc4x3::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x3::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -8591,7 +8591,7 @@ boost::dynamic_bitset<> Ifc4x3::IfcBlobTexture::RasterCode() const { boost::dyn void Ifc4x3::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X3_types[82]); } +const ifcopenshell::entity& Ifc4x3::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_types[82]); } void Ifc4x3::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -8603,47 +8603,47 @@ double Ifc4x3::IfcBlock::ZLength() const { double v = get_attribute_value(3); r void Ifc4x3::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X3_types[83]); } +const ifcopenshell::entity& Ifc4x3::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X3_types[83]); } void Ifc4x3::IfcBlock::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x3::IfcBoilerTypeEnum::Value > Ifc4x3::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X3_types[84]); } -void Ifc4x3::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X3_types[84]); } +void Ifc4x3::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x3::IfcBoilerTypeEnum::Value Ifc4x3::IfcBoilerType::PredefinedType() const { return ::Ifc4x3::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcBoilerType::setPredefinedType(const ::Ifc4x3::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcBoilerType::setPredefinedType(const ::Ifc4x3::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X3_types[85]); } -void Ifc4x3::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[85]); } +void Ifc4x3::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x3::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X3_types[88]); } -void Ifc4x3::IfcBooleanClippingResult::initialize(::Ifc4x3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X3_types[88]); } +void Ifc4x3::IfcBooleanClippingResult::initialize(::Ifc4x3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x3::IfcBooleanOperator::Value Ifc4x3::IfcBooleanResult::Operator() const { return ::Ifc4x3::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x3::IfcBooleanResult::setOperator(const ::Ifc4x3::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3::IfcBooleanResult::setOperator(const ::Ifc4x3::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3::IfcBooleanOperand Ifc4x3::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcBooleanOperand>(); } void Ifc4x3::IfcBooleanResult::setFirstOperand(const ::Ifc4x3::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3::IfcBooleanOperand Ifc4x3::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcBooleanOperand>(); } void Ifc4x3::IfcBooleanResult::setSecondOperand(const ::Ifc4x3::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X3_types[91]); } -void Ifc4x3::IfcBooleanResult::initialize(::Ifc4x3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X3_types[91]); } +void Ifc4x3::IfcBooleanResult::initialize(::Ifc4x3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBorehole -const IfcParse::entity& Ifc4x3::IfcBorehole::Class() { return *((IfcParse::entity*)IFC4X3_types[92]); } +const ifcopenshell::entity& Ifc4x3::IfcBorehole::Class() { return *((ifcopenshell::entity*)IFC4X3_types[92]); } void Ifc4x3::IfcBorehole::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBoundaryCondition @@ -8651,13 +8651,13 @@ std::optional< std::string > Ifc4x3::IfcBoundaryCondition::Name() const { if(get void Ifc4x3::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X3_types[93]); } +const ifcopenshell::entity& Ifc4x3::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[93]); } void Ifc4x3::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x3::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[94]); } +const ifcopenshell::entity& Ifc4x3::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[94]); } void Ifc4x3::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -8675,7 +8675,7 @@ void Ifc4x3::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const ::I void Ifc4x3::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X3_types[95]); } +const ifcopenshell::entity& Ifc4x3::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[95]); } void Ifc4x3::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -8687,7 +8687,7 @@ void Ifc4x3::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(const :: void Ifc4x3::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x3::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X3_types[96]); } +const ifcopenshell::entity& Ifc4x3::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[96]); } void Ifc4x3::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -8705,7 +8705,7 @@ void Ifc4x3::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4x3::I void Ifc4x3::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x3::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X3_types[97]); } +const ifcopenshell::entity& Ifc4x3::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[97]); } void Ifc4x3::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -8713,19 +8713,19 @@ void Ifc4x3::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v void Ifc4x3::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x3::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X3_types[98]); } +const ifcopenshell::entity& Ifc4x3::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_types[98]); } void Ifc4x3::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -const IfcParse::entity& Ifc4x3::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[99]); } +const ifcopenshell::entity& Ifc4x3::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[99]); } void Ifc4x3::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x3::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[100]); } +const ifcopenshell::entity& Ifc4x3::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[100]); } void Ifc4x3::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -8739,7 +8739,7 @@ double Ifc4x3::IfcBoundingBox::ZDim() const { double v = get_attribute_value(3) void Ifc4x3::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X3_types[101]); } +const ifcopenshell::entity& Ifc4x3::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X3_types[101]); } void Ifc4x3::IfcBoundingBox::initialize(::Ifc4x3::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -8747,24 +8747,24 @@ void Ifc4x3::IfcBoundingBox::initialize(::Ifc4x3::IfcCartesianPoint v1_Corner, d void Ifc4x3::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x3::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_types[103]); } +const ifcopenshell::entity& Ifc4x3::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_types[103]); } void Ifc4x3::IfcBoxedHalfSpace::initialize(::Ifc4x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBridge std::optional< ::Ifc4x3::IfcBridgeTypeEnum::Value > Ifc4x3::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X3_types[104]); } -void Ifc4x3::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X3_types[104]); } +void Ifc4x3::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBridgePart std::optional< ::Ifc4x3::IfcBridgePartTypeEnum::Value > Ifc4x3::IfcBridgePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBridgePartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x3::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x3::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcBridgePart::Class() { return *((IfcParse::entity*)IFC4X3_types[105]); } -void Ifc4x3::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcBridgePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcBridgePart::Class() { return *((ifcopenshell::entity*)IFC4X3_types[105]); } +void Ifc4x3::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcBridgePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcBuilding std::optional< double > Ifc4x3::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -8775,96 +8775,96 @@ void Ifc4x3::IfcBuilding::setElevationOfTerrain(const std::optional< double >& v void Ifc4x3::IfcBuilding::setBuildingAddress(const ::Ifc4x3::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X3_types[114]); } -void Ifc4x3::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::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)); } +const ifcopenshell::entity& Ifc4x3::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X3_types[114]); } +void Ifc4x3::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::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)); } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value > Ifc4x3::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X3_types[115]); } -void Ifc4x3::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X3_types[115]); } +void Ifc4x3::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value Ifc4x3::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X3_types[116]); } -void Ifc4x3::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[116]); } +void Ifc4x3::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X3_types[118]); } -void Ifc4x3::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_types[118]); } +void Ifc4x3::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value Ifc4x3::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X3_types[119]); } -void Ifc4x3::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[119]); } +void Ifc4x3::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingStorey std::optional< double > Ifc4x3::IfcBuildingStorey::Elevation() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X3_types[121]); } -void Ifc4x3::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4x3::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X3_types[121]); } +void Ifc4x3::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x3::IfcBuildingSystemTypeEnum::Value > Ifc4x3::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X3_types[122]); } -void Ifc4x3::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[122]); } +void Ifc4x3::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBuiltElement -const IfcParse::entity& Ifc4x3::IfcBuiltElement::Class() { return *((IfcParse::entity*)IFC4X3_types[124]); } +const ifcopenshell::entity& Ifc4x3::IfcBuiltElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[124]); } void Ifc4x3::IfcBuiltElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuiltElementType -const IfcParse::entity& Ifc4x3::IfcBuiltElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[125]); } +const ifcopenshell::entity& Ifc4x3::IfcBuiltElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[125]); } void Ifc4x3::IfcBuiltElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuiltSystem std::optional< ::Ifc4x3::IfcBuiltSystemTypeEnum::Value > Ifc4x3::IfcBuiltSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBuiltSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3::IfcBuiltSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3::IfcBuiltSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcBuiltSystem::Class() { return *((IfcParse::entity*)IFC4X3_types[126]); } -void Ifc4x3::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3::IfcBuiltSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[126]); } +void Ifc4x3::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x3::IfcBurnerTypeEnum::Value > Ifc4x3::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X3_types[128]); } -void Ifc4x3::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X3_types[128]); } +void Ifc4x3::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x3::IfcBurnerTypeEnum::Value Ifc4x3::IfcBurnerType::PredefinedType() const { return ::Ifc4x3::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcBurnerType::setPredefinedType(const ::Ifc4x3::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcBurnerType::setPredefinedType(const ::Ifc4x3::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X3_types[129]); } -void Ifc4x3::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[129]); } +void Ifc4x3::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x3::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -8879,101 +8879,101 @@ std::optional< double > Ifc4x3::IfcCShapeProfileDef::InternalFilletRadius() cons void Ifc4x3::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[266]); } -void Ifc4x3::IfcCShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[266]); } +void Ifc4x3::IfcCShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X3_types[131]); } -void Ifc4x3::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_types[131]); } +void Ifc4x3::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value Ifc4x3::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X3_types[132]); } -void Ifc4x3::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[132]); } +void Ifc4x3::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[134]); } -void Ifc4x3::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[134]); } +void Ifc4x3::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_types[135]); } -void Ifc4x3::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[135]); } +void Ifc4x3::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x3::IfcCableFittingTypeEnum::Value > Ifc4x3::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X3_types[137]); } -void Ifc4x3::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_types[137]); } +void Ifc4x3::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x3::IfcCableFittingTypeEnum::Value Ifc4x3::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCableFittingType::setPredefinedType(const ::Ifc4x3::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCableFittingType::setPredefinedType(const ::Ifc4x3::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X3_types[138]); } -void Ifc4x3::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[138]); } +void Ifc4x3::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x3::IfcCableSegmentTypeEnum::Value > Ifc4x3::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[140]); } -void Ifc4x3::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[140]); } +void Ifc4x3::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x3::IfcCableSegmentTypeEnum::Value Ifc4x3::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_types[141]); } -void Ifc4x3::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[141]); } +void Ifc4x3::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCaissonFoundation std::optional< ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value > Ifc4x3::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X3_types[143]); } -void Ifc4x3::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[143]); } +void Ifc4x3::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCaissonFoundationType ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value Ifc4x3::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_types[144]); } -void Ifc4x3::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[144]); } +void Ifc4x3::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x3::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x3::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X3_types[147]); } +const ifcopenshell::entity& Ifc4x3::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_types[147]); } void Ifc4x3::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x3::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X3_types[148]); } +const ifcopenshell::entity& Ifc4x3::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X3_types[148]); } void Ifc4x3::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -8983,7 +8983,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3::IfcCartesianPointL void Ifc4x3::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X3_types[149]); } +const ifcopenshell::entity& Ifc4x3::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X3_types[149]); } void Ifc4x3::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -8993,7 +8993,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3::IfcCartesianPointL void Ifc4x3::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X3_types[150]); } +const ifcopenshell::entity& Ifc4x3::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X3_types[150]); } void Ifc4x3::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -9007,13 +9007,13 @@ std::optional< double > Ifc4x3::IfcCartesianTransformationOperator::Scale() cons void Ifc4x3::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X3_types[151]); } +const ifcopenshell::entity& Ifc4x3::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X3_types[151]); } void Ifc4x3::IfcCartesianTransformationOperator::initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x3::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X3_types[152]); } +const ifcopenshell::entity& Ifc4x3::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X3_types[152]); } void Ifc4x3::IfcCartesianTransformationOperator2D::initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -9021,7 +9021,7 @@ std::optional< double > Ifc4x3::IfcCartesianTransformationOperator2DnonUniform:: void Ifc4x3::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_types[153]); } +const ifcopenshell::entity& Ifc4x3::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_types[153]); } void Ifc4x3::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -9029,7 +9029,7 @@ void Ifc4x3::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3 void Ifc4x3::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X3_types[154]); } +const ifcopenshell::entity& Ifc4x3::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X3_types[154]); } void Ifc4x3::IfcCartesianTransformationOperator3D::initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -9039,7 +9039,7 @@ std::optional< double > Ifc4x3::IfcCartesianTransformationOperator3DnonUniform:: void Ifc4x3::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_types[155]); } +const ifcopenshell::entity& Ifc4x3::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_types[155]); } void Ifc4x3::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -9047,47 +9047,47 @@ double Ifc4x3::IfcCenterLineProfileDef::Thickness() const { double v = get_attr void Ifc4x3::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[156]); } -void Ifc4x3::IfcCenterLineProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x3::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[156]); } +void Ifc4x3::IfcCenterLineProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x3::IfcChillerTypeEnum::Value > Ifc4x3::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X3_types[158]); } -void Ifc4x3::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X3_types[158]); } +void Ifc4x3::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x3::IfcChillerTypeEnum::Value Ifc4x3::IfcChillerType::PredefinedType() const { return ::Ifc4x3::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcChillerType::setPredefinedType(const ::Ifc4x3::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcChillerType::setPredefinedType(const ::Ifc4x3::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X3_types[159]); } -void Ifc4x3::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[159]); } +void Ifc4x3::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x3::IfcChimneyTypeEnum::Value > Ifc4x3::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X3_types[161]); } -void Ifc4x3::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X3_types[161]); } +void Ifc4x3::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x3::IfcChimneyTypeEnum::Value Ifc4x3::IfcChimneyType::PredefinedType() const { return ::Ifc4x3::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcChimneyType::setPredefinedType(const ::Ifc4x3::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcChimneyType::setPredefinedType(const ::Ifc4x3::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X3_types[162]); } -void Ifc4x3::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[162]); } +void Ifc4x3::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x3::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X3_types[164]); } +const ifcopenshell::entity& Ifc4x3::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[164]); } void Ifc4x3::IfcCircle::initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -9095,27 +9095,27 @@ double Ifc4x3::IfcCircleHollowProfileDef::WallThickness() const { double v = ge void Ifc4x3::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[165]); } -void Ifc4x3::IfcCircleHollowProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x3::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[165]); } +void Ifc4x3::IfcCircleHollowProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x3::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x3::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[166]); } -void Ifc4x3::IfcCircleProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x3::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[166]); } +void Ifc4x3::IfcCircleProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x3::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X3_types[167]); } +const ifcopenshell::entity& Ifc4x3::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[167]); } void Ifc4x3::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x3::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[168]); } +const ifcopenshell::entity& Ifc4x3::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[168]); } void Ifc4x3::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -9134,10 +9134,10 @@ void Ifc4x3::IfcClassification::setSpecification(const std::optional< std::strin std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3::IfcRelAssociatesClassification> Ifc4x3::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[911], 5)); } -std::vector<::Ifc4x3::IfcClassificationReference> Ifc4x3::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[170], 3)); } +std::vector<::Ifc4x3::IfcRelAssociatesClassification> Ifc4x3::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[911], 5)); } +std::vector<::Ifc4x3::IfcClassificationReference> Ifc4x3::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[170], 3)); } -const IfcParse::entity& Ifc4x3::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X3_types[169]); } +const ifcopenshell::entity& Ifc4x3::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_types[169]); } void Ifc4x3::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Specification, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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)); } } // Function implementations for IfcClassificationReference @@ -9148,16 +9148,16 @@ void Ifc4x3::IfcClassificationReference::setDescription(const std::optional< std std::optional< std::string > Ifc4x3::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3::IfcRelAssociatesClassification> Ifc4x3::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[911], 5)); } -std::vector<::Ifc4x3::IfcClassificationReference> Ifc4x3::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[170], 3)); } +std::vector<::Ifc4x3::IfcRelAssociatesClassification> Ifc4x3::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[911], 5)); } +std::vector<::Ifc4x3::IfcClassificationReference> Ifc4x3::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[170], 3)); } -const IfcParse::entity& Ifc4x3::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X3_types[170]); } +const ifcopenshell::entity& Ifc4x3::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X3_types[170]); } void Ifc4x3::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x3::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X3_types[173]); } +const ifcopenshell::entity& Ifc4x3::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X3_types[173]); } void Ifc4x3::IfcClosedShell::initialize(std::vector< ::Ifc4x3::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcClothoid @@ -9165,24 +9165,24 @@ double Ifc4x3::IfcClothoid::ClothoidConstant() const { double v = get_attribute void Ifc4x3::IfcClothoid::setClothoidConstant(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcClothoid::Class() { return *((IfcParse::entity*)IFC4X3_types[174]); } +const ifcopenshell::entity& Ifc4x3::IfcClothoid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[174]); } void Ifc4x3::IfcClothoid::initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_ClothoidConstant) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_ClothoidConstant)); } // Function implementations for IfcCoil std::optional< ::Ifc4x3::IfcCoilTypeEnum::Value > Ifc4x3::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X3_types[175]); } -void Ifc4x3::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X3_types[175]); } +void Ifc4x3::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x3::IfcCoilTypeEnum::Value Ifc4x3::IfcCoilType::PredefinedType() const { return ::Ifc4x3::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCoilType::setPredefinedType(const ::Ifc4x3::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCoilType::setPredefinedType(const ::Ifc4x3::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X3_types[176]); } -void Ifc4x3::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[176]); } +void Ifc4x3::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x3::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -9193,7 +9193,7 @@ double Ifc4x3::IfcColourRgb::Blue() const { double v = get_attribute_value(3); void Ifc4x3::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X3_types[180]); } +const ifcopenshell::entity& Ifc4x3::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X3_types[180]); } void Ifc4x3::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -9201,7 +9201,7 @@ std::vector< std::vector< double > > Ifc4x3::IfcColourRgbList::ColourList() cons void Ifc4x3::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X3_types[181]); } +const ifcopenshell::entity& Ifc4x3::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X3_types[181]); } void Ifc4x3::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -9209,40 +9209,40 @@ std::optional< std::string > Ifc4x3::IfcColourSpecification::Name() const { if(g void Ifc4x3::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X3_types[182]); } +const ifcopenshell::entity& Ifc4x3::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X3_types[182]); } void Ifc4x3::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x3::IfcColumnTypeEnum::Value > Ifc4x3::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X3_types[183]); } -void Ifc4x3::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_types[183]); } +void Ifc4x3::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x3::IfcColumnTypeEnum::Value Ifc4x3::IfcColumnType::PredefinedType() const { return ::Ifc4x3::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcColumnType::setPredefinedType(const ::Ifc4x3::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcColumnType::setPredefinedType(const ::Ifc4x3::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X3_types[184]); } -void Ifc4x3::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[184]); } +void Ifc4x3::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_types[186]); } -void Ifc4x3::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_types[186]); } +void Ifc4x3::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_types[187]); } -void Ifc4x3::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[187]); } +void Ifc4x3::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x3::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -9251,20 +9251,20 @@ std::vector< ::Ifc4x3::IfcProperty > Ifc4x3::IfcComplexProperty::HasProperties() void Ifc4x3::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x3::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X3_types[190]); } +const ifcopenshell::entity& Ifc4x3::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_types[190]); } void Ifc4x3::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::string v3_UsageName, std::vector< ::Ifc4x3::IfcProperty > v4_HasProperties) { 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, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x3::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x3::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x3::IfcPropertyTemplate > > Ifc4x3::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3::IfcPropertyTemplate>(es); } void Ifc4x3::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_types[191]); } -void Ifc4x3::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x3::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_types[191]); } +void Ifc4x3::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x3::IfcSegment > Ifc4x3::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcSegment>(es); } @@ -9273,13 +9273,13 @@ boost::logic::tribool Ifc4x3::IfcCompositeCurve::SelfIntersect() const { boost: void Ifc4x3::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[193]); } +const ifcopenshell::entity& Ifc4x3::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[193]); } void Ifc4x3::IfcCompositeCurve::initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x3::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[194]); } +const ifcopenshell::entity& Ifc4x3::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[194]); } void Ifc4x3::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment @@ -9289,8 +9289,8 @@ void Ifc4x3::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_attribu void Ifc4x3::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x3::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[195]); } -void Ifc4x3::IfcCompositeCurveSegment::initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[195]); } +void Ifc4x3::IfcCompositeCurveSegment::initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x3::IfcProfileDef > Ifc4x3::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3::IfcProfileDef>(es); } @@ -9299,47 +9299,47 @@ std::optional< std::string > Ifc4x3::IfcCompositeProfileDef::Label() const { if( void Ifc4x3::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[196]); } -void Ifc4x3::IfcCompositeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x3::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[196]); } +void Ifc4x3::IfcCompositeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x3::IfcCompressorTypeEnum::Value > Ifc4x3::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X3_types[198]); } -void Ifc4x3::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X3_types[198]); } +void Ifc4x3::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x3::IfcCompressorTypeEnum::Value Ifc4x3::IfcCompressorType::PredefinedType() const { return ::Ifc4x3::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCompressorType::setPredefinedType(const ::Ifc4x3::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCompressorType::setPredefinedType(const ::Ifc4x3::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X3_types[199]); } -void Ifc4x3::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[199]); } +void Ifc4x3::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x3::IfcCondenserTypeEnum::Value > Ifc4x3::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X3_types[201]); } -void Ifc4x3::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X3_types[201]); } +void Ifc4x3::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x3::IfcCondenserTypeEnum::Value Ifc4x3::IfcCondenserType::PredefinedType() const { return ::Ifc4x3::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCondenserType::setPredefinedType(const ::Ifc4x3::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCondenserType::setPredefinedType(const ::Ifc4x3::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X3_types[202]); } -void Ifc4x3::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[202]); } +void Ifc4x3::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x3::IfcAxis2Placement Ifc4x3::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcAxis2Placement>(); } void Ifc4x3::IfcConic::setPosition(const ::Ifc4x3::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcConic::Class() { return *((IfcParse::entity*)IFC4X3_types[204]); } +const ifcopenshell::entity& Ifc4x3::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X3_types[204]); } void Ifc4x3::IfcConic::initialize(::Ifc4x3::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -9347,7 +9347,7 @@ std::vector< ::Ifc4x3::IfcFace > Ifc4x3::IfcConnectedFaceSet::CfsFaces() const { void Ifc4x3::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x3::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_types[205]); } +const ifcopenshell::entity& Ifc4x3::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[205]); } void Ifc4x3::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x3::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -9357,13 +9357,13 @@ void Ifc4x3::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::Ifc4x void Ifc4x3::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x3::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X3_types[206]); } +const ifcopenshell::entity& Ifc4x3::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_types[206]); } void Ifc4x3::IfcConnectionCurveGeometry::initialize(::Ifc4x3::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x3::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X3_types[207]); } +const ifcopenshell::entity& Ifc4x3::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_types[207]); } void Ifc4x3::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -9375,7 +9375,7 @@ std::optional< double > Ifc4x3::IfcConnectionPointEccentricity::EccentricityInZ( void Ifc4x3::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_types[208]); } +const ifcopenshell::entity& Ifc4x3::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_types[208]); } void Ifc4x3::IfcConnectionPointEccentricity::initialize(::Ifc4x3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -9385,7 +9385,7 @@ void Ifc4x3::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::Ifc4x void Ifc4x3::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x3::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X3_types[209]); } +const ifcopenshell::entity& Ifc4x3::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_types[209]); } void Ifc4x3::IfcConnectionPointGeometry::initialize(::Ifc4x3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -9395,7 +9395,7 @@ void Ifc4x3::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const ::I void Ifc4x3::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x3::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X3_types[210]); } +const ifcopenshell::entity& Ifc4x3::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_types[210]); } void Ifc4x3::IfcConnectionSurfaceGeometry::initialize(::Ifc4x3::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -9405,7 +9405,7 @@ void Ifc4x3::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const ::Ifc void Ifc4x3::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x3::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X3_types[212]); } +const ifcopenshell::entity& Ifc4x3::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_types[212]); } void Ifc4x3::IfcConnectionVolumeGeometry::initialize(::Ifc4x3::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -9414,7 +9414,7 @@ void Ifc4x3::IfcConstraint::setName(const std::string& v) { set_attribute_value( std::optional< std::string > Ifc4x3::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3::IfcConstraintEnum::Value Ifc4x3::IfcConstraint::ConstraintGrade() const { return ::Ifc4x3::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x3::IfcConstraint::setConstraintGrade(const ::Ifc4x3::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3::IfcConstraint::setConstraintGrade(const ::Ifc4x3::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x3::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3::IfcActorSelect Ifc4x3::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcActorSelect>(); } @@ -9424,59 +9424,59 @@ void Ifc4x3::IfcConstraint::setCreationTime(const std::optional< std::string >& std::optional< std::string > Ifc4x3::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } -std::vector<::Ifc4x3::IfcResourceConstraintRelationship> Ifc4x3::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[957], 2)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcResourceConstraintRelationship> Ifc4x3::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[957], 2)); } -const IfcParse::entity& Ifc4x3::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X3_types[213]); } -void Ifc4x3::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x3::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_types[213]); } +void Ifc4x3::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X3_types[215]); } -void Ifc4x3::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[215]); } +void Ifc4x3::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X3_types[216]); } -void Ifc4x3::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[216]); } +void Ifc4x3::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X3_types[218]); } -void Ifc4x3::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[218]); } +void Ifc4x3::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X3_types[219]); } -void Ifc4x3::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[219]); } +void Ifc4x3::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X3_types[221]); } -void Ifc4x3::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[221]); } +void Ifc4x3::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value Ifc4x3::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X3_types[222]); } -void Ifc4x3::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[222]); } +void Ifc4x3::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x3::IfcResourceTime Ifc4x3::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3::IfcResourceTime>(); } @@ -9487,7 +9487,7 @@ void Ifc4x3::IfcConstructionResource::setBaseCosts(const std::optional< std::vec void Ifc4x3::IfcConstructionResource::setBaseQuantity(const ::Ifc4x3::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X3_types[224]); } +const ifcopenshell::entity& Ifc4x3::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[224]); } void Ifc4x3::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -9497,7 +9497,7 @@ void Ifc4x3::IfcConstructionResourceType::setBaseCosts(const std::optional< std: void Ifc4x3::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x3::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X3_types[225]); } +const ifcopenshell::entity& Ifc4x3::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[225]); } void Ifc4x3::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -9512,45 +9512,45 @@ void Ifc4x3::IfcContext::setRepresentationContexts(const std::optional< std::vec ::Ifc4x3::IfcUnitAssignment Ifc4x3::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3::IfcUnitAssignment>(); } void Ifc4x3::IfcContext::setUnitsInContext(const ::Ifc4x3::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3::IfcRelDefinesByProperties> Ifc4x3::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[934], 4)); } -std::vector<::Ifc4x3::IfcRelDeclares> Ifc4x3::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[930], 4)); } +std::vector<::Ifc4x3::IfcRelDefinesByProperties> Ifc4x3::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[934], 4)); } +std::vector<::Ifc4x3::IfcRelDeclares> Ifc4x3::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[930], 4)); } -const IfcParse::entity& Ifc4x3::IfcContext::Class() { return *((IfcParse::entity*)IFC4X3_types[226]); } +const ifcopenshell::entity& Ifc4x3::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X3_types[226]); } void Ifc4x3::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x3::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x3::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } -const IfcParse::entity& Ifc4x3::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X3_types[228]); } -void Ifc4x3::IfcContextDependentUnit::initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x3::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[228]); } +void Ifc4x3::IfcContextDependentUnit::initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x3::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3::IfcRelAssignsToControl> Ifc4x3::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[903], 6)); } +std::vector<::Ifc4x3::IfcRelAssignsToControl> Ifc4x3::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[903], 6)); } -const IfcParse::entity& Ifc4x3::IfcControl::Class() { return *((IfcParse::entity*)IFC4X3_types[229]); } +const ifcopenshell::entity& Ifc4x3::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X3_types[229]); } void Ifc4x3::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x3::IfcControllerTypeEnum::Value > Ifc4x3::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcController::setPredefinedType(const std::optional< ::Ifc4x3::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcController::setPredefinedType(const std::optional< ::Ifc4x3::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcController::Class() { return *((IfcParse::entity*)IFC4X3_types[230]); } -void Ifc4x3::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X3_types[230]); } +void Ifc4x3::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x3::IfcControllerTypeEnum::Value Ifc4x3::IfcControllerType::PredefinedType() const { return ::Ifc4x3::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcControllerType::setPredefinedType(const ::Ifc4x3::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcControllerType::setPredefinedType(const ::Ifc4x3::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X3_types[231]); } -void Ifc4x3::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[231]); } +void Ifc4x3::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x3::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -9558,66 +9558,66 @@ void Ifc4x3::IfcConversionBasedUnit::setName(const std::string& v) { set_attribu ::Ifc4x3::IfcMeasureWithUnit Ifc4x3::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3::IfcMeasureWithUnit>(); } void Ifc4x3::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x3::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } -const IfcParse::entity& Ifc4x3::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X3_types[233]); } -void Ifc4x3::IfcConversionBasedUnit::initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4x3::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[233]); } +void Ifc4x3::IfcConversionBasedUnit::initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x3::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x3::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X3_types[234]); } -void Ifc4x3::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x3::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X3_types[234]); } +void Ifc4x3::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcConveyorSegment std::optional< ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value > Ifc4x3::IfcConveyorSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcConveyorSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[235]); } -void Ifc4x3::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcConveyorSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[235]); } +void Ifc4x3::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcConveyorSegmentType ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value Ifc4x3::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcConveyorSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_types[236]); } -void Ifc4x3::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcConveyorSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[236]); } +void Ifc4x3::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x3::IfcCooledBeamTypeEnum::Value > Ifc4x3::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X3_types[238]); } -void Ifc4x3::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_types[238]); } +void Ifc4x3::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x3::IfcCooledBeamTypeEnum::Value Ifc4x3::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X3_types[239]); } -void Ifc4x3::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[239]); } +void Ifc4x3::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x3::IfcCoolingTowerTypeEnum::Value > Ifc4x3::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X3_types[241]); } -void Ifc4x3::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X3_types[241]); } +void Ifc4x3::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x3::IfcCoolingTowerTypeEnum::Value Ifc4x3::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X3_types[242]); } -void Ifc4x3::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[242]); } +void Ifc4x3::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x3::IfcCoordinateReferenceSystemSelect Ifc4x3::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcCoordinateReferenceSystemSelect>(); } @@ -9626,7 +9626,7 @@ void Ifc4x3::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x3::IfcCoordinateR void Ifc4x3::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x3::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X3_types[244]); } +const ifcopenshell::entity& Ifc4x3::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[244]); } void Ifc4x3::IfcCoordinateOperation::initialize(::Ifc4x3::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -9639,9 +9639,9 @@ void Ifc4x3::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optional< std::optional< std::string > Ifc4x3::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::vector<::Ifc4x3::IfcCoordinateOperation> Ifc4x3::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[244], 0)); } +std::vector<::Ifc4x3::IfcCoordinateOperation> Ifc4x3::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[244], 0)); } -const IfcParse::entity& Ifc4x3::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X3_types[245]); } +const ifcopenshell::entity& Ifc4x3::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[245]); } void Ifc4x3::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { 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)); } } // Function implementations for IfcCosineSpiral @@ -9651,24 +9651,24 @@ std::optional< double > Ifc4x3::IfcCosineSpiral::ConstantTerm() const { if(get_a void Ifc4x3::IfcCosineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcCosineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_types[247]); } +const ifcopenshell::entity& Ifc4x3::IfcCosineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_types[247]); } void Ifc4x3::IfcCosineSpiral::initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CosineTerm)); if (v3_ConstantTerm) {set_attribute_value(2, (*v3_ConstantTerm)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4x3::IfcCostItemTypeEnum::Value > Ifc4x3::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3::IfcCostValue > > Ifc4x3::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3::IfcCostValue>(es); } void Ifc4x3::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x3::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x3::IfcPhysicalQuantity > > Ifc4x3::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3::IfcPhysicalQuantity>(es); } void Ifc4x3::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x3::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X3_types[248]); } -void Ifc4x3::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x3::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[248]); } +void Ifc4x3::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x3::IfcCostScheduleTypeEnum::Value > Ifc4x3::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -9677,71 +9677,71 @@ std::optional< std::string > Ifc4x3::IfcCostSchedule::UpdateDate() const { if(ge void Ifc4x3::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X3_types[250]); } -void Ifc4x3::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_types[250]); } +void Ifc4x3::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x3::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X3_types[252]); } -void Ifc4x3::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[252]); } +void Ifc4x3::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCourse std::optional< ::Ifc4x3::IfcCourseTypeEnum::Value > Ifc4x3::IfcCourse::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCourseTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCourse::Class() { return *((IfcParse::entity*)IFC4X3_types[254]); } -void Ifc4x3::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCourse::Class() { return *((ifcopenshell::entity*)IFC4X3_types[254]); } +void Ifc4x3::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCourseType ::Ifc4x3::IfcCourseTypeEnum::Value Ifc4x3::IfcCourseType::PredefinedType() const { return ::Ifc4x3::IfcCourseTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCourseType::setPredefinedType(const ::Ifc4x3::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCourseType::setPredefinedType(const ::Ifc4x3::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCourseType::Class() { return *((IfcParse::entity*)IFC4X3_types[255]); } -void Ifc4x3::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCourseType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[255]); } +void Ifc4x3::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCovering std::optional< ::Ifc4x3::IfcCoveringTypeEnum::Value > Ifc4x3::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3::IfcRelCoversSpaces> Ifc4x3::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[929], 5)); } -std::vector<::Ifc4x3::IfcRelCoversBldgElements> Ifc4x3::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[928], 5)); } +std::vector<::Ifc4x3::IfcRelCoversSpaces> Ifc4x3::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[929], 5)); } +std::vector<::Ifc4x3::IfcRelCoversBldgElements> Ifc4x3::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[928], 5)); } -const IfcParse::entity& Ifc4x3::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X3_types[257]); } -void Ifc4x3::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X3_types[257]); } +void Ifc4x3::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x3::IfcCoveringTypeEnum::Value Ifc4x3::IfcCoveringType::PredefinedType() const { return ::Ifc4x3::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCoveringType::setPredefinedType(const ::Ifc4x3::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCoveringType::setPredefinedType(const ::Ifc4x3::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X3_types[258]); } -void Ifc4x3::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[258]); } +void Ifc4x3::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x3::IfcCrewResourceTypeEnum::Value > Ifc4x3::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X3_types[260]); } -void Ifc4x3::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[260]); } +void Ifc4x3::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x3::IfcCrewResourceTypeEnum::Value Ifc4x3::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X3_types[261]); } -void Ifc4x3::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[261]); } +void Ifc4x3::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x3::IfcAxis2Placement3D Ifc4x3::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcAxis2Placement3D>(); } void Ifc4x3::IfcCsgPrimitive3D::setPosition(const ::Ifc4x3::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X3_types[263]); } +const ifcopenshell::entity& Ifc4x3::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X3_types[263]); } void Ifc4x3::IfcCsgPrimitive3D::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -9749,7 +9749,7 @@ void Ifc4x3::IfcCsgPrimitive3D::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Posi void Ifc4x3::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x3::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[265]); } +const ifcopenshell::entity& Ifc4x3::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[265]); } void Ifc4x3::IfcCsgSolid::initialize(::Ifc4x3::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -9765,29 +9765,29 @@ void Ifc4x3::IfcCurrencyRelationship::setRateDateTime(const std::optional< std:: void Ifc4x3::IfcCurrencyRelationship::setRateSource(const ::Ifc4x3::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[267]); } +const ifcopenshell::entity& Ifc4x3::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[267]); } void Ifc4x3::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x3::IfcCurtainWallTypeEnum::Value > Ifc4x3::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X3_types[268]); } -void Ifc4x3::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X3_types[268]); } +void Ifc4x3::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x3::IfcCurtainWallTypeEnum::Value Ifc4x3::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X3_types[269]); } -void Ifc4x3::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[269]); } +void Ifc4x3::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x3::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[272]); } +const ifcopenshell::entity& Ifc4x3::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[272]); } void Ifc4x3::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -9799,7 +9799,7 @@ std::vector< ::Ifc4x3::IfcCurve > Ifc4x3::IfcCurveBoundedPlane::InnerBoundaries( void Ifc4x3::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x3::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X3_types[273]); } +const ifcopenshell::entity& Ifc4x3::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_types[273]); } void Ifc4x3::IfcCurveBoundedPlane::initialize(::Ifc4x3::IfcPlane v1_BasisSurface, ::Ifc4x3::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -9811,7 +9811,7 @@ bool Ifc4x3::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_attri void Ifc4x3::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[274]); } +const ifcopenshell::entity& Ifc4x3::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[274]); } void Ifc4x3::IfcCurveBoundedSurface::initialize(::Ifc4x3::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment @@ -9825,8 +9825,8 @@ void Ifc4x3::IfcCurveSegment::setSegmentLength(const ::Ifc4x3::IfcCurveMeasureSe void Ifc4x3::IfcCurveSegment::setParentCurve(const ::Ifc4x3::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[280]); } -void Ifc4x3::IfcCurveSegment::initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition, ::Ifc4x3::IfcPlacement v2_Placement, ::Ifc4x3::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3::IfcCurve v5_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3::IfcCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[280]); } +void Ifc4x3::IfcCurveSegment::initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition, ::Ifc4x3::IfcPlacement v2_Placement, ::Ifc4x3::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3::IfcCurve v5_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } // Function implementations for IfcCurveStyle ::Ifc4x3::IfcCurveFontOrScaledCurveFontSelect Ifc4x3::IfcCurveStyle::CurveFont() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3::IfcCurveFontOrScaledCurveFontSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcCurveFontOrScaledCurveFontSelect>(); } @@ -9839,7 +9839,7 @@ std::optional< bool > Ifc4x3::IfcCurveStyle::ModelOrDraughting() const { if(get_ void Ifc4x3::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X3_types[281]); } +const ifcopenshell::entity& Ifc4x3::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[281]); } void Ifc4x3::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3::IfcSizeSelect v3_CurveWidth, ::Ifc4x3::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -9849,7 +9849,7 @@ std::vector< ::Ifc4x3::IfcCurveStyleFontPattern > Ifc4x3::IfcCurveStyleFont::Pat void Ifc4x3::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x3::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X3_types[282]); } +const ifcopenshell::entity& Ifc4x3::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X3_types[282]); } void Ifc4x3::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -9861,7 +9861,7 @@ double Ifc4x3::IfcCurveStyleFontAndScaling::CurveFontScaling() const { double v void Ifc4x3::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X3_types[283]); } +const ifcopenshell::entity& Ifc4x3::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X3_types[283]); } void Ifc4x3::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcCurveStyleFontSelect v2_CurveStyleFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveStyleFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -9871,7 +9871,7 @@ double Ifc4x3::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { doubl void Ifc4x3::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X3_types[284]); } +const ifcopenshell::entity& Ifc4x3::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X3_types[284]); } void Ifc4x3::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -9879,35 +9879,35 @@ double Ifc4x3::IfcCylindricalSurface::Radius() const { double v = get_attribute void Ifc4x3::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[286]); } +const ifcopenshell::entity& Ifc4x3::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[286]); } void Ifc4x3::IfcCylindricalSurface::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > Ifc4x3::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X3_types[287]); } -void Ifc4x3::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_types[287]); } +void Ifc4x3::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x3::IfcDamperTypeEnum::Value Ifc4x3::IfcDamperType::PredefinedType() const { return ::Ifc4x3::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcDamperType::setPredefinedType(const ::Ifc4x3::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcDamperType::setPredefinedType(const ::Ifc4x3::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X3_types[288]); } -void Ifc4x3::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[288]); } +void Ifc4x3::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDeepFoundation -const IfcParse::entity& Ifc4x3::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X3_types[295]); } +const ifcopenshell::entity& Ifc4x3::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[295]); } void Ifc4x3::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDeepFoundationType -const IfcParse::entity& Ifc4x3::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_types[296]); } +const ifcopenshell::entity& Ifc4x3::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[296]); } void Ifc4x3::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDerivedProfileDef @@ -9919,22 +9919,22 @@ std::optional< std::string > Ifc4x3::IfcDerivedProfileDef::Label() const { if(ge void Ifc4x3::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[299]); } -void Ifc4x3::IfcDerivedProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcProfileDef v3_ParentProfile, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[299]); } +void Ifc4x3::IfcDerivedProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcProfileDef v3_ParentProfile, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x3::IfcDerivedUnitElement > Ifc4x3::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcDerivedUnitElement>(es); } void Ifc4x3::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x3::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3::IfcDerivedUnitEnum::Value Ifc4x3::IfcDerivedUnit::UnitType() const { return ::Ifc4x3::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3::IfcDerivedUnit::setUnitType(const ::Ifc4x3::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3::IfcDerivedUnit::setUnitType(const ::Ifc4x3::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x3::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } std::optional< std::string > Ifc4x3::IfcDerivedUnit::Name() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3::IfcDerivedUnit::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X3_types[300]); } -void Ifc4x3::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } } +const ifcopenshell::entity& Ifc4x3::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[300]); } +void Ifc4x3::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x3::IfcNamedUnit Ifc4x3::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcNamedUnit>(); } @@ -9943,7 +9943,7 @@ int Ifc4x3::IfcDerivedUnitElement::Exponent() const { int v = get_attribute_val void Ifc4x3::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X3_types[301]); } +const ifcopenshell::entity& Ifc4x3::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[301]); } void Ifc4x3::IfcDerivedUnitElement::initialize(::Ifc4x3::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -9963,7 +9963,7 @@ int Ifc4x3::IfcDimensionalExponents::LuminousIntensityExponent() const { int v void Ifc4x3::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X3_types[304]); } +const ifcopenshell::entity& Ifc4x3::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_types[304]); } void Ifc4x3::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -9971,7 +9971,7 @@ std::vector< double > /*[2:3]*/ Ifc4x3::IfcDirection::DirectionRatios() const { void Ifc4x3::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X3_types[306]); } +const ifcopenshell::entity& Ifc4x3::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X3_types[306]); } void Ifc4x3::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDirectrixCurveSweptAreaSolid @@ -9983,129 +9983,129 @@ void Ifc4x3::IfcDirectrixCurveSweptAreaSolid::setStartParam(const ::Ifc4x3::IfcC void Ifc4x3::IfcDirectrixCurveSweptAreaSolid::setEndParam(const ::Ifc4x3::IfcCurveMeasureSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcDirectrixCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[308]); } +const ifcopenshell::entity& Ifc4x3::IfcDirectrixCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[308]); } void Ifc4x3::IfcDirectrixCurveSweptAreaSolid::initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcCurve v3_Directrix, ::Ifc4x3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3::IfcCurveMeasureSelect v5_EndParam) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam)); } // Function implementations for IfcDirectrixDerivedReferenceSweptAreaSolid -const IfcParse::entity& Ifc4x3::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[309]); } +const ifcopenshell::entity& Ifc4x3::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[309]); } void Ifc4x3::IfcDirectrixDerivedReferenceSweptAreaSolid::initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcCurve v3_Directrix, ::Ifc4x3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X3_types[310]); } -void Ifc4x3::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X3_types[310]); } +void Ifc4x3::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X3_types[311]); } -void Ifc4x3::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[311]); } +void Ifc4x3::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionBoard std::optional< ::Ifc4x3::IfcDistributionBoardTypeEnum::Value > Ifc4x3::IfcDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_types[313]); } -void Ifc4x3::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_types[313]); } +void Ifc4x3::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionBoardType ::Ifc4x3::IfcDistributionBoardTypeEnum::Value Ifc4x3::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_types[314]); } -void Ifc4x3::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[314]); } +void Ifc4x3::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X3_types[316]); } -void Ifc4x3::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[316]); } +void Ifc4x3::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value Ifc4x3::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[317]); } -void Ifc4x3::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[317]); } +void Ifc4x3::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x3::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X3_types[319]); } -void Ifc4x3::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[319]); } +void Ifc4x3::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x3::IfcRelFlowControlElements> Ifc4x3::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[938], 4)); } +std::vector<::Ifc4x3::IfcRelFlowControlElements> Ifc4x3::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[938], 4)); } -const IfcParse::entity& Ifc4x3::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X3_types[320]); } +const ifcopenshell::entity& Ifc4x3::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[320]); } void Ifc4x3::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x3::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[321]); } +const ifcopenshell::entity& Ifc4x3::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[321]); } void Ifc4x3::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x3::IfcRelConnectsPortToElement> Ifc4x3::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[922], 5)); } +std::vector<::Ifc4x3::IfcRelConnectsPortToElement> Ifc4x3::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[922], 5)); } -const IfcParse::entity& Ifc4x3::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X3_types[322]); } +const ifcopenshell::entity& Ifc4x3::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[322]); } void Ifc4x3::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x3::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[323]); } +const ifcopenshell::entity& Ifc4x3::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[323]); } void Ifc4x3::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x3::IfcRelFlowControlElements> Ifc4x3::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[938], 5)); } +std::vector<::Ifc4x3::IfcRelFlowControlElements> Ifc4x3::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[938], 5)); } -const IfcParse::entity& Ifc4x3::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X3_types[324]); } +const ifcopenshell::entity& Ifc4x3::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[324]); } void Ifc4x3::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x3::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[325]); } +const ifcopenshell::entity& Ifc4x3::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[325]); } void Ifc4x3::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x3::IfcFlowDirectionEnum::Value > Ifc4x3::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3::IfcDistributionPortTypeEnum::Value > Ifc4x3::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > Ifc4x3::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X3_types[326]); } -void Ifc4x3::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X3_types[326]); } +void Ifc4x3::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x3::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > Ifc4x3::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x3::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X3_types[328]); } -void Ifc4x3::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[328]); } +void Ifc4x3::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x3::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -10139,17 +10139,17 @@ void Ifc4x3::IfcDocumentInformation::setValidFrom(const std::optional< std::stri std::optional< std::string > Ifc4x3::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x3::IfcDocumentConfidentialityEnum::Value > Ifc4x3::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x3::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x3::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x3::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x3::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x3::IfcDocumentStatusEnum::Value > Ifc4x3::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x3::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x3::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x3::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x3::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x3::IfcRelAssociatesDocument> Ifc4x3::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[913], 5)); } -std::vector<::Ifc4x3::IfcDocumentReference> Ifc4x3::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[333], 4)); } -std::vector<::Ifc4x3::IfcDocumentInformationRelationship> Ifc4x3::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[332], 3)); } -std::vector<::Ifc4x3::IfcDocumentInformationRelationship> Ifc4x3::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[332], 2)); } +std::vector<::Ifc4x3::IfcRelAssociatesDocument> Ifc4x3::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[913], 5)); } +std::vector<::Ifc4x3::IfcDocumentReference> Ifc4x3::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[333], 4)); } +std::vector<::Ifc4x3::IfcDocumentInformationRelationship> Ifc4x3::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[332], 3)); } +std::vector<::Ifc4x3::IfcDocumentInformationRelationship> Ifc4x3::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[332], 2)); } -const IfcParse::entity& Ifc4x3::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X3_types[331]); } -void Ifc4x3::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x3::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4x3::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[331]); } +void Ifc4x3::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x3::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x3::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x3::IfcDocumentInformation Ifc4x3::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcDocumentInformation>(); } @@ -10160,7 +10160,7 @@ std::optional< std::string > Ifc4x3::IfcDocumentInformationRelationship::Relatio void Ifc4x3::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[332]); } +const ifcopenshell::entity& Ifc4x3::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[332]); } void Ifc4x3::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -10169,9 +10169,9 @@ void Ifc4x3::IfcDocumentReference::setDescription(const std::optional< std::stri ::Ifc4x3::IfcDocumentInformation Ifc4x3::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcDocumentInformation>(); } void Ifc4x3::IfcDocumentReference::setReferencedDocument(const ::Ifc4x3::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3::IfcRelAssociatesDocument> Ifc4x3::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[913], 5)); } +std::vector<::Ifc4x3::IfcRelAssociatesDocument> Ifc4x3::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[913], 5)); } -const IfcParse::entity& Ifc4x3::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X3_types[333]); } +const ifcopenshell::entity& Ifc4x3::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X3_types[333]); } void Ifc4x3::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -10180,15 +10180,15 @@ void Ifc4x3::IfcDoor::setOverallHeight(const std::optional< double >& v) { if (v std::optional< double > Ifc4x3::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3::IfcDoorTypeEnum::Value > Ifc4x3::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3::IfcDoorTypeOperationEnum::Value > Ifc4x3::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcDoor::setOperationType(const std::optional< ::Ifc4x3::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3::IfcDoor::setOperationType(const std::optional< ::Ifc4x3::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X3_types[336]); } -void Ifc4x3::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X3_types[336]); } +void Ifc4x3::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x3::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -10219,120 +10219,120 @@ std::optional< double > Ifc4x3::IfcDoorLiningProperties::LiningToPanelOffsetY() void Ifc4x3::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[337]); } +const ifcopenshell::entity& Ifc4x3::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[337]); } void Ifc4x3::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x3::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3::IfcDoorPanelOperationEnum::Value Ifc4x3::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x3::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3::IfcDoorPanelPositionEnum::Value Ifc4x3::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x3::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3::IfcShapeAspect Ifc4x3::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3::IfcShapeAspect>(); } void Ifc4x3::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x3::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[340]); } -void Ifc4x3::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4x3::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[340]); } +void Ifc4x3::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorType ::Ifc4x3::IfcDoorTypeEnum::Value Ifc4x3::IfcDoorType::PredefinedType() const { return ::Ifc4x3::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcDoorType::setPredefinedType(const ::Ifc4x3::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcDoorType::setPredefinedType(const ::Ifc4x3::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3::IfcDoorTypeOperationEnum::Value Ifc4x3::IfcDoorType::OperationType() const { return ::Ifc4x3::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcDoorType::setOperationType(const ::Ifc4x3::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3::IfcDoorType::setOperationType(const ::Ifc4x3::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X3_types[343]); } -void Ifc4x3::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[343]); } +void Ifc4x3::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x3::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_types[347]); } +const ifcopenshell::entity& Ifc4x3::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_types[347]); } void Ifc4x3::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x3::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_types[348]); } +const ifcopenshell::entity& Ifc4x3::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_types[348]); } void Ifc4x3::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x3::IfcDuctFittingTypeEnum::Value > Ifc4x3::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X3_types[349]); } -void Ifc4x3::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_types[349]); } +void Ifc4x3::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x3::IfcDuctFittingTypeEnum::Value Ifc4x3::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X3_types[350]); } -void Ifc4x3::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[350]); } +void Ifc4x3::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x3::IfcDuctSegmentTypeEnum::Value > Ifc4x3::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[352]); } -void Ifc4x3::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[352]); } +void Ifc4x3::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x3::IfcDuctSegmentTypeEnum::Value Ifc4x3::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_types[353]); } -void Ifc4x3::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[353]); } +void Ifc4x3::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x3::IfcDuctSilencerTypeEnum::Value > Ifc4x3::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X3_types[355]); } -void Ifc4x3::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X3_types[355]); } +void Ifc4x3::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x3::IfcDuctSilencerTypeEnum::Value Ifc4x3::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X3_types[356]); } -void Ifc4x3::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[356]); } +void Ifc4x3::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEarthworksCut std::optional< ::Ifc4x3::IfcEarthworksCutTypeEnum::Value > Ifc4x3::IfcEarthworksCut::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcEarthworksCutTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcEarthworksCut::Class() { return *((IfcParse::entity*)IFC4X3_types[360]); } -void Ifc4x3::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcEarthworksCut::Class() { return *((ifcopenshell::entity*)IFC4X3_types[360]); } +void Ifc4x3::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEarthworksElement -const IfcParse::entity& Ifc4x3::IfcEarthworksElement::Class() { return *((IfcParse::entity*)IFC4X3_types[362]); } +const ifcopenshell::entity& Ifc4x3::IfcEarthworksElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[362]); } void Ifc4x3::IfcEarthworksElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEarthworksFill std::optional< ::Ifc4x3::IfcEarthworksFillTypeEnum::Value > Ifc4x3::IfcEarthworksFill::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcEarthworksFillTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcEarthworksFill::Class() { return *((IfcParse::entity*)IFC4X3_types[363]); } -void Ifc4x3::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcEarthworksFill::Class() { return *((ifcopenshell::entity*)IFC4X3_types[363]); } +void Ifc4x3::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEdge ::Ifc4x3::IfcVertex Ifc4x3::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcVertex>(); } @@ -10341,7 +10341,7 @@ void Ifc4x3::IfcEdge::setEdgeStart(const ::Ifc4x3::IfcVertex& v) { set_attribute void Ifc4x3::IfcEdge::setEdgeEnd(const ::Ifc4x3::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X3_types[365]); } +const ifcopenshell::entity& Ifc4x3::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_types[365]); } void Ifc4x3::IfcEdge::initialize(::Ifc4x3::IfcVertex v1_EdgeStart, ::Ifc4x3::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -10351,7 +10351,7 @@ bool Ifc4x3::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value(3); void Ifc4x3::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[366]); } +const ifcopenshell::entity& Ifc4x3::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[366]); } void Ifc4x3::IfcEdgeCurve::initialize(::Ifc4x3::IfcVertex v1_EdgeStart, ::Ifc4x3::IfcVertex v2_EdgeEnd, ::Ifc4x3::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -10359,169 +10359,169 @@ std::vector< ::Ifc4x3::IfcOrientedEdge > Ifc4x3::IfcEdgeLoop::EdgeList() const { void Ifc4x3::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x3::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X3_types[367]); } +const ifcopenshell::entity& Ifc4x3::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_types[367]); } void Ifc4x3::IfcEdgeLoop::initialize(std::vector< ::Ifc4x3::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x3::IfcElectricApplianceTypeEnum::Value > Ifc4x3::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X3_types[368]); } -void Ifc4x3::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_types[368]); } +void Ifc4x3::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x3::IfcElectricApplianceTypeEnum::Value Ifc4x3::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_types[369]); } -void Ifc4x3::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[369]); } +void Ifc4x3::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_types[375]); } -void Ifc4x3::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_types[375]); } +void Ifc4x3::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_types[376]); } -void Ifc4x3::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[376]); } +void Ifc4x3::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[378]); } -void Ifc4x3::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[378]); } +void Ifc4x3::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[379]); } -void Ifc4x3::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[379]); } +void Ifc4x3::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowTreatmentDevice std::optional< ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcElectricFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[381]); } -void Ifc4x3::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcElectricFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[381]); } +void Ifc4x3::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowTreatmentDeviceType ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcElectricFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[382]); } -void Ifc4x3::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcElectricFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[382]); } +void Ifc4x3::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value > Ifc4x3::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X3_types[384]); } -void Ifc4x3::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_types[384]); } +void Ifc4x3::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value Ifc4x3::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X3_types[385]); } -void Ifc4x3::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[385]); } +void Ifc4x3::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x3::IfcElectricMotorTypeEnum::Value > Ifc4x3::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X3_types[387]); } -void Ifc4x3::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X3_types[387]); } +void Ifc4x3::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x3::IfcElectricMotorTypeEnum::Value Ifc4x3::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X3_types[388]); } -void Ifc4x3::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[388]); } +void Ifc4x3::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value > Ifc4x3::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X3_types[391]); } -void Ifc4x3::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X3_types[391]); } +void Ifc4x3::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value Ifc4x3::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X3_types[392]); } -void Ifc4x3::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[392]); } +void Ifc4x3::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x3::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3::IfcRelFillsElement> Ifc4x3::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[937], 5)); } -std::vector<::Ifc4x3::IfcRelConnectsElements> Ifc4x3::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[919], 5)); } -std::vector<::Ifc4x3::IfcRelInterferesElements> Ifc4x3::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[939], 5)); } -std::vector<::Ifc4x3::IfcRelInterferesElements> Ifc4x3::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[939], 4)); } -std::vector<::Ifc4x3::IfcRelProjectsElement> Ifc4x3::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[942], 4)); } -std::vector<::Ifc4x3::IfcRelVoidsElement> Ifc4x3::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[949], 4)); } -std::vector<::Ifc4x3::IfcRelConnectsWithRealizingElements> Ifc4x3::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[926], 7)); } -std::vector<::Ifc4x3::IfcRelSpaceBoundary> Ifc4x3::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[946], 5)); } -std::vector<::Ifc4x3::IfcRelConnectsElements> Ifc4x3::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[919], 6)); } -std::vector<::Ifc4x3::IfcRelContainedInSpatialStructure> Ifc4x3::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[927], 4)); } -std::vector<::Ifc4x3::IfcRelCoversBldgElements> Ifc4x3::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[928], 4)); } -std::vector<::Ifc4x3::IfcRelAdheresToElement> Ifc4x3::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[899], 4)); } +std::vector<::Ifc4x3::IfcRelFillsElement> Ifc4x3::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[937], 5)); } +std::vector<::Ifc4x3::IfcRelConnectsElements> Ifc4x3::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[919], 5)); } +std::vector<::Ifc4x3::IfcRelInterferesElements> Ifc4x3::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[939], 5)); } +std::vector<::Ifc4x3::IfcRelInterferesElements> Ifc4x3::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[939], 4)); } +std::vector<::Ifc4x3::IfcRelProjectsElement> Ifc4x3::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[942], 4)); } +std::vector<::Ifc4x3::IfcRelVoidsElement> Ifc4x3::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[949], 4)); } +std::vector<::Ifc4x3::IfcRelConnectsWithRealizingElements> Ifc4x3::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[926], 7)); } +std::vector<::Ifc4x3::IfcRelSpaceBoundary> Ifc4x3::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[946], 5)); } +std::vector<::Ifc4x3::IfcRelConnectsElements> Ifc4x3::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[919], 6)); } +std::vector<::Ifc4x3::IfcRelContainedInSpatialStructure> Ifc4x3::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[927], 4)); } +std::vector<::Ifc4x3::IfcRelCoversBldgElements> Ifc4x3::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[928], 4)); } +std::vector<::Ifc4x3::IfcRelAdheresToElement> Ifc4x3::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[899], 4)); } -const IfcParse::entity& Ifc4x3::IfcElement::Class() { return *((IfcParse::entity*)IFC4X3_types[395]); } +const ifcopenshell::entity& Ifc4x3::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[395]); } void Ifc4x3::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x3::IfcAssemblyPlaceEnum::Value > Ifc4x3::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3::IfcElementAssemblyTypeEnum::Value > Ifc4x3::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X3_types[397]); } -void Ifc4x3::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_types[397]); } +void Ifc4x3::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x3::IfcElementAssemblyTypeEnum::Value Ifc4x3::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X3_types[398]); } -void Ifc4x3::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[398]); } +void Ifc4x3::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x3::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X3_types[400]); } +const ifcopenshell::entity& Ifc4x3::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X3_types[400]); } void Ifc4x3::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x3::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X3_types[401]); } +const ifcopenshell::entity& Ifc4x3::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[401]); } void Ifc4x3::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -10531,7 +10531,7 @@ std::vector< ::Ifc4x3::IfcPhysicalQuantity > Ifc4x3::IfcElementQuantity::Quantit void Ifc4x3::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x3::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X3_types[403]); } +const ifcopenshell::entity& Ifc4x3::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_types[403]); } void Ifc4x3::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -10539,7 +10539,7 @@ std::optional< std::string > Ifc4x3::IfcElementType::ElementType() const { if(ge void Ifc4x3::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[404]); } +const ifcopenshell::entity& Ifc4x3::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[404]); } void Ifc4x3::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -10547,7 +10547,7 @@ void Ifc4x3::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOw void Ifc4x3::IfcElementarySurface::setPosition(const ::Ifc4x3::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X3_types[396]); } +const ifcopenshell::entity& Ifc4x3::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[396]); } void Ifc4x3::IfcElementarySurface::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -10557,7 +10557,7 @@ double Ifc4x3::IfcEllipse::SemiAxis2() const { double v = get_attribute_value(2 void Ifc4x3::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X3_types[405]); } +const ifcopenshell::entity& Ifc4x3::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X3_types[405]); } void Ifc4x3::IfcEllipse::initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -10567,82 +10567,82 @@ double Ifc4x3::IfcEllipseProfileDef::SemiAxis2() const { double v = get_attribu void Ifc4x3::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[406]); } -void Ifc4x3::IfcEllipseProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x3::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[406]); } +void Ifc4x3::IfcEllipseProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x3::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[407]); } +const ifcopenshell::entity& Ifc4x3::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[407]); } void Ifc4x3::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x3::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[408]); } +const ifcopenshell::entity& Ifc4x3::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[408]); } void Ifc4x3::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x3::IfcEngineTypeEnum::Value > Ifc4x3::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X3_types[410]); } -void Ifc4x3::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X3_types[410]); } +void Ifc4x3::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x3::IfcEngineTypeEnum::Value Ifc4x3::IfcEngineType::PredefinedType() const { return ::Ifc4x3::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcEngineType::setPredefinedType(const ::Ifc4x3::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcEngineType::setPredefinedType(const ::Ifc4x3::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X3_types[411]); } -void Ifc4x3::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[411]); } +void Ifc4x3::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X3_types[413]); } -void Ifc4x3::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X3_types[413]); } +void Ifc4x3::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X3_types[414]); } -void Ifc4x3::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[414]); } +void Ifc4x3::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x3::IfcEvaporatorTypeEnum::Value > Ifc4x3::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X3_types[416]); } -void Ifc4x3::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X3_types[416]); } +void Ifc4x3::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x3::IfcEvaporatorTypeEnum::Value Ifc4x3::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X3_types[417]); } -void Ifc4x3::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[417]); } +void Ifc4x3::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x3::IfcEventTypeEnum::Value > Ifc4x3::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3::IfcEventTriggerTypeEnum::Value > Ifc4x3::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x3::IfcEventTime Ifc4x3::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3::IfcEventTime>(); } void Ifc4x3::IfcEvent::setEventOccurenceTime(const ::Ifc4x3::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X3_types[419]); } -void Ifc4x3::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4x3::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X3_types[419]); } +void Ifc4x3::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x3::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -10655,20 +10655,20 @@ std::optional< std::string > Ifc4x3::IfcEventTime::ScheduleDate() const { if(get void Ifc4x3::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X3_types[420]); } -void Ifc4x3::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X3_types[420]); } +void Ifc4x3::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcEventType ::Ifc4x3::IfcEventTypeEnum::Value Ifc4x3::IfcEventType::PredefinedType() const { return ::Ifc4x3::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcEventType::setPredefinedType(const ::Ifc4x3::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcEventType::setPredefinedType(const ::Ifc4x3::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3::IfcEventTriggerTypeEnum::Value Ifc4x3::IfcEventType::EventTriggerType() const { return ::Ifc4x3::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcEventType::setEventTriggerType(const ::Ifc4x3::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3::IfcEventType::setEventTriggerType(const ::Ifc4x3::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x3::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x3::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X3_types[422]); } -void Ifc4x3::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4x3::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[422]); } +void Ifc4x3::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x3::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10679,13 +10679,13 @@ std::vector< ::Ifc4x3::IfcProperty > Ifc4x3::IfcExtendedProperties::Properties() void Ifc4x3::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x3::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[424]); } +const ifcopenshell::entity& Ifc4x3::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[424]); } void Ifc4x3::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x3::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X3_types[425]); } +const ifcopenshell::entity& Ifc4x3::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[425]); } void Ifc4x3::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -10696,9 +10696,9 @@ void Ifc4x3::IfcExternalReference::setIdentification(const std::optional< std::s std::optional< std::string > Ifc4x3::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 2)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 2)); } -const IfcParse::entity& Ifc4x3::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X3_types[429]); } +const ifcopenshell::entity& Ifc4x3::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X3_types[429]); } void Ifc4x3::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -10708,40 +10708,40 @@ std::vector< ::Ifc4x3::IfcResourceObjectSelect > Ifc4x3::IfcExternalReferenceRel void Ifc4x3::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[430]); } +const ifcopenshell::entity& Ifc4x3::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[430]); } void Ifc4x3::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x3::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3::IfcRelSpaceBoundary> Ifc4x3::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[946], 4)); } +std::vector<::Ifc4x3::IfcRelSpaceBoundary> Ifc4x3::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[946], 4)); } -const IfcParse::entity& Ifc4x3::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_types[431]); } -void Ifc4x3::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[431]); } +void Ifc4x3::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x3::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_types[433]); } +const ifcopenshell::entity& Ifc4x3::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[433]); } void Ifc4x3::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x3::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X3_types[426]); } +const ifcopenshell::entity& Ifc4x3::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[426]); } void Ifc4x3::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x3::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_types[427]); } +const ifcopenshell::entity& Ifc4x3::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[427]); } void Ifc4x3::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x3::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_types[428]); } +const ifcopenshell::entity& Ifc4x3::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_types[428]); } void Ifc4x3::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -10751,7 +10751,7 @@ double Ifc4x3::IfcExtrudedAreaSolid::Depth() const { double v = get_attribute_v void Ifc4x3::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[434]); } +const ifcopenshell::entity& Ifc4x3::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[434]); } void Ifc4x3::IfcExtrudedAreaSolid::initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -10759,16 +10759,16 @@ void Ifc4x3::IfcExtrudedAreaSolid::initialize(::Ifc4x3::IfcProfileDef v1_SweptAr void Ifc4x3::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_types[435]); } +const ifcopenshell::entity& Ifc4x3::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_types[435]); } void Ifc4x3::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x3::IfcFaceBound > Ifc4x3::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcFaceBound>(es); } void Ifc4x3::IfcFace::setBounds(const std::vector< ::Ifc4x3::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3::IfcTextureMap> Ifc4x3::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1195], 2)); } +std::vector<::Ifc4x3::IfcTextureMap> Ifc4x3::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1195], 2)); } -const IfcParse::entity& Ifc4x3::IfcFace::Class() { return *((IfcParse::entity*)IFC4X3_types[436]); } +const ifcopenshell::entity& Ifc4x3::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X3_types[436]); } void Ifc4x3::IfcFace::initialize(std::vector< ::Ifc4x3::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -10776,7 +10776,7 @@ std::vector< ::Ifc4x3::IfcConnectedFaceSet > Ifc4x3::IfcFaceBasedSurfaceModel::F void Ifc4x3::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x3::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_types[437]); } +const ifcopenshell::entity& Ifc4x3::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[437]); } void Ifc4x3::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x3::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -10786,13 +10786,13 @@ bool Ifc4x3::IfcFaceBound::Orientation() const { bool v = get_attribute_value(1 void Ifc4x3::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X3_types[438]); } +const ifcopenshell::entity& Ifc4x3::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X3_types[438]); } void Ifc4x3::IfcFaceBound::initialize(::Ifc4x3::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x3::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X3_types[439]); } +const ifcopenshell::entity& Ifc4x3::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X3_types[439]); } void Ifc4x3::IfcFaceOuterBound::initialize(::Ifc4x3::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -10802,13 +10802,13 @@ bool Ifc4x3::IfcFaceSurface::SameSense() const { bool v = get_attribute_value(2 void Ifc4x3::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[440]); } +const ifcopenshell::entity& Ifc4x3::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[440]); } void Ifc4x3::IfcFaceSurface::initialize(std::vector< ::Ifc4x3::IfcFaceBound > v1_Bounds, ::Ifc4x3::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x3::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X3_types[441]); } +const ifcopenshell::entity& Ifc4x3::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_types[441]); } void Ifc4x3::IfcFacetedBrep::initialize(::Ifc4x3::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -10816,30 +10816,30 @@ std::vector< ::Ifc4x3::IfcClosedShell > Ifc4x3::IfcFacetedBrepWithVoids::Voids() void Ifc4x3::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_types[442]); } +const ifcopenshell::entity& Ifc4x3::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_types[442]); } void Ifc4x3::IfcFacetedBrepWithVoids::initialize(::Ifc4x3::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFacility -const IfcParse::entity& Ifc4x3::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X3_types[443]); } -void Ifc4x3::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_types[443]); } +void Ifc4x3::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFacilityPart ::Ifc4x3::IfcFacilityUsageEnum::Value Ifc4x3::IfcFacilityPart::UsageType() const { return ::Ifc4x3::IfcFacilityUsageEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcFacilityPart::setUsageType(const ::Ifc4x3::IfcFacilityUsageEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcFacilityPart::setUsageType(const ::Ifc4x3::IfcFacilityUsageEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X3_types[444]); } -void Ifc4x3::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); } +const ifcopenshell::entity& Ifc4x3::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X3_types[444]); } +void Ifc4x3::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); } // Function implementations for IfcFacilityPartCommon std::optional< ::Ifc4x3::IfcFacilityPartCommonTypeEnum::Value > Ifc4x3::IfcFacilityPartCommon::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFacilityPartCommonTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcFacilityPartCommon::setPredefinedType(const std::optional< ::Ifc4x3::IfcFacilityPartCommonTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcFacilityPartCommonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcFacilityPartCommon::setPredefinedType(const std::optional< ::Ifc4x3::IfcFacilityPartCommonTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcFacilityPartCommonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcFacilityPartCommon::Class() { return *((IfcParse::entity*)IFC4X3_types[445]); } -void Ifc4x3::IfcFacilityPartCommon::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFacilityPartCommon::Class() { return *((ifcopenshell::entity*)IFC4X3_types[445]); } +void Ifc4x3::IfcFacilityPartCommon::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcFailureConnectionCondition std::optional< double > Ifc4x3::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10856,59 +10856,59 @@ std::optional< double > Ifc4x3::IfcFailureConnectionCondition::CompressionFailur void Ifc4x3::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_types[448]); } +const ifcopenshell::entity& Ifc4x3::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[448]); } void Ifc4x3::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x3::IfcFanTypeEnum::Value > Ifc4x3::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcFan::Class() { return *((IfcParse::entity*)IFC4X3_types[449]); } -void Ifc4x3::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X3_types[449]); } +void Ifc4x3::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x3::IfcFanTypeEnum::Value Ifc4x3::IfcFanType::PredefinedType() const { return ::Ifc4x3::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcFanType::setPredefinedType(const ::Ifc4x3::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcFanType::setPredefinedType(const ::Ifc4x3::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X3_types[450]); } -void Ifc4x3::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[450]); } +void Ifc4x3::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x3::IfcFastenerTypeEnum::Value > Ifc4x3::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X3_types[452]); } -void Ifc4x3::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_types[452]); } +void Ifc4x3::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x3::IfcFastenerTypeEnum::Value Ifc4x3::IfcFastenerType::PredefinedType() const { return ::Ifc4x3::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcFastenerType::setPredefinedType(const ::Ifc4x3::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcFastenerType::setPredefinedType(const ::Ifc4x3::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_types[453]); } -void Ifc4x3::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[453]); } +void Ifc4x3::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x3::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X3_types[455]); } +const ifcopenshell::entity& Ifc4x3::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[455]); } void Ifc4x3::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x3::IfcRelProjectsElement> Ifc4x3::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[942], 5)); } +std::vector<::Ifc4x3::IfcRelProjectsElement> Ifc4x3::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[942], 5)); } -const IfcParse::entity& Ifc4x3::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X3_types[456]); } +const ifcopenshell::entity& Ifc4x3::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[456]); } void Ifc4x3::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x3::IfcRelVoidsElement> Ifc4x3::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[949], 5)); } +std::vector<::Ifc4x3::IfcRelVoidsElement> Ifc4x3::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[949], 5)); } -const IfcParse::entity& Ifc4x3::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X3_types[457]); } +const ifcopenshell::entity& Ifc4x3::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[457]); } void Ifc4x3::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -10918,7 +10918,7 @@ std::optional< bool > Ifc4x3::IfcFillAreaStyle::ModelOrDraughting() const { if(g void Ifc4x3::IfcFillAreaStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X3_types[458]); } +const ifcopenshell::entity& Ifc4x3::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[458]); } void Ifc4x3::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -10934,7 +10934,7 @@ double Ifc4x3::IfcFillAreaStyleHatching::HatchLineAngle() const { double v = ge void Ifc4x3::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X3_types[459]); } +const ifcopenshell::entity& Ifc4x3::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X3_types[459]); } void Ifc4x3::IfcFillAreaStyleHatching::initialize(::Ifc4x3::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -10946,231 +10946,231 @@ double Ifc4x3::IfcFillAreaStyleTiles::TilingScale() const { double v = get_attr void Ifc4x3::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X3_types[460]); } +const ifcopenshell::entity& Ifc4x3::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X3_types[460]); } void Ifc4x3::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x3::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x3::IfcFilterTypeEnum::Value > Ifc4x3::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X3_types[462]); } -void Ifc4x3::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X3_types[462]); } +void Ifc4x3::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x3::IfcFilterTypeEnum::Value Ifc4x3::IfcFilterType::PredefinedType() const { return ::Ifc4x3::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcFilterType::setPredefinedType(const ::Ifc4x3::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcFilterType::setPredefinedType(const ::Ifc4x3::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X3_types[463]); } -void Ifc4x3::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[463]); } +void Ifc4x3::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X3_types[465]); } -void Ifc4x3::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[465]); } +void Ifc4x3::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_types[466]); } -void Ifc4x3::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[466]); } +void Ifc4x3::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x3::IfcDirection Ifc4x3::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3::IfcDirection>(); } void Ifc4x3::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[468]); } +const ifcopenshell::entity& Ifc4x3::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[468]); } void Ifc4x3::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcCurve v3_Directrix, ::Ifc4x3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x3::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X3_types[469]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X3_types[469]); } void Ifc4x3::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x3::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X3_types[470]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[470]); } void Ifc4x3::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x3::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X3_types[472]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_types[472]); } void Ifc4x3::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x3::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X3_types[473]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[473]); } void Ifc4x3::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value > Ifc4x3::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X3_types[474]); } -void Ifc4x3::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X3_types[474]); } +void Ifc4x3::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value Ifc4x3::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X3_types[475]); } -void Ifc4x3::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[475]); } +void Ifc4x3::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x3::IfcFlowMeterTypeEnum::Value > Ifc4x3::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X3_types[477]); } -void Ifc4x3::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X3_types[477]); } +void Ifc4x3::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x3::IfcFlowMeterTypeEnum::Value Ifc4x3::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X3_types[478]); } -void Ifc4x3::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[478]); } +void Ifc4x3::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x3::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[480]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[480]); } void Ifc4x3::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x3::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[481]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[481]); } void Ifc4x3::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x3::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[482]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[482]); } void Ifc4x3::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x3::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_types[483]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[483]); } void Ifc4x3::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x3::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[484]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[484]); } void Ifc4x3::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x3::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[485]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[485]); } void Ifc4x3::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x3::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X3_types[486]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[486]); } void Ifc4x3::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x3::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_types[487]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[487]); } void Ifc4x3::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x3::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[488]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[488]); } void Ifc4x3::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x3::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[489]); } +const ifcopenshell::entity& Ifc4x3::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[489]); } void Ifc4x3::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x3::IfcFootingTypeEnum::Value > Ifc4x3::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X3_types[493]); } -void Ifc4x3::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X3_types[493]); } +void Ifc4x3::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x3::IfcFootingTypeEnum::Value Ifc4x3::IfcFootingType::PredefinedType() const { return ::Ifc4x3::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcFootingType::setPredefinedType(const ::Ifc4x3::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcFootingType::setPredefinedType(const ::Ifc4x3::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X3_types[494]); } -void Ifc4x3::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[494]); } +void Ifc4x3::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x3::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X3_types[498]); } +const ifcopenshell::entity& Ifc4x3::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[498]); } void Ifc4x3::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x3::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[499]); } +const ifcopenshell::entity& Ifc4x3::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[499]); } void Ifc4x3::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > Ifc4x3::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X3_types[500]); } -void Ifc4x3::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X3_types[500]); } +void Ifc4x3::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x3::IfcAssemblyPlaceEnum::Value Ifc4x3::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > Ifc4x3::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X3_types[501]); } -void Ifc4x3::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[501]); } +void Ifc4x3::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x3::IfcGeographicElementTypeEnum::Value > Ifc4x3::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X3_types[503]); } -void Ifc4x3::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[503]); } +void Ifc4x3::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x3::IfcGeographicElementTypeEnum::Value Ifc4x3::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[504]); } -void Ifc4x3::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[504]); } +void Ifc4x3::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x3::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X3_types[506]); } +const ifcopenshell::entity& Ifc4x3::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[506]); } void Ifc4x3::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -11183,16 +11183,16 @@ void Ifc4x3::IfcGeometricRepresentationContext::setWorldCoordinateSystem(const : ::Ifc4x3::IfcDirection Ifc4x3::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3::IfcDirection>(); } void Ifc4x3::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3::IfcGeometricRepresentationSubContext> Ifc4x3::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[510], 6)); } -std::vector<::Ifc4x3::IfcCoordinateOperation> Ifc4x3::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[244], 0)); } +std::vector<::Ifc4x3::IfcGeometricRepresentationSubContext> Ifc4x3::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[510], 6)); } +std::vector<::Ifc4x3::IfcCoordinateOperation> Ifc4x3::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[244], 0)); } -const IfcParse::entity& Ifc4x3::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_types[508]); } +const ifcopenshell::entity& Ifc4x3::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_types[508]); } void Ifc4x3::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x3::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_types[509]); } +const ifcopenshell::entity& Ifc4x3::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[509]); } void Ifc4x3::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -11201,53 +11201,53 @@ void Ifc4x3::IfcGeometricRepresentationSubContext::setParentContext(const ::Ifc4 std::optional< double > Ifc4x3::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3::IfcGeometricProjectionEnum::Value Ifc4x3::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x3::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x3::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X3_types[510]); } -void Ifc4x3::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4x3::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X3_types[510]); } +void Ifc4x3::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x3::IfcGeometricSetSelect > Ifc4x3::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcGeometricSetSelect>(es); } void Ifc4x3::IfcGeometricSet::setElements(const std::vector< ::Ifc4x3::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X3_types[511]); } +const ifcopenshell::entity& Ifc4x3::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[511]); } void Ifc4x3::IfcGeometricSet::initialize(std::vector< ::Ifc4x3::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeomodel -const IfcParse::entity& Ifc4x3::IfcGeomodel::Class() { return *((IfcParse::entity*)IFC4X3_types[513]); } +const ifcopenshell::entity& Ifc4x3::IfcGeomodel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[513]); } void Ifc4x3::IfcGeomodel::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeoslice -const IfcParse::entity& Ifc4x3::IfcGeoslice::Class() { return *((IfcParse::entity*)IFC4X3_types[514]); } +const ifcopenshell::entity& Ifc4x3::IfcGeoslice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[514]); } void Ifc4x3::IfcGeoslice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalAssembly -const IfcParse::entity& Ifc4x3::IfcGeotechnicalAssembly::Class() { return *((IfcParse::entity*)IFC4X3_types[515]); } +const ifcopenshell::entity& Ifc4x3::IfcGeotechnicalAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_types[515]); } void Ifc4x3::IfcGeotechnicalAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalElement -const IfcParse::entity& Ifc4x3::IfcGeotechnicalElement::Class() { return *((IfcParse::entity*)IFC4X3_types[516]); } +const ifcopenshell::entity& Ifc4x3::IfcGeotechnicalElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[516]); } void Ifc4x3::IfcGeotechnicalElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalStratum std::optional< ::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value > Ifc4x3::IfcGeotechnicalStratum::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcGeotechnicalStratumTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcGeotechnicalStratum::setPredefinedType(const std::optional< ::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcGeotechnicalStratum::setPredefinedType(const std::optional< ::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcGeotechnicalStratum::Class() { return *((IfcParse::entity*)IFC4X3_types[517]); } -void Ifc4x3::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcGeotechnicalStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_types[517]); } +void Ifc4x3::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGradientCurve ::Ifc4x3::IfcBoundedCurve Ifc4x3::IfcGradientCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcBoundedCurve>(); } @@ -11256,7 +11256,7 @@ void Ifc4x3::IfcGradientCurve::setBaseCurve(const ::Ifc4x3::IfcBoundedCurve& v) void Ifc4x3::IfcGradientCurve::setEndPoint(const ::Ifc4x3::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcGradientCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[521]); } +const ifcopenshell::entity& Ifc4x3::IfcGradientCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[521]); } void Ifc4x3::IfcGradientCurve::initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcGrid @@ -11267,11 +11267,11 @@ void Ifc4x3::IfcGrid::setVAxes(const std::vector< ::Ifc4x3::IfcGridAxis >& v) { std::optional< std::vector< ::Ifc4x3::IfcGridAxis > > Ifc4x3::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3::IfcGridAxis>(es); } void Ifc4x3::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x3::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3::IfcGridTypeEnum::Value > Ifc4x3::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X3_types[522]); } -void Ifc4x3::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[522]); } +void Ifc4x3::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x3::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11281,12 +11281,12 @@ void Ifc4x3::IfcGridAxis::setAxisCurve(const ::Ifc4x3::IfcCurve& v) { set_attrib bool Ifc4x3::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x3::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3::IfcGrid> Ifc4x3::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[522], 9)); } -std::vector<::Ifc4x3::IfcGrid> Ifc4x3::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[522], 8)); } -std::vector<::Ifc4x3::IfcGrid> Ifc4x3::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[522], 7)); } -std::vector<::Ifc4x3::IfcVirtualGridIntersection> Ifc4x3::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1276], 0)); } +std::vector<::Ifc4x3::IfcGrid> Ifc4x3::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[522], 9)); } +std::vector<::Ifc4x3::IfcGrid> Ifc4x3::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[522], 8)); } +std::vector<::Ifc4x3::IfcGrid> Ifc4x3::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[522], 7)); } +std::vector<::Ifc4x3::IfcVirtualGridIntersection> Ifc4x3::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1276], 0)); } -const IfcParse::entity& Ifc4x3::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X3_types[523]); } +const ifcopenshell::entity& Ifc4x3::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X3_types[523]); } void Ifc4x3::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -11296,15 +11296,15 @@ void Ifc4x3::IfcGridPlacement::setPlacementLocation(const ::Ifc4x3::IfcVirtualGr void Ifc4x3::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x3::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X3_types[524]); } +const ifcopenshell::entity& Ifc4x3::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[524]); } void Ifc4x3::IfcGridPlacement::initialize(::Ifc4x3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x3::IfcRelAssignsToGroup> Ifc4x3::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[904], 6)); } -std::vector<::Ifc4x3::IfcRelReferencedInSpatialStructure> Ifc4x3::IfcGroup::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[943], 4)); } +std::vector<::Ifc4x3::IfcRelAssignsToGroup> Ifc4x3::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[904], 6)); } +std::vector<::Ifc4x3::IfcRelReferencedInSpatialStructure> Ifc4x3::IfcGroup::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[943], 4)); } -const IfcParse::entity& Ifc4x3::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X3_types[527]); } +const ifcopenshell::entity& Ifc4x3::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_types[527]); } void Ifc4x3::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -11314,40 +11314,40 @@ bool Ifc4x3::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attribute_ void Ifc4x3::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[528]); } +const ifcopenshell::entity& Ifc4x3::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[528]); } void Ifc4x3::IfcHalfSpaceSolid::initialize(::Ifc4x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x3::IfcHeatExchangerTypeEnum::Value > Ifc4x3::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X3_types[530]); } -void Ifc4x3::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X3_types[530]); } +void Ifc4x3::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x3::IfcHeatExchangerTypeEnum::Value Ifc4x3::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X3_types[531]); } -void Ifc4x3::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[531]); } +void Ifc4x3::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x3::IfcHumidifierTypeEnum::Value > Ifc4x3::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X3_types[535]); } -void Ifc4x3::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X3_types[535]); } +void Ifc4x3::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x3::IfcHumidifierTypeEnum::Value Ifc4x3::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcHumidifierType::setPredefinedType(const ::Ifc4x3::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcHumidifierType::setPredefinedType(const ::Ifc4x3::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X3_types[536]); } -void Ifc4x3::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[536]); } +void Ifc4x3::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x3::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -11366,32 +11366,32 @@ std::optional< double > Ifc4x3::IfcIShapeProfileDef::FlangeSlope() const { if(ge void Ifc4x3::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[565]); } -void Ifc4x3::IfcIShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[565]); } +void Ifc4x3::IfcIShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x3::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X3_types[540]); } +const ifcopenshell::entity& Ifc4x3::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_types[540]); } void Ifc4x3::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcImpactProtectionDevice std::optional< ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value > Ifc4x3::IfcImpactProtectionDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcImpactProtectionDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcImpactProtectionDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcImpactProtectionDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[541]); } -void Ifc4x3::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcImpactProtectionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[541]); } +void Ifc4x3::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcImpactProtectionDeviceType ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3::IfcImpactProtectionDeviceType::PredefinedType() const { return ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcImpactProtectionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[542]); } -void Ifc4x3::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcImpactProtectionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[542]); } +void Ifc4x3::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIndexedColourMap ::Ifc4x3::IfcTessellatedFaceSet Ifc4x3::IfcIndexedColourMap::MappedTo() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcTessellatedFaceSet>(); } @@ -11404,7 +11404,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3::IfcIndexedColourMap::ColourIndex() const { void Ifc4x3::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X3_types[544]); } +const ifcopenshell::entity& Ifc4x3::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_types[544]); } void Ifc4x3::IfcIndexedColourMap::initialize(::Ifc4x3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -11416,17 +11416,17 @@ boost::logic::tribool Ifc4x3::IfcIndexedPolyCurve::SelfIntersect() const { boos void Ifc4x3::IfcIndexedPolyCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[545]); } +const ifcopenshell::entity& Ifc4x3::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[545]); } void Ifc4x3::IfcIndexedPolyCurve::initialize(::Ifc4x3::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3::IfcSegmentIndexSelect > > v2_Segments, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); }set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x3::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x3::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3::IfcPolygonalFaceSet> Ifc4x3::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[771], 2)); } -std::vector<::Ifc4x3::IfcTextureCoordinateIndices> Ifc4x3::IfcIndexedPolygonalFace::HasTexCoords() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1193], 1)); } +std::vector<::Ifc4x3::IfcPolygonalFaceSet> Ifc4x3::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[771], 2)); } +std::vector<::Ifc4x3::IfcTextureCoordinateIndices> Ifc4x3::IfcIndexedPolygonalFace::HasTexCoords() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1193], 1)); } -const IfcParse::entity& Ifc4x3::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X3_types[546]); } +const ifcopenshell::entity& Ifc4x3::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_types[546]); } void Ifc4x3::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -11434,7 +11434,7 @@ std::vector< std::vector< int > > Ifc4x3::IfcIndexedPolygonalFaceWithVoids::Inne void Ifc4x3::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_types[547]); } +const ifcopenshell::entity& Ifc4x3::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_types[547]); } void Ifc4x3::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedPolygonalTextureMap @@ -11442,7 +11442,7 @@ std::vector< ::Ifc4x3::IfcTextureCoordinateIndices > Ifc4x3::IfcIndexedPolygonal void Ifc4x3::IfcIndexedPolygonalTextureMap::setTexCoordIndices(const std::vector< ::Ifc4x3::IfcTextureCoordinateIndices >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcIndexedPolygonalTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_types[548]); } +const ifcopenshell::entity& Ifc4x3::IfcIndexedPolygonalTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_types[548]); } void Ifc4x3::IfcIndexedPolygonalTextureMap::initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3::IfcTextureVertexList v3_TexCoords, std::vector< ::Ifc4x3::IfcTextureCoordinateIndices > v4_TexCoordIndices) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords));set_attribute_value(3, cast_vector(v4_TexCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -11452,7 +11452,7 @@ void Ifc4x3::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x3::IfcTessellatedFac void Ifc4x3::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x3::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_types[549]); } +const ifcopenshell::entity& Ifc4x3::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_types[549]); } void Ifc4x3::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -11460,34 +11460,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x3::IfcIndexedTriangleTex void Ifc4x3::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_types[550]); } +const ifcopenshell::entity& Ifc4x3::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_types[550]); } void Ifc4x3::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x3::IfcInterceptorTypeEnum::Value > Ifc4x3::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X3_types[554]); } -void Ifc4x3::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X3_types[554]); } +void Ifc4x3::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x3::IfcInterceptorTypeEnum::Value Ifc4x3::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcInterceptorType::setPredefinedType(const ::Ifc4x3::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcInterceptorType::setPredefinedType(const ::Ifc4x3::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X3_types[555]); } -void Ifc4x3::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[555]); } +void Ifc4x3::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x3::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[559]); } -void Ifc4x3::IfcIntersectionCurve::initialize(::Ifc4x3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[559]); } +void Ifc4x3::IfcIntersectionCurve::initialize(::Ifc4x3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x3::IfcInventoryTypeEnum::Value > Ifc4x3::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x3::IfcActorSelect Ifc4x3::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcActorSelect>(); } void Ifc4x3::IfcInventory::setJurisdiction(const ::Ifc4x3::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3::IfcPerson > > Ifc4x3::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3::IfcPerson>(es); } @@ -11500,16 +11500,16 @@ void Ifc4x3::IfcInventory::setCurrentValue(const ::Ifc4x3::IfcCostValue& v) { se void Ifc4x3::IfcInventory::setOriginalValue(const ::Ifc4x3::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X3_types[560]); } -void Ifc4x3::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3::IfcCostValue v10_CurrentValue, ::Ifc4x3::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x3::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X3_types[560]); } +void Ifc4x3::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3::IfcCostValue v10_CurrentValue, ::Ifc4x3::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x3::IfcIrregularTimeSeriesValue > Ifc4x3::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3::IfcIrregularTimeSeriesValue>(es); } void Ifc4x3::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x3::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_types[563]); } -void Ifc4x3::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3::IfcUnit v8_Unit, std::vector< ::Ifc4x3::IfcIrregularTimeSeriesValue > v9_Values) { 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::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x3::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_types[563]); } +void Ifc4x3::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3::IfcUnit v8_Unit, std::vector< ::Ifc4x3::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x3::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -11518,31 +11518,31 @@ std::vector< ::Ifc4x3::IfcValue > Ifc4x3::IfcIrregularTimeSeriesValue::ListValue void Ifc4x3::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_types[564]); } +const ifcopenshell::entity& Ifc4x3::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[564]); } void Ifc4x3::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x3::IfcJunctionBoxTypeEnum::Value > Ifc4x3::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X3_types[567]); } -void Ifc4x3::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X3_types[567]); } +void Ifc4x3::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x3::IfcJunctionBoxTypeEnum::Value Ifc4x3::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X3_types[568]); } -void Ifc4x3::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[568]); } +void Ifc4x3::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcKerb bool Ifc4x3::IfcKerb::Mountable() const { bool v = get_attribute_value(8); return v; } void Ifc4x3::IfcKerb::setMountable(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcKerb::Class() { return *((IfcParse::entity*)IFC4X3_types[570]); } +const ifcopenshell::entity& Ifc4x3::IfcKerb::Class() { return *((ifcopenshell::entity*)IFC4X3_types[570]); } void Ifc4x3::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_Mountable)); } // Function implementations for IfcKerbType @@ -11550,7 +11550,7 @@ bool Ifc4x3::IfcKerbType::Mountable() const { bool v = get_attribute_value(9); void Ifc4x3::IfcKerbType::setMountable(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcKerbType::Class() { return *((IfcParse::entity*)IFC4X3_types[571]); } +const ifcopenshell::entity& Ifc4x3::IfcKerbType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[571]); } void Ifc4x3::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_Mountable)); } // Function implementations for IfcLShapeProfileDef @@ -11568,50 +11568,50 @@ std::optional< double > Ifc4x3::IfcLShapeProfileDef::LegSlope() const { if(get_a void Ifc4x3::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[620]); } -void Ifc4x3::IfcLShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[620]); } +void Ifc4x3::IfcLShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x3::IfcLaborResourceTypeEnum::Value > Ifc4x3::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X3_types[575]); } -void Ifc4x3::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[575]); } +void Ifc4x3::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x3::IfcLaborResourceTypeEnum::Value Ifc4x3::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X3_types[576]); } -void Ifc4x3::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[576]); } +void Ifc4x3::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x3::IfcTimeOrRatioSelect Ifc4x3::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3::IfcTimeOrRatioSelect>(); } void Ifc4x3::IfcLagTime::setLagValue(const ::Ifc4x3::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3::IfcTaskDurationEnum::Value Ifc4x3::IfcLagTime::DurationType() const { return ::Ifc4x3::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3::IfcLagTime::setDurationType(const ::Ifc4x3::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3::IfcLagTime::setDurationType(const ::Ifc4x3::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X3_types[578]); } -void Ifc4x3::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4x3::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x3::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X3_types[578]); } +void Ifc4x3::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x3::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x3::IfcLampTypeEnum::Value > Ifc4x3::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X3_types[579]); } -void Ifc4x3::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X3_types[579]); } +void Ifc4x3::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x3::IfcLampTypeEnum::Value Ifc4x3::IfcLampType::PredefinedType() const { return ::Ifc4x3::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcLampType::setPredefinedType(const ::Ifc4x3::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcLampType::setPredefinedType(const ::Ifc4x3::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X3_types[580]); } -void Ifc4x3::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[580]); } +void Ifc4x3::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x3::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11627,10 +11627,10 @@ void Ifc4x3::IfcLibraryInformation::setLocation(const std::optional< std::string std::optional< std::string > Ifc4x3::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3::IfcRelAssociatesLibrary> Ifc4x3::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[914], 5)); } -std::vector<::Ifc4x3::IfcLibraryReference> Ifc4x3::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[587], 5)); } +std::vector<::Ifc4x3::IfcRelAssociatesLibrary> Ifc4x3::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[914], 5)); } +std::vector<::Ifc4x3::IfcLibraryReference> Ifc4x3::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[587], 5)); } -const IfcParse::entity& Ifc4x3::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X3_types[586]); } +const ifcopenshell::entity& Ifc4x3::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[586]); } void Ifc4x3::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -11641,9 +11641,9 @@ void Ifc4x3::IfcLibraryReference::setLanguage(const std::optional< std::string > ::Ifc4x3::IfcLibraryInformation Ifc4x3::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3::IfcLibraryInformation>(); } void Ifc4x3::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x3::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3::IfcRelAssociatesLibrary> Ifc4x3::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[914], 5)); } +std::vector<::Ifc4x3::IfcRelAssociatesLibrary> Ifc4x3::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[914], 5)); } -const IfcParse::entity& Ifc4x3::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X3_types[587]); } +const ifcopenshell::entity& Ifc4x3::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X3_types[587]); } void Ifc4x3::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -11655,34 +11655,34 @@ std::vector< double > /*[1:?]*/ Ifc4x3::IfcLightDistributionData::LuminousIntens void Ifc4x3::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X3_types[590]); } +const ifcopenshell::entity& Ifc4x3::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X3_types[590]); } void Ifc4x3::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x3::IfcLightFixtureTypeEnum::Value > Ifc4x3::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X3_types[593]); } -void Ifc4x3::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X3_types[593]); } +void Ifc4x3::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x3::IfcLightFixtureTypeEnum::Value Ifc4x3::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X3_types[594]); } -void Ifc4x3::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[594]); } +void Ifc4x3::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x3::IfcLightDistributionCurveEnum::Value Ifc4x3::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x3::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x3::IfcLightDistributionData > Ifc4x3::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3::IfcLightDistributionData>(es); } void Ifc4x3::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x3::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X3_types[596]); } -void Ifc4x3::IfcLightIntensityDistribution::initialize(::Ifc4x3::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x3::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X3_types[596]); } +void Ifc4x3::IfcLightIntensityDistribution::initialize(::Ifc4x3::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x3::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11695,13 +11695,13 @@ std::optional< double > Ifc4x3::IfcLightSource::Intensity() const { if(get_attri void Ifc4x3::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X3_types[597]); } +const ifcopenshell::entity& Ifc4x3::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[597]); } void Ifc4x3::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x3::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X3_types[598]); } +const ifcopenshell::entity& Ifc4x3::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X3_types[598]); } void Ifc4x3::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -11709,7 +11709,7 @@ void Ifc4x3::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_N void Ifc4x3::IfcLightSourceDirectional::setOrientation(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X3_types[599]); } +const ifcopenshell::entity& Ifc4x3::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X3_types[599]); } void Ifc4x3::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -11722,13 +11722,13 @@ void Ifc4x3::IfcLightSourceGoniometric::setColourTemperature(const double& v) { double Ifc4x3::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x3::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3::IfcLightEmissionSourceEnum::Value Ifc4x3::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x3::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3::IfcLightDistributionDataSourceSelect Ifc4x3::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3::IfcLightDistributionDataSourceSelect>(); } void Ifc4x3::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x3::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X3_types[600]); } -void Ifc4x3::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3::IfcAxis2Placement3D v5_Position, ::Ifc4x3::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4x3::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X3_types[600]); } +void Ifc4x3::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3::IfcAxis2Placement3D v5_Position, ::Ifc4x3::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x3::IfcCartesianPoint Ifc4x3::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcCartesianPoint>(); } @@ -11743,7 +11743,7 @@ double Ifc4x3::IfcLightSourcePositional::QuadricAttenuation() const { double v void Ifc4x3::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X3_types[601]); } +const ifcopenshell::entity& Ifc4x3::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X3_types[601]); } void Ifc4x3::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -11757,7 +11757,7 @@ double Ifc4x3::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_attr void Ifc4x3::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X3_types[602]); } +const ifcopenshell::entity& Ifc4x3::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X3_types[602]); } void Ifc4x3::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -11767,13 +11767,13 @@ void Ifc4x3::IfcLine::setPnt(const ::Ifc4x3::IfcCartesianPoint& v) { set_attribu void Ifc4x3::IfcLine::setDir(const ::Ifc4x3::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcLine::Class() { return *((IfcParse::entity*)IFC4X3_types[603]); } +const ifcopenshell::entity& Ifc4x3::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X3_types[603]); } void Ifc4x3::IfcLine::initialize(::Ifc4x3::IfcCartesianPoint v1_Pnt, ::Ifc4x3::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLinearElement -const IfcParse::entity& Ifc4x3::IfcLinearElement::Class() { return *((IfcParse::entity*)IFC4X3_types[604]); } +const ifcopenshell::entity& Ifc4x3::IfcLinearElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[604]); } void Ifc4x3::IfcLinearElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLinearPlacement @@ -11783,43 +11783,43 @@ void Ifc4x3::IfcLinearPlacement::setRelativePlacement(const ::Ifc4x3::IfcAxis2Pl void Ifc4x3::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x3::IfcAxis2Placement3D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X3_types[607]); } +const ifcopenshell::entity& Ifc4x3::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[607]); } void Ifc4x3::IfcLinearPlacement::initialize(::Ifc4x3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3::IfcAxis2Placement3D v3_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement));set_attribute_value(2, (v3_CartesianPosition)); } // Function implementations for IfcLinearPositioningElement -const IfcParse::entity& Ifc4x3::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_types[608]); } +const ifcopenshell::entity& Ifc4x3::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[608]); } void Ifc4x3::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLiquidTerminal std::optional< ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value > Ifc4x3::IfcLiquidTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcLiquidTerminal::Class() { return *((IfcParse::entity*)IFC4X3_types[612]); } -void Ifc4x3::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcLiquidTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[612]); } +void Ifc4x3::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLiquidTerminalType ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value Ifc4x3::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcLiquidTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_types[613]); } -void Ifc4x3::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcLiquidTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[613]); } +void Ifc4x3::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLocalPlacement ::Ifc4x3::IfcAxis2Placement Ifc4x3::IfcLocalPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcAxis2Placement>(); } void Ifc4x3::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x3::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X3_types[616]); } +const ifcopenshell::entity& Ifc4x3::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[616]); } void Ifc4x3::IfcLocalPlacement::initialize(::Ifc4x3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x3::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X3_types[619]); } +const ifcopenshell::entity& Ifc4x3::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_types[619]); } void Ifc4x3::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -11827,7 +11827,7 @@ void Ifc4x3::IfcLoop::initialize() { } void Ifc4x3::IfcManifoldSolidBrep::setOuter(const ::Ifc4x3::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X3_types[626]); } +const ifcopenshell::entity& Ifc4x3::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_types[626]); } void Ifc4x3::IfcManifoldSolidBrep::initialize(::Ifc4x3::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -11849,7 +11849,7 @@ std::optional< double > Ifc4x3::IfcMapConversion::ScaleZ() const { if(get_attrib void Ifc4x3::IfcMapConversion::setScaleZ(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X3_types[627]); } +const ifcopenshell::entity& Ifc4x3::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X3_types[627]); } void Ifc4x3::IfcMapConversion::initialize(::Ifc4x3::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, std::optional< double > v9_ScaleY, std::optional< double > v10_ScaleZ) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } if (v9_ScaleY) {set_attribute_value(8, (*v9_ScaleY)); } if (v10_ScaleZ) {set_attribute_value(9, (*v10_ScaleZ)); } } // Function implementations for IfcMappedItem @@ -11859,24 +11859,24 @@ void Ifc4x3::IfcMappedItem::setMappingSource(const ::Ifc4x3::IfcRepresentationMa void Ifc4x3::IfcMappedItem::setMappingTarget(const ::Ifc4x3::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X3_types[628]); } +const ifcopenshell::entity& Ifc4x3::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[628]); } void Ifc4x3::IfcMappedItem::initialize(::Ifc4x3::IfcRepresentationMap v1_MappingSource, ::Ifc4x3::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMarineFacility std::optional< ::Ifc4x3::IfcMarineFacilityTypeEnum::Value > Ifc4x3::IfcMarineFacility::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcMarineFacilityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcMarineFacility::Class() { return *((IfcParse::entity*)IFC4X3_types[629]); } -void Ifc4x3::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcMarineFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_types[629]); } +void Ifc4x3::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcMarinePart std::optional< ::Ifc4x3::IfcMarinePartTypeEnum::Value > Ifc4x3::IfcMarinePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcMarinePartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcMarinePart::setPredefinedType(const std::optional< ::Ifc4x3::IfcMarinePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcMarinePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcMarinePart::setPredefinedType(const std::optional< ::Ifc4x3::IfcMarinePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcMarinePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcMarinePart::Class() { return *((IfcParse::entity*)IFC4X3_types[631]); } -void Ifc4x3::IfcMarinePart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcMarinePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcMarinePart::Class() { return *((ifcopenshell::entity*)IFC4X3_types[631]); } +void Ifc4x3::IfcMarinePart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcMarinePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMaterial std::string Ifc4x3::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11886,11 +11886,11 @@ void Ifc4x3::IfcMaterial::setDescription(const std::optional< std::string >& v) std::optional< std::string > Ifc4x3::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3::IfcMaterialDefinitionRepresentation> Ifc4x3::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[642], 3)); } -std::vector<::Ifc4x3::IfcMaterialRelationship> Ifc4x3::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[654], 3)); } -std::vector<::Ifc4x3::IfcMaterialRelationship> Ifc4x3::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[654], 2)); } +std::vector<::Ifc4x3::IfcMaterialDefinitionRepresentation> Ifc4x3::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[642], 3)); } +std::vector<::Ifc4x3::IfcMaterialRelationship> Ifc4x3::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[654], 3)); } +std::vector<::Ifc4x3::IfcMaterialRelationship> Ifc4x3::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[654], 2)); } -const IfcParse::entity& Ifc4x3::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X3_types[637]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_types[637]); } void Ifc4x3::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -11900,7 +11900,7 @@ void Ifc4x3::IfcMaterialClassificationRelationship::setMaterialClassifications(c void Ifc4x3::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x3::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[638]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[638]); } void Ifc4x3::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x3::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -11915,9 +11915,9 @@ void Ifc4x3::IfcMaterialConstituent::setFraction(const std::optional< double >& std::optional< std::string > Ifc4x3::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3::IfcMaterialConstituentSet> Ifc4x3::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[640], 2)); } +std::vector<::Ifc4x3::IfcMaterialConstituentSet> Ifc4x3::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[640], 2)); } -const IfcParse::entity& Ifc4x3::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X3_types[639]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X3_types[639]); } void Ifc4x3::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -11929,16 +11929,16 @@ std::optional< std::vector< ::Ifc4x3::IfcMaterialConstituent > > Ifc4x3::IfcMate void Ifc4x3::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X3_types[640]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[640]); } void Ifc4x3::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x3::IfcRelAssociatesMaterial> Ifc4x3::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[915], 5)); } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } -std::vector<::Ifc4x3::IfcMaterialProperties> Ifc4x3::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[653], 3)); } +std::vector<::Ifc4x3::IfcRelAssociatesMaterial> Ifc4x3::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[915], 5)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcMaterialProperties> Ifc4x3::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[653], 3)); } -const IfcParse::entity& Ifc4x3::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X3_types[641]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[641]); } void Ifc4x3::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -11946,7 +11946,7 @@ void Ifc4x3::IfcMaterialDefinition::initialize() { } void Ifc4x3::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x3::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_types[642]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[642]); } void Ifc4x3::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcRepresentation > v3_Representations, ::Ifc4x3::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -11965,9 +11965,9 @@ void Ifc4x3::IfcMaterialLayer::setCategory(const std::optional< std::string >& v std::optional< int > Ifc4x3::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x3::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3::IfcMaterialLayerSet> Ifc4x3::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[644], 0)); } +std::vector<::Ifc4x3::IfcMaterialLayerSet> Ifc4x3::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[644], 0)); } -const IfcParse::entity& Ifc4x3::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X3_types[643]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_types[643]); } void Ifc4x3::IfcMaterialLayer::initialize(::Ifc4x3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -11979,41 +11979,41 @@ std::optional< std::string > Ifc4x3::IfcMaterialLayerSet::Description() const { void Ifc4x3::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X3_types[644]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[644]); } void Ifc4x3::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x3::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x3::IfcMaterialLayerSet Ifc4x3::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcMaterialLayerSet>(); } void Ifc4x3::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x3::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3::IfcLayerSetDirectionEnum::Value Ifc4x3::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x3::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x3::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3::IfcDirectionSenseEnum::Value Ifc4x3::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x3::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x3::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x3::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x3::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x3::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_types[645]); } -void Ifc4x3::IfcMaterialLayerSetUsage::initialize(::Ifc4x3::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4x3::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_types[645]); } +void Ifc4x3::IfcMaterialLayerSetUsage::initialize(::Ifc4x3::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x3::IfcLayerSetDirectionEnum::Value Ifc4x3::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x3::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x3::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_types[646]); } -void Ifc4x3::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_types[646]); } +void Ifc4x3::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x3::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x3::IfcMaterial > Ifc4x3::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcMaterial>(es); } void Ifc4x3::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x3::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X3_types[647]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X3_types[647]); } void Ifc4x3::IfcMaterialList::initialize(std::vector< ::Ifc4x3::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -12030,9 +12030,9 @@ void Ifc4x3::IfcMaterialProfile::setPriority(const std::optional< int >& v) { if std::optional< std::string > Ifc4x3::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3::IfcMaterialProfileSet> Ifc4x3::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[649], 2)); } +std::vector<::Ifc4x3::IfcMaterialProfileSet> Ifc4x3::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[649], 2)); } -const IfcParse::entity& Ifc4x3::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X3_types[648]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_types[648]); } void Ifc4x3::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_Material, ::Ifc4x3::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -12046,7 +12046,7 @@ void Ifc4x3::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< ::Ifc void Ifc4x3::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x3::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X3_types[649]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[649]); } void Ifc4x3::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -12058,7 +12058,7 @@ std::optional< double > Ifc4x3::IfcMaterialProfileSetUsage::ReferenceExtent() co void Ifc4x3::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_types[650]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_types[650]); } void Ifc4x3::IfcMaterialProfileSetUsage::initialize(::Ifc4x3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -12068,7 +12068,7 @@ std::optional< int > Ifc4x3::IfcMaterialProfileSetUsageTapering::CardinalEndPoin void Ifc4x3::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X3_types[651]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_types[651]); } void Ifc4x3::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -12076,7 +12076,7 @@ std::vector< double > /*[1:2]*/ Ifc4x3::IfcMaterialProfileWithOffsets::OffsetVal void Ifc4x3::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_types[652]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_types[652]); } void Ifc4x3::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_Material, ::Ifc4x3::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -12084,7 +12084,7 @@ void Ifc4x3::IfcMaterialProfileWithOffsets::initialize(std::optional< std::strin void Ifc4x3::IfcMaterialProperties::setMaterial(const ::Ifc4x3::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[653]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[653]); } void Ifc4x3::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcProperty > v3_Properties, ::Ifc4x3::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -12096,14 +12096,14 @@ std::optional< std::string > Ifc4x3::IfcMaterialRelationship::MaterialExpression void Ifc4x3::IfcMaterialRelationship::setMaterialExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[654]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[654]); } void Ifc4x3::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_MaterialExpression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_MaterialExpression) {set_attribute_value(4, (*v5_MaterialExpression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x3::IfcRelAssociatesMaterial> Ifc4x3::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[915], 5)); } +std::vector<::Ifc4x3::IfcRelAssociatesMaterial> Ifc4x3::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[915], 5)); } -const IfcParse::entity& Ifc4x3::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X3_types[656]); } +const ifcopenshell::entity& Ifc4x3::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[656]); } void Ifc4x3::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -12113,7 +12113,7 @@ void Ifc4x3::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x3::IfcValue& v) void Ifc4x3::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x3::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X3_types[658]); } +const ifcopenshell::entity& Ifc4x3::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[658]); } void Ifc4x3::IfcMeasureWithUnit::initialize(::Ifc4x3::IfcValue v1_ValueComponent, ::Ifc4x3::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -12122,59 +12122,59 @@ void Ifc4x3::IfcMechanicalFastener::setNominalDiameter(const std::optional< doub std::optional< double > Ifc4x3::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value > Ifc4x3::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X3_types[659]); } -void Ifc4x3::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_types[659]); } +void Ifc4x3::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value Ifc4x3::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_types[660]); } -void Ifc4x3::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4x3::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[660]); } +void Ifc4x3::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value > Ifc4x3::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[662]); } -void Ifc4x3::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[662]); } +void Ifc4x3::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value Ifc4x3::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[663]); } -void Ifc4x3::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[663]); } +void Ifc4x3::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x3::IfcMemberTypeEnum::Value > Ifc4x3::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcMember::Class() { return *((IfcParse::entity*)IFC4X3_types[665]); } -void Ifc4x3::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X3_types[665]); } +void Ifc4x3::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x3::IfcMemberTypeEnum::Value Ifc4x3::IfcMemberType::PredefinedType() const { return ::Ifc4x3::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcMemberType::setPredefinedType(const ::Ifc4x3::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcMemberType::setPredefinedType(const ::Ifc4x3::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X3_types[666]); } -void Ifc4x3::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[666]); } +void Ifc4x3::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x3::IfcBenchmarkEnum::Value Ifc4x3::IfcMetric::Benchmark() const { return ::Ifc4x3::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcMetric::setBenchmark(const ::Ifc4x3::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3::IfcMetric::setBenchmark(const ::Ifc4x3::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x3::IfcMetricValueSelect Ifc4x3::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3::IfcMetricValueSelect>(); } @@ -12183,160 +12183,160 @@ void Ifc4x3::IfcMetric::setDataValue(const ::Ifc4x3::IfcMetricValueSelect& v) { void Ifc4x3::IfcMetric::setReferencePath(const ::Ifc4x3::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X3_types[668]); } -void Ifc4x3::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3::IfcMetricValueSelect v10_DataValue, ::Ifc4x3::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x3::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X3_types[668]); } +void Ifc4x3::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3::IfcMetricValueSelect v10_DataValue, ::Ifc4x3::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x3::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[670]); } -void Ifc4x3::IfcMirroredProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[670]); } +void Ifc4x3::IfcMirroredProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMobileTelecommunicationsAppliance std::optional< ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcMobileTelecommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_types[671]); } -void Ifc4x3::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcMobileTelecommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_types[671]); } +void Ifc4x3::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMobileTelecommunicationsApplianceType ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcMobileTelecommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_types[672]); } -void Ifc4x3::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcMobileTelecommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[672]); } +void Ifc4x3::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMonetaryUnit std::string Ifc4x3::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x3::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X3_types[685]); } +const ifcopenshell::entity& Ifc4x3::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[685]); } void Ifc4x3::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMooringDevice std::optional< ::Ifc4x3::IfcMooringDeviceTypeEnum::Value > Ifc4x3::IfcMooringDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcMooringDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[687]); } -void Ifc4x3::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcMooringDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[687]); } +void Ifc4x3::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMooringDeviceType ::Ifc4x3::IfcMooringDeviceTypeEnum::Value Ifc4x3::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcMooringDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[688]); } -void Ifc4x3::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcMooringDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[688]); } +void Ifc4x3::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x3::IfcMotorConnectionTypeEnum::Value > Ifc4x3::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X3_types[690]); } -void Ifc4x3::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_types[690]); } +void Ifc4x3::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x3::IfcMotorConnectionTypeEnum::Value Ifc4x3::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X3_types[691]); } -void Ifc4x3::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[691]); } +void Ifc4x3::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x3::IfcDimensionalExponents Ifc4x3::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcDimensionalExponents>(); } void Ifc4x3::IfcNamedUnit::setDimensions(const ::Ifc4x3::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3::IfcUnitEnum::Value Ifc4x3::IfcNamedUnit::UnitType() const { return ::Ifc4x3::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3::IfcNamedUnit::setUnitType(const ::Ifc4x3::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3::IfcNamedUnit::setUnitType(const ::Ifc4x3::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X3_types[693]); } -void Ifc4x3::IfcNamedUnit::initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x3::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[693]); } +void Ifc4x3::IfcNamedUnit::initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcNavigationElement std::optional< ::Ifc4x3::IfcNavigationElementTypeEnum::Value > Ifc4x3::IfcNavigationElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcNavigationElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcNavigationElement::Class() { return *((IfcParse::entity*)IFC4X3_types[694]); } -void Ifc4x3::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcNavigationElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[694]); } +void Ifc4x3::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcNavigationElementType ::Ifc4x3::IfcNavigationElementTypeEnum::Value Ifc4x3::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3::IfcNavigationElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcNavigationElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[695]); } -void Ifc4x3::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcNavigationElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[695]); } +void Ifc4x3::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x3::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3::IfcRelDefinesByObject> Ifc4x3::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[933], 4)); } -std::vector<::Ifc4x3::IfcRelDefinesByObject> Ifc4x3::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[933], 5)); } -std::vector<::Ifc4x3::IfcRelDefinesByType> Ifc4x3::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[936], 4)); } -std::vector<::Ifc4x3::IfcRelDefinesByProperties> Ifc4x3::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[934], 4)); } +std::vector<::Ifc4x3::IfcRelDefinesByObject> Ifc4x3::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[933], 4)); } +std::vector<::Ifc4x3::IfcRelDefinesByObject> Ifc4x3::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[933], 5)); } +std::vector<::Ifc4x3::IfcRelDefinesByType> Ifc4x3::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[936], 4)); } +std::vector<::Ifc4x3::IfcRelDefinesByProperties> Ifc4x3::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[934], 4)); } -const IfcParse::entity& Ifc4x3::IfcObject::Class() { return *((IfcParse::entity*)IFC4X3_types[700]); } +const ifcopenshell::entity& Ifc4x3::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X3_types[700]); } void Ifc4x3::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x3::IfcRelAssigns> Ifc4x3::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[901], 4)); } -std::vector<::Ifc4x3::IfcRelNests> Ifc4x3::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[940], 5)); } -std::vector<::Ifc4x3::IfcRelNests> Ifc4x3::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[940], 4)); } -std::vector<::Ifc4x3::IfcRelDeclares> Ifc4x3::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[930], 5)); } -std::vector<::Ifc4x3::IfcRelAggregates> Ifc4x3::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[900], 4)); } -std::vector<::Ifc4x3::IfcRelAggregates> Ifc4x3::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[900], 5)); } -std::vector<::Ifc4x3::IfcRelAssociates> Ifc4x3::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[909], 4)); } +std::vector<::Ifc4x3::IfcRelAssigns> Ifc4x3::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[901], 4)); } +std::vector<::Ifc4x3::IfcRelNests> Ifc4x3::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[940], 5)); } +std::vector<::Ifc4x3::IfcRelNests> Ifc4x3::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[940], 4)); } +std::vector<::Ifc4x3::IfcRelDeclares> Ifc4x3::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[930], 5)); } +std::vector<::Ifc4x3::IfcRelAggregates> Ifc4x3::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[900], 4)); } +std::vector<::Ifc4x3::IfcRelAggregates> Ifc4x3::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[900], 5)); } +std::vector<::Ifc4x3::IfcRelAssociates> Ifc4x3::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[909], 4)); } -const IfcParse::entity& Ifc4x3::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X3_types[701]); } +const ifcopenshell::entity& Ifc4x3::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[701]); } void Ifc4x3::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement ::Ifc4x3::IfcObjectPlacement Ifc4x3::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcObjectPlacement>(); } void Ifc4x3::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x3::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3::IfcProduct> Ifc4x3::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[801], 5)); } -std::vector<::Ifc4x3::IfcObjectPlacement> Ifc4x3::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[704], 0)); } +std::vector<::Ifc4x3::IfcProduct> Ifc4x3::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[801], 5)); } +std::vector<::Ifc4x3::IfcObjectPlacement> Ifc4x3::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[704], 0)); } -const IfcParse::entity& Ifc4x3::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X3_types[704]); } +const ifcopenshell::entity& Ifc4x3::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[704]); } void Ifc4x3::IfcObjectPlacement::initialize(::Ifc4x3::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo)); } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x3::IfcConstraint > > Ifc4x3::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3::IfcConstraint>(es); } void Ifc4x3::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x3::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3::IfcLogicalOperatorEnum::Value > Ifc4x3::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x3::IfcObjectiveEnum::Value Ifc4x3::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x3::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcObjective::setObjectiveQualifier(const ::Ifc4x3::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcObjective::setObjectiveQualifier(const ::Ifc4x3::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X3_types[702]); } -void Ifc4x3::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4x3::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X3_types[702]); } +void Ifc4x3::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x3::IfcOccupantTypeEnum::Value > Ifc4x3::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X3_types[707]); } -void Ifc4x3::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X3_types[707]); } +void Ifc4x3::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x3::IfcCurve Ifc4x3::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcCurve>(); } void Ifc4x3::IfcOffsetCurve::setBasisCurve(const ::Ifc4x3::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[709]); } +const ifcopenshell::entity& Ifc4x3::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[709]); } void Ifc4x3::IfcOffsetCurve::initialize(::Ifc4x3::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -12346,7 +12346,7 @@ boost::logic::tribool Ifc4x3::IfcOffsetCurve2D::SelfIntersect() const { boost:: void Ifc4x3::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X3_types[710]); } +const ifcopenshell::entity& Ifc4x3::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X3_types[710]); } void Ifc4x3::IfcOffsetCurve2D::initialize(::Ifc4x3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -12358,7 +12358,7 @@ void Ifc4x3::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& v) void Ifc4x3::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X3_types[711]); } +const ifcopenshell::entity& Ifc4x3::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X3_types[711]); } void Ifc4x3::IfcOffsetCurve3D::initialize(::Ifc4x3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -12368,7 +12368,7 @@ std::optional< std::string > Ifc4x3::IfcOffsetCurveByDistances::Tag() const { if void Ifc4x3::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X3_types[712]); } +const ifcopenshell::entity& Ifc4x3::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X3_types[712]); } void Ifc4x3::IfcOffsetCurveByDistances::initialize(::Ifc4x3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenCrossProfileDef @@ -12384,23 +12384,23 @@ void Ifc4x3::IfcOpenCrossProfileDef::setTags(const std::optional< std::vector< s void Ifc4x3::IfcOpenCrossProfileDef::setOffsetPoint(const ::Ifc4x3::IfcCartesianPoint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcOpenCrossProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[713]); } -void Ifc4x3::IfcOpenCrossProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3::IfcCartesianPoint v7_OffsetPoint) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::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)); } +const ifcopenshell::entity& Ifc4x3::IfcOpenCrossProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[713]); } +void Ifc4x3::IfcOpenCrossProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3::IfcCartesianPoint v7_OffsetPoint) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::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)); } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x3::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X3_types[716]); } +const ifcopenshell::entity& Ifc4x3::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X3_types[716]); } void Ifc4x3::IfcOpenShell::initialize(std::vector< ::Ifc4x3::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x3::IfcOpeningElementTypeEnum::Value > Ifc4x3::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3::IfcRelFillsElement> Ifc4x3::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[937], 4)); } +std::vector<::Ifc4x3::IfcRelFillsElement> Ifc4x3::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[937], 4)); } -const IfcParse::entity& Ifc4x3::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X3_types[714]); } -void Ifc4x3::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[714]); } +void Ifc4x3::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x3::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12414,11 +12414,11 @@ void Ifc4x3::IfcOrganization::setRoles(const std::optional< std::vector< ::Ifc4x std::optional< std::vector< ::Ifc4x3::IfcAddress > > Ifc4x3::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3::IfcAddress>(es); } void Ifc4x3::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x3::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3::IfcOrganizationRelationship> Ifc4x3::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[718], 3)); } -std::vector<::Ifc4x3::IfcOrganizationRelationship> Ifc4x3::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[718], 2)); } -std::vector<::Ifc4x3::IfcPersonAndOrganization> Ifc4x3::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[739], 1)); } +std::vector<::Ifc4x3::IfcOrganizationRelationship> Ifc4x3::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[718], 3)); } +std::vector<::Ifc4x3::IfcOrganizationRelationship> Ifc4x3::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[718], 2)); } +std::vector<::Ifc4x3::IfcPersonAndOrganization> Ifc4x3::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[739], 1)); } -const IfcParse::entity& Ifc4x3::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X3_types[717]); } +const ifcopenshell::entity& Ifc4x3::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_types[717]); } void Ifc4x3::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -12428,7 +12428,7 @@ std::vector< ::Ifc4x3::IfcOrganization > Ifc4x3::IfcOrganizationRelationship::Re void Ifc4x3::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x3::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[718]); } +const ifcopenshell::entity& Ifc4x3::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[718]); } void Ifc4x3::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientedEdge @@ -12438,30 +12438,30 @@ bool Ifc4x3::IfcOrientedEdge::Orientation() const { bool v = get_attribute_valu void Ifc4x3::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X3_types[719]); } +const ifcopenshell::entity& Ifc4x3::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_types[719]); } void Ifc4x3::IfcOrientedEdge::initialize(::Ifc4x3::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x3::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[720]); } +const ifcopenshell::entity& Ifc4x3::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[720]); } void Ifc4x3::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x3::IfcOutletTypeEnum::Value > Ifc4x3::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X3_types[721]); } -void Ifc4x3::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[721]); } +void Ifc4x3::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x3::IfcOutletTypeEnum::Value Ifc4x3::IfcOutletType::PredefinedType() const { return ::Ifc4x3::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcOutletType::setPredefinedType(const ::Ifc4x3::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcOutletType::setPredefinedType(const ::Ifc4x3::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X3_types[722]); } -void Ifc4x3::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[722]); } +void Ifc4x3::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x3::IfcPersonAndOrganization Ifc4x3::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcPersonAndOrganization>(); } @@ -12469,9 +12469,9 @@ void Ifc4x3::IfcOwnerHistory::setOwningUser(const ::Ifc4x3::IfcPersonAndOrganiza ::Ifc4x3::IfcApplication Ifc4x3::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcApplication>(); } void Ifc4x3::IfcOwnerHistory::setOwningApplication(const ::Ifc4x3::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3::IfcStateEnum::Value > Ifc4x3::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x3::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x3::IfcChangeActionEnum::Value > Ifc4x3::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x3::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x3::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x3::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3::IfcPersonAndOrganization Ifc4x3::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3::IfcPersonAndOrganization>(); } @@ -12482,40 +12482,40 @@ int Ifc4x3::IfcOwnerHistory::CreationDate() const { int v = get_attribute_value void Ifc4x3::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X3_types[724]); } -void Ifc4x3::IfcOwnerHistory::initialize(::Ifc4x3::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x3::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_types[724]); } +void Ifc4x3::IfcOwnerHistory::initialize(::Ifc4x3::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x3::IfcAxis2Placement2D Ifc4x3::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcAxis2Placement2D>(); } void Ifc4x3::IfcParameterizedProfileDef::setPosition(const ::Ifc4x3::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[725]); } -void Ifc4x3::IfcParameterizedProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4x3::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[725]); } +void Ifc4x3::IfcParameterizedProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x3::IfcOrientedEdge > Ifc4x3::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcOrientedEdge>(es); } void Ifc4x3::IfcPath::setEdgeList(const std::vector< ::Ifc4x3::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcPath::Class() { return *((IfcParse::entity*)IFC4X3_types[727]); } +const ifcopenshell::entity& Ifc4x3::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X3_types[727]); } void Ifc4x3::IfcPath::initialize(std::vector< ::Ifc4x3::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPavement std::optional< ::Ifc4x3::IfcPavementTypeEnum::Value > Ifc4x3::IfcPavement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPavementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcPavement::Class() { return *((IfcParse::entity*)IFC4X3_types[728]); } -void Ifc4x3::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcPavement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[728]); } +void Ifc4x3::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPavementType ::Ifc4x3::IfcPavementTypeEnum::Value Ifc4x3::IfcPavementType::PredefinedType() const { return ::Ifc4x3::IfcPavementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcPavementType::setPredefinedType(const ::Ifc4x3::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcPavementType::setPredefinedType(const ::Ifc4x3::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcPavementType::Class() { return *((IfcParse::entity*)IFC4X3_types[729]); } -void Ifc4x3::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcPavementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[729]); } +void Ifc4x3::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPcurve ::Ifc4x3::IfcSurface Ifc4x3::IfcPcurve::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcSurface>(); } @@ -12524,24 +12524,24 @@ void Ifc4x3::IfcPcurve::setBasisSurface(const ::Ifc4x3::IfcSurface& v) { set_att void Ifc4x3::IfcPcurve::setReferenceCurve(const ::Ifc4x3::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X3_types[731]); } +const ifcopenshell::entity& Ifc4x3::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[731]); } void Ifc4x3::IfcPcurve::initialize(::Ifc4x3::IfcSurface v1_BasisSurface, ::Ifc4x3::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x3::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x3::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3::IfcPerformanceHistoryTypeEnum::Value > Ifc4x3::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X3_types[732]); } -void Ifc4x3::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_types[732]); } +void Ifc4x3::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x3::IfcPermeableCoveringOperationEnum::Value Ifc4x3::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3::IfcWindowPanelPositionEnum::Value Ifc4x3::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x3::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -12550,20 +12550,20 @@ void Ifc4x3::IfcPermeableCoveringProperties::setFrameThickness(const std::option void Ifc4x3::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x3::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[735]); } -void Ifc4x3::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3::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)); } +const ifcopenshell::entity& Ifc4x3::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[735]); } +void Ifc4x3::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x3::IfcPermitTypeEnum::Value > Ifc4x3::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X3_types[736]); } -void Ifc4x3::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[736]); } +void Ifc4x3::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x3::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12583,9 +12583,9 @@ void Ifc4x3::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x3::Ifc std::optional< std::vector< ::Ifc4x3::IfcAddress > > Ifc4x3::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3::IfcAddress>(es); } void Ifc4x3::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x3::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3::IfcPersonAndOrganization> Ifc4x3::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[739], 0)); } +std::vector<::Ifc4x3::IfcPersonAndOrganization> Ifc4x3::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[739], 0)); } -const IfcParse::entity& Ifc4x3::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X3_types[738]); } +const ifcopenshell::entity& Ifc4x3::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X3_types[738]); } void Ifc4x3::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -12597,7 +12597,7 @@ std::optional< std::vector< ::Ifc4x3::IfcActorRole > > Ifc4x3::IfcPersonAndOrgan void Ifc4x3::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X3_types[739]); } +const ifcopenshell::entity& Ifc4x3::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_types[739]); } void Ifc4x3::IfcPersonAndOrganization::initialize(::Ifc4x3::IfcPerson v1_ThePerson, ::Ifc4x3::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -12611,7 +12611,7 @@ std::optional< std::string > Ifc4x3::IfcPhysicalComplexQuantity::Usage() const { void Ifc4x3::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X3_types[741]); } +const ifcopenshell::entity& Ifc4x3::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_types[741]); } void Ifc4x3::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -12620,10 +12620,10 @@ void Ifc4x3::IfcPhysicalQuantity::setName(const std::string& v) { set_attribute_ std::optional< std::string > Ifc4x3::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } -std::vector<::Ifc4x3::IfcPhysicalComplexQuantity> Ifc4x3::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[741], 2)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcPhysicalComplexQuantity> Ifc4x3::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[741], 2)); } -const IfcParse::entity& Ifc4x3::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X3_types[743]); } +const ifcopenshell::entity& Ifc4x3::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_types[743]); } void Ifc4x3::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -12631,58 +12631,58 @@ void Ifc4x3::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< void Ifc4x3::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x3::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X3_types[744]); } +const ifcopenshell::entity& Ifc4x3::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_types[744]); } void Ifc4x3::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x3::IfcPileTypeEnum::Value > Ifc4x3::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3::IfcPileConstructionEnum::Value > Ifc4x3::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcPile::setConstructionType(const std::optional< ::Ifc4x3::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcPile::setConstructionType(const std::optional< ::Ifc4x3::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcPile::Class() { return *((IfcParse::entity*)IFC4X3_types[745]); } -void Ifc4x3::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4x3::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X3_types[745]); } +void Ifc4x3::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x3::IfcPileTypeEnum::Value Ifc4x3::IfcPileType::PredefinedType() const { return ::Ifc4x3::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcPileType::setPredefinedType(const ::Ifc4x3::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcPileType::setPredefinedType(const ::Ifc4x3::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X3_types[747]); } -void Ifc4x3::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[747]); } +void Ifc4x3::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x3::IfcPipeFittingTypeEnum::Value > Ifc4x3::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X3_types[749]); } -void Ifc4x3::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_types[749]); } +void Ifc4x3::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x3::IfcPipeFittingTypeEnum::Value Ifc4x3::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X3_types[750]); } -void Ifc4x3::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[750]); } +void Ifc4x3::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x3::IfcPipeSegmentTypeEnum::Value > Ifc4x3::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[752]); } -void Ifc4x3::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[752]); } +void Ifc4x3::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x3::IfcPipeSegmentTypeEnum::Value Ifc4x3::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_types[753]); } -void Ifc4x3::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[753]); } +void Ifc4x3::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x3::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -12695,7 +12695,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3::IfcPixelTexture::Pixel( void Ifc4x3::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X3_types[755]); } +const ifcopenshell::entity& Ifc4x3::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_types[755]); } void Ifc4x3::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -12703,7 +12703,7 @@ void Ifc4x3::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std:: void Ifc4x3::IfcPlacement::setLocation(const ::Ifc4x3::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X3_types[756]); } +const ifcopenshell::entity& Ifc4x3::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[756]); } void Ifc4x3::IfcPlacement::initialize(::Ifc4x3::IfcPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -12711,7 +12711,7 @@ void Ifc4x3::IfcPlacement::initialize(::Ifc4x3::IfcPoint v1_Location) { set_attr void Ifc4x3::IfcPlanarBox::setPlacement(const ::Ifc4x3::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X3_types[757]); } +const ifcopenshell::entity& Ifc4x3::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X3_types[757]); } void Ifc4x3::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -12721,35 +12721,35 @@ double Ifc4x3::IfcPlanarExtent::SizeInY() const { double v = get_attribute_valu void Ifc4x3::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X3_types[758]); } +const ifcopenshell::entity& Ifc4x3::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_types[758]); } void Ifc4x3::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x3::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X3_types[760]); } +const ifcopenshell::entity& Ifc4x3::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_types[760]); } void Ifc4x3::IfcPlane::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlate std::optional< ::Ifc4x3::IfcPlateTypeEnum::Value > Ifc4x3::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X3_types[762]); } -void Ifc4x3::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X3_types[762]); } +void Ifc4x3::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x3::IfcPlateTypeEnum::Value Ifc4x3::IfcPlateType::PredefinedType() const { return ::Ifc4x3::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcPlateType::setPredefinedType(const ::Ifc4x3::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcPlateType::setPredefinedType(const ::Ifc4x3::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X3_types[763]); } -void Ifc4x3::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[763]); } +void Ifc4x3::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x3::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X3_types[765]); } +const ifcopenshell::entity& Ifc4x3::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_types[765]); } void Ifc4x3::IfcPoint::initialize() { } // Function implementations for IfcPointByDistanceExpression @@ -12765,7 +12765,7 @@ void Ifc4x3::IfcPointByDistanceExpression::setOffsetLongitudinal(const std::opti void Ifc4x3::IfcPointByDistanceExpression::setBasisCurve(const ::Ifc4x3::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcPointByDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X3_types[766]); } +const ifcopenshell::entity& Ifc4x3::IfcPointByDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_types[766]); } void Ifc4x3::IfcPointByDistanceExpression::initialize(::Ifc4x3::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3::IfcCurve v5_BasisCurve) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } // Function implementations for IfcPointOnCurve @@ -12775,7 +12775,7 @@ double Ifc4x3::IfcPointOnCurve::PointParameter() const { double v = get_attribu void Ifc4x3::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[767]); } +const ifcopenshell::entity& Ifc4x3::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[767]); } void Ifc4x3::IfcPointOnCurve::initialize(::Ifc4x3::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -12787,7 +12787,7 @@ double Ifc4x3::IfcPointOnSurface::PointParameterV() const { double v = get_attr void Ifc4x3::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[768]); } +const ifcopenshell::entity& Ifc4x3::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[768]); } void Ifc4x3::IfcPointOnSurface::initialize(::Ifc4x3::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -12795,7 +12795,7 @@ std::vector< ::Ifc4x3::IfcCartesianPoint > Ifc4x3::IfcPolyLoop::Polygon() const void Ifc4x3::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x3::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X3_types[773]); } +const ifcopenshell::entity& Ifc4x3::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_types[773]); } void Ifc4x3::IfcPolyLoop::initialize(std::vector< ::Ifc4x3::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -12805,7 +12805,7 @@ void Ifc4x3::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x3::IfcAxis2P void Ifc4x3::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x3::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_types[770]); } +const ifcopenshell::entity& Ifc4x3::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_types[770]); } void Ifc4x3::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3::IfcAxis2Placement3D v3_Position, ::Ifc4x3::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -12815,7 +12815,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3::IfcPolygonalFaceSet::PnInd void Ifc4x3::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_types[771]); } +const ifcopenshell::entity& Ifc4x3::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[771]); } void Ifc4x3::IfcPolygonalFaceSet::initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -12823,7 +12823,7 @@ std::vector< ::Ifc4x3::IfcCartesianPoint > Ifc4x3::IfcPolyline::Points() const { void Ifc4x3::IfcPolyline::setPoints(const std::vector< ::Ifc4x3::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X3_types[772]); } +const ifcopenshell::entity& Ifc4x3::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X3_types[772]); } void Ifc4x3::IfcPolyline::initialize(std::vector< ::Ifc4x3::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPolynomialCurve @@ -12837,24 +12837,24 @@ std::optional< std::vector< double > /*[2:?]*/ > Ifc4x3::IfcPolynomialCurve::Coe void Ifc4x3::IfcPolynomialCurve::setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcPolynomialCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[774]); } +const ifcopenshell::entity& Ifc4x3::IfcPolynomialCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[774]); } void Ifc4x3::IfcPolynomialCurve::initialize(::Ifc4x3::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ) { set_attribute_value(0, (v1_Position)); 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)); } } // Function implementations for IfcPort -std::vector<::Ifc4x3::IfcRelConnectsPortToElement> Ifc4x3::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[922], 4)); } -std::vector<::Ifc4x3::IfcRelConnectsPorts> Ifc4x3::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[921], 5)); } -std::vector<::Ifc4x3::IfcRelConnectsPorts> Ifc4x3::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[921], 4)); } +std::vector<::Ifc4x3::IfcRelConnectsPortToElement> Ifc4x3::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[922], 4)); } +std::vector<::Ifc4x3::IfcRelConnectsPorts> Ifc4x3::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[921], 5)); } +std::vector<::Ifc4x3::IfcRelConnectsPorts> Ifc4x3::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[921], 4)); } -const IfcParse::entity& Ifc4x3::IfcPort::Class() { return *((IfcParse::entity*)IFC4X3_types[775]); } +const ifcopenshell::entity& Ifc4x3::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X3_types[775]); } void Ifc4x3::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x3::IfcRelContainedInSpatialStructure> Ifc4x3::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[927], 4)); } -std::vector<::Ifc4x3::IfcRelPositions> Ifc4x3::IfcPositioningElement::Positions() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[941], 4)); } +std::vector<::Ifc4x3::IfcRelContainedInSpatialStructure> Ifc4x3::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[927], 4)); } +std::vector<::Ifc4x3::IfcRelPositions> Ifc4x3::IfcPositioningElement::Positions() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[941], 4)); } -const IfcParse::entity& Ifc4x3::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_types[776]); } +const ifcopenshell::entity& Ifc4x3::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[776]); } void Ifc4x3::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -12874,19 +12874,19 @@ std::optional< std::string > Ifc4x3::IfcPostalAddress::Country() const { if(get_ void Ifc4x3::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X3_types[781]); } -void Ifc4x3::IfcPostalAddress::initialize(std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_types[781]); } +void Ifc4x3::IfcPostalAddress::initialize(std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x3::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_types[783]); } +const ifcopenshell::entity& Ifc4x3::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_types[783]); } void Ifc4x3::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x3::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_types[784]); } +const ifcopenshell::entity& Ifc4x3::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_types[784]); } void Ifc4x3::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -12894,31 +12894,31 @@ std::string Ifc4x3::IfcPreDefinedItem::Name() const { std::string v = get_attri void Ifc4x3::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X3_types[785]); } +const ifcopenshell::entity& Ifc4x3::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[785]); } void Ifc4x3::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x3::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[786]); } +const ifcopenshell::entity& Ifc4x3::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[786]); } void Ifc4x3::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x3::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_types[787]); } +const ifcopenshell::entity& Ifc4x3::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[787]); } void Ifc4x3::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x3::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_types[788]); } +const ifcopenshell::entity& Ifc4x3::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_types[788]); } void Ifc4x3::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x3::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_types[791]); } +const ifcopenshell::entity& Ifc4x3::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[791]); } void Ifc4x3::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -12932,7 +12932,7 @@ std::optional< std::string > Ifc4x3::IfcPresentationLayerAssignment::Identifier( void Ifc4x3::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X3_types[792]); } +const ifcopenshell::entity& Ifc4x3::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[792]); } void Ifc4x3::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -12946,7 +12946,7 @@ std::vector< ::Ifc4x3::IfcPresentationStyle > Ifc4x3::IfcPresentationLayerWithSt void Ifc4x3::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x3::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X3_types[793]); } +const ifcopenshell::entity& Ifc4x3::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[793]); } void Ifc4x3::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -12954,24 +12954,24 @@ std::optional< std::string > Ifc4x3::IfcPresentationStyle::Name() const { if(get void Ifc4x3::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X3_types[794]); } +const ifcopenshell::entity& Ifc4x3::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[794]); } void Ifc4x3::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcProcedure std::optional< ::Ifc4x3::IfcProcedureTypeEnum::Value > Ifc4x3::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X3_types[796]); } -void Ifc4x3::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X3_types[796]); } +void Ifc4x3::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x3::IfcProcedureTypeEnum::Value Ifc4x3::IfcProcedureType::PredefinedType() const { return ::Ifc4x3::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcProcedureType::setPredefinedType(const ::Ifc4x3::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcProcedureType::setPredefinedType(const ::Ifc4x3::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X3_types[797]); } -void Ifc4x3::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[797]); } +void Ifc4x3::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x3::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -12979,11 +12979,11 @@ void Ifc4x3::IfcProcess::setIdentification(const std::optional< std::string >& v std::optional< std::string > Ifc4x3::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3::IfcRelSequence> Ifc4x3::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[944], 4)); } -std::vector<::Ifc4x3::IfcRelSequence> Ifc4x3::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[944], 5)); } -std::vector<::Ifc4x3::IfcRelAssignsToProcess> Ifc4x3::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[906], 6)); } +std::vector<::Ifc4x3::IfcRelSequence> Ifc4x3::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[944], 4)); } +std::vector<::Ifc4x3::IfcRelSequence> Ifc4x3::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[944], 5)); } +std::vector<::Ifc4x3::IfcRelAssignsToProcess> Ifc4x3::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[906], 6)); } -const IfcParse::entity& Ifc4x3::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X3_types[799]); } +const ifcopenshell::entity& Ifc4x3::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_types[799]); } void Ifc4x3::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -12992,19 +12992,19 @@ void Ifc4x3::IfcProduct::setObjectPlacement(const ::Ifc4x3::IfcObjectPlacement& ::Ifc4x3::IfcProductRepresentation Ifc4x3::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcProductRepresentation>(); } void Ifc4x3::IfcProduct::setRepresentation(const ::Ifc4x3::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3::IfcRelAssignsToProduct> Ifc4x3::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[907], 6)); } -std::vector<::Ifc4x3::IfcRelPositions> Ifc4x3::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[941], 5)); } -std::vector<::Ifc4x3::IfcRelReferencedInSpatialStructure> Ifc4x3::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[943], 4)); } +std::vector<::Ifc4x3::IfcRelAssignsToProduct> Ifc4x3::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[907], 6)); } +std::vector<::Ifc4x3::IfcRelPositions> Ifc4x3::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[941], 5)); } +std::vector<::Ifc4x3::IfcRelReferencedInSpatialStructure> Ifc4x3::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[943], 4)); } -const IfcParse::entity& Ifc4x3::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X3_types[801]); } +const ifcopenshell::entity& Ifc4x3::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_types[801]); } void Ifc4x3::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x3::IfcProduct> Ifc4x3::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[801], 6)); } -std::vector<::Ifc4x3::IfcShapeAspect> Ifc4x3::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1006], 4)); } +std::vector<::Ifc4x3::IfcProduct> Ifc4x3::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[801], 6)); } +std::vector<::Ifc4x3::IfcShapeAspect> Ifc4x3::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1006], 4)); } -const IfcParse::entity& Ifc4x3::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X3_types[802]); } +const ifcopenshell::entity& Ifc4x3::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X3_types[802]); } void Ifc4x3::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -13016,52 +13016,52 @@ std::vector< ::Ifc4x3::IfcRepresentation > Ifc4x3::IfcProductRepresentation::Rep void Ifc4x3::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x3::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_types[803]); } +const ifcopenshell::entity& Ifc4x3::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[803]); } void Ifc4x3::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x3::IfcProfileTypeEnum::Value Ifc4x3::IfcProfileDef::ProfileType() const { return ::Ifc4x3::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3::IfcProfileDef::setProfileType(const ::Ifc4x3::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3::IfcProfileDef::setProfileType(const ::Ifc4x3::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } -std::vector<::Ifc4x3::IfcProfileProperties> Ifc4x3::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[807], 3)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcProfileProperties> Ifc4x3::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[807], 3)); } -const IfcParse::entity& Ifc4x3::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[806]); } -void Ifc4x3::IfcProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x3::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[806]); } +void Ifc4x3::IfcProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x3::IfcProfileDef Ifc4x3::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3::IfcProfileDef>(); } void Ifc4x3::IfcProfileProperties::setProfileDefinition(const ::Ifc4x3::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[807]); } +const ifcopenshell::entity& Ifc4x3::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[807]); } void Ifc4x3::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcProperty > v3_Properties, ::Ifc4x3::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x3::IfcProject::Class() { return *((IfcParse::entity*)IFC4X3_types[809]); } +const ifcopenshell::entity& Ifc4x3::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X3_types[809]); } void Ifc4x3::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x3::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X3_types[814]); } +const ifcopenshell::entity& Ifc4x3::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_types[814]); } void Ifc4x3::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x3::IfcProjectOrderTypeEnum::Value > Ifc4x3::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X3_types[815]); } -void Ifc4x3::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X3_types[815]); } +void Ifc4x3::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x3::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13072,16 +13072,16 @@ void Ifc4x3::IfcProjectedCRS::setMapZone(const std::optional< std::string >& v) void Ifc4x3::IfcProjectedCRS::setMapUnit(const ::Ifc4x3::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X3_types[810]); } +const ifcopenshell::entity& Ifc4x3::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_types[810]); } void Ifc4x3::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x3::IfcProjectionElementTypeEnum::Value > Ifc4x3::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X3_types[812]); } -void Ifc4x3::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[812]); } +void Ifc4x3::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x3::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -13089,21 +13089,21 @@ void Ifc4x3::IfcProperty::setName(const std::string& v) { set_attribute_value(0, std::optional< std::string > Ifc4x3::IfcProperty::Specification() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3::IfcProperty::setSpecification(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3::IfcPropertySet> Ifc4x3::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[826], 4)); } -std::vector<::Ifc4x3::IfcPropertyDependencyRelationship> Ifc4x3::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[821], 2)); } -std::vector<::Ifc4x3::IfcPropertyDependencyRelationship> Ifc4x3::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[821], 3)); } -std::vector<::Ifc4x3::IfcComplexProperty> Ifc4x3::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[190], 3)); } -std::vector<::Ifc4x3::IfcResourceConstraintRelationship> Ifc4x3::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[957], 3)); } -std::vector<::Ifc4x3::IfcResourceApprovalRelationship> Ifc4x3::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[956], 2)); } +std::vector<::Ifc4x3::IfcPropertySet> Ifc4x3::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[826], 4)); } +std::vector<::Ifc4x3::IfcPropertyDependencyRelationship> Ifc4x3::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[821], 2)); } +std::vector<::Ifc4x3::IfcPropertyDependencyRelationship> Ifc4x3::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[821], 3)); } +std::vector<::Ifc4x3::IfcComplexProperty> Ifc4x3::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[190], 3)); } +std::vector<::Ifc4x3::IfcResourceConstraintRelationship> Ifc4x3::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[957], 3)); } +std::vector<::Ifc4x3::IfcResourceApprovalRelationship> Ifc4x3::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[956], 2)); } -const IfcParse::entity& Ifc4x3::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X3_types[817]); } +const ifcopenshell::entity& Ifc4x3::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_types[817]); } void Ifc4x3::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } -const IfcParse::entity& Ifc4x3::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X3_types[818]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[818]); } void Ifc4x3::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -13117,15 +13117,15 @@ void Ifc4x3::IfcPropertyBoundedValue::setUnit(const ::Ifc4x3::IfcUnit& v) { set_ void Ifc4x3::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x3::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X3_types[819]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[819]); } void Ifc4x3::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3::IfcValue v3_UpperBoundValue, ::Ifc4x3::IfcValue v4_LowerBoundValue, ::Ifc4x3::IfcUnit v5_Unit, ::Ifc4x3::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x3::IfcRelDeclares> Ifc4x3::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[930], 5)); } -std::vector<::Ifc4x3::IfcRelAssociates> Ifc4x3::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[909], 4)); } +std::vector<::Ifc4x3::IfcRelDeclares> Ifc4x3::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[930], 5)); } +std::vector<::Ifc4x3::IfcRelAssociates> Ifc4x3::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[909], 4)); } -const IfcParse::entity& Ifc4x3::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X3_types[820]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[820]); } void Ifc4x3::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -13137,7 +13137,7 @@ std::optional< std::string > Ifc4x3::IfcPropertyDependencyRelationship::Expressi void Ifc4x3::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[821]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[821]); } void Ifc4x3::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcProperty v3_DependingProperty, ::Ifc4x3::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -13147,7 +13147,7 @@ void Ifc4x3::IfcPropertyEnumeratedValue::setEnumerationValues(const std::optiona void Ifc4x3::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x3::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X3_types[822]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[822]); } void Ifc4x3::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3::IfcValue > > v3_EnumerationValues, ::Ifc4x3::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -13159,7 +13159,7 @@ void Ifc4x3::IfcPropertyEnumeration::setEnumerationValues(const std::vector< ::I void Ifc4x3::IfcPropertyEnumeration::setUnit(const ::Ifc4x3::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X3_types[823]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X3_types[823]); } void Ifc4x3::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x3::IfcValue > v2_EnumerationValues, ::Ifc4x3::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -13169,7 +13169,7 @@ void Ifc4x3::IfcPropertyListValue::setListValues(const std::optional< std::vecto void Ifc4x3::IfcPropertyListValue::setUnit(const ::Ifc4x3::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X3_types[824]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[824]); } void Ifc4x3::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3::IfcValue > > v3_ListValues, ::Ifc4x3::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -13179,7 +13179,7 @@ void Ifc4x3::IfcPropertyReferenceValue::setUsageName(const std::optional< std::s void Ifc4x3::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x3::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X3_types[825]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[825]); } void Ifc4x3::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::string > v3_UsageName, ::Ifc4x3::IfcObjectReferenceSelect v4_PropertyReference) { 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)); } // Function implementations for IfcPropertySet @@ -13187,30 +13187,30 @@ std::vector< ::Ifc4x3::IfcProperty > Ifc4x3::IfcPropertySet::HasProperties() con void Ifc4x3::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x3::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_types[826]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[826]); } void Ifc4x3::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x3::IfcTypeObject> Ifc4x3::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1240], 5)); } -std::vector<::Ifc4x3::IfcRelDefinesByTemplate> Ifc4x3::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[935], 4)); } -std::vector<::Ifc4x3::IfcRelDefinesByProperties> Ifc4x3::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[934], 5)); } +std::vector<::Ifc4x3::IfcTypeObject> Ifc4x3::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1240], 5)); } +std::vector<::Ifc4x3::IfcRelDefinesByTemplate> Ifc4x3::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[935], 4)); } +std::vector<::Ifc4x3::IfcRelDefinesByProperties> Ifc4x3::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[934], 5)); } -const IfcParse::entity& Ifc4x3::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X3_types[827]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[827]); } void Ifc4x3::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x3::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x3::IfcPropertyTemplate > Ifc4x3::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3::IfcPropertyTemplate>(es); } void Ifc4x3::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x3::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3::IfcRelDefinesByTemplate> Ifc4x3::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[935], 5)); } +std::vector<::Ifc4x3::IfcRelDefinesByTemplate> Ifc4x3::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[935], 5)); } -const IfcParse::entity& Ifc4x3::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X3_types[830]); } -void Ifc4x3::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x3::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_types[830]); } +void Ifc4x3::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x3::IfcValue Ifc4x3::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcValue>(); } @@ -13219,7 +13219,7 @@ void Ifc4x3::IfcPropertySingleValue::setNominalValue(const ::Ifc4x3::IfcValue& v void Ifc4x3::IfcPropertySingleValue::setUnit(const ::Ifc4x3::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X3_types[832]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[832]); } void Ifc4x3::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3::IfcValue v3_NominalValue, ::Ifc4x3::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -13234,73 +13234,73 @@ void Ifc4x3::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x3::IfcUnit& v) ::Ifc4x3::IfcUnit Ifc4x3::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcUnit>(); } void Ifc4x3::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x3::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3::IfcCurveInterpolationEnum::Value > Ifc4x3::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X3_types[833]); } -void Ifc4x3::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3::IfcUnit v6_DefiningUnit, ::Ifc4x3::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x3::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[833]); } +void Ifc4x3::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3::IfcUnit v6_DefiningUnit, ::Ifc4x3::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x3::IfcComplexPropertyTemplate> Ifc4x3::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[191], 6)); } -std::vector<::Ifc4x3::IfcPropertySetTemplate> Ifc4x3::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[830], 6)); } +std::vector<::Ifc4x3::IfcComplexPropertyTemplate> Ifc4x3::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[191], 6)); } +std::vector<::Ifc4x3::IfcPropertySetTemplate> Ifc4x3::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[830], 6)); } -const IfcParse::entity& Ifc4x3::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_types[834]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_types[834]); } void Ifc4x3::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x3::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X3_types[835]); } +const ifcopenshell::entity& Ifc4x3::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[835]); } void Ifc4x3::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[836]); } -void Ifc4x3::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[836]); } +void Ifc4x3::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X3_types[837]); } -void Ifc4x3::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[837]); } +void Ifc4x3::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X3_types[838]); } -void Ifc4x3::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[838]); } +void Ifc4x3::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value Ifc4x3::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[840]); } -void Ifc4x3::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[840]); } +void Ifc4x3::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPump std::optional< ::Ifc4x3::IfcPumpTypeEnum::Value > Ifc4x3::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcPump::Class() { return *((IfcParse::entity*)IFC4X3_types[842]); } -void Ifc4x3::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X3_types[842]); } +void Ifc4x3::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x3::IfcPumpTypeEnum::Value Ifc4x3::IfcPumpType::PredefinedType() const { return ::Ifc4x3::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcPumpType::setPredefinedType(const ::Ifc4x3::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcPumpType::setPredefinedType(const ::Ifc4x3::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X3_types[843]); } -void Ifc4x3::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[843]); } +void Ifc4x3::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x3::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -13309,7 +13309,7 @@ std::optional< std::string > Ifc4x3::IfcQuantityArea::Formula() const { if(get_a void Ifc4x3::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X3_types[845]); } +const ifcopenshell::entity& Ifc4x3::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X3_types[845]); } void Ifc4x3::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -13319,7 +13319,7 @@ std::optional< std::string > Ifc4x3::IfcQuantityCount::Formula() const { if(get_ void Ifc4x3::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X3_types[846]); } +const ifcopenshell::entity& Ifc4x3::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_types[846]); } void Ifc4x3::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, int v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -13329,7 +13329,7 @@ std::optional< std::string > Ifc4x3::IfcQuantityLength::Formula() const { if(get void Ifc4x3::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X3_types[847]); } +const ifcopenshell::entity& Ifc4x3::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X3_types[847]); } void Ifc4x3::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityNumber @@ -13339,13 +13339,13 @@ std::optional< std::string > Ifc4x3::IfcQuantityNumber::Formula() const { if(get void Ifc4x3::IfcQuantityNumber::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcQuantityNumber::Class() { return *((IfcParse::entity*)IFC4X3_types[848]); } +const ifcopenshell::entity& Ifc4x3::IfcQuantityNumber::Class() { return *((ifcopenshell::entity*)IFC4X3_types[848]); } void Ifc4x3::IfcQuantityNumber::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_NumberValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_NumberValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x3::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X3_types[849]); } +const ifcopenshell::entity& Ifc4x3::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[849]); } void Ifc4x3::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -13355,7 +13355,7 @@ std::optional< std::string > Ifc4x3::IfcQuantityTime::Formula() const { if(get_a void Ifc4x3::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X3_types[850]); } +const ifcopenshell::entity& Ifc4x3::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X3_types[850]); } void Ifc4x3::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -13365,7 +13365,7 @@ std::optional< std::string > Ifc4x3::IfcQuantityVolume::Formula() const { if(get void Ifc4x3::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X3_types[851]); } +const ifcopenshell::entity& Ifc4x3::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X3_types[851]); } void Ifc4x3::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -13375,104 +13375,104 @@ std::optional< std::string > Ifc4x3::IfcQuantityWeight::Formula() const { if(get void Ifc4x3::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X3_types[852]); } +const ifcopenshell::entity& Ifc4x3::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X3_types[852]); } void Ifc4x3::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRail std::optional< ::Ifc4x3::IfcRailTypeEnum::Value > Ifc4x3::IfcRail::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcRailTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcRail::Class() { return *((IfcParse::entity*)IFC4X3_types[854]); } -void Ifc4x3::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRail::Class() { return *((ifcopenshell::entity*)IFC4X3_types[854]); } +void Ifc4x3::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailType ::Ifc4x3::IfcRailTypeEnum::Value Ifc4x3::IfcRailType::PredefinedType() const { return ::Ifc4x3::IfcRailTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcRailType::setPredefinedType(const ::Ifc4x3::IfcRailTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcRailType::setPredefinedType(const ::Ifc4x3::IfcRailTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcRailType::Class() { return *((IfcParse::entity*)IFC4X3_types[858]); } -void Ifc4x3::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcRailType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[858]); } +void Ifc4x3::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailing std::optional< ::Ifc4x3::IfcRailingTypeEnum::Value > Ifc4x3::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X3_types[855]); } -void Ifc4x3::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X3_types[855]); } +void Ifc4x3::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x3::IfcRailingTypeEnum::Value Ifc4x3::IfcRailingType::PredefinedType() const { return ::Ifc4x3::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcRailingType::setPredefinedType(const ::Ifc4x3::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcRailingType::setPredefinedType(const ::Ifc4x3::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X3_types[856]); } -void Ifc4x3::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[856]); } +void Ifc4x3::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailway std::optional< ::Ifc4x3::IfcRailwayTypeEnum::Value > Ifc4x3::IfcRailway::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcRailwayTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcRailway::Class() { return *((IfcParse::entity*)IFC4X3_types[860]); } -void Ifc4x3::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRailway::Class() { return *((ifcopenshell::entity*)IFC4X3_types[860]); } +void Ifc4x3::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRailwayPart std::optional< ::Ifc4x3::IfcRailwayPartTypeEnum::Value > Ifc4x3::IfcRailwayPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcRailwayPartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcRailwayPart::setPredefinedType(const std::optional< ::Ifc4x3::IfcRailwayPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcRailwayPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcRailwayPart::setPredefinedType(const std::optional< ::Ifc4x3::IfcRailwayPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcRailwayPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcRailwayPart::Class() { return *((IfcParse::entity*)IFC4X3_types[861]); } -void Ifc4x3::IfcRailwayPart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRailwayPart::Class() { return *((ifcopenshell::entity*)IFC4X3_types[861]); } +void Ifc4x3::IfcRailwayPart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcRamp std::optional< ::Ifc4x3::IfcRampTypeEnum::Value > Ifc4x3::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X3_types[864]); } -void Ifc4x3::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X3_types[864]); } +void Ifc4x3::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x3::IfcRampFlightTypeEnum::Value > Ifc4x3::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X3_types[865]); } -void Ifc4x3::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_types[865]); } +void Ifc4x3::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x3::IfcRampFlightTypeEnum::Value Ifc4x3::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcRampFlightType::setPredefinedType(const ::Ifc4x3::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcRampFlightType::setPredefinedType(const ::Ifc4x3::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X3_types[866]); } -void Ifc4x3::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[866]); } +void Ifc4x3::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x3::IfcRampTypeEnum::Value Ifc4x3::IfcRampType::PredefinedType() const { return ::Ifc4x3::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcRampType::setPredefinedType(const ::Ifc4x3::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcRampType::setPredefinedType(const ::Ifc4x3::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X3_types[868]); } -void Ifc4x3::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[868]); } +void Ifc4x3::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x3::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_types[871]); } -void Ifc4x3::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3::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::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4x3::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_types[871]); } +void Ifc4x3::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3::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, (enumeration_reference(&::Ifc4x3::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x3::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x3::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_types[872]); } -void Ifc4x3::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3::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::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4x3::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_types[872]); } +void Ifc4x3::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3::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, (enumeration_reference(&::Ifc4x3::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13483,8 +13483,8 @@ std::optional< double > Ifc4x3::IfcRectangleHollowProfileDef::OuterFilletRadius( void Ifc4x3::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[874]); } -void Ifc4x3::IfcRectangleHollowProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[874]); } +void Ifc4x3::IfcRectangleHollowProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x3::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -13493,8 +13493,8 @@ double Ifc4x3::IfcRectangleProfileDef::YDim() const { double v = get_attribute_ void Ifc4x3::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[875]); } -void Ifc4x3::IfcRectangleProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x3::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[875]); } +void Ifc4x3::IfcRectangleProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x3::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -13505,7 +13505,7 @@ double Ifc4x3::IfcRectangularPyramid::Height() const { double v = get_attribute void Ifc4x3::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X3_types[876]); } +const ifcopenshell::entity& Ifc4x3::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[876]); } void Ifc4x3::IfcRectangularPyramid::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -13525,12 +13525,12 @@ bool Ifc4x3::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_attrib void Ifc4x3::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[877]); } +const ifcopenshell::entity& Ifc4x3::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[877]); } void Ifc4x3::IfcRectangularTrimmedSurface::initialize(::Ifc4x3::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x3::IfcRecurrenceTypeEnum::Value Ifc4x3::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x3::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x3::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -13547,8 +13547,8 @@ std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > > Ifc4x3::IfcRecurrencePat void Ifc4x3::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X3_types[878]); } -void Ifc4x3::IfcRecurrencePattern::initialize(::Ifc4x3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x3::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_types[878]); } +void Ifc4x3::IfcRecurrencePattern::initialize(::Ifc4x3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x3::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -13563,16 +13563,16 @@ void Ifc4x3::IfcReference::setListPositions(const std::optional< std::vector< in void Ifc4x3::IfcReference::setInnerReference(const ::Ifc4x3::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcReference::Class() { return *((IfcParse::entity*)IFC4X3_types[880]); } +const ifcopenshell::entity& Ifc4x3::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_types[880]); } void Ifc4x3::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x3::IfcReferentTypeEnum::Value > Ifc4x3::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X3_types[881]); } -void Ifc4x3::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcReferentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X3_types[881]); } +void Ifc4x3::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcReferentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcRegularTimeSeries double Ifc4x3::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -13581,16 +13581,16 @@ std::vector< ::Ifc4x3::IfcTimeSeriesValue > Ifc4x3::IfcRegularTimeSeries::Values void Ifc4x3::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x3::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_types[884]); } -void Ifc4x3::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3::IfcTimeSeriesValue > v10_Values) { 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::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x3::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_types[884]); } +void Ifc4x3::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcedSoil std::optional< ::Ifc4x3::IfcReinforcedSoilTypeEnum::Value > Ifc4x3::IfcReinforcedSoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcReinforcedSoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcReinforcedSoil::Class() { return *((IfcParse::entity*)IFC4X3_types[885]); } -void Ifc4x3::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcReinforcedSoil::Class() { return *((ifcopenshell::entity*)IFC4X3_types[885]); } +void Ifc4x3::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcReinforcementBarProperties double Ifc4x3::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -13598,7 +13598,7 @@ void Ifc4x3::IfcReinforcementBarProperties::setTotalCrossSectionArea(const doubl std::string Ifc4x3::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x3::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x3::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x3::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x3::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -13607,8 +13607,8 @@ std::optional< int > Ifc4x3::IfcReinforcementBarProperties::BarCount() const { i void Ifc4x3::IfcReinforcementBarProperties::setBarCount(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[887]); } -void Ifc4x3::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[887]); } +void Ifc4x3::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x3::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13617,7 +13617,7 @@ std::vector< ::Ifc4x3::IfcSectionReinforcementProperties > Ifc4x3::IfcReinforcem void Ifc4x3::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[888]); } +const ifcopenshell::entity& Ifc4x3::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[888]); } void Ifc4x3::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -13628,17 +13628,17 @@ void Ifc4x3::IfcReinforcingBar::setCrossSectionArea(const std::optional< double std::optional< double > Ifc4x3::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3::IfcReinforcingBarTypeEnum::Value > Ifc4x3::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X3_types[889]); } -void Ifc4x3::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4x3::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X3_types[889]); } +void Ifc4x3::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x3::IfcReinforcingBarTypeEnum::Value Ifc4x3::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13646,28 +13646,28 @@ void Ifc4x3::IfcReinforcingBarType::setCrossSectionArea(const std::optional< dou std::optional< double > Ifc4x3::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x3::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x3::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > Ifc4x3::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x3::IfcBendingParameterSelect>(es); } void Ifc4x3::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X3_types[892]); } -void Ifc4x3::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::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::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[892]); } +void Ifc4x3::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::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, (enumeration_reference(&::Ifc4x3::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x3::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X3_types[894]); } +const ifcopenshell::entity& Ifc4x3::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[894]); } void Ifc4x3::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x3::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[895]); } +const ifcopenshell::entity& Ifc4x3::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[895]); } void Ifc4x3::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -13688,15 +13688,15 @@ void Ifc4x3::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::optional< std::optional< double > Ifc4x3::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x3::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value > Ifc4x3::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x3::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x3::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x3::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x3::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X3_types[896]); } -void Ifc4x3::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X3_types[896]); } +void Ifc4x3::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value Ifc4x3::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13719,8 +13719,8 @@ std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > Ifc4x3::IfcR void Ifc4x3::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X3_types[897]); } -void Ifc4x3::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[897]); } +void Ifc4x3::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAdheresToElement ::Ifc4x3::IfcElement Ifc4x3::IfcRelAdheresToElement::RelatingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcElement>(); } @@ -13729,7 +13729,7 @@ std::vector< ::Ifc4x3::IfcSurfaceFeature > Ifc4x3::IfcRelAdheresToElement::Relat void Ifc4x3::IfcRelAdheresToElement::setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3::IfcSurfaceFeature >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelAdheresToElement::Class() { return *((IfcParse::entity*)IFC4X3_types[899]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAdheresToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[899]); } void Ifc4x3::IfcRelAdheresToElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3::IfcSurfaceFeature > v6_RelatedSurfaceFeatures) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, cast_vector(v6_RelatedSurfaceFeatures)); } // Function implementations for IfcRelAggregates @@ -13739,18 +13739,18 @@ std::vector< ::Ifc4x3::IfcObjectDefinition > Ifc4x3::IfcRelAggregates::RelatedOb void Ifc4x3::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x3::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X3_types[900]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X3_types[900]); } void Ifc4x3::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns std::vector< ::Ifc4x3::IfcObjectDefinition > Ifc4x3::IfcRelAssigns::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3::IfcObjectDefinition>(es); } void Ifc4x3::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc4x3::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > Ifc4x3::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcObjectTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X3_types[901]); } -void Ifc4x3::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X3_types[901]); } +void Ifc4x3::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } // Function implementations for IfcRelAssignsToActor ::Ifc4x3::IfcActor Ifc4x3::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcActor>(); } @@ -13759,32 +13759,32 @@ void Ifc4x3::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x3::IfcActor& v) void Ifc4x3::IfcRelAssignsToActor::setActingRole(const ::Ifc4x3::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X3_types[902]); } -void Ifc4x3::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcActor v7_RelatingActor, ::Ifc4x3::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X3_types[902]); } +void Ifc4x3::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcActor v7_RelatingActor, ::Ifc4x3::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl ::Ifc4x3::IfcControl Ifc4x3::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcControl>(); } void Ifc4x3::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x3::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X3_types[903]); } -void Ifc4x3::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X3_types[903]); } +void Ifc4x3::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup ::Ifc4x3::IfcGroup Ifc4x3::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcGroup>(); } void Ifc4x3::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x3::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X3_types[904]); } -void Ifc4x3::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_types[904]); } +void Ifc4x3::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor double Ifc4x3::IfcRelAssignsToGroupByFactor::Factor() const { double v = get_attribute_value(7); return v; } void Ifc4x3::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X3_types[905]); } -void Ifc4x3::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X3_types[905]); } +void Ifc4x3::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess ::Ifc4x3::IfcProcessSelect Ifc4x3::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcProcessSelect>(); } @@ -13793,31 +13793,31 @@ void Ifc4x3::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x3::IfcProce void Ifc4x3::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x3::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X3_types[906]); } -void Ifc4x3::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_types[906]); } +void Ifc4x3::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct ::Ifc4x3::IfcProductSelect Ifc4x3::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcProductSelect>(); } void Ifc4x3::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x3::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X3_types[907]); } -void Ifc4x3::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_types[907]); } +void Ifc4x3::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource ::Ifc4x3::IfcResourceSelect Ifc4x3::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcResourceSelect>(); } void Ifc4x3::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x3::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X3_types[908]); } -void Ifc4x3::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[908]); } +void Ifc4x3::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates std::vector< ::Ifc4x3::IfcDefinitionSelect > Ifc4x3::IfcRelAssociates::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3::IfcDefinitionSelect>(es); } void Ifc4x3::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x3::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X3_types[909]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X3_types[909]); } void Ifc4x3::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -13825,7 +13825,7 @@ void Ifc4x3::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3::Ifc void Ifc4x3::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x3::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X3_types[910]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_types[910]); } void Ifc4x3::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -13833,7 +13833,7 @@ void Ifc4x3::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc void Ifc4x3::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x3::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X3_types[911]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_types[911]); } void Ifc4x3::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -13843,7 +13843,7 @@ void Ifc4x3::IfcRelAssociatesConstraint::setIntent(const std::optional< std::str void Ifc4x3::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x3::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X3_types[912]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_types[912]); } void Ifc4x3::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -13851,7 +13851,7 @@ void Ifc4x3::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::I void Ifc4x3::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x3::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X3_types[913]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X3_types[913]); } void Ifc4x3::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -13859,7 +13859,7 @@ void Ifc4x3::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc void Ifc4x3::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x3::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X3_types[914]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_types[914]); } void Ifc4x3::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -13867,7 +13867,7 @@ void Ifc4x3::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4 void Ifc4x3::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x3::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X3_types[915]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_types[915]); } void Ifc4x3::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelAssociatesProfileDef @@ -13875,13 +13875,13 @@ void Ifc4x3::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc void Ifc4x3::IfcRelAssociatesProfileDef::setRelatingProfileDef(const ::Ifc4x3::IfcProfileDef& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelAssociatesProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[916]); } +const ifcopenshell::entity& Ifc4x3::IfcRelAssociatesProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[916]); } void Ifc4x3::IfcRelAssociatesProfileDef::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcProfileDef v6_RelatingProfileDef) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileDef)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x3::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X3_types[918]); } +const ifcopenshell::entity& Ifc4x3::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X3_types[918]); } void Ifc4x3::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -13893,7 +13893,7 @@ void Ifc4x3::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x3::IfcEleme void Ifc4x3::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x3::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X3_types[919]); } +const ifcopenshell::entity& Ifc4x3::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X3_types[919]); } void Ifc4x3::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3::IfcElement v6_RelatingElement, ::Ifc4x3::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -13902,13 +13902,13 @@ void Ifc4x3::IfcRelConnectsPathElements::setRelatingPriorities(const std::vector std::vector< int > /*[0:?]*/ Ifc4x3::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x3::IfcConnectionTypeEnum::Value Ifc4x3::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x3::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3::IfcConnectionTypeEnum::Value Ifc4x3::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x3::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X3_types[920]); } -void Ifc4x3::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3::IfcElement v6_RelatingElement, ::Ifc4x3::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4x3::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_types[920]); } +void Ifc4x3::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3::IfcElement v6_RelatingElement, ::Ifc4x3::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3::IfcPort Ifc4x3::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcPort>(); } @@ -13917,7 +13917,7 @@ void Ifc4x3::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x3::IfcPor void Ifc4x3::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x3::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X3_types[922]); } +const ifcopenshell::entity& Ifc4x3::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[922]); } void Ifc4x3::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcPort v5_RelatingPort, ::Ifc4x3::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -13929,7 +13929,7 @@ void Ifc4x3::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x3::IfcPort& v) { s void Ifc4x3::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x3::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X3_types[921]); } +const ifcopenshell::entity& Ifc4x3::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X3_types[921]); } void Ifc4x3::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcPort v5_RelatingPort, ::Ifc4x3::IfcPort v6_RelatedPort, ::Ifc4x3::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -13939,7 +13939,7 @@ void Ifc4x3::IfcRelConnectsStructuralActivity::setRelatingElement(const ::Ifc4x3 void Ifc4x3::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x3::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_types[923]); } +const ifcopenshell::entity& Ifc4x3::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_types[923]); } void Ifc4x3::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -13957,7 +13957,7 @@ void Ifc4x3::IfcRelConnectsStructuralMember::setSupportedLength(const std::optio void Ifc4x3::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x3::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_types[924]); } +const ifcopenshell::entity& Ifc4x3::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_types[924]); } void Ifc4x3::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -13965,7 +13965,7 @@ void Ifc4x3::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, void Ifc4x3::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x3::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_types[925]); } +const ifcopenshell::entity& Ifc4x3::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_types[925]); } void Ifc4x3::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -13975,7 +13975,7 @@ std::optional< std::string > Ifc4x3::IfcRelConnectsWithRealizingElements::Connec void Ifc4x3::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X3_types[926]); } +const ifcopenshell::entity& Ifc4x3::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X3_types[926]); } void Ifc4x3::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3::IfcElement v6_RelatingElement, ::Ifc4x3::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -13985,7 +13985,7 @@ void Ifc4x3::IfcRelContainedInSpatialStructure::setRelatedElements(const std::ve void Ifc4x3::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x3::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_types[927]); } +const ifcopenshell::entity& Ifc4x3::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_types[927]); } void Ifc4x3::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcProduct > v5_RelatedElements, ::Ifc4x3::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -13995,7 +13995,7 @@ std::vector< ::Ifc4x3::IfcCovering > Ifc4x3::IfcRelCoversBldgElements::RelatedCo void Ifc4x3::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x3::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X3_types[928]); } +const ifcopenshell::entity& Ifc4x3::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X3_types[928]); } void Ifc4x3::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -14005,7 +14005,7 @@ std::vector< ::Ifc4x3::IfcCovering > Ifc4x3::IfcRelCoversSpaces::RelatedCovering void Ifc4x3::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x3::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X3_types[929]); } +const ifcopenshell::entity& Ifc4x3::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X3_types[929]); } void Ifc4x3::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -14015,19 +14015,19 @@ std::vector< ::Ifc4x3::IfcDefinitionSelect > Ifc4x3::IfcRelDeclares::RelatedDefi void Ifc4x3::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x3::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X3_types[930]); } +const ifcopenshell::entity& Ifc4x3::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X3_types[930]); } void Ifc4x3::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x3::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X3_types[931]); } +const ifcopenshell::entity& Ifc4x3::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X3_types[931]); } void Ifc4x3::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x3::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X3_types[932]); } +const ifcopenshell::entity& Ifc4x3::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X3_types[932]); } void Ifc4x3::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -14037,7 +14037,7 @@ void Ifc4x3::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::Ifc4x void Ifc4x3::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x3::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X3_types[933]); } +const ifcopenshell::entity& Ifc4x3::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X3_types[933]); } void Ifc4x3::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObject > v5_RelatedObjects, ::Ifc4x3::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -14047,7 +14047,7 @@ void Ifc4x3::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< ::I void Ifc4x3::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x3::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[934]); } +const ifcopenshell::entity& Ifc4x3::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[934]); } void Ifc4x3::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -14057,7 +14057,7 @@ void Ifc4x3::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vector< void Ifc4x3::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x3::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X3_types[935]); } +const ifcopenshell::entity& Ifc4x3::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_types[935]); } void Ifc4x3::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -14067,7 +14067,7 @@ void Ifc4x3::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc4x3: void Ifc4x3::IfcRelDefinesByType::setRelatingType(const ::Ifc4x3::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X3_types[936]); } +const ifcopenshell::entity& Ifc4x3::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[936]); } void Ifc4x3::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObject > v5_RelatedObjects, ::Ifc4x3::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -14077,7 +14077,7 @@ void Ifc4x3::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x3::IfcOp void Ifc4x3::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x3::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X3_types[937]); } +const ifcopenshell::entity& Ifc4x3::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[937]); } void Ifc4x3::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -14087,7 +14087,7 @@ void Ifc4x3::IfcRelFlowControlElements::setRelatedControlElements(const std::vec void Ifc4x3::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x3::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X3_types[938]); } +const ifcopenshell::entity& Ifc4x3::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X3_types[938]); } void Ifc4x3::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -14105,7 +14105,7 @@ boost::logic::tribool Ifc4x3::IfcRelInterferesElements::ImpliedOrder() const { void Ifc4x3::IfcRelInterferesElements::setImpliedOrder(const boost::logic::tribool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X3_types[939]); } +const ifcopenshell::entity& Ifc4x3::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X3_types[939]); } void Ifc4x3::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3::IfcConnectionGeometry v7_InterferenceGeometry, ::Ifc4x3::IfcSpatialZone v8_InterferenceSpace, std::optional< std::string > v9_InterferenceType, boost::logic::tribool v10_ImpliedOrder) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry));set_attribute_value(7, (v8_InterferenceSpace)); if (v9_InterferenceType) {set_attribute_value(8, (*v9_InterferenceType)); }set_attribute_value(9, (v10_ImpliedOrder)); } // Function implementations for IfcRelNests @@ -14115,7 +14115,7 @@ std::vector< ::Ifc4x3::IfcObjectDefinition > Ifc4x3::IfcRelNests::RelatedObjects void Ifc4x3::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x3::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X3_types[940]); } +const ifcopenshell::entity& Ifc4x3::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X3_types[940]); } void Ifc4x3::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelPositions @@ -14125,7 +14125,7 @@ std::vector< ::Ifc4x3::IfcProduct > Ifc4x3::IfcRelPositions::RelatedProducts() c void Ifc4x3::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x3::IfcProduct >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X3_types[941]); } +const ifcopenshell::entity& Ifc4x3::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X3_types[941]); } void Ifc4x3::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector(v6_RelatedProducts)); } // Function implementations for IfcRelProjectsElement @@ -14135,7 +14135,7 @@ void Ifc4x3::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x3::IfcElemen void Ifc4x3::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x3::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X3_types[942]); } +const ifcopenshell::entity& Ifc4x3::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[942]); } void Ifc4x3::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcElement v5_RelatingElement, ::Ifc4x3::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -14145,7 +14145,7 @@ void Ifc4x3::IfcRelReferencedInSpatialStructure::setRelatedElements(const std::v void Ifc4x3::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x3::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_types[943]); } +const ifcopenshell::entity& Ifc4x3::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_types[943]); } void Ifc4x3::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -14156,13 +14156,13 @@ void Ifc4x3::IfcRelSequence::setRelatedProcess(const ::Ifc4x3::IfcProcess& v) { ::Ifc4x3::IfcLagTime Ifc4x3::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcLagTime>(); } void Ifc4x3::IfcRelSequence::setTimeLag(const ::Ifc4x3::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3::IfcSequenceEnum::Value > Ifc4x3::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X3_types[944]); } -void Ifc4x3::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcProcess v5_RelatingProcess, ::Ifc4x3::IfcProcess v6_RelatedProcess, ::Ifc4x3::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4x3::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X3_types[944]); } +void Ifc4x3::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcProcess v5_RelatingProcess, ::Ifc4x3::IfcProcess v6_RelatedProcess, ::Ifc4x3::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x3::IfcSystem Ifc4x3::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcSystem>(); } @@ -14171,7 +14171,7 @@ std::vector< ::Ifc4x3::IfcSpatialElement > Ifc4x3::IfcRelServicesBuildings::Rela void Ifc4x3::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x3::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X3_types[945]); } +const ifcopenshell::entity& Ifc4x3::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X3_types[945]); } void Ifc4x3::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -14182,31 +14182,31 @@ void Ifc4x3::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x3::IfcE ::Ifc4x3::IfcConnectionGeometry Ifc4x3::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcConnectionGeometry>(); } void Ifc4x3::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x3::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value Ifc4x3::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x3::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3::IfcInternalOrExternalEnum::Value Ifc4x3::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x3::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X3_types[946]); } -void Ifc4x3::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4x3::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X3_types[946]); } +void Ifc4x3::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x3::IfcRelSpaceBoundary1stLevel Ifc4x3::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x3::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x3::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x3::IfcRelSpaceBoundary1stLevel> Ifc4x3::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[947], 9)); } +std::vector<::Ifc4x3::IfcRelSpaceBoundary1stLevel> Ifc4x3::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[947], 9)); } -const IfcParse::entity& Ifc4x3::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X3_types[947]); } -void Ifc4x3::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4x3::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[947]); } +void Ifc4x3::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x3::IfcRelSpaceBoundary2ndLevel Ifc4x3::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x3::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x3::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x3::IfcRelSpaceBoundary2ndLevel> Ifc4x3::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[948], 10)); } +std::vector<::Ifc4x3::IfcRelSpaceBoundary2ndLevel> Ifc4x3::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[948], 10)); } -const IfcParse::entity& Ifc4x3::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X3_types[948]); } -void Ifc4x3::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x3::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[948]); } +void Ifc4x3::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x3::IfcElement Ifc4x3::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcElement>(); } @@ -14215,13 +14215,13 @@ void Ifc4x3::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x3::IfcE void Ifc4x3::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x3::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X3_types[949]); } +const ifcopenshell::entity& Ifc4x3::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[949]); } void Ifc4x3::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcElement v5_RelatingBuildingElement, ::Ifc4x3::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x3::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[917]); } +const ifcopenshell::entity& Ifc4x3::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[917]); } void Ifc4x3::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -14229,8 +14229,8 @@ double Ifc4x3::IfcReparametrisedCompositeCurveSegment::ParamLength() const { do void Ifc4x3::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[950]); } -void Ifc4x3::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x3::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[950]); } +void Ifc4x3::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x3::IfcRepresentationContext Ifc4x3::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcRepresentationContext>(); } @@ -14242,11 +14242,11 @@ void Ifc4x3::IfcRepresentation::setRepresentationType(const std::optional< std:: std::vector< ::Ifc4x3::IfcRepresentationItem > Ifc4x3::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3::IfcRepresentationItem>(es); } void Ifc4x3::IfcRepresentation::setItems(const std::vector< ::Ifc4x3::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3::IfcRepresentationMap> Ifc4x3::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[954], 1)); } -std::vector<::Ifc4x3::IfcPresentationLayerAssignment> Ifc4x3::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[792], 2)); } -std::vector<::Ifc4x3::IfcProductRepresentation> Ifc4x3::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[803], 2)); } +std::vector<::Ifc4x3::IfcRepresentationMap> Ifc4x3::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[954], 1)); } +std::vector<::Ifc4x3::IfcPresentationLayerAssignment> Ifc4x3::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[792], 2)); } +std::vector<::Ifc4x3::IfcProductRepresentation> Ifc4x3::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[803], 2)); } -const IfcParse::entity& Ifc4x3::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_types[951]); } +const ifcopenshell::entity& Ifc4x3::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[951]); } void Ifc4x3::IfcRepresentation::initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -14255,17 +14255,17 @@ void Ifc4x3::IfcRepresentationContext::setContextIdentifier(const std::optional< std::optional< std::string > Ifc4x3::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3::IfcRepresentation> Ifc4x3::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[951], 0)); } +std::vector<::Ifc4x3::IfcRepresentation> Ifc4x3::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[951], 0)); } -const IfcParse::entity& Ifc4x3::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_types[952]); } +const ifcopenshell::entity& Ifc4x3::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_types[952]); } void Ifc4x3::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x3::IfcPresentationLayerAssignment> Ifc4x3::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[792], 2)); } -std::vector<::Ifc4x3::IfcStyledItem> Ifc4x3::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1116], 0)); } +std::vector<::Ifc4x3::IfcPresentationLayerAssignment> Ifc4x3::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[792], 2)); } +std::vector<::Ifc4x3::IfcStyledItem> Ifc4x3::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1116], 0)); } -const IfcParse::entity& Ifc4x3::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_types[953]); } +const ifcopenshell::entity& Ifc4x3::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[953]); } void Ifc4x3::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -14274,10 +14274,10 @@ void Ifc4x3::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x3::IfcAxis2Plac ::Ifc4x3::IfcRepresentation Ifc4x3::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcRepresentation>(); } void Ifc4x3::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x3::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3::IfcShapeAspect> Ifc4x3::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1006], 4)); } -std::vector<::Ifc4x3::IfcMappedItem> Ifc4x3::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[628], 0)); } +std::vector<::Ifc4x3::IfcShapeAspect> Ifc4x3::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1006], 4)); } +std::vector<::Ifc4x3::IfcMappedItem> Ifc4x3::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[628], 0)); } -const IfcParse::entity& Ifc4x3::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X3_types[954]); } +const ifcopenshell::entity& Ifc4x3::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X3_types[954]); } void Ifc4x3::IfcRepresentationMap::initialize(::Ifc4x3::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -14286,9 +14286,9 @@ void Ifc4x3::IfcResource::setIdentification(const std::optional< std::string >& std::optional< std::string > Ifc4x3::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3::IfcRelAssignsToResource> Ifc4x3::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[908], 6)); } +std::vector<::Ifc4x3::IfcRelAssignsToResource> Ifc4x3::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[908], 6)); } -const IfcParse::entity& Ifc4x3::IfcResource::Class() { return *((IfcParse::entity*)IFC4X3_types[955]); } +const ifcopenshell::entity& Ifc4x3::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[955]); } void Ifc4x3::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -14298,7 +14298,7 @@ void Ifc4x3::IfcResourceApprovalRelationship::setRelatedResourceObjects(const st void Ifc4x3::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x3::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[956]); } +const ifcopenshell::entity& Ifc4x3::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[956]); } void Ifc4x3::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -14308,7 +14308,7 @@ std::vector< ::Ifc4x3::IfcResourceObjectSelect > Ifc4x3::IfcResourceConstraintRe void Ifc4x3::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[957]); } +const ifcopenshell::entity& Ifc4x3::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[957]); } void Ifc4x3::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -14318,7 +14318,7 @@ std::optional< std::string > Ifc4x3::IfcResourceLevelRelationship::Description() void Ifc4x3::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X3_types[958]); } +const ifcopenshell::entity& Ifc4x3::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_types[958]); } void Ifc4x3::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -14354,8 +14354,8 @@ std::optional< double > Ifc4x3::IfcResourceTime::Completion() const { if(get_att void Ifc4x3::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X3_types[961]); } -void Ifc4x3::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X3_types[961]); } +void Ifc4x3::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x3::IfcAxis1Placement Ifc4x3::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcAxis1Placement>(); } @@ -14364,7 +14364,7 @@ double Ifc4x3::IfcRevolvedAreaSolid::Angle() const { double v = get_attribute_v void Ifc4x3::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[962]); } +const ifcopenshell::entity& Ifc4x3::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[962]); } void Ifc4x3::IfcRevolvedAreaSolid::initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -14372,7 +14372,7 @@ void Ifc4x3::IfcRevolvedAreaSolid::initialize(::Ifc4x3::IfcProfileDef v1_SweptAr void Ifc4x3::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_types[963]); } +const ifcopenshell::entity& Ifc4x3::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_types[963]); } void Ifc4x3::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -14382,7 +14382,7 @@ double Ifc4x3::IfcRightCircularCone::BottomRadius() const { double v = get_attr void Ifc4x3::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X3_types[964]); } +const ifcopenshell::entity& Ifc4x3::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X3_types[964]); } void Ifc4x3::IfcRightCircularCone::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -14392,40 +14392,40 @@ double Ifc4x3::IfcRightCircularCylinder::Radius() const { double v = get_attrib void Ifc4x3::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X3_types[965]); } +const ifcopenshell::entity& Ifc4x3::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X3_types[965]); } void Ifc4x3::IfcRightCircularCylinder::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoad std::optional< ::Ifc4x3::IfcRoadTypeEnum::Value > Ifc4x3::IfcRoad::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcRoadTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcRoad::Class() { return *((IfcParse::entity*)IFC4X3_types[966]); } -void Ifc4x3::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRoad::Class() { return *((ifcopenshell::entity*)IFC4X3_types[966]); } +void Ifc4x3::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRoadPart std::optional< ::Ifc4x3::IfcRoadPartTypeEnum::Value > Ifc4x3::IfcRoadPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcRoadPartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcRoadPart::setPredefinedType(const std::optional< ::Ifc4x3::IfcRoadPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcRoadPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcRoadPart::setPredefinedType(const std::optional< ::Ifc4x3::IfcRoadPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcRoadPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcRoadPart::Class() { return *((IfcParse::entity*)IFC4X3_types[967]); } -void Ifc4x3::IfcRoadPart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcRoadPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRoadPart::Class() { return *((ifcopenshell::entity*)IFC4X3_types[967]); } +void Ifc4x3::IfcRoadPart::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcRoadPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcRoof std::optional< ::Ifc4x3::IfcRoofTypeEnum::Value > Ifc4x3::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X3_types[971]); } -void Ifc4x3::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X3_types[971]); } +void Ifc4x3::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x3::IfcRoofTypeEnum::Value Ifc4x3::IfcRoofType::PredefinedType() const { return ::Ifc4x3::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcRoofType::setPredefinedType(const ::Ifc4x3::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcRoofType::setPredefinedType(const ::Ifc4x3::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X3_types[972]); } -void Ifc4x3::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[972]); } +void Ifc4x3::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x3::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -14438,7 +14438,7 @@ std::optional< std::string > Ifc4x3::IfcRoot::Description() const { if(get_attri void Ifc4x3::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X3_types[974]); } +const ifcopenshell::entity& Ifc4x3::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X3_types[974]); } void Ifc4x3::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -14446,52 +14446,52 @@ double Ifc4x3::IfcRoundedRectangleProfileDef::RoundingRadius() const { double v void Ifc4x3::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[979]); } -void Ifc4x3::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x3::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[979]); } +void Ifc4x3::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x3::IfcSIPrefix::Value > Ifc4x3::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x3::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x3::IfcSIUnitName::Value Ifc4x3::IfcSIUnit::Name() const { return ::Ifc4x3::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x3::IfcSIUnit::setName(const ::Ifc4x3::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3::IfcSIUnit::setName(const ::Ifc4x3::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X3_types[1025]); } -void Ifc4x3::IfcSIUnit::initialize(::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4x3::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1025]); } +void Ifc4x3::IfcSIUnit::initialize(::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X3_types[980]); } -void Ifc4x3::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[980]); } +void Ifc4x3::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value Ifc4x3::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_types[981]); } -void Ifc4x3::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[981]); } +void Ifc4x3::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x3::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > Ifc4x3::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x3::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x3::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X3_types[983]); } -void Ifc4x3::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4x3::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X3_types[983]); } +void Ifc4x3::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x3::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[984]); } -void Ifc4x3::IfcSeamCurve::initialize(::Ifc4x3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[984]); } +void Ifc4x3::IfcSeamCurve::initialize(::Ifc4x3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSecondOrderPolynomialSpiral double Ifc4x3::IfcSecondOrderPolynomialSpiral::QuadraticTerm() const { double v = get_attribute_value(1); return v; } @@ -14502,20 +14502,20 @@ std::optional< double > Ifc4x3::IfcSecondOrderPolynomialSpiral::ConstantTerm() c void Ifc4x3::IfcSecondOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcSecondOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_types[985]); } +const ifcopenshell::entity& Ifc4x3::IfcSecondOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_types[985]); } void Ifc4x3::IfcSecondOrderPolynomialSpiral::initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_QuadraticTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSectionProperties ::Ifc4x3::IfcSectionTypeEnum::Value Ifc4x3::IfcSectionProperties::SectionType() const { return ::Ifc4x3::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3::IfcSectionProperties::setSectionType(const ::Ifc4x3::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3::IfcSectionProperties::setSectionType(const ::Ifc4x3::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3::IfcProfileDef Ifc4x3::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcProfileDef>(); } void Ifc4x3::IfcSectionProperties::setStartProfile(const ::Ifc4x3::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3::IfcProfileDef Ifc4x3::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcProfileDef>(); } void Ifc4x3::IfcSectionProperties::setEndProfile(const ::Ifc4x3::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[992]); } -void Ifc4x3::IfcSectionProperties::initialize(::Ifc4x3::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3::IfcProfileDef v2_StartProfile, ::Ifc4x3::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x3::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[992]); } +void Ifc4x3::IfcSectionProperties::initialize(::Ifc4x3::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3::IfcProfileDef v2_StartProfile, ::Ifc4x3::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x3::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -14525,15 +14525,15 @@ void Ifc4x3::IfcSectionReinforcementProperties::setLongitudinalEndPosition(const std::optional< double > Ifc4x3::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x3::IfcReinforcingBarRoleEnum::Value Ifc4x3::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x3::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x3::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x3::IfcSectionProperties Ifc4x3::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcSectionProperties>(); } void Ifc4x3::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x3::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x3::IfcReinforcementBarProperties > Ifc4x3::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3::IfcReinforcementBarProperties>(es); } void Ifc4x3::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[993]); } -void Ifc4x3::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x3::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[993]); } +void Ifc4x3::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x3::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x3::IfcCurve Ifc4x3::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcCurve>(); } @@ -14542,7 +14542,7 @@ std::vector< ::Ifc4x3::IfcProfileDef > Ifc4x3::IfcSectionedSolid::CrossSections( void Ifc4x3::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x3::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[987]); } +const ifcopenshell::entity& Ifc4x3::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[987]); } void Ifc4x3::IfcSectionedSolid::initialize(::Ifc4x3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -14550,7 +14550,7 @@ std::vector< ::Ifc4x3::IfcAxis2PlacementLinear > Ifc4x3::IfcSectionedSolidHorizo void Ifc4x3::IfcSectionedSolidHorizontal::setCrossSectionPositions(const std::vector< ::Ifc4x3::IfcAxis2PlacementLinear >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_types[988]); } +const ifcopenshell::entity& Ifc4x3::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[988]); } void Ifc4x3::IfcSectionedSolidHorizontal::initialize(::Ifc4x3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3::IfcAxis2PlacementLinear > v3_CrossSectionPositions) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSpine @@ -14562,7 +14562,7 @@ std::vector< ::Ifc4x3::IfcAxis2Placement3D > Ifc4x3::IfcSectionedSpine::CrossSec void Ifc4x3::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x3::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X3_types[989]); } +const ifcopenshell::entity& Ifc4x3::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X3_types[989]); } void Ifc4x3::IfcSectionedSpine::initialize(::Ifc4x3::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSurface @@ -14574,17 +14574,17 @@ std::vector< ::Ifc4x3::IfcProfileDef > Ifc4x3::IfcSectionedSurface::CrossSection void Ifc4x3::IfcSectionedSurface::setCrossSections(const std::vector< ::Ifc4x3::IfcProfileDef >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcSectionedSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[990]); } +const ifcopenshell::entity& Ifc4x3::IfcSectionedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[990]); } void Ifc4x3::IfcSectionedSurface::initialize(::Ifc4x3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3::IfcAxis2PlacementLinear > v2_CrossSectionPositions, std::vector< ::Ifc4x3::IfcProfileDef > v3_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSectionPositions));set_attribute_value(2, cast_vector(v3_CrossSections)); } // Function implementations for IfcSegment ::Ifc4x3::IfcTransitionCode::Value Ifc4x3::IfcSegment::Transition() const { return ::Ifc4x3::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x3::IfcSegment::setTransition(const ::Ifc4x3::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3::IfcSegment::setTransition(const ::Ifc4x3::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3::IfcCompositeCurve> Ifc4x3::IfcSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[193], 0)); } +std::vector<::Ifc4x3::IfcCompositeCurve> Ifc4x3::IfcSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[193], 0)); } -const IfcParse::entity& Ifc4x3::IfcSegment::Class() { return *((IfcParse::entity*)IFC4X3_types[995]); } -void Ifc4x3::IfcSegment::initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcTransitionCode::Class(),(size_t)v1_Transition))); } +const ifcopenshell::entity& Ifc4x3::IfcSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[995]); } +void Ifc4x3::IfcSegment::initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcTransitionCode::Class(),(size_t)v1_Transition))); } // Function implementations for IfcSegmentedReferenceCurve ::Ifc4x3::IfcBoundedCurve Ifc4x3::IfcSegmentedReferenceCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcBoundedCurve>(); } @@ -14593,24 +14593,24 @@ void Ifc4x3::IfcSegmentedReferenceCurve::setBaseCurve(const ::Ifc4x3::IfcBounded void Ifc4x3::IfcSegmentedReferenceCurve::setEndPoint(const ::Ifc4x3::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcSegmentedReferenceCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[996]); } +const ifcopenshell::entity& Ifc4x3::IfcSegmentedReferenceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[996]); } void Ifc4x3::IfcSegmentedReferenceCurve::initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcSensor std::optional< ::Ifc4x3::IfcSensorTypeEnum::Value > Ifc4x3::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X3_types[998]); } -void Ifc4x3::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X3_types[998]); } +void Ifc4x3::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x3::IfcSensorTypeEnum::Value Ifc4x3::IfcSensorType::PredefinedType() const { return ::Ifc4x3::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSensorType::setPredefinedType(const ::Ifc4x3::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSensorType::setPredefinedType(const ::Ifc4x3::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X3_types[999]); } -void Ifc4x3::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[999]); } +void Ifc4x3::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSeventhOrderPolynomialSpiral double Ifc4x3::IfcSeventhOrderPolynomialSpiral::SepticTerm() const { double v = get_attribute_value(1); return v; } @@ -14631,24 +14631,24 @@ std::optional< double > Ifc4x3::IfcSeventhOrderPolynomialSpiral::ConstantTerm() void Ifc4x3::IfcSeventhOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSeventhOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_types[1002]); } +const ifcopenshell::entity& Ifc4x3::IfcSeventhOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1002]); } void Ifc4x3::IfcSeventhOrderPolynomialSpiral::initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x3::IfcShadingDeviceTypeEnum::Value > Ifc4x3::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[1003]); } -void Ifc4x3::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1003]); } +void Ifc4x3::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x3::IfcShadingDeviceTypeEnum::Value Ifc4x3::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[1004]); } -void Ifc4x3::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1004]); } +void Ifc4x3::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x3::IfcShapeModel > Ifc4x3::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcShapeModel>(es); } @@ -14662,22 +14662,22 @@ void Ifc4x3::IfcShapeAspect::setProductDefinitional(const boost::logic::tribool& ::Ifc4x3::IfcProductRepresentationSelect Ifc4x3::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3::IfcProductRepresentationSelect>(); } void Ifc4x3::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x3::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } -const IfcParse::entity& Ifc4x3::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X3_types[1006]); } +const ifcopenshell::entity& Ifc4x3::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1006]); } void Ifc4x3::IfcShapeAspect::initialize(std::vector< ::Ifc4x3::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x3::IfcShapeAspect> Ifc4x3::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1006], 0)); } +std::vector<::Ifc4x3::IfcShapeAspect> Ifc4x3::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1006], 0)); } -const IfcParse::entity& Ifc4x3::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X3_types[1007]); } +const ifcopenshell::entity& Ifc4x3::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1007]); } void Ifc4x3::IfcShapeModel::initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x3::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_types[1008]); } +const ifcopenshell::entity& Ifc4x3::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1008]); } void Ifc4x3::IfcShapeRepresentation::initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -14685,50 +14685,50 @@ std::vector< ::Ifc4x3::IfcShell > Ifc4x3::IfcShellBasedSurfaceModel::SbsmBoundar void Ifc4x3::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x3::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_types[1011]); } +const ifcopenshell::entity& Ifc4x3::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1011]); } void Ifc4x3::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x3::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSign std::optional< ::Ifc4x3::IfcSignTypeEnum::Value > Ifc4x3::IfcSign::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSignTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSign::Class() { return *((IfcParse::entity*)IFC4X3_types[1012]); } -void Ifc4x3::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSign::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1012]); } +void Ifc4x3::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignType ::Ifc4x3::IfcSignTypeEnum::Value Ifc4x3::IfcSignType::PredefinedType() const { return ::Ifc4x3::IfcSignTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSignType::setPredefinedType(const ::Ifc4x3::IfcSignTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSignType::setPredefinedType(const ::Ifc4x3::IfcSignTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcSignType::Class() { return *((IfcParse::entity*)IFC4X3_types[1016]); } -void Ifc4x3::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcSignType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1016]); } +void Ifc4x3::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSignal std::optional< ::Ifc4x3::IfcSignalTypeEnum::Value > Ifc4x3::IfcSignal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSignalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSignal::Class() { return *((IfcParse::entity*)IFC4X3_types[1013]); } -void Ifc4x3::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSignal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1013]); } +void Ifc4x3::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignalType ::Ifc4x3::IfcSignalTypeEnum::Value Ifc4x3::IfcSignalType::PredefinedType() const { return ::Ifc4x3::IfcSignalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSignalType::setPredefinedType(const ::Ifc4x3::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSignalType::setPredefinedType(const ::Ifc4x3::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcSignalType::Class() { return *((IfcParse::entity*)IFC4X3_types[1014]); } -void Ifc4x3::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcSignalType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1014]); } +void Ifc4x3::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x3::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X3_types[1018]); } +const ifcopenshell::entity& Ifc4x3::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1018]); } void Ifc4x3::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -14742,11 +14742,11 @@ void Ifc4x3::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x3::IfcUnit std::optional< std::string > Ifc4x3::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3::IfcStateEnum::Value > Ifc4x3::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_types[1019]); } -void Ifc4x3::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3::IfcUnit v9_PrimaryUnit, ::Ifc4x3::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4x3::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1019]); } +void Ifc4x3::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3::IfcUnit v9_PrimaryUnit, ::Ifc4x3::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSineSpiral double Ifc4x3::IfcSineSpiral::SineTerm() const { double v = get_attribute_value(1); return v; } @@ -14757,7 +14757,7 @@ std::optional< double > Ifc4x3::IfcSineSpiral::ConstantTerm() const { if(get_att void Ifc4x3::IfcSineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcSineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_types[1022]); } +const ifcopenshell::entity& Ifc4x3::IfcSineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1022]); } void Ifc4x3::IfcSineSpiral::initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SineTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSite @@ -14773,24 +14773,24 @@ void Ifc4x3::IfcSite::setLandTitleNumber(const std::optional< std::string >& v) void Ifc4x3::IfcSite::setSiteAddress(const ::Ifc4x3::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3::IfcSite::Class() { return *((IfcParse::entity*)IFC4X3_types[1024]); } -void Ifc4x3::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::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)); } +const ifcopenshell::entity& Ifc4x3::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1024]); } +void Ifc4x3::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x3::IfcSlabTypeEnum::Value > Ifc4x3::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X3_types[1028]); } -void Ifc4x3::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1028]); } +void Ifc4x3::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x3::IfcSlabTypeEnum::Value Ifc4x3::IfcSlabType::PredefinedType() const { return ::Ifc4x3::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSlabType::setPredefinedType(const ::Ifc4x3::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSlabType::setPredefinedType(const ::Ifc4x3::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X3_types[1029]); } -void Ifc4x3::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1029]); } +void Ifc4x3::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x3::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -14801,80 +14801,80 @@ std::optional< double > Ifc4x3::IfcSlippageConnectionCondition::SlippageZ() cons void Ifc4x3::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_types[1031]); } +const ifcopenshell::entity& Ifc4x3::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1031]); } void Ifc4x3::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x3::IfcSolarDeviceTypeEnum::Value > Ifc4x3::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[1032]); } -void Ifc4x3::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1032]); } +void Ifc4x3::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x3::IfcSolarDeviceTypeEnum::Value Ifc4x3::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[1033]); } -void Ifc4x3::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1033]); } +void Ifc4x3::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x3::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X3_types[1036]); } +const ifcopenshell::entity& Ifc4x3::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1036]); } void Ifc4x3::IfcSolidModel::initialize() { } // Function implementations for IfcSpace std::optional< ::Ifc4x3::IfcSpaceTypeEnum::Value > Ifc4x3::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x3::IfcRelCoversSpaces> Ifc4x3::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[929], 4)); } -std::vector<::Ifc4x3::IfcRelSpaceBoundary> Ifc4x3::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[946], 4)); } +std::vector<::Ifc4x3::IfcRelCoversSpaces> Ifc4x3::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[929], 4)); } +std::vector<::Ifc4x3::IfcRelSpaceBoundary> Ifc4x3::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[946], 4)); } -const IfcParse::entity& Ifc4x3::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X3_types[1042]); } -void Ifc4x3::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4x3::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1042]); } +void Ifc4x3::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value > Ifc4x3::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X3_types[1044]); } -void Ifc4x3::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1044]); } +void Ifc4x3::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value Ifc4x3::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X3_types[1045]); } -void Ifc4x3::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1045]); } +void Ifc4x3::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x3::IfcSpaceTypeEnum::Value Ifc4x3::IfcSpaceType::PredefinedType() const { return ::Ifc4x3::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSpaceType::setPredefinedType(const ::Ifc4x3::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSpaceType::setPredefinedType(const ::Ifc4x3::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X3_types[1047]); } -void Ifc4x3::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1047]); } +void Ifc4x3::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x3::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3::IfcRelContainedInSpatialStructure> Ifc4x3::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[927], 5)); } -std::vector<::Ifc4x3::IfcRelServicesBuildings> Ifc4x3::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[945], 5)); } -std::vector<::Ifc4x3::IfcRelReferencedInSpatialStructure> Ifc4x3::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[943], 5)); } -std::vector<::Ifc4x3::IfcRelInterferesElements> Ifc4x3::IfcSpatialElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[939], 5)); } -std::vector<::Ifc4x3::IfcRelInterferesElements> Ifc4x3::IfcSpatialElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[939], 4)); } +std::vector<::Ifc4x3::IfcRelContainedInSpatialStructure> Ifc4x3::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[927], 5)); } +std::vector<::Ifc4x3::IfcRelServicesBuildings> Ifc4x3::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[945], 5)); } +std::vector<::Ifc4x3::IfcRelReferencedInSpatialStructure> Ifc4x3::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[943], 5)); } +std::vector<::Ifc4x3::IfcRelInterferesElements> Ifc4x3::IfcSpatialElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[939], 5)); } +std::vector<::Ifc4x3::IfcRelInterferesElements> Ifc4x3::IfcSpatialElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[939], 4)); } -const IfcParse::entity& Ifc4x3::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_types[1049]); } +const ifcopenshell::entity& Ifc4x3::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1049]); } void Ifc4x3::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -14882,47 +14882,47 @@ std::optional< std::string > Ifc4x3::IfcSpatialElementType::ElementType() const void Ifc4x3::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[1050]); } +const ifcopenshell::entity& Ifc4x3::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1050]); } void Ifc4x3::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > Ifc4x3::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_types[1052]); } -void Ifc4x3::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1052]); } +void Ifc4x3::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x3::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[1053]); } +const ifcopenshell::entity& Ifc4x3::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1053]); } void Ifc4x3::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x3::IfcSpatialZoneTypeEnum::Value > Ifc4x3::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X3_types[1054]); } -void Ifc4x3::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1054]); } +void Ifc4x3::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x3::IfcSpatialZoneTypeEnum::Value Ifc4x3::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X3_types[1055]); } -void Ifc4x3::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1055]); } +void Ifc4x3::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x3::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X3_types[1061]); } +const ifcopenshell::entity& Ifc4x3::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1061]); } void Ifc4x3::IfcSphere::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -14930,7 +14930,7 @@ double Ifc4x3::IfcSphericalSurface::Radius() const { double v = get_attribute_v void Ifc4x3::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[1062]); } +const ifcopenshell::entity& Ifc4x3::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1062]); } void Ifc4x3::IfcSphericalSurface::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSpiral @@ -14938,32 +14938,32 @@ void Ifc4x3::IfcSphericalSurface::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Po void Ifc4x3::IfcSpiral::setPosition(const ::Ifc4x3::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcSpiral::Class() { return *((IfcParse::entity*)IFC4X3_types[1063]); } +const ifcopenshell::entity& Ifc4x3::IfcSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1063]); } void Ifc4x3::IfcSpiral::initialize(::Ifc4x3::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x3::IfcStackTerminalTypeEnum::Value > Ifc4x3::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X3_types[1064]); } -void Ifc4x3::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1064]); } +void Ifc4x3::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x3::IfcStackTerminalTypeEnum::Value Ifc4x3::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_types[1065]); } -void Ifc4x3::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1065]); } +void Ifc4x3::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x3::IfcStairTypeEnum::Value > Ifc4x3::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcStair::Class() { return *((IfcParse::entity*)IFC4X3_types[1067]); } -void Ifc4x3::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1067]); } +void Ifc4x3::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x3::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -14975,50 +14975,50 @@ void Ifc4x3::IfcStairFlight::setRiserHeight(const std::optional< double >& v) { std::optional< double > Ifc4x3::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3::IfcStairFlightTypeEnum::Value > Ifc4x3::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X3_types[1068]); } -void Ifc4x3::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1068]); } +void Ifc4x3::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x3::IfcStairFlightTypeEnum::Value Ifc4x3::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcStairFlightType::setPredefinedType(const ::Ifc4x3::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcStairFlightType::setPredefinedType(const ::Ifc4x3::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X3_types[1069]); } -void Ifc4x3::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1069]); } +void Ifc4x3::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x3::IfcStairTypeEnum::Value Ifc4x3::IfcStairType::PredefinedType() const { return ::Ifc4x3::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcStairType::setPredefinedType(const ::Ifc4x3::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcStairType::setPredefinedType(const ::Ifc4x3::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X3_types[1071]); } -void Ifc4x3::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1071]); } +void Ifc4x3::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x3::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x3::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X3_types[1074]); } -void Ifc4x3::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1074]); } +void Ifc4x3::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x3::IfcStructuralLoad Ifc4x3::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3::IfcStructuralLoad>(); } void Ifc4x3::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x3::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3::IfcGlobalOrLocalEnum::Value Ifc4x3::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x3::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3::IfcRelConnectsStructuralActivity> Ifc4x3::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[923], 5)); } +std::vector<::Ifc4x3::IfcRelConnectsStructuralActivity> Ifc4x3::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[923], 5)); } -const IfcParse::entity& Ifc4x3::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_types[1075]); } -void Ifc4x3::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1075]); } +void Ifc4x3::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x3::IfcAnalysisModelTypeEnum::Value Ifc4x3::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3::IfcAxis2Placement3D Ifc4x3::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcAxis2Placement3D>(); } void Ifc4x3::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x3::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3::IfcStructuralLoadGroup > > Ifc4x3::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3::IfcStructuralLoadGroup>(es); } @@ -15029,16 +15029,16 @@ void Ifc4x3::IfcStructuralAnalysisModel::setHasResults(const std::optional< std: void Ifc4x3::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x3::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X3_types[1077]); } -void Ifc4x3::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1077]); } +void Ifc4x3::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x3::IfcBoundaryCondition Ifc4x3::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3::IfcBoundaryCondition>(); } void Ifc4x3::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x3::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3::IfcRelConnectsStructuralMember> Ifc4x3::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[924], 5)); } +std::vector<::Ifc4x3::IfcRelConnectsStructuralMember> Ifc4x3::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[924], 5)); } -const IfcParse::entity& Ifc4x3::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X3_types[1078]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1078]); } void Ifc4x3::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -15046,70 +15046,70 @@ std::optional< std::string > Ifc4x3::IfcStructuralConnectionCondition::Name() co void Ifc4x3::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_types[1079]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1079]); } void Ifc4x3::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X3_types[1080]); } -void Ifc4x3::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1080]); } +void Ifc4x3::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x3::IfcDirection Ifc4x3::IfcStructuralCurveConnection::AxisDirection() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3::IfcDirection>(); } void Ifc4x3::IfcStructuralCurveConnection::setAxisDirection(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X3_types[1082]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1082]); } void Ifc4x3::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3::IfcDirection v9_AxisDirection) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_AxisDirection)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3::IfcDirection Ifc4x3::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3::IfcDirection>(); } void Ifc4x3::IfcStructuralCurveMember::setAxis(const ::Ifc4x3::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X3_types[1083]); } -void Ifc4x3::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1083]); } +void Ifc4x3::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x3::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_types[1085]); } -void Ifc4x3::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1085]); } +void Ifc4x3::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X3_types[1086]); } -void Ifc4x3::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1086]); } +void Ifc4x3::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x3::IfcRelConnectsStructuralActivity> Ifc4x3::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[923], 4)); } +std::vector<::Ifc4x3::IfcRelConnectsStructuralActivity> Ifc4x3::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[923], 4)); } -const IfcParse::entity& Ifc4x3::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X3_types[1087]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1087]); } void Ifc4x3::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x3::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X3_types[1088]); } -void Ifc4x3::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1088]); } +void Ifc4x3::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x3::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X3_types[1089]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1089]); } void Ifc4x3::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -15117,8 +15117,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x3::IfcStructuralLoadCase:: void Ifc4x3::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X3_types[1090]); } -void Ifc4x3::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1090]); } +void Ifc4x3::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x3::IfcStructuralLoadOrResult > Ifc4x3::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3::IfcStructuralLoadOrResult>(es); } @@ -15127,26 +15127,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3::IfcStructuralLoadC void Ifc4x3::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X3_types[1091]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1091]); } void Ifc4x3::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x3::IfcLoadGroupTypeEnum::Value Ifc4x3::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3::IfcActionTypeEnum::Value Ifc4x3::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x3::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x3::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x3::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x3::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x3::IfcActionSourceTypeEnum::Value Ifc4x3::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x3::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3::IfcStructuralResultGroup> Ifc4x3::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1108], 6)); } -std::vector<::Ifc4x3::IfcStructuralAnalysisModel> Ifc4x3::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1077], 7)); } +std::vector<::Ifc4x3::IfcStructuralResultGroup> Ifc4x3::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1108], 6)); } +std::vector<::Ifc4x3::IfcStructuralAnalysisModel> Ifc4x3::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1077], 7)); } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X3_types[1092]); } -void Ifc4x3::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1092]); } +void Ifc4x3::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x3::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -15163,13 +15163,13 @@ std::optional< double > Ifc4x3::IfcStructuralLoadLinearForce::LinearMomentZ() co void Ifc4x3::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X3_types[1093]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1093]); } void Ifc4x3::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x3::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X3_types[1094]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1094]); } void Ifc4x3::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -15181,7 +15181,7 @@ std::optional< double > Ifc4x3::IfcStructuralLoadPlanarForce::PlanarForceZ() con void Ifc4x3::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X3_types[1095]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1095]); } void Ifc4x3::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -15199,7 +15199,7 @@ std::optional< double > Ifc4x3::IfcStructuralLoadSingleDisplacement::RotationalD void Ifc4x3::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X3_types[1096]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1096]); } void Ifc4x3::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -15207,7 +15207,7 @@ std::optional< double > Ifc4x3::IfcStructuralLoadSingleDisplacementDistortion::D void Ifc4x3::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X3_types[1097]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1097]); } void Ifc4x3::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -15225,7 +15225,7 @@ std::optional< double > Ifc4x3::IfcStructuralLoadSingleForce::MomentZ() const { void Ifc4x3::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X3_types[1098]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1098]); } void Ifc4x3::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -15233,13 +15233,13 @@ std::optional< double > Ifc4x3::IfcStructuralLoadSingleForceWarping::WarpingMome void Ifc4x3::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X3_types[1099]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1099]); } void Ifc4x3::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x3::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X3_types[1100]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1100]); } void Ifc4x3::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -15251,105 +15251,105 @@ std::optional< double > Ifc4x3::IfcStructuralLoadTemperature::DeltaTZ() const { void Ifc4x3::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X3_types[1101]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1101]); } void Ifc4x3::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x3::IfcRelConnectsStructuralMember> Ifc4x3::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[924], 4)); } +std::vector<::Ifc4x3::IfcRelConnectsStructuralMember> Ifc4x3::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[924], 4)); } -const IfcParse::entity& Ifc4x3::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_types[1102]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1102]); } void Ifc4x3::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x3::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X3_types[1103]); } -void Ifc4x3::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1103]); } +void Ifc4x3::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x3::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X3_types[1104]); } -void Ifc4x3::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1104]); } +void Ifc4x3::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x3::IfcAxis2Placement3D Ifc4x3::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3::IfcAxis2Placement3D>(); } void Ifc4x3::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x3::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X3_types[1105]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1105]); } void Ifc4x3::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x3::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X3_types[1106]); } -void Ifc4x3::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1106]); } +void Ifc4x3::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x3::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X3_types[1107]); } -void Ifc4x3::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1107]); } +void Ifc4x3::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x3::IfcAnalysisTheoryTypeEnum::Value Ifc4x3::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3::IfcStructuralLoadGroup Ifc4x3::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3::IfcStructuralLoadGroup>(); } void Ifc4x3::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x3::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x3::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x3::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3::IfcStructuralAnalysisModel> Ifc4x3::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1077], 8)); } +std::vector<::Ifc4x3::IfcStructuralAnalysisModel> Ifc4x3::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1077], 8)); } -const IfcParse::entity& Ifc4x3::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X3_types[1108]); } -void Ifc4x3::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1108]); } +void Ifc4x3::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X3_types[1109]); } -void Ifc4x3::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1109]); } +void Ifc4x3::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x3::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X3_types[1111]); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1111]); } void Ifc4x3::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X3_types[1112]); } -void Ifc4x3::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1112]); } +void Ifc4x3::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x3::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_types[1114]); } -void Ifc4x3::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1114]); } +void Ifc4x3::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X3_types[1115]); } -void Ifc4x3::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1115]); } +void Ifc4x3::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x3::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X3_types[1118]); } +const ifcopenshell::entity& Ifc4x3::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1118]); } void Ifc4x3::IfcStyleModel::initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -15361,43 +15361,43 @@ std::optional< std::string > Ifc4x3::IfcStyledItem::Name() const { if(get_attrib void Ifc4x3::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X3_types[1116]); } +const ifcopenshell::entity& Ifc4x3::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1116]); } void Ifc4x3::IfcStyledItem::initialize(::Ifc4x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x3::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_types[1117]); } +const ifcopenshell::entity& Ifc4x3::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1117]); } void Ifc4x3::IfcStyledRepresentation::initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x3::IfcSubContractResourceTypeEnum::Value > Ifc4x3::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X3_types[1119]); } -void Ifc4x3::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1119]); } +void Ifc4x3::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x3::IfcSubContractResourceTypeEnum::Value Ifc4x3::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X3_types[1120]); } -void Ifc4x3::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1120]); } +void Ifc4x3::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x3::IfcEdge Ifc4x3::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcEdge>(); } void Ifc4x3::IfcSubedge::setParentEdge(const ::Ifc4x3::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X3_types[1122]); } +const ifcopenshell::entity& Ifc4x3::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1122]); } void Ifc4x3::IfcSubedge::initialize(::Ifc4x3::IfcVertex v1_EdgeStart, ::Ifc4x3::IfcVertex v2_EdgeEnd, ::Ifc4x3::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x3::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[1123]); } +const ifcopenshell::entity& Ifc4x3::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1123]); } void Ifc4x3::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -15406,28 +15406,28 @@ void Ifc4x3::IfcSurfaceCurve::setCurve3D(const ::Ifc4x3::IfcCurve& v) { set_attr std::vector< ::Ifc4x3::IfcPcurve > Ifc4x3::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3::IfcPcurve>(es); } void Ifc4x3::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x3::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x3::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[1124]); } -void Ifc4x3::IfcSurfaceCurve::initialize(::Ifc4x3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1124]); } +void Ifc4x3::IfcSurfaceCurve::initialize(::Ifc4x3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x3::IfcSurface Ifc4x3::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3::IfcSurface>(); } void Ifc4x3::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x3::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[1125]); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1125]); } void Ifc4x3::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcCurve v3_Directrix, ::Ifc4x3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x3::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3::IfcRelAdheresToElement> Ifc4x3::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[899], 5)); } +std::vector<::Ifc4x3::IfcRelAdheresToElement> Ifc4x3::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[899], 5)); } -const IfcParse::entity& Ifc4x3::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X3_types[1126]); } -void Ifc4x3::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1126]); } +void Ifc4x3::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x3::IfcDirection Ifc4x3::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3::IfcDirection>(); } @@ -15436,7 +15436,7 @@ double Ifc4x3::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_attr void Ifc4x3::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X3_types[1128]); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1128]); } void Ifc4x3::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3::IfcProfileDef v1_SweptCurve, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -15444,7 +15444,7 @@ void Ifc4x3::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3::IfcProfileDef v1_ void Ifc4x3::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x3::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X3_types[1129]); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1129]); } void Ifc4x3::IfcSurfaceOfRevolution::initialize(::Ifc4x3::IfcProfileDef v1_SweptCurve, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -15456,18 +15456,18 @@ std::optional< double > Ifc4x3::IfcSurfaceReinforcementArea::ShearReinforcement( void Ifc4x3::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X3_types[1131]); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1131]); } void Ifc4x3::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x3::IfcSurfaceSide::Value Ifc4x3::IfcSurfaceStyle::Side() const { return ::Ifc4x3::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x3::IfcSurfaceStyle::setSide(const ::Ifc4x3::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3::IfcSurfaceStyle::setSide(const ::Ifc4x3::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x3::IfcSurfaceStyleElementSelect > Ifc4x3::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3::IfcSurfaceStyleElementSelect>(es); } void Ifc4x3::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x3::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_types[1133]); } -void Ifc4x3::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1133]); } +void Ifc4x3::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x3::IfcColourRgb Ifc4x3::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcColourRgb>(); } @@ -15480,7 +15480,7 @@ void Ifc4x3::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x3::IfcC void Ifc4x3::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x3::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X3_types[1135]); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1135]); } void Ifc4x3::IfcSurfaceStyleLighting::initialize(::Ifc4x3::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3::IfcColourRgb v3_TransmissionColour, ::Ifc4x3::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -15490,7 +15490,7 @@ std::optional< double > Ifc4x3::IfcSurfaceStyleRefraction::DispersionFactor() co void Ifc4x3::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X3_types[1136]); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1136]); } void Ifc4x3::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -15507,11 +15507,11 @@ void Ifc4x3::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x3::IfcColo ::Ifc4x3::IfcSpecularHighlightSelect Ifc4x3::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3::IfcSpecularHighlightSelect>(); } void Ifc4x3::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x3::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3::IfcReflectanceMethodEnum::Value Ifc4x3::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x3::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X3_types[1137]); } -void Ifc4x3::IfcSurfaceStyleRendering::initialize(::Ifc4x3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1137]); } +void Ifc4x3::IfcSurfaceStyleRendering::initialize(::Ifc4x3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x3::IfcColourRgb Ifc4x3::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcColourRgb>(); } @@ -15520,7 +15520,7 @@ std::optional< double > Ifc4x3::IfcSurfaceStyleShading::Transparency() const { i void Ifc4x3::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X3_types[1138]); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1138]); } void Ifc4x3::IfcSurfaceStyleShading::initialize(::Ifc4x3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -15528,7 +15528,7 @@ std::vector< ::Ifc4x3::IfcSurfaceTexture > Ifc4x3::IfcSurfaceStyleWithTextures:: void Ifc4x3::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x3::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X3_types[1139]); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1139]); } void Ifc4x3::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -15543,10 +15543,10 @@ void Ifc4x3::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x3::IfcCartesian std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x3::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3::IfcTextureCoordinate> Ifc4x3::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1191], 0)); } -std::vector<::Ifc4x3::IfcSurfaceStyleWithTextures> Ifc4x3::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[1139], 0)); } +std::vector<::Ifc4x3::IfcTextureCoordinate> Ifc4x3::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1191], 0)); } +std::vector<::Ifc4x3::IfcSurfaceStyleWithTextures> Ifc4x3::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[1139], 0)); } -const IfcParse::entity& Ifc4x3::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X3_types[1140]); } +const ifcopenshell::entity& Ifc4x3::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1140]); } void Ifc4x3::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -15556,7 +15556,7 @@ void Ifc4x3::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x3::IfcProfileDef& v) { void Ifc4x3::IfcSweptAreaSolid::setPosition(const ::Ifc4x3::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[1141]); } +const ifcopenshell::entity& Ifc4x3::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1141]); } void Ifc4x3::IfcSweptAreaSolid::initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -15572,7 +15572,7 @@ std::optional< double > Ifc4x3::IfcSweptDiskSolid::EndParam() const { if(get_att void Ifc4x3::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X3_types[1142]); } +const ifcopenshell::entity& Ifc4x3::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1142]); } void Ifc4x3::IfcSweptDiskSolid::initialize(::Ifc4x3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -15580,7 +15580,7 @@ std::optional< double > Ifc4x3::IfcSweptDiskSolidPolygonal::FilletRadius() const void Ifc4x3::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X3_types[1143]); } +const ifcopenshell::entity& Ifc4x3::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1143]); } void Ifc4x3::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -15590,48 +15590,48 @@ void Ifc4x3::IfcSweptSurface::setSweptCurve(const ::Ifc4x3::IfcProfileDef& v) { void Ifc4x3::IfcSweptSurface::setPosition(const ::Ifc4x3::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[1144]); } +const ifcopenshell::entity& Ifc4x3::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1144]); } void Ifc4x3::IfcSweptSurface::initialize(::Ifc4x3::IfcProfileDef v1_SweptCurve, ::Ifc4x3::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[1145]); } -void Ifc4x3::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1145]); } +void Ifc4x3::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value Ifc4x3::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[1146]); } -void Ifc4x3::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1146]); } +void Ifc4x3::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x3::IfcRelServicesBuildings> Ifc4x3::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[945], 4)); } -std::vector<::Ifc4x3::IfcRelReferencedInSpatialStructure> Ifc4x3::IfcSystem::ServicesFacilities() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[943], 4)); } +std::vector<::Ifc4x3::IfcRelServicesBuildings> Ifc4x3::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[945], 4)); } +std::vector<::Ifc4x3::IfcRelReferencedInSpatialStructure> Ifc4x3::IfcSystem::ServicesFacilities() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[943], 4)); } -const IfcParse::entity& Ifc4x3::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X3_types[1148]); } +const ifcopenshell::entity& Ifc4x3::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1148]); } void Ifc4x3::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X3_types[1149]); } -void Ifc4x3::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1149]); } +void Ifc4x3::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[1150]); } -void Ifc4x3::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1150]); } +void Ifc4x3::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x3::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -15654,8 +15654,8 @@ std::optional< double > Ifc4x3::IfcTShapeProfileDef::FlangeSlope() const { if(ge void Ifc4x3::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[1236]); } -void Ifc4x3::IfcTShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1236]); } +void Ifc4x3::IfcTShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x3::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -15666,7 +15666,7 @@ std::optional< std::vector< ::Ifc4x3::IfcTableColumn > > Ifc4x3::IfcTable::Colum void Ifc4x3::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x3::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcTable::Class() { return *((IfcParse::entity*)IFC4X3_types[1152]); } +const ifcopenshell::entity& Ifc4x3::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1152]); } void Ifc4x3::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -15682,7 +15682,7 @@ void Ifc4x3::IfcTableColumn::setUnit(const ::Ifc4x3::IfcUnit& v) { set_attribute void Ifc4x3::IfcTableColumn::setReferencePath(const ::Ifc4x3::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X3_types[1153]); } +const ifcopenshell::entity& Ifc4x3::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1153]); } void Ifc4x3::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3::IfcUnit v4_Unit, ::Ifc4x3::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -15692,24 +15692,24 @@ std::optional< bool > Ifc4x3::IfcTableRow::IsHeading() const { if(get_attribute_ void Ifc4x3::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X3_types[1154]); } +const ifcopenshell::entity& Ifc4x3::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1154]); } void Ifc4x3::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x3::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x3::IfcTankTypeEnum::Value > Ifc4x3::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcTank::Class() { return *((IfcParse::entity*)IFC4X3_types[1155]); } -void Ifc4x3::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1155]); } +void Ifc4x3::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x3::IfcTankTypeEnum::Value Ifc4x3::IfcTankType::PredefinedType() const { return ::Ifc4x3::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTankType::setPredefinedType(const ::Ifc4x3::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTankType::setPredefinedType(const ::Ifc4x3::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X3_types[1156]); } -void Ifc4x3::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1156]); } +void Ifc4x3::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x3::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -15723,15 +15723,15 @@ void Ifc4x3::IfcTask::setPriority(const std::optional< int >& v) { if (v) {set_a ::Ifc4x3::IfcTaskTime Ifc4x3::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3::IfcTaskTime>(); } void Ifc4x3::IfcTask::setTaskTime(const ::Ifc4x3::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value > Ifc4x3::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3::IfcTask::Class() { return *((IfcParse::entity*)IFC4X3_types[1158]); } -void Ifc4x3::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1158]); } +void Ifc4x3::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x3::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x3::IfcTaskDurationEnum::Value > Ifc4x3::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x3::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x3::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -15766,26 +15766,26 @@ std::optional< double > Ifc4x3::IfcTaskTime::Completion() const { if(get_attribu void Ifc4x3::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X3_types[1160]); } -void Ifc4x3::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1160]); } +void Ifc4x3::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x3::IfcRecurrencePattern Ifc4x3::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x3::IfcRecurrencePattern>(); } void Ifc4x3::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x3::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x3::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X3_types[1161]); } -void Ifc4x3::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3::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)); } +const ifcopenshell::entity& Ifc4x3::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1161]); } +void Ifc4x3::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3::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)); } // Function implementations for IfcTaskType ::Ifc4x3::IfcTaskTypeEnum::Value Ifc4x3::IfcTaskType::PredefinedType() const { return ::Ifc4x3::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTaskType::setPredefinedType(const ::Ifc4x3::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTaskType::setPredefinedType(const ::Ifc4x3::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X3_types[1162]); } -void Ifc4x3::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4x3::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1162]); } +void Ifc4x3::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -15802,12 +15802,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3::IfcTelecomAddress: void Ifc4x3::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X3_types[1164]); } -void Ifc4x3::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1164]); } +void Ifc4x3::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x3::IfcTendonTypeEnum::Value > Ifc4x3::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15824,44 +15824,44 @@ std::optional< double > Ifc4x3::IfcTendon::MinCurvatureRadius() const { if(get_a void Ifc4x3::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X3_types[1167]); } -void Ifc4x3::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1167]); } +void Ifc4x3::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x3::IfcTendonAnchorTypeEnum::Value > Ifc4x3::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X3_types[1168]); } -void Ifc4x3::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1168]); } +void Ifc4x3::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x3::IfcTendonAnchorTypeEnum::Value Ifc4x3::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X3_types[1169]); } -void Ifc4x3::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1169]); } +void Ifc4x3::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduit ::Ifc4x3::IfcTendonConduitTypeEnum::Value Ifc4x3::IfcTendonConduit::PredefinedType() const { return ::Ifc4x3::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTendonConduit::setPredefinedType(const ::Ifc4x3::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTendonConduit::setPredefinedType(const ::Ifc4x3::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X3_types[1171]); } -void Ifc4x3::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1171]); } +void Ifc4x3::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduitType ::Ifc4x3::IfcTendonConduitTypeEnum::Value Ifc4x3::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X3_types[1172]); } -void Ifc4x3::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1172]); } +void Ifc4x3::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x3::IfcTendonTypeEnum::Value Ifc4x3::IfcTendonType::PredefinedType() const { return ::Ifc4x3::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTendonType::setPredefinedType(const ::Ifc4x3::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTendonType::setPredefinedType(const ::Ifc4x3::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15870,8 +15870,8 @@ std::optional< double > Ifc4x3::IfcTendonType::SheathDiameter() const { if(get_a void Ifc4x3::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X3_types[1174]); } -void Ifc4x3::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::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)); } } +const ifcopenshell::entity& Ifc4x3::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1174]); } +void Ifc4x3::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x3::IfcCartesianPointList3D Ifc4x3::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcCartesianPointList3D>(); } @@ -15879,16 +15879,16 @@ void Ifc4x3::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x3::IfcCartesianP std::optional< bool > Ifc4x3::IfcTessellatedFaceSet::Closed() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } bool v = get_attribute_value(1); return v; } void Ifc4x3::IfcTessellatedFaceSet::setClosed(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3::IfcIndexedColourMap> Ifc4x3::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[544], 0)); } -std::vector<::Ifc4x3::IfcIndexedTextureMap> Ifc4x3::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[549], 1)); } +std::vector<::Ifc4x3::IfcIndexedColourMap> Ifc4x3::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[544], 0)); } +std::vector<::Ifc4x3::IfcIndexedTextureMap> Ifc4x3::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[549], 1)); } -const IfcParse::entity& Ifc4x3::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_types[1176]); } +const ifcopenshell::entity& Ifc4x3::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1176]); } void Ifc4x3::IfcTessellatedFaceSet::initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); } } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x3::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X3_types[1177]); } +const ifcopenshell::entity& Ifc4x3::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1177]); } void Ifc4x3::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -15897,11 +15897,11 @@ void Ifc4x3::IfcTextLiteral::setLiteral(const std::string& v) { set_attribute_va ::Ifc4x3::IfcAxis2Placement Ifc4x3::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcAxis2Placement>(); } void Ifc4x3::IfcTextLiteral::setPlacement(const ::Ifc4x3::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3::IfcTextPath::Value Ifc4x3::IfcTextLiteral::Path() const { return ::Ifc4x3::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x3::IfcTextLiteral::setPath(const ::Ifc4x3::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3::IfcTextLiteral::setPath(const ::Ifc4x3::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X3_types[1183]); } -void Ifc4x3::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3::IfcAxis2Placement v2_Placement, ::Ifc4x3::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x3::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1183]); } +void Ifc4x3::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3::IfcAxis2Placement v2_Placement, ::Ifc4x3::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x3::IfcPlanarExtent Ifc4x3::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3::IfcPlanarExtent>(); } @@ -15910,8 +15910,8 @@ std::string Ifc4x3::IfcTextLiteralWithExtent::BoxAlignment() const { std::strin void Ifc4x3::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X3_types[1184]); } -void Ifc4x3::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3::IfcAxis2Placement v2_Placement, ::Ifc4x3::IfcTextPath::Value v3_Path, ::Ifc4x3::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x3::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1184]); } +void Ifc4x3::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3::IfcAxis2Placement v2_Placement, ::Ifc4x3::IfcTextPath::Value v3_Path, ::Ifc4x3::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x3::IfcTextStyleForDefinedFont Ifc4x3::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcTextStyleForDefinedFont>(); } @@ -15924,7 +15924,7 @@ std::optional< bool > Ifc4x3::IfcTextStyle::ModelOrDraughting() const { if(get_a void Ifc4x3::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X3_types[1186]); } +const ifcopenshell::entity& Ifc4x3::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1186]); } void Ifc4x3::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -15940,7 +15940,7 @@ void Ifc4x3::IfcTextStyleFontModel::setFontWeight(const std::optional< std::stri void Ifc4x3::IfcTextStyleFontModel::setFontSize(const ::Ifc4x3::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X3_types[1187]); } +const ifcopenshell::entity& Ifc4x3::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1187]); } void Ifc4x3::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -15950,7 +15950,7 @@ void Ifc4x3::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x3::IfcColour& v) void Ifc4x3::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x3::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X3_types[1188]); } +const ifcopenshell::entity& Ifc4x3::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1188]); } void Ifc4x3::IfcTextStyleForDefinedFont::initialize(::Ifc4x3::IfcColour v1_Colour, ::Ifc4x3::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -15970,7 +15970,7 @@ void Ifc4x3::IfcTextStyleTextModel::setTextTransform(const std::optional< std::s void Ifc4x3::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x3::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X3_types[1189]); } +const ifcopenshell::entity& Ifc4x3::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1189]); } void Ifc4x3::IfcTextStyleTextModel::initialize(::Ifc4x3::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -15978,7 +15978,7 @@ std::vector< ::Ifc4x3::IfcSurfaceTexture > Ifc4x3::IfcTextureCoordinate::Maps() void Ifc4x3::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x3::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X3_types[1191]); } +const ifcopenshell::entity& Ifc4x3::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1191]); } void Ifc4x3::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -15988,7 +15988,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x3::IfcTextureCoordinateGen void Ifc4x3::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X3_types[1192]); } +const ifcopenshell::entity& Ifc4x3::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1192]); } void Ifc4x3::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureCoordinateIndices @@ -15997,9 +15997,9 @@ void Ifc4x3::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector< in ::Ifc4x3::IfcIndexedPolygonalFace Ifc4x3::IfcTextureCoordinateIndices::TexCoordsOf() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3::IfcIndexedPolygonalFace>(); } void Ifc4x3::IfcTextureCoordinateIndices::setTexCoordsOf(const ::Ifc4x3::IfcIndexedPolygonalFace& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3::IfcIndexedPolygonalTextureMap> Ifc4x3::IfcTextureCoordinateIndices::ToTexMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[548], 3)); } +std::vector<::Ifc4x3::IfcIndexedPolygonalTextureMap> Ifc4x3::IfcTextureCoordinateIndices::ToTexMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[548], 3)); } -const IfcParse::entity& Ifc4x3::IfcTextureCoordinateIndices::Class() { return *((IfcParse::entity*)IFC4X3_types[1193]); } +const ifcopenshell::entity& Ifc4x3::IfcTextureCoordinateIndices::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1193]); } void Ifc4x3::IfcTextureCoordinateIndices::initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf)); } // Function implementations for IfcTextureCoordinateIndicesWithVoids @@ -16007,7 +16007,7 @@ std::vector< std::vector< int > > Ifc4x3::IfcTextureCoordinateIndicesWithVoids:: void Ifc4x3::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcTextureCoordinateIndicesWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_types[1194]); } +const ifcopenshell::entity& Ifc4x3::IfcTextureCoordinateIndicesWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1194]); } void Ifc4x3::IfcTextureCoordinateIndicesWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));set_attribute_value(2, (v3_InnerTexCoordIndices)); } // Function implementations for IfcTextureMap @@ -16017,7 +16017,7 @@ void Ifc4x3::IfcTextureMap::setVertices(const std::vector< ::Ifc4x3::IfcTextureV void Ifc4x3::IfcTextureMap::setMappedTo(const ::Ifc4x3::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_types[1195]); } +const ifcopenshell::entity& Ifc4x3::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1195]); } void Ifc4x3::IfcTextureMap::initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3::IfcTextureVertex > v2_Vertices, ::Ifc4x3::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -16025,7 +16025,7 @@ std::vector< double > /*[2:2]*/ Ifc4x3::IfcTextureVertex::Coordinates() const { void Ifc4x3::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X3_types[1196]); } +const ifcopenshell::entity& Ifc4x3::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1196]); } void Ifc4x3::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -16033,7 +16033,7 @@ std::vector< std::vector< double > > Ifc4x3::IfcTextureVertexList::TexCoordsList void Ifc4x3::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X3_types[1197]); } +const ifcopenshell::entity& Ifc4x3::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1197]); } void Ifc4x3::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcThirdOrderPolynomialSpiral @@ -16047,7 +16047,7 @@ std::optional< double > Ifc4x3::IfcThirdOrderPolynomialSpiral::ConstantTerm() co void Ifc4x3::IfcThirdOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcThirdOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_types[1204]); } +const ifcopenshell::entity& Ifc4x3::IfcThirdOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1204]); } void Ifc4x3::IfcThirdOrderPolynomialSpiral::initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcTimePeriod @@ -16057,7 +16057,7 @@ std::string Ifc4x3::IfcTimePeriod::EndTime() const { std::string v = get_attrib void Ifc4x3::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X3_types[1208]); } +const ifcopenshell::entity& Ifc4x3::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1208]); } void Ifc4x3::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -16070,37 +16070,37 @@ void Ifc4x3::IfcTimeSeries::setStartTime(const std::string& v) { set_attribute_v std::string Ifc4x3::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x3::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value Ifc4x3::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x3::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3::IfcDataOriginEnum::Value Ifc4x3::IfcTimeSeries::DataOrigin() const { return ::Ifc4x3::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcTimeSeries::setDataOrigin(const ::Ifc4x3::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3::IfcTimeSeries::setDataOrigin(const ::Ifc4x3::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x3::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3::IfcUnit Ifc4x3::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3::IfcUnit>(); } void Ifc4x3::IfcTimeSeries::setUnit(const ::Ifc4x3::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[430], 3)); } +std::vector<::Ifc4x3::IfcExternalReferenceRelationship> Ifc4x3::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[430], 3)); } -const IfcParse::entity& Ifc4x3::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_types[1209]); } -void Ifc4x3::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3::IfcUnit v8_Unit) { 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::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4x3::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1209]); } +void Ifc4x3::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x3::IfcValue > Ifc4x3::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcValue>(es); } void Ifc4x3::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_types[1211]); } +const ifcopenshell::entity& Ifc4x3::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1211]); } void Ifc4x3::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x3::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x3::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_types[1213]); } +const ifcopenshell::entity& Ifc4x3::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1213]); } void Ifc4x3::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x3::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_types[1214]); } +const ifcopenshell::entity& Ifc4x3::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1214]); } void Ifc4x3::IfcTopologyRepresentation::initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -16110,67 +16110,67 @@ double Ifc4x3::IfcToroidalSurface::MinorRadius() const { double v = get_attribu void Ifc4x3::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X3_types[1215]); } +const ifcopenshell::entity& Ifc4x3::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1215]); } void Ifc4x3::IfcToroidalSurface::initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTrackElement std::optional< ::Ifc4x3::IfcTrackElementTypeEnum::Value > Ifc4x3::IfcTrackElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcTrackElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcTrackElement::Class() { return *((IfcParse::entity*)IFC4X3_types[1217]); } -void Ifc4x3::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcTrackElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1217]); } +void Ifc4x3::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTrackElementType ::Ifc4x3::IfcTrackElementTypeEnum::Value Ifc4x3::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3::IfcTrackElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTrackElementType::setPredefinedType(const ::Ifc4x3::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTrackElementType::setPredefinedType(const ::Ifc4x3::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcTrackElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[1218]); } -void Ifc4x3::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcTrackElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1218]); } +void Ifc4x3::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransformer std::optional< ::Ifc4x3::IfcTransformerTypeEnum::Value > Ifc4x3::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X3_types[1220]); } -void Ifc4x3::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1220]); } +void Ifc4x3::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x3::IfcTransformerTypeEnum::Value Ifc4x3::IfcTransformerType::PredefinedType() const { return ::Ifc4x3::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTransformerType::setPredefinedType(const ::Ifc4x3::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTransformerType::setPredefinedType(const ::Ifc4x3::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X3_types[1221]); } -void Ifc4x3::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1221]); } +void Ifc4x3::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportElement std::optional< ::Ifc4x3::IfcTransportElementTypeEnum::Value > Ifc4x3::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcTransportElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X3_types[1227]); } -void Ifc4x3::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1227]); } +void Ifc4x3::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransportElementType ::Ifc4x3::IfcTransportElementTypeEnum::Value Ifc4x3::IfcTransportElementType::PredefinedType() const { return ::Ifc4x3::IfcTransportElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTransportElementType::setPredefinedType(const ::Ifc4x3::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTransportElementType::setPredefinedType(const ::Ifc4x3::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[1228]); } -void Ifc4x3::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1228]); } +void Ifc4x3::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportationDevice -const IfcParse::entity& Ifc4x3::IfcTransportationDevice::Class() { return *((IfcParse::entity*)IFC4X3_types[1225]); } +const ifcopenshell::entity& Ifc4x3::IfcTransportationDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1225]); } void Ifc4x3::IfcTransportationDevice::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTransportationDeviceType -const IfcParse::entity& Ifc4x3::IfcTransportationDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_types[1226]); } +const ifcopenshell::entity& Ifc4x3::IfcTransportationDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1226]); } void Ifc4x3::IfcTransportationDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcTrapeziumProfileDef @@ -16184,8 +16184,8 @@ double Ifc4x3::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_attr void Ifc4x3::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[1230]); } -void Ifc4x3::IfcTrapeziumProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x3::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1230]); } +void Ifc4x3::IfcTrapeziumProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x3::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(2); return v; } @@ -16196,7 +16196,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3::IfcTriangulatedFaceSet::Pn void Ifc4x3::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_types[1231]); } +const ifcopenshell::entity& Ifc4x3::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1231]); } void Ifc4x3::IfcTriangulatedFaceSet::initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::optional< std::vector< std::vector< double > > > v3_Normals, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); } if (v3_Normals) {set_attribute_value(2, (*v3_Normals)); }set_attribute_value(3, (v4_CoordIndex)); if (v5_PnIndex) {set_attribute_value(4, (*v5_PnIndex)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -16204,7 +16204,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3::IfcTriangulatedIrregularNetwork::Flags() co void Ifc4x3::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X3_types[1232]); } +const ifcopenshell::entity& Ifc4x3::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1232]); } void Ifc4x3::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::optional< std::vector< std::vector< double > > > v3_Normals, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); } if (v3_Normals) {set_attribute_value(2, (*v3_Normals)); }set_attribute_value(3, (v4_CoordIndex)); if (v5_PnIndex) {set_attribute_value(4, (*v5_PnIndex)); }set_attribute_value(5, (v6_Flags)); } // Function implementations for IfcTrimmedCurve @@ -16217,27 +16217,27 @@ void Ifc4x3::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x3::IfcTrimmingS bool Ifc4x3::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x3::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3::IfcTrimmingPreference::Value Ifc4x3::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x3::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x3::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X3_types[1233]); } -void Ifc4x3::IfcTrimmedCurve::initialize(::Ifc4x3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1233]); } +void Ifc4x3::IfcTrimmedCurve::initialize(::Ifc4x3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x3::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x3::IfcTubeBundleTypeEnum::Value > Ifc4x3::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X3_types[1237]); } -void Ifc4x3::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1237]); } +void Ifc4x3::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x3::IfcTubeBundleTypeEnum::Value Ifc4x3::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X3_types[1238]); } -void Ifc4x3::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1238]); } +void Ifc4x3::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x3::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -16245,9 +16245,9 @@ void Ifc4x3::IfcTypeObject::setApplicableOccurrence(const std::optional< std::st std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > Ifc4x3::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3::IfcPropertySetDefinition>(es); } void Ifc4x3::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3::IfcRelDefinesByType> Ifc4x3::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[936], 5)); } +std::vector<::Ifc4x3::IfcRelDefinesByType> Ifc4x3::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[936], 5)); } -const IfcParse::entity& Ifc4x3::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X3_types[1240]); } +const ifcopenshell::entity& Ifc4x3::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1240]); } void Ifc4x3::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -16258,9 +16258,9 @@ void Ifc4x3::IfcTypeProcess::setLongDescription(const std::optional< std::string std::optional< std::string > Ifc4x3::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3::IfcRelAssignsToProcess> Ifc4x3::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[906], 6)); } +std::vector<::Ifc4x3::IfcRelAssignsToProcess> Ifc4x3::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[906], 6)); } -const IfcParse::entity& Ifc4x3::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X3_types[1241]); } +const ifcopenshell::entity& Ifc4x3::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1241]); } void Ifc4x3::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -16269,9 +16269,9 @@ void Ifc4x3::IfcTypeProduct::setRepresentationMaps(const std::optional< std::vec std::optional< std::string > Ifc4x3::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3::IfcRelAssignsToProduct> Ifc4x3::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[907], 6)); } +std::vector<::Ifc4x3::IfcRelAssignsToProduct> Ifc4x3::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[907], 6)); } -const IfcParse::entity& Ifc4x3::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X3_types[1242]); } +const ifcopenshell::entity& Ifc4x3::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1242]); } void Ifc4x3::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -16282,9 +16282,9 @@ void Ifc4x3::IfcTypeResource::setLongDescription(const std::optional< std::strin std::optional< std::string > Ifc4x3::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3::IfcRelAssignsToResource> Ifc4x3::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_types[908], 6)); } +std::vector<::Ifc4x3::IfcRelAssignsToResource> Ifc4x3::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_types[908], 6)); } -const IfcParse::entity& Ifc4x3::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X3_types[1243]); } +const ifcopenshell::entity& Ifc4x3::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1243]); } void Ifc4x3::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -16304,64 +16304,64 @@ std::optional< double > Ifc4x3::IfcUShapeProfileDef::FlangeSlope() const { if(ge void Ifc4x3::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[1254]); } -void Ifc4x3::IfcUShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1254]); } +void Ifc4x3::IfcUShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x3::IfcUnit > Ifc4x3::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcUnit>(es); } void Ifc4x3::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x3::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X3_types[1251]); } +const ifcopenshell::entity& Ifc4x3::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1251]); } void Ifc4x3::IfcUnitAssignment::initialize(std::vector< ::Ifc4x3::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X3_types[1245]); } -void Ifc4x3::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1245]); } +void Ifc4x3::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value Ifc4x3::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_types[1246]); } -void Ifc4x3::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1246]); } +void Ifc4x3::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X3_types[1248]); } -void Ifc4x3::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1248]); } +void Ifc4x3::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X3_types[1249]); } -void Ifc4x3::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1249]); } +void Ifc4x3::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x3::IfcValveTypeEnum::Value > Ifc4x3::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcValve::Class() { return *((IfcParse::entity*)IFC4X3_types[1256]); } -void Ifc4x3::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1256]); } +void Ifc4x3::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x3::IfcValveTypeEnum::Value Ifc4x3::IfcValveType::PredefinedType() const { return ::Ifc4x3::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcValveType::setPredefinedType(const ::Ifc4x3::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcValveType::setPredefinedType(const ::Ifc4x3::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X3_types[1257]); } -void Ifc4x3::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1257]); } +void Ifc4x3::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x3::IfcDirection Ifc4x3::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3::IfcDirection>(); } @@ -16370,29 +16370,29 @@ double Ifc4x3::IfcVector::Magnitude() const { double v = get_attribute_value(1) void Ifc4x3::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcVector::Class() { return *((IfcParse::entity*)IFC4X3_types[1260]); } +const ifcopenshell::entity& Ifc4x3::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1260]); } void Ifc4x3::IfcVector::initialize(::Ifc4x3::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVehicle std::optional< ::Ifc4x3::IfcVehicleTypeEnum::Value > Ifc4x3::IfcVehicle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcVehicleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcVehicle::setPredefinedType(const std::optional< ::Ifc4x3::IfcVehicleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcVehicleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcVehicle::setPredefinedType(const std::optional< ::Ifc4x3::IfcVehicleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcVehicleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcVehicle::Class() { return *((IfcParse::entity*)IFC4X3_types[1262]); } -void Ifc4x3::IfcVehicle::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVehicleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcVehicle::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1262]); } +void Ifc4x3::IfcVehicle::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVehicleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVehicleType ::Ifc4x3::IfcVehicleTypeEnum::Value Ifc4x3::IfcVehicleType::PredefinedType() const { return ::Ifc4x3::IfcVehicleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcVehicleType::setPredefinedType(const ::Ifc4x3::IfcVehicleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcVehicleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcVehicleType::setPredefinedType(const ::Ifc4x3::IfcVehicleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcVehicleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcVehicleType::Class() { return *((IfcParse::entity*)IFC4X3_types[1263]); } -void Ifc4x3::IfcVehicleType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcVehicleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcVehicleType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1263]); } +void Ifc4x3::IfcVehicleType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcVehicleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x3::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X3_types[1265]); } +const ifcopenshell::entity& Ifc4x3::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1265]); } void Ifc4x3::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -16400,7 +16400,7 @@ void Ifc4x3::IfcVertex::initialize() { } void Ifc4x3::IfcVertexLoop::setLoopVertex(const ::Ifc4x3::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X3_types[1266]); } +const ifcopenshell::entity& Ifc4x3::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1266]); } void Ifc4x3::IfcVertexLoop::initialize(::Ifc4x3::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -16408,48 +16408,48 @@ void Ifc4x3::IfcVertexLoop::initialize(::Ifc4x3::IfcVertex v1_LoopVertex) { set_ void Ifc4x3::IfcVertexPoint::setVertexGeometry(const ::Ifc4x3::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X3_types[1267]); } +const ifcopenshell::entity& Ifc4x3::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1267]); } void Ifc4x3::IfcVertexPoint::initialize(::Ifc4x3::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationDamper std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > Ifc4x3::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X3_types[1268]); } -void Ifc4x3::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1268]); } +void Ifc4x3::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationDamperType ::Ifc4x3::IfcVibrationDamperTypeEnum::Value Ifc4x3::IfcVibrationDamperType::PredefinedType() const { return ::Ifc4x3::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcVibrationDamperType::setPredefinedType(const ::Ifc4x3::IfcVibrationDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcVibrationDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcVibrationDamperType::setPredefinedType(const ::Ifc4x3::IfcVibrationDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcVibrationDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X3_types[1269]); } -void Ifc4x3::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1269]); } +void Ifc4x3::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X3_types[1271]); } -void Ifc4x3::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1271]); } +void Ifc4x3::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value Ifc4x3::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X3_types[1272]); } -void Ifc4x3::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1272]); } +void Ifc4x3::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement std::optional< ::Ifc4x3::IfcVirtualElementTypeEnum::Value > Ifc4x3::IfcVirtualElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcVirtualElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcVirtualElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcVirtualElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcVirtualElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcVirtualElement::setPredefinedType(const std::optional< ::Ifc4x3::IfcVirtualElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcVirtualElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X3_types[1274]); } -void Ifc4x3::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1274]); } +void Ifc4x3::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVirtualGridIntersection std::vector< ::Ifc4x3::IfcGridAxis > Ifc4x3::IfcVirtualGridIntersection::IntersectingAxes() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3::IfcGridAxis>(es); } @@ -16458,54 +16458,54 @@ std::vector< double > /*[2:3]*/ Ifc4x3::IfcVirtualGridIntersection::OffsetDistan void Ifc4x3::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X3_types[1276]); } +const ifcopenshell::entity& Ifc4x3::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1276]); } void Ifc4x3::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x3::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x3::IfcVoidingFeatureTypeEnum::Value > Ifc4x3::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X3_types[1277]); } -void Ifc4x3::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1277]); } +void Ifc4x3::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x3::IfcWallTypeEnum::Value > Ifc4x3::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcWall::Class() { return *((IfcParse::entity*)IFC4X3_types[1281]); } -void Ifc4x3::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1281]); } +void Ifc4x3::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x3::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_types[1282]); } -void Ifc4x3::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1282]); } +void Ifc4x3::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x3::IfcWallTypeEnum::Value Ifc4x3::IfcWallType::PredefinedType() const { return ::Ifc4x3::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcWallType::setPredefinedType(const ::Ifc4x3::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcWallType::setPredefinedType(const ::Ifc4x3::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X3_types[1283]); } -void Ifc4x3::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1283]); } +void Ifc4x3::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x3::IfcWasteTerminalTypeEnum::Value > Ifc4x3::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X3_types[1288]); } -void Ifc4x3::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1288]); } +void Ifc4x3::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x3::IfcWasteTerminalTypeEnum::Value Ifc4x3::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_types[1289]); } -void Ifc4x3::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1289]); } +void Ifc4x3::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWindow std::optional< double > Ifc4x3::IfcWindow::OverallHeight() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } @@ -16513,15 +16513,15 @@ void Ifc4x3::IfcWindow::setOverallHeight(const std::optional< double >& v) { if std::optional< double > Ifc4x3::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3::IfcWindowTypeEnum::Value > Ifc4x3::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3::IfcWindowTypePartitioningEnum::Value > Ifc4x3::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x3::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X3_types[1291]); } -void Ifc4x3::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1291]); } +void Ifc4x3::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x3::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -16550,14 +16550,14 @@ std::optional< double > Ifc4x3::IfcWindowLiningProperties::LiningToPanelOffsetY( void Ifc4x3::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[1292]); } +const ifcopenshell::entity& Ifc4x3::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1292]); } void Ifc4x3::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x3::IfcWindowPanelOperationEnum::Value Ifc4x3::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3::IfcWindowPanelPositionEnum::Value Ifc4x3::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x3::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -16566,22 +16566,22 @@ void Ifc4x3::IfcWindowPanelProperties::setFrameThickness(const std::optional< do void Ifc4x3::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x3::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_types[1295]); } -void Ifc4x3::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3::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)); } +const ifcopenshell::entity& Ifc4x3::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1295]); } +void Ifc4x3::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3::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)); } // Function implementations for IfcWindowType ::Ifc4x3::IfcWindowTypeEnum::Value Ifc4x3::IfcWindowType::PredefinedType() const { return ::Ifc4x3::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3::IfcWindowType::setPredefinedType(const ::Ifc4x3::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3::IfcWindowType::setPredefinedType(const ::Ifc4x3::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3::IfcWindowTypePartitioningEnum::Value Ifc4x3::IfcWindowType::PartitioningType() const { return ::Ifc4x3::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x3::IfcWindowType::setPartitioningType(const ::Ifc4x3::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3::IfcWindowType::setPartitioningType(const ::Ifc4x3::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X3_types[1298]); } -void Ifc4x3::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1298]); } +void Ifc4x3::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x3::IfcWorkTime > > Ifc4x3::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3::IfcWorkTime>(es); } @@ -16589,11 +16589,11 @@ void Ifc4x3::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vector< std::optional< std::vector< ::Ifc4x3::IfcWorkTime > > Ifc4x3::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3::IfcWorkTime>(es); } void Ifc4x3::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x3::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3::IfcWorkCalendarTypeEnum::Value > Ifc4x3::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X3_types[1301]); } -void Ifc4x3::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1301]); } +void Ifc4x3::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x3::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -16612,24 +16612,24 @@ std::optional< std::string > Ifc4x3::IfcWorkControl::FinishTime() const { if(get void Ifc4x3::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X3_types[1303]); } +const ifcopenshell::entity& Ifc4x3::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1303]); } void Ifc4x3::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x3::IfcWorkPlanTypeEnum::Value > Ifc4x3::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X3_types[1304]); } -void Ifc4x3::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1304]); } +void Ifc4x3::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x3::IfcWorkScheduleTypeEnum::Value > Ifc4x3::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X3_types[1306]); } -void Ifc4x3::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1306]); } +void Ifc4x3::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x3::IfcRecurrencePattern Ifc4x3::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3::IfcRecurrencePattern>(); } @@ -16640,8 +16640,8 @@ std::optional< std::string > Ifc4x3::IfcWorkTime::FinishDate() const { if(get_at void Ifc4x3::IfcWorkTime::setFinishDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X3_types[1308]); } -void Ifc4x3::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); } } +const ifcopenshell::entity& Ifc4x3::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1308]); } +void Ifc4x3::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x3::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -16658,14 +16658,14 @@ std::optional< double > Ifc4x3::IfcZShapeProfileDef::EdgeRadius() const { if(get void Ifc4x3::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_types[1310]); } -void Ifc4x3::IfcZShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1310]); } +void Ifc4x3::IfcZShapeProfileDef::initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x3::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3::IfcZone::Class() { return *((IfcParse::entity*)IFC4X3_types[1309]); } +const ifcopenshell::entity& Ifc4x3::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X3_types[1309]); } void Ifc4x3::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x3.h b/src/ifcparse/schemas/Ifc4x3.h index f13ad57684..66e1c4f1bd 100644 --- a/src/ifcparse/schemas/Ifc4x3.h +++ b/src/ifcparse/schemas/Ifc4x3.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x3 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveMeasureSelect() {} explicit IfcCurveMeasureSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcNonNegativeLengthMeasure as() const { return express::Base::as(); } @@ -1108,7 +1108,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1141,7 +1141,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1165,7 +1165,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1191,7 +1191,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1284,7 +1284,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1725,7 +1725,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1750,7 +1750,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1798,7 +1798,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1831,7 +1831,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1853,7 +1853,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1873,7 +1873,7 @@ public: IfcInterferenceSelect() {} explicit IfcInterferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -1899,7 +1899,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1928,7 +1928,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -1969,7 +1969,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -2014,7 +2014,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2048,7 +2048,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2205,7 +2205,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2917,7 +2917,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2939,7 +2939,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2961,7 +2961,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2983,7 +2983,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3051,7 +3051,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3080,7 +3080,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3100,7 +3100,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3128,7 +3128,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3148,7 +3148,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3170,7 +3170,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3288,7 +3288,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3310,7 +3310,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3330,7 +3330,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3360,7 +3360,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3398,7 +3398,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3501,7 +3501,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3551,7 +3551,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3582,7 +3582,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3602,7 +3602,7 @@ public: IfcSpatialReferenceSelect() {} explicit IfcSpatialReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcGroup as() const { return express::Base::as(); } @@ -3631,7 +3631,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3659,7 +3659,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3687,7 +3687,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3721,7 +3721,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3765,7 +3765,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3786,7 +3786,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3808,7 +3808,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3832,7 +3832,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -3864,7 +3864,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -3899,7 +3899,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4580,7 +4580,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4602,7 +4602,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4630,13 +4630,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4649,13 +4649,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_BRAKES, IfcActionSourceType_BUOYANCY, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_CREEP, IfcActionSourceType_CURRENT, IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_ERECTION, IfcActionSourceType_FIRE, IfcActionSourceType_ICE, IfcActionSourceType_IMPACT, IfcActionSourceType_IMPULSE, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_PROPPING, IfcActionSourceType_RAIN, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_SNOW_S, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_TRANSPORT, IfcActionSourceType_WAVE, IfcActionSourceType_WIND_W, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4670,13 +4670,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_EXTRAORDINARY_A, IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4700,13 +4700,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4725,13 +4725,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_HOME, IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4750,13 +4750,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4777,13 +4777,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4807,13 +4807,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4835,13 +4835,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_RAILWAYCROCODILE, IfcAlarmType_RAILWAYDETONATOR, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4850,13 +4850,13 @@ public: class IFC_PARSE_API IfcAlignmentCantSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentCantSegmentTypeEnum() {} - explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentCantSegmentType_BLOSSCURVE, IfcAlignmentCantSegmentType_CONSTANTCANT, IfcAlignmentCantSegmentType_COSINECURVE, IfcAlignmentCantSegmentType_HELMERTCURVE, IfcAlignmentCantSegmentType_LINEARTRANSITION, IfcAlignmentCantSegmentType_SINECURVE, IfcAlignmentCantSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4865,13 +4865,13 @@ public: class IFC_PARSE_API IfcAlignmentHorizontalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentHorizontalSegmentTypeEnum() {} - explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentHorizontalSegmentType_BLOSSCURVE, IfcAlignmentHorizontalSegmentType_CIRCULARARC, IfcAlignmentHorizontalSegmentType_CLOTHOID, IfcAlignmentHorizontalSegmentType_COSINECURVE, IfcAlignmentHorizontalSegmentType_CUBIC, IfcAlignmentHorizontalSegmentType_HELMERTCURVE, IfcAlignmentHorizontalSegmentType_LINE, IfcAlignmentHorizontalSegmentType_SINECURVE, IfcAlignmentHorizontalSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4880,13 +4880,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4895,13 +4895,13 @@ public: class IFC_PARSE_API IfcAlignmentVerticalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentVerticalSegmentTypeEnum() {} - explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentVerticalSegmentType_CIRCULARARC, IfcAlignmentVerticalSegmentType_CLOTHOID, IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT, IfcAlignmentVerticalSegmentType_PARABOLICARC} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4915,13 +4915,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4936,13 +4936,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4951,13 +4951,13 @@ public: class IFC_PARSE_API IfcAnnotationTypeEnum : public express::DeclaredType { public: IfcAnnotationTypeEnum() {} - explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnnotationType_ASBUILTAREA, IfcAnnotationType_ASBUILTLINE, IfcAnnotationType_ASBUILTPOINT, IfcAnnotationType_ASSUMEDAREA, IfcAnnotationType_ASSUMEDLINE, IfcAnnotationType_ASSUMEDPOINT, IfcAnnotationType_NON_PHYSICAL_SIGNAL, IfcAnnotationType_SUPERELEVATIONEVENT, IfcAnnotationType_WIDTHEVENT, IfcAnnotationType_USERDEFINED, IfcAnnotationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4977,13 +4977,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5003,13 +5003,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_SITE, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5031,13 +5031,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_COMMUNICATIONTERMINAL, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_RECORDINGEQUIPMENT, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5059,13 +5059,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5074,13 +5074,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5127,13 +5127,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_CORNICE, IfcBeamType_DIAPHRAGM, IfcBeamType_EDGEBEAM, IfcBeamType_GIRDER_SEGMENT, IfcBeamType_HATSTONE, IfcBeamType_HOLLOWCORE, IfcBeamType_JOIST, IfcBeamType_LINTEL, IfcBeamType_PIERCAP, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5142,13 +5142,13 @@ public: class IFC_PARSE_API IfcBearingTypeDisplacementEnum : public express::DeclaredType { public: IfcBearingTypeDisplacementEnum() {} - explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingTypeDisplacement_FIXED_MOVEMENT, IfcBearingTypeDisplacement_FREE_MOVEMENT, IfcBearingTypeDisplacement_GUIDED_LONGITUDINAL, IfcBearingTypeDisplacement_GUIDED_TRANSVERSAL, IfcBearingTypeDisplacement_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5157,13 +5157,13 @@ public: class IFC_PARSE_API IfcBearingTypeEnum : public express::DeclaredType { public: IfcBearingTypeEnum() {} - explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingType_CYLINDRICAL, IfcBearingType_DISK, IfcBearingType_ELASTOMERIC, IfcBearingType_GUIDE, IfcBearingType_POT, IfcBearingType_ROCKER, IfcBearingType_ROLLER, IfcBearingType_SPHERICAL, IfcBearingType_USERDEFINED, IfcBearingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5211,13 +5211,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_EQUALTO, IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_INCLUDEDIN, IfcBenchmark_INCLUDES, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_NOTINCLUDEDIN, IfcBenchmark_NOTINCLUDES} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5234,13 +5234,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_STEAM, IfcBoilerType_WATER, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5257,13 +5257,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_DIFFERENCE, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_UNION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5272,13 +5272,13 @@ public: class IFC_PARSE_API IfcBridgePartTypeEnum : public express::DeclaredType { public: IfcBridgePartTypeEnum() {} - explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgePartType_ABUTMENT, IfcBridgePartType_DECK, IfcBridgePartType_DECK_SEGMENT, IfcBridgePartType_FOUNDATION, IfcBridgePartType_PIER, IfcBridgePartType_PIER_SEGMENT, IfcBridgePartType_PYLON, IfcBridgePartType_SUBSTRUCTURE, IfcBridgePartType_SUPERSTRUCTURE, IfcBridgePartType_SURFACESTRUCTURE, IfcBridgePartType_USERDEFINED, IfcBridgePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5287,13 +5287,13 @@ public: class IFC_PARSE_API IfcBridgeTypeEnum : public express::DeclaredType { public: IfcBridgeTypeEnum() {} - explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgeType_ARCHED, IfcBridgeType_CABLE_STAYED, IfcBridgeType_CANTILEVER, IfcBridgeType_CULVERT, IfcBridgeType_FRAMEWORK, IfcBridgeType_GIRDER, IfcBridgeType_SUSPENSION, IfcBridgeType_TRUSS, IfcBridgeType_USERDEFINED, IfcBridgeType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5309,13 +5309,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_APRON, IfcBuildingElementPartType_ARMOURUNIT, IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_SAFETYCAGE, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5334,13 +5334,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5362,13 +5362,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_EROSIONPREVENTION, IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_PRESTRESSING, IfcBuildingSystemType_REINFORCING, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5377,13 +5377,13 @@ public: class IFC_PARSE_API IfcBuiltSystemTypeEnum : public express::DeclaredType { public: IfcBuiltSystemTypeEnum() {} - explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuiltSystemType_EROSIONPREVENTION, IfcBuiltSystemType_FENESTRATION, IfcBuiltSystemType_FOUNDATION, IfcBuiltSystemType_LOADBEARING, IfcBuiltSystemType_MOORING, IfcBuiltSystemType_OUTERSHELL, IfcBuiltSystemType_PRESTRESSING, IfcBuiltSystemType_RAILWAYLINE, IfcBuiltSystemType_RAILWAYTRACK, IfcBuiltSystemType_REINFORCING, IfcBuiltSystemType_SHADING, IfcBuiltSystemType_TRACKCIRCUIT, IfcBuiltSystemType_TRANSPORT, IfcBuiltSystemType_USERDEFINED, IfcBuiltSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5398,13 +5398,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5422,13 +5422,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CONNECTOR, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_JUNCTION, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_TRANSITION, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5446,13 +5446,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLEBRACKET, IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CATENARYWIRE, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_DROPPER, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5471,13 +5471,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_FANOUT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5497,13 +5497,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CONTACTWIRESEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_FIBERSEGMENT, IfcCableSegmentType_FIBERTUBE, IfcCableSegmentType_OPTICALCABLESEGMENT, IfcCableSegmentType_STITCHWIRE, IfcCableSegmentType_WIREPAIRSEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5512,13 +5512,13 @@ public: class IFC_PARSE_API IfcCaissonFoundationTypeEnum : public express::DeclaredType { public: IfcCaissonFoundationTypeEnum() {} - explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCaissonFoundationType_CAISSON, IfcCaissonFoundationType_WELL, IfcCaissonFoundationType_USERDEFINED, IfcCaissonFoundationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5537,13 +5537,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_MODIFIED, IfcChangeAction_NOCHANGE, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5561,13 +5561,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_WATERCOOLED, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5585,13 +5585,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5621,13 +5621,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5649,13 +5649,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PIERSTEM, IfcColumnType_PIERSTEM_SEGMENT, IfcColumnType_PILASTER, IfcColumnType_STANDCOLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5679,13 +5679,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_AUTOMATON, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_INTELLIGENTPERIPHERAL, IfcCommunicationsApplianceType_IPNETWORKEQUIPMENT, IfcCommunicationsApplianceType_LINESIDEELECTRONICUNIT, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_OPTICALLINETERMINAL, IfcCommunicationsApplianceType_OPTICALNETWORKUNIT, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_RADIOBLOCKCENTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_TELECOMMAND, IfcCommunicationsApplianceType_TELEPHONYEXCHANGE, IfcCommunicationsApplianceType_TRANSITIONCOMPONENT, IfcCommunicationsApplianceType_TRANSPONDER, IfcCommunicationsApplianceType_TRANSPORTEQUIPMENT, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5701,13 +5701,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5737,13 +5737,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_BOOSTER, IfcCompressorType_DYNAMIC, IfcCompressorType_HERMETIC, IfcCompressorType_OPENTYPE, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARY, IfcCompressorType_ROTARYVANE, IfcCompressorType_SCROLL, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_SINGLESCREW, IfcCompressorType_SINGLESTAGE, IfcCompressorType_TROCHOIDAL, IfcCompressorType_TWINSCREW, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5764,13 +5764,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5798,13 +5798,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATEND, IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5829,13 +5829,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_ADVISORY, IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5857,13 +5857,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5886,13 +5886,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_USERDEFINED, IfcConstructionMaterialResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5908,13 +5908,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5936,13 +5936,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_MULTIPOSITION, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5951,13 +5951,13 @@ public: class IFC_PARSE_API IfcConveyorSegmentTypeEnum : public express::DeclaredType { public: IfcConveyorSegmentTypeEnum() {} - explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConveyorSegmentType_BELTCONVEYOR, IfcConveyorSegmentType_BUCKETCONVEYOR, IfcConveyorSegmentType_CHUTECONVEYOR, IfcConveyorSegmentType_SCREWCONVEYOR, IfcConveyorSegmentType_USERDEFINED, IfcConveyorSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5984,13 +5984,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6010,13 +6010,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6030,13 +6030,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6057,13 +6057,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_TENDER, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6072,13 +6072,13 @@ public: class IFC_PARSE_API IfcCourseTypeEnum : public express::DeclaredType { public: IfcCourseTypeEnum() {} - explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCourseType_ARMOUR, IfcCourseType_BALLASTBED, IfcCourseType_CORE, IfcCourseType_FILTER, IfcCourseType_PAVEMENT, IfcCourseType_PROTECTION, IfcCourseType_USERDEFINED, IfcCourseType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6129,13 +6129,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_CLADDING, IfcCoveringType_COPING, IfcCoveringType_FLOORING, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_MOLDING, IfcCoveringType_ROOFING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_SLEEVING, IfcCoveringType_TOPPING, IfcCoveringType_WRAPPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6151,13 +6151,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6174,13 +6174,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6205,13 +6205,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6236,13 +6236,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6258,13 +6258,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6329,13 +6329,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6351,13 +6351,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_NEGATIVE, IfcDirectionSense_POSITIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6374,13 +6374,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BIRDPROTECTION, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_CABLEARRANGER, IfcDiscreteAccessoryType_ELASTIC_CUSHION, IfcDiscreteAccessoryType_EXPANSION_JOINT_DEVICE, IfcDiscreteAccessoryType_FILLER, IfcDiscreteAccessoryType_FLASHING, IfcDiscreteAccessoryType_INSULATOR, IfcDiscreteAccessoryType_LOCK, IfcDiscreteAccessoryType_PANEL_STRENGTHENING, IfcDiscreteAccessoryType_POINTMACHINEMOUNTINGDEVICE, IfcDiscreteAccessoryType_POINT_MACHINE_LOCKING_DEVICE, IfcDiscreteAccessoryType_RAILBRACE, IfcDiscreteAccessoryType_RAILPAD, IfcDiscreteAccessoryType_RAIL_LUBRICATION, IfcDiscreteAccessoryType_RAIL_MECHANICAL_EQUIPMENT, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_SLIDINGCHAIR, IfcDiscreteAccessoryType_SOUNDABSORPTION, IfcDiscreteAccessoryType_TENSIONINGEQUIPMENT, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6389,13 +6389,13 @@ public: class IFC_PARSE_API IfcDistributionBoardTypeEnum : public express::DeclaredType { public: IfcDistributionBoardTypeEnum() {} - explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionBoardType_CONSUMERUNIT, IfcDistributionBoardType_DISPATCHINGBOARD, IfcDistributionBoardType_DISTRIBUTIONBOARD, IfcDistributionBoardType_DISTRIBUTIONFRAME, IfcDistributionBoardType_MOTORCONTROLCENTRE, IfcDistributionBoardType_SWITCHBOARD, IfcDistributionBoardType_USERDEFINED, IfcDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6419,13 +6419,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6434,13 +6434,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_WIRELESS, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6495,13 +6495,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CATENARY_SYSTEM, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FIXEDTRANSMISSIONNETWORK, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MOBILENETWORK, IfcDistributionSystem_MONITORINGSYSTEM, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_OPERATIONALTELEPHONYSYSTEM, IfcDistributionSystem_OVERHEAD_CONTACTLINE_SYSTEM, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_RETURN_CIRCUIT, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6521,13 +6521,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6538,13 +6538,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6585,13 +6585,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6606,13 +6606,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6627,13 +6627,13 @@ public: class IFC_PARSE_API IfcDoorStyleConstructionEnum : public express::DeclaredType { public: IfcDoorStyleConstructionEnum() {} - explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleConstruction_ALUMINIUM, IfcDoorStyleConstruction_ALUMINIUM_PLASTIC, IfcDoorStyleConstruction_ALUMINIUM_WOOD, IfcDoorStyleConstruction_HIGH_GRADE_STEEL, IfcDoorStyleConstruction_PLASTIC, IfcDoorStyleConstruction_STEEL, IfcDoorStyleConstruction_WOOD, IfcDoorStyleConstruction_USERDEFINED, IfcDoorStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6810,13 +6810,13 @@ public: class IFC_PARSE_API IfcDoorStyleOperationEnum : public express::DeclaredType { public: IfcDoorStyleOperationEnum() {} - explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING, IfcDoorStyleOperation_DOUBLE_SWING_LEFT, IfcDoorStyleOperation_DOUBLE_SWING_RIGHT, IfcDoorStyleOperation_FOLDING_TO_LEFT, IfcDoorStyleOperation_FOLDING_TO_RIGHT, IfcDoorStyleOperation_REVOLVING, IfcDoorStyleOperation_ROLLINGUP, IfcDoorStyleOperation_SINGLE_SWING_LEFT, IfcDoorStyleOperation_SINGLE_SWING_RIGHT, IfcDoorStyleOperation_SLIDING_TO_LEFT, IfcDoorStyleOperation_SLIDING_TO_RIGHT, IfcDoorStyleOperation_USERDEFINED, IfcDoorStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6840,13 +6840,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_BOOM_BARRIER, IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_TURNSTILE, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7034,13 +7034,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_DOUBLE_PANEL_DOUBLE_SWING, IfcDoorTypeOperation_DOUBLE_PANEL_FOLDING, IfcDoorTypeOperation_DOUBLE_PANEL_LIFTING_VERTICAL, IfcDoorTypeOperation_DOUBLE_PANEL_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_SLIDING, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_LIFTING_HORIZONTAL, IfcDoorTypeOperation_LIFTING_VERTICAL_LEFT, IfcDoorTypeOperation_LIFTING_VERTICAL_RIGHT, IfcDoorTypeOperation_REVOLVING_HORIZONTAL, IfcDoorTypeOperation_REVOLVING_VERTICAL, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7081,13 +7081,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7110,13 +7110,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7134,13 +7134,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7149,13 +7149,13 @@ public: class IFC_PARSE_API IfcEarthworksCutTypeEnum : public express::DeclaredType { public: IfcEarthworksCutTypeEnum() {} - explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksCutType_BASE_EXCAVATION, IfcEarthworksCutType_CUT, IfcEarthworksCutType_DREDGING, IfcEarthworksCutType_EXCAVATION, IfcEarthworksCutType_OVEREXCAVATION, IfcEarthworksCutType_PAVEMENTMILLING, IfcEarthworksCutType_STEPEXCAVATION, IfcEarthworksCutType_TOPSOILREMOVAL, IfcEarthworksCutType_TRENCH, IfcEarthworksCutType_USERDEFINED, IfcEarthworksCutType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7164,13 +7164,13 @@ public: class IFC_PARSE_API IfcEarthworksFillTypeEnum : public express::DeclaredType { public: IfcEarthworksFillTypeEnum() {} - explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksFillType_BACKFILL, IfcEarthworksFillType_COUNTERWEIGHT, IfcEarthworksFillType_EMBANKMENT, IfcEarthworksFillType_SLOPEFILL, IfcEarthworksFillType_SUBGRADE, IfcEarthworksFillType_SUBGRADEBED, IfcEarthworksFillType_TRANSITIONSECTION, IfcEarthworksFillType_USERDEFINED, IfcEarthworksFillType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7207,13 +7207,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7231,13 +7231,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7255,13 +7255,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITOR, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_COMPENSATOR, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTOR, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_RECHARGER, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7270,13 +7270,13 @@ public: class IFC_PARSE_API IfcElectricFlowTreatmentDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowTreatmentDeviceTypeEnum() {} - explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowTreatmentDeviceType_ELECTRONICFILTER, IfcElectricFlowTreatmentDeviceType_USERDEFINED, IfcElectricFlowTreatmentDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7294,13 +7294,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7319,13 +7319,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7342,13 +7342,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7375,13 +7375,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ABUTMENT, IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_CROSS_BRACING, IfcElementAssemblyType_DECK, IfcElementAssemblyType_DILATATIONPANEL, IfcElementAssemblyType_ENTRANCEWORKS, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_GRID, IfcElementAssemblyType_MAST, IfcElementAssemblyType_PIER, IfcElementAssemblyType_PYLON, IfcElementAssemblyType_RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SHELTER, IfcElementAssemblyType_SIGNALASSEMBLY, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_SUMPBUSTER, IfcElementAssemblyType_SUPPORTINGASSEMBLY, IfcElementAssemblyType_SUSPENSIONASSEMBLY, IfcElementAssemblyType_TRACKPANEL, IfcElementAssemblyType_TRACTION_SWITCHING_ASSEMBLY, IfcElementAssemblyType_TRAFFIC_CALMING_DEVICE, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_TURNOUTPANEL, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7401,13 +7401,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7423,13 +7423,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7453,13 +7453,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7480,13 +7480,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7506,13 +7506,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7531,13 +7531,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_STARTEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7561,13 +7561,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7576,13 +7576,13 @@ public: class IFC_PARSE_API IfcFacilityPartCommonTypeEnum : public express::DeclaredType { public: IfcFacilityPartCommonTypeEnum() {} - explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityPartCommonType_ABOVEGROUND, IfcFacilityPartCommonType_BELOWGROUND, IfcFacilityPartCommonType_JUNCTION, IfcFacilityPartCommonType_LEVELCROSSING, IfcFacilityPartCommonType_SEGMENT, IfcFacilityPartCommonType_SUBSTRUCTURE, IfcFacilityPartCommonType_SUPERSTRUCTURE, IfcFacilityPartCommonType_TERMINAL, IfcFacilityPartCommonType_USERDEFINED, IfcFacilityPartCommonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7591,13 +7591,13 @@ public: class IFC_PARSE_API IfcFacilityUsageEnum : public express::DeclaredType { public: IfcFacilityUsageEnum() {} - explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityUsage_LATERAL, IfcFacilityUsage_LONGITUDINAL, IfcFacilityUsage_REGION, IfcFacilityUsage_VERTICAL, IfcFacilityUsage_USERDEFINED, IfcFacilityUsage_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7619,13 +7619,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7642,13 +7642,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7669,13 +7669,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7696,13 +7696,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_FIREMONITOR, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7718,13 +7718,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SINK, IfcFlowDirection_SOURCE, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7748,13 +7748,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_COMBINED, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_VOLTMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7777,13 +7777,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7805,13 +7805,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7832,13 +7832,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_BED, IfcFurnitureType_CHAIR, IfcFurnitureType_DESK, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_TABLE, IfcFurnitureType_TECHNICALCABINET, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7847,13 +7847,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_SOIL_BORING_POINT, IfcGeographicElementType_TERRAIN, IfcGeographicElementType_VEGETATION, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7902,13 +7902,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7917,13 +7917,13 @@ public: class IFC_PARSE_API IfcGeotechnicalStratumTypeEnum : public express::DeclaredType { public: IfcGeotechnicalStratumTypeEnum() {} - explicit IfcGeotechnicalStratumTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeotechnicalStratumTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeotechnicalStratumType_SOLID, IfcGeotechnicalStratumType_VOID, IfcGeotechnicalStratumType_WATER, IfcGeotechnicalStratumType_USERDEFINED, IfcGeotechnicalStratumType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7937,13 +7937,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7952,13 +7952,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_IRREGULAR, IfcGridType_RADIAL, IfcGridType_RECTANGULAR, IfcGridType_TRIANGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7975,13 +7975,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_TURNOUTHEATING, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8009,13 +8009,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8024,13 +8024,13 @@ public: class IFC_PARSE_API IfcImpactProtectionDeviceTypeEnum : public express::DeclaredType { public: IfcImpactProtectionDeviceTypeEnum() {} - explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcImpactProtectionDeviceType_BUMPER, IfcImpactProtectionDeviceType_CRASHCUSHION, IfcImpactProtectionDeviceType_DAMPINGSYSTEM, IfcImpactProtectionDeviceType_FENDER, IfcImpactProtectionDeviceType_USERDEFINED, IfcImpactProtectionDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8048,13 +8048,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8117,13 +8117,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8140,13 +8140,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8161,13 +8161,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8176,13 +8176,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_UNIFORM_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8214,13 +8214,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8245,13 +8245,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8268,13 +8268,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8296,13 +8296,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8327,13 +8327,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8352,13 +8352,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8367,13 +8367,13 @@ public: class IFC_PARSE_API IfcLiquidTerminalTypeEnum : public express::DeclaredType { public: IfcLiquidTerminalTypeEnum() {} - explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLiquidTerminalType_HOSEREEL, IfcLiquidTerminalType_LOADINGARM, IfcLiquidTerminalType_USERDEFINED, IfcLiquidTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8402,13 +8402,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8660,13 +8660,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8675,13 +8675,13 @@ public: class IFC_PARSE_API IfcMarineFacilityTypeEnum : public express::DeclaredType { public: IfcMarineFacilityTypeEnum() {} - explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarineFacilityType_BARRIERBEACH, IfcMarineFacilityType_BREAKWATER, IfcMarineFacilityType_CANAL, IfcMarineFacilityType_DRYDOCK, IfcMarineFacilityType_FLOATINGDOCK, IfcMarineFacilityType_HYDROLIFT, IfcMarineFacilityType_JETTY, IfcMarineFacilityType_LAUNCHRECOVERY, IfcMarineFacilityType_MARINEDEFENCE, IfcMarineFacilityType_NAVIGATIONALCHANNEL, IfcMarineFacilityType_PORT, IfcMarineFacilityType_QUAY, IfcMarineFacilityType_REVETMENT, IfcMarineFacilityType_SHIPLIFT, IfcMarineFacilityType_SHIPLOCK, IfcMarineFacilityType_SHIPYARD, IfcMarineFacilityType_SLIPWAY, IfcMarineFacilityType_WATERWAY, IfcMarineFacilityType_WATERWAYSHIPLIFT, IfcMarineFacilityType_USERDEFINED, IfcMarineFacilityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8690,13 +8690,13 @@ public: class IFC_PARSE_API IfcMarinePartTypeEnum : public express::DeclaredType { public: IfcMarinePartTypeEnum() {} - explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarinePartType_ABOVEWATERLINE, IfcMarinePartType_ANCHORAGE, IfcMarinePartType_APPROACHCHANNEL, IfcMarinePartType_BELOWWATERLINE, IfcMarinePartType_BERTHINGSTRUCTURE, IfcMarinePartType_CHAMBER, IfcMarinePartType_CILL_LEVEL, IfcMarinePartType_COPELEVEL, IfcMarinePartType_CORE, IfcMarinePartType_CREST, IfcMarinePartType_GATEHEAD, IfcMarinePartType_GUDINGSTRUCTURE, IfcMarinePartType_HIGHWATERLINE, IfcMarinePartType_LANDFIELD, IfcMarinePartType_LEEWARDSIDE, IfcMarinePartType_LOWWATERLINE, IfcMarinePartType_MANUFACTURING, IfcMarinePartType_NAVIGATIONALAREA, IfcMarinePartType_PROTECTION, IfcMarinePartType_SHIPTRANSFER, IfcMarinePartType_STORAGEAREA, IfcMarinePartType_VEHICLESERVICING, IfcMarinePartType_WATERFIELD, IfcMarinePartType_WEATHERSIDE, IfcMarinePartType_USERDEFINED, IfcMarinePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8721,13 +8721,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_CHAIN, IfcMechanicalFastenerType_COUPLER, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RAILFASTENING, IfcMechanicalFastenerType_RAILJOINT, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_ROPE, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8748,13 +8748,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8805,13 +8805,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_ARCH_SEGMENT, IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STAY_CABLE, IfcMemberType_STIFFENING_RIB, IfcMemberType_STRINGER, IfcMemberType_STRUCTURALCABLE, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_SUSPENDER, IfcMemberType_SUSPENSION_CABLE, IfcMemberType_TIEBAR, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8820,13 +8820,13 @@ public: class IFC_PARSE_API IfcMobileTelecommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcMobileTelecommunicationsApplianceTypeEnum() {} - explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMobileTelecommunicationsApplianceType_ACCESSPOINT, IfcMobileTelecommunicationsApplianceType_BASEBANDUNIT, IfcMobileTelecommunicationsApplianceType_BASETRANSCEIVERSTATION, IfcMobileTelecommunicationsApplianceType_E_UTRAN_NODE_B, IfcMobileTelecommunicationsApplianceType_GATEWAY_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_MASTERUNIT, IfcMobileTelecommunicationsApplianceType_MOBILESWITCHINGCENTER, IfcMobileTelecommunicationsApplianceType_MSCSERVER, IfcMobileTelecommunicationsApplianceType_PACKETCONTROLUNIT, IfcMobileTelecommunicationsApplianceType_REMOTERADIOUNIT, IfcMobileTelecommunicationsApplianceType_REMOTEUNIT, IfcMobileTelecommunicationsApplianceType_SERVICE_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_SUBSCRIBERSERVER, IfcMobileTelecommunicationsApplianceType_USERDEFINED, IfcMobileTelecommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8835,13 +8835,13 @@ public: class IFC_PARSE_API IfcMooringDeviceTypeEnum : public express::DeclaredType { public: IfcMooringDeviceTypeEnum() {} - explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMooringDeviceType_BOLLARD, IfcMooringDeviceType_LINETENSIONER, IfcMooringDeviceType_MAGNETICDEVICE, IfcMooringDeviceType_MOORINGHOOKS, IfcMooringDeviceType_VACUUMDEVICE, IfcMooringDeviceType_USERDEFINED, IfcMooringDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8858,13 +8858,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8873,13 +8873,13 @@ public: class IFC_PARSE_API IfcNavigationElementTypeEnum : public express::DeclaredType { public: IfcNavigationElementTypeEnum() {} - explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNavigationElementType_BEACON, IfcNavigationElementType_BUOY, IfcNavigationElementType_USERDEFINED, IfcNavigationElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8890,13 +8890,13 @@ public: class IFC_PARSE_API IfcObjectTypeEnum : public express::DeclaredType { public: IfcObjectTypeEnum() {} - explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjectType_ACTOR, IfcObjectType_CONTROL, IfcObjectType_GROUP, IfcObjectType_PROCESS, IfcObjectType_PRODUCT, IfcObjectType_PROJECT, IfcObjectType_RESOURCE, IfcObjectType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8933,13 +8933,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8960,13 +8960,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8994,13 +8994,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9021,13 +9021,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9036,13 +9036,13 @@ public: class IFC_PARSE_API IfcPavementTypeEnum : public express::DeclaredType { public: IfcPavementTypeEnum() {} - explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPavementType_FLEXIBLE, IfcPavementType_RIGID, IfcPavementType_USERDEFINED, IfcPavementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9056,13 +9056,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9092,13 +9092,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9115,13 +9115,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9152,13 +9152,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9188,13 +9188,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9215,13 +9215,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_COHESION, IfcPileType_DRIVEN, IfcPileType_FRICTION, IfcPileType_JETGROUTING, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9260,13 +9260,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9289,13 +9289,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9321,13 +9321,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_BASE_PLATE, IfcPlateType_COVER_PLATE, IfcPlateType_CURTAIN_PANEL, IfcPlateType_FLANGE_PLATE, IfcPlateType_GUSSET_PLATE, IfcPlateType_SHEET, IfcPlateType_SPLICE_PLATE, IfcPlateType_STIFFENER_PLATE, IfcPlateType_WEB_PLATE, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9336,13 +9336,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9364,13 +9364,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9386,13 +9386,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_AREA, IfcProfileType_CURVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9411,13 +9411,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9431,13 +9431,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9457,13 +9457,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_BLISTER, IfcProjectionElementType_DEVIATOR, IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9509,13 +9509,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_MATERIALDRIVEN, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_PSET_PROFILEDRIVEN, IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9530,13 +9530,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9559,13 +9559,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_ANTI_ARCING_DEVICE, IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_SPARKGAP, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_VOLTAGELIMITER, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9601,13 +9601,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9616,13 +9616,13 @@ public: class IFC_PARSE_API IfcRailTypeEnum : public express::DeclaredType { public: IfcRailTypeEnum() {} - explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailType_BLADE, IfcRailType_CHECKRAIL, IfcRailType_GUARDRAIL, IfcRailType_RACKRAIL, IfcRailType_RAIL, IfcRailType_STOCKRAIL, IfcRailType_USERDEFINED, IfcRailType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9650,13 +9650,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_BALUSTRADE, IfcRailingType_FENCE, IfcRailingType_GUARDRAIL, IfcRailingType_HANDRAIL, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9665,13 +9665,13 @@ public: class IFC_PARSE_API IfcRailwayPartTypeEnum : public express::DeclaredType { public: IfcRailwayPartTypeEnum() {} - explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayPartType_DILATATIONSUPERSTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTUREPART, IfcRailwayPartType_PLAINTRACKSUPERSTRUCTURE, IfcRailwayPartType_SUPERSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTUREPART, IfcRailwayPartType_TURNOUTSUPERSTRUCTURE, IfcRailwayPartType_USERDEFINED, IfcRailwayPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9680,13 +9680,13 @@ public: class IFC_PARSE_API IfcRailwayTypeEnum : public express::DeclaredType { public: IfcRailwayTypeEnum() {} - explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayType_USERDEFINED, IfcRailwayType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9705,13 +9705,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_SPIRAL, IfcRampFlightType_STRAIGHT, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9767,13 +9767,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_HALF_TURN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9802,13 +9802,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_DAILY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9817,13 +9817,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_BOUNDARY, IfcReferentType_INTERSECTION, IfcReferentType_KILOPOINT, IfcReferentType_LANDMARK, IfcReferentType_MILEPOINT, IfcReferentType_POSITION, IfcReferentType_REFERENCEMARKER, IfcReferentType_STATION, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9847,13 +9847,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PHYSICAL, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9862,13 +9862,13 @@ public: class IFC_PARSE_API IfcReinforcedSoilTypeEnum : public express::DeclaredType { public: IfcReinforcedSoilTypeEnum() {} - explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcedSoilType_DYNAMICALLYCOMPACTED, IfcReinforcedSoilType_GROUTED, IfcReinforcedSoilType_REPLACED, IfcReinforcedSoilType_ROLLERCOMPACTED, IfcReinforcedSoilType_SURCHARGEPRELOADED, IfcReinforcedSoilType_VERTICALLYDRAINED, IfcReinforcedSoilType_USERDEFINED, IfcReinforcedSoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9895,13 +9895,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9918,13 +9918,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9933,13 +9933,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_SPACEBAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9948,13 +9948,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9963,13 +9963,13 @@ public: class IFC_PARSE_API IfcRoadPartTypeEnum : public express::DeclaredType { public: IfcRoadPartTypeEnum() {} - explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadPartType_BICYCLECROSSING, IfcRoadPartType_BUS_STOP, IfcRoadPartType_CARRIAGEWAY, IfcRoadPartType_CENTRALISLAND, IfcRoadPartType_CENTRALRESERVE, IfcRoadPartType_HARDSHOULDER, IfcRoadPartType_INTERSECTION, IfcRoadPartType_LAYBY, IfcRoadPartType_PARKINGBAY, IfcRoadPartType_PASSINGBAY, IfcRoadPartType_PEDESTRIAN_CROSSING, IfcRoadPartType_RAILWAYCROSSING, IfcRoadPartType_REFUGEISLAND, IfcRoadPartType_ROADSEGMENT, IfcRoadPartType_ROADSIDE, IfcRoadPartType_ROADSIDEPART, IfcRoadPartType_ROADWAYPLATEAU, IfcRoadPartType_ROUNDABOUT, IfcRoadPartType_SHOULDER, IfcRoadPartType_SIDEWALK, IfcRoadPartType_SOFTSHOULDER, IfcRoadPartType_TOLLPLAZA, IfcRoadPartType_TRAFFICISLAND, IfcRoadPartType_TRAFFICLANE, IfcRoadPartType_USERDEFINED, IfcRoadPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9978,13 +9978,13 @@ public: class IFC_PARSE_API IfcRoadTypeEnum : public express::DeclaredType { public: IfcRoadTypeEnum() {} - explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadType_USERDEFINED, IfcRoadType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10021,13 +10021,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_ARCHITECT, IfcRole_BUILDINGOPERATOR, IfcRole_BUILDINGOWNER, IfcRole_CIVILENGINEER, IfcRole_CLIENT, IfcRole_COMMISSIONINGENGINEER, IfcRole_CONSTRUCTIONMANAGER, IfcRole_CONSULTANT, IfcRole_CONTRACTOR, IfcRole_COSTENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_ENGINEER, IfcRole_FACILITIESMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_MANUFACTURER, IfcRole_MECHANICALENGINEER, IfcRole_OWNER, IfcRole_PROJECTMANAGER, IfcRole_RESELLER, IfcRole_STRUCTURALENGINEER, IfcRole_SUBCONTRACTOR, IfcRole_SUPPLIER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10101,13 +10101,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_BARREL_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FLAT_ROOF, IfcRoofType_FREEFORM, IfcRoofType_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10142,13 +10142,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_ATTO, IfcSIPrefix_CENTI, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_EXA, IfcSIPrefix_FEMTO, IfcSIPrefix_GIGA, IfcSIPrefix_HECTO, IfcSIPrefix_KILO, IfcSIPrefix_MEGA, IfcSIPrefix_MICRO, IfcSIPrefix_MILLI, IfcSIPrefix_NANO, IfcSIPrefix_PETA, IfcSIPrefix_PICO, IfcSIPrefix_TERA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10195,13 +10195,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10228,13 +10228,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10252,13 +10252,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_TAPERED, IfcSectionType_UNIFORM} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10294,13 +10294,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_COSENSOR, IfcSensorType_EARTHQUAKESENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FOREIGNOBJECTDETECTIONSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_OBSTACLESENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_RAINSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SNOWDEPTHSENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_TRAINSENSOR, IfcSensorType_TURNOUTCLOSURESENSOR, IfcSensorType_WHEELSENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10313,13 +10313,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_FINISH_FINISH, IfcSequence_FINISH_START, IfcSequence_START_FINISH, IfcSequence_START_START, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10337,13 +10337,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_AWNING, IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10352,13 +10352,13 @@ public: class IFC_PARSE_API IfcSignTypeEnum : public express::DeclaredType { public: IfcSignTypeEnum() {} - explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignType_MARKER, IfcSignType_MIRROR, IfcSignType_PICTORAL, IfcSignType_USERDEFINED, IfcSignType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10367,13 +10367,13 @@ public: class IFC_PARSE_API IfcSignalTypeEnum : public express::DeclaredType { public: IfcSignalTypeEnum() {} - explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignalType_AUDIO, IfcSignalType_MIXED, IfcSignalType_VISUAL, IfcSignalType_USERDEFINED, IfcSignalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10399,13 +10399,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_NUMBER, IfcSimplePropertyTemplateType_Q_TIME, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_WEIGHT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10445,13 +10445,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_APPROACH_SLAB, IfcSlabType_BASESLAB, IfcSlabType_FLOOR, IfcSlabType_LANDING, IfcSlabType_PAVING, IfcSlabType_ROOF, IfcSlabType_SIDEWALK, IfcSlabType_TRACKSLAB, IfcSlabType_WEARING, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10468,13 +10468,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10494,13 +10494,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10543,13 +10543,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_BERTH, IfcSpaceType_EXTERNAL, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_PARKING, IfcSpaceType_SPACE, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10582,13 +10582,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_INTERFERENCE, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_RESERVATION, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10605,13 +10605,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10634,13 +10634,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_SPIRAL, IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10741,13 +10741,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_CURVED_RUN_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_LADDER, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10768,13 +10768,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_LOCKED, IfcState_READONLY, IfcState_READONLYLOCKED, IfcState_READWRITE, IfcState_READWRITELOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10797,13 +10797,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10829,13 +10829,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10855,13 +10855,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10883,13 +10883,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10905,13 +10905,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10930,13 +10930,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_DEFECT, IfcSurfaceFeatureType_HATCHMARKING, IfcSurfaceFeatureType_LINEMARKING, IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_NONSKIDSURFACING, IfcSurfaceFeatureType_PAVEMENTSURFACEMARKING, IfcSurfaceFeatureType_RUMBLESTRIP, IfcSurfaceFeatureType_SYMBOLMARKING, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TRANSVERSERUMBLESTRIP, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10955,13 +10955,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_BOTH, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_POSITIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10985,13 +10985,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_RELAY, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_START_AND_STOP_EQUIPMENT, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11007,13 +11007,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_SUBRACK, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11044,13 +11044,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_OILRETENTIONTRAY, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11065,13 +11065,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11097,13 +11097,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ADJUSTMENT, IfcTaskType_ATTENDANCE, IfcTaskType_CALIBRATION, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_EMERGENCY, IfcTaskType_INSPECTION, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_SAFETY, IfcTaskType_SHUTDOWN, IfcTaskType_STARTUP, IfcTaskType_TESTING, IfcTaskType_TROUBLESHOOTING, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11112,13 +11112,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11127,13 +11127,13 @@ public: class IFC_PARSE_API IfcTendonConduitTypeEnum : public express::DeclaredType { public: IfcTendonConduitTypeEnum() {} - explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonConduitType_COUPLER, IfcTendonConduitType_DIABOLO, IfcTendonConduitType_DUCT, IfcTendonConduitType_GROUTING_DUCT, IfcTendonConduitType_TRUMPET, IfcTendonConduitType_USERDEFINED, IfcTendonConduitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11142,13 +11142,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11163,13 +11163,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_DOWN, IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11188,13 +11188,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11203,13 +11203,13 @@ public: class IFC_PARSE_API IfcTrackElementTypeEnum : public express::DeclaredType { public: IfcTrackElementTypeEnum() {} - explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrackElementType_BLOCKINGDEVICE, IfcTrackElementType_DERAILER, IfcTrackElementType_FROG, IfcTrackElementType_HALF_SET_OF_BLADES, IfcTrackElementType_SLEEPER, IfcTrackElementType_SPEEDREGULATOR, IfcTrackElementType_TRACKENDOFALIGNMENT, IfcTrackElementType_VEHICLESTOP, IfcTrackElementType_USERDEFINED, IfcTrackElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11228,13 +11228,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CHOPPER, IfcTransformerType_COMBINED, IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11258,13 +11258,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE, IfcTransitionCode_DISCONTINUOUS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11296,13 +11296,13 @@ public: class IFC_PARSE_API IfcTransportElementTypeEnum : public express::DeclaredType { public: IfcTransportElementTypeEnum() {} - explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementType_CRANEWAY, IfcTransportElementType_ELEVATOR, IfcTransportElementType_ESCALATOR, IfcTransportElementType_HAULINGGEAR, IfcTransportElementType_LIFTINGGEAR, IfcTransportElementType_MOVINGWALKWAY, IfcTransportElementType_USERDEFINED, IfcTransportElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11321,13 +11321,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11343,13 +11343,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11393,13 +11393,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11423,13 +11423,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_BASESTATIONCONTROLLER, IfcUnitaryControlElementType_COMBINED, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11449,13 +11449,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11506,13 +11506,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_DRAWOFFCOCK, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11521,13 +11521,13 @@ public: class IFC_PARSE_API IfcVehicleTypeEnum : public express::DeclaredType { public: IfcVehicleTypeEnum() {} - explicit IfcVehicleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVehicleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVehicleType_CARGO, IfcVehicleType_ROLLINGSTOCK, IfcVehicleType_VEHICLE, IfcVehicleType_VEHICLEAIR, IfcVehicleType_VEHICLEMARINE, IfcVehicleType_VEHICLETRACKED, IfcVehicleType_VEHICLEWHEELED, IfcVehicleType_USERDEFINED, IfcVehicleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11536,13 +11536,13 @@ public: class IFC_PARSE_API IfcVibrationDamperTypeEnum : public express::DeclaredType { public: IfcVibrationDamperTypeEnum() {} - explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationDamperType_AXIAL_YIELD, IfcVibrationDamperType_BENDING_YIELD, IfcVibrationDamperType_FRICTION, IfcVibrationDamperType_RUBBER, IfcVibrationDamperType_SHEAR_YIELD, IfcVibrationDamperType_VISCOUS, IfcVibrationDamperType_USERDEFINED, IfcVibrationDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11559,13 +11559,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_BASE, IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11574,13 +11574,13 @@ public: class IFC_PARSE_API IfcVirtualElementTypeEnum : public express::DeclaredType { public: IfcVirtualElementTypeEnum() {} - explicit IfcVirtualElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVirtualElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVirtualElementType_BOUNDARY, IfcVirtualElementType_CLEARANCE, IfcVirtualElementType_PROVISIONFORVOID, IfcVirtualElementType_USERDEFINED, IfcVirtualElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11602,13 +11602,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11653,13 +11653,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_ELEMENTEDWALL, IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_POLYGONAL, IfcWallType_RETAININGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_WAVEWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11681,13 +11681,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11779,13 +11779,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11857,13 +11857,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11878,13 +11878,13 @@ public: class IFC_PARSE_API IfcWindowStyleConstructionEnum : public express::DeclaredType { public: IfcWindowStyleConstructionEnum() {} - explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleConstruction_ALUMINIUM, IfcWindowStyleConstruction_ALUMINIUM_WOOD, IfcWindowStyleConstruction_HIGH_GRADE_STEEL, IfcWindowStyleConstruction_OTHER_CONSTRUCTION, IfcWindowStyleConstruction_PLASTIC, IfcWindowStyleConstruction_STEEL, IfcWindowStyleConstruction_WOOD, IfcWindowStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11966,13 +11966,13 @@ public: class IFC_PARSE_API IfcWindowStyleOperationEnum : public express::DeclaredType { public: IfcWindowStyleOperationEnum() {} - explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL, IfcWindowStyleOperation_SINGLE_PANEL, IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM, IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_TRIPLE_PANEL_LEFT, IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT, IfcWindowStyleOperation_TRIPLE_PANEL_TOP, IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL, IfcWindowStyleOperation_USERDEFINED, IfcWindowStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11996,13 +11996,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_LIGHTDOME, IfcWindowType_SKYLIGHT, IfcWindowType_WINDOW, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12081,13 +12081,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12106,13 +12106,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12131,13 +12131,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12156,13 +12156,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12175,9 +12175,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12189,9 +12189,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12206,9 +12206,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12220,9 +12220,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12230,9 +12230,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -12240,9 +12240,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12256,9 +12256,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12266,9 +12266,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -12280,9 +12280,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -12332,9 +12332,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12352,9 +12352,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -12409,9 +12409,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -12424,9 +12424,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12439,9 +12439,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12455,9 +12455,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12470,9 +12470,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12497,9 +12497,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12518,9 +12518,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12561,9 +12561,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12576,9 +12576,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12592,9 +12592,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12606,9 +12606,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12620,9 +12620,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12635,9 +12635,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12649,9 +12649,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12663,9 +12663,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12677,9 +12677,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12693,9 +12693,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12707,9 +12707,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12721,9 +12721,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12735,9 +12735,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12758,9 +12758,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12779,9 +12779,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12811,9 +12811,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12825,9 +12825,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12839,9 +12839,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12861,9 +12861,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12875,9 +12875,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12887,9 +12887,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12910,9 +12910,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12924,9 +12924,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12938,9 +12938,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12954,9 +12954,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12970,9 +12970,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12982,9 +12982,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12996,9 +12996,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13010,9 +13010,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13033,9 +13033,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13052,9 +13052,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13068,9 +13068,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13078,9 +13078,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -13092,9 +13092,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13106,9 +13106,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13120,9 +13120,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13134,9 +13134,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13148,9 +13148,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -13162,9 +13162,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13178,9 +13178,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13194,9 +13194,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13208,9 +13208,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13222,9 +13222,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13236,9 +13236,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13250,9 +13250,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13266,9 +13266,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13282,9 +13282,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13296,9 +13296,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13310,9 +13310,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13324,9 +13324,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13342,9 +13342,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13356,9 +13356,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13370,9 +13370,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13384,9 +13384,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13397,9 +13397,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13462,9 +13462,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13476,9 +13476,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13491,9 +13491,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13503,9 +13503,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13519,9 +13519,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13533,9 +13533,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13553,9 +13553,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13563,9 +13563,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13578,9 +13578,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13593,9 +13593,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13607,9 +13607,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13625,9 +13625,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13639,9 +13639,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13649,9 +13649,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x3::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x3::IfcPropertySetDefinition >() const; }; @@ -13663,9 +13663,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13682,9 +13682,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13698,9 +13698,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13712,9 +13712,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13727,9 +13727,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13741,9 +13741,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13755,9 +13755,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13769,9 +13769,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13783,9 +13783,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13799,9 +13799,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13809,9 +13809,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13823,9 +13823,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13833,9 +13833,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13847,9 +13847,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13861,9 +13861,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13877,9 +13877,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13895,9 +13895,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13909,9 +13909,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13923,9 +13923,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13943,9 +13943,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13962,9 +13962,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13984,9 +13984,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14012,9 +14012,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14031,9 +14031,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14045,9 +14045,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14059,9 +14059,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14072,9 +14072,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14085,9 +14085,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14099,9 +14099,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14115,9 +14115,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14132,9 +14132,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14148,9 +14148,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14161,9 +14161,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -14175,9 +14175,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14191,9 +14191,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14205,9 +14205,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14221,9 +14221,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14235,9 +14235,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14249,9 +14249,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14263,9 +14263,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14297,9 +14297,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14311,9 +14311,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14326,9 +14326,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14347,7 +14347,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -14364,7 +14364,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -14375,7 +14375,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > Purpose() const; @@ -14392,28 +14392,28 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; class IFC_PARSE_API IfcAlignmentParameterSegment : public express::Entity { public: IfcAlignmentParameterSegment() {} - explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > StartTag() const; void setStartTag(const std::optional< std::string >& v); std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag); }; class IFC_PARSE_API IfcAlignmentVerticalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentVerticalSegment() {} - explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -14430,7 +14430,7 @@ public: ::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -14439,7 +14439,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x3::IfcOrganization ApplicationDeveloper() const; @@ -14454,7 +14454,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -14474,7 +14474,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -14512,7 +14512,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -14523,7 +14523,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -14564,7 +14564,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3::IfcActorSelect v8_RequestingApproval, ::Ifc4x3::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -14585,13 +14585,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14607,7 +14607,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14628,7 +14628,7 @@ public: ::Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14644,7 +14644,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14656,7 +14656,7 @@ public: ::Ifc4x3::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x3::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14672,7 +14672,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14693,7 +14693,7 @@ public: ::Ifc4x3::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x3::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14708,13 +14708,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x3::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x3::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14734,10 +14734,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14759,7 +14759,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14768,7 +14768,7 @@ public: ::Ifc4x3::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x3::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14782,7 +14782,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14791,7 +14791,7 @@ public: ::Ifc4x3::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x3::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14803,7 +14803,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x3::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14812,7 +14812,7 @@ public: ::Ifc4x3::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x3::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14830,7 +14830,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14859,7 +14859,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14911,7 +14911,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x3::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14920,7 +14920,7 @@ public: ::Ifc4x3::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x3::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14948,7 +14948,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -14972,7 +14972,7 @@ public: void setVerticalDatum(const std::optional< std::string >& v); std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -15020,10 +15020,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -15036,7 +15036,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x3::IfcDerivedUnitElement > Elements() const; @@ -15049,7 +15049,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -15064,7 +15064,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x3::IfcNamedUnit Unit() const; @@ -15073,7 +15073,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -15096,7 +15096,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -15120,7 +15120,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -15132,10 +15132,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -15150,7 +15150,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -15173,7 +15173,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -15187,10 +15187,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -15203,10 +15203,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -15219,10 +15219,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -15251,7 +15251,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -15267,7 +15267,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -15276,7 +15276,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -15285,7 +15285,7 @@ public: std::vector< ::Ifc4x3::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -15299,7 +15299,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -15325,7 +15325,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -15338,7 +15338,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -15355,7 +15355,7 @@ public: void setReferencedLibrary(const ::Ifc4x3::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -15376,7 +15376,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -15390,7 +15390,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -15399,7 +15399,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x3::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -15408,7 +15408,7 @@ public: std::vector< ::Ifc4x3::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x3::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -15425,7 +15425,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -15457,7 +15457,7 @@ public: std::optional< double > ScaleZ() const; void setScaleZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, std::optional< double > v9_ScaleY, std::optional< double > v10_ScaleZ); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -15468,7 +15468,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x3::IfcClassificationSelect > MaterialClassifications() const; @@ -15477,7 +15477,7 @@ public: ::Ifc4x3::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x3::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -15507,13 +15507,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -15542,7 +15542,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x3::IfcMaterial Material() const; @@ -15575,7 +15575,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15614,7 +15614,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x3::IfcMaterialLayer > MaterialLayers() const; @@ -15628,7 +15628,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15677,7 +15677,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x3::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15686,7 +15686,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15709,13 +15709,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x3::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x3::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15726,7 +15726,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15748,7 +15748,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_Material, ::Ifc4x3::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15759,7 +15759,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15777,7 +15777,7 @@ public: ::Ifc4x3::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x3::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15788,13 +15788,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_Material, ::Ifc4x3::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15831,11 +15831,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15851,7 +15851,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x3::IfcValue ValueComponent() const; @@ -15860,7 +15860,7 @@ public: ::Ifc4x3::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcValue v1_ValueComponent, ::Ifc4x3::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15918,7 +15918,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x3::IfcBenchmarkEnum::Value Benchmark() const; @@ -15932,7 +15932,7 @@ public: ::Ifc4x3::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3::IfcMetricValueSelect v10_DataValue, ::Ifc4x3::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15943,13 +15943,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15960,7 +15960,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x3::IfcDimensionalExponents Dimensions() const; @@ -15969,7 +15969,7 @@ public: ::Ifc4x3::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x3::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -15986,14 +15986,14 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc4x3::IfcObjectPlacement PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x3::IfcObjectPlacement& v); std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement std::vector< IfcObjectPlacement > ReferencedByPlacements() const; // INVERSE IfcObjectPlacement::PlacementRelTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcObjectPlacement v1_PlacementRelTo); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -16008,7 +16008,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x3::IfcConstraint > > BenchmarkValues() const; @@ -16022,7 +16022,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -16036,7 +16036,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -16058,7 +16058,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -16074,7 +16074,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x3::IfcPersonAndOrganization OwningUser() const; @@ -16101,7 +16101,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -16116,7 +16116,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -16150,7 +16150,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x3::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -16161,7 +16161,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x3::IfcPerson ThePerson() const; @@ -16173,7 +16173,7 @@ public: std::optional< std::vector< ::Ifc4x3::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x3::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPerson v1_ThePerson, ::Ifc4x3::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -16184,7 +16184,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -16195,7 +16195,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -16210,13 +16210,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x3::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -16225,7 +16225,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -16255,17 +16255,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -16286,7 +16286,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -16301,7 +16301,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -16320,7 +16320,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -16339,7 +16339,7 @@ public: std::vector< ::Ifc4x3::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x3::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -16350,13 +16350,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// IfcProductRepresentation defines a representation of a @@ -16379,7 +16379,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -16391,7 +16391,7 @@ public: std::vector< ::Ifc4x3::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x3::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -16567,7 +16567,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x3::IfcProfileTypeEnum::Value ProfileType() const; @@ -16578,7 +16578,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16607,7 +16607,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} /// Name by which the map projection is identified. /// @@ -16626,18 +16626,18 @@ public: ::Ifc4x3::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x3::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16689,7 +16689,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16701,7 +16701,7 @@ public: ::Ifc4x3::IfcUnit Unit() const; void setUnit(const ::Ifc4x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x3::IfcValue > v2_EnumerationValues, ::Ifc4x3::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16712,7 +16712,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16723,7 +16723,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16734,7 +16734,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. int CountValue() const; @@ -16745,7 +16745,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, int v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16756,7 +16756,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16767,21 +16767,21 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; class IFC_PARSE_API IfcQuantityNumber : public IfcPhysicalSimpleQuantity { public: IfcQuantityNumber() {} - explicit IfcQuantityNumber (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityNumber (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} double NumberValue() const; void setNumberValue(const double& v); std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_NumberValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16792,7 +16792,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16803,7 +16803,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16814,7 +16814,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16825,7 +16825,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16836,7 +16836,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16847,7 +16847,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16859,7 +16859,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16899,14 +16899,14 @@ public: std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16919,7 +16919,7 @@ public: ::Ifc4x3::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16971,7 +16971,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x3::IfcRepresentationContext ContextOfItems() const; @@ -16990,7 +16990,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -17006,7 +17006,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -17016,7 +17016,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -17054,12 +17054,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -17076,7 +17076,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -17088,7 +17088,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -17097,7 +17097,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -17106,7 +17106,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -17121,7 +17121,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -17140,7 +17140,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -17153,7 +17153,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x3::IfcSIPrefix::Value > Prefix() const; @@ -17164,7 +17164,7 @@ public: ::Ifc4x3::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x3::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -17173,7 +17173,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -17186,7 +17186,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -17229,7 +17229,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -17252,7 +17252,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x3::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -17276,11 +17276,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -17421,10 +17421,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -17433,13 +17433,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -17448,13 +17448,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -17471,7 +17471,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x3::IfcStructuralLoadOrResult > Values() const; @@ -17480,7 +17480,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -17489,10 +17489,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -17501,10 +17501,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -17515,7 +17515,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -17533,7 +17533,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -17544,10 +17544,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -17581,7 +17581,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17600,7 +17600,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17613,10 +17613,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17627,7 +17627,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17639,7 +17639,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17652,7 +17652,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x3::IfcSurfaceSide::Value Side() const; @@ -17661,7 +17661,7 @@ public: std::vector< ::Ifc4x3::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17678,7 +17678,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17697,7 +17697,7 @@ public: ::Ifc4x3::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x3::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3::IfcColourRgb v3_TransmissionColour, ::Ifc4x3::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17708,7 +17708,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17717,7 +17717,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17730,7 +17730,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x3::IfcColourRgb SurfaceColour() const; @@ -17738,7 +17738,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17762,13 +17762,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x3::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x3::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17866,7 +17866,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17897,7 +17897,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17918,7 +17918,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17930,7 +17930,7 @@ public: std::optional< std::vector< ::Ifc4x3::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x3::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17941,7 +17941,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17958,7 +17958,7 @@ public: ::Ifc4x3::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3::IfcUnit v4_Unit, ::Ifc4x3::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17977,7 +17977,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x3::IfcValue > > RowCells() const; @@ -17986,7 +17986,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x3::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -18000,7 +18000,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -18108,7 +18108,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -18117,12 +18117,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x3::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x3::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -18134,7 +18134,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -18158,7 +18158,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -18192,7 +18192,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x3::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -18212,7 +18212,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -18235,7 +18235,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x3::IfcColour Colour() const; @@ -18244,7 +18244,7 @@ public: ::Ifc4x3::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x3::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcColour v1_Colour, ::Ifc4x3::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -18257,7 +18257,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -18288,7 +18288,7 @@ public: ::Ifc4x3::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x3::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -18305,12 +18305,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x3::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x3::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -18342,7 +18342,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -18355,14 +18355,14 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; class IFC_PARSE_API IfcTextureCoordinateIndices : public express::Entity { public: IfcTextureCoordinateIndices() {} - explicit IfcTextureCoordinateIndices (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTextureCoordinateIndices (const std::weak_ptr& data) : express::Entity(data) {} std::vector< int > /*[3:?]*/ TexCoordIndex() const; void setTexCoordIndex(const std::vector< int > /*[3:?]*/& v); @@ -18370,19 +18370,19 @@ public: void setTexCoordsOf(const ::Ifc4x3::IfcIndexedPolygonalFace& v); std::vector< IfcIndexedPolygonalTextureMap > ToTexMap() const; // INVERSE IfcIndexedPolygonalTextureMap::TexCoordIndices - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf); }; class IFC_PARSE_API IfcTextureCoordinateIndicesWithVoids : public IfcTextureCoordinateIndices { public: IfcTextureCoordinateIndicesWithVoids() {} - explicit IfcTextureCoordinateIndicesWithVoids (const std::weak_ptr& data) : IfcTextureCoordinateIndices(data) {} + explicit IfcTextureCoordinateIndicesWithVoids (const std::weak_ptr& data) : IfcTextureCoordinateIndices(data) {} std::vector< std::vector< int > > InnerTexCoordIndices() const; void setInnerTexCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices); }; /// An IfcTextureMap provides the mapping of the @@ -18439,7 +18439,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -18449,7 +18449,7 @@ public: ::Ifc4x3::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x3::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3::IfcTextureVertex > v2_Vertices, ::Ifc4x3::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -18482,25 +18482,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -18512,7 +18512,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -18521,7 +18521,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -18532,7 +18532,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -18560,7 +18560,7 @@ public: void setUnit(const ::Ifc4x3::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -18575,13 +18575,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x3::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -18592,10 +18592,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18635,10 +18635,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18649,13 +18649,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x3::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x3::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18671,10 +18671,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18689,13 +18689,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x3::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x3::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18760,7 +18760,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x3::IfcGridAxis > IntersectingAxes() const; @@ -18769,7 +18769,7 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18783,7 +18783,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18795,14 +18795,14 @@ public: std::optional< std::string > FinishDate() const; void setFinishDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate); }; class IFC_PARSE_API IfcAlignmentCantSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentCantSegment() {} - explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -18819,14 +18819,14 @@ public: ::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType); }; class IFC_PARSE_API IfcAlignmentHorizontalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentHorizontalSegment() {} - explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} ::Ifc4x3::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x3::IfcCartesianPoint& v); @@ -18843,7 +18843,7 @@ public: ::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType); }; /// An IfcApprovalRelationship associates approvals (one @@ -18856,7 +18856,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x3::IfcApproval RelatingApproval() const; @@ -18865,7 +18865,7 @@ public: std::vector< ::Ifc4x3::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x3::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18889,13 +18889,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x3::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18916,13 +18916,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x3::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x3::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18947,13 +18947,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x3::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x3::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18968,7 +18968,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18977,7 +18977,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -19012,13 +19012,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -19039,7 +19039,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -19089,7 +19089,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Specification, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -19116,7 +19116,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x3::IfcClassificationReferenceSelect ReferencedSource() const; @@ -19131,19 +19131,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -19154,7 +19154,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -19163,7 +19163,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -19205,7 +19205,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x3::IfcProfileDef > Profiles() const; @@ -19214,7 +19214,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -19229,13 +19229,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x3::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x3::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -19254,7 +19254,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -19263,7 +19263,7 @@ public: ::Ifc4x3::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x3::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -19288,7 +19288,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -19300,7 +19300,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -19313,14 +19313,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -19373,7 +19373,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -19383,7 +19383,7 @@ public: void setConversionFactor(const ::Ifc4x3::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -19407,13 +19407,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -19430,7 +19430,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x3::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -19450,7 +19450,7 @@ public: ::Ifc4x3::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x3::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -19473,7 +19473,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x3::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -19487,7 +19487,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3::IfcSizeSelect v3_CurveWidth, ::Ifc4x3::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -19498,7 +19498,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -19507,7 +19507,7 @@ public: std::vector< ::Ifc4x3::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x3::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -19524,7 +19524,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -19535,7 +19535,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcCurveStyleFontSelect v2_CurveStyleFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -19546,7 +19546,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -19559,7 +19559,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -19649,7 +19649,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x3::IfcProfileDef ParentProfile() const; @@ -19661,7 +19661,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcProfileDef v3_ParentProfile, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19670,7 +19670,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19741,7 +19741,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19755,7 +19755,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x3::IfcDocumentInformation RelatingDocument() const; @@ -19767,7 +19767,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19784,7 +19784,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19796,7 +19796,7 @@ public: void setReferencedDocument(const ::Ifc4x3::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19851,7 +19851,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x3::IfcVertex EdgeStart() const; @@ -19860,7 +19860,7 @@ public: ::Ifc4x3::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x3::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcVertex v1_EdgeStart, ::Ifc4x3::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19899,7 +19899,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x3::IfcCurve EdgeGeometry() const; @@ -19908,7 +19908,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcVertex v1_EdgeStart, ::Ifc4x3::IfcVertex v2_EdgeEnd, ::Ifc4x3::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19937,7 +19937,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19954,14 +19954,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19970,7 +19970,7 @@ public: std::vector< ::Ifc4x3::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x3::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19983,7 +19983,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19994,7 +19994,7 @@ public: std::vector< ::Ifc4x3::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -20044,14 +20044,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x3::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x3::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -20062,7 +20062,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x3::IfcLoop Bound() const; @@ -20071,7 +20071,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -20082,10 +20082,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -20127,7 +20127,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x3::IfcSurface FaceSurface() const; @@ -20136,7 +20136,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcFaceBound > v1_Bounds, ::Ifc4x3::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -20149,7 +20149,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -20170,7 +20170,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -20210,7 +20210,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x3::IfcFillStyleSelect > FillStyles() const; @@ -20218,7 +20218,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -20271,7 +20271,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -20290,7 +20290,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -20315,10 +20315,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -20337,7 +20337,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x3::IfcGeometricRepresentationContext ParentContext() const; @@ -20362,7 +20362,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -20375,13 +20375,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x3::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x3::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -20432,7 +20432,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x3::IfcVirtualGridIntersection PlacementLocation() const; @@ -20443,7 +20443,7 @@ public: ::Ifc4x3::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x3::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3::IfcGridPlacementDirectionSelect v3_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -20464,7 +20464,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x3::IfcSurface BaseSurface() const; @@ -20473,7 +20473,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -20514,20 +20514,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x3::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3::IfcTessellatedFaceSet& v); @@ -20538,33 +20538,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x3::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3::IfcTessellatedFaceSet& v); ::Ifc4x3::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x3::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -20575,13 +20575,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x3::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3::IfcUnit v8_Unit, std::vector< ::Ifc4x3::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -20624,7 +20624,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -20635,7 +20635,7 @@ public: ::Ifc4x3::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x3::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -20648,7 +20648,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20664,7 +20664,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20677,10 +20677,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20695,14 +20695,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x3::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20715,7 +20715,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x3::IfcAxis2Placement3D Position() const; @@ -20736,7 +20736,7 @@ public: ::Ifc4x3::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x3::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3::IfcAxis2Placement3D v5_Position, ::Ifc4x3::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20757,7 +20757,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20777,7 +20777,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20798,7 +20798,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20816,21 +20816,21 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x3::IfcAxis2PlacementLinear RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3::IfcAxis2PlacementLinear& v); ::Ifc4x3::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3::IfcAxis2Placement3D v3_CartesianPosition); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20888,13 +20888,13 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system. ::Ifc4x3::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20926,10 +20926,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20954,7 +20954,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x3::IfcRepresentationMap MappingSource() const; @@ -20963,7 +20963,7 @@ public: ::Ifc4x3::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x3::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcRepresentationMap v1_MappingSource, ::Ifc4x3::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20996,7 +20996,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -21021,7 +21021,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -21032,7 +21032,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -21051,7 +21051,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -21071,7 +21071,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -21083,7 +21083,7 @@ public: std::optional< std::vector< ::Ifc4x3::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -21119,13 +21119,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x3::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x3::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcRepresentation > v3_Representations, ::Ifc4x3::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -21231,7 +21231,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x3::IfcMaterialLayerSet ForLayerSet() const; @@ -21261,7 +21261,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -21274,7 +21274,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3::IfcMaterialProfileSet ForProfileSet() const; @@ -21291,7 +21291,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -21322,7 +21322,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3::IfcMaterialProfileSet ForProfileEndSet() const; @@ -21331,7 +21331,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -21359,7 +21359,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -21367,7 +21367,7 @@ public: ::Ifc4x3::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x3::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcProperty > v3_Properties, ::Ifc4x3::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -21376,7 +21376,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x3::IfcMaterial RelatingMaterial() const; @@ -21387,7 +21387,7 @@ public: std::optional< std::string > MaterialExpression() const; void setMaterialExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_MaterialExpression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -21420,10 +21420,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -21479,7 +21479,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -21489,14 +21489,14 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcOpenCrossProfileDef : public IfcProfileDef { public: IfcOpenCrossProfileDef() {} - explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} bool HorizontalWidths() const; void setHorizontalWidths(const bool& v); @@ -21509,7 +21509,7 @@ public: ::Ifc4x3::IfcCartesianPoint OffsetPoint() const; void setOffsetPoint(const ::Ifc4x3::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3::IfcCartesianPoint v7_OffsetPoint); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -21574,10 +21574,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -21589,7 +21589,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x3::IfcOrganization RelatingOrganization() const; @@ -21598,7 +21598,7 @@ public: std::vector< ::Ifc4x3::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x3::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3::IfcOrganization > v4_RelatedOrganizations); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -21611,7 +21611,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x3::IfcEdge EdgeElement() const; @@ -21620,7 +21620,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21668,13 +21668,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x3::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x3::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21694,13 +21694,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x3::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21715,7 +21715,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x3::IfcPhysicalQuantity > HasQuantities() const; @@ -21730,7 +21730,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21754,7 +21754,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21771,7 +21771,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21786,13 +21786,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x3::IfcPoint Location() const; void setLocation(const ::Ifc4x3::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21803,7 +21803,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21812,7 +21812,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21823,17 +21823,17 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcPointByDistanceExpression : public IfcPoint { public: IfcPointByDistanceExpression() {} - explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} ::Ifc4x3::IfcCurveMeasureSelect DistanceAlong() const; void setDistanceAlong(const ::Ifc4x3::IfcCurveMeasureSelect& v); @@ -21846,7 +21846,7 @@ public: ::Ifc4x3::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3::IfcCurve v5_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21861,7 +21861,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x3::IfcCurve BasisCurve() const; @@ -21870,7 +21870,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21885,7 +21885,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x3::IfcSurface BasisSurface() const; @@ -21897,7 +21897,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21942,13 +21942,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x3::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x3::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -22010,7 +22010,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x3::IfcAxis2Placement3D Position() const; @@ -22021,7 +22021,7 @@ public: ::Ifc4x3::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x3::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3::IfcAxis2Placement3D v3_Position, ::Ifc4x3::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -22034,23 +22034,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -22067,10 +22067,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -22088,12 +22088,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -22110,13 +22110,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x3::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcProperty > v3_Properties, ::Ifc4x3::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -22125,7 +22125,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -22139,7 +22139,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification); }; /// IfcPropertyDefinition defines the generalization of @@ -22195,12 +22195,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -22214,7 +22214,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x3::IfcProperty DependingProperty() const; @@ -22226,7 +22226,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcProperty v3_DependingProperty, ::Ifc4x3::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -22274,13 +22274,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -22311,20 +22311,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -22364,7 +22364,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -22373,7 +22373,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -22384,7 +22384,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -22393,7 +22393,7 @@ public: std::vector< ::Ifc4x3::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -22404,7 +22404,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -22425,7 +22425,7 @@ public: std::optional< int > BarCount() const; void setBarCount(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -22439,10 +22439,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -22454,7 +22454,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x3::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -22463,7 +22463,7 @@ public: ::Ifc4x3::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -22489,7 +22489,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x3::IfcConstraint RelatingConstraint() const; @@ -22498,7 +22498,7 @@ public: std::vector< ::Ifc4x3::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -22506,7 +22506,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -22554,7 +22554,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22597,13 +22597,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -22614,7 +22614,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x3::IfcSectionTypeEnum::Value SectionType() const; @@ -22626,7 +22626,7 @@ public: ::Ifc4x3::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3::IfcProfileDef v2_StartProfile, ::Ifc4x3::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -22639,7 +22639,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -22660,7 +22660,7 @@ public: std::vector< ::Ifc4x3::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22719,7 +22719,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x3::IfcCompositeCurve SpineCurve() const; @@ -22731,20 +22731,20 @@ public: std::vector< ::Ifc4x3::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3::IfcAxis2Placement3D > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSegment : public IfcGeometricRepresentationItem { public: IfcSegment() {} - explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3::IfcTransitionCode::Value Transition() const; void setTransition(const ::Ifc4x3::IfcTransitionCode::Value& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22762,12 +22762,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x3::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x3::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22776,10 +22776,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22794,7 +22794,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22806,7 +22806,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22817,10 +22817,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22831,7 +22831,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22852,7 +22852,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22863,7 +22863,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22875,7 +22875,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22886,7 +22886,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22907,7 +22907,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22916,13 +22916,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22934,7 +22934,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22955,7 +22955,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22969,13 +22969,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22991,13 +22991,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x3::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x3::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcVertex v1_EdgeStart, ::Ifc4x3::IfcVertex v2_EdgeEnd, ::Ifc4x3::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -23013,10 +23013,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -23067,7 +23067,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -23101,7 +23101,7 @@ public: ::Ifc4x3::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x3::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -23125,7 +23125,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x3::IfcProfileDef SweptArea() const; @@ -23134,7 +23134,7 @@ public: ::Ifc4x3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -23193,7 +23193,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x3::IfcCurve Directrix() const; @@ -23215,7 +23215,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -23231,13 +23231,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -23248,7 +23248,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x3::IfcProfileDef SweptCurve() const; @@ -23257,7 +23257,7 @@ public: ::Ifc4x3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptCurve, ::Ifc4x3::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -23291,7 +23291,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23321,17 +23321,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -23347,7 +23347,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -23360,7 +23360,7 @@ public: ::Ifc4x3::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x3::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3::IfcAxis2Placement v2_Placement, ::Ifc4x3::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -23375,7 +23375,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x3::IfcPlanarExtent Extent() const; @@ -23384,7 +23384,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3::IfcAxis2Placement v2_Placement, ::Ifc4x3::IfcTextPath::Value v3_Path, ::Ifc4x3::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -23455,7 +23455,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -23476,7 +23476,7 @@ public: ::Ifc4x3::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x3::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -23520,7 +23520,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -23535,7 +23535,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -23572,7 +23572,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -23590,7 +23590,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -23624,7 +23624,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -23639,7 +23639,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23711,7 +23711,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > RepresentationMaps() const; @@ -23721,7 +23721,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23739,7 +23739,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23754,7 +23754,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23788,7 +23788,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23812,7 +23812,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23825,7 +23825,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x3::IfcDirection Orientation() const; @@ -23834,7 +23834,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23852,13 +23852,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x3::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x3::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcVertex v1_LoopVertex); }; /// IfcZShapeProfileDef defines @@ -23889,7 +23889,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23910,7 +23910,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23929,10 +23929,10 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcFaceBound > v1_Bounds, ::Ifc4x3::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -23958,7 +23958,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -23971,7 +23971,7 @@ public: std::optional< std::vector< ::Ifc4x3::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -24014,7 +24014,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -24044,7 +24044,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -24059,13 +24059,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x3::IfcDirection Axis() const; void setAxis(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPoint v1_Location, ::Ifc4x3::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -24082,13 +24082,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPoint v1_Location, ::Ifc4x3::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -24107,7 +24107,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x3::IfcDirection Axis() const; @@ -24116,21 +24116,21 @@ public: ::Ifc4x3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPoint v1_Location, ::Ifc4x3::IfcDirection v2_Axis, ::Ifc4x3::IfcDirection v3_RefDirection); }; class IFC_PARSE_API IfcAxis2PlacementLinear : public IfcPlacement { public: IfcAxis2PlacementLinear() {} - explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} ::Ifc4x3::IfcDirection Axis() const; void setAxis(const ::Ifc4x3::IfcDirection& v); ::Ifc4x3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPoint v1_Location, ::Ifc4x3::IfcDirection v2_Axis, ::Ifc4x3::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -24162,7 +24162,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x3::IfcBooleanOperator::Value Operator() const; @@ -24174,7 +24174,7 @@ public: ::Ifc4x3::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x3::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -24192,10 +24192,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -24223,7 +24223,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x3::IfcCartesianPoint Corner() const; @@ -24238,7 +24238,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -24274,13 +24274,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x3::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x3::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -24308,7 +24308,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -24326,7 +24326,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -24339,51 +24339,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -24419,7 +24419,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x3::IfcDirection Axis1() const; @@ -24434,7 +24434,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24445,10 +24445,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -24464,13 +24464,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24481,13 +24481,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x3::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -24504,7 +24504,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -24513,7 +24513,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcDirection v1_Axis1, ::Ifc4x3::IfcDirection v2_Axis2, ::Ifc4x3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -24531,13 +24531,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -24592,10 +24592,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24609,7 +24609,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24627,7 +24627,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24638,7 +24638,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24648,7 +24648,7 @@ public: std::vector< ::Ifc4x3::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::string v3_UsageName, std::vector< ::Ifc4x3::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24661,7 +24661,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcSegment { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} /// An indicator of whether or not the sense of the segment agrees with, or opposes, that of the parent curve. If SameSense is false, the point with highest parameter value is taken as the first point of the segment. /// @@ -24672,7 +24672,7 @@ public: ::Ifc4x3::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24693,14 +24693,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > >& v); ::Ifc4x3::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24719,7 +24719,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24743,7 +24743,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24759,13 +24759,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x3::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24776,13 +24776,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24829,13 +24829,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x3::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x3::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24851,10 +24851,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24873,7 +24873,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x3::IfcPlane BasisSurface() const; @@ -24885,7 +24885,7 @@ public: std::vector< ::Ifc4x3::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x3::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPlane v1_BasisSurface, ::Ifc4x3::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24912,7 +24912,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x3::IfcSurface BasisSurface() const; @@ -24923,14 +24923,14 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; class IFC_PARSE_API IfcCurveSegment : public IfcSegment { public: IfcCurveSegment() {} - explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} ::Ifc4x3::IfcPlacement Placement() const; void setPlacement(const ::Ifc4x3::IfcPlacement& v); @@ -24941,7 +24941,7 @@ public: ::Ifc4x3::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition, ::Ifc4x3::IfcPlacement v2_Placement, ::Ifc4x3::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3::IfcCurve v5_ParentCurve); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -24954,20 +24954,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDirectrixCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixCurveSweptAreaSolid() {} - explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3::IfcCurve& v); @@ -24976,7 +24976,7 @@ public: ::Ifc4x3::IfcCurveMeasureSelect EndParam() const; void setEndParam(const ::Ifc4x3::IfcCurveMeasureSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcCurve v3_Directrix, ::Ifc4x3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3::IfcCurveMeasureSelect v5_EndParam); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -24993,13 +24993,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x3::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -25082,7 +25082,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -25093,7 +25093,7 @@ public: std::vector< ::Ifc4x3::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x3::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -25121,13 +25121,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -25138,13 +25138,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -25166,7 +25166,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -25175,7 +25175,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -25187,7 +25187,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -25203,7 +25203,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -25277,7 +25277,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x3::IfcDirection ExtrudedDirection() const; @@ -25287,7 +25287,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -25391,13 +25391,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x3::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -25415,13 +25415,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x3::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x3::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -25474,7 +25474,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x3::IfcCurveStyle HatchLineAppearance() const; @@ -25500,7 +25500,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -25511,7 +25511,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x3::IfcVector > TilingPattern() const; @@ -25523,7 +25523,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25587,13 +25587,13 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The direction providing the fixed axis1 (x-axis) direction for orienting the swept area during the sweeping operation along the Directrix. ::Ifc4x3::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcCurve v3_Directrix, ::Ifc4x3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -25627,10 +25627,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25673,7 +25673,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x3::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25681,7 +25681,7 @@ public: std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25748,13 +25748,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x3::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25767,10 +25767,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25839,7 +25839,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25861,45 +25861,45 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces std::vector< IfcTextureCoordinateIndices > HasTexCoords() const; // INVERSE IfcTextureCoordinateIndices::TexCoordsOf - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; class IFC_PARSE_API IfcIndexedPolygonalTextureMap : public IfcIndexedTextureMap { public: IfcIndexedPolygonalTextureMap() {} - explicit IfcIndexedPolygonalTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedPolygonalTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::vector< ::Ifc4x3::IfcTextureCoordinateIndices > TexCoordIndices() const; void setTexCoordIndices(const std::vector< ::Ifc4x3::IfcTextureCoordinateIndices >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3::IfcTextureVertexList v3_TexCoords, std::vector< ::Ifc4x3::IfcTextureCoordinateIndices > v4_TexCoordIndices); }; /// IfcLShapeProfileDef @@ -25956,7 +25956,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -25977,7 +25977,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -25994,13 +25994,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x3::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -26019,7 +26019,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x3::IfcCartesianPoint Pnt() const; @@ -26028,7 +26028,7 @@ public: ::Ifc4x3::IfcVector Dir() const; void setDir(const ::Ifc4x3::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCartesianPoint v1_Pnt, ::Ifc4x3::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -26097,13 +26097,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x3::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x3::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -26191,7 +26191,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -26201,19 +26201,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -26230,7 +26230,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -26239,7 +26239,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -26260,7 +26260,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -26272,21 +26272,21 @@ public: ::Ifc4x3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x3::IfcPointByDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x3::IfcPointByDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -26299,14 +26299,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x3::IfcSurface& v); ::Ifc4x3::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSurface v1_BasisSurface, ::Ifc4x3::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -26318,14 +26318,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x3::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -26367,17 +26367,17 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position); }; class IFC_PARSE_API IfcPolynomialCurve : public IfcCurve { public: IfcPolynomialCurve() {} - explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3::IfcPlacement Position() const; void setPosition(const ::Ifc4x3::IfcPlacement& v); @@ -26388,7 +26388,7 @@ public: std::optional< std::vector< double > /*[2:?]*/ > CoefficientsZ() const; void setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -26399,10 +26399,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -26415,10 +26415,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -26444,10 +26444,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -26466,14 +26466,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x3::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -26519,7 +26519,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -26536,7 +26536,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26633,7 +26633,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x3::IfcObjectPlacement ObjectPlacement() const; @@ -26645,7 +26645,7 @@ public: std::vector< IfcRelPositions > PositionedRelativeTo() const; // INVERSE IfcRelPositions::RelatedProducts std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26695,10 +26695,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26728,10 +26728,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26841,7 +26841,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x3::IfcValue UpperBoundValue() const; @@ -26858,7 +26858,7 @@ public: ::Ifc4x3::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x3::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3::IfcValue v3_UpperBoundValue, ::Ifc4x3::IfcValue v4_LowerBoundValue, ::Ifc4x3::IfcUnit v5_Unit, ::Ifc4x3::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -26941,7 +26941,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -26952,7 +26952,7 @@ public: ::Ifc4x3::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x3::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3::IfcValue > > v3_EnumerationValues, ::Ifc4x3::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -27023,7 +27023,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -27034,7 +27034,7 @@ public: ::Ifc4x3::IfcUnit Unit() const; void setUnit(const ::Ifc4x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3::IfcValue > > v3_ListValues, ::Ifc4x3::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -27055,7 +27055,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -27066,7 +27066,7 @@ public: ::Ifc4x3::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x3::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::string > v3_UsageName, ::Ifc4x3::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -27125,13 +27125,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x3::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -27168,7 +27168,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -27191,7 +27191,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x3::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -27241,7 +27241,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -27254,7 +27254,7 @@ public: ::Ifc4x3::IfcUnit Unit() const; void setUnit(const ::Ifc4x3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3::IfcValue v3_NominalValue, ::Ifc4x3::IfcUnit v4_Unit); }; /// A property with a range value @@ -27376,7 +27376,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -27403,7 +27403,7 @@ public: std::optional< ::Ifc4x3::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x3::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3::IfcUnit v6_DefiningUnit, ::Ifc4x3::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -27433,12 +27433,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -27464,7 +27464,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -27476,7 +27476,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27570,7 +27570,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27582,7 +27582,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27603,7 +27603,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x3::IfcSurface BasisSurface() const; @@ -27627,7 +27627,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27659,7 +27659,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27668,7 +27668,7 @@ public: std::vector< ::Ifc4x3::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27685,7 +27685,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x3::IfcObjectDefinition > RelatedObjects() const; @@ -27695,7 +27695,7 @@ public: std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -27710,7 +27710,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x3::IfcActor RelatingActor() const; @@ -27719,7 +27719,7 @@ public: ::Ifc4x3::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x3::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcActor v7_RelatingActor, ::Ifc4x3::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -27730,13 +27730,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x3::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x3::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27755,13 +27755,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x3::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x3::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27776,13 +27776,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27810,7 +27810,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27821,7 +27821,7 @@ public: ::Ifc4x3::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x3::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27835,7 +27835,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27843,7 +27843,7 @@ public: ::Ifc4x3::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x3::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -27855,7 +27855,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -27863,7 +27863,7 @@ public: ::Ifc4x3::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x3::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -27910,7 +27910,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -27918,7 +27918,7 @@ public: std::vector< ::Ifc4x3::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -27927,13 +27927,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x3::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -27969,13 +27969,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x3::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x3::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -27984,7 +27984,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -27993,7 +27993,7 @@ public: ::Ifc4x3::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x3::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -28006,13 +28006,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x3::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x3::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -28025,13 +28025,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x3::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x3::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -28131,25 +28131,25 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x3::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x3::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcMaterialSelect v6_RelatingMaterial); }; class IFC_PARSE_API IfcRelAssociatesProfileDef : public IfcRelAssociates { public: IfcRelAssociatesProfileDef() {} - explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc4x3::IfcProfileDef RelatingProfileDef() const; void setRelatingProfileDef(const ::Ifc4x3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3::IfcProfileDef v6_RelatingProfileDef); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -28158,10 +28158,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -28189,7 +28189,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x3::IfcConnectionGeometry ConnectionGeometry() const; @@ -28201,7 +28201,7 @@ public: ::Ifc4x3::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3::IfcElement v6_RelatingElement, ::Ifc4x3::IfcElement v7_RelatedElement); }; /// The @@ -28237,7 +28237,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -28252,7 +28252,7 @@ public: ::Ifc4x3::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x3::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3::IfcElement v6_RelatingElement, ::Ifc4x3::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -28283,7 +28283,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x3::IfcPort RelatingPort() const; @@ -28294,7 +28294,7 @@ public: ::Ifc4x3::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcPort v5_RelatingPort, ::Ifc4x3::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -28313,7 +28313,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x3::IfcPort RelatingPort() const; @@ -28325,7 +28325,7 @@ public: ::Ifc4x3::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcPort v5_RelatingPort, ::Ifc4x3::IfcPort v6_RelatedPort, ::Ifc4x3::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -28334,7 +28334,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x3::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -28343,7 +28343,7 @@ public: ::Ifc4x3::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x3::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -28373,7 +28373,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x3::IfcStructuralMember RelatingStructuralMember() const; @@ -28394,7 +28394,7 @@ public: ::Ifc4x3::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -28417,13 +28417,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x3::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x3::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -28452,7 +28452,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x3::IfcElement > RealizingElements() const; @@ -28461,7 +28461,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3::IfcElement v6_RelatingElement, ::Ifc4x3::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -28527,7 +28527,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -28538,7 +28538,7 @@ public: ::Ifc4x3::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcProduct > v5_RelatedElements, ::Ifc4x3::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -28560,7 +28560,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28571,7 +28571,7 @@ public: std::vector< ::Ifc4x3::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28603,7 +28603,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28614,7 +28614,7 @@ public: std::vector< ::Ifc4x3::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28631,7 +28631,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x3::IfcContext RelatingContext() const; @@ -28640,7 +28640,7 @@ public: std::vector< ::Ifc4x3::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x3::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28676,10 +28676,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -28712,10 +28712,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -28736,7 +28736,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x3::IfcObject > RelatedObjects() const; @@ -28745,7 +28745,7 @@ public: ::Ifc4x3::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x3::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObject > v5_RelatedObjects, ::Ifc4x3::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28766,7 +28766,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x3::IfcObjectDefinition > RelatedObjects() const; @@ -28775,7 +28775,7 @@ public: ::Ifc4x3::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x3::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28793,7 +28793,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x3::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28802,7 +28802,7 @@ public: ::Ifc4x3::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x3::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -28877,7 +28877,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x3::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3::IfcObject >& v); @@ -28885,7 +28885,7 @@ public: ::Ifc4x3::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x3::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcObject > v5_RelatedObjects, ::Ifc4x3::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -28900,7 +28900,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x3::IfcOpeningElement RelatingOpeningElement() const; @@ -28911,7 +28911,7 @@ public: ::Ifc4x3::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -28924,7 +28924,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x3::IfcDistributionControlElement > RelatedControlElements() const; @@ -28933,7 +28933,7 @@ public: ::Ifc4x3::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x3::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -28986,7 +28986,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x3::IfcInterferenceSelect RelatingElement() const; @@ -29006,7 +29006,7 @@ public: boost::logic::tribool ImpliedOrder() const; void setImpliedOrder(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3::IfcConnectionGeometry v7_InterferenceGeometry, ::Ifc4x3::IfcSpatialZone v8_InterferenceSpace, std::optional< std::string > v9_InterferenceType, boost::logic::tribool v10_ImpliedOrder); }; /// The nesting relationship @@ -29037,7 +29037,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -29050,21 +29050,21 @@ public: std::vector< ::Ifc4x3::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelPositions : public IfcRelConnects { public: IfcRelPositions() {} - explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc4x3::IfcPositioningElement RelatingPositioningElement() const; void setRelatingPositioningElement(const ::Ifc4x3::IfcPositioningElement& v); std::vector< ::Ifc4x3::IfcProduct > RelatedProducts() const; void setRelatedProducts(const std::vector< ::Ifc4x3::IfcProduct >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3::IfcProduct > v6_RelatedProducts); }; /// The IfcRelProjectsElement is an objectified relationship @@ -29102,7 +29102,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x3::IfcElement RelatingElement() const; @@ -29111,7 +29111,7 @@ public: ::Ifc4x3::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x3::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcElement v5_RelatingElement, ::Ifc4x3::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -29166,7 +29166,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -29178,7 +29178,7 @@ public: ::Ifc4x3::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -29238,7 +29238,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x3::IfcProcess RelatingProcess() const; @@ -29266,7 +29266,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcProcess v5_RelatingProcess, ::Ifc4x3::IfcProcess v6_RelatedProcess, ::Ifc4x3::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -29293,7 +29293,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x3::IfcSystem RelatingSystem() const; @@ -29306,7 +29306,7 @@ public: std::vector< ::Ifc4x3::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x3::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -29474,7 +29474,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x3::IfcSpaceBoundarySelect RelatingSpace() const; @@ -29498,7 +29498,7 @@ public: ::Ifc4x3::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x3::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -29551,14 +29551,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x3::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x3::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29596,14 +29596,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x3::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x3::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29616,14 +29616,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x3::IfcElement& v); ::Ifc4x3::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x3::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcElement v5_RelatingBuildingElement, ::Ifc4x3::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29652,12 +29652,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29676,7 +29676,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29691,7 +29691,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -29773,7 +29773,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x3::IfcAxis1Placement Axis() const; @@ -29782,7 +29782,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29846,12 +29846,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x3::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -29922,7 +29922,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -29931,7 +29931,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -30018,7 +30018,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -30027,40 +30027,40 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x3::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3::IfcCurve& v); std::vector< ::Ifc4x3::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x3::IfcAxis2PlacementLinear > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3::IfcAxis2PlacementLinear >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3::IfcAxis2PlacementLinear > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSectionedSurface : public IfcSurface { public: IfcSectionedSurface() {} - explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} ::Ifc4x3::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3::IfcCurve& v); @@ -30069,7 +30069,7 @@ public: std::vector< ::Ifc4x3::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3::IfcAxis2PlacementLinear > v2_CrossSectionPositions, std::vector< ::Ifc4x3::IfcProfileDef > v3_CrossSections); }; /// The IfcSimplePropertyTemplate defines the template for @@ -30120,7 +30120,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -30170,7 +30170,7 @@ public: std::optional< ::Ifc4x3::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x3::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3::IfcUnit v9_PrimaryUnit, ::Ifc4x3::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -30207,7 +30207,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -30220,7 +30220,7 @@ public: std::vector< IfcRelInterferesElements > IsInterferedByElements() const; // INVERSE IfcRelInterferesElements::RelatedElement std::vector< IfcRelInterferesElements > InterferesElements() const; // INVERSE IfcRelInterferesElements::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -30257,13 +30257,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -30343,7 +30343,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -30352,7 +30352,7 @@ public: std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -30392,10 +30392,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -30450,13 +30450,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -30492,7 +30492,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x3::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -30500,7 +30500,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -30556,37 +30556,37 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSpiral : public IfcCurve { public: IfcSpiral() {} - explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30685,7 +30685,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -30713,7 +30713,7 @@ public: void setGlobalOrLocal(const ::Ifc4x3::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -30806,11 +30806,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -30820,11 +30820,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30850,10 +30850,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -30879,7 +30879,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -30888,7 +30888,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -30912,10 +30912,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -30943,13 +30943,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -30966,20 +30966,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x3::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x3::IfcCurve& v); @@ -30988,7 +30988,7 @@ public: ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -31056,13 +31056,13 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The surface containing the Directrix. ::Ifc4x3::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x3::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcCurve v3_Directrix, ::Ifc4x3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -31081,7 +31081,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x3::IfcDirection ExtrudedDirection() const; @@ -31090,7 +31090,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptCurve, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -31113,13 +31113,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x3::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x3::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptCurve, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -31155,12 +31155,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -31411,7 +31411,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -31453,7 +31453,7 @@ public: std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -31499,7 +31499,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -31509,14 +31509,14 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x3::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x3::IfcCartesianPointList3D& v); @@ -31525,14 +31525,14 @@ public: std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed); }; class IFC_PARSE_API IfcThirdOrderPolynomialSpiral : public IfcSpiral { public: IfcThirdOrderPolynomialSpiral() {} - explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double CubicTerm() const; void setCubicTerm(const double& v); @@ -31543,38 +31543,38 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; class IFC_PARSE_API IfcTransportationDeviceType : public IfcElementType { public: IfcTransportationDeviceType() {} - explicit IfcTransportationDeviceType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportationDeviceType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31583,31 +31583,31 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::optional< std::vector< std::vector< double > > > v3_Normals, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::optional< std::vector< std::vector< double > > > v3_Normals, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; class IFC_PARSE_API IfcVehicleType : public IfcTransportationDeviceType { public: IfcVehicleType() {} - explicit IfcVehicleType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} + explicit IfcVehicleType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} ::Ifc4x3::IfcVehicleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcVehicleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcVehicleTypeEnum::Value v10_PredefinedType); }; /// The window lining is the outer @@ -31711,7 +31711,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -31758,7 +31758,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31809,7 +31809,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -31829,7 +31829,7 @@ public: ::Ifc4x3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -31850,14 +31850,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x3::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x3::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -31896,10 +31896,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -31926,12 +31926,12 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x3::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3::IfcClosedShell > v2_Voids); }; /// Definition from IAI: An annotation is a graphical @@ -32110,13 +32110,13 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::optional< ::Ifc4x3::IfcAnnotationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcAnnotationTypeEnum::Value >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcAnnotationTypeEnum::Value > v8_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -32191,7 +32191,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -32215,7 +32215,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -32228,7 +32228,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -32246,7 +32246,7 @@ public: ::Ifc4x3::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -32349,7 +32349,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -32361,7 +32361,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -32374,10 +32374,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -32393,10 +32393,10 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The building storey has an @@ -32579,23 +32579,23 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; class IFC_PARSE_API IfcBuiltElementType : public IfcElementType { public: IfcBuiltElementType() {} - explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The IfcChimneyType @@ -32626,13 +32626,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuiltElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x3::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32656,35 +32656,35 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcClothoid : public IfcSpiral { public: IfcClothoid() {} - explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} double ClothoidConstant() const; void setClothoidConstant(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_ClothoidConstant); }; /// Definition from IAI: The element type @@ -32788,13 +32788,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuiltElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x3::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -32808,7 +32808,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -32818,7 +32818,7 @@ public: std::optional< std::vector< ::Ifc4x3::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -32890,7 +32890,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x3::IfcSegment > Segments() const; @@ -32899,7 +32899,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -32916,10 +32916,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -32930,13 +32930,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x3::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -32955,13 +32955,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -32980,13 +32980,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -33005,13 +33005,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -33089,7 +33089,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x3::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x3::IfcResourceTime& v); @@ -33098,7 +33098,7 @@ public: ::Ifc4x3::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -33114,7 +33114,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -33124,21 +33124,21 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; class IFC_PARSE_API IfcCosineSpiral : public IfcSpiral { public: IfcCosineSpiral() {} - explicit IfcCosineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcCosineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double CosineTerm() const; void setCosineTerm(const double& v); std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -33180,7 +33180,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -33202,7 +33202,7 @@ public: std::optional< std::vector< ::Ifc4x3::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x3::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -33231,7 +33231,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -33258,19 +33258,19 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; class IFC_PARSE_API IfcCourseType : public IfcBuiltElementType { public: IfcCourseType() {} - explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3::IfcCourseTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCourseTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCourseTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -33355,13 +33355,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuiltElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x3::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -33377,14 +33377,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -33411,13 +33411,13 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuiltElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x3::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -33477,33 +33477,33 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcDeepFoundationType : public IfcBuiltElementType { public: IfcDeepFoundationType() {} - explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcDirectrixDerivedReferenceSweptAreaSolid : public IfcFixedReferenceSweptAreaSolid { public: IfcDirectrixDerivedReferenceSweptAreaSolid() {} - explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} + explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcProfileDef v1_SweptArea, ::Ifc4x3::IfcAxis2Placement3D v2_Position, ::Ifc4x3::IfcCurve v3_Directrix, ::Ifc4x3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -33537,10 +33537,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33611,10 +33611,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33715,7 +33715,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -33763,7 +33763,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -33814,7 +33814,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -33834,7 +33834,7 @@ public: ::Ifc4x3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -33968,7 +33968,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuiltElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x3::IfcDoorTypeEnum::Value PredefinedType() const; @@ -33981,7 +33981,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -34059,10 +34059,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -34081,10 +34081,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -34143,7 +34143,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -34161,7 +34161,7 @@ public: std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement std::vector< IfcRelAdheresToElement > HasSurfaceFeatures() const; // INVERSE IfcRelAdheresToElement::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -34261,7 +34261,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x3::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -34272,7 +34272,7 @@ public: std::optional< ::Ifc4x3::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -34300,13 +34300,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -34389,10 +34389,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -34407,10 +34407,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -34443,7 +34443,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -34452,7 +34452,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -34481,10 +34481,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -34516,12 +34516,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -34553,13 +34553,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34591,13 +34591,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x3::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34680,7 +34680,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34699,7 +34699,7 @@ public: ::Ifc4x3::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x3::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34710,10 +34710,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -34743,10 +34743,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -34776,47 +34776,47 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x3::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcFacility : public IfcSpatialStructureElement { public: IfcFacility() {} - explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType); }; class IFC_PARSE_API IfcFacilityPart : public IfcSpatialStructureElement { public: IfcFacilityPart() {} - explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} ::Ifc4x3::IfcFacilityUsageEnum::Value UsageType() const; void setUsageType(const ::Ifc4x3::IfcFacilityUsageEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType); }; class IFC_PARSE_API IfcFacilityPartCommon : public IfcFacilityPart { public: IfcFacilityPartCommon() {} - explicit IfcFacilityPartCommon (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcFacilityPartCommon (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3::IfcFacilityPartCommonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFacilityPartCommonTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: @@ -34830,13 +34830,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x3::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -34865,13 +34865,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x3::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -34971,10 +34971,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -35035,11 +35035,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -35095,11 +35095,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -35127,10 +35127,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -35159,10 +35159,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -35200,13 +35200,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x3::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -35234,10 +35234,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -35274,10 +35274,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -35290,10 +35290,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -35306,10 +35306,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -35323,10 +35323,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -35341,13 +35341,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuiltElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Subtype of footing. ::Ifc4x3::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -35457,10 +35457,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -35497,12 +35497,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35648,49 +35648,49 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalElement : public IfcElement { public: IfcGeotechnicalElement() {} - explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeotechnicalStratum : public IfcGeotechnicalElement { public: IfcGeotechnicalStratum() {} - explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} std::optional< ::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGradientCurve : public IfcCompositeCurve { public: IfcGradientCurve() {} - explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3::IfcBoundedCurve& v); ::Ifc4x3::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3::IfcPlacement v4_EndPoint); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35726,12 +35726,12 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35766,13 +35766,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x3::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -35804,44 +35804,44 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x3::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDevice : public IfcElementComponent { public: IfcImpactProtectionDevice() {} - explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDeviceType : public IfcElementComponentType { public: IfcImpactProtectionDeviceType() {} - explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x3::IfcCartesianPointList& v); @@ -35850,7 +35850,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3::IfcSegmentIndexSelect > > v2_Segments, boost::logic::tribool v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -35889,22 +35889,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -35921,7 +35921,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -35946,7 +35946,7 @@ public: ::Ifc4x3::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x3::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3::IfcCostValue v10_CurrentValue, ::Ifc4x3::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -35979,25 +35979,25 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x3::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcKerbType : public IfcBuiltElementType { public: IfcKerbType() {} - explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -36027,14 +36027,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -36069,13 +36069,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x3::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -36112,59 +36112,59 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x3::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLinearElement : public IfcProduct { public: IfcLinearElement() {} - explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminalType : public IfcFlowTerminalType { public: IfcLiquidTerminalType() {} - explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMarineFacility : public IfcFacility { public: IfcMarineFacility() {} - explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3::IfcMarineFacilityTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcMarineFacilityTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcMarinePart : public IfcFacilityPart { public: IfcMarinePart() {} - explicit IfcMarinePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcMarinePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3::IfcMarinePartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcMarinePartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcMarinePartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -36199,7 +36199,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -36209,7 +36209,7 @@ public: std::optional< ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -36250,7 +36250,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -36262,7 +36262,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -36294,12 +36294,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -36406,37 +36406,37 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuiltElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x3::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMemberTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsApplianceType : public IfcFlowTerminalType { public: IfcMobileTelecommunicationsApplianceType() {} - explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMooringDeviceType : public IfcBuiltElementType { public: IfcMooringDeviceType() {} - explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3::IfcMooringDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcMooringDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMooringDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -36469,25 +36469,25 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x3::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcNavigationElementType : public IfcBuiltElementType { public: IfcNavigationElementType() {} - explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3::IfcNavigationElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcNavigationElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcNavigationElementTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -36500,7 +36500,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -36508,7 +36508,7 @@ public: std::optional< ::Ifc4x3::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -36716,7 +36716,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36725,7 +36725,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -36760,25 +36760,25 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x3::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcOutletTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPavementType : public IfcBuiltElementType { public: IfcPavementType() {} - explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3::IfcPavementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcPavementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPavementTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -36789,7 +36789,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -36800,7 +36800,7 @@ public: std::optional< ::Ifc4x3::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -36837,7 +36837,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -36855,7 +36855,7 @@ public: ::Ifc4x3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -36898,7 +36898,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -36916,7 +36916,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -36929,13 +36929,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcDeepFoundationType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} /// Subtype of pile. ::Ifc4x3::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -36970,13 +36970,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x3::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -37015,13 +37015,13 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x3::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -37104,27 +37104,27 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuiltElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x3::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::vector< ::Ifc4x3::IfcIndexedPolygonalFace > Faces() const; void setFaces(const std::vector< ::Ifc4x3::IfcIndexedPolygonalFace >& v); std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -37144,13 +37144,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x3::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x3::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -37209,25 +37209,25 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelPositions > Positions() const; // INVERSE IfcRelPositions::RelatingPositioningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -37337,14 +37337,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x3::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -37393,7 +37393,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37415,7 +37415,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -37528,7 +37528,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37536,7 +37536,7 @@ public: std::optional< ::Ifc4x3::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -37577,13 +37577,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -37617,25 +37617,25 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x3::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcPumpTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailType : public IfcBuiltElementType { public: IfcRailType() {} - explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3::IfcRailTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcRailTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRailTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -37661,37 +37661,37 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuiltElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x3::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRailingTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailway : public IfcFacility { public: IfcRailway() {} - explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3::IfcRailwayTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcRailwayTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcRailwayTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcRailwayPart : public IfcFacilityPart { public: IfcRailwayPart() {} - explicit IfcRailwayPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcRailwayPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3::IfcRailwayPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcRailwayPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcRailwayPartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -37717,13 +37717,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuiltElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x3::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -37762,13 +37762,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuiltElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x3::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -37787,25 +37787,25 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x3::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcReferentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcReferentTypeEnum::Value > v8_PredefinedType); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37819,12 +37819,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37833,10 +37833,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37866,7 +37866,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -37888,7 +37888,7 @@ public: std::optional< ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37905,7 +37905,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -37939,21 +37939,21 @@ public: std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > v20_BendingParameters); }; class IFC_PARSE_API IfcRelAdheresToElement : public IfcRelDecomposes { public: IfcRelAdheresToElement() {} - explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3::IfcElement RelatingElement() const; void setRelatingElement(const ::Ifc4x3::IfcElement& v); std::vector< ::Ifc4x3::IfcSurfaceFeature > RelatedSurfaceFeatures() const; void setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3::IfcSurfaceFeature >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3::IfcSurfaceFeature > v6_RelatedSurfaceFeatures); }; /// The aggregation relationship @@ -37981,7 +37981,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -37994,31 +37994,31 @@ public: std::vector< ::Ifc4x3::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRoad : public IfcFacility { public: IfcRoad() {} - explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3::IfcRoadTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcRoadTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcRoadTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcRoadPart : public IfcFacilityPart { public: IfcRoadPart() {} - explicit IfcRoadPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcRoadPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3::IfcRoadPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcRoadPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcRoadPartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type @@ -38056,13 +38056,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuiltElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x3::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -38105,30 +38105,30 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; class IFC_PARSE_API IfcSecondOrderPolynomialSpiral : public IfcSpiral { public: IfcSecondOrderPolynomialSpiral() {} - explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double QuadraticTerm() const; void setQuadraticTerm(const double& v); @@ -38137,28 +38137,28 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; class IFC_PARSE_API IfcSegmentedReferenceCurve : public IfcCompositeCurve { public: IfcSegmentedReferenceCurve() {} - explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3::IfcBoundedCurve& v); ::Ifc4x3::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3::IfcPlacement v4_EndPoint); }; class IFC_PARSE_API IfcSeventhOrderPolynomialSpiral : public IfcSpiral { public: IfcSeventhOrderPolynomialSpiral() {} - explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double SepticTerm() const; void setSepticTerm(const double& v); @@ -38177,7 +38177,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm); }; /// Definition from IAI: The IfcShadingDeviceType @@ -38204,56 +38204,56 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuiltElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x3::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSign : public IfcElementComponent { public: IfcSign() {} - explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3::IfcSignTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSignTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSignTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignType : public IfcElementComponentType { public: IfcSignType() {} - explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3::IfcSignTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcSignTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSignTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSignalType : public IfcFlowTerminalType { public: IfcSignalType() {} - explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3::IfcSignalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcSignalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSignalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSineSpiral : public IfcSpiral { public: IfcSineSpiral() {} - explicit IfcSineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double SineTerm() const; void setSineTerm(const double& v); @@ -38262,7 +38262,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -38457,7 +38457,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -38478,7 +38478,7 @@ public: ::Ifc4x3::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x3::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -38561,13 +38561,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuiltElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x3::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -38599,12 +38599,12 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; /// A space represents an area or volume @@ -38860,7 +38860,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -38875,7 +38875,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -38911,13 +38911,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -39004,7 +39004,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x3::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -39012,7 +39012,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -39044,13 +39044,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x3::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -39076,13 +39076,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuiltElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x3::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -39121,13 +39121,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuiltElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x3::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -39152,13 +39152,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -39167,14 +39167,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x3::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x3::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -39236,7 +39236,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39245,7 +39245,7 @@ public: ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -39268,12 +39268,12 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} ::Ifc4x3::IfcDirection AxisDirection() const; void setAxisDirection(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3::IfcDirection v9_AxisDirection); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -39316,7 +39316,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -39327,7 +39327,7 @@ public: ::Ifc4x3::IfcDirection Axis() const; void setAxis(const ::Ifc4x3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -39353,10 +39353,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -39412,13 +39412,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -39431,10 +39431,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -39473,7 +39473,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x3::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -39493,7 +39493,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -39544,10 +39544,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -39566,13 +39566,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x3::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -39621,10 +39621,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -39634,7 +39634,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x3::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -39647,7 +39647,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -39705,7 +39705,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39714,7 +39714,7 @@ public: ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -39732,10 +39732,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -39765,14 +39765,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -39810,14 +39810,14 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x3::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSurfaceFeatureTypeEnum::Value >& v); std::vector< IfcRelAdheresToElement > AdheresToElement() const; // INVERSE IfcRelAdheresToElement::RelatedSurfaceFeatures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -39863,13 +39863,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -39892,12 +39892,12 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem std::vector< IfcRelReferencedInSpatialStructure > ServicesFacilities() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -39927,12 +39927,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -39970,20 +39970,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x3::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcTendonTypeEnum::Value >& v); @@ -40002,62 +40002,62 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduit : public IfcReinforcingElement { public: IfcTendonConduit() {} - explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} ::Ifc4x3::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduitType : public IfcReinforcingElementType { public: IfcTendonConduitType() {} - explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcTendonTypeEnum::Value& v); @@ -40068,19 +40068,19 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; class IFC_PARSE_API IfcTrackElementType : public IfcBuiltElementType { public: IfcTrackElementType() {} - explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3::IfcTrackElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcTrackElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTrackElementTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -40113,13 +40113,13 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x3::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTransformerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -40188,23 +40188,23 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcTransportationDeviceType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3::IfcTransportElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcTransportElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTransportElementTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTransportationDevice : public IfcElement { public: IfcTransportationDevice() {} - explicit IfcTransportationDevice (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportationDevice (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from ISO/CD 10303-42:1992: @@ -40288,7 +40288,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x3::IfcCurve BasisCurve() const; @@ -40306,7 +40306,7 @@ public: ::Ifc4x3::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -40341,13 +40341,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x3::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -40381,13 +40381,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -40431,49 +40431,49 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x3::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcValveTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVehicle : public IfcTransportationDevice { public: IfcVehicle() {} - explicit IfcVehicle (const std::weak_ptr& data) : IfcTransportationDevice(data) {} + explicit IfcVehicle (const std::weak_ptr& data) : IfcTransportationDevice(data) {} std::optional< ::Ifc4x3::IfcVehicleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcVehicleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVehicleTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamper : public IfcElementComponent { public: IfcVibrationDamper() {} - explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamperType : public IfcElementComponentType { public: IfcVibrationDamperType() {} - explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3::IfcVibrationDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcVibrationDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcVibrationDamperTypeEnum::Value v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -40513,12 +40513,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -40546,13 +40546,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -40644,12 +40644,12 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} std::optional< ::Ifc4x3::IfcVirtualElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcVirtualElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVirtualElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -40687,13 +40687,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x3::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -40783,13 +40783,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuiltElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x3::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -40831,13 +40831,13 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x3::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -40964,7 +40964,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuiltElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x3::IfcWindowTypeEnum::Value PredefinedType() const; @@ -40977,7 +40977,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -40996,7 +40996,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -41015,7 +41015,7 @@ public: std::optional< ::Ifc4x3::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -41065,7 +41065,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -41089,7 +41089,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -41120,14 +41120,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x3::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -41173,14 +41173,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x3::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -41271,7 +41271,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -41281,7 +41281,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -41325,7 +41325,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -41347,7 +41347,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -41379,13 +41379,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -41417,12 +41417,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -41454,57 +41454,57 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentCant : public IfcLinearElement { public: IfcAlignmentCant() {} - explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} double RailHeadDistance() const; void setRailHeadDistance(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance); }; class IFC_PARSE_API IfcAlignmentHorizontal : public IfcLinearElement { public: IfcAlignmentHorizontal() {} - explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcAlignmentSegment : public IfcLinearElement { public: IfcAlignmentSegment() {} - explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} ::Ifc4x3::IfcAlignmentParameterSegment DesignParameters() const; void setDesignParameters(const ::Ifc4x3::IfcAlignmentParameterSegment& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcAlignmentParameterSegment v8_DesignParameters); }; class IFC_PARSE_API IfcAlignmentVertical : public IfcLinearElement { public: IfcAlignmentVertical() {} - explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -41534,7 +41534,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -41569,7 +41569,7 @@ public: ::Ifc4x3::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x3::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3::IfcCostValue v7_OriginalValue, ::Ifc4x3::IfcCostValue v8_CurrentValue, ::Ifc4x3::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3::IfcActorSelect v10_Owner, ::Ifc4x3::IfcActorSelect v11_User, ::Ifc4x3::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -41617,13 +41617,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -41678,7 +41678,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -41696,7 +41696,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -41719,7 +41719,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -41731,7 +41731,7 @@ public: ::Ifc4x3::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -41835,25 +41835,25 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuiltElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x3::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBearingType : public IfcBuiltElementType { public: IfcBearingType() {} - explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3::IfcBearingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcBearingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBearingTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -41888,13 +41888,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x3::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -41907,34 +41907,34 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; class IFC_PARSE_API IfcBridge : public IfcFacility { public: IfcBridge() {} - explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3::IfcBridgeTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcBridgeTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3::IfcBridgeTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcBridgePart : public IfcFacilityPart { public: IfcBridgePart() {} - explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3::IfcBridgePartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcBridgePartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3::IfcBridgePartTypeEnum::Value > v11_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -42114,7 +42114,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcFacility { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -42126,7 +42126,7 @@ public: ::Ifc4x3::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x3::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: Layers or major components as subordinate @@ -42149,13 +42149,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -42165,13 +42165,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: @@ -42211,13 +42211,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuiltElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -42259,7 +42259,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x3::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -42267,31 +42267,31 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; class IFC_PARSE_API IfcBuiltElement : public IfcElement { public: IfcBuiltElement() {} - explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcBuiltSystem : public IfcSystem { public: IfcBuiltSystem() {} - explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} std::optional< ::Ifc4x3::IfcBuiltSystemTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcBuiltSystemTypeEnum::Value >& v); std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42324,12 +42324,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42361,13 +42361,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42405,13 +42405,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42445,13 +42445,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x3::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42498,25 +42498,25 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x3::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundationType : public IfcDeepFoundationType { public: IfcCaissonFoundationType() {} - explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -42554,13 +42554,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x3::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42607,14 +42607,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuiltElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x3::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42647,23 +42647,23 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -42696,13 +42696,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x3::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -42979,7 +42979,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuiltElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -42988,7 +42988,7 @@ public: std::optional< ::Ifc4x3::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -43026,13 +43026,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -43065,13 +43065,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x3::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -43104,13 +43104,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x3::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -43138,14 +43138,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -43177,14 +43177,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -43205,26 +43205,26 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegmentType : public IfcFlowSegmentType { public: IfcConveyorSegmentType() {} - explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -43259,13 +43259,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x3::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -43304,25 +43304,25 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x3::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCourse : public IfcBuiltElement { public: IfcCourse() {} - explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3::IfcCourseTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCourseTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCourseTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -43552,7 +43552,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuiltElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -43560,7 +43560,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -43704,7 +43704,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuiltElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -43713,7 +43713,7 @@ public: std::optional< ::Ifc4x3::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -43753,23 +43753,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x3::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDeepFoundation : public IfcBuiltElement { public: IfcDeepFoundation() {} - explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Representation of different kinds of @@ -43948,13 +43948,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -44148,25 +44148,25 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoardType : public IfcFlowControllerType { public: IfcDistributionBoardType() {} - explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} ::Ifc4x3::IfcDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -44209,13 +44209,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -44275,10 +44275,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -44446,11 +44446,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -44524,11 +44524,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -44616,7 +44616,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x3::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -44627,7 +44627,7 @@ public: std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -44673,7 +44673,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -44684,7 +44684,7 @@ public: std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -45046,7 +45046,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuiltElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -45074,7 +45074,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -45109,13 +45109,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x3::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -45150,13 +45150,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x3::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -45188,47 +45188,47 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x3::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcEarthworksCut : public IfcFeatureElementSubtraction { public: IfcEarthworksCut() {} - explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::optional< ::Ifc4x3::IfcEarthworksCutTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcEarthworksCutTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcEarthworksElement : public IfcBuiltElement { public: IfcEarthworksElement() {} - explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcEarthworksFill : public IfcEarthworksElement { public: IfcEarthworksFill() {} - explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3::IfcEarthworksFillTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcEarthworksFillTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -45263,13 +45263,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x3::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -45302,13 +45302,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -45341,25 +45341,25 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDeviceType : public IfcFlowTreatmentDeviceType { public: IfcElectricFlowTreatmentDeviceType() {} - explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -45397,13 +45397,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -45436,13 +45436,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x3::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -45475,13 +45475,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -45496,10 +45496,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -45546,12 +45546,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -45601,12 +45601,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -45676,12 +45676,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -45702,14 +45702,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -45743,13 +45743,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x3::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -45784,13 +45784,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x3::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -45829,13 +45829,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -45850,10 +45850,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -45864,10 +45864,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -45903,13 +45903,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -45995,12 +45995,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -46011,10 +46011,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -46043,10 +46043,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -46061,10 +46061,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -46081,10 +46081,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -46095,10 +46095,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -46126,7 +46126,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuiltElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// The generic type of the footing. /// @@ -46134,17 +46134,17 @@ public: std::optional< ::Ifc4x3::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFootingTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalAssembly : public IfcGeotechnicalElement { public: IfcGeotechnicalAssembly() {} - explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// IfcGrid ia a planar design @@ -46246,7 +46246,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x3::IfcGridAxis > UAxes() const; @@ -46260,7 +46260,7 @@ public: std::optional< ::Ifc4x3::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -46316,12 +46316,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -46370,12 +46370,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -46438,12 +46438,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -46515,24 +46515,24 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcKerb : public IfcBuiltElement { public: IfcKerb() {} - explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -46585,12 +46585,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -46662,34 +46662,34 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminal : public IfcFlowTerminal { public: IfcLiquidTerminal() {} - explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -46739,12 +46739,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -47000,7 +47000,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuiltElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -47009,31 +47009,31 @@ public: std::optional< ::Ifc4x3::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMemberTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsAppliance : public IfcFlowTerminal { public: IfcMobileTelecommunicationsAppliance() {} - explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMooringDevice : public IfcBuiltElement { public: IfcMooringDevice() {} - explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3::IfcMooringDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcMooringDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -47080,24 +47080,24 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcNavigationElement : public IfcBuiltElement { public: IfcNavigationElement() {} - explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3::IfcNavigationElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcNavigationElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcNavigationElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -47108,10 +47108,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -47183,24 +47183,24 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcOutletTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcPavement : public IfcBuiltElement { public: IfcPavement() {} - explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3::IfcPavementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcPavementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPavementTypeEnum::Value > v9_PredefinedType); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -47224,7 +47224,7 @@ public: class IFC_PARSE_API IfcPile : public IfcDeepFoundation { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} /// The predefined generic type of the pile according to function. /// @@ -47237,7 +47237,7 @@ public: std::optional< ::Ifc4x3::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x3::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -47328,12 +47328,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -47399,12 +47399,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -47638,7 +47638,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuiltElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -47647,7 +47647,7 @@ public: std::optional< ::Ifc4x3::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -47729,12 +47729,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -47780,13 +47780,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -47841,24 +47841,24 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcPumpTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcRail : public IfcBuiltElement { public: IfcRail() {} - explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3::IfcRailTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcRailTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRailTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -47996,7 +47996,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuiltElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -48004,7 +48004,7 @@ public: std::optional< ::Ifc4x3::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -48143,7 +48143,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuiltElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -48153,7 +48153,7 @@ public: std::optional< ::Ifc4x3::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -48347,7 +48347,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuiltElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -48356,7 +48356,7 @@ public: std::optional< ::Ifc4x3::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -48398,25 +48398,25 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3::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::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_PARSE_API IfcReinforcedSoil : public IfcEarthworksElement { public: IfcReinforcedSoil() {} - explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3::IfcReinforcedSoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcReinforcedSoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48450,7 +48450,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -48464,7 +48464,7 @@ public: std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48486,7 +48486,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x3::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -48508,7 +48508,7 @@ public: std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -48659,7 +48659,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuiltElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -48667,7 +48667,7 @@ public: std::optional< ::Ifc4x3::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -48799,12 +48799,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -48858,13 +48858,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x3::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -48884,26 +48884,26 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuiltElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x3::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignal : public IfcFlowTerminal { public: IfcSignal() {} - explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcSignalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSignalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSignalTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -49169,7 +49169,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuiltElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -49178,7 +49178,7 @@ public: std::optional< ::Ifc4x3::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -49231,12 +49231,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -49304,12 +49304,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -49365,12 +49365,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -49541,7 +49541,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuiltElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -49549,7 +49549,7 @@ public: std::optional< ::Ifc4x3::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -49722,7 +49722,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuiltElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -49748,7 +49748,7 @@ public: std::optional< ::Ifc4x3::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -49777,7 +49777,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x3::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -49808,7 +49808,7 @@ public: ::Ifc4x3::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x3::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -49817,7 +49817,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -49827,7 +49827,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -49840,10 +49840,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, ::Ifc4x3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -49937,12 +49937,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -50008,24 +50008,24 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTankTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcTrackElement : public IfcBuiltElement { public: IfcTrackElement() {} - explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3::IfcTrackElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcTrackElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTrackElementTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -50073,12 +50073,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: Generalization of all transport @@ -50200,7 +50200,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcTransportationDevice { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcTransportationDevice(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcTransportationDevice(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -50208,7 +50208,7 @@ public: std::optional< ::Ifc4x3::IfcTransportElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcTransportElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTransportElementTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -50261,12 +50261,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -50298,13 +50298,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -50382,12 +50382,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -50579,12 +50579,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -50832,7 +50832,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuiltElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -50841,7 +50841,7 @@ public: std::optional< ::Ifc4x3::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -51049,10 +51049,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -51162,12 +51162,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -51531,7 +51531,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuiltElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -51559,7 +51559,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -51596,13 +51596,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x3::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -51665,12 +51665,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -51718,12 +51718,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -51774,12 +51774,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -51811,25 +51811,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x3::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x3::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3::IfcAlignmentTypeEnum::Value > v8_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -52013,12 +52013,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -52261,7 +52261,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuiltElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -52270,19 +52270,19 @@ public: std::optional< ::Ifc4x3::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBeamTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBearing : public IfcBuiltElement { public: IfcBearing() {} - explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3::IfcBearingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcBearingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBearingTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -52357,22 +52357,22 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBorehole : public IfcGeotechnicalAssembly { public: IfcBorehole() {} - explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -52568,12 +52568,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuiltElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -52620,12 +52620,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -52692,13 +52692,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -52763,13 +52763,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -52849,13 +52849,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x3::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -52948,25 +52948,25 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x3::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundation : public IfcDeepFoundation { public: IfcCaissonFoundation() {} - explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} std::optional< ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -53041,12 +53041,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -53118,12 +53118,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -53231,12 +53231,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -53288,12 +53288,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -53365,12 +53365,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -53412,25 +53412,25 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x3::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3::IfcControllerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegment : public IfcFlowSegment { public: IfcConveyorSegment() {} - explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -53485,12 +53485,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -53553,12 +53553,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -53635,24 +53635,24 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoard : public IfcFlowController { public: IfcDistributionBoard() {} - explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3::IfcDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -53689,22 +53689,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -53788,11 +53788,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -53873,12 +53873,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -53933,12 +53933,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -53986,12 +53986,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -54095,12 +54095,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -54163,12 +54163,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -54215,24 +54215,24 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDevice : public IfcFlowTreatmentDevice { public: IfcElectricFlowTreatmentDevice() {} - explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -54285,12 +54285,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -54337,12 +54337,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -54389,12 +54389,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -54454,12 +54454,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -54552,12 +54552,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -54629,12 +54629,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -54692,32 +54692,32 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeomodel : public IfcGeotechnicalAssembly { public: IfcGeomodel() {} - explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeoslice : public IfcGeotechnicalAssembly { public: IfcGeoslice() {} - explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Entity Definition @@ -54775,12 +54775,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -54920,12 +54920,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -54986,12 +54986,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -55059,12 +55059,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -55112,12 +55112,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -55229,12 +55229,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x3_add1-schema.cpp b/src/ifcparse/schemas/Ifc4x3_add1-schema.cpp index 3d09719461..b41f3c8fd7 100644 --- a/src/ifcparse/schemas/Ifc4x3_add1-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x3_add1-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x3_add1.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X3_ADD1_types[1312] = {nullptr}; -IfcParse::schema_definition* IFC4X3_ADD1_populate_schema() { +ifcopenshell::schema_definition* IFC4X3_ADD1_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"BRAKES"s,"BUOYANCY"s,"COMPLETION_G1"s,"CREEP"s,"CURRENT"s,"DEAD_LOAD_G"s,"EARTHQUAKE_E"s,"ERECTION"s,"FIRE"s,"ICE"s,"IMPACT"s,"IMPULSE"s,"LACK_OF_FIT"s,"LIVE_LOAD_Q"s,"PRESTRESSING_P"s,"PROPPING"s,"RAIN"s,"SETTLEMENT_U"s,"SHRINKAGE"s,"SNOW_S"s,"SYSTEM_IMPERFECTION"s,"TEMPERATURE_T"s,"TRANSPORT"s,"WAVE"s,"WIND_W"s,"IfcActionTypeEnum"s,"EXTRAORDINARY_A"s,"PERMANENT_G"s,"VARIABLE_Q"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"DISTRIBUTIONPOINT"s,"HOME"s,"OFFICE"s,"SITE"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"HEATPIPE"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"RAILWAYCROCODILE"s,"RAILWAYDETONATOR"s,"SIREN"s,"WHISTLE"s,"IfcAlignmentCantSegmentTypeEnum"s,"BLOSSCURVE"s,"CONSTANTCANT"s,"COSINECURVE"s,"HELMERTCURVE"s,"LINEARTRANSITION"s,"SINECURVE"s,"VIENNESEBEND"s,"IfcAlignmentHorizontalSegmentTypeEnum"s,"CIRCULARARC"s,"CLOTHOID"s,"CUBIC"s,"LINE"s,"IfcAlignmentTypeEnum"s,"IfcAlignmentVerticalSegmentTypeEnum"s,"CONSTANTGRADIENT"s,"PARABOLICARC"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"LOADING_3D"s,"OUT_PLANE_LOADING_2D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAnnotationTypeEnum"s,"ASBUILTAREA"s,"ASBUILTLINE"s,"ASBUILTPOINT"s,"ASSUMEDAREA"s,"ASSUMEDLINE"s,"ASSUMEDPOINT"s,"NON_PHYSICAL_SIGNAL"s,"SUPERELEVATIONEVENT"s,"WIDTHEVENT"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"COMMUNICATIONTERMINAL"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"RECORDINGEQUIPMENT"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"IfcBSplineCurveForm"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"HYPERBOLIC_ARC"s,"PARABOLIC_ARC"s,"POLYLINE_FORM"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"CONICAL_SURF"s,"CYLINDRICAL_SURF"s,"GENERALISED_CONE"s,"PLANE_SURF"s,"QUADRIC_SURF"s,"RULED_SURF"s,"SPHERICAL_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"SURF_OF_REVOLUTION"s,"TOROIDAL_SURF"s,"IfcBeamTypeEnum"s,"BEAM"s,"CORNICE"s,"DIAPHRAGM"s,"EDGEBEAM"s,"GIRDER_SEGMENT"s,"HATSTONE"s,"HOLLOWCORE"s,"JOIST"s,"LINTEL"s,"PIERCAP"s,"SPANDREL"s,"T_BEAM"s,"IfcBearingTypeEnum"s,"CYLINDRICAL"s,"DISK"s,"ELASTOMERIC"s,"GUIDE"s,"POT"s,"ROCKER"s,"ROLLER"s,"SPHERICAL"s,"IfcBenchmarkEnum"s,"EQUALTO"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"INCLUDEDIN"s,"INCLUDES"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"NOTEQUALTO"s,"NOTINCLUDEDIN"s,"NOTINCLUDES"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"STEAM"s,"WATER"s,"IfcBoolean"s,"IfcBooleanOperator"s,"DIFFERENCE"s,"INTERSECTION"s,"UNION"s,"IfcBridgePartTypeEnum"s,"ABUTMENT"s,"DECK"s,"DECK_SEGMENT"s,"FOUNDATION"s,"PIER"s,"PIER_SEGMENT"s,"PYLON"s,"SUBSTRUCTURE"s,"SUPERSTRUCTURE"s,"SURFACESTRUCTURE"s,"IfcBridgeTypeEnum"s,"ARCHED"s,"CABLE_STAYED"s,"CANTILEVER"s,"CULVERT"s,"FRAMEWORK"s,"GIRDER"s,"SUSPENSION"s,"TRUSS"s,"IfcBuildingElementPartTypeEnum"s,"APRON"s,"ARMOURUNIT"s,"INSULATION"s,"PRECASTPANEL"s,"SAFETYCAGE"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORSPACE"s,"PROVISIONFORVOID"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"IfcBuiltSystemTypeEnum"s,"EROSIONPREVENTION"s,"MOORING"s,"PRESTRESSING"s,"RAILWAYLINE"s,"RAILWAYTRACK"s,"REINFORCING"s,"TRACKCIRCUIT"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CONNECTOR"s,"CROSS"s,"JUNCTION"s,"REDUCER"s,"TEE"s,"TRANSITION"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLEBRACKET"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CATENARYWIRE"s,"CONDUITSEGMENT"s,"DROPPER"s,"IfcCableFittingTypeEnum"s,"ENTRY"s,"EXIT"s,"FANOUT"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CONTACTWIRESEGMENT"s,"CORESEGMENT"s,"FIBERSEGMENT"s,"FIBERTUBE"s,"OPTICALCABLESEGMENT"s,"STITCHWIRE"s,"WIREPAIRSEGMENT"s,"IfcCaissonFoundationTypeEnum"s,"CAISSON"s,"WELL"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"ADDED"s,"DELETED"s,"MODIFIED"s,"NOCHANGE"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"HEATRECOVERY"s,"WATERCOOLED"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PIERSTEM"s,"PIERSTEM_SEGMENT"s,"PILASTER"s,"STANDCOLUMN"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"AUTOMATON"s,"COMPUTER"s,"GATEWAY"s,"INTELLIGENTPERIPHERAL"s,"IPNETWORKEQUIPMENT"s,"LINESIDEELECTRONICUNIT"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"OPTICALLINETERMINAL"s,"OPTICALNETWORKUNIT"s,"PRINTER"s,"RADIOBLOCKCENTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"TELECOMMAND"s,"TELEPHONYEXCHANGE"s,"TRANSITIONCOMPONENT"s,"TRANSPONDER"s,"TRANSPORTEQUIPMENT"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"BOOSTER"s,"DYNAMIC"s,"HERMETIC"s,"OPENTYPE"s,"RECIPROCATING"s,"ROLLINGPISTON"s,"ROTARY"s,"ROTARYVANE"s,"SCROLL"s,"SEMIHERMETIC"s,"SINGLESCREW"s,"SINGLESTAGE"s,"TROCHOIDAL"s,"TWINSCREW"s,"WELDEDSHELLHERMETIC"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATEND"s,"ATPATH"s,"ATSTART"s,"IfcConstraintEnum"s,"ADVISORY"s,"HARD"s,"SOFT"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"MULTIPOSITION"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"TWOPOSITION"s,"IfcConveyorSegmentTypeEnum"s,"BELTCONVEYOR"s,"BUCKETCONVEYOR"s,"CHUTECONVEYOR"s,"SCREWCONVEYOR"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"MECHANICALFORCEDDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"NATURALDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"PRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"TENDER"s,"UNPRICEDBILLOFQUANTITIES"s,"IfcCountMeasure"s,"IfcCourseTypeEnum"s,"ARMOUR"s,"BALLASTBED"s,"CORE"s,"FILTER"s,"PAVEMENT"s,"PROTECTION"s,"IfcCoveringTypeEnum"s,"CEILING"s,"CLADDING"s,"COPING"s,"FLOORING"s,"MEMBRANE"s,"MOLDING"s,"ROOFING"s,"SKIRTINGBOARD"s,"SLEEVING"s,"TOPPING"s,"WRAPPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ACCELERATIONUNIT"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"CURVATUREUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"HEATINGVALUEUNIT"s,"INTEGERCOUNTRATEUNIT"s,"IONCONCENTRATIONUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARFORCEUNIT"s,"LINEARMOMENTUNIT"s,"LINEARSTIFFNESSUNIT"s,"LINEARVELOCITYUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFELASTICITYUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"MOMENTOFINERTIAUNIT"s,"PHUNIT"s,"PLANARFORCEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"ROTATIONALMASSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SHEARMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"TORQUEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"NEGATIVE"s,"POSITIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BIRDPROTECTION"s,"BRACKET"s,"CABLEARRANGER"s,"ELASTIC_CUSHION"s,"EXPANSION_JOINT_DEVICE"s,"FILLER"s,"FLASHING"s,"INSULATOR"s,"LOCK"s,"PANEL_STRENGTHENING"s,"POINTMACHINEMOUNTINGDEVICE"s,"POINT_MACHINE_LOCKING_DEVICE"s,"RAILBRACE"s,"RAILPAD"s,"RAIL_LUBRICATION"s,"RAIL_MECHANICAL_EQUIPMENT"s,"SHOE"s,"SLIDINGCHAIR"s,"SOUNDABSORPTION"s,"TENSIONINGEQUIPMENT"s,"IfcDistributionBoardTypeEnum"s,"CONSUMERUNIT"s,"DISPATCHINGBOARD"s,"DISTRIBUTIONBOARD"s,"DISTRIBUTIONFRAME"s,"MOTORCONTROLCENTRE"s,"SWITCHBOARD"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"WIRELESS"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CATENARY_SYSTEM"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"FIXEDTRANSMISSIONNETWORK"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MOBILENETWORK"s,"MONITORINGSYSTEM"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"OPERATIONALTELEPHONYSYSTEM"s,"OVERHEAD_CONTACTLINE_SYSTEM"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"RETURN_CIRCUIT"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"IfcDocumentConfidentialityEnum"s,"CONFIDENTIAL"s,"PERSONAL"s,"PUBLIC"s,"RESTRICTED"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINAL"s,"FINALDRAFT"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"DOUBLE_ACTING"s,"FIXEDPANEL"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"SLIDING"s,"SWINGING"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorTypeEnum"s,"BOOM_BARRIER"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"TURNSTILE"s,"IfcDoorTypeOperationEnum"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"DOUBLE_DOOR_FOLDING"s,"DOUBLE_DOOR_LIFTING_VERTICAL"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"LIFTING_HORIZONTAL"s,"LIFTING_VERTICAL_LEFT"s,"LIFTING_VERTICAL_RIGHT"s,"REVOLVING_VERTICAL"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"FLEXIBLESEGMENT"s,"RIGIDSEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcEarthworksCutTypeEnum"s,"BASE_EXCAVATION"s,"CUT"s,"DREDGING"s,"EXCAVATION"s,"OVEREXCAVATION"s,"PAVEMENTMILLING"s,"STEPEXCAVATION"s,"TOPSOILREMOVAL"s,"IfcEarthworksFillTypeEnum"s,"BACKFILL"s,"COUNTERWEIGHT"s,"EMBANKMENT"s,"SLOPEFILL"s,"SUBGRADE"s,"SUBGRADEBED"s,"TRANSITIONSECTION"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERCOOLER"s,"FREESTANDINGWATERHEATER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITOR"s,"CAPACITORBANK"s,"COMPENSATOR"s,"HARMONICFILTER"s,"INDUCTOR"s,"INDUCTORBANK"s,"RECHARGER"s,"UPS"s,"IfcElectricFlowTreatmentDeviceTypeEnum"s,"ELECTRONICFILTER"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"RELAY"s,"TIMECLOCK"s,"TIMEDELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"CROSS_BRACING"s,"DILATATIONPANEL"s,"ENTRANCEWORKS"s,"GRID"s,"MAST"s,"RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SHELTER"s,"SIGNALASSEMBLY"s,"SLAB_FIELD"s,"SUMPBUSTER"s,"SUPPORTINGASSEMBLY"s,"SUSPENSIONASSEMBLY"s,"TRACKPANEL"s,"TRACTION_SWITCHING_ASSEMBLY"s,"TRAFFIC_CALMING_DEVICE"s,"TURNOUTPANEL"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVEAIRWASHER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTCOMPLEX"s,"EVENTMESSAGE"s,"EVENTRULE"s,"EVENTTIME"s,"IfcEventTypeEnum"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"STARTEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_FIRE"s,"EXTERNAL_WATER"s,"IfcFacilityPartCommonTypeEnum"s,"ABOVEGROUND"s,"BELOWGROUND"s,"LEVELCROSSING"s,"SEGMENT"s,"TERMINAL"s,"IfcFacilityUsageEnum"s,"LATERAL"s,"LONGITUDINAL"s,"REGION"s,"VERTICAL"s,"IfcFanTypeEnum"s,"CENTRIFUGALAIRFOIL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"PROPELLORAXIAL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"FIREMONITOR"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SINK"s,"SOURCE"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"AMMETER"s,"COMBINED"s,"FREQUENCYMETER"s,"PHASEANGLEMETER"s,"POWERFACTORMETER"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"VOLTMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"BED"s,"CHAIR"s,"DESK"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"TABLE"s,"TECHNICALCABINET"s,"IfcGeographicElementTypeEnum"s,"SOIL_BORING_POINT"s,"TERRAIN"s,"VEGETATION"s,"IfcGeometricProjectionEnum"s,"ELEVATION_VIEW"s,"GRAPH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"SKETCH_VIEW"s,"IfcGeotechnicalStratumTypeEnum"s,"SOLID"s,"VOID"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"IRREGULAR"s,"RADIAL"s,"TRIANGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"TURNOUTHEATING"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"ADIABATICAIRWASHER"s,"ADIABATICATOMIZING"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ADIABATICPAN"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICULTRASONIC"s,"ADIABATICWETTEDELEMENT"s,"ASSISTEDBUTANE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDSTEAM"s,"STEAMINJECTION"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcImpactProtectionDeviceTypeEnum"s,"BUMPER"s,"CRASHCUSHION"s,"DAMPINGSYSTEM"s,"FENDER"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"FURNITUREINVENTORY"s,"SPACEINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKerbTypeEnum"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"PIECEWISE_BEZIER_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"UNIFORM_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"DIRECTIONSOURCE"s,"POINTSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLiquidTerminalTypeEnum"s,"LOADINGARM"s,"IfcLoadGroupTypeEnum"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"LOAD_GROUP"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"LOGICALOR"s,"LOGICALXOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMarineFacilityTypeEnum"s,"BARRIERBEACH"s,"BREAKWATER"s,"CANAL"s,"DRYDOCK"s,"FLOATINGDOCK"s,"HYDROLIFT"s,"JETTY"s,"LAUNCHRECOVERY"s,"MARINEDEFENCE"s,"NAVIGATIONALCHANNEL"s,"PORT"s,"QUAY"s,"REVETMENT"s,"SHIPLIFT"s,"SHIPLOCK"s,"SHIPYARD"s,"SLIPWAY"s,"WATERWAY"s,"WATERWAYSHIPLIFT"s,"IfcMarinePartTypeEnum"s,"ABOVEWATERLINE"s,"ANCHORAGE"s,"APPROACHCHANNEL"s,"BELOWWATERLINE"s,"BERTHINGSTRUCTURE"s,"CHAMBER"s,"CILL_LEVEL"s,"COPELEVEL"s,"CREST"s,"GATEHEAD"s,"GUDINGSTRUCTURE"s,"HIGHWATERLINE"s,"LANDFIELD"s,"LEEWARDSIDE"s,"LOWWATERLINE"s,"MANUFACTURING"s,"NAVIGATIONALAREA"s,"SHIPTRANSFER"s,"STORAGEAREA"s,"VEHICLESERVICING"s,"WATERFIELD"s,"WEATHERSIDE"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"CHAIN"s,"COUPLER"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RAILFASTENING"s,"RAILJOINT"s,"RIVET"s,"ROPE"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"ARCH_SEGMENT"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STAY_CABLE"s,"STIFFENING_RIB"s,"STRINGER"s,"STRUCTURALCABLE"s,"STRUT"s,"STUD"s,"SUSPENDER"s,"SUSPENSION_CABLE"s,"TIEBAR"s,"IfcMobileTelecommunicationsApplianceTypeEnum"s,"ACCESSPOINT"s,"BASEBANDUNIT"s,"BASETRANSCEIVERSTATION"s,"E_UTRAN_NODE_B"s,"GATEWAY_GPRS_SUPPORT_NODE"s,"MASTERUNIT"s,"MOBILESWITCHINGCENTER"s,"MSCSERVER"s,"PACKETCONTROLUNIT"s,"REMOTERADIOUNIT"s,"REMOTEUNIT"s,"SERVICE_GPRS_SUPPORT_NODE"s,"SUBSCRIBERSERVER"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMooringDeviceTypeEnum"s,"BOLLARD"s,"LINETENSIONER"s,"MAGNETICDEVICE"s,"MOORINGHOOKS"s,"VACUUMDEVICE"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNavigationElementTypeEnum"s,"BEACON"s,"BUOY"s,"IfcNonNegativeLengthMeasure"s,"IfcNumericMeasure"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"DATAOUTLET"s,"POWEROUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPavementTypeEnum"s,"FLEXIBLE"s,"RIGID"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"COHESION"s,"DRIVEN"s,"FRICTION"s,"JETGROUTING"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"BASE_PLATE"s,"COVER_PLATE"s,"CURTAIN_PANEL"s,"FLANGE_PLATE"s,"GUSSET_PLATE"s,"SHEET"s,"SPLICE_PLATE"s,"STIFFENER_PLATE"s,"WEB_PLATE"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"AREA"s,"CURVE"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"BLISTER"s,"DEVIATOR"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_MATERIALDRIVEN"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"PSET_PROFILEDRIVEN"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTROMAGNETIC"s,"ELECTRONIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"ANTI_ARCING_DEVICE"s,"CIRCUITBREAKER"s,"EARTHINGSWITCH"s,"EARTHLEAKAGECIRCUITBREAKER"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"SPARKGAP"s,"VARISTOR"s,"VOLTAGELIMITER"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailTypeEnum"s,"BLADE"s,"CHECKRAIL"s,"GUARDRAIL"s,"RACKRAIL"s,"RAIL"s,"STOCKRAIL"s,"IfcRailingTypeEnum"s,"BALUSTRADE"s,"FENCE"s,"HANDRAIL"s,"IfcRailwayPartTypeEnum"s,"DILATATIONSUPERSTRUCTURE"s,"LINESIDESTRUCTURE"s,"LINESIDESTRUCTUREPART"s,"PLAINTRACKSUPERSTRUCTURE"s,"TRACKSTRUCTURE"s,"TRACKSTRUCTUREPART"s,"TURNOUTSUPERSTRUCTURE"s,"IfcRailwayTypeEnum"s,"IfcRampFlightTypeEnum"s,"SPIRAL"s,"STRAIGHT"s,"IfcRampTypeEnum"s,"HALF_TURN_RAMP"s,"QUARTER_TURN_RAMP"s,"SPIRAL_RAMP"s,"STRAIGHT_RUN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"DAILY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"WEEKLY"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"BOUNDARY"s,"KILOPOINT"s,"LANDMARK"s,"MILEPOINT"s,"POSITION"s,"REFERENCEMARKER"s,"STATION"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcedSoilTypeEnum"s,"DYNAMICALLYCOMPACTED"s,"GROUTED"s,"REPLACED"s,"ROLLERCOMPACTED"s,"SURCHARGEPRELOADED"s,"VERTICALLYDRAINED"s,"IfcReinforcingBarRoleEnum"s,"ANCHORING"s,"EDGE"s,"LIGATURE"s,"MAIN"s,"PUNCHING"s,"RING"s,"SHEAR"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"SPACEBAR"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoadPartTypeEnum"s,"BICYCLECROSSING"s,"BUS_STOP"s,"CARRIAGEWAY"s,"CENTRALISLAND"s,"CENTRALRESERVE"s,"HARDSHOULDER"s,"LAYBY"s,"PARKINGBAY"s,"PASSINGBAY"s,"PEDESTRIAN_CROSSING"s,"RAILWAYCROSSING"s,"REFUGEISLAND"s,"ROADSEGMENT"s,"ROADSIDE"s,"ROADSIDEPART"s,"ROADWAYPLATEAU"s,"ROUNDABOUT"s,"SHOULDER"s,"SIDEWALK"s,"SOFTSHOULDER"s,"TOLLPLAZA"s,"TRAFFICISLAND"s,"TRAFFICLANE"s,"IfcRoadTypeEnum"s,"IfcRoleEnum"s,"ARCHITECT"s,"BUILDINGOPERATOR"s,"BUILDINGOWNER"s,"CIVILENGINEER"s,"CLIENT"s,"COMMISSIONINGENGINEER"s,"CONSTRUCTIONMANAGER"s,"CONSULTANT"s,"CONTRACTOR"s,"COSTENGINEER"s,"ELECTRICALENGINEER"s,"ENGINEER"s,"FACILITIESMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"MANUFACTURER"s,"MECHANICALENGINEER"s,"PROJECTMANAGER"s,"RESELLER"s,"STRUCTURALENGINEER"s,"SUBCONTRACTOR"s,"SUPPLIER"s,"IfcRoofTypeEnum"s,"BARREL_ROOF"s,"BUTTERFLY_ROOF"s,"DOME_ROOF"s,"FLAT_ROOF"s,"FREEFORM"s,"GABLE_ROOF"s,"GAMBREL_ROOF"s,"HIPPED_GABLE_ROOF"s,"HIP_ROOF"s,"MANSARD_ROOF"s,"PAVILION_ROOF"s,"RAINBOW_ROOF"s,"SHED_ROOF"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"ATTO"s,"CENTI"s,"DECA"s,"DECI"s,"EXA"s,"FEMTO"s,"GIGA"s,"HECTO"s,"KILO"s,"MEGA"s,"MICRO"s,"MILLI"s,"NANO"s,"PETA"s,"PICO"s,"TERA"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SANITARYFOUNTAIN"s,"SHOWER"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"TAPERED"s,"UNIFORM"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"COSENSOR"s,"EARTHQUAKESENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FOREIGNOBJECTDETECTIONSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"OBSTACLESENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"RAINSENSOR"s,"SMOKESENSOR"s,"SNOWDEPTHSENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"TRAINSENSOR"s,"TURNOUTCLOSURESENSOR"s,"WHEELSENSOR"s,"WINDSENSOR"s,"IfcSequenceEnum"s,"FINISH_FINISH"s,"FINISH_START"s,"START_FINISH"s,"START_START"s,"IfcShadingDeviceTypeEnum"s,"AWNING"s,"JALOUSIE"s,"SHUTTER"s,"IfcShearModulusMeasure"s,"IfcSignTypeEnum"s,"MARKER"s,"PICTORAL"s,"IfcSignalTypeEnum"s,"AUDIO"s,"MIXED"s,"VISUAL"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_BOUNDEDVALUE"s,"P_ENUMERATEDVALUE"s,"P_LISTVALUE"s,"P_REFERENCEVALUE"s,"P_SINGLEVALUE"s,"P_TABLEVALUE"s,"Q_AREA"s,"Q_COUNT"s,"Q_LENGTH"s,"Q_NUMBER"s,"Q_TIME"s,"Q_VOLUME"s,"Q_WEIGHT"s,"IfcSlabTypeEnum"s,"APPROACH_SLAB"s,"BASESLAB"s,"FLOOR"s,"LANDING"s,"ROOF"s,"TRACKSLAB"s,"WEARING"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"BERTH"s,"GFA"s,"PARKING"s,"SPACE"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"INTERFERENCE"s,"OCCUPANCY"s,"RESERVATION"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"CURVED"s,"WINDER"s,"IfcStairTypeEnum"s,"CURVED_RUN_STAIR"s,"DOUBLE_RETURN_STAIR"s,"HALF_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"LADDER"s,"QUARTER_TURN_STAIR"s,"QUARTER_WINDING_STAIR"s,"SPIRAL_STAIR"s,"STRAIGHT_RUN_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"IfcStateEnum"s,"LOCKED"s,"READONLY"s,"READONLYLOCKED"s,"READWRITE"s,"READWRITELOCKED"s,"IfcStrippedOptional"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"DISCRETE"s,"EQUIDISTANT"s,"PARABOLA"s,"POLYGONAL"s,"SINUS"s,"IfcStructuralCurveMemberTypeEnum"s,"COMPRESSION_MEMBER"s,"PIN_JOINED_MEMBER"s,"RIGID_JOINED_MEMBER"s,"TENSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"DEFECT"s,"HATCHMARKING"s,"LINEMARKING"s,"MARK"s,"NONSKIDSURFACING"s,"PAVEMENTSURFACEMARKING"s,"RUMBLESTRIP"s,"SYMBOLMARKING"s,"TAG"s,"TRANSVERSERUMBLESTRIP"s,"TREATMENT"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"START_AND_STOP_EQUIPMENT"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"SUBRACK"s,"WORKSURFACE"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"OILRETENTIONTRAY"s,"PRESSUREVESSEL"s,"STORAGE"s,"VESSEL"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ADJUSTMENT"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"EMERGENCY"s,"INSPECTION"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"SAFETY"s,"TESTING"s,"TROUBLESHOOTING"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonConduitTypeEnum"s,"DIABOLO"s,"GROUTING_DUCT"s,"TRUMPET"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"DOWN"s,"UP"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTrackElementTypeEnum"s,"BLOCKINGDEVICE"s,"DERAILER"s,"FROG"s,"HALF_SET_OF_BLADES"s,"SLEEPER"s,"SPEEDREGULATOR"s,"TRACKENDOFALIGNMENT"s,"VEHICLESTOP"s,"IfcTransformerTypeEnum"s,"CHOPPER"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"IfcTransitionCode"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"DISCONTINUOUS"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementTypeEnum"s,"CRANEWAY"s,"ELEVATOR"s,"ESCALATOR"s,"HAULINGGEAR"s,"LIFTINGGEAR"s,"MOVINGWALKWAY"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"BASESTATIONCONTROLLER"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"HUMIDISTAT"s,"INDICATORPANEL"s,"MIMICPANEL"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRCONDITIONINGUNIT"s,"AIRHANDLER"s,"DEHUMIDIFIER"s,"ROOFTOPUNIT"s,"SPLITSYSTEM"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"DRAWOFFCOCK"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVehicleTypeEnum"s,"CARGO"s,"ROLLINGSTOCK"s,"VEHICLE"s,"VEHICLEAIR"s,"VEHICLEMARINE"s,"VEHICLETRACKED"s,"VEHICLEWHEELED"s,"IfcVibrationDamperTypeEnum"s,"AXIAL_YIELD"s,"BENDING_YIELD"s,"RUBBER"s,"SHEAR_YIELD"s,"VISCOUS"s,"IfcVibrationIsolatorTypeEnum"s,"BASE"s,"COMPRESSION"s,"SPRING"s,"IfcVirtualElementTypeEnum"s,"CLEARANCE"s,"IfcVoidingFeatureTypeEnum"s,"CHAMFER"s,"CUTOUT"s,"HOLE"s,"MITER"s,"NOTCH"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"ELEMENTEDWALL"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"RETAININGWALL"s,"SOLIDWALL"s,"STANDARD"s,"WAVEWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWellKnownTextLiteral"s,"IfcWindowPanelOperationEnum"s,"BOTTOMHUNG"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"REMOVABLECASEMENT"s,"SIDEHUNGLEFTHAND"s,"SIDEHUNGRIGHTHAND"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"TILTANDTURNLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TOPHUNG"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowTypeEnum"s,"LIGHTDOME"s,"SKYLIGHT"s,"WINDOW"s,"IfcWindowTypePartitioningEnum"s,"DOUBLE_PANEL_HORIZONTAL"s,"DOUBLE_PANEL_VERTICAL"s,"SINGLE_PANEL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_VERTICAL"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcAlignmentParameterSegment"s,"IfcAlignmentVerticalSegment"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGeographicCRS"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMapConversionScaled"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityNumber"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRigidOperation"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureCoordinateIndices"s,"IfcTextureCoordinateIndicesWithVoids"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWellKnownText"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcCurveMeasureSelect"s,"IfcDerivedMeasureValue"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcAlignmentCantSegment"s,"IfcAlignmentHorizontalSegment"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenCrossProfileDef"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointByDistanceExpression"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcSegment"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcAxis2PlacementLinear"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcCurveSegment"s,"IfcDirection"s,"IfcDirectrixCurveSweptAreaSolid"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcIndexedPolygonalTextureMap"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPolynomialCurve"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelAssociatesProfileDef"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelPositions"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSectionedSurface"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcSpiral"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcThirdOrderPolynomialSpiral"s,"IfcToroidalSurface"s,"IfcTransportationDeviceType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcVehicleType"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuildingStorey"s,"IfcBuiltElementType"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcClothoid"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCosineSpiral"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCourseType"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCylindricalSurface"s,"IfcDeepFoundationType"s,"IfcDirectrixDerivedReferenceSweptAreaSolid"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFacility"s,"IfcFacilityPart"s,"IfcFacilityPartCommon"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGeotechnicalElement"s,"IfcGeotechnicalStratum"s,"IfcGradientCurve"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcImpactProtectionDevice"s,"IfcImpactProtectionDeviceType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcKerbType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLinearElement"s,"IfcLiquidTerminalType"s,"IfcMarineFacility"s,"IfcMarinePart"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMobileTelecommunicationsApplianceType"s,"IfcMooringDeviceType"s,"IfcMotorConnectionType"s,"IfcNavigationElementType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOutletType"s,"IfcPavementType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailType"s,"IfcRailingType"s,"IfcRailway"s,"IfcRailwayPart"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAdheresToElement"s,"IfcRelAggregates"s,"IfcRoad"s,"IfcRoadPart"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcSecondOrderPolynomialSpiral"s,"IfcSegmentedReferenceCurve"s,"IfcSeventhOrderPolynomialSpiral"s,"IfcShadingDeviceType"s,"IfcSign"s,"IfcSignType"s,"IfcSignalType"s,"IfcSineSpiral"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonConduit"s,"IfcTendonConduitType"s,"IfcTendonType"s,"IfcTrackElementType"s,"IfcTransformerType"s,"IfcTransportElementType"s,"IfcTransportationDevice"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVehicle"s,"IfcVibrationDamper"s,"IfcVibrationDamperType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcInterferenceSelect"s,"IfcSpatialReferenceSelect"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignmentCant"s,"IfcAlignmentHorizontal"s,"IfcAlignmentSegment"s,"IfcAlignmentVertical"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBearingType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBridge"s,"IfcBridgePart"s,"IfcBuilding"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBuiltElement"s,"IfcBuiltSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcCaissonFoundationType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcConveyorSegmentType"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCourse"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDeepFoundation"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionBoardType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcEarthworksCut"s,"IfcEarthworksElement"s,"IfcEarthworksFill"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricFlowTreatmentDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGeotechnicalAssembly"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcKerb"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcLiquidTerminal"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMobileTelecommunicationsAppliance"s,"IfcMooringDevice"s,"IfcMotorConnection"s,"IfcNavigationElement"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPavement"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRail"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcedSoil"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSignal"s,"IfcSlab"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTrackElement"s,"IfcTransformer"s,"IfcTransportElement"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBearing"s,"IfcBoiler"s,"IfcBorehole"s,"IfcBuildingElementProxy"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcCaissonFoundation"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcConveyorSegment"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionBoard"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricFlowTreatmentDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcGeomodel"s,"IfcGeoslice"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"RailHeadDistance"s,"StartDistAlong"s,"HorizontalLength"s,"StartCantLeft"s,"EndCantLeft"s,"StartCantRight"s,"EndCantRight"s,"StartPoint"s,"StartDirection"s,"StartRadiusOfCurvature"s,"EndRadiusOfCurvature"s,"SegmentLength"s,"GravityCenterLineHeight"s,"StartTag"s,"EndTag"s,"DesignParameters"s,"StartHeight"s,"StartGradient"s,"EndGradient"s,"RadiusOfCurvature"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"Radius"s,"Source"s,"Edition"s,"EditionDate"s,"Specification"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"ClothoidConstant"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Segments"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"CosineTerm"s,"ConstantTerm"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"Placement"s,"SegmentStart"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveStyleFont"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"Directrix"s,"StartParam"s,"EndParam"s,"FlowDirection"s,"SystemType"s,"Location"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ParameterTakesPrecedence"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"Tag"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"UsageType"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"FixedReference"s,"GeodeticDatum"s,"PrimeMeridian"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"BaseCurve"s,"EndPoint"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"RelativePlacement"s,"CartesianPosition"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"ScaleX"s,"ScaleY"s,"ScaleZ"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"MaterialExpression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"PlacementRelTo"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Distance"s,"HorizontalWidths"s,"Widths"s,"Slopes"s,"Tags"s,"OffsetPoint"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"ConstructionType"s,"Height"s,"ColourComponents"s,"Pixel"s,"SizeInX"s,"SizeInY"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"CoefficientsX"s,"CoefficientsY"s,"CoefficientsZ"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"VerticalDatum"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"Expression"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"NumberValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingElement"s,"RelatedSurfaceFeatures"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"RelatingProfileDef"s,"ConnectionGeometry"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceType"s,"ImpliedOrder"s,"InterferenceSpace"s,"RelatingPositioningElement"s,"RelatedProducts"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"FirstCoordinate"s,"SecondCoordinate"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"QuadraticTerm"s,"LinearTerm"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"SpineCurve"s,"Transition"s,"SepticTerm"s,"SexticTerm"s,"QuinticTerm"s,"QuarticTerm"s,"CubicTerm"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"SineTerm"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"AxisDirection"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"Styles"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"TexCoordsOf"s,"InnerTexCoordIndices"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"WellKnownText"s,"CoordinateReferenceSystem"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"StartDate"s,"FinishDate"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"HasSurfaceFeatures"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ReferencedInStructures"s,"ToFaceSet"s,"HasTexCoords"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"ReferencedByPlacements"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"Positions"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"PositionedRelativeTo"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"UsingCurves"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"AdheresToElement"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"ServicesFacilities"s,"HasColours"s,"HasTextures"s,"ToTexMap"s,"Types"s,"IFC4X3_ADD1"s}; diff --git a/src/ifcparse/schemas/Ifc4x3_add1.cpp b/src/ifcparse/schemas/Ifc4x3_add1.cpp index 28becb3425..c4c213ed21 100644 --- a/src/ifcparse/schemas/Ifc4x3_add1.cpp +++ b/src/ifcparse/schemas/Ifc4x3_add1.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x3_add1.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x3_add1::Identifier = "IFC4X3_ADD1"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X3_ADD1_types[1312]; -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[3]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[3]); } /* -Ifc4x3_add1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x3_add1::IfcActionRequestTypeEnum::Value Ifc4x3_add1::IfcActionRequestTypeEn } Ifc4x3_add1::IfcActionRequestTypeEnum::operator Ifc4x3_add1::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x3_add1::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[4]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[4]); } /* -Ifc4x3_add1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x3_add1::IfcActionSourceTypeEnum::Value Ifc4x3_add1::IfcActionSourceTypeEnum } Ifc4x3_add1::IfcActionSourceTypeEnum::operator Ifc4x3_add1::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[5]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[5]); } /* -Ifc4x3_add1::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x3_add1::IfcActionTypeEnum::Value Ifc4x3_add1::IfcActionTypeEnum::FromString } Ifc4x3_add1::IfcActionTypeEnum::operator Ifc4x3_add1::IfcActionTypeEnum::Value() const { - return (Ifc4x3_add1::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[11]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[11]); } /* -Ifc4x3_add1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x3_add1::IfcActuatorTypeEnum::Value Ifc4x3_add1::IfcActuatorTypeEnum::FromSt } Ifc4x3_add1::IfcActuatorTypeEnum::operator Ifc4x3_add1::IfcActuatorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[13]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[13]); } /* -Ifc4x3_add1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x3_add1::IfcAddressTypeEnum::Value Ifc4x3_add1::IfcAddressTypeEnum::FromStri } Ifc4x3_add1::IfcAddressTypeEnum::operator Ifc4x3_add1::IfcAddressTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[20]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[20]); } /* -Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_add1::IfcAirTerminalBoxType } Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::operator Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[22]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[22]); } /* -Ifc4x3_add1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x3_add1::IfcAirTerminalTypeEnum::Value Ifc4x3_add1::IfcAirTerminalTypeEnum:: } Ifc4x3_add1::IfcAirTerminalTypeEnum::operator Ifc4x3_add1::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[25]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[25]); } /* -Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_add1::IfcAirToAirHeat } Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[28]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[28]); } /* -Ifc4x3_add1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x3_add1::IfcAlarmTypeEnum::Value Ifc4x3_add1::IfcAlarmTypeEnum::FromString(c } Ifc4x3_add1::IfcAlarmTypeEnum::operator Ifc4x3_add1::IfcAlarmTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[32]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[32]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[32]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[32]); } /* -Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_add1::IfcAlignmentCan } Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::operator Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[35]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[35]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[35]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[35]); } /* -Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_add1::IfcAlignm } Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::operator Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[38]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[38]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[38]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[38]); } /* -Ifc4x3_add1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x3_add1::IfcAlignmentTypeEnum::Value Ifc4x3_add1::IfcAlignmentTypeEnum::From } Ifc4x3_add1::IfcAlignmentTypeEnum::operator Ifc4x3_add1::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[41]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[41]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[41]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[41]); } /* -Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_add1::IfcAlignmen } Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::operator Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[43]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[43]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[43]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[43]); } /* -Ifc4x3_add1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value Ifc4x3_add1::IfcAnalysisModelTypeEn } Ifc4x3_add1::IfcAnalysisModelTypeEnum::operator Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[44]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[44]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[44]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[44]); } /* -Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_add1::IfcAnalysisTheoryType } Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::operator Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAnnotationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[48]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAnnotationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[48]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAnnotationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[48]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAnnotationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[48]); } /* -Ifc4x3_add1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x3_add1::IfcAnnotationTypeEnum::Value Ifc4x3_add1::IfcAnnotationTypeEnum::Fr } Ifc4x3_add1::IfcAnnotationTypeEnum::operator Ifc4x3_add1::IfcAnnotationTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAnnotationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAnnotationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[60]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[60]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[60]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[60]); } /* -Ifc4x3_add1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x3_add1::IfcArithmeticOperatorEnum::Value Ifc4x3_add1::IfcArithmeticOperator } Ifc4x3_add1::IfcArithmeticOperatorEnum::operator Ifc4x3_add1::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x3_add1::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[61]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[61]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[61]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[61]); } /* -Ifc4x3_add1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x3_add1::IfcAssemblyPlaceEnum::Value Ifc4x3_add1::IfcAssemblyPlaceEnum::From } Ifc4x3_add1::IfcAssemblyPlaceEnum::operator Ifc4x3_add1::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x3_add1::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[66]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[66]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[66]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[66]); } /* -Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_add1::IfcAudioVisualA } Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::operator Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[108]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[108]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[108]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[108]); } /* -Ifc4x3_add1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x3_add1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x3_add1::IfcBSplineCurveForm::Value Ifc4x3_add1::IfcBSplineCurveForm::FromSt } Ifc4x3_add1::IfcBSplineCurveForm::operator Ifc4x3_add1::IfcBSplineCurveForm::Value() const { - return (Ifc4x3_add1::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[111]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[111]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[111]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[111]); } /* -Ifc4x3_add1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x3_add1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x3_add1::IfcBSplineSurfaceForm::Value Ifc4x3_add1::IfcBSplineSurfaceForm::Fr } Ifc4x3_add1::IfcBSplineSurfaceForm::operator Ifc4x3_add1::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x3_add1::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[74]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[74]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[74]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[74]); } /* -Ifc4x3_add1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x3_add1::IfcBeamTypeEnum::Value Ifc4x3_add1::IfcBeamTypeEnum::FromString(con } Ifc4x3_add1::IfcBeamTypeEnum::operator Ifc4x3_add1::IfcBeamTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBearingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[77]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBearingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[77]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[77]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[77]); } /* -Ifc4x3_add1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x3_add1::IfcBearingTypeEnum::Value Ifc4x3_add1::IfcBearingTypeEnum::FromStri } Ifc4x3_add1::IfcBearingTypeEnum::operator Ifc4x3_add1::IfcBearingTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBearingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[78]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[78]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[78]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[78]); } /* -Ifc4x3_add1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x3_add1::IfcBenchmarkEnum::Value Ifc4x3_add1::IfcBenchmarkEnum::FromString(c } Ifc4x3_add1::IfcBenchmarkEnum::operator Ifc4x3_add1::IfcBenchmarkEnum::Value() const { - return (Ifc4x3_add1::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[85]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[85]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[85]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[85]); } /* -Ifc4x3_add1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x3_add1::IfcBoilerTypeEnum::Value Ifc4x3_add1::IfcBoilerTypeEnum::FromString } Ifc4x3_add1::IfcBoilerTypeEnum::operator Ifc4x3_add1::IfcBoilerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[89]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[89]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[89]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[89]); } /* -Ifc4x3_add1::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x3_add1::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x3_add1::IfcBooleanOperator::Value Ifc4x3_add1::IfcBooleanOperator::FromStri } Ifc4x3_add1::IfcBooleanOperator::operator Ifc4x3_add1::IfcBooleanOperator::Value() const { - return (Ifc4x3_add1::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBridgePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[105]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBridgePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[105]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[105]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[105]); } /* -Ifc4x3_add1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x3_add1::IfcBridgePartTypeEnum::Value Ifc4x3_add1::IfcBridgePartTypeEnum::Fr } Ifc4x3_add1::IfcBridgePartTypeEnum::operator Ifc4x3_add1::IfcBridgePartTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBridgePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBridgeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[106]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBridgeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[106]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[106]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[106]); } /* -Ifc4x3_add1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x3_add1::IfcBridgeTypeEnum::Value Ifc4x3_add1::IfcBridgeTypeEnum::FromString } Ifc4x3_add1::IfcBridgeTypeEnum::operator Ifc4x3_add1::IfcBridgeTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBridgeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[116]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[116]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[116]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[116]); } /* -Ifc4x3_add1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value Ifc4x3_add1::IfcBuildingEleme } Ifc4x3_add1::IfcBuildingElementPartTypeEnum::operator Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[119]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[119]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[119]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[119]); } /* -Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_add1::IfcBuildingElem } Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::operator Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[122]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[122]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[122]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[122]); } /* -Ifc4x3_add1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value Ifc4x3_add1::IfcBuildingSystemType } Ifc4x3_add1::IfcBuildingSystemTypeEnum::operator Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBuiltSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[126]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBuiltSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[126]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBuiltSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[126]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBuiltSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[126]); } /* -Ifc4x3_add1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value Ifc4x3_add1::IfcBuiltSystemTypeEnum:: } Ifc4x3_add1::IfcBuiltSystemTypeEnum::operator Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[129]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[129]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[129]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[129]); } /* -Ifc4x3_add1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x3_add1::IfcBurnerTypeEnum::Value Ifc4x3_add1::IfcBurnerTypeEnum::FromString } Ifc4x3_add1::IfcBurnerTypeEnum::operator Ifc4x3_add1::IfcBurnerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[132]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[132]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[132]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[132]); } /* -Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_add1::IfcCableCarrierF } Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::operator Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[135]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[135]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[135]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[135]); } /* -Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_add1::IfcCableCarrierS } Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::operator Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[138]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[138]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[138]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[138]); } /* -Ifc4x3_add1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x3_add1::IfcCableFittingTypeEnum::Value Ifc4x3_add1::IfcCableFittingTypeEnum } Ifc4x3_add1::IfcCableFittingTypeEnum::operator Ifc4x3_add1::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[141]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[141]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[141]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[141]); } /* -Ifc4x3_add1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x3_add1::IfcCableSegmentTypeEnum::Value Ifc4x3_add1::IfcCableSegmentTypeEnum } Ifc4x3_add1::IfcCableSegmentTypeEnum::operator Ifc4x3_add1::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCaissonFoundationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[144]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[144]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[144]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[144]); } /* -Ifc4x3_add1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value Ifc4x3_add1::IfcCaissonFoundati } Ifc4x3_add1::IfcCaissonFoundationTypeEnum::operator Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[156]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[156]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[156]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[156]); } /* -Ifc4x3_add1::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x3_add1::IfcChangeActionEnum::Value Ifc4x3_add1::IfcChangeActionEnum::FromSt } Ifc4x3_add1::IfcChangeActionEnum::operator Ifc4x3_add1::IfcChangeActionEnum::Value() const { - return (Ifc4x3_add1::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[159]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[159]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[159]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[159]); } /* -Ifc4x3_add1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x3_add1::IfcChillerTypeEnum::Value Ifc4x3_add1::IfcChillerTypeEnum::FromStri } Ifc4x3_add1::IfcChillerTypeEnum::operator Ifc4x3_add1::IfcChillerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[162]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[162]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[162]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[162]); } /* -Ifc4x3_add1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x3_add1::IfcChimneyTypeEnum::Value Ifc4x3_add1::IfcChimneyTypeEnum::FromStri } Ifc4x3_add1::IfcChimneyTypeEnum::operator Ifc4x3_add1::IfcChimneyTypeEnum::Value() const { - return (Ifc4x3_add1::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[176]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[176]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[176]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[176]); } /* -Ifc4x3_add1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x3_add1::IfcCoilTypeEnum::Value Ifc4x3_add1::IfcCoilTypeEnum::FromString(con } Ifc4x3_add1::IfcCoilTypeEnum::operator Ifc4x3_add1::IfcCoilTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[184]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[184]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[184]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[184]); } /* -Ifc4x3_add1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x3_add1::IfcColumnTypeEnum::Value Ifc4x3_add1::IfcColumnTypeEnum::FromString } Ifc4x3_add1::IfcColumnTypeEnum::operator Ifc4x3_add1::IfcColumnTypeEnum::Value() const { - return (Ifc4x3_add1::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[187]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[187]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[187]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[187]); } /* -Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_add1::IfcCommunica } Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::operator Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[191]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[191]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[191]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[191]); } /* -Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x3_add1::IfcComplexPr } Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[199]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[199]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[199]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[199]); } /* -Ifc4x3_add1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x3_add1::IfcCompressorTypeEnum::Value Ifc4x3_add1::IfcCompressorTypeEnum::Fr } Ifc4x3_add1::IfcCompressorTypeEnum::operator Ifc4x3_add1::IfcCompressorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[202]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[202]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[202]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[202]); } /* -Ifc4x3_add1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x3_add1::IfcCondenserTypeEnum::Value Ifc4x3_add1::IfcCondenserTypeEnum::From } Ifc4x3_add1::IfcCondenserTypeEnum::operator Ifc4x3_add1::IfcCondenserTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[210]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[210]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[210]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[210]); } /* -Ifc4x3_add1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x3_add1::IfcConnectionTypeEnum::Value Ifc4x3_add1::IfcConnectionTypeEnum::Fr } Ifc4x3_add1::IfcConnectionTypeEnum::operator Ifc4x3_add1::IfcConnectionTypeEnum::Value() const { - return (Ifc4x3_add1::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[213]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[213]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[213]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[213]); } /* -Ifc4x3_add1::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x3_add1::IfcConstraintEnum::Value Ifc4x3_add1::IfcConstraintEnum::FromString } Ifc4x3_add1::IfcConstraintEnum::operator Ifc4x3_add1::IfcConstraintEnum::Value() const { - return (Ifc4x3_add1::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[216]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[216]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[216]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[216]); } /* -Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_add1::IfcCon } Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[219]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[219]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[219]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[219]); } /* -Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_add1::IfcCons } Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[222]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[222]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[222]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[222]); } /* -Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_add1::IfcConst } Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::operator Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[231]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[231]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[231]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[231]); } /* -Ifc4x3_add1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x3_add1::IfcControllerTypeEnum::Value Ifc4x3_add1::IfcControllerTypeEnum::Fr } Ifc4x3_add1::IfcControllerTypeEnum::operator Ifc4x3_add1::IfcControllerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcConveyorSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[236]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[236]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConveyorSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[236]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[236]); } /* -Ifc4x3_add1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value Ifc4x3_add1::IfcConveyorSegmentTy } Ifc4x3_add1::IfcConveyorSegmentTypeEnum::operator Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[239]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[239]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[239]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[239]); } /* -Ifc4x3_add1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x3_add1::IfcCooledBeamTypeEnum::Value Ifc4x3_add1::IfcCooledBeamTypeEnum::Fr } Ifc4x3_add1::IfcCooledBeamTypeEnum::operator Ifc4x3_add1::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[242]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[242]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[242]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[242]); } /* -Ifc4x3_add1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value Ifc4x3_add1::IfcCoolingTowerTypeEnum } Ifc4x3_add1::IfcCoolingTowerTypeEnum::operator Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[248]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[248]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[248]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[248]); } /* -Ifc4x3_add1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x3_add1::IfcCostItemTypeEnum::Value Ifc4x3_add1::IfcCostItemTypeEnum::FromSt } Ifc4x3_add1::IfcCostItemTypeEnum::operator Ifc4x3_add1::IfcCostItemTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[250]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[250]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[250]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[250]); } /* -Ifc4x3_add1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x3_add1::IfcCostScheduleTypeEnum::Value Ifc4x3_add1::IfcCostScheduleTypeEnum } Ifc4x3_add1::IfcCostScheduleTypeEnum::operator Ifc4x3_add1::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCourseTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[255]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCourseTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[255]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCourseTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[255]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCourseTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[255]); } /* -Ifc4x3_add1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCourseTypeEnum::IfcCourseTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x3_add1::IfcCourseTypeEnum::Value Ifc4x3_add1::IfcCourseTypeEnum::FromString } Ifc4x3_add1::IfcCourseTypeEnum::operator Ifc4x3_add1::IfcCourseTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCourseTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCourseTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[258]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[258]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[258]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[258]); } /* -Ifc4x3_add1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x3_add1::IfcCoveringTypeEnum::Value Ifc4x3_add1::IfcCoveringTypeEnum::FromSt } Ifc4x3_add1::IfcCoveringTypeEnum::operator Ifc4x3_add1::IfcCoveringTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[261]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[261]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[261]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[261]); } /* -Ifc4x3_add1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x3_add1::IfcCrewResourceTypeEnum::Value Ifc4x3_add1::IfcCrewResourceTypeEnum } Ifc4x3_add1::IfcCrewResourceTypeEnum::operator Ifc4x3_add1::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[269]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[269]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[269]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[269]); } /* -Ifc4x3_add1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x3_add1::IfcCurtainWallTypeEnum::Value Ifc4x3_add1::IfcCurtainWallTypeEnum:: } Ifc4x3_add1::IfcCurtainWallTypeEnum::operator Ifc4x3_add1::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x3_add1::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[275]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[275]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[275]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[275]); } /* -Ifc4x3_add1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x3_add1::IfcCurveInterpolationEnum::Value Ifc4x3_add1::IfcCurveInterpolation } Ifc4x3_add1::IfcCurveInterpolationEnum::operator Ifc4x3_add1::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x3_add1::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[288]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[288]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[288]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[288]); } /* -Ifc4x3_add1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x3_add1::IfcDamperTypeEnum::Value Ifc4x3_add1::IfcDamperTypeEnum::FromString } Ifc4x3_add1::IfcDamperTypeEnum::operator Ifc4x3_add1::IfcDamperTypeEnum::Value() const { - return (Ifc4x3_add1::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[289]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[289]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[289]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[289]); } /* -Ifc4x3_add1::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x3_add1::IfcDataOriginEnum::Value Ifc4x3_add1::IfcDataOriginEnum::FromString } Ifc4x3_add1::IfcDataOriginEnum::operator Ifc4x3_add1::IfcDataOriginEnum::Value() const { - return (Ifc4x3_add1::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[301]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[301]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[301]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[301]); } /* -Ifc4x3_add1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x3_add1::IfcDerivedUnitEnum::Value Ifc4x3_add1::IfcDerivedUnitEnum::FromStri } Ifc4x3_add1::IfcDerivedUnitEnum::operator Ifc4x3_add1::IfcDerivedUnitEnum::Value() const { - return (Ifc4x3_add1::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[306]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[306]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[306]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[306]); } /* -Ifc4x3_add1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x3_add1::IfcDirectionSenseEnum::Value Ifc4x3_add1::IfcDirectionSenseEnum::Fr } Ifc4x3_add1::IfcDirectionSenseEnum::operator Ifc4x3_add1::IfcDirectionSenseEnum::Value() const { - return (Ifc4x3_add1::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[311]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[311]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[311]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[311]); } /* -Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_add1::IfcDiscreteAccesso } Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::operator Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[314]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[314]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[314]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[314]); } /* -Ifc4x3_add1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value Ifc4x3_add1::IfcDistributionBoa } Ifc4x3_add1::IfcDistributionBoardTypeEnum::operator Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[317]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[317]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[317]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[317]); } /* -Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_add1::IfcDistri } Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::operator Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[326]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[326]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[326]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[326]); } /* -Ifc4x3_add1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x3_add1::IfcDistributionPortTypeEnum::Value Ifc4x3_add1::IfcDistributionPort } Ifc4x3_add1::IfcDistributionPortTypeEnum::operator Ifc4x3_add1::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x3_add1::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[328]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[328]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[328]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[328]); } /* -Ifc4x3_add1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x3_add1::IfcDistributionSystemEnum::Value Ifc4x3_add1::IfcDistributionSystem } Ifc4x3_add1::IfcDistributionSystemEnum::operator Ifc4x3_add1::IfcDistributionSystemEnum::Value() const { - return (Ifc4x3_add1::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[329]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[329]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[329]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[329]); } /* -Ifc4x3_add1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value Ifc4x3_add1::IfcDocumentConfi } Ifc4x3_add1::IfcDocumentConfidentialityEnum::operator Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[334]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[334]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[334]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[334]); } /* -Ifc4x3_add1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x3_add1::IfcDocumentStatusEnum::Value Ifc4x3_add1::IfcDocumentStatusEnum::Fr } Ifc4x3_add1::IfcDocumentStatusEnum::operator Ifc4x3_add1::IfcDocumentStatusEnum::Value() const { - return (Ifc4x3_add1::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[337]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[337]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[337]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[337]); } /* -Ifc4x3_add1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x3_add1::IfcDoorPanelOperationEnum::Value Ifc4x3_add1::IfcDoorPanelOperation } Ifc4x3_add1::IfcDoorPanelOperationEnum::operator Ifc4x3_add1::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x3_add1::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[338]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[338]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[338]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[338]); } /* -Ifc4x3_add1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x3_add1::IfcDoorPanelPositionEnum::Value Ifc4x3_add1::IfcDoorPanelPositionEn } Ifc4x3_add1::IfcDoorPanelPositionEnum::operator Ifc4x3_add1::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x3_add1::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[341]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[341]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[341]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[341]); } /* -Ifc4x3_add1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x3_add1::IfcDoorTypeEnum::Value Ifc4x3_add1::IfcDoorTypeEnum::FromString(con } Ifc4x3_add1::IfcDoorTypeEnum::operator Ifc4x3_add1::IfcDoorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[342]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[342]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[342]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[342]); } /* -Ifc4x3_add1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x3_add1::IfcDoorTypeOperationEnum::Value Ifc4x3_add1::IfcDoorTypeOperationEn } Ifc4x3_add1::IfcDoorTypeOperationEnum::operator Ifc4x3_add1::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x3_add1::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[348]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[348]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[348]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[348]); } /* -Ifc4x3_add1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x3_add1::IfcDuctFittingTypeEnum::Value Ifc4x3_add1::IfcDuctFittingTypeEnum:: } Ifc4x3_add1::IfcDuctFittingTypeEnum::operator Ifc4x3_add1::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x3_add1::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[351]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[351]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[351]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[351]); } /* -Ifc4x3_add1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value Ifc4x3_add1::IfcDuctSegmentTypeEnum:: } Ifc4x3_add1::IfcDuctSegmentTypeEnum::operator Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[354]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[354]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[354]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[354]); } /* -Ifc4x3_add1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value Ifc4x3_add1::IfcDuctSilencerTypeEnum } Ifc4x3_add1::IfcDuctSilencerTypeEnum::operator Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcEarthworksCutTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[358]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcEarthworksCutTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[358]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEarthworksCutTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[358]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEarthworksCutTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[358]); } /* -Ifc4x3_add1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value Ifc4x3_add1::IfcEarthworksCutTypeEn } Ifc4x3_add1::IfcEarthworksCutTypeEnum::operator Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value() const { - return (Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcEarthworksFillTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[361]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcEarthworksFillTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[361]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEarthworksFillTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[361]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEarthworksFillTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[361]); } /* -Ifc4x3_add1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value Ifc4x3_add1::IfcEarthworksFillType } Ifc4x3_add1::IfcEarthworksFillTypeEnum::operator Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value() const { - return (Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[367]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[367]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[367]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[367]); } /* -Ifc4x3_add1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value Ifc4x3_add1::IfcElectricApplian } Ifc4x3_add1::IfcElectricApplianceTypeEnum::operator Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[374]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[374]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[374]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[374]); } /* -Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_add1::IfcElectri } Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::operator Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[377]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[377]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[377]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[377]); } /* -Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_add1::IfcElectri } Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[380]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[380]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[380]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[380]); } /* -Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_add1::IfcElect } Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::operator Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[383]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[383]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[383]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[383]); } /* -Ifc4x3_add1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value Ifc4x3_add1::IfcElectricGenerat } Ifc4x3_add1::IfcElectricGeneratorTypeEnum::operator Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[386]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[386]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[386]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[386]); } /* -Ifc4x3_add1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x3_add1::IfcElectricMotorTypeEnum::Value Ifc4x3_add1::IfcElectricMotorTypeEn } Ifc4x3_add1::IfcElectricMotorTypeEnum::operator Ifc4x3_add1::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[390]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[390]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[390]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[390]); } /* -Ifc4x3_add1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value Ifc4x3_add1::IfcElectricTimeC } Ifc4x3_add1::IfcElectricTimeControlTypeEnum::operator Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[396]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[396]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[396]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[396]); } /* -Ifc4x3_add1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value Ifc4x3_add1::IfcElementAssemblyTy } Ifc4x3_add1::IfcElementAssemblyTypeEnum::operator Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[399]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[399]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[399]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[399]); } /* -Ifc4x3_add1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x3_add1::IfcElementCompositionEnum::Value Ifc4x3_add1::IfcElementComposition } Ifc4x3_add1::IfcElementCompositionEnum::operator Ifc4x3_add1::IfcElementCompositionEnum::Value() const { - return (Ifc4x3_add1::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[409]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[409]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[409]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[409]); } /* -Ifc4x3_add1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x3_add1::IfcEngineTypeEnum::Value Ifc4x3_add1::IfcEngineTypeEnum::FromString } Ifc4x3_add1::IfcEngineTypeEnum::operator Ifc4x3_add1::IfcEngineTypeEnum::Value() const { - return (Ifc4x3_add1::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[412]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[412]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[412]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[412]); } /* -Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_add1::IfcEvaporativeCool } Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::operator Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[415]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[415]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[415]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[415]); } /* -Ifc4x3_add1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x3_add1::IfcEvaporatorTypeEnum::Value Ifc4x3_add1::IfcEvaporatorTypeEnum::Fr } Ifc4x3_add1::IfcEvaporatorTypeEnum::operator Ifc4x3_add1::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[418]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[418]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[418]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[418]); } /* -Ifc4x3_add1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x3_add1::IfcEventTriggerTypeEnum::Value Ifc4x3_add1::IfcEventTriggerTypeEnum } Ifc4x3_add1::IfcEventTriggerTypeEnum::operator Ifc4x3_add1::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[420]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[420]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[420]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[420]); } /* -Ifc4x3_add1::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x3_add1::IfcEventTypeEnum::Value Ifc4x3_add1::IfcEventTypeEnum::FromString(c } Ifc4x3_add1::IfcEventTypeEnum::operator Ifc4x3_add1::IfcEventTypeEnum::Value() const { - return (Ifc4x3_add1::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[429]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[429]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[429]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[429]); } /* -Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value Ifc4x3_add1::IfcExternalSp } Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::operator Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[443]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[443]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[443]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[443]); } /* -Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value Ifc4x3_add1::IfcFacilityPartCo } Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::operator Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value() const { - return (Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFacilityUsageEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[444]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFacilityUsageEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[444]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFacilityUsageEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[444]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFacilityUsageEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[444]); } /* -Ifc4x3_add1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x3_add1::IfcFacilityUsageEnum::Value Ifc4x3_add1::IfcFacilityUsageEnum::From } Ifc4x3_add1::IfcFacilityUsageEnum::operator Ifc4x3_add1::IfcFacilityUsageEnum::Value() const { - return (Ifc4x3_add1::IfcFacilityUsageEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFacilityUsageEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[448]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[448]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[448]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[448]); } /* -Ifc4x3_add1::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x3_add1::IfcFanTypeEnum::Value Ifc4x3_add1::IfcFanTypeEnum::FromString(const } Ifc4x3_add1::IfcFanTypeEnum::operator Ifc4x3_add1::IfcFanTypeEnum::Value() const { - return (Ifc4x3_add1::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[451]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[451]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[451]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[451]); } /* -Ifc4x3_add1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x3_add1::IfcFastenerTypeEnum::Value Ifc4x3_add1::IfcFastenerTypeEnum::FromSt } Ifc4x3_add1::IfcFastenerTypeEnum::operator Ifc4x3_add1::IfcFastenerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[461]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[461]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[461]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[461]); } /* -Ifc4x3_add1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x3_add1::IfcFilterTypeEnum::Value Ifc4x3_add1::IfcFilterTypeEnum::FromString } Ifc4x3_add1::IfcFilterTypeEnum::operator Ifc4x3_add1::IfcFilterTypeEnum::Value() const { - return (Ifc4x3_add1::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[464]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[464]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[464]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[464]); } /* -Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_add1::IfcFireSuppr } Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[468]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[468]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[468]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[468]); } /* -Ifc4x3_add1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x3_add1::IfcFlowDirectionEnum::Value Ifc4x3_add1::IfcFlowDirectionEnum::From } Ifc4x3_add1::IfcFlowDirectionEnum::operator Ifc4x3_add1::IfcFlowDirectionEnum::Value() const { - return (Ifc4x3_add1::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[473]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[473]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[473]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[473]); } /* -Ifc4x3_add1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value Ifc4x3_add1::IfcFlowInstrumentType } Ifc4x3_add1::IfcFlowInstrumentTypeEnum::operator Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[476]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[476]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[476]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[476]); } /* -Ifc4x3_add1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x3_add1::IfcFlowMeterTypeEnum::Value Ifc4x3_add1::IfcFlowMeterTypeEnum::From } Ifc4x3_add1::IfcFlowMeterTypeEnum::operator Ifc4x3_add1::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x3_add1::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[492]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[492]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[492]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[492]); } /* -Ifc4x3_add1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x3_add1::IfcFootingTypeEnum::Value Ifc4x3_add1::IfcFootingTypeEnum::FromStri } Ifc4x3_add1::IfcFootingTypeEnum::operator Ifc4x3_add1::IfcFootingTypeEnum::Value() const { - return (Ifc4x3_add1::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[499]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[499]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[499]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[499]); } /* -Ifc4x3_add1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x3_add1::IfcFurnitureTypeEnum::Value Ifc4x3_add1::IfcFurnitureTypeEnum::From } Ifc4x3_add1::IfcFurnitureTypeEnum::operator Ifc4x3_add1::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x3_add1::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[503]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[503]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[503]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[503]); } /* -Ifc4x3_add1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x3_add1::IfcGeographicElementTypeEnum::Value Ifc4x3_add1::IfcGeographicEleme } Ifc4x3_add1::IfcGeographicElementTypeEnum::operator Ifc4x3_add1::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[505]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[505]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[505]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[505]); } /* -Ifc4x3_add1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x3_add1::IfcGeometricProjectionEnum::Value Ifc4x3_add1::IfcGeometricProjecti } Ifc4x3_add1::IfcGeometricProjectionEnum::operator Ifc4x3_add1::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x3_add1::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[516]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[516]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[516]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[516]); } /* -Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value Ifc4x3_add1::IfcGeotechnicalS } Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::operator Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value() const { - return (Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[518]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[518]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[518]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[518]); } /* -Ifc4x3_add1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x3_add1::IfcGlobalOrLocalEnum::Value Ifc4x3_add1::IfcGlobalOrLocalEnum::From } Ifc4x3_add1::IfcGlobalOrLocalEnum::operator Ifc4x3_add1::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x3_add1::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[524]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[524]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[524]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[524]); } /* -Ifc4x3_add1::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x3_add1::IfcGridTypeEnum::Value Ifc4x3_add1::IfcGridTypeEnum::FromString(con } Ifc4x3_add1::IfcGridTypeEnum::operator Ifc4x3_add1::IfcGridTypeEnum::Value() const { - return (Ifc4x3_add1::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[530]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[530]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[530]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[530]); } /* -Ifc4x3_add1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value Ifc4x3_add1::IfcHeatExchangerTypeEn } Ifc4x3_add1::IfcHeatExchangerTypeEnum::operator Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[535]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[535]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[535]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[535]); } /* -Ifc4x3_add1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x3_add1::IfcHumidifierTypeEnum::Value Ifc4x3_add1::IfcHumidifierTypeEnum::Fr } Ifc4x3_add1::IfcHumidifierTypeEnum::operator Ifc4x3_add1::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x3_add1::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[541]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[541]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[541]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[541]); } /* -Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_add1::IfcImpactProt } Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::operator Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[554]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[554]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[554]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[554]); } /* -Ifc4x3_add1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x3_add1::IfcInterceptorTypeEnum::Value Ifc4x3_add1::IfcInterceptorTypeEnum:: } Ifc4x3_add1::IfcInterceptorTypeEnum::operator Ifc4x3_add1::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[556]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[556]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[556]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[556]); } /* -Ifc4x3_add1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x3_add1::IfcInternalOrExternalEnum::Value Ifc4x3_add1::IfcInternalOrExternal } Ifc4x3_add1::IfcInternalOrExternalEnum::operator Ifc4x3_add1::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x3_add1::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[559]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[559]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[559]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[559]); } /* -Ifc4x3_add1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x3_add1::IfcInventoryTypeEnum::Value Ifc4x3_add1::IfcInventoryTypeEnum::From } Ifc4x3_add1::IfcInventoryTypeEnum::operator Ifc4x3_add1::IfcInventoryTypeEnum::Value() const { - return (Ifc4x3_add1::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[567]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[567]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[567]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[567]); } /* -Ifc4x3_add1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value Ifc4x3_add1::IfcJunctionBoxTypeEnum:: } Ifc4x3_add1::IfcJunctionBoxTypeEnum::operator Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcKerbTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[570]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcKerbTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[570]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcKerbTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[570]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcKerbTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[570]); } /* -Ifc4x3_add1::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcKerbTypeEnum::IfcKerbTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x3_add1::IfcKerbTypeEnum::Value Ifc4x3_add1::IfcKerbTypeEnum::FromString(con } Ifc4x3_add1::IfcKerbTypeEnum::operator Ifc4x3_add1::IfcKerbTypeEnum::Value() const { - return (Ifc4x3_add1::IfcKerbTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcKerbTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[572]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[572]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[572]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[572]); } /* -Ifc4x3_add1::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x3_add1::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x3_add1::IfcKnotType::Value Ifc4x3_add1::IfcKnotType::FromString(const std:: } Ifc4x3_add1::IfcKnotType::operator Ifc4x3_add1::IfcKnotType::Value() const { - return (Ifc4x3_add1::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[576]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[576]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[576]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[576]); } /* -Ifc4x3_add1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x3_add1::IfcLaborResourceTypeEnum::Value Ifc4x3_add1::IfcLaborResourceTypeEn } Ifc4x3_add1::IfcLaborResourceTypeEnum::operator Ifc4x3_add1::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[580]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[580]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[580]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[580]); } /* -Ifc4x3_add1::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x3_add1::IfcLampTypeEnum::Value Ifc4x3_add1::IfcLampTypeEnum::FromString(con } Ifc4x3_add1::IfcLampTypeEnum::operator Ifc4x3_add1::IfcLampTypeEnum::Value() const { - return (Ifc4x3_add1::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[583]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[583]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[583]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[583]); } /* -Ifc4x3_add1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x3_add1::IfcLayerSetDirectionEnum::Value Ifc4x3_add1::IfcLayerSetDirectionEn } Ifc4x3_add1::IfcLayerSetDirectionEnum::operator Ifc4x3_add1::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x3_add1::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[588]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[588]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[588]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[588]); } /* -Ifc4x3_add1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x3_add1::IfcLightDistributionCurveEnum::Value Ifc4x3_add1::IfcLightDistribut } Ifc4x3_add1::IfcLightDistributionCurveEnum::operator Ifc4x3_add1::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x3_add1::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[591]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[591]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[591]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[591]); } /* -Ifc4x3_add1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x3_add1::IfcLightEmissionSourceEnum::Value Ifc4x3_add1::IfcLightEmissionSour } Ifc4x3_add1::IfcLightEmissionSourceEnum::operator Ifc4x3_add1::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x3_add1::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[594]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[594]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[594]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[594]); } /* -Ifc4x3_add1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x3_add1::IfcLightFixtureTypeEnum::Value Ifc4x3_add1::IfcLightFixtureTypeEnum } Ifc4x3_add1::IfcLightFixtureTypeEnum::operator Ifc4x3_add1::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x3_add1::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcLiquidTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[613]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[613]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLiquidTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[613]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[613]); } /* -Ifc4x3_add1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value Ifc4x3_add1::IfcLiquidTerminalType } Ifc4x3_add1::IfcLiquidTerminalTypeEnum::operator Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value() const { - return (Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[614]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[614]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[614]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[614]); } /* -Ifc4x3_add1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x3_add1::IfcLoadGroupTypeEnum::Value Ifc4x3_add1::IfcLoadGroupTypeEnum::From } Ifc4x3_add1::IfcLoadGroupTypeEnum::operator Ifc4x3_add1::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x3_add1::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[617]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[617]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[617]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[617]); } /* -Ifc4x3_add1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x3_add1::IfcLogicalOperatorEnum::Value Ifc4x3_add1::IfcLogicalOperatorEnum:: } Ifc4x3_add1::IfcLogicalOperatorEnum::operator Ifc4x3_add1::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x3_add1::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcMarineFacilityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[630]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcMarineFacilityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[630]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMarineFacilityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[630]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMarineFacilityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[630]); } /* -Ifc4x3_add1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value Ifc4x3_add1::IfcMarineFacilityType } Ifc4x3_add1::IfcMarineFacilityTypeEnum::operator Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value() const { - return (Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcMarinePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[632]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcMarinePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[632]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMarinePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[632]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMarinePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[632]); } /* -Ifc4x3_add1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x3_add1::IfcMarinePartTypeEnum::Value Ifc4x3_add1::IfcMarinePartTypeEnum::Fr } Ifc4x3_add1::IfcMarinePartTypeEnum::operator Ifc4x3_add1::IfcMarinePartTypeEnum::Value() const { - return (Ifc4x3_add1::IfcMarinePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcMarinePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[661]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[661]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[661]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[661]); } /* -Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_add1::IfcMechanicalFast } Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::operator Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[664]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[664]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[664]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[664]); } /* -Ifc4x3_add1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value Ifc4x3_add1::IfcMedicalDeviceTypeEn } Ifc4x3_add1::IfcMedicalDeviceTypeEnum::operator Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[667]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[667]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[667]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[667]); } /* -Ifc4x3_add1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x3_add1::IfcMemberTypeEnum::Value Ifc4x3_add1::IfcMemberTypeEnum::FromString } Ifc4x3_add1::IfcMemberTypeEnum::operator Ifc4x3_add1::IfcMemberTypeEnum::Value() const { - return (Ifc4x3_add1::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[673]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[673]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[673]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[673]); } /* -Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_add1::If } Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::operator Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcMooringDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[689]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[689]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMooringDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[689]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[689]); } /* -Ifc4x3_add1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value Ifc4x3_add1::IfcMooringDeviceTypeEn } Ifc4x3_add1::IfcMooringDeviceTypeEnum::operator Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[692]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[692]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[692]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[692]); } /* -Ifc4x3_add1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value Ifc4x3_add1::IfcMotorConnectionTy } Ifc4x3_add1::IfcMotorConnectionTypeEnum::operator Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcNavigationElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[696]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcNavigationElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[696]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcNavigationElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[696]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcNavigationElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[696]); } /* -Ifc4x3_add1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x3_add1::IfcNavigationElementTypeEnum::Value Ifc4x3_add1::IfcNavigationEleme } Ifc4x3_add1::IfcNavigationElementTypeEnum::operator Ifc4x3_add1::IfcNavigationElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcNavigationElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcNavigationElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[703]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[703]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[703]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[703]); } /* -Ifc4x3_add1::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x3_add1::IfcObjectiveEnum::Value Ifc4x3_add1::IfcObjectiveEnum::FromString(c } Ifc4x3_add1::IfcObjectiveEnum::operator Ifc4x3_add1::IfcObjectiveEnum::Value() const { - return (Ifc4x3_add1::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[707]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[707]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[707]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[707]); } /* -Ifc4x3_add1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x3_add1::IfcOccupantTypeEnum::Value Ifc4x3_add1::IfcOccupantTypeEnum::FromSt } Ifc4x3_add1::IfcOccupantTypeEnum::operator Ifc4x3_add1::IfcOccupantTypeEnum::Value() const { - return (Ifc4x3_add1::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[714]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[714]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[714]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[714]); } /* -Ifc4x3_add1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x3_add1::IfcOpeningElementTypeEnum::Value Ifc4x3_add1::IfcOpeningElementType } Ifc4x3_add1::IfcOpeningElementTypeEnum::operator Ifc4x3_add1::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[722]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[722]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[722]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[722]); } /* -Ifc4x3_add1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x3_add1::IfcOutletTypeEnum::Value Ifc4x3_add1::IfcOutletTypeEnum::FromString } Ifc4x3_add1::IfcOutletTypeEnum::operator Ifc4x3_add1::IfcOutletTypeEnum::Value() const { - return (Ifc4x3_add1::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPavementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[729]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPavementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[729]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPavementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[729]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPavementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[729]); } /* -Ifc4x3_add1::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPavementTypeEnum::IfcPavementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x3_add1::IfcPavementTypeEnum::Value Ifc4x3_add1::IfcPavementTypeEnum::FromSt } Ifc4x3_add1::IfcPavementTypeEnum::operator Ifc4x3_add1::IfcPavementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcPavementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPavementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[732]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[732]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[732]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[732]); } /* -Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value Ifc4x3_add1::IfcPerformanceHis } Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::operator Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[733]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[733]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[733]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[733]); } /* -Ifc4x3_add1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value Ifc4x3_add1::IfcPermeableC } Ifc4x3_add1::IfcPermeableCoveringOperationEnum::operator Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[736]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[736]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[736]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[736]); } /* -Ifc4x3_add1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x3_add1::IfcPermitTypeEnum::Value Ifc4x3_add1::IfcPermitTypeEnum::FromString } Ifc4x3_add1::IfcPermitTypeEnum::operator Ifc4x3_add1::IfcPermitTypeEnum::Value() const { - return (Ifc4x3_add1::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[741]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[741]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[741]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[741]); } /* -Ifc4x3_add1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value Ifc4x3_add1::IfcPhysicalOrVirtualEn } Ifc4x3_add1::IfcPhysicalOrVirtualEnum::operator Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[745]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[745]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[745]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[745]); } /* -Ifc4x3_add1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x3_add1::IfcPileConstructionEnum::Value Ifc4x3_add1::IfcPileConstructionEnum } Ifc4x3_add1::IfcPileConstructionEnum::operator Ifc4x3_add1::IfcPileConstructionEnum::Value() const { - return (Ifc4x3_add1::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[747]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[747]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[747]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[747]); } /* -Ifc4x3_add1::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x3_add1::IfcPileTypeEnum::Value Ifc4x3_add1::IfcPileTypeEnum::FromString(con } Ifc4x3_add1::IfcPileTypeEnum::operator Ifc4x3_add1::IfcPileTypeEnum::Value() const { - return (Ifc4x3_add1::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[750]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[750]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[750]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[750]); } /* -Ifc4x3_add1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x3_add1::IfcPipeFittingTypeEnum::Value Ifc4x3_add1::IfcPipeFittingTypeEnum:: } Ifc4x3_add1::IfcPipeFittingTypeEnum::operator Ifc4x3_add1::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x3_add1::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[753]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[753]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[753]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[753]); } /* -Ifc4x3_add1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value Ifc4x3_add1::IfcPipeSegmentTypeEnum:: } Ifc4x3_add1::IfcPipeSegmentTypeEnum::operator Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[763]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[763]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[763]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[763]); } /* -Ifc4x3_add1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x3_add1::IfcPlateTypeEnum::Value Ifc4x3_add1::IfcPlateTypeEnum::FromString(c } Ifc4x3_add1::IfcPlateTypeEnum::operator Ifc4x3_add1::IfcPlateTypeEnum::Value() const { - return (Ifc4x3_add1::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[788]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[788]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[788]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[788]); } /* -Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_add1::IfcPrefe } Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[797]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[797]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[797]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[797]); } /* -Ifc4x3_add1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x3_add1::IfcProcedureTypeEnum::Value Ifc4x3_add1::IfcProcedureTypeEnum::From } Ifc4x3_add1::IfcProcedureTypeEnum::operator Ifc4x3_add1::IfcProcedureTypeEnum::Value() const { - return (Ifc4x3_add1::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[807]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[807]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[807]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[807]); } /* -Ifc4x3_add1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x3_add1::IfcProfileTypeEnum::Value Ifc4x3_add1::IfcProfileTypeEnum::FromStri } Ifc4x3_add1::IfcProfileTypeEnum::operator Ifc4x3_add1::IfcProfileTypeEnum::Value() const { - return (Ifc4x3_add1::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[815]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[815]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[815]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[815]); } /* -Ifc4x3_add1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x3_add1::IfcProjectOrderTypeEnum::Value Ifc4x3_add1::IfcProjectOrderTypeEnum } Ifc4x3_add1::IfcProjectOrderTypeEnum::operator Ifc4x3_add1::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x3_add1::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[810]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[810]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[810]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[810]); } /* -Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value Ifc4x3_add1::IfcProjectedOrTrue } Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::operator Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[812]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[812]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[812]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[812]); } /* -Ifc4x3_add1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x3_add1::IfcProjectionElementTypeEnum::Value Ifc4x3_add1::IfcProjectionEleme } Ifc4x3_add1::IfcProjectionElementTypeEnum::operator Ifc4x3_add1::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[830]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[830]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[830]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[830]); } /* -Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value Ifc4x3_add1::IfcPropertySetTe } Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::operator Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[838]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[838]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[838]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[838]); } /* -Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_add1::IfcProt } Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[840]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[840]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[840]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[840]); } /* -Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_add1::IfcProtectiveDevice } Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::operator Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[843]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[843]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[843]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[843]); } /* -Ifc4x3_add1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x3_add1::IfcPumpTypeEnum::Value Ifc4x3_add1::IfcPumpTypeEnum::FromString(con } Ifc4x3_add1::IfcPumpTypeEnum::operator Ifc4x3_add1::IfcPumpTypeEnum::Value() const { - return (Ifc4x3_add1::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRailTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[858]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRailTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[858]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRailTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[858]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRailTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[858]); } /* -Ifc4x3_add1::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRailTypeEnum::IfcRailTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRailTypeEnum::IfcRailTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x3_add1::IfcRailTypeEnum::Value Ifc4x3_add1::IfcRailTypeEnum::FromString(con } Ifc4x3_add1::IfcRailTypeEnum::operator Ifc4x3_add1::IfcRailTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRailTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRailTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[856]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[856]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[856]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[856]); } /* -Ifc4x3_add1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x3_add1::IfcRailingTypeEnum::Value Ifc4x3_add1::IfcRailingTypeEnum::FromStri } Ifc4x3_add1::IfcRailingTypeEnum::operator Ifc4x3_add1::IfcRailingTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRailwayPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[861]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRailwayPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[861]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRailwayPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[861]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRailwayPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[861]); } /* -Ifc4x3_add1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x3_add1::IfcRailwayPartTypeEnum::Value Ifc4x3_add1::IfcRailwayPartTypeEnum:: } Ifc4x3_add1::IfcRailwayPartTypeEnum::operator Ifc4x3_add1::IfcRailwayPartTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRailwayPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRailwayPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRailwayTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[862]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRailwayTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[862]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRailwayTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[862]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRailwayTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[862]); } /* -Ifc4x3_add1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x3_add1::IfcRailwayTypeEnum::Value Ifc4x3_add1::IfcRailwayTypeEnum::FromStri } Ifc4x3_add1::IfcRailwayTypeEnum::operator Ifc4x3_add1::IfcRailwayTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRailwayTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRailwayTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[866]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[866]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[866]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[866]); } /* -Ifc4x3_add1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x3_add1::IfcRampFlightTypeEnum::Value Ifc4x3_add1::IfcRampFlightTypeEnum::Fr } Ifc4x3_add1::IfcRampFlightTypeEnum::operator Ifc4x3_add1::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[868]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[868]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[868]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[868]); } /* -Ifc4x3_add1::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x3_add1::IfcRampTypeEnum::Value Ifc4x3_add1::IfcRampTypeEnum::FromString(con } Ifc4x3_add1::IfcRampTypeEnum::operator Ifc4x3_add1::IfcRampTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[878]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[878]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[878]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[878]); } /* -Ifc4x3_add1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x3_add1::IfcRecurrenceTypeEnum::Value Ifc4x3_add1::IfcRecurrenceTypeEnum::Fr } Ifc4x3_add1::IfcRecurrenceTypeEnum::operator Ifc4x3_add1::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[881]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[881]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[881]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[881]); } /* -Ifc4x3_add1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x3_add1::IfcReferentTypeEnum::Value Ifc4x3_add1::IfcReferentTypeEnum::FromSt } Ifc4x3_add1::IfcReferentTypeEnum::operator Ifc4x3_add1::IfcReferentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[882]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[882]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[882]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[882]); } /* -Ifc4x3_add1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x3_add1::IfcReflectanceMethodEnum::Value Ifc4x3_add1::IfcReflectanceMethodEn } Ifc4x3_add1::IfcReflectanceMethodEnum::operator Ifc4x3_add1::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x3_add1::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcedSoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[885]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[885]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcedSoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[885]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[885]); } /* -Ifc4x3_add1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value Ifc4x3_add1::IfcReinforcedSoilType } Ifc4x3_add1::IfcReinforcedSoilTypeEnum::operator Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value() const { - return (Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[889]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[889]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[889]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[889]); } /* -Ifc4x3_add1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value Ifc4x3_add1::IfcReinforcingBarRole } Ifc4x3_add1::IfcReinforcingBarRoleEnum::operator Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[890]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[890]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[890]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[890]); } /* -Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value Ifc4x3_add1::IfcReinforcingBarS } Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::operator Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[892]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[892]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[892]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[892]); } /* -Ifc4x3_add1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value Ifc4x3_add1::IfcReinforcingBarType } Ifc4x3_add1::IfcReinforcingBarTypeEnum::operator Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[897]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[897]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[897]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[897]); } /* -Ifc4x3_add1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value Ifc4x3_add1::IfcReinforcingMeshTy } Ifc4x3_add1::IfcReinforcingMeshTypeEnum::operator Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRoadPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[968]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRoadPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[968]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRoadPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[968]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRoadPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[968]); } /* -Ifc4x3_add1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x3_add1::IfcRoadPartTypeEnum::Value Ifc4x3_add1::IfcRoadPartTypeEnum::FromSt } Ifc4x3_add1::IfcRoadPartTypeEnum::operator Ifc4x3_add1::IfcRoadPartTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRoadPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRoadPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRoadTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[969]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRoadTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[969]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRoadTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[969]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRoadTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[969]); } /* -Ifc4x3_add1::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRoadTypeEnum::IfcRoadTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x3_add1::IfcRoadTypeEnum::Value Ifc4x3_add1::IfcRoadTypeEnum::FromString(con } Ifc4x3_add1::IfcRoadTypeEnum::operator Ifc4x3_add1::IfcRoadTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRoadTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRoadTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[970]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[970]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[970]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[970]); } /* -Ifc4x3_add1::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x3_add1::IfcRoleEnum::Value Ifc4x3_add1::IfcRoleEnum::FromString(const std:: } Ifc4x3_add1::IfcRoleEnum::operator Ifc4x3_add1::IfcRoleEnum::Value() const { - return (Ifc4x3_add1::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[973]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[973]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[973]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[973]); } /* -Ifc4x3_add1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x3_add1::IfcRoofTypeEnum::Value Ifc4x3_add1::IfcRoofTypeEnum::FromString(con } Ifc4x3_add1::IfcRoofTypeEnum::operator Ifc4x3_add1::IfcRoofTypeEnum::Value() const { - return (Ifc4x3_add1::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1023]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1023]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1023]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1023]); } /* -Ifc4x3_add1::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x3_add1::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x3_add1::IfcSIPrefix::Value Ifc4x3_add1::IfcSIPrefix::FromString(const std:: } Ifc4x3_add1::IfcSIPrefix::operator Ifc4x3_add1::IfcSIPrefix::Value() const { - return (Ifc4x3_add1::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1026]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1026]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1026]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1026]); } /* -Ifc4x3_add1::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x3_add1::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x3_add1::IfcSIUnitName::Value Ifc4x3_add1::IfcSIUnitName::FromString(const s } Ifc4x3_add1::IfcSIUnitName::operator Ifc4x3_add1::IfcSIUnitName::Value() const { - return (Ifc4x3_add1::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[982]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[982]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[982]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[982]); } /* -Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_add1::IfcSanitaryTerminal } Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::operator Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[994]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[994]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[994]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[994]); } /* -Ifc4x3_add1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x3_add1::IfcSectionTypeEnum::Value Ifc4x3_add1::IfcSectionTypeEnum::FromStri } Ifc4x3_add1::IfcSectionTypeEnum::operator Ifc4x3_add1::IfcSectionTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1000]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1000]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1000]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1000]); } /* -Ifc4x3_add1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x3_add1::IfcSensorTypeEnum::Value Ifc4x3_add1::IfcSensorTypeEnum::FromString } Ifc4x3_add1::IfcSensorTypeEnum::operator Ifc4x3_add1::IfcSensorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1001]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1001]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1001]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1001]); } /* -Ifc4x3_add1::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x3_add1::IfcSequenceEnum::Value Ifc4x3_add1::IfcSequenceEnum::FromString(con } Ifc4x3_add1::IfcSequenceEnum::operator Ifc4x3_add1::IfcSequenceEnum::Value() const { - return (Ifc4x3_add1::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1005]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1005]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1005]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1005]); } /* -Ifc4x3_add1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value Ifc4x3_add1::IfcShadingDeviceTypeEn } Ifc4x3_add1::IfcShadingDeviceTypeEnum::operator Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSignTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1017]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSignTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1017]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSignTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1017]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSignTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1017]); } /* -Ifc4x3_add1::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSignTypeEnum::IfcSignTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSignTypeEnum::IfcSignTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x3_add1::IfcSignTypeEnum::Value Ifc4x3_add1::IfcSignTypeEnum::FromString(con } Ifc4x3_add1::IfcSignTypeEnum::operator Ifc4x3_add1::IfcSignTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSignTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSignTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSignalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1015]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSignalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1015]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSignalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1015]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSignalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1015]); } /* -Ifc4x3_add1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSignalTypeEnum::IfcSignalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x3_add1::IfcSignalTypeEnum::Value Ifc4x3_add1::IfcSignalTypeEnum::FromString } Ifc4x3_add1::IfcSignalTypeEnum::operator Ifc4x3_add1::IfcSignalTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSignalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSignalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1020]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1020]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1020]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1020]); } /* -Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x3_add1::IfcSimpleProp } Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1030]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1030]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1030]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1030]); } /* -Ifc4x3_add1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x3_add1::IfcSlabTypeEnum::Value Ifc4x3_add1::IfcSlabTypeEnum::FromString(con } Ifc4x3_add1::IfcSlabTypeEnum::operator Ifc4x3_add1::IfcSlabTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1034]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1034]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1034]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1034]); } /* -Ifc4x3_add1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value Ifc4x3_add1::IfcSolarDeviceTypeEnum:: } Ifc4x3_add1::IfcSolarDeviceTypeEnum::operator Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1046]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1046]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1046]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1046]); } /* -Ifc4x3_add1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value Ifc4x3_add1::IfcSpaceHeaterTypeEnum:: } Ifc4x3_add1::IfcSpaceHeaterTypeEnum::operator Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1048]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1048]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1048]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1048]); } /* -Ifc4x3_add1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x3_add1::IfcSpaceTypeEnum::Value Ifc4x3_add1::IfcSpaceTypeEnum::FromString(c } Ifc4x3_add1::IfcSpaceTypeEnum::operator Ifc4x3_add1::IfcSpaceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1056]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1056]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1056]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1056]); } /* -Ifc4x3_add1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value Ifc4x3_add1::IfcSpatialZoneTypeEnum:: } Ifc4x3_add1::IfcSpatialZoneTypeEnum::operator Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1066]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1066]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1066]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1066]); } /* -Ifc4x3_add1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x3_add1::IfcStackTerminalTypeEnum::Value Ifc4x3_add1::IfcStackTerminalTypeEn } Ifc4x3_add1::IfcStackTerminalTypeEnum::operator Ifc4x3_add1::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x3_add1::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1070]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1070]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1070]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1070]); } /* -Ifc4x3_add1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x3_add1::IfcStairFlightTypeEnum::Value Ifc4x3_add1::IfcStairFlightTypeEnum:: } Ifc4x3_add1::IfcStairFlightTypeEnum::operator Ifc4x3_add1::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x3_add1::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1072]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1072]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1072]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1072]); } /* -Ifc4x3_add1::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x3_add1::IfcStairTypeEnum::Value Ifc4x3_add1::IfcStairTypeEnum::FromString(c } Ifc4x3_add1::IfcStairTypeEnum::operator Ifc4x3_add1::IfcStairTypeEnum::Value() const { - return (Ifc4x3_add1::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1073]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1073]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1073]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1073]); } /* -Ifc4x3_add1::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x3_add1::IfcStateEnum::Value Ifc4x3_add1::IfcStateEnum::FromString(const std } Ifc4x3_add1::IfcStateEnum::operator Ifc4x3_add1::IfcStateEnum::Value() const { - return (Ifc4x3_add1::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1082]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1082]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1082]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1082]); } /* -Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_add1::IfcStructura } Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::operator Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1085]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1085]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1085]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1085]); } /* -Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_add1::IfcStructuralC } Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::operator Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1111]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1111]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1111]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1111]); } /* -Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_add1::IfcStructu } Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1114]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1114]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1114]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1114]); } /* -Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_add1::IfcStructura } Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1122]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1122]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1122]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1122]); } /* -Ifc4x3_add1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value Ifc4x3_add1::IfcSubContractRe } Ifc4x3_add1::IfcSubContractResourceTypeEnum::operator Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1128]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1128]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1128]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1128]); } /* -Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value Ifc4x3_add1::IfcSurfaceFeatureType } Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::operator Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1133]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1133]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1133]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1133]); } /* -Ifc4x3_add1::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x3_add1::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x3_add1::IfcSurfaceSide::Value Ifc4x3_add1::IfcSurfaceSide::FromString(const } Ifc4x3_add1::IfcSurfaceSide::operator Ifc4x3_add1::IfcSurfaceSide::Value() const { - return (Ifc4x3_add1::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1148]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1148]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1148]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1148]); } /* -Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,23 +6126,23 @@ Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_add1::IfcSwitchingDeviceTy } Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::operator Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1152]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1152]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1152]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1152]); } /* -Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6155,23 +6155,23 @@ Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value Ifc4x3_add1::IfcSystemFurn } Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::operator Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1158]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1158]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1158]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1158]); } /* -Ifc4x3_add1::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6184,23 +6184,23 @@ Ifc4x3_add1::IfcTankTypeEnum::Value Ifc4x3_add1::IfcTankTypeEnum::FromString(con } Ifc4x3_add1::IfcTankTypeEnum::operator Ifc4x3_add1::IfcTankTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1160]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1160]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1160]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1160]); } /* -Ifc4x3_add1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6213,23 +6213,23 @@ Ifc4x3_add1::IfcTaskDurationEnum::Value Ifc4x3_add1::IfcTaskDurationEnum::FromSt } Ifc4x3_add1::IfcTaskDurationEnum::operator Ifc4x3_add1::IfcTaskDurationEnum::Value() const { - return (Ifc4x3_add1::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1164]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1164]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1164]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1164]); } /* -Ifc4x3_add1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6242,23 +6242,23 @@ Ifc4x3_add1::IfcTaskTypeEnum::Value Ifc4x3_add1::IfcTaskTypeEnum::FromString(con } Ifc4x3_add1::IfcTaskTypeEnum::operator Ifc4x3_add1::IfcTaskTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1171]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1171]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1171]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1171]); } /* -Ifc4x3_add1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6271,23 +6271,23 @@ Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value Ifc4x3_add1::IfcTendonAnchorTypeEnum } Ifc4x3_add1::IfcTendonAnchorTypeEnum::operator Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTendonConduitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1174]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTendonConduitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1174]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1174]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1174]); } /* -Ifc4x3_add1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6300,23 +6300,23 @@ Ifc4x3_add1::IfcTendonConduitTypeEnum::Value Ifc4x3_add1::IfcTendonConduitTypeEn } Ifc4x3_add1::IfcTendonConduitTypeEnum::operator Ifc4x3_add1::IfcTendonConduitTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTendonConduitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1176]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1176]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1176]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1176]); } /* -Ifc4x3_add1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6329,23 +6329,23 @@ Ifc4x3_add1::IfcTendonTypeEnum::Value Ifc4x3_add1::IfcTendonTypeEnum::FromString } Ifc4x3_add1::IfcTendonTypeEnum::operator Ifc4x3_add1::IfcTendonTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1186]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1186]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1186]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1186]); } /* -Ifc4x3_add1::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x3_add1::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6358,23 +6358,23 @@ Ifc4x3_add1::IfcTextPath::Value Ifc4x3_add1::IfcTextPath::FromString(const std:: } Ifc4x3_add1::IfcTextPath::operator Ifc4x3_add1::IfcTextPath::Value() const { - return (Ifc4x3_add1::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1211]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1211]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1211]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1211]); } /* -Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6387,23 +6387,23 @@ Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_add1::IfcTimeSeriesDataType } Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::operator Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTrackElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1220]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTrackElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1220]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTrackElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1220]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTrackElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1220]); } /* -Ifc4x3_add1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6416,23 +6416,23 @@ Ifc4x3_add1::IfcTrackElementTypeEnum::Value Ifc4x3_add1::IfcTrackElementTypeEnum } Ifc4x3_add1::IfcTrackElementTypeEnum::operator Ifc4x3_add1::IfcTrackElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTrackElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTrackElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1223]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1223]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1223]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1223]); } /* -Ifc4x3_add1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6445,23 +6445,23 @@ Ifc4x3_add1::IfcTransformerTypeEnum::Value Ifc4x3_add1::IfcTransformerTypeEnum:: } Ifc4x3_add1::IfcTransformerTypeEnum::operator Ifc4x3_add1::IfcTransformerTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1224]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1224]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1224]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1224]); } /* -Ifc4x3_add1::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x3_add1::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6474,23 +6474,23 @@ Ifc4x3_add1::IfcTransitionCode::Value Ifc4x3_add1::IfcTransitionCode::FromString } Ifc4x3_add1::IfcTransitionCode::operator Ifc4x3_add1::IfcTransitionCode::Value() const { - return (Ifc4x3_add1::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTransportElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1230]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTransportElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1230]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTransportElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1230]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTransportElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1230]); } /* -Ifc4x3_add1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6503,23 +6503,23 @@ Ifc4x3_add1::IfcTransportElementTypeEnum::Value Ifc4x3_add1::IfcTransportElement } Ifc4x3_add1::IfcTransportElementTypeEnum::operator Ifc4x3_add1::IfcTransportElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTransportElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTransportElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1235]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1235]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1235]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1235]); } /* -Ifc4x3_add1::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x3_add1::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6532,23 +6532,23 @@ Ifc4x3_add1::IfcTrimmingPreference::Value Ifc4x3_add1::IfcTrimmingPreference::Fr } Ifc4x3_add1::IfcTrimmingPreference::operator Ifc4x3_add1::IfcTrimmingPreference::Value() const { - return (Ifc4x3_add1::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1240]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1240]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1240]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1240]); } /* -Ifc4x3_add1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6561,23 +6561,23 @@ Ifc4x3_add1::IfcTubeBundleTypeEnum::Value Ifc4x3_add1::IfcTubeBundleTypeEnum::Fr } Ifc4x3_add1::IfcTubeBundleTypeEnum::operator Ifc4x3_add1::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x3_add1::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1253]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1253]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1253]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1253]); } /* -Ifc4x3_add1::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6590,23 +6590,23 @@ Ifc4x3_add1::IfcUnitEnum::Value Ifc4x3_add1::IfcUnitEnum::FromString(const std:: } Ifc4x3_add1::IfcUnitEnum::operator Ifc4x3_add1::IfcUnitEnum::Value() const { - return (Ifc4x3_add1::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1248]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1248]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1248]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1248]); } /* -Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6619,23 +6619,23 @@ Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_add1::IfcUnitaryCont } Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::operator Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1251]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1251]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1251]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1251]); } /* -Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6648,23 +6648,23 @@ Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_add1::IfcUnitaryEquipment } Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::operator Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1259]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1259]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1259]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1259]); } /* -Ifc4x3_add1::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6677,23 +6677,23 @@ Ifc4x3_add1::IfcValveTypeEnum::Value Ifc4x3_add1::IfcValveTypeEnum::FromString(c } Ifc4x3_add1::IfcValveTypeEnum::operator Ifc4x3_add1::IfcValveTypeEnum::Value() const { - return (Ifc4x3_add1::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcVehicleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1265]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcVehicleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1265]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVehicleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1265]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVehicleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1265]); } /* -Ifc4x3_add1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6706,23 +6706,23 @@ Ifc4x3_add1::IfcVehicleTypeEnum::Value Ifc4x3_add1::IfcVehicleTypeEnum::FromStri } Ifc4x3_add1::IfcVehicleTypeEnum::operator Ifc4x3_add1::IfcVehicleTypeEnum::Value() const { - return (Ifc4x3_add1::IfcVehicleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcVehicleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcVibrationDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1271]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1271]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1271]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1271]); } /* -Ifc4x3_add1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6735,23 +6735,23 @@ Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value Ifc4x3_add1::IfcVibrationDamperTy } Ifc4x3_add1::IfcVibrationDamperTypeEnum::operator Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value() const { - return (Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1274]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1274]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1274]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1274]); } /* -Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6764,23 +6764,23 @@ Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_add1::IfcVibrationIsolat } Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::operator Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcVirtualElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1276]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcVirtualElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1276]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVirtualElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1276]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVirtualElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1276]); } /* -Ifc4x3_add1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6793,23 +6793,23 @@ Ifc4x3_add1::IfcVirtualElementTypeEnum::Value Ifc4x3_add1::IfcVirtualElementType } Ifc4x3_add1::IfcVirtualElementTypeEnum::operator Ifc4x3_add1::IfcVirtualElementTypeEnum::Value() const { - return (Ifc4x3_add1::IfcVirtualElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcVirtualElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1279]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1279]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1279]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1279]); } /* -Ifc4x3_add1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6822,23 +6822,23 @@ Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value Ifc4x3_add1::IfcVoidingFeatureType } Ifc4x3_add1::IfcVoidingFeatureTypeEnum::operator Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1285]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1285]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1285]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1285]); } /* -Ifc4x3_add1::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6851,23 +6851,23 @@ Ifc4x3_add1::IfcWallTypeEnum::Value Ifc4x3_add1::IfcWallTypeEnum::FromString(con } Ifc4x3_add1::IfcWallTypeEnum::operator Ifc4x3_add1::IfcWallTypeEnum::Value() const { - return (Ifc4x3_add1::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1291]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1291]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1291]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1291]); } /* -Ifc4x3_add1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6880,23 +6880,23 @@ Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value Ifc4x3_add1::IfcWasteTerminalTypeEn } Ifc4x3_add1::IfcWasteTerminalTypeEnum::operator Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1296]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1296]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1296]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1296]); } /* -Ifc4x3_add1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6909,23 +6909,23 @@ Ifc4x3_add1::IfcWindowPanelOperationEnum::Value Ifc4x3_add1::IfcWindowPanelOpera } Ifc4x3_add1::IfcWindowPanelOperationEnum::operator Ifc4x3_add1::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x3_add1::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1297]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1297]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1297]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1297]); } /* -Ifc4x3_add1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6938,23 +6938,23 @@ Ifc4x3_add1::IfcWindowPanelPositionEnum::Value Ifc4x3_add1::IfcWindowPanelPositi } Ifc4x3_add1::IfcWindowPanelPositionEnum::operator Ifc4x3_add1::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x3_add1::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1300]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1300]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1300]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1300]); } /* -Ifc4x3_add1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6967,23 +6967,23 @@ Ifc4x3_add1::IfcWindowTypeEnum::Value Ifc4x3_add1::IfcWindowTypeEnum::FromString } Ifc4x3_add1::IfcWindowTypeEnum::operator Ifc4x3_add1::IfcWindowTypeEnum::Value() const { - return (Ifc4x3_add1::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1301]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1301]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1301]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1301]); } /* -Ifc4x3_add1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6996,23 +6996,23 @@ Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value Ifc4x3_add1::IfcWindowTypePart } Ifc4x3_add1::IfcWindowTypePartitioningEnum::operator Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1303]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1303]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1303]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1303]); } /* -Ifc4x3_add1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7025,23 +7025,23 @@ Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value Ifc4x3_add1::IfcWorkCalendarTypeEnum } Ifc4x3_add1::IfcWorkCalendarTypeEnum::operator Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1306]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1306]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1306]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1306]); } /* -Ifc4x3_add1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7054,23 +7054,23 @@ Ifc4x3_add1::IfcWorkPlanTypeEnum::Value Ifc4x3_add1::IfcWorkPlanTypeEnum::FromSt } Ifc4x3_add1::IfcWorkPlanTypeEnum::operator Ifc4x3_add1::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x3_add1::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add1::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1308]); } -const IfcParse::enumeration_type& Ifc4x3_add1::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD1_types[1308]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1308]); } +const ifcopenshell::enumeration_type& Ifc4x3_add1::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD1_types[1308]); } /* -Ifc4x3_add1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_add1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7083,861 +7083,861 @@ Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value Ifc4x3_add1::IfcWorkScheduleTypeEnum } Ifc4x3_add1::IfcWorkScheduleTypeEnum::operator Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x3_add1::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[8]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[8]); } -const IfcParse::select_type& Ifc4x3_add1::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[51]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[51]); } -const IfcParse::select_type& Ifc4x3_add1::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[68]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[68]); } -const IfcParse::select_type& Ifc4x3_add1::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[79]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[79]); } -const IfcParse::select_type& Ifc4x3_add1::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[88]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[88]); } -const IfcParse::select_type& Ifc4x3_add1::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[170]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[170]); } -const IfcParse::select_type& Ifc4x3_add1::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[171]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[171]); } -const IfcParse::select_type& Ifc4x3_add1::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[177]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[177]); } -const IfcParse::select_type& Ifc4x3_add1::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[178]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[178]); } -const IfcParse::select_type& Ifc4x3_add1::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[245]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[245]); } -const IfcParse::select_type& Ifc4x3_add1::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[263]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[263]); } -const IfcParse::select_type& Ifc4x3_add1::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[274]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[274]); } -const IfcParse::select_type& Ifc4x3_add1::IfcCurveMeasureSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[276]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcCurveMeasureSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[276]); } -const IfcParse::select_type& Ifc4x3_add1::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[277]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[277]); } -const IfcParse::select_type& Ifc4x3_add1::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[278]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[278]); } -const IfcParse::select_type& Ifc4x3_add1::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[284]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[284]); } -const IfcParse::select_type& Ifc4x3_add1::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[296]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[296]); } -const IfcParse::select_type& Ifc4x3_add1::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[297]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[297]); } -const IfcParse::select_type& Ifc4x3_add1::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[333]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[333]); } -const IfcParse::select_type& Ifc4x3_add1::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[458]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[458]); } -const IfcParse::select_type& Ifc4x3_add1::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[510]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[510]); } -const IfcParse::select_type& Ifc4x3_add1::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[523]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[523]); } -const IfcParse::select_type& Ifc4x3_add1::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[527]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[527]); } -const IfcParse::select_type& Ifc4x3_add1::IfcInterferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[555]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcInterferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[555]); } -const IfcParse::select_type& Ifc4x3_add1::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[582]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[582]); } -const IfcParse::select_type& Ifc4x3_add1::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[587]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[587]); } -const IfcParse::select_type& Ifc4x3_add1::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[590]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[590]); } -const IfcParse::select_type& Ifc4x3_add1::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[655]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[655]); } -const IfcParse::select_type& Ifc4x3_add1::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[657]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[657]); } -const IfcParse::select_type& Ifc4x3_add1::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[669]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[669]); } -const IfcParse::select_type& Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[677]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[677]); } -const IfcParse::select_type& Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[679]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[679]); } -const IfcParse::select_type& Ifc4x3_add1::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[680]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[680]); } -const IfcParse::select_type& Ifc4x3_add1::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[705]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[705]); } -const IfcParse::select_type& Ifc4x3_add1::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[768]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[768]); } -const IfcParse::select_type& Ifc4x3_add1::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[799]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[799]); } -const IfcParse::select_type& Ifc4x3_add1::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[803]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[803]); } -const IfcParse::select_type& Ifc4x3_add1::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[804]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[804]); } -const IfcParse::select_type& Ifc4x3_add1::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[827]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[827]); } -const IfcParse::select_type& Ifc4x3_add1::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[958]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[958]); } -const IfcParse::select_type& Ifc4x3_add1::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[959]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[959]); } -const IfcParse::select_type& Ifc4x3_add1::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[978]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[978]); } -const IfcParse::select_type& Ifc4x3_add1::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[997]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[997]); } -const IfcParse::select_type& Ifc4x3_add1::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1010]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1010]); } -const IfcParse::select_type& Ifc4x3_add1::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1021]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1021]); } -const IfcParse::select_type& Ifc4x3_add1::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1027]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1027]); } -const IfcParse::select_type& Ifc4x3_add1::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1037]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1037]); } -const IfcParse::select_type& Ifc4x3_add1::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1043]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1043]); } -const IfcParse::select_type& Ifc4x3_add1::IfcSpatialReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1051]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcSpatialReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1051]); } -const IfcParse::select_type& Ifc4x3_add1::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1059]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1059]); } -const IfcParse::select_type& Ifc4x3_add1::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1077]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1077]); } -const IfcParse::select_type& Ifc4x3_add1::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1131]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1131]); } -const IfcParse::select_type& Ifc4x3_add1::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1135]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1135]); } -const IfcParse::select_type& Ifc4x3_add1::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1183]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1183]); } -const IfcParse::select_type& Ifc4x3_add1::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1208]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1208]); } -const IfcParse::select_type& Ifc4x3_add1::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1225]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1225]); } -const IfcParse::select_type& Ifc4x3_add1::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1236]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1236]); } -const IfcParse::select_type& Ifc4x3_add1::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1245]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1245]); } -const IfcParse::select_type& Ifc4x3_add1::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1256]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1256]); } -const IfcParse::select_type& Ifc4x3_add1::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1262]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1262]); } -const IfcParse::select_type& Ifc4x3_add1::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD1_types[1288]); } +const ifcopenshell::select_type& Ifc4x3_add1::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD1_types[1288]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[0]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[0]); } void Ifc4x3_add1::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1]); } void Ifc4x3_add1::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[42]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[42]); } void Ifc4x3_add1::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[45]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[45]); } void Ifc4x3_add1::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x3_add1::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[57]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[57]); } void Ifc4x3_add1::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[58]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[58]); } void Ifc4x3_add1::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[59]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[59]); } void Ifc4x3_add1::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x3_add1::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[80]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[80]); } void Ifc4x3_add1::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x3_add1::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[86]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[86]); } void Ifc4x3_add1::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x3_add1::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[101]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[101]); } void Ifc4x3_add1::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x3_add1::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[145]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[145]); } void Ifc4x3_add1::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x3_add1::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[188]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[188]); } void Ifc4x3_add1::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[196]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[196]); } void Ifc4x3_add1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[226]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[226]); } void Ifc4x3_add1::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[252]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[252]); } void Ifc4x3_add1::IfcCountMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcCountMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[270]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[270]); } void Ifc4x3_add1::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x3_add1::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[290]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[290]); } void Ifc4x3_add1::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x3_add1::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[291]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[291]); } void Ifc4x3_add1::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x3_add1::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[292]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[292]); } void Ifc4x3_add1::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x3_add1::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[293]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[293]); } void Ifc4x3_add1::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[302]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[302]); } void Ifc4x3_add1::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x3_add1::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[304]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[304]); } void Ifc4x3_add1::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[343]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[343]); } void Ifc4x3_add1::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x3_add1::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[355]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[355]); } void Ifc4x3_add1::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[356]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[356]); } void Ifc4x3_add1::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[368]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[368]); } void Ifc4x3_add1::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[369]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[369]); } void Ifc4x3_add1::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[370]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[370]); } void Ifc4x3_add1::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[371]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[371]); } void Ifc4x3_add1::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[387]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[387]); } void Ifc4x3_add1::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[391]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[391]); } void Ifc4x3_add1::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[406]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[406]); } void Ifc4x3_add1::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x3_add1::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[487]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[487]); } void Ifc4x3_add1::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x3_add1::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[488]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[488]); } void Ifc4x3_add1::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x3_add1::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[489]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[489]); } void Ifc4x3_add1::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[493]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[493]); } void Ifc4x3_add1::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[494]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[494]); } void Ifc4x3_add1::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x3_add1::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[517]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[517]); } void Ifc4x3_add1::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[531]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[531]); } void Ifc4x3_add1::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[532]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[532]); } void Ifc4x3_add1::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x3_add1::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[536]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[536]); } void Ifc4x3_add1::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[537]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[537]); } void Ifc4x3_add1::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[549]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[549]); } void Ifc4x3_add1::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x3_add1::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[550]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[550]); } void Ifc4x3_add1::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[551]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[551]); } void Ifc4x3_add1::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[560]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[560]); } void Ifc4x3_add1::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[564]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[564]); } void Ifc4x3_add1::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[571]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[571]); } void Ifc4x3_add1::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x3_add1::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[573]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[573]); } void Ifc4x3_add1::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x3_add1::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[581]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[581]); } void Ifc4x3_add1::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[584]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[584]); } void Ifc4x3_add1::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x3_add1::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[610]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[610]); } void Ifc4x3_add1::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[604]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[604]); } void Ifc4x3_add1::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[605]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[605]); } void Ifc4x3_add1::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[608]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[608]); } void Ifc4x3_add1::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[609]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[609]); } void Ifc4x3_add1::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x3_add1::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[616]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[616]); } void Ifc4x3_add1::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[620]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[620]); } void Ifc4x3_add1::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[621]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[621]); } void Ifc4x3_add1::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[622]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[622]); } void Ifc4x3_add1::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[623]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[623]); } void Ifc4x3_add1::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[624]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[624]); } void Ifc4x3_add1::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[633]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[633]); } void Ifc4x3_add1::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[634]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[634]); } void Ifc4x3_add1::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[635]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[635]); } void Ifc4x3_add1::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[636]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[636]); } void Ifc4x3_add1::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[674]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[674]); } void Ifc4x3_add1::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[675]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[675]); } void Ifc4x3_add1::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[676]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[676]); } void Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[678]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[678]); } void Ifc4x3_add1::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[681]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[681]); } void Ifc4x3_add1::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[682]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[682]); } void Ifc4x3_add1::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[683]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[683]); } void Ifc4x3_add1::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[684]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[684]); } void Ifc4x3_add1::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x3_add1::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[686]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[686]); } void Ifc4x3_add1::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[697]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[697]); } void Ifc4x3_add1::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[698]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[698]); } void Ifc4x3_add1::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[699]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[699]); } void Ifc4x3_add1::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[739]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[739]); } void Ifc4x3_add1::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x3_add1::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[725]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[725]); } void Ifc4x3_add1::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[758]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[758]); } void Ifc4x3_add1::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[760]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[760]); } void Ifc4x3_add1::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x3_add1::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[776]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[776]); } void Ifc4x3_add1::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[777]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[777]); } void Ifc4x3_add1::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[778]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[778]); } void Ifc4x3_add1::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[779]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[779]); } void Ifc4x3_add1::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[781]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[781]); } void Ifc4x3_add1::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x3_add1::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[789]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[789]); } void Ifc4x3_add1::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[794]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[794]); } void Ifc4x3_add1::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x3_add1::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[828]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[828]); } void Ifc4x3_add1::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x3_add1::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[852]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[852]); } void Ifc4x3_add1::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[869]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[869]); } void Ifc4x3_add1::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x3_add1::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[872]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[872]); } void Ifc4x3_add1::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[975]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[975]); } void Ifc4x3_add1::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[976]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[976]); } void Ifc4x3_add1::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[977]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[977]); } void Ifc4x3_add1::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[991]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[991]); } void Ifc4x3_add1::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[986]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[986]); } void Ifc4x3_add1::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1009]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1009]); } void Ifc4x3_add1::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1035]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1035]); } void Ifc4x3_add1::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1038]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1038]); } void Ifc4x3_add1::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1039]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1039]); } void Ifc4x3_add1::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1040]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1040]); } void Ifc4x3_add1::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1041]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1041]); } void Ifc4x3_add1::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1057]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1057]); } void Ifc4x3_add1::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x3_add1::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1058]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1058]); } void Ifc4x3_add1::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x3_add1::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1060]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1060]); } void Ifc4x3_add1::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcStrippedOptional -const IfcParse::type_declaration& Ifc4x3_add1::IfcStrippedOptional::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1074]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcStrippedOptional::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1074]); } void Ifc4x3_add1::IfcStrippedOptional::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcStrippedOptional::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1166]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1166]); } void Ifc4x3_add1::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1167]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1167]); } void Ifc4x3_add1::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x3_add1::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1179]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1179]); } void Ifc4x3_add1::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x3_add1::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1180]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1180]); } void Ifc4x3_add1::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x3_add1::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1181]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1181]); } void Ifc4x3_add1::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x3_add1::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1182]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1182]); } void Ifc4x3_add1::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x3_add1::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1191]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1191]); } void Ifc4x3_add1::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1199]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1199]); } void Ifc4x3_add1::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1200]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1200]); } void Ifc4x3_add1::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1201]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1201]); } void Ifc4x3_add1::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1202]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1202]); } void Ifc4x3_add1::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1203]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1203]); } void Ifc4x3_add1::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1204]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1204]); } void Ifc4x3_add1::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x3_add1::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1206]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1206]); } void Ifc4x3_add1::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1207]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1207]); } void Ifc4x3_add1::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x3_add1::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1213]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1213]); } void Ifc4x3_add1::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1217]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1217]); } void Ifc4x3_add1::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x3_add1::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1254]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1254]); } void Ifc4x3_add1::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1260]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1260]); } void Ifc4x3_add1::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1280]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1280]); } void Ifc4x3_add1::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1281]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1281]); } void Ifc4x3_add1::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1286]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1286]); } void Ifc4x3_add1::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x3_add1::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1287]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1287]); } void Ifc4x3_add1::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWellKnownTextLiteral -const IfcParse::type_declaration& Ifc4x3_add1::IfcWellKnownTextLiteral::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD1_types[1293]); } +const ifcopenshell::type_declaration& Ifc4x3_add1::IfcWellKnownTextLiteral::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD1_types[1293]); } void Ifc4x3_add1::IfcWellKnownTextLiteral::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add1::IfcWellKnownTextLiteral::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x3_add1::IfcActionRequestTypeEnum::Value > Ifc4x3_add1::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add1::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add1::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add1::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add1::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_add1::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add1::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[2]); } -void Ifc4x3_add1::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[2]); } +void Ifc4x3_add1::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4x3_add1::IfcActorSelect Ifc4x3_add1::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add1::IfcActorSelect>(); } void Ifc4x3_add1::IfcActor::setTheActor(const ::Ifc4x3_add1::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_add1::IfcRelAssignsToActor> Ifc4x3_add1::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[901], 6)); } +std::vector<::Ifc4x3_add1::IfcRelAssignsToActor> Ifc4x3_add1::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[901], 6)); } -const IfcParse::entity& Ifc4x3_add1::IfcActor::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[6]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[6]); } void Ifc4x3_add1::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x3_add1::IfcRoleEnum::Value Ifc4x3_add1::IfcActorRole::Role() const { return ::Ifc4x3_add1::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add1::IfcActorRole::setRole(const ::Ifc4x3_add1::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add1::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add1::IfcActorRole::setRole(const ::Ifc4x3_add1::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add1::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_add1::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_add1::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[7]); } -void Ifc4x3_add1::IfcActorRole::initialize(::Ifc4x3_add1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[7]); } +void Ifc4x3_add1::IfcActorRole::initialize(::Ifc4x3_add1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x3_add1::IfcActuatorTypeEnum::Value > Ifc4x3_add1::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[9]); } -void Ifc4x3_add1::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[9]); } +void Ifc4x3_add1::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x3_add1::IfcActuatorTypeEnum::Value Ifc4x3_add1::IfcActuatorType::PredefinedType() const { return ::Ifc4x3_add1::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcActuatorType::setPredefinedType(const ::Ifc4x3_add1::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcActuatorType::setPredefinedType(const ::Ifc4x3_add1::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[10]); } -void Ifc4x3_add1::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[10]); } +void Ifc4x3_add1::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > Ifc4x3_add1::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add1::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x3_add1::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x3_add1::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x3_add1::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x3_add1::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_add1::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_add1::IfcPerson> Ifc4x3_add1::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[737], 7)); } -std::vector<::Ifc4x3_add1::IfcOrganization> Ifc4x3_add1::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[716], 4)); } +std::vector<::Ifc4x3_add1::IfcPerson> Ifc4x3_add1::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[737], 7)); } +std::vector<::Ifc4x3_add1::IfcOrganization> Ifc4x3_add1::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[716], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[12]); } -void Ifc4x3_add1::IfcAddress::initialize(std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[12]); } +void Ifc4x3_add1::IfcAddress::initialize(std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x3_add1::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[14]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[14]); } void Ifc4x3_add1::IfcAdvancedBrep::initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -7945,93 +7945,93 @@ std::vector< ::Ifc4x3_add1::IfcClosedShell > Ifc4x3_add1::IfcAdvancedBrepWithVoi void Ifc4x3_add1::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_add1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[15]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[15]); } void Ifc4x3_add1::IfcAdvancedBrepWithVoids::initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_add1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x3_add1::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[16]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[16]); } void Ifc4x3_add1::IfcAdvancedFace::initialize(std::vector< ::Ifc4x3_add1::IfcFaceBound > v1_Bounds, ::Ifc4x3_add1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value > Ifc4x3_add1::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[17]); } -void Ifc4x3_add1::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[17]); } +void Ifc4x3_add1::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3_add1::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[18]); } -void Ifc4x3_add1::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[18]); } +void Ifc4x3_add1::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_add1::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[19]); } -void Ifc4x3_add1::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[19]); } +void Ifc4x3_add1::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value Ifc4x3_add1::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3_add1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[21]); } -void Ifc4x3_add1::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[21]); } +void Ifc4x3_add1::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3_add1::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[23]); } -void Ifc4x3_add1::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[23]); } +void Ifc4x3_add1::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_add1::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[24]); } -void Ifc4x3_add1::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[24]); } +void Ifc4x3_add1::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x3_add1::IfcAlarmTypeEnum::Value > Ifc4x3_add1::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[26]); } -void Ifc4x3_add1::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[26]); } +void Ifc4x3_add1::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x3_add1::IfcAlarmTypeEnum::Value Ifc4x3_add1::IfcAlarmType::PredefinedType() const { return ::Ifc4x3_add1::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcAlarmType::setPredefinedType(const ::Ifc4x3_add1::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcAlarmType::setPredefinedType(const ::Ifc4x3_add1::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[27]); } -void Ifc4x3_add1::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[27]); } +void Ifc4x3_add1::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x3_add1::IfcAlignmentTypeEnum::Value > Ifc4x3_add1::IfcAlignment::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcAlignmentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add1::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[29]); } -void Ifc4x3_add1::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[29]); } +void Ifc4x3_add1::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAlignmentCant double Ifc4x3_add1::IfcAlignmentCant::RailHeadDistance() const { double v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcAlignmentCant::setRailHeadDistance(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add1::IfcAlignmentCant::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[30]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlignmentCant::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[30]); } void Ifc4x3_add1::IfcAlignmentCant::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_RailHeadDistance)); } // Function implementations for IfcAlignmentCantSegment @@ -8048,16 +8048,16 @@ void Ifc4x3_add1::IfcAlignmentCantSegment::setStartCantRight(const double& v) { std::optional< double > Ifc4x3_add1::IfcAlignmentCantSegment::EndCantRight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcAlignmentCantSegment::setEndCantRight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_add1::IfcAlignmentCantSegment::PredefinedType() const { return ::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add1::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcAlignmentCantSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[31]); } -void Ifc4x3_add1::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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_add1::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlignmentCantSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[31]); } +void Ifc4x3_add1::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentHorizontal -const IfcParse::entity& Ifc4x3_add1::IfcAlignmentHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[33]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlignmentHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[33]); } void Ifc4x3_add1::IfcAlignmentHorizontal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentHorizontalSegment @@ -8074,11 +8074,11 @@ void Ifc4x3_add1::IfcAlignmentHorizontalSegment::setSegmentLength(const double& std::optional< double > Ifc4x3_add1::IfcAlignmentHorizontalSegment::GravityCenterLineHeight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcAlignmentHorizontalSegment::setGravityCenterLineHeight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_add1::IfcAlignmentHorizontalSegment::PredefinedType() const { return ::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add1::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcAlignmentHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[34]); } -void Ifc4x3_add1::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_add1::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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_add1::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlignmentHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[34]); } +void Ifc4x3_add1::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_add1::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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, (enumeration_reference(&::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentParameterSegment std::optional< std::string > Ifc4x3_add1::IfcAlignmentParameterSegment::StartTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8087,7 +8087,7 @@ std::optional< std::string > Ifc4x3_add1::IfcAlignmentParameterSegment::EndTag() void Ifc4x3_add1::IfcAlignmentParameterSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add1::IfcAlignmentParameterSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[36]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlignmentParameterSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[36]); } void Ifc4x3_add1::IfcAlignmentParameterSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); } } // Function implementations for IfcAlignmentSegment @@ -8095,13 +8095,13 @@ void Ifc4x3_add1::IfcAlignmentParameterSegment::initialize(std::optional< std::s void Ifc4x3_add1::IfcAlignmentSegment::setDesignParameters(const ::Ifc4x3_add1::IfcAlignmentParameterSegment& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add1::IfcAlignmentSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[37]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlignmentSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[37]); } void Ifc4x3_add1::IfcAlignmentSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcAlignmentParameterSegment v8_DesignParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_DesignParameters)); } // Function implementations for IfcAlignmentVertical -const IfcParse::entity& Ifc4x3_add1::IfcAlignmentVertical::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[39]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlignmentVertical::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[39]); } void Ifc4x3_add1::IfcAlignmentVertical::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentVerticalSegment @@ -8118,20 +8118,20 @@ void Ifc4x3_add1::IfcAlignmentVerticalSegment::setEndGradient(const double& v) { std::optional< double > Ifc4x3_add1::IfcAlignmentVerticalSegment::RadiusOfCurvature() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcAlignmentVerticalSegment::setRadiusOfCurvature(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_add1::IfcAlignmentVerticalSegment::PredefinedType() const { return ::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add1::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcAlignmentVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[40]); } -void Ifc4x3_add1::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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_add1::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAlignmentVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[40]); } +void Ifc4x3_add1::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAnnotation std::optional< ::Ifc4x3_add1::IfcAnnotationTypeEnum::Value > Ifc4x3_add1::IfcAnnotation::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcAnnotationTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add1::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add1::IfcRelContainedInSpatialStructure> Ifc4x3_add1::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[926], 4)); } +std::vector<::Ifc4x3_add1::IfcRelContainedInSpatialStructure> Ifc4x3_add1::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[926], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[46]); } -void Ifc4x3_add1::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[46]); } +void Ifc4x3_add1::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAnnotationFillArea ::Ifc4x3_add1::IfcCurve Ifc4x3_add1::IfcAnnotationFillArea::OuterBoundary() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcCurve>(); } @@ -8140,7 +8140,7 @@ std::optional< std::vector< ::Ifc4x3_add1::IfcCurve > > Ifc4x3_add1::IfcAnnotati void Ifc4x3_add1::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_add1::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add1::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[47]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[47]); } void Ifc4x3_add1::IfcAnnotationFillArea::initialize(::Ifc4x3_add1::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_add1::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -8154,7 +8154,7 @@ std::string Ifc4x3_add1::IfcApplication::ApplicationIdentifier() const { std::s void Ifc4x3_add1::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[49]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[49]); } void Ifc4x3_add1::IfcApplication::initialize(::Ifc4x3_add1::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -8175,14 +8175,14 @@ void Ifc4x3_add1::IfcAppliedValue::setCategory(const std::optional< std::string std::optional< std::string > Ifc4x3_add1::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add1::IfcArithmeticOperatorEnum::Value > Ifc4x3_add1::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_add1::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_add1::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > Ifc4x3_add1::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_add1::IfcAppliedValue>(es); } void Ifc4x3_add1::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[50]); } -void Ifc4x3_add1::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_add1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[50]); } +void Ifc4x3_add1::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x3_add1::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8204,13 +8204,13 @@ void Ifc4x3_add1::IfcApproval::setRequestingApproval(const ::Ifc4x3_add1::IfcAct ::Ifc4x3_add1::IfcActorSelect Ifc4x3_add1::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_add1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add1::IfcActorSelect>(); } void Ifc4x3_add1::IfcApproval::setGivingApproval(const ::Ifc4x3_add1::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -std::vector<::Ifc4x3_add1::IfcRelAssociatesApproval> Ifc4x3_add1::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[909], 5)); } -std::vector<::Ifc4x3_add1::IfcResourceApprovalRelationship> Ifc4x3_add1::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[955], 3)); } -std::vector<::Ifc4x3_add1::IfcApprovalRelationship> Ifc4x3_add1::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[53], 3)); } -std::vector<::Ifc4x3_add1::IfcApprovalRelationship> Ifc4x3_add1::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[53], 2)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcRelAssociatesApproval> Ifc4x3_add1::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[909], 5)); } +std::vector<::Ifc4x3_add1::IfcResourceApprovalRelationship> Ifc4x3_add1::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[955], 3)); } +std::vector<::Ifc4x3_add1::IfcApprovalRelationship> Ifc4x3_add1::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[53], 3)); } +std::vector<::Ifc4x3_add1::IfcApprovalRelationship> Ifc4x3_add1::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[53], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[52]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[52]); } void Ifc4x3_add1::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_add1::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_add1::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -8220,7 +8220,7 @@ std::vector< ::Ifc4x3_add1::IfcApproval > Ifc4x3_add1::IfcApprovalRelationship:: void Ifc4x3_add1::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x3_add1::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[53]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[53]); } void Ifc4x3_add1::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_add1::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -8228,24 +8228,24 @@ void Ifc4x3_add1::IfcApprovalRelationship::initialize(std::optional< std::string void Ifc4x3_add1::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x3_add1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[54]); } -void Ifc4x3_add1::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[54]); } +void Ifc4x3_add1::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x3_add1::IfcBoundedCurve Ifc4x3_add1::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcBoundedCurve>(); } void Ifc4x3_add1::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x3_add1::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[55]); } -void Ifc4x3_add1::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[55]); } +void Ifc4x3_add1::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x3_add1::IfcCurve > Ifc4x3_add1::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_add1::IfcCurve>(es); } void Ifc4x3_add1::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x3_add1::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[56]); } -void Ifc4x3_add1::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_add1::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[56]); } +void Ifc4x3_add1::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_add1::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x3_add1::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -8268,7 +8268,7 @@ void Ifc4x3_add1::IfcAsset::setIncorporationDate(const std::optional< std::strin void Ifc4x3_add1::IfcAsset::setDepreciatedValue(const ::Ifc4x3_add1::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_add1::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[62]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[62]); } void Ifc4x3_add1::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_add1::IfcCostValue v7_OriginalValue, ::Ifc4x3_add1::IfcCostValue v8_CurrentValue, ::Ifc4x3_add1::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_add1::IfcActorSelect v10_Owner, ::Ifc4x3_add1::IfcActorSelect v11_User, ::Ifc4x3_add1::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_add1::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -8298,31 +8298,31 @@ std::optional< double > Ifc4x3_add1::IfcAsymmetricIShapeProfileDef::TopFlangeSlo void Ifc4x3_add1::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x3_add1::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[63]); } -void Ifc4x3_add1::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[63]); } +void Ifc4x3_add1::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3_add1::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[64]); } -void Ifc4x3_add1::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[64]); } +void Ifc4x3_add1::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_add1::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[65]); } -void Ifc4x3_add1::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[65]); } +void Ifc4x3_add1::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x3_add1::IfcDirection Ifc4x3_add1::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_add1::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcDirection>(); } void Ifc4x3_add1::IfcAxis1Placement::setAxis(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[67]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[67]); } void Ifc4x3_add1::IfcAxis1Placement::initialize(::Ifc4x3_add1::IfcPoint v1_Location, ::Ifc4x3_add1::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -8330,7 +8330,7 @@ void Ifc4x3_add1::IfcAxis1Placement::initialize(::Ifc4x3_add1::IfcPoint v1_Locat void Ifc4x3_add1::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[69]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[69]); } void Ifc4x3_add1::IfcAxis2Placement2D::initialize(::Ifc4x3_add1::IfcPoint v1_Location, ::Ifc4x3_add1::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -8340,7 +8340,7 @@ void Ifc4x3_add1::IfcAxis2Placement3D::setAxis(const ::Ifc4x3_add1::IfcDirection void Ifc4x3_add1::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[70]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[70]); } void Ifc4x3_add1::IfcAxis2Placement3D::initialize(::Ifc4x3_add1::IfcPoint v1_Location, ::Ifc4x3_add1::IfcDirection v2_Axis, ::Ifc4x3_add1::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcAxis2PlacementLinear @@ -8350,7 +8350,7 @@ void Ifc4x3_add1::IfcAxis2PlacementLinear::setAxis(const ::Ifc4x3_add1::IfcDirec void Ifc4x3_add1::IfcAxis2PlacementLinear::setRefDirection(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcAxis2PlacementLinear::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[71]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcAxis2PlacementLinear::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[71]); } void Ifc4x3_add1::IfcAxis2PlacementLinear::initialize(::Ifc4x3_add1::IfcPoint v1_Location, ::Ifc4x3_add1::IfcDirection v2_Axis, ::Ifc4x3_add1::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -8359,15 +8359,15 @@ void Ifc4x3_add1::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value std::vector< ::Ifc4x3_add1::IfcCartesianPoint > Ifc4x3_add1::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add1::IfcCartesianPoint>(es); } void Ifc4x3_add1::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x3_add1::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add1::IfcBSplineCurveForm::Value Ifc4x3_add1::IfcBSplineCurve::CurveForm() const { return ::Ifc4x3_add1::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x3_add1::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_add1::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add1::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add1::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_add1::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add1::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x3_add1::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x3_add1::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_add1::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[107]); } -void Ifc4x3_add1::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[107]); } +void Ifc4x3_add1::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_add1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -8375,11 +8375,11 @@ void Ifc4x3_add1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vec std::vector< double > /*[2:?]*/ Ifc4x3_add1::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_add1::IfcKnotType::Value Ifc4x3_add1::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x3_add1::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_add1::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_add1::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add1::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[109]); } -void Ifc4x3_add1::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::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_add1::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[109]); } +void Ifc4x3_add1::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::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, (enumeration_reference(&::Ifc4x3_add1::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x3_add1::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -8389,7 +8389,7 @@ void Ifc4x3_add1::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_va std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > Ifc4x3_add1::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x3_add1::IfcCartesianPoint>(es); } void Ifc4x3_add1::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_add1::IfcBSplineSurfaceForm::Value Ifc4x3_add1::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x3_add1::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x3_add1::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_add1::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_add1::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_add1::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_add1::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_add1::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_add1::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x3_add1::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -8398,8 +8398,8 @@ boost::logic::tribool Ifc4x3_add1::IfcBSplineSurface::SelfIntersect() const { b void Ifc4x3_add1::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[110]); } -void Ifc4x3_add1::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add1::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[110]); } +void Ifc4x3_add1::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_add1::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_add1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -8411,43 +8411,43 @@ void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< doubl std::vector< double > /*[2:?]*/ Ifc4x3_add1::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x3_add1::IfcKnotType::Value Ifc4x3_add1::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x3_add1::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_add1::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_add1::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[112]); } -void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add1::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_add1::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[112]); } +void Ifc4x3_add1::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_add1::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, (enumeration_reference(&::Ifc4x3_add1::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x3_add1::IfcBeamTypeEnum::Value > Ifc4x3_add1::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[72]); } -void Ifc4x3_add1::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[72]); } +void Ifc4x3_add1::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x3_add1::IfcBeamTypeEnum::Value Ifc4x3_add1::IfcBeamType::PredefinedType() const { return ::Ifc4x3_add1::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcBeamType::setPredefinedType(const ::Ifc4x3_add1::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcBeamType::setPredefinedType(const ::Ifc4x3_add1::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[73]); } -void Ifc4x3_add1::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[73]); } +void Ifc4x3_add1::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBearing std::optional< ::Ifc4x3_add1::IfcBearingTypeEnum::Value > Ifc4x3_add1::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBearingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[75]); } -void Ifc4x3_add1::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[75]); } +void Ifc4x3_add1::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBearingType ::Ifc4x3_add1::IfcBearingTypeEnum::Value Ifc4x3_add1::IfcBearingType::PredefinedType() const { return ::Ifc4x3_add1::IfcBearingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcBearingType::setPredefinedType(const ::Ifc4x3_add1::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcBearingType::setPredefinedType(const ::Ifc4x3_add1::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[76]); } -void Ifc4x3_add1::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[76]); } +void Ifc4x3_add1::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x3_add1::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -8456,7 +8456,7 @@ boost::dynamic_bitset<> Ifc4x3_add1::IfcBlobTexture::RasterCode() const { boost void Ifc4x3_add1::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[81]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[81]); } void Ifc4x3_add1::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -8468,47 +8468,47 @@ double Ifc4x3_add1::IfcBlock::ZLength() const { double v = get_attribute_value( void Ifc4x3_add1::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[82]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[82]); } void Ifc4x3_add1::IfcBlock::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x3_add1::IfcBoilerTypeEnum::Value > Ifc4x3_add1::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[83]); } -void Ifc4x3_add1::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[83]); } +void Ifc4x3_add1::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x3_add1::IfcBoilerTypeEnum::Value Ifc4x3_add1::IfcBoilerType::PredefinedType() const { return ::Ifc4x3_add1::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcBoilerType::setPredefinedType(const ::Ifc4x3_add1::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcBoilerType::setPredefinedType(const ::Ifc4x3_add1::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[84]); } -void Ifc4x3_add1::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[84]); } +void Ifc4x3_add1::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x3_add1::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[87]); } -void Ifc4x3_add1::IfcBooleanClippingResult::initialize(::Ifc4x3_add1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[87]); } +void Ifc4x3_add1::IfcBooleanClippingResult::initialize(::Ifc4x3_add1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x3_add1::IfcBooleanOperator::Value Ifc4x3_add1::IfcBooleanResult::Operator() const { return ::Ifc4x3_add1::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x3_add1::IfcBooleanResult::setOperator(const ::Ifc4x3_add1::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add1::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add1::IfcBooleanResult::setOperator(const ::Ifc4x3_add1::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add1::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add1::IfcBooleanOperand Ifc4x3_add1::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcBooleanOperand>(); } void Ifc4x3_add1::IfcBooleanResult::setFirstOperand(const ::Ifc4x3_add1::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add1::IfcBooleanOperand Ifc4x3_add1::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcBooleanOperand>(); } void Ifc4x3_add1::IfcBooleanResult::setSecondOperand(const ::Ifc4x3_add1::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[90]); } -void Ifc4x3_add1::IfcBooleanResult::initialize(::Ifc4x3_add1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[90]); } +void Ifc4x3_add1::IfcBooleanResult::initialize(::Ifc4x3_add1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBorehole -const IfcParse::entity& Ifc4x3_add1::IfcBorehole::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[91]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBorehole::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[91]); } void Ifc4x3_add1::IfcBorehole::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBoundaryCondition @@ -8516,13 +8516,13 @@ std::optional< std::string > Ifc4x3_add1::IfcBoundaryCondition::Name() const { i void Ifc4x3_add1::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add1::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[92]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[92]); } void Ifc4x3_add1::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x3_add1::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[93]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[93]); } void Ifc4x3_add1::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -8540,7 +8540,7 @@ void Ifc4x3_add1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(cons void Ifc4x3_add1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[94]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[94]); } void Ifc4x3_add1::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_add1::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_add1::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -8552,7 +8552,7 @@ void Ifc4x3_add1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(con void Ifc4x3_add1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[95]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[95]); } void Ifc4x3_add1::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -8570,7 +8570,7 @@ void Ifc4x3_add1::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4 void Ifc4x3_add1::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x3_add1::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[96]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[96]); } void Ifc4x3_add1::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -8578,19 +8578,19 @@ void Ifc4x3_add1::IfcBoundaryNodeCondition::initialize(std::optional< std::strin void Ifc4x3_add1::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x3_add1::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add1::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[97]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[97]); } void Ifc4x3_add1::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_add1::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -const IfcParse::entity& Ifc4x3_add1::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[98]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[98]); } void Ifc4x3_add1::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x3_add1::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[99]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[99]); } void Ifc4x3_add1::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -8604,7 +8604,7 @@ double Ifc4x3_add1::IfcBoundingBox::ZDim() const { double v = get_attribute_val void Ifc4x3_add1::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[100]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[100]); } void Ifc4x3_add1::IfcBoundingBox::initialize(::Ifc4x3_add1::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -8612,24 +8612,24 @@ void Ifc4x3_add1::IfcBoundingBox::initialize(::Ifc4x3_add1::IfcCartesianPoint v1 void Ifc4x3_add1::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x3_add1::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[102]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[102]); } void Ifc4x3_add1::IfcBoxedHalfSpace::initialize(::Ifc4x3_add1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add1::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBridge std::optional< ::Ifc4x3_add1::IfcBridgeTypeEnum::Value > Ifc4x3_add1::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[103]); } -void Ifc4x3_add1::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[103]); } +void Ifc4x3_add1::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBridgePart std::optional< ::Ifc4x3_add1::IfcBridgePartTypeEnum::Value > Ifc4x3_add1::IfcBridgePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBridgePartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcBridgePart::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[104]); } -void Ifc4x3_add1::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcBridgePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBridgePart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[104]); } +void Ifc4x3_add1::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcBridgePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcBuilding std::optional< double > Ifc4x3_add1::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -8640,96 +8640,96 @@ void Ifc4x3_add1::IfcBuilding::setElevationOfTerrain(const std::optional< double void Ifc4x3_add1::IfcBuilding::setBuildingAddress(const ::Ifc4x3_add1::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[113]); } -void Ifc4x3_add1::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_add1::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::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)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[113]); } +void Ifc4x3_add1::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_add1::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::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)); } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value > Ifc4x3_add1::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[114]); } -void Ifc4x3_add1::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[114]); } +void Ifc4x3_add1::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value Ifc4x3_add1::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[115]); } -void Ifc4x3_add1::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[115]); } +void Ifc4x3_add1::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3_add1::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[117]); } -void Ifc4x3_add1::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[117]); } +void Ifc4x3_add1::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_add1::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[118]); } -void Ifc4x3_add1::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[118]); } +void Ifc4x3_add1::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingStorey std::optional< double > Ifc4x3_add1::IfcBuildingStorey::Elevation() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[120]); } -void Ifc4x3_add1::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[120]); } +void Ifc4x3_add1::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value > Ifc4x3_add1::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_add1::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_add1::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[121]); } -void Ifc4x3_add1::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[121]); } +void Ifc4x3_add1::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBuiltElement -const IfcParse::entity& Ifc4x3_add1::IfcBuiltElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[123]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuiltElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[123]); } void Ifc4x3_add1::IfcBuiltElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuiltElementType -const IfcParse::entity& Ifc4x3_add1::IfcBuiltElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[124]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuiltElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[124]); } void Ifc4x3_add1::IfcBuiltElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuiltSystem std::optional< ::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value > Ifc4x3_add1::IfcBuiltSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBuiltSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_add1::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_add1::IfcBuiltSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcBuiltSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcBuiltSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[125]); } -void Ifc4x3_add1::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBuiltSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[125]); } +void Ifc4x3_add1::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x3_add1::IfcBurnerTypeEnum::Value > Ifc4x3_add1::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[127]); } -void Ifc4x3_add1::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[127]); } +void Ifc4x3_add1::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x3_add1::IfcBurnerTypeEnum::Value Ifc4x3_add1::IfcBurnerType::PredefinedType() const { return ::Ifc4x3_add1::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcBurnerType::setPredefinedType(const ::Ifc4x3_add1::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcBurnerType::setPredefinedType(const ::Ifc4x3_add1::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[128]); } -void Ifc4x3_add1::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[128]); } +void Ifc4x3_add1::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x3_add1::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -8744,101 +8744,101 @@ std::optional< double > Ifc4x3_add1::IfcCShapeProfileDef::InternalFilletRadius() void Ifc4x3_add1::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[265]); } -void Ifc4x3_add1::IfcCShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[265]); } +void Ifc4x3_add1::IfcCShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3_add1::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[130]); } -void Ifc4x3_add1::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[130]); } +void Ifc4x3_add1::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_add1::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[131]); } -void Ifc4x3_add1::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[131]); } +void Ifc4x3_add1::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3_add1::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[133]); } -void Ifc4x3_add1::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[133]); } +void Ifc4x3_add1::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_add1::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[134]); } -void Ifc4x3_add1::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[134]); } +void Ifc4x3_add1::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value > Ifc4x3_add1::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[136]); } -void Ifc4x3_add1::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[136]); } +void Ifc4x3_add1::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value Ifc4x3_add1::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3_add1::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[137]); } -void Ifc4x3_add1::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[137]); } +void Ifc4x3_add1::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value > Ifc4x3_add1::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[139]); } -void Ifc4x3_add1::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[139]); } +void Ifc4x3_add1::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value Ifc4x3_add1::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3_add1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[140]); } -void Ifc4x3_add1::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[140]); } +void Ifc4x3_add1::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCaissonFoundation std::optional< ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value > Ifc4x3_add1::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[142]); } -void Ifc4x3_add1::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[142]); } +void Ifc4x3_add1::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCaissonFoundationType ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value Ifc4x3_add1::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[143]); } -void Ifc4x3_add1::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[143]); } +void Ifc4x3_add1::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x3_add1::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x3_add1::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[146]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[146]); } void Ifc4x3_add1::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x3_add1::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[147]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[147]); } void Ifc4x3_add1::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -8848,7 +8848,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add1::IfcCartesianP void Ifc4x3_add1::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add1::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[148]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[148]); } void Ifc4x3_add1::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -8858,7 +8858,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add1::IfcCartesianP void Ifc4x3_add1::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add1::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[149]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[149]); } void Ifc4x3_add1::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -8872,13 +8872,13 @@ std::optional< double > Ifc4x3_add1::IfcCartesianTransformationOperator::Scale() void Ifc4x3_add1::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[150]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[150]); } void Ifc4x3_add1::IfcCartesianTransformationOperator::initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x3_add1::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[151]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[151]); } void Ifc4x3_add1::IfcCartesianTransformationOperator2D::initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -8886,7 +8886,7 @@ std::optional< double > Ifc4x3_add1::IfcCartesianTransformationOperator2DnonUnif void Ifc4x3_add1::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[152]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[152]); } void Ifc4x3_add1::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -8894,7 +8894,7 @@ void Ifc4x3_add1::IfcCartesianTransformationOperator2DnonUniform::initialize(::I void Ifc4x3_add1::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[153]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[153]); } void Ifc4x3_add1::IfcCartesianTransformationOperator3D::initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_add1::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -8904,7 +8904,7 @@ std::optional< double > Ifc4x3_add1::IfcCartesianTransformationOperator3DnonUnif void Ifc4x3_add1::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[154]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[154]); } void Ifc4x3_add1::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_add1::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -8912,47 +8912,47 @@ double Ifc4x3_add1::IfcCenterLineProfileDef::Thickness() const { double v = get void Ifc4x3_add1::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[155]); } -void Ifc4x3_add1::IfcCenterLineProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[155]); } +void Ifc4x3_add1::IfcCenterLineProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x3_add1::IfcChillerTypeEnum::Value > Ifc4x3_add1::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[157]); } -void Ifc4x3_add1::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[157]); } +void Ifc4x3_add1::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x3_add1::IfcChillerTypeEnum::Value Ifc4x3_add1::IfcChillerType::PredefinedType() const { return ::Ifc4x3_add1::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcChillerType::setPredefinedType(const ::Ifc4x3_add1::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcChillerType::setPredefinedType(const ::Ifc4x3_add1::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[158]); } -void Ifc4x3_add1::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[158]); } +void Ifc4x3_add1::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x3_add1::IfcChimneyTypeEnum::Value > Ifc4x3_add1::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[160]); } -void Ifc4x3_add1::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[160]); } +void Ifc4x3_add1::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x3_add1::IfcChimneyTypeEnum::Value Ifc4x3_add1::IfcChimneyType::PredefinedType() const { return ::Ifc4x3_add1::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcChimneyType::setPredefinedType(const ::Ifc4x3_add1::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcChimneyType::setPredefinedType(const ::Ifc4x3_add1::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[161]); } -void Ifc4x3_add1::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[161]); } +void Ifc4x3_add1::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x3_add1::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[163]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[163]); } void Ifc4x3_add1::IfcCircle::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -8960,27 +8960,27 @@ double Ifc4x3_add1::IfcCircleHollowProfileDef::WallThickness() const { double v void Ifc4x3_add1::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[164]); } -void Ifc4x3_add1::IfcCircleHollowProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[164]); } +void Ifc4x3_add1::IfcCircleHollowProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x3_add1::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x3_add1::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[165]); } -void Ifc4x3_add1::IfcCircleProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[165]); } +void Ifc4x3_add1::IfcCircleProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x3_add1::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[166]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[166]); } void Ifc4x3_add1::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x3_add1::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[167]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[167]); } void Ifc4x3_add1::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -8999,10 +8999,10 @@ void Ifc4x3_add1::IfcClassification::setSpecification(const std::optional< std:: std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add1::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add1::IfcRelAssociatesClassification> Ifc4x3_add1::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[910], 5)); } -std::vector<::Ifc4x3_add1::IfcClassificationReference> Ifc4x3_add1::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[169], 3)); } +std::vector<::Ifc4x3_add1::IfcRelAssociatesClassification> Ifc4x3_add1::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[910], 5)); } +std::vector<::Ifc4x3_add1::IfcClassificationReference> Ifc4x3_add1::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[169], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[168]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[168]); } void Ifc4x3_add1::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Specification, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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)); } } // Function implementations for IfcClassificationReference @@ -9013,16 +9013,16 @@ void Ifc4x3_add1::IfcClassificationReference::setDescription(const std::optional std::optional< std::string > Ifc4x3_add1::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add1::IfcRelAssociatesClassification> Ifc4x3_add1::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[910], 5)); } -std::vector<::Ifc4x3_add1::IfcClassificationReference> Ifc4x3_add1::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[169], 3)); } +std::vector<::Ifc4x3_add1::IfcRelAssociatesClassification> Ifc4x3_add1::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[910], 5)); } +std::vector<::Ifc4x3_add1::IfcClassificationReference> Ifc4x3_add1::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[169], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[169]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[169]); } void Ifc4x3_add1::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_add1::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x3_add1::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[172]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[172]); } void Ifc4x3_add1::IfcClosedShell::initialize(std::vector< ::Ifc4x3_add1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcClothoid @@ -9030,24 +9030,24 @@ double Ifc4x3_add1::IfcClothoid::ClothoidConstant() const { double v = get_attr void Ifc4x3_add1::IfcClothoid::setClothoidConstant(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcClothoid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[173]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcClothoid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[173]); } void Ifc4x3_add1::IfcClothoid::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_ClothoidConstant) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_ClothoidConstant)); } // Function implementations for IfcCoil std::optional< ::Ifc4x3_add1::IfcCoilTypeEnum::Value > Ifc4x3_add1::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[174]); } -void Ifc4x3_add1::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[174]); } +void Ifc4x3_add1::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x3_add1::IfcCoilTypeEnum::Value Ifc4x3_add1::IfcCoilType::PredefinedType() const { return ::Ifc4x3_add1::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCoilType::setPredefinedType(const ::Ifc4x3_add1::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCoilType::setPredefinedType(const ::Ifc4x3_add1::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[175]); } -void Ifc4x3_add1::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[175]); } +void Ifc4x3_add1::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x3_add1::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -9058,7 +9058,7 @@ double Ifc4x3_add1::IfcColourRgb::Blue() const { double v = get_attribute_value void Ifc4x3_add1::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[179]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[179]); } void Ifc4x3_add1::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -9066,7 +9066,7 @@ std::vector< std::vector< double > > Ifc4x3_add1::IfcColourRgbList::ColourList() void Ifc4x3_add1::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[180]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[180]); } void Ifc4x3_add1::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -9074,40 +9074,40 @@ std::optional< std::string > Ifc4x3_add1::IfcColourSpecification::Name() const { void Ifc4x3_add1::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add1::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[181]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[181]); } void Ifc4x3_add1::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x3_add1::IfcColumnTypeEnum::Value > Ifc4x3_add1::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[182]); } -void Ifc4x3_add1::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[182]); } +void Ifc4x3_add1::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x3_add1::IfcColumnTypeEnum::Value Ifc4x3_add1::IfcColumnType::PredefinedType() const { return ::Ifc4x3_add1::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcColumnType::setPredefinedType(const ::Ifc4x3_add1::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcColumnType::setPredefinedType(const ::Ifc4x3_add1::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[183]); } -void Ifc4x3_add1::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[183]); } +void Ifc4x3_add1::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3_add1::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[185]); } -void Ifc4x3_add1::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[185]); } +void Ifc4x3_add1::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_add1::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[186]); } -void Ifc4x3_add1::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[186]); } +void Ifc4x3_add1::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x3_add1::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -9116,20 +9116,20 @@ std::vector< ::Ifc4x3_add1::IfcProperty > Ifc4x3_add1::IfcComplexProperty::HasPr void Ifc4x3_add1::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x3_add1::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[189]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[189]); } void Ifc4x3_add1::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::string v3_UsageName, std::vector< ::Ifc4x3_add1::IfcProperty > v4_HasProperties) { 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, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x3_add1::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x3_add1::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_add1::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > > Ifc4x3_add1::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_add1::IfcPropertyTemplate>(es); } void Ifc4x3_add1::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[190]); } -void Ifc4x3_add1::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_add1::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[190]); } +void Ifc4x3_add1::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x3_add1::IfcSegment > Ifc4x3_add1::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcSegment>(es); } @@ -9138,13 +9138,13 @@ boost::logic::tribool Ifc4x3_add1::IfcCompositeCurve::SelfIntersect() const { b void Ifc4x3_add1::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[192]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[192]); } void Ifc4x3_add1::IfcCompositeCurve::initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x3_add1::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[193]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[193]); } void Ifc4x3_add1::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment @@ -9154,8 +9154,8 @@ void Ifc4x3_add1::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_at void Ifc4x3_add1::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x3_add1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[194]); } -void Ifc4x3_add1::IfcCompositeCurveSegment::initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add1::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[194]); } +void Ifc4x3_add1::IfcCompositeCurveSegment::initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add1::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x3_add1::IfcProfileDef > Ifc4x3_add1::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_add1::IfcProfileDef>(es); } @@ -9164,47 +9164,47 @@ std::optional< std::string > Ifc4x3_add1::IfcCompositeProfileDef::Label() const void Ifc4x3_add1::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[195]); } -void Ifc4x3_add1::IfcCompositeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_add1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[195]); } +void Ifc4x3_add1::IfcCompositeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_add1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x3_add1::IfcCompressorTypeEnum::Value > Ifc4x3_add1::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[197]); } -void Ifc4x3_add1::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[197]); } +void Ifc4x3_add1::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x3_add1::IfcCompressorTypeEnum::Value Ifc4x3_add1::IfcCompressorType::PredefinedType() const { return ::Ifc4x3_add1::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCompressorType::setPredefinedType(const ::Ifc4x3_add1::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCompressorType::setPredefinedType(const ::Ifc4x3_add1::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[198]); } -void Ifc4x3_add1::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[198]); } +void Ifc4x3_add1::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x3_add1::IfcCondenserTypeEnum::Value > Ifc4x3_add1::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[200]); } -void Ifc4x3_add1::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[200]); } +void Ifc4x3_add1::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x3_add1::IfcCondenserTypeEnum::Value Ifc4x3_add1::IfcCondenserType::PredefinedType() const { return ::Ifc4x3_add1::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCondenserType::setPredefinedType(const ::Ifc4x3_add1::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCondenserType::setPredefinedType(const ::Ifc4x3_add1::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[201]); } -void Ifc4x3_add1::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[201]); } +void Ifc4x3_add1::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x3_add1::IfcAxis2Placement Ifc4x3_add1::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcAxis2Placement>(); } void Ifc4x3_add1::IfcConic::setPosition(const ::Ifc4x3_add1::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcConic::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[203]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[203]); } void Ifc4x3_add1::IfcConic::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -9212,7 +9212,7 @@ std::vector< ::Ifc4x3_add1::IfcFace > Ifc4x3_add1::IfcConnectedFaceSet::CfsFaces void Ifc4x3_add1::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x3_add1::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[204]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[204]); } void Ifc4x3_add1::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x3_add1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -9222,13 +9222,13 @@ void Ifc4x3_add1::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const :: void Ifc4x3_add1::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x3_add1::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[205]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[205]); } void Ifc4x3_add1::IfcConnectionCurveGeometry::initialize(::Ifc4x3_add1::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_add1::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x3_add1::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[206]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[206]); } void Ifc4x3_add1::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -9240,7 +9240,7 @@ std::optional< double > Ifc4x3_add1::IfcConnectionPointEccentricity::Eccentricit void Ifc4x3_add1::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[207]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[207]); } void Ifc4x3_add1::IfcConnectionPointEccentricity::initialize(::Ifc4x3_add1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_add1::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -9250,7 +9250,7 @@ void Ifc4x3_add1::IfcConnectionPointGeometry::setPointOnRelatingElement(const :: void Ifc4x3_add1::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x3_add1::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[208]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[208]); } void Ifc4x3_add1::IfcConnectionPointGeometry::initialize(::Ifc4x3_add1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_add1::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -9260,7 +9260,7 @@ void Ifc4x3_add1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(cons void Ifc4x3_add1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x3_add1::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[209]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[209]); } void Ifc4x3_add1::IfcConnectionSurfaceGeometry::initialize(::Ifc4x3_add1::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_add1::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -9270,7 +9270,7 @@ void Ifc4x3_add1::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const void Ifc4x3_add1::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x3_add1::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[211]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[211]); } void Ifc4x3_add1::IfcConnectionVolumeGeometry::initialize(::Ifc4x3_add1::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_add1::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -9279,7 +9279,7 @@ void Ifc4x3_add1::IfcConstraint::setName(const std::string& v) { set_attribute_v std::optional< std::string > Ifc4x3_add1::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_add1::IfcConstraintEnum::Value Ifc4x3_add1::IfcConstraint::ConstraintGrade() const { return ::Ifc4x3_add1::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_add1::IfcConstraint::setConstraintGrade(const ::Ifc4x3_add1::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add1::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add1::IfcConstraint::setConstraintGrade(const ::Ifc4x3_add1::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add1::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x3_add1::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_add1::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_add1::IfcActorSelect Ifc4x3_add1::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_add1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcActorSelect>(); } @@ -9289,59 +9289,59 @@ void Ifc4x3_add1::IfcConstraint::setCreationTime(const std::optional< std::strin std::optional< std::string > Ifc4x3_add1::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -std::vector<::Ifc4x3_add1::IfcResourceConstraintRelationship> Ifc4x3_add1::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[956], 2)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcResourceConstraintRelationship> Ifc4x3_add1::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[956], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[212]); } -void Ifc4x3_add1::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[212]); } +void Ifc4x3_add1::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3_add1::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[214]); } -void Ifc4x3_add1::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[214]); } +void Ifc4x3_add1::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_add1::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add1::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[215]); } -void Ifc4x3_add1::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[215]); } +void Ifc4x3_add1::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3_add1::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[217]); } -void Ifc4x3_add1::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[217]); } +void Ifc4x3_add1::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_add1::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add1::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[218]); } -void Ifc4x3_add1::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[218]); } +void Ifc4x3_add1::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3_add1::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[220]); } -void Ifc4x3_add1::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[220]); } +void Ifc4x3_add1::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_add1::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add1::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[221]); } -void Ifc4x3_add1::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[221]); } +void Ifc4x3_add1::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x3_add1::IfcResourceTime Ifc4x3_add1::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_add1::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add1::IfcResourceTime>(); } @@ -9352,7 +9352,7 @@ void Ifc4x3_add1::IfcConstructionResource::setBaseCosts(const std::optional< std void Ifc4x3_add1::IfcConstructionResource::setBaseQuantity(const ::Ifc4x3_add1::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[223]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[223]); } void Ifc4x3_add1::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -9362,7 +9362,7 @@ void Ifc4x3_add1::IfcConstructionResourceType::setBaseCosts(const std::optional< void Ifc4x3_add1::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x3_add1::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add1::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[224]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[224]); } void Ifc4x3_add1::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -9377,45 +9377,45 @@ void Ifc4x3_add1::IfcContext::setRepresentationContexts(const std::optional< std ::Ifc4x3_add1::IfcUnitAssignment Ifc4x3_add1::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_add1::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add1::IfcUnitAssignment>(); } void Ifc4x3_add1::IfcContext::setUnitsInContext(const ::Ifc4x3_add1::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_add1::IfcRelDefinesByProperties> Ifc4x3_add1::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[933], 4)); } -std::vector<::Ifc4x3_add1::IfcRelDeclares> Ifc4x3_add1::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[929], 4)); } +std::vector<::Ifc4x3_add1::IfcRelDefinesByProperties> Ifc4x3_add1::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[933], 4)); } +std::vector<::Ifc4x3_add1::IfcRelDeclares> Ifc4x3_add1::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[929], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[225]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[225]); } void Ifc4x3_add1::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x3_add1::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[227]); } -void Ifc4x3_add1::IfcContextDependentUnit::initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[227]); } +void Ifc4x3_add1::IfcContextDependentUnit::initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x3_add1::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add1::IfcRelAssignsToControl> Ifc4x3_add1::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[902], 6)); } +std::vector<::Ifc4x3_add1::IfcRelAssignsToControl> Ifc4x3_add1::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[902], 6)); } -const IfcParse::entity& Ifc4x3_add1::IfcControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[228]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[228]); } void Ifc4x3_add1::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x3_add1::IfcControllerTypeEnum::Value > Ifc4x3_add1::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcController::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[229]); } -void Ifc4x3_add1::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[229]); } +void Ifc4x3_add1::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x3_add1::IfcControllerTypeEnum::Value Ifc4x3_add1::IfcControllerType::PredefinedType() const { return ::Ifc4x3_add1::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcControllerType::setPredefinedType(const ::Ifc4x3_add1::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcControllerType::setPredefinedType(const ::Ifc4x3_add1::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[230]); } -void Ifc4x3_add1::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[230]); } +void Ifc4x3_add1::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x3_add1::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -9423,66 +9423,66 @@ void Ifc4x3_add1::IfcConversionBasedUnit::setName(const std::string& v) { set_at ::Ifc4x3_add1::IfcMeasureWithUnit Ifc4x3_add1::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add1::IfcMeasureWithUnit>(); } void Ifc4x3_add1::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x3_add1::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[232]); } -void Ifc4x3_add1::IfcConversionBasedUnit::initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add1::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[232]); } +void Ifc4x3_add1::IfcConversionBasedUnit::initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add1::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x3_add1::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[233]); } -void Ifc4x3_add1::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[233]); } +void Ifc4x3_add1::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcConveyorSegment std::optional< ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value > Ifc4x3_add1::IfcConveyorSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcConveyorSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[234]); } -void Ifc4x3_add1::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcConveyorSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[234]); } +void Ifc4x3_add1::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcConveyorSegmentType ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value Ifc4x3_add1::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcConveyorSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[235]); } -void Ifc4x3_add1::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcConveyorSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[235]); } +void Ifc4x3_add1::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value > Ifc4x3_add1::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[237]); } -void Ifc4x3_add1::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[237]); } +void Ifc4x3_add1::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value Ifc4x3_add1::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3_add1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[238]); } -void Ifc4x3_add1::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[238]); } +void Ifc4x3_add1::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value > Ifc4x3_add1::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[240]); } -void Ifc4x3_add1::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[240]); } +void Ifc4x3_add1::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value Ifc4x3_add1::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[241]); } -void Ifc4x3_add1::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[241]); } +void Ifc4x3_add1::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect Ifc4x3_add1::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect>(); } @@ -9491,7 +9491,7 @@ void Ifc4x3_add1::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x3_add1::IfcC void Ifc4x3_add1::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x3_add1::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[243]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[243]); } void Ifc4x3_add1::IfcCoordinateOperation::initialize(::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -9500,10 +9500,10 @@ void Ifc4x3_add1::IfcCoordinateReferenceSystem::setName(const std::optional< std std::optional< std::string > Ifc4x3_add1::IfcCoordinateReferenceSystem::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcCoordinateReferenceSystem::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_add1::IfcCoordinateOperation> Ifc4x3_add1::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[243], 0)); } -std::vector<::Ifc4x3_add1::IfcWellKnownText> Ifc4x3_add1::IfcCoordinateReferenceSystem::WellKnownText() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1292], 1)); } +std::vector<::Ifc4x3_add1::IfcCoordinateOperation> Ifc4x3_add1::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[243], 0)); } +std::vector<::Ifc4x3_add1::IfcWellKnownText> Ifc4x3_add1::IfcCoordinateReferenceSystem::WellKnownText() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1292], 1)); } -const IfcParse::entity& Ifc4x3_add1::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[244]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[244]); } void Ifc4x3_add1::IfcCoordinateReferenceSystem::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcCosineSpiral @@ -9513,24 +9513,24 @@ std::optional< double > Ifc4x3_add1::IfcCosineSpiral::ConstantTerm() const { if( void Ifc4x3_add1::IfcCosineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcCosineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[246]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCosineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[246]); } void Ifc4x3_add1::IfcCosineSpiral::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CosineTerm)); if (v3_ConstantTerm) {set_attribute_value(2, (*v3_ConstantTerm)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4x3_add1::IfcCostItemTypeEnum::Value > Ifc4x3_add1::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add1::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add1::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add1::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add1::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_add1::IfcCostValue > > Ifc4x3_add1::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add1::IfcCostValue>(es); } void Ifc4x3_add1::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x3_add1::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > > Ifc4x3_add1::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_add1::IfcPhysicalQuantity>(es); } void Ifc4x3_add1::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[247]); } -void Ifc4x3_add1::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_add1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[247]); } +void Ifc4x3_add1::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_add1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x3_add1::IfcCostScheduleTypeEnum::Value > Ifc4x3_add1::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add1::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add1::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add1::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add1::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_add1::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add1::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -9539,71 +9539,71 @@ std::optional< std::string > Ifc4x3_add1::IfcCostSchedule::UpdateDate() const { void Ifc4x3_add1::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[249]); } -void Ifc4x3_add1::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[249]); } +void Ifc4x3_add1::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x3_add1::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[251]); } -void Ifc4x3_add1::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_add1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[251]); } +void Ifc4x3_add1::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCourse std::optional< ::Ifc4x3_add1::IfcCourseTypeEnum::Value > Ifc4x3_add1::IfcCourse::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCourseTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCourse::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[253]); } -void Ifc4x3_add1::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCourse::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[253]); } +void Ifc4x3_add1::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCourseType ::Ifc4x3_add1::IfcCourseTypeEnum::Value Ifc4x3_add1::IfcCourseType::PredefinedType() const { return ::Ifc4x3_add1::IfcCourseTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCourseType::setPredefinedType(const ::Ifc4x3_add1::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCourseType::setPredefinedType(const ::Ifc4x3_add1::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCourseType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[254]); } -void Ifc4x3_add1::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCourseType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[254]); } +void Ifc4x3_add1::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCovering std::optional< ::Ifc4x3_add1::IfcCoveringTypeEnum::Value > Ifc4x3_add1::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add1::IfcRelCoversSpaces> Ifc4x3_add1::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[928], 5)); } -std::vector<::Ifc4x3_add1::IfcRelCoversBldgElements> Ifc4x3_add1::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[927], 5)); } +std::vector<::Ifc4x3_add1::IfcRelCoversSpaces> Ifc4x3_add1::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[928], 5)); } +std::vector<::Ifc4x3_add1::IfcRelCoversBldgElements> Ifc4x3_add1::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[927], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[256]); } -void Ifc4x3_add1::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[256]); } +void Ifc4x3_add1::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x3_add1::IfcCoveringTypeEnum::Value Ifc4x3_add1::IfcCoveringType::PredefinedType() const { return ::Ifc4x3_add1::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCoveringType::setPredefinedType(const ::Ifc4x3_add1::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCoveringType::setPredefinedType(const ::Ifc4x3_add1::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[257]); } -void Ifc4x3_add1::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[257]); } +void Ifc4x3_add1::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value > Ifc4x3_add1::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[259]); } -void Ifc4x3_add1::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[259]); } +void Ifc4x3_add1::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value Ifc4x3_add1::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3_add1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add1::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[260]); } -void Ifc4x3_add1::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[260]); } +void Ifc4x3_add1::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x3_add1::IfcAxis2Placement3D Ifc4x3_add1::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcAxis2Placement3D>(); } void Ifc4x3_add1::IfcCsgPrimitive3D::setPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[262]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[262]); } void Ifc4x3_add1::IfcCsgPrimitive3D::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -9611,7 +9611,7 @@ void Ifc4x3_add1::IfcCsgPrimitive3D::initialize(::Ifc4x3_add1::IfcAxis2Placement void Ifc4x3_add1::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x3_add1::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[264]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[264]); } void Ifc4x3_add1::IfcCsgSolid::initialize(::Ifc4x3_add1::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -9627,29 +9627,29 @@ void Ifc4x3_add1::IfcCurrencyRelationship::setRateDateTime(const std::optional< void Ifc4x3_add1::IfcCurrencyRelationship::setRateSource(const ::Ifc4x3_add1::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[266]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[266]); } void Ifc4x3_add1::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_add1::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_add1::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value > Ifc4x3_add1::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[267]); } -void Ifc4x3_add1::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[267]); } +void Ifc4x3_add1::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value Ifc4x3_add1::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3_add1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[268]); } -void Ifc4x3_add1::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[268]); } +void Ifc4x3_add1::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x3_add1::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[271]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[271]); } void Ifc4x3_add1::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -9661,7 +9661,7 @@ std::vector< ::Ifc4x3_add1::IfcCurve > Ifc4x3_add1::IfcCurveBoundedPlane::InnerB void Ifc4x3_add1::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x3_add1::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[272]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[272]); } void Ifc4x3_add1::IfcCurveBoundedPlane::initialize(::Ifc4x3_add1::IfcPlane v1_BasisSurface, ::Ifc4x3_add1::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_add1::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -9673,7 +9673,7 @@ bool Ifc4x3_add1::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_ void Ifc4x3_add1::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[273]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[273]); } void Ifc4x3_add1::IfcCurveBoundedSurface::initialize(::Ifc4x3_add1::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_add1::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment @@ -9687,8 +9687,8 @@ void Ifc4x3_add1::IfcCurveSegment::setSegmentLength(const ::Ifc4x3_add1::IfcCurv void Ifc4x3_add1::IfcCurveSegment::setParentCurve(const ::Ifc4x3_add1::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[279]); } -void Ifc4x3_add1::IfcCurveSegment::initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_add1::IfcPlacement v2_Placement, ::Ifc4x3_add1::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_add1::IfcCurve v5_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[279]); } +void Ifc4x3_add1::IfcCurveSegment::initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_add1::IfcPlacement v2_Placement, ::Ifc4x3_add1::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_add1::IfcCurve v5_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } // Function implementations for IfcCurveStyle ::Ifc4x3_add1::IfcCurveFontOrScaledCurveFontSelect Ifc4x3_add1::IfcCurveStyle::CurveFont() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_add1::IfcCurveFontOrScaledCurveFontSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcCurveFontOrScaledCurveFontSelect>(); } @@ -9701,7 +9701,7 @@ std::optional< bool > Ifc4x3_add1::IfcCurveStyle::ModelOrDraughting() const { if void Ifc4x3_add1::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[280]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[280]); } void Ifc4x3_add1::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_add1::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_add1::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -9711,7 +9711,7 @@ std::vector< ::Ifc4x3_add1::IfcCurveStyleFontPattern > Ifc4x3_add1::IfcCurveStyl void Ifc4x3_add1::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x3_add1::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[281]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[281]); } void Ifc4x3_add1::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add1::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -9723,7 +9723,7 @@ double Ifc4x3_add1::IfcCurveStyleFontAndScaling::CurveFontScaling() const { dou void Ifc4x3_add1::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[282]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[282]); } void Ifc4x3_add1::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcCurveStyleFontSelect v2_CurveStyleFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveStyleFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -9733,7 +9733,7 @@ double Ifc4x3_add1::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { void Ifc4x3_add1::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[283]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[283]); } void Ifc4x3_add1::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -9741,35 +9741,35 @@ double Ifc4x3_add1::IfcCylindricalSurface::Radius() const { double v = get_attr void Ifc4x3_add1::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[285]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[285]); } void Ifc4x3_add1::IfcCylindricalSurface::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x3_add1::IfcDamperTypeEnum::Value > Ifc4x3_add1::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[286]); } -void Ifc4x3_add1::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[286]); } +void Ifc4x3_add1::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x3_add1::IfcDamperTypeEnum::Value Ifc4x3_add1::IfcDamperType::PredefinedType() const { return ::Ifc4x3_add1::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcDamperType::setPredefinedType(const ::Ifc4x3_add1::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcDamperType::setPredefinedType(const ::Ifc4x3_add1::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[287]); } -void Ifc4x3_add1::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[287]); } +void Ifc4x3_add1::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDeepFoundation -const IfcParse::entity& Ifc4x3_add1::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[294]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[294]); } void Ifc4x3_add1::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDeepFoundationType -const IfcParse::entity& Ifc4x3_add1::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[295]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[295]); } void Ifc4x3_add1::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDerivedProfileDef @@ -9781,22 +9781,22 @@ std::optional< std::string > Ifc4x3_add1::IfcDerivedProfileDef::Label() const { void Ifc4x3_add1::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[298]); } -void Ifc4x3_add1::IfcDerivedProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[298]); } +void Ifc4x3_add1::IfcDerivedProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x3_add1::IfcDerivedUnitElement > Ifc4x3_add1::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcDerivedUnitElement>(es); } void Ifc4x3_add1::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x3_add1::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add1::IfcDerivedUnitEnum::Value Ifc4x3_add1::IfcDerivedUnit::UnitType() const { return ::Ifc4x3_add1::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_add1::IfcDerivedUnit::setUnitType(const ::Ifc4x3_add1::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_add1::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_add1::IfcDerivedUnit::setUnitType(const ::Ifc4x3_add1::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_add1::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x3_add1::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } std::optional< std::string > Ifc4x3_add1::IfcDerivedUnit::Name() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_add1::IfcDerivedUnit::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[299]); } -void Ifc4x3_add1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_add1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_add1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[299]); } +void Ifc4x3_add1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_add1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_add1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x3_add1::IfcNamedUnit Ifc4x3_add1::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcNamedUnit>(); } @@ -9805,7 +9805,7 @@ int Ifc4x3_add1::IfcDerivedUnitElement::Exponent() const { int v = get_attribut void Ifc4x3_add1::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[300]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[300]); } void Ifc4x3_add1::IfcDerivedUnitElement::initialize(::Ifc4x3_add1::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -9825,7 +9825,7 @@ int Ifc4x3_add1::IfcDimensionalExponents::LuminousIntensityExponent() const { i void Ifc4x3_add1::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[303]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[303]); } void Ifc4x3_add1::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -9833,7 +9833,7 @@ std::vector< double > /*[2:3]*/ Ifc4x3_add1::IfcDirection::DirectionRatios() con void Ifc4x3_add1::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[305]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[305]); } void Ifc4x3_add1::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDirectrixCurveSweptAreaSolid @@ -9845,129 +9845,129 @@ void Ifc4x3_add1::IfcDirectrixCurveSweptAreaSolid::setStartParam(const ::Ifc4x3_ void Ifc4x3_add1::IfcDirectrixCurveSweptAreaSolid::setEndParam(const ::Ifc4x3_add1::IfcCurveMeasureSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcDirectrixCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[307]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDirectrixCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[307]); } void Ifc4x3_add1::IfcDirectrixCurveSweptAreaSolid::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcCurve v3_Directrix, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_add1::IfcCurveMeasureSelect v5_EndParam) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam)); } // Function implementations for IfcDirectrixDerivedReferenceSweptAreaSolid -const IfcParse::entity& Ifc4x3_add1::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[308]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[308]); } void Ifc4x3_add1::IfcDirectrixDerivedReferenceSweptAreaSolid::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcCurve v3_Directrix, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_add1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_add1::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3_add1::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[309]); } -void Ifc4x3_add1::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[309]); } +void Ifc4x3_add1::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_add1::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[310]); } -void Ifc4x3_add1::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[310]); } +void Ifc4x3_add1::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionBoard std::optional< ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value > Ifc4x3_add1::IfcDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[312]); } -void Ifc4x3_add1::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[312]); } +void Ifc4x3_add1::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionBoardType ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value Ifc4x3_add1::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[313]); } -void Ifc4x3_add1::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[313]); } +void Ifc4x3_add1::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3_add1::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[315]); } -void Ifc4x3_add1::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[315]); } +void Ifc4x3_add1::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_add1::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[316]); } -void Ifc4x3_add1::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[316]); } +void Ifc4x3_add1::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x3_add1::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[318]); } -void Ifc4x3_add1::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[318]); } +void Ifc4x3_add1::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x3_add1::IfcRelFlowControlElements> Ifc4x3_add1::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[937], 4)); } +std::vector<::Ifc4x3_add1::IfcRelFlowControlElements> Ifc4x3_add1::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[937], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[319]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[319]); } void Ifc4x3_add1::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x3_add1::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[320]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[320]); } void Ifc4x3_add1::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x3_add1::IfcRelConnectsPortToElement> Ifc4x3_add1::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[921], 5)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsPortToElement> Ifc4x3_add1::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[921], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[321]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[321]); } void Ifc4x3_add1::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x3_add1::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[322]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[322]); } void Ifc4x3_add1::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x3_add1::IfcRelFlowControlElements> Ifc4x3_add1::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[937], 5)); } +std::vector<::Ifc4x3_add1::IfcRelFlowControlElements> Ifc4x3_add1::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[937], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[323]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[323]); } void Ifc4x3_add1::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x3_add1::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[324]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[324]); } void Ifc4x3_add1::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x3_add1::IfcFlowDirectionEnum::Value > Ifc4x3_add1::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_add1::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add1::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_add1::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add1::IfcDistributionPortTypeEnum::Value > Ifc4x3_add1::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > Ifc4x3_add1::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[325]); } -void Ifc4x3_add1::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_add1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[325]); } +void Ifc4x3_add1::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_add1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x3_add1::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > Ifc4x3_add1::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add1::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add1::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[327]); } -void Ifc4x3_add1::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[327]); } +void Ifc4x3_add1::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x3_add1::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -10001,17 +10001,17 @@ void Ifc4x3_add1::IfcDocumentInformation::setValidFrom(const std::optional< std: std::optional< std::string > Ifc4x3_add1::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_add1::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value > Ifc4x3_add1::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x3_add1::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x3_add1::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x3_add1::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x3_add1::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x3_add1::IfcDocumentStatusEnum::Value > Ifc4x3_add1::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x3_add1::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_add1::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x3_add1::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x3_add1::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_add1::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x3_add1::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x3_add1::IfcRelAssociatesDocument> Ifc4x3_add1::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[912], 5)); } -std::vector<::Ifc4x3_add1::IfcDocumentReference> Ifc4x3_add1::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[332], 4)); } -std::vector<::Ifc4x3_add1::IfcDocumentInformationRelationship> Ifc4x3_add1::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[331], 3)); } -std::vector<::Ifc4x3_add1::IfcDocumentInformationRelationship> Ifc4x3_add1::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[331], 2)); } +std::vector<::Ifc4x3_add1::IfcRelAssociatesDocument> Ifc4x3_add1::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[912], 5)); } +std::vector<::Ifc4x3_add1::IfcDocumentReference> Ifc4x3_add1::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[332], 4)); } +std::vector<::Ifc4x3_add1::IfcDocumentInformationRelationship> Ifc4x3_add1::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[331], 3)); } +std::vector<::Ifc4x3_add1::IfcDocumentInformationRelationship> Ifc4x3_add1::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[331], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[330]); } -void Ifc4x3_add1::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_add1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_add1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_add1::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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_add1::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x3_add1::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[330]); } +void Ifc4x3_add1::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_add1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_add1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_add1::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x3_add1::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x3_add1::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x3_add1::IfcDocumentInformation Ifc4x3_add1::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcDocumentInformation>(); } @@ -10022,7 +10022,7 @@ std::optional< std::string > Ifc4x3_add1::IfcDocumentInformationRelationship::Re void Ifc4x3_add1::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[331]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[331]); } void Ifc4x3_add1::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_add1::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -10031,9 +10031,9 @@ void Ifc4x3_add1::IfcDocumentReference::setDescription(const std::optional< std: ::Ifc4x3_add1::IfcDocumentInformation Ifc4x3_add1::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_add1::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcDocumentInformation>(); } void Ifc4x3_add1::IfcDocumentReference::setReferencedDocument(const ::Ifc4x3_add1::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_add1::IfcRelAssociatesDocument> Ifc4x3_add1::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[912], 5)); } +std::vector<::Ifc4x3_add1::IfcRelAssociatesDocument> Ifc4x3_add1::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[912], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[332]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[332]); } void Ifc4x3_add1::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -10042,15 +10042,15 @@ void Ifc4x3_add1::IfcDoor::setOverallHeight(const std::optional< double >& v) { std::optional< double > Ifc4x3_add1::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_add1::IfcDoorTypeEnum::Value > Ifc4x3_add1::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value > Ifc4x3_add1::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_add1::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add1::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_add1::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add1::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[335]); } -void Ifc4x3_add1::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_add1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[335]); } +void Ifc4x3_add1::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x3_add1::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -10081,120 +10081,120 @@ std::optional< double > Ifc4x3_add1::IfcDoorLiningProperties::LiningToPanelOffse void Ifc4x3_add1::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_add1::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[336]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[336]); } void Ifc4x3_add1::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_add1::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x3_add1::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_add1::IfcDoorPanelOperationEnum::Value Ifc4x3_add1::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x3_add1::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_add1::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add1::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_add1::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_add1::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_add1::IfcDoorPanelPositionEnum::Value Ifc4x3_add1::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x3_add1::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_add1::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add1::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_add1::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add1::IfcShapeAspect Ifc4x3_add1::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_add1::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add1::IfcShapeAspect>(); } void Ifc4x3_add1::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x3_add1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[339]); } -void Ifc4x3_add1::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_add1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_add1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_add1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_add1::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[339]); } +void Ifc4x3_add1::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_add1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_add1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_add1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorType ::Ifc4x3_add1::IfcDoorTypeEnum::Value Ifc4x3_add1::IfcDoorType::PredefinedType() const { return ::Ifc4x3_add1::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcDoorType::setPredefinedType(const ::Ifc4x3_add1::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcDoorType::setPredefinedType(const ::Ifc4x3_add1::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value Ifc4x3_add1::IfcDoorType::OperationType() const { return ::Ifc4x3_add1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcDoorType::setOperationType(const ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_add1::IfcDoorType::setOperationType(const ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_add1::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_add1::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add1::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_add1::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add1::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[340]); } -void Ifc4x3_add1::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[340]); } +void Ifc4x3_add1::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x3_add1::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[344]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[344]); } void Ifc4x3_add1::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_add1::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[345]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[345]); } void Ifc4x3_add1::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value > Ifc4x3_add1::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[346]); } -void Ifc4x3_add1::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[346]); } +void Ifc4x3_add1::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value Ifc4x3_add1::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3_add1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[347]); } -void Ifc4x3_add1::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[347]); } +void Ifc4x3_add1::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value > Ifc4x3_add1::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[349]); } -void Ifc4x3_add1::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[349]); } +void Ifc4x3_add1::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value Ifc4x3_add1::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[350]); } -void Ifc4x3_add1::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[350]); } +void Ifc4x3_add1::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value > Ifc4x3_add1::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[352]); } -void Ifc4x3_add1::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[352]); } +void Ifc4x3_add1::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value Ifc4x3_add1::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[353]); } -void Ifc4x3_add1::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[353]); } +void Ifc4x3_add1::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEarthworksCut std::optional< ::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value > Ifc4x3_add1::IfcEarthworksCut::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcEarthworksCutTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcEarthworksCut::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[357]); } -void Ifc4x3_add1::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcEarthworksCut::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[357]); } +void Ifc4x3_add1::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEarthworksElement -const IfcParse::entity& Ifc4x3_add1::IfcEarthworksElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[359]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEarthworksElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[359]); } void Ifc4x3_add1::IfcEarthworksElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEarthworksFill std::optional< ::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value > Ifc4x3_add1::IfcEarthworksFill::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcEarthworksFillTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcEarthworksFill::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[360]); } -void Ifc4x3_add1::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcEarthworksFill::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[360]); } +void Ifc4x3_add1::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEdge ::Ifc4x3_add1::IfcVertex Ifc4x3_add1::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcVertex>(); } @@ -10203,7 +10203,7 @@ void Ifc4x3_add1::IfcEdge::setEdgeStart(const ::Ifc4x3_add1::IfcVertex& v) { set void Ifc4x3_add1::IfcEdge::setEdgeEnd(const ::Ifc4x3_add1::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[362]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[362]); } void Ifc4x3_add1::IfcEdge::initialize(::Ifc4x3_add1::IfcVertex v1_EdgeStart, ::Ifc4x3_add1::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -10213,7 +10213,7 @@ bool Ifc4x3_add1::IfcEdgeCurve::SameSense() const { bool v = get_attribute_valu void Ifc4x3_add1::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[363]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[363]); } void Ifc4x3_add1::IfcEdgeCurve::initialize(::Ifc4x3_add1::IfcVertex v1_EdgeStart, ::Ifc4x3_add1::IfcVertex v2_EdgeEnd, ::Ifc4x3_add1::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -10221,169 +10221,169 @@ std::vector< ::Ifc4x3_add1::IfcOrientedEdge > Ifc4x3_add1::IfcEdgeLoop::EdgeList void Ifc4x3_add1::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x3_add1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[364]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[364]); } void Ifc4x3_add1::IfcEdgeLoop::initialize(std::vector< ::Ifc4x3_add1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value > Ifc4x3_add1::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[365]); } -void Ifc4x3_add1::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[365]); } +void Ifc4x3_add1::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value Ifc4x3_add1::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[366]); } -void Ifc4x3_add1::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[366]); } +void Ifc4x3_add1::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3_add1::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[372]); } -void Ifc4x3_add1::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[372]); } +void Ifc4x3_add1::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_add1::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[373]); } -void Ifc4x3_add1::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[373]); } +void Ifc4x3_add1::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3_add1::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[375]); } -void Ifc4x3_add1::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[375]); } +void Ifc4x3_add1::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_add1::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[376]); } -void Ifc4x3_add1::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[376]); } +void Ifc4x3_add1::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowTreatmentDevice std::optional< ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3_add1::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcElectricFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[378]); } -void Ifc4x3_add1::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[378]); } +void Ifc4x3_add1::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowTreatmentDeviceType ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_add1::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcElectricFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[379]); } -void Ifc4x3_add1::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[379]); } +void Ifc4x3_add1::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value > Ifc4x3_add1::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[381]); } -void Ifc4x3_add1::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[381]); } +void Ifc4x3_add1::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value Ifc4x3_add1::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[382]); } -void Ifc4x3_add1::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[382]); } +void Ifc4x3_add1::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value > Ifc4x3_add1::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[384]); } -void Ifc4x3_add1::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[384]); } +void Ifc4x3_add1::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value Ifc4x3_add1::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3_add1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[385]); } -void Ifc4x3_add1::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[385]); } +void Ifc4x3_add1::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value > Ifc4x3_add1::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[388]); } -void Ifc4x3_add1::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[388]); } +void Ifc4x3_add1::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value Ifc4x3_add1::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[389]); } -void Ifc4x3_add1::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[389]); } +void Ifc4x3_add1::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x3_add1::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add1::IfcRelFillsElement> Ifc4x3_add1::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[936], 5)); } -std::vector<::Ifc4x3_add1::IfcRelConnectsElements> Ifc4x3_add1::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[918], 5)); } -std::vector<::Ifc4x3_add1::IfcRelInterferesElements> Ifc4x3_add1::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[938], 5)); } -std::vector<::Ifc4x3_add1::IfcRelInterferesElements> Ifc4x3_add1::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[938], 4)); } -std::vector<::Ifc4x3_add1::IfcRelProjectsElement> Ifc4x3_add1::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[941], 4)); } -std::vector<::Ifc4x3_add1::IfcRelVoidsElement> Ifc4x3_add1::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[948], 4)); } -std::vector<::Ifc4x3_add1::IfcRelConnectsWithRealizingElements> Ifc4x3_add1::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[925], 7)); } -std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary> Ifc4x3_add1::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[945], 5)); } -std::vector<::Ifc4x3_add1::IfcRelConnectsElements> Ifc4x3_add1::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[918], 6)); } -std::vector<::Ifc4x3_add1::IfcRelContainedInSpatialStructure> Ifc4x3_add1::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[926], 4)); } -std::vector<::Ifc4x3_add1::IfcRelCoversBldgElements> Ifc4x3_add1::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[927], 4)); } -std::vector<::Ifc4x3_add1::IfcRelAdheresToElement> Ifc4x3_add1::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[898], 4)); } +std::vector<::Ifc4x3_add1::IfcRelFillsElement> Ifc4x3_add1::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[936], 5)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsElements> Ifc4x3_add1::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[918], 5)); } +std::vector<::Ifc4x3_add1::IfcRelInterferesElements> Ifc4x3_add1::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[938], 5)); } +std::vector<::Ifc4x3_add1::IfcRelInterferesElements> Ifc4x3_add1::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[938], 4)); } +std::vector<::Ifc4x3_add1::IfcRelProjectsElement> Ifc4x3_add1::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[941], 4)); } +std::vector<::Ifc4x3_add1::IfcRelVoidsElement> Ifc4x3_add1::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[948], 4)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsWithRealizingElements> Ifc4x3_add1::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[925], 7)); } +std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary> Ifc4x3_add1::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[945], 5)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsElements> Ifc4x3_add1::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[918], 6)); } +std::vector<::Ifc4x3_add1::IfcRelContainedInSpatialStructure> Ifc4x3_add1::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[926], 4)); } +std::vector<::Ifc4x3_add1::IfcRelCoversBldgElements> Ifc4x3_add1::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[927], 4)); } +std::vector<::Ifc4x3_add1::IfcRelAdheresToElement> Ifc4x3_add1::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[898], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[392]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[392]); } void Ifc4x3_add1::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value > Ifc4x3_add1::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value > Ifc4x3_add1::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[394]); } -void Ifc4x3_add1::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[394]); } +void Ifc4x3_add1::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value Ifc4x3_add1::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[395]); } -void Ifc4x3_add1::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[395]); } +void Ifc4x3_add1::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x3_add1::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[397]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[397]); } void Ifc4x3_add1::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x3_add1::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[398]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[398]); } void Ifc4x3_add1::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -10393,7 +10393,7 @@ std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > Ifc4x3_add1::IfcElementQuantit void Ifc4x3_add1::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[400]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[400]); } void Ifc4x3_add1::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -10401,7 +10401,7 @@ std::optional< std::string > Ifc4x3_add1::IfcElementType::ElementType() const { void Ifc4x3_add1::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[401]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[401]); } void Ifc4x3_add1::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -10409,7 +10409,7 @@ void Ifc4x3_add1::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_a void Ifc4x3_add1::IfcElementarySurface::setPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[393]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[393]); } void Ifc4x3_add1::IfcElementarySurface::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -10419,7 +10419,7 @@ double Ifc4x3_add1::IfcEllipse::SemiAxis2() const { double v = get_attribute_va void Ifc4x3_add1::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[402]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[402]); } void Ifc4x3_add1::IfcEllipse::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -10429,82 +10429,82 @@ double Ifc4x3_add1::IfcEllipseProfileDef::SemiAxis2() const { double v = get_at void Ifc4x3_add1::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[403]); } -void Ifc4x3_add1::IfcEllipseProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[403]); } +void Ifc4x3_add1::IfcEllipseProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x3_add1::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[404]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[404]); } void Ifc4x3_add1::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x3_add1::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[405]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[405]); } void Ifc4x3_add1::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x3_add1::IfcEngineTypeEnum::Value > Ifc4x3_add1::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[407]); } -void Ifc4x3_add1::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[407]); } +void Ifc4x3_add1::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x3_add1::IfcEngineTypeEnum::Value Ifc4x3_add1::IfcEngineType::PredefinedType() const { return ::Ifc4x3_add1::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcEngineType::setPredefinedType(const ::Ifc4x3_add1::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcEngineType::setPredefinedType(const ::Ifc4x3_add1::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[408]); } -void Ifc4x3_add1::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[408]); } +void Ifc4x3_add1::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3_add1::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[410]); } -void Ifc4x3_add1::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[410]); } +void Ifc4x3_add1::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_add1::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[411]); } -void Ifc4x3_add1::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[411]); } +void Ifc4x3_add1::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value > Ifc4x3_add1::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[413]); } -void Ifc4x3_add1::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[413]); } +void Ifc4x3_add1::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value Ifc4x3_add1::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3_add1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[414]); } -void Ifc4x3_add1::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[414]); } +void Ifc4x3_add1::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x3_add1::IfcEventTypeEnum::Value > Ifc4x3_add1::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add1::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value > Ifc4x3_add1::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_add1::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x3_add1::IfcEventTime Ifc4x3_add1::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_add1::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_add1::IfcEventTime>(); } void Ifc4x3_add1::IfcEvent::setEventOccurenceTime(const ::Ifc4x3_add1::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add1::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[416]); } -void Ifc4x3_add1::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_add1::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[416]); } +void Ifc4x3_add1::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_add1::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x3_add1::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -10517,20 +10517,20 @@ std::optional< std::string > Ifc4x3_add1::IfcEventTime::ScheduleDate() const { i void Ifc4x3_add1::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[417]); } -void Ifc4x3_add1::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[417]); } +void Ifc4x3_add1::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcEventType ::Ifc4x3_add1::IfcEventTypeEnum::Value Ifc4x3_add1::IfcEventType::PredefinedType() const { return ::Ifc4x3_add1::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcEventType::setPredefinedType(const ::Ifc4x3_add1::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcEventType::setPredefinedType(const ::Ifc4x3_add1::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value Ifc4x3_add1::IfcEventType::EventTriggerType() const { return ::Ifc4x3_add1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcEventType::setEventTriggerType(const ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_add1::IfcEventType::setEventTriggerType(const ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x3_add1::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x3_add1::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_add1::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[419]); } -void Ifc4x3_add1::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_add1::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[419]); } +void Ifc4x3_add1::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_add1::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x3_add1::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10541,13 +10541,13 @@ std::vector< ::Ifc4x3_add1::IfcProperty > Ifc4x3_add1::IfcExtendedProperties::Pr void Ifc4x3_add1::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x3_add1::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[421]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[421]); } void Ifc4x3_add1::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x3_add1::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[422]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[422]); } void Ifc4x3_add1::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -10558,9 +10558,9 @@ void Ifc4x3_add1::IfcExternalReference::setIdentification(const std::optional< s std::optional< std::string > Ifc4x3_add1::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 2)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[426]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[426]); } void Ifc4x3_add1::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -10570,40 +10570,40 @@ std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > Ifc4x3_add1::IfcExternalRe void Ifc4x3_add1::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[427]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[427]); } void Ifc4x3_add1::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3_add1::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary> Ifc4x3_add1::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[945], 4)); } +std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary> Ifc4x3_add1::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[945], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[428]); } -void Ifc4x3_add1::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[428]); } +void Ifc4x3_add1::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x3_add1::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[430]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[430]); } void Ifc4x3_add1::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x3_add1::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[423]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[423]); } void Ifc4x3_add1::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x3_add1::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[424]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[424]); } void Ifc4x3_add1::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x3_add1::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[425]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[425]); } void Ifc4x3_add1::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -10613,7 +10613,7 @@ double Ifc4x3_add1::IfcExtrudedAreaSolid::Depth() const { double v = get_attrib void Ifc4x3_add1::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[431]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[431]); } void Ifc4x3_add1::IfcExtrudedAreaSolid::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -10621,16 +10621,16 @@ void Ifc4x3_add1::IfcExtrudedAreaSolid::initialize(::Ifc4x3_add1::IfcProfileDef void Ifc4x3_add1::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_add1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[432]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[432]); } void Ifc4x3_add1::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_add1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x3_add1::IfcFaceBound > Ifc4x3_add1::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcFaceBound>(es); } void Ifc4x3_add1::IfcFace::setBounds(const std::vector< ::Ifc4x3_add1::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add1::IfcTextureMap> Ifc4x3_add1::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1196], 2)); } +std::vector<::Ifc4x3_add1::IfcTextureMap> Ifc4x3_add1::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1196], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcFace::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[433]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[433]); } void Ifc4x3_add1::IfcFace::initialize(std::vector< ::Ifc4x3_add1::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -10638,7 +10638,7 @@ std::vector< ::Ifc4x3_add1::IfcConnectedFaceSet > Ifc4x3_add1::IfcFaceBasedSurfa void Ifc4x3_add1::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x3_add1::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[434]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[434]); } void Ifc4x3_add1::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_add1::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -10648,13 +10648,13 @@ bool Ifc4x3_add1::IfcFaceBound::Orientation() const { bool v = get_attribute_va void Ifc4x3_add1::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[435]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[435]); } void Ifc4x3_add1::IfcFaceBound::initialize(::Ifc4x3_add1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x3_add1::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[436]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[436]); } void Ifc4x3_add1::IfcFaceOuterBound::initialize(::Ifc4x3_add1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -10664,13 +10664,13 @@ bool Ifc4x3_add1::IfcFaceSurface::SameSense() const { bool v = get_attribute_va void Ifc4x3_add1::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[437]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[437]); } void Ifc4x3_add1::IfcFaceSurface::initialize(std::vector< ::Ifc4x3_add1::IfcFaceBound > v1_Bounds, ::Ifc4x3_add1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x3_add1::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[438]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[438]); } void Ifc4x3_add1::IfcFacetedBrep::initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -10678,30 +10678,30 @@ std::vector< ::Ifc4x3_add1::IfcClosedShell > Ifc4x3_add1::IfcFacetedBrepWithVoid void Ifc4x3_add1::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_add1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[439]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[439]); } void Ifc4x3_add1::IfcFacetedBrepWithVoids::initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_add1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFacility -const IfcParse::entity& Ifc4x3_add1::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[440]); } -void Ifc4x3_add1::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[440]); } +void Ifc4x3_add1::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFacilityPart ::Ifc4x3_add1::IfcFacilityUsageEnum::Value Ifc4x3_add1::IfcFacilityPart::UsageType() const { return ::Ifc4x3_add1::IfcFacilityUsageEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcFacilityPart::setUsageType(const ::Ifc4x3_add1::IfcFacilityUsageEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcFacilityPart::setUsageType(const ::Ifc4x3_add1::IfcFacilityUsageEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[441]); } -void Ifc4x3_add1::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[441]); } +void Ifc4x3_add1::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); } // Function implementations for IfcFacilityPartCommon std::optional< ::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value > Ifc4x3_add1::IfcFacilityPartCommon::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcFacilityPartCommon::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcFacilityPartCommon::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcFacilityPartCommon::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[442]); } -void Ifc4x3_add1::IfcFacilityPartCommon::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFacilityPartCommon::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[442]); } +void Ifc4x3_add1::IfcFacilityPartCommon::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcFailureConnectionCondition std::optional< double > Ifc4x3_add1::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10718,59 +10718,59 @@ std::optional< double > Ifc4x3_add1::IfcFailureConnectionCondition::CompressionF void Ifc4x3_add1::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[445]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[445]); } void Ifc4x3_add1::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x3_add1::IfcFanTypeEnum::Value > Ifc4x3_add1::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcFan::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[446]); } -void Ifc4x3_add1::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[446]); } +void Ifc4x3_add1::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x3_add1::IfcFanTypeEnum::Value Ifc4x3_add1::IfcFanType::PredefinedType() const { return ::Ifc4x3_add1::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcFanType::setPredefinedType(const ::Ifc4x3_add1::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcFanType::setPredefinedType(const ::Ifc4x3_add1::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[447]); } -void Ifc4x3_add1::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[447]); } +void Ifc4x3_add1::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x3_add1::IfcFastenerTypeEnum::Value > Ifc4x3_add1::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[449]); } -void Ifc4x3_add1::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[449]); } +void Ifc4x3_add1::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x3_add1::IfcFastenerTypeEnum::Value Ifc4x3_add1::IfcFastenerType::PredefinedType() const { return ::Ifc4x3_add1::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcFastenerType::setPredefinedType(const ::Ifc4x3_add1::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcFastenerType::setPredefinedType(const ::Ifc4x3_add1::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[450]); } -void Ifc4x3_add1::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[450]); } +void Ifc4x3_add1::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x3_add1::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[452]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[452]); } void Ifc4x3_add1::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x3_add1::IfcRelProjectsElement> Ifc4x3_add1::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[941], 5)); } +std::vector<::Ifc4x3_add1::IfcRelProjectsElement> Ifc4x3_add1::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[941], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[453]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[453]); } void Ifc4x3_add1::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x3_add1::IfcRelVoidsElement> Ifc4x3_add1::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[948], 5)); } +std::vector<::Ifc4x3_add1::IfcRelVoidsElement> Ifc4x3_add1::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[948], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[454]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[454]); } void Ifc4x3_add1::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -10780,7 +10780,7 @@ std::optional< bool > Ifc4x3_add1::IfcFillAreaStyle::ModelOrDraughting() const { void Ifc4x3_add1::IfcFillAreaStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[455]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[455]); } void Ifc4x3_add1::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add1::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -10796,7 +10796,7 @@ double Ifc4x3_add1::IfcFillAreaStyleHatching::HatchLineAngle() const { double v void Ifc4x3_add1::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[456]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[456]); } void Ifc4x3_add1::IfcFillAreaStyleHatching::initialize(::Ifc4x3_add1::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_add1::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_add1::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_add1::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -10808,210 +10808,210 @@ double Ifc4x3_add1::IfcFillAreaStyleTiles::TilingScale() const { double v = get void Ifc4x3_add1::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[457]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[457]); } void Ifc4x3_add1::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x3_add1::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_add1::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x3_add1::IfcFilterTypeEnum::Value > Ifc4x3_add1::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[459]); } -void Ifc4x3_add1::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[459]); } +void Ifc4x3_add1::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x3_add1::IfcFilterTypeEnum::Value Ifc4x3_add1::IfcFilterType::PredefinedType() const { return ::Ifc4x3_add1::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcFilterType::setPredefinedType(const ::Ifc4x3_add1::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcFilterType::setPredefinedType(const ::Ifc4x3_add1::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[460]); } -void Ifc4x3_add1::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[460]); } +void Ifc4x3_add1::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3_add1::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[462]); } -void Ifc4x3_add1::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[462]); } +void Ifc4x3_add1::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_add1::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[463]); } -void Ifc4x3_add1::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[463]); } +void Ifc4x3_add1::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x3_add1::IfcDirection Ifc4x3_add1::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add1::IfcDirection>(); } void Ifc4x3_add1::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[465]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[465]); } void Ifc4x3_add1::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcCurve v3_Directrix, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_add1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_add1::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x3_add1::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[466]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[466]); } void Ifc4x3_add1::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x3_add1::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[467]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[467]); } void Ifc4x3_add1::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x3_add1::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[469]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[469]); } void Ifc4x3_add1::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x3_add1::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[470]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[470]); } void Ifc4x3_add1::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value > Ifc4x3_add1::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[471]); } -void Ifc4x3_add1::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[471]); } +void Ifc4x3_add1::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value Ifc4x3_add1::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[472]); } -void Ifc4x3_add1::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[472]); } +void Ifc4x3_add1::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value > Ifc4x3_add1::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[474]); } -void Ifc4x3_add1::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[474]); } +void Ifc4x3_add1::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value Ifc4x3_add1::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3_add1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[475]); } -void Ifc4x3_add1::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[475]); } +void Ifc4x3_add1::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x3_add1::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[477]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[477]); } void Ifc4x3_add1::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x3_add1::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[478]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[478]); } void Ifc4x3_add1::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x3_add1::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[479]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[479]); } void Ifc4x3_add1::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x3_add1::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[480]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[480]); } void Ifc4x3_add1::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x3_add1::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[481]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[481]); } void Ifc4x3_add1::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x3_add1::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[482]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[482]); } void Ifc4x3_add1::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x3_add1::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[483]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[483]); } void Ifc4x3_add1::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x3_add1::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[484]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[484]); } void Ifc4x3_add1::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x3_add1::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[485]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[485]); } void Ifc4x3_add1::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x3_add1::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[486]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[486]); } void Ifc4x3_add1::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x3_add1::IfcFootingTypeEnum::Value > Ifc4x3_add1::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[490]); } -void Ifc4x3_add1::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[490]); } +void Ifc4x3_add1::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x3_add1::IfcFootingTypeEnum::Value Ifc4x3_add1::IfcFootingType::PredefinedType() const { return ::Ifc4x3_add1::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcFootingType::setPredefinedType(const ::Ifc4x3_add1::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcFootingType::setPredefinedType(const ::Ifc4x3_add1::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[491]); } -void Ifc4x3_add1::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[491]); } +void Ifc4x3_add1::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x3_add1::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[495]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[495]); } void Ifc4x3_add1::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x3_add1::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[496]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[496]); } void Ifc4x3_add1::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > Ifc4x3_add1::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[497]); } -void Ifc4x3_add1::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[497]); } +void Ifc4x3_add1::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value Ifc4x3_add1::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3_add1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > Ifc4x3_add1::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[498]); } -void Ifc4x3_add1::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[498]); } +void Ifc4x3_add1::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicCRS std::optional< std::string > Ifc4x3_add1::IfcGeographicCRS::GeodeticDatum() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } @@ -11022,29 +11022,29 @@ void Ifc4x3_add1::IfcGeographicCRS::setPrimeMeridian(const std::optional< std::s void Ifc4x3_add1::IfcGeographicCRS::setUnit(const ::Ifc4x3_add1::IfcNamedUnit& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcGeographicCRS::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[500]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeographicCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[500]); } void Ifc4x3_add1::IfcGeographicCRS::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_PrimeMeridian, ::Ifc4x3_add1::IfcNamedUnit v5_Unit) { 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_Unit)); } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value > Ifc4x3_add1::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[501]); } -void Ifc4x3_add1::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[501]); } +void Ifc4x3_add1::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value Ifc4x3_add1::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3_add1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[502]); } -void Ifc4x3_add1::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[502]); } +void Ifc4x3_add1::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x3_add1::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[504]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[504]); } void Ifc4x3_add1::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_add1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -11057,16 +11057,16 @@ void Ifc4x3_add1::IfcGeometricRepresentationContext::setWorldCoordinateSystem(co ::Ifc4x3_add1::IfcDirection Ifc4x3_add1::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_add1::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add1::IfcDirection>(); } void Ifc4x3_add1::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_add1::IfcGeometricRepresentationSubContext> Ifc4x3_add1::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[508], 6)); } -std::vector<::Ifc4x3_add1::IfcCoordinateOperation> Ifc4x3_add1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[243], 0)); } +std::vector<::Ifc4x3_add1::IfcGeometricRepresentationSubContext> Ifc4x3_add1::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[508], 6)); } +std::vector<::Ifc4x3_add1::IfcCoordinateOperation> Ifc4x3_add1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[243], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[506]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[506]); } void Ifc4x3_add1::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_add1::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_add1::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x3_add1::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[507]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[507]); } void Ifc4x3_add1::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -11075,53 +11075,53 @@ void Ifc4x3_add1::IfcGeometricRepresentationSubContext::setParentContext(const : std::optional< double > Ifc4x3_add1::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_add1::IfcGeometricProjectionEnum::Value Ifc4x3_add1::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x3_add1::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_add1::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add1::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_add1::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x3_add1::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[508]); } -void Ifc4x3_add1::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_add1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_add1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[508]); } +void Ifc4x3_add1::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_add1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_add1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x3_add1::IfcGeometricSetSelect > Ifc4x3_add1::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcGeometricSetSelect>(es); } void Ifc4x3_add1::IfcGeometricSet::setElements(const std::vector< ::Ifc4x3_add1::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[509]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[509]); } void Ifc4x3_add1::IfcGeometricSet::initialize(std::vector< ::Ifc4x3_add1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeomodel -const IfcParse::entity& Ifc4x3_add1::IfcGeomodel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[511]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeomodel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[511]); } void Ifc4x3_add1::IfcGeomodel::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeoslice -const IfcParse::entity& Ifc4x3_add1::IfcGeoslice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[512]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeoslice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[512]); } void Ifc4x3_add1::IfcGeoslice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalAssembly -const IfcParse::entity& Ifc4x3_add1::IfcGeotechnicalAssembly::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[513]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeotechnicalAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[513]); } void Ifc4x3_add1::IfcGeotechnicalAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalElement -const IfcParse::entity& Ifc4x3_add1::IfcGeotechnicalElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[514]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeotechnicalElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[514]); } void Ifc4x3_add1::IfcGeotechnicalElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalStratum std::optional< ::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value > Ifc4x3_add1::IfcGeotechnicalStratum::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcGeotechnicalStratum::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcGeotechnicalStratum::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcGeotechnicalStratum::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[515]); } -void Ifc4x3_add1::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcGeotechnicalStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[515]); } +void Ifc4x3_add1::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGradientCurve ::Ifc4x3_add1::IfcBoundedCurve Ifc4x3_add1::IfcGradientCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcBoundedCurve>(); } @@ -11130,7 +11130,7 @@ void Ifc4x3_add1::IfcGradientCurve::setBaseCurve(const ::Ifc4x3_add1::IfcBounded void Ifc4x3_add1::IfcGradientCurve::setEndPoint(const ::Ifc4x3_add1::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcGradientCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[519]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGradientCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[519]); } void Ifc4x3_add1::IfcGradientCurve::initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_add1::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcGrid @@ -11141,11 +11141,11 @@ void Ifc4x3_add1::IfcGrid::setVAxes(const std::vector< ::Ifc4x3_add1::IfcGridAxi std::optional< std::vector< ::Ifc4x3_add1::IfcGridAxis > > Ifc4x3_add1::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_add1::IfcGridAxis>(es); } void Ifc4x3_add1::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x3_add1::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_add1::IfcGridTypeEnum::Value > Ifc4x3_add1::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[520]); } -void Ifc4x3_add1::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_add1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_add1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_add1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_add1::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[520]); } +void Ifc4x3_add1::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_add1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_add1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_add1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_add1::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x3_add1::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11155,12 +11155,12 @@ void Ifc4x3_add1::IfcGridAxis::setAxisCurve(const ::Ifc4x3_add1::IfcCurve& v) { bool Ifc4x3_add1::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_add1::IfcGrid> Ifc4x3_add1::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[520], 9)); } -std::vector<::Ifc4x3_add1::IfcGrid> Ifc4x3_add1::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[520], 8)); } -std::vector<::Ifc4x3_add1::IfcGrid> Ifc4x3_add1::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[520], 7)); } -std::vector<::Ifc4x3_add1::IfcVirtualGridIntersection> Ifc4x3_add1::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1277], 0)); } +std::vector<::Ifc4x3_add1::IfcGrid> Ifc4x3_add1::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[520], 9)); } +std::vector<::Ifc4x3_add1::IfcGrid> Ifc4x3_add1::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[520], 8)); } +std::vector<::Ifc4x3_add1::IfcGrid> Ifc4x3_add1::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[520], 7)); } +std::vector<::Ifc4x3_add1::IfcVirtualGridIntersection> Ifc4x3_add1::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1277], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[521]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[521]); } void Ifc4x3_add1::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_add1::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -11170,15 +11170,15 @@ void Ifc4x3_add1::IfcGridPlacement::setPlacementLocation(const ::Ifc4x3_add1::If void Ifc4x3_add1::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x3_add1::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[522]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[522]); } void Ifc4x3_add1::IfcGridPlacement::initialize(::Ifc4x3_add1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add1::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_add1::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x3_add1::IfcRelAssignsToGroup> Ifc4x3_add1::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[903], 6)); } -std::vector<::Ifc4x3_add1::IfcRelReferencedInSpatialStructure> Ifc4x3_add1::IfcGroup::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[942], 4)); } +std::vector<::Ifc4x3_add1::IfcRelAssignsToGroup> Ifc4x3_add1::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[903], 6)); } +std::vector<::Ifc4x3_add1::IfcRelReferencedInSpatialStructure> Ifc4x3_add1::IfcGroup::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[942], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[525]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[525]); } void Ifc4x3_add1::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -11188,40 +11188,40 @@ bool Ifc4x3_add1::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attri void Ifc4x3_add1::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[526]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[526]); } void Ifc4x3_add1::IfcHalfSpaceSolid::initialize(::Ifc4x3_add1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value > Ifc4x3_add1::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[528]); } -void Ifc4x3_add1::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[528]); } +void Ifc4x3_add1::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value Ifc4x3_add1::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[529]); } -void Ifc4x3_add1::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[529]); } +void Ifc4x3_add1::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value > Ifc4x3_add1::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[533]); } -void Ifc4x3_add1::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[533]); } +void Ifc4x3_add1::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value Ifc4x3_add1::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3_add1::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[534]); } -void Ifc4x3_add1::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[534]); } +void Ifc4x3_add1::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x3_add1::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -11240,32 +11240,32 @@ std::optional< double > Ifc4x3_add1::IfcIShapeProfileDef::FlangeSlope() const { void Ifc4x3_add1::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[563]); } -void Ifc4x3_add1::IfcIShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[563]); } +void Ifc4x3_add1::IfcIShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x3_add1::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[538]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[538]); } void Ifc4x3_add1::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcImpactProtectionDevice std::optional< ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value > Ifc4x3_add1::IfcImpactProtectionDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcImpactProtectionDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcImpactProtectionDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcImpactProtectionDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[539]); } -void Ifc4x3_add1::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcImpactProtectionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[539]); } +void Ifc4x3_add1::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcImpactProtectionDeviceType ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_add1::IfcImpactProtectionDeviceType::PredefinedType() const { return ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcImpactProtectionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[540]); } -void Ifc4x3_add1::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcImpactProtectionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[540]); } +void Ifc4x3_add1::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIndexedColourMap ::Ifc4x3_add1::IfcTessellatedFaceSet Ifc4x3_add1::IfcIndexedColourMap::MappedTo() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcTessellatedFaceSet>(); } @@ -11278,7 +11278,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_add1::IfcIndexedColourMap::ColourIndex() con void Ifc4x3_add1::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[542]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[542]); } void Ifc4x3_add1::IfcIndexedColourMap::initialize(::Ifc4x3_add1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -11290,17 +11290,17 @@ std::optional< bool > Ifc4x3_add1::IfcIndexedPolyCurve::SelfIntersect() const { void Ifc4x3_add1::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[543]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[543]); } void Ifc4x3_add1::IfcIndexedPolyCurve::initialize(::Ifc4x3_add1::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_add1::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x3_add1::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x3_add1::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add1::IfcPolygonalFaceSet> Ifc4x3_add1::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[770], 2)); } -std::vector<::Ifc4x3_add1::IfcTextureCoordinateIndices> Ifc4x3_add1::IfcIndexedPolygonalFace::HasTexCoords() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1194], 1)); } +std::vector<::Ifc4x3_add1::IfcPolygonalFaceSet> Ifc4x3_add1::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[770], 2)); } +std::vector<::Ifc4x3_add1::IfcTextureCoordinateIndices> Ifc4x3_add1::IfcIndexedPolygonalFace::HasTexCoords() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1194], 1)); } -const IfcParse::entity& Ifc4x3_add1::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[544]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[544]); } void Ifc4x3_add1::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -11308,7 +11308,7 @@ std::vector< std::vector< int > > Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids: void Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[545]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[545]); } void Ifc4x3_add1::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedPolygonalTextureMap @@ -11316,7 +11316,7 @@ std::vector< ::Ifc4x3_add1::IfcTextureCoordinateIndices > Ifc4x3_add1::IfcIndexe void Ifc4x3_add1::IfcIndexedPolygonalTextureMap::setTexCoordIndices(const std::vector< ::Ifc4x3_add1::IfcTextureCoordinateIndices >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcIndexedPolygonalTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[546]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedPolygonalTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[546]); } void Ifc4x3_add1::IfcIndexedPolygonalTextureMap::initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add1::IfcTextureVertexList v3_TexCoords, std::vector< ::Ifc4x3_add1::IfcTextureCoordinateIndices > v4_TexCoordIndices) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords));set_attribute_value(3, cast_vector(v4_TexCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -11326,7 +11326,7 @@ void Ifc4x3_add1::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x3_add1::IfcTess void Ifc4x3_add1::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x3_add1::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[547]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[547]); } void Ifc4x3_add1::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add1::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -11334,34 +11334,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x3_add1::IfcIndexedTriang void Ifc4x3_add1::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[548]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[548]); } void Ifc4x3_add1::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value > Ifc4x3_add1::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[552]); } -void Ifc4x3_add1::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[552]); } +void Ifc4x3_add1::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value Ifc4x3_add1::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3_add1::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[553]); } -void Ifc4x3_add1::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[553]); } +void Ifc4x3_add1::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x3_add1::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[557]); } -void Ifc4x3_add1::IfcIntersectionCurve::initialize(::Ifc4x3_add1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[557]); } +void Ifc4x3_add1::IfcIntersectionCurve::initialize(::Ifc4x3_add1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x3_add1::IfcInventoryTypeEnum::Value > Ifc4x3_add1::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_add1::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x3_add1::IfcActorSelect Ifc4x3_add1::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add1::IfcActorSelect>(); } void Ifc4x3_add1::IfcInventory::setJurisdiction(const ::Ifc4x3_add1::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > Ifc4x3_add1::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add1::IfcPerson>(es); } @@ -11374,16 +11374,16 @@ void Ifc4x3_add1::IfcInventory::setCurrentValue(const ::Ifc4x3_add1::IfcCostValu void Ifc4x3_add1::IfcInventory::setOriginalValue(const ::Ifc4x3_add1::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add1::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[558]); } -void Ifc4x3_add1::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_add1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_add1::IfcCostValue v10_CurrentValue, ::Ifc4x3_add1::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[558]); } +void Ifc4x3_add1::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_add1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_add1::IfcCostValue v10_CurrentValue, ::Ifc4x3_add1::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x3_add1::IfcIrregularTimeSeriesValue > Ifc4x3_add1::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_add1::IfcIrregularTimeSeriesValue>(es); } void Ifc4x3_add1::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x3_add1::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[561]); } -void Ifc4x3_add1::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_add1::IfcIrregularTimeSeriesValue > v9_Values) { 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_add1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[561]); } +void Ifc4x3_add1::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_add1::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x3_add1::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -11392,40 +11392,40 @@ std::vector< ::Ifc4x3_add1::IfcValue > Ifc4x3_add1::IfcIrregularTimeSeriesValue: void Ifc4x3_add1::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_add1::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[562]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[562]); } void Ifc4x3_add1::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_add1::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value > Ifc4x3_add1::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[565]); } -void Ifc4x3_add1::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[565]); } +void Ifc4x3_add1::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value Ifc4x3_add1::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[566]); } -void Ifc4x3_add1::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[566]); } +void Ifc4x3_add1::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcKerb std::optional< ::Ifc4x3_add1::IfcKerbTypeEnum::Value > Ifc4x3_add1::IfcKerb::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcKerbTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcKerb::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcKerbTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcKerbTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcKerb::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcKerbTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcKerbTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcKerb::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[568]); } -void Ifc4x3_add1::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcKerbTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcKerbTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcKerb::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[568]); } +void Ifc4x3_add1::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcKerbTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcKerbTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcKerbType ::Ifc4x3_add1::IfcKerbTypeEnum::Value Ifc4x3_add1::IfcKerbType::PredefinedType() const { return ::Ifc4x3_add1::IfcKerbTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcKerbType::setPredefinedType(const ::Ifc4x3_add1::IfcKerbTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcKerbTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcKerbType::setPredefinedType(const ::Ifc4x3_add1::IfcKerbTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcKerbTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcKerbType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[569]); } -void Ifc4x3_add1::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcKerbTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcKerbTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcKerbType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[569]); } +void Ifc4x3_add1::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcKerbTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcKerbTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLShapeProfileDef double Ifc4x3_add1::IfcLShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -11442,50 +11442,50 @@ std::optional< double > Ifc4x3_add1::IfcLShapeProfileDef::LegSlope() const { if( void Ifc4x3_add1::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[619]); } -void Ifc4x3_add1::IfcLShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[619]); } +void Ifc4x3_add1::IfcLShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value > Ifc4x3_add1::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[574]); } -void Ifc4x3_add1::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[574]); } +void Ifc4x3_add1::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value Ifc4x3_add1::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3_add1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add1::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[575]); } -void Ifc4x3_add1::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[575]); } +void Ifc4x3_add1::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x3_add1::IfcTimeOrRatioSelect Ifc4x3_add1::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add1::IfcTimeOrRatioSelect>(); } void Ifc4x3_add1::IfcLagTime::setLagValue(const ::Ifc4x3_add1::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_add1::IfcTaskDurationEnum::Value Ifc4x3_add1::IfcLagTime::DurationType() const { return ::Ifc4x3_add1::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add1::IfcLagTime::setDurationType(const ::Ifc4x3_add1::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add1::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add1::IfcLagTime::setDurationType(const ::Ifc4x3_add1::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add1::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[577]); } -void Ifc4x3_add1::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_add1::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add1::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[577]); } +void Ifc4x3_add1::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_add1::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_add1::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x3_add1::IfcLampTypeEnum::Value > Ifc4x3_add1::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[578]); } -void Ifc4x3_add1::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[578]); } +void Ifc4x3_add1::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x3_add1::IfcLampTypeEnum::Value Ifc4x3_add1::IfcLampType::PredefinedType() const { return ::Ifc4x3_add1::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcLampType::setPredefinedType(const ::Ifc4x3_add1::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcLampType::setPredefinedType(const ::Ifc4x3_add1::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[579]); } -void Ifc4x3_add1::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[579]); } +void Ifc4x3_add1::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x3_add1::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11501,10 +11501,10 @@ void Ifc4x3_add1::IfcLibraryInformation::setLocation(const std::optional< std::s std::optional< std::string > Ifc4x3_add1::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add1::IfcRelAssociatesLibrary> Ifc4x3_add1::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[913], 5)); } -std::vector<::Ifc4x3_add1::IfcLibraryReference> Ifc4x3_add1::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[586], 5)); } +std::vector<::Ifc4x3_add1::IfcRelAssociatesLibrary> Ifc4x3_add1::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[913], 5)); } +std::vector<::Ifc4x3_add1::IfcLibraryReference> Ifc4x3_add1::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[586], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[585]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[585]); } void Ifc4x3_add1::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_add1::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -11515,9 +11515,9 @@ void Ifc4x3_add1::IfcLibraryReference::setLanguage(const std::optional< std::str ::Ifc4x3_add1::IfcLibraryInformation Ifc4x3_add1::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_add1::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add1::IfcLibraryInformation>(); } void Ifc4x3_add1::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x3_add1::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_add1::IfcRelAssociatesLibrary> Ifc4x3_add1::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[913], 5)); } +std::vector<::Ifc4x3_add1::IfcRelAssociatesLibrary> Ifc4x3_add1::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[913], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[586]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[586]); } void Ifc4x3_add1::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_add1::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -11529,34 +11529,34 @@ std::vector< double > /*[1:?]*/ Ifc4x3_add1::IfcLightDistributionData::LuminousI void Ifc4x3_add1::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[589]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[589]); } void Ifc4x3_add1::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value > Ifc4x3_add1::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[592]); } -void Ifc4x3_add1::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[592]); } +void Ifc4x3_add1::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value Ifc4x3_add1::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3_add1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[593]); } -void Ifc4x3_add1::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[593]); } +void Ifc4x3_add1::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x3_add1::IfcLightDistributionCurveEnum::Value Ifc4x3_add1::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3_add1::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add1::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_add1::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add1::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add1::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_add1::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add1::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x3_add1::IfcLightDistributionData > Ifc4x3_add1::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add1::IfcLightDistributionData>(es); } void Ifc4x3_add1::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x3_add1::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[595]); } -void Ifc4x3_add1::IfcLightIntensityDistribution::initialize(::Ifc4x3_add1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_add1::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[595]); } +void Ifc4x3_add1::IfcLightIntensityDistribution::initialize(::Ifc4x3_add1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_add1::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x3_add1::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11569,13 +11569,13 @@ std::optional< double > Ifc4x3_add1::IfcLightSource::Intensity() const { if(get_ void Ifc4x3_add1::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[596]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[596]); } void Ifc4x3_add1::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x3_add1::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[597]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[597]); } void Ifc4x3_add1::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -11583,7 +11583,7 @@ void Ifc4x3_add1::IfcLightSourceAmbient::initialize(std::optional< std::string > void Ifc4x3_add1::IfcLightSourceDirectional::setOrientation(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[598]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[598]); } void Ifc4x3_add1::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add1::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -11596,13 +11596,13 @@ void Ifc4x3_add1::IfcLightSourceGoniometric::setColourTemperature(const double& double Ifc4x3_add1::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add1::IfcLightEmissionSourceEnum::Value Ifc4x3_add1::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x3_add1::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_add1::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add1::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_add1::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_add1::IfcLightDistributionDataSourceSelect Ifc4x3_add1::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_add1::IfcLightDistributionDataSourceSelect>(); } void Ifc4x3_add1::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x3_add1::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[599]); } -void Ifc4x3_add1::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_add1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_add1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_add1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[599]); } +void Ifc4x3_add1::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_add1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_add1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_add1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x3_add1::IfcCartesianPoint Ifc4x3_add1::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcCartesianPoint>(); } @@ -11617,7 +11617,7 @@ double Ifc4x3_add1::IfcLightSourcePositional::QuadricAttenuation() const { doub void Ifc4x3_add1::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[600]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[600]); } void Ifc4x3_add1::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -11631,7 +11631,7 @@ double Ifc4x3_add1::IfcLightSourceSpot::BeamWidthAngle() const { double v = get void Ifc4x3_add1::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_add1::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[601]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[601]); } void Ifc4x3_add1::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_add1::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -11641,13 +11641,13 @@ void Ifc4x3_add1::IfcLine::setPnt(const ::Ifc4x3_add1::IfcCartesianPoint& v) { s void Ifc4x3_add1::IfcLine::setDir(const ::Ifc4x3_add1::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcLine::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[602]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[602]); } void Ifc4x3_add1::IfcLine::initialize(::Ifc4x3_add1::IfcCartesianPoint v1_Pnt, ::Ifc4x3_add1::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLinearElement -const IfcParse::entity& Ifc4x3_add1::IfcLinearElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[603]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLinearElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[603]); } void Ifc4x3_add1::IfcLinearElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLinearPlacement @@ -11657,43 +11657,43 @@ void Ifc4x3_add1::IfcLinearPlacement::setRelativePlacement(const ::Ifc4x3_add1:: void Ifc4x3_add1::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[606]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[606]); } void Ifc4x3_add1::IfcLinearPlacement::initialize(::Ifc4x3_add1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add1::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_add1::IfcAxis2Placement3D v3_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement));set_attribute_value(2, (v3_CartesianPosition)); } // Function implementations for IfcLinearPositioningElement -const IfcParse::entity& Ifc4x3_add1::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[607]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[607]); } void Ifc4x3_add1::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLiquidTerminal std::optional< ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value > Ifc4x3_add1::IfcLiquidTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcLiquidTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[611]); } -void Ifc4x3_add1::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcLiquidTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[611]); } +void Ifc4x3_add1::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLiquidTerminalType ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value Ifc4x3_add1::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcLiquidTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[612]); } -void Ifc4x3_add1::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLiquidTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[612]); } +void Ifc4x3_add1::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLocalPlacement ::Ifc4x3_add1::IfcAxis2Placement Ifc4x3_add1::IfcLocalPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcAxis2Placement>(); } void Ifc4x3_add1::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x3_add1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[615]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[615]); } void Ifc4x3_add1::IfcLocalPlacement::initialize(::Ifc4x3_add1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add1::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x3_add1::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[618]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[618]); } void Ifc4x3_add1::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -11701,7 +11701,7 @@ void Ifc4x3_add1::IfcLoop::initialize() { } void Ifc4x3_add1::IfcManifoldSolidBrep::setOuter(const ::Ifc4x3_add1::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[625]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[625]); } void Ifc4x3_add1::IfcManifoldSolidBrep::initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -11719,7 +11719,7 @@ std::optional< double > Ifc4x3_add1::IfcMapConversion::Scale() const { if(get_at void Ifc4x3_add1::IfcMapConversion::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[626]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[626]); } void Ifc4x3_add1::IfcMapConversion::initialize(::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } } // Function implementations for IfcMapConversionScaled @@ -11731,7 +11731,7 @@ double Ifc4x3_add1::IfcMapConversionScaled::ScaleZ() const { double v = get_att void Ifc4x3_add1::IfcMapConversionScaled::setScaleZ(const double& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add1::IfcMapConversionScaled::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[627]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMapConversionScaled::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[627]); } void Ifc4x3_add1::IfcMapConversionScaled::initialize(::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, double v9_ScaleX, double v10_ScaleY, double v11_ScaleZ) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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_ScaleX));set_attribute_value(9, (v10_ScaleY));set_attribute_value(10, (v11_ScaleZ)); } // Function implementations for IfcMappedItem @@ -11741,24 +11741,24 @@ void Ifc4x3_add1::IfcMappedItem::setMappingSource(const ::Ifc4x3_add1::IfcRepres void Ifc4x3_add1::IfcMappedItem::setMappingTarget(const ::Ifc4x3_add1::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[628]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[628]); } void Ifc4x3_add1::IfcMappedItem::initialize(::Ifc4x3_add1::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_add1::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMarineFacility std::optional< ::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value > Ifc4x3_add1::IfcMarineFacility::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcMarineFacilityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcMarineFacility::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[629]); } -void Ifc4x3_add1::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMarineFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[629]); } +void Ifc4x3_add1::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcMarinePart std::optional< ::Ifc4x3_add1::IfcMarinePartTypeEnum::Value > Ifc4x3_add1::IfcMarinePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcMarinePartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcMarinePart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMarinePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcMarinePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcMarinePart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMarinePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcMarinePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcMarinePart::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[631]); } -void Ifc4x3_add1::IfcMarinePart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcMarinePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMarinePart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[631]); } +void Ifc4x3_add1::IfcMarinePart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcMarinePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMaterial std::string Ifc4x3_add1::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11768,11 +11768,11 @@ void Ifc4x3_add1::IfcMaterial::setDescription(const std::optional< std::string > std::optional< std::string > Ifc4x3_add1::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_add1::IfcMaterialDefinitionRepresentation> Ifc4x3_add1::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[642], 3)); } -std::vector<::Ifc4x3_add1::IfcMaterialRelationship> Ifc4x3_add1::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[654], 3)); } -std::vector<::Ifc4x3_add1::IfcMaterialRelationship> Ifc4x3_add1::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[654], 2)); } +std::vector<::Ifc4x3_add1::IfcMaterialDefinitionRepresentation> Ifc4x3_add1::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[642], 3)); } +std::vector<::Ifc4x3_add1::IfcMaterialRelationship> Ifc4x3_add1::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[654], 3)); } +std::vector<::Ifc4x3_add1::IfcMaterialRelationship> Ifc4x3_add1::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[654], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[637]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[637]); } void Ifc4x3_add1::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -11782,7 +11782,7 @@ void Ifc4x3_add1::IfcMaterialClassificationRelationship::setMaterialClassificati void Ifc4x3_add1::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x3_add1::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[638]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[638]); } void Ifc4x3_add1::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x3_add1::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_add1::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -11797,9 +11797,9 @@ void Ifc4x3_add1::IfcMaterialConstituent::setFraction(const std::optional< doubl std::optional< std::string > Ifc4x3_add1::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_add1::IfcMaterialConstituentSet> Ifc4x3_add1::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[640], 2)); } +std::vector<::Ifc4x3_add1::IfcMaterialConstituentSet> Ifc4x3_add1::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[640], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[639]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[639]); } void Ifc4x3_add1::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -11811,16 +11811,16 @@ std::optional< std::vector< ::Ifc4x3_add1::IfcMaterialConstituent > > Ifc4x3_add void Ifc4x3_add1::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_add1::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[640]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[640]); } void Ifc4x3_add1::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_add1::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x3_add1::IfcRelAssociatesMaterial> Ifc4x3_add1::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[914], 5)); } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -std::vector<::Ifc4x3_add1::IfcMaterialProperties> Ifc4x3_add1::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[653], 3)); } +std::vector<::Ifc4x3_add1::IfcRelAssociatesMaterial> Ifc4x3_add1::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[914], 5)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcMaterialProperties> Ifc4x3_add1::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[653], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[641]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[641]); } void Ifc4x3_add1::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -11828,7 +11828,7 @@ void Ifc4x3_add1::IfcMaterialDefinition::initialize() { } void Ifc4x3_add1::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x3_add1::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[642]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[642]); } void Ifc4x3_add1::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcRepresentation > v3_Representations, ::Ifc4x3_add1::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -11847,9 +11847,9 @@ void Ifc4x3_add1::IfcMaterialLayer::setCategory(const std::optional< std::string std::optional< int > Ifc4x3_add1::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add1::IfcMaterialLayerSet> Ifc4x3_add1::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[644], 0)); } +std::vector<::Ifc4x3_add1::IfcMaterialLayerSet> Ifc4x3_add1::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[644], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[643]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[643]); } void Ifc4x3_add1::IfcMaterialLayer::initialize(::Ifc4x3_add1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -11861,41 +11861,41 @@ std::optional< std::string > Ifc4x3_add1::IfcMaterialLayerSet::Description() con void Ifc4x3_add1::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[644]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[644]); } void Ifc4x3_add1::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x3_add1::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x3_add1::IfcMaterialLayerSet Ifc4x3_add1::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcMaterialLayerSet>(); } void Ifc4x3_add1::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x3_add1::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value Ifc4x3_add1::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x3_add1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_add1::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_add1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_add1::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_add1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add1::IfcDirectionSenseEnum::Value Ifc4x3_add1::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x3_add1::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_add1::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_add1::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add1::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add1::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_add1::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add1::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x3_add1::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x3_add1::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x3_add1::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[645]); } -void Ifc4x3_add1::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_add1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_add1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[645]); } +void Ifc4x3_add1::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_add1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_add1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value Ifc4x3_add1::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3_add1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add1::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x3_add1::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[646]); } -void Ifc4x3_add1::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_add1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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_add1::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[646]); } +void Ifc4x3_add1::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_add1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x3_add1::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x3_add1::IfcMaterial > Ifc4x3_add1::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcMaterial>(es); } void Ifc4x3_add1::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x3_add1::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[647]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[647]); } void Ifc4x3_add1::IfcMaterialList::initialize(std::vector< ::Ifc4x3_add1::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -11912,9 +11912,9 @@ void Ifc4x3_add1::IfcMaterialProfile::setPriority(const std::optional< int >& v) std::optional< std::string > Ifc4x3_add1::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add1::IfcMaterialProfileSet> Ifc4x3_add1::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[649], 2)); } +std::vector<::Ifc4x3_add1::IfcMaterialProfileSet> Ifc4x3_add1::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[649], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[648]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[648]); } void Ifc4x3_add1::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMaterial v3_Material, ::Ifc4x3_add1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -11928,7 +11928,7 @@ void Ifc4x3_add1::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< void Ifc4x3_add1::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x3_add1::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[649]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[649]); } void Ifc4x3_add1::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_add1::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -11940,7 +11940,7 @@ std::optional< double > Ifc4x3_add1::IfcMaterialProfileSetUsage::ReferenceExtent void Ifc4x3_add1::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[650]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[650]); } void Ifc4x3_add1::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_add1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -11950,7 +11950,7 @@ std::optional< int > Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::CardinalEn void Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[651]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[651]); } void Ifc4x3_add1::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_add1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_add1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -11958,7 +11958,7 @@ std::vector< double > /*[1:2]*/ Ifc4x3_add1::IfcMaterialProfileWithOffsets::Offs void Ifc4x3_add1::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[652]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[652]); } void Ifc4x3_add1::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMaterial v3_Material, ::Ifc4x3_add1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -11966,7 +11966,7 @@ void Ifc4x3_add1::IfcMaterialProfileWithOffsets::initialize(std::optional< std:: void Ifc4x3_add1::IfcMaterialProperties::setMaterial(const ::Ifc4x3_add1::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[653]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[653]); } void Ifc4x3_add1::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcProperty > v3_Properties, ::Ifc4x3_add1::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -11978,14 +11978,14 @@ std::optional< std::string > Ifc4x3_add1::IfcMaterialRelationship::MaterialExpre void Ifc4x3_add1::IfcMaterialRelationship::setMaterialExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[654]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[654]); } void Ifc4x3_add1::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_add1::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_MaterialExpression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_MaterialExpression) {set_attribute_value(4, (*v5_MaterialExpression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x3_add1::IfcRelAssociatesMaterial> Ifc4x3_add1::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[914], 5)); } +std::vector<::Ifc4x3_add1::IfcRelAssociatesMaterial> Ifc4x3_add1::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[914], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[656]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[656]); } void Ifc4x3_add1::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -11995,7 +11995,7 @@ void Ifc4x3_add1::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x3_add1::Ifc void Ifc4x3_add1::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x3_add1::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[658]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[658]); } void Ifc4x3_add1::IfcMeasureWithUnit::initialize(::Ifc4x3_add1::IfcValue v1_ValueComponent, ::Ifc4x3_add1::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -12004,59 +12004,59 @@ void Ifc4x3_add1::IfcMechanicalFastener::setNominalDiameter(const std::optional< std::optional< double > Ifc4x3_add1::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value > Ifc4x3_add1::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[659]); } -void Ifc4x3_add1::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_add1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[659]); } +void Ifc4x3_add1::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_add1::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_add1::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add1::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_add1::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_add1::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[660]); } -void Ifc4x3_add1::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[660]); } +void Ifc4x3_add1::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value > Ifc4x3_add1::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[662]); } -void Ifc4x3_add1::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[662]); } +void Ifc4x3_add1::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value Ifc4x3_add1::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[663]); } -void Ifc4x3_add1::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[663]); } +void Ifc4x3_add1::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x3_add1::IfcMemberTypeEnum::Value > Ifc4x3_add1::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[665]); } -void Ifc4x3_add1::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[665]); } +void Ifc4x3_add1::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x3_add1::IfcMemberTypeEnum::Value Ifc4x3_add1::IfcMemberType::PredefinedType() const { return ::Ifc4x3_add1::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcMemberType::setPredefinedType(const ::Ifc4x3_add1::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcMemberType::setPredefinedType(const ::Ifc4x3_add1::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[666]); } -void Ifc4x3_add1::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[666]); } +void Ifc4x3_add1::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x3_add1::IfcBenchmarkEnum::Value Ifc4x3_add1::IfcMetric::Benchmark() const { return ::Ifc4x3_add1::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcMetric::setBenchmark(const ::Ifc4x3_add1::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add1::IfcMetric::setBenchmark(const ::Ifc4x3_add1::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_add1::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x3_add1::IfcMetricValueSelect Ifc4x3_add1::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_add1::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_add1::IfcMetricValueSelect>(); } @@ -12065,160 +12065,160 @@ void Ifc4x3_add1::IfcMetric::setDataValue(const ::Ifc4x3_add1::IfcMetricValueSel void Ifc4x3_add1::IfcMetric::setReferencePath(const ::Ifc4x3_add1::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add1::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[668]); } -void Ifc4x3_add1::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_add1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_add1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_add1::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[668]); } +void Ifc4x3_add1::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_add1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_add1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_add1::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x3_add1::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[670]); } -void Ifc4x3_add1::IfcMirroredProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[670]); } +void Ifc4x3_add1::IfcMirroredProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMobileTelecommunicationsAppliance std::optional< ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3_add1::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcMobileTelecommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[671]); } -void Ifc4x3_add1::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMobileTelecommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[671]); } +void Ifc4x3_add1::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMobileTelecommunicationsApplianceType ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_add1::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcMobileTelecommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[672]); } -void Ifc4x3_add1::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMobileTelecommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[672]); } +void Ifc4x3_add1::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMonetaryUnit std::string Ifc4x3_add1::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x3_add1::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[685]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[685]); } void Ifc4x3_add1::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMooringDevice std::optional< ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value > Ifc4x3_add1::IfcMooringDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcMooringDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[687]); } -void Ifc4x3_add1::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMooringDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[687]); } +void Ifc4x3_add1::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMooringDeviceType ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value Ifc4x3_add1::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcMooringDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[688]); } -void Ifc4x3_add1::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMooringDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[688]); } +void Ifc4x3_add1::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value > Ifc4x3_add1::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[690]); } -void Ifc4x3_add1::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[690]); } +void Ifc4x3_add1::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value Ifc4x3_add1::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[691]); } -void Ifc4x3_add1::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[691]); } +void Ifc4x3_add1::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x3_add1::IfcDimensionalExponents Ifc4x3_add1::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcDimensionalExponents>(); } void Ifc4x3_add1::IfcNamedUnit::setDimensions(const ::Ifc4x3_add1::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add1::IfcUnitEnum::Value Ifc4x3_add1::IfcNamedUnit::UnitType() const { return ::Ifc4x3_add1::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_add1::IfcNamedUnit::setUnitType(const ::Ifc4x3_add1::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_add1::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_add1::IfcNamedUnit::setUnitType(const ::Ifc4x3_add1::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_add1::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[693]); } -void Ifc4x3_add1::IfcNamedUnit::initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[693]); } +void Ifc4x3_add1::IfcNamedUnit::initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcNavigationElement std::optional< ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value > Ifc4x3_add1::IfcNavigationElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcNavigationElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcNavigationElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[694]); } -void Ifc4x3_add1::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcNavigationElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[694]); } +void Ifc4x3_add1::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcNavigationElementType ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value Ifc4x3_add1::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3_add1::IfcNavigationElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcNavigationElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[695]); } -void Ifc4x3_add1::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcNavigationElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[695]); } +void Ifc4x3_add1::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x3_add1::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_add1::IfcRelDefinesByObject> Ifc4x3_add1::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[932], 4)); } -std::vector<::Ifc4x3_add1::IfcRelDefinesByObject> Ifc4x3_add1::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[932], 5)); } -std::vector<::Ifc4x3_add1::IfcRelDefinesByType> Ifc4x3_add1::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[935], 4)); } -std::vector<::Ifc4x3_add1::IfcRelDefinesByProperties> Ifc4x3_add1::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[933], 4)); } +std::vector<::Ifc4x3_add1::IfcRelDefinesByObject> Ifc4x3_add1::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[932], 4)); } +std::vector<::Ifc4x3_add1::IfcRelDefinesByObject> Ifc4x3_add1::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[932], 5)); } +std::vector<::Ifc4x3_add1::IfcRelDefinesByType> Ifc4x3_add1::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[935], 4)); } +std::vector<::Ifc4x3_add1::IfcRelDefinesByProperties> Ifc4x3_add1::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[933], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcObject::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[700]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[700]); } void Ifc4x3_add1::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x3_add1::IfcRelAssigns> Ifc4x3_add1::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[900], 4)); } -std::vector<::Ifc4x3_add1::IfcRelNests> Ifc4x3_add1::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[939], 5)); } -std::vector<::Ifc4x3_add1::IfcRelNests> Ifc4x3_add1::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[939], 4)); } -std::vector<::Ifc4x3_add1::IfcRelDeclares> Ifc4x3_add1::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[929], 5)); } -std::vector<::Ifc4x3_add1::IfcRelAggregates> Ifc4x3_add1::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[899], 4)); } -std::vector<::Ifc4x3_add1::IfcRelAggregates> Ifc4x3_add1::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[899], 5)); } -std::vector<::Ifc4x3_add1::IfcRelAssociates> Ifc4x3_add1::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[908], 4)); } +std::vector<::Ifc4x3_add1::IfcRelAssigns> Ifc4x3_add1::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[900], 4)); } +std::vector<::Ifc4x3_add1::IfcRelNests> Ifc4x3_add1::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[939], 5)); } +std::vector<::Ifc4x3_add1::IfcRelNests> Ifc4x3_add1::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[939], 4)); } +std::vector<::Ifc4x3_add1::IfcRelDeclares> Ifc4x3_add1::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[929], 5)); } +std::vector<::Ifc4x3_add1::IfcRelAggregates> Ifc4x3_add1::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[899], 4)); } +std::vector<::Ifc4x3_add1::IfcRelAggregates> Ifc4x3_add1::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[899], 5)); } +std::vector<::Ifc4x3_add1::IfcRelAssociates> Ifc4x3_add1::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[908], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[701]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[701]); } void Ifc4x3_add1::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement ::Ifc4x3_add1::IfcObjectPlacement Ifc4x3_add1::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_add1::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcObjectPlacement>(); } void Ifc4x3_add1::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x3_add1::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add1::IfcProduct> Ifc4x3_add1::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[800], 5)); } -std::vector<::Ifc4x3_add1::IfcObjectPlacement> Ifc4x3_add1::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[704], 0)); } +std::vector<::Ifc4x3_add1::IfcProduct> Ifc4x3_add1::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[800], 5)); } +std::vector<::Ifc4x3_add1::IfcObjectPlacement> Ifc4x3_add1::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[704], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[704]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[704]); } void Ifc4x3_add1::IfcObjectPlacement::initialize(::Ifc4x3_add1::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo)); } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x3_add1::IfcConstraint > > Ifc4x3_add1::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add1::IfcConstraint>(es); } void Ifc4x3_add1::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x3_add1::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add1::IfcLogicalOperatorEnum::Value > Ifc4x3_add1::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_add1::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_add1::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x3_add1::IfcObjectiveEnum::Value Ifc4x3_add1::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x3_add1::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_add1::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_add1::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_add1::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[702]); } -void Ifc4x3_add1::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_add1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_add1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_add1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[702]); } +void Ifc4x3_add1::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_add1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_add1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_add1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x3_add1::IfcOccupantTypeEnum::Value > Ifc4x3_add1::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add1::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add1::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add1::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add1::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[706]); } -void Ifc4x3_add1::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_add1::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add1::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[706]); } +void Ifc4x3_add1::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_add1::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_add1::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x3_add1::IfcCurve Ifc4x3_add1::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcCurve>(); } void Ifc4x3_add1::IfcOffsetCurve::setBasisCurve(const ::Ifc4x3_add1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[708]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[708]); } void Ifc4x3_add1::IfcOffsetCurve::initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -12228,7 +12228,7 @@ boost::logic::tribool Ifc4x3_add1::IfcOffsetCurve2D::SelfIntersect() const { bo void Ifc4x3_add1::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[709]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[709]); } void Ifc4x3_add1::IfcOffsetCurve2D::initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -12240,7 +12240,7 @@ void Ifc4x3_add1::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool void Ifc4x3_add1::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[710]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[710]); } void Ifc4x3_add1::IfcOffsetCurve3D::initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_add1::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -12250,7 +12250,7 @@ std::optional< std::string > Ifc4x3_add1::IfcOffsetCurveByDistances::Tag() const void Ifc4x3_add1::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[711]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[711]); } void Ifc4x3_add1::IfcOffsetCurveByDistances::initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add1::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenCrossProfileDef @@ -12266,23 +12266,23 @@ void Ifc4x3_add1::IfcOpenCrossProfileDef::setTags(const std::optional< std::vect void Ifc4x3_add1::IfcOpenCrossProfileDef::setOffsetPoint(const ::Ifc4x3_add1::IfcCartesianPoint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcOpenCrossProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[712]); } -void Ifc4x3_add1::IfcOpenCrossProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_add1::IfcCartesianPoint v7_OffsetPoint) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::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)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOpenCrossProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[712]); } +void Ifc4x3_add1::IfcOpenCrossProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_add1::IfcCartesianPoint v7_OffsetPoint) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::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)); } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x3_add1::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[715]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[715]); } void Ifc4x3_add1::IfcOpenShell::initialize(std::vector< ::Ifc4x3_add1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x3_add1::IfcOpeningElementTypeEnum::Value > Ifc4x3_add1::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add1::IfcRelFillsElement> Ifc4x3_add1::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[936], 4)); } +std::vector<::Ifc4x3_add1::IfcRelFillsElement> Ifc4x3_add1::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[936], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[713]); } -void Ifc4x3_add1::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[713]); } +void Ifc4x3_add1::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x3_add1::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12296,11 +12296,11 @@ void Ifc4x3_add1::IfcOrganization::setRoles(const std::optional< std::vector< :: std::optional< std::vector< ::Ifc4x3_add1::IfcAddress > > Ifc4x3_add1::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_add1::IfcAddress>(es); } void Ifc4x3_add1::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x3_add1::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_add1::IfcOrganizationRelationship> Ifc4x3_add1::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[717], 3)); } -std::vector<::Ifc4x3_add1::IfcOrganizationRelationship> Ifc4x3_add1::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[717], 2)); } -std::vector<::Ifc4x3_add1::IfcPersonAndOrganization> Ifc4x3_add1::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[738], 1)); } +std::vector<::Ifc4x3_add1::IfcOrganizationRelationship> Ifc4x3_add1::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[717], 3)); } +std::vector<::Ifc4x3_add1::IfcOrganizationRelationship> Ifc4x3_add1::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[717], 2)); } +std::vector<::Ifc4x3_add1::IfcPersonAndOrganization> Ifc4x3_add1::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[738], 1)); } -const IfcParse::entity& Ifc4x3_add1::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[716]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[716]); } void Ifc4x3_add1::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_add1::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -12310,7 +12310,7 @@ std::vector< ::Ifc4x3_add1::IfcOrganization > Ifc4x3_add1::IfcOrganizationRelati void Ifc4x3_add1::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x3_add1::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[717]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[717]); } void Ifc4x3_add1::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_add1::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientedEdge @@ -12320,30 +12320,30 @@ bool Ifc4x3_add1::IfcOrientedEdge::Orientation() const { bool v = get_attribute void Ifc4x3_add1::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[718]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[718]); } void Ifc4x3_add1::IfcOrientedEdge::initialize(::Ifc4x3_add1::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x3_add1::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[719]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[719]); } void Ifc4x3_add1::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x3_add1::IfcOutletTypeEnum::Value > Ifc4x3_add1::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[720]); } -void Ifc4x3_add1::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[720]); } +void Ifc4x3_add1::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x3_add1::IfcOutletTypeEnum::Value Ifc4x3_add1::IfcOutletType::PredefinedType() const { return ::Ifc4x3_add1::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcOutletType::setPredefinedType(const ::Ifc4x3_add1::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcOutletType::setPredefinedType(const ::Ifc4x3_add1::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[721]); } -void Ifc4x3_add1::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[721]); } +void Ifc4x3_add1::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x3_add1::IfcPersonAndOrganization Ifc4x3_add1::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcPersonAndOrganization>(); } @@ -12351,9 +12351,9 @@ void Ifc4x3_add1::IfcOwnerHistory::setOwningUser(const ::Ifc4x3_add1::IfcPersonA ::Ifc4x3_add1::IfcApplication Ifc4x3_add1::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcApplication>(); } void Ifc4x3_add1::IfcOwnerHistory::setOwningApplication(const ::Ifc4x3_add1::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > Ifc4x3_add1::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_add1::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_add1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_add1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_add1::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_add1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_add1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x3_add1::IfcChangeActionEnum::Value > Ifc4x3_add1::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_add1::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_add1::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_add1::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_add1::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_add1::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_add1::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x3_add1::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_add1::IfcPersonAndOrganization Ifc4x3_add1::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_add1::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add1::IfcPersonAndOrganization>(); } @@ -12364,40 +12364,40 @@ int Ifc4x3_add1::IfcOwnerHistory::CreationDate() const { int v = get_attribute_ void Ifc4x3_add1::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add1::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[723]); } -void Ifc4x3_add1::IfcOwnerHistory::initialize(::Ifc4x3_add1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_add1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_add1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_add1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add1::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[723]); } +void Ifc4x3_add1::IfcOwnerHistory::initialize(::Ifc4x3_add1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_add1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_add1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_add1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_add1::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x3_add1::IfcAxis2Placement2D Ifc4x3_add1::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_add1::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcAxis2Placement2D>(); } void Ifc4x3_add1::IfcParameterizedProfileDef::setPosition(const ::Ifc4x3_add1::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[724]); } -void Ifc4x3_add1::IfcParameterizedProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[724]); } +void Ifc4x3_add1::IfcParameterizedProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x3_add1::IfcOrientedEdge > Ifc4x3_add1::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcOrientedEdge>(es); } void Ifc4x3_add1::IfcPath::setEdgeList(const std::vector< ::Ifc4x3_add1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcPath::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[726]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[726]); } void Ifc4x3_add1::IfcPath::initialize(std::vector< ::Ifc4x3_add1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPavement std::optional< ::Ifc4x3_add1::IfcPavementTypeEnum::Value > Ifc4x3_add1::IfcPavement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPavementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcPavement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[727]); } -void Ifc4x3_add1::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPavement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[727]); } +void Ifc4x3_add1::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPavementType ::Ifc4x3_add1::IfcPavementTypeEnum::Value Ifc4x3_add1::IfcPavementType::PredefinedType() const { return ::Ifc4x3_add1::IfcPavementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcPavementType::setPredefinedType(const ::Ifc4x3_add1::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcPavementType::setPredefinedType(const ::Ifc4x3_add1::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcPavementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[728]); } -void Ifc4x3_add1::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPavementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[728]); } +void Ifc4x3_add1::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPcurve ::Ifc4x3_add1::IfcSurface Ifc4x3_add1::IfcPcurve::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcSurface>(); } @@ -12406,24 +12406,24 @@ void Ifc4x3_add1::IfcPcurve::setBasisSurface(const ::Ifc4x3_add1::IfcSurface& v) void Ifc4x3_add1::IfcPcurve::setReferenceCurve(const ::Ifc4x3_add1::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[730]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[730]); } void Ifc4x3_add1::IfcPcurve::initialize(::Ifc4x3_add1::IfcSurface v1_BasisSurface, ::Ifc4x3_add1::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x3_add1::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value > Ifc4x3_add1::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add1::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[731]); } -void Ifc4x3_add1::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[731]); } +void Ifc4x3_add1::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value Ifc4x3_add1::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add1::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add1::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value Ifc4x3_add1::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x3_add1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add1::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_add1::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_add1::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -12432,20 +12432,20 @@ void Ifc4x3_add1::IfcPermeableCoveringProperties::setFrameThickness(const std::o void Ifc4x3_add1::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x3_add1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[734]); } -void Ifc4x3_add1::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add1::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)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[734]); } +void Ifc4x3_add1::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add1::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x3_add1::IfcPermitTypeEnum::Value > Ifc4x3_add1::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add1::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add1::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add1::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add1::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_add1::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add1::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[735]); } -void Ifc4x3_add1::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[735]); } +void Ifc4x3_add1::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x3_add1::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12465,9 +12465,9 @@ void Ifc4x3_add1::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x3 std::optional< std::vector< ::Ifc4x3_add1::IfcAddress > > Ifc4x3_add1::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add1::IfcAddress>(es); } void Ifc4x3_add1::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x3_add1::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add1::IfcPersonAndOrganization> Ifc4x3_add1::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[738], 0)); } +std::vector<::Ifc4x3_add1::IfcPersonAndOrganization> Ifc4x3_add1::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[738], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[737]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[737]); } void Ifc4x3_add1::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_add1::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -12479,7 +12479,7 @@ std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > > Ifc4x3_add1::IfcPers void Ifc4x3_add1::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[738]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[738]); } void Ifc4x3_add1::IfcPersonAndOrganization::initialize(::Ifc4x3_add1::IfcPerson v1_ThePerson, ::Ifc4x3_add1::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -12493,7 +12493,7 @@ std::optional< std::string > Ifc4x3_add1::IfcPhysicalComplexQuantity::Usage() co void Ifc4x3_add1::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add1::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[740]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[740]); } void Ifc4x3_add1::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -12502,10 +12502,10 @@ void Ifc4x3_add1::IfcPhysicalQuantity::setName(const std::string& v) { set_attri std::optional< std::string > Ifc4x3_add1::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -std::vector<::Ifc4x3_add1::IfcPhysicalComplexQuantity> Ifc4x3_add1::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[740], 2)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcPhysicalComplexQuantity> Ifc4x3_add1::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[740], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[742]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[742]); } void Ifc4x3_add1::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -12513,58 +12513,58 @@ void Ifc4x3_add1::IfcPhysicalQuantity::initialize(std::string v1_Name, std::opti void Ifc4x3_add1::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x3_add1::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[743]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[743]); } void Ifc4x3_add1::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x3_add1::IfcPileTypeEnum::Value > Ifc4x3_add1::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_add1::IfcPileConstructionEnum::Value > Ifc4x3_add1::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_add1::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_add1::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcPile::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[744]); } -void Ifc4x3_add1::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add1::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[744]); } +void Ifc4x3_add1::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add1::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x3_add1::IfcPileTypeEnum::Value Ifc4x3_add1::IfcPileType::PredefinedType() const { return ::Ifc4x3_add1::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcPileType::setPredefinedType(const ::Ifc4x3_add1::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcPileType::setPredefinedType(const ::Ifc4x3_add1::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[746]); } -void Ifc4x3_add1::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[746]); } +void Ifc4x3_add1::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value > Ifc4x3_add1::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[748]); } -void Ifc4x3_add1::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[748]); } +void Ifc4x3_add1::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value Ifc4x3_add1::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3_add1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[749]); } -void Ifc4x3_add1::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[749]); } +void Ifc4x3_add1::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value > Ifc4x3_add1::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[751]); } -void Ifc4x3_add1::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[751]); } +void Ifc4x3_add1::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value Ifc4x3_add1::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[752]); } -void Ifc4x3_add1::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[752]); } +void Ifc4x3_add1::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x3_add1::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -12577,7 +12577,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_add1::IfcPixelTexture::P void Ifc4x3_add1::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[754]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[754]); } void Ifc4x3_add1::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -12585,7 +12585,7 @@ void Ifc4x3_add1::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, void Ifc4x3_add1::IfcPlacement::setLocation(const ::Ifc4x3_add1::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[755]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[755]); } void Ifc4x3_add1::IfcPlacement::initialize(::Ifc4x3_add1::IfcPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -12593,7 +12593,7 @@ void Ifc4x3_add1::IfcPlacement::initialize(::Ifc4x3_add1::IfcPoint v1_Location) void Ifc4x3_add1::IfcPlanarBox::setPlacement(const ::Ifc4x3_add1::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[756]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[756]); } void Ifc4x3_add1::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_add1::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -12603,35 +12603,35 @@ double Ifc4x3_add1::IfcPlanarExtent::SizeInY() const { double v = get_attribute void Ifc4x3_add1::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[757]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[757]); } void Ifc4x3_add1::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x3_add1::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[759]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[759]); } void Ifc4x3_add1::IfcPlane::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlate std::optional< ::Ifc4x3_add1::IfcPlateTypeEnum::Value > Ifc4x3_add1::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[761]); } -void Ifc4x3_add1::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[761]); } +void Ifc4x3_add1::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x3_add1::IfcPlateTypeEnum::Value Ifc4x3_add1::IfcPlateType::PredefinedType() const { return ::Ifc4x3_add1::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcPlateType::setPredefinedType(const ::Ifc4x3_add1::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcPlateType::setPredefinedType(const ::Ifc4x3_add1::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[762]); } -void Ifc4x3_add1::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[762]); } +void Ifc4x3_add1::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x3_add1::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[764]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[764]); } void Ifc4x3_add1::IfcPoint::initialize() { } // Function implementations for IfcPointByDistanceExpression @@ -12647,7 +12647,7 @@ void Ifc4x3_add1::IfcPointByDistanceExpression::setOffsetLongitudinal(const std: void Ifc4x3_add1::IfcPointByDistanceExpression::setBasisCurve(const ::Ifc4x3_add1::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcPointByDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[765]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPointByDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[765]); } void Ifc4x3_add1::IfcPointByDistanceExpression::initialize(::Ifc4x3_add1::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_add1::IfcCurve v5_BasisCurve) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } // Function implementations for IfcPointOnCurve @@ -12657,7 +12657,7 @@ double Ifc4x3_add1::IfcPointOnCurve::PointParameter() const { double v = get_at void Ifc4x3_add1::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[766]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[766]); } void Ifc4x3_add1::IfcPointOnCurve::initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -12669,7 +12669,7 @@ double Ifc4x3_add1::IfcPointOnSurface::PointParameterV() const { double v = get void Ifc4x3_add1::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[767]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[767]); } void Ifc4x3_add1::IfcPointOnSurface::initialize(::Ifc4x3_add1::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -12677,7 +12677,7 @@ std::vector< ::Ifc4x3_add1::IfcCartesianPoint > Ifc4x3_add1::IfcPolyLoop::Polygo void Ifc4x3_add1::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x3_add1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[772]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[772]); } void Ifc4x3_add1::IfcPolyLoop::initialize(std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -12687,7 +12687,7 @@ void Ifc4x3_add1::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x3_add1: void Ifc4x3_add1::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x3_add1::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[769]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[769]); } void Ifc4x3_add1::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x3_add1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add1::IfcAxis2Placement3D v3_Position, ::Ifc4x3_add1::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -12699,7 +12699,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add1::IfcPolygonalFaceSet:: void Ifc4x3_add1::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[770]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[770]); } void Ifc4x3_add1::IfcPolygonalFaceSet::initialize(::Ifc4x3_add1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_add1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -12707,7 +12707,7 @@ std::vector< ::Ifc4x3_add1::IfcCartesianPoint > Ifc4x3_add1::IfcPolyline::Points void Ifc4x3_add1::IfcPolyline::setPoints(const std::vector< ::Ifc4x3_add1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[771]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[771]); } void Ifc4x3_add1::IfcPolyline::initialize(std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPolynomialCurve @@ -12721,24 +12721,24 @@ std::optional< std::vector< double > /*[2:?]*/ > Ifc4x3_add1::IfcPolynomialCurve void Ifc4x3_add1::IfcPolynomialCurve::setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcPolynomialCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[773]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPolynomialCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[773]); } void Ifc4x3_add1::IfcPolynomialCurve::initialize(::Ifc4x3_add1::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ) { set_attribute_value(0, (v1_Position)); 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)); } } // Function implementations for IfcPort -std::vector<::Ifc4x3_add1::IfcRelConnectsPortToElement> Ifc4x3_add1::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[921], 4)); } -std::vector<::Ifc4x3_add1::IfcRelConnectsPorts> Ifc4x3_add1::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[920], 5)); } -std::vector<::Ifc4x3_add1::IfcRelConnectsPorts> Ifc4x3_add1::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[920], 4)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsPortToElement> Ifc4x3_add1::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[921], 4)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsPorts> Ifc4x3_add1::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[920], 5)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsPorts> Ifc4x3_add1::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[920], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcPort::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[774]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[774]); } void Ifc4x3_add1::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x3_add1::IfcRelContainedInSpatialStructure> Ifc4x3_add1::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[926], 4)); } -std::vector<::Ifc4x3_add1::IfcRelPositions> Ifc4x3_add1::IfcPositioningElement::Positions() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[940], 4)); } +std::vector<::Ifc4x3_add1::IfcRelContainedInSpatialStructure> Ifc4x3_add1::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[926], 4)); } +std::vector<::Ifc4x3_add1::IfcRelPositions> Ifc4x3_add1::IfcPositioningElement::Positions() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[940], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[775]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[775]); } void Ifc4x3_add1::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -12758,19 +12758,19 @@ std::optional< std::string > Ifc4x3_add1::IfcPostalAddress::Country() const { if void Ifc4x3_add1::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[780]); } -void Ifc4x3_add1::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[780]); } +void Ifc4x3_add1::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x3_add1::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[782]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[782]); } void Ifc4x3_add1::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_add1::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[783]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[783]); } void Ifc4x3_add1::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -12778,31 +12778,31 @@ std::string Ifc4x3_add1::IfcPreDefinedItem::Name() const { std::string v = get_ void Ifc4x3_add1::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[784]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[784]); } void Ifc4x3_add1::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x3_add1::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[785]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[785]); } void Ifc4x3_add1::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x3_add1::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[786]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[786]); } void Ifc4x3_add1::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x3_add1::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[787]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[787]); } void Ifc4x3_add1::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x3_add1::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[790]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[790]); } void Ifc4x3_add1::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -12816,7 +12816,7 @@ std::optional< std::string > Ifc4x3_add1::IfcPresentationLayerAssignment::Identi void Ifc4x3_add1::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[791]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[791]); } void Ifc4x3_add1::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -12830,7 +12830,7 @@ std::vector< ::Ifc4x3_add1::IfcPresentationStyle > Ifc4x3_add1::IfcPresentationL void Ifc4x3_add1::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x3_add1::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add1::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[792]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[792]); } void Ifc4x3_add1::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_add1::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -12838,24 +12838,24 @@ std::optional< std::string > Ifc4x3_add1::IfcPresentationStyle::Name() const { i void Ifc4x3_add1::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add1::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[793]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[793]); } void Ifc4x3_add1::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcProcedure std::optional< ::Ifc4x3_add1::IfcProcedureTypeEnum::Value > Ifc4x3_add1::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add1::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[795]); } -void Ifc4x3_add1::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add1::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[795]); } +void Ifc4x3_add1::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add1::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x3_add1::IfcProcedureTypeEnum::Value Ifc4x3_add1::IfcProcedureType::PredefinedType() const { return ::Ifc4x3_add1::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcProcedureType::setPredefinedType(const ::Ifc4x3_add1::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcProcedureType::setPredefinedType(const ::Ifc4x3_add1::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[796]); } -void Ifc4x3_add1::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add1::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_add1::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[796]); } +void Ifc4x3_add1::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add1::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_add1::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x3_add1::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -12863,11 +12863,11 @@ void Ifc4x3_add1::IfcProcess::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_add1::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add1::IfcRelSequence> Ifc4x3_add1::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[943], 4)); } -std::vector<::Ifc4x3_add1::IfcRelSequence> Ifc4x3_add1::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[943], 5)); } -std::vector<::Ifc4x3_add1::IfcRelAssignsToProcess> Ifc4x3_add1::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[905], 6)); } +std::vector<::Ifc4x3_add1::IfcRelSequence> Ifc4x3_add1::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[943], 4)); } +std::vector<::Ifc4x3_add1::IfcRelSequence> Ifc4x3_add1::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[943], 5)); } +std::vector<::Ifc4x3_add1::IfcRelAssignsToProcess> Ifc4x3_add1::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[905], 6)); } -const IfcParse::entity& Ifc4x3_add1::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[798]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[798]); } void Ifc4x3_add1::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -12876,19 +12876,19 @@ void Ifc4x3_add1::IfcProduct::setObjectPlacement(const ::Ifc4x3_add1::IfcObjectP ::Ifc4x3_add1::IfcProductRepresentation Ifc4x3_add1::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add1::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add1::IfcProductRepresentation>(); } void Ifc4x3_add1::IfcProduct::setRepresentation(const ::Ifc4x3_add1::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_add1::IfcRelAssignsToProduct> Ifc4x3_add1::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[906], 6)); } -std::vector<::Ifc4x3_add1::IfcRelPositions> Ifc4x3_add1::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[940], 5)); } -std::vector<::Ifc4x3_add1::IfcRelReferencedInSpatialStructure> Ifc4x3_add1::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[942], 4)); } +std::vector<::Ifc4x3_add1::IfcRelAssignsToProduct> Ifc4x3_add1::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[906], 6)); } +std::vector<::Ifc4x3_add1::IfcRelPositions> Ifc4x3_add1::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[940], 5)); } +std::vector<::Ifc4x3_add1::IfcRelReferencedInSpatialStructure> Ifc4x3_add1::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[942], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[800]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[800]); } void Ifc4x3_add1::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x3_add1::IfcProduct> Ifc4x3_add1::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[800], 6)); } -std::vector<::Ifc4x3_add1::IfcShapeAspect> Ifc4x3_add1::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1006], 4)); } +std::vector<::Ifc4x3_add1::IfcProduct> Ifc4x3_add1::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[800], 6)); } +std::vector<::Ifc4x3_add1::IfcShapeAspect> Ifc4x3_add1::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1006], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[801]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[801]); } void Ifc4x3_add1::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -12900,52 +12900,52 @@ std::vector< ::Ifc4x3_add1::IfcRepresentation > Ifc4x3_add1::IfcProductRepresent void Ifc4x3_add1::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x3_add1::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[802]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[802]); } void Ifc4x3_add1::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x3_add1::IfcProfileTypeEnum::Value Ifc4x3_add1::IfcProfileDef::ProfileType() const { return ::Ifc4x3_add1::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add1::IfcProfileDef::setProfileType(const ::Ifc4x3_add1::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add1::IfcProfileDef::setProfileType(const ::Ifc4x3_add1::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_add1::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -std::vector<::Ifc4x3_add1::IfcProfileProperties> Ifc4x3_add1::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[806], 3)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcProfileProperties> Ifc4x3_add1::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[806], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[805]); } -void Ifc4x3_add1::IfcProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[805]); } +void Ifc4x3_add1::IfcProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x3_add1::IfcProfileDef Ifc4x3_add1::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add1::IfcProfileDef>(); } void Ifc4x3_add1::IfcProfileProperties::setProfileDefinition(const ::Ifc4x3_add1::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[806]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[806]); } void Ifc4x3_add1::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcProperty > v3_Properties, ::Ifc4x3_add1::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x3_add1::IfcProject::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[808]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[808]); } void Ifc4x3_add1::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x3_add1::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[813]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[813]); } void Ifc4x3_add1::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x3_add1::IfcProjectOrderTypeEnum::Value > Ifc4x3_add1::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add1::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add1::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add1::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add1::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_add1::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add1::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[814]); } -void Ifc4x3_add1::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_add1::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[814]); } +void Ifc4x3_add1::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add1::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x3_add1::IfcProjectedCRS::GeodeticDatum() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } @@ -12960,16 +12960,16 @@ void Ifc4x3_add1::IfcProjectedCRS::setMapZone(const std::optional< std::string > void Ifc4x3_add1::IfcProjectedCRS::setMapUnit(const ::Ifc4x3_add1::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[809]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[809]); } void Ifc4x3_add1::IfcProjectedCRS::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_add1::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x3_add1::IfcProjectionElementTypeEnum::Value > Ifc4x3_add1::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[811]); } -void Ifc4x3_add1::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[811]); } +void Ifc4x3_add1::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x3_add1::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -12977,21 +12977,21 @@ void Ifc4x3_add1::IfcProperty::setName(const std::string& v) { set_attribute_val std::optional< std::string > Ifc4x3_add1::IfcProperty::Specification() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcProperty::setSpecification(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_add1::IfcPropertySet> Ifc4x3_add1::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[825], 4)); } -std::vector<::Ifc4x3_add1::IfcPropertyDependencyRelationship> Ifc4x3_add1::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[820], 2)); } -std::vector<::Ifc4x3_add1::IfcPropertyDependencyRelationship> Ifc4x3_add1::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[820], 3)); } -std::vector<::Ifc4x3_add1::IfcComplexProperty> Ifc4x3_add1::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[189], 3)); } -std::vector<::Ifc4x3_add1::IfcResourceConstraintRelationship> Ifc4x3_add1::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[956], 3)); } -std::vector<::Ifc4x3_add1::IfcResourceApprovalRelationship> Ifc4x3_add1::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[955], 2)); } +std::vector<::Ifc4x3_add1::IfcPropertySet> Ifc4x3_add1::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[825], 4)); } +std::vector<::Ifc4x3_add1::IfcPropertyDependencyRelationship> Ifc4x3_add1::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[820], 2)); } +std::vector<::Ifc4x3_add1::IfcPropertyDependencyRelationship> Ifc4x3_add1::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[820], 3)); } +std::vector<::Ifc4x3_add1::IfcComplexProperty> Ifc4x3_add1::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[189], 3)); } +std::vector<::Ifc4x3_add1::IfcResourceConstraintRelationship> Ifc4x3_add1::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[956], 3)); } +std::vector<::Ifc4x3_add1::IfcResourceApprovalRelationship> Ifc4x3_add1::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[955], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[816]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[816]); } void Ifc4x3_add1::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[817]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[817]); } void Ifc4x3_add1::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -13005,15 +13005,15 @@ void Ifc4x3_add1::IfcPropertyBoundedValue::setUnit(const ::Ifc4x3_add1::IfcUnit& void Ifc4x3_add1::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x3_add1::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[818]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[818]); } void Ifc4x3_add1::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_add1::IfcValue v3_UpperBoundValue, ::Ifc4x3_add1::IfcValue v4_LowerBoundValue, ::Ifc4x3_add1::IfcUnit v5_Unit, ::Ifc4x3_add1::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x3_add1::IfcRelDeclares> Ifc4x3_add1::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[929], 5)); } -std::vector<::Ifc4x3_add1::IfcRelAssociates> Ifc4x3_add1::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[908], 4)); } +std::vector<::Ifc4x3_add1::IfcRelDeclares> Ifc4x3_add1::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[929], 5)); } +std::vector<::Ifc4x3_add1::IfcRelAssociates> Ifc4x3_add1::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[908], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[819]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[819]); } void Ifc4x3_add1::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -13025,7 +13025,7 @@ std::optional< std::string > Ifc4x3_add1::IfcPropertyDependencyRelationship::Exp void Ifc4x3_add1::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[820]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[820]); } void Ifc4x3_add1::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcProperty v3_DependingProperty, ::Ifc4x3_add1::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -13035,7 +13035,7 @@ void Ifc4x3_add1::IfcPropertyEnumeratedValue::setEnumerationValues(const std::op void Ifc4x3_add1::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x3_add1::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[821]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[821]); } void Ifc4x3_add1::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v3_EnumerationValues, ::Ifc4x3_add1::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -13047,7 +13047,7 @@ void Ifc4x3_add1::IfcPropertyEnumeration::setEnumerationValues(const std::vector void Ifc4x3_add1::IfcPropertyEnumeration::setUnit(const ::Ifc4x3_add1::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[822]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[822]); } void Ifc4x3_add1::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x3_add1::IfcValue > v2_EnumerationValues, ::Ifc4x3_add1::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -13057,7 +13057,7 @@ void Ifc4x3_add1::IfcPropertyListValue::setListValues(const std::optional< std:: void Ifc4x3_add1::IfcPropertyListValue::setUnit(const ::Ifc4x3_add1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[823]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[823]); } void Ifc4x3_add1::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v3_ListValues, ::Ifc4x3_add1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -13067,7 +13067,7 @@ void Ifc4x3_add1::IfcPropertyReferenceValue::setUsageName(const std::optional< s void Ifc4x3_add1::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x3_add1::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[824]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[824]); } void Ifc4x3_add1::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::string > v3_UsageName, ::Ifc4x3_add1::IfcObjectReferenceSelect v4_PropertyReference) { 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)); } // Function implementations for IfcPropertySet @@ -13075,30 +13075,30 @@ std::vector< ::Ifc4x3_add1::IfcProperty > Ifc4x3_add1::IfcPropertySet::HasProper void Ifc4x3_add1::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x3_add1::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[825]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[825]); } void Ifc4x3_add1::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x3_add1::IfcTypeObject> Ifc4x3_add1::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1241], 5)); } -std::vector<::Ifc4x3_add1::IfcRelDefinesByTemplate> Ifc4x3_add1::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[934], 4)); } -std::vector<::Ifc4x3_add1::IfcRelDefinesByProperties> Ifc4x3_add1::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[933], 5)); } +std::vector<::Ifc4x3_add1::IfcTypeObject> Ifc4x3_add1::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1241], 5)); } +std::vector<::Ifc4x3_add1::IfcRelDefinesByTemplate> Ifc4x3_add1::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[934], 4)); } +std::vector<::Ifc4x3_add1::IfcRelDefinesByProperties> Ifc4x3_add1::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[933], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[826]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[826]); } void Ifc4x3_add1::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3_add1::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add1::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_add1::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_add1::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > Ifc4x3_add1::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_add1::IfcPropertyTemplate>(es); } void Ifc4x3_add1::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x3_add1::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_add1::IfcRelDefinesByTemplate> Ifc4x3_add1::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[934], 5)); } +std::vector<::Ifc4x3_add1::IfcRelDefinesByTemplate> Ifc4x3_add1::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[934], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[829]); } -void Ifc4x3_add1::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_add1::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[829]); } +void Ifc4x3_add1::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x3_add1::IfcValue Ifc4x3_add1::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_add1::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcValue>(); } @@ -13107,7 +13107,7 @@ void Ifc4x3_add1::IfcPropertySingleValue::setNominalValue(const ::Ifc4x3_add1::I void Ifc4x3_add1::IfcPropertySingleValue::setUnit(const ::Ifc4x3_add1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[831]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[831]); } void Ifc4x3_add1::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_add1::IfcValue v3_NominalValue, ::Ifc4x3_add1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -13122,73 +13122,73 @@ void Ifc4x3_add1::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x3_add1::If ::Ifc4x3_add1::IfcUnit Ifc4x3_add1::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add1::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add1::IfcUnit>(); } void Ifc4x3_add1::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x3_add1::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_add1::IfcCurveInterpolationEnum::Value > Ifc4x3_add1::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_add1::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add1::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_add1::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[832]); } -void Ifc4x3_add1::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_add1::IfcUnit v6_DefiningUnit, ::Ifc4x3_add1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_add1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[832]); } +void Ifc4x3_add1::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_add1::IfcUnit v6_DefiningUnit, ::Ifc4x3_add1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_add1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x3_add1::IfcComplexPropertyTemplate> Ifc4x3_add1::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[190], 6)); } -std::vector<::Ifc4x3_add1::IfcPropertySetTemplate> Ifc4x3_add1::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[829], 6)); } +std::vector<::Ifc4x3_add1::IfcComplexPropertyTemplate> Ifc4x3_add1::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[190], 6)); } +std::vector<::Ifc4x3_add1::IfcPropertySetTemplate> Ifc4x3_add1::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[829], 6)); } -const IfcParse::entity& Ifc4x3_add1::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[833]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[833]); } void Ifc4x3_add1::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x3_add1::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[834]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[834]); } void Ifc4x3_add1::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3_add1::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[835]); } -void Ifc4x3_add1::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[835]); } +void Ifc4x3_add1::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3_add1::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[836]); } -void Ifc4x3_add1::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[836]); } +void Ifc4x3_add1::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[837]); } -void Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[837]); } +void Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_add1::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[839]); } -void Ifc4x3_add1::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[839]); } +void Ifc4x3_add1::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPump std::optional< ::Ifc4x3_add1::IfcPumpTypeEnum::Value > Ifc4x3_add1::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcPump::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[841]); } -void Ifc4x3_add1::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[841]); } +void Ifc4x3_add1::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x3_add1::IfcPumpTypeEnum::Value Ifc4x3_add1::IfcPumpType::PredefinedType() const { return ::Ifc4x3_add1::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcPumpType::setPredefinedType(const ::Ifc4x3_add1::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcPumpType::setPredefinedType(const ::Ifc4x3_add1::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[842]); } -void Ifc4x3_add1::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[842]); } +void Ifc4x3_add1::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x3_add1::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -13197,7 +13197,7 @@ std::optional< std::string > Ifc4x3_add1::IfcQuantityArea::Formula() const { if( void Ifc4x3_add1::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[844]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[844]); } void Ifc4x3_add1::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -13207,7 +13207,7 @@ std::optional< std::string > Ifc4x3_add1::IfcQuantityCount::Formula() const { if void Ifc4x3_add1::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[845]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[845]); } void Ifc4x3_add1::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, int v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -13217,7 +13217,7 @@ std::optional< std::string > Ifc4x3_add1::IfcQuantityLength::Formula() const { i void Ifc4x3_add1::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[846]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[846]); } void Ifc4x3_add1::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityNumber @@ -13227,13 +13227,13 @@ std::optional< std::string > Ifc4x3_add1::IfcQuantityNumber::Formula() const { i void Ifc4x3_add1::IfcQuantityNumber::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcQuantityNumber::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[847]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcQuantityNumber::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[847]); } void Ifc4x3_add1::IfcQuantityNumber::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_NumberValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_NumberValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x3_add1::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[848]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[848]); } void Ifc4x3_add1::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -13243,7 +13243,7 @@ std::optional< std::string > Ifc4x3_add1::IfcQuantityTime::Formula() const { if( void Ifc4x3_add1::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[849]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[849]); } void Ifc4x3_add1::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -13253,7 +13253,7 @@ std::optional< std::string > Ifc4x3_add1::IfcQuantityVolume::Formula() const { i void Ifc4x3_add1::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[850]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[850]); } void Ifc4x3_add1::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -13263,104 +13263,104 @@ std::optional< std::string > Ifc4x3_add1::IfcQuantityWeight::Formula() const { i void Ifc4x3_add1::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[851]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[851]); } void Ifc4x3_add1::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRail std::optional< ::Ifc4x3_add1::IfcRailTypeEnum::Value > Ifc4x3_add1::IfcRail::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcRailTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcRail::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[853]); } -void Ifc4x3_add1::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRail::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[853]); } +void Ifc4x3_add1::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailType ::Ifc4x3_add1::IfcRailTypeEnum::Value Ifc4x3_add1::IfcRailType::PredefinedType() const { return ::Ifc4x3_add1::IfcRailTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcRailType::setPredefinedType(const ::Ifc4x3_add1::IfcRailTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcRailType::setPredefinedType(const ::Ifc4x3_add1::IfcRailTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcRailType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[857]); } -void Ifc4x3_add1::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRailType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[857]); } +void Ifc4x3_add1::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailing std::optional< ::Ifc4x3_add1::IfcRailingTypeEnum::Value > Ifc4x3_add1::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[854]); } -void Ifc4x3_add1::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[854]); } +void Ifc4x3_add1::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x3_add1::IfcRailingTypeEnum::Value Ifc4x3_add1::IfcRailingType::PredefinedType() const { return ::Ifc4x3_add1::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcRailingType::setPredefinedType(const ::Ifc4x3_add1::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcRailingType::setPredefinedType(const ::Ifc4x3_add1::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[855]); } -void Ifc4x3_add1::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[855]); } +void Ifc4x3_add1::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailway std::optional< ::Ifc4x3_add1::IfcRailwayTypeEnum::Value > Ifc4x3_add1::IfcRailway::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcRailwayTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcRailway::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[859]); } -void Ifc4x3_add1::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRailway::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[859]); } +void Ifc4x3_add1::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRailwayPart std::optional< ::Ifc4x3_add1::IfcRailwayPartTypeEnum::Value > Ifc4x3_add1::IfcRailwayPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcRailwayPartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcRailwayPart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailwayPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcRailwayPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcRailwayPart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailwayPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcRailwayPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcRailwayPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[860]); } -void Ifc4x3_add1::IfcRailwayPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRailwayPart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[860]); } +void Ifc4x3_add1::IfcRailwayPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcRamp std::optional< ::Ifc4x3_add1::IfcRampTypeEnum::Value > Ifc4x3_add1::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[863]); } -void Ifc4x3_add1::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[863]); } +void Ifc4x3_add1::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value > Ifc4x3_add1::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[864]); } -void Ifc4x3_add1::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[864]); } +void Ifc4x3_add1::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value Ifc4x3_add1::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3_add1::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[865]); } -void Ifc4x3_add1::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[865]); } +void Ifc4x3_add1::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x3_add1::IfcRampTypeEnum::Value Ifc4x3_add1::IfcRampType::PredefinedType() const { return ::Ifc4x3_add1::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcRampType::setPredefinedType(const ::Ifc4x3_add1::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcRampType::setPredefinedType(const ::Ifc4x3_add1::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[867]); } -void Ifc4x3_add1::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[867]); } +void Ifc4x3_add1::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x3_add1::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[870]); } -void Ifc4x3_add1::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::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_add1::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[870]); } +void Ifc4x3_add1::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::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, (enumeration_reference(&::Ifc4x3_add1::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[871]); } -void Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add1::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_add1::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[871]); } +void Ifc4x3_add1::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_add1::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, (enumeration_reference(&::Ifc4x3_add1::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_add1::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13371,8 +13371,8 @@ std::optional< double > Ifc4x3_add1::IfcRectangleHollowProfileDef::OuterFilletRa void Ifc4x3_add1::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[873]); } -void Ifc4x3_add1::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[873]); } +void Ifc4x3_add1::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x3_add1::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -13381,8 +13381,8 @@ double Ifc4x3_add1::IfcRectangleProfileDef::YDim() const { double v = get_attri void Ifc4x3_add1::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[874]); } -void Ifc4x3_add1::IfcRectangleProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[874]); } +void Ifc4x3_add1::IfcRectangleProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x3_add1::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -13393,7 +13393,7 @@ double Ifc4x3_add1::IfcRectangularPyramid::Height() const { double v = get_attr void Ifc4x3_add1::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[875]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[875]); } void Ifc4x3_add1::IfcRectangularPyramid::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -13413,12 +13413,12 @@ bool Ifc4x3_add1::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_a void Ifc4x3_add1::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[876]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[876]); } void Ifc4x3_add1::IfcRectangularTrimmedSurface::initialize(::Ifc4x3_add1::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value Ifc4x3_add1::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x3_add1::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add1::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add1::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add1::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add1::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add1::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add1::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -13435,8 +13435,8 @@ std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > > Ifc4x3_add1::IfcRec void Ifc4x3_add1::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[877]); } -void Ifc4x3_add1::IfcRecurrencePattern::initialize(::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[877]); } +void Ifc4x3_add1::IfcRecurrencePattern::initialize(::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x3_add1::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -13451,16 +13451,16 @@ void Ifc4x3_add1::IfcReference::setListPositions(const std::optional< std::vecto void Ifc4x3_add1::IfcReference::setInnerReference(const ::Ifc4x3_add1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[879]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[879]); } void Ifc4x3_add1::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_add1::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x3_add1::IfcReferentTypeEnum::Value > Ifc4x3_add1::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add1::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[880]); } -void Ifc4x3_add1::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcReferentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[880]); } +void Ifc4x3_add1::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcReferentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcRegularTimeSeries double Ifc4x3_add1::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -13469,16 +13469,16 @@ std::vector< ::Ifc4x3_add1::IfcTimeSeriesValue > Ifc4x3_add1::IfcRegularTimeSeri void Ifc4x3_add1::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x3_add1::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[883]); } -void Ifc4x3_add1::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_add1::IfcTimeSeriesValue > v10_Values) { 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_add1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[883]); } +void Ifc4x3_add1::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_add1::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcedSoil std::optional< ::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value > Ifc4x3_add1::IfcReinforcedSoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcReinforcedSoil::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[884]); } -void Ifc4x3_add1::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcedSoil::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[884]); } +void Ifc4x3_add1::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcReinforcementBarProperties double Ifc4x3_add1::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -13486,7 +13486,7 @@ void Ifc4x3_add1::IfcReinforcementBarProperties::setTotalCrossSectionArea(const std::string Ifc4x3_add1::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_add1::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_add1::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_add1::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x3_add1::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_add1::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x3_add1::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -13495,8 +13495,8 @@ std::optional< int > Ifc4x3_add1::IfcReinforcementBarProperties::BarCount() cons void Ifc4x3_add1::IfcReinforcementBarProperties::setBarCount(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add1::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[886]); } -void Ifc4x3_add1::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[886]); } +void Ifc4x3_add1::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x3_add1::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13505,7 +13505,7 @@ std::vector< ::Ifc4x3_add1::IfcSectionReinforcementProperties > Ifc4x3_add1::Ifc void Ifc4x3_add1::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_add1::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[887]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[887]); } void Ifc4x3_add1::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_add1::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -13516,17 +13516,17 @@ void Ifc4x3_add1::IfcReinforcingBar::setCrossSectionArea(const std::optional< do std::optional< double > Ifc4x3_add1::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_add1::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value > Ifc4x3_add1::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_add1::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_add1::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_add1::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_add1::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_add1::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_add1::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[888]); } -void Ifc4x3_add1::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_add1::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[888]); } +void Ifc4x3_add1::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value Ifc4x3_add1::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_add1::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add1::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13534,28 +13534,28 @@ void Ifc4x3_add1::IfcReinforcingBarType::setCrossSectionArea(const std::optional std::optional< double > Ifc4x3_add1::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x3_add1::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_add1::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_add1::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_add1::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x3_add1::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_add1::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > Ifc4x3_add1::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x3_add1::IfcBendingParameterSelect>(es); } void Ifc4x3_add1::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_add1::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[891]); } -void Ifc4x3_add1::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::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_add1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[891]); } +void Ifc4x3_add1::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::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, (enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x3_add1::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[893]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[893]); } void Ifc4x3_add1::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x3_add1::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[894]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[894]); } void Ifc4x3_add1::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -13576,15 +13576,15 @@ void Ifc4x3_add1::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::optio std::optional< double > Ifc4x3_add1::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x3_add1::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value > Ifc4x3_add1::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x3_add1::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x3_add1::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_add1::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[895]); } -void Ifc4x3_add1::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_add1::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[895]); } +void Ifc4x3_add1::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value Ifc4x3_add1::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_add1::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add1::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13607,8 +13607,8 @@ std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > Ifc4x3_ void Ifc4x3_add1::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_add1::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[896]); } -void Ifc4x3_add1::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[896]); } +void Ifc4x3_add1::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAdheresToElement ::Ifc4x3_add1::IfcElement Ifc4x3_add1::IfcRelAdheresToElement::RelatingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcElement>(); } @@ -13617,7 +13617,7 @@ std::vector< ::Ifc4x3_add1::IfcSurfaceFeature > Ifc4x3_add1::IfcRelAdheresToElem void Ifc4x3_add1::IfcRelAdheresToElement::setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3_add1::IfcSurfaceFeature >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAdheresToElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[898]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAdheresToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[898]); } void Ifc4x3_add1::IfcRelAdheresToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3_add1::IfcSurfaceFeature > v6_RelatedSurfaceFeatures) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, cast_vector(v6_RelatedSurfaceFeatures)); } // Function implementations for IfcRelAggregates @@ -13627,7 +13627,7 @@ std::vector< ::Ifc4x3_add1::IfcObjectDefinition > Ifc4x3_add1::IfcRelAggregates: void Ifc4x3_add1::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x3_add1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[899]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[899]); } void Ifc4x3_add1::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns @@ -13637,7 +13637,7 @@ std::optional< bool > Ifc4x3_add1::IfcRelAssigns::RelatedObjectsType() const { i void Ifc4x3_add1::IfcRelAssigns::setRelatedObjectsType(const std::optional< bool >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[900]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[900]); } void Ifc4x3_add1::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); } } // Function implementations for IfcRelAssignsToActor @@ -13647,7 +13647,7 @@ void Ifc4x3_add1::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x3_add1::If void Ifc4x3_add1::IfcRelAssignsToActor::setActingRole(const ::Ifc4x3_add1::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[901]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[901]); } void Ifc4x3_add1::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcActor v7_RelatingActor, ::Ifc4x3_add1::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl @@ -13655,7 +13655,7 @@ void Ifc4x3_add1::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::If void Ifc4x3_add1::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x3_add1::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[902]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[902]); } void Ifc4x3_add1::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup @@ -13663,7 +13663,7 @@ void Ifc4x3_add1::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, :: void Ifc4x3_add1::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x3_add1::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[903]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[903]); } void Ifc4x3_add1::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor @@ -13671,7 +13671,7 @@ double Ifc4x3_add1::IfcRelAssignsToGroupByFactor::Factor() const { double v = g void Ifc4x3_add1::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[904]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[904]); } void Ifc4x3_add1::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess @@ -13681,7 +13681,7 @@ void Ifc4x3_add1::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x3_add1 void Ifc4x3_add1::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x3_add1::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[905]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[905]); } void Ifc4x3_add1::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_add1::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct @@ -13689,7 +13689,7 @@ void Ifc4x3_add1::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, :: void Ifc4x3_add1::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x3_add1::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[906]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[906]); } void Ifc4x3_add1::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource @@ -13697,7 +13697,7 @@ void Ifc4x3_add1::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, :: void Ifc4x3_add1::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x3_add1::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[907]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[907]); } void Ifc4x3_add1::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates @@ -13705,7 +13705,7 @@ std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > Ifc4x3_add1::IfcRelAssociates: void Ifc4x3_add1::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x3_add1::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[908]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[908]); } void Ifc4x3_add1::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -13713,7 +13713,7 @@ void Ifc4x3_add1::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3 void Ifc4x3_add1::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x3_add1::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[909]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[909]); } void Ifc4x3_add1::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -13721,7 +13721,7 @@ void Ifc4x3_add1::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, void Ifc4x3_add1::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x3_add1::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[910]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[910]); } void Ifc4x3_add1::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -13731,7 +13731,7 @@ void Ifc4x3_add1::IfcRelAssociatesConstraint::setIntent(const std::optional< std void Ifc4x3_add1::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x3_add1::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[911]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[911]); } void Ifc4x3_add1::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_add1::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -13739,7 +13739,7 @@ void Ifc4x3_add1::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId void Ifc4x3_add1::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x3_add1::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[912]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[912]); } void Ifc4x3_add1::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -13747,7 +13747,7 @@ void Ifc4x3_add1::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, void Ifc4x3_add1::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x3_add1::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[913]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[913]); } void Ifc4x3_add1::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -13755,7 +13755,7 @@ void Ifc4x3_add1::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, : void Ifc4x3_add1::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x3_add1::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[914]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[914]); } void Ifc4x3_add1::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelAssociatesProfileDef @@ -13763,13 +13763,13 @@ void Ifc4x3_add1::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, void Ifc4x3_add1::IfcRelAssociatesProfileDef::setRelatingProfileDef(const ::Ifc4x3_add1::IfcProfileDef& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelAssociatesProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[915]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelAssociatesProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[915]); } void Ifc4x3_add1::IfcRelAssociatesProfileDef::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcProfileDef v6_RelatingProfileDef) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileDef)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x3_add1::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[917]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[917]); } void Ifc4x3_add1::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -13781,7 +13781,7 @@ void Ifc4x3_add1::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x3_add1 void Ifc4x3_add1::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x3_add1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[918]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[918]); } void Ifc4x3_add1::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add1::IfcElement v6_RelatingElement, ::Ifc4x3_add1::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -13790,13 +13790,13 @@ void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatingPriorities(const std::v std::vector< int > /*[0:?]*/ Ifc4x3_add1::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_add1::IfcConnectionTypeEnum::Value Ifc4x3_add1::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x3_add1::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_add1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_add1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_add1::IfcConnectionTypeEnum::Value Ifc4x3_add1::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x3_add1::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_add1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_add1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_add1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add1::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[919]); } -void Ifc4x3_add1::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add1::IfcElement v6_RelatingElement, ::Ifc4x3_add1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_add1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_add1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[919]); } +void Ifc4x3_add1::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add1::IfcElement v6_RelatingElement, ::Ifc4x3_add1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_add1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_add1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_add1::IfcPort Ifc4x3_add1::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcPort>(); } @@ -13805,7 +13805,7 @@ void Ifc4x3_add1::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x3_ad void Ifc4x3_add1::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x3_add1::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[921]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[921]); } void Ifc4x3_add1::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcPort v5_RelatingPort, ::Ifc4x3_add1::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -13817,7 +13817,7 @@ void Ifc4x3_add1::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x3_add1::IfcPo void Ifc4x3_add1::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x3_add1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[920]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[920]); } void Ifc4x3_add1::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcPort v5_RelatingPort, ::Ifc4x3_add1::IfcPort v6_RelatedPort, ::Ifc4x3_add1::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -13827,7 +13827,7 @@ void Ifc4x3_add1::IfcRelConnectsStructuralActivity::setRelatingElement(const ::I void Ifc4x3_add1::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x3_add1::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[922]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[922]); } void Ifc4x3_add1::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_add1::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -13845,7 +13845,7 @@ void Ifc4x3_add1::IfcRelConnectsStructuralMember::setSupportedLength(const std:: void Ifc4x3_add1::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x3_add1::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[923]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[923]); } void Ifc4x3_add1::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_add1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_add1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_add1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_add1::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -13853,7 +13853,7 @@ void Ifc4x3_add1::IfcRelConnectsStructuralMember::initialize(std::string v1_Glob void Ifc4x3_add1::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x3_add1::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add1::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[924]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[924]); } void Ifc4x3_add1::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_add1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_add1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_add1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_add1::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_add1::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -13863,7 +13863,7 @@ std::optional< std::string > Ifc4x3_add1::IfcRelConnectsWithRealizingElements::C void Ifc4x3_add1::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[925]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[925]); } void Ifc4x3_add1::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add1::IfcElement v6_RelatingElement, ::Ifc4x3_add1::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_add1::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -13873,7 +13873,7 @@ void Ifc4x3_add1::IfcRelContainedInSpatialStructure::setRelatedElements(const st void Ifc4x3_add1::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_add1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[926]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[926]); } void Ifc4x3_add1::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcProduct > v5_RelatedElements, ::Ifc4x3_add1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -13883,7 +13883,7 @@ std::vector< ::Ifc4x3_add1::IfcCovering > Ifc4x3_add1::IfcRelCoversBldgElements: void Ifc4x3_add1::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x3_add1::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[927]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[927]); } void Ifc4x3_add1::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_add1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -13893,7 +13893,7 @@ std::vector< ::Ifc4x3_add1::IfcCovering > Ifc4x3_add1::IfcRelCoversSpaces::Relat void Ifc4x3_add1::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x3_add1::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[928]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[928]); } void Ifc4x3_add1::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_add1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -13903,19 +13903,19 @@ std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > Ifc4x3_add1::IfcRelDeclares::R void Ifc4x3_add1::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x3_add1::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[929]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[929]); } void Ifc4x3_add1::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x3_add1::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[930]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[930]); } void Ifc4x3_add1::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x3_add1::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[931]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[931]); } void Ifc4x3_add1::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -13925,7 +13925,7 @@ void Ifc4x3_add1::IfcRelDefinesByObject::setRelatedObjects(const std::vector< :: void Ifc4x3_add1::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x3_add1::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[932]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[932]); } void Ifc4x3_add1::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObject > v5_RelatedObjects, ::Ifc4x3_add1::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -13935,7 +13935,7 @@ void Ifc4x3_add1::IfcRelDefinesByProperties::setRelatedObjects(const std::vector void Ifc4x3_add1::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x3_add1::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[933]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[933]); } void Ifc4x3_add1::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_add1::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -13945,7 +13945,7 @@ void Ifc4x3_add1::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vec void Ifc4x3_add1::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x3_add1::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[934]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[934]); } void Ifc4x3_add1::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_add1::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -13955,7 +13955,7 @@ void Ifc4x3_add1::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::If void Ifc4x3_add1::IfcRelDefinesByType::setRelatingType(const ::Ifc4x3_add1::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[935]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[935]); } void Ifc4x3_add1::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObject > v5_RelatedObjects, ::Ifc4x3_add1::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -13965,7 +13965,7 @@ void Ifc4x3_add1::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x3_a void Ifc4x3_add1::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x3_add1::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[936]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[936]); } void Ifc4x3_add1::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -13975,7 +13975,7 @@ void Ifc4x3_add1::IfcRelFlowControlElements::setRelatedControlElements(const std void Ifc4x3_add1::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x3_add1::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[937]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[937]); } void Ifc4x3_add1::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_add1::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -13993,7 +13993,7 @@ void Ifc4x3_add1::IfcRelInterferesElements::setImpliedOrder(const boost::logic:: void Ifc4x3_add1::IfcRelInterferesElements::setInterferenceSpace(const ::Ifc4x3_add1::IfcSpatialZone& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[938]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[938]); } void Ifc4x3_add1::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_add1::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder, ::Ifc4x3_add1::IfcSpatialZone v10_InterferenceSpace) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder));set_attribute_value(9, (v10_InterferenceSpace)); } // Function implementations for IfcRelNests @@ -14003,7 +14003,7 @@ std::vector< ::Ifc4x3_add1::IfcObjectDefinition > Ifc4x3_add1::IfcRelNests::Rela void Ifc4x3_add1::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x3_add1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[939]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[939]); } void Ifc4x3_add1::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelPositions @@ -14013,7 +14013,7 @@ std::vector< ::Ifc4x3_add1::IfcProduct > Ifc4x3_add1::IfcRelPositions::RelatedPr void Ifc4x3_add1::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x3_add1::IfcProduct >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[940]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[940]); } void Ifc4x3_add1::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_add1::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector(v6_RelatedProducts)); } // Function implementations for IfcRelProjectsElement @@ -14023,7 +14023,7 @@ void Ifc4x3_add1::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x3_add1: void Ifc4x3_add1::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x3_add1::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[941]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[941]); } void Ifc4x3_add1::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcElement v5_RelatingElement, ::Ifc4x3_add1::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -14033,7 +14033,7 @@ void Ifc4x3_add1::IfcRelReferencedInSpatialStructure::setRelatedElements(const s void Ifc4x3_add1::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_add1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[942]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[942]); } void Ifc4x3_add1::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_add1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -14044,13 +14044,13 @@ void Ifc4x3_add1::IfcRelSequence::setRelatedProcess(const ::Ifc4x3_add1::IfcProc ::Ifc4x3_add1::IfcLagTime Ifc4x3_add1::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add1::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add1::IfcLagTime>(); } void Ifc4x3_add1::IfcRelSequence::setTimeLag(const ::Ifc4x3_add1::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_add1::IfcSequenceEnum::Value > Ifc4x3_add1::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_add1::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add1::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_add1::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add1::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[943]); } -void Ifc4x3_add1::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcProcess v5_RelatingProcess, ::Ifc4x3_add1::IfcProcess v6_RelatedProcess, ::Ifc4x3_add1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_add1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[943]); } +void Ifc4x3_add1::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcProcess v5_RelatingProcess, ::Ifc4x3_add1::IfcProcess v6_RelatedProcess, ::Ifc4x3_add1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_add1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x3_add1::IfcSystem Ifc4x3_add1::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcSystem>(); } @@ -14059,7 +14059,7 @@ std::vector< ::Ifc4x3_add1::IfcSpatialElement > Ifc4x3_add1::IfcRelServicesBuild void Ifc4x3_add1::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x3_add1::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[944]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[944]); } void Ifc4x3_add1::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_add1::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -14070,31 +14070,31 @@ void Ifc4x3_add1::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x3_ ::Ifc4x3_add1::IfcConnectionGeometry Ifc4x3_add1::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add1::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add1::IfcConnectionGeometry>(); } void Ifc4x3_add1::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x3_add1::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value Ifc4x3_add1::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add1::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value Ifc4x3_add1::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x3_add1::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add1::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[945]); } -void Ifc4x3_add1::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[945]); } +void Ifc4x3_add1::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel Ifc4x3_add1::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x3_add1::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel> Ifc4x3_add1::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[946], 9)); } +std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel> Ifc4x3_add1::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[946], 9)); } -const IfcParse::entity& Ifc4x3_add1::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[946]); } -void Ifc4x3_add1::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[946]); } +void Ifc4x3_add1::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel> Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[947], 10)); } +std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel> Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[947], 10)); } -const IfcParse::entity& Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[947]); } -void Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[947]); } +void Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x3_add1::IfcElement Ifc4x3_add1::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcElement>(); } @@ -14103,13 +14103,13 @@ void Ifc4x3_add1::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x3_ void Ifc4x3_add1::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x3_add1::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[948]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[948]); } void Ifc4x3_add1::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_add1::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x3_add1::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[916]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[916]); } void Ifc4x3_add1::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -14117,8 +14117,8 @@ double Ifc4x3_add1::IfcReparametrisedCompositeCurveSegment::ParamLength() const void Ifc4x3_add1::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[949]); } -void Ifc4x3_add1::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add1::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[949]); } +void Ifc4x3_add1::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add1::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x3_add1::IfcRepresentationContext Ifc4x3_add1::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcRepresentationContext>(); } @@ -14130,11 +14130,11 @@ void Ifc4x3_add1::IfcRepresentation::setRepresentationType(const std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationItem > Ifc4x3_add1::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_add1::IfcRepresentationItem>(es); } void Ifc4x3_add1::IfcRepresentation::setItems(const std::vector< ::Ifc4x3_add1::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_add1::IfcRepresentationMap> Ifc4x3_add1::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[953], 1)); } -std::vector<::Ifc4x3_add1::IfcPresentationLayerAssignment> Ifc4x3_add1::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[791], 2)); } -std::vector<::Ifc4x3_add1::IfcProductRepresentation> Ifc4x3_add1::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[802], 2)); } +std::vector<::Ifc4x3_add1::IfcRepresentationMap> Ifc4x3_add1::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[953], 1)); } +std::vector<::Ifc4x3_add1::IfcPresentationLayerAssignment> Ifc4x3_add1::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[791], 2)); } +std::vector<::Ifc4x3_add1::IfcProductRepresentation> Ifc4x3_add1::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[802], 2)); } -const IfcParse::entity& Ifc4x3_add1::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[950]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[950]); } void Ifc4x3_add1::IfcRepresentation::initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -14143,17 +14143,17 @@ void Ifc4x3_add1::IfcRepresentationContext::setContextIdentifier(const std::opti std::optional< std::string > Ifc4x3_add1::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_add1::IfcRepresentation> Ifc4x3_add1::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[950], 0)); } +std::vector<::Ifc4x3_add1::IfcRepresentation> Ifc4x3_add1::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[950], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[951]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[951]); } void Ifc4x3_add1::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x3_add1::IfcPresentationLayerAssignment> Ifc4x3_add1::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[791], 2)); } -std::vector<::Ifc4x3_add1::IfcStyledItem> Ifc4x3_add1::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1117], 0)); } +std::vector<::Ifc4x3_add1::IfcPresentationLayerAssignment> Ifc4x3_add1::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[791], 2)); } +std::vector<::Ifc4x3_add1::IfcStyledItem> Ifc4x3_add1::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1117], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[952]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[952]); } void Ifc4x3_add1::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -14162,10 +14162,10 @@ void Ifc4x3_add1::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x3_add1::If ::Ifc4x3_add1::IfcRepresentation Ifc4x3_add1::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcRepresentation>(); } void Ifc4x3_add1::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x3_add1::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_add1::IfcShapeAspect> Ifc4x3_add1::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1006], 4)); } -std::vector<::Ifc4x3_add1::IfcMappedItem> Ifc4x3_add1::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[628], 0)); } +std::vector<::Ifc4x3_add1::IfcShapeAspect> Ifc4x3_add1::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1006], 4)); } +std::vector<::Ifc4x3_add1::IfcMappedItem> Ifc4x3_add1::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[628], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[953]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[953]); } void Ifc4x3_add1::IfcRepresentationMap::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_add1::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -14174,9 +14174,9 @@ void Ifc4x3_add1::IfcResource::setIdentification(const std::optional< std::strin std::optional< std::string > Ifc4x3_add1::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add1::IfcRelAssignsToResource> Ifc4x3_add1::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[907], 6)); } +std::vector<::Ifc4x3_add1::IfcRelAssignsToResource> Ifc4x3_add1::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[907], 6)); } -const IfcParse::entity& Ifc4x3_add1::IfcResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[954]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[954]); } void Ifc4x3_add1::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -14186,7 +14186,7 @@ void Ifc4x3_add1::IfcResourceApprovalRelationship::setRelatedResourceObjects(con void Ifc4x3_add1::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x3_add1::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[955]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[955]); } void Ifc4x3_add1::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_add1::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -14196,7 +14196,7 @@ std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > Ifc4x3_add1::IfcResourceCo void Ifc4x3_add1::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[956]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[956]); } void Ifc4x3_add1::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -14206,7 +14206,7 @@ std::optional< std::string > Ifc4x3_add1::IfcResourceLevelRelationship::Descript void Ifc4x3_add1::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add1::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[957]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[957]); } void Ifc4x3_add1::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -14242,8 +14242,8 @@ std::optional< double > Ifc4x3_add1::IfcResourceTime::Completion() const { if(ge void Ifc4x3_add1::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_add1::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[960]); } -void Ifc4x3_add1::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[960]); } +void Ifc4x3_add1::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x3_add1::IfcAxis1Placement Ifc4x3_add1::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcAxis1Placement>(); } @@ -14252,7 +14252,7 @@ double Ifc4x3_add1::IfcRevolvedAreaSolid::Angle() const { double v = get_attrib void Ifc4x3_add1::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[961]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[961]); } void Ifc4x3_add1::IfcRevolvedAreaSolid::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -14260,7 +14260,7 @@ void Ifc4x3_add1::IfcRevolvedAreaSolid::initialize(::Ifc4x3_add1::IfcProfileDef void Ifc4x3_add1::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_add1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[962]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[962]); } void Ifc4x3_add1::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_add1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -14270,7 +14270,7 @@ double Ifc4x3_add1::IfcRightCircularCone::BottomRadius() const { double v = get void Ifc4x3_add1::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[963]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[963]); } void Ifc4x3_add1::IfcRightCircularCone::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -14280,7 +14280,7 @@ double Ifc4x3_add1::IfcRightCircularCylinder::Radius() const { double v = get_a void Ifc4x3_add1::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[964]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[964]); } void Ifc4x3_add1::IfcRightCircularCylinder::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRigidOperation @@ -14292,40 +14292,40 @@ double Ifc4x3_add1::IfcRigidOperation::Height() const { double v = get_attribut void Ifc4x3_add1::IfcRigidOperation::setHeight(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcRigidOperation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[965]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRigidOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[965]); } void Ifc4x3_add1::IfcRigidOperation::initialize(::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_TargetCRS, ::Ifc4x3_add1::IfcMeasureValue v3_FirstCoordinate, ::Ifc4x3_add1::IfcMeasureValue v4_SecondCoordinate, double v5_Height) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));set_attribute_value(2, (v3_FirstCoordinate));set_attribute_value(3, (v4_SecondCoordinate));set_attribute_value(4, (v5_Height)); } // Function implementations for IfcRoad std::optional< ::Ifc4x3_add1::IfcRoadTypeEnum::Value > Ifc4x3_add1::IfcRoad::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcRoadTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcRoad::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[966]); } -void Ifc4x3_add1::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRoad::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[966]); } +void Ifc4x3_add1::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRoadPart std::optional< ::Ifc4x3_add1::IfcRoadPartTypeEnum::Value > Ifc4x3_add1::IfcRoadPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcRoadPartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcRoadPart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRoadPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcRoadPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcRoadPart::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRoadPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcRoadPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcRoadPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[967]); } -void Ifc4x3_add1::IfcRoadPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcRoadPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRoadPart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[967]); } +void Ifc4x3_add1::IfcRoadPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcRoadPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcRoof std::optional< ::Ifc4x3_add1::IfcRoofTypeEnum::Value > Ifc4x3_add1::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[971]); } -void Ifc4x3_add1::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[971]); } +void Ifc4x3_add1::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x3_add1::IfcRoofTypeEnum::Value Ifc4x3_add1::IfcRoofType::PredefinedType() const { return ::Ifc4x3_add1::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcRoofType::setPredefinedType(const ::Ifc4x3_add1::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcRoofType::setPredefinedType(const ::Ifc4x3_add1::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[972]); } -void Ifc4x3_add1::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[972]); } +void Ifc4x3_add1::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x3_add1::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -14338,7 +14338,7 @@ std::optional< std::string > Ifc4x3_add1::IfcRoot::Description() const { if(get_ void Ifc4x3_add1::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[974]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[974]); } void Ifc4x3_add1::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -14346,52 +14346,52 @@ double Ifc4x3_add1::IfcRoundedRectangleProfileDef::RoundingRadius() const { dou void Ifc4x3_add1::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[979]); } -void Ifc4x3_add1::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[979]); } +void Ifc4x3_add1::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x3_add1::IfcSIPrefix::Value > Ifc4x3_add1::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x3_add1::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_add1::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_add1::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_add1::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_add1::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_add1::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x3_add1::IfcSIUnitName::Value Ifc4x3_add1::IfcSIUnit::Name() const { return ::Ifc4x3_add1::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x3_add1::IfcSIUnit::setName(const ::Ifc4x3_add1::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_add1::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_add1::IfcSIUnit::setName(const ::Ifc4x3_add1::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_add1::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1025]); } -void Ifc4x3_add1::IfcSIUnit::initialize(::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_add1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_add1::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add1::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1025]); } +void Ifc4x3_add1::IfcSIUnit::initialize(::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_add1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_add1::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3_add1::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3_add1::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[980]); } -void Ifc4x3_add1::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[980]); } +void Ifc4x3_add1::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_add1::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[981]); } -void Ifc4x3_add1::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[981]); } +void Ifc4x3_add1::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x3_add1::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_add1::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > Ifc4x3_add1::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_add1::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x3_add1::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_add1::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[983]); } -void Ifc4x3_add1::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[983]); } +void Ifc4x3_add1::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x3_add1::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[984]); } -void Ifc4x3_add1::IfcSeamCurve::initialize(::Ifc4x3_add1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[984]); } +void Ifc4x3_add1::IfcSeamCurve::initialize(::Ifc4x3_add1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSecondOrderPolynomialSpiral double Ifc4x3_add1::IfcSecondOrderPolynomialSpiral::QuadraticTerm() const { double v = get_attribute_value(1); return v; } @@ -14402,20 +14402,20 @@ std::optional< double > Ifc4x3_add1::IfcSecondOrderPolynomialSpiral::ConstantTer void Ifc4x3_add1::IfcSecondOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcSecondOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[985]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSecondOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[985]); } void Ifc4x3_add1::IfcSecondOrderPolynomialSpiral::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_QuadraticTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSectionProperties ::Ifc4x3_add1::IfcSectionTypeEnum::Value Ifc4x3_add1::IfcSectionProperties::SectionType() const { return ::Ifc4x3_add1::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add1::IfcSectionProperties::setSectionType(const ::Ifc4x3_add1::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add1::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add1::IfcSectionProperties::setSectionType(const ::Ifc4x3_add1::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add1::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add1::IfcProfileDef Ifc4x3_add1::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcProfileDef>(); } void Ifc4x3_add1::IfcSectionProperties::setStartProfile(const ::Ifc4x3_add1::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add1::IfcProfileDef Ifc4x3_add1::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_add1::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcProfileDef>(); } void Ifc4x3_add1::IfcSectionProperties::setEndProfile(const ::Ifc4x3_add1::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[992]); } -void Ifc4x3_add1::IfcSectionProperties::initialize(::Ifc4x3_add1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_add1::IfcProfileDef v2_StartProfile, ::Ifc4x3_add1::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[992]); } +void Ifc4x3_add1::IfcSectionProperties::initialize(::Ifc4x3_add1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_add1::IfcProfileDef v2_StartProfile, ::Ifc4x3_add1::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x3_add1::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -14425,15 +14425,15 @@ void Ifc4x3_add1::IfcSectionReinforcementProperties::setLongitudinalEndPosition( std::optional< double > Ifc4x3_add1::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_add1::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value Ifc4x3_add1::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x3_add1::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_add1::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_add1::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_add1::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_add1::IfcSectionProperties Ifc4x3_add1::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcSectionProperties>(); } void Ifc4x3_add1::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x3_add1::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x3_add1::IfcReinforcementBarProperties > Ifc4x3_add1::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_add1::IfcReinforcementBarProperties>(es); } void Ifc4x3_add1::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_add1::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[993]); } -void Ifc4x3_add1::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_add1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_add1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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_add1::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[993]); } +void Ifc4x3_add1::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_add1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_add1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x3_add1::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x3_add1::IfcCurve Ifc4x3_add1::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcCurve>(); } @@ -14442,7 +14442,7 @@ std::vector< ::Ifc4x3_add1::IfcProfileDef > Ifc4x3_add1::IfcSectionedSolid::Cros void Ifc4x3_add1::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x3_add1::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[987]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[987]); } void Ifc4x3_add1::IfcSectionedSolid::initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add1::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -14450,7 +14450,7 @@ std::vector< ::Ifc4x3_add1::IfcAxis2PlacementLinear > Ifc4x3_add1::IfcSectionedS void Ifc4x3_add1::IfcSectionedSolidHorizontal::setCrossSectionPositions(const std::vector< ::Ifc4x3_add1::IfcAxis2PlacementLinear >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[988]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[988]); } void Ifc4x3_add1::IfcSectionedSolidHorizontal::initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_add1::IfcAxis2PlacementLinear > v3_CrossSectionPositions) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSpine @@ -14462,7 +14462,7 @@ std::vector< ::Ifc4x3_add1::IfcAxis2Placement3D > Ifc4x3_add1::IfcSectionedSpine void Ifc4x3_add1::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x3_add1::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[989]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[989]); } void Ifc4x3_add1::IfcSectionedSpine::initialize(::Ifc4x3_add1::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_add1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_add1::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSurface @@ -14474,17 +14474,17 @@ std::vector< ::Ifc4x3_add1::IfcProfileDef > Ifc4x3_add1::IfcSectionedSurface::Cr void Ifc4x3_add1::IfcSectionedSurface::setCrossSections(const std::vector< ::Ifc4x3_add1::IfcProfileDef >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcSectionedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[990]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSectionedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[990]); } void Ifc4x3_add1::IfcSectionedSurface::initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add1::IfcAxis2PlacementLinear > v2_CrossSectionPositions, std::vector< ::Ifc4x3_add1::IfcProfileDef > v3_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSectionPositions));set_attribute_value(2, cast_vector(v3_CrossSections)); } // Function implementations for IfcSegment ::Ifc4x3_add1::IfcTransitionCode::Value Ifc4x3_add1::IfcSegment::Transition() const { return ::Ifc4x3_add1::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x3_add1::IfcSegment::setTransition(const ::Ifc4x3_add1::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add1::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add1::IfcSegment::setTransition(const ::Ifc4x3_add1::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add1::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add1::IfcCompositeCurve> Ifc4x3_add1::IfcSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[192], 0)); } +std::vector<::Ifc4x3_add1::IfcCompositeCurve> Ifc4x3_add1::IfcSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[192], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[995]); } -void Ifc4x3_add1::IfcSegment::initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcTransitionCode::Class(),(size_t)v1_Transition))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[995]); } +void Ifc4x3_add1::IfcSegment::initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcTransitionCode::Class(),(size_t)v1_Transition))); } // Function implementations for IfcSegmentedReferenceCurve ::Ifc4x3_add1::IfcBoundedCurve Ifc4x3_add1::IfcSegmentedReferenceCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcBoundedCurve>(); } @@ -14493,24 +14493,24 @@ void Ifc4x3_add1::IfcSegmentedReferenceCurve::setBaseCurve(const ::Ifc4x3_add1:: void Ifc4x3_add1::IfcSegmentedReferenceCurve::setEndPoint(const ::Ifc4x3_add1::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcSegmentedReferenceCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[996]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSegmentedReferenceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[996]); } void Ifc4x3_add1::IfcSegmentedReferenceCurve::initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_add1::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcSensor std::optional< ::Ifc4x3_add1::IfcSensorTypeEnum::Value > Ifc4x3_add1::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[998]); } -void Ifc4x3_add1::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[998]); } +void Ifc4x3_add1::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x3_add1::IfcSensorTypeEnum::Value Ifc4x3_add1::IfcSensorType::PredefinedType() const { return ::Ifc4x3_add1::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSensorType::setPredefinedType(const ::Ifc4x3_add1::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSensorType::setPredefinedType(const ::Ifc4x3_add1::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[999]); } -void Ifc4x3_add1::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[999]); } +void Ifc4x3_add1::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSeventhOrderPolynomialSpiral double Ifc4x3_add1::IfcSeventhOrderPolynomialSpiral::SepticTerm() const { double v = get_attribute_value(1); return v; } @@ -14531,24 +14531,24 @@ std::optional< double > Ifc4x3_add1::IfcSeventhOrderPolynomialSpiral::ConstantTe void Ifc4x3_add1::IfcSeventhOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSeventhOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1002]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSeventhOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1002]); } void Ifc4x3_add1::IfcSeventhOrderPolynomialSpiral::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value > Ifc4x3_add1::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1003]); } -void Ifc4x3_add1::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1003]); } +void Ifc4x3_add1::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value Ifc4x3_add1::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1004]); } -void Ifc4x3_add1::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1004]); } +void Ifc4x3_add1::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x3_add1::IfcShapeModel > Ifc4x3_add1::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcShapeModel>(es); } @@ -14562,22 +14562,22 @@ void Ifc4x3_add1::IfcShapeAspect::setProductDefinitional(const boost::logic::tri ::Ifc4x3_add1::IfcProductRepresentationSelect Ifc4x3_add1::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_add1::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add1::IfcProductRepresentationSelect>(); } void Ifc4x3_add1::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x3_add1::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1006]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1006]); } void Ifc4x3_add1::IfcShapeAspect::initialize(std::vector< ::Ifc4x3_add1::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_add1::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x3_add1::IfcShapeAspect> Ifc4x3_add1::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1006], 0)); } +std::vector<::Ifc4x3_add1::IfcShapeAspect> Ifc4x3_add1::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1006], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1007]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1007]); } void Ifc4x3_add1::IfcShapeModel::initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x3_add1::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1008]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1008]); } void Ifc4x3_add1::IfcShapeRepresentation::initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -14585,50 +14585,50 @@ std::vector< ::Ifc4x3_add1::IfcShell > Ifc4x3_add1::IfcShellBasedSurfaceModel::S void Ifc4x3_add1::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x3_add1::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1011]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1011]); } void Ifc4x3_add1::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_add1::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSign std::optional< ::Ifc4x3_add1::IfcSignTypeEnum::Value > Ifc4x3_add1::IfcSign::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSignTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSign::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1012]); } -void Ifc4x3_add1::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSign::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1012]); } +void Ifc4x3_add1::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignType ::Ifc4x3_add1::IfcSignTypeEnum::Value Ifc4x3_add1::IfcSignType::PredefinedType() const { return ::Ifc4x3_add1::IfcSignTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSignType::setPredefinedType(const ::Ifc4x3_add1::IfcSignTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSignType::setPredefinedType(const ::Ifc4x3_add1::IfcSignTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcSignType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1016]); } -void Ifc4x3_add1::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSignType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1016]); } +void Ifc4x3_add1::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSignal std::optional< ::Ifc4x3_add1::IfcSignalTypeEnum::Value > Ifc4x3_add1::IfcSignal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSignalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSignal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1013]); } -void Ifc4x3_add1::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSignal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1013]); } +void Ifc4x3_add1::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignalType ::Ifc4x3_add1::IfcSignalTypeEnum::Value Ifc4x3_add1::IfcSignalType::PredefinedType() const { return ::Ifc4x3_add1::IfcSignalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSignalType::setPredefinedType(const ::Ifc4x3_add1::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSignalType::setPredefinedType(const ::Ifc4x3_add1::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcSignalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1014]); } -void Ifc4x3_add1::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSignalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1014]); } +void Ifc4x3_add1::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x3_add1::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1018]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1018]); } void Ifc4x3_add1::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3_add1::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add1::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_add1::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_add1::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_add1::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -14642,11 +14642,11 @@ void Ifc4x3_add1::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x3_add std::optional< std::string > Ifc4x3_add1::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > Ifc4x3_add1::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_add1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_add1::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_add1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_add1::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1019]); } -void Ifc4x3_add1::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_add1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_add1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_add1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_add1::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1019]); } +void Ifc4x3_add1::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_add1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_add1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_add1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_add1::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSineSpiral double Ifc4x3_add1::IfcSineSpiral::SineTerm() const { double v = get_attribute_value(1); return v; } @@ -14657,7 +14657,7 @@ std::optional< double > Ifc4x3_add1::IfcSineSpiral::ConstantTerm() const { if(ge void Ifc4x3_add1::IfcSineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcSineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1022]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1022]); } void Ifc4x3_add1::IfcSineSpiral::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SineTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSite @@ -14673,24 +14673,24 @@ void Ifc4x3_add1::IfcSite::setLandTitleNumber(const std::optional< std::string > void Ifc4x3_add1::IfcSite::setSiteAddress(const ::Ifc4x3_add1::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_add1::IfcSite::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1024]); } -void Ifc4x3_add1::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_add1::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::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)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1024]); } +void Ifc4x3_add1::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_add1::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x3_add1::IfcSlabTypeEnum::Value > Ifc4x3_add1::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1028]); } -void Ifc4x3_add1::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1028]); } +void Ifc4x3_add1::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x3_add1::IfcSlabTypeEnum::Value Ifc4x3_add1::IfcSlabType::PredefinedType() const { return ::Ifc4x3_add1::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSlabType::setPredefinedType(const ::Ifc4x3_add1::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSlabType::setPredefinedType(const ::Ifc4x3_add1::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1029]); } -void Ifc4x3_add1::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1029]); } +void Ifc4x3_add1::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x3_add1::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -14701,80 +14701,80 @@ std::optional< double > Ifc4x3_add1::IfcSlippageConnectionCondition::SlippageZ() void Ifc4x3_add1::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1031]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1031]); } void Ifc4x3_add1::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value > Ifc4x3_add1::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1032]); } -void Ifc4x3_add1::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1032]); } +void Ifc4x3_add1::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value Ifc4x3_add1::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1033]); } -void Ifc4x3_add1::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1033]); } +void Ifc4x3_add1::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x3_add1::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1036]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1036]); } void Ifc4x3_add1::IfcSolidModel::initialize() { } // Function implementations for IfcSpace std::optional< ::Ifc4x3_add1::IfcSpaceTypeEnum::Value > Ifc4x3_add1::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_add1::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x3_add1::IfcRelCoversSpaces> Ifc4x3_add1::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[928], 4)); } -std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary> Ifc4x3_add1::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[945], 4)); } +std::vector<::Ifc4x3_add1::IfcRelCoversSpaces> Ifc4x3_add1::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[928], 4)); } +std::vector<::Ifc4x3_add1::IfcRelSpaceBoundary> Ifc4x3_add1::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[945], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1042]); } -void Ifc4x3_add1::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1042]); } +void Ifc4x3_add1::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value > Ifc4x3_add1::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1044]); } -void Ifc4x3_add1::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1044]); } +void Ifc4x3_add1::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value Ifc4x3_add1::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1045]); } -void Ifc4x3_add1::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1045]); } +void Ifc4x3_add1::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x3_add1::IfcSpaceTypeEnum::Value Ifc4x3_add1::IfcSpaceType::PredefinedType() const { return ::Ifc4x3_add1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSpaceType::setPredefinedType(const ::Ifc4x3_add1::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSpaceType::setPredefinedType(const ::Ifc4x3_add1::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_add1::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1047]); } -void Ifc4x3_add1::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1047]); } +void Ifc4x3_add1::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x3_add1::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add1::IfcRelContainedInSpatialStructure> Ifc4x3_add1::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[926], 5)); } -std::vector<::Ifc4x3_add1::IfcRelServicesBuildings> Ifc4x3_add1::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[944], 5)); } -std::vector<::Ifc4x3_add1::IfcRelReferencedInSpatialStructure> Ifc4x3_add1::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[942], 5)); } -std::vector<::Ifc4x3_add1::IfcRelInterferesElements> Ifc4x3_add1::IfcSpatialElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[938], 5)); } -std::vector<::Ifc4x3_add1::IfcRelInterferesElements> Ifc4x3_add1::IfcSpatialElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[938], 4)); } +std::vector<::Ifc4x3_add1::IfcRelContainedInSpatialStructure> Ifc4x3_add1::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[926], 5)); } +std::vector<::Ifc4x3_add1::IfcRelServicesBuildings> Ifc4x3_add1::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[944], 5)); } +std::vector<::Ifc4x3_add1::IfcRelReferencedInSpatialStructure> Ifc4x3_add1::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[942], 5)); } +std::vector<::Ifc4x3_add1::IfcRelInterferesElements> Ifc4x3_add1::IfcSpatialElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[938], 5)); } +std::vector<::Ifc4x3_add1::IfcRelInterferesElements> Ifc4x3_add1::IfcSpatialElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[938], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1049]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1049]); } void Ifc4x3_add1::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -14782,47 +14782,47 @@ std::optional< std::string > Ifc4x3_add1::IfcSpatialElementType::ElementType() c void Ifc4x3_add1::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1050]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1050]); } void Ifc4x3_add1::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > Ifc4x3_add1::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1052]); } -void Ifc4x3_add1::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1052]); } +void Ifc4x3_add1::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x3_add1::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1053]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1053]); } void Ifc4x3_add1::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value > Ifc4x3_add1::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1054]); } -void Ifc4x3_add1::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1054]); } +void Ifc4x3_add1::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value Ifc4x3_add1::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_add1::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1055]); } -void Ifc4x3_add1::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1055]); } +void Ifc4x3_add1::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x3_add1::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_add1::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1061]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1061]); } void Ifc4x3_add1::IfcSphere::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -14830,7 +14830,7 @@ double Ifc4x3_add1::IfcSphericalSurface::Radius() const { double v = get_attrib void Ifc4x3_add1::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1062]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1062]); } void Ifc4x3_add1::IfcSphericalSurface::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSpiral @@ -14838,32 +14838,32 @@ void Ifc4x3_add1::IfcSphericalSurface::initialize(::Ifc4x3_add1::IfcAxis2Placeme void Ifc4x3_add1::IfcSpiral::setPosition(const ::Ifc4x3_add1::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1063]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1063]); } void Ifc4x3_add1::IfcSpiral::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value > Ifc4x3_add1::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1064]); } -void Ifc4x3_add1::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1064]); } +void Ifc4x3_add1::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value Ifc4x3_add1::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3_add1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1065]); } -void Ifc4x3_add1::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1065]); } +void Ifc4x3_add1::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x3_add1::IfcStairTypeEnum::Value > Ifc4x3_add1::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcStair::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1067]); } -void Ifc4x3_add1::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1067]); } +void Ifc4x3_add1::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x3_add1::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -14875,50 +14875,50 @@ void Ifc4x3_add1::IfcStairFlight::setRiserHeight(const std::optional< double >& std::optional< double > Ifc4x3_add1::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_add1::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value > Ifc4x3_add1::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_add1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_add1::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_add1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_add1::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add1::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1068]); } -void Ifc4x3_add1::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_add1::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1068]); } +void Ifc4x3_add1::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value Ifc4x3_add1::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_add1::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1069]); } -void Ifc4x3_add1::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1069]); } +void Ifc4x3_add1::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x3_add1::IfcStairTypeEnum::Value Ifc4x3_add1::IfcStairType::PredefinedType() const { return ::Ifc4x3_add1::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcStairType::setPredefinedType(const ::Ifc4x3_add1::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcStairType::setPredefinedType(const ::Ifc4x3_add1::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1071]); } -void Ifc4x3_add1::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1071]); } +void Ifc4x3_add1::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x3_add1::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1075]); } -void Ifc4x3_add1::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1075]); } +void Ifc4x3_add1::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x3_add1::IfcStructuralLoad Ifc4x3_add1::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add1::IfcStructuralLoad>(); } void Ifc4x3_add1::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x3_add1::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value Ifc4x3_add1::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x3_add1::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add1::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_add1::IfcRelConnectsStructuralActivity> Ifc4x3_add1::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[922], 5)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsStructuralActivity> Ifc4x3_add1::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[922], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1076]); } -void Ifc4x3_add1::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1076]); } +void Ifc4x3_add1::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value Ifc4x3_add1::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3_add1::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add1::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_add1::IfcAxis2Placement3D Ifc4x3_add1::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add1::IfcAxis2Placement3D>(); } void Ifc4x3_add1::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x3_add1::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_add1::IfcStructuralLoadGroup > > Ifc4x3_add1::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add1::IfcStructuralLoadGroup>(es); } @@ -14929,16 +14929,16 @@ void Ifc4x3_add1::IfcStructuralAnalysisModel::setHasResults(const std::optional< void Ifc4x3_add1::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x3_add1::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1078]); } -void Ifc4x3_add1::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_add1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_add1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_add1::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_add1::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1078]); } +void Ifc4x3_add1::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_add1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_add1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_add1::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x3_add1::IfcBoundaryCondition Ifc4x3_add1::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_add1::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add1::IfcBoundaryCondition>(); } void Ifc4x3_add1::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x3_add1::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_add1::IfcRelConnectsStructuralMember> Ifc4x3_add1::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[923], 5)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsStructuralMember> Ifc4x3_add1::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[923], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1079]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1079]); } void Ifc4x3_add1::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -14946,70 +14946,70 @@ std::optional< std::string > Ifc4x3_add1::IfcStructuralConnectionCondition::Name void Ifc4x3_add1::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1080]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1080]); } void Ifc4x3_add1::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_add1::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_add1::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add1::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1081]); } -void Ifc4x3_add1::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1081]); } +void Ifc4x3_add1::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x3_add1::IfcDirection Ifc4x3_add1::IfcStructuralCurveConnection::AxisDirection() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add1::IfcDirection>(); } void Ifc4x3_add1::IfcStructuralCurveConnection::setAxisDirection(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1083]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1083]); } void Ifc4x3_add1::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_add1::IfcDirection v9_AxisDirection) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_AxisDirection)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_add1::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add1::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add1::IfcDirection Ifc4x3_add1::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add1::IfcDirection>(); } void Ifc4x3_add1::IfcStructuralCurveMember::setAxis(const ::Ifc4x3_add1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1084]); } -void Ifc4x3_add1::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1084]); } +void Ifc4x3_add1::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x3_add1::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1086]); } -void Ifc4x3_add1::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1086]); } +void Ifc4x3_add1::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_add1::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1087]); } -void Ifc4x3_add1::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1087]); } +void Ifc4x3_add1::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x3_add1::IfcRelConnectsStructuralActivity> Ifc4x3_add1::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[922], 4)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsStructuralActivity> Ifc4x3_add1::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[922], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1088]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1088]); } void Ifc4x3_add1::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1089]); } -void Ifc4x3_add1::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1089]); } +void Ifc4x3_add1::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x3_add1::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_add1::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1090]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1090]); } void Ifc4x3_add1::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -15017,8 +15017,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x3_add1::IfcStructuralLoadC void Ifc4x3_add1::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1091]); } -void Ifc4x3_add1::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_add1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1091]); } +void Ifc4x3_add1::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_add1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x3_add1::IfcStructuralLoadOrResult > Ifc4x3_add1::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add1::IfcStructuralLoadOrResult>(es); } @@ -15027,26 +15027,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_add1::IfcStructural void Ifc4x3_add1::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1092]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1092]); } void Ifc4x3_add1::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add1::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value Ifc4x3_add1::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3_add1::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add1::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_add1::IfcActionTypeEnum::Value Ifc4x3_add1::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x3_add1::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add1::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_add1::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x3_add1::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x3_add1::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_add1::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x3_add1::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_add1::IfcActionSourceTypeEnum::Value Ifc4x3_add1::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x3_add1::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_add1::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add1::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_add1::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_add1::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_add1::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_add1::IfcStructuralResultGroup> Ifc4x3_add1::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1109], 6)); } -std::vector<::Ifc4x3_add1::IfcStructuralAnalysisModel> Ifc4x3_add1::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1078], 7)); } +std::vector<::Ifc4x3_add1::IfcStructuralResultGroup> Ifc4x3_add1::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1109], 6)); } +std::vector<::Ifc4x3_add1::IfcStructuralAnalysisModel> Ifc4x3_add1::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1078], 7)); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1093]); } -void Ifc4x3_add1::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_add1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1093]); } +void Ifc4x3_add1::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_add1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x3_add1::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -15063,13 +15063,13 @@ std::optional< double > Ifc4x3_add1::IfcStructuralLoadLinearForce::LinearMomentZ void Ifc4x3_add1::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1094]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1094]); } void Ifc4x3_add1::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1095]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1095]); } void Ifc4x3_add1::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -15081,7 +15081,7 @@ std::optional< double > Ifc4x3_add1::IfcStructuralLoadPlanarForce::PlanarForceZ( void Ifc4x3_add1::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1096]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1096]); } void Ifc4x3_add1::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -15099,7 +15099,7 @@ std::optional< double > Ifc4x3_add1::IfcStructuralLoadSingleDisplacement::Rotati void Ifc4x3_add1::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1097]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1097]); } void Ifc4x3_add1::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -15107,7 +15107,7 @@ std::optional< double > Ifc4x3_add1::IfcStructuralLoadSingleDisplacementDistorti void Ifc4x3_add1::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1098]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1098]); } void Ifc4x3_add1::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -15125,7 +15125,7 @@ std::optional< double > Ifc4x3_add1::IfcStructuralLoadSingleForce::MomentZ() con void Ifc4x3_add1::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1099]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1099]); } void Ifc4x3_add1::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -15133,13 +15133,13 @@ std::optional< double > Ifc4x3_add1::IfcStructuralLoadSingleForceWarping::Warpin void Ifc4x3_add1::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1100]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1100]); } void Ifc4x3_add1::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1101]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1101]); } void Ifc4x3_add1::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -15151,105 +15151,105 @@ std::optional< double > Ifc4x3_add1::IfcStructuralLoadTemperature::DeltaTZ() con void Ifc4x3_add1::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1102]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1102]); } void Ifc4x3_add1::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x3_add1::IfcRelConnectsStructuralMember> Ifc4x3_add1::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[923], 4)); } +std::vector<::Ifc4x3_add1::IfcRelConnectsStructuralMember> Ifc4x3_add1::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[923], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1103]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1103]); } void Ifc4x3_add1::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x3_add1::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1104]); } -void Ifc4x3_add1::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1104]); } +void Ifc4x3_add1::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x3_add1::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1105]); } -void Ifc4x3_add1::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1105]); } +void Ifc4x3_add1::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x3_add1::IfcAxis2Placement3D Ifc4x3_add1::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_add1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add1::IfcAxis2Placement3D>(); } void Ifc4x3_add1::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x3_add1::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1106]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1106]); } void Ifc4x3_add1::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_add1::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x3_add1::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1107]); } -void Ifc4x3_add1::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1107]); } +void Ifc4x3_add1::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x3_add1::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1108]); } -void Ifc4x3_add1::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1108]); } +void Ifc4x3_add1::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_add1::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add1::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_add1::IfcStructuralLoadGroup Ifc4x3_add1::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add1::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add1::IfcStructuralLoadGroup>(); } void Ifc4x3_add1::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x3_add1::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x3_add1::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_add1::IfcStructuralAnalysisModel> Ifc4x3_add1::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1078], 8)); } +std::vector<::Ifc4x3_add1::IfcStructuralAnalysisModel> Ifc4x3_add1::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1078], 8)); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1109]); } -void Ifc4x3_add1::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_add1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_add1::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1109]); } +void Ifc4x3_add1::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_add1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_add1::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_add1::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add1::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1110]); } -void Ifc4x3_add1::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1110]); } +void Ifc4x3_add1::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x3_add1::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1112]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1112]); } void Ifc4x3_add1::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_add1::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add1::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add1::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_add1::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1113]); } -void Ifc4x3_add1::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1113]); } +void Ifc4x3_add1::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x3_add1::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1115]); } -void Ifc4x3_add1::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1115]); } +void Ifc4x3_add1::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_add1::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1116]); } -void Ifc4x3_add1::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1116]); } +void Ifc4x3_add1::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x3_add1::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1119]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1119]); } void Ifc4x3_add1::IfcStyleModel::initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -15261,43 +15261,43 @@ std::optional< std::string > Ifc4x3_add1::IfcStyledItem::Name() const { if(get_a void Ifc4x3_add1::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1117]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1117]); } void Ifc4x3_add1::IfcStyledItem::initialize(::Ifc4x3_add1::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_add1::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x3_add1::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1118]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1118]); } void Ifc4x3_add1::IfcStyledRepresentation::initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value > Ifc4x3_add1::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1120]); } -void Ifc4x3_add1::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1120]); } +void Ifc4x3_add1::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value Ifc4x3_add1::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add1::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add1::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1121]); } -void Ifc4x3_add1::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1121]); } +void Ifc4x3_add1::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x3_add1::IfcEdge Ifc4x3_add1::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcEdge>(); } void Ifc4x3_add1::IfcSubedge::setParentEdge(const ::Ifc4x3_add1::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1123]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1123]); } void Ifc4x3_add1::IfcSubedge::initialize(::Ifc4x3_add1::IfcVertex v1_EdgeStart, ::Ifc4x3_add1::IfcVertex v2_EdgeEnd, ::Ifc4x3_add1::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x3_add1::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1124]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1124]); } void Ifc4x3_add1::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -15306,28 +15306,28 @@ void Ifc4x3_add1::IfcSurfaceCurve::setCurve3D(const ::Ifc4x3_add1::IfcCurve& v) std::vector< ::Ifc4x3_add1::IfcPcurve > Ifc4x3_add1::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add1::IfcPcurve>(es); } void Ifc4x3_add1::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x3_add1::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_add1::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x3_add1::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add1::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1125]); } -void Ifc4x3_add1::IfcSurfaceCurve::initialize(::Ifc4x3_add1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1125]); } +void Ifc4x3_add1::IfcSurfaceCurve::initialize(::Ifc4x3_add1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x3_add1::IfcSurface Ifc4x3_add1::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add1::IfcSurface>(); } void Ifc4x3_add1::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x3_add1::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1126]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1126]); } void Ifc4x3_add1::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcCurve v3_Directrix, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_add1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_add1::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3_add1::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add1::IfcRelAdheresToElement> Ifc4x3_add1::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[898], 5)); } +std::vector<::Ifc4x3_add1::IfcRelAdheresToElement> Ifc4x3_add1::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[898], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1127]); } -void Ifc4x3_add1::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1127]); } +void Ifc4x3_add1::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x3_add1::IfcDirection Ifc4x3_add1::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add1::IfcDirection>(); } @@ -15336,7 +15336,7 @@ double Ifc4x3_add1::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get void Ifc4x3_add1::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1129]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1129]); } void Ifc4x3_add1::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -15344,7 +15344,7 @@ void Ifc4x3_add1::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_add1::IfcProf void Ifc4x3_add1::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x3_add1::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1130]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1130]); } void Ifc4x3_add1::IfcSurfaceOfRevolution::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -15356,18 +15356,18 @@ std::optional< double > Ifc4x3_add1::IfcSurfaceReinforcementArea::ShearReinforce void Ifc4x3_add1::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1132]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1132]); } void Ifc4x3_add1::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x3_add1::IfcSurfaceSide::Value Ifc4x3_add1::IfcSurfaceStyle::Side() const { return ::Ifc4x3_add1::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x3_add1::IfcSurfaceStyle::setSide(const ::Ifc4x3_add1::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_add1::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_add1::IfcSurfaceStyle::setSide(const ::Ifc4x3_add1::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_add1::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x3_add1::IfcSurfaceStyleElementSelect > Ifc4x3_add1::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_add1::IfcSurfaceStyleElementSelect>(es); } void Ifc4x3_add1::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x3_add1::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1134]); } -void Ifc4x3_add1::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_add1::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1134]); } +void Ifc4x3_add1::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_add1::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x3_add1::IfcColourRgb Ifc4x3_add1::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcColourRgb>(); } @@ -15380,7 +15380,7 @@ void Ifc4x3_add1::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x3_ void Ifc4x3_add1::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x3_add1::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1136]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1136]); } void Ifc4x3_add1::IfcSurfaceStyleLighting::initialize(::Ifc4x3_add1::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_add1::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_add1::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_add1::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -15390,7 +15390,7 @@ std::optional< double > Ifc4x3_add1::IfcSurfaceStyleRefraction::DispersionFactor void Ifc4x3_add1::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1137]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1137]); } void Ifc4x3_add1::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -15407,11 +15407,11 @@ void Ifc4x3_add1::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x3_add ::Ifc4x3_add1::IfcSpecularHighlightSelect Ifc4x3_add1::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_add1::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add1::IfcSpecularHighlightSelect>(); } void Ifc4x3_add1::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x3_add1::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add1::IfcReflectanceMethodEnum::Value Ifc4x3_add1::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x3_add1::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_add1::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add1::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_add1::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1138]); } -void Ifc4x3_add1::IfcSurfaceStyleRendering::initialize(::Ifc4x3_add1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_add1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_add1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_add1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_add1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_add1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_add1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_add1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1138]); } +void Ifc4x3_add1::IfcSurfaceStyleRendering::initialize(::Ifc4x3_add1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_add1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_add1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_add1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_add1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_add1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_add1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_add1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x3_add1::IfcColourRgb Ifc4x3_add1::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcColourRgb>(); } @@ -15420,7 +15420,7 @@ std::optional< double > Ifc4x3_add1::IfcSurfaceStyleShading::Transparency() cons void Ifc4x3_add1::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1139]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1139]); } void Ifc4x3_add1::IfcSurfaceStyleShading::initialize(::Ifc4x3_add1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -15428,7 +15428,7 @@ std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > Ifc4x3_add1::IfcSurfaceStyleWith void Ifc4x3_add1::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x3_add1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1140]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1140]); } void Ifc4x3_add1::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -15443,10 +15443,10 @@ void Ifc4x3_add1::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x3_add1::If std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add1::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_add1::IfcTextureCoordinate> Ifc4x3_add1::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1192], 0)); } -std::vector<::Ifc4x3_add1::IfcSurfaceStyleWithTextures> Ifc4x3_add1::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[1140], 0)); } +std::vector<::Ifc4x3_add1::IfcTextureCoordinate> Ifc4x3_add1::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1192], 0)); } +std::vector<::Ifc4x3_add1::IfcSurfaceStyleWithTextures> Ifc4x3_add1::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[1140], 0)); } -const IfcParse::entity& Ifc4x3_add1::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1141]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1141]); } void Ifc4x3_add1::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -15456,7 +15456,7 @@ void Ifc4x3_add1::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x3_add1::IfcProfil void Ifc4x3_add1::IfcSweptAreaSolid::setPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1142]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1142]); } void Ifc4x3_add1::IfcSweptAreaSolid::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -15472,7 +15472,7 @@ std::optional< double > Ifc4x3_add1::IfcSweptDiskSolid::EndParam() const { if(ge void Ifc4x3_add1::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1143]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1143]); } void Ifc4x3_add1::IfcSweptDiskSolid::initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -15480,7 +15480,7 @@ std::optional< double > Ifc4x3_add1::IfcSweptDiskSolidPolygonal::FilletRadius() void Ifc4x3_add1::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add1::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1144]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1144]); } void Ifc4x3_add1::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -15490,48 +15490,48 @@ void Ifc4x3_add1::IfcSweptSurface::setSweptCurve(const ::Ifc4x3_add1::IfcProfile void Ifc4x3_add1::IfcSweptSurface::setPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1145]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1145]); } void Ifc4x3_add1::IfcSweptSurface::initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3_add1::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1146]); } -void Ifc4x3_add1::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1146]); } +void Ifc4x3_add1::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_add1::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1147]); } -void Ifc4x3_add1::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1147]); } +void Ifc4x3_add1::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x3_add1::IfcRelServicesBuildings> Ifc4x3_add1::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[944], 4)); } -std::vector<::Ifc4x3_add1::IfcRelReferencedInSpatialStructure> Ifc4x3_add1::IfcSystem::ServicesFacilities() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[942], 4)); } +std::vector<::Ifc4x3_add1::IfcRelServicesBuildings> Ifc4x3_add1::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[944], 4)); } +std::vector<::Ifc4x3_add1::IfcRelReferencedInSpatialStructure> Ifc4x3_add1::IfcSystem::ServicesFacilities() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[942], 4)); } -const IfcParse::entity& Ifc4x3_add1::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1149]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1149]); } void Ifc4x3_add1::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_add1::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1150]); } -void Ifc4x3_add1::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1150]); } +void Ifc4x3_add1::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_add1::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1151]); } -void Ifc4x3_add1::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_add1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1151]); } +void Ifc4x3_add1::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x3_add1::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -15554,8 +15554,8 @@ std::optional< double > Ifc4x3_add1::IfcTShapeProfileDef::FlangeSlope() const { void Ifc4x3_add1::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_add1::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1237]); } -void Ifc4x3_add1::IfcTShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1237]); } +void Ifc4x3_add1::IfcTShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x3_add1::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -15566,7 +15566,7 @@ std::optional< std::vector< ::Ifc4x3_add1::IfcTableColumn > > Ifc4x3_add1::IfcTa void Ifc4x3_add1::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x3_add1::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcTable::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1153]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1153]); } void Ifc4x3_add1::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_add1::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_add1::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -15582,7 +15582,7 @@ void Ifc4x3_add1::IfcTableColumn::setUnit(const ::Ifc4x3_add1::IfcUnit& v) { set void Ifc4x3_add1::IfcTableColumn::setReferencePath(const ::Ifc4x3_add1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1154]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1154]); } void Ifc4x3_add1::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_add1::IfcUnit v4_Unit, ::Ifc4x3_add1::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -15592,24 +15592,24 @@ std::optional< bool > Ifc4x3_add1::IfcTableRow::IsHeading() const { if(get_attri void Ifc4x3_add1::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add1::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1155]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1155]); } void Ifc4x3_add1::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x3_add1::IfcTankTypeEnum::Value > Ifc4x3_add1::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcTank::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1156]); } -void Ifc4x3_add1::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1156]); } +void Ifc4x3_add1::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x3_add1::IfcTankTypeEnum::Value Ifc4x3_add1::IfcTankType::PredefinedType() const { return ::Ifc4x3_add1::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTankType::setPredefinedType(const ::Ifc4x3_add1::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTankType::setPredefinedType(const ::Ifc4x3_add1::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1157]); } -void Ifc4x3_add1::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1157]); } +void Ifc4x3_add1::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x3_add1::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -15623,15 +15623,15 @@ void Ifc4x3_add1::IfcTask::setPriority(const std::optional< int >& v) { if (v) { ::Ifc4x3_add1::IfcTaskTime Ifc4x3_add1::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_add1::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_add1::IfcTaskTime>(); } void Ifc4x3_add1::IfcTask::setTaskTime(const ::Ifc4x3_add1::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value > Ifc4x3_add1::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_add1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_add1::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_add1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_add1::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add1::IfcTask::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1159]); } -void Ifc4x3_add1::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_add1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_add1::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1159]); } +void Ifc4x3_add1::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_add1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x3_add1::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x3_add1::IfcTaskDurationEnum::Value > Ifc4x3_add1::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_add1::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_add1::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_add1::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_add1::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_add1::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_add1::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x3_add1::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add1::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_add1::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -15666,26 +15666,26 @@ std::optional< double > Ifc4x3_add1::IfcTaskTime::Completion() const { if(get_at void Ifc4x3_add1::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_add1::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1161]); } -void Ifc4x3_add1::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1161]); } +void Ifc4x3_add1::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x3_add1::IfcRecurrencePattern Ifc4x3_add1::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x3_add1::IfcRecurrencePattern>(); } void Ifc4x3_add1::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x3_add1::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x3_add1::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1162]); } -void Ifc4x3_add1::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_add1::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_add1::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)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1162]); } +void Ifc4x3_add1::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_add1::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_add1::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)); } // Function implementations for IfcTaskType ::Ifc4x3_add1::IfcTaskTypeEnum::Value Ifc4x3_add1::IfcTaskType::PredefinedType() const { return ::Ifc4x3_add1::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTaskType::setPredefinedType(const ::Ifc4x3_add1::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTaskType::setPredefinedType(const ::Ifc4x3_add1::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_add1::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add1::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1163]); } -void Ifc4x3_add1::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_add1::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1163]); } +void Ifc4x3_add1::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_add1::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add1::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -15702,12 +15702,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add1::IfcTelecomAdd void Ifc4x3_add1::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1165]); } -void Ifc4x3_add1::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1165]); } +void Ifc4x3_add1::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x3_add1::IfcTendonTypeEnum::Value > Ifc4x3_add1::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_add1::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add1::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15724,44 +15724,44 @@ std::optional< double > Ifc4x3_add1::IfcTendon::MinCurvatureRadius() const { if( void Ifc4x3_add1::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_add1::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1168]); } -void Ifc4x3_add1::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1168]); } +void Ifc4x3_add1::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value > Ifc4x3_add1::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add1::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1169]); } -void Ifc4x3_add1::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_add1::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1169]); } +void Ifc4x3_add1::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value Ifc4x3_add1::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1170]); } -void Ifc4x3_add1::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1170]); } +void Ifc4x3_add1::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduit ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value Ifc4x3_add1::IfcTendonConduit::PredefinedType() const { return ::Ifc4x3_add1::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1172]); } -void Ifc4x3_add1::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1172]); } +void Ifc4x3_add1::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduitType ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value Ifc4x3_add1::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3_add1::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1173]); } -void Ifc4x3_add1::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1173]); } +void Ifc4x3_add1::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x3_add1::IfcTendonTypeEnum::Value Ifc4x3_add1::IfcTendonType::PredefinedType() const { return ::Ifc4x3_add1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTendonType::setPredefinedType(const ::Ifc4x3_add1::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTendonType::setPredefinedType(const ::Ifc4x3_add1::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_add1::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add1::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add1::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15770,23 +15770,23 @@ std::optional< double > Ifc4x3_add1::IfcTendonType::SheathDiameter() const { if( void Ifc4x3_add1::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add1::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1175]); } -void Ifc4x3_add1::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1175]); } +void Ifc4x3_add1::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x3_add1::IfcCartesianPointList3D Ifc4x3_add1::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcCartesianPointList3D>(); } void Ifc4x3_add1::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x3_add1::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add1::IfcIndexedColourMap> Ifc4x3_add1::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[542], 0)); } -std::vector<::Ifc4x3_add1::IfcIndexedTextureMap> Ifc4x3_add1::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[547], 1)); } +std::vector<::Ifc4x3_add1::IfcIndexedColourMap> Ifc4x3_add1::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[542], 0)); } +std::vector<::Ifc4x3_add1::IfcIndexedTextureMap> Ifc4x3_add1::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[547], 1)); } -const IfcParse::entity& Ifc4x3_add1::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1177]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1177]); } void Ifc4x3_add1::IfcTessellatedFaceSet::initialize(::Ifc4x3_add1::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x3_add1::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1178]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1178]); } void Ifc4x3_add1::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -15795,11 +15795,11 @@ void Ifc4x3_add1::IfcTextLiteral::setLiteral(const std::string& v) { set_attribu ::Ifc4x3_add1::IfcAxis2Placement Ifc4x3_add1::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcAxis2Placement>(); } void Ifc4x3_add1::IfcTextLiteral::setPlacement(const ::Ifc4x3_add1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add1::IfcTextPath::Value Ifc4x3_add1::IfcTextLiteral::Path() const { return ::Ifc4x3_add1::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x3_add1::IfcTextLiteral::setPath(const ::Ifc4x3_add1::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add1::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add1::IfcTextLiteral::setPath(const ::Ifc4x3_add1::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add1::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1184]); } -void Ifc4x3_add1::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_add1::IfcAxis2Placement v2_Placement, ::Ifc4x3_add1::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1184]); } +void Ifc4x3_add1::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_add1::IfcAxis2Placement v2_Placement, ::Ifc4x3_add1::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x3_add1::IfcPlanarExtent Ifc4x3_add1::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add1::IfcPlanarExtent>(); } @@ -15808,8 +15808,8 @@ std::string Ifc4x3_add1::IfcTextLiteralWithExtent::BoxAlignment() const { std:: void Ifc4x3_add1::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1185]); } -void Ifc4x3_add1::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_add1::IfcAxis2Placement v2_Placement, ::Ifc4x3_add1::IfcTextPath::Value v3_Path, ::Ifc4x3_add1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add1::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1185]); } +void Ifc4x3_add1::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_add1::IfcAxis2Placement v2_Placement, ::Ifc4x3_add1::IfcTextPath::Value v3_Path, ::Ifc4x3_add1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add1::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x3_add1::IfcTextStyleForDefinedFont Ifc4x3_add1::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_add1::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcTextStyleForDefinedFont>(); } @@ -15822,7 +15822,7 @@ std::optional< bool > Ifc4x3_add1::IfcTextStyle::ModelOrDraughting() const { if( void Ifc4x3_add1::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1187]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1187]); } void Ifc4x3_add1::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_add1::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_add1::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -15838,7 +15838,7 @@ void Ifc4x3_add1::IfcTextStyleFontModel::setFontWeight(const std::optional< std: void Ifc4x3_add1::IfcTextStyleFontModel::setFontSize(const ::Ifc4x3_add1::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1188]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1188]); } void Ifc4x3_add1::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_add1::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -15848,7 +15848,7 @@ void Ifc4x3_add1::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x3_add1::Ifc void Ifc4x3_add1::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x3_add1::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1189]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1189]); } void Ifc4x3_add1::IfcTextStyleForDefinedFont::initialize(::Ifc4x3_add1::IfcColour v1_Colour, ::Ifc4x3_add1::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -15868,7 +15868,7 @@ void Ifc4x3_add1::IfcTextStyleTextModel::setTextTransform(const std::optional< s void Ifc4x3_add1::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x3_add1::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1190]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1190]); } void Ifc4x3_add1::IfcTextStyleTextModel::initialize(::Ifc4x3_add1::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_add1::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_add1::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_add1::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -15876,7 +15876,7 @@ std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > Ifc4x3_add1::IfcTextureCoordinat void Ifc4x3_add1::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x3_add1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1192]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1192]); } void Ifc4x3_add1::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -15886,7 +15886,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x3_add1::IfcTextureCoordina void Ifc4x3_add1::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add1::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1193]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1193]); } void Ifc4x3_add1::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureCoordinateIndices @@ -15895,9 +15895,9 @@ void Ifc4x3_add1::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vecto ::Ifc4x3_add1::IfcIndexedPolygonalFace Ifc4x3_add1::IfcTextureCoordinateIndices::TexCoordsOf() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add1::IfcIndexedPolygonalFace>(); } void Ifc4x3_add1::IfcTextureCoordinateIndices::setTexCoordsOf(const ::Ifc4x3_add1::IfcIndexedPolygonalFace& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_add1::IfcIndexedPolygonalTextureMap> Ifc4x3_add1::IfcTextureCoordinateIndices::ToTexMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[546], 3)); } +std::vector<::Ifc4x3_add1::IfcIndexedPolygonalTextureMap> Ifc4x3_add1::IfcTextureCoordinateIndices::ToTexMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[546], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcTextureCoordinateIndices::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1194]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextureCoordinateIndices::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1194]); } void Ifc4x3_add1::IfcTextureCoordinateIndices::initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf)); } // Function implementations for IfcTextureCoordinateIndicesWithVoids @@ -15905,7 +15905,7 @@ std::vector< std::vector< int > > Ifc4x3_add1::IfcTextureCoordinateIndicesWithVo void Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1195]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1195]); } void Ifc4x3_add1::IfcTextureCoordinateIndicesWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));set_attribute_value(2, (v3_InnerTexCoordIndices)); } // Function implementations for IfcTextureMap @@ -15915,7 +15915,7 @@ void Ifc4x3_add1::IfcTextureMap::setVertices(const std::vector< ::Ifc4x3_add1::I void Ifc4x3_add1::IfcTextureMap::setMappedTo(const ::Ifc4x3_add1::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1196]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1196]); } void Ifc4x3_add1::IfcTextureMap::initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_add1::IfcTextureVertex > v2_Vertices, ::Ifc4x3_add1::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -15923,7 +15923,7 @@ std::vector< double > /*[2:2]*/ Ifc4x3_add1::IfcTextureVertex::Coordinates() con void Ifc4x3_add1::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1197]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1197]); } void Ifc4x3_add1::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -15931,7 +15931,7 @@ std::vector< std::vector< double > > Ifc4x3_add1::IfcTextureVertexList::TexCoord void Ifc4x3_add1::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1198]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1198]); } void Ifc4x3_add1::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcThirdOrderPolynomialSpiral @@ -15945,7 +15945,7 @@ std::optional< double > Ifc4x3_add1::IfcThirdOrderPolynomialSpiral::ConstantTerm void Ifc4x3_add1::IfcThirdOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcThirdOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1205]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcThirdOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1205]); } void Ifc4x3_add1::IfcThirdOrderPolynomialSpiral::initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcTimePeriod @@ -15955,7 +15955,7 @@ std::string Ifc4x3_add1::IfcTimePeriod::EndTime() const { std::string v = get_a void Ifc4x3_add1::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1209]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1209]); } void Ifc4x3_add1::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -15968,37 +15968,37 @@ void Ifc4x3_add1::IfcTimeSeries::setStartTime(const std::string& v) { set_attrib std::string Ifc4x3_add1::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x3_add1::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_add1::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add1::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add1::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_add1::IfcDataOriginEnum::Value Ifc4x3_add1::IfcTimeSeries::DataOrigin() const { return ::Ifc4x3_add1::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_add1::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add1::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_add1::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x3_add1::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_add1::IfcUnit Ifc4x3_add1::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_add1::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add1::IfcUnit>(); } void Ifc4x3_add1::IfcTimeSeries::setUnit(const ::Ifc4x3_add1::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } +std::vector<::Ifc4x3_add1::IfcExternalReferenceRelationship> Ifc4x3_add1::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add1::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1210]); } -void Ifc4x3_add1::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcUnit v8_Unit) { 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_add1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1210]); } +void Ifc4x3_add1::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x3_add1::IfcValue > Ifc4x3_add1::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcValue>(es); } void Ifc4x3_add1::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_add1::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1212]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1212]); } void Ifc4x3_add1::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x3_add1::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x3_add1::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1214]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1214]); } void Ifc4x3_add1::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x3_add1::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1215]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1215]); } void Ifc4x3_add1::IfcTopologyRepresentation::initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -16008,67 +16008,67 @@ double Ifc4x3_add1::IfcToroidalSurface::MinorRadius() const { double v = get_at void Ifc4x3_add1::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add1::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1216]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1216]); } void Ifc4x3_add1::IfcToroidalSurface::initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTrackElement std::optional< ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value > Ifc4x3_add1::IfcTrackElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcTrackElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcTrackElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1218]); } -void Ifc4x3_add1::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTrackElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1218]); } +void Ifc4x3_add1::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTrackElementType ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value Ifc4x3_add1::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3_add1::IfcTrackElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcTrackElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1219]); } -void Ifc4x3_add1::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTrackElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1219]); } +void Ifc4x3_add1::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransformer std::optional< ::Ifc4x3_add1::IfcTransformerTypeEnum::Value > Ifc4x3_add1::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1221]); } -void Ifc4x3_add1::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1221]); } +void Ifc4x3_add1::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x3_add1::IfcTransformerTypeEnum::Value Ifc4x3_add1::IfcTransformerType::PredefinedType() const { return ::Ifc4x3_add1::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTransformerType::setPredefinedType(const ::Ifc4x3_add1::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTransformerType::setPredefinedType(const ::Ifc4x3_add1::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1222]); } -void Ifc4x3_add1::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1222]); } +void Ifc4x3_add1::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportElement std::optional< ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value > Ifc4x3_add1::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcTransportElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1228]); } -void Ifc4x3_add1::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1228]); } +void Ifc4x3_add1::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransportElementType ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value Ifc4x3_add1::IfcTransportElementType::PredefinedType() const { return ::Ifc4x3_add1::IfcTransportElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1229]); } -void Ifc4x3_add1::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1229]); } +void Ifc4x3_add1::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportationDevice -const IfcParse::entity& Ifc4x3_add1::IfcTransportationDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1226]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTransportationDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1226]); } void Ifc4x3_add1::IfcTransportationDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTransportationDeviceType -const IfcParse::entity& Ifc4x3_add1::IfcTransportationDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1227]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTransportationDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1227]); } void Ifc4x3_add1::IfcTransportationDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcTrapeziumProfileDef @@ -16082,8 +16082,8 @@ double Ifc4x3_add1::IfcTrapeziumProfileDef::TopXOffset() const { double v = get void Ifc4x3_add1::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add1::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1231]); } -void Ifc4x3_add1::IfcTrapeziumProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1231]); } +void Ifc4x3_add1::IfcTrapeziumProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x3_add1::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -16096,7 +16096,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add1::IfcTriangulatedFaceSe void Ifc4x3_add1::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add1::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1232]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1232]); } void Ifc4x3_add1::IfcTriangulatedFaceSet::initialize(::Ifc4x3_add1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -16104,7 +16104,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_add1::IfcTriangulatedIrregularNetwork::Flags void Ifc4x3_add1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add1::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1233]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1233]); } void Ifc4x3_add1::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x3_add1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); 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)); } // Function implementations for IfcTrimmedCurve @@ -16117,27 +16117,27 @@ void Ifc4x3_add1::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x3_add1::If bool Ifc4x3_add1::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x3_add1::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_add1::IfcTrimmingPreference::Value Ifc4x3_add1::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x3_add1::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x3_add1::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_add1::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add1::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add1::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_add1::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add1::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add1::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1234]); } -void Ifc4x3_add1::IfcTrimmedCurve::initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_add1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_add1::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add1::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1234]); } +void Ifc4x3_add1::IfcTrimmedCurve::initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_add1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_add1::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_add1::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value > Ifc4x3_add1::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1238]); } -void Ifc4x3_add1::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1238]); } +void Ifc4x3_add1::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value Ifc4x3_add1::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3_add1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1239]); } -void Ifc4x3_add1::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1239]); } +void Ifc4x3_add1::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x3_add1::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -16145,9 +16145,9 @@ void Ifc4x3_add1::IfcTypeObject::setApplicableOccurrence(const std::optional< st std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > Ifc4x3_add1::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_add1::IfcPropertySetDefinition>(es); } void Ifc4x3_add1::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add1::IfcRelDefinesByType> Ifc4x3_add1::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[935], 5)); } +std::vector<::Ifc4x3_add1::IfcRelDefinesByType> Ifc4x3_add1::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[935], 5)); } -const IfcParse::entity& Ifc4x3_add1::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1241]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1241]); } void Ifc4x3_add1::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -16158,9 +16158,9 @@ void Ifc4x3_add1::IfcTypeProcess::setLongDescription(const std::optional< std::s std::optional< std::string > Ifc4x3_add1::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add1::IfcRelAssignsToProcess> Ifc4x3_add1::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[905], 6)); } +std::vector<::Ifc4x3_add1::IfcRelAssignsToProcess> Ifc4x3_add1::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[905], 6)); } -const IfcParse::entity& Ifc4x3_add1::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1242]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1242]); } void Ifc4x3_add1::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -16169,9 +16169,9 @@ void Ifc4x3_add1::IfcTypeProduct::setRepresentationMaps(const std::optional< std std::optional< std::string > Ifc4x3_add1::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add1::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add1::IfcRelAssignsToProduct> Ifc4x3_add1::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[906], 6)); } +std::vector<::Ifc4x3_add1::IfcRelAssignsToProduct> Ifc4x3_add1::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[906], 6)); } -const IfcParse::entity& Ifc4x3_add1::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1243]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1243]); } void Ifc4x3_add1::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -16182,9 +16182,9 @@ void Ifc4x3_add1::IfcTypeResource::setLongDescription(const std::optional< std:: std::optional< std::string > Ifc4x3_add1::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add1::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add1::IfcRelAssignsToResource> Ifc4x3_add1::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD1_types[907], 6)); } +std::vector<::Ifc4x3_add1::IfcRelAssignsToResource> Ifc4x3_add1::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD1_types[907], 6)); } -const IfcParse::entity& Ifc4x3_add1::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1244]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1244]); } void Ifc4x3_add1::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -16204,64 +16204,64 @@ std::optional< double > Ifc4x3_add1::IfcUShapeProfileDef::FlangeSlope() const { void Ifc4x3_add1::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add1::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1255]); } -void Ifc4x3_add1::IfcUShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1255]); } +void Ifc4x3_add1::IfcUShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x3_add1::IfcUnit > Ifc4x3_add1::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcUnit>(es); } void Ifc4x3_add1::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x3_add1::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1252]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1252]); } void Ifc4x3_add1::IfcUnitAssignment::initialize(std::vector< ::Ifc4x3_add1::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3_add1::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1246]); } -void Ifc4x3_add1::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1246]); } +void Ifc4x3_add1::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_add1::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1247]); } -void Ifc4x3_add1::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1247]); } +void Ifc4x3_add1::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3_add1::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1249]); } -void Ifc4x3_add1::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1249]); } +void Ifc4x3_add1::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_add1::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1250]); } -void Ifc4x3_add1::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1250]); } +void Ifc4x3_add1::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x3_add1::IfcValveTypeEnum::Value > Ifc4x3_add1::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcValve::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1257]); } -void Ifc4x3_add1::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1257]); } +void Ifc4x3_add1::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x3_add1::IfcValveTypeEnum::Value Ifc4x3_add1::IfcValveType::PredefinedType() const { return ::Ifc4x3_add1::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcValveType::setPredefinedType(const ::Ifc4x3_add1::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcValveType::setPredefinedType(const ::Ifc4x3_add1::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1258]); } -void Ifc4x3_add1::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1258]); } +void Ifc4x3_add1::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x3_add1::IfcDirection Ifc4x3_add1::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add1::IfcDirection>(); } @@ -16270,29 +16270,29 @@ double Ifc4x3_add1::IfcVector::Magnitude() const { double v = get_attribute_val void Ifc4x3_add1::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcVector::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1261]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1261]); } void Ifc4x3_add1::IfcVector::initialize(::Ifc4x3_add1::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVehicle std::optional< ::Ifc4x3_add1::IfcVehicleTypeEnum::Value > Ifc4x3_add1::IfcVehicle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcVehicleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcVehicle::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVehicleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcVehicleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcVehicle::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVehicleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcVehicleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcVehicle::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1263]); } -void Ifc4x3_add1::IfcVehicle::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVehicleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcVehicle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1263]); } +void Ifc4x3_add1::IfcVehicle::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVehicleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVehicleType ::Ifc4x3_add1::IfcVehicleTypeEnum::Value Ifc4x3_add1::IfcVehicleType::PredefinedType() const { return ::Ifc4x3_add1::IfcVehicleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcVehicleType::setPredefinedType(const ::Ifc4x3_add1::IfcVehicleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcVehicleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcVehicleType::setPredefinedType(const ::Ifc4x3_add1::IfcVehicleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcVehicleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcVehicleType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1264]); } -void Ifc4x3_add1::IfcVehicleType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcVehicleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcVehicleType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1264]); } +void Ifc4x3_add1::IfcVehicleType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcVehicleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x3_add1::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1266]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1266]); } void Ifc4x3_add1::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -16300,7 +16300,7 @@ void Ifc4x3_add1::IfcVertex::initialize() { } void Ifc4x3_add1::IfcVertexLoop::setLoopVertex(const ::Ifc4x3_add1::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1267]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1267]); } void Ifc4x3_add1::IfcVertexLoop::initialize(::Ifc4x3_add1::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -16308,48 +16308,48 @@ void Ifc4x3_add1::IfcVertexLoop::initialize(::Ifc4x3_add1::IfcVertex v1_LoopVert void Ifc4x3_add1::IfcVertexPoint::setVertexGeometry(const ::Ifc4x3_add1::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add1::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1268]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1268]); } void Ifc4x3_add1::IfcVertexPoint::initialize(::Ifc4x3_add1::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationDamper std::optional< ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value > Ifc4x3_add1::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1269]); } -void Ifc4x3_add1::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1269]); } +void Ifc4x3_add1::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationDamperType ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value Ifc4x3_add1::IfcVibrationDamperType::PredefinedType() const { return ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcVibrationDamperType::setPredefinedType(const ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcVibrationDamperType::setPredefinedType(const ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1270]); } -void Ifc4x3_add1::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1270]); } +void Ifc4x3_add1::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3_add1::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1272]); } -void Ifc4x3_add1::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1272]); } +void Ifc4x3_add1::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_add1::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1273]); } -void Ifc4x3_add1::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1273]); } +void Ifc4x3_add1::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement std::optional< ::Ifc4x3_add1::IfcVirtualElementTypeEnum::Value > Ifc4x3_add1::IfcVirtualElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcVirtualElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcVirtualElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVirtualElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcVirtualElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcVirtualElement::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVirtualElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcVirtualElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1275]); } -void Ifc4x3_add1::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1275]); } +void Ifc4x3_add1::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVirtualGridIntersection std::vector< ::Ifc4x3_add1::IfcGridAxis > Ifc4x3_add1::IfcVirtualGridIntersection::IntersectingAxes() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add1::IfcGridAxis>(es); } @@ -16358,54 +16358,54 @@ std::vector< double > /*[2:3]*/ Ifc4x3_add1::IfcVirtualGridIntersection::OffsetD void Ifc4x3_add1::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1277]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1277]); } void Ifc4x3_add1::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x3_add1::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value > Ifc4x3_add1::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1278]); } -void Ifc4x3_add1::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1278]); } +void Ifc4x3_add1::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value > Ifc4x3_add1::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcWall::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1282]); } -void Ifc4x3_add1::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1282]); } +void Ifc4x3_add1::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x3_add1::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1283]); } -void Ifc4x3_add1::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1283]); } +void Ifc4x3_add1::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x3_add1::IfcWallTypeEnum::Value Ifc4x3_add1::IfcWallType::PredefinedType() const { return ::Ifc4x3_add1::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcWallType::setPredefinedType(const ::Ifc4x3_add1::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcWallType::setPredefinedType(const ::Ifc4x3_add1::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1284]); } -void Ifc4x3_add1::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1284]); } +void Ifc4x3_add1::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value > Ifc4x3_add1::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1289]); } -void Ifc4x3_add1::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1289]); } +void Ifc4x3_add1::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value Ifc4x3_add1::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add1::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1290]); } -void Ifc4x3_add1::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add1::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1290]); } +void Ifc4x3_add1::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWellKnownText std::string Ifc4x3_add1::IfcWellKnownText::WellKnownText() const { std::string v = get_attribute_value(0); return v; } @@ -16414,7 +16414,7 @@ void Ifc4x3_add1::IfcWellKnownText::setWellKnownText(const std::string& v) { set void Ifc4x3_add1::IfcWellKnownText::setCoordinateReferenceSystem(const ::Ifc4x3_add1::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add1::IfcWellKnownText::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1292]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcWellKnownText::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1292]); } void Ifc4x3_add1::IfcWellKnownText::initialize(std::string v1_WellKnownText, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_CoordinateReferenceSystem) { set_attribute_value(0, (v1_WellKnownText));set_attribute_value(1, (v2_CoordinateReferenceSystem)); } // Function implementations for IfcWindow @@ -16423,15 +16423,15 @@ void Ifc4x3_add1::IfcWindow::setOverallHeight(const std::optional< double >& v) std::optional< double > Ifc4x3_add1::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_add1::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_add1::IfcWindowTypeEnum::Value > Ifc4x3_add1::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add1::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value > Ifc4x3_add1::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add1::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_add1::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add1::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_add1::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add1::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1294]); } -void Ifc4x3_add1::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_add1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1294]); } +void Ifc4x3_add1::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x3_add1::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -16460,14 +16460,14 @@ std::optional< double > Ifc4x3_add1::IfcWindowLiningProperties::LiningToPanelOff void Ifc4x3_add1::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_add1::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1295]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1295]); } void Ifc4x3_add1::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_add1::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x3_add1::IfcWindowPanelOperationEnum::Value Ifc4x3_add1::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3_add1::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add1::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_add1::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add1::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add1::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_add1::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add1::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value Ifc4x3_add1::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x3_add1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add1::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add1::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_add1::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_add1::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_add1::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -16476,22 +16476,22 @@ void Ifc4x3_add1::IfcWindowPanelProperties::setFrameThickness(const std::optiona void Ifc4x3_add1::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x3_add1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add1::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1298]); } -void Ifc4x3_add1::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add1::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_add1::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)); } +const ifcopenshell::entity& Ifc4x3_add1::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1298]); } +void Ifc4x3_add1::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_add1::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add1::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)); } // Function implementations for IfcWindowType ::Ifc4x3_add1::IfcWindowTypeEnum::Value Ifc4x3_add1::IfcWindowType::PredefinedType() const { return ::Ifc4x3_add1::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add1::IfcWindowType::setPredefinedType(const ::Ifc4x3_add1::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add1::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add1::IfcWindowType::setPredefinedType(const ::Ifc4x3_add1::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add1::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value Ifc4x3_add1::IfcWindowType::PartitioningType() const { return ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add1::IfcWindowType::setPartitioningType(const ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_add1::IfcWindowType::setPartitioningType(const ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_add1::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_add1::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add1::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_add1::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add1::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1299]); } -void Ifc4x3_add1::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_add1::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1299]); } +void Ifc4x3_add1::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add1::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x3_add1::IfcWorkTime > > Ifc4x3_add1::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_add1::IfcWorkTime>(es); } @@ -16499,11 +16499,11 @@ void Ifc4x3_add1::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vec std::optional< std::vector< ::Ifc4x3_add1::IfcWorkTime > > Ifc4x3_add1::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add1::IfcWorkTime>(es); } void Ifc4x3_add1::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x3_add1::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value > Ifc4x3_add1::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add1::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add1::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1302]); } -void Ifc4x3_add1::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_add1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_add1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1302]); } +void Ifc4x3_add1::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_add1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_add1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x3_add1::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -16522,24 +16522,24 @@ std::optional< std::string > Ifc4x3_add1::IfcWorkControl::FinishTime() const { i void Ifc4x3_add1::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add1::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1304]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1304]); } void Ifc4x3_add1::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x3_add1::IfcWorkPlanTypeEnum::Value > Ifc4x3_add1::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_add1::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_add1::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_add1::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_add1::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_add1::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1305]); } -void Ifc4x3_add1::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_add1::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1305]); } +void Ifc4x3_add1::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_add1::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value > Ifc4x3_add1::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_add1::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_add1::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_add1::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_add1::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1307]); } -void Ifc4x3_add1::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_add1::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1307]); } +void Ifc4x3_add1::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x3_add1::IfcRecurrencePattern Ifc4x3_add1::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_add1::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add1::IfcRecurrencePattern>(); } @@ -16550,8 +16550,8 @@ std::optional< std::string > Ifc4x3_add1::IfcWorkTime::FinishDate() const { if(g void Ifc4x3_add1::IfcWorkTime::setFinishDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add1::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1309]); } -void Ifc4x3_add1::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1309]); } +void Ifc4x3_add1::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x3_add1::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -16568,14 +16568,14 @@ std::optional< double > Ifc4x3_add1::IfcZShapeProfileDef::EdgeRadius() const { i void Ifc4x3_add1::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add1::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1311]); } -void Ifc4x3_add1::IfcZShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_add1::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1311]); } +void Ifc4x3_add1::IfcZShapeProfileDef::initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x3_add1::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add1::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add1::IfcZone::Class() { return *((IfcParse::entity*)IFC4X3_ADD1_types[1310]); } +const ifcopenshell::entity& Ifc4x3_add1::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD1_types[1310]); } void Ifc4x3_add1::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x3_add1.h b/src/ifcparse/schemas/Ifc4x3_add1.h index 660a07a0ae..e68866cb18 100644 --- a/src/ifcparse/schemas/Ifc4x3_add1.h +++ b/src/ifcparse/schemas/Ifc4x3_add1.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x3_add1 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveMeasureSelect() {} explicit IfcCurveMeasureSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcNonNegativeLengthMeasure as() const { return express::Base::as(); } @@ -1108,7 +1108,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1141,7 +1141,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1165,7 +1165,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1191,7 +1191,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1284,7 +1284,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1725,7 +1725,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1750,7 +1750,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1798,7 +1798,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1831,7 +1831,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1853,7 +1853,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1873,7 +1873,7 @@ public: IfcInterferenceSelect() {} explicit IfcInterferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -1899,7 +1899,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1928,7 +1928,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -1969,7 +1969,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -2014,7 +2014,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2048,7 +2048,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2205,7 +2205,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2917,7 +2917,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2939,7 +2939,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2961,7 +2961,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2983,7 +2983,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3051,7 +3051,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3080,7 +3080,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3100,7 +3100,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3128,7 +3128,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3148,7 +3148,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3170,7 +3170,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3288,7 +3288,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3310,7 +3310,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3330,7 +3330,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3360,7 +3360,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3398,7 +3398,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3501,7 +3501,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3551,7 +3551,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3582,7 +3582,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3602,7 +3602,7 @@ public: IfcSpatialReferenceSelect() {} explicit IfcSpatialReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcGroup as() const { return express::Base::as(); } @@ -3631,7 +3631,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3659,7 +3659,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3687,7 +3687,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3721,7 +3721,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3765,7 +3765,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3786,7 +3786,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3808,7 +3808,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3832,7 +3832,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -3864,7 +3864,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -3899,7 +3899,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4580,7 +4580,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4602,7 +4602,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4630,13 +4630,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4649,13 +4649,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_BRAKES, IfcActionSourceType_BUOYANCY, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_CREEP, IfcActionSourceType_CURRENT, IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_ERECTION, IfcActionSourceType_FIRE, IfcActionSourceType_ICE, IfcActionSourceType_IMPACT, IfcActionSourceType_IMPULSE, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_PROPPING, IfcActionSourceType_RAIN, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_SNOW_S, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_TRANSPORT, IfcActionSourceType_WAVE, IfcActionSourceType_WIND_W, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4670,13 +4670,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_EXTRAORDINARY_A, IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4700,13 +4700,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4725,13 +4725,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_HOME, IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4750,13 +4750,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4777,13 +4777,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4807,13 +4807,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4835,13 +4835,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_RAILWAYCROCODILE, IfcAlarmType_RAILWAYDETONATOR, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4850,13 +4850,13 @@ public: class IFC_PARSE_API IfcAlignmentCantSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentCantSegmentTypeEnum() {} - explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentCantSegmentType_BLOSSCURVE, IfcAlignmentCantSegmentType_CONSTANTCANT, IfcAlignmentCantSegmentType_COSINECURVE, IfcAlignmentCantSegmentType_HELMERTCURVE, IfcAlignmentCantSegmentType_LINEARTRANSITION, IfcAlignmentCantSegmentType_SINECURVE, IfcAlignmentCantSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4865,13 +4865,13 @@ public: class IFC_PARSE_API IfcAlignmentHorizontalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentHorizontalSegmentTypeEnum() {} - explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentHorizontalSegmentType_BLOSSCURVE, IfcAlignmentHorizontalSegmentType_CIRCULARARC, IfcAlignmentHorizontalSegmentType_CLOTHOID, IfcAlignmentHorizontalSegmentType_COSINECURVE, IfcAlignmentHorizontalSegmentType_CUBIC, IfcAlignmentHorizontalSegmentType_HELMERTCURVE, IfcAlignmentHorizontalSegmentType_LINE, IfcAlignmentHorizontalSegmentType_SINECURVE, IfcAlignmentHorizontalSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4880,13 +4880,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4895,13 +4895,13 @@ public: class IFC_PARSE_API IfcAlignmentVerticalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentVerticalSegmentTypeEnum() {} - explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentVerticalSegmentType_CIRCULARARC, IfcAlignmentVerticalSegmentType_CLOTHOID, IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT, IfcAlignmentVerticalSegmentType_PARABOLICARC} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4915,13 +4915,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4936,13 +4936,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4951,13 +4951,13 @@ public: class IFC_PARSE_API IfcAnnotationTypeEnum : public express::DeclaredType { public: IfcAnnotationTypeEnum() {} - explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnnotationType_ASBUILTAREA, IfcAnnotationType_ASBUILTLINE, IfcAnnotationType_ASBUILTPOINT, IfcAnnotationType_ASSUMEDAREA, IfcAnnotationType_ASSUMEDLINE, IfcAnnotationType_ASSUMEDPOINT, IfcAnnotationType_NON_PHYSICAL_SIGNAL, IfcAnnotationType_SUPERELEVATIONEVENT, IfcAnnotationType_WIDTHEVENT, IfcAnnotationType_USERDEFINED, IfcAnnotationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4977,13 +4977,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5003,13 +5003,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_SITE, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5031,13 +5031,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_COMMUNICATIONTERMINAL, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_RECORDINGEQUIPMENT, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5059,13 +5059,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5074,13 +5074,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5127,13 +5127,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_CORNICE, IfcBeamType_DIAPHRAGM, IfcBeamType_EDGEBEAM, IfcBeamType_GIRDER_SEGMENT, IfcBeamType_HATSTONE, IfcBeamType_HOLLOWCORE, IfcBeamType_JOIST, IfcBeamType_LINTEL, IfcBeamType_PIERCAP, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5142,13 +5142,13 @@ public: class IFC_PARSE_API IfcBearingTypeEnum : public express::DeclaredType { public: IfcBearingTypeEnum() {} - explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingType_CYLINDRICAL, IfcBearingType_DISK, IfcBearingType_ELASTOMERIC, IfcBearingType_GUIDE, IfcBearingType_POT, IfcBearingType_ROCKER, IfcBearingType_ROLLER, IfcBearingType_SPHERICAL, IfcBearingType_USERDEFINED, IfcBearingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5196,13 +5196,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_EQUALTO, IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_INCLUDEDIN, IfcBenchmark_INCLUDES, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_NOTINCLUDEDIN, IfcBenchmark_NOTINCLUDES} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5219,13 +5219,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_STEAM, IfcBoilerType_WATER, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5242,13 +5242,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_DIFFERENCE, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_UNION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5257,13 +5257,13 @@ public: class IFC_PARSE_API IfcBridgePartTypeEnum : public express::DeclaredType { public: IfcBridgePartTypeEnum() {} - explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgePartType_ABUTMENT, IfcBridgePartType_DECK, IfcBridgePartType_DECK_SEGMENT, IfcBridgePartType_FOUNDATION, IfcBridgePartType_PIER, IfcBridgePartType_PIER_SEGMENT, IfcBridgePartType_PYLON, IfcBridgePartType_SUBSTRUCTURE, IfcBridgePartType_SUPERSTRUCTURE, IfcBridgePartType_SURFACESTRUCTURE, IfcBridgePartType_USERDEFINED, IfcBridgePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5272,13 +5272,13 @@ public: class IFC_PARSE_API IfcBridgeTypeEnum : public express::DeclaredType { public: IfcBridgeTypeEnum() {} - explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgeType_ARCHED, IfcBridgeType_CABLE_STAYED, IfcBridgeType_CANTILEVER, IfcBridgeType_CULVERT, IfcBridgeType_FRAMEWORK, IfcBridgeType_GIRDER, IfcBridgeType_SUSPENSION, IfcBridgeType_TRUSS, IfcBridgeType_USERDEFINED, IfcBridgeType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5294,13 +5294,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_APRON, IfcBuildingElementPartType_ARMOURUNIT, IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_SAFETYCAGE, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5319,13 +5319,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5347,13 +5347,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5362,13 +5362,13 @@ public: class IFC_PARSE_API IfcBuiltSystemTypeEnum : public express::DeclaredType { public: IfcBuiltSystemTypeEnum() {} - explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuiltSystemType_EROSIONPREVENTION, IfcBuiltSystemType_FENESTRATION, IfcBuiltSystemType_FOUNDATION, IfcBuiltSystemType_LOADBEARING, IfcBuiltSystemType_MOORING, IfcBuiltSystemType_OUTERSHELL, IfcBuiltSystemType_PRESTRESSING, IfcBuiltSystemType_RAILWAYLINE, IfcBuiltSystemType_RAILWAYTRACK, IfcBuiltSystemType_REINFORCING, IfcBuiltSystemType_SHADING, IfcBuiltSystemType_TRACKCIRCUIT, IfcBuiltSystemType_TRANSPORT, IfcBuiltSystemType_USERDEFINED, IfcBuiltSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5383,13 +5383,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5407,13 +5407,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CONNECTOR, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_JUNCTION, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_TRANSITION, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5431,13 +5431,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLEBRACKET, IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CATENARYWIRE, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_DROPPER, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5456,13 +5456,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_FANOUT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5482,13 +5482,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CONTACTWIRESEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_FIBERSEGMENT, IfcCableSegmentType_FIBERTUBE, IfcCableSegmentType_OPTICALCABLESEGMENT, IfcCableSegmentType_STITCHWIRE, IfcCableSegmentType_WIREPAIRSEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5497,13 +5497,13 @@ public: class IFC_PARSE_API IfcCaissonFoundationTypeEnum : public express::DeclaredType { public: IfcCaissonFoundationTypeEnum() {} - explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCaissonFoundationType_CAISSON, IfcCaissonFoundationType_WELL, IfcCaissonFoundationType_USERDEFINED, IfcCaissonFoundationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5522,13 +5522,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_MODIFIED, IfcChangeAction_NOCHANGE, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5546,13 +5546,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_WATERCOOLED, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5570,13 +5570,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5606,13 +5606,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5634,13 +5634,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PIERSTEM, IfcColumnType_PIERSTEM_SEGMENT, IfcColumnType_PILASTER, IfcColumnType_STANDCOLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5664,13 +5664,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_AUTOMATON, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_INTELLIGENTPERIPHERAL, IfcCommunicationsApplianceType_IPNETWORKEQUIPMENT, IfcCommunicationsApplianceType_LINESIDEELECTRONICUNIT, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_OPTICALLINETERMINAL, IfcCommunicationsApplianceType_OPTICALNETWORKUNIT, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_RADIOBLOCKCENTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_TELECOMMAND, IfcCommunicationsApplianceType_TELEPHONYEXCHANGE, IfcCommunicationsApplianceType_TRANSITIONCOMPONENT, IfcCommunicationsApplianceType_TRANSPONDER, IfcCommunicationsApplianceType_TRANSPORTEQUIPMENT, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5686,13 +5686,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5722,13 +5722,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_BOOSTER, IfcCompressorType_DYNAMIC, IfcCompressorType_HERMETIC, IfcCompressorType_OPENTYPE, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARY, IfcCompressorType_ROTARYVANE, IfcCompressorType_SCROLL, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_SINGLESCREW, IfcCompressorType_SINGLESTAGE, IfcCompressorType_TROCHOIDAL, IfcCompressorType_TWINSCREW, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5749,13 +5749,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5783,13 +5783,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATEND, IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5814,13 +5814,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_ADVISORY, IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5842,13 +5842,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5871,13 +5871,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_USERDEFINED, IfcConstructionMaterialResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5893,13 +5893,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5921,13 +5921,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_MULTIPOSITION, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5936,13 +5936,13 @@ public: class IFC_PARSE_API IfcConveyorSegmentTypeEnum : public express::DeclaredType { public: IfcConveyorSegmentTypeEnum() {} - explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConveyorSegmentType_BELTCONVEYOR, IfcConveyorSegmentType_BUCKETCONVEYOR, IfcConveyorSegmentType_CHUTECONVEYOR, IfcConveyorSegmentType_SCREWCONVEYOR, IfcConveyorSegmentType_USERDEFINED, IfcConveyorSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5969,13 +5969,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5995,13 +5995,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6015,13 +6015,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6042,13 +6042,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_TENDER, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6057,13 +6057,13 @@ public: class IFC_PARSE_API IfcCourseTypeEnum : public express::DeclaredType { public: IfcCourseTypeEnum() {} - explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCourseType_ARMOUR, IfcCourseType_BALLASTBED, IfcCourseType_CORE, IfcCourseType_FILTER, IfcCourseType_PAVEMENT, IfcCourseType_PROTECTION, IfcCourseType_USERDEFINED, IfcCourseType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6114,13 +6114,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_CLADDING, IfcCoveringType_COPING, IfcCoveringType_FLOORING, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_MOLDING, IfcCoveringType_ROOFING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_SLEEVING, IfcCoveringType_TOPPING, IfcCoveringType_WRAPPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6136,13 +6136,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6159,13 +6159,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6190,13 +6190,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6221,13 +6221,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6243,13 +6243,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6314,13 +6314,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6336,13 +6336,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_NEGATIVE, IfcDirectionSense_POSITIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6359,13 +6359,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BIRDPROTECTION, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_CABLEARRANGER, IfcDiscreteAccessoryType_ELASTIC_CUSHION, IfcDiscreteAccessoryType_EXPANSION_JOINT_DEVICE, IfcDiscreteAccessoryType_FILLER, IfcDiscreteAccessoryType_FLASHING, IfcDiscreteAccessoryType_INSULATOR, IfcDiscreteAccessoryType_LOCK, IfcDiscreteAccessoryType_PANEL_STRENGTHENING, IfcDiscreteAccessoryType_POINTMACHINEMOUNTINGDEVICE, IfcDiscreteAccessoryType_POINT_MACHINE_LOCKING_DEVICE, IfcDiscreteAccessoryType_RAILBRACE, IfcDiscreteAccessoryType_RAILPAD, IfcDiscreteAccessoryType_RAIL_LUBRICATION, IfcDiscreteAccessoryType_RAIL_MECHANICAL_EQUIPMENT, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_SLIDINGCHAIR, IfcDiscreteAccessoryType_SOUNDABSORPTION, IfcDiscreteAccessoryType_TENSIONINGEQUIPMENT, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6374,13 +6374,13 @@ public: class IFC_PARSE_API IfcDistributionBoardTypeEnum : public express::DeclaredType { public: IfcDistributionBoardTypeEnum() {} - explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionBoardType_CONSUMERUNIT, IfcDistributionBoardType_DISPATCHINGBOARD, IfcDistributionBoardType_DISTRIBUTIONBOARD, IfcDistributionBoardType_DISTRIBUTIONFRAME, IfcDistributionBoardType_MOTORCONTROLCENTRE, IfcDistributionBoardType_SWITCHBOARD, IfcDistributionBoardType_USERDEFINED, IfcDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6404,13 +6404,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6419,13 +6419,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_WIRELESS, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6480,13 +6480,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CATENARY_SYSTEM, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FIXEDTRANSMISSIONNETWORK, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MOBILENETWORK, IfcDistributionSystem_MONITORINGSYSTEM, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_OPERATIONALTELEPHONYSYSTEM, IfcDistributionSystem_OVERHEAD_CONTACTLINE_SYSTEM, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_RETURN_CIRCUIT, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6506,13 +6506,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6523,13 +6523,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6570,13 +6570,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6591,13 +6591,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6621,13 +6621,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_BOOM_BARRIER, IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_TURNSTILE, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6815,13 +6815,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_FOLDING, IfcDoorTypeOperation_DOUBLE_DOOR_LIFTING_VERTICAL, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SLIDING, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_LIFTING_HORIZONTAL, IfcDoorTypeOperation_LIFTING_VERTICAL_LEFT, IfcDoorTypeOperation_LIFTING_VERTICAL_RIGHT, IfcDoorTypeOperation_REVOLVING, IfcDoorTypeOperation_REVOLVING_VERTICAL, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6862,13 +6862,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6891,13 +6891,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6915,13 +6915,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6930,13 +6930,13 @@ public: class IFC_PARSE_API IfcEarthworksCutTypeEnum : public express::DeclaredType { public: IfcEarthworksCutTypeEnum() {} - explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksCutType_BASE_EXCAVATION, IfcEarthworksCutType_CUT, IfcEarthworksCutType_DREDGING, IfcEarthworksCutType_EXCAVATION, IfcEarthworksCutType_OVEREXCAVATION, IfcEarthworksCutType_PAVEMENTMILLING, IfcEarthworksCutType_STEPEXCAVATION, IfcEarthworksCutType_TOPSOILREMOVAL, IfcEarthworksCutType_TRENCH, IfcEarthworksCutType_USERDEFINED, IfcEarthworksCutType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6945,13 +6945,13 @@ public: class IFC_PARSE_API IfcEarthworksFillTypeEnum : public express::DeclaredType { public: IfcEarthworksFillTypeEnum() {} - explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksFillType_BACKFILL, IfcEarthworksFillType_COUNTERWEIGHT, IfcEarthworksFillType_EMBANKMENT, IfcEarthworksFillType_SLOPEFILL, IfcEarthworksFillType_SUBGRADE, IfcEarthworksFillType_SUBGRADEBED, IfcEarthworksFillType_TRANSITIONSECTION, IfcEarthworksFillType_USERDEFINED, IfcEarthworksFillType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6988,13 +6988,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7012,13 +7012,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7036,13 +7036,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITOR, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_COMPENSATOR, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTOR, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_RECHARGER, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7051,13 +7051,13 @@ public: class IFC_PARSE_API IfcElectricFlowTreatmentDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowTreatmentDeviceTypeEnum() {} - explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowTreatmentDeviceType_ELECTRONICFILTER, IfcElectricFlowTreatmentDeviceType_USERDEFINED, IfcElectricFlowTreatmentDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7075,13 +7075,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7100,13 +7100,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7123,13 +7123,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7156,13 +7156,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ABUTMENT, IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_CROSS_BRACING, IfcElementAssemblyType_DECK, IfcElementAssemblyType_DILATATIONPANEL, IfcElementAssemblyType_ENTRANCEWORKS, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_GRID, IfcElementAssemblyType_MAST, IfcElementAssemblyType_PIER, IfcElementAssemblyType_PYLON, IfcElementAssemblyType_RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SHELTER, IfcElementAssemblyType_SIGNALASSEMBLY, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_SUMPBUSTER, IfcElementAssemblyType_SUPPORTINGASSEMBLY, IfcElementAssemblyType_SUSPENSIONASSEMBLY, IfcElementAssemblyType_TRACKPANEL, IfcElementAssemblyType_TRACTION_SWITCHING_ASSEMBLY, IfcElementAssemblyType_TRAFFIC_CALMING_DEVICE, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_TURNOUTPANEL, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7182,13 +7182,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7204,13 +7204,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7234,13 +7234,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7261,13 +7261,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7287,13 +7287,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7312,13 +7312,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_STARTEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7342,13 +7342,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7357,13 +7357,13 @@ public: class IFC_PARSE_API IfcFacilityPartCommonTypeEnum : public express::DeclaredType { public: IfcFacilityPartCommonTypeEnum() {} - explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityPartCommonType_ABOVEGROUND, IfcFacilityPartCommonType_BELOWGROUND, IfcFacilityPartCommonType_JUNCTION, IfcFacilityPartCommonType_LEVELCROSSING, IfcFacilityPartCommonType_SEGMENT, IfcFacilityPartCommonType_SUBSTRUCTURE, IfcFacilityPartCommonType_SUPERSTRUCTURE, IfcFacilityPartCommonType_TERMINAL, IfcFacilityPartCommonType_USERDEFINED, IfcFacilityPartCommonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7372,13 +7372,13 @@ public: class IFC_PARSE_API IfcFacilityUsageEnum : public express::DeclaredType { public: IfcFacilityUsageEnum() {} - explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityUsage_LATERAL, IfcFacilityUsage_LONGITUDINAL, IfcFacilityUsage_REGION, IfcFacilityUsage_VERTICAL, IfcFacilityUsage_USERDEFINED, IfcFacilityUsage_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7400,13 +7400,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7423,13 +7423,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7450,13 +7450,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7477,13 +7477,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_FIREMONITOR, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7499,13 +7499,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SINK, IfcFlowDirection_SOURCE, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7529,13 +7529,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_COMBINED, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_VOLTMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7558,13 +7558,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7586,13 +7586,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7613,13 +7613,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_BED, IfcFurnitureType_CHAIR, IfcFurnitureType_DESK, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_TABLE, IfcFurnitureType_TECHNICALCABINET, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7628,13 +7628,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_SOIL_BORING_POINT, IfcGeographicElementType_TERRAIN, IfcGeographicElementType_VEGETATION, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7683,13 +7683,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7698,13 +7698,13 @@ public: class IFC_PARSE_API IfcGeotechnicalStratumTypeEnum : public express::DeclaredType { public: IfcGeotechnicalStratumTypeEnum() {} - explicit IfcGeotechnicalStratumTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeotechnicalStratumTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeotechnicalStratumType_SOLID, IfcGeotechnicalStratumType_VOID, IfcGeotechnicalStratumType_WATER, IfcGeotechnicalStratumType_USERDEFINED, IfcGeotechnicalStratumType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7718,13 +7718,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7733,13 +7733,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_IRREGULAR, IfcGridType_RADIAL, IfcGridType_RECTANGULAR, IfcGridType_TRIANGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7756,13 +7756,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_TURNOUTHEATING, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7790,13 +7790,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7805,13 +7805,13 @@ public: class IFC_PARSE_API IfcImpactProtectionDeviceTypeEnum : public express::DeclaredType { public: IfcImpactProtectionDeviceTypeEnum() {} - explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcImpactProtectionDeviceType_BUMPER, IfcImpactProtectionDeviceType_CRASHCUSHION, IfcImpactProtectionDeviceType_DAMPINGSYSTEM, IfcImpactProtectionDeviceType_FENDER, IfcImpactProtectionDeviceType_USERDEFINED, IfcImpactProtectionDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7829,13 +7829,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7898,13 +7898,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7921,13 +7921,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7942,13 +7942,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7957,13 +7957,13 @@ public: class IFC_PARSE_API IfcKerbTypeEnum : public express::DeclaredType { public: IfcKerbTypeEnum() {} - explicit IfcKerbTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKerbTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKerbType_USERDEFINED, IfcKerbType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7972,13 +7972,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_UNIFORM_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8010,13 +8010,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8041,13 +8041,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8064,13 +8064,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8092,13 +8092,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8123,13 +8123,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8148,13 +8148,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8163,13 +8163,13 @@ public: class IFC_PARSE_API IfcLiquidTerminalTypeEnum : public express::DeclaredType { public: IfcLiquidTerminalTypeEnum() {} - explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLiquidTerminalType_HOSEREEL, IfcLiquidTerminalType_LOADINGARM, IfcLiquidTerminalType_USERDEFINED, IfcLiquidTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8198,13 +8198,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8456,13 +8456,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8471,13 +8471,13 @@ public: class IFC_PARSE_API IfcMarineFacilityTypeEnum : public express::DeclaredType { public: IfcMarineFacilityTypeEnum() {} - explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarineFacilityType_BARRIERBEACH, IfcMarineFacilityType_BREAKWATER, IfcMarineFacilityType_CANAL, IfcMarineFacilityType_DRYDOCK, IfcMarineFacilityType_FLOATINGDOCK, IfcMarineFacilityType_HYDROLIFT, IfcMarineFacilityType_JETTY, IfcMarineFacilityType_LAUNCHRECOVERY, IfcMarineFacilityType_MARINEDEFENCE, IfcMarineFacilityType_NAVIGATIONALCHANNEL, IfcMarineFacilityType_PORT, IfcMarineFacilityType_QUAY, IfcMarineFacilityType_REVETMENT, IfcMarineFacilityType_SHIPLIFT, IfcMarineFacilityType_SHIPLOCK, IfcMarineFacilityType_SHIPYARD, IfcMarineFacilityType_SLIPWAY, IfcMarineFacilityType_WATERWAY, IfcMarineFacilityType_WATERWAYSHIPLIFT, IfcMarineFacilityType_USERDEFINED, IfcMarineFacilityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8486,13 +8486,13 @@ public: class IFC_PARSE_API IfcMarinePartTypeEnum : public express::DeclaredType { public: IfcMarinePartTypeEnum() {} - explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarinePartType_ABOVEWATERLINE, IfcMarinePartType_ANCHORAGE, IfcMarinePartType_APPROACHCHANNEL, IfcMarinePartType_BELOWWATERLINE, IfcMarinePartType_BERTHINGSTRUCTURE, IfcMarinePartType_CHAMBER, IfcMarinePartType_CILL_LEVEL, IfcMarinePartType_COPELEVEL, IfcMarinePartType_CORE, IfcMarinePartType_CREST, IfcMarinePartType_GATEHEAD, IfcMarinePartType_GUDINGSTRUCTURE, IfcMarinePartType_HIGHWATERLINE, IfcMarinePartType_LANDFIELD, IfcMarinePartType_LEEWARDSIDE, IfcMarinePartType_LOWWATERLINE, IfcMarinePartType_MANUFACTURING, IfcMarinePartType_NAVIGATIONALAREA, IfcMarinePartType_PROTECTION, IfcMarinePartType_SHIPTRANSFER, IfcMarinePartType_STORAGEAREA, IfcMarinePartType_VEHICLESERVICING, IfcMarinePartType_WATERFIELD, IfcMarinePartType_WEATHERSIDE, IfcMarinePartType_USERDEFINED, IfcMarinePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8517,13 +8517,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_CHAIN, IfcMechanicalFastenerType_COUPLER, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RAILFASTENING, IfcMechanicalFastenerType_RAILJOINT, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_ROPE, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8544,13 +8544,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8601,13 +8601,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_ARCH_SEGMENT, IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STAY_CABLE, IfcMemberType_STIFFENING_RIB, IfcMemberType_STRINGER, IfcMemberType_STRUCTURALCABLE, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_SUSPENDER, IfcMemberType_SUSPENSION_CABLE, IfcMemberType_TIEBAR, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8616,13 +8616,13 @@ public: class IFC_PARSE_API IfcMobileTelecommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcMobileTelecommunicationsApplianceTypeEnum() {} - explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMobileTelecommunicationsApplianceType_ACCESSPOINT, IfcMobileTelecommunicationsApplianceType_BASEBANDUNIT, IfcMobileTelecommunicationsApplianceType_BASETRANSCEIVERSTATION, IfcMobileTelecommunicationsApplianceType_E_UTRAN_NODE_B, IfcMobileTelecommunicationsApplianceType_GATEWAY_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_MASTERUNIT, IfcMobileTelecommunicationsApplianceType_MOBILESWITCHINGCENTER, IfcMobileTelecommunicationsApplianceType_MSCSERVER, IfcMobileTelecommunicationsApplianceType_PACKETCONTROLUNIT, IfcMobileTelecommunicationsApplianceType_REMOTERADIOUNIT, IfcMobileTelecommunicationsApplianceType_REMOTEUNIT, IfcMobileTelecommunicationsApplianceType_SERVICE_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_SUBSCRIBERSERVER, IfcMobileTelecommunicationsApplianceType_USERDEFINED, IfcMobileTelecommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8631,13 +8631,13 @@ public: class IFC_PARSE_API IfcMooringDeviceTypeEnum : public express::DeclaredType { public: IfcMooringDeviceTypeEnum() {} - explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMooringDeviceType_BOLLARD, IfcMooringDeviceType_LINETENSIONER, IfcMooringDeviceType_MAGNETICDEVICE, IfcMooringDeviceType_MOORINGHOOKS, IfcMooringDeviceType_VACUUMDEVICE, IfcMooringDeviceType_USERDEFINED, IfcMooringDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8654,13 +8654,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8669,13 +8669,13 @@ public: class IFC_PARSE_API IfcNavigationElementTypeEnum : public express::DeclaredType { public: IfcNavigationElementTypeEnum() {} - explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNavigationElementType_BEACON, IfcNavigationElementType_BUOY, IfcNavigationElementType_USERDEFINED, IfcNavigationElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8712,13 +8712,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8739,13 +8739,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8773,13 +8773,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8800,13 +8800,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8815,13 +8815,13 @@ public: class IFC_PARSE_API IfcPavementTypeEnum : public express::DeclaredType { public: IfcPavementTypeEnum() {} - explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPavementType_FLEXIBLE, IfcPavementType_RIGID, IfcPavementType_USERDEFINED, IfcPavementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8835,13 +8835,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8871,13 +8871,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8894,13 +8894,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8931,13 +8931,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8967,13 +8967,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8994,13 +8994,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_COHESION, IfcPileType_DRIVEN, IfcPileType_FRICTION, IfcPileType_JETGROUTING, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9039,13 +9039,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9068,13 +9068,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9100,13 +9100,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_BASE_PLATE, IfcPlateType_COVER_PLATE, IfcPlateType_CURTAIN_PANEL, IfcPlateType_FLANGE_PLATE, IfcPlateType_GUSSET_PLATE, IfcPlateType_SHEET, IfcPlateType_SPLICE_PLATE, IfcPlateType_STIFFENER_PLATE, IfcPlateType_WEB_PLATE, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9115,13 +9115,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9143,13 +9143,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9165,13 +9165,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_AREA, IfcProfileType_CURVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9190,13 +9190,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9210,13 +9210,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9236,13 +9236,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_BLISTER, IfcProjectionElementType_DEVIATOR, IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9288,13 +9288,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_MATERIALDRIVEN, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_PSET_PROFILEDRIVEN, IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9309,13 +9309,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9338,13 +9338,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_ANTI_ARCING_DEVICE, IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_SPARKGAP, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_VOLTAGELIMITER, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9380,13 +9380,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9395,13 +9395,13 @@ public: class IFC_PARSE_API IfcRailTypeEnum : public express::DeclaredType { public: IfcRailTypeEnum() {} - explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailType_BLADE, IfcRailType_CHECKRAIL, IfcRailType_GUARDRAIL, IfcRailType_RACKRAIL, IfcRailType_RAIL, IfcRailType_STOCKRAIL, IfcRailType_USERDEFINED, IfcRailType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9429,13 +9429,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_BALUSTRADE, IfcRailingType_FENCE, IfcRailingType_GUARDRAIL, IfcRailingType_HANDRAIL, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9444,13 +9444,13 @@ public: class IFC_PARSE_API IfcRailwayPartTypeEnum : public express::DeclaredType { public: IfcRailwayPartTypeEnum() {} - explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayPartType_DILATATIONSUPERSTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTUREPART, IfcRailwayPartType_PLAINTRACKSUPERSTRUCTURE, IfcRailwayPartType_SUPERSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTUREPART, IfcRailwayPartType_TURNOUTSUPERSTRUCTURE, IfcRailwayPartType_USERDEFINED, IfcRailwayPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9459,13 +9459,13 @@ public: class IFC_PARSE_API IfcRailwayTypeEnum : public express::DeclaredType { public: IfcRailwayTypeEnum() {} - explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayType_USERDEFINED, IfcRailwayType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9484,13 +9484,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_SPIRAL, IfcRampFlightType_STRAIGHT, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9546,13 +9546,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_HALF_TURN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9581,13 +9581,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_DAILY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9596,13 +9596,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_BOUNDARY, IfcReferentType_INTERSECTION, IfcReferentType_KILOPOINT, IfcReferentType_LANDMARK, IfcReferentType_MILEPOINT, IfcReferentType_POSITION, IfcReferentType_REFERENCEMARKER, IfcReferentType_STATION, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9626,13 +9626,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PHYSICAL, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9641,13 +9641,13 @@ public: class IFC_PARSE_API IfcReinforcedSoilTypeEnum : public express::DeclaredType { public: IfcReinforcedSoilTypeEnum() {} - explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcedSoilType_DYNAMICALLYCOMPACTED, IfcReinforcedSoilType_GROUTED, IfcReinforcedSoilType_REPLACED, IfcReinforcedSoilType_ROLLERCOMPACTED, IfcReinforcedSoilType_SURCHARGEPRELOADED, IfcReinforcedSoilType_VERTICALLYDRAINED, IfcReinforcedSoilType_USERDEFINED, IfcReinforcedSoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9674,13 +9674,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9697,13 +9697,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9712,13 +9712,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_SPACEBAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9727,13 +9727,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9742,13 +9742,13 @@ public: class IFC_PARSE_API IfcRoadPartTypeEnum : public express::DeclaredType { public: IfcRoadPartTypeEnum() {} - explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadPartType_BICYCLECROSSING, IfcRoadPartType_BUS_STOP, IfcRoadPartType_CARRIAGEWAY, IfcRoadPartType_CENTRALISLAND, IfcRoadPartType_CENTRALRESERVE, IfcRoadPartType_HARDSHOULDER, IfcRoadPartType_INTERSECTION, IfcRoadPartType_LAYBY, IfcRoadPartType_PARKINGBAY, IfcRoadPartType_PASSINGBAY, IfcRoadPartType_PEDESTRIAN_CROSSING, IfcRoadPartType_RAILWAYCROSSING, IfcRoadPartType_REFUGEISLAND, IfcRoadPartType_ROADSEGMENT, IfcRoadPartType_ROADSIDE, IfcRoadPartType_ROADSIDEPART, IfcRoadPartType_ROADWAYPLATEAU, IfcRoadPartType_ROUNDABOUT, IfcRoadPartType_SHOULDER, IfcRoadPartType_SIDEWALK, IfcRoadPartType_SOFTSHOULDER, IfcRoadPartType_TOLLPLAZA, IfcRoadPartType_TRAFFICISLAND, IfcRoadPartType_TRAFFICLANE, IfcRoadPartType_USERDEFINED, IfcRoadPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9757,13 +9757,13 @@ public: class IFC_PARSE_API IfcRoadTypeEnum : public express::DeclaredType { public: IfcRoadTypeEnum() {} - explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadType_USERDEFINED, IfcRoadType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9800,13 +9800,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_ARCHITECT, IfcRole_BUILDINGOPERATOR, IfcRole_BUILDINGOWNER, IfcRole_CIVILENGINEER, IfcRole_CLIENT, IfcRole_COMMISSIONINGENGINEER, IfcRole_CONSTRUCTIONMANAGER, IfcRole_CONSULTANT, IfcRole_CONTRACTOR, IfcRole_COSTENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_ENGINEER, IfcRole_FACILITIESMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_MANUFACTURER, IfcRole_MECHANICALENGINEER, IfcRole_OWNER, IfcRole_PROJECTMANAGER, IfcRole_RESELLER, IfcRole_STRUCTURALENGINEER, IfcRole_SUBCONTRACTOR, IfcRole_SUPPLIER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9880,13 +9880,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_BARREL_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FLAT_ROOF, IfcRoofType_FREEFORM, IfcRoofType_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9921,13 +9921,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_ATTO, IfcSIPrefix_CENTI, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_EXA, IfcSIPrefix_FEMTO, IfcSIPrefix_GIGA, IfcSIPrefix_HECTO, IfcSIPrefix_KILO, IfcSIPrefix_MEGA, IfcSIPrefix_MICRO, IfcSIPrefix_MILLI, IfcSIPrefix_NANO, IfcSIPrefix_PETA, IfcSIPrefix_PICO, IfcSIPrefix_TERA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9974,13 +9974,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10007,13 +10007,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10031,13 +10031,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_TAPERED, IfcSectionType_UNIFORM} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10073,13 +10073,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_COSENSOR, IfcSensorType_EARTHQUAKESENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FOREIGNOBJECTDETECTIONSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_OBSTACLESENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_RAINSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SNOWDEPTHSENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_TRAINSENSOR, IfcSensorType_TURNOUTCLOSURESENSOR, IfcSensorType_WHEELSENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10092,13 +10092,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_FINISH_FINISH, IfcSequence_FINISH_START, IfcSequence_START_FINISH, IfcSequence_START_START, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10116,13 +10116,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_AWNING, IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10131,13 +10131,13 @@ public: class IFC_PARSE_API IfcSignTypeEnum : public express::DeclaredType { public: IfcSignTypeEnum() {} - explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignType_MARKER, IfcSignType_MIRROR, IfcSignType_PICTORAL, IfcSignType_USERDEFINED, IfcSignType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10146,13 +10146,13 @@ public: class IFC_PARSE_API IfcSignalTypeEnum : public express::DeclaredType { public: IfcSignalTypeEnum() {} - explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignalType_AUDIO, IfcSignalType_MIXED, IfcSignalType_VISUAL, IfcSignalType_USERDEFINED, IfcSignalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10178,13 +10178,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_NUMBER, IfcSimplePropertyTemplateType_Q_TIME, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_WEIGHT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10224,13 +10224,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_APPROACH_SLAB, IfcSlabType_BASESLAB, IfcSlabType_FLOOR, IfcSlabType_LANDING, IfcSlabType_PAVING, IfcSlabType_ROOF, IfcSlabType_SIDEWALK, IfcSlabType_TRACKSLAB, IfcSlabType_WEARING, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10247,13 +10247,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10273,13 +10273,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10322,13 +10322,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_BERTH, IfcSpaceType_EXTERNAL, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_PARKING, IfcSpaceType_SPACE, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10361,13 +10361,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_INTERFERENCE, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_RESERVATION, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10384,13 +10384,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10413,13 +10413,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_SPIRAL, IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10520,13 +10520,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_CURVED_RUN_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_LADDER, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10547,13 +10547,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_LOCKED, IfcState_READONLY, IfcState_READONLYLOCKED, IfcState_READWRITE, IfcState_READWRITELOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10576,13 +10576,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10608,13 +10608,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10634,13 +10634,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10662,13 +10662,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10684,13 +10684,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10709,13 +10709,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_DEFECT, IfcSurfaceFeatureType_HATCHMARKING, IfcSurfaceFeatureType_LINEMARKING, IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_NONSKIDSURFACING, IfcSurfaceFeatureType_PAVEMENTSURFACEMARKING, IfcSurfaceFeatureType_RUMBLESTRIP, IfcSurfaceFeatureType_SYMBOLMARKING, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TRANSVERSERUMBLESTRIP, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10734,13 +10734,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_BOTH, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_POSITIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10764,13 +10764,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_RELAY, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_START_AND_STOP_EQUIPMENT, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10786,13 +10786,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_SUBRACK, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10823,13 +10823,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_OILRETENTIONTRAY, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10844,13 +10844,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10876,13 +10876,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ADJUSTMENT, IfcTaskType_ATTENDANCE, IfcTaskType_CALIBRATION, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_EMERGENCY, IfcTaskType_INSPECTION, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_SAFETY, IfcTaskType_SHUTDOWN, IfcTaskType_STARTUP, IfcTaskType_TESTING, IfcTaskType_TROUBLESHOOTING, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10891,13 +10891,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10906,13 +10906,13 @@ public: class IFC_PARSE_API IfcTendonConduitTypeEnum : public express::DeclaredType { public: IfcTendonConduitTypeEnum() {} - explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonConduitType_COUPLER, IfcTendonConduitType_DIABOLO, IfcTendonConduitType_DUCT, IfcTendonConduitType_GROUTING_DUCT, IfcTendonConduitType_TRUMPET, IfcTendonConduitType_USERDEFINED, IfcTendonConduitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10921,13 +10921,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10942,13 +10942,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_DOWN, IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10967,13 +10967,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10982,13 +10982,13 @@ public: class IFC_PARSE_API IfcTrackElementTypeEnum : public express::DeclaredType { public: IfcTrackElementTypeEnum() {} - explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrackElementType_BLOCKINGDEVICE, IfcTrackElementType_DERAILER, IfcTrackElementType_FROG, IfcTrackElementType_HALF_SET_OF_BLADES, IfcTrackElementType_SLEEPER, IfcTrackElementType_SPEEDREGULATOR, IfcTrackElementType_TRACKENDOFALIGNMENT, IfcTrackElementType_VEHICLESTOP, IfcTrackElementType_USERDEFINED, IfcTrackElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11007,13 +11007,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CHOPPER, IfcTransformerType_COMBINED, IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11037,13 +11037,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE, IfcTransitionCode_DISCONTINUOUS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11075,13 +11075,13 @@ public: class IFC_PARSE_API IfcTransportElementTypeEnum : public express::DeclaredType { public: IfcTransportElementTypeEnum() {} - explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementType_CRANEWAY, IfcTransportElementType_ELEVATOR, IfcTransportElementType_ESCALATOR, IfcTransportElementType_HAULINGGEAR, IfcTransportElementType_LIFTINGGEAR, IfcTransportElementType_MOVINGWALKWAY, IfcTransportElementType_USERDEFINED, IfcTransportElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11100,13 +11100,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11122,13 +11122,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11172,13 +11172,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11202,13 +11202,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_BASESTATIONCONTROLLER, IfcUnitaryControlElementType_COMBINED, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11228,13 +11228,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11285,13 +11285,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_DRAWOFFCOCK, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11300,13 +11300,13 @@ public: class IFC_PARSE_API IfcVehicleTypeEnum : public express::DeclaredType { public: IfcVehicleTypeEnum() {} - explicit IfcVehicleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVehicleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVehicleType_CARGO, IfcVehicleType_ROLLINGSTOCK, IfcVehicleType_VEHICLE, IfcVehicleType_VEHICLEAIR, IfcVehicleType_VEHICLEMARINE, IfcVehicleType_VEHICLETRACKED, IfcVehicleType_VEHICLEWHEELED, IfcVehicleType_USERDEFINED, IfcVehicleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11315,13 +11315,13 @@ public: class IFC_PARSE_API IfcVibrationDamperTypeEnum : public express::DeclaredType { public: IfcVibrationDamperTypeEnum() {} - explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationDamperType_AXIAL_YIELD, IfcVibrationDamperType_BENDING_YIELD, IfcVibrationDamperType_FRICTION, IfcVibrationDamperType_RUBBER, IfcVibrationDamperType_SHEAR_YIELD, IfcVibrationDamperType_VISCOUS, IfcVibrationDamperType_USERDEFINED, IfcVibrationDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11338,13 +11338,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_BASE, IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11353,13 +11353,13 @@ public: class IFC_PARSE_API IfcVirtualElementTypeEnum : public express::DeclaredType { public: IfcVirtualElementTypeEnum() {} - explicit IfcVirtualElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVirtualElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVirtualElementType_BOUNDARY, IfcVirtualElementType_CLEARANCE, IfcVirtualElementType_PROVISIONFORVOID, IfcVirtualElementType_USERDEFINED, IfcVirtualElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11381,13 +11381,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11432,13 +11432,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_ELEMENTEDWALL, IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_POLYGONAL, IfcWallType_RETAININGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_WAVEWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11460,13 +11460,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11558,13 +11558,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11636,13 +11636,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11666,13 +11666,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_LIGHTDOME, IfcWindowType_SKYLIGHT, IfcWindowType_WINDOW, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11751,13 +11751,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11776,13 +11776,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11801,13 +11801,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11826,13 +11826,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11845,9 +11845,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11859,9 +11859,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11876,9 +11876,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11890,9 +11890,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11900,9 +11900,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -11910,9 +11910,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11926,9 +11926,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11936,9 +11936,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -11950,9 +11950,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -12002,9 +12002,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12022,9 +12022,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -12079,9 +12079,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -12094,9 +12094,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12109,9 +12109,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12125,9 +12125,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12140,9 +12140,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12167,9 +12167,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12188,9 +12188,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12231,9 +12231,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12246,9 +12246,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12262,9 +12262,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12276,9 +12276,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12290,9 +12290,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12305,9 +12305,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12319,9 +12319,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12333,9 +12333,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12347,9 +12347,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12363,9 +12363,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12377,9 +12377,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12391,9 +12391,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12405,9 +12405,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12428,9 +12428,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12449,9 +12449,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12481,9 +12481,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12495,9 +12495,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12509,9 +12509,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12531,9 +12531,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12545,9 +12545,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12557,9 +12557,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12580,9 +12580,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12594,9 +12594,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12608,9 +12608,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12624,9 +12624,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12640,9 +12640,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12652,9 +12652,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12666,9 +12666,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12680,9 +12680,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12703,9 +12703,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12722,9 +12722,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12738,9 +12738,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12748,9 +12748,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -12762,9 +12762,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12776,9 +12776,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12790,9 +12790,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12804,9 +12804,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12818,9 +12818,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -12832,9 +12832,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12848,9 +12848,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12864,9 +12864,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12878,9 +12878,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12892,9 +12892,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12906,9 +12906,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12920,9 +12920,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12936,9 +12936,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12952,9 +12952,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12966,9 +12966,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12980,9 +12980,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12994,9 +12994,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13012,9 +13012,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13026,9 +13026,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13040,9 +13040,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13054,9 +13054,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13067,9 +13067,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13132,9 +13132,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13146,9 +13146,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13161,9 +13161,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13173,9 +13173,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13189,9 +13189,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13203,9 +13203,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13223,9 +13223,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13233,9 +13233,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13248,9 +13248,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13263,9 +13263,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13277,9 +13277,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13295,9 +13295,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13309,9 +13309,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13319,9 +13319,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition >() const; }; @@ -13333,9 +13333,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13352,9 +13352,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13368,9 +13368,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13382,9 +13382,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13397,9 +13397,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13411,9 +13411,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13425,9 +13425,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13439,9 +13439,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13453,9 +13453,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13469,9 +13469,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13479,9 +13479,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13493,9 +13493,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13503,9 +13503,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13517,9 +13517,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13531,9 +13531,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13547,9 +13547,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13565,9 +13565,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13575,9 +13575,9 @@ public: class IFC_PARSE_API IfcStrippedOptional : public express::DeclaredType { public: IfcStrippedOptional() {} - explicit IfcStrippedOptional (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStrippedOptional (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -13589,9 +13589,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13603,9 +13603,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13623,9 +13623,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13642,9 +13642,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13664,9 +13664,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13692,9 +13692,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13711,9 +13711,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13725,9 +13725,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13739,9 +13739,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13752,9 +13752,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13765,9 +13765,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13779,9 +13779,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13795,9 +13795,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13812,9 +13812,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13828,9 +13828,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13841,9 +13841,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13855,9 +13855,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13871,9 +13871,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13885,9 +13885,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13901,9 +13901,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13915,9 +13915,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13929,9 +13929,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13943,9 +13943,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13953,9 +13953,9 @@ public: class IFC_PARSE_API IfcWellKnownTextLiteral : public express::DeclaredType { public: IfcWellKnownTextLiteral() {} - explicit IfcWellKnownTextLiteral (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWellKnownTextLiteral (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13987,9 +13987,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14001,9 +14001,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14016,9 +14016,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14037,7 +14037,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -14054,7 +14054,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -14065,7 +14065,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > Purpose() const; @@ -14082,28 +14082,28 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; class IFC_PARSE_API IfcAlignmentParameterSegment : public express::Entity { public: IfcAlignmentParameterSegment() {} - explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > StartTag() const; void setStartTag(const std::optional< std::string >& v); std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag); }; class IFC_PARSE_API IfcAlignmentVerticalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentVerticalSegment() {} - explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -14120,7 +14120,7 @@ public: ::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_add1::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -14129,7 +14129,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x3_add1::IfcOrganization ApplicationDeveloper() const; @@ -14144,7 +14144,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -14164,7 +14164,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -14202,7 +14202,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -14213,7 +14213,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -14254,7 +14254,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_add1::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_add1::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -14275,13 +14275,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14297,7 +14297,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_add1::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14318,7 +14318,7 @@ public: ::Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_add1::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_add1::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_add1::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14334,7 +14334,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14346,7 +14346,7 @@ public: ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_add1::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14362,7 +14362,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_add1::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14383,7 +14383,7 @@ public: ::Ifc4x3_add1::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x3_add1::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14398,13 +14398,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x3_add1::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x3_add1::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_add1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_add1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_add1::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14424,10 +14424,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14449,7 +14449,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_add1::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14458,7 +14458,7 @@ public: ::Ifc4x3_add1::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x3_add1::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_add1::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14472,7 +14472,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_add1::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14481,7 +14481,7 @@ public: ::Ifc4x3_add1::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x3_add1::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_add1::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14493,7 +14493,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x3_add1::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14502,7 +14502,7 @@ public: ::Ifc4x3_add1::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x3_add1::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_add1::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14520,7 +14520,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14549,7 +14549,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14601,7 +14601,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14610,7 +14610,7 @@ public: ::Ifc4x3_add1::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x3_add1::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14638,7 +14638,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -14650,7 +14650,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS std::vector< IfcWellKnownText > WellKnownText() const; // INVERSE IfcWellKnownText::CoordinateReferenceSystem - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -14698,10 +14698,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -14714,7 +14714,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x3_add1::IfcDerivedUnitElement > Elements() const; @@ -14727,7 +14727,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_add1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -14742,7 +14742,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x3_add1::IfcNamedUnit Unit() const; @@ -14751,7 +14751,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -14774,7 +14774,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -14798,7 +14798,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -14810,10 +14810,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -14828,7 +14828,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -14851,7 +14851,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -14865,10 +14865,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -14881,10 +14881,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -14897,17 +14897,17 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; class IFC_PARSE_API IfcGeographicCRS : public IfcCoordinateReferenceSystem { public: IfcGeographicCRS() {} - explicit IfcGeographicCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcGeographicCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} std::optional< std::string > GeodeticDatum() const; void setGeodeticDatum(const std::optional< std::string >& v); @@ -14916,7 +14916,7 @@ public: ::Ifc4x3_add1::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_add1::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_PrimeMeridian, ::Ifc4x3_add1::IfcNamedUnit v5_Unit); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -14945,7 +14945,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -14961,7 +14961,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_add1::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -14970,7 +14970,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -14979,7 +14979,7 @@ public: std::vector< ::Ifc4x3_add1::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_add1::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_add1::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -14993,7 +14993,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -15019,7 +15019,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_add1::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -15032,7 +15032,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -15049,7 +15049,7 @@ public: void setReferencedLibrary(const ::Ifc4x3_add1::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_add1::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -15070,7 +15070,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -15084,7 +15084,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -15093,7 +15093,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x3_add1::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -15102,7 +15102,7 @@ public: std::vector< ::Ifc4x3_add1::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x3_add1::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_add1::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -15119,7 +15119,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -15147,14 +15147,14 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale); }; class IFC_PARSE_API IfcMapConversionScaled : public IfcMapConversion { public: IfcMapConversionScaled() {} - explicit IfcMapConversionScaled (const std::weak_ptr& data) : IfcMapConversion(data) {} + explicit IfcMapConversionScaled (const std::weak_ptr& data) : IfcMapConversion(data) {} double ScaleX() const; void setScaleX(const double& v); @@ -15163,7 +15163,7 @@ public: double ScaleZ() const; void setScaleZ(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, double v9_ScaleX, double v10_ScaleY, double v11_ScaleZ); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -15174,7 +15174,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x3_add1::IfcClassificationSelect > MaterialClassifications() const; @@ -15183,7 +15183,7 @@ public: ::Ifc4x3_add1::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x3_add1::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_add1::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -15213,13 +15213,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -15248,7 +15248,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x3_add1::IfcMaterial Material() const; @@ -15281,7 +15281,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15320,7 +15320,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x3_add1::IfcMaterialLayer > MaterialLayers() const; @@ -15334,7 +15334,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15383,7 +15383,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15392,7 +15392,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15415,13 +15415,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x3_add1::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x3_add1::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15432,7 +15432,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15454,7 +15454,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMaterial v3_Material, ::Ifc4x3_add1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15465,7 +15465,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15483,7 +15483,7 @@ public: ::Ifc4x3_add1::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x3_add1::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_add1::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15494,13 +15494,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMaterial v3_Material, ::Ifc4x3_add1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15537,11 +15537,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15557,7 +15557,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x3_add1::IfcValue ValueComponent() const; @@ -15566,7 +15566,7 @@ public: ::Ifc4x3_add1::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x3_add1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcValue v1_ValueComponent, ::Ifc4x3_add1::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15624,7 +15624,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x3_add1::IfcBenchmarkEnum::Value Benchmark() const; @@ -15638,7 +15638,7 @@ public: ::Ifc4x3_add1::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_add1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_add1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_add1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_add1::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15649,13 +15649,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15666,7 +15666,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x3_add1::IfcDimensionalExponents Dimensions() const; @@ -15675,7 +15675,7 @@ public: ::Ifc4x3_add1::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x3_add1::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -15692,14 +15692,14 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc4x3_add1::IfcObjectPlacement PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x3_add1::IfcObjectPlacement& v); std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement std::vector< IfcObjectPlacement > ReferencedByPlacements() const; // INVERSE IfcObjectPlacement::PlacementRelTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcObjectPlacement v1_PlacementRelTo); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -15714,7 +15714,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x3_add1::IfcConstraint > > BenchmarkValues() const; @@ -15728,7 +15728,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_add1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_add1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_add1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -15742,7 +15742,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -15764,7 +15764,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_add1::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -15780,7 +15780,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x3_add1::IfcPersonAndOrganization OwningUser() const; @@ -15807,7 +15807,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_add1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_add1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_add1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -15822,7 +15822,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -15856,7 +15856,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x3_add1::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_add1::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -15867,7 +15867,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x3_add1::IfcPerson ThePerson() const; @@ -15879,7 +15879,7 @@ public: std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPerson v1_ThePerson, ::Ifc4x3_add1::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_add1::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -15890,7 +15890,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -15901,7 +15901,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -15916,13 +15916,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x3_add1::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_add1::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -15931,7 +15931,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -15961,17 +15961,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -15992,7 +15992,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -16007,7 +16007,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -16026,7 +16026,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -16045,7 +16045,7 @@ public: std::vector< ::Ifc4x3_add1::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x3_add1::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_add1::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -16056,13 +16056,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// IfcProductRepresentation defines a representation of a @@ -16085,7 +16085,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -16097,7 +16097,7 @@ public: std::vector< ::Ifc4x3_add1::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x3_add1::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -16273,7 +16273,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x3_add1::IfcProfileTypeEnum::Value ProfileType() const; @@ -16284,7 +16284,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16313,7 +16313,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} std::optional< std::string > GeodeticDatum() const; void setGeodeticDatum(const std::optional< std::string >& v); @@ -16336,18 +16336,18 @@ public: ::Ifc4x3_add1::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x3_add1::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_add1::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16399,7 +16399,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16411,7 +16411,7 @@ public: ::Ifc4x3_add1::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_add1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x3_add1::IfcValue > v2_EnumerationValues, ::Ifc4x3_add1::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16422,7 +16422,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16433,7 +16433,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16444,7 +16444,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. int CountValue() const; @@ -16455,7 +16455,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, int v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16466,7 +16466,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16477,21 +16477,21 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; class IFC_PARSE_API IfcQuantityNumber : public IfcPhysicalSimpleQuantity { public: IfcQuantityNumber() {} - explicit IfcQuantityNumber (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityNumber (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} double NumberValue() const; void setNumberValue(const double& v); std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_NumberValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16502,7 +16502,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16513,7 +16513,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16524,7 +16524,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16535,7 +16535,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16546,7 +16546,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16557,7 +16557,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16569,7 +16569,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16609,14 +16609,14 @@ public: std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_add1::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16629,7 +16629,7 @@ public: ::Ifc4x3_add1::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_add1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_add1::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16681,7 +16681,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x3_add1::IfcRepresentationContext ContextOfItems() const; @@ -16700,7 +16700,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -16716,7 +16716,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -16726,7 +16726,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -16764,12 +16764,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -16786,7 +16786,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -16798,7 +16798,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_add1::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -16807,7 +16807,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -16816,14 +16816,14 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; class IFC_PARSE_API IfcRigidOperation : public IfcCoordinateOperation { public: IfcRigidOperation() {} - explicit IfcRigidOperation (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcRigidOperation (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} ::Ifc4x3_add1::IfcMeasureValue FirstCoordinate() const; void setFirstCoordinate(const ::Ifc4x3_add1::IfcMeasureValue& v); @@ -16832,7 +16832,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_TargetCRS, ::Ifc4x3_add1::IfcMeasureValue v3_FirstCoordinate, ::Ifc4x3_add1::IfcMeasureValue v4_SecondCoordinate, double v5_Height); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -16847,7 +16847,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -16866,7 +16866,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -16879,7 +16879,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x3_add1::IfcSIPrefix::Value > Prefix() const; @@ -16890,7 +16890,7 @@ public: ::Ifc4x3_add1::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x3_add1::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_add1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_add1::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -16899,7 +16899,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -16912,7 +16912,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -16955,7 +16955,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -16978,7 +16978,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x3_add1::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_add1::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -17002,11 +17002,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -17147,10 +17147,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -17159,13 +17159,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -17174,13 +17174,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -17197,7 +17197,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x3_add1::IfcStructuralLoadOrResult > Values() const; @@ -17206,7 +17206,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add1::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -17215,10 +17215,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -17227,10 +17227,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -17241,7 +17241,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -17259,7 +17259,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -17270,10 +17270,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -17307,7 +17307,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17326,7 +17326,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_add1::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17339,10 +17339,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17353,7 +17353,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17365,7 +17365,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17378,7 +17378,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x3_add1::IfcSurfaceSide::Value Side() const; @@ -17387,7 +17387,7 @@ public: std::vector< ::Ifc4x3_add1::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3_add1::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_add1::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17404,7 +17404,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17423,7 +17423,7 @@ public: ::Ifc4x3_add1::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x3_add1::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_add1::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_add1::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_add1::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17434,7 +17434,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17443,7 +17443,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17456,7 +17456,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x3_add1::IfcColourRgb SurfaceColour() const; @@ -17464,7 +17464,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17488,13 +17488,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x3_add1::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17592,7 +17592,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17623,7 +17623,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17644,7 +17644,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17656,7 +17656,7 @@ public: std::optional< std::vector< ::Ifc4x3_add1::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x3_add1::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_add1::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_add1::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17667,7 +17667,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17684,7 +17684,7 @@ public: ::Ifc4x3_add1::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_add1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_add1::IfcUnit v4_Unit, ::Ifc4x3_add1::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17703,7 +17703,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > RowCells() const; @@ -17712,7 +17712,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -17726,7 +17726,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -17834,7 +17834,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -17843,12 +17843,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x3_add1::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x3_add1::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_add1::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -17860,7 +17860,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -17884,7 +17884,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_add1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -17918,7 +17918,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x3_add1::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -17938,7 +17938,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_add1::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_add1::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -17961,7 +17961,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x3_add1::IfcColour Colour() const; @@ -17970,7 +17970,7 @@ public: ::Ifc4x3_add1::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x3_add1::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcColour v1_Colour, ::Ifc4x3_add1::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -17983,7 +17983,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -18014,7 +18014,7 @@ public: ::Ifc4x3_add1::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x3_add1::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_add1::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_add1::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_add1::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -18031,12 +18031,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x3_add1::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -18068,7 +18068,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -18081,14 +18081,14 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; class IFC_PARSE_API IfcTextureCoordinateIndices : public express::Entity { public: IfcTextureCoordinateIndices() {} - explicit IfcTextureCoordinateIndices (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTextureCoordinateIndices (const std::weak_ptr& data) : express::Entity(data) {} std::vector< int > /*[3:?]*/ TexCoordIndex() const; void setTexCoordIndex(const std::vector< int > /*[3:?]*/& v); @@ -18096,19 +18096,19 @@ public: void setTexCoordsOf(const ::Ifc4x3_add1::IfcIndexedPolygonalFace& v); std::vector< IfcIndexedPolygonalTextureMap > ToTexMap() const; // INVERSE IfcIndexedPolygonalTextureMap::TexCoordIndices - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf); }; class IFC_PARSE_API IfcTextureCoordinateIndicesWithVoids : public IfcTextureCoordinateIndices { public: IfcTextureCoordinateIndicesWithVoids() {} - explicit IfcTextureCoordinateIndicesWithVoids (const std::weak_ptr& data) : IfcTextureCoordinateIndices(data) {} + explicit IfcTextureCoordinateIndicesWithVoids (const std::weak_ptr& data) : IfcTextureCoordinateIndices(data) {} std::vector< std::vector< int > > InnerTexCoordIndices() const; void setInnerTexCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices); }; /// An IfcTextureMap provides the mapping of the @@ -18165,7 +18165,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -18175,7 +18175,7 @@ public: ::Ifc4x3_add1::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x3_add1::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_add1::IfcTextureVertex > v2_Vertices, ::Ifc4x3_add1::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -18208,25 +18208,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -18238,7 +18238,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -18247,7 +18247,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -18258,7 +18258,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -18286,7 +18286,7 @@ public: void setUnit(const ::Ifc4x3_add1::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -18301,13 +18301,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x3_add1::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_add1::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -18318,10 +18318,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18361,10 +18361,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add1::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18375,13 +18375,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x3_add1::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x3_add1::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18397,10 +18397,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18415,13 +18415,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x3_add1::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x3_add1::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18486,7 +18486,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x3_add1::IfcGridAxis > IntersectingAxes() const; @@ -18495,21 +18495,21 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; class IFC_PARSE_API IfcWellKnownText : public express::Entity { public: IfcWellKnownText() {} - explicit IfcWellKnownText (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcWellKnownText (const std::weak_ptr& data) : express::Entity(data) {} std::string WellKnownText() const; void setWellKnownText(const std::string& v); ::Ifc4x3_add1::IfcCoordinateReferenceSystem CoordinateReferenceSystem() const; void setCoordinateReferenceSystem(const ::Ifc4x3_add1::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_WellKnownText, ::Ifc4x3_add1::IfcCoordinateReferenceSystem v2_CoordinateReferenceSystem); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18523,7 +18523,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18535,14 +18535,14 @@ public: std::optional< std::string > FinishDate() const; void setFinishDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate); }; class IFC_PARSE_API IfcAlignmentCantSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentCantSegment() {} - explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -18559,14 +18559,14 @@ public: ::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_add1::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType); }; class IFC_PARSE_API IfcAlignmentHorizontalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentHorizontalSegment() {} - explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} ::Ifc4x3_add1::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x3_add1::IfcCartesianPoint& v); @@ -18583,7 +18583,7 @@ public: ::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_add1::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_add1::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType); }; /// An IfcApprovalRelationship associates approvals (one @@ -18596,7 +18596,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x3_add1::IfcApproval RelatingApproval() const; @@ -18605,7 +18605,7 @@ public: std::vector< ::Ifc4x3_add1::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x3_add1::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_add1::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18629,13 +18629,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x3_add1::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x3_add1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18656,13 +18656,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x3_add1::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x3_add1::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18687,13 +18687,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x3_add1::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x3_add1::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_add1::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18708,7 +18708,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18717,7 +18717,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -18752,13 +18752,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -18779,7 +18779,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -18829,7 +18829,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Specification, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -18856,7 +18856,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x3_add1::IfcClassificationReferenceSelect ReferencedSource() const; @@ -18871,19 +18871,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_add1::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -18894,7 +18894,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -18903,7 +18903,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -18945,7 +18945,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x3_add1::IfcProfileDef > Profiles() const; @@ -18954,7 +18954,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_add1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -18969,13 +18969,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x3_add1::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x3_add1::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -18994,7 +18994,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_add1::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -19003,7 +19003,7 @@ public: ::Ifc4x3_add1::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x3_add1::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_add1::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -19028,7 +19028,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -19040,7 +19040,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_add1::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -19053,14 +19053,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -19113,7 +19113,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -19123,7 +19123,7 @@ public: void setConversionFactor(const ::Ifc4x3_add1::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add1::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -19147,13 +19147,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -19170,7 +19170,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x3_add1::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -19190,7 +19190,7 @@ public: ::Ifc4x3_add1::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x3_add1::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_add1::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_add1::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -19213,7 +19213,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x3_add1::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -19227,7 +19227,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_add1::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_add1::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -19238,7 +19238,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -19247,7 +19247,7 @@ public: std::vector< ::Ifc4x3_add1::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x3_add1::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add1::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -19264,7 +19264,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -19275,7 +19275,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcCurveStyleFontSelect v2_CurveStyleFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -19286,7 +19286,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -19299,7 +19299,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -19389,7 +19389,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x3_add1::IfcProfileDef ParentProfile() const; @@ -19401,7 +19401,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19410,7 +19410,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19481,7 +19481,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_add1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_add1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_add1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_add1::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19495,7 +19495,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x3_add1::IfcDocumentInformation RelatingDocument() const; @@ -19507,7 +19507,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_add1::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19524,7 +19524,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19536,7 +19536,7 @@ public: void setReferencedDocument(const ::Ifc4x3_add1::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19591,7 +19591,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x3_add1::IfcVertex EdgeStart() const; @@ -19600,7 +19600,7 @@ public: ::Ifc4x3_add1::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x3_add1::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcVertex v1_EdgeStart, ::Ifc4x3_add1::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19639,7 +19639,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x3_add1::IfcCurve EdgeGeometry() const; @@ -19648,7 +19648,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcVertex v1_EdgeStart, ::Ifc4x3_add1::IfcVertex v2_EdgeEnd, ::Ifc4x3_add1::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19677,7 +19677,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19694,14 +19694,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19710,7 +19710,7 @@ public: std::vector< ::Ifc4x3_add1::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x3_add1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19723,7 +19723,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19734,7 +19734,7 @@ public: std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -19784,14 +19784,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x3_add1::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x3_add1::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -19802,7 +19802,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x3_add1::IfcLoop Bound() const; @@ -19811,7 +19811,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -19822,10 +19822,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -19867,7 +19867,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x3_add1::IfcSurface FaceSurface() const; @@ -19876,7 +19876,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcFaceBound > v1_Bounds, ::Ifc4x3_add1::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -19889,7 +19889,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -19910,7 +19910,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -19950,7 +19950,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x3_add1::IfcFillStyleSelect > FillStyles() const; @@ -19958,7 +19958,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add1::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -20011,7 +20011,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -20030,7 +20030,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_add1::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_add1::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -20055,10 +20055,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -20077,7 +20077,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x3_add1::IfcGeometricRepresentationContext ParentContext() const; @@ -20102,7 +20102,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_add1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_add1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -20115,13 +20115,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x3_add1::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x3_add1::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -20172,7 +20172,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x3_add1::IfcVirtualGridIntersection PlacementLocation() const; @@ -20183,7 +20183,7 @@ public: ::Ifc4x3_add1::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x3_add1::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add1::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_add1::IfcGridPlacementDirectionSelect v3_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -20204,7 +20204,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x3_add1::IfcSurface BaseSurface() const; @@ -20213,7 +20213,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -20254,20 +20254,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x3_add1::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_add1::IfcTessellatedFaceSet& v); @@ -20278,33 +20278,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x3_add1::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_add1::IfcTessellatedFaceSet& v); ::Ifc4x3_add1::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x3_add1::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add1::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -20315,13 +20315,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x3_add1::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_add1::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_add1::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -20364,7 +20364,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -20375,7 +20375,7 @@ public: ::Ifc4x3_add1::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x3_add1::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_add1::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -20388,7 +20388,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20404,7 +20404,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20417,10 +20417,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20435,14 +20435,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x3_add1::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add1::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20455,7 +20455,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x3_add1::IfcAxis2Placement3D Position() const; @@ -20476,7 +20476,7 @@ public: ::Ifc4x3_add1::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x3_add1::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_add1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_add1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_add1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20497,7 +20497,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20517,7 +20517,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20538,7 +20538,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20556,21 +20556,21 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_add1::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x3_add1::IfcAxis2PlacementLinear RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_add1::IfcAxis2PlacementLinear& v); ::Ifc4x3_add1::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add1::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_add1::IfcAxis2Placement3D v3_CartesianPosition); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20628,13 +20628,13 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system. ::Ifc4x3_add1::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_add1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add1::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20666,10 +20666,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20694,7 +20694,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x3_add1::IfcRepresentationMap MappingSource() const; @@ -20703,7 +20703,7 @@ public: ::Ifc4x3_add1::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x3_add1::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_add1::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20736,7 +20736,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -20761,7 +20761,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -20772,7 +20772,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -20791,7 +20791,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -20811,7 +20811,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -20823,7 +20823,7 @@ public: std::optional< std::vector< ::Ifc4x3_add1::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_add1::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_add1::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -20859,13 +20859,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x3_add1::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x3_add1::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcRepresentation > v3_Representations, ::Ifc4x3_add1::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -20971,7 +20971,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x3_add1::IfcMaterialLayerSet ForLayerSet() const; @@ -21001,7 +21001,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_add1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_add1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -21014,7 +21014,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_add1::IfcMaterialProfileSet ForProfileSet() const; @@ -21031,7 +21031,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -21062,7 +21062,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_add1::IfcMaterialProfileSet ForProfileEndSet() const; @@ -21071,7 +21071,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_add1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -21099,7 +21099,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -21107,7 +21107,7 @@ public: ::Ifc4x3_add1::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x3_add1::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcProperty > v3_Properties, ::Ifc4x3_add1::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -21116,7 +21116,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x3_add1::IfcMaterial RelatingMaterial() const; @@ -21127,7 +21127,7 @@ public: std::optional< std::string > MaterialExpression() const; void setMaterialExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_add1::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_MaterialExpression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -21160,10 +21160,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -21219,7 +21219,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -21229,14 +21229,14 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcOpenCrossProfileDef : public IfcProfileDef { public: IfcOpenCrossProfileDef() {} - explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} bool HorizontalWidths() const; void setHorizontalWidths(const bool& v); @@ -21249,7 +21249,7 @@ public: ::Ifc4x3_add1::IfcCartesianPoint OffsetPoint() const; void setOffsetPoint(const ::Ifc4x3_add1::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_add1::IfcCartesianPoint v7_OffsetPoint); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -21314,10 +21314,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -21329,7 +21329,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x3_add1::IfcOrganization RelatingOrganization() const; @@ -21338,7 +21338,7 @@ public: std::vector< ::Ifc4x3_add1::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x3_add1::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_add1::IfcOrganization > v4_RelatedOrganizations); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -21351,7 +21351,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x3_add1::IfcEdge EdgeElement() const; @@ -21360,7 +21360,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21408,13 +21408,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x3_add1::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x3_add1::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21434,13 +21434,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x3_add1::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_add1::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21455,7 +21455,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > HasQuantities() const; @@ -21470,7 +21470,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21494,7 +21494,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21511,7 +21511,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21526,13 +21526,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x3_add1::IfcPoint Location() const; void setLocation(const ::Ifc4x3_add1::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21543,7 +21543,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21552,7 +21552,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21563,17 +21563,17 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcPointByDistanceExpression : public IfcPoint { public: IfcPointByDistanceExpression() {} - explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} ::Ifc4x3_add1::IfcCurveMeasureSelect DistanceAlong() const; void setDistanceAlong(const ::Ifc4x3_add1::IfcCurveMeasureSelect& v); @@ -21586,7 +21586,7 @@ public: ::Ifc4x3_add1::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_add1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_add1::IfcCurve v5_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21601,7 +21601,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x3_add1::IfcCurve BasisCurve() const; @@ -21610,7 +21610,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21625,7 +21625,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x3_add1::IfcSurface BasisSurface() const; @@ -21637,7 +21637,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21682,13 +21682,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x3_add1::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x3_add1::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -21750,7 +21750,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x3_add1::IfcAxis2Placement3D Position() const; @@ -21761,7 +21761,7 @@ public: ::Ifc4x3_add1::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x3_add1::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add1::IfcAxis2Placement3D v3_Position, ::Ifc4x3_add1::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -21774,23 +21774,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -21807,10 +21807,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -21828,12 +21828,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -21850,13 +21850,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x3_add1::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x3_add1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcProperty > v3_Properties, ::Ifc4x3_add1::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -21865,7 +21865,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -21879,7 +21879,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification); }; /// IfcPropertyDefinition defines the generalization of @@ -21935,12 +21935,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -21954,7 +21954,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x3_add1::IfcProperty DependingProperty() const; @@ -21966,7 +21966,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcProperty v3_DependingProperty, ::Ifc4x3_add1::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -22014,13 +22014,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -22051,20 +22051,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -22104,7 +22104,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -22113,7 +22113,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -22124,7 +22124,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -22133,7 +22133,7 @@ public: std::vector< ::Ifc4x3_add1::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_add1::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_add1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_add1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_add1::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -22144,7 +22144,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -22165,7 +22165,7 @@ public: std::optional< int > BarCount() const; void setBarCount(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -22179,10 +22179,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -22194,7 +22194,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -22203,7 +22203,7 @@ public: ::Ifc4x3_add1::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_add1::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_add1::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -22229,7 +22229,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x3_add1::IfcConstraint RelatingConstraint() const; @@ -22238,7 +22238,7 @@ public: std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add1::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_add1::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -22246,7 +22246,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -22294,7 +22294,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22337,13 +22337,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -22354,7 +22354,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x3_add1::IfcSectionTypeEnum::Value SectionType() const; @@ -22366,7 +22366,7 @@ public: ::Ifc4x3_add1::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x3_add1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_add1::IfcProfileDef v2_StartProfile, ::Ifc4x3_add1::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -22379,7 +22379,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -22400,7 +22400,7 @@ public: std::vector< ::Ifc4x3_add1::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_add1::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_add1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_add1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_add1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22459,7 +22459,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x3_add1::IfcCompositeCurve SpineCurve() const; @@ -22471,20 +22471,20 @@ public: std::vector< ::Ifc4x3_add1::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_add1::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_add1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_add1::IfcAxis2Placement3D > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSegment : public IfcGeometricRepresentationItem { public: IfcSegment() {} - explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3_add1::IfcTransitionCode::Value Transition() const; void setTransition(const ::Ifc4x3_add1::IfcTransitionCode::Value& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22502,12 +22502,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x3_add1::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x3_add1::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22516,10 +22516,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22534,7 +22534,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22546,7 +22546,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22557,10 +22557,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22571,7 +22571,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22592,7 +22592,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22603,7 +22603,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22615,7 +22615,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22626,7 +22626,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22647,7 +22647,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22656,13 +22656,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22674,7 +22674,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22695,7 +22695,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22709,13 +22709,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22731,13 +22731,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x3_add1::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x3_add1::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcVertex v1_EdgeStart, ::Ifc4x3_add1::IfcVertex v2_EdgeEnd, ::Ifc4x3_add1::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -22753,10 +22753,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -22807,7 +22807,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -22841,7 +22841,7 @@ public: ::Ifc4x3_add1::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x3_add1::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_add1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_add1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_add1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_add1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_add1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_add1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_add1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -22865,7 +22865,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x3_add1::IfcProfileDef SweptArea() const; @@ -22874,7 +22874,7 @@ public: ::Ifc4x3_add1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -22933,7 +22933,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x3_add1::IfcCurve Directrix() const; @@ -22955,7 +22955,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -22971,13 +22971,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -22988,7 +22988,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x3_add1::IfcProfileDef SweptCurve() const; @@ -22997,7 +22997,7 @@ public: ::Ifc4x3_add1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -23031,7 +23031,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23061,17 +23061,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -23087,7 +23087,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -23100,7 +23100,7 @@ public: ::Ifc4x3_add1::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x3_add1::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_add1::IfcAxis2Placement v2_Placement, ::Ifc4x3_add1::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -23115,7 +23115,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x3_add1::IfcPlanarExtent Extent() const; @@ -23124,7 +23124,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_add1::IfcAxis2Placement v2_Placement, ::Ifc4x3_add1::IfcTextPath::Value v3_Path, ::Ifc4x3_add1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -23195,7 +23195,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -23216,7 +23216,7 @@ public: ::Ifc4x3_add1::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x3_add1::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_add1::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -23260,7 +23260,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -23275,7 +23275,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -23312,7 +23312,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -23330,7 +23330,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -23364,7 +23364,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -23379,7 +23379,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23451,7 +23451,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > RepresentationMaps() const; @@ -23461,7 +23461,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23479,7 +23479,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23494,7 +23494,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23528,7 +23528,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23552,7 +23552,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23565,7 +23565,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x3_add1::IfcDirection Orientation() const; @@ -23574,7 +23574,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23592,13 +23592,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x3_add1::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x3_add1::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcVertex v1_LoopVertex); }; /// IfcZShapeProfileDef defines @@ -23629,7 +23629,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23650,7 +23650,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23669,10 +23669,10 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcFaceBound > v1_Bounds, ::Ifc4x3_add1::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -23698,7 +23698,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -23711,7 +23711,7 @@ public: std::optional< std::vector< ::Ifc4x3_add1::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_add1::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_add1::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -23754,7 +23754,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -23784,7 +23784,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -23799,13 +23799,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x3_add1::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPoint v1_Location, ::Ifc4x3_add1::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -23822,13 +23822,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x3_add1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPoint v1_Location, ::Ifc4x3_add1::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -23847,7 +23847,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x3_add1::IfcDirection Axis() const; @@ -23856,21 +23856,21 @@ public: ::Ifc4x3_add1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPoint v1_Location, ::Ifc4x3_add1::IfcDirection v2_Axis, ::Ifc4x3_add1::IfcDirection v3_RefDirection); }; class IFC_PARSE_API IfcAxis2PlacementLinear : public IfcPlacement { public: IfcAxis2PlacementLinear() {} - explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} ::Ifc4x3_add1::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_add1::IfcDirection& v); ::Ifc4x3_add1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPoint v1_Location, ::Ifc4x3_add1::IfcDirection v2_Axis, ::Ifc4x3_add1::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -23902,7 +23902,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x3_add1::IfcBooleanOperator::Value Operator() const; @@ -23914,7 +23914,7 @@ public: ::Ifc4x3_add1::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x3_add1::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add1::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -23932,10 +23932,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -23963,7 +23963,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x3_add1::IfcCartesianPoint Corner() const; @@ -23978,7 +23978,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -24014,13 +24014,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x3_add1::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x3_add1::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add1::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -24048,7 +24048,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -24066,7 +24066,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -24079,51 +24079,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -24159,7 +24159,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x3_add1::IfcDirection Axis1() const; @@ -24174,7 +24174,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24185,10 +24185,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -24204,13 +24204,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24221,13 +24221,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x3_add1::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_add1::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -24244,7 +24244,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -24253,7 +24253,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcDirection v1_Axis1, ::Ifc4x3_add1::IfcDirection v2_Axis2, ::Ifc4x3_add1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_add1::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -24271,13 +24271,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -24332,10 +24332,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24349,7 +24349,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24367,7 +24367,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24378,7 +24378,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24388,7 +24388,7 @@ public: std::vector< ::Ifc4x3_add1::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_add1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::string v3_UsageName, std::vector< ::Ifc4x3_add1::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24401,7 +24401,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcSegment { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} /// An indicator of whether or not the sense of the segment agrees with, or opposes, that of the parent curve. If SameSense is false, the point with highest parameter value is taken as the first point of the segment. /// @@ -24412,7 +24412,7 @@ public: ::Ifc4x3_add1::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_add1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add1::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24433,14 +24433,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > >& v); ::Ifc4x3_add1::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_add1::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24459,7 +24459,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24483,7 +24483,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add1::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24499,13 +24499,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24516,13 +24516,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x3_add1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24569,13 +24569,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x3_add1::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x3_add1::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24591,10 +24591,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24613,7 +24613,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x3_add1::IfcPlane BasisSurface() const; @@ -24625,7 +24625,7 @@ public: std::vector< ::Ifc4x3_add1::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x3_add1::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPlane v1_BasisSurface, ::Ifc4x3_add1::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_add1::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24652,7 +24652,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x3_add1::IfcSurface BasisSurface() const; @@ -24663,14 +24663,14 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_add1::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; class IFC_PARSE_API IfcCurveSegment : public IfcSegment { public: IfcCurveSegment() {} - explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} ::Ifc4x3_add1::IfcPlacement Placement() const; void setPlacement(const ::Ifc4x3_add1::IfcPlacement& v); @@ -24681,7 +24681,7 @@ public: ::Ifc4x3_add1::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_add1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_add1::IfcPlacement v2_Placement, ::Ifc4x3_add1::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_add1::IfcCurve v5_ParentCurve); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -24694,20 +24694,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDirectrixCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixCurveSweptAreaSolid() {} - explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_add1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_add1::IfcCurve& v); @@ -24716,7 +24716,7 @@ public: ::Ifc4x3_add1::IfcCurveMeasureSelect EndParam() const; void setEndParam(const ::Ifc4x3_add1::IfcCurveMeasureSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcCurve v3_Directrix, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_add1::IfcCurveMeasureSelect v5_EndParam); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -24733,13 +24733,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x3_add1::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_add1::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -24822,7 +24822,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -24833,7 +24833,7 @@ public: std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -24861,13 +24861,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -24878,13 +24878,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x3_add1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_add1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -24906,7 +24906,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -24915,7 +24915,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -24927,7 +24927,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -24943,7 +24943,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -25017,7 +25017,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x3_add1::IfcDirection ExtrudedDirection() const; @@ -25027,7 +25027,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -25131,13 +25131,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x3_add1::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_add1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_add1::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -25155,13 +25155,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x3_add1::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x3_add1::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -25214,7 +25214,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x3_add1::IfcCurveStyle HatchLineAppearance() const; @@ -25240,7 +25240,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_add1::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_add1::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_add1::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -25251,7 +25251,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x3_add1::IfcVector > TilingPattern() const; @@ -25263,7 +25263,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_add1::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25327,13 +25327,13 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The direction providing the fixed axis1 (x-axis) direction for orienting the swept area during the sweeping operation along the Directrix. ::Ifc4x3_add1::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcCurve v3_Directrix, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_add1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_add1::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -25367,10 +25367,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25413,7 +25413,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25421,7 +25421,7 @@ public: std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25488,13 +25488,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25507,10 +25507,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25579,7 +25579,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25601,45 +25601,45 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces std::vector< IfcTextureCoordinateIndices > HasTexCoords() const; // INVERSE IfcTextureCoordinateIndices::TexCoordsOf - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; class IFC_PARSE_API IfcIndexedPolygonalTextureMap : public IfcIndexedTextureMap { public: IfcIndexedPolygonalTextureMap() {} - explicit IfcIndexedPolygonalTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedPolygonalTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::vector< ::Ifc4x3_add1::IfcTextureCoordinateIndices > TexCoordIndices() const; void setTexCoordIndices(const std::vector< ::Ifc4x3_add1::IfcTextureCoordinateIndices >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add1::IfcTextureVertexList v3_TexCoords, std::vector< ::Ifc4x3_add1::IfcTextureCoordinateIndices > v4_TexCoordIndices); }; /// IfcLShapeProfileDef @@ -25696,7 +25696,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -25717,7 +25717,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -25734,13 +25734,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -25759,7 +25759,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x3_add1::IfcCartesianPoint Pnt() const; @@ -25768,7 +25768,7 @@ public: ::Ifc4x3_add1::IfcVector Dir() const; void setDir(const ::Ifc4x3_add1::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCartesianPoint v1_Pnt, ::Ifc4x3_add1::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -25837,13 +25837,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x3_add1::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x3_add1::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -25931,7 +25931,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -25941,19 +25941,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add1::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_add1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -25970,7 +25970,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -25979,7 +25979,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -26000,7 +26000,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -26012,21 +26012,21 @@ public: ::Ifc4x3_add1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_add1::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x3_add1::IfcPointByDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x3_add1::IfcPointByDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add1::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -26039,14 +26039,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add1::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x3_add1::IfcSurface& v); ::Ifc4x3_add1::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x3_add1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSurface v1_BasisSurface, ::Ifc4x3_add1::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -26058,14 +26058,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x3_add1::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x3_add1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_add1::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -26107,17 +26107,17 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position); }; class IFC_PARSE_API IfcPolynomialCurve : public IfcCurve { public: IfcPolynomialCurve() {} - explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add1::IfcPlacement Position() const; void setPosition(const ::Ifc4x3_add1::IfcPlacement& v); @@ -26128,7 +26128,7 @@ public: std::optional< std::vector< double > /*[2:?]*/ > CoefficientsZ() const; void setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -26139,10 +26139,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -26155,10 +26155,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -26184,10 +26184,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -26206,14 +26206,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x3_add1::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add1::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -26259,7 +26259,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -26276,7 +26276,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26373,7 +26373,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x3_add1::IfcObjectPlacement ObjectPlacement() const; @@ -26385,7 +26385,7 @@ public: std::vector< IfcRelPositions > PositionedRelativeTo() const; // INVERSE IfcRelPositions::RelatedProducts std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26435,10 +26435,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add1::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26468,10 +26468,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add1::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26581,7 +26581,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x3_add1::IfcValue UpperBoundValue() const; @@ -26598,7 +26598,7 @@ public: ::Ifc4x3_add1::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x3_add1::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_add1::IfcValue v3_UpperBoundValue, ::Ifc4x3_add1::IfcValue v4_LowerBoundValue, ::Ifc4x3_add1::IfcUnit v5_Unit, ::Ifc4x3_add1::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -26681,7 +26681,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -26692,7 +26692,7 @@ public: ::Ifc4x3_add1::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x3_add1::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v3_EnumerationValues, ::Ifc4x3_add1::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -26763,7 +26763,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -26774,7 +26774,7 @@ public: ::Ifc4x3_add1::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_add1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v3_ListValues, ::Ifc4x3_add1::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -26795,7 +26795,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -26806,7 +26806,7 @@ public: ::Ifc4x3_add1::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x3_add1::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::string > v3_UsageName, ::Ifc4x3_add1::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -26865,13 +26865,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x3_add1::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_add1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -26908,7 +26908,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -26931,7 +26931,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x3_add1::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -26981,7 +26981,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -26994,7 +26994,7 @@ public: ::Ifc4x3_add1::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_add1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_add1::IfcValue v3_NominalValue, ::Ifc4x3_add1::IfcUnit v4_Unit); }; /// A property with a range value @@ -27116,7 +27116,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -27143,7 +27143,7 @@ public: std::optional< ::Ifc4x3_add1::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x3_add1::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_add1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_add1::IfcUnit v6_DefiningUnit, ::Ifc4x3_add1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_add1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -27173,12 +27173,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -27204,7 +27204,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -27216,7 +27216,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27310,7 +27310,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27322,7 +27322,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27343,7 +27343,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x3_add1::IfcSurface BasisSurface() const; @@ -27367,7 +27367,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27399,7 +27399,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27408,7 +27408,7 @@ public: std::vector< ::Ifc4x3_add1::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_add1::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_add1::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27425,7 +27425,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x3_add1::IfcObjectDefinition > RelatedObjects() const; @@ -27435,7 +27435,7 @@ public: std::optional< bool > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -27450,7 +27450,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x3_add1::IfcActor RelatingActor() const; @@ -27459,7 +27459,7 @@ public: ::Ifc4x3_add1::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x3_add1::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcActor v7_RelatingActor, ::Ifc4x3_add1::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -27470,13 +27470,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x3_add1::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x3_add1::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27495,13 +27495,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x3_add1::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x3_add1::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27516,13 +27516,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27550,7 +27550,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27561,7 +27561,7 @@ public: ::Ifc4x3_add1::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x3_add1::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_add1::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27575,7 +27575,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27583,7 +27583,7 @@ public: ::Ifc4x3_add1::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x3_add1::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -27595,7 +27595,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -27603,7 +27603,7 @@ public: ::Ifc4x3_add1::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x3_add1::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add1::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -27650,7 +27650,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -27658,7 +27658,7 @@ public: std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_add1::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -27667,13 +27667,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x3_add1::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_add1::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -27709,13 +27709,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x3_add1::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x3_add1::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -27724,7 +27724,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -27733,7 +27733,7 @@ public: ::Ifc4x3_add1::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x3_add1::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_add1::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -27746,13 +27746,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x3_add1::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x3_add1::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -27765,13 +27765,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x3_add1::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x3_add1::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -27871,25 +27871,25 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x3_add1::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x3_add1::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcMaterialSelect v6_RelatingMaterial); }; class IFC_PARSE_API IfcRelAssociatesProfileDef : public IfcRelAssociates { public: IfcRelAssociatesProfileDef() {} - explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc4x3_add1::IfcProfileDef RelatingProfileDef() const; void setRelatingProfileDef(const ::Ifc4x3_add1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add1::IfcProfileDef v6_RelatingProfileDef); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -27898,10 +27898,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -27929,7 +27929,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x3_add1::IfcConnectionGeometry ConnectionGeometry() const; @@ -27941,7 +27941,7 @@ public: ::Ifc4x3_add1::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_add1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add1::IfcElement v6_RelatingElement, ::Ifc4x3_add1::IfcElement v7_RelatedElement); }; /// The @@ -27977,7 +27977,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -27992,7 +27992,7 @@ public: ::Ifc4x3_add1::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x3_add1::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add1::IfcElement v6_RelatingElement, ::Ifc4x3_add1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_add1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_add1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -28023,7 +28023,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x3_add1::IfcPort RelatingPort() const; @@ -28034,7 +28034,7 @@ public: ::Ifc4x3_add1::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_add1::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcPort v5_RelatingPort, ::Ifc4x3_add1::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -28053,7 +28053,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x3_add1::IfcPort RelatingPort() const; @@ -28065,7 +28065,7 @@ public: ::Ifc4x3_add1::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x3_add1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcPort v5_RelatingPort, ::Ifc4x3_add1::IfcPort v6_RelatedPort, ::Ifc4x3_add1::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -28074,7 +28074,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x3_add1::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -28083,7 +28083,7 @@ public: ::Ifc4x3_add1::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x3_add1::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_add1::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -28113,7 +28113,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x3_add1::IfcStructuralMember RelatingStructuralMember() const; @@ -28134,7 +28134,7 @@ public: ::Ifc4x3_add1::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_add1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_add1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_add1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_add1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_add1::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -28157,13 +28157,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x3_add1::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x3_add1::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_add1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_add1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_add1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_add1::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_add1::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -28192,7 +28192,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x3_add1::IfcElement > RealizingElements() const; @@ -28201,7 +28201,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add1::IfcElement v6_RelatingElement, ::Ifc4x3_add1::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_add1::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -28267,7 +28267,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -28278,7 +28278,7 @@ public: ::Ifc4x3_add1::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_add1::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcProduct > v5_RelatedElements, ::Ifc4x3_add1::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -28300,7 +28300,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28311,7 +28311,7 @@ public: std::vector< ::Ifc4x3_add1::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_add1::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_add1::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28343,7 +28343,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28354,7 +28354,7 @@ public: std::vector< ::Ifc4x3_add1::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_add1::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_add1::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28371,7 +28371,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x3_add1::IfcContext RelatingContext() const; @@ -28380,7 +28380,7 @@ public: std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x3_add1::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_add1::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28416,10 +28416,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -28452,10 +28452,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -28476,7 +28476,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x3_add1::IfcObject > RelatedObjects() const; @@ -28485,7 +28485,7 @@ public: ::Ifc4x3_add1::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x3_add1::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObject > v5_RelatedObjects, ::Ifc4x3_add1::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28506,7 +28506,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x3_add1::IfcObjectDefinition > RelatedObjects() const; @@ -28515,7 +28515,7 @@ public: ::Ifc4x3_add1::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x3_add1::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_add1::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28533,7 +28533,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28542,7 +28542,7 @@ public: ::Ifc4x3_add1::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x3_add1::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_add1::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -28617,7 +28617,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x3_add1::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_add1::IfcObject >& v); @@ -28625,7 +28625,7 @@ public: ::Ifc4x3_add1::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x3_add1::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcObject > v5_RelatedObjects, ::Ifc4x3_add1::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -28640,7 +28640,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x3_add1::IfcOpeningElement RelatingOpeningElement() const; @@ -28651,7 +28651,7 @@ public: ::Ifc4x3_add1::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x3_add1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -28664,7 +28664,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x3_add1::IfcDistributionControlElement > RelatedControlElements() const; @@ -28673,7 +28673,7 @@ public: ::Ifc4x3_add1::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x3_add1::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_add1::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -28726,7 +28726,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x3_add1::IfcInterferenceSelect RelatingElement() const; @@ -28746,7 +28746,7 @@ public: ::Ifc4x3_add1::IfcSpatialZone InterferenceSpace() const; void setInterferenceSpace(const ::Ifc4x3_add1::IfcSpatialZone& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_add1::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder, ::Ifc4x3_add1::IfcSpatialZone v10_InterferenceSpace); }; /// The nesting relationship @@ -28777,7 +28777,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -28790,21 +28790,21 @@ public: std::vector< ::Ifc4x3_add1::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_add1::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelPositions : public IfcRelConnects { public: IfcRelPositions() {} - explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc4x3_add1::IfcPositioningElement RelatingPositioningElement() const; void setRelatingPositioningElement(const ::Ifc4x3_add1::IfcPositioningElement& v); std::vector< ::Ifc4x3_add1::IfcProduct > RelatedProducts() const; void setRelatedProducts(const std::vector< ::Ifc4x3_add1::IfcProduct >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_add1::IfcProduct > v6_RelatedProducts); }; /// The IfcRelProjectsElement is an objectified relationship @@ -28842,7 +28842,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x3_add1::IfcElement RelatingElement() const; @@ -28851,7 +28851,7 @@ public: ::Ifc4x3_add1::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x3_add1::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcElement v5_RelatingElement, ::Ifc4x3_add1::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -28906,7 +28906,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -28918,7 +28918,7 @@ public: ::Ifc4x3_add1::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_add1::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add1::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_add1::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -28978,7 +28978,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x3_add1::IfcProcess RelatingProcess() const; @@ -29006,7 +29006,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcProcess v5_RelatingProcess, ::Ifc4x3_add1::IfcProcess v6_RelatedProcess, ::Ifc4x3_add1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_add1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -29033,7 +29033,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x3_add1::IfcSystem RelatingSystem() const; @@ -29046,7 +29046,7 @@ public: std::vector< ::Ifc4x3_add1::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x3_add1::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_add1::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -29214,7 +29214,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x3_add1::IfcSpaceBoundarySelect RelatingSpace() const; @@ -29238,7 +29238,7 @@ public: ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -29291,14 +29291,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29336,14 +29336,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_add1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_add1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_add1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_add1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_add1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_add1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29356,14 +29356,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_add1::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x3_add1::IfcElement& v); ::Ifc4x3_add1::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x3_add1::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_add1::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29392,12 +29392,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add1::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29416,7 +29416,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29431,7 +29431,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -29513,7 +29513,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x3_add1::IfcAxis1Placement Axis() const; @@ -29522,7 +29522,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29586,12 +29586,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x3_add1::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_add1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_add1::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -29662,7 +29662,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -29671,7 +29671,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -29758,7 +29758,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -29767,40 +29767,40 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x3_add1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_add1::IfcCurve& v); std::vector< ::Ifc4x3_add1::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_add1::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add1::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x3_add1::IfcAxis2PlacementLinear > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_add1::IfcAxis2PlacementLinear >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_add1::IfcAxis2PlacementLinear > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSectionedSurface : public IfcSurface { public: IfcSectionedSurface() {} - explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} ::Ifc4x3_add1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_add1::IfcCurve& v); @@ -29809,7 +29809,7 @@ public: std::vector< ::Ifc4x3_add1::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_add1::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add1::IfcAxis2PlacementLinear > v2_CrossSectionPositions, std::vector< ::Ifc4x3_add1::IfcProfileDef > v3_CrossSections); }; /// The IfcSimplePropertyTemplate defines the template for @@ -29860,7 +29860,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -29910,7 +29910,7 @@ public: std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x3_add1::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_add1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_add1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_add1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_add1::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -29947,7 +29947,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -29960,7 +29960,7 @@ public: std::vector< IfcRelInterferesElements > IsInterferedByElements() const; // INVERSE IfcRelInterferesElements::RelatedElement std::vector< IfcRelInterferesElements > InterferesElements() const; // INVERSE IfcRelInterferesElements::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -29997,13 +29997,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -30083,7 +30083,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -30092,7 +30092,7 @@ public: std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -30132,10 +30132,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -30190,13 +30190,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -30232,7 +30232,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -30240,7 +30240,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -30296,37 +30296,37 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSpiral : public IfcCurve { public: IfcSpiral() {} - explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add1::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_add1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30425,7 +30425,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -30453,7 +30453,7 @@ public: void setGlobalOrLocal(const ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -30546,11 +30546,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -30560,11 +30560,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30590,10 +30590,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -30619,7 +30619,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -30628,7 +30628,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -30652,10 +30652,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -30683,13 +30683,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -30706,20 +30706,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add1::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x3_add1::IfcCurve& v); @@ -30728,7 +30728,7 @@ public: ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -30796,13 +30796,13 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The surface containing the Directrix. ::Ifc4x3_add1::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x3_add1::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcCurve v3_Directrix, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_add1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_add1::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -30821,7 +30821,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x3_add1::IfcDirection ExtrudedDirection() const; @@ -30830,7 +30830,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -30853,13 +30853,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x3_add1::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x3_add1::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -30895,12 +30895,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -31151,7 +31151,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -31193,7 +31193,7 @@ public: std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_add1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_add1::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -31239,7 +31239,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -31249,28 +31249,28 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x3_add1::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x3_add1::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcThirdOrderPolynomialSpiral : public IfcSpiral { public: IfcThirdOrderPolynomialSpiral() {} - explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double CubicTerm() const; void setCubicTerm(const double& v); @@ -31281,38 +31281,38 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; class IFC_PARSE_API IfcTransportationDeviceType : public IfcElementType { public: IfcTransportationDeviceType() {} - explicit IfcTransportationDeviceType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportationDeviceType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31323,31 +31323,31 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; class IFC_PARSE_API IfcVehicleType : public IfcTransportationDeviceType { public: IfcVehicleType() {} - explicit IfcVehicleType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} + explicit IfcVehicleType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} ::Ifc4x3_add1::IfcVehicleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcVehicleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcVehicleTypeEnum::Value v10_PredefinedType); }; /// The window lining is the outer @@ -31451,7 +31451,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -31498,7 +31498,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_add1::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31549,7 +31549,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_add1::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -31569,7 +31569,7 @@ public: ::Ifc4x3_add1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_add1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add1::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -31590,14 +31590,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x3_add1::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x3_add1::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -31636,10 +31636,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -31666,12 +31666,12 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x3_add1::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_add1::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_add1::IfcClosedShell > v2_Voids); }; /// Definition from IAI: An annotation is a graphical @@ -31850,13 +31850,13 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::optional< ::Ifc4x3_add1::IfcAnnotationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAnnotationTypeEnum::Value >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcAnnotationTypeEnum::Value > v8_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -31931,7 +31931,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -31955,7 +31955,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -31968,7 +31968,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -31986,7 +31986,7 @@ public: ::Ifc4x3_add1::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_add1::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -32089,7 +32089,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -32101,7 +32101,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -32114,10 +32114,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add1::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -32133,10 +32133,10 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The building storey has an @@ -32319,23 +32319,23 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; class IFC_PARSE_API IfcBuiltElementType : public IfcElementType { public: IfcBuiltElementType() {} - explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The IfcChimneyType @@ -32366,13 +32366,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuiltElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x3_add1::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32396,35 +32396,35 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcClothoid : public IfcSpiral { public: IfcClothoid() {} - explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} double ClothoidConstant() const; void setClothoidConstant(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_ClothoidConstant); }; /// Definition from IAI: The element type @@ -32528,13 +32528,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuiltElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x3_add1::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -32548,7 +32548,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -32558,7 +32558,7 @@ public: std::optional< std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_add1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -32630,7 +32630,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x3_add1::IfcSegment > Segments() const; @@ -32639,7 +32639,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -32656,10 +32656,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -32670,13 +32670,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x3_add1::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_add1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -32695,13 +32695,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -32720,13 +32720,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -32745,13 +32745,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -32829,7 +32829,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x3_add1::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x3_add1::IfcResourceTime& v); @@ -32838,7 +32838,7 @@ public: ::Ifc4x3_add1::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_add1::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -32854,7 +32854,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -32864,21 +32864,21 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; class IFC_PARSE_API IfcCosineSpiral : public IfcSpiral { public: IfcCosineSpiral() {} - explicit IfcCosineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcCosineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double CosineTerm() const; void setCosineTerm(const double& v); std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -32920,7 +32920,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -32942,7 +32942,7 @@ public: std::optional< std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_add1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_add1::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -32971,7 +32971,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -32998,19 +32998,19 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; class IFC_PARSE_API IfcCourseType : public IfcBuiltElementType { public: IfcCourseType() {} - explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add1::IfcCourseTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCourseTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCourseTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -33095,13 +33095,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuiltElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x3_add1::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -33117,14 +33117,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -33151,13 +33151,13 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuiltElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -33217,33 +33217,33 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcDeepFoundationType : public IfcBuiltElementType { public: IfcDeepFoundationType() {} - explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcDirectrixDerivedReferenceSweptAreaSolid : public IfcFixedReferenceSweptAreaSolid { public: IfcDirectrixDerivedReferenceSweptAreaSolid() {} - explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} + explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcProfileDef v1_SweptArea, ::Ifc4x3_add1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add1::IfcCurve v3_Directrix, ::Ifc4x3_add1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_add1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_add1::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -33277,10 +33277,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33351,10 +33351,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33455,7 +33455,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -33503,7 +33503,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_add1::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -33554,7 +33554,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -33574,7 +33574,7 @@ public: ::Ifc4x3_add1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_add1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_add1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_add1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_add1::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -33708,7 +33708,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuiltElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x3_add1::IfcDoorTypeEnum::Value PredefinedType() const; @@ -33721,7 +33721,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -33799,10 +33799,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -33821,10 +33821,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -33883,7 +33883,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -33901,7 +33901,7 @@ public: std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement std::vector< IfcRelAdheresToElement > HasSurfaceFeatures() const; // INVERSE IfcRelAdheresToElement::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -34001,7 +34001,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -34012,7 +34012,7 @@ public: std::optional< ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -34040,13 +34040,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -34129,10 +34129,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -34147,10 +34147,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -34183,7 +34183,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -34192,7 +34192,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -34221,10 +34221,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -34256,12 +34256,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_add1::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -34293,13 +34293,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34331,13 +34331,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34420,7 +34420,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34439,7 +34439,7 @@ public: ::Ifc4x3_add1::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x3_add1::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_add1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_add1::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34450,10 +34450,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -34483,10 +34483,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -34516,47 +34516,47 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x3_add1::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_add1::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_add1::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcFacility : public IfcSpatialStructureElement { public: IfcFacility() {} - explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType); }; class IFC_PARSE_API IfcFacilityPart : public IfcSpatialStructureElement { public: IfcFacilityPart() {} - explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} ::Ifc4x3_add1::IfcFacilityUsageEnum::Value UsageType() const; void setUsageType(const ::Ifc4x3_add1::IfcFacilityUsageEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType); }; class IFC_PARSE_API IfcFacilityPartCommon : public IfcFacilityPart { public: IfcFacilityPartCommon() {} - explicit IfcFacilityPartCommon (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcFacilityPartCommon (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: @@ -34570,13 +34570,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x3_add1::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -34605,13 +34605,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x3_add1::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -34711,10 +34711,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -34775,11 +34775,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -34835,11 +34835,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -34867,10 +34867,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -34899,10 +34899,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -34940,13 +34940,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -34974,10 +34974,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -35014,10 +35014,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -35030,10 +35030,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -35046,10 +35046,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -35063,10 +35063,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -35081,13 +35081,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuiltElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Subtype of footing. ::Ifc4x3_add1::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -35197,10 +35197,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -35237,12 +35237,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35388,49 +35388,49 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalElement : public IfcElement { public: IfcGeotechnicalElement() {} - explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeotechnicalStratum : public IfcGeotechnicalElement { public: IfcGeotechnicalStratum() {} - explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} std::optional< ::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGradientCurve : public IfcCompositeCurve { public: IfcGradientCurve() {} - explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_add1::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_add1::IfcBoundedCurve& v); ::Ifc4x3_add1::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_add1::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_add1::IfcPlacement v4_EndPoint); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35466,12 +35466,12 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35506,13 +35506,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -35544,44 +35544,44 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDevice : public IfcElementComponent { public: IfcImpactProtectionDevice() {} - explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDeviceType : public IfcElementComponentType { public: IfcImpactProtectionDeviceType() {} - explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_add1::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x3_add1::IfcCartesianPointList& v); @@ -35590,7 +35590,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_add1::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -35629,22 +35629,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -35661,7 +35661,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -35686,7 +35686,7 @@ public: ::Ifc4x3_add1::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x3_add1::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_add1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_add1::IfcCostValue v10_CurrentValue, ::Ifc4x3_add1::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -35719,25 +35719,25 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcKerbType : public IfcBuiltElementType { public: IfcKerbType() {} - explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add1::IfcKerbTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcKerbTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcKerbTypeEnum::Value v10_PredefinedType); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -35767,14 +35767,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -35809,13 +35809,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x3_add1::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -35852,59 +35852,59 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLinearElement : public IfcProduct { public: IfcLinearElement() {} - explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminalType : public IfcFlowTerminalType { public: IfcLiquidTerminalType() {} - explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMarineFacility : public IfcFacility { public: IfcMarineFacility() {} - explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcMarinePart : public IfcFacilityPart { public: IfcMarinePart() {} - explicit IfcMarinePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcMarinePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add1::IfcMarinePartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMarinePartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcMarinePartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -35939,7 +35939,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -35949,7 +35949,7 @@ public: std::optional< ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -35990,7 +35990,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -36002,7 +36002,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -36034,12 +36034,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -36146,37 +36146,37 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuiltElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x3_add1::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMemberTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsApplianceType : public IfcFlowTerminalType { public: IfcMobileTelecommunicationsApplianceType() {} - explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMooringDeviceType : public IfcBuiltElementType { public: IfcMooringDeviceType() {} - explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -36209,25 +36209,25 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcNavigationElementType : public IfcBuiltElementType { public: IfcNavigationElementType() {} - explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -36240,7 +36240,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -36248,7 +36248,7 @@ public: std::optional< ::Ifc4x3_add1::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_add1::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -36456,7 +36456,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36465,7 +36465,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -36500,25 +36500,25 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x3_add1::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcOutletTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPavementType : public IfcBuiltElementType { public: IfcPavementType() {} - explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add1::IfcPavementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcPavementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPavementTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -36529,7 +36529,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -36540,7 +36540,7 @@ public: std::optional< ::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_add1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -36577,7 +36577,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -36595,7 +36595,7 @@ public: ::Ifc4x3_add1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_add1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_add1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add1::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -36638,7 +36638,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -36656,7 +36656,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -36669,13 +36669,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcDeepFoundationType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} /// Subtype of pile. ::Ifc4x3_add1::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -36710,13 +36710,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -36755,13 +36755,13 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -36844,20 +36844,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuiltElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x3_add1::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -36866,7 +36866,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_add1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -36886,13 +36886,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x3_add1::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x3_add1::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -36951,25 +36951,25 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelPositions > Positions() const; // INVERSE IfcRelPositions::RelatingPositioningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -37079,14 +37079,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x3_add1::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add1::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -37135,7 +37135,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37157,7 +37157,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -37270,7 +37270,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37278,7 +37278,7 @@ public: std::optional< ::Ifc4x3_add1::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -37319,13 +37319,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -37359,25 +37359,25 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x3_add1::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcPumpTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailType : public IfcBuiltElementType { public: IfcRailType() {} - explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add1::IfcRailTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcRailTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRailTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -37403,37 +37403,37 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuiltElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x3_add1::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRailingTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailway : public IfcFacility { public: IfcRailway() {} - explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_add1::IfcRailwayTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailwayTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcRailwayTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcRailwayPart : public IfcFacilityPart { public: IfcRailwayPart() {} - explicit IfcRailwayPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcRailwayPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add1::IfcRailwayPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailwayPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcRailwayPartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -37459,13 +37459,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuiltElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -37504,13 +37504,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuiltElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x3_add1::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -37529,25 +37529,25 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x3_add1::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReferentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcReferentTypeEnum::Value > v8_PredefinedType); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37561,12 +37561,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37575,10 +37575,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37608,7 +37608,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -37630,7 +37630,7 @@ public: std::optional< ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37647,7 +37647,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -37681,21 +37681,21 @@ public: std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > v20_BendingParameters); }; class IFC_PARSE_API IfcRelAdheresToElement : public IfcRelDecomposes { public: IfcRelAdheresToElement() {} - explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_add1::IfcElement RelatingElement() const; void setRelatingElement(const ::Ifc4x3_add1::IfcElement& v); std::vector< ::Ifc4x3_add1::IfcSurfaceFeature > RelatedSurfaceFeatures() const; void setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3_add1::IfcSurfaceFeature >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3_add1::IfcSurfaceFeature > v6_RelatedSurfaceFeatures); }; /// The aggregation relationship @@ -37723,7 +37723,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -37736,31 +37736,31 @@ public: std::vector< ::Ifc4x3_add1::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_add1::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_add1::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRoad : public IfcFacility { public: IfcRoad() {} - explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_add1::IfcRoadTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRoadTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcRoadTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcRoadPart : public IfcFacilityPart { public: IfcRoadPart() {} - explicit IfcRoadPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcRoadPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add1::IfcRoadPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRoadPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcRoadPartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type @@ -37798,13 +37798,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuiltElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x3_add1::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -37847,30 +37847,30 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; class IFC_PARSE_API IfcSecondOrderPolynomialSpiral : public IfcSpiral { public: IfcSecondOrderPolynomialSpiral() {} - explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double QuadraticTerm() const; void setQuadraticTerm(const double& v); @@ -37879,28 +37879,28 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; class IFC_PARSE_API IfcSegmentedReferenceCurve : public IfcCompositeCurve { public: IfcSegmentedReferenceCurve() {} - explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_add1::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_add1::IfcBoundedCurve& v); ::Ifc4x3_add1::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_add1::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_add1::IfcPlacement v4_EndPoint); }; class IFC_PARSE_API IfcSeventhOrderPolynomialSpiral : public IfcSpiral { public: IfcSeventhOrderPolynomialSpiral() {} - explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double SepticTerm() const; void setSepticTerm(const double& v); @@ -37919,7 +37919,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm); }; /// Definition from IAI: The IfcShadingDeviceType @@ -37946,56 +37946,56 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuiltElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSign : public IfcElementComponent { public: IfcSign() {} - explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_add1::IfcSignTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSignTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSignTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignType : public IfcElementComponentType { public: IfcSignType() {} - explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_add1::IfcSignTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcSignTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSignTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSignalType : public IfcFlowTerminalType { public: IfcSignalType() {} - explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add1::IfcSignalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcSignalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSignalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSineSpiral : public IfcSpiral { public: IfcSineSpiral() {} - explicit IfcSineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double SineTerm() const; void setSineTerm(const double& v); @@ -38004,7 +38004,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -38199,7 +38199,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -38220,7 +38220,7 @@ public: ::Ifc4x3_add1::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x3_add1::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_add1::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -38303,13 +38303,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuiltElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x3_add1::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -38341,12 +38341,12 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; /// A space represents an area or volume @@ -38602,7 +38602,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -38617,7 +38617,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -38653,13 +38653,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -38746,7 +38746,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x3_add1::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -38754,7 +38754,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -38786,13 +38786,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -38818,13 +38818,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuiltElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38863,13 +38863,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuiltElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x3_add1::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -38894,13 +38894,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -38909,14 +38909,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x3_add1::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x3_add1::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -38978,7 +38978,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -38987,7 +38987,7 @@ public: ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -39010,12 +39010,12 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} ::Ifc4x3_add1::IfcDirection AxisDirection() const; void setAxisDirection(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_add1::IfcDirection v9_AxisDirection); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -39058,7 +39058,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -39069,7 +39069,7 @@ public: ::Ifc4x3_add1::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_add1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add1::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -39095,10 +39095,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_add1::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -39154,13 +39154,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -39173,10 +39173,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -39215,7 +39215,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -39235,7 +39235,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -39286,10 +39286,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -39308,13 +39308,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x3_add1::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_add1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_add1::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -39363,10 +39363,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -39376,7 +39376,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -39389,7 +39389,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_add1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -39447,7 +39447,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39456,7 +39456,7 @@ public: ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -39474,10 +39474,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -39507,14 +39507,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -39552,14 +39552,14 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value >& v); std::vector< IfcRelAdheresToElement > AdheresToElement() const; // INVERSE IfcRelAdheresToElement::RelatedSurfaceFeatures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -39605,13 +39605,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -39634,12 +39634,12 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem std::vector< IfcRelReferencedInSpatialStructure > ServicesFacilities() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -39669,12 +39669,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -39712,20 +39712,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x3_add1::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_add1::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTendonTypeEnum::Value >& v); @@ -39744,62 +39744,62 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduit : public IfcReinforcingElement { public: IfcTendonConduit() {} - explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduitType : public IfcReinforcingElementType { public: IfcTendonConduitType() {} - explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_add1::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcTendonTypeEnum::Value& v); @@ -39810,19 +39810,19 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; class IFC_PARSE_API IfcTrackElementType : public IfcBuiltElementType { public: IfcTrackElementType() {} - explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -39855,13 +39855,13 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x3_add1::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTransformerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -39930,23 +39930,23 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcTransportationDeviceType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTransportationDevice : public IfcElement { public: IfcTransportationDevice() {} - explicit IfcTransportationDevice (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportationDevice (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from ISO/CD 10303-42:1992: @@ -40030,7 +40030,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x3_add1::IfcCurve BasisCurve() const; @@ -40048,7 +40048,7 @@ public: ::Ifc4x3_add1::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_add1::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_add1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_add1::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -40083,13 +40083,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -40123,13 +40123,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -40173,49 +40173,49 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x3_add1::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcValveTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVehicle : public IfcTransportationDevice { public: IfcVehicle() {} - explicit IfcVehicle (const std::weak_ptr& data) : IfcTransportationDevice(data) {} + explicit IfcVehicle (const std::weak_ptr& data) : IfcTransportationDevice(data) {} std::optional< ::Ifc4x3_add1::IfcVehicleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVehicleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVehicleTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamper : public IfcElementComponent { public: IfcVibrationDamper() {} - explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamperType : public IfcElementComponentType { public: IfcVibrationDamperType() {} - explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcVibrationDamperTypeEnum::Value v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -40255,12 +40255,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -40288,13 +40288,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -40386,12 +40386,12 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} std::optional< ::Ifc4x3_add1::IfcVirtualElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVirtualElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVirtualElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -40429,13 +40429,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -40525,13 +40525,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuiltElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x3_add1::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -40573,13 +40573,13 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -40706,7 +40706,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuiltElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x3_add1::IfcWindowTypeEnum::Value PredefinedType() const; @@ -40719,7 +40719,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -40738,7 +40738,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -40757,7 +40757,7 @@ public: std::optional< ::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_add1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_add1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_add1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -40807,7 +40807,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -40831,7 +40831,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -40862,14 +40862,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x3_add1::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -40915,14 +40915,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -41013,7 +41013,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -41023,7 +41023,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -41067,7 +41067,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -41089,7 +41089,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -41121,13 +41121,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -41159,12 +41159,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -41196,57 +41196,57 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentCant : public IfcLinearElement { public: IfcAlignmentCant() {} - explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} double RailHeadDistance() const; void setRailHeadDistance(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance); }; class IFC_PARSE_API IfcAlignmentHorizontal : public IfcLinearElement { public: IfcAlignmentHorizontal() {} - explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcAlignmentSegment : public IfcLinearElement { public: IfcAlignmentSegment() {} - explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} ::Ifc4x3_add1::IfcAlignmentParameterSegment DesignParameters() const; void setDesignParameters(const ::Ifc4x3_add1::IfcAlignmentParameterSegment& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcAlignmentParameterSegment v8_DesignParameters); }; class IFC_PARSE_API IfcAlignmentVertical : public IfcLinearElement { public: IfcAlignmentVertical() {} - explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -41276,7 +41276,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -41311,7 +41311,7 @@ public: ::Ifc4x3_add1::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x3_add1::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_add1::IfcCostValue v7_OriginalValue, ::Ifc4x3_add1::IfcCostValue v8_CurrentValue, ::Ifc4x3_add1::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_add1::IfcActorSelect v10_Owner, ::Ifc4x3_add1::IfcActorSelect v11_User, ::Ifc4x3_add1::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_add1::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -41359,13 +41359,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -41420,7 +41420,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -41438,7 +41438,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -41461,7 +41461,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -41473,7 +41473,7 @@ public: ::Ifc4x3_add1::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_add1::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -41577,25 +41577,25 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuiltElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x3_add1::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBearingType : public IfcBuiltElementType { public: IfcBearingType() {} - explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add1::IfcBearingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcBearingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBearingTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -41630,13 +41630,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x3_add1::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -41649,34 +41649,34 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; class IFC_PARSE_API IfcBridge : public IfcFacility { public: IfcBridge() {} - explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_add1::IfcBridgeTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBridgeTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add1::IfcBridgeTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcBridgePart : public IfcFacilityPart { public: IfcBridgePart() {} - explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add1::IfcBridgePartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBridgePartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add1::IfcBridgePartTypeEnum::Value > v11_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -41856,7 +41856,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcFacility { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -41868,7 +41868,7 @@ public: ::Ifc4x3_add1::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x3_add1::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_add1::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: Layers or major components as subordinate @@ -41891,13 +41891,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -41907,13 +41907,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: @@ -41953,13 +41953,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuiltElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -42001,7 +42001,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -42009,31 +42009,31 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; class IFC_PARSE_API IfcBuiltElement : public IfcElement { public: IfcBuiltElement() {} - explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcBuiltSystem : public IfcSystem { public: IfcBuiltSystem() {} - explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} std::optional< ::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value >& v); std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42066,12 +42066,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_add1::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42103,13 +42103,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42147,13 +42147,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42187,13 +42187,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42240,25 +42240,25 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundationType : public IfcDeepFoundationType { public: IfcCaissonFoundationType() {} - explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -42296,13 +42296,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x3_add1::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42349,14 +42349,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuiltElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x3_add1::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42389,23 +42389,23 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add1::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -42438,13 +42438,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x3_add1::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -42721,7 +42721,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuiltElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -42730,7 +42730,7 @@ public: std::optional< ::Ifc4x3_add1::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -42768,13 +42768,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -42807,13 +42807,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x3_add1::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -42846,13 +42846,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x3_add1::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -42880,14 +42880,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -42919,14 +42919,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -42947,26 +42947,26 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegmentType : public IfcFlowSegmentType { public: IfcConveyorSegmentType() {} - explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -43001,13 +43001,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -43046,25 +43046,25 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCourse : public IfcBuiltElement { public: IfcCourse() {} - explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add1::IfcCourseTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCourseTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCourseTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -43294,7 +43294,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuiltElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_add1::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -43302,7 +43302,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -43446,7 +43446,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuiltElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -43455,7 +43455,7 @@ public: std::optional< ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -43495,23 +43495,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x3_add1::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDeepFoundation : public IfcBuiltElement { public: IfcDeepFoundation() {} - explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Representation of different kinds of @@ -43690,13 +43690,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -43890,25 +43890,25 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoardType : public IfcFlowControllerType { public: IfcDistributionBoardType() {} - explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -43951,13 +43951,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -44017,10 +44017,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -44188,11 +44188,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -44266,11 +44266,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -44358,7 +44358,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x3_add1::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -44369,7 +44369,7 @@ public: std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_add1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -44415,7 +44415,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -44426,7 +44426,7 @@ public: std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -44788,7 +44788,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuiltElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -44816,7 +44816,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -44851,13 +44851,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -44892,13 +44892,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -44930,47 +44930,47 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcEarthworksCut : public IfcFeatureElementSubtraction { public: IfcEarthworksCut() {} - explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::optional< ::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcEarthworksElement : public IfcBuiltElement { public: IfcEarthworksElement() {} - explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcEarthworksFill : public IfcEarthworksElement { public: IfcEarthworksFill() {} - explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -45005,13 +45005,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -45044,13 +45044,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -45083,25 +45083,25 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDeviceType : public IfcFlowTreatmentDeviceType { public: IfcElectricFlowTreatmentDeviceType() {} - explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -45139,13 +45139,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -45178,13 +45178,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -45217,13 +45217,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -45238,10 +45238,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -45288,12 +45288,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -45343,12 +45343,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -45418,12 +45418,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -45444,14 +45444,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -45485,13 +45485,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x3_add1::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -45526,13 +45526,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x3_add1::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -45571,13 +45571,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -45592,10 +45592,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -45606,10 +45606,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -45645,13 +45645,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -45737,12 +45737,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -45753,10 +45753,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -45785,10 +45785,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -45803,10 +45803,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -45823,10 +45823,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -45837,10 +45837,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -45868,7 +45868,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuiltElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// The generic type of the footing. /// @@ -45876,17 +45876,17 @@ public: std::optional< ::Ifc4x3_add1::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFootingTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalAssembly : public IfcGeotechnicalElement { public: IfcGeotechnicalAssembly() {} - explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// IfcGrid ia a planar design @@ -45988,7 +45988,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x3_add1::IfcGridAxis > UAxes() const; @@ -46002,7 +46002,7 @@ public: std::optional< ::Ifc4x3_add1::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_add1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_add1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_add1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_add1::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -46058,12 +46058,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -46112,12 +46112,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -46180,12 +46180,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -46257,24 +46257,24 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcKerb : public IfcBuiltElement { public: IfcKerb() {} - explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add1::IfcKerbTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcKerbTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcKerbTypeEnum::Value > v9_PredefinedType); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -46327,12 +46327,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -46404,34 +46404,34 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminal : public IfcFlowTerminal { public: IfcLiquidTerminal() {} - explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -46481,12 +46481,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -46742,7 +46742,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuiltElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -46751,31 +46751,31 @@ public: std::optional< ::Ifc4x3_add1::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMemberTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsAppliance : public IfcFlowTerminal { public: IfcMobileTelecommunicationsAppliance() {} - explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMooringDevice : public IfcBuiltElement { public: IfcMooringDevice() {} - explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -46822,24 +46822,24 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcNavigationElement : public IfcBuiltElement { public: IfcNavigationElement() {} - explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -46850,10 +46850,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -46925,24 +46925,24 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcOutletTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcPavement : public IfcBuiltElement { public: IfcPavement() {} - explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add1::IfcPavementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPavementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPavementTypeEnum::Value > v9_PredefinedType); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -46966,7 +46966,7 @@ public: class IFC_PARSE_API IfcPile : public IfcDeepFoundation { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} /// The predefined generic type of the pile according to function. /// @@ -46979,7 +46979,7 @@ public: std::optional< ::Ifc4x3_add1::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x3_add1::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add1::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -47070,12 +47070,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -47141,12 +47141,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -47380,7 +47380,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuiltElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -47389,7 +47389,7 @@ public: std::optional< ::Ifc4x3_add1::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -47471,12 +47471,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -47522,13 +47522,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -47583,24 +47583,24 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_add1::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcPumpTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcRail : public IfcBuiltElement { public: IfcRail() {} - explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add1::IfcRailTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRailTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -47738,7 +47738,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuiltElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -47746,7 +47746,7 @@ public: std::optional< ::Ifc4x3_add1::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -47885,7 +47885,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuiltElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -47895,7 +47895,7 @@ public: std::optional< ::Ifc4x3_add1::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -48089,7 +48089,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuiltElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -48098,7 +48098,7 @@ public: std::optional< ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -48140,25 +48140,25 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_add1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add1::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_add1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_PARSE_API IfcReinforcedSoil : public IfcEarthworksElement { public: IfcReinforcedSoil() {} - explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48192,7 +48192,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -48206,7 +48206,7 @@ public: std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48228,7 +48228,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -48250,7 +48250,7 @@ public: std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_add1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add1::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -48401,7 +48401,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuiltElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -48409,7 +48409,7 @@ public: std::optional< ::Ifc4x3_add1::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -48541,12 +48541,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -48600,13 +48600,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x3_add1::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -48626,26 +48626,26 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuiltElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignal : public IfcFlowTerminal { public: IfcSignal() {} - explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcSignalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSignalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSignalTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -48911,7 +48911,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuiltElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -48920,7 +48920,7 @@ public: std::optional< ::Ifc4x3_add1::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -48973,12 +48973,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -49046,12 +49046,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -49107,12 +49107,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -49283,7 +49283,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuiltElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -49291,7 +49291,7 @@ public: std::optional< ::Ifc4x3_add1::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -49464,7 +49464,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuiltElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -49490,7 +49490,7 @@ public: std::optional< ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_add1::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -49519,7 +49519,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -49550,7 +49550,7 @@ public: ::Ifc4x3_add1::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x3_add1::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_add1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_add1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_add1::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -49559,7 +49559,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -49569,7 +49569,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -49582,10 +49582,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, ::Ifc4x3_add1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_add1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -49679,12 +49679,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -49750,24 +49750,24 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_add1::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTankTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcTrackElement : public IfcBuiltElement { public: IfcTrackElement() {} - explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTrackElementTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -49815,12 +49815,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: Generalization of all transport @@ -49942,7 +49942,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcTransportationDevice { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcTransportationDevice(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcTransportationDevice(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -49950,7 +49950,7 @@ public: std::optional< ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTransportElementTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -50003,12 +50003,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -50040,13 +50040,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -50124,12 +50124,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -50321,12 +50321,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add1::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -50574,7 +50574,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuiltElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -50583,7 +50583,7 @@ public: std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -50791,10 +50791,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -50904,12 +50904,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -51273,7 +51273,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuiltElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -51301,7 +51301,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -51338,13 +51338,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x3_add1::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -51407,12 +51407,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -51460,12 +51460,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -51516,12 +51516,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -51553,25 +51553,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x3_add1::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x3_add1::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add1::IfcAlignmentTypeEnum::Value > v8_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -51755,12 +51755,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -52003,7 +52003,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuiltElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -52012,19 +52012,19 @@ public: std::optional< ::Ifc4x3_add1::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBeamTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBearing : public IfcBuiltElement { public: IfcBearing() {} - explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add1::IfcBearingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBearingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBearingTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -52099,22 +52099,22 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBorehole : public IfcGeotechnicalAssembly { public: IfcBorehole() {} - explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -52310,12 +52310,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuiltElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -52362,12 +52362,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -52434,13 +52434,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -52505,13 +52505,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -52591,13 +52591,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -52690,25 +52690,25 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundation : public IfcDeepFoundation { public: IfcCaissonFoundation() {} - explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} std::optional< ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -52783,12 +52783,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -52860,12 +52860,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -52973,12 +52973,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -53030,12 +53030,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_add1::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -53107,12 +53107,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -53154,25 +53154,25 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x3_add1::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add1::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add1::IfcControllerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegment : public IfcFlowSegment { public: IfcConveyorSegment() {} - explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -53227,12 +53227,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -53295,12 +53295,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -53377,24 +53377,24 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add1::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoard : public IfcFlowController { public: IfcDistributionBoard() {} - explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -53431,22 +53431,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add1::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -53530,11 +53530,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -53615,12 +53615,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -53675,12 +53675,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -53728,12 +53728,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -53837,12 +53837,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -53905,12 +53905,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -53957,24 +53957,24 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDevice : public IfcFlowTreatmentDevice { public: IfcElectricFlowTreatmentDevice() {} - explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -54027,12 +54027,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -54079,12 +54079,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -54131,12 +54131,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -54196,12 +54196,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_add1::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -54294,12 +54294,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_add1::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -54371,12 +54371,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -54434,32 +54434,32 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeomodel : public IfcGeotechnicalAssembly { public: IfcGeomodel() {} - explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeoslice : public IfcGeotechnicalAssembly { public: IfcGeoslice() {} - explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Entity Definition @@ -54517,12 +54517,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -54662,12 +54662,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add1::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -54728,12 +54728,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -54801,12 +54801,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add1::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -54854,12 +54854,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add1::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -54971,12 +54971,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add1::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add1::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add1::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x3_add2-schema.cpp b/src/ifcparse/schemas/Ifc4x3_add2-schema.cpp index 91da50e48d..df7af93bd7 100644 --- a/src/ifcparse/schemas/Ifc4x3_add2-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x3_add2-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x3_add2.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X3_ADD2_types[1312] = {nullptr}; -IfcParse::schema_definition* IFC4X3_ADD2_populate_schema() { +ifcopenshell::schema_definition* IFC4X3_ADD2_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"BRAKES"s,"BUOYANCY"s,"COMPLETION_G1"s,"CREEP"s,"CURRENT"s,"DEAD_LOAD_G"s,"EARTHQUAKE_E"s,"ERECTION"s,"FIRE"s,"ICE"s,"IMPACT"s,"IMPULSE"s,"LACK_OF_FIT"s,"LIVE_LOAD_Q"s,"PRESTRESSING_P"s,"PROPPING"s,"RAIN"s,"SETTLEMENT_U"s,"SHRINKAGE"s,"SNOW_S"s,"SYSTEM_IMPERFECTION"s,"TEMPERATURE_T"s,"TRANSPORT"s,"WAVE"s,"WIND_W"s,"IfcActionTypeEnum"s,"EXTRAORDINARY_A"s,"PERMANENT_G"s,"VARIABLE_Q"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"DISTRIBUTIONPOINT"s,"HOME"s,"OFFICE"s,"SITE"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"HEATPIPE"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"RAILWAYCROCODILE"s,"RAILWAYDETONATOR"s,"SIREN"s,"WHISTLE"s,"IfcAlignmentCantSegmentTypeEnum"s,"BLOSSCURVE"s,"CONSTANTCANT"s,"COSINECURVE"s,"HELMERTCURVE"s,"LINEARTRANSITION"s,"SINECURVE"s,"VIENNESEBEND"s,"IfcAlignmentHorizontalSegmentTypeEnum"s,"CIRCULARARC"s,"CLOTHOID"s,"CUBIC"s,"LINE"s,"IfcAlignmentTypeEnum"s,"IfcAlignmentVerticalSegmentTypeEnum"s,"CONSTANTGRADIENT"s,"PARABOLICARC"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"LOADING_3D"s,"OUT_PLANE_LOADING_2D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAnnotationTypeEnum"s,"CONTOURLINE"s,"DIMENSION"s,"ISOBAR"s,"ISOLUX"s,"ISOTHERM"s,"LEADER"s,"SURVEY"s,"SYMBOL"s,"TEXT"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MODULO"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"COMMUNICATIONTERMINAL"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"RECORDINGEQUIPMENT"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"IfcBSplineCurveForm"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"HYPERBOLIC_ARC"s,"PARABOLIC_ARC"s,"POLYLINE_FORM"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"CONICAL_SURF"s,"CYLINDRICAL_SURF"s,"GENERALISED_CONE"s,"PLANE_SURF"s,"QUADRIC_SURF"s,"RULED_SURF"s,"SPHERICAL_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"SURF_OF_REVOLUTION"s,"TOROIDAL_SURF"s,"IfcBeamTypeEnum"s,"BEAM"s,"CORNICE"s,"DIAPHRAGM"s,"EDGEBEAM"s,"GIRDER_SEGMENT"s,"HATSTONE"s,"HOLLOWCORE"s,"JOIST"s,"LINTEL"s,"PIERCAP"s,"SPANDREL"s,"T_BEAM"s,"IfcBearingTypeEnum"s,"CYLINDRICAL"s,"DISK"s,"ELASTOMERIC"s,"GUIDE"s,"POT"s,"ROCKER"s,"ROLLER"s,"SPHERICAL"s,"IfcBenchmarkEnum"s,"EQUALTO"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"INCLUDEDIN"s,"INCLUDES"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"NOTEQUALTO"s,"NOTINCLUDEDIN"s,"NOTINCLUDES"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"STEAM"s,"WATER"s,"IfcBoolean"s,"IfcBooleanOperator"s,"DIFFERENCE"s,"INTERSECTION"s,"UNION"s,"IfcBridgePartTypeEnum"s,"ABUTMENT"s,"DECK"s,"DECK_SEGMENT"s,"FOUNDATION"s,"PIER"s,"PIER_SEGMENT"s,"PYLON"s,"SUBSTRUCTURE"s,"SUPERSTRUCTURE"s,"SURFACESTRUCTURE"s,"IfcBridgeTypeEnum"s,"ARCHED"s,"CABLE_STAYED"s,"CANTILEVER"s,"CULVERT"s,"FRAMEWORK"s,"GIRDER"s,"SUSPENSION"s,"TRUSS"s,"IfcBuildingElementPartTypeEnum"s,"APRON"s,"ARMOURUNIT"s,"INSULATION"s,"PRECASTPANEL"s,"SAFETYCAGE"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORSPACE"s,"PROVISIONFORVOID"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"IfcBuiltSystemTypeEnum"s,"EROSIONPREVENTION"s,"MOORING"s,"PRESTRESSING"s,"RAILWAYLINE"s,"RAILWAYTRACK"s,"REINFORCING"s,"TRACKCIRCUIT"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CONNECTOR"s,"CROSS"s,"JUNCTION"s,"REDUCER"s,"TEE"s,"TRANSITION"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLEBRACKET"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CATENARYWIRE"s,"CONDUITSEGMENT"s,"DROPPER"s,"IfcCableFittingTypeEnum"s,"ENTRY"s,"EXIT"s,"FANOUT"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CONTACTWIRESEGMENT"s,"CORESEGMENT"s,"FIBERSEGMENT"s,"FIBERTUBE"s,"OPTICALCABLESEGMENT"s,"STITCHWIRE"s,"WIREPAIRSEGMENT"s,"IfcCaissonFoundationTypeEnum"s,"CAISSON"s,"WELL"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"ADDED"s,"DELETED"s,"MODIFIED"s,"NOCHANGE"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"HEATRECOVERY"s,"WATERCOOLED"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PIERSTEM"s,"PIERSTEM_SEGMENT"s,"PILASTER"s,"STANDCOLUMN"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"AUTOMATON"s,"COMPUTER"s,"GATEWAY"s,"INTELLIGENTPERIPHERAL"s,"IPNETWORKEQUIPMENT"s,"LINESIDEELECTRONICUNIT"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"OPTICALLINETERMINAL"s,"OPTICALNETWORKUNIT"s,"PRINTER"s,"RADIOBLOCKCENTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"TELECOMMAND"s,"TELEPHONYEXCHANGE"s,"TRANSITIONCOMPONENT"s,"TRANSPONDER"s,"TRANSPORTEQUIPMENT"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"BOOSTER"s,"DYNAMIC"s,"HERMETIC"s,"OPENTYPE"s,"RECIPROCATING"s,"ROLLINGPISTON"s,"ROTARY"s,"ROTARYVANE"s,"SCROLL"s,"SEMIHERMETIC"s,"SINGLESCREW"s,"SINGLESTAGE"s,"TROCHOIDAL"s,"TWINSCREW"s,"WELDEDSHELLHERMETIC"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATEND"s,"ATPATH"s,"ATSTART"s,"IfcConstraintEnum"s,"ADVISORY"s,"HARD"s,"SOFT"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"MULTIPOSITION"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"TWOPOSITION"s,"IfcConveyorSegmentTypeEnum"s,"BELTCONVEYOR"s,"BUCKETCONVEYOR"s,"CHUTECONVEYOR"s,"SCREWCONVEYOR"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"MECHANICALFORCEDDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"NATURALDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"PRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"TENDER"s,"UNPRICEDBILLOFQUANTITIES"s,"IfcCountMeasure"s,"IfcCourseTypeEnum"s,"ARMOUR"s,"BALLASTBED"s,"CORE"s,"FILTER"s,"PAVEMENT"s,"PROTECTION"s,"IfcCoveringTypeEnum"s,"CEILING"s,"CLADDING"s,"COPING"s,"FLOORING"s,"MEMBRANE"s,"MOLDING"s,"ROOFING"s,"SKIRTINGBOARD"s,"SLEEVING"s,"TOPPING"s,"WRAPPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ACCELERATIONUNIT"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"CURVATUREUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"HEATINGVALUEUNIT"s,"INTEGERCOUNTRATEUNIT"s,"IONCONCENTRATIONUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARFORCEUNIT"s,"LINEARMOMENTUNIT"s,"LINEARSTIFFNESSUNIT"s,"LINEARVELOCITYUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFELASTICITYUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"MOMENTOFINERTIAUNIT"s,"PHUNIT"s,"PLANARFORCEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"ROTATIONALMASSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SHEARMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"TORQUEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"NEGATIVE"s,"POSITIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BIRDPROTECTION"s,"BRACKET"s,"CABLEARRANGER"s,"ELASTIC_CUSHION"s,"EXPANSION_JOINT_DEVICE"s,"FILLER"s,"FLASHING"s,"INSULATOR"s,"LOCK"s,"PANEL_STRENGTHENING"s,"POINTMACHINEMOUNTINGDEVICE"s,"POINT_MACHINE_LOCKING_DEVICE"s,"RAILBRACE"s,"RAILPAD"s,"RAIL_LUBRICATION"s,"RAIL_MECHANICAL_EQUIPMENT"s,"SHOE"s,"SLIDINGCHAIR"s,"SOUNDABSORPTION"s,"TENSIONINGEQUIPMENT"s,"IfcDistributionBoardTypeEnum"s,"CONSUMERUNIT"s,"DISPATCHINGBOARD"s,"DISTRIBUTIONBOARD"s,"DISTRIBUTIONFRAME"s,"MOTORCONTROLCENTRE"s,"SWITCHBOARD"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"WIRELESS"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CATENARY_SYSTEM"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"FIXEDTRANSMISSIONNETWORK"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MOBILENETWORK"s,"MONITORINGSYSTEM"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"OPERATIONALTELEPHONYSYSTEM"s,"OVERHEAD_CONTACTLINE_SYSTEM"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"RETURN_CIRCUIT"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"IfcDocumentConfidentialityEnum"s,"CONFIDENTIAL"s,"PERSONAL"s,"PUBLIC"s,"RESTRICTED"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINAL"s,"FINALDRAFT"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"DOUBLE_ACTING"s,"FIXEDPANEL"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"SLIDING"s,"SWINGING"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorTypeEnum"s,"BOOM_BARRIER"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"TURNSTILE"s,"IfcDoorTypeOperationEnum"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"DOUBLE_DOOR_FOLDING"s,"DOUBLE_DOOR_LIFTING_VERTICAL"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"LIFTING_HORIZONTAL"s,"LIFTING_VERTICAL_LEFT"s,"LIFTING_VERTICAL_RIGHT"s,"REVOLVING_VERTICAL"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"FLEXIBLESEGMENT"s,"RIGIDSEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcEarthworksCutTypeEnum"s,"BASE_EXCAVATION"s,"CUT"s,"DREDGING"s,"EXCAVATION"s,"OVEREXCAVATION"s,"PAVEMENTMILLING"s,"STEPEXCAVATION"s,"TOPSOILREMOVAL"s,"IfcEarthworksFillTypeEnum"s,"BACKFILL"s,"COUNTERWEIGHT"s,"EMBANKMENT"s,"SLOPEFILL"s,"SUBGRADE"s,"SUBGRADEBED"s,"TRANSITIONSECTION"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERCOOLER"s,"FREESTANDINGWATERHEATER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITOR"s,"CAPACITORBANK"s,"COMPENSATOR"s,"HARMONICFILTER"s,"INDUCTOR"s,"INDUCTORBANK"s,"RECHARGER"s,"UPS"s,"IfcElectricFlowTreatmentDeviceTypeEnum"s,"ELECTRONICFILTER"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"RELAY"s,"TIMECLOCK"s,"TIMEDELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"CROSS_BRACING"s,"DILATATIONPANEL"s,"ENTRANCEWORKS"s,"GRID"s,"MAST"s,"RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SHELTER"s,"SIGNALASSEMBLY"s,"SLAB_FIELD"s,"SUMPBUSTER"s,"SUPPORTINGASSEMBLY"s,"SUSPENSIONASSEMBLY"s,"TRACKPANEL"s,"TRACTION_SWITCHING_ASSEMBLY"s,"TRAFFIC_CALMING_DEVICE"s,"TURNOUTPANEL"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVEAIRWASHER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTCOMPLEX"s,"EVENTMESSAGE"s,"EVENTRULE"s,"EVENTTIME"s,"IfcEventTypeEnum"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"STARTEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_FIRE"s,"EXTERNAL_WATER"s,"IfcFacilityPartCommonTypeEnum"s,"ABOVEGROUND"s,"BELOWGROUND"s,"LEVELCROSSING"s,"SEGMENT"s,"TERMINAL"s,"IfcFacilityUsageEnum"s,"LATERAL"s,"LONGITUDINAL"s,"REGION"s,"VERTICAL"s,"IfcFanTypeEnum"s,"CENTRIFUGALAIRFOIL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"PROPELLORAXIAL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"FIREMONITOR"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SINK"s,"SOURCE"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"AMMETER"s,"COMBINED"s,"FREQUENCYMETER"s,"PHASEANGLEMETER"s,"POWERFACTORMETER"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"VOLTMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"BED"s,"CHAIR"s,"DESK"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"TABLE"s,"TECHNICALCABINET"s,"IfcGeographicElementTypeEnum"s,"SOIL_BORING_POINT"s,"TERRAIN"s,"VEGETATION"s,"IfcGeometricProjectionEnum"s,"ELEVATION_VIEW"s,"GRAPH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"SKETCH_VIEW"s,"IfcGeotechnicalStratumTypeEnum"s,"SOLID"s,"VOID"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"IRREGULAR"s,"RADIAL"s,"TRIANGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"TURNOUTHEATING"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"ADIABATICAIRWASHER"s,"ADIABATICATOMIZING"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ADIABATICPAN"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICULTRASONIC"s,"ADIABATICWETTEDELEMENT"s,"ASSISTEDBUTANE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDSTEAM"s,"STEAMINJECTION"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcImpactProtectionDeviceTypeEnum"s,"BUMPER"s,"CRASHCUSHION"s,"DAMPINGSYSTEM"s,"FENDER"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"FURNITUREINVENTORY"s,"SPACEINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKerbTypeEnum"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"PIECEWISE_BEZIER_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"UNIFORM_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"DIRECTIONSOURCE"s,"POINTSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLiquidTerminalTypeEnum"s,"LOADINGARM"s,"IfcLoadGroupTypeEnum"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"LOAD_GROUP"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"LOGICALOR"s,"LOGICALXOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMarineFacilityTypeEnum"s,"BARRIERBEACH"s,"BREAKWATER"s,"CANAL"s,"DRYDOCK"s,"FLOATINGDOCK"s,"HYDROLIFT"s,"JETTY"s,"LAUNCHRECOVERY"s,"MARINEDEFENCE"s,"NAVIGATIONALCHANNEL"s,"PORT"s,"QUAY"s,"REVETMENT"s,"SHIPLIFT"s,"SHIPLOCK"s,"SHIPYARD"s,"SLIPWAY"s,"WATERWAY"s,"WATERWAYSHIPLIFT"s,"IfcMarinePartTypeEnum"s,"ABOVEWATERLINE"s,"ANCHORAGE"s,"APPROACHCHANNEL"s,"BELOWWATERLINE"s,"BERTHINGSTRUCTURE"s,"CHAMBER"s,"CILL_LEVEL"s,"COPELEVEL"s,"CREST"s,"GATEHEAD"s,"GUDINGSTRUCTURE"s,"HIGHWATERLINE"s,"LANDFIELD"s,"LEEWARDSIDE"s,"LOWWATERLINE"s,"MANUFACTURING"s,"NAVIGATIONALAREA"s,"SHIPTRANSFER"s,"STORAGEAREA"s,"VEHICLESERVICING"s,"WATERFIELD"s,"WEATHERSIDE"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"CHAIN"s,"COUPLER"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RAILFASTENING"s,"RAILJOINT"s,"RIVET"s,"ROPE"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"ARCH_SEGMENT"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STAY_CABLE"s,"STIFFENING_RIB"s,"STRINGER"s,"STRUCTURALCABLE"s,"STRUT"s,"STUD"s,"SUSPENDER"s,"SUSPENSION_CABLE"s,"TIEBAR"s,"IfcMobileTelecommunicationsApplianceTypeEnum"s,"ACCESSPOINT"s,"BASEBANDUNIT"s,"BASETRANSCEIVERSTATION"s,"E_UTRAN_NODE_B"s,"GATEWAY_GPRS_SUPPORT_NODE"s,"MASTERUNIT"s,"MOBILESWITCHINGCENTER"s,"MSCSERVER"s,"PACKETCONTROLUNIT"s,"REMOTERADIOUNIT"s,"REMOTEUNIT"s,"SERVICE_GPRS_SUPPORT_NODE"s,"SUBSCRIBERSERVER"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMooringDeviceTypeEnum"s,"BOLLARD"s,"LINETENSIONER"s,"MAGNETICDEVICE"s,"MOORINGHOOKS"s,"VACUUMDEVICE"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNavigationElementTypeEnum"s,"BEACON"s,"BUOY"s,"IfcNonNegativeLengthMeasure"s,"IfcNumericMeasure"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"DATAOUTLET"s,"POWEROUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPavementTypeEnum"s,"FLEXIBLE"s,"RIGID"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"COHESION"s,"DRIVEN"s,"FRICTION"s,"JETGROUTING"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"BASE_PLATE"s,"COVER_PLATE"s,"CURTAIN_PANEL"s,"FLANGE_PLATE"s,"GUSSET_PLATE"s,"SHEET"s,"SPLICE_PLATE"s,"STIFFENER_PLATE"s,"WEB_PLATE"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"AREA"s,"CURVE"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"BLISTER"s,"DEVIATOR"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_MATERIALDRIVEN"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"PSET_PROFILEDRIVEN"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTROMAGNETIC"s,"ELECTRONIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"ANTI_ARCING_DEVICE"s,"CIRCUITBREAKER"s,"EARTHINGSWITCH"s,"EARTHLEAKAGECIRCUITBREAKER"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"SPARKGAP"s,"VARISTOR"s,"VOLTAGELIMITER"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailTypeEnum"s,"BLADE"s,"CHECKRAIL"s,"GUARDRAIL"s,"RACKRAIL"s,"RAIL"s,"STOCKRAIL"s,"IfcRailingTypeEnum"s,"BALUSTRADE"s,"FENCE"s,"HANDRAIL"s,"IfcRailwayPartTypeEnum"s,"ABOVETRACK"s,"DILATIONTRACK"s,"LINESIDE"s,"LINESIDEPART"s,"PLAINTRACK"s,"TRACK"s,"TRACKPART"s,"TURNOUTTRACK"s,"IfcRailwayTypeEnum"s,"IfcRampFlightTypeEnum"s,"SPIRAL"s,"STRAIGHT"s,"IfcRampTypeEnum"s,"HALF_TURN_RAMP"s,"QUARTER_TURN_RAMP"s,"SPIRAL_RAMP"s,"STRAIGHT_RUN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"DAILY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"WEEKLY"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"BOUNDARY"s,"KILOPOINT"s,"LANDMARK"s,"MILEPOINT"s,"POSITION"s,"REFERENCEMARKER"s,"STATION"s,"SUPERELEVATIONEVENT"s,"WIDTHEVENT"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcedSoilTypeEnum"s,"DYNAMICALLYCOMPACTED"s,"GROUTED"s,"REPLACED"s,"ROLLERCOMPACTED"s,"SURCHARGEPRELOADED"s,"VERTICALLYDRAINED"s,"IfcReinforcingBarRoleEnum"s,"ANCHORING"s,"EDGE"s,"LIGATURE"s,"MAIN"s,"PUNCHING"s,"RING"s,"SHEAR"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"SPACEBAR"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoadPartTypeEnum"s,"BICYCLECROSSING"s,"BUS_STOP"s,"CARRIAGEWAY"s,"CENTRALISLAND"s,"CENTRALRESERVE"s,"HARDSHOULDER"s,"LAYBY"s,"PARKINGBAY"s,"PASSINGBAY"s,"PEDESTRIAN_CROSSING"s,"RAILWAYCROSSING"s,"REFUGEISLAND"s,"ROADSEGMENT"s,"ROADSIDE"s,"ROADSIDEPART"s,"ROADWAYPLATEAU"s,"ROUNDABOUT"s,"SHOULDER"s,"SIDEWALK"s,"SOFTSHOULDER"s,"TOLLPLAZA"s,"TRAFFICISLAND"s,"TRAFFICLANE"s,"IfcRoadTypeEnum"s,"IfcRoleEnum"s,"ARCHITECT"s,"BUILDINGOPERATOR"s,"BUILDINGOWNER"s,"CIVILENGINEER"s,"CLIENT"s,"COMMISSIONINGENGINEER"s,"CONSTRUCTIONMANAGER"s,"CONSULTANT"s,"CONTRACTOR"s,"COSTENGINEER"s,"ELECTRICALENGINEER"s,"ENGINEER"s,"FACILITIESMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"MANUFACTURER"s,"MECHANICALENGINEER"s,"PROJECTMANAGER"s,"RESELLER"s,"STRUCTURALENGINEER"s,"SUBCONTRACTOR"s,"SUPPLIER"s,"IfcRoofTypeEnum"s,"BARREL_ROOF"s,"BUTTERFLY_ROOF"s,"DOME_ROOF"s,"FLAT_ROOF"s,"FREEFORM"s,"GABLE_ROOF"s,"GAMBREL_ROOF"s,"HIPPED_GABLE_ROOF"s,"HIP_ROOF"s,"MANSARD_ROOF"s,"PAVILION_ROOF"s,"RAINBOW_ROOF"s,"SHED_ROOF"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"ATTO"s,"CENTI"s,"DECA"s,"DECI"s,"EXA"s,"FEMTO"s,"GIGA"s,"HECTO"s,"KILO"s,"MEGA"s,"MICRO"s,"MILLI"s,"NANO"s,"PETA"s,"PICO"s,"TERA"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SANITARYFOUNTAIN"s,"SHOWER"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"TAPERED"s,"UNIFORM"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"COSENSOR"s,"EARTHQUAKESENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FOREIGNOBJECTDETECTIONSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"OBSTACLESENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"RAINSENSOR"s,"SMOKESENSOR"s,"SNOWDEPTHSENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"TRAINSENSOR"s,"TURNOUTCLOSURESENSOR"s,"WHEELSENSOR"s,"WINDSENSOR"s,"IfcSequenceEnum"s,"FINISH_FINISH"s,"FINISH_START"s,"START_FINISH"s,"START_START"s,"IfcShadingDeviceTypeEnum"s,"AWNING"s,"JALOUSIE"s,"SHUTTER"s,"IfcShearModulusMeasure"s,"IfcSignTypeEnum"s,"MARKER"s,"PICTORAL"s,"IfcSignalTypeEnum"s,"AUDIO"s,"MIXED"s,"VISUAL"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_BOUNDEDVALUE"s,"P_ENUMERATEDVALUE"s,"P_LISTVALUE"s,"P_REFERENCEVALUE"s,"P_SINGLEVALUE"s,"P_TABLEVALUE"s,"Q_AREA"s,"Q_COUNT"s,"Q_LENGTH"s,"Q_NUMBER"s,"Q_TIME"s,"Q_VOLUME"s,"Q_WEIGHT"s,"IfcSlabTypeEnum"s,"APPROACH_SLAB"s,"BASESLAB"s,"FLOOR"s,"LANDING"s,"ROOF"s,"TRACKSLAB"s,"WEARING"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"BERTH"s,"GFA"s,"PARKING"s,"SPACE"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"INTERFERENCE"s,"OCCUPANCY"s,"RESERVATION"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"CURVED"s,"WINDER"s,"IfcStairTypeEnum"s,"CURVED_RUN_STAIR"s,"DOUBLE_RETURN_STAIR"s,"HALF_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"LADDER"s,"QUARTER_TURN_STAIR"s,"QUARTER_WINDING_STAIR"s,"SPIRAL_STAIR"s,"STRAIGHT_RUN_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"IfcStateEnum"s,"LOCKED"s,"READONLY"s,"READONLYLOCKED"s,"READWRITE"s,"READWRITELOCKED"s,"IfcStrippedOptional"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"DISCRETE"s,"EQUIDISTANT"s,"PARABOLA"s,"POLYGONAL"s,"SINUS"s,"IfcStructuralCurveMemberTypeEnum"s,"COMPRESSION_MEMBER"s,"PIN_JOINED_MEMBER"s,"RIGID_JOINED_MEMBER"s,"TENSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"DEFECT"s,"HATCHMARKING"s,"LINEMARKING"s,"MARK"s,"NONSKIDSURFACING"s,"PAVEMENTSURFACEMARKING"s,"RUMBLESTRIP"s,"SYMBOLMARKING"s,"TAG"s,"TRANSVERSERUMBLESTRIP"s,"TREATMENT"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"START_AND_STOP_EQUIPMENT"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"SUBRACK"s,"WORKSURFACE"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"OILRETENTIONTRAY"s,"PRESSUREVESSEL"s,"STORAGE"s,"VESSEL"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ADJUSTMENT"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"EMERGENCY"s,"INSPECTION"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"SAFETY"s,"TESTING"s,"TROUBLESHOOTING"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonConduitTypeEnum"s,"DIABOLO"s,"GROUTING_DUCT"s,"TRUMPET"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"DOWN"s,"UP"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTrackElementTypeEnum"s,"BLOCKINGDEVICE"s,"DERAILER"s,"FROG"s,"HALF_SET_OF_BLADES"s,"SLEEPER"s,"SPEEDREGULATOR"s,"TRACKENDOFALIGNMENT"s,"VEHICLESTOP"s,"IfcTransformerTypeEnum"s,"CHOPPER"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"IfcTransitionCode"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"DISCONTINUOUS"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementTypeEnum"s,"CRANEWAY"s,"ELEVATOR"s,"ESCALATOR"s,"HAULINGGEAR"s,"LIFTINGGEAR"s,"MOVINGWALKWAY"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"BASESTATIONCONTROLLER"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"HUMIDISTAT"s,"INDICATORPANEL"s,"MIMICPANEL"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRCONDITIONINGUNIT"s,"AIRHANDLER"s,"DEHUMIDIFIER"s,"ROOFTOPUNIT"s,"SPLITSYSTEM"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"DRAWOFFCOCK"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVehicleTypeEnum"s,"CARGO"s,"ROLLINGSTOCK"s,"VEHICLE"s,"VEHICLEAIR"s,"VEHICLEMARINE"s,"VEHICLETRACKED"s,"VEHICLEWHEELED"s,"IfcVibrationDamperTypeEnum"s,"AXIAL_YIELD"s,"BENDING_YIELD"s,"RUBBER"s,"SHEAR_YIELD"s,"VISCOUS"s,"IfcVibrationIsolatorTypeEnum"s,"BASE"s,"COMPRESSION"s,"SPRING"s,"IfcVirtualElementTypeEnum"s,"CLEARANCE"s,"IfcVoidingFeatureTypeEnum"s,"CHAMFER"s,"CUTOUT"s,"HOLE"s,"MITER"s,"NOTCH"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"ELEMENTEDWALL"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"RETAININGWALL"s,"SOLIDWALL"s,"STANDARD"s,"WAVEWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWellKnownTextLiteral"s,"IfcWindowPanelOperationEnum"s,"BOTTOMHUNG"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"REMOVABLECASEMENT"s,"SIDEHUNGLEFTHAND"s,"SIDEHUNGRIGHTHAND"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"TILTANDTURNLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TOPHUNG"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowTypeEnum"s,"LIGHTDOME"s,"SKYLIGHT"s,"WINDOW"s,"IfcWindowTypePartitioningEnum"s,"DOUBLE_PANEL_HORIZONTAL"s,"DOUBLE_PANEL_VERTICAL"s,"SINGLE_PANEL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_VERTICAL"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcAlignmentParameterSegment"s,"IfcAlignmentVerticalSegment"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGeographicCRS"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMapConversionScaled"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityNumber"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRigidOperation"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureCoordinateIndices"s,"IfcTextureCoordinateIndicesWithVoids"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWellKnownText"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcCurveMeasureSelect"s,"IfcDerivedMeasureValue"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcAlignmentCantSegment"s,"IfcAlignmentHorizontalSegment"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenCrossProfileDef"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointByDistanceExpression"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcSegment"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcAxis2PlacementLinear"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcCurveSegment"s,"IfcDirection"s,"IfcDirectrixCurveSweptAreaSolid"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcIndexedPolygonalTextureMap"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPolynomialCurve"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelAssociatesProfileDef"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelPositions"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSectionedSurface"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcSpiral"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcThirdOrderPolynomialSpiral"s,"IfcToroidalSurface"s,"IfcTransportationDeviceType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcVehicleType"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuildingStorey"s,"IfcBuiltElementType"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcClothoid"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCosineSpiral"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCourseType"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCylindricalSurface"s,"IfcDeepFoundationType"s,"IfcDirectrixDerivedReferenceSweptAreaSolid"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFacility"s,"IfcFacilityPart"s,"IfcFacilityPartCommon"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGeotechnicalElement"s,"IfcGeotechnicalStratum"s,"IfcGradientCurve"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcImpactProtectionDevice"s,"IfcImpactProtectionDeviceType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcKerbType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLinearElement"s,"IfcLiquidTerminalType"s,"IfcMarineFacility"s,"IfcMarinePart"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMobileTelecommunicationsApplianceType"s,"IfcMooringDeviceType"s,"IfcMotorConnectionType"s,"IfcNavigationElementType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOutletType"s,"IfcPavementType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailType"s,"IfcRailingType"s,"IfcRailway"s,"IfcRailwayPart"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAdheresToElement"s,"IfcRelAggregates"s,"IfcRoad"s,"IfcRoadPart"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcSecondOrderPolynomialSpiral"s,"IfcSegmentedReferenceCurve"s,"IfcSeventhOrderPolynomialSpiral"s,"IfcShadingDeviceType"s,"IfcSign"s,"IfcSignType"s,"IfcSignalType"s,"IfcSineSpiral"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonConduit"s,"IfcTendonConduitType"s,"IfcTendonType"s,"IfcTrackElementType"s,"IfcTransformerType"s,"IfcTransportElementType"s,"IfcTransportationDevice"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVehicle"s,"IfcVibrationDamper"s,"IfcVibrationDamperType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcInterferenceSelect"s,"IfcSpatialReferenceSelect"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignmentCant"s,"IfcAlignmentHorizontal"s,"IfcAlignmentSegment"s,"IfcAlignmentVertical"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBearingType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBridge"s,"IfcBridgePart"s,"IfcBuilding"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBuiltElement"s,"IfcBuiltSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcCaissonFoundationType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcConveyorSegmentType"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCourse"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDeepFoundation"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionBoardType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcEarthworksCut"s,"IfcEarthworksElement"s,"IfcEarthworksFill"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricFlowTreatmentDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGeotechnicalAssembly"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcKerb"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcLiquidTerminal"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMobileTelecommunicationsAppliance"s,"IfcMooringDevice"s,"IfcMotorConnection"s,"IfcNavigationElement"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPavement"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRail"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcedSoil"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSignal"s,"IfcSlab"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTrackElement"s,"IfcTransformer"s,"IfcTransportElement"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBearing"s,"IfcBoiler"s,"IfcBorehole"s,"IfcBuildingElementProxy"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcCaissonFoundation"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcConveyorSegment"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionBoard"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricFlowTreatmentDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcGeomodel"s,"IfcGeoslice"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"RailHeadDistance"s,"StartDistAlong"s,"HorizontalLength"s,"StartCantLeft"s,"EndCantLeft"s,"StartCantRight"s,"EndCantRight"s,"StartPoint"s,"StartDirection"s,"StartRadiusOfCurvature"s,"EndRadiusOfCurvature"s,"SegmentLength"s,"GravityCenterLineHeight"s,"StartTag"s,"EndTag"s,"DesignParameters"s,"StartHeight"s,"StartGradient"s,"EndGradient"s,"RadiusOfCurvature"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"Radius"s,"Source"s,"Edition"s,"EditionDate"s,"Specification"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"ClothoidConstant"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Segments"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"CosineTerm"s,"ConstantTerm"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"Placement"s,"SegmentStart"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveStyleFont"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"Directrix"s,"StartParam"s,"EndParam"s,"FlowDirection"s,"SystemType"s,"Location"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ParameterTakesPrecedence"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"Tag"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"UsageType"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"FixedReference"s,"PrimeMeridian"s,"AngleUnit"s,"HeightUnit"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"BaseCurve"s,"EndPoint"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"RelativePlacement"s,"CartesianPosition"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"FactorX"s,"FactorY"s,"FactorZ"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"MaterialExpression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"PlacementRelTo"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Distance"s,"HorizontalWidths"s,"Widths"s,"Slopes"s,"Tags"s,"OffsetPoint"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"ConstructionType"s,"Height"s,"ColourComponents"s,"Pixel"s,"SizeInX"s,"SizeInY"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"CoefficientsX"s,"CoefficientsY"s,"CoefficientsZ"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"VerticalDatum"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"Expression"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"NumberValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingElement"s,"RelatedSurfaceFeatures"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"RelatingProfileDef"s,"ConnectionGeometry"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceType"s,"ImpliedOrder"s,"InterferenceSpace"s,"RelatingPositioningElement"s,"RelatedProducts"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"FirstCoordinate"s,"SecondCoordinate"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"QuadraticTerm"s,"LinearTerm"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"SpineCurve"s,"Transition"s,"SepticTerm"s,"SexticTerm"s,"QuinticTerm"s,"QuarticTerm"s,"CubicTerm"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"SineTerm"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"AxisDirection"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"Styles"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"TexCoordsOf"s,"InnerTexCoordIndices"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"WellKnownText"s,"CoordinateReferenceSystem"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"StartDate"s,"FinishDate"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"HasSurfaceFeatures"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ReferencedInStructures"s,"ToFaceSet"s,"HasTexCoords"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"ReferencedByPlacements"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"Positions"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"PositionedRelativeTo"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"UsingCurves"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"AdheresToElement"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"ServicesFacilities"s,"HasColours"s,"HasTextures"s,"ToTexMap"s,"Types"s,"IFC4X3_ADD2"s}; diff --git a/src/ifcparse/schemas/Ifc4x3_add2.cpp b/src/ifcparse/schemas/Ifc4x3_add2.cpp index 5406ee01f5..800b59eb50 100644 --- a/src/ifcparse/schemas/Ifc4x3_add2.cpp +++ b/src/ifcparse/schemas/Ifc4x3_add2.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x3_add2.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x3_add2::Identifier = "IFC4X3_ADD2"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X3_ADD2_types[1312]; -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[3]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[3]); } /* -Ifc4x3_add2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x3_add2::IfcActionRequestTypeEnum::Value Ifc4x3_add2::IfcActionRequestTypeEn } Ifc4x3_add2::IfcActionRequestTypeEnum::operator Ifc4x3_add2::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x3_add2::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[4]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[4]); } /* -Ifc4x3_add2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x3_add2::IfcActionSourceTypeEnum::Value Ifc4x3_add2::IfcActionSourceTypeEnum } Ifc4x3_add2::IfcActionSourceTypeEnum::operator Ifc4x3_add2::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[5]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[5]); } /* -Ifc4x3_add2::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x3_add2::IfcActionTypeEnum::Value Ifc4x3_add2::IfcActionTypeEnum::FromString } Ifc4x3_add2::IfcActionTypeEnum::operator Ifc4x3_add2::IfcActionTypeEnum::Value() const { - return (Ifc4x3_add2::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[11]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[11]); } /* -Ifc4x3_add2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x3_add2::IfcActuatorTypeEnum::Value Ifc4x3_add2::IfcActuatorTypeEnum::FromSt } Ifc4x3_add2::IfcActuatorTypeEnum::operator Ifc4x3_add2::IfcActuatorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[13]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[13]); } /* -Ifc4x3_add2::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x3_add2::IfcAddressTypeEnum::Value Ifc4x3_add2::IfcAddressTypeEnum::FromStri } Ifc4x3_add2::IfcAddressTypeEnum::operator Ifc4x3_add2::IfcAddressTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[20]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[20]); } /* -Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_add2::IfcAirTerminalBoxType } Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::operator Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[22]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[22]); } /* -Ifc4x3_add2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x3_add2::IfcAirTerminalTypeEnum::Value Ifc4x3_add2::IfcAirTerminalTypeEnum:: } Ifc4x3_add2::IfcAirTerminalTypeEnum::operator Ifc4x3_add2::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[25]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[25]); } /* -Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_add2::IfcAirToAirHeat } Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[28]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[28]); } /* -Ifc4x3_add2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x3_add2::IfcAlarmTypeEnum::Value Ifc4x3_add2::IfcAlarmTypeEnum::FromString(c } Ifc4x3_add2::IfcAlarmTypeEnum::operator Ifc4x3_add2::IfcAlarmTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[32]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[32]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[32]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[32]); } /* -Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_add2::IfcAlignmentCan } Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::operator Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[35]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[35]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[35]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[35]); } /* -Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_add2::IfcAlignm } Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::operator Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[38]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[38]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[38]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[38]); } /* -Ifc4x3_add2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x3_add2::IfcAlignmentTypeEnum::Value Ifc4x3_add2::IfcAlignmentTypeEnum::From } Ifc4x3_add2::IfcAlignmentTypeEnum::operator Ifc4x3_add2::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[41]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[41]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[41]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[41]); } /* -Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_add2::IfcAlignmen } Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::operator Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[43]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[43]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[43]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[43]); } /* -Ifc4x3_add2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value Ifc4x3_add2::IfcAnalysisModelTypeEn } Ifc4x3_add2::IfcAnalysisModelTypeEnum::operator Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[44]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[44]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[44]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[44]); } /* -Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_add2::IfcAnalysisTheoryType } Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::operator Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAnnotationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[48]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAnnotationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[48]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAnnotationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[48]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAnnotationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[48]); } /* -Ifc4x3_add2::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x3_add2::IfcAnnotationTypeEnum::Value Ifc4x3_add2::IfcAnnotationTypeEnum::Fr } Ifc4x3_add2::IfcAnnotationTypeEnum::operator Ifc4x3_add2::IfcAnnotationTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAnnotationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAnnotationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[60]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[60]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[60]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[60]); } /* -Ifc4x3_add2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x3_add2::IfcArithmeticOperatorEnum::Value Ifc4x3_add2::IfcArithmeticOperator } Ifc4x3_add2::IfcArithmeticOperatorEnum::operator Ifc4x3_add2::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x3_add2::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[61]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[61]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[61]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[61]); } /* -Ifc4x3_add2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x3_add2::IfcAssemblyPlaceEnum::Value Ifc4x3_add2::IfcAssemblyPlaceEnum::From } Ifc4x3_add2::IfcAssemblyPlaceEnum::operator Ifc4x3_add2::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x3_add2::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[66]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[66]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[66]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[66]); } /* -Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_add2::IfcAudioVisualA } Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::operator Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[108]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[108]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[108]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[108]); } /* -Ifc4x3_add2::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x3_add2::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x3_add2::IfcBSplineCurveForm::Value Ifc4x3_add2::IfcBSplineCurveForm::FromSt } Ifc4x3_add2::IfcBSplineCurveForm::operator Ifc4x3_add2::IfcBSplineCurveForm::Value() const { - return (Ifc4x3_add2::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[111]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[111]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[111]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[111]); } /* -Ifc4x3_add2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x3_add2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x3_add2::IfcBSplineSurfaceForm::Value Ifc4x3_add2::IfcBSplineSurfaceForm::Fr } Ifc4x3_add2::IfcBSplineSurfaceForm::operator Ifc4x3_add2::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x3_add2::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[74]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[74]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[74]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[74]); } /* -Ifc4x3_add2::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x3_add2::IfcBeamTypeEnum::Value Ifc4x3_add2::IfcBeamTypeEnum::FromString(con } Ifc4x3_add2::IfcBeamTypeEnum::operator Ifc4x3_add2::IfcBeamTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBearingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[77]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBearingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[77]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[77]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[77]); } /* -Ifc4x3_add2::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x3_add2::IfcBearingTypeEnum::Value Ifc4x3_add2::IfcBearingTypeEnum::FromStri } Ifc4x3_add2::IfcBearingTypeEnum::operator Ifc4x3_add2::IfcBearingTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBearingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[78]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[78]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[78]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[78]); } /* -Ifc4x3_add2::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x3_add2::IfcBenchmarkEnum::Value Ifc4x3_add2::IfcBenchmarkEnum::FromString(c } Ifc4x3_add2::IfcBenchmarkEnum::operator Ifc4x3_add2::IfcBenchmarkEnum::Value() const { - return (Ifc4x3_add2::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[85]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[85]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[85]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[85]); } /* -Ifc4x3_add2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x3_add2::IfcBoilerTypeEnum::Value Ifc4x3_add2::IfcBoilerTypeEnum::FromString } Ifc4x3_add2::IfcBoilerTypeEnum::operator Ifc4x3_add2::IfcBoilerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[89]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[89]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[89]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[89]); } /* -Ifc4x3_add2::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x3_add2::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x3_add2::IfcBooleanOperator::Value Ifc4x3_add2::IfcBooleanOperator::FromStri } Ifc4x3_add2::IfcBooleanOperator::operator Ifc4x3_add2::IfcBooleanOperator::Value() const { - return (Ifc4x3_add2::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBridgePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[105]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBridgePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[105]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[105]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[105]); } /* -Ifc4x3_add2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x3_add2::IfcBridgePartTypeEnum::Value Ifc4x3_add2::IfcBridgePartTypeEnum::Fr } Ifc4x3_add2::IfcBridgePartTypeEnum::operator Ifc4x3_add2::IfcBridgePartTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBridgePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBridgeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[106]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBridgeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[106]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[106]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[106]); } /* -Ifc4x3_add2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x3_add2::IfcBridgeTypeEnum::Value Ifc4x3_add2::IfcBridgeTypeEnum::FromString } Ifc4x3_add2::IfcBridgeTypeEnum::operator Ifc4x3_add2::IfcBridgeTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBridgeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[116]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[116]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[116]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[116]); } /* -Ifc4x3_add2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value Ifc4x3_add2::IfcBuildingEleme } Ifc4x3_add2::IfcBuildingElementPartTypeEnum::operator Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[119]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[119]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[119]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[119]); } /* -Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_add2::IfcBuildingElem } Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::operator Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[122]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[122]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[122]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[122]); } /* -Ifc4x3_add2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value Ifc4x3_add2::IfcBuildingSystemType } Ifc4x3_add2::IfcBuildingSystemTypeEnum::operator Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBuiltSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[126]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBuiltSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[126]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBuiltSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[126]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBuiltSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[126]); } /* -Ifc4x3_add2::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value Ifc4x3_add2::IfcBuiltSystemTypeEnum:: } Ifc4x3_add2::IfcBuiltSystemTypeEnum::operator Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[129]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[129]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[129]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[129]); } /* -Ifc4x3_add2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x3_add2::IfcBurnerTypeEnum::Value Ifc4x3_add2::IfcBurnerTypeEnum::FromString } Ifc4x3_add2::IfcBurnerTypeEnum::operator Ifc4x3_add2::IfcBurnerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[132]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[132]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[132]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[132]); } /* -Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_add2::IfcCableCarrierF } Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::operator Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[135]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[135]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[135]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[135]); } /* -Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_add2::IfcCableCarrierS } Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::operator Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[138]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[138]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[138]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[138]); } /* -Ifc4x3_add2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x3_add2::IfcCableFittingTypeEnum::Value Ifc4x3_add2::IfcCableFittingTypeEnum } Ifc4x3_add2::IfcCableFittingTypeEnum::operator Ifc4x3_add2::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[141]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[141]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[141]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[141]); } /* -Ifc4x3_add2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x3_add2::IfcCableSegmentTypeEnum::Value Ifc4x3_add2::IfcCableSegmentTypeEnum } Ifc4x3_add2::IfcCableSegmentTypeEnum::operator Ifc4x3_add2::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCaissonFoundationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[144]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[144]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[144]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[144]); } /* -Ifc4x3_add2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value Ifc4x3_add2::IfcCaissonFoundati } Ifc4x3_add2::IfcCaissonFoundationTypeEnum::operator Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[156]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[156]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[156]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[156]); } /* -Ifc4x3_add2::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x3_add2::IfcChangeActionEnum::Value Ifc4x3_add2::IfcChangeActionEnum::FromSt } Ifc4x3_add2::IfcChangeActionEnum::operator Ifc4x3_add2::IfcChangeActionEnum::Value() const { - return (Ifc4x3_add2::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[159]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[159]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[159]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[159]); } /* -Ifc4x3_add2::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x3_add2::IfcChillerTypeEnum::Value Ifc4x3_add2::IfcChillerTypeEnum::FromStri } Ifc4x3_add2::IfcChillerTypeEnum::operator Ifc4x3_add2::IfcChillerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[162]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[162]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[162]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[162]); } /* -Ifc4x3_add2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x3_add2::IfcChimneyTypeEnum::Value Ifc4x3_add2::IfcChimneyTypeEnum::FromStri } Ifc4x3_add2::IfcChimneyTypeEnum::operator Ifc4x3_add2::IfcChimneyTypeEnum::Value() const { - return (Ifc4x3_add2::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[176]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[176]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[176]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[176]); } /* -Ifc4x3_add2::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x3_add2::IfcCoilTypeEnum::Value Ifc4x3_add2::IfcCoilTypeEnum::FromString(con } Ifc4x3_add2::IfcCoilTypeEnum::operator Ifc4x3_add2::IfcCoilTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[184]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[184]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[184]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[184]); } /* -Ifc4x3_add2::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x3_add2::IfcColumnTypeEnum::Value Ifc4x3_add2::IfcColumnTypeEnum::FromString } Ifc4x3_add2::IfcColumnTypeEnum::operator Ifc4x3_add2::IfcColumnTypeEnum::Value() const { - return (Ifc4x3_add2::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[187]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[187]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[187]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[187]); } /* -Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_add2::IfcCommunica } Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::operator Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[191]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[191]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[191]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[191]); } /* -Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x3_add2::IfcComplexPr } Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[199]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[199]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[199]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[199]); } /* -Ifc4x3_add2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x3_add2::IfcCompressorTypeEnum::Value Ifc4x3_add2::IfcCompressorTypeEnum::Fr } Ifc4x3_add2::IfcCompressorTypeEnum::operator Ifc4x3_add2::IfcCompressorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[202]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[202]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[202]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[202]); } /* -Ifc4x3_add2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x3_add2::IfcCondenserTypeEnum::Value Ifc4x3_add2::IfcCondenserTypeEnum::From } Ifc4x3_add2::IfcCondenserTypeEnum::operator Ifc4x3_add2::IfcCondenserTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[210]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[210]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[210]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[210]); } /* -Ifc4x3_add2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x3_add2::IfcConnectionTypeEnum::Value Ifc4x3_add2::IfcConnectionTypeEnum::Fr } Ifc4x3_add2::IfcConnectionTypeEnum::operator Ifc4x3_add2::IfcConnectionTypeEnum::Value() const { - return (Ifc4x3_add2::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[213]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[213]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[213]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[213]); } /* -Ifc4x3_add2::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x3_add2::IfcConstraintEnum::Value Ifc4x3_add2::IfcConstraintEnum::FromString } Ifc4x3_add2::IfcConstraintEnum::operator Ifc4x3_add2::IfcConstraintEnum::Value() const { - return (Ifc4x3_add2::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[216]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[216]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[216]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[216]); } /* -Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_add2::IfcCon } Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[219]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[219]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[219]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[219]); } /* -Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_add2::IfcCons } Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[222]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[222]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[222]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[222]); } /* -Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_add2::IfcConst } Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::operator Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[231]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[231]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[231]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[231]); } /* -Ifc4x3_add2::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x3_add2::IfcControllerTypeEnum::Value Ifc4x3_add2::IfcControllerTypeEnum::Fr } Ifc4x3_add2::IfcControllerTypeEnum::operator Ifc4x3_add2::IfcControllerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcConveyorSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[236]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[236]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConveyorSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[236]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[236]); } /* -Ifc4x3_add2::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value Ifc4x3_add2::IfcConveyorSegmentTy } Ifc4x3_add2::IfcConveyorSegmentTypeEnum::operator Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[239]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[239]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[239]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[239]); } /* -Ifc4x3_add2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x3_add2::IfcCooledBeamTypeEnum::Value Ifc4x3_add2::IfcCooledBeamTypeEnum::Fr } Ifc4x3_add2::IfcCooledBeamTypeEnum::operator Ifc4x3_add2::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[242]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[242]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[242]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[242]); } /* -Ifc4x3_add2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value Ifc4x3_add2::IfcCoolingTowerTypeEnum } Ifc4x3_add2::IfcCoolingTowerTypeEnum::operator Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[248]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[248]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[248]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[248]); } /* -Ifc4x3_add2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x3_add2::IfcCostItemTypeEnum::Value Ifc4x3_add2::IfcCostItemTypeEnum::FromSt } Ifc4x3_add2::IfcCostItemTypeEnum::operator Ifc4x3_add2::IfcCostItemTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[250]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[250]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[250]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[250]); } /* -Ifc4x3_add2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x3_add2::IfcCostScheduleTypeEnum::Value Ifc4x3_add2::IfcCostScheduleTypeEnum } Ifc4x3_add2::IfcCostScheduleTypeEnum::operator Ifc4x3_add2::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCourseTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[255]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCourseTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[255]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCourseTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[255]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCourseTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[255]); } /* -Ifc4x3_add2::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCourseTypeEnum::IfcCourseTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x3_add2::IfcCourseTypeEnum::Value Ifc4x3_add2::IfcCourseTypeEnum::FromString } Ifc4x3_add2::IfcCourseTypeEnum::operator Ifc4x3_add2::IfcCourseTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCourseTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCourseTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[258]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[258]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[258]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[258]); } /* -Ifc4x3_add2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x3_add2::IfcCoveringTypeEnum::Value Ifc4x3_add2::IfcCoveringTypeEnum::FromSt } Ifc4x3_add2::IfcCoveringTypeEnum::operator Ifc4x3_add2::IfcCoveringTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[261]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[261]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[261]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[261]); } /* -Ifc4x3_add2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x3_add2::IfcCrewResourceTypeEnum::Value Ifc4x3_add2::IfcCrewResourceTypeEnum } Ifc4x3_add2::IfcCrewResourceTypeEnum::operator Ifc4x3_add2::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[269]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[269]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[269]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[269]); } /* -Ifc4x3_add2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x3_add2::IfcCurtainWallTypeEnum::Value Ifc4x3_add2::IfcCurtainWallTypeEnum:: } Ifc4x3_add2::IfcCurtainWallTypeEnum::operator Ifc4x3_add2::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x3_add2::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[275]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[275]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[275]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[275]); } /* -Ifc4x3_add2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x3_add2::IfcCurveInterpolationEnum::Value Ifc4x3_add2::IfcCurveInterpolation } Ifc4x3_add2::IfcCurveInterpolationEnum::operator Ifc4x3_add2::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x3_add2::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[288]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[288]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[288]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[288]); } /* -Ifc4x3_add2::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x3_add2::IfcDamperTypeEnum::Value Ifc4x3_add2::IfcDamperTypeEnum::FromString } Ifc4x3_add2::IfcDamperTypeEnum::operator Ifc4x3_add2::IfcDamperTypeEnum::Value() const { - return (Ifc4x3_add2::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[289]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[289]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[289]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[289]); } /* -Ifc4x3_add2::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x3_add2::IfcDataOriginEnum::Value Ifc4x3_add2::IfcDataOriginEnum::FromString } Ifc4x3_add2::IfcDataOriginEnum::operator Ifc4x3_add2::IfcDataOriginEnum::Value() const { - return (Ifc4x3_add2::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[301]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[301]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[301]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[301]); } /* -Ifc4x3_add2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x3_add2::IfcDerivedUnitEnum::Value Ifc4x3_add2::IfcDerivedUnitEnum::FromStri } Ifc4x3_add2::IfcDerivedUnitEnum::operator Ifc4x3_add2::IfcDerivedUnitEnum::Value() const { - return (Ifc4x3_add2::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[306]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[306]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[306]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[306]); } /* -Ifc4x3_add2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x3_add2::IfcDirectionSenseEnum::Value Ifc4x3_add2::IfcDirectionSenseEnum::Fr } Ifc4x3_add2::IfcDirectionSenseEnum::operator Ifc4x3_add2::IfcDirectionSenseEnum::Value() const { - return (Ifc4x3_add2::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[311]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[311]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[311]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[311]); } /* -Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_add2::IfcDiscreteAccesso } Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::operator Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[314]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[314]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[314]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[314]); } /* -Ifc4x3_add2::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value Ifc4x3_add2::IfcDistributionBoa } Ifc4x3_add2::IfcDistributionBoardTypeEnum::operator Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[317]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[317]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[317]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[317]); } /* -Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_add2::IfcDistri } Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::operator Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[326]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[326]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[326]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[326]); } /* -Ifc4x3_add2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x3_add2::IfcDistributionPortTypeEnum::Value Ifc4x3_add2::IfcDistributionPort } Ifc4x3_add2::IfcDistributionPortTypeEnum::operator Ifc4x3_add2::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x3_add2::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[328]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[328]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[328]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[328]); } /* -Ifc4x3_add2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x3_add2::IfcDistributionSystemEnum::Value Ifc4x3_add2::IfcDistributionSystem } Ifc4x3_add2::IfcDistributionSystemEnum::operator Ifc4x3_add2::IfcDistributionSystemEnum::Value() const { - return (Ifc4x3_add2::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[329]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[329]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[329]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[329]); } /* -Ifc4x3_add2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value Ifc4x3_add2::IfcDocumentConfi } Ifc4x3_add2::IfcDocumentConfidentialityEnum::operator Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[334]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[334]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[334]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[334]); } /* -Ifc4x3_add2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x3_add2::IfcDocumentStatusEnum::Value Ifc4x3_add2::IfcDocumentStatusEnum::Fr } Ifc4x3_add2::IfcDocumentStatusEnum::operator Ifc4x3_add2::IfcDocumentStatusEnum::Value() const { - return (Ifc4x3_add2::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[337]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[337]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[337]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[337]); } /* -Ifc4x3_add2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x3_add2::IfcDoorPanelOperationEnum::Value Ifc4x3_add2::IfcDoorPanelOperation } Ifc4x3_add2::IfcDoorPanelOperationEnum::operator Ifc4x3_add2::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x3_add2::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[338]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[338]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[338]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[338]); } /* -Ifc4x3_add2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x3_add2::IfcDoorPanelPositionEnum::Value Ifc4x3_add2::IfcDoorPanelPositionEn } Ifc4x3_add2::IfcDoorPanelPositionEnum::operator Ifc4x3_add2::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x3_add2::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[341]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[341]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[341]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[341]); } /* -Ifc4x3_add2::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x3_add2::IfcDoorTypeEnum::Value Ifc4x3_add2::IfcDoorTypeEnum::FromString(con } Ifc4x3_add2::IfcDoorTypeEnum::operator Ifc4x3_add2::IfcDoorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[342]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[342]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[342]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[342]); } /* -Ifc4x3_add2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x3_add2::IfcDoorTypeOperationEnum::Value Ifc4x3_add2::IfcDoorTypeOperationEn } Ifc4x3_add2::IfcDoorTypeOperationEnum::operator Ifc4x3_add2::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x3_add2::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[348]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[348]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[348]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[348]); } /* -Ifc4x3_add2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x3_add2::IfcDuctFittingTypeEnum::Value Ifc4x3_add2::IfcDuctFittingTypeEnum:: } Ifc4x3_add2::IfcDuctFittingTypeEnum::operator Ifc4x3_add2::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x3_add2::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[351]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[351]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[351]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[351]); } /* -Ifc4x3_add2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value Ifc4x3_add2::IfcDuctSegmentTypeEnum:: } Ifc4x3_add2::IfcDuctSegmentTypeEnum::operator Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[354]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[354]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[354]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[354]); } /* -Ifc4x3_add2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value Ifc4x3_add2::IfcDuctSilencerTypeEnum } Ifc4x3_add2::IfcDuctSilencerTypeEnum::operator Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcEarthworksCutTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[358]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcEarthworksCutTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[358]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEarthworksCutTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[358]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEarthworksCutTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[358]); } /* -Ifc4x3_add2::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value Ifc4x3_add2::IfcEarthworksCutTypeEn } Ifc4x3_add2::IfcEarthworksCutTypeEnum::operator Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value() const { - return (Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcEarthworksFillTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[361]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcEarthworksFillTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[361]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEarthworksFillTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[361]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEarthworksFillTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[361]); } /* -Ifc4x3_add2::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value Ifc4x3_add2::IfcEarthworksFillType } Ifc4x3_add2::IfcEarthworksFillTypeEnum::operator Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value() const { - return (Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[367]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[367]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[367]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[367]); } /* -Ifc4x3_add2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value Ifc4x3_add2::IfcElectricApplian } Ifc4x3_add2::IfcElectricApplianceTypeEnum::operator Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[374]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[374]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[374]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[374]); } /* -Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_add2::IfcElectri } Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::operator Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[377]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[377]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[377]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[377]); } /* -Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_add2::IfcElectri } Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[380]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[380]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[380]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[380]); } /* -Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_add2::IfcElect } Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::operator Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[383]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[383]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[383]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[383]); } /* -Ifc4x3_add2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value Ifc4x3_add2::IfcElectricGenerat } Ifc4x3_add2::IfcElectricGeneratorTypeEnum::operator Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[386]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[386]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[386]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[386]); } /* -Ifc4x3_add2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x3_add2::IfcElectricMotorTypeEnum::Value Ifc4x3_add2::IfcElectricMotorTypeEn } Ifc4x3_add2::IfcElectricMotorTypeEnum::operator Ifc4x3_add2::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[390]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[390]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[390]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[390]); } /* -Ifc4x3_add2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value Ifc4x3_add2::IfcElectricTimeC } Ifc4x3_add2::IfcElectricTimeControlTypeEnum::operator Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[396]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[396]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[396]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[396]); } /* -Ifc4x3_add2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value Ifc4x3_add2::IfcElementAssemblyTy } Ifc4x3_add2::IfcElementAssemblyTypeEnum::operator Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[399]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[399]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[399]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[399]); } /* -Ifc4x3_add2::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x3_add2::IfcElementCompositionEnum::Value Ifc4x3_add2::IfcElementComposition } Ifc4x3_add2::IfcElementCompositionEnum::operator Ifc4x3_add2::IfcElementCompositionEnum::Value() const { - return (Ifc4x3_add2::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[409]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[409]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[409]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[409]); } /* -Ifc4x3_add2::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x3_add2::IfcEngineTypeEnum::Value Ifc4x3_add2::IfcEngineTypeEnum::FromString } Ifc4x3_add2::IfcEngineTypeEnum::operator Ifc4x3_add2::IfcEngineTypeEnum::Value() const { - return (Ifc4x3_add2::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[412]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[412]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[412]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[412]); } /* -Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_add2::IfcEvaporativeCool } Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::operator Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[415]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[415]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[415]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[415]); } /* -Ifc4x3_add2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x3_add2::IfcEvaporatorTypeEnum::Value Ifc4x3_add2::IfcEvaporatorTypeEnum::Fr } Ifc4x3_add2::IfcEvaporatorTypeEnum::operator Ifc4x3_add2::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[418]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[418]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[418]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[418]); } /* -Ifc4x3_add2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x3_add2::IfcEventTriggerTypeEnum::Value Ifc4x3_add2::IfcEventTriggerTypeEnum } Ifc4x3_add2::IfcEventTriggerTypeEnum::operator Ifc4x3_add2::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[420]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[420]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[420]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[420]); } /* -Ifc4x3_add2::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x3_add2::IfcEventTypeEnum::Value Ifc4x3_add2::IfcEventTypeEnum::FromString(c } Ifc4x3_add2::IfcEventTypeEnum::operator Ifc4x3_add2::IfcEventTypeEnum::Value() const { - return (Ifc4x3_add2::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[429]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[429]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[429]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[429]); } /* -Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value Ifc4x3_add2::IfcExternalSp } Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::operator Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[443]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[443]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[443]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[443]); } /* -Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value Ifc4x3_add2::IfcFacilityPartCo } Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::operator Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value() const { - return (Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFacilityUsageEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[444]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFacilityUsageEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[444]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFacilityUsageEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[444]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFacilityUsageEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[444]); } /* -Ifc4x3_add2::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFacilityUsageEnum::IfcFacilityUsageEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x3_add2::IfcFacilityUsageEnum::Value Ifc4x3_add2::IfcFacilityUsageEnum::From } Ifc4x3_add2::IfcFacilityUsageEnum::operator Ifc4x3_add2::IfcFacilityUsageEnum::Value() const { - return (Ifc4x3_add2::IfcFacilityUsageEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFacilityUsageEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[448]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[448]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[448]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[448]); } /* -Ifc4x3_add2::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x3_add2::IfcFanTypeEnum::Value Ifc4x3_add2::IfcFanTypeEnum::FromString(const } Ifc4x3_add2::IfcFanTypeEnum::operator Ifc4x3_add2::IfcFanTypeEnum::Value() const { - return (Ifc4x3_add2::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[451]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[451]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[451]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[451]); } /* -Ifc4x3_add2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x3_add2::IfcFastenerTypeEnum::Value Ifc4x3_add2::IfcFastenerTypeEnum::FromSt } Ifc4x3_add2::IfcFastenerTypeEnum::operator Ifc4x3_add2::IfcFastenerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[461]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[461]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[461]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[461]); } /* -Ifc4x3_add2::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x3_add2::IfcFilterTypeEnum::Value Ifc4x3_add2::IfcFilterTypeEnum::FromString } Ifc4x3_add2::IfcFilterTypeEnum::operator Ifc4x3_add2::IfcFilterTypeEnum::Value() const { - return (Ifc4x3_add2::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[464]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[464]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[464]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[464]); } /* -Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_add2::IfcFireSuppr } Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[468]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[468]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[468]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[468]); } /* -Ifc4x3_add2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x3_add2::IfcFlowDirectionEnum::Value Ifc4x3_add2::IfcFlowDirectionEnum::From } Ifc4x3_add2::IfcFlowDirectionEnum::operator Ifc4x3_add2::IfcFlowDirectionEnum::Value() const { - return (Ifc4x3_add2::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[473]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[473]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[473]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[473]); } /* -Ifc4x3_add2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value Ifc4x3_add2::IfcFlowInstrumentType } Ifc4x3_add2::IfcFlowInstrumentTypeEnum::operator Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[476]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[476]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[476]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[476]); } /* -Ifc4x3_add2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x3_add2::IfcFlowMeterTypeEnum::Value Ifc4x3_add2::IfcFlowMeterTypeEnum::From } Ifc4x3_add2::IfcFlowMeterTypeEnum::operator Ifc4x3_add2::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x3_add2::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[492]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[492]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[492]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[492]); } /* -Ifc4x3_add2::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x3_add2::IfcFootingTypeEnum::Value Ifc4x3_add2::IfcFootingTypeEnum::FromStri } Ifc4x3_add2::IfcFootingTypeEnum::operator Ifc4x3_add2::IfcFootingTypeEnum::Value() const { - return (Ifc4x3_add2::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[499]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[499]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[499]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[499]); } /* -Ifc4x3_add2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x3_add2::IfcFurnitureTypeEnum::Value Ifc4x3_add2::IfcFurnitureTypeEnum::From } Ifc4x3_add2::IfcFurnitureTypeEnum::operator Ifc4x3_add2::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x3_add2::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[503]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[503]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[503]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[503]); } /* -Ifc4x3_add2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x3_add2::IfcGeographicElementTypeEnum::Value Ifc4x3_add2::IfcGeographicEleme } Ifc4x3_add2::IfcGeographicElementTypeEnum::operator Ifc4x3_add2::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[505]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[505]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[505]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[505]); } /* -Ifc4x3_add2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x3_add2::IfcGeometricProjectionEnum::Value Ifc4x3_add2::IfcGeometricProjecti } Ifc4x3_add2::IfcGeometricProjectionEnum::operator Ifc4x3_add2::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x3_add2::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[516]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[516]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[516]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[516]); } /* -Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value Ifc4x3_add2::IfcGeotechnicalS } Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::operator Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value() const { - return (Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[518]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[518]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[518]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[518]); } /* -Ifc4x3_add2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x3_add2::IfcGlobalOrLocalEnum::Value Ifc4x3_add2::IfcGlobalOrLocalEnum::From } Ifc4x3_add2::IfcGlobalOrLocalEnum::operator Ifc4x3_add2::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x3_add2::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[524]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[524]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[524]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[524]); } /* -Ifc4x3_add2::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x3_add2::IfcGridTypeEnum::Value Ifc4x3_add2::IfcGridTypeEnum::FromString(con } Ifc4x3_add2::IfcGridTypeEnum::operator Ifc4x3_add2::IfcGridTypeEnum::Value() const { - return (Ifc4x3_add2::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[530]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[530]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[530]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[530]); } /* -Ifc4x3_add2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value Ifc4x3_add2::IfcHeatExchangerTypeEn } Ifc4x3_add2::IfcHeatExchangerTypeEnum::operator Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[535]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[535]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[535]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[535]); } /* -Ifc4x3_add2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x3_add2::IfcHumidifierTypeEnum::Value Ifc4x3_add2::IfcHumidifierTypeEnum::Fr } Ifc4x3_add2::IfcHumidifierTypeEnum::operator Ifc4x3_add2::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x3_add2::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[541]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[541]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[541]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[541]); } /* -Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_add2::IfcImpactProt } Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::operator Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[554]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[554]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[554]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[554]); } /* -Ifc4x3_add2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x3_add2::IfcInterceptorTypeEnum::Value Ifc4x3_add2::IfcInterceptorTypeEnum:: } Ifc4x3_add2::IfcInterceptorTypeEnum::operator Ifc4x3_add2::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[556]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[556]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[556]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[556]); } /* -Ifc4x3_add2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x3_add2::IfcInternalOrExternalEnum::Value Ifc4x3_add2::IfcInternalOrExternal } Ifc4x3_add2::IfcInternalOrExternalEnum::operator Ifc4x3_add2::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x3_add2::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[559]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[559]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[559]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[559]); } /* -Ifc4x3_add2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x3_add2::IfcInventoryTypeEnum::Value Ifc4x3_add2::IfcInventoryTypeEnum::From } Ifc4x3_add2::IfcInventoryTypeEnum::operator Ifc4x3_add2::IfcInventoryTypeEnum::Value() const { - return (Ifc4x3_add2::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[567]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[567]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[567]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[567]); } /* -Ifc4x3_add2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value Ifc4x3_add2::IfcJunctionBoxTypeEnum:: } Ifc4x3_add2::IfcJunctionBoxTypeEnum::operator Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcKerbTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[570]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcKerbTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[570]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcKerbTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[570]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcKerbTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[570]); } /* -Ifc4x3_add2::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcKerbTypeEnum::IfcKerbTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x3_add2::IfcKerbTypeEnum::Value Ifc4x3_add2::IfcKerbTypeEnum::FromString(con } Ifc4x3_add2::IfcKerbTypeEnum::operator Ifc4x3_add2::IfcKerbTypeEnum::Value() const { - return (Ifc4x3_add2::IfcKerbTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcKerbTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[572]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[572]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[572]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[572]); } /* -Ifc4x3_add2::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x3_add2::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x3_add2::IfcKnotType::Value Ifc4x3_add2::IfcKnotType::FromString(const std:: } Ifc4x3_add2::IfcKnotType::operator Ifc4x3_add2::IfcKnotType::Value() const { - return (Ifc4x3_add2::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[576]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[576]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[576]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[576]); } /* -Ifc4x3_add2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x3_add2::IfcLaborResourceTypeEnum::Value Ifc4x3_add2::IfcLaborResourceTypeEn } Ifc4x3_add2::IfcLaborResourceTypeEnum::operator Ifc4x3_add2::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[580]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[580]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[580]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[580]); } /* -Ifc4x3_add2::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x3_add2::IfcLampTypeEnum::Value Ifc4x3_add2::IfcLampTypeEnum::FromString(con } Ifc4x3_add2::IfcLampTypeEnum::operator Ifc4x3_add2::IfcLampTypeEnum::Value() const { - return (Ifc4x3_add2::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[583]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[583]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[583]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[583]); } /* -Ifc4x3_add2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x3_add2::IfcLayerSetDirectionEnum::Value Ifc4x3_add2::IfcLayerSetDirectionEn } Ifc4x3_add2::IfcLayerSetDirectionEnum::operator Ifc4x3_add2::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x3_add2::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[588]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[588]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[588]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[588]); } /* -Ifc4x3_add2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x3_add2::IfcLightDistributionCurveEnum::Value Ifc4x3_add2::IfcLightDistribut } Ifc4x3_add2::IfcLightDistributionCurveEnum::operator Ifc4x3_add2::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x3_add2::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[591]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[591]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[591]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[591]); } /* -Ifc4x3_add2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x3_add2::IfcLightEmissionSourceEnum::Value Ifc4x3_add2::IfcLightEmissionSour } Ifc4x3_add2::IfcLightEmissionSourceEnum::operator Ifc4x3_add2::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x3_add2::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[594]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[594]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[594]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[594]); } /* -Ifc4x3_add2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x3_add2::IfcLightFixtureTypeEnum::Value Ifc4x3_add2::IfcLightFixtureTypeEnum } Ifc4x3_add2::IfcLightFixtureTypeEnum::operator Ifc4x3_add2::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x3_add2::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcLiquidTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[613]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[613]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLiquidTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[613]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[613]); } /* -Ifc4x3_add2::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value Ifc4x3_add2::IfcLiquidTerminalType } Ifc4x3_add2::IfcLiquidTerminalTypeEnum::operator Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value() const { - return (Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[614]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[614]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[614]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[614]); } /* -Ifc4x3_add2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x3_add2::IfcLoadGroupTypeEnum::Value Ifc4x3_add2::IfcLoadGroupTypeEnum::From } Ifc4x3_add2::IfcLoadGroupTypeEnum::operator Ifc4x3_add2::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x3_add2::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[617]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[617]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[617]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[617]); } /* -Ifc4x3_add2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x3_add2::IfcLogicalOperatorEnum::Value Ifc4x3_add2::IfcLogicalOperatorEnum:: } Ifc4x3_add2::IfcLogicalOperatorEnum::operator Ifc4x3_add2::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x3_add2::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcMarineFacilityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[630]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcMarineFacilityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[630]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMarineFacilityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[630]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMarineFacilityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[630]); } /* -Ifc4x3_add2::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value Ifc4x3_add2::IfcMarineFacilityType } Ifc4x3_add2::IfcMarineFacilityTypeEnum::operator Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value() const { - return (Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcMarinePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[632]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcMarinePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[632]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMarinePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[632]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMarinePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[632]); } /* -Ifc4x3_add2::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x3_add2::IfcMarinePartTypeEnum::Value Ifc4x3_add2::IfcMarinePartTypeEnum::Fr } Ifc4x3_add2::IfcMarinePartTypeEnum::operator Ifc4x3_add2::IfcMarinePartTypeEnum::Value() const { - return (Ifc4x3_add2::IfcMarinePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcMarinePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[661]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[661]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[661]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[661]); } /* -Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_add2::IfcMechanicalFast } Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::operator Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[664]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[664]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[664]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[664]); } /* -Ifc4x3_add2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value Ifc4x3_add2::IfcMedicalDeviceTypeEn } Ifc4x3_add2::IfcMedicalDeviceTypeEnum::operator Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[667]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[667]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[667]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[667]); } /* -Ifc4x3_add2::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x3_add2::IfcMemberTypeEnum::Value Ifc4x3_add2::IfcMemberTypeEnum::FromString } Ifc4x3_add2::IfcMemberTypeEnum::operator Ifc4x3_add2::IfcMemberTypeEnum::Value() const { - return (Ifc4x3_add2::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[673]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[673]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[673]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[673]); } /* -Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_add2::If } Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::operator Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcMooringDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[689]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[689]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMooringDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[689]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[689]); } /* -Ifc4x3_add2::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value Ifc4x3_add2::IfcMooringDeviceTypeEn } Ifc4x3_add2::IfcMooringDeviceTypeEnum::operator Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[692]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[692]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[692]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[692]); } /* -Ifc4x3_add2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value Ifc4x3_add2::IfcMotorConnectionTy } Ifc4x3_add2::IfcMotorConnectionTypeEnum::operator Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcNavigationElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[696]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcNavigationElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[696]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcNavigationElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[696]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcNavigationElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[696]); } /* -Ifc4x3_add2::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x3_add2::IfcNavigationElementTypeEnum::Value Ifc4x3_add2::IfcNavigationEleme } Ifc4x3_add2::IfcNavigationElementTypeEnum::operator Ifc4x3_add2::IfcNavigationElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcNavigationElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcNavigationElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[703]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[703]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[703]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[703]); } /* -Ifc4x3_add2::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x3_add2::IfcObjectiveEnum::Value Ifc4x3_add2::IfcObjectiveEnum::FromString(c } Ifc4x3_add2::IfcObjectiveEnum::operator Ifc4x3_add2::IfcObjectiveEnum::Value() const { - return (Ifc4x3_add2::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[707]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[707]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[707]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[707]); } /* -Ifc4x3_add2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x3_add2::IfcOccupantTypeEnum::Value Ifc4x3_add2::IfcOccupantTypeEnum::FromSt } Ifc4x3_add2::IfcOccupantTypeEnum::operator Ifc4x3_add2::IfcOccupantTypeEnum::Value() const { - return (Ifc4x3_add2::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[714]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[714]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[714]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[714]); } /* -Ifc4x3_add2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x3_add2::IfcOpeningElementTypeEnum::Value Ifc4x3_add2::IfcOpeningElementType } Ifc4x3_add2::IfcOpeningElementTypeEnum::operator Ifc4x3_add2::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[722]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[722]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[722]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[722]); } /* -Ifc4x3_add2::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x3_add2::IfcOutletTypeEnum::Value Ifc4x3_add2::IfcOutletTypeEnum::FromString } Ifc4x3_add2::IfcOutletTypeEnum::operator Ifc4x3_add2::IfcOutletTypeEnum::Value() const { - return (Ifc4x3_add2::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPavementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[729]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPavementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[729]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPavementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[729]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPavementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[729]); } /* -Ifc4x3_add2::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPavementTypeEnum::IfcPavementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x3_add2::IfcPavementTypeEnum::Value Ifc4x3_add2::IfcPavementTypeEnum::FromSt } Ifc4x3_add2::IfcPavementTypeEnum::operator Ifc4x3_add2::IfcPavementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcPavementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPavementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[732]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[732]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[732]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[732]); } /* -Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value Ifc4x3_add2::IfcPerformanceHis } Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::operator Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[733]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[733]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[733]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[733]); } /* -Ifc4x3_add2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value Ifc4x3_add2::IfcPermeableC } Ifc4x3_add2::IfcPermeableCoveringOperationEnum::operator Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[736]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[736]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[736]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[736]); } /* -Ifc4x3_add2::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x3_add2::IfcPermitTypeEnum::Value Ifc4x3_add2::IfcPermitTypeEnum::FromString } Ifc4x3_add2::IfcPermitTypeEnum::operator Ifc4x3_add2::IfcPermitTypeEnum::Value() const { - return (Ifc4x3_add2::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[741]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[741]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[741]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[741]); } /* -Ifc4x3_add2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value Ifc4x3_add2::IfcPhysicalOrVirtualEn } Ifc4x3_add2::IfcPhysicalOrVirtualEnum::operator Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[745]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[745]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[745]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[745]); } /* -Ifc4x3_add2::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x3_add2::IfcPileConstructionEnum::Value Ifc4x3_add2::IfcPileConstructionEnum } Ifc4x3_add2::IfcPileConstructionEnum::operator Ifc4x3_add2::IfcPileConstructionEnum::Value() const { - return (Ifc4x3_add2::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[747]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[747]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[747]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[747]); } /* -Ifc4x3_add2::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x3_add2::IfcPileTypeEnum::Value Ifc4x3_add2::IfcPileTypeEnum::FromString(con } Ifc4x3_add2::IfcPileTypeEnum::operator Ifc4x3_add2::IfcPileTypeEnum::Value() const { - return (Ifc4x3_add2::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[750]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[750]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[750]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[750]); } /* -Ifc4x3_add2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x3_add2::IfcPipeFittingTypeEnum::Value Ifc4x3_add2::IfcPipeFittingTypeEnum:: } Ifc4x3_add2::IfcPipeFittingTypeEnum::operator Ifc4x3_add2::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x3_add2::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[753]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[753]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[753]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[753]); } /* -Ifc4x3_add2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value Ifc4x3_add2::IfcPipeSegmentTypeEnum:: } Ifc4x3_add2::IfcPipeSegmentTypeEnum::operator Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[763]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[763]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[763]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[763]); } /* -Ifc4x3_add2::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x3_add2::IfcPlateTypeEnum::Value Ifc4x3_add2::IfcPlateTypeEnum::FromString(c } Ifc4x3_add2::IfcPlateTypeEnum::operator Ifc4x3_add2::IfcPlateTypeEnum::Value() const { - return (Ifc4x3_add2::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[788]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[788]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[788]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[788]); } /* -Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_add2::IfcPrefe } Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[797]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[797]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[797]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[797]); } /* -Ifc4x3_add2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x3_add2::IfcProcedureTypeEnum::Value Ifc4x3_add2::IfcProcedureTypeEnum::From } Ifc4x3_add2::IfcProcedureTypeEnum::operator Ifc4x3_add2::IfcProcedureTypeEnum::Value() const { - return (Ifc4x3_add2::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[807]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[807]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[807]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[807]); } /* -Ifc4x3_add2::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x3_add2::IfcProfileTypeEnum::Value Ifc4x3_add2::IfcProfileTypeEnum::FromStri } Ifc4x3_add2::IfcProfileTypeEnum::operator Ifc4x3_add2::IfcProfileTypeEnum::Value() const { - return (Ifc4x3_add2::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[815]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[815]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[815]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[815]); } /* -Ifc4x3_add2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x3_add2::IfcProjectOrderTypeEnum::Value Ifc4x3_add2::IfcProjectOrderTypeEnum } Ifc4x3_add2::IfcProjectOrderTypeEnum::operator Ifc4x3_add2::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x3_add2::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[810]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[810]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[810]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[810]); } /* -Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value Ifc4x3_add2::IfcProjectedOrTrue } Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::operator Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[812]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[812]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[812]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[812]); } /* -Ifc4x3_add2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x3_add2::IfcProjectionElementTypeEnum::Value Ifc4x3_add2::IfcProjectionEleme } Ifc4x3_add2::IfcProjectionElementTypeEnum::operator Ifc4x3_add2::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[830]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[830]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[830]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[830]); } /* -Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value Ifc4x3_add2::IfcPropertySetTe } Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::operator Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[838]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[838]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[838]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[838]); } /* -Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_add2::IfcProt } Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[840]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[840]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[840]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[840]); } /* -Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_add2::IfcProtectiveDevice } Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::operator Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[843]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[843]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[843]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[843]); } /* -Ifc4x3_add2::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x3_add2::IfcPumpTypeEnum::Value Ifc4x3_add2::IfcPumpTypeEnum::FromString(con } Ifc4x3_add2::IfcPumpTypeEnum::operator Ifc4x3_add2::IfcPumpTypeEnum::Value() const { - return (Ifc4x3_add2::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRailTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[858]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRailTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[858]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRailTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[858]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRailTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[858]); } /* -Ifc4x3_add2::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRailTypeEnum::IfcRailTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRailTypeEnum::IfcRailTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x3_add2::IfcRailTypeEnum::Value Ifc4x3_add2::IfcRailTypeEnum::FromString(con } Ifc4x3_add2::IfcRailTypeEnum::operator Ifc4x3_add2::IfcRailTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRailTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRailTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[856]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[856]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[856]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[856]); } /* -Ifc4x3_add2::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x3_add2::IfcRailingTypeEnum::Value Ifc4x3_add2::IfcRailingTypeEnum::FromStri } Ifc4x3_add2::IfcRailingTypeEnum::operator Ifc4x3_add2::IfcRailingTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRailwayPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[861]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRailwayPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[861]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRailwayPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[861]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRailwayPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[861]); } /* -Ifc4x3_add2::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x3_add2::IfcRailwayPartTypeEnum::Value Ifc4x3_add2::IfcRailwayPartTypeEnum:: } Ifc4x3_add2::IfcRailwayPartTypeEnum::operator Ifc4x3_add2::IfcRailwayPartTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRailwayPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRailwayPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRailwayTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[862]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRailwayTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[862]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRailwayTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[862]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRailwayTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[862]); } /* -Ifc4x3_add2::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRailwayTypeEnum::IfcRailwayTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x3_add2::IfcRailwayTypeEnum::Value Ifc4x3_add2::IfcRailwayTypeEnum::FromStri } Ifc4x3_add2::IfcRailwayTypeEnum::operator Ifc4x3_add2::IfcRailwayTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRailwayTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRailwayTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[866]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[866]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[866]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[866]); } /* -Ifc4x3_add2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x3_add2::IfcRampFlightTypeEnum::Value Ifc4x3_add2::IfcRampFlightTypeEnum::Fr } Ifc4x3_add2::IfcRampFlightTypeEnum::operator Ifc4x3_add2::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[868]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[868]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[868]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[868]); } /* -Ifc4x3_add2::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x3_add2::IfcRampTypeEnum::Value Ifc4x3_add2::IfcRampTypeEnum::FromString(con } Ifc4x3_add2::IfcRampTypeEnum::operator Ifc4x3_add2::IfcRampTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[878]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[878]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[878]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[878]); } /* -Ifc4x3_add2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x3_add2::IfcRecurrenceTypeEnum::Value Ifc4x3_add2::IfcRecurrenceTypeEnum::Fr } Ifc4x3_add2::IfcRecurrenceTypeEnum::operator Ifc4x3_add2::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[881]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[881]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[881]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[881]); } /* -Ifc4x3_add2::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x3_add2::IfcReferentTypeEnum::Value Ifc4x3_add2::IfcReferentTypeEnum::FromSt } Ifc4x3_add2::IfcReferentTypeEnum::operator Ifc4x3_add2::IfcReferentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[882]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[882]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[882]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[882]); } /* -Ifc4x3_add2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x3_add2::IfcReflectanceMethodEnum::Value Ifc4x3_add2::IfcReflectanceMethodEn } Ifc4x3_add2::IfcReflectanceMethodEnum::operator Ifc4x3_add2::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x3_add2::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcedSoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[885]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[885]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcedSoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[885]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[885]); } /* -Ifc4x3_add2::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value Ifc4x3_add2::IfcReinforcedSoilType } Ifc4x3_add2::IfcReinforcedSoilTypeEnum::operator Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value() const { - return (Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[889]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[889]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[889]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[889]); } /* -Ifc4x3_add2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value Ifc4x3_add2::IfcReinforcingBarRole } Ifc4x3_add2::IfcReinforcingBarRoleEnum::operator Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[890]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[890]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[890]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[890]); } /* -Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value Ifc4x3_add2::IfcReinforcingBarS } Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::operator Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[892]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[892]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[892]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[892]); } /* -Ifc4x3_add2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value Ifc4x3_add2::IfcReinforcingBarType } Ifc4x3_add2::IfcReinforcingBarTypeEnum::operator Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[897]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[897]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[897]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[897]); } /* -Ifc4x3_add2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value Ifc4x3_add2::IfcReinforcingMeshTy } Ifc4x3_add2::IfcReinforcingMeshTypeEnum::operator Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRoadPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[968]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRoadPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[968]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRoadPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[968]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRoadPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[968]); } /* -Ifc4x3_add2::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x3_add2::IfcRoadPartTypeEnum::Value Ifc4x3_add2::IfcRoadPartTypeEnum::FromSt } Ifc4x3_add2::IfcRoadPartTypeEnum::operator Ifc4x3_add2::IfcRoadPartTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRoadPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRoadPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRoadTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[969]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRoadTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[969]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRoadTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[969]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRoadTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[969]); } /* -Ifc4x3_add2::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRoadTypeEnum::IfcRoadTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x3_add2::IfcRoadTypeEnum::Value Ifc4x3_add2::IfcRoadTypeEnum::FromString(con } Ifc4x3_add2::IfcRoadTypeEnum::operator Ifc4x3_add2::IfcRoadTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRoadTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRoadTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[970]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[970]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[970]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[970]); } /* -Ifc4x3_add2::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x3_add2::IfcRoleEnum::Value Ifc4x3_add2::IfcRoleEnum::FromString(const std:: } Ifc4x3_add2::IfcRoleEnum::operator Ifc4x3_add2::IfcRoleEnum::Value() const { - return (Ifc4x3_add2::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[973]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[973]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[973]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[973]); } /* -Ifc4x3_add2::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x3_add2::IfcRoofTypeEnum::Value Ifc4x3_add2::IfcRoofTypeEnum::FromString(con } Ifc4x3_add2::IfcRoofTypeEnum::operator Ifc4x3_add2::IfcRoofTypeEnum::Value() const { - return (Ifc4x3_add2::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1023]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1023]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1023]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1023]); } /* -Ifc4x3_add2::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x3_add2::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x3_add2::IfcSIPrefix::Value Ifc4x3_add2::IfcSIPrefix::FromString(const std:: } Ifc4x3_add2::IfcSIPrefix::operator Ifc4x3_add2::IfcSIPrefix::Value() const { - return (Ifc4x3_add2::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1026]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1026]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1026]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1026]); } /* -Ifc4x3_add2::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x3_add2::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x3_add2::IfcSIUnitName::Value Ifc4x3_add2::IfcSIUnitName::FromString(const s } Ifc4x3_add2::IfcSIUnitName::operator Ifc4x3_add2::IfcSIUnitName::Value() const { - return (Ifc4x3_add2::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[982]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[982]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[982]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[982]); } /* -Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_add2::IfcSanitaryTerminal } Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::operator Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[994]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[994]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[994]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[994]); } /* -Ifc4x3_add2::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x3_add2::IfcSectionTypeEnum::Value Ifc4x3_add2::IfcSectionTypeEnum::FromStri } Ifc4x3_add2::IfcSectionTypeEnum::operator Ifc4x3_add2::IfcSectionTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1000]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1000]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1000]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1000]); } /* -Ifc4x3_add2::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x3_add2::IfcSensorTypeEnum::Value Ifc4x3_add2::IfcSensorTypeEnum::FromString } Ifc4x3_add2::IfcSensorTypeEnum::operator Ifc4x3_add2::IfcSensorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1001]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1001]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1001]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1001]); } /* -Ifc4x3_add2::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x3_add2::IfcSequenceEnum::Value Ifc4x3_add2::IfcSequenceEnum::FromString(con } Ifc4x3_add2::IfcSequenceEnum::operator Ifc4x3_add2::IfcSequenceEnum::Value() const { - return (Ifc4x3_add2::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1005]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1005]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1005]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1005]); } /* -Ifc4x3_add2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value Ifc4x3_add2::IfcShadingDeviceTypeEn } Ifc4x3_add2::IfcShadingDeviceTypeEnum::operator Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSignTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1017]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSignTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1017]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSignTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1017]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSignTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1017]); } /* -Ifc4x3_add2::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSignTypeEnum::IfcSignTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSignTypeEnum::IfcSignTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x3_add2::IfcSignTypeEnum::Value Ifc4x3_add2::IfcSignTypeEnum::FromString(con } Ifc4x3_add2::IfcSignTypeEnum::operator Ifc4x3_add2::IfcSignTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSignTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSignTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSignalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1015]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSignalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1015]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSignalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1015]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSignalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1015]); } /* -Ifc4x3_add2::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSignalTypeEnum::IfcSignalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x3_add2::IfcSignalTypeEnum::Value Ifc4x3_add2::IfcSignalTypeEnum::FromString } Ifc4x3_add2::IfcSignalTypeEnum::operator Ifc4x3_add2::IfcSignalTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSignalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSignalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1020]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1020]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1020]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1020]); } /* -Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x3_add2::IfcSimpleProp } Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1030]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1030]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1030]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1030]); } /* -Ifc4x3_add2::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x3_add2::IfcSlabTypeEnum::Value Ifc4x3_add2::IfcSlabTypeEnum::FromString(con } Ifc4x3_add2::IfcSlabTypeEnum::operator Ifc4x3_add2::IfcSlabTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1034]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1034]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1034]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1034]); } /* -Ifc4x3_add2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value Ifc4x3_add2::IfcSolarDeviceTypeEnum:: } Ifc4x3_add2::IfcSolarDeviceTypeEnum::operator Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1046]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1046]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1046]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1046]); } /* -Ifc4x3_add2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value Ifc4x3_add2::IfcSpaceHeaterTypeEnum:: } Ifc4x3_add2::IfcSpaceHeaterTypeEnum::operator Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1048]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1048]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1048]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1048]); } /* -Ifc4x3_add2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x3_add2::IfcSpaceTypeEnum::Value Ifc4x3_add2::IfcSpaceTypeEnum::FromString(c } Ifc4x3_add2::IfcSpaceTypeEnum::operator Ifc4x3_add2::IfcSpaceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1056]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1056]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1056]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1056]); } /* -Ifc4x3_add2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value Ifc4x3_add2::IfcSpatialZoneTypeEnum:: } Ifc4x3_add2::IfcSpatialZoneTypeEnum::operator Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1066]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1066]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1066]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1066]); } /* -Ifc4x3_add2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x3_add2::IfcStackTerminalTypeEnum::Value Ifc4x3_add2::IfcStackTerminalTypeEn } Ifc4x3_add2::IfcStackTerminalTypeEnum::operator Ifc4x3_add2::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x3_add2::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1070]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1070]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1070]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1070]); } /* -Ifc4x3_add2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x3_add2::IfcStairFlightTypeEnum::Value Ifc4x3_add2::IfcStairFlightTypeEnum:: } Ifc4x3_add2::IfcStairFlightTypeEnum::operator Ifc4x3_add2::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x3_add2::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1072]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1072]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1072]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1072]); } /* -Ifc4x3_add2::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x3_add2::IfcStairTypeEnum::Value Ifc4x3_add2::IfcStairTypeEnum::FromString(c } Ifc4x3_add2::IfcStairTypeEnum::operator Ifc4x3_add2::IfcStairTypeEnum::Value() const { - return (Ifc4x3_add2::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1073]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1073]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1073]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1073]); } /* -Ifc4x3_add2::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x3_add2::IfcStateEnum::Value Ifc4x3_add2::IfcStateEnum::FromString(const std } Ifc4x3_add2::IfcStateEnum::operator Ifc4x3_add2::IfcStateEnum::Value() const { - return (Ifc4x3_add2::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1082]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1082]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1082]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1082]); } /* -Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_add2::IfcStructura } Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::operator Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1085]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1085]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1085]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1085]); } /* -Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_add2::IfcStructuralC } Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::operator Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1111]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1111]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1111]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1111]); } /* -Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_add2::IfcStructu } Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1114]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1114]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1114]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1114]); } /* -Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_add2::IfcStructura } Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1122]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1122]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1122]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1122]); } /* -Ifc4x3_add2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value Ifc4x3_add2::IfcSubContractRe } Ifc4x3_add2::IfcSubContractResourceTypeEnum::operator Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1128]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1128]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1128]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1128]); } /* -Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value Ifc4x3_add2::IfcSurfaceFeatureType } Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::operator Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1133]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1133]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1133]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1133]); } /* -Ifc4x3_add2::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x3_add2::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x3_add2::IfcSurfaceSide::Value Ifc4x3_add2::IfcSurfaceSide::FromString(const } Ifc4x3_add2::IfcSurfaceSide::operator Ifc4x3_add2::IfcSurfaceSide::Value() const { - return (Ifc4x3_add2::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1148]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1148]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1148]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1148]); } /* -Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,23 +6126,23 @@ Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_add2::IfcSwitchingDeviceTy } Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::operator Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1152]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1152]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1152]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1152]); } /* -Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6155,23 +6155,23 @@ Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value Ifc4x3_add2::IfcSystemFurn } Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::operator Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1158]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1158]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1158]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1158]); } /* -Ifc4x3_add2::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6184,23 +6184,23 @@ Ifc4x3_add2::IfcTankTypeEnum::Value Ifc4x3_add2::IfcTankTypeEnum::FromString(con } Ifc4x3_add2::IfcTankTypeEnum::operator Ifc4x3_add2::IfcTankTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1160]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1160]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1160]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1160]); } /* -Ifc4x3_add2::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6213,23 +6213,23 @@ Ifc4x3_add2::IfcTaskDurationEnum::Value Ifc4x3_add2::IfcTaskDurationEnum::FromSt } Ifc4x3_add2::IfcTaskDurationEnum::operator Ifc4x3_add2::IfcTaskDurationEnum::Value() const { - return (Ifc4x3_add2::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1164]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1164]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1164]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1164]); } /* -Ifc4x3_add2::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6242,23 +6242,23 @@ Ifc4x3_add2::IfcTaskTypeEnum::Value Ifc4x3_add2::IfcTaskTypeEnum::FromString(con } Ifc4x3_add2::IfcTaskTypeEnum::operator Ifc4x3_add2::IfcTaskTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1171]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1171]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1171]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1171]); } /* -Ifc4x3_add2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6271,23 +6271,23 @@ Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value Ifc4x3_add2::IfcTendonAnchorTypeEnum } Ifc4x3_add2::IfcTendonAnchorTypeEnum::operator Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTendonConduitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1174]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTendonConduitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1174]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1174]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1174]); } /* -Ifc4x3_add2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6300,23 +6300,23 @@ Ifc4x3_add2::IfcTendonConduitTypeEnum::Value Ifc4x3_add2::IfcTendonConduitTypeEn } Ifc4x3_add2::IfcTendonConduitTypeEnum::operator Ifc4x3_add2::IfcTendonConduitTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTendonConduitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1176]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1176]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1176]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1176]); } /* -Ifc4x3_add2::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6329,23 +6329,23 @@ Ifc4x3_add2::IfcTendonTypeEnum::Value Ifc4x3_add2::IfcTendonTypeEnum::FromString } Ifc4x3_add2::IfcTendonTypeEnum::operator Ifc4x3_add2::IfcTendonTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1186]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1186]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1186]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1186]); } /* -Ifc4x3_add2::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x3_add2::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6358,23 +6358,23 @@ Ifc4x3_add2::IfcTextPath::Value Ifc4x3_add2::IfcTextPath::FromString(const std:: } Ifc4x3_add2::IfcTextPath::operator Ifc4x3_add2::IfcTextPath::Value() const { - return (Ifc4x3_add2::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1211]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1211]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1211]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1211]); } /* -Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6387,23 +6387,23 @@ Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_add2::IfcTimeSeriesDataType } Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::operator Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTrackElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1220]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTrackElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1220]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTrackElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1220]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTrackElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1220]); } /* -Ifc4x3_add2::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6416,23 +6416,23 @@ Ifc4x3_add2::IfcTrackElementTypeEnum::Value Ifc4x3_add2::IfcTrackElementTypeEnum } Ifc4x3_add2::IfcTrackElementTypeEnum::operator Ifc4x3_add2::IfcTrackElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTrackElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTrackElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1223]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1223]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1223]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1223]); } /* -Ifc4x3_add2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6445,23 +6445,23 @@ Ifc4x3_add2::IfcTransformerTypeEnum::Value Ifc4x3_add2::IfcTransformerTypeEnum:: } Ifc4x3_add2::IfcTransformerTypeEnum::operator Ifc4x3_add2::IfcTransformerTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1224]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1224]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1224]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1224]); } /* -Ifc4x3_add2::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x3_add2::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6474,23 +6474,23 @@ Ifc4x3_add2::IfcTransitionCode::Value Ifc4x3_add2::IfcTransitionCode::FromString } Ifc4x3_add2::IfcTransitionCode::operator Ifc4x3_add2::IfcTransitionCode::Value() const { - return (Ifc4x3_add2::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTransportElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1230]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTransportElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1230]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTransportElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1230]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTransportElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1230]); } /* -Ifc4x3_add2::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6503,23 +6503,23 @@ Ifc4x3_add2::IfcTransportElementTypeEnum::Value Ifc4x3_add2::IfcTransportElement } Ifc4x3_add2::IfcTransportElementTypeEnum::operator Ifc4x3_add2::IfcTransportElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTransportElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTransportElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1235]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1235]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1235]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1235]); } /* -Ifc4x3_add2::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x3_add2::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6532,23 +6532,23 @@ Ifc4x3_add2::IfcTrimmingPreference::Value Ifc4x3_add2::IfcTrimmingPreference::Fr } Ifc4x3_add2::IfcTrimmingPreference::operator Ifc4x3_add2::IfcTrimmingPreference::Value() const { - return (Ifc4x3_add2::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1240]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1240]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1240]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1240]); } /* -Ifc4x3_add2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6561,23 +6561,23 @@ Ifc4x3_add2::IfcTubeBundleTypeEnum::Value Ifc4x3_add2::IfcTubeBundleTypeEnum::Fr } Ifc4x3_add2::IfcTubeBundleTypeEnum::operator Ifc4x3_add2::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x3_add2::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1253]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1253]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1253]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1253]); } /* -Ifc4x3_add2::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6590,23 +6590,23 @@ Ifc4x3_add2::IfcUnitEnum::Value Ifc4x3_add2::IfcUnitEnum::FromString(const std:: } Ifc4x3_add2::IfcUnitEnum::operator Ifc4x3_add2::IfcUnitEnum::Value() const { - return (Ifc4x3_add2::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1248]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1248]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1248]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1248]); } /* -Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6619,23 +6619,23 @@ Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_add2::IfcUnitaryCont } Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::operator Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1251]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1251]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1251]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1251]); } /* -Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6648,23 +6648,23 @@ Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_add2::IfcUnitaryEquipment } Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::operator Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1259]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1259]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1259]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1259]); } /* -Ifc4x3_add2::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6677,23 +6677,23 @@ Ifc4x3_add2::IfcValveTypeEnum::Value Ifc4x3_add2::IfcValveTypeEnum::FromString(c } Ifc4x3_add2::IfcValveTypeEnum::operator Ifc4x3_add2::IfcValveTypeEnum::Value() const { - return (Ifc4x3_add2::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcVehicleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1265]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcVehicleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1265]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVehicleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1265]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVehicleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1265]); } /* -Ifc4x3_add2::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcVehicleTypeEnum::IfcVehicleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6706,23 +6706,23 @@ Ifc4x3_add2::IfcVehicleTypeEnum::Value Ifc4x3_add2::IfcVehicleTypeEnum::FromStri } Ifc4x3_add2::IfcVehicleTypeEnum::operator Ifc4x3_add2::IfcVehicleTypeEnum::Value() const { - return (Ifc4x3_add2::IfcVehicleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcVehicleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcVibrationDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1271]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1271]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1271]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1271]); } /* -Ifc4x3_add2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6735,23 +6735,23 @@ Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value Ifc4x3_add2::IfcVibrationDamperTy } Ifc4x3_add2::IfcVibrationDamperTypeEnum::operator Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value() const { - return (Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1274]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1274]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1274]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1274]); } /* -Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6764,23 +6764,23 @@ Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_add2::IfcVibrationIsolat } Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::operator Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcVirtualElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1276]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcVirtualElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1276]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVirtualElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1276]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVirtualElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1276]); } /* -Ifc4x3_add2::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6793,23 +6793,23 @@ Ifc4x3_add2::IfcVirtualElementTypeEnum::Value Ifc4x3_add2::IfcVirtualElementType } Ifc4x3_add2::IfcVirtualElementTypeEnum::operator Ifc4x3_add2::IfcVirtualElementTypeEnum::Value() const { - return (Ifc4x3_add2::IfcVirtualElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcVirtualElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1279]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1279]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1279]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1279]); } /* -Ifc4x3_add2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6822,23 +6822,23 @@ Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value Ifc4x3_add2::IfcVoidingFeatureType } Ifc4x3_add2::IfcVoidingFeatureTypeEnum::operator Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1285]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1285]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1285]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1285]); } /* -Ifc4x3_add2::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6851,23 +6851,23 @@ Ifc4x3_add2::IfcWallTypeEnum::Value Ifc4x3_add2::IfcWallTypeEnum::FromString(con } Ifc4x3_add2::IfcWallTypeEnum::operator Ifc4x3_add2::IfcWallTypeEnum::Value() const { - return (Ifc4x3_add2::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1291]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1291]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1291]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1291]); } /* -Ifc4x3_add2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6880,23 +6880,23 @@ Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value Ifc4x3_add2::IfcWasteTerminalTypeEn } Ifc4x3_add2::IfcWasteTerminalTypeEnum::operator Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1296]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1296]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1296]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1296]); } /* -Ifc4x3_add2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6909,23 +6909,23 @@ Ifc4x3_add2::IfcWindowPanelOperationEnum::Value Ifc4x3_add2::IfcWindowPanelOpera } Ifc4x3_add2::IfcWindowPanelOperationEnum::operator Ifc4x3_add2::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x3_add2::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1297]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1297]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1297]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1297]); } /* -Ifc4x3_add2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6938,23 +6938,23 @@ Ifc4x3_add2::IfcWindowPanelPositionEnum::Value Ifc4x3_add2::IfcWindowPanelPositi } Ifc4x3_add2::IfcWindowPanelPositionEnum::operator Ifc4x3_add2::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x3_add2::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1300]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1300]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1300]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1300]); } /* -Ifc4x3_add2::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6967,23 +6967,23 @@ Ifc4x3_add2::IfcWindowTypeEnum::Value Ifc4x3_add2::IfcWindowTypeEnum::FromString } Ifc4x3_add2::IfcWindowTypeEnum::operator Ifc4x3_add2::IfcWindowTypeEnum::Value() const { - return (Ifc4x3_add2::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1301]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1301]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1301]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1301]); } /* -Ifc4x3_add2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6996,23 +6996,23 @@ Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value Ifc4x3_add2::IfcWindowTypePart } Ifc4x3_add2::IfcWindowTypePartitioningEnum::operator Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1303]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1303]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1303]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1303]); } /* -Ifc4x3_add2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7025,23 +7025,23 @@ Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value Ifc4x3_add2::IfcWorkCalendarTypeEnum } Ifc4x3_add2::IfcWorkCalendarTypeEnum::operator Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1306]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1306]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1306]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1306]); } /* -Ifc4x3_add2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7054,23 +7054,23 @@ Ifc4x3_add2::IfcWorkPlanTypeEnum::Value Ifc4x3_add2::IfcWorkPlanTypeEnum::FromSt } Ifc4x3_add2::IfcWorkPlanTypeEnum::operator Ifc4x3_add2::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x3_add2::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_add2::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1308]); } -const IfcParse::enumeration_type& Ifc4x3_add2::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_ADD2_types[1308]); } +// const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1308]); } +const ifcopenshell::enumeration_type& Ifc4x3_add2::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_ADD2_types[1308]); } /* -Ifc4x3_add2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_add2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_add2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_add2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7083,861 +7083,861 @@ Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value Ifc4x3_add2::IfcWorkScheduleTypeEnum } Ifc4x3_add2::IfcWorkScheduleTypeEnum::operator Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x3_add2::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[8]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[8]); } -const IfcParse::select_type& Ifc4x3_add2::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[51]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[51]); } -const IfcParse::select_type& Ifc4x3_add2::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[68]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[68]); } -const IfcParse::select_type& Ifc4x3_add2::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[79]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[79]); } -const IfcParse::select_type& Ifc4x3_add2::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[88]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[88]); } -const IfcParse::select_type& Ifc4x3_add2::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[170]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[170]); } -const IfcParse::select_type& Ifc4x3_add2::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[171]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[171]); } -const IfcParse::select_type& Ifc4x3_add2::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[177]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[177]); } -const IfcParse::select_type& Ifc4x3_add2::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[178]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[178]); } -const IfcParse::select_type& Ifc4x3_add2::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[245]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[245]); } -const IfcParse::select_type& Ifc4x3_add2::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[263]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[263]); } -const IfcParse::select_type& Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[274]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[274]); } -const IfcParse::select_type& Ifc4x3_add2::IfcCurveMeasureSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[276]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcCurveMeasureSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[276]); } -const IfcParse::select_type& Ifc4x3_add2::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[277]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[277]); } -const IfcParse::select_type& Ifc4x3_add2::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[278]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[278]); } -const IfcParse::select_type& Ifc4x3_add2::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[284]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[284]); } -const IfcParse::select_type& Ifc4x3_add2::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[296]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[296]); } -const IfcParse::select_type& Ifc4x3_add2::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[297]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[297]); } -const IfcParse::select_type& Ifc4x3_add2::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[333]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[333]); } -const IfcParse::select_type& Ifc4x3_add2::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[458]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[458]); } -const IfcParse::select_type& Ifc4x3_add2::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[510]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[510]); } -const IfcParse::select_type& Ifc4x3_add2::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[523]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[523]); } -const IfcParse::select_type& Ifc4x3_add2::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[527]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[527]); } -const IfcParse::select_type& Ifc4x3_add2::IfcInterferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[555]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcInterferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[555]); } -const IfcParse::select_type& Ifc4x3_add2::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[582]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[582]); } -const IfcParse::select_type& Ifc4x3_add2::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[587]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[587]); } -const IfcParse::select_type& Ifc4x3_add2::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[590]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[590]); } -const IfcParse::select_type& Ifc4x3_add2::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[655]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[655]); } -const IfcParse::select_type& Ifc4x3_add2::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[657]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[657]); } -const IfcParse::select_type& Ifc4x3_add2::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[669]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[669]); } -const IfcParse::select_type& Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[677]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[677]); } -const IfcParse::select_type& Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[679]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[679]); } -const IfcParse::select_type& Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[680]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[680]); } -const IfcParse::select_type& Ifc4x3_add2::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[705]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[705]); } -const IfcParse::select_type& Ifc4x3_add2::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[768]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[768]); } -const IfcParse::select_type& Ifc4x3_add2::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[799]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[799]); } -const IfcParse::select_type& Ifc4x3_add2::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[803]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[803]); } -const IfcParse::select_type& Ifc4x3_add2::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[804]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[804]); } -const IfcParse::select_type& Ifc4x3_add2::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[827]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[827]); } -const IfcParse::select_type& Ifc4x3_add2::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[958]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[958]); } -const IfcParse::select_type& Ifc4x3_add2::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[959]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[959]); } -const IfcParse::select_type& Ifc4x3_add2::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[978]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[978]); } -const IfcParse::select_type& Ifc4x3_add2::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[997]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[997]); } -const IfcParse::select_type& Ifc4x3_add2::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1010]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1010]); } -const IfcParse::select_type& Ifc4x3_add2::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1021]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1021]); } -const IfcParse::select_type& Ifc4x3_add2::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1027]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1027]); } -const IfcParse::select_type& Ifc4x3_add2::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1037]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1037]); } -const IfcParse::select_type& Ifc4x3_add2::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1043]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1043]); } -const IfcParse::select_type& Ifc4x3_add2::IfcSpatialReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1051]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcSpatialReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1051]); } -const IfcParse::select_type& Ifc4x3_add2::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1059]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1059]); } -const IfcParse::select_type& Ifc4x3_add2::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1077]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1077]); } -const IfcParse::select_type& Ifc4x3_add2::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1131]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1131]); } -const IfcParse::select_type& Ifc4x3_add2::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1135]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1135]); } -const IfcParse::select_type& Ifc4x3_add2::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1183]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1183]); } -const IfcParse::select_type& Ifc4x3_add2::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1208]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1208]); } -const IfcParse::select_type& Ifc4x3_add2::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1225]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1225]); } -const IfcParse::select_type& Ifc4x3_add2::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1236]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1236]); } -const IfcParse::select_type& Ifc4x3_add2::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1245]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1245]); } -const IfcParse::select_type& Ifc4x3_add2::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1256]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1256]); } -const IfcParse::select_type& Ifc4x3_add2::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1262]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1262]); } -const IfcParse::select_type& Ifc4x3_add2::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_ADD2_types[1288]); } +const ifcopenshell::select_type& Ifc4x3_add2::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_ADD2_types[1288]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[0]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[0]); } void Ifc4x3_add2::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1]); } void Ifc4x3_add2::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[42]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[42]); } void Ifc4x3_add2::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[45]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[45]); } void Ifc4x3_add2::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x3_add2::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[57]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[57]); } void Ifc4x3_add2::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[58]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[58]); } void Ifc4x3_add2::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[59]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[59]); } void Ifc4x3_add2::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x3_add2::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[80]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[80]); } void Ifc4x3_add2::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x3_add2::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[86]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[86]); } void Ifc4x3_add2::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x3_add2::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[101]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[101]); } void Ifc4x3_add2::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x3_add2::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[145]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[145]); } void Ifc4x3_add2::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x3_add2::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[188]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[188]); } void Ifc4x3_add2::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[196]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[196]); } void Ifc4x3_add2::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[226]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[226]); } void Ifc4x3_add2::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[252]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[252]); } void Ifc4x3_add2::IfcCountMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcCountMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[270]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[270]); } void Ifc4x3_add2::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x3_add2::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[290]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[290]); } void Ifc4x3_add2::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x3_add2::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[291]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[291]); } void Ifc4x3_add2::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x3_add2::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[292]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[292]); } void Ifc4x3_add2::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x3_add2::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[293]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[293]); } void Ifc4x3_add2::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[302]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[302]); } void Ifc4x3_add2::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x3_add2::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[304]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[304]); } void Ifc4x3_add2::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[343]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[343]); } void Ifc4x3_add2::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x3_add2::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[355]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[355]); } void Ifc4x3_add2::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[356]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[356]); } void Ifc4x3_add2::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[368]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[368]); } void Ifc4x3_add2::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[369]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[369]); } void Ifc4x3_add2::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[370]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[370]); } void Ifc4x3_add2::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[371]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[371]); } void Ifc4x3_add2::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[387]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[387]); } void Ifc4x3_add2::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[391]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[391]); } void Ifc4x3_add2::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[406]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[406]); } void Ifc4x3_add2::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x3_add2::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[487]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[487]); } void Ifc4x3_add2::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x3_add2::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[488]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[488]); } void Ifc4x3_add2::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x3_add2::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[489]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[489]); } void Ifc4x3_add2::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[493]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[493]); } void Ifc4x3_add2::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[494]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[494]); } void Ifc4x3_add2::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x3_add2::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[517]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[517]); } void Ifc4x3_add2::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[531]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[531]); } void Ifc4x3_add2::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[532]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[532]); } void Ifc4x3_add2::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x3_add2::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[536]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[536]); } void Ifc4x3_add2::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[537]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[537]); } void Ifc4x3_add2::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[549]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[549]); } void Ifc4x3_add2::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x3_add2::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[550]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[550]); } void Ifc4x3_add2::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[551]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[551]); } void Ifc4x3_add2::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[560]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[560]); } void Ifc4x3_add2::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[564]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[564]); } void Ifc4x3_add2::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[571]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[571]); } void Ifc4x3_add2::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x3_add2::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[573]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[573]); } void Ifc4x3_add2::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x3_add2::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[581]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[581]); } void Ifc4x3_add2::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[584]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[584]); } void Ifc4x3_add2::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x3_add2::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[610]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[610]); } void Ifc4x3_add2::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[604]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[604]); } void Ifc4x3_add2::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[605]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[605]); } void Ifc4x3_add2::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[608]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[608]); } void Ifc4x3_add2::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[609]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[609]); } void Ifc4x3_add2::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x3_add2::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[616]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[616]); } void Ifc4x3_add2::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[620]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[620]); } void Ifc4x3_add2::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[621]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[621]); } void Ifc4x3_add2::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[622]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[622]); } void Ifc4x3_add2::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[623]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[623]); } void Ifc4x3_add2::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[624]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[624]); } void Ifc4x3_add2::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[633]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[633]); } void Ifc4x3_add2::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[634]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[634]); } void Ifc4x3_add2::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[635]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[635]); } void Ifc4x3_add2::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[636]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[636]); } void Ifc4x3_add2::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[674]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[674]); } void Ifc4x3_add2::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[675]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[675]); } void Ifc4x3_add2::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[676]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[676]); } void Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[678]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[678]); } void Ifc4x3_add2::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[681]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[681]); } void Ifc4x3_add2::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[682]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[682]); } void Ifc4x3_add2::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[683]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[683]); } void Ifc4x3_add2::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[684]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[684]); } void Ifc4x3_add2::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x3_add2::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[686]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[686]); } void Ifc4x3_add2::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[697]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[697]); } void Ifc4x3_add2::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[698]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[698]); } void Ifc4x3_add2::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[699]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[699]); } void Ifc4x3_add2::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[739]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[739]); } void Ifc4x3_add2::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x3_add2::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[725]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[725]); } void Ifc4x3_add2::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[758]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[758]); } void Ifc4x3_add2::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[760]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[760]); } void Ifc4x3_add2::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x3_add2::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[776]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[776]); } void Ifc4x3_add2::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[777]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[777]); } void Ifc4x3_add2::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[778]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[778]); } void Ifc4x3_add2::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[779]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[779]); } void Ifc4x3_add2::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[781]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[781]); } void Ifc4x3_add2::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x3_add2::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[789]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[789]); } void Ifc4x3_add2::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[794]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[794]); } void Ifc4x3_add2::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x3_add2::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[828]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[828]); } void Ifc4x3_add2::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x3_add2::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[852]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[852]); } void Ifc4x3_add2::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[869]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[869]); } void Ifc4x3_add2::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x3_add2::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[872]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[872]); } void Ifc4x3_add2::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[975]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[975]); } void Ifc4x3_add2::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[976]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[976]); } void Ifc4x3_add2::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[977]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[977]); } void Ifc4x3_add2::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[991]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[991]); } void Ifc4x3_add2::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[986]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[986]); } void Ifc4x3_add2::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1009]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1009]); } void Ifc4x3_add2::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1035]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1035]); } void Ifc4x3_add2::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1038]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1038]); } void Ifc4x3_add2::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1039]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1039]); } void Ifc4x3_add2::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1040]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1040]); } void Ifc4x3_add2::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1041]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1041]); } void Ifc4x3_add2::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1057]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1057]); } void Ifc4x3_add2::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x3_add2::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1058]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1058]); } void Ifc4x3_add2::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x3_add2::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1060]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1060]); } void Ifc4x3_add2::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcStrippedOptional -const IfcParse::type_declaration& Ifc4x3_add2::IfcStrippedOptional::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1074]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcStrippedOptional::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1074]); } void Ifc4x3_add2::IfcStrippedOptional::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcStrippedOptional::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1166]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1166]); } void Ifc4x3_add2::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1167]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1167]); } void Ifc4x3_add2::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x3_add2::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1179]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1179]); } void Ifc4x3_add2::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x3_add2::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1180]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1180]); } void Ifc4x3_add2::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x3_add2::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1181]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1181]); } void Ifc4x3_add2::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x3_add2::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1182]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1182]); } void Ifc4x3_add2::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x3_add2::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1191]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1191]); } void Ifc4x3_add2::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1199]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1199]); } void Ifc4x3_add2::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1200]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1200]); } void Ifc4x3_add2::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1201]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1201]); } void Ifc4x3_add2::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1202]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1202]); } void Ifc4x3_add2::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1203]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1203]); } void Ifc4x3_add2::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1204]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1204]); } void Ifc4x3_add2::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x3_add2::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1206]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1206]); } void Ifc4x3_add2::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1207]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1207]); } void Ifc4x3_add2::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x3_add2::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1213]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1213]); } void Ifc4x3_add2::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1217]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1217]); } void Ifc4x3_add2::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x3_add2::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1254]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1254]); } void Ifc4x3_add2::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1260]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1260]); } void Ifc4x3_add2::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1280]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1280]); } void Ifc4x3_add2::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1281]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1281]); } void Ifc4x3_add2::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1286]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1286]); } void Ifc4x3_add2::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x3_add2::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1287]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1287]); } void Ifc4x3_add2::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWellKnownTextLiteral -const IfcParse::type_declaration& Ifc4x3_add2::IfcWellKnownTextLiteral::Class() { return *((IfcParse::type_declaration*)IFC4X3_ADD2_types[1293]); } +const ifcopenshell::type_declaration& Ifc4x3_add2::IfcWellKnownTextLiteral::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_ADD2_types[1293]); } void Ifc4x3_add2::IfcWellKnownTextLiteral::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_add2::IfcWellKnownTextLiteral::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x3_add2::IfcActionRequestTypeEnum::Value > Ifc4x3_add2::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add2::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add2::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add2::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add2::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_add2::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add2::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[2]); } -void Ifc4x3_add2::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[2]); } +void Ifc4x3_add2::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::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)); } } // Function implementations for IfcActor ::Ifc4x3_add2::IfcActorSelect Ifc4x3_add2::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add2::IfcActorSelect>(); } void Ifc4x3_add2::IfcActor::setTheActor(const ::Ifc4x3_add2::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_add2::IfcRelAssignsToActor> Ifc4x3_add2::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[901], 6)); } +std::vector<::Ifc4x3_add2::IfcRelAssignsToActor> Ifc4x3_add2::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[901], 6)); } -const IfcParse::entity& Ifc4x3_add2::IfcActor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[6]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[6]); } void Ifc4x3_add2::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x3_add2::IfcRoleEnum::Value Ifc4x3_add2::IfcActorRole::Role() const { return ::Ifc4x3_add2::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add2::IfcActorRole::setRole(const ::Ifc4x3_add2::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add2::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add2::IfcActorRole::setRole(const ::Ifc4x3_add2::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add2::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_add2::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_add2::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[7]); } -void Ifc4x3_add2::IfcActorRole::initialize(::Ifc4x3_add2::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[7]); } +void Ifc4x3_add2::IfcActorRole::initialize(::Ifc4x3_add2::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::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)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value > Ifc4x3_add2::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[9]); } -void Ifc4x3_add2::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[9]); } +void Ifc4x3_add2::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x3_add2::IfcActuatorTypeEnum::Value Ifc4x3_add2::IfcActuatorType::PredefinedType() const { return ::Ifc4x3_add2::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcActuatorType::setPredefinedType(const ::Ifc4x3_add2::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcActuatorType::setPredefinedType(const ::Ifc4x3_add2::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[10]); } -void Ifc4x3_add2::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[10]); } +void Ifc4x3_add2::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > Ifc4x3_add2::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add2::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x3_add2::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x3_add2::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x3_add2::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x3_add2::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_add2::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_add2::IfcPerson> Ifc4x3_add2::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[737], 7)); } -std::vector<::Ifc4x3_add2::IfcOrganization> Ifc4x3_add2::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[716], 4)); } +std::vector<::Ifc4x3_add2::IfcPerson> Ifc4x3_add2::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[737], 7)); } +std::vector<::Ifc4x3_add2::IfcOrganization> Ifc4x3_add2::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[716], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[12]); } -void Ifc4x3_add2::IfcAddress::initialize(std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[12]); } +void Ifc4x3_add2::IfcAddress::initialize(std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::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)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x3_add2::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[14]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[14]); } void Ifc4x3_add2::IfcAdvancedBrep::initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -7945,93 +7945,93 @@ std::vector< ::Ifc4x3_add2::IfcClosedShell > Ifc4x3_add2::IfcAdvancedBrepWithVoi void Ifc4x3_add2::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_add2::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[15]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[15]); } void Ifc4x3_add2::IfcAdvancedBrepWithVoids::initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_add2::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x3_add2::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[16]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[16]); } void Ifc4x3_add2::IfcAdvancedFace::initialize(std::vector< ::Ifc4x3_add2::IfcFaceBound > v1_Bounds, ::Ifc4x3_add2::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value > Ifc4x3_add2::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[17]); } -void Ifc4x3_add2::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[17]); } +void Ifc4x3_add2::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3_add2::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[18]); } -void Ifc4x3_add2::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[18]); } +void Ifc4x3_add2::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_add2::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[19]); } -void Ifc4x3_add2::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[19]); } +void Ifc4x3_add2::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value Ifc4x3_add2::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[21]); } -void Ifc4x3_add2::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[21]); } +void Ifc4x3_add2::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3_add2::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[23]); } -void Ifc4x3_add2::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[23]); } +void Ifc4x3_add2::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_add2::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[24]); } -void Ifc4x3_add2::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[24]); } +void Ifc4x3_add2::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value > Ifc4x3_add2::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[26]); } -void Ifc4x3_add2::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[26]); } +void Ifc4x3_add2::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x3_add2::IfcAlarmTypeEnum::Value Ifc4x3_add2::IfcAlarmType::PredefinedType() const { return ::Ifc4x3_add2::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcAlarmType::setPredefinedType(const ::Ifc4x3_add2::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcAlarmType::setPredefinedType(const ::Ifc4x3_add2::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[27]); } -void Ifc4x3_add2::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[27]); } +void Ifc4x3_add2::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value > Ifc4x3_add2::IfcAlignment::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcAlignmentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add2::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[29]); } -void Ifc4x3_add2::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[29]); } +void Ifc4x3_add2::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAlignmentCant double Ifc4x3_add2::IfcAlignmentCant::RailHeadDistance() const { double v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcAlignmentCant::setRailHeadDistance(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add2::IfcAlignmentCant::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[30]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlignmentCant::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[30]); } void Ifc4x3_add2::IfcAlignmentCant::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_RailHeadDistance)); } // Function implementations for IfcAlignmentCantSegment @@ -8048,16 +8048,16 @@ void Ifc4x3_add2::IfcAlignmentCantSegment::setStartCantRight(const double& v) { std::optional< double > Ifc4x3_add2::IfcAlignmentCantSegment::EndCantRight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcAlignmentCantSegment::setEndCantRight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_add2::IfcAlignmentCantSegment::PredefinedType() const { return ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add2::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcAlignmentCantSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[31]); } -void Ifc4x3_add2::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlignmentCantSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[31]); } +void Ifc4x3_add2::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentHorizontal -const IfcParse::entity& Ifc4x3_add2::IfcAlignmentHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[33]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlignmentHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[33]); } void Ifc4x3_add2::IfcAlignmentHorizontal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentHorizontalSegment @@ -8074,11 +8074,11 @@ void Ifc4x3_add2::IfcAlignmentHorizontalSegment::setSegmentLength(const double& std::optional< double > Ifc4x3_add2::IfcAlignmentHorizontalSegment::GravityCenterLineHeight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcAlignmentHorizontalSegment::setGravityCenterLineHeight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_add2::IfcAlignmentHorizontalSegment::PredefinedType() const { return ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add2::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcAlignmentHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[34]); } -void Ifc4x3_add2::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_add2::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlignmentHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[34]); } +void Ifc4x3_add2::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_add2::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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, (enumeration_reference(&::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentParameterSegment std::optional< std::string > Ifc4x3_add2::IfcAlignmentParameterSegment::StartTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8087,7 +8087,7 @@ std::optional< std::string > Ifc4x3_add2::IfcAlignmentParameterSegment::EndTag() void Ifc4x3_add2::IfcAlignmentParameterSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add2::IfcAlignmentParameterSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[36]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlignmentParameterSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[36]); } void Ifc4x3_add2::IfcAlignmentParameterSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); } } // Function implementations for IfcAlignmentSegment @@ -8095,13 +8095,13 @@ void Ifc4x3_add2::IfcAlignmentParameterSegment::initialize(std::optional< std::s void Ifc4x3_add2::IfcAlignmentSegment::setDesignParameters(const ::Ifc4x3_add2::IfcAlignmentParameterSegment& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add2::IfcAlignmentSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[37]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlignmentSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[37]); } void Ifc4x3_add2::IfcAlignmentSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcAlignmentParameterSegment v8_DesignParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_DesignParameters)); } // Function implementations for IfcAlignmentVertical -const IfcParse::entity& Ifc4x3_add2::IfcAlignmentVertical::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[39]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlignmentVertical::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[39]); } void Ifc4x3_add2::IfcAlignmentVertical::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentVerticalSegment @@ -8118,20 +8118,20 @@ void Ifc4x3_add2::IfcAlignmentVerticalSegment::setEndGradient(const double& v) { std::optional< double > Ifc4x3_add2::IfcAlignmentVerticalSegment::RadiusOfCurvature() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcAlignmentVerticalSegment::setRadiusOfCurvature(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_add2::IfcAlignmentVerticalSegment::PredefinedType() const { return ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add2::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcAlignmentVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[40]); } -void Ifc4x3_add2::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAlignmentVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[40]); } +void Ifc4x3_add2::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAnnotation std::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value > Ifc4x3_add2::IfcAnnotation::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcAnnotationTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add2::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add2::IfcRelContainedInSpatialStructure> Ifc4x3_add2::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[926], 4)); } +std::vector<::Ifc4x3_add2::IfcRelContainedInSpatialStructure> Ifc4x3_add2::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[926], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[46]); } -void Ifc4x3_add2::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[46]); } +void Ifc4x3_add2::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAnnotationFillArea ::Ifc4x3_add2::IfcCurve Ifc4x3_add2::IfcAnnotationFillArea::OuterBoundary() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcCurve>(); } @@ -8140,7 +8140,7 @@ std::optional< std::vector< ::Ifc4x3_add2::IfcCurve > > Ifc4x3_add2::IfcAnnotati void Ifc4x3_add2::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_add2::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add2::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[47]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[47]); } void Ifc4x3_add2::IfcAnnotationFillArea::initialize(::Ifc4x3_add2::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_add2::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -8154,7 +8154,7 @@ std::string Ifc4x3_add2::IfcApplication::ApplicationIdentifier() const { std::s void Ifc4x3_add2::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[49]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[49]); } void Ifc4x3_add2::IfcApplication::initialize(::Ifc4x3_add2::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -8175,14 +8175,14 @@ void Ifc4x3_add2::IfcAppliedValue::setCategory(const std::optional< std::string std::optional< std::string > Ifc4x3_add2::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > Ifc4x3_add2::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > Ifc4x3_add2::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_add2::IfcAppliedValue>(es); } void Ifc4x3_add2::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[50]); } -void Ifc4x3_add2::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[50]); } +void Ifc4x3_add2::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x3_add2::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8204,13 +8204,13 @@ void Ifc4x3_add2::IfcApproval::setRequestingApproval(const ::Ifc4x3_add2::IfcAct ::Ifc4x3_add2::IfcActorSelect Ifc4x3_add2::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_add2::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add2::IfcActorSelect>(); } void Ifc4x3_add2::IfcApproval::setGivingApproval(const ::Ifc4x3_add2::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -std::vector<::Ifc4x3_add2::IfcRelAssociatesApproval> Ifc4x3_add2::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[909], 5)); } -std::vector<::Ifc4x3_add2::IfcResourceApprovalRelationship> Ifc4x3_add2::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[955], 3)); } -std::vector<::Ifc4x3_add2::IfcApprovalRelationship> Ifc4x3_add2::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[53], 3)); } -std::vector<::Ifc4x3_add2::IfcApprovalRelationship> Ifc4x3_add2::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[53], 2)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcRelAssociatesApproval> Ifc4x3_add2::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[909], 5)); } +std::vector<::Ifc4x3_add2::IfcResourceApprovalRelationship> Ifc4x3_add2::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[955], 3)); } +std::vector<::Ifc4x3_add2::IfcApprovalRelationship> Ifc4x3_add2::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[53], 3)); } +std::vector<::Ifc4x3_add2::IfcApprovalRelationship> Ifc4x3_add2::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[53], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[52]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[52]); } void Ifc4x3_add2::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_add2::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_add2::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -8220,7 +8220,7 @@ std::vector< ::Ifc4x3_add2::IfcApproval > Ifc4x3_add2::IfcApprovalRelationship:: void Ifc4x3_add2::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x3_add2::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[53]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[53]); } void Ifc4x3_add2::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_add2::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -8228,24 +8228,24 @@ void Ifc4x3_add2::IfcApprovalRelationship::initialize(std::optional< std::string void Ifc4x3_add2::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x3_add2::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[54]); } -void Ifc4x3_add2::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve v3_OuterCurve) { 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[54]); } +void Ifc4x3_add2::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x3_add2::IfcBoundedCurve Ifc4x3_add2::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcBoundedCurve>(); } void Ifc4x3_add2::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x3_add2::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[55]); } -void Ifc4x3_add2::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve v3_Curve) { 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[55]); } +void Ifc4x3_add2::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x3_add2::IfcCurve > Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_add2::IfcCurve>(es); } void Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x3_add2::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[56]); } -void Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_add2::IfcCurve > v4_InnerCurves) { 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));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[56]); } +void Ifc4x3_add2::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_add2::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x3_add2::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -8268,7 +8268,7 @@ void Ifc4x3_add2::IfcAsset::setIncorporationDate(const std::optional< std::strin void Ifc4x3_add2::IfcAsset::setDepreciatedValue(const ::Ifc4x3_add2::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_add2::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[62]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[62]); } void Ifc4x3_add2::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::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, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_add2::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -8298,31 +8298,31 @@ std::optional< double > Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::TopFlangeSlo void Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[63]); } -void Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { 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));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[63]); } +void Ifc4x3_add2::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3_add2::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[64]); } -void Ifc4x3_add2::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[64]); } +void Ifc4x3_add2::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_add2::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[65]); } -void Ifc4x3_add2::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[65]); } +void Ifc4x3_add2::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x3_add2::IfcDirection Ifc4x3_add2::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_add2::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcDirection>(); } void Ifc4x3_add2::IfcAxis1Placement::setAxis(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[67]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[67]); } void Ifc4x3_add2::IfcAxis1Placement::initialize(::Ifc4x3_add2::IfcPoint v1_Location, ::Ifc4x3_add2::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -8330,7 +8330,7 @@ void Ifc4x3_add2::IfcAxis1Placement::initialize(::Ifc4x3_add2::IfcPoint v1_Locat void Ifc4x3_add2::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[69]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[69]); } void Ifc4x3_add2::IfcAxis2Placement2D::initialize(::Ifc4x3_add2::IfcPoint v1_Location, ::Ifc4x3_add2::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -8340,7 +8340,7 @@ void Ifc4x3_add2::IfcAxis2Placement3D::setAxis(const ::Ifc4x3_add2::IfcDirection void Ifc4x3_add2::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[70]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[70]); } void Ifc4x3_add2::IfcAxis2Placement3D::initialize(::Ifc4x3_add2::IfcPoint v1_Location, ::Ifc4x3_add2::IfcDirection v2_Axis, ::Ifc4x3_add2::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcAxis2PlacementLinear @@ -8350,7 +8350,7 @@ void Ifc4x3_add2::IfcAxis2PlacementLinear::setAxis(const ::Ifc4x3_add2::IfcDirec void Ifc4x3_add2::IfcAxis2PlacementLinear::setRefDirection(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcAxis2PlacementLinear::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[71]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcAxis2PlacementLinear::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[71]); } void Ifc4x3_add2::IfcAxis2PlacementLinear::initialize(::Ifc4x3_add2::IfcPoint v1_Location, ::Ifc4x3_add2::IfcDirection v2_Axis, ::Ifc4x3_add2::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -8359,15 +8359,15 @@ void Ifc4x3_add2::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value std::vector< ::Ifc4x3_add2::IfcCartesianPoint > Ifc4x3_add2::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add2::IfcCartesianPoint>(es); } void Ifc4x3_add2::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x3_add2::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add2::IfcBSplineCurveForm::Value Ifc4x3_add2::IfcBSplineCurve::CurveForm() const { return ::Ifc4x3_add2::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x3_add2::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_add2::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add2::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add2::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_add2::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add2::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x3_add2::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x3_add2::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_add2::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[107]); } -void Ifc4x3_add2::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_add2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[107]); } +void Ifc4x3_add2::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_add2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_add2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -8375,11 +8375,11 @@ void Ifc4x3_add2::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vec std::vector< double > /*[2:?]*/ Ifc4x3_add2::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_add2::IfcKnotType::Value Ifc4x3_add2::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x3_add2::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_add2::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add2::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_add2::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add2::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[109]); } -void Ifc4x3_add2::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_add2::IfcCartesianPoint > 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) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[109]); } +void Ifc4x3_add2::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_add2::IfcCartesianPoint > 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) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::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, (enumeration_reference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x3_add2::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -8389,7 +8389,7 @@ void Ifc4x3_add2::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_va std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > Ifc4x3_add2::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x3_add2::IfcCartesianPoint>(es); } void Ifc4x3_add2::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value Ifc4x3_add2::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x3_add2::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x3_add2::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_add2::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_add2::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_add2::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_add2::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x3_add2::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -8398,8 +8398,8 @@ boost::logic::tribool Ifc4x3_add2::IfcBSplineSurface::SelfIntersect() const { b void Ifc4x3_add2::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[110]); } -void Ifc4x3_add2::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[110]); } +void Ifc4x3_add2::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::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)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_add2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -8411,43 +8411,43 @@ void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< doubl std::vector< double > /*[2:?]*/ Ifc4x3_add2::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x3_add2::IfcKnotType::Value Ifc4x3_add2::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x3_add2::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_add2::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_add2::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[112]); } -void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > 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) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[112]); } +void Ifc4x3_add2::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > 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) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::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, (enumeration_reference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value > Ifc4x3_add2::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[72]); } -void Ifc4x3_add2::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[72]); } +void Ifc4x3_add2::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x3_add2::IfcBeamTypeEnum::Value Ifc4x3_add2::IfcBeamType::PredefinedType() const { return ::Ifc4x3_add2::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcBeamType::setPredefinedType(const ::Ifc4x3_add2::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcBeamType::setPredefinedType(const ::Ifc4x3_add2::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[73]); } -void Ifc4x3_add2::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[73]); } +void Ifc4x3_add2::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBearing std::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value > Ifc4x3_add2::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBearingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[75]); } -void Ifc4x3_add2::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[75]); } +void Ifc4x3_add2::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBearingType ::Ifc4x3_add2::IfcBearingTypeEnum::Value Ifc4x3_add2::IfcBearingType::PredefinedType() const { return ::Ifc4x3_add2::IfcBearingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcBearingType::setPredefinedType(const ::Ifc4x3_add2::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcBearingType::setPredefinedType(const ::Ifc4x3_add2::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[76]); } -void Ifc4x3_add2::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[76]); } +void Ifc4x3_add2::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x3_add2::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -8456,7 +8456,7 @@ boost::dynamic_bitset<> Ifc4x3_add2::IfcBlobTexture::RasterCode() const { boost void Ifc4x3_add2::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[81]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[81]); } void Ifc4x3_add2::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -8468,47 +8468,47 @@ double Ifc4x3_add2::IfcBlock::ZLength() const { double v = get_attribute_value( void Ifc4x3_add2::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[82]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[82]); } void Ifc4x3_add2::IfcBlock::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value > Ifc4x3_add2::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[83]); } -void Ifc4x3_add2::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[83]); } +void Ifc4x3_add2::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x3_add2::IfcBoilerTypeEnum::Value Ifc4x3_add2::IfcBoilerType::PredefinedType() const { return ::Ifc4x3_add2::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcBoilerType::setPredefinedType(const ::Ifc4x3_add2::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcBoilerType::setPredefinedType(const ::Ifc4x3_add2::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[84]); } -void Ifc4x3_add2::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[84]); } +void Ifc4x3_add2::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x3_add2::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[87]); } -void Ifc4x3_add2::IfcBooleanClippingResult::initialize(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[87]); } +void Ifc4x3_add2::IfcBooleanClippingResult::initialize(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x3_add2::IfcBooleanOperator::Value Ifc4x3_add2::IfcBooleanResult::Operator() const { return ::Ifc4x3_add2::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x3_add2::IfcBooleanResult::setOperator(const ::Ifc4x3_add2::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add2::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add2::IfcBooleanResult::setOperator(const ::Ifc4x3_add2::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add2::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add2::IfcBooleanOperand Ifc4x3_add2::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcBooleanOperand>(); } void Ifc4x3_add2::IfcBooleanResult::setFirstOperand(const ::Ifc4x3_add2::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add2::IfcBooleanOperand Ifc4x3_add2::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcBooleanOperand>(); } void Ifc4x3_add2::IfcBooleanResult::setSecondOperand(const ::Ifc4x3_add2::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[90]); } -void Ifc4x3_add2::IfcBooleanResult::initialize(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[90]); } +void Ifc4x3_add2::IfcBooleanResult::initialize(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBorehole -const IfcParse::entity& Ifc4x3_add2::IfcBorehole::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[91]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBorehole::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[91]); } void Ifc4x3_add2::IfcBorehole::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBoundaryCondition @@ -8516,13 +8516,13 @@ std::optional< std::string > Ifc4x3_add2::IfcBoundaryCondition::Name() const { i void Ifc4x3_add2::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add2::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[92]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[92]); } void Ifc4x3_add2::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x3_add2::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[93]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[93]); } void Ifc4x3_add2::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -8540,7 +8540,7 @@ void Ifc4x3_add2::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(cons void Ifc4x3_add2::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[94]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[94]); } void Ifc4x3_add2::IfcBoundaryEdgeCondition::initialize(std::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) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -8552,7 +8552,7 @@ void Ifc4x3_add2::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(con void Ifc4x3_add2::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[95]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[95]); } void Ifc4x3_add2::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -8570,7 +8570,7 @@ void Ifc4x3_add2::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4 void Ifc4x3_add2::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x3_add2::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[96]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[96]); } void Ifc4x3_add2::IfcBoundaryNodeCondition::initialize(std::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) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -8578,19 +8578,19 @@ void Ifc4x3_add2::IfcBoundaryNodeCondition::initialize(std::optional< std::strin void Ifc4x3_add2::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x3_add2::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add2::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[97]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[97]); } void Ifc4x3_add2::IfcBoundaryNodeConditionWarping::initialize(std::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) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -const IfcParse::entity& Ifc4x3_add2::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[98]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[98]); } void Ifc4x3_add2::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x3_add2::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[99]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[99]); } void Ifc4x3_add2::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -8604,7 +8604,7 @@ double Ifc4x3_add2::IfcBoundingBox::ZDim() const { double v = get_attribute_val void Ifc4x3_add2::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[100]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[100]); } void Ifc4x3_add2::IfcBoundingBox::initialize(::Ifc4x3_add2::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -8612,24 +8612,24 @@ void Ifc4x3_add2::IfcBoundingBox::initialize(::Ifc4x3_add2::IfcCartesianPoint v1 void Ifc4x3_add2::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x3_add2::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[102]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[102]); } void Ifc4x3_add2::IfcBoxedHalfSpace::initialize(::Ifc4x3_add2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add2::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBridge std::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value > Ifc4x3_add2::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[103]); } -void Ifc4x3_add2::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[103]); } +void Ifc4x3_add2::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBridgePart std::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value > Ifc4x3_add2::IfcBridgePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBridgePartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcBridgePart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[104]); } -void Ifc4x3_add2::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBridgePart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[104]); } +void Ifc4x3_add2::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcBuilding std::optional< double > Ifc4x3_add2::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -8640,96 +8640,96 @@ void Ifc4x3_add2::IfcBuilding::setElevationOfTerrain(const std::optional< double void Ifc4x3_add2::IfcBuilding::setBuildingAddress(const ::Ifc4x3_add2::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[113]); } -void Ifc4x3_add2::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_add2::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[113]); } +void Ifc4x3_add2::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_add2::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::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)); } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value > Ifc4x3_add2::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[114]); } -void Ifc4x3_add2::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[114]); } +void Ifc4x3_add2::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value Ifc4x3_add2::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[115]); } -void Ifc4x3_add2::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[115]); } +void Ifc4x3_add2::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3_add2::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[117]); } -void Ifc4x3_add2::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[117]); } +void Ifc4x3_add2::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_add2::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[118]); } -void Ifc4x3_add2::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[118]); } +void Ifc4x3_add2::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingStorey std::optional< double > Ifc4x3_add2::IfcBuildingStorey::Elevation() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[120]); } -void Ifc4x3_add2::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[120]); } +void Ifc4x3_add2::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value > Ifc4x3_add2::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_add2::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_add2::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[121]); } -void Ifc4x3_add2::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[121]); } +void Ifc4x3_add2::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBuiltElement -const IfcParse::entity& Ifc4x3_add2::IfcBuiltElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[123]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuiltElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[123]); } void Ifc4x3_add2::IfcBuiltElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuiltElementType -const IfcParse::entity& Ifc4x3_add2::IfcBuiltElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[124]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuiltElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[124]); } void Ifc4x3_add2::IfcBuiltElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuiltSystem std::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value > Ifc4x3_add2::IfcBuiltSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_add2::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_add2::IfcBuiltSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcBuiltSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcBuiltSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[125]); } -void Ifc4x3_add2::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBuiltSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[125]); } +void Ifc4x3_add2::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value > Ifc4x3_add2::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[127]); } -void Ifc4x3_add2::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[127]); } +void Ifc4x3_add2::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x3_add2::IfcBurnerTypeEnum::Value Ifc4x3_add2::IfcBurnerType::PredefinedType() const { return ::Ifc4x3_add2::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcBurnerType::setPredefinedType(const ::Ifc4x3_add2::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcBurnerType::setPredefinedType(const ::Ifc4x3_add2::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[128]); } -void Ifc4x3_add2::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[128]); } +void Ifc4x3_add2::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x3_add2::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -8744,101 +8744,101 @@ std::optional< double > Ifc4x3_add2::IfcCShapeProfileDef::InternalFilletRadius() void Ifc4x3_add2::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[265]); } -void Ifc4x3_add2::IfcCShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { 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));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[265]); } +void Ifc4x3_add2::IfcCShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3_add2::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[130]); } -void Ifc4x3_add2::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[130]); } +void Ifc4x3_add2::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_add2::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[131]); } -void Ifc4x3_add2::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[131]); } +void Ifc4x3_add2::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3_add2::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[133]); } -void Ifc4x3_add2::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[133]); } +void Ifc4x3_add2::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_add2::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[134]); } -void Ifc4x3_add2::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[134]); } +void Ifc4x3_add2::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value > Ifc4x3_add2::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[136]); } -void Ifc4x3_add2::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[136]); } +void Ifc4x3_add2::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value Ifc4x3_add2::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3_add2::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[137]); } -void Ifc4x3_add2::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[137]); } +void Ifc4x3_add2::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value > Ifc4x3_add2::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[139]); } -void Ifc4x3_add2::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[139]); } +void Ifc4x3_add2::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value Ifc4x3_add2::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[140]); } -void Ifc4x3_add2::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[140]); } +void Ifc4x3_add2::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCaissonFoundation std::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value > Ifc4x3_add2::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[142]); } -void Ifc4x3_add2::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[142]); } +void Ifc4x3_add2::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCaissonFoundationType ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value Ifc4x3_add2::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[143]); } -void Ifc4x3_add2::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[143]); } +void Ifc4x3_add2::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x3_add2::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x3_add2::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[146]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[146]); } void Ifc4x3_add2::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x3_add2::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[147]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[147]); } void Ifc4x3_add2::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -8848,7 +8848,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add2::IfcCartesianP void Ifc4x3_add2::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add2::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[148]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[148]); } void Ifc4x3_add2::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -8858,7 +8858,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add2::IfcCartesianP void Ifc4x3_add2::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add2::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[149]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[149]); } void Ifc4x3_add2::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -8872,13 +8872,13 @@ std::optional< double > Ifc4x3_add2::IfcCartesianTransformationOperator::Scale() void Ifc4x3_add2::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[150]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[150]); } void Ifc4x3_add2::IfcCartesianTransformationOperator::initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[151]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[151]); } void Ifc4x3_add2::IfcCartesianTransformationOperator2D::initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -8886,7 +8886,7 @@ std::optional< double > Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUnif void Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[152]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[152]); } void Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -8894,7 +8894,7 @@ void Ifc4x3_add2::IfcCartesianTransformationOperator2DnonUniform::initialize(::I void Ifc4x3_add2::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[153]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[153]); } void Ifc4x3_add2::IfcCartesianTransformationOperator3D::initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_add2::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -8904,7 +8904,7 @@ std::optional< double > Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUnif void Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[154]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[154]); } void Ifc4x3_add2::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_add2::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -8912,47 +8912,47 @@ double Ifc4x3_add2::IfcCenterLineProfileDef::Thickness() const { double v = get void Ifc4x3_add2::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[155]); } -void Ifc4x3_add2::IfcCenterLineProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve v3_Curve, double v4_Thickness) { 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));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[155]); } +void Ifc4x3_add2::IfcCenterLineProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value > Ifc4x3_add2::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[157]); } -void Ifc4x3_add2::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[157]); } +void Ifc4x3_add2::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x3_add2::IfcChillerTypeEnum::Value Ifc4x3_add2::IfcChillerType::PredefinedType() const { return ::Ifc4x3_add2::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcChillerType::setPredefinedType(const ::Ifc4x3_add2::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcChillerType::setPredefinedType(const ::Ifc4x3_add2::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[158]); } -void Ifc4x3_add2::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[158]); } +void Ifc4x3_add2::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value > Ifc4x3_add2::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[160]); } -void Ifc4x3_add2::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[160]); } +void Ifc4x3_add2::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x3_add2::IfcChimneyTypeEnum::Value Ifc4x3_add2::IfcChimneyType::PredefinedType() const { return ::Ifc4x3_add2::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcChimneyType::setPredefinedType(const ::Ifc4x3_add2::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcChimneyType::setPredefinedType(const ::Ifc4x3_add2::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[161]); } -void Ifc4x3_add2::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[161]); } +void Ifc4x3_add2::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x3_add2::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[163]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[163]); } void Ifc4x3_add2::IfcCircle::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -8960,27 +8960,27 @@ double Ifc4x3_add2::IfcCircleHollowProfileDef::WallThickness() const { double v void Ifc4x3_add2::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[164]); } -void Ifc4x3_add2::IfcCircleHollowProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { 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));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[164]); } +void Ifc4x3_add2::IfcCircleHollowProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x3_add2::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x3_add2::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[165]); } -void Ifc4x3_add2::IfcCircleProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Radius) { 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));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[165]); } +void Ifc4x3_add2::IfcCircleProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x3_add2::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[166]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[166]); } void Ifc4x3_add2::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x3_add2::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[167]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[167]); } void Ifc4x3_add2::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -8999,10 +8999,10 @@ void Ifc4x3_add2::IfcClassification::setSpecification(const std::optional< std:: std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add2::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add2::IfcRelAssociatesClassification> Ifc4x3_add2::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[910], 5)); } -std::vector<::Ifc4x3_add2::IfcClassificationReference> Ifc4x3_add2::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[169], 3)); } +std::vector<::Ifc4x3_add2::IfcRelAssociatesClassification> Ifc4x3_add2::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[910], 5)); } +std::vector<::Ifc4x3_add2::IfcClassificationReference> Ifc4x3_add2::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[169], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[168]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[168]); } void Ifc4x3_add2::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Specification, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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)); } } // Function implementations for IfcClassificationReference @@ -9013,16 +9013,16 @@ void Ifc4x3_add2::IfcClassificationReference::setDescription(const std::optional std::optional< std::string > Ifc4x3_add2::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add2::IfcRelAssociatesClassification> Ifc4x3_add2::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[910], 5)); } -std::vector<::Ifc4x3_add2::IfcClassificationReference> Ifc4x3_add2::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[169], 3)); } +std::vector<::Ifc4x3_add2::IfcRelAssociatesClassification> Ifc4x3_add2::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[910], 5)); } +std::vector<::Ifc4x3_add2::IfcClassificationReference> Ifc4x3_add2::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[169], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[169]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[169]); } void Ifc4x3_add2::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_add2::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x3_add2::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[172]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[172]); } void Ifc4x3_add2::IfcClosedShell::initialize(std::vector< ::Ifc4x3_add2::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcClothoid @@ -9030,24 +9030,24 @@ double Ifc4x3_add2::IfcClothoid::ClothoidConstant() const { double v = get_attr void Ifc4x3_add2::IfcClothoid::setClothoidConstant(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcClothoid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[173]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcClothoid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[173]); } void Ifc4x3_add2::IfcClothoid::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_ClothoidConstant) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_ClothoidConstant)); } // Function implementations for IfcCoil std::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value > Ifc4x3_add2::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[174]); } -void Ifc4x3_add2::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[174]); } +void Ifc4x3_add2::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x3_add2::IfcCoilTypeEnum::Value Ifc4x3_add2::IfcCoilType::PredefinedType() const { return ::Ifc4x3_add2::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCoilType::setPredefinedType(const ::Ifc4x3_add2::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCoilType::setPredefinedType(const ::Ifc4x3_add2::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[175]); } -void Ifc4x3_add2::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[175]); } +void Ifc4x3_add2::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x3_add2::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -9058,7 +9058,7 @@ double Ifc4x3_add2::IfcColourRgb::Blue() const { double v = get_attribute_value void Ifc4x3_add2::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[179]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[179]); } void Ifc4x3_add2::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -9066,7 +9066,7 @@ std::vector< std::vector< double > > Ifc4x3_add2::IfcColourRgbList::ColourList() void Ifc4x3_add2::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[180]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[180]); } void Ifc4x3_add2::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -9074,40 +9074,40 @@ std::optional< std::string > Ifc4x3_add2::IfcColourSpecification::Name() const { void Ifc4x3_add2::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add2::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[181]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[181]); } void Ifc4x3_add2::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value > Ifc4x3_add2::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[182]); } -void Ifc4x3_add2::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[182]); } +void Ifc4x3_add2::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x3_add2::IfcColumnTypeEnum::Value Ifc4x3_add2::IfcColumnType::PredefinedType() const { return ::Ifc4x3_add2::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcColumnType::setPredefinedType(const ::Ifc4x3_add2::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcColumnType::setPredefinedType(const ::Ifc4x3_add2::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[183]); } -void Ifc4x3_add2::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[183]); } +void Ifc4x3_add2::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3_add2::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[185]); } -void Ifc4x3_add2::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[185]); } +void Ifc4x3_add2::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_add2::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[186]); } -void Ifc4x3_add2::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[186]); } +void Ifc4x3_add2::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x3_add2::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -9116,20 +9116,20 @@ std::vector< ::Ifc4x3_add2::IfcProperty > Ifc4x3_add2::IfcComplexProperty::HasPr void Ifc4x3_add2::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x3_add2::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[189]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[189]); } void Ifc4x3_add2::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::string v3_UsageName, std::vector< ::Ifc4x3_add2::IfcProperty > v4_HasProperties) { 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, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x3_add2::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x3_add2::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_add2::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > > Ifc4x3_add2::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_add2::IfcPropertyTemplate>(es); } void Ifc4x3_add2::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[190]); } -void Ifc4x3_add2::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[190]); } +void Ifc4x3_add2::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x3_add2::IfcSegment > Ifc4x3_add2::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcSegment>(es); } @@ -9138,13 +9138,13 @@ boost::logic::tribool Ifc4x3_add2::IfcCompositeCurve::SelfIntersect() const { b void Ifc4x3_add2::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[192]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[192]); } void Ifc4x3_add2::IfcCompositeCurve::initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x3_add2::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[193]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[193]); } void Ifc4x3_add2::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment @@ -9154,8 +9154,8 @@ void Ifc4x3_add2::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_at void Ifc4x3_add2::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x3_add2::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[194]); } -void Ifc4x3_add2::IfcCompositeCurveSegment::initialize(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve v3_ParentCurve) { 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[194]); } +void Ifc4x3_add2::IfcCompositeCurveSegment::initialize(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x3_add2::IfcProfileDef > Ifc4x3_add2::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_add2::IfcProfileDef>(es); } @@ -9164,47 +9164,47 @@ std::optional< std::string > Ifc4x3_add2::IfcCompositeProfileDef::Label() const void Ifc4x3_add2::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[195]); } -void Ifc4x3_add2::IfcCompositeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_add2::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { 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, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[195]); } +void Ifc4x3_add2::IfcCompositeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_add2::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value > Ifc4x3_add2::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[197]); } -void Ifc4x3_add2::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[197]); } +void Ifc4x3_add2::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x3_add2::IfcCompressorTypeEnum::Value Ifc4x3_add2::IfcCompressorType::PredefinedType() const { return ::Ifc4x3_add2::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCompressorType::setPredefinedType(const ::Ifc4x3_add2::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCompressorType::setPredefinedType(const ::Ifc4x3_add2::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[198]); } -void Ifc4x3_add2::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[198]); } +void Ifc4x3_add2::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value > Ifc4x3_add2::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[200]); } -void Ifc4x3_add2::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[200]); } +void Ifc4x3_add2::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x3_add2::IfcCondenserTypeEnum::Value Ifc4x3_add2::IfcCondenserType::PredefinedType() const { return ::Ifc4x3_add2::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCondenserType::setPredefinedType(const ::Ifc4x3_add2::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCondenserType::setPredefinedType(const ::Ifc4x3_add2::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[201]); } -void Ifc4x3_add2::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[201]); } +void Ifc4x3_add2::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x3_add2::IfcAxis2Placement Ifc4x3_add2::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcAxis2Placement>(); } void Ifc4x3_add2::IfcConic::setPosition(const ::Ifc4x3_add2::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcConic::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[203]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[203]); } void Ifc4x3_add2::IfcConic::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -9212,7 +9212,7 @@ std::vector< ::Ifc4x3_add2::IfcFace > Ifc4x3_add2::IfcConnectedFaceSet::CfsFaces void Ifc4x3_add2::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x3_add2::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[204]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[204]); } void Ifc4x3_add2::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x3_add2::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -9222,13 +9222,13 @@ void Ifc4x3_add2::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const :: void Ifc4x3_add2::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x3_add2::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[205]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[205]); } void Ifc4x3_add2::IfcConnectionCurveGeometry::initialize(::Ifc4x3_add2::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_add2::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x3_add2::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[206]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[206]); } void Ifc4x3_add2::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -9240,7 +9240,7 @@ std::optional< double > Ifc4x3_add2::IfcConnectionPointEccentricity::Eccentricit void Ifc4x3_add2::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[207]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[207]); } void Ifc4x3_add2::IfcConnectionPointEccentricity::initialize(::Ifc4x3_add2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_add2::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -9250,7 +9250,7 @@ void Ifc4x3_add2::IfcConnectionPointGeometry::setPointOnRelatingElement(const :: void Ifc4x3_add2::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x3_add2::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[208]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[208]); } void Ifc4x3_add2::IfcConnectionPointGeometry::initialize(::Ifc4x3_add2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_add2::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -9260,7 +9260,7 @@ void Ifc4x3_add2::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(cons void Ifc4x3_add2::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x3_add2::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[209]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[209]); } void Ifc4x3_add2::IfcConnectionSurfaceGeometry::initialize(::Ifc4x3_add2::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_add2::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -9270,7 +9270,7 @@ void Ifc4x3_add2::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const void Ifc4x3_add2::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x3_add2::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[211]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[211]); } void Ifc4x3_add2::IfcConnectionVolumeGeometry::initialize(::Ifc4x3_add2::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_add2::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -9279,7 +9279,7 @@ void Ifc4x3_add2::IfcConstraint::setName(const std::string& v) { set_attribute_v std::optional< std::string > Ifc4x3_add2::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_add2::IfcConstraintEnum::Value Ifc4x3_add2::IfcConstraint::ConstraintGrade() const { return ::Ifc4x3_add2::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_add2::IfcConstraint::setConstraintGrade(const ::Ifc4x3_add2::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add2::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add2::IfcConstraint::setConstraintGrade(const ::Ifc4x3_add2::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add2::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x3_add2::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_add2::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_add2::IfcActorSelect Ifc4x3_add2::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_add2::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcActorSelect>(); } @@ -9289,59 +9289,59 @@ void Ifc4x3_add2::IfcConstraint::setCreationTime(const std::optional< std::strin std::optional< std::string > Ifc4x3_add2::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -std::vector<::Ifc4x3_add2::IfcResourceConstraintRelationship> Ifc4x3_add2::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[956], 2)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcResourceConstraintRelationship> Ifc4x3_add2::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[956], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[212]); } -void Ifc4x3_add2::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { 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)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[212]); } +void Ifc4x3_add2::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3_add2::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[214]); } -void Ifc4x3_add2::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[214]); } +void Ifc4x3_add2::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_add2::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add2::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[215]); } -void Ifc4x3_add2::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[215]); } +void Ifc4x3_add2::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3_add2::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[217]); } -void Ifc4x3_add2::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[217]); } +void Ifc4x3_add2::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_add2::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add2::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[218]); } -void Ifc4x3_add2::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[218]); } +void Ifc4x3_add2::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3_add2::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[220]); } -void Ifc4x3_add2::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[220]); } +void Ifc4x3_add2::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_add2::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add2::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[221]); } -void Ifc4x3_add2::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[221]); } +void Ifc4x3_add2::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x3_add2::IfcResourceTime Ifc4x3_add2::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_add2::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add2::IfcResourceTime>(); } @@ -9352,7 +9352,7 @@ void Ifc4x3_add2::IfcConstructionResource::setBaseCosts(const std::optional< std void Ifc4x3_add2::IfcConstructionResource::setBaseQuantity(const ::Ifc4x3_add2::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[223]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[223]); } void Ifc4x3_add2::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -9362,7 +9362,7 @@ void Ifc4x3_add2::IfcConstructionResourceType::setBaseCosts(const std::optional< void Ifc4x3_add2::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x3_add2::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add2::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[224]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[224]); } void Ifc4x3_add2::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -9377,45 +9377,45 @@ void Ifc4x3_add2::IfcContext::setRepresentationContexts(const std::optional< std ::Ifc4x3_add2::IfcUnitAssignment Ifc4x3_add2::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_add2::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add2::IfcUnitAssignment>(); } void Ifc4x3_add2::IfcContext::setUnitsInContext(const ::Ifc4x3_add2::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_add2::IfcRelDefinesByProperties> Ifc4x3_add2::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[933], 4)); } -std::vector<::Ifc4x3_add2::IfcRelDeclares> Ifc4x3_add2::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[929], 4)); } +std::vector<::Ifc4x3_add2::IfcRelDefinesByProperties> Ifc4x3_add2::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[933], 4)); } +std::vector<::Ifc4x3_add2::IfcRelDeclares> Ifc4x3_add2::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[929], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[225]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[225]); } void Ifc4x3_add2::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x3_add2::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[227]); } -void Ifc4x3_add2::IfcContextDependentUnit::initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[227]); } +void Ifc4x3_add2::IfcContextDependentUnit::initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x3_add2::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add2::IfcRelAssignsToControl> Ifc4x3_add2::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[902], 6)); } +std::vector<::Ifc4x3_add2::IfcRelAssignsToControl> Ifc4x3_add2::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[902], 6)); } -const IfcParse::entity& Ifc4x3_add2::IfcControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[228]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[228]); } void Ifc4x3_add2::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value > Ifc4x3_add2::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcController::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[229]); } -void Ifc4x3_add2::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[229]); } +void Ifc4x3_add2::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x3_add2::IfcControllerTypeEnum::Value Ifc4x3_add2::IfcControllerType::PredefinedType() const { return ::Ifc4x3_add2::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcControllerType::setPredefinedType(const ::Ifc4x3_add2::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcControllerType::setPredefinedType(const ::Ifc4x3_add2::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[230]); } -void Ifc4x3_add2::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[230]); } +void Ifc4x3_add2::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x3_add2::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -9423,66 +9423,66 @@ void Ifc4x3_add2::IfcConversionBasedUnit::setName(const std::string& v) { set_at ::Ifc4x3_add2::IfcMeasureWithUnit Ifc4x3_add2::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add2::IfcMeasureWithUnit>(); } void Ifc4x3_add2::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x3_add2::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[232]); } -void Ifc4x3_add2::IfcConversionBasedUnit::initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[232]); } +void Ifc4x3_add2::IfcConversionBasedUnit::initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x3_add2::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[233]); } -void Ifc4x3_add2::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));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));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[233]); } +void Ifc4x3_add2::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcConveyorSegment std::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value > Ifc4x3_add2::IfcConveyorSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcConveyorSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[234]); } -void Ifc4x3_add2::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcConveyorSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[234]); } +void Ifc4x3_add2::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcConveyorSegmentType ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value Ifc4x3_add2::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcConveyorSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[235]); } -void Ifc4x3_add2::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcConveyorSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[235]); } +void Ifc4x3_add2::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value > Ifc4x3_add2::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[237]); } -void Ifc4x3_add2::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[237]); } +void Ifc4x3_add2::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value Ifc4x3_add2::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3_add2::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[238]); } -void Ifc4x3_add2::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[238]); } +void Ifc4x3_add2::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value > Ifc4x3_add2::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[240]); } -void Ifc4x3_add2::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[240]); } +void Ifc4x3_add2::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value Ifc4x3_add2::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[241]); } -void Ifc4x3_add2::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[241]); } +void Ifc4x3_add2::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect Ifc4x3_add2::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect>(); } @@ -9491,7 +9491,7 @@ void Ifc4x3_add2::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x3_add2::IfcC void Ifc4x3_add2::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x3_add2::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[243]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[243]); } void Ifc4x3_add2::IfcCoordinateOperation::initialize(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -9502,10 +9502,10 @@ void Ifc4x3_add2::IfcCoordinateReferenceSystem::setDescription(const std::option std::optional< std::string > Ifc4x3_add2::IfcCoordinateReferenceSystem::GeodeticDatum() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_add2::IfcCoordinateOperation> Ifc4x3_add2::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[243], 0)); } -std::vector<::Ifc4x3_add2::IfcWellKnownText> Ifc4x3_add2::IfcCoordinateReferenceSystem::WellKnownText() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1292], 1)); } +std::vector<::Ifc4x3_add2::IfcCoordinateOperation> Ifc4x3_add2::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[243], 0)); } +std::vector<::Ifc4x3_add2::IfcWellKnownText> Ifc4x3_add2::IfcCoordinateReferenceSystem::WellKnownText() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1292], 1)); } -const IfcParse::entity& Ifc4x3_add2::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[244]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[244]); } void Ifc4x3_add2::IfcCoordinateReferenceSystem::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum) { 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)); } } // Function implementations for IfcCosineSpiral @@ -9515,24 +9515,24 @@ std::optional< double > Ifc4x3_add2::IfcCosineSpiral::ConstantTerm() const { if( void Ifc4x3_add2::IfcCosineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcCosineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[246]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCosineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[246]); } void Ifc4x3_add2::IfcCosineSpiral::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CosineTerm)); if (v3_ConstantTerm) {set_attribute_value(2, (*v3_ConstantTerm)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4x3_add2::IfcCostItemTypeEnum::Value > Ifc4x3_add2::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add2::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add2::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add2::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add2::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_add2::IfcCostValue > > Ifc4x3_add2::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add2::IfcCostValue>(es); } void Ifc4x3_add2::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x3_add2::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > > Ifc4x3_add2::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_add2::IfcPhysicalQuantity>(es); } void Ifc4x3_add2::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[247]); } -void Ifc4x3_add2::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_add2::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[247]); } +void Ifc4x3_add2::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_add2::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add2::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x3_add2::IfcCostScheduleTypeEnum::Value > Ifc4x3_add2::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add2::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add2::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add2::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add2::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_add2::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add2::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -9541,71 +9541,71 @@ std::optional< std::string > Ifc4x3_add2::IfcCostSchedule::UpdateDate() const { void Ifc4x3_add2::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[249]); } -void Ifc4x3_add2::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[249]); } +void Ifc4x3_add2::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x3_add2::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[251]); } -void Ifc4x3_add2::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[251]); } +void Ifc4x3_add2::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCourse std::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value > Ifc4x3_add2::IfcCourse::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCourseTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCourse::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[253]); } -void Ifc4x3_add2::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCourse::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[253]); } +void Ifc4x3_add2::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCourseType ::Ifc4x3_add2::IfcCourseTypeEnum::Value Ifc4x3_add2::IfcCourseType::PredefinedType() const { return ::Ifc4x3_add2::IfcCourseTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCourseType::setPredefinedType(const ::Ifc4x3_add2::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCourseType::setPredefinedType(const ::Ifc4x3_add2::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCourseType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[254]); } -void Ifc4x3_add2::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCourseType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[254]); } +void Ifc4x3_add2::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCovering std::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value > Ifc4x3_add2::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add2::IfcRelCoversSpaces> Ifc4x3_add2::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[928], 5)); } -std::vector<::Ifc4x3_add2::IfcRelCoversBldgElements> Ifc4x3_add2::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[927], 5)); } +std::vector<::Ifc4x3_add2::IfcRelCoversSpaces> Ifc4x3_add2::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[928], 5)); } +std::vector<::Ifc4x3_add2::IfcRelCoversBldgElements> Ifc4x3_add2::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[927], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[256]); } -void Ifc4x3_add2::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[256]); } +void Ifc4x3_add2::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x3_add2::IfcCoveringTypeEnum::Value Ifc4x3_add2::IfcCoveringType::PredefinedType() const { return ::Ifc4x3_add2::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCoveringType::setPredefinedType(const ::Ifc4x3_add2::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCoveringType::setPredefinedType(const ::Ifc4x3_add2::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[257]); } -void Ifc4x3_add2::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[257]); } +void Ifc4x3_add2::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value > Ifc4x3_add2::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[259]); } -void Ifc4x3_add2::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[259]); } +void Ifc4x3_add2::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value Ifc4x3_add2::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add2::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[260]); } -void Ifc4x3_add2::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[260]); } +void Ifc4x3_add2::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x3_add2::IfcAxis2Placement3D Ifc4x3_add2::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcAxis2Placement3D>(); } void Ifc4x3_add2::IfcCsgPrimitive3D::setPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[262]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[262]); } void Ifc4x3_add2::IfcCsgPrimitive3D::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -9613,7 +9613,7 @@ void Ifc4x3_add2::IfcCsgPrimitive3D::initialize(::Ifc4x3_add2::IfcAxis2Placement void Ifc4x3_add2::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x3_add2::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[264]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[264]); } void Ifc4x3_add2::IfcCsgSolid::initialize(::Ifc4x3_add2::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -9629,29 +9629,29 @@ void Ifc4x3_add2::IfcCurrencyRelationship::setRateDateTime(const std::optional< void Ifc4x3_add2::IfcCurrencyRelationship::setRateSource(const ::Ifc4x3_add2::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[266]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[266]); } void Ifc4x3_add2::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_add2::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_add2::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value > Ifc4x3_add2::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[267]); } -void Ifc4x3_add2::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[267]); } +void Ifc4x3_add2::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value Ifc4x3_add2::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3_add2::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[268]); } -void Ifc4x3_add2::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[268]); } +void Ifc4x3_add2::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x3_add2::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[271]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[271]); } void Ifc4x3_add2::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -9663,7 +9663,7 @@ std::vector< ::Ifc4x3_add2::IfcCurve > Ifc4x3_add2::IfcCurveBoundedPlane::InnerB void Ifc4x3_add2::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x3_add2::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[272]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[272]); } void Ifc4x3_add2::IfcCurveBoundedPlane::initialize(::Ifc4x3_add2::IfcPlane v1_BasisSurface, ::Ifc4x3_add2::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_add2::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -9675,7 +9675,7 @@ bool Ifc4x3_add2::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_ void Ifc4x3_add2::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[273]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[273]); } void Ifc4x3_add2::IfcCurveBoundedSurface::initialize(::Ifc4x3_add2::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_add2::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment @@ -9689,8 +9689,8 @@ void Ifc4x3_add2::IfcCurveSegment::setSegmentLength(const ::Ifc4x3_add2::IfcCurv void Ifc4x3_add2::IfcCurveSegment::setParentCurve(const ::Ifc4x3_add2::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[279]); } -void Ifc4x3_add2::IfcCurveSegment::initialize(::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) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[279]); } +void Ifc4x3_add2::IfcCurveSegment::initialize(::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) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } // Function implementations for IfcCurveStyle ::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect Ifc4x3_add2::IfcCurveStyle::CurveFont() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect>(); } @@ -9703,7 +9703,7 @@ std::optional< bool > Ifc4x3_add2::IfcCurveStyle::ModelOrDraughting() const { if void Ifc4x3_add2::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[280]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[280]); } void Ifc4x3_add2::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_add2::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_add2::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -9713,7 +9713,7 @@ std::vector< ::Ifc4x3_add2::IfcCurveStyleFontPattern > Ifc4x3_add2::IfcCurveStyl void Ifc4x3_add2::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x3_add2::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[281]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[281]); } void Ifc4x3_add2::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add2::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -9725,7 +9725,7 @@ double Ifc4x3_add2::IfcCurveStyleFontAndScaling::CurveFontScaling() const { dou void Ifc4x3_add2::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[282]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[282]); } void Ifc4x3_add2::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcCurveStyleFontSelect v2_CurveStyleFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveStyleFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -9735,7 +9735,7 @@ double Ifc4x3_add2::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { void Ifc4x3_add2::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[283]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[283]); } void Ifc4x3_add2::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -9743,35 +9743,35 @@ double Ifc4x3_add2::IfcCylindricalSurface::Radius() const { double v = get_attr void Ifc4x3_add2::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[285]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[285]); } void Ifc4x3_add2::IfcCylindricalSurface::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value > Ifc4x3_add2::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[286]); } -void Ifc4x3_add2::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[286]); } +void Ifc4x3_add2::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x3_add2::IfcDamperTypeEnum::Value Ifc4x3_add2::IfcDamperType::PredefinedType() const { return ::Ifc4x3_add2::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcDamperType::setPredefinedType(const ::Ifc4x3_add2::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcDamperType::setPredefinedType(const ::Ifc4x3_add2::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[287]); } -void Ifc4x3_add2::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[287]); } +void Ifc4x3_add2::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDeepFoundation -const IfcParse::entity& Ifc4x3_add2::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[294]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[294]); } void Ifc4x3_add2::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDeepFoundationType -const IfcParse::entity& Ifc4x3_add2::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[295]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[295]); } void Ifc4x3_add2::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDerivedProfileDef @@ -9783,22 +9783,22 @@ std::optional< std::string > Ifc4x3_add2::IfcDerivedProfileDef::Label() const { void Ifc4x3_add2::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[298]); } -void Ifc4x3_add2::IfcDerivedProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef v3_ParentProfile, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { 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));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[298]); } +void Ifc4x3_add2::IfcDerivedProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef v3_ParentProfile, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x3_add2::IfcDerivedUnitElement > Ifc4x3_add2::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcDerivedUnitElement>(es); } void Ifc4x3_add2::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x3_add2::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add2::IfcDerivedUnitEnum::Value Ifc4x3_add2::IfcDerivedUnit::UnitType() const { return ::Ifc4x3_add2::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_add2::IfcDerivedUnit::setUnitType(const ::Ifc4x3_add2::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_add2::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_add2::IfcDerivedUnit::setUnitType(const ::Ifc4x3_add2::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_add2::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x3_add2::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } std::optional< std::string > Ifc4x3_add2::IfcDerivedUnit::Name() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_add2::IfcDerivedUnit::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[299]); } -void Ifc4x3_add2::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_add2::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_add2::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name) { set_attribute_value(0, cast_vector(v1_Elements));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[299]); } +void Ifc4x3_add2::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_add2::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_add2::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::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)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x3_add2::IfcNamedUnit Ifc4x3_add2::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcNamedUnit>(); } @@ -9807,7 +9807,7 @@ int Ifc4x3_add2::IfcDerivedUnitElement::Exponent() const { int v = get_attribut void Ifc4x3_add2::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[300]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[300]); } void Ifc4x3_add2::IfcDerivedUnitElement::initialize(::Ifc4x3_add2::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -9827,7 +9827,7 @@ int Ifc4x3_add2::IfcDimensionalExponents::LuminousIntensityExponent() const { i void Ifc4x3_add2::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[303]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[303]); } void Ifc4x3_add2::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -9835,7 +9835,7 @@ std::vector< double > /*[2:3]*/ Ifc4x3_add2::IfcDirection::DirectionRatios() con void Ifc4x3_add2::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[305]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[305]); } void Ifc4x3_add2::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDirectrixCurveSweptAreaSolid @@ -9847,129 +9847,129 @@ void Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::setStartParam(const ::Ifc4x3_ void Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::setEndParam(const ::Ifc4x3_add2::IfcCurveMeasureSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[307]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[307]); } void Ifc4x3_add2::IfcDirectrixCurveSweptAreaSolid::initialize(::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) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam)); } // Function implementations for IfcDirectrixDerivedReferenceSweptAreaSolid -const IfcParse::entity& Ifc4x3_add2::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[308]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[308]); } void Ifc4x3_add2::IfcDirectrixDerivedReferenceSweptAreaSolid::initialize(::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) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3_add2::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[309]); } -void Ifc4x3_add2::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[309]); } +void Ifc4x3_add2::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_add2::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[310]); } -void Ifc4x3_add2::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[310]); } +void Ifc4x3_add2::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionBoard std::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value > Ifc4x3_add2::IfcDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[312]); } -void Ifc4x3_add2::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[312]); } +void Ifc4x3_add2::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionBoardType ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value Ifc4x3_add2::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[313]); } -void Ifc4x3_add2::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[313]); } +void Ifc4x3_add2::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3_add2::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[315]); } -void Ifc4x3_add2::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[315]); } +void Ifc4x3_add2::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_add2::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[316]); } -void Ifc4x3_add2::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[316]); } +void Ifc4x3_add2::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x3_add2::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[318]); } -void Ifc4x3_add2::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[318]); } +void Ifc4x3_add2::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x3_add2::IfcRelFlowControlElements> Ifc4x3_add2::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[937], 4)); } +std::vector<::Ifc4x3_add2::IfcRelFlowControlElements> Ifc4x3_add2::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[937], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[319]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[319]); } void Ifc4x3_add2::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x3_add2::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[320]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[320]); } void Ifc4x3_add2::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x3_add2::IfcRelConnectsPortToElement> Ifc4x3_add2::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[921], 5)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsPortToElement> Ifc4x3_add2::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[921], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[321]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[321]); } void Ifc4x3_add2::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x3_add2::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[322]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[322]); } void Ifc4x3_add2::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x3_add2::IfcRelFlowControlElements> Ifc4x3_add2::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[937], 5)); } +std::vector<::Ifc4x3_add2::IfcRelFlowControlElements> Ifc4x3_add2::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[937], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[323]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[323]); } void Ifc4x3_add2::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x3_add2::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[324]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[324]); } void Ifc4x3_add2::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value > Ifc4x3_add2::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add2::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add2::IfcDistributionPortTypeEnum::Value > Ifc4x3_add2::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > Ifc4x3_add2::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[325]); } -void Ifc4x3_add2::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_add2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[325]); } +void Ifc4x3_add2::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_add2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x3_add2::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > Ifc4x3_add2::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add2::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add2::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[327]); } -void Ifc4x3_add2::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[327]); } +void Ifc4x3_add2::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x3_add2::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -10003,17 +10003,17 @@ void Ifc4x3_add2::IfcDocumentInformation::setValidFrom(const std::optional< std: std::optional< std::string > Ifc4x3_add2::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_add2::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value > Ifc4x3_add2::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x3_add2::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x3_add2::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x3_add2::IfcDocumentStatusEnum::Value > Ifc4x3_add2::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x3_add2::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_add2::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x3_add2::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x3_add2::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_add2::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x3_add2::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x3_add2::IfcRelAssociatesDocument> Ifc4x3_add2::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[912], 5)); } -std::vector<::Ifc4x3_add2::IfcDocumentReference> Ifc4x3_add2::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[332], 4)); } -std::vector<::Ifc4x3_add2::IfcDocumentInformationRelationship> Ifc4x3_add2::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[331], 3)); } -std::vector<::Ifc4x3_add2::IfcDocumentInformationRelationship> Ifc4x3_add2::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[331], 2)); } +std::vector<::Ifc4x3_add2::IfcRelAssociatesDocument> Ifc4x3_add2::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[912], 5)); } +std::vector<::Ifc4x3_add2::IfcDocumentReference> Ifc4x3_add2::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[332], 4)); } +std::vector<::Ifc4x3_add2::IfcDocumentInformationRelationship> Ifc4x3_add2::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[331], 3)); } +std::vector<::Ifc4x3_add2::IfcDocumentInformationRelationship> Ifc4x3_add2::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[331], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[330]); } -void Ifc4x3_add2::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_add2::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_add2::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_add2::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[330]); } +void Ifc4x3_add2::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_add2::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_add2::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_add2::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x3_add2::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x3_add2::IfcDocumentInformation Ifc4x3_add2::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcDocumentInformation>(); } @@ -10024,7 +10024,7 @@ std::optional< std::string > Ifc4x3_add2::IfcDocumentInformationRelationship::Re void Ifc4x3_add2::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[331]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[331]); } void Ifc4x3_add2::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_add2::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -10033,9 +10033,9 @@ void Ifc4x3_add2::IfcDocumentReference::setDescription(const std::optional< std: ::Ifc4x3_add2::IfcDocumentInformation Ifc4x3_add2::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_add2::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcDocumentInformation>(); } void Ifc4x3_add2::IfcDocumentReference::setReferencedDocument(const ::Ifc4x3_add2::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_add2::IfcRelAssociatesDocument> Ifc4x3_add2::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[912], 5)); } +std::vector<::Ifc4x3_add2::IfcRelAssociatesDocument> Ifc4x3_add2::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[912], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[332]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[332]); } void Ifc4x3_add2::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -10044,15 +10044,15 @@ void Ifc4x3_add2::IfcDoor::setOverallHeight(const std::optional< double >& v) { std::optional< double > Ifc4x3_add2::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_add2::IfcDoorTypeEnum::Value > Ifc4x3_add2::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value > Ifc4x3_add2::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_add2::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add2::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_add2::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add2::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[335]); } -void Ifc4x3_add2::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[335]); } +void Ifc4x3_add2::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x3_add2::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -10083,120 +10083,120 @@ std::optional< double > Ifc4x3_add2::IfcDoorLiningProperties::LiningToPanelOffse void Ifc4x3_add2::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_add2::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[336]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[336]); } void Ifc4x3_add2::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_add2::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x3_add2::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_add2::IfcDoorPanelOperationEnum::Value Ifc4x3_add2::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x3_add2::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_add2::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add2::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_add2::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_add2::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_add2::IfcDoorPanelPositionEnum::Value Ifc4x3_add2::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x3_add2::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_add2::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add2::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_add2::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add2::IfcShapeAspect Ifc4x3_add2::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_add2::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add2::IfcShapeAspect>(); } void Ifc4x3_add2::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x3_add2::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[339]); } -void Ifc4x3_add2::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_add2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_add2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_add2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[339]); } +void Ifc4x3_add2::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_add2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_add2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_add2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorType ::Ifc4x3_add2::IfcDoorTypeEnum::Value Ifc4x3_add2::IfcDoorType::PredefinedType() const { return ::Ifc4x3_add2::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcDoorType::setPredefinedType(const ::Ifc4x3_add2::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcDoorType::setPredefinedType(const ::Ifc4x3_add2::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value Ifc4x3_add2::IfcDoorType::OperationType() const { return ::Ifc4x3_add2::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcDoorType::setOperationType(const ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_add2::IfcDoorType::setOperationType(const ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_add2::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_add2::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add2::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_add2::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add2::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[340]); } -void Ifc4x3_add2::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[340]); } +void Ifc4x3_add2::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::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)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x3_add2::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[344]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[344]); } void Ifc4x3_add2::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_add2::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[345]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[345]); } void Ifc4x3_add2::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value > Ifc4x3_add2::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[346]); } -void Ifc4x3_add2::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[346]); } +void Ifc4x3_add2::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value Ifc4x3_add2::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3_add2::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[347]); } -void Ifc4x3_add2::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[347]); } +void Ifc4x3_add2::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value > Ifc4x3_add2::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[349]); } -void Ifc4x3_add2::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[349]); } +void Ifc4x3_add2::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value Ifc4x3_add2::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[350]); } -void Ifc4x3_add2::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[350]); } +void Ifc4x3_add2::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value > Ifc4x3_add2::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[352]); } -void Ifc4x3_add2::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[352]); } +void Ifc4x3_add2::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value Ifc4x3_add2::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[353]); } -void Ifc4x3_add2::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[353]); } +void Ifc4x3_add2::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEarthworksCut std::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value > Ifc4x3_add2::IfcEarthworksCut::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcEarthworksCut::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[357]); } -void Ifc4x3_add2::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcEarthworksCut::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[357]); } +void Ifc4x3_add2::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEarthworksElement -const IfcParse::entity& Ifc4x3_add2::IfcEarthworksElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[359]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEarthworksElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[359]); } void Ifc4x3_add2::IfcEarthworksElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEarthworksFill std::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value > Ifc4x3_add2::IfcEarthworksFill::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcEarthworksFill::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[360]); } -void Ifc4x3_add2::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcEarthworksFill::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[360]); } +void Ifc4x3_add2::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEdge ::Ifc4x3_add2::IfcVertex Ifc4x3_add2::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcVertex>(); } @@ -10205,7 +10205,7 @@ void Ifc4x3_add2::IfcEdge::setEdgeStart(const ::Ifc4x3_add2::IfcVertex& v) { set void Ifc4x3_add2::IfcEdge::setEdgeEnd(const ::Ifc4x3_add2::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[362]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[362]); } void Ifc4x3_add2::IfcEdge::initialize(::Ifc4x3_add2::IfcVertex v1_EdgeStart, ::Ifc4x3_add2::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -10215,7 +10215,7 @@ bool Ifc4x3_add2::IfcEdgeCurve::SameSense() const { bool v = get_attribute_valu void Ifc4x3_add2::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[363]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[363]); } void Ifc4x3_add2::IfcEdgeCurve::initialize(::Ifc4x3_add2::IfcVertex v1_EdgeStart, ::Ifc4x3_add2::IfcVertex v2_EdgeEnd, ::Ifc4x3_add2::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -10223,169 +10223,169 @@ std::vector< ::Ifc4x3_add2::IfcOrientedEdge > Ifc4x3_add2::IfcEdgeLoop::EdgeList void Ifc4x3_add2::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x3_add2::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[364]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[364]); } void Ifc4x3_add2::IfcEdgeLoop::initialize(std::vector< ::Ifc4x3_add2::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value > Ifc4x3_add2::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[365]); } -void Ifc4x3_add2::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[365]); } +void Ifc4x3_add2::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value Ifc4x3_add2::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[366]); } -void Ifc4x3_add2::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[366]); } +void Ifc4x3_add2::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3_add2::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[372]); } -void Ifc4x3_add2::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[372]); } +void Ifc4x3_add2::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_add2::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[373]); } -void Ifc4x3_add2::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[373]); } +void Ifc4x3_add2::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3_add2::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[375]); } -void Ifc4x3_add2::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[375]); } +void Ifc4x3_add2::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_add2::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[376]); } -void Ifc4x3_add2::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[376]); } +void Ifc4x3_add2::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowTreatmentDevice std::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3_add2::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[378]); } -void Ifc4x3_add2::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[378]); } +void Ifc4x3_add2::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowTreatmentDeviceType ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[379]); } -void Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[379]); } +void Ifc4x3_add2::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value > Ifc4x3_add2::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[381]); } -void Ifc4x3_add2::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[381]); } +void Ifc4x3_add2::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value Ifc4x3_add2::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[382]); } -void Ifc4x3_add2::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[382]); } +void Ifc4x3_add2::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value > Ifc4x3_add2::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[384]); } -void Ifc4x3_add2::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[384]); } +void Ifc4x3_add2::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value Ifc4x3_add2::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[385]); } -void Ifc4x3_add2::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[385]); } +void Ifc4x3_add2::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value > Ifc4x3_add2::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[388]); } -void Ifc4x3_add2::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[388]); } +void Ifc4x3_add2::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value Ifc4x3_add2::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[389]); } -void Ifc4x3_add2::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[389]); } +void Ifc4x3_add2::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x3_add2::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add2::IfcRelFillsElement> Ifc4x3_add2::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[936], 5)); } -std::vector<::Ifc4x3_add2::IfcRelConnectsElements> Ifc4x3_add2::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[918], 5)); } -std::vector<::Ifc4x3_add2::IfcRelInterferesElements> Ifc4x3_add2::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[938], 5)); } -std::vector<::Ifc4x3_add2::IfcRelInterferesElements> Ifc4x3_add2::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[938], 4)); } -std::vector<::Ifc4x3_add2::IfcRelProjectsElement> Ifc4x3_add2::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[941], 4)); } -std::vector<::Ifc4x3_add2::IfcRelVoidsElement> Ifc4x3_add2::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[948], 4)); } -std::vector<::Ifc4x3_add2::IfcRelConnectsWithRealizingElements> Ifc4x3_add2::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[925], 7)); } -std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary> Ifc4x3_add2::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[945], 5)); } -std::vector<::Ifc4x3_add2::IfcRelConnectsElements> Ifc4x3_add2::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[918], 6)); } -std::vector<::Ifc4x3_add2::IfcRelContainedInSpatialStructure> Ifc4x3_add2::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[926], 4)); } -std::vector<::Ifc4x3_add2::IfcRelCoversBldgElements> Ifc4x3_add2::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[927], 4)); } -std::vector<::Ifc4x3_add2::IfcRelAdheresToElement> Ifc4x3_add2::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[898], 4)); } +std::vector<::Ifc4x3_add2::IfcRelFillsElement> Ifc4x3_add2::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[936], 5)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsElements> Ifc4x3_add2::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[918], 5)); } +std::vector<::Ifc4x3_add2::IfcRelInterferesElements> Ifc4x3_add2::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[938], 5)); } +std::vector<::Ifc4x3_add2::IfcRelInterferesElements> Ifc4x3_add2::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[938], 4)); } +std::vector<::Ifc4x3_add2::IfcRelProjectsElement> Ifc4x3_add2::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[941], 4)); } +std::vector<::Ifc4x3_add2::IfcRelVoidsElement> Ifc4x3_add2::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[948], 4)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsWithRealizingElements> Ifc4x3_add2::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[925], 7)); } +std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary> Ifc4x3_add2::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[945], 5)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsElements> Ifc4x3_add2::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[918], 6)); } +std::vector<::Ifc4x3_add2::IfcRelContainedInSpatialStructure> Ifc4x3_add2::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[926], 4)); } +std::vector<::Ifc4x3_add2::IfcRelCoversBldgElements> Ifc4x3_add2::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[927], 4)); } +std::vector<::Ifc4x3_add2::IfcRelAdheresToElement> Ifc4x3_add2::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[898], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[392]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[392]); } void Ifc4x3_add2::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value > Ifc4x3_add2::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value > Ifc4x3_add2::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[394]); } -void Ifc4x3_add2::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[394]); } +void Ifc4x3_add2::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value Ifc4x3_add2::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[395]); } -void Ifc4x3_add2::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[395]); } +void Ifc4x3_add2::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x3_add2::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[397]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[397]); } void Ifc4x3_add2::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x3_add2::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[398]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[398]); } void Ifc4x3_add2::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -10395,7 +10395,7 @@ std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > Ifc4x3_add2::IfcElementQuantit void Ifc4x3_add2::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[400]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[400]); } void Ifc4x3_add2::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -10403,7 +10403,7 @@ std::optional< std::string > Ifc4x3_add2::IfcElementType::ElementType() const { void Ifc4x3_add2::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[401]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[401]); } void Ifc4x3_add2::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -10411,7 +10411,7 @@ void Ifc4x3_add2::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_a void Ifc4x3_add2::IfcElementarySurface::setPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[393]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[393]); } void Ifc4x3_add2::IfcElementarySurface::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -10421,7 +10421,7 @@ double Ifc4x3_add2::IfcEllipse::SemiAxis2() const { double v = get_attribute_va void Ifc4x3_add2::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[402]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[402]); } void Ifc4x3_add2::IfcEllipse::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -10431,82 +10431,82 @@ double Ifc4x3_add2::IfcEllipseProfileDef::SemiAxis2() const { double v = get_at void Ifc4x3_add2::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[403]); } -void Ifc4x3_add2::IfcEllipseProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { 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));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[403]); } +void Ifc4x3_add2::IfcEllipseProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x3_add2::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[404]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[404]); } void Ifc4x3_add2::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x3_add2::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[405]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[405]); } void Ifc4x3_add2::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value > Ifc4x3_add2::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[407]); } -void Ifc4x3_add2::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[407]); } +void Ifc4x3_add2::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x3_add2::IfcEngineTypeEnum::Value Ifc4x3_add2::IfcEngineType::PredefinedType() const { return ::Ifc4x3_add2::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcEngineType::setPredefinedType(const ::Ifc4x3_add2::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcEngineType::setPredefinedType(const ::Ifc4x3_add2::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[408]); } -void Ifc4x3_add2::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[408]); } +void Ifc4x3_add2::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3_add2::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[410]); } -void Ifc4x3_add2::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[410]); } +void Ifc4x3_add2::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_add2::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[411]); } -void Ifc4x3_add2::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[411]); } +void Ifc4x3_add2::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value > Ifc4x3_add2::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[413]); } -void Ifc4x3_add2::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[413]); } +void Ifc4x3_add2::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value Ifc4x3_add2::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3_add2::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[414]); } -void Ifc4x3_add2::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[414]); } +void Ifc4x3_add2::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x3_add2::IfcEventTypeEnum::Value > Ifc4x3_add2::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add2::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value > Ifc4x3_add2::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_add2::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x3_add2::IfcEventTime Ifc4x3_add2::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_add2::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_add2::IfcEventTime>(); } void Ifc4x3_add2::IfcEvent::setEventOccurenceTime(const ::Ifc4x3_add2::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add2::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[416]); } -void Ifc4x3_add2::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add2::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_add2::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[416]); } +void Ifc4x3_add2::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add2::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_add2::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x3_add2::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -10519,20 +10519,20 @@ std::optional< std::string > Ifc4x3_add2::IfcEventTime::ScheduleDate() const { i void Ifc4x3_add2::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[417]); } -void Ifc4x3_add2::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[417]); } +void Ifc4x3_add2::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::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)); } } // Function implementations for IfcEventType ::Ifc4x3_add2::IfcEventTypeEnum::Value Ifc4x3_add2::IfcEventType::PredefinedType() const { return ::Ifc4x3_add2::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcEventType::setPredefinedType(const ::Ifc4x3_add2::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcEventType::setPredefinedType(const ::Ifc4x3_add2::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value Ifc4x3_add2::IfcEventType::EventTriggerType() const { return ::Ifc4x3_add2::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcEventType::setEventTriggerType(const ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_add2::IfcEventType::setEventTriggerType(const ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x3_add2::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x3_add2::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_add2::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[419]); } -void Ifc4x3_add2::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[419]); } +void Ifc4x3_add2::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_add2::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x3_add2::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10543,13 +10543,13 @@ std::vector< ::Ifc4x3_add2::IfcProperty > Ifc4x3_add2::IfcExtendedProperties::Pr void Ifc4x3_add2::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x3_add2::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[421]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[421]); } void Ifc4x3_add2::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x3_add2::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[422]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[422]); } void Ifc4x3_add2::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -10560,9 +10560,9 @@ void Ifc4x3_add2::IfcExternalReference::setIdentification(const std::optional< s std::optional< std::string > Ifc4x3_add2::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 2)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[426]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[426]); } void Ifc4x3_add2::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -10572,40 +10572,40 @@ std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > Ifc4x3_add2::IfcExternalRe void Ifc4x3_add2::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[427]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[427]); } void Ifc4x3_add2::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3_add2::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary> Ifc4x3_add2::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[945], 4)); } +std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary> Ifc4x3_add2::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[945], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[428]); } -void Ifc4x3_add2::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[428]); } +void Ifc4x3_add2::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x3_add2::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[430]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[430]); } void Ifc4x3_add2::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x3_add2::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[423]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[423]); } void Ifc4x3_add2::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x3_add2::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[424]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[424]); } void Ifc4x3_add2::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x3_add2::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[425]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[425]); } void Ifc4x3_add2::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -10615,7 +10615,7 @@ double Ifc4x3_add2::IfcExtrudedAreaSolid::Depth() const { double v = get_attrib void Ifc4x3_add2::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[431]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[431]); } void Ifc4x3_add2::IfcExtrudedAreaSolid::initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -10623,16 +10623,16 @@ void Ifc4x3_add2::IfcExtrudedAreaSolid::initialize(::Ifc4x3_add2::IfcProfileDef void Ifc4x3_add2::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_add2::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[432]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[432]); } void Ifc4x3_add2::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_add2::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x3_add2::IfcFaceBound > Ifc4x3_add2::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcFaceBound>(es); } void Ifc4x3_add2::IfcFace::setBounds(const std::vector< ::Ifc4x3_add2::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add2::IfcTextureMap> Ifc4x3_add2::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1196], 2)); } +std::vector<::Ifc4x3_add2::IfcTextureMap> Ifc4x3_add2::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1196], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcFace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[433]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[433]); } void Ifc4x3_add2::IfcFace::initialize(std::vector< ::Ifc4x3_add2::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -10640,7 +10640,7 @@ std::vector< ::Ifc4x3_add2::IfcConnectedFaceSet > Ifc4x3_add2::IfcFaceBasedSurfa void Ifc4x3_add2::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x3_add2::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[434]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[434]); } void Ifc4x3_add2::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_add2::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -10650,13 +10650,13 @@ bool Ifc4x3_add2::IfcFaceBound::Orientation() const { bool v = get_attribute_va void Ifc4x3_add2::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[435]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[435]); } void Ifc4x3_add2::IfcFaceBound::initialize(::Ifc4x3_add2::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x3_add2::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[436]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[436]); } void Ifc4x3_add2::IfcFaceOuterBound::initialize(::Ifc4x3_add2::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -10666,13 +10666,13 @@ bool Ifc4x3_add2::IfcFaceSurface::SameSense() const { bool v = get_attribute_va void Ifc4x3_add2::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[437]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[437]); } void Ifc4x3_add2::IfcFaceSurface::initialize(std::vector< ::Ifc4x3_add2::IfcFaceBound > v1_Bounds, ::Ifc4x3_add2::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x3_add2::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[438]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[438]); } void Ifc4x3_add2::IfcFacetedBrep::initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -10680,30 +10680,30 @@ std::vector< ::Ifc4x3_add2::IfcClosedShell > Ifc4x3_add2::IfcFacetedBrepWithVoid void Ifc4x3_add2::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_add2::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[439]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[439]); } void Ifc4x3_add2::IfcFacetedBrepWithVoids::initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_add2::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFacility -const IfcParse::entity& Ifc4x3_add2::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[440]); } -void Ifc4x3_add2::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[440]); } +void Ifc4x3_add2::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFacilityPart ::Ifc4x3_add2::IfcFacilityUsageEnum::Value Ifc4x3_add2::IfcFacilityPart::UsageType() const { return ::Ifc4x3_add2::IfcFacilityUsageEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcFacilityPart::setUsageType(const ::Ifc4x3_add2::IfcFacilityUsageEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcFacilityPart::setUsageType(const ::Ifc4x3_add2::IfcFacilityUsageEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[441]); } -void Ifc4x3_add2::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[441]); } +void Ifc4x3_add2::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); } // Function implementations for IfcFacilityPartCommon std::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value > Ifc4x3_add2::IfcFacilityPartCommon::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcFacilityPartCommon::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcFacilityPartCommon::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcFacilityPartCommon::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[442]); } -void Ifc4x3_add2::IfcFacilityPartCommon::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFacilityPartCommon::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[442]); } +void Ifc4x3_add2::IfcFacilityPartCommon::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcFailureConnectionCondition std::optional< double > Ifc4x3_add2::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10720,59 +10720,59 @@ std::optional< double > Ifc4x3_add2::IfcFailureConnectionCondition::CompressionF void Ifc4x3_add2::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[445]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[445]); } void Ifc4x3_add2::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value > Ifc4x3_add2::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcFan::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[446]); } -void Ifc4x3_add2::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[446]); } +void Ifc4x3_add2::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x3_add2::IfcFanTypeEnum::Value Ifc4x3_add2::IfcFanType::PredefinedType() const { return ::Ifc4x3_add2::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcFanType::setPredefinedType(const ::Ifc4x3_add2::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcFanType::setPredefinedType(const ::Ifc4x3_add2::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[447]); } -void Ifc4x3_add2::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[447]); } +void Ifc4x3_add2::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value > Ifc4x3_add2::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[449]); } -void Ifc4x3_add2::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[449]); } +void Ifc4x3_add2::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x3_add2::IfcFastenerTypeEnum::Value Ifc4x3_add2::IfcFastenerType::PredefinedType() const { return ::Ifc4x3_add2::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcFastenerType::setPredefinedType(const ::Ifc4x3_add2::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcFastenerType::setPredefinedType(const ::Ifc4x3_add2::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[450]); } -void Ifc4x3_add2::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[450]); } +void Ifc4x3_add2::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x3_add2::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[452]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[452]); } void Ifc4x3_add2::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x3_add2::IfcRelProjectsElement> Ifc4x3_add2::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[941], 5)); } +std::vector<::Ifc4x3_add2::IfcRelProjectsElement> Ifc4x3_add2::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[941], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[453]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[453]); } void Ifc4x3_add2::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x3_add2::IfcRelVoidsElement> Ifc4x3_add2::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[948], 5)); } +std::vector<::Ifc4x3_add2::IfcRelVoidsElement> Ifc4x3_add2::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[948], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[454]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[454]); } void Ifc4x3_add2::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -10782,7 +10782,7 @@ std::optional< bool > Ifc4x3_add2::IfcFillAreaStyle::ModelOrDraughting() const { void Ifc4x3_add2::IfcFillAreaStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[455]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[455]); } void Ifc4x3_add2::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add2::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -10798,7 +10798,7 @@ double Ifc4x3_add2::IfcFillAreaStyleHatching::HatchLineAngle() const { double v void Ifc4x3_add2::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[456]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[456]); } void Ifc4x3_add2::IfcFillAreaStyleHatching::initialize(::Ifc4x3_add2::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_add2::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_add2::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_add2::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -10810,210 +10810,210 @@ double Ifc4x3_add2::IfcFillAreaStyleTiles::TilingScale() const { double v = get void Ifc4x3_add2::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[457]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[457]); } void Ifc4x3_add2::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x3_add2::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_add2::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value > Ifc4x3_add2::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[459]); } -void Ifc4x3_add2::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[459]); } +void Ifc4x3_add2::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x3_add2::IfcFilterTypeEnum::Value Ifc4x3_add2::IfcFilterType::PredefinedType() const { return ::Ifc4x3_add2::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcFilterType::setPredefinedType(const ::Ifc4x3_add2::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcFilterType::setPredefinedType(const ::Ifc4x3_add2::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[460]); } -void Ifc4x3_add2::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[460]); } +void Ifc4x3_add2::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3_add2::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[462]); } -void Ifc4x3_add2::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[462]); } +void Ifc4x3_add2::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_add2::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[463]); } -void Ifc4x3_add2::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[463]); } +void Ifc4x3_add2::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x3_add2::IfcDirection Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add2::IfcDirection>(); } void Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[465]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[465]); } void Ifc4x3_add2::IfcFixedReferenceSweptAreaSolid::initialize(::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) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x3_add2::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[466]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[466]); } void Ifc4x3_add2::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x3_add2::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[467]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[467]); } void Ifc4x3_add2::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x3_add2::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[469]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[469]); } void Ifc4x3_add2::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x3_add2::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[470]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[470]); } void Ifc4x3_add2::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value > Ifc4x3_add2::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[471]); } -void Ifc4x3_add2::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[471]); } +void Ifc4x3_add2::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value Ifc4x3_add2::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[472]); } -void Ifc4x3_add2::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[472]); } +void Ifc4x3_add2::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value > Ifc4x3_add2::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[474]); } -void Ifc4x3_add2::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[474]); } +void Ifc4x3_add2::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value Ifc4x3_add2::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3_add2::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[475]); } -void Ifc4x3_add2::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[475]); } +void Ifc4x3_add2::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x3_add2::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[477]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[477]); } void Ifc4x3_add2::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x3_add2::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[478]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[478]); } void Ifc4x3_add2::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x3_add2::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[479]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[479]); } void Ifc4x3_add2::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x3_add2::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[480]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[480]); } void Ifc4x3_add2::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x3_add2::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[481]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[481]); } void Ifc4x3_add2::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x3_add2::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[482]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[482]); } void Ifc4x3_add2::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x3_add2::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[483]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[483]); } void Ifc4x3_add2::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x3_add2::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[484]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[484]); } void Ifc4x3_add2::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x3_add2::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[485]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[485]); } void Ifc4x3_add2::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x3_add2::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[486]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[486]); } void Ifc4x3_add2::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value > Ifc4x3_add2::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[490]); } -void Ifc4x3_add2::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[490]); } +void Ifc4x3_add2::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x3_add2::IfcFootingTypeEnum::Value Ifc4x3_add2::IfcFootingType::PredefinedType() const { return ::Ifc4x3_add2::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcFootingType::setPredefinedType(const ::Ifc4x3_add2::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcFootingType::setPredefinedType(const ::Ifc4x3_add2::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[491]); } -void Ifc4x3_add2::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[491]); } +void Ifc4x3_add2::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x3_add2::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[495]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[495]); } void Ifc4x3_add2::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x3_add2::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[496]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[496]); } void Ifc4x3_add2::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > Ifc4x3_add2::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[497]); } -void Ifc4x3_add2::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[497]); } +void Ifc4x3_add2::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value Ifc4x3_add2::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3_add2::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > Ifc4x3_add2::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[498]); } -void Ifc4x3_add2::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[498]); } +void Ifc4x3_add2::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicCRS std::optional< std::string > Ifc4x3_add2::IfcGeographicCRS::PrimeMeridian() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -11024,29 +11024,29 @@ void Ifc4x3_add2::IfcGeographicCRS::setAngleUnit(const ::Ifc4x3_add2::IfcNamedUn void Ifc4x3_add2::IfcGeographicCRS::setHeightUnit(const ::Ifc4x3_add2::IfcNamedUnit& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcGeographicCRS::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[500]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeographicCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[500]); } void Ifc4x3_add2::IfcGeographicCRS::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_PrimeMeridian, ::Ifc4x3_add2::IfcNamedUnit v5_AngleUnit, ::Ifc4x3_add2::IfcNamedUnit v6_HeightUnit) { 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));set_attribute_value(5, (v6_HeightUnit)); } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value > Ifc4x3_add2::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[501]); } -void Ifc4x3_add2::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[501]); } +void Ifc4x3_add2::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value Ifc4x3_add2::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[502]); } -void Ifc4x3_add2::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[502]); } +void Ifc4x3_add2::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x3_add2::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[504]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[504]); } void Ifc4x3_add2::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_add2::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -11059,16 +11059,16 @@ void Ifc4x3_add2::IfcGeometricRepresentationContext::setWorldCoordinateSystem(co ::Ifc4x3_add2::IfcDirection Ifc4x3_add2::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_add2::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add2::IfcDirection>(); } void Ifc4x3_add2::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_add2::IfcGeometricRepresentationSubContext> Ifc4x3_add2::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[508], 6)); } -std::vector<::Ifc4x3_add2::IfcCoordinateOperation> Ifc4x3_add2::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[243], 0)); } +std::vector<::Ifc4x3_add2::IfcGeometricRepresentationSubContext> Ifc4x3_add2::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[508], 6)); } +std::vector<::Ifc4x3_add2::IfcCoordinateOperation> Ifc4x3_add2::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[243], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[506]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[506]); } void Ifc4x3_add2::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_add2::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_add2::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x3_add2::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[507]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[507]); } void Ifc4x3_add2::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -11077,53 +11077,53 @@ void Ifc4x3_add2::IfcGeometricRepresentationSubContext::setParentContext(const : std::optional< double > Ifc4x3_add2::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_add2::IfcGeometricProjectionEnum::Value Ifc4x3_add2::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x3_add2::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_add2::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add2::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_add2::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x3_add2::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[508]); } -void Ifc4x3_add2::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_add2::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_add2::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[508]); } +void Ifc4x3_add2::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_add2::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_add2::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x3_add2::IfcGeometricSetSelect > Ifc4x3_add2::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcGeometricSetSelect>(es); } void Ifc4x3_add2::IfcGeometricSet::setElements(const std::vector< ::Ifc4x3_add2::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[509]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[509]); } void Ifc4x3_add2::IfcGeometricSet::initialize(std::vector< ::Ifc4x3_add2::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeomodel -const IfcParse::entity& Ifc4x3_add2::IfcGeomodel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[511]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeomodel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[511]); } void Ifc4x3_add2::IfcGeomodel::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeoslice -const IfcParse::entity& Ifc4x3_add2::IfcGeoslice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[512]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeoslice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[512]); } void Ifc4x3_add2::IfcGeoslice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalAssembly -const IfcParse::entity& Ifc4x3_add2::IfcGeotechnicalAssembly::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[513]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeotechnicalAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[513]); } void Ifc4x3_add2::IfcGeotechnicalAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalElement -const IfcParse::entity& Ifc4x3_add2::IfcGeotechnicalElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[514]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeotechnicalElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[514]); } void Ifc4x3_add2::IfcGeotechnicalElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalStratum std::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value > Ifc4x3_add2::IfcGeotechnicalStratum::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcGeotechnicalStratum::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcGeotechnicalStratum::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcGeotechnicalStratum::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[515]); } -void Ifc4x3_add2::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcGeotechnicalStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[515]); } +void Ifc4x3_add2::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGradientCurve ::Ifc4x3_add2::IfcBoundedCurve Ifc4x3_add2::IfcGradientCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcBoundedCurve>(); } @@ -11132,7 +11132,7 @@ void Ifc4x3_add2::IfcGradientCurve::setBaseCurve(const ::Ifc4x3_add2::IfcBounded void Ifc4x3_add2::IfcGradientCurve::setEndPoint(const ::Ifc4x3_add2::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcGradientCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[519]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGradientCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[519]); } void Ifc4x3_add2::IfcGradientCurve::initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add2::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_add2::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcGrid @@ -11143,11 +11143,11 @@ void Ifc4x3_add2::IfcGrid::setVAxes(const std::vector< ::Ifc4x3_add2::IfcGridAxi std::optional< std::vector< ::Ifc4x3_add2::IfcGridAxis > > Ifc4x3_add2::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_add2::IfcGridAxis>(es); } void Ifc4x3_add2::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x3_add2::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value > Ifc4x3_add2::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[520]); } -void Ifc4x3_add2::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_add2::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_add2::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_add2::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[520]); } +void Ifc4x3_add2::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_add2::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_add2::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_add2::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x3_add2::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11157,12 +11157,12 @@ void Ifc4x3_add2::IfcGridAxis::setAxisCurve(const ::Ifc4x3_add2::IfcCurve& v) { bool Ifc4x3_add2::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_add2::IfcGrid> Ifc4x3_add2::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[520], 9)); } -std::vector<::Ifc4x3_add2::IfcGrid> Ifc4x3_add2::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[520], 8)); } -std::vector<::Ifc4x3_add2::IfcGrid> Ifc4x3_add2::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[520], 7)); } -std::vector<::Ifc4x3_add2::IfcVirtualGridIntersection> Ifc4x3_add2::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1277], 0)); } +std::vector<::Ifc4x3_add2::IfcGrid> Ifc4x3_add2::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[520], 9)); } +std::vector<::Ifc4x3_add2::IfcGrid> Ifc4x3_add2::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[520], 8)); } +std::vector<::Ifc4x3_add2::IfcGrid> Ifc4x3_add2::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[520], 7)); } +std::vector<::Ifc4x3_add2::IfcVirtualGridIntersection> Ifc4x3_add2::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1277], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[521]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[521]); } void Ifc4x3_add2::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_add2::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -11172,15 +11172,15 @@ void Ifc4x3_add2::IfcGridPlacement::setPlacementLocation(const ::Ifc4x3_add2::If void Ifc4x3_add2::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x3_add2::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[522]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[522]); } void Ifc4x3_add2::IfcGridPlacement::initialize(::Ifc4x3_add2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add2::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_add2::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x3_add2::IfcRelAssignsToGroup> Ifc4x3_add2::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[903], 6)); } -std::vector<::Ifc4x3_add2::IfcRelReferencedInSpatialStructure> Ifc4x3_add2::IfcGroup::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[942], 4)); } +std::vector<::Ifc4x3_add2::IfcRelAssignsToGroup> Ifc4x3_add2::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[903], 6)); } +std::vector<::Ifc4x3_add2::IfcRelReferencedInSpatialStructure> Ifc4x3_add2::IfcGroup::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[942], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[525]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[525]); } void Ifc4x3_add2::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -11190,40 +11190,40 @@ bool Ifc4x3_add2::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attri void Ifc4x3_add2::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[526]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[526]); } void Ifc4x3_add2::IfcHalfSpaceSolid::initialize(::Ifc4x3_add2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value > Ifc4x3_add2::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[528]); } -void Ifc4x3_add2::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[528]); } +void Ifc4x3_add2::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value Ifc4x3_add2::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[529]); } -void Ifc4x3_add2::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[529]); } +void Ifc4x3_add2::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value > Ifc4x3_add2::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[533]); } -void Ifc4x3_add2::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[533]); } +void Ifc4x3_add2::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value Ifc4x3_add2::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3_add2::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[534]); } -void Ifc4x3_add2::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[534]); } +void Ifc4x3_add2::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x3_add2::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -11242,32 +11242,32 @@ std::optional< double > Ifc4x3_add2::IfcIShapeProfileDef::FlangeSlope() const { void Ifc4x3_add2::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[563]); } -void Ifc4x3_add2::IfcIShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { 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));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[563]); } +void Ifc4x3_add2::IfcIShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x3_add2::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[538]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[538]); } void Ifc4x3_add2::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcImpactProtectionDevice std::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value > Ifc4x3_add2::IfcImpactProtectionDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcImpactProtectionDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcImpactProtectionDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcImpactProtectionDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[539]); } -void Ifc4x3_add2::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcImpactProtectionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[539]); } +void Ifc4x3_add2::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcImpactProtectionDeviceType ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_add2::IfcImpactProtectionDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcImpactProtectionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[540]); } -void Ifc4x3_add2::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcImpactProtectionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[540]); } +void Ifc4x3_add2::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIndexedColourMap ::Ifc4x3_add2::IfcTessellatedFaceSet Ifc4x3_add2::IfcIndexedColourMap::MappedTo() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcTessellatedFaceSet>(); } @@ -11280,7 +11280,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_add2::IfcIndexedColourMap::ColourIndex() con void Ifc4x3_add2::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[542]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[542]); } void Ifc4x3_add2::IfcIndexedColourMap::initialize(::Ifc4x3_add2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add2::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -11292,17 +11292,17 @@ std::optional< bool > Ifc4x3_add2::IfcIndexedPolyCurve::SelfIntersect() const { void Ifc4x3_add2::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[543]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[543]); } void Ifc4x3_add2::IfcIndexedPolyCurve::initialize(::Ifc4x3_add2::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_add2::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x3_add2::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x3_add2::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add2::IfcPolygonalFaceSet> Ifc4x3_add2::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[770], 2)); } -std::vector<::Ifc4x3_add2::IfcTextureCoordinateIndices> Ifc4x3_add2::IfcIndexedPolygonalFace::HasTexCoords() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1194], 1)); } +std::vector<::Ifc4x3_add2::IfcPolygonalFaceSet> Ifc4x3_add2::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[770], 2)); } +std::vector<::Ifc4x3_add2::IfcTextureCoordinateIndices> Ifc4x3_add2::IfcIndexedPolygonalFace::HasTexCoords() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1194], 1)); } -const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[544]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[544]); } void Ifc4x3_add2::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -11310,7 +11310,7 @@ std::vector< std::vector< int > > Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids: void Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[545]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[545]); } void Ifc4x3_add2::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedPolygonalTextureMap @@ -11318,7 +11318,7 @@ std::vector< ::Ifc4x3_add2::IfcTextureCoordinateIndices > Ifc4x3_add2::IfcIndexe void Ifc4x3_add2::IfcIndexedPolygonalTextureMap::setTexCoordIndices(const std::vector< ::Ifc4x3_add2::IfcTextureCoordinateIndices >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcIndexedPolygonalTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[546]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedPolygonalTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[546]); } void Ifc4x3_add2::IfcIndexedPolygonalTextureMap::initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList v3_TexCoords, std::vector< ::Ifc4x3_add2::IfcTextureCoordinateIndices > v4_TexCoordIndices) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords));set_attribute_value(3, cast_vector(v4_TexCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -11328,7 +11328,7 @@ void Ifc4x3_add2::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x3_add2::IfcTess void Ifc4x3_add2::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x3_add2::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[547]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[547]); } void Ifc4x3_add2::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -11336,34 +11336,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x3_add2::IfcIndexedTriang void Ifc4x3_add2::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[548]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[548]); } void Ifc4x3_add2::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value > Ifc4x3_add2::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[552]); } -void Ifc4x3_add2::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[552]); } +void Ifc4x3_add2::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value Ifc4x3_add2::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3_add2::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[553]); } -void Ifc4x3_add2::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[553]); } +void Ifc4x3_add2::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x3_add2::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[557]); } -void Ifc4x3_add2::IfcIntersectionCurve::initialize(::Ifc4x3_add2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[557]); } +void Ifc4x3_add2::IfcIntersectionCurve::initialize(::Ifc4x3_add2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x3_add2::IfcInventoryTypeEnum::Value > Ifc4x3_add2::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_add2::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x3_add2::IfcActorSelect Ifc4x3_add2::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add2::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add2::IfcActorSelect>(); } void Ifc4x3_add2::IfcInventory::setJurisdiction(const ::Ifc4x3_add2::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > Ifc4x3_add2::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add2::IfcPerson>(es); } @@ -11376,16 +11376,16 @@ void Ifc4x3_add2::IfcInventory::setCurrentValue(const ::Ifc4x3_add2::IfcCostValu void Ifc4x3_add2::IfcInventory::setOriginalValue(const ::Ifc4x3_add2::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add2::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[558]); } -void Ifc4x3_add2::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_add2::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_add2::IfcCostValue v10_CurrentValue, ::Ifc4x3_add2::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[558]); } +void Ifc4x3_add2::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_add2::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_add2::IfcCostValue v10_CurrentValue, ::Ifc4x3_add2::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add2::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue > Ifc4x3_add2::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_add2::IfcIrregularTimeSeriesValue>(es); } void Ifc4x3_add2::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[561]); } -void Ifc4x3_add2::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::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, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit v8_Unit, std::vector< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue > v9_Values) { 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));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[561]); } +void Ifc4x3_add2::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::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, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit v8_Unit, std::vector< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x3_add2::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -11394,40 +11394,40 @@ std::vector< ::Ifc4x3_add2::IfcValue > Ifc4x3_add2::IfcIrregularTimeSeriesValue: void Ifc4x3_add2::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_add2::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[562]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[562]); } void Ifc4x3_add2::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_add2::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value > Ifc4x3_add2::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[565]); } -void Ifc4x3_add2::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[565]); } +void Ifc4x3_add2::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value Ifc4x3_add2::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[566]); } -void Ifc4x3_add2::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[566]); } +void Ifc4x3_add2::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcKerb std::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value > Ifc4x3_add2::IfcKerb::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcKerbTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcKerb::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcKerb::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcKerb::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[568]); } -void Ifc4x3_add2::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcKerb::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[568]); } +void Ifc4x3_add2::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcKerbType ::Ifc4x3_add2::IfcKerbTypeEnum::Value Ifc4x3_add2::IfcKerbType::PredefinedType() const { return ::Ifc4x3_add2::IfcKerbTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcKerbType::setPredefinedType(const ::Ifc4x3_add2::IfcKerbTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcKerbType::setPredefinedType(const ::Ifc4x3_add2::IfcKerbTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcKerbType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[569]); } -void Ifc4x3_add2::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcKerbTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcKerbType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[569]); } +void Ifc4x3_add2::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcKerbTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcKerbTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLShapeProfileDef double Ifc4x3_add2::IfcLShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -11444,50 +11444,50 @@ std::optional< double > Ifc4x3_add2::IfcLShapeProfileDef::LegSlope() const { if( void Ifc4x3_add2::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[619]); } -void Ifc4x3_add2::IfcLShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { 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));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[619]); } +void Ifc4x3_add2::IfcLShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value > Ifc4x3_add2::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[574]); } -void Ifc4x3_add2::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[574]); } +void Ifc4x3_add2::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value Ifc4x3_add2::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add2::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[575]); } -void Ifc4x3_add2::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[575]); } +void Ifc4x3_add2::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x3_add2::IfcTimeOrRatioSelect Ifc4x3_add2::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add2::IfcTimeOrRatioSelect>(); } void Ifc4x3_add2::IfcLagTime::setLagValue(const ::Ifc4x3_add2::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_add2::IfcTaskDurationEnum::Value Ifc4x3_add2::IfcLagTime::DurationType() const { return ::Ifc4x3_add2::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add2::IfcLagTime::setDurationType(const ::Ifc4x3_add2::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add2::IfcLagTime::setDurationType(const ::Ifc4x3_add2::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[577]); } -void Ifc4x3_add2::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_add2::IfcTaskDurationEnum::Value v5_DurationType) { 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));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[577]); } +void Ifc4x3_add2::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_add2::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value > Ifc4x3_add2::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[578]); } -void Ifc4x3_add2::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[578]); } +void Ifc4x3_add2::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x3_add2::IfcLampTypeEnum::Value Ifc4x3_add2::IfcLampType::PredefinedType() const { return ::Ifc4x3_add2::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcLampType::setPredefinedType(const ::Ifc4x3_add2::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcLampType::setPredefinedType(const ::Ifc4x3_add2::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[579]); } -void Ifc4x3_add2::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[579]); } +void Ifc4x3_add2::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x3_add2::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11503,10 +11503,10 @@ void Ifc4x3_add2::IfcLibraryInformation::setLocation(const std::optional< std::s std::optional< std::string > Ifc4x3_add2::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add2::IfcRelAssociatesLibrary> Ifc4x3_add2::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[913], 5)); } -std::vector<::Ifc4x3_add2::IfcLibraryReference> Ifc4x3_add2::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[586], 5)); } +std::vector<::Ifc4x3_add2::IfcRelAssociatesLibrary> Ifc4x3_add2::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[913], 5)); } +std::vector<::Ifc4x3_add2::IfcLibraryReference> Ifc4x3_add2::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[586], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[585]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[585]); } void Ifc4x3_add2::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_add2::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -11517,9 +11517,9 @@ void Ifc4x3_add2::IfcLibraryReference::setLanguage(const std::optional< std::str ::Ifc4x3_add2::IfcLibraryInformation Ifc4x3_add2::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_add2::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add2::IfcLibraryInformation>(); } void Ifc4x3_add2::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x3_add2::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_add2::IfcRelAssociatesLibrary> Ifc4x3_add2::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[913], 5)); } +std::vector<::Ifc4x3_add2::IfcRelAssociatesLibrary> Ifc4x3_add2::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[913], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[586]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[586]); } void Ifc4x3_add2::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_add2::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -11531,34 +11531,34 @@ std::vector< double > /*[1:?]*/ Ifc4x3_add2::IfcLightDistributionData::LuminousI void Ifc4x3_add2::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[589]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[589]); } void Ifc4x3_add2::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value > Ifc4x3_add2::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[592]); } -void Ifc4x3_add2::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[592]); } +void Ifc4x3_add2::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value Ifc4x3_add2::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3_add2::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[593]); } -void Ifc4x3_add2::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[593]); } +void Ifc4x3_add2::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value Ifc4x3_add2::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3_add2::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add2::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add2::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add2::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add2::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x3_add2::IfcLightDistributionData > Ifc4x3_add2::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add2::IfcLightDistributionData>(es); } void Ifc4x3_add2::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x3_add2::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[595]); } -void Ifc4x3_add2::IfcLightIntensityDistribution::initialize(::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_add2::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[595]); } +void Ifc4x3_add2::IfcLightIntensityDistribution::initialize(::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_add2::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x3_add2::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11571,13 +11571,13 @@ std::optional< double > Ifc4x3_add2::IfcLightSource::Intensity() const { if(get_ void Ifc4x3_add2::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[596]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[596]); } void Ifc4x3_add2::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x3_add2::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[597]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[597]); } void Ifc4x3_add2::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -11585,7 +11585,7 @@ void Ifc4x3_add2::IfcLightSourceAmbient::initialize(std::optional< std::string > void Ifc4x3_add2::IfcLightSourceDirectional::setOrientation(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[598]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[598]); } void Ifc4x3_add2::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -11598,13 +11598,13 @@ void Ifc4x3_add2::IfcLightSourceGoniometric::setColourTemperature(const double& double Ifc4x3_add2::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add2::IfcLightEmissionSourceEnum::Value Ifc4x3_add2::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x3_add2::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_add2::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add2::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_add2::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_add2::IfcLightDistributionDataSourceSelect Ifc4x3_add2::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_add2::IfcLightDistributionDataSourceSelect>(); } void Ifc4x3_add2::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x3_add2::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[599]); } -void Ifc4x3_add2::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::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) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[599]); } +void Ifc4x3_add2::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::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) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x3_add2::IfcCartesianPoint Ifc4x3_add2::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcCartesianPoint>(); } @@ -11619,7 +11619,7 @@ double Ifc4x3_add2::IfcLightSourcePositional::QuadricAttenuation() const { doub void Ifc4x3_add2::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[600]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[600]); } void Ifc4x3_add2::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -11633,7 +11633,7 @@ double Ifc4x3_add2::IfcLightSourceSpot::BeamWidthAngle() const { double v = get void Ifc4x3_add2::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_add2::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[601]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[601]); } void Ifc4x3_add2::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::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, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -11643,13 +11643,13 @@ void Ifc4x3_add2::IfcLine::setPnt(const ::Ifc4x3_add2::IfcCartesianPoint& v) { s void Ifc4x3_add2::IfcLine::setDir(const ::Ifc4x3_add2::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcLine::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[602]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[602]); } void Ifc4x3_add2::IfcLine::initialize(::Ifc4x3_add2::IfcCartesianPoint v1_Pnt, ::Ifc4x3_add2::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLinearElement -const IfcParse::entity& Ifc4x3_add2::IfcLinearElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[603]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLinearElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[603]); } void Ifc4x3_add2::IfcLinearElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLinearPlacement @@ -11659,43 +11659,43 @@ void Ifc4x3_add2::IfcLinearPlacement::setRelativePlacement(const ::Ifc4x3_add2:: void Ifc4x3_add2::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[606]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[606]); } void Ifc4x3_add2::IfcLinearPlacement::initialize(::Ifc4x3_add2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add2::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_add2::IfcAxis2Placement3D v3_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement));set_attribute_value(2, (v3_CartesianPosition)); } // Function implementations for IfcLinearPositioningElement -const IfcParse::entity& Ifc4x3_add2::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[607]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[607]); } void Ifc4x3_add2::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLiquidTerminal std::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value > Ifc4x3_add2::IfcLiquidTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcLiquidTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[611]); } -void Ifc4x3_add2::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcLiquidTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[611]); } +void Ifc4x3_add2::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLiquidTerminalType ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value Ifc4x3_add2::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcLiquidTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[612]); } -void Ifc4x3_add2::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLiquidTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[612]); } +void Ifc4x3_add2::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLocalPlacement ::Ifc4x3_add2::IfcAxis2Placement Ifc4x3_add2::IfcLocalPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcAxis2Placement>(); } void Ifc4x3_add2::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x3_add2::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[615]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[615]); } void Ifc4x3_add2::IfcLocalPlacement::initialize(::Ifc4x3_add2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add2::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x3_add2::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[618]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[618]); } void Ifc4x3_add2::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -11703,7 +11703,7 @@ void Ifc4x3_add2::IfcLoop::initialize() { } void Ifc4x3_add2::IfcManifoldSolidBrep::setOuter(const ::Ifc4x3_add2::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[625]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[625]); } void Ifc4x3_add2::IfcManifoldSolidBrep::initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -11721,7 +11721,7 @@ std::optional< double > Ifc4x3_add2::IfcMapConversion::Scale() const { if(get_at void Ifc4x3_add2::IfcMapConversion::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[626]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[626]); } void Ifc4x3_add2::IfcMapConversion::initialize(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } } // Function implementations for IfcMapConversionScaled @@ -11733,7 +11733,7 @@ double Ifc4x3_add2::IfcMapConversionScaled::FactorZ() const { double v = get_at void Ifc4x3_add2::IfcMapConversionScaled::setFactorZ(const double& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add2::IfcMapConversionScaled::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[627]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMapConversionScaled::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[627]); } void Ifc4x3_add2::IfcMapConversionScaled::initialize(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, double v9_FactorX, double v10_FactorY, double v11_FactorZ) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } // Function implementations for IfcMappedItem @@ -11743,24 +11743,24 @@ void Ifc4x3_add2::IfcMappedItem::setMappingSource(const ::Ifc4x3_add2::IfcRepres void Ifc4x3_add2::IfcMappedItem::setMappingTarget(const ::Ifc4x3_add2::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[628]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[628]); } void Ifc4x3_add2::IfcMappedItem::initialize(::Ifc4x3_add2::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_add2::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMarineFacility std::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value > Ifc4x3_add2::IfcMarineFacility::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcMarineFacility::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[629]); } -void Ifc4x3_add2::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMarineFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[629]); } +void Ifc4x3_add2::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcMarinePart std::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value > Ifc4x3_add2::IfcMarinePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcMarinePartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcMarinePart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcMarinePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcMarinePart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcMarinePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcMarinePart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[631]); } -void Ifc4x3_add2::IfcMarinePart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMarinePart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[631]); } +void Ifc4x3_add2::IfcMarinePart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMaterial std::string Ifc4x3_add2::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11770,11 +11770,11 @@ void Ifc4x3_add2::IfcMaterial::setDescription(const std::optional< std::string > std::optional< std::string > Ifc4x3_add2::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_add2::IfcMaterialDefinitionRepresentation> Ifc4x3_add2::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[642], 3)); } -std::vector<::Ifc4x3_add2::IfcMaterialRelationship> Ifc4x3_add2::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[654], 3)); } -std::vector<::Ifc4x3_add2::IfcMaterialRelationship> Ifc4x3_add2::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[654], 2)); } +std::vector<::Ifc4x3_add2::IfcMaterialDefinitionRepresentation> Ifc4x3_add2::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[642], 3)); } +std::vector<::Ifc4x3_add2::IfcMaterialRelationship> Ifc4x3_add2::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[654], 3)); } +std::vector<::Ifc4x3_add2::IfcMaterialRelationship> Ifc4x3_add2::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[654], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[637]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[637]); } void Ifc4x3_add2::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -11784,7 +11784,7 @@ void Ifc4x3_add2::IfcMaterialClassificationRelationship::setMaterialClassificati void Ifc4x3_add2::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x3_add2::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[638]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[638]); } void Ifc4x3_add2::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x3_add2::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_add2::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -11799,9 +11799,9 @@ void Ifc4x3_add2::IfcMaterialConstituent::setFraction(const std::optional< doubl std::optional< std::string > Ifc4x3_add2::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_add2::IfcMaterialConstituentSet> Ifc4x3_add2::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[640], 2)); } +std::vector<::Ifc4x3_add2::IfcMaterialConstituentSet> Ifc4x3_add2::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[640], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[639]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[639]); } void Ifc4x3_add2::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -11813,16 +11813,16 @@ std::optional< std::vector< ::Ifc4x3_add2::IfcMaterialConstituent > > Ifc4x3_add void Ifc4x3_add2::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_add2::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[640]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[640]); } void Ifc4x3_add2::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_add2::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x3_add2::IfcRelAssociatesMaterial> Ifc4x3_add2::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[914], 5)); } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -std::vector<::Ifc4x3_add2::IfcMaterialProperties> Ifc4x3_add2::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[653], 3)); } +std::vector<::Ifc4x3_add2::IfcRelAssociatesMaterial> Ifc4x3_add2::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[914], 5)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcMaterialProperties> Ifc4x3_add2::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[653], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[641]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[641]); } void Ifc4x3_add2::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -11830,7 +11830,7 @@ void Ifc4x3_add2::IfcMaterialDefinition::initialize() { } void Ifc4x3_add2::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x3_add2::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[642]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[642]); } void Ifc4x3_add2::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcRepresentation > v3_Representations, ::Ifc4x3_add2::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -11849,9 +11849,9 @@ void Ifc4x3_add2::IfcMaterialLayer::setCategory(const std::optional< std::string std::optional< int > Ifc4x3_add2::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add2::IfcMaterialLayerSet> Ifc4x3_add2::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[644], 0)); } +std::vector<::Ifc4x3_add2::IfcMaterialLayerSet> Ifc4x3_add2::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[644], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[643]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[643]); } void Ifc4x3_add2::IfcMaterialLayer::initialize(::Ifc4x3_add2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -11863,41 +11863,41 @@ std::optional< std::string > Ifc4x3_add2::IfcMaterialLayerSet::Description() con void Ifc4x3_add2::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[644]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[644]); } void Ifc4x3_add2::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x3_add2::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x3_add2::IfcMaterialLayerSet Ifc4x3_add2::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcMaterialLayerSet>(); } void Ifc4x3_add2::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x3_add2::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value Ifc4x3_add2::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x3_add2::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_add2::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_add2::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add2::IfcDirectionSenseEnum::Value Ifc4x3_add2::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x3_add2::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_add2::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_add2::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add2::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add2::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_add2::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add2::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x3_add2::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x3_add2::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x3_add2::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[645]); } -void Ifc4x3_add2::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_add2::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_add2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[645]); } +void Ifc4x3_add2::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_add2::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_add2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value Ifc4x3_add2::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3_add2::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add2::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x3_add2::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[646]); } -void Ifc4x3_add2::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_add2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[646]); } +void Ifc4x3_add2::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_add2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x3_add2::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x3_add2::IfcMaterial > Ifc4x3_add2::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcMaterial>(es); } void Ifc4x3_add2::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x3_add2::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[647]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[647]); } void Ifc4x3_add2::IfcMaterialList::initialize(std::vector< ::Ifc4x3_add2::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -11914,9 +11914,9 @@ void Ifc4x3_add2::IfcMaterialProfile::setPriority(const std::optional< int >& v) std::optional< std::string > Ifc4x3_add2::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add2::IfcMaterialProfileSet> Ifc4x3_add2::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[649], 2)); } +std::vector<::Ifc4x3_add2::IfcMaterialProfileSet> Ifc4x3_add2::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[649], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[648]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[648]); } void Ifc4x3_add2::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial v3_Material, ::Ifc4x3_add2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -11930,7 +11930,7 @@ void Ifc4x3_add2::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< void Ifc4x3_add2::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x3_add2::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[649]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[649]); } void Ifc4x3_add2::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_add2::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -11942,7 +11942,7 @@ std::optional< double > Ifc4x3_add2::IfcMaterialProfileSetUsage::ReferenceExtent void Ifc4x3_add2::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[650]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[650]); } void Ifc4x3_add2::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_add2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -11952,7 +11952,7 @@ std::optional< int > Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::CardinalEn void Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[651]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[651]); } void Ifc4x3_add2::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_add2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_add2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -11960,7 +11960,7 @@ std::vector< double > /*[1:2]*/ Ifc4x3_add2::IfcMaterialProfileWithOffsets::Offs void Ifc4x3_add2::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[652]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[652]); } void Ifc4x3_add2::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial v3_Material, ::Ifc4x3_add2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -11968,7 +11968,7 @@ void Ifc4x3_add2::IfcMaterialProfileWithOffsets::initialize(std::optional< std:: void Ifc4x3_add2::IfcMaterialProperties::setMaterial(const ::Ifc4x3_add2::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[653]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[653]); } void Ifc4x3_add2::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcProperty > v3_Properties, ::Ifc4x3_add2::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -11980,14 +11980,14 @@ std::optional< std::string > Ifc4x3_add2::IfcMaterialRelationship::MaterialExpre void Ifc4x3_add2::IfcMaterialRelationship::setMaterialExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[654]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[654]); } void Ifc4x3_add2::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_add2::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_MaterialExpression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_MaterialExpression) {set_attribute_value(4, (*v5_MaterialExpression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x3_add2::IfcRelAssociatesMaterial> Ifc4x3_add2::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[914], 5)); } +std::vector<::Ifc4x3_add2::IfcRelAssociatesMaterial> Ifc4x3_add2::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[914], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[656]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[656]); } void Ifc4x3_add2::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -11997,7 +11997,7 @@ void Ifc4x3_add2::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x3_add2::Ifc void Ifc4x3_add2::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x3_add2::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[658]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[658]); } void Ifc4x3_add2::IfcMeasureWithUnit::initialize(::Ifc4x3_add2::IfcValue v1_ValueComponent, ::Ifc4x3_add2::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -12006,59 +12006,59 @@ void Ifc4x3_add2::IfcMechanicalFastener::setNominalDiameter(const std::optional< std::optional< double > Ifc4x3_add2::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value > Ifc4x3_add2::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[659]); } -void Ifc4x3_add2::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[659]); } +void Ifc4x3_add2::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_add2::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_add2::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add2::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_add2::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_add2::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[660]); } -void Ifc4x3_add2::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[660]); } +void Ifc4x3_add2::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::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)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value > Ifc4x3_add2::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[662]); } -void Ifc4x3_add2::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[662]); } +void Ifc4x3_add2::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value Ifc4x3_add2::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[663]); } -void Ifc4x3_add2::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[663]); } +void Ifc4x3_add2::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value > Ifc4x3_add2::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[665]); } -void Ifc4x3_add2::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[665]); } +void Ifc4x3_add2::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x3_add2::IfcMemberTypeEnum::Value Ifc4x3_add2::IfcMemberType::PredefinedType() const { return ::Ifc4x3_add2::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcMemberType::setPredefinedType(const ::Ifc4x3_add2::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcMemberType::setPredefinedType(const ::Ifc4x3_add2::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[666]); } -void Ifc4x3_add2::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[666]); } +void Ifc4x3_add2::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x3_add2::IfcBenchmarkEnum::Value Ifc4x3_add2::IfcMetric::Benchmark() const { return ::Ifc4x3_add2::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcMetric::setBenchmark(const ::Ifc4x3_add2::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add2::IfcMetric::setBenchmark(const ::Ifc4x3_add2::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_add2::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x3_add2::IfcMetricValueSelect Ifc4x3_add2::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_add2::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_add2::IfcMetricValueSelect>(); } @@ -12067,160 +12067,160 @@ void Ifc4x3_add2::IfcMetric::setDataValue(const ::Ifc4x3_add2::IfcMetricValueSel void Ifc4x3_add2::IfcMetric::setReferencePath(const ::Ifc4x3_add2::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add2::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[668]); } -void Ifc4x3_add2::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_add2::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_add2::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_add2::IfcReference v11_ReferencePath) { 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)); 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));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[668]); } +void Ifc4x3_add2::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_add2::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_add2::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_add2::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x3_add2::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[670]); } -void Ifc4x3_add2::IfcMirroredProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { 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)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[670]); } +void Ifc4x3_add2::IfcMirroredProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMobileTelecommunicationsAppliance std::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[671]); } -void Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[671]); } +void Ifc4x3_add2::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMobileTelecommunicationsApplianceType ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[672]); } -void Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[672]); } +void Ifc4x3_add2::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMonetaryUnit std::string Ifc4x3_add2::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x3_add2::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[685]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[685]); } void Ifc4x3_add2::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMooringDevice std::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value > Ifc4x3_add2::IfcMooringDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcMooringDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[687]); } -void Ifc4x3_add2::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMooringDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[687]); } +void Ifc4x3_add2::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMooringDeviceType ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value Ifc4x3_add2::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcMooringDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[688]); } -void Ifc4x3_add2::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMooringDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[688]); } +void Ifc4x3_add2::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value > Ifc4x3_add2::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[690]); } -void Ifc4x3_add2::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[690]); } +void Ifc4x3_add2::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value Ifc4x3_add2::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[691]); } -void Ifc4x3_add2::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[691]); } +void Ifc4x3_add2::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x3_add2::IfcDimensionalExponents Ifc4x3_add2::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcDimensionalExponents>(); } void Ifc4x3_add2::IfcNamedUnit::setDimensions(const ::Ifc4x3_add2::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add2::IfcUnitEnum::Value Ifc4x3_add2::IfcNamedUnit::UnitType() const { return ::Ifc4x3_add2::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_add2::IfcNamedUnit::setUnitType(const ::Ifc4x3_add2::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_add2::IfcNamedUnit::setUnitType(const ::Ifc4x3_add2::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_add2::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[693]); } -void Ifc4x3_add2::IfcNamedUnit::initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[693]); } +void Ifc4x3_add2::IfcNamedUnit::initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcNavigationElement std::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value > Ifc4x3_add2::IfcNavigationElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcNavigationElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcNavigationElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[694]); } -void Ifc4x3_add2::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcNavigationElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[694]); } +void Ifc4x3_add2::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcNavigationElementType ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value Ifc4x3_add2::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcNavigationElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcNavigationElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[695]); } -void Ifc4x3_add2::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcNavigationElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[695]); } +void Ifc4x3_add2::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x3_add2::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_add2::IfcRelDefinesByObject> Ifc4x3_add2::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[932], 4)); } -std::vector<::Ifc4x3_add2::IfcRelDefinesByObject> Ifc4x3_add2::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[932], 5)); } -std::vector<::Ifc4x3_add2::IfcRelDefinesByType> Ifc4x3_add2::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[935], 4)); } -std::vector<::Ifc4x3_add2::IfcRelDefinesByProperties> Ifc4x3_add2::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[933], 4)); } +std::vector<::Ifc4x3_add2::IfcRelDefinesByObject> Ifc4x3_add2::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[932], 4)); } +std::vector<::Ifc4x3_add2::IfcRelDefinesByObject> Ifc4x3_add2::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[932], 5)); } +std::vector<::Ifc4x3_add2::IfcRelDefinesByType> Ifc4x3_add2::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[935], 4)); } +std::vector<::Ifc4x3_add2::IfcRelDefinesByProperties> Ifc4x3_add2::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[933], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcObject::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[700]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[700]); } void Ifc4x3_add2::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x3_add2::IfcRelAssigns> Ifc4x3_add2::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[900], 4)); } -std::vector<::Ifc4x3_add2::IfcRelNests> Ifc4x3_add2::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[939], 5)); } -std::vector<::Ifc4x3_add2::IfcRelNests> Ifc4x3_add2::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[939], 4)); } -std::vector<::Ifc4x3_add2::IfcRelDeclares> Ifc4x3_add2::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[929], 5)); } -std::vector<::Ifc4x3_add2::IfcRelAggregates> Ifc4x3_add2::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[899], 4)); } -std::vector<::Ifc4x3_add2::IfcRelAggregates> Ifc4x3_add2::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[899], 5)); } -std::vector<::Ifc4x3_add2::IfcRelAssociates> Ifc4x3_add2::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[908], 4)); } +std::vector<::Ifc4x3_add2::IfcRelAssigns> Ifc4x3_add2::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[900], 4)); } +std::vector<::Ifc4x3_add2::IfcRelNests> Ifc4x3_add2::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[939], 5)); } +std::vector<::Ifc4x3_add2::IfcRelNests> Ifc4x3_add2::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[939], 4)); } +std::vector<::Ifc4x3_add2::IfcRelDeclares> Ifc4x3_add2::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[929], 5)); } +std::vector<::Ifc4x3_add2::IfcRelAggregates> Ifc4x3_add2::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[899], 4)); } +std::vector<::Ifc4x3_add2::IfcRelAggregates> Ifc4x3_add2::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[899], 5)); } +std::vector<::Ifc4x3_add2::IfcRelAssociates> Ifc4x3_add2::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[908], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[701]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[701]); } void Ifc4x3_add2::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement ::Ifc4x3_add2::IfcObjectPlacement Ifc4x3_add2::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_add2::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcObjectPlacement>(); } void Ifc4x3_add2::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x3_add2::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add2::IfcProduct> Ifc4x3_add2::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[800], 5)); } -std::vector<::Ifc4x3_add2::IfcObjectPlacement> Ifc4x3_add2::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[704], 0)); } +std::vector<::Ifc4x3_add2::IfcProduct> Ifc4x3_add2::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[800], 5)); } +std::vector<::Ifc4x3_add2::IfcObjectPlacement> Ifc4x3_add2::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[704], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[704]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[704]); } void Ifc4x3_add2::IfcObjectPlacement::initialize(::Ifc4x3_add2::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo)); } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x3_add2::IfcConstraint > > Ifc4x3_add2::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add2::IfcConstraint>(es); } void Ifc4x3_add2::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x3_add2::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add2::IfcLogicalOperatorEnum::Value > Ifc4x3_add2::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_add2::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_add2::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x3_add2::IfcObjectiveEnum::Value Ifc4x3_add2::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x3_add2::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_add2::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_add2::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_add2::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[702]); } -void Ifc4x3_add2::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_add2::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_add2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_add2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { 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)); 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, cast_vector(*v8_BenchmarkValues)); } 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[702]); } +void Ifc4x3_add2::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_add2::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_add2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_add2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value > Ifc4x3_add2::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add2::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add2::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add2::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add2::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[706]); } -void Ifc4x3_add2::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_add2::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[706]); } +void Ifc4x3_add2::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_add2::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x3_add2::IfcCurve Ifc4x3_add2::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcCurve>(); } void Ifc4x3_add2::IfcOffsetCurve::setBasisCurve(const ::Ifc4x3_add2::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[708]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[708]); } void Ifc4x3_add2::IfcOffsetCurve::initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -12230,7 +12230,7 @@ boost::logic::tribool Ifc4x3_add2::IfcOffsetCurve2D::SelfIntersect() const { bo void Ifc4x3_add2::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[709]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[709]); } void Ifc4x3_add2::IfcOffsetCurve2D::initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -12242,7 +12242,7 @@ void Ifc4x3_add2::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool void Ifc4x3_add2::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[710]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[710]); } void Ifc4x3_add2::IfcOffsetCurve3D::initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_add2::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -12252,7 +12252,7 @@ std::optional< std::string > Ifc4x3_add2::IfcOffsetCurveByDistances::Tag() const void Ifc4x3_add2::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[711]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[711]); } void Ifc4x3_add2::IfcOffsetCurveByDistances::initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add2::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenCrossProfileDef @@ -12268,23 +12268,23 @@ void Ifc4x3_add2::IfcOpenCrossProfileDef::setTags(const std::optional< std::vect void Ifc4x3_add2::IfcOpenCrossProfileDef::setOffsetPoint(const ::Ifc4x3_add2::IfcCartesianPoint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcOpenCrossProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[712]); } -void Ifc4x3_add2::IfcOpenCrossProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_add2::IfcCartesianPoint v7_OffsetPoint) { 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOpenCrossProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[712]); } +void Ifc4x3_add2::IfcOpenCrossProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_add2::IfcCartesianPoint v7_OffsetPoint) { set_attribute_value(0, (enumeration_reference(&::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)); } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x3_add2::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[715]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[715]); } void Ifc4x3_add2::IfcOpenShell::initialize(std::vector< ::Ifc4x3_add2::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value > Ifc4x3_add2::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add2::IfcRelFillsElement> Ifc4x3_add2::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[936], 4)); } +std::vector<::Ifc4x3_add2::IfcRelFillsElement> Ifc4x3_add2::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[936], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[713]); } -void Ifc4x3_add2::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[713]); } +void Ifc4x3_add2::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x3_add2::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12298,11 +12298,11 @@ void Ifc4x3_add2::IfcOrganization::setRoles(const std::optional< std::vector< :: std::optional< std::vector< ::Ifc4x3_add2::IfcAddress > > Ifc4x3_add2::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_add2::IfcAddress>(es); } void Ifc4x3_add2::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x3_add2::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_add2::IfcOrganizationRelationship> Ifc4x3_add2::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[717], 3)); } -std::vector<::Ifc4x3_add2::IfcOrganizationRelationship> Ifc4x3_add2::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[717], 2)); } -std::vector<::Ifc4x3_add2::IfcPersonAndOrganization> Ifc4x3_add2::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[738], 1)); } +std::vector<::Ifc4x3_add2::IfcOrganizationRelationship> Ifc4x3_add2::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[717], 3)); } +std::vector<::Ifc4x3_add2::IfcOrganizationRelationship> Ifc4x3_add2::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[717], 2)); } +std::vector<::Ifc4x3_add2::IfcPersonAndOrganization> Ifc4x3_add2::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[738], 1)); } -const IfcParse::entity& Ifc4x3_add2::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[716]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[716]); } void Ifc4x3_add2::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_add2::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -12312,7 +12312,7 @@ std::vector< ::Ifc4x3_add2::IfcOrganization > Ifc4x3_add2::IfcOrganizationRelati void Ifc4x3_add2::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x3_add2::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[717]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[717]); } void Ifc4x3_add2::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_add2::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientedEdge @@ -12322,30 +12322,30 @@ bool Ifc4x3_add2::IfcOrientedEdge::Orientation() const { bool v = get_attribute void Ifc4x3_add2::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[718]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[718]); } void Ifc4x3_add2::IfcOrientedEdge::initialize(::Ifc4x3_add2::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x3_add2::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[719]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[719]); } void Ifc4x3_add2::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value > Ifc4x3_add2::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[720]); } -void Ifc4x3_add2::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[720]); } +void Ifc4x3_add2::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x3_add2::IfcOutletTypeEnum::Value Ifc4x3_add2::IfcOutletType::PredefinedType() const { return ::Ifc4x3_add2::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcOutletType::setPredefinedType(const ::Ifc4x3_add2::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcOutletType::setPredefinedType(const ::Ifc4x3_add2::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[721]); } -void Ifc4x3_add2::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[721]); } +void Ifc4x3_add2::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x3_add2::IfcPersonAndOrganization Ifc4x3_add2::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcPersonAndOrganization>(); } @@ -12353,9 +12353,9 @@ void Ifc4x3_add2::IfcOwnerHistory::setOwningUser(const ::Ifc4x3_add2::IfcPersonA ::Ifc4x3_add2::IfcApplication Ifc4x3_add2::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcApplication>(); } void Ifc4x3_add2::IfcOwnerHistory::setOwningApplication(const ::Ifc4x3_add2::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > Ifc4x3_add2::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_add2::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_add2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_add2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_add2::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_add2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_add2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value > Ifc4x3_add2::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_add2::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_add2::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_add2::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_add2::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x3_add2::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_add2::IfcPersonAndOrganization Ifc4x3_add2::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_add2::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add2::IfcPersonAndOrganization>(); } @@ -12366,40 +12366,40 @@ int Ifc4x3_add2::IfcOwnerHistory::CreationDate() const { int v = get_attribute_ void Ifc4x3_add2::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add2::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[723]); } -void Ifc4x3_add2::IfcOwnerHistory::initialize(::Ifc4x3_add2::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_add2::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_add2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add2::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); 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));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[723]); } +void Ifc4x3_add2::IfcOwnerHistory::initialize(::Ifc4x3_add2::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_add2::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_add2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add2::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_add2::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x3_add2::IfcAxis2Placement2D Ifc4x3_add2::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_add2::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcAxis2Placement2D>(); } void Ifc4x3_add2::IfcParameterizedProfileDef::setPosition(const ::Ifc4x3_add2::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[724]); } -void Ifc4x3_add2::IfcParameterizedProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position) { 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[724]); } +void Ifc4x3_add2::IfcParameterizedProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x3_add2::IfcOrientedEdge > Ifc4x3_add2::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcOrientedEdge>(es); } void Ifc4x3_add2::IfcPath::setEdgeList(const std::vector< ::Ifc4x3_add2::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcPath::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[726]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[726]); } void Ifc4x3_add2::IfcPath::initialize(std::vector< ::Ifc4x3_add2::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPavement std::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value > Ifc4x3_add2::IfcPavement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPavementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcPavement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[727]); } -void Ifc4x3_add2::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPavement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[727]); } +void Ifc4x3_add2::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPavementType ::Ifc4x3_add2::IfcPavementTypeEnum::Value Ifc4x3_add2::IfcPavementType::PredefinedType() const { return ::Ifc4x3_add2::IfcPavementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcPavementType::setPredefinedType(const ::Ifc4x3_add2::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcPavementType::setPredefinedType(const ::Ifc4x3_add2::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcPavementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[728]); } -void Ifc4x3_add2::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPavementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[728]); } +void Ifc4x3_add2::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPcurve ::Ifc4x3_add2::IfcSurface Ifc4x3_add2::IfcPcurve::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcSurface>(); } @@ -12408,24 +12408,24 @@ void Ifc4x3_add2::IfcPcurve::setBasisSurface(const ::Ifc4x3_add2::IfcSurface& v) void Ifc4x3_add2::IfcPcurve::setReferenceCurve(const ::Ifc4x3_add2::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[730]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[730]); } void Ifc4x3_add2::IfcPcurve::initialize(::Ifc4x3_add2::IfcSurface v1_BasisSurface, ::Ifc4x3_add2::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x3_add2::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value > Ifc4x3_add2::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add2::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[731]); } -void Ifc4x3_add2::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[731]); } +void Ifc4x3_add2::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value Ifc4x3_add2::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add2::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add2::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value Ifc4x3_add2::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x3_add2::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add2::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_add2::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_add2::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -12434,20 +12434,20 @@ void Ifc4x3_add2::IfcPermeableCoveringProperties::setFrameThickness(const std::o void Ifc4x3_add2::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x3_add2::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[734]); } -void Ifc4x3_add2::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[734]); } +void Ifc4x3_add2::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x3_add2::IfcPermitTypeEnum::Value > Ifc4x3_add2::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add2::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add2::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add2::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add2::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_add2::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add2::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[735]); } -void Ifc4x3_add2::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[735]); } +void Ifc4x3_add2::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::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)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x3_add2::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12467,9 +12467,9 @@ void Ifc4x3_add2::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x3 std::optional< std::vector< ::Ifc4x3_add2::IfcAddress > > Ifc4x3_add2::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add2::IfcAddress>(es); } void Ifc4x3_add2::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x3_add2::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add2::IfcPersonAndOrganization> Ifc4x3_add2::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[738], 0)); } +std::vector<::Ifc4x3_add2::IfcPersonAndOrganization> Ifc4x3_add2::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[738], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[737]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[737]); } void Ifc4x3_add2::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_add2::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -12481,7 +12481,7 @@ std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > > Ifc4x3_add2::IfcPers void Ifc4x3_add2::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[738]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[738]); } void Ifc4x3_add2::IfcPersonAndOrganization::initialize(::Ifc4x3_add2::IfcPerson v1_ThePerson, ::Ifc4x3_add2::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -12495,7 +12495,7 @@ std::optional< std::string > Ifc4x3_add2::IfcPhysicalComplexQuantity::Usage() co void Ifc4x3_add2::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add2::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[740]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[740]); } void Ifc4x3_add2::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -12504,10 +12504,10 @@ void Ifc4x3_add2::IfcPhysicalQuantity::setName(const std::string& v) { set_attri std::optional< std::string > Ifc4x3_add2::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -std::vector<::Ifc4x3_add2::IfcPhysicalComplexQuantity> Ifc4x3_add2::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[740], 2)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcPhysicalComplexQuantity> Ifc4x3_add2::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[740], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[742]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[742]); } void Ifc4x3_add2::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -12515,58 +12515,58 @@ void Ifc4x3_add2::IfcPhysicalQuantity::initialize(std::string v1_Name, std::opti void Ifc4x3_add2::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x3_add2::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[743]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[743]); } void Ifc4x3_add2::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x3_add2::IfcPileTypeEnum::Value > Ifc4x3_add2::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value > Ifc4x3_add2::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcPile::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[744]); } -void Ifc4x3_add2::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[744]); } +void Ifc4x3_add2::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x3_add2::IfcPileTypeEnum::Value Ifc4x3_add2::IfcPileType::PredefinedType() const { return ::Ifc4x3_add2::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcPileType::setPredefinedType(const ::Ifc4x3_add2::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcPileType::setPredefinedType(const ::Ifc4x3_add2::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[746]); } -void Ifc4x3_add2::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[746]); } +void Ifc4x3_add2::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value > Ifc4x3_add2::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[748]); } -void Ifc4x3_add2::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[748]); } +void Ifc4x3_add2::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value Ifc4x3_add2::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3_add2::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[749]); } -void Ifc4x3_add2::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[749]); } +void Ifc4x3_add2::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value > Ifc4x3_add2::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[751]); } -void Ifc4x3_add2::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[751]); } +void Ifc4x3_add2::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value Ifc4x3_add2::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[752]); } -void Ifc4x3_add2::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[752]); } +void Ifc4x3_add2::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x3_add2::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -12579,7 +12579,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_add2::IfcPixelTexture::P void Ifc4x3_add2::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[754]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[754]); } void Ifc4x3_add2::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -12587,7 +12587,7 @@ void Ifc4x3_add2::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, void Ifc4x3_add2::IfcPlacement::setLocation(const ::Ifc4x3_add2::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[755]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[755]); } void Ifc4x3_add2::IfcPlacement::initialize(::Ifc4x3_add2::IfcPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -12595,7 +12595,7 @@ void Ifc4x3_add2::IfcPlacement::initialize(::Ifc4x3_add2::IfcPoint v1_Location) void Ifc4x3_add2::IfcPlanarBox::setPlacement(const ::Ifc4x3_add2::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[756]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[756]); } void Ifc4x3_add2::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_add2::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -12605,35 +12605,35 @@ double Ifc4x3_add2::IfcPlanarExtent::SizeInY() const { double v = get_attribute void Ifc4x3_add2::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[757]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[757]); } void Ifc4x3_add2::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x3_add2::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[759]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[759]); } void Ifc4x3_add2::IfcPlane::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlate std::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value > Ifc4x3_add2::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[761]); } -void Ifc4x3_add2::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[761]); } +void Ifc4x3_add2::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x3_add2::IfcPlateTypeEnum::Value Ifc4x3_add2::IfcPlateType::PredefinedType() const { return ::Ifc4x3_add2::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcPlateType::setPredefinedType(const ::Ifc4x3_add2::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcPlateType::setPredefinedType(const ::Ifc4x3_add2::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[762]); } -void Ifc4x3_add2::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[762]); } +void Ifc4x3_add2::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x3_add2::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[764]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[764]); } void Ifc4x3_add2::IfcPoint::initialize() { } // Function implementations for IfcPointByDistanceExpression @@ -12649,7 +12649,7 @@ void Ifc4x3_add2::IfcPointByDistanceExpression::setOffsetLongitudinal(const std: void Ifc4x3_add2::IfcPointByDistanceExpression::setBasisCurve(const ::Ifc4x3_add2::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcPointByDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[765]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPointByDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[765]); } void Ifc4x3_add2::IfcPointByDistanceExpression::initialize(::Ifc4x3_add2::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_add2::IfcCurve v5_BasisCurve) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } // Function implementations for IfcPointOnCurve @@ -12659,7 +12659,7 @@ double Ifc4x3_add2::IfcPointOnCurve::PointParameter() const { double v = get_at void Ifc4x3_add2::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[766]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[766]); } void Ifc4x3_add2::IfcPointOnCurve::initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -12671,7 +12671,7 @@ double Ifc4x3_add2::IfcPointOnSurface::PointParameterV() const { double v = get void Ifc4x3_add2::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[767]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[767]); } void Ifc4x3_add2::IfcPointOnSurface::initialize(::Ifc4x3_add2::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -12679,7 +12679,7 @@ std::vector< ::Ifc4x3_add2::IfcCartesianPoint > Ifc4x3_add2::IfcPolyLoop::Polygo void Ifc4x3_add2::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x3_add2::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[772]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[772]); } void Ifc4x3_add2::IfcPolyLoop::initialize(std::vector< ::Ifc4x3_add2::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -12689,7 +12689,7 @@ void Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x3_add2: void Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x3_add2::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[769]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[769]); } void Ifc4x3_add2::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x3_add2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add2::IfcAxis2Placement3D v3_Position, ::Ifc4x3_add2::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -12701,7 +12701,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add2::IfcPolygonalFaceSet:: void Ifc4x3_add2::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[770]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[770]); } void Ifc4x3_add2::IfcPolygonalFaceSet::initialize(::Ifc4x3_add2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_add2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -12709,7 +12709,7 @@ std::vector< ::Ifc4x3_add2::IfcCartesianPoint > Ifc4x3_add2::IfcPolyline::Points void Ifc4x3_add2::IfcPolyline::setPoints(const std::vector< ::Ifc4x3_add2::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[771]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[771]); } void Ifc4x3_add2::IfcPolyline::initialize(std::vector< ::Ifc4x3_add2::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPolynomialCurve @@ -12723,24 +12723,24 @@ std::optional< std::vector< double > /*[2:?]*/ > Ifc4x3_add2::IfcPolynomialCurve void Ifc4x3_add2::IfcPolynomialCurve::setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcPolynomialCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[773]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPolynomialCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[773]); } void Ifc4x3_add2::IfcPolynomialCurve::initialize(::Ifc4x3_add2::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ) { set_attribute_value(0, (v1_Position)); 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)); } } // Function implementations for IfcPort -std::vector<::Ifc4x3_add2::IfcRelConnectsPortToElement> Ifc4x3_add2::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[921], 4)); } -std::vector<::Ifc4x3_add2::IfcRelConnectsPorts> Ifc4x3_add2::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[920], 5)); } -std::vector<::Ifc4x3_add2::IfcRelConnectsPorts> Ifc4x3_add2::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[920], 4)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsPortToElement> Ifc4x3_add2::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[921], 4)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsPorts> Ifc4x3_add2::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[920], 5)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsPorts> Ifc4x3_add2::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[920], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcPort::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[774]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[774]); } void Ifc4x3_add2::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x3_add2::IfcRelContainedInSpatialStructure> Ifc4x3_add2::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[926], 4)); } -std::vector<::Ifc4x3_add2::IfcRelPositions> Ifc4x3_add2::IfcPositioningElement::Positions() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[940], 4)); } +std::vector<::Ifc4x3_add2::IfcRelContainedInSpatialStructure> Ifc4x3_add2::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[926], 4)); } +std::vector<::Ifc4x3_add2::IfcRelPositions> Ifc4x3_add2::IfcPositioningElement::Positions() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[940], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[775]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[775]); } void Ifc4x3_add2::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -12760,19 +12760,19 @@ std::optional< std::string > Ifc4x3_add2::IfcPostalAddress::Country() const { if void Ifc4x3_add2::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[780]); } -void Ifc4x3_add2::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[780]); } +void Ifc4x3_add2::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[782]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[782]); } void Ifc4x3_add2::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[783]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[783]); } void Ifc4x3_add2::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -12780,31 +12780,31 @@ std::string Ifc4x3_add2::IfcPreDefinedItem::Name() const { std::string v = get_ void Ifc4x3_add2::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[784]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[784]); } void Ifc4x3_add2::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[785]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[785]); } void Ifc4x3_add2::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[786]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[786]); } void Ifc4x3_add2::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x3_add2::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[787]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[787]); } void Ifc4x3_add2::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x3_add2::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[790]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[790]); } void Ifc4x3_add2::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -12818,7 +12818,7 @@ std::optional< std::string > Ifc4x3_add2::IfcPresentationLayerAssignment::Identi void Ifc4x3_add2::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[791]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[791]); } void Ifc4x3_add2::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -12832,7 +12832,7 @@ std::vector< ::Ifc4x3_add2::IfcPresentationStyle > Ifc4x3_add2::IfcPresentationL void Ifc4x3_add2::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x3_add2::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add2::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[792]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[792]); } void Ifc4x3_add2::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_add2::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -12840,24 +12840,24 @@ std::optional< std::string > Ifc4x3_add2::IfcPresentationStyle::Name() const { i void Ifc4x3_add2::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add2::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[793]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[793]); } void Ifc4x3_add2::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcProcedure std::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value > Ifc4x3_add2::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add2::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[795]); } -void Ifc4x3_add2::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[795]); } +void Ifc4x3_add2::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x3_add2::IfcProcedureTypeEnum::Value Ifc4x3_add2::IfcProcedureType::PredefinedType() const { return ::Ifc4x3_add2::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcProcedureType::setPredefinedType(const ::Ifc4x3_add2::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcProcedureType::setPredefinedType(const ::Ifc4x3_add2::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[796]); } -void Ifc4x3_add2::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[796]); } +void Ifc4x3_add2::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_add2::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x3_add2::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -12865,11 +12865,11 @@ void Ifc4x3_add2::IfcProcess::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_add2::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add2::IfcRelSequence> Ifc4x3_add2::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[943], 4)); } -std::vector<::Ifc4x3_add2::IfcRelSequence> Ifc4x3_add2::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[943], 5)); } -std::vector<::Ifc4x3_add2::IfcRelAssignsToProcess> Ifc4x3_add2::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[905], 6)); } +std::vector<::Ifc4x3_add2::IfcRelSequence> Ifc4x3_add2::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[943], 4)); } +std::vector<::Ifc4x3_add2::IfcRelSequence> Ifc4x3_add2::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[943], 5)); } +std::vector<::Ifc4x3_add2::IfcRelAssignsToProcess> Ifc4x3_add2::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[905], 6)); } -const IfcParse::entity& Ifc4x3_add2::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[798]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[798]); } void Ifc4x3_add2::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -12878,19 +12878,19 @@ void Ifc4x3_add2::IfcProduct::setObjectPlacement(const ::Ifc4x3_add2::IfcObjectP ::Ifc4x3_add2::IfcProductRepresentation Ifc4x3_add2::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add2::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add2::IfcProductRepresentation>(); } void Ifc4x3_add2::IfcProduct::setRepresentation(const ::Ifc4x3_add2::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_add2::IfcRelAssignsToProduct> Ifc4x3_add2::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[906], 6)); } -std::vector<::Ifc4x3_add2::IfcRelPositions> Ifc4x3_add2::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[940], 5)); } -std::vector<::Ifc4x3_add2::IfcRelReferencedInSpatialStructure> Ifc4x3_add2::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[942], 4)); } +std::vector<::Ifc4x3_add2::IfcRelAssignsToProduct> Ifc4x3_add2::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[906], 6)); } +std::vector<::Ifc4x3_add2::IfcRelPositions> Ifc4x3_add2::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[940], 5)); } +std::vector<::Ifc4x3_add2::IfcRelReferencedInSpatialStructure> Ifc4x3_add2::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[942], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[800]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[800]); } void Ifc4x3_add2::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x3_add2::IfcProduct> Ifc4x3_add2::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[800], 6)); } -std::vector<::Ifc4x3_add2::IfcShapeAspect> Ifc4x3_add2::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1006], 4)); } +std::vector<::Ifc4x3_add2::IfcProduct> Ifc4x3_add2::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[800], 6)); } +std::vector<::Ifc4x3_add2::IfcShapeAspect> Ifc4x3_add2::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1006], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[801]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[801]); } void Ifc4x3_add2::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -12902,52 +12902,52 @@ std::vector< ::Ifc4x3_add2::IfcRepresentation > Ifc4x3_add2::IfcProductRepresent void Ifc4x3_add2::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x3_add2::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[802]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[802]); } void Ifc4x3_add2::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x3_add2::IfcProfileTypeEnum::Value Ifc4x3_add2::IfcProfileDef::ProfileType() const { return ::Ifc4x3_add2::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add2::IfcProfileDef::setProfileType(const ::Ifc4x3_add2::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add2::IfcProfileDef::setProfileType(const ::Ifc4x3_add2::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_add2::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -std::vector<::Ifc4x3_add2::IfcProfileProperties> Ifc4x3_add2::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[806], 3)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcProfileProperties> Ifc4x3_add2::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[806], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[805]); } -void Ifc4x3_add2::IfcProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[805]); } +void Ifc4x3_add2::IfcProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x3_add2::IfcProfileDef Ifc4x3_add2::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add2::IfcProfileDef>(); } void Ifc4x3_add2::IfcProfileProperties::setProfileDefinition(const ::Ifc4x3_add2::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[806]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[806]); } void Ifc4x3_add2::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcProperty > v3_Properties, ::Ifc4x3_add2::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x3_add2::IfcProject::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[808]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[808]); } void Ifc4x3_add2::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x3_add2::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[813]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[813]); } void Ifc4x3_add2::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x3_add2::IfcProjectOrderTypeEnum::Value > Ifc4x3_add2::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add2::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_add2::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_add2::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_add2::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_add2::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add2::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[814]); } -void Ifc4x3_add2::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[814]); } +void Ifc4x3_add2::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::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)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x3_add2::IfcProjectedCRS::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -12960,16 +12960,16 @@ void Ifc4x3_add2::IfcProjectedCRS::setMapZone(const std::optional< std::string > void Ifc4x3_add2::IfcProjectedCRS::setMapUnit(const ::Ifc4x3_add2::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[809]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[809]); } void Ifc4x3_add2::IfcProjectedCRS::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_add2::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value > Ifc4x3_add2::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[811]); } -void Ifc4x3_add2::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[811]); } +void Ifc4x3_add2::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x3_add2::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -12977,21 +12977,21 @@ void Ifc4x3_add2::IfcProperty::setName(const std::string& v) { set_attribute_val std::optional< std::string > Ifc4x3_add2::IfcProperty::Specification() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcProperty::setSpecification(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_add2::IfcPropertySet> Ifc4x3_add2::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[825], 4)); } -std::vector<::Ifc4x3_add2::IfcPropertyDependencyRelationship> Ifc4x3_add2::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[820], 2)); } -std::vector<::Ifc4x3_add2::IfcPropertyDependencyRelationship> Ifc4x3_add2::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[820], 3)); } -std::vector<::Ifc4x3_add2::IfcComplexProperty> Ifc4x3_add2::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[189], 3)); } -std::vector<::Ifc4x3_add2::IfcResourceConstraintRelationship> Ifc4x3_add2::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[956], 3)); } -std::vector<::Ifc4x3_add2::IfcResourceApprovalRelationship> Ifc4x3_add2::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[955], 2)); } +std::vector<::Ifc4x3_add2::IfcPropertySet> Ifc4x3_add2::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[825], 4)); } +std::vector<::Ifc4x3_add2::IfcPropertyDependencyRelationship> Ifc4x3_add2::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[820], 2)); } +std::vector<::Ifc4x3_add2::IfcPropertyDependencyRelationship> Ifc4x3_add2::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[820], 3)); } +std::vector<::Ifc4x3_add2::IfcComplexProperty> Ifc4x3_add2::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[189], 3)); } +std::vector<::Ifc4x3_add2::IfcResourceConstraintRelationship> Ifc4x3_add2::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[956], 3)); } +std::vector<::Ifc4x3_add2::IfcResourceApprovalRelationship> Ifc4x3_add2::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[955], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[816]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[816]); } void Ifc4x3_add2::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[817]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[817]); } void Ifc4x3_add2::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -13005,15 +13005,15 @@ void Ifc4x3_add2::IfcPropertyBoundedValue::setUnit(const ::Ifc4x3_add2::IfcUnit& void Ifc4x3_add2::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x3_add2::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[818]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[818]); } void Ifc4x3_add2::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::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) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x3_add2::IfcRelDeclares> Ifc4x3_add2::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[929], 5)); } -std::vector<::Ifc4x3_add2::IfcRelAssociates> Ifc4x3_add2::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[908], 4)); } +std::vector<::Ifc4x3_add2::IfcRelDeclares> Ifc4x3_add2::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[929], 5)); } +std::vector<::Ifc4x3_add2::IfcRelAssociates> Ifc4x3_add2::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[908], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[819]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[819]); } void Ifc4x3_add2::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -13025,7 +13025,7 @@ std::optional< std::string > Ifc4x3_add2::IfcPropertyDependencyRelationship::Exp void Ifc4x3_add2::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[820]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[820]); } void Ifc4x3_add2::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcProperty v3_DependingProperty, ::Ifc4x3_add2::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -13035,7 +13035,7 @@ void Ifc4x3_add2::IfcPropertyEnumeratedValue::setEnumerationValues(const std::op void Ifc4x3_add2::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x3_add2::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[821]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[821]); } void Ifc4x3_add2::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v3_EnumerationValues, ::Ifc4x3_add2::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -13047,7 +13047,7 @@ void Ifc4x3_add2::IfcPropertyEnumeration::setEnumerationValues(const std::vector void Ifc4x3_add2::IfcPropertyEnumeration::setUnit(const ::Ifc4x3_add2::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[822]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[822]); } void Ifc4x3_add2::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x3_add2::IfcValue > v2_EnumerationValues, ::Ifc4x3_add2::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -13057,7 +13057,7 @@ void Ifc4x3_add2::IfcPropertyListValue::setListValues(const std::optional< std:: void Ifc4x3_add2::IfcPropertyListValue::setUnit(const ::Ifc4x3_add2::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[823]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[823]); } void Ifc4x3_add2::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v3_ListValues, ::Ifc4x3_add2::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -13067,7 +13067,7 @@ void Ifc4x3_add2::IfcPropertyReferenceValue::setUsageName(const std::optional< s void Ifc4x3_add2::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x3_add2::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[824]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[824]); } void Ifc4x3_add2::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::string > v3_UsageName, ::Ifc4x3_add2::IfcObjectReferenceSelect v4_PropertyReference) { 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)); } // Function implementations for IfcPropertySet @@ -13075,30 +13075,30 @@ std::vector< ::Ifc4x3_add2::IfcProperty > Ifc4x3_add2::IfcPropertySet::HasProper void Ifc4x3_add2::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x3_add2::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[825]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[825]); } void Ifc4x3_add2::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x3_add2::IfcTypeObject> Ifc4x3_add2::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1241], 5)); } -std::vector<::Ifc4x3_add2::IfcRelDefinesByTemplate> Ifc4x3_add2::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[934], 4)); } -std::vector<::Ifc4x3_add2::IfcRelDefinesByProperties> Ifc4x3_add2::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[933], 5)); } +std::vector<::Ifc4x3_add2::IfcTypeObject> Ifc4x3_add2::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1241], 5)); } +std::vector<::Ifc4x3_add2::IfcRelDefinesByTemplate> Ifc4x3_add2::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[934], 4)); } +std::vector<::Ifc4x3_add2::IfcRelDefinesByProperties> Ifc4x3_add2::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[933], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[826]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[826]); } void Ifc4x3_add2::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3_add2::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add2::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_add2::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_add2::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > Ifc4x3_add2::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_add2::IfcPropertyTemplate>(es); } void Ifc4x3_add2::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x3_add2::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_add2::IfcRelDefinesByTemplate> Ifc4x3_add2::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[934], 5)); } +std::vector<::Ifc4x3_add2::IfcRelDefinesByTemplate> Ifc4x3_add2::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[934], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[829]); } -void Ifc4x3_add2::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[829]); } +void Ifc4x3_add2::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x3_add2::IfcValue Ifc4x3_add2::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_add2::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcValue>(); } @@ -13107,7 +13107,7 @@ void Ifc4x3_add2::IfcPropertySingleValue::setNominalValue(const ::Ifc4x3_add2::I void Ifc4x3_add2::IfcPropertySingleValue::setUnit(const ::Ifc4x3_add2::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[831]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[831]); } void Ifc4x3_add2::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_add2::IfcValue v3_NominalValue, ::Ifc4x3_add2::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -13122,73 +13122,73 @@ void Ifc4x3_add2::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x3_add2::If ::Ifc4x3_add2::IfcUnit Ifc4x3_add2::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add2::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add2::IfcUnit>(); } void Ifc4x3_add2::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x3_add2::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value > Ifc4x3_add2::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add2::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[832]); } -void Ifc4x3_add2::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_add2::IfcUnit v6_DefiningUnit, ::Ifc4x3_add2::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[832]); } +void Ifc4x3_add2::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_add2::IfcUnit v6_DefiningUnit, ::Ifc4x3_add2::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x3_add2::IfcComplexPropertyTemplate> Ifc4x3_add2::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[190], 6)); } -std::vector<::Ifc4x3_add2::IfcPropertySetTemplate> Ifc4x3_add2::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[829], 6)); } +std::vector<::Ifc4x3_add2::IfcComplexPropertyTemplate> Ifc4x3_add2::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[190], 6)); } +std::vector<::Ifc4x3_add2::IfcPropertySetTemplate> Ifc4x3_add2::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[829], 6)); } -const IfcParse::entity& Ifc4x3_add2::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[833]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[833]); } void Ifc4x3_add2::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x3_add2::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[834]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[834]); } void Ifc4x3_add2::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3_add2::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[835]); } -void Ifc4x3_add2::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[835]); } +void Ifc4x3_add2::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[836]); } -void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[836]); } +void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[837]); } -void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[837]); } +void Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_add2::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[839]); } -void Ifc4x3_add2::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[839]); } +void Ifc4x3_add2::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPump std::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value > Ifc4x3_add2::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcPump::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[841]); } -void Ifc4x3_add2::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[841]); } +void Ifc4x3_add2::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x3_add2::IfcPumpTypeEnum::Value Ifc4x3_add2::IfcPumpType::PredefinedType() const { return ::Ifc4x3_add2::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcPumpType::setPredefinedType(const ::Ifc4x3_add2::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcPumpType::setPredefinedType(const ::Ifc4x3_add2::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[842]); } -void Ifc4x3_add2::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[842]); } +void Ifc4x3_add2::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x3_add2::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -13197,7 +13197,7 @@ std::optional< std::string > Ifc4x3_add2::IfcQuantityArea::Formula() const { if( void Ifc4x3_add2::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[844]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[844]); } void Ifc4x3_add2::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -13207,7 +13207,7 @@ std::optional< std::string > Ifc4x3_add2::IfcQuantityCount::Formula() const { if void Ifc4x3_add2::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[845]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[845]); } void Ifc4x3_add2::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, int v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -13217,7 +13217,7 @@ std::optional< std::string > Ifc4x3_add2::IfcQuantityLength::Formula() const { i void Ifc4x3_add2::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[846]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[846]); } void Ifc4x3_add2::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityNumber @@ -13227,13 +13227,13 @@ std::optional< std::string > Ifc4x3_add2::IfcQuantityNumber::Formula() const { i void Ifc4x3_add2::IfcQuantityNumber::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcQuantityNumber::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[847]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcQuantityNumber::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[847]); } void Ifc4x3_add2::IfcQuantityNumber::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_NumberValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_NumberValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x3_add2::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[848]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[848]); } void Ifc4x3_add2::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -13243,7 +13243,7 @@ std::optional< std::string > Ifc4x3_add2::IfcQuantityTime::Formula() const { if( void Ifc4x3_add2::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[849]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[849]); } void Ifc4x3_add2::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -13253,7 +13253,7 @@ std::optional< std::string > Ifc4x3_add2::IfcQuantityVolume::Formula() const { i void Ifc4x3_add2::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[850]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[850]); } void Ifc4x3_add2::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -13263,104 +13263,104 @@ std::optional< std::string > Ifc4x3_add2::IfcQuantityWeight::Formula() const { i void Ifc4x3_add2::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[851]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[851]); } void Ifc4x3_add2::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRail std::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value > Ifc4x3_add2::IfcRail::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcRailTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcRail::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[853]); } -void Ifc4x3_add2::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRail::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[853]); } +void Ifc4x3_add2::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailType ::Ifc4x3_add2::IfcRailTypeEnum::Value Ifc4x3_add2::IfcRailType::PredefinedType() const { return ::Ifc4x3_add2::IfcRailTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcRailType::setPredefinedType(const ::Ifc4x3_add2::IfcRailTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcRailType::setPredefinedType(const ::Ifc4x3_add2::IfcRailTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcRailType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[857]); } -void Ifc4x3_add2::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRailType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[857]); } +void Ifc4x3_add2::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailing std::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value > Ifc4x3_add2::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[854]); } -void Ifc4x3_add2::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[854]); } +void Ifc4x3_add2::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x3_add2::IfcRailingTypeEnum::Value Ifc4x3_add2::IfcRailingType::PredefinedType() const { return ::Ifc4x3_add2::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcRailingType::setPredefinedType(const ::Ifc4x3_add2::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcRailingType::setPredefinedType(const ::Ifc4x3_add2::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[855]); } -void Ifc4x3_add2::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[855]); } +void Ifc4x3_add2::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailway std::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value > Ifc4x3_add2::IfcRailway::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcRailwayTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcRailway::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[859]); } -void Ifc4x3_add2::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRailway::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[859]); } +void Ifc4x3_add2::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRailwayPart std::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value > Ifc4x3_add2::IfcRailwayPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcRailwayPartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcRailwayPart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcRailwayPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcRailwayPart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcRailwayPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcRailwayPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[860]); } -void Ifc4x3_add2::IfcRailwayPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRailwayPart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[860]); } +void Ifc4x3_add2::IfcRailwayPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcRamp std::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value > Ifc4x3_add2::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[863]); } -void Ifc4x3_add2::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[863]); } +void Ifc4x3_add2::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value > Ifc4x3_add2::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[864]); } -void Ifc4x3_add2::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[864]); } +void Ifc4x3_add2::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value Ifc4x3_add2::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3_add2::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[865]); } -void Ifc4x3_add2::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[865]); } +void Ifc4x3_add2::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x3_add2::IfcRampTypeEnum::Value Ifc4x3_add2::IfcRampType::PredefinedType() const { return ::Ifc4x3_add2::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcRampType::setPredefinedType(const ::Ifc4x3_add2::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcRampType::setPredefinedType(const ::Ifc4x3_add2::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[867]); } -void Ifc4x3_add2::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[867]); } +void Ifc4x3_add2::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[870]); } -void Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_add2::IfcCartesianPoint > 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) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[870]); } +void Ifc4x3_add2::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_add2::IfcCartesianPoint > 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) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::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, (enumeration_reference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[871]); } -void Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > 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) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[871]); } +void Ifc4x3_add2::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > 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) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::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, (enumeration_reference(&::Ifc4x3_add2::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_add2::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13371,8 +13371,8 @@ std::optional< double > Ifc4x3_add2::IfcRectangleHollowProfileDef::OuterFilletRa void Ifc4x3_add2::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[873]); } -void Ifc4x3_add2::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { 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));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[873]); } +void Ifc4x3_add2::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x3_add2::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -13381,8 +13381,8 @@ double Ifc4x3_add2::IfcRectangleProfileDef::YDim() const { double v = get_attri void Ifc4x3_add2::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[874]); } -void Ifc4x3_add2::IfcRectangleProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { 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));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[874]); } +void Ifc4x3_add2::IfcRectangleProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x3_add2::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -13393,7 +13393,7 @@ double Ifc4x3_add2::IfcRectangularPyramid::Height() const { double v = get_attr void Ifc4x3_add2::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[875]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[875]); } void Ifc4x3_add2::IfcRectangularPyramid::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -13413,12 +13413,12 @@ bool Ifc4x3_add2::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_a void Ifc4x3_add2::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[876]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[876]); } void Ifc4x3_add2::IfcRectangularTrimmedSurface::initialize(::Ifc4x3_add2::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value Ifc4x3_add2::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x3_add2::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add2::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add2::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add2::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add2::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add2::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add2::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -13435,8 +13435,8 @@ std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > > Ifc4x3_add2::IfcRec void Ifc4x3_add2::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[877]); } -void Ifc4x3_add2::IfcRecurrencePattern::initialize(::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > > v8_TimePeriods) { 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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[877]); } +void Ifc4x3_add2::IfcRecurrencePattern::initialize(::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x3_add2::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -13451,16 +13451,16 @@ void Ifc4x3_add2::IfcReference::setListPositions(const std::optional< std::vecto void Ifc4x3_add2::IfcReference::setInnerReference(const ::Ifc4x3_add2::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcReference::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[879]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[879]); } void Ifc4x3_add2::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_add2::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value > Ifc4x3_add2::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add2::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[880]); } -void Ifc4x3_add2::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[880]); } +void Ifc4x3_add2::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcRegularTimeSeries double Ifc4x3_add2::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -13469,16 +13469,16 @@ std::vector< ::Ifc4x3_add2::IfcTimeSeriesValue > Ifc4x3_add2::IfcRegularTimeSeri void Ifc4x3_add2::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x3_add2::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[883]); } -void Ifc4x3_add2::IfcRegularTimeSeries::initialize(std::string v1_Name, std::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, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_add2::IfcTimeSeriesValue > v10_Values) { 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));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[883]); } +void Ifc4x3_add2::IfcRegularTimeSeries::initialize(std::string v1_Name, std::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, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_add2::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcedSoil std::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value > Ifc4x3_add2::IfcReinforcedSoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcReinforcedSoil::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[884]); } -void Ifc4x3_add2::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcedSoil::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[884]); } +void Ifc4x3_add2::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcReinforcementBarProperties double Ifc4x3_add2::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -13486,7 +13486,7 @@ void Ifc4x3_add2::IfcReinforcementBarProperties::setTotalCrossSectionArea(const std::string Ifc4x3_add2::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_add2::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_add2::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_add2::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x3_add2::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_add2::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x3_add2::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -13495,8 +13495,8 @@ std::optional< int > Ifc4x3_add2::IfcReinforcementBarProperties::BarCount() cons void Ifc4x3_add2::IfcReinforcementBarProperties::setBarCount(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add2::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[886]); } -void Ifc4x3_add2::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount) { 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[886]); } +void Ifc4x3_add2::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x3_add2::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13505,7 +13505,7 @@ std::vector< ::Ifc4x3_add2::IfcSectionReinforcementProperties > Ifc4x3_add2::Ifc void Ifc4x3_add2::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_add2::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[887]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[887]); } void Ifc4x3_add2::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_add2::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -13516,17 +13516,17 @@ void Ifc4x3_add2::IfcReinforcingBar::setCrossSectionArea(const std::optional< do std::optional< double > Ifc4x3_add2::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_add2::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value > Ifc4x3_add2::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_add2::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_add2::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_add2::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_add2::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_add2::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_add2::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[888]); } -void Ifc4x3_add2::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[888]); } +void Ifc4x3_add2::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value Ifc4x3_add2::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_add2::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add2::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13534,28 +13534,28 @@ void Ifc4x3_add2::IfcReinforcingBarType::setCrossSectionArea(const std::optional std::optional< double > Ifc4x3_add2::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x3_add2::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_add2::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_add2::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_add2::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x3_add2::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_add2::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > Ifc4x3_add2::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x3_add2::IfcBendingParameterSelect>(es); } void Ifc4x3_add2::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_add2::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[891]); } -void Ifc4x3_add2::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[891]); } +void Ifc4x3_add2::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::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, (enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x3_add2::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[893]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[893]); } void Ifc4x3_add2::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x3_add2::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[894]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[894]); } void Ifc4x3_add2::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -13576,15 +13576,15 @@ void Ifc4x3_add2::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::optio std::optional< double > Ifc4x3_add2::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x3_add2::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value > Ifc4x3_add2::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x3_add2::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x3_add2::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_add2::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[895]); } -void Ifc4x3_add2::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[895]); } +void Ifc4x3_add2::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value Ifc4x3_add2::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_add2::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add2::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13607,8 +13607,8 @@ std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > Ifc4x3_ void Ifc4x3_add2::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_add2::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[896]); } -void Ifc4x3_add2::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[896]); } +void Ifc4x3_add2::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAdheresToElement ::Ifc4x3_add2::IfcElement Ifc4x3_add2::IfcRelAdheresToElement::RelatingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcElement>(); } @@ -13617,7 +13617,7 @@ std::vector< ::Ifc4x3_add2::IfcSurfaceFeature > Ifc4x3_add2::IfcRelAdheresToElem void Ifc4x3_add2::IfcRelAdheresToElement::setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3_add2::IfcSurfaceFeature >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAdheresToElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[898]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAdheresToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[898]); } void Ifc4x3_add2::IfcRelAdheresToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3_add2::IfcSurfaceFeature > v6_RelatedSurfaceFeatures) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, cast_vector(v6_RelatedSurfaceFeatures)); } // Function implementations for IfcRelAggregates @@ -13627,7 +13627,7 @@ std::vector< ::Ifc4x3_add2::IfcObjectDefinition > Ifc4x3_add2::IfcRelAggregates: void Ifc4x3_add2::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x3_add2::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[899]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[899]); } void Ifc4x3_add2::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns @@ -13637,7 +13637,7 @@ std::optional< bool > Ifc4x3_add2::IfcRelAssigns::RelatedObjectsType() const { i void Ifc4x3_add2::IfcRelAssigns::setRelatedObjectsType(const std::optional< bool >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[900]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[900]); } void Ifc4x3_add2::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); } } // Function implementations for IfcRelAssignsToActor @@ -13647,7 +13647,7 @@ void Ifc4x3_add2::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x3_add2::If void Ifc4x3_add2::IfcRelAssignsToActor::setActingRole(const ::Ifc4x3_add2::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[901]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[901]); } void Ifc4x3_add2::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcActor v7_RelatingActor, ::Ifc4x3_add2::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl @@ -13655,7 +13655,7 @@ void Ifc4x3_add2::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::If void Ifc4x3_add2::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x3_add2::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[902]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[902]); } void Ifc4x3_add2::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup @@ -13663,7 +13663,7 @@ void Ifc4x3_add2::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, :: void Ifc4x3_add2::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x3_add2::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[903]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[903]); } void Ifc4x3_add2::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor @@ -13671,7 +13671,7 @@ double Ifc4x3_add2::IfcRelAssignsToGroupByFactor::Factor() const { double v = g void Ifc4x3_add2::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[904]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[904]); } void Ifc4x3_add2::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess @@ -13681,7 +13681,7 @@ void Ifc4x3_add2::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x3_add2 void Ifc4x3_add2::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x3_add2::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[905]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[905]); } void Ifc4x3_add2::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_add2::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct @@ -13689,7 +13689,7 @@ void Ifc4x3_add2::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, :: void Ifc4x3_add2::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x3_add2::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[906]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[906]); } void Ifc4x3_add2::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource @@ -13697,7 +13697,7 @@ void Ifc4x3_add2::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, :: void Ifc4x3_add2::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x3_add2::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[907]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[907]); } void Ifc4x3_add2::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates @@ -13705,7 +13705,7 @@ std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > Ifc4x3_add2::IfcRelAssociates: void Ifc4x3_add2::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x3_add2::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[908]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[908]); } void Ifc4x3_add2::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -13713,7 +13713,7 @@ void Ifc4x3_add2::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3 void Ifc4x3_add2::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x3_add2::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[909]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[909]); } void Ifc4x3_add2::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -13721,7 +13721,7 @@ void Ifc4x3_add2::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, void Ifc4x3_add2::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x3_add2::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[910]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[910]); } void Ifc4x3_add2::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -13731,7 +13731,7 @@ void Ifc4x3_add2::IfcRelAssociatesConstraint::setIntent(const std::optional< std void Ifc4x3_add2::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x3_add2::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[911]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[911]); } void Ifc4x3_add2::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_add2::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -13739,7 +13739,7 @@ void Ifc4x3_add2::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId void Ifc4x3_add2::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x3_add2::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[912]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[912]); } void Ifc4x3_add2::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -13747,7 +13747,7 @@ void Ifc4x3_add2::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, void Ifc4x3_add2::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x3_add2::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[913]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[913]); } void Ifc4x3_add2::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -13755,7 +13755,7 @@ void Ifc4x3_add2::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, : void Ifc4x3_add2::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x3_add2::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[914]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[914]); } void Ifc4x3_add2::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelAssociatesProfileDef @@ -13763,13 +13763,13 @@ void Ifc4x3_add2::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, void Ifc4x3_add2::IfcRelAssociatesProfileDef::setRelatingProfileDef(const ::Ifc4x3_add2::IfcProfileDef& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelAssociatesProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[915]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelAssociatesProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[915]); } void Ifc4x3_add2::IfcRelAssociatesProfileDef::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcProfileDef v6_RelatingProfileDef) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileDef)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x3_add2::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[917]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[917]); } void Ifc4x3_add2::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -13781,7 +13781,7 @@ void Ifc4x3_add2::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x3_add2 void Ifc4x3_add2::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x3_add2::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[918]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[918]); } void Ifc4x3_add2::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement v6_RelatingElement, ::Ifc4x3_add2::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -13790,13 +13790,13 @@ void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatingPriorities(const std::v std::vector< int > /*[0:?]*/ Ifc4x3_add2::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_add2::IfcConnectionTypeEnum::Value Ifc4x3_add2::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x3_add2::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_add2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_add2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_add2::IfcConnectionTypeEnum::Value Ifc4x3_add2::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x3_add2::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_add2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_add2::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_add2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[919]); } -void Ifc4x3_add2::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[919]); } +void Ifc4x3_add2::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_add2::IfcPort Ifc4x3_add2::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcPort>(); } @@ -13805,7 +13805,7 @@ void Ifc4x3_add2::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x3_ad void Ifc4x3_add2::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x3_add2::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[921]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[921]); } void Ifc4x3_add2::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPort v5_RelatingPort, ::Ifc4x3_add2::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -13817,7 +13817,7 @@ void Ifc4x3_add2::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x3_add2::IfcPo void Ifc4x3_add2::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x3_add2::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[920]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[920]); } void Ifc4x3_add2::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPort v5_RelatingPort, ::Ifc4x3_add2::IfcPort v6_RelatedPort, ::Ifc4x3_add2::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -13827,7 +13827,7 @@ void Ifc4x3_add2::IfcRelConnectsStructuralActivity::setRelatingElement(const ::I void Ifc4x3_add2::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x3_add2::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[922]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[922]); } void Ifc4x3_add2::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_add2::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -13845,7 +13845,7 @@ void Ifc4x3_add2::IfcRelConnectsStructuralMember::setSupportedLength(const std:: void Ifc4x3_add2::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x3_add2::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[923]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[923]); } void Ifc4x3_add2::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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, std::optional< double > v9_SupportedLength, ::Ifc4x3_add2::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -13853,7 +13853,7 @@ void Ifc4x3_add2::IfcRelConnectsStructuralMember::initialize(std::string v1_Glob void Ifc4x3_add2::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x3_add2::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[924]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[924]); } void Ifc4x3_add2::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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, std::optional< double > v9_SupportedLength, ::Ifc4x3_add2::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_add2::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -13863,7 +13863,7 @@ std::optional< std::string > Ifc4x3_add2::IfcRelConnectsWithRealizingElements::C void Ifc4x3_add2::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[925]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[925]); } void Ifc4x3_add2::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement v6_RelatingElement, ::Ifc4x3_add2::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_add2::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -13873,7 +13873,7 @@ void Ifc4x3_add2::IfcRelContainedInSpatialStructure::setRelatedElements(const st void Ifc4x3_add2::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_add2::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[926]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[926]); } void Ifc4x3_add2::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcProduct > v5_RelatedElements, ::Ifc4x3_add2::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -13883,7 +13883,7 @@ std::vector< ::Ifc4x3_add2::IfcCovering > Ifc4x3_add2::IfcRelCoversBldgElements: void Ifc4x3_add2::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x3_add2::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[927]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[927]); } void Ifc4x3_add2::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_add2::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -13893,7 +13893,7 @@ std::vector< ::Ifc4x3_add2::IfcCovering > Ifc4x3_add2::IfcRelCoversSpaces::Relat void Ifc4x3_add2::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x3_add2::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[928]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[928]); } void Ifc4x3_add2::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_add2::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -13903,19 +13903,19 @@ std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > Ifc4x3_add2::IfcRelDeclares::R void Ifc4x3_add2::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x3_add2::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[929]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[929]); } void Ifc4x3_add2::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x3_add2::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[930]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[930]); } void Ifc4x3_add2::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x3_add2::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[931]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[931]); } void Ifc4x3_add2::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -13925,7 +13925,7 @@ void Ifc4x3_add2::IfcRelDefinesByObject::setRelatedObjects(const std::vector< :: void Ifc4x3_add2::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x3_add2::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[932]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[932]); } void Ifc4x3_add2::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObject > v5_RelatedObjects, ::Ifc4x3_add2::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -13935,7 +13935,7 @@ void Ifc4x3_add2::IfcRelDefinesByProperties::setRelatedObjects(const std::vector void Ifc4x3_add2::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x3_add2::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[933]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[933]); } void Ifc4x3_add2::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_add2::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -13945,7 +13945,7 @@ void Ifc4x3_add2::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vec void Ifc4x3_add2::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x3_add2::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[934]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[934]); } void Ifc4x3_add2::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_add2::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -13955,7 +13955,7 @@ void Ifc4x3_add2::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::If void Ifc4x3_add2::IfcRelDefinesByType::setRelatingType(const ::Ifc4x3_add2::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[935]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[935]); } void Ifc4x3_add2::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObject > v5_RelatedObjects, ::Ifc4x3_add2::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -13965,7 +13965,7 @@ void Ifc4x3_add2::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x3_a void Ifc4x3_add2::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x3_add2::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[936]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[936]); } void Ifc4x3_add2::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_add2::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -13975,7 +13975,7 @@ void Ifc4x3_add2::IfcRelFlowControlElements::setRelatedControlElements(const std void Ifc4x3_add2::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x3_add2::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[937]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[937]); } void Ifc4x3_add2::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_add2::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -13993,7 +13993,7 @@ void Ifc4x3_add2::IfcRelInterferesElements::setImpliedOrder(const boost::logic:: void Ifc4x3_add2::IfcRelInterferesElements::setInterferenceSpace(const ::Ifc4x3_add2::IfcSpatialZone& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[938]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[938]); } void Ifc4x3_add2::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_add2::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_add2::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder, ::Ifc4x3_add2::IfcSpatialZone v10_InterferenceSpace) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder));set_attribute_value(9, (v10_InterferenceSpace)); } // Function implementations for IfcRelNests @@ -14003,7 +14003,7 @@ std::vector< ::Ifc4x3_add2::IfcObjectDefinition > Ifc4x3_add2::IfcRelNests::Rela void Ifc4x3_add2::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x3_add2::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[939]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[939]); } void Ifc4x3_add2::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelPositions @@ -14013,7 +14013,7 @@ std::vector< ::Ifc4x3_add2::IfcProduct > Ifc4x3_add2::IfcRelPositions::RelatedPr void Ifc4x3_add2::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x3_add2::IfcProduct >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[940]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[940]); } void Ifc4x3_add2::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_add2::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector(v6_RelatedProducts)); } // Function implementations for IfcRelProjectsElement @@ -14023,7 +14023,7 @@ void Ifc4x3_add2::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x3_add2: void Ifc4x3_add2::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x3_add2::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[941]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[941]); } void Ifc4x3_add2::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement v5_RelatingElement, ::Ifc4x3_add2::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -14033,7 +14033,7 @@ void Ifc4x3_add2::IfcRelReferencedInSpatialStructure::setRelatedElements(const s void Ifc4x3_add2::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_add2::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[942]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[942]); } void Ifc4x3_add2::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_add2::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -14044,13 +14044,13 @@ void Ifc4x3_add2::IfcRelSequence::setRelatedProcess(const ::Ifc4x3_add2::IfcProc ::Ifc4x3_add2::IfcLagTime Ifc4x3_add2::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add2::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add2::IfcLagTime>(); } void Ifc4x3_add2::IfcRelSequence::setTimeLag(const ::Ifc4x3_add2::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_add2::IfcSequenceEnum::Value > Ifc4x3_add2::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_add2::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_add2::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_add2::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_add2::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[943]); } -void Ifc4x3_add2::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcProcess v5_RelatingProcess, ::Ifc4x3_add2::IfcProcess v6_RelatedProcess, ::Ifc4x3_add2::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_add2::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[943]); } +void Ifc4x3_add2::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcProcess v5_RelatingProcess, ::Ifc4x3_add2::IfcProcess v6_RelatedProcess, ::Ifc4x3_add2::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_add2::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x3_add2::IfcSystem Ifc4x3_add2::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcSystem>(); } @@ -14059,7 +14059,7 @@ std::vector< ::Ifc4x3_add2::IfcSpatialElement > Ifc4x3_add2::IfcRelServicesBuild void Ifc4x3_add2::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x3_add2::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[944]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[944]); } void Ifc4x3_add2::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_add2::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -14070,31 +14070,31 @@ void Ifc4x3_add2::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x3_ ::Ifc4x3_add2::IfcConnectionGeometry Ifc4x3_add2::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add2::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add2::IfcConnectionGeometry>(); } void Ifc4x3_add2::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x3_add2::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value Ifc4x3_add2::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add2::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value Ifc4x3_add2::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x3_add2::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add2::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[945]); } -void Ifc4x3_add2::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[945]); } +void Ifc4x3_add2::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel> Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[946], 9)); } +std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel> Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[946], 9)); } -const IfcParse::entity& Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[946]); } -void Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[946]); } +void Ifc4x3_add2::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel> Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[947], 10)); } +std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel> Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[947], 10)); } -const IfcParse::entity& Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[947]); } -void Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));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));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[947]); } +void Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x3_add2::IfcElement Ifc4x3_add2::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcElement>(); } @@ -14103,13 +14103,13 @@ void Ifc4x3_add2::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x3_ void Ifc4x3_add2::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x3_add2::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[948]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[948]); } void Ifc4x3_add2::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_add2::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x3_add2::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[916]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[916]); } void Ifc4x3_add2::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -14117,8 +14117,8 @@ double Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::ParamLength() const void Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[949]); } -void Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve v3_ParentCurve, double v4_ParamLength) { 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));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[949]); } +void Ifc4x3_add2::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x3_add2::IfcRepresentationContext Ifc4x3_add2::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcRepresentationContext>(); } @@ -14130,11 +14130,11 @@ void Ifc4x3_add2::IfcRepresentation::setRepresentationType(const std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationItem > Ifc4x3_add2::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_add2::IfcRepresentationItem>(es); } void Ifc4x3_add2::IfcRepresentation::setItems(const std::vector< ::Ifc4x3_add2::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_add2::IfcRepresentationMap> Ifc4x3_add2::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[953], 1)); } -std::vector<::Ifc4x3_add2::IfcPresentationLayerAssignment> Ifc4x3_add2::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[791], 2)); } -std::vector<::Ifc4x3_add2::IfcProductRepresentation> Ifc4x3_add2::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[802], 2)); } +std::vector<::Ifc4x3_add2::IfcRepresentationMap> Ifc4x3_add2::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[953], 1)); } +std::vector<::Ifc4x3_add2::IfcPresentationLayerAssignment> Ifc4x3_add2::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[791], 2)); } +std::vector<::Ifc4x3_add2::IfcProductRepresentation> Ifc4x3_add2::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[802], 2)); } -const IfcParse::entity& Ifc4x3_add2::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[950]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[950]); } void Ifc4x3_add2::IfcRepresentation::initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -14143,17 +14143,17 @@ void Ifc4x3_add2::IfcRepresentationContext::setContextIdentifier(const std::opti std::optional< std::string > Ifc4x3_add2::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_add2::IfcRepresentation> Ifc4x3_add2::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[950], 0)); } +std::vector<::Ifc4x3_add2::IfcRepresentation> Ifc4x3_add2::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[950], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[951]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[951]); } void Ifc4x3_add2::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x3_add2::IfcPresentationLayerAssignment> Ifc4x3_add2::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[791], 2)); } -std::vector<::Ifc4x3_add2::IfcStyledItem> Ifc4x3_add2::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1117], 0)); } +std::vector<::Ifc4x3_add2::IfcPresentationLayerAssignment> Ifc4x3_add2::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[791], 2)); } +std::vector<::Ifc4x3_add2::IfcStyledItem> Ifc4x3_add2::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1117], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[952]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[952]); } void Ifc4x3_add2::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -14162,10 +14162,10 @@ void Ifc4x3_add2::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x3_add2::If ::Ifc4x3_add2::IfcRepresentation Ifc4x3_add2::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcRepresentation>(); } void Ifc4x3_add2::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x3_add2::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_add2::IfcShapeAspect> Ifc4x3_add2::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1006], 4)); } -std::vector<::Ifc4x3_add2::IfcMappedItem> Ifc4x3_add2::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[628], 0)); } +std::vector<::Ifc4x3_add2::IfcShapeAspect> Ifc4x3_add2::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1006], 4)); } +std::vector<::Ifc4x3_add2::IfcMappedItem> Ifc4x3_add2::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[628], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[953]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[953]); } void Ifc4x3_add2::IfcRepresentationMap::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_add2::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -14174,9 +14174,9 @@ void Ifc4x3_add2::IfcResource::setIdentification(const std::optional< std::strin std::optional< std::string > Ifc4x3_add2::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_add2::IfcRelAssignsToResource> Ifc4x3_add2::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[907], 6)); } +std::vector<::Ifc4x3_add2::IfcRelAssignsToResource> Ifc4x3_add2::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[907], 6)); } -const IfcParse::entity& Ifc4x3_add2::IfcResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[954]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[954]); } void Ifc4x3_add2::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -14186,7 +14186,7 @@ void Ifc4x3_add2::IfcResourceApprovalRelationship::setRelatedResourceObjects(con void Ifc4x3_add2::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x3_add2::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[955]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[955]); } void Ifc4x3_add2::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_add2::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -14196,7 +14196,7 @@ std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > Ifc4x3_add2::IfcResourceCo void Ifc4x3_add2::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[956]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[956]); } void Ifc4x3_add2::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -14206,7 +14206,7 @@ std::optional< std::string > Ifc4x3_add2::IfcResourceLevelRelationship::Descript void Ifc4x3_add2::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add2::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[957]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[957]); } void Ifc4x3_add2::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -14242,8 +14242,8 @@ std::optional< double > Ifc4x3_add2::IfcResourceTime::Completion() const { if(ge void Ifc4x3_add2::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_add2::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[960]); } -void Ifc4x3_add2::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[960]); } +void Ifc4x3_add2::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x3_add2::IfcAxis1Placement Ifc4x3_add2::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcAxis1Placement>(); } @@ -14252,7 +14252,7 @@ double Ifc4x3_add2::IfcRevolvedAreaSolid::Angle() const { double v = get_attrib void Ifc4x3_add2::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[961]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[961]); } void Ifc4x3_add2::IfcRevolvedAreaSolid::initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -14260,7 +14260,7 @@ void Ifc4x3_add2::IfcRevolvedAreaSolid::initialize(::Ifc4x3_add2::IfcProfileDef void Ifc4x3_add2::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_add2::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[962]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[962]); } void Ifc4x3_add2::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_add2::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -14270,7 +14270,7 @@ double Ifc4x3_add2::IfcRightCircularCone::BottomRadius() const { double v = get void Ifc4x3_add2::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[963]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[963]); } void Ifc4x3_add2::IfcRightCircularCone::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -14280,7 +14280,7 @@ double Ifc4x3_add2::IfcRightCircularCylinder::Radius() const { double v = get_a void Ifc4x3_add2::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[964]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[964]); } void Ifc4x3_add2::IfcRightCircularCylinder::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRigidOperation @@ -14292,40 +14292,40 @@ std::optional< double > Ifc4x3_add2::IfcRigidOperation::Height() const { if(get_ void Ifc4x3_add2::IfcRigidOperation::setHeight(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcRigidOperation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[965]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRigidOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[965]); } void Ifc4x3_add2::IfcRigidOperation::initialize(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_TargetCRS, ::Ifc4x3_add2::IfcMeasureValue v3_FirstCoordinate, ::Ifc4x3_add2::IfcMeasureValue v4_SecondCoordinate, std::optional< double > v5_Height) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));set_attribute_value(2, (v3_FirstCoordinate));set_attribute_value(3, (v4_SecondCoordinate)); if (v5_Height) {set_attribute_value(4, (*v5_Height)); } } // Function implementations for IfcRoad std::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value > Ifc4x3_add2::IfcRoad::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcRoadTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcRoad::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[966]); } -void Ifc4x3_add2::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRoad::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[966]); } +void Ifc4x3_add2::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRoadPart std::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value > Ifc4x3_add2::IfcRoadPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcRoadPartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcRoadPart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcRoadPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcRoadPart::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcRoadPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcRoadPart::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[967]); } -void Ifc4x3_add2::IfcRoadPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRoadPart::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[967]); } +void Ifc4x3_add2::IfcRoadPart::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcRoof std::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value > Ifc4x3_add2::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[971]); } -void Ifc4x3_add2::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[971]); } +void Ifc4x3_add2::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x3_add2::IfcRoofTypeEnum::Value Ifc4x3_add2::IfcRoofType::PredefinedType() const { return ::Ifc4x3_add2::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcRoofType::setPredefinedType(const ::Ifc4x3_add2::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcRoofType::setPredefinedType(const ::Ifc4x3_add2::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[972]); } -void Ifc4x3_add2::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[972]); } +void Ifc4x3_add2::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x3_add2::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -14338,7 +14338,7 @@ std::optional< std::string > Ifc4x3_add2::IfcRoot::Description() const { if(get_ void Ifc4x3_add2::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[974]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[974]); } void Ifc4x3_add2::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -14346,52 +14346,52 @@ double Ifc4x3_add2::IfcRoundedRectangleProfileDef::RoundingRadius() const { dou void Ifc4x3_add2::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[979]); } -void Ifc4x3_add2::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { 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));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[979]); } +void Ifc4x3_add2::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x3_add2::IfcSIPrefix::Value > Ifc4x3_add2::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x3_add2::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_add2::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_add2::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_add2::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_add2::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_add2::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x3_add2::IfcSIUnitName::Value Ifc4x3_add2::IfcSIUnit::Name() const { return ::Ifc4x3_add2::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x3_add2::IfcSIUnit::setName(const ::Ifc4x3_add2::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_add2::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_add2::IfcSIUnit::setName(const ::Ifc4x3_add2::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_add2::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1025]); } -void Ifc4x3_add2::IfcSIUnit::initialize(::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_add2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_add2::IfcSIUnitName::Value v4_Name) { 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1025]); } +void Ifc4x3_add2::IfcSIUnit::initialize(::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_add2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_add2::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3_add2::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3_add2::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[980]); } -void Ifc4x3_add2::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[980]); } +void Ifc4x3_add2::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_add2::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[981]); } -void Ifc4x3_add2::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[981]); } +void Ifc4x3_add2::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x3_add2::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_add2::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > Ifc4x3_add2::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_add2::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x3_add2::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_add2::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[983]); } -void Ifc4x3_add2::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[983]); } +void Ifc4x3_add2::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x3_add2::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[984]); } -void Ifc4x3_add2::IfcSeamCurve::initialize(::Ifc4x3_add2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[984]); } +void Ifc4x3_add2::IfcSeamCurve::initialize(::Ifc4x3_add2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSecondOrderPolynomialSpiral double Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::QuadraticTerm() const { double v = get_attribute_value(1); return v; } @@ -14402,20 +14402,20 @@ std::optional< double > Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::ConstantTer void Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[985]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[985]); } void Ifc4x3_add2::IfcSecondOrderPolynomialSpiral::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_QuadraticTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSectionProperties ::Ifc4x3_add2::IfcSectionTypeEnum::Value Ifc4x3_add2::IfcSectionProperties::SectionType() const { return ::Ifc4x3_add2::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_add2::IfcSectionProperties::setSectionType(const ::Ifc4x3_add2::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add2::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add2::IfcSectionProperties::setSectionType(const ::Ifc4x3_add2::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add2::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_add2::IfcProfileDef Ifc4x3_add2::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcProfileDef>(); } void Ifc4x3_add2::IfcSectionProperties::setStartProfile(const ::Ifc4x3_add2::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add2::IfcProfileDef Ifc4x3_add2::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_add2::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcProfileDef>(); } void Ifc4x3_add2::IfcSectionProperties::setEndProfile(const ::Ifc4x3_add2::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[992]); } -void Ifc4x3_add2::IfcSectionProperties::initialize(::Ifc4x3_add2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_add2::IfcProfileDef v2_StartProfile, ::Ifc4x3_add2::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[992]); } +void Ifc4x3_add2::IfcSectionProperties::initialize(::Ifc4x3_add2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_add2::IfcProfileDef v2_StartProfile, ::Ifc4x3_add2::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x3_add2::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -14425,15 +14425,15 @@ void Ifc4x3_add2::IfcSectionReinforcementProperties::setLongitudinalEndPosition( std::optional< double > Ifc4x3_add2::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_add2::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value Ifc4x3_add2::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x3_add2::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_add2::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_add2::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_add2::IfcSectionProperties Ifc4x3_add2::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcSectionProperties>(); } void Ifc4x3_add2::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x3_add2::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x3_add2::IfcReinforcementBarProperties > Ifc4x3_add2::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_add2::IfcReinforcementBarProperties>(es); } void Ifc4x3_add2::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_add2::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[993]); } -void Ifc4x3_add2::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_add2::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_add2::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[993]); } +void Ifc4x3_add2::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_add2::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_add2::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x3_add2::IfcCurve Ifc4x3_add2::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcCurve>(); } @@ -14442,7 +14442,7 @@ std::vector< ::Ifc4x3_add2::IfcProfileDef > Ifc4x3_add2::IfcSectionedSolid::Cros void Ifc4x3_add2::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x3_add2::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[987]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[987]); } void Ifc4x3_add2::IfcSectionedSolid::initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add2::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -14450,7 +14450,7 @@ std::vector< ::Ifc4x3_add2::IfcAxis2PlacementLinear > Ifc4x3_add2::IfcSectionedS void Ifc4x3_add2::IfcSectionedSolidHorizontal::setCrossSectionPositions(const std::vector< ::Ifc4x3_add2::IfcAxis2PlacementLinear >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[988]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[988]); } void Ifc4x3_add2::IfcSectionedSolidHorizontal::initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_add2::IfcAxis2PlacementLinear > v3_CrossSectionPositions) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSpine @@ -14462,7 +14462,7 @@ std::vector< ::Ifc4x3_add2::IfcAxis2Placement3D > Ifc4x3_add2::IfcSectionedSpine void Ifc4x3_add2::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x3_add2::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[989]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[989]); } void Ifc4x3_add2::IfcSectionedSpine::initialize(::Ifc4x3_add2::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_add2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_add2::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSurface @@ -14474,17 +14474,17 @@ std::vector< ::Ifc4x3_add2::IfcProfileDef > Ifc4x3_add2::IfcSectionedSurface::Cr void Ifc4x3_add2::IfcSectionedSurface::setCrossSections(const std::vector< ::Ifc4x3_add2::IfcProfileDef >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcSectionedSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[990]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSectionedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[990]); } void Ifc4x3_add2::IfcSectionedSurface::initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add2::IfcAxis2PlacementLinear > v2_CrossSectionPositions, std::vector< ::Ifc4x3_add2::IfcProfileDef > v3_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSectionPositions));set_attribute_value(2, cast_vector(v3_CrossSections)); } // Function implementations for IfcSegment ::Ifc4x3_add2::IfcTransitionCode::Value Ifc4x3_add2::IfcSegment::Transition() const { return ::Ifc4x3_add2::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x3_add2::IfcSegment::setTransition(const ::Ifc4x3_add2::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_add2::IfcSegment::setTransition(const ::Ifc4x3_add2::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_add2::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add2::IfcCompositeCurve> Ifc4x3_add2::IfcSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[192], 0)); } +std::vector<::Ifc4x3_add2::IfcCompositeCurve> Ifc4x3_add2::IfcSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[192], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcSegment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[995]); } -void Ifc4x3_add2::IfcSegment::initialize(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[995]); } +void Ifc4x3_add2::IfcSegment::initialize(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcTransitionCode::Class(),(size_t)v1_Transition))); } // Function implementations for IfcSegmentedReferenceCurve ::Ifc4x3_add2::IfcBoundedCurve Ifc4x3_add2::IfcSegmentedReferenceCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcBoundedCurve>(); } @@ -14493,24 +14493,24 @@ void Ifc4x3_add2::IfcSegmentedReferenceCurve::setBaseCurve(const ::Ifc4x3_add2:: void Ifc4x3_add2::IfcSegmentedReferenceCurve::setEndPoint(const ::Ifc4x3_add2::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcSegmentedReferenceCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[996]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSegmentedReferenceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[996]); } void Ifc4x3_add2::IfcSegmentedReferenceCurve::initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add2::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_add2::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcSensor std::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value > Ifc4x3_add2::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[998]); } -void Ifc4x3_add2::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[998]); } +void Ifc4x3_add2::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x3_add2::IfcSensorTypeEnum::Value Ifc4x3_add2::IfcSensorType::PredefinedType() const { return ::Ifc4x3_add2::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSensorType::setPredefinedType(const ::Ifc4x3_add2::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSensorType::setPredefinedType(const ::Ifc4x3_add2::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[999]); } -void Ifc4x3_add2::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[999]); } +void Ifc4x3_add2::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSeventhOrderPolynomialSpiral double Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::SepticTerm() const { double v = get_attribute_value(1); return v; } @@ -14531,24 +14531,24 @@ std::optional< double > Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::ConstantTe void Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1002]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1002]); } void Ifc4x3_add2::IfcSeventhOrderPolynomialSpiral::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value > Ifc4x3_add2::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1003]); } -void Ifc4x3_add2::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1003]); } +void Ifc4x3_add2::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value Ifc4x3_add2::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1004]); } -void Ifc4x3_add2::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1004]); } +void Ifc4x3_add2::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x3_add2::IfcShapeModel > Ifc4x3_add2::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcShapeModel>(es); } @@ -14562,22 +14562,22 @@ void Ifc4x3_add2::IfcShapeAspect::setProductDefinitional(const boost::logic::tri ::Ifc4x3_add2::IfcProductRepresentationSelect Ifc4x3_add2::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_add2::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_add2::IfcProductRepresentationSelect>(); } void Ifc4x3_add2::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x3_add2::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1006]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1006]); } void Ifc4x3_add2::IfcShapeAspect::initialize(std::vector< ::Ifc4x3_add2::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_add2::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x3_add2::IfcShapeAspect> Ifc4x3_add2::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1006], 0)); } +std::vector<::Ifc4x3_add2::IfcShapeAspect> Ifc4x3_add2::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1006], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1007]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1007]); } void Ifc4x3_add2::IfcShapeModel::initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x3_add2::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1008]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1008]); } void Ifc4x3_add2::IfcShapeRepresentation::initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -14585,50 +14585,50 @@ std::vector< ::Ifc4x3_add2::IfcShell > Ifc4x3_add2::IfcShellBasedSurfaceModel::S void Ifc4x3_add2::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x3_add2::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1011]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1011]); } void Ifc4x3_add2::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_add2::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSign std::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value > Ifc4x3_add2::IfcSign::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSignTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSign::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1012]); } -void Ifc4x3_add2::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSign::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1012]); } +void Ifc4x3_add2::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignType ::Ifc4x3_add2::IfcSignTypeEnum::Value Ifc4x3_add2::IfcSignType::PredefinedType() const { return ::Ifc4x3_add2::IfcSignTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSignType::setPredefinedType(const ::Ifc4x3_add2::IfcSignTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSignType::setPredefinedType(const ::Ifc4x3_add2::IfcSignTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcSignType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1016]); } -void Ifc4x3_add2::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSignType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1016]); } +void Ifc4x3_add2::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSignal std::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value > Ifc4x3_add2::IfcSignal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSignalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSignal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1013]); } -void Ifc4x3_add2::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSignal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1013]); } +void Ifc4x3_add2::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignalType ::Ifc4x3_add2::IfcSignalTypeEnum::Value Ifc4x3_add2::IfcSignalType::PredefinedType() const { return ::Ifc4x3_add2::IfcSignalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSignalType::setPredefinedType(const ::Ifc4x3_add2::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSignalType::setPredefinedType(const ::Ifc4x3_add2::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcSignalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1014]); } -void Ifc4x3_add2::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSignalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1014]); } +void Ifc4x3_add2::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x3_add2::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1018]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1018]); } void Ifc4x3_add2::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3_add2::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add2::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_add2::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_add2::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_add2::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -14642,11 +14642,11 @@ void Ifc4x3_add2::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x3_add std::optional< std::string > Ifc4x3_add2::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > Ifc4x3_add2::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_add2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_add2::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_add2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_add2::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1019]); } -void Ifc4x3_add2::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_add2::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_add2::IfcUnit v9_PrimaryUnit, ::Ifc4x3_add2::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1019]); } +void Ifc4x3_add2::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_add2::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_add2::IfcUnit v9_PrimaryUnit, ::Ifc4x3_add2::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSineSpiral double Ifc4x3_add2::IfcSineSpiral::SineTerm() const { double v = get_attribute_value(1); return v; } @@ -14657,7 +14657,7 @@ std::optional< double > Ifc4x3_add2::IfcSineSpiral::ConstantTerm() const { if(ge void Ifc4x3_add2::IfcSineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcSineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1022]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1022]); } void Ifc4x3_add2::IfcSineSpiral::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SineTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSite @@ -14673,24 +14673,24 @@ void Ifc4x3_add2::IfcSite::setLandTitleNumber(const std::optional< std::string > void Ifc4x3_add2::IfcSite::setSiteAddress(const ::Ifc4x3_add2::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_add2::IfcSite::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1024]); } -void Ifc4x3_add2::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_add2::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1024]); } +void Ifc4x3_add2::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_add2::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value > Ifc4x3_add2::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1028]); } -void Ifc4x3_add2::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1028]); } +void Ifc4x3_add2::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x3_add2::IfcSlabTypeEnum::Value Ifc4x3_add2::IfcSlabType::PredefinedType() const { return ::Ifc4x3_add2::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSlabType::setPredefinedType(const ::Ifc4x3_add2::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSlabType::setPredefinedType(const ::Ifc4x3_add2::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1029]); } -void Ifc4x3_add2::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1029]); } +void Ifc4x3_add2::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x3_add2::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -14701,80 +14701,80 @@ std::optional< double > Ifc4x3_add2::IfcSlippageConnectionCondition::SlippageZ() void Ifc4x3_add2::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1031]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1031]); } void Ifc4x3_add2::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value > Ifc4x3_add2::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1032]); } -void Ifc4x3_add2::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1032]); } +void Ifc4x3_add2::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value Ifc4x3_add2::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1033]); } -void Ifc4x3_add2::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1033]); } +void Ifc4x3_add2::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x3_add2::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1036]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1036]); } void Ifc4x3_add2::IfcSolidModel::initialize() { } // Function implementations for IfcSpace std::optional< ::Ifc4x3_add2::IfcSpaceTypeEnum::Value > Ifc4x3_add2::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_add2::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x3_add2::IfcRelCoversSpaces> Ifc4x3_add2::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[928], 4)); } -std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary> Ifc4x3_add2::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[945], 4)); } +std::vector<::Ifc4x3_add2::IfcRelCoversSpaces> Ifc4x3_add2::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[928], 4)); } +std::vector<::Ifc4x3_add2::IfcRelSpaceBoundary> Ifc4x3_add2::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[945], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1042]); } -void Ifc4x3_add2::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1042]); } +void Ifc4x3_add2::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value > Ifc4x3_add2::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1044]); } -void Ifc4x3_add2::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1044]); } +void Ifc4x3_add2::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value Ifc4x3_add2::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1045]); } -void Ifc4x3_add2::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1045]); } +void Ifc4x3_add2::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x3_add2::IfcSpaceTypeEnum::Value Ifc4x3_add2::IfcSpaceType::PredefinedType() const { return ::Ifc4x3_add2::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSpaceType::setPredefinedType(const ::Ifc4x3_add2::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSpaceType::setPredefinedType(const ::Ifc4x3_add2::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_add2::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1047]); } -void Ifc4x3_add2::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1047]); } +void Ifc4x3_add2::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x3_add2::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add2::IfcRelContainedInSpatialStructure> Ifc4x3_add2::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[926], 5)); } -std::vector<::Ifc4x3_add2::IfcRelServicesBuildings> Ifc4x3_add2::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[944], 5)); } -std::vector<::Ifc4x3_add2::IfcRelReferencedInSpatialStructure> Ifc4x3_add2::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[942], 5)); } -std::vector<::Ifc4x3_add2::IfcRelInterferesElements> Ifc4x3_add2::IfcSpatialElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[938], 5)); } -std::vector<::Ifc4x3_add2::IfcRelInterferesElements> Ifc4x3_add2::IfcSpatialElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[938], 4)); } +std::vector<::Ifc4x3_add2::IfcRelContainedInSpatialStructure> Ifc4x3_add2::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[926], 5)); } +std::vector<::Ifc4x3_add2::IfcRelServicesBuildings> Ifc4x3_add2::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[944], 5)); } +std::vector<::Ifc4x3_add2::IfcRelReferencedInSpatialStructure> Ifc4x3_add2::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[942], 5)); } +std::vector<::Ifc4x3_add2::IfcRelInterferesElements> Ifc4x3_add2::IfcSpatialElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[938], 5)); } +std::vector<::Ifc4x3_add2::IfcRelInterferesElements> Ifc4x3_add2::IfcSpatialElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[938], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1049]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1049]); } void Ifc4x3_add2::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -14782,47 +14782,47 @@ std::optional< std::string > Ifc4x3_add2::IfcSpatialElementType::ElementType() c void Ifc4x3_add2::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1050]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1050]); } void Ifc4x3_add2::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > Ifc4x3_add2::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1052]); } -void Ifc4x3_add2::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1052]); } +void Ifc4x3_add2::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x3_add2::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1053]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1053]); } void Ifc4x3_add2::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value > Ifc4x3_add2::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1054]); } -void Ifc4x3_add2::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1054]); } +void Ifc4x3_add2::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value Ifc4x3_add2::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_add2::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1055]); } -void Ifc4x3_add2::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1055]); } +void Ifc4x3_add2::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x3_add2::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_add2::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1061]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1061]); } void Ifc4x3_add2::IfcSphere::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -14830,7 +14830,7 @@ double Ifc4x3_add2::IfcSphericalSurface::Radius() const { double v = get_attrib void Ifc4x3_add2::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1062]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1062]); } void Ifc4x3_add2::IfcSphericalSurface::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSpiral @@ -14838,32 +14838,32 @@ void Ifc4x3_add2::IfcSphericalSurface::initialize(::Ifc4x3_add2::IfcAxis2Placeme void Ifc4x3_add2::IfcSpiral::setPosition(const ::Ifc4x3_add2::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1063]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1063]); } void Ifc4x3_add2::IfcSpiral::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value > Ifc4x3_add2::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1064]); } -void Ifc4x3_add2::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1064]); } +void Ifc4x3_add2::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value Ifc4x3_add2::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1065]); } -void Ifc4x3_add2::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1065]); } +void Ifc4x3_add2::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value > Ifc4x3_add2::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcStair::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1067]); } -void Ifc4x3_add2::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1067]); } +void Ifc4x3_add2::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x3_add2::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -14875,50 +14875,50 @@ void Ifc4x3_add2::IfcStairFlight::setRiserHeight(const std::optional< double >& std::optional< double > Ifc4x3_add2::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_add2::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value > Ifc4x3_add2::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_add2::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_add2::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add2::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1068]); } -void Ifc4x3_add2::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1068]); } +void Ifc4x3_add2::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value Ifc4x3_add2::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_add2::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1069]); } -void Ifc4x3_add2::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1069]); } +void Ifc4x3_add2::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x3_add2::IfcStairTypeEnum::Value Ifc4x3_add2::IfcStairType::PredefinedType() const { return ::Ifc4x3_add2::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcStairType::setPredefinedType(const ::Ifc4x3_add2::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcStairType::setPredefinedType(const ::Ifc4x3_add2::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1071]); } -void Ifc4x3_add2::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1071]); } +void Ifc4x3_add2::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x3_add2::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1075]); } -void Ifc4x3_add2::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1075]); } +void Ifc4x3_add2::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x3_add2::IfcStructuralLoad Ifc4x3_add2::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add2::IfcStructuralLoad>(); } void Ifc4x3_add2::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x3_add2::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value Ifc4x3_add2::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x3_add2::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add2::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_add2::IfcRelConnectsStructuralActivity> Ifc4x3_add2::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[922], 5)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsStructuralActivity> Ifc4x3_add2::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[922], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1076]); } -void Ifc4x3_add2::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1076]); } +void Ifc4x3_add2::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value Ifc4x3_add2::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add2::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_add2::IfcAxis2Placement3D Ifc4x3_add2::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add2::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add2::IfcAxis2Placement3D>(); } void Ifc4x3_add2::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x3_add2::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_add2::IfcStructuralLoadGroup > > Ifc4x3_add2::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add2::IfcStructuralLoadGroup>(es); } @@ -14929,16 +14929,16 @@ void Ifc4x3_add2::IfcStructuralAnalysisModel::setHasResults(const std::optional< void Ifc4x3_add2::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x3_add2::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1078]); } -void Ifc4x3_add2::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_add2::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_add2::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_add2::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1078]); } +void Ifc4x3_add2::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_add2::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_add2::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_add2::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x3_add2::IfcBoundaryCondition Ifc4x3_add2::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_add2::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add2::IfcBoundaryCondition>(); } void Ifc4x3_add2::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x3_add2::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_add2::IfcRelConnectsStructuralMember> Ifc4x3_add2::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[923], 5)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsStructuralMember> Ifc4x3_add2::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[923], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1079]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1079]); } void Ifc4x3_add2::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -14946,70 +14946,70 @@ std::optional< std::string > Ifc4x3_add2::IfcStructuralConnectionCondition::Name void Ifc4x3_add2::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1080]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1080]); } void Ifc4x3_add2::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_add2::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_add2::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add2::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1081]); } -void Ifc4x3_add2::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1081]); } +void Ifc4x3_add2::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x3_add2::IfcDirection Ifc4x3_add2::IfcStructuralCurveConnection::AxisDirection() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add2::IfcDirection>(); } void Ifc4x3_add2::IfcStructuralCurveConnection::setAxisDirection(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1083]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1083]); } void Ifc4x3_add2::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_AxisDirection)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_add2::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add2::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add2::IfcDirection Ifc4x3_add2::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add2::IfcDirection>(); } void Ifc4x3_add2::IfcStructuralCurveMember::setAxis(const ::Ifc4x3_add2::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1084]); } -void Ifc4x3_add2::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1084]); } +void Ifc4x3_add2::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1086]); } -void Ifc4x3_add2::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1086]); } +void Ifc4x3_add2::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_add2::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1087]); } -void Ifc4x3_add2::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1087]); } +void Ifc4x3_add2::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x3_add2::IfcRelConnectsStructuralActivity> Ifc4x3_add2::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[922], 4)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsStructuralActivity> Ifc4x3_add2::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[922], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1088]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1088]); } void Ifc4x3_add2::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1089]); } -void Ifc4x3_add2::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1089]); } +void Ifc4x3_add2::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x3_add2::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_add2::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1090]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1090]); } void Ifc4x3_add2::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -15017,8 +15017,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x3_add2::IfcStructuralLoadC void Ifc4x3_add2::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1091]); } -void Ifc4x3_add2::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1091]); } +void Ifc4x3_add2::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_add2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x3_add2::IfcStructuralLoadOrResult > Ifc4x3_add2::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add2::IfcStructuralLoadOrResult>(es); } @@ -15027,26 +15027,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_add2::IfcStructural void Ifc4x3_add2::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1092]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1092]); } void Ifc4x3_add2::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add2::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value Ifc4x3_add2::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3_add2::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add2::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_add2::IfcActionTypeEnum::Value Ifc4x3_add2::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x3_add2::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_add2::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_add2::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x3_add2::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x3_add2::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_add2::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x3_add2::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value Ifc4x3_add2::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x3_add2::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add2::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_add2::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_add2::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_add2::IfcStructuralResultGroup> Ifc4x3_add2::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1109], 6)); } -std::vector<::Ifc4x3_add2::IfcStructuralAnalysisModel> Ifc4x3_add2::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1078], 7)); } +std::vector<::Ifc4x3_add2::IfcStructuralResultGroup> Ifc4x3_add2::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1109], 6)); } +std::vector<::Ifc4x3_add2::IfcStructuralAnalysisModel> Ifc4x3_add2::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1078], 7)); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1093]); } -void Ifc4x3_add2::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1093]); } +void Ifc4x3_add2::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_add2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::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)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x3_add2::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -15063,13 +15063,13 @@ std::optional< double > Ifc4x3_add2::IfcStructuralLoadLinearForce::LinearMomentZ void Ifc4x3_add2::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1094]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1094]); } void Ifc4x3_add2::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1095]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1095]); } void Ifc4x3_add2::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -15081,7 +15081,7 @@ std::optional< double > Ifc4x3_add2::IfcStructuralLoadPlanarForce::PlanarForceZ( void Ifc4x3_add2::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1096]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1096]); } void Ifc4x3_add2::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -15099,7 +15099,7 @@ std::optional< double > Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::Rotati void Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1097]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1097]); } void Ifc4x3_add2::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -15107,7 +15107,7 @@ std::optional< double > Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistorti void Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1098]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1098]); } void Ifc4x3_add2::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -15125,7 +15125,7 @@ std::optional< double > Ifc4x3_add2::IfcStructuralLoadSingleForce::MomentZ() con void Ifc4x3_add2::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1099]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1099]); } void Ifc4x3_add2::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -15133,13 +15133,13 @@ std::optional< double > Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::Warpin void Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1100]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1100]); } void Ifc4x3_add2::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1101]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1101]); } void Ifc4x3_add2::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -15151,105 +15151,105 @@ std::optional< double > Ifc4x3_add2::IfcStructuralLoadTemperature::DeltaTZ() con void Ifc4x3_add2::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1102]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1102]); } void Ifc4x3_add2::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x3_add2::IfcRelConnectsStructuralMember> Ifc4x3_add2::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[923], 4)); } +std::vector<::Ifc4x3_add2::IfcRelConnectsStructuralMember> Ifc4x3_add2::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[923], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1103]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1103]); } void Ifc4x3_add2::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x3_add2::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1104]); } -void Ifc4x3_add2::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1104]); } +void Ifc4x3_add2::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x3_add2::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1105]); } -void Ifc4x3_add2::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1105]); } +void Ifc4x3_add2::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x3_add2::IfcAxis2Placement3D Ifc4x3_add2::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_add2::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_add2::IfcAxis2Placement3D>(); } void Ifc4x3_add2::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x3_add2::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1106]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1106]); } void Ifc4x3_add2::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x3_add2::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1107]); } -void Ifc4x3_add2::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1107]); } +void Ifc4x3_add2::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x3_add2::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1108]); } -void Ifc4x3_add2::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1108]); } +void Ifc4x3_add2::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_add2::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add2::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_add2::IfcStructuralLoadGroup Ifc4x3_add2::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_add2::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_add2::IfcStructuralLoadGroup>(); } void Ifc4x3_add2::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x3_add2::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x3_add2::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_add2::IfcStructuralAnalysisModel> Ifc4x3_add2::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1078], 8)); } +std::vector<::Ifc4x3_add2::IfcStructuralAnalysisModel> Ifc4x3_add2::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1078], 8)); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1109]); } -void Ifc4x3_add2::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_add2::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1109]); } +void Ifc4x3_add2::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_add2::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_add2::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_add2::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add2::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1110]); } -void Ifc4x3_add2::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1110]); } +void Ifc4x3_add2::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1112]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1112]); } void Ifc4x3_add2::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_add2::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_add2::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_add2::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_add2::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1113]); } -void Ifc4x3_add2::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1113]); } +void Ifc4x3_add2::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1115]); } -void Ifc4x3_add2::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1115]); } +void Ifc4x3_add2::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_add2::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1116]); } -void Ifc4x3_add2::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1116]); } +void Ifc4x3_add2::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x3_add2::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1119]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1119]); } void Ifc4x3_add2::IfcStyleModel::initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -15261,43 +15261,43 @@ std::optional< std::string > Ifc4x3_add2::IfcStyledItem::Name() const { if(get_a void Ifc4x3_add2::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1117]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1117]); } void Ifc4x3_add2::IfcStyledItem::initialize(::Ifc4x3_add2::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_add2::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x3_add2::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1118]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1118]); } void Ifc4x3_add2::IfcStyledRepresentation::initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value > Ifc4x3_add2::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1120]); } -void Ifc4x3_add2::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1120]); } +void Ifc4x3_add2::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value Ifc4x3_add2::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_add2::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_add2::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1121]); } -void Ifc4x3_add2::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1121]); } +void Ifc4x3_add2::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x3_add2::IfcEdge Ifc4x3_add2::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcEdge>(); } void Ifc4x3_add2::IfcSubedge::setParentEdge(const ::Ifc4x3_add2::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1123]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1123]); } void Ifc4x3_add2::IfcSubedge::initialize(::Ifc4x3_add2::IfcVertex v1_EdgeStart, ::Ifc4x3_add2::IfcVertex v2_EdgeEnd, ::Ifc4x3_add2::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x3_add2::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1124]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1124]); } void Ifc4x3_add2::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -15306,28 +15306,28 @@ void Ifc4x3_add2::IfcSurfaceCurve::setCurve3D(const ::Ifc4x3_add2::IfcCurve& v) std::vector< ::Ifc4x3_add2::IfcPcurve > Ifc4x3_add2::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_add2::IfcPcurve>(es); } void Ifc4x3_add2::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x3_add2::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_add2::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x3_add2::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add2::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1125]); } -void Ifc4x3_add2::IfcSurfaceCurve::initialize(::Ifc4x3_add2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1125]); } +void Ifc4x3_add2::IfcSurfaceCurve::initialize(::Ifc4x3_add2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x3_add2::IfcSurface Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_add2::IfcSurface>(); } void Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x3_add2::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1126]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1126]); } void Ifc4x3_add2::IfcSurfaceCurveSweptAreaSolid::initialize(::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) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3_add2::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add2::IfcRelAdheresToElement> Ifc4x3_add2::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[898], 5)); } +std::vector<::Ifc4x3_add2::IfcRelAdheresToElement> Ifc4x3_add2::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[898], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1127]); } -void Ifc4x3_add2::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1127]); } +void Ifc4x3_add2::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x3_add2::IfcDirection Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_add2::IfcDirection>(); } @@ -15336,7 +15336,7 @@ double Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get void Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1129]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1129]); } void Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -15344,7 +15344,7 @@ void Ifc4x3_add2::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_add2::IfcProf void Ifc4x3_add2::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x3_add2::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1130]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1130]); } void Ifc4x3_add2::IfcSurfaceOfRevolution::initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -15356,18 +15356,18 @@ std::optional< double > Ifc4x3_add2::IfcSurfaceReinforcementArea::ShearReinforce void Ifc4x3_add2::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1132]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1132]); } void Ifc4x3_add2::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x3_add2::IfcSurfaceSide::Value Ifc4x3_add2::IfcSurfaceStyle::Side() const { return ::Ifc4x3_add2::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x3_add2::IfcSurfaceStyle::setSide(const ::Ifc4x3_add2::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_add2::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_add2::IfcSurfaceStyle::setSide(const ::Ifc4x3_add2::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_add2::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x3_add2::IfcSurfaceStyleElementSelect > Ifc4x3_add2::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_add2::IfcSurfaceStyleElementSelect>(es); } void Ifc4x3_add2::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x3_add2::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1134]); } -void Ifc4x3_add2::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_add2::IfcSurfaceStyleElementSelect > v3_Styles) { 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, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1134]); } +void Ifc4x3_add2::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_add2::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x3_add2::IfcColourRgb Ifc4x3_add2::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcColourRgb>(); } @@ -15380,7 +15380,7 @@ void Ifc4x3_add2::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x3_ void Ifc4x3_add2::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x3_add2::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1136]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1136]); } void Ifc4x3_add2::IfcSurfaceStyleLighting::initialize(::Ifc4x3_add2::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_add2::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_add2::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_add2::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -15390,7 +15390,7 @@ std::optional< double > Ifc4x3_add2::IfcSurfaceStyleRefraction::DispersionFactor void Ifc4x3_add2::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1137]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1137]); } void Ifc4x3_add2::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -15407,11 +15407,11 @@ void Ifc4x3_add2::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x3_add ::Ifc4x3_add2::IfcSpecularHighlightSelect Ifc4x3_add2::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_add2::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add2::IfcSpecularHighlightSelect>(); } void Ifc4x3_add2::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x3_add2::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_add2::IfcReflectanceMethodEnum::Value Ifc4x3_add2::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x3_add2::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_add2::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_add2::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_add2::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1138]); } -void Ifc4x3_add2::IfcSurfaceStyleRendering::initialize(::Ifc4x3_add2::IfcColourRgb v1_SurfaceColour, std::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) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1138]); } +void Ifc4x3_add2::IfcSurfaceStyleRendering::initialize(::Ifc4x3_add2::IfcColourRgb v1_SurfaceColour, std::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) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x3_add2::IfcColourRgb Ifc4x3_add2::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcColourRgb>(); } @@ -15420,7 +15420,7 @@ std::optional< double > Ifc4x3_add2::IfcSurfaceStyleShading::Transparency() cons void Ifc4x3_add2::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1139]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1139]); } void Ifc4x3_add2::IfcSurfaceStyleShading::initialize(::Ifc4x3_add2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -15428,7 +15428,7 @@ std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > Ifc4x3_add2::IfcSurfaceStyleWith void Ifc4x3_add2::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x3_add2::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1140]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1140]); } void Ifc4x3_add2::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -15443,10 +15443,10 @@ void Ifc4x3_add2::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x3_add2::If std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add2::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_add2::IfcTextureCoordinate> Ifc4x3_add2::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1192], 0)); } -std::vector<::Ifc4x3_add2::IfcSurfaceStyleWithTextures> Ifc4x3_add2::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[1140], 0)); } +std::vector<::Ifc4x3_add2::IfcTextureCoordinate> Ifc4x3_add2::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1192], 0)); } +std::vector<::Ifc4x3_add2::IfcSurfaceStyleWithTextures> Ifc4x3_add2::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[1140], 0)); } -const IfcParse::entity& Ifc4x3_add2::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1141]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1141]); } void Ifc4x3_add2::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -15456,7 +15456,7 @@ void Ifc4x3_add2::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x3_add2::IfcProfil void Ifc4x3_add2::IfcSweptAreaSolid::setPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1142]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1142]); } void Ifc4x3_add2::IfcSweptAreaSolid::initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -15472,7 +15472,7 @@ std::optional< double > Ifc4x3_add2::IfcSweptDiskSolid::EndParam() const { if(ge void Ifc4x3_add2::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1143]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1143]); } void Ifc4x3_add2::IfcSweptDiskSolid::initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -15480,7 +15480,7 @@ std::optional< double > Ifc4x3_add2::IfcSweptDiskSolidPolygonal::FilletRadius() void Ifc4x3_add2::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add2::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1144]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1144]); } void Ifc4x3_add2::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -15490,48 +15490,48 @@ void Ifc4x3_add2::IfcSweptSurface::setSweptCurve(const ::Ifc4x3_add2::IfcProfile void Ifc4x3_add2::IfcSweptSurface::setPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1145]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1145]); } void Ifc4x3_add2::IfcSweptSurface::initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3_add2::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1146]); } -void Ifc4x3_add2::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1146]); } +void Ifc4x3_add2::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_add2::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1147]); } -void Ifc4x3_add2::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1147]); } +void Ifc4x3_add2::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x3_add2::IfcRelServicesBuildings> Ifc4x3_add2::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[944], 4)); } -std::vector<::Ifc4x3_add2::IfcRelReferencedInSpatialStructure> Ifc4x3_add2::IfcSystem::ServicesFacilities() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[942], 4)); } +std::vector<::Ifc4x3_add2::IfcRelServicesBuildings> Ifc4x3_add2::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[944], 4)); } +std::vector<::Ifc4x3_add2::IfcRelReferencedInSpatialStructure> Ifc4x3_add2::IfcSystem::ServicesFacilities() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[942], 4)); } -const IfcParse::entity& Ifc4x3_add2::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1149]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1149]); } void Ifc4x3_add2::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_add2::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1150]); } -void Ifc4x3_add2::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1150]); } +void Ifc4x3_add2::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_add2::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1151]); } -void Ifc4x3_add2::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1151]); } +void Ifc4x3_add2::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x3_add2::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -15554,8 +15554,8 @@ std::optional< double > Ifc4x3_add2::IfcTShapeProfileDef::FlangeSlope() const { void Ifc4x3_add2::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_add2::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1237]); } -void Ifc4x3_add2::IfcTShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { 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));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1237]); } +void Ifc4x3_add2::IfcTShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x3_add2::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -15566,7 +15566,7 @@ std::optional< std::vector< ::Ifc4x3_add2::IfcTableColumn > > Ifc4x3_add2::IfcTa void Ifc4x3_add2::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x3_add2::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcTable::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1153]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1153]); } void Ifc4x3_add2::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_add2::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_add2::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -15582,7 +15582,7 @@ void Ifc4x3_add2::IfcTableColumn::setUnit(const ::Ifc4x3_add2::IfcUnit& v) { set void Ifc4x3_add2::IfcTableColumn::setReferencePath(const ::Ifc4x3_add2::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1154]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1154]); } void Ifc4x3_add2::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_add2::IfcUnit v4_Unit, ::Ifc4x3_add2::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -15592,24 +15592,24 @@ std::optional< bool > Ifc4x3_add2::IfcTableRow::IsHeading() const { if(get_attri void Ifc4x3_add2::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_add2::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1155]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1155]); } void Ifc4x3_add2::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value > Ifc4x3_add2::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcTank::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1156]); } -void Ifc4x3_add2::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1156]); } +void Ifc4x3_add2::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x3_add2::IfcTankTypeEnum::Value Ifc4x3_add2::IfcTankType::PredefinedType() const { return ::Ifc4x3_add2::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTankType::setPredefinedType(const ::Ifc4x3_add2::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcTankType::setPredefinedType(const ::Ifc4x3_add2::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1157]); } -void Ifc4x3_add2::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1157]); } +void Ifc4x3_add2::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x3_add2::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -15623,15 +15623,15 @@ void Ifc4x3_add2::IfcTask::setPriority(const std::optional< int >& v) { if (v) { ::Ifc4x3_add2::IfcTaskTime Ifc4x3_add2::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_add2::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_add2::IfcTaskTime>(); } void Ifc4x3_add2::IfcTask::setTaskTime(const ::Ifc4x3_add2::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value > Ifc4x3_add2::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_add2::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_add2::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add2::IfcTask::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1159]); } -void Ifc4x3_add2::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_add2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1159]); } +void Ifc4x3_add2::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_add2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > Ifc4x3_add2::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_add2::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_add2::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_add2::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x3_add2::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_add2::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_add2::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -15666,26 +15666,26 @@ std::optional< double > Ifc4x3_add2::IfcTaskTime::Completion() const { if(get_at void Ifc4x3_add2::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_add2::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1161]); } -void Ifc4x3_add2::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1161]); } +void Ifc4x3_add2::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x3_add2::IfcRecurrencePattern Ifc4x3_add2::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x3_add2::IfcRecurrencePattern>(); } void Ifc4x3_add2::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x3_add2::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x3_add2::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1162]); } -void Ifc4x3_add2::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_add2::IfcRecurrencePattern v21_Recurrence) { 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1162]); } +void Ifc4x3_add2::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_add2::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::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)); } // Function implementations for IfcTaskType ::Ifc4x3_add2::IfcTaskTypeEnum::Value Ifc4x3_add2::IfcTaskType::PredefinedType() const { return ::Ifc4x3_add2::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTaskType::setPredefinedType(const ::Ifc4x3_add2::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcTaskType::setPredefinedType(const ::Ifc4x3_add2::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_add2::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_add2::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1163]); } -void Ifc4x3_add2::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1163]); } +void Ifc4x3_add2::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_add2::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add2::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -15702,12 +15702,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_add2::IfcTelecomAdd void Ifc4x3_add2::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1165]); } -void Ifc4x3_add2::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1165]); } +void Ifc4x3_add2::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value > Ifc4x3_add2::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_add2::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add2::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15724,44 +15724,44 @@ std::optional< double > Ifc4x3_add2::IfcTendon::MinCurvatureRadius() const { if( void Ifc4x3_add2::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_add2::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1168]); } -void Ifc4x3_add2::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1168]); } +void Ifc4x3_add2::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value > Ifc4x3_add2::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1169]); } -void Ifc4x3_add2::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1169]); } +void Ifc4x3_add2::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value Ifc4x3_add2::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1170]); } -void Ifc4x3_add2::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1170]); } +void Ifc4x3_add2::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduit std::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value > Ifc4x3_add2::IfcTendonConduit::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTendonConduit::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_add2::IfcTendonConduit::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1172]); } -void Ifc4x3_add2::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1172]); } +void Ifc4x3_add2::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonConduitType ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value Ifc4x3_add2::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3_add2::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1173]); } -void Ifc4x3_add2::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1173]); } +void Ifc4x3_add2::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x3_add2::IfcTendonTypeEnum::Value Ifc4x3_add2::IfcTendonType::PredefinedType() const { return ::Ifc4x3_add2::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTendonType::setPredefinedType(const ::Ifc4x3_add2::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcTendonType::setPredefinedType(const ::Ifc4x3_add2::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_add2::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_add2::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_add2::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15770,23 +15770,23 @@ std::optional< double > Ifc4x3_add2::IfcTendonType::SheathDiameter() const { if( void Ifc4x3_add2::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add2::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1175]); } -void Ifc4x3_add2::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1175]); } +void Ifc4x3_add2::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x3_add2::IfcCartesianPointList3D Ifc4x3_add2::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcCartesianPointList3D>(); } void Ifc4x3_add2::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x3_add2::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_add2::IfcIndexedColourMap> Ifc4x3_add2::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[542], 0)); } -std::vector<::Ifc4x3_add2::IfcIndexedTextureMap> Ifc4x3_add2::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[547], 1)); } +std::vector<::Ifc4x3_add2::IfcIndexedColourMap> Ifc4x3_add2::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[542], 0)); } +std::vector<::Ifc4x3_add2::IfcIndexedTextureMap> Ifc4x3_add2::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[547], 1)); } -const IfcParse::entity& Ifc4x3_add2::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1177]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1177]); } void Ifc4x3_add2::IfcTessellatedFaceSet::initialize(::Ifc4x3_add2::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x3_add2::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1178]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1178]); } void Ifc4x3_add2::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -15795,11 +15795,11 @@ void Ifc4x3_add2::IfcTextLiteral::setLiteral(const std::string& v) { set_attribu ::Ifc4x3_add2::IfcAxis2Placement Ifc4x3_add2::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcAxis2Placement>(); } void Ifc4x3_add2::IfcTextLiteral::setPlacement(const ::Ifc4x3_add2::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_add2::IfcTextPath::Value Ifc4x3_add2::IfcTextLiteral::Path() const { return ::Ifc4x3_add2::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x3_add2::IfcTextLiteral::setPath(const ::Ifc4x3_add2::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_add2::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_add2::IfcTextLiteral::setPath(const ::Ifc4x3_add2::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_add2::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1184]); } -void Ifc4x3_add2::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1184]); } +void Ifc4x3_add2::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x3_add2::IfcPlanarExtent Ifc4x3_add2::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add2::IfcPlanarExtent>(); } @@ -15808,8 +15808,8 @@ std::string Ifc4x3_add2::IfcTextLiteralWithExtent::BoxAlignment() const { std:: void Ifc4x3_add2::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1185]); } -void Ifc4x3_add2::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path, ::Ifc4x3_add2::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_add2::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1185]); } +void Ifc4x3_add2::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path, ::Ifc4x3_add2::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_add2::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x3_add2::IfcTextStyleForDefinedFont Ifc4x3_add2::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_add2::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcTextStyleForDefinedFont>(); } @@ -15822,7 +15822,7 @@ std::optional< bool > Ifc4x3_add2::IfcTextStyle::ModelOrDraughting() const { if( void Ifc4x3_add2::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1187]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1187]); } void Ifc4x3_add2::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_add2::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_add2::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -15838,7 +15838,7 @@ void Ifc4x3_add2::IfcTextStyleFontModel::setFontWeight(const std::optional< std: void Ifc4x3_add2::IfcTextStyleFontModel::setFontSize(const ::Ifc4x3_add2::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1188]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1188]); } void Ifc4x3_add2::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_add2::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -15848,7 +15848,7 @@ void Ifc4x3_add2::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x3_add2::Ifc void Ifc4x3_add2::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x3_add2::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1189]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1189]); } void Ifc4x3_add2::IfcTextStyleForDefinedFont::initialize(::Ifc4x3_add2::IfcColour v1_Colour, ::Ifc4x3_add2::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -15868,7 +15868,7 @@ void Ifc4x3_add2::IfcTextStyleTextModel::setTextTransform(const std::optional< s void Ifc4x3_add2::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x3_add2::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1190]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1190]); } void Ifc4x3_add2::IfcTextStyleTextModel::initialize(::Ifc4x3_add2::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_add2::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_add2::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_add2::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -15876,7 +15876,7 @@ std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > Ifc4x3_add2::IfcTextureCoordinat void Ifc4x3_add2::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x3_add2::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1192]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1192]); } void Ifc4x3_add2::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -15886,7 +15886,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x3_add2::IfcTextureCoordina void Ifc4x3_add2::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1193]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1193]); } void Ifc4x3_add2::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureCoordinateIndices @@ -15895,9 +15895,9 @@ void Ifc4x3_add2::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vecto ::Ifc4x3_add2::IfcIndexedPolygonalFace Ifc4x3_add2::IfcTextureCoordinateIndices::TexCoordsOf() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_add2::IfcIndexedPolygonalFace>(); } void Ifc4x3_add2::IfcTextureCoordinateIndices::setTexCoordsOf(const ::Ifc4x3_add2::IfcIndexedPolygonalFace& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_add2::IfcIndexedPolygonalTextureMap> Ifc4x3_add2::IfcTextureCoordinateIndices::ToTexMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[546], 3)); } +std::vector<::Ifc4x3_add2::IfcIndexedPolygonalTextureMap> Ifc4x3_add2::IfcTextureCoordinateIndices::ToTexMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[546], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinateIndices::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1194]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextureCoordinateIndices::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1194]); } void Ifc4x3_add2::IfcTextureCoordinateIndices::initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf)); } // Function implementations for IfcTextureCoordinateIndicesWithVoids @@ -15905,7 +15905,7 @@ std::vector< std::vector< int > > Ifc4x3_add2::IfcTextureCoordinateIndicesWithVo void Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1195]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1195]); } void Ifc4x3_add2::IfcTextureCoordinateIndicesWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));set_attribute_value(2, (v3_InnerTexCoordIndices)); } // Function implementations for IfcTextureMap @@ -15915,7 +15915,7 @@ void Ifc4x3_add2::IfcTextureMap::setVertices(const std::vector< ::Ifc4x3_add2::I void Ifc4x3_add2::IfcTextureMap::setMappedTo(const ::Ifc4x3_add2::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1196]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1196]); } void Ifc4x3_add2::IfcTextureMap::initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_add2::IfcTextureVertex > v2_Vertices, ::Ifc4x3_add2::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -15923,7 +15923,7 @@ std::vector< double > /*[2:2]*/ Ifc4x3_add2::IfcTextureVertex::Coordinates() con void Ifc4x3_add2::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1197]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1197]); } void Ifc4x3_add2::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -15931,7 +15931,7 @@ std::vector< std::vector< double > > Ifc4x3_add2::IfcTextureVertexList::TexCoord void Ifc4x3_add2::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1198]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1198]); } void Ifc4x3_add2::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcThirdOrderPolynomialSpiral @@ -15945,7 +15945,7 @@ std::optional< double > Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::ConstantTerm void Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1205]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1205]); } void Ifc4x3_add2::IfcThirdOrderPolynomialSpiral::initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcTimePeriod @@ -15955,7 +15955,7 @@ std::string Ifc4x3_add2::IfcTimePeriod::EndTime() const { std::string v = get_a void Ifc4x3_add2::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1209]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1209]); } void Ifc4x3_add2::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -15968,37 +15968,37 @@ void Ifc4x3_add2::IfcTimeSeries::setStartTime(const std::string& v) { set_attrib std::string Ifc4x3_add2::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x3_add2::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_add2::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add2::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add2::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_add2::IfcDataOriginEnum::Value Ifc4x3_add2::IfcTimeSeries::DataOrigin() const { return ::Ifc4x3_add2::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_add2::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add2::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_add2::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x3_add2::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_add2::IfcUnit Ifc4x3_add2::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_add2::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_add2::IfcUnit>(); } void Ifc4x3_add2::IfcTimeSeries::setUnit(const ::Ifc4x3_add2::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } +std::vector<::Ifc4x3_add2::IfcExternalReferenceRelationship> Ifc4x3_add2::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[427], 3)); } -const IfcParse::entity& Ifc4x3_add2::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1210]); } -void Ifc4x3_add2::IfcTimeSeries::initialize(std::string v1_Name, std::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, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit v8_Unit) { 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1210]); } +void Ifc4x3_add2::IfcTimeSeries::initialize(std::string v1_Name, std::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, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x3_add2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x3_add2::IfcValue > Ifc4x3_add2::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcValue>(es); } void Ifc4x3_add2::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_add2::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1212]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1212]); } void Ifc4x3_add2::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x3_add2::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x3_add2::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1214]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1214]); } void Ifc4x3_add2::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x3_add2::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1215]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1215]); } void Ifc4x3_add2::IfcTopologyRepresentation::initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -16008,67 +16008,67 @@ double Ifc4x3_add2::IfcToroidalSurface::MinorRadius() const { double v = get_at void Ifc4x3_add2::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_add2::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1216]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1216]); } void Ifc4x3_add2::IfcToroidalSurface::initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTrackElement std::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value > Ifc4x3_add2::IfcTrackElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTrackElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcTrackElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1218]); } -void Ifc4x3_add2::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTrackElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1218]); } +void Ifc4x3_add2::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTrackElementType ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value Ifc4x3_add2::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcTrackElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcTrackElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1219]); } -void Ifc4x3_add2::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTrackElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1219]); } +void Ifc4x3_add2::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransformer std::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value > Ifc4x3_add2::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1221]); } -void Ifc4x3_add2::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1221]); } +void Ifc4x3_add2::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x3_add2::IfcTransformerTypeEnum::Value Ifc4x3_add2::IfcTransformerType::PredefinedType() const { return ::Ifc4x3_add2::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTransformerType::setPredefinedType(const ::Ifc4x3_add2::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcTransformerType::setPredefinedType(const ::Ifc4x3_add2::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1222]); } -void Ifc4x3_add2::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1222]); } +void Ifc4x3_add2::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportElement std::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value > Ifc4x3_add2::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTransportElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1228]); } -void Ifc4x3_add2::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1228]); } +void Ifc4x3_add2::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransportElementType ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value Ifc4x3_add2::IfcTransportElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcTransportElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1229]); } -void Ifc4x3_add2::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1229]); } +void Ifc4x3_add2::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportationDevice -const IfcParse::entity& Ifc4x3_add2::IfcTransportationDevice::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1226]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTransportationDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1226]); } void Ifc4x3_add2::IfcTransportationDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTransportationDeviceType -const IfcParse::entity& Ifc4x3_add2::IfcTransportationDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1227]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTransportationDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1227]); } void Ifc4x3_add2::IfcTransportationDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcTrapeziumProfileDef @@ -16082,8 +16082,8 @@ double Ifc4x3_add2::IfcTrapeziumProfileDef::TopXOffset() const { double v = get void Ifc4x3_add2::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_add2::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1231]); } -void Ifc4x3_add2::IfcTrapeziumProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { 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));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1231]); } +void Ifc4x3_add2::IfcTrapeziumProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x3_add2::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -16096,7 +16096,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_add2::IfcTriangulatedFaceSe void Ifc4x3_add2::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_add2::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1232]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1232]); } void Ifc4x3_add2::IfcTriangulatedFaceSet::initialize(::Ifc4x3_add2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -16104,7 +16104,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_add2::IfcTriangulatedIrregularNetwork::Flags void Ifc4x3_add2::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_add2::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1233]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1233]); } void Ifc4x3_add2::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x3_add2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); 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)); } // Function implementations for IfcTrimmedCurve @@ -16117,27 +16117,27 @@ void Ifc4x3_add2::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x3_add2::If bool Ifc4x3_add2::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x3_add2::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_add2::IfcTrimmingPreference::Value Ifc4x3_add2::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x3_add2::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x3_add2::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_add2::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add2::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add2::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_add2::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add2::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_add2::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1234]); } -void Ifc4x3_add2::IfcTrimmedCurve::initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add2::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_add2::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_add2::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_add2::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1234]); } +void Ifc4x3_add2::IfcTrimmedCurve::initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add2::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_add2::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_add2::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_add2::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value > Ifc4x3_add2::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1238]); } -void Ifc4x3_add2::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1238]); } +void Ifc4x3_add2::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value Ifc4x3_add2::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3_add2::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1239]); } -void Ifc4x3_add2::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1239]); } +void Ifc4x3_add2::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x3_add2::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -16145,9 +16145,9 @@ void Ifc4x3_add2::IfcTypeObject::setApplicableOccurrence(const std::optional< st std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > Ifc4x3_add2::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_add2::IfcPropertySetDefinition>(es); } void Ifc4x3_add2::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_add2::IfcRelDefinesByType> Ifc4x3_add2::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[935], 5)); } +std::vector<::Ifc4x3_add2::IfcRelDefinesByType> Ifc4x3_add2::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[935], 5)); } -const IfcParse::entity& Ifc4x3_add2::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1241]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1241]); } void Ifc4x3_add2::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -16158,9 +16158,9 @@ void Ifc4x3_add2::IfcTypeProcess::setLongDescription(const std::optional< std::s std::optional< std::string > Ifc4x3_add2::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add2::IfcRelAssignsToProcess> Ifc4x3_add2::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[905], 6)); } +std::vector<::Ifc4x3_add2::IfcRelAssignsToProcess> Ifc4x3_add2::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[905], 6)); } -const IfcParse::entity& Ifc4x3_add2::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1242]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1242]); } void Ifc4x3_add2::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -16169,9 +16169,9 @@ void Ifc4x3_add2::IfcTypeProduct::setRepresentationMaps(const std::optional< std std::optional< std::string > Ifc4x3_add2::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_add2::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_add2::IfcRelAssignsToProduct> Ifc4x3_add2::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[906], 6)); } +std::vector<::Ifc4x3_add2::IfcRelAssignsToProduct> Ifc4x3_add2::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[906], 6)); } -const IfcParse::entity& Ifc4x3_add2::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1243]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1243]); } void Ifc4x3_add2::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -16182,9 +16182,9 @@ void Ifc4x3_add2::IfcTypeResource::setLongDescription(const std::optional< std:: std::optional< std::string > Ifc4x3_add2::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_add2::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_add2::IfcRelAssignsToResource> Ifc4x3_add2::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_ADD2_types[907], 6)); } +std::vector<::Ifc4x3_add2::IfcRelAssignsToResource> Ifc4x3_add2::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_ADD2_types[907], 6)); } -const IfcParse::entity& Ifc4x3_add2::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1244]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1244]); } void Ifc4x3_add2::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -16204,64 +16204,64 @@ std::optional< double > Ifc4x3_add2::IfcUShapeProfileDef::FlangeSlope() const { void Ifc4x3_add2::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_add2::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1255]); } -void Ifc4x3_add2::IfcUShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { 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));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1255]); } +void Ifc4x3_add2::IfcUShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x3_add2::IfcUnit > Ifc4x3_add2::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcUnit>(es); } void Ifc4x3_add2::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x3_add2::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1252]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1252]); } void Ifc4x3_add2::IfcUnitAssignment::initialize(std::vector< ::Ifc4x3_add2::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3_add2::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1246]); } -void Ifc4x3_add2::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1246]); } +void Ifc4x3_add2::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_add2::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1247]); } -void Ifc4x3_add2::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1247]); } +void Ifc4x3_add2::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3_add2::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1249]); } -void Ifc4x3_add2::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1249]); } +void Ifc4x3_add2::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_add2::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1250]); } -void Ifc4x3_add2::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1250]); } +void Ifc4x3_add2::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value > Ifc4x3_add2::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcValve::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1257]); } -void Ifc4x3_add2::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1257]); } +void Ifc4x3_add2::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x3_add2::IfcValveTypeEnum::Value Ifc4x3_add2::IfcValveType::PredefinedType() const { return ::Ifc4x3_add2::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcValveType::setPredefinedType(const ::Ifc4x3_add2::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcValveType::setPredefinedType(const ::Ifc4x3_add2::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1258]); } -void Ifc4x3_add2::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1258]); } +void Ifc4x3_add2::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x3_add2::IfcDirection Ifc4x3_add2::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_add2::IfcDirection>(); } @@ -16270,29 +16270,29 @@ double Ifc4x3_add2::IfcVector::Magnitude() const { double v = get_attribute_val void Ifc4x3_add2::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcVector::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1261]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1261]); } void Ifc4x3_add2::IfcVector::initialize(::Ifc4x3_add2::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVehicle std::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value > Ifc4x3_add2::IfcVehicle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcVehicleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcVehicle::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcVehicle::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcVehicle::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1263]); } -void Ifc4x3_add2::IfcVehicle::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcVehicle::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1263]); } +void Ifc4x3_add2::IfcVehicle::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVehicleType ::Ifc4x3_add2::IfcVehicleTypeEnum::Value Ifc4x3_add2::IfcVehicleType::PredefinedType() const { return ::Ifc4x3_add2::IfcVehicleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcVehicleType::setPredefinedType(const ::Ifc4x3_add2::IfcVehicleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcVehicleType::setPredefinedType(const ::Ifc4x3_add2::IfcVehicleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcVehicleType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1264]); } -void Ifc4x3_add2::IfcVehicleType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVehicleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcVehicleType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1264]); } +void Ifc4x3_add2::IfcVehicleType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVehicleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x3_add2::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1266]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1266]); } void Ifc4x3_add2::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -16300,7 +16300,7 @@ void Ifc4x3_add2::IfcVertex::initialize() { } void Ifc4x3_add2::IfcVertexLoop::setLoopVertex(const ::Ifc4x3_add2::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1267]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1267]); } void Ifc4x3_add2::IfcVertexLoop::initialize(::Ifc4x3_add2::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -16308,48 +16308,48 @@ void Ifc4x3_add2::IfcVertexLoop::initialize(::Ifc4x3_add2::IfcVertex v1_LoopVert void Ifc4x3_add2::IfcVertexPoint::setVertexGeometry(const ::Ifc4x3_add2::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_add2::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1268]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1268]); } void Ifc4x3_add2::IfcVertexPoint::initialize(::Ifc4x3_add2::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationDamper std::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value > Ifc4x3_add2::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1269]); } -void Ifc4x3_add2::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1269]); } +void Ifc4x3_add2::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationDamperType ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value Ifc4x3_add2::IfcVibrationDamperType::PredefinedType() const { return ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcVibrationDamperType::setPredefinedType(const ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcVibrationDamperType::setPredefinedType(const ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1270]); } -void Ifc4x3_add2::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1270]); } +void Ifc4x3_add2::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3_add2::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1272]); } -void Ifc4x3_add2::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1272]); } +void Ifc4x3_add2::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_add2::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1273]); } -void Ifc4x3_add2::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1273]); } +void Ifc4x3_add2::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement std::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value > Ifc4x3_add2::IfcVirtualElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcVirtualElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcVirtualElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcVirtualElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcVirtualElement::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcVirtualElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1275]); } -void Ifc4x3_add2::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1275]); } +void Ifc4x3_add2::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVirtualGridIntersection std::vector< ::Ifc4x3_add2::IfcGridAxis > Ifc4x3_add2::IfcVirtualGridIntersection::IntersectingAxes() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_add2::IfcGridAxis>(es); } @@ -16358,54 +16358,54 @@ std::vector< double > /*[2:3]*/ Ifc4x3_add2::IfcVirtualGridIntersection::OffsetD void Ifc4x3_add2::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1277]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1277]); } void Ifc4x3_add2::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x3_add2::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value > Ifc4x3_add2::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1278]); } -void Ifc4x3_add2::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1278]); } +void Ifc4x3_add2::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > Ifc4x3_add2::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcWall::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1282]); } -void Ifc4x3_add2::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1282]); } +void Ifc4x3_add2::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x3_add2::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1283]); } -void Ifc4x3_add2::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1283]); } +void Ifc4x3_add2::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x3_add2::IfcWallTypeEnum::Value Ifc4x3_add2::IfcWallType::PredefinedType() const { return ::Ifc4x3_add2::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcWallType::setPredefinedType(const ::Ifc4x3_add2::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcWallType::setPredefinedType(const ::Ifc4x3_add2::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1284]); } -void Ifc4x3_add2::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1284]); } +void Ifc4x3_add2::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value > Ifc4x3_add2::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1289]); } -void Ifc4x3_add2::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1289]); } +void Ifc4x3_add2::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value Ifc4x3_add2::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_add2::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1290]); } -void Ifc4x3_add2::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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))); } +const ifcopenshell::entity& Ifc4x3_add2::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1290]); } +void Ifc4x3_add2::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWellKnownText std::string Ifc4x3_add2::IfcWellKnownText::WellKnownText() const { std::string v = get_attribute_value(0); return v; } @@ -16414,7 +16414,7 @@ void Ifc4x3_add2::IfcWellKnownText::setWellKnownText(const std::string& v) { set void Ifc4x3_add2::IfcWellKnownText::setCoordinateReferenceSystem(const ::Ifc4x3_add2::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_add2::IfcWellKnownText::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1292]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcWellKnownText::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1292]); } void Ifc4x3_add2::IfcWellKnownText::initialize(std::string v1_WellKnownText, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_CoordinateReferenceSystem) { set_attribute_value(0, (v1_WellKnownText));set_attribute_value(1, (v2_CoordinateReferenceSystem)); } // Function implementations for IfcWindow @@ -16423,15 +16423,15 @@ void Ifc4x3_add2::IfcWindow::setOverallHeight(const std::optional< double >& v) std::optional< double > Ifc4x3_add2::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_add2::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_add2::IfcWindowTypeEnum::Value > Ifc4x3_add2::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_add2::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value > Ifc4x3_add2::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_add2::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_add2::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add2::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_add2::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add2::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1294]); } -void Ifc4x3_add2::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1294]); } +void Ifc4x3_add2::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x3_add2::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -16460,14 +16460,14 @@ std::optional< double > Ifc4x3_add2::IfcWindowLiningProperties::LiningToPanelOff void Ifc4x3_add2::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_add2::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1295]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1295]); } void Ifc4x3_add2::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_add2::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value Ifc4x3_add2::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3_add2::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_add2::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_add2::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_add2::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_add2::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value Ifc4x3_add2::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x3_add2::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_add2::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_add2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_add2::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_add2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_add2::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_add2::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_add2::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -16476,22 +16476,22 @@ void Ifc4x3_add2::IfcWindowPanelProperties::setFrameThickness(const std::optiona void Ifc4x3_add2::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x3_add2::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_add2::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1298]); } -void Ifc4x3_add2::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); } +const ifcopenshell::entity& Ifc4x3_add2::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1298]); } +void Ifc4x3_add2::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_add2::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::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)); } // Function implementations for IfcWindowType ::Ifc4x3_add2::IfcWindowTypeEnum::Value Ifc4x3_add2::IfcWindowType::PredefinedType() const { return ::Ifc4x3_add2::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_add2::IfcWindowType::setPredefinedType(const ::Ifc4x3_add2::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_add2::IfcWindowType::setPredefinedType(const ::Ifc4x3_add2::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value Ifc4x3_add2::IfcWindowType::PartitioningType() const { return ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_add2::IfcWindowType::setPartitioningType(const ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_add2::IfcWindowType::setPartitioningType(const ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_add2::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_add2::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_add2::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_add2::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add2::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1299]); } -void Ifc4x3_add2::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1299]); } +void Ifc4x3_add2::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_add2::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::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)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x3_add2::IfcWorkTime > > Ifc4x3_add2::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_add2::IfcWorkTime>(es); } @@ -16499,11 +16499,11 @@ void Ifc4x3_add2::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vec std::optional< std::vector< ::Ifc4x3_add2::IfcWorkTime > > Ifc4x3_add2::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_add2::IfcWorkTime>(es); } void Ifc4x3_add2::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x3_add2::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value > Ifc4x3_add2::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_add2::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_add2::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1302]); } -void Ifc4x3_add2::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_add2::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_add2::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1302]); } +void Ifc4x3_add2::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_add2::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_add2::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x3_add2::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -16522,24 +16522,24 @@ std::optional< std::string > Ifc4x3_add2::IfcWorkControl::FinishTime() const { i void Ifc4x3_add2::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_add2::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1304]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1304]); } void Ifc4x3_add2::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value > Ifc4x3_add2::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_add2::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_add2::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_add2::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_add2::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_add2::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1305]); } -void Ifc4x3_add2::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1305]); } +void Ifc4x3_add2::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_add2::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value > Ifc4x3_add2::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_add2::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_add2::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_add2::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1307]); } -void Ifc4x3_add2::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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))); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1307]); } +void Ifc4x3_add2::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x3_add2::IfcRecurrencePattern Ifc4x3_add2::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_add2::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_add2::IfcRecurrencePattern>(); } @@ -16550,8 +16550,8 @@ std::optional< std::string > Ifc4x3_add2::IfcWorkTime::FinishDate() const { if(g void Ifc4x3_add2::IfcWorkTime::setFinishDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add2::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1309]); } -void Ifc4x3_add2::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate) { 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)); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1309]); } +void Ifc4x3_add2::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_add2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x3_add2::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -16568,14 +16568,14 @@ std::optional< double > Ifc4x3_add2::IfcZShapeProfileDef::EdgeRadius() const { i void Ifc4x3_add2::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_add2::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1311]); } -void Ifc4x3_add2::IfcZShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { 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));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)); } } +const ifcopenshell::entity& Ifc4x3_add2::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1311]); } +void Ifc4x3_add2::IfcZShapeProfileDef::initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_add2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x3_add2::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_add2::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_add2::IfcZone::Class() { return *((IfcParse::entity*)IFC4X3_ADD2_types[1310]); } +const ifcopenshell::entity& Ifc4x3_add2::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X3_ADD2_types[1310]); } void Ifc4x3_add2::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x3_add2.h b/src/ifcparse/schemas/Ifc4x3_add2.h index 58074bbde7..a46a3dac9e 100644 --- a/src/ifcparse/schemas/Ifc4x3_add2.h +++ b/src/ifcparse/schemas/Ifc4x3_add2.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x3_add2 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -811,7 +811,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -833,7 +833,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -868,7 +868,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -913,7 +913,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -945,7 +945,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -969,7 +969,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -991,7 +991,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1013,7 +1013,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1038,7 +1038,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1062,7 +1062,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1094,7 +1094,7 @@ public: IfcCurveMeasureSelect() {} explicit IfcCurveMeasureSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -1114,7 +1114,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1147,7 +1147,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1171,7 +1171,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1197,7 +1197,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1290,7 +1290,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1731,7 +1731,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1756,7 +1756,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1804,7 +1804,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1837,7 +1837,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1859,7 +1859,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1879,7 +1879,7 @@ public: IfcInterferenceSelect() {} explicit IfcInterferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -1905,7 +1905,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1934,7 +1934,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -1975,7 +1975,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -2020,7 +2020,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2054,7 +2054,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2211,7 +2211,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2929,7 +2929,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2951,7 +2951,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2973,7 +2973,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2995,7 +2995,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3063,7 +3063,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3092,7 +3092,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3112,7 +3112,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3140,7 +3140,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3160,7 +3160,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3182,7 +3182,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3300,7 +3300,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3322,7 +3322,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3342,7 +3342,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3372,7 +3372,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3410,7 +3410,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3519,7 +3519,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3569,7 +3569,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3600,7 +3600,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3620,7 +3620,7 @@ public: IfcSpatialReferenceSelect() {} explicit IfcSpatialReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcGroup as() const { return express::Base::as(); } @@ -3649,7 +3649,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3677,7 +3677,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3705,7 +3705,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3739,7 +3739,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3783,7 +3783,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3804,7 +3804,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3826,7 +3826,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3850,7 +3850,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -3882,7 +3882,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -3917,7 +3917,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4604,7 +4604,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4626,7 +4626,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4654,13 +4654,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4673,13 +4673,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_BRAKES, IfcActionSourceType_BUOYANCY, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_CREEP, IfcActionSourceType_CURRENT, IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_ERECTION, IfcActionSourceType_FIRE, IfcActionSourceType_ICE, IfcActionSourceType_IMPACT, IfcActionSourceType_IMPULSE, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_PROPPING, IfcActionSourceType_RAIN, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_SNOW_S, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_TRANSPORT, IfcActionSourceType_WAVE, IfcActionSourceType_WIND_W, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4694,13 +4694,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_EXTRAORDINARY_A, IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4724,13 +4724,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4749,13 +4749,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_HOME, IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4774,13 +4774,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4801,13 +4801,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4831,13 +4831,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4859,13 +4859,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_RAILWAYCROCODILE, IfcAlarmType_RAILWAYDETONATOR, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4874,13 +4874,13 @@ public: class IFC_PARSE_API IfcAlignmentCantSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentCantSegmentTypeEnum() {} - explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentCantSegmentType_BLOSSCURVE, IfcAlignmentCantSegmentType_CONSTANTCANT, IfcAlignmentCantSegmentType_COSINECURVE, IfcAlignmentCantSegmentType_HELMERTCURVE, IfcAlignmentCantSegmentType_LINEARTRANSITION, IfcAlignmentCantSegmentType_SINECURVE, IfcAlignmentCantSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4889,13 +4889,13 @@ public: class IFC_PARSE_API IfcAlignmentHorizontalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentHorizontalSegmentTypeEnum() {} - explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentHorizontalSegmentType_BLOSSCURVE, IfcAlignmentHorizontalSegmentType_CIRCULARARC, IfcAlignmentHorizontalSegmentType_CLOTHOID, IfcAlignmentHorizontalSegmentType_COSINECURVE, IfcAlignmentHorizontalSegmentType_CUBIC, IfcAlignmentHorizontalSegmentType_HELMERTCURVE, IfcAlignmentHorizontalSegmentType_LINE, IfcAlignmentHorizontalSegmentType_SINECURVE, IfcAlignmentHorizontalSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4904,13 +4904,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4919,13 +4919,13 @@ public: class IFC_PARSE_API IfcAlignmentVerticalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentVerticalSegmentTypeEnum() {} - explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentVerticalSegmentType_CIRCULARARC, IfcAlignmentVerticalSegmentType_CLOTHOID, IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT, IfcAlignmentVerticalSegmentType_PARABOLICARC} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4939,13 +4939,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4960,13 +4960,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4975,13 +4975,13 @@ public: class IFC_PARSE_API IfcAnnotationTypeEnum : public express::DeclaredType { public: IfcAnnotationTypeEnum() {} - explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnnotationType_CONTOURLINE, IfcAnnotationType_DIMENSION, IfcAnnotationType_ISOBAR, IfcAnnotationType_ISOLUX, IfcAnnotationType_ISOTHERM, IfcAnnotationType_LEADER, IfcAnnotationType_SURVEY, IfcAnnotationType_SYMBOL, IfcAnnotationType_TEXT, IfcAnnotationType_USERDEFINED, IfcAnnotationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5001,13 +5001,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MODULO, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5027,13 +5027,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_SITE, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5055,13 +5055,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_COMMUNICATIONTERMINAL, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_RECORDINGEQUIPMENT, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5083,13 +5083,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5098,13 +5098,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5151,13 +5151,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_CORNICE, IfcBeamType_DIAPHRAGM, IfcBeamType_EDGEBEAM, IfcBeamType_GIRDER_SEGMENT, IfcBeamType_HATSTONE, IfcBeamType_HOLLOWCORE, IfcBeamType_JOIST, IfcBeamType_LINTEL, IfcBeamType_PIERCAP, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5166,13 +5166,13 @@ public: class IFC_PARSE_API IfcBearingTypeEnum : public express::DeclaredType { public: IfcBearingTypeEnum() {} - explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingType_CYLINDRICAL, IfcBearingType_DISK, IfcBearingType_ELASTOMERIC, IfcBearingType_GUIDE, IfcBearingType_POT, IfcBearingType_ROCKER, IfcBearingType_ROLLER, IfcBearingType_SPHERICAL, IfcBearingType_USERDEFINED, IfcBearingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5220,13 +5220,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_EQUALTO, IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_INCLUDEDIN, IfcBenchmark_INCLUDES, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_NOTINCLUDEDIN, IfcBenchmark_NOTINCLUDES} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5243,13 +5243,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_STEAM, IfcBoilerType_WATER, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5266,13 +5266,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_DIFFERENCE, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_UNION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5281,13 +5281,13 @@ public: class IFC_PARSE_API IfcBridgePartTypeEnum : public express::DeclaredType { public: IfcBridgePartTypeEnum() {} - explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgePartType_ABUTMENT, IfcBridgePartType_DECK, IfcBridgePartType_DECK_SEGMENT, IfcBridgePartType_FOUNDATION, IfcBridgePartType_PIER, IfcBridgePartType_PIER_SEGMENT, IfcBridgePartType_PYLON, IfcBridgePartType_SUBSTRUCTURE, IfcBridgePartType_SUPERSTRUCTURE, IfcBridgePartType_SURFACESTRUCTURE, IfcBridgePartType_USERDEFINED, IfcBridgePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5296,13 +5296,13 @@ public: class IFC_PARSE_API IfcBridgeTypeEnum : public express::DeclaredType { public: IfcBridgeTypeEnum() {} - explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgeType_ARCHED, IfcBridgeType_CABLE_STAYED, IfcBridgeType_CANTILEVER, IfcBridgeType_CULVERT, IfcBridgeType_FRAMEWORK, IfcBridgeType_GIRDER, IfcBridgeType_SUSPENSION, IfcBridgeType_TRUSS, IfcBridgeType_USERDEFINED, IfcBridgeType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5318,13 +5318,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_APRON, IfcBuildingElementPartType_ARMOURUNIT, IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_SAFETYCAGE, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5343,13 +5343,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5371,13 +5371,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5386,13 +5386,13 @@ public: class IFC_PARSE_API IfcBuiltSystemTypeEnum : public express::DeclaredType { public: IfcBuiltSystemTypeEnum() {} - explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuiltSystemType_EROSIONPREVENTION, IfcBuiltSystemType_FENESTRATION, IfcBuiltSystemType_FOUNDATION, IfcBuiltSystemType_LOADBEARING, IfcBuiltSystemType_MOORING, IfcBuiltSystemType_OUTERSHELL, IfcBuiltSystemType_PRESTRESSING, IfcBuiltSystemType_RAILWAYLINE, IfcBuiltSystemType_RAILWAYTRACK, IfcBuiltSystemType_REINFORCING, IfcBuiltSystemType_SHADING, IfcBuiltSystemType_TRACKCIRCUIT, IfcBuiltSystemType_TRANSPORT, IfcBuiltSystemType_USERDEFINED, IfcBuiltSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5407,13 +5407,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5431,13 +5431,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CONNECTOR, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_JUNCTION, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_TRANSITION, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5455,13 +5455,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLEBRACKET, IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CATENARYWIRE, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_DROPPER, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5480,13 +5480,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_FANOUT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5506,13 +5506,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CONTACTWIRESEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_FIBERSEGMENT, IfcCableSegmentType_FIBERTUBE, IfcCableSegmentType_OPTICALCABLESEGMENT, IfcCableSegmentType_STITCHWIRE, IfcCableSegmentType_WIREPAIRSEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5521,13 +5521,13 @@ public: class IFC_PARSE_API IfcCaissonFoundationTypeEnum : public express::DeclaredType { public: IfcCaissonFoundationTypeEnum() {} - explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCaissonFoundationType_CAISSON, IfcCaissonFoundationType_WELL, IfcCaissonFoundationType_USERDEFINED, IfcCaissonFoundationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5546,13 +5546,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_MODIFIED, IfcChangeAction_NOCHANGE, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5570,13 +5570,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_WATERCOOLED, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5594,13 +5594,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5630,13 +5630,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5658,13 +5658,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PIERSTEM, IfcColumnType_PIERSTEM_SEGMENT, IfcColumnType_PILASTER, IfcColumnType_STANDCOLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5688,13 +5688,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_AUTOMATON, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_INTELLIGENTPERIPHERAL, IfcCommunicationsApplianceType_IPNETWORKEQUIPMENT, IfcCommunicationsApplianceType_LINESIDEELECTRONICUNIT, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_OPTICALLINETERMINAL, IfcCommunicationsApplianceType_OPTICALNETWORKUNIT, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_RADIOBLOCKCENTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_TELECOMMAND, IfcCommunicationsApplianceType_TELEPHONYEXCHANGE, IfcCommunicationsApplianceType_TRANSITIONCOMPONENT, IfcCommunicationsApplianceType_TRANSPONDER, IfcCommunicationsApplianceType_TRANSPORTEQUIPMENT, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5710,13 +5710,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5746,13 +5746,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_BOOSTER, IfcCompressorType_DYNAMIC, IfcCompressorType_HERMETIC, IfcCompressorType_OPENTYPE, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARY, IfcCompressorType_ROTARYVANE, IfcCompressorType_SCROLL, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_SINGLESCREW, IfcCompressorType_SINGLESTAGE, IfcCompressorType_TROCHOIDAL, IfcCompressorType_TWINSCREW, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5773,13 +5773,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5807,13 +5807,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATEND, IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5838,13 +5838,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_ADVISORY, IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5866,13 +5866,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5895,13 +5895,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_USERDEFINED, IfcConstructionMaterialResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5917,13 +5917,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5945,13 +5945,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_MULTIPOSITION, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5960,13 +5960,13 @@ public: class IFC_PARSE_API IfcConveyorSegmentTypeEnum : public express::DeclaredType { public: IfcConveyorSegmentTypeEnum() {} - explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConveyorSegmentType_BELTCONVEYOR, IfcConveyorSegmentType_BUCKETCONVEYOR, IfcConveyorSegmentType_CHUTECONVEYOR, IfcConveyorSegmentType_SCREWCONVEYOR, IfcConveyorSegmentType_USERDEFINED, IfcConveyorSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5993,13 +5993,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6019,13 +6019,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6039,13 +6039,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6066,13 +6066,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_TENDER, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6081,13 +6081,13 @@ public: class IFC_PARSE_API IfcCourseTypeEnum : public express::DeclaredType { public: IfcCourseTypeEnum() {} - explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCourseType_ARMOUR, IfcCourseType_BALLASTBED, IfcCourseType_CORE, IfcCourseType_FILTER, IfcCourseType_PAVEMENT, IfcCourseType_PROTECTION, IfcCourseType_USERDEFINED, IfcCourseType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6138,13 +6138,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_CLADDING, IfcCoveringType_COPING, IfcCoveringType_FLOORING, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_MOLDING, IfcCoveringType_ROOFING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_SLEEVING, IfcCoveringType_TOPPING, IfcCoveringType_WRAPPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6160,13 +6160,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6183,13 +6183,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6214,13 +6214,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6245,13 +6245,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6267,13 +6267,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6338,13 +6338,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6360,13 +6360,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_NEGATIVE, IfcDirectionSense_POSITIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6383,13 +6383,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BIRDPROTECTION, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_CABLEARRANGER, IfcDiscreteAccessoryType_ELASTIC_CUSHION, IfcDiscreteAccessoryType_EXPANSION_JOINT_DEVICE, IfcDiscreteAccessoryType_FILLER, IfcDiscreteAccessoryType_FLASHING, IfcDiscreteAccessoryType_INSULATOR, IfcDiscreteAccessoryType_LOCK, IfcDiscreteAccessoryType_PANEL_STRENGTHENING, IfcDiscreteAccessoryType_POINTMACHINEMOUNTINGDEVICE, IfcDiscreteAccessoryType_POINT_MACHINE_LOCKING_DEVICE, IfcDiscreteAccessoryType_RAILBRACE, IfcDiscreteAccessoryType_RAILPAD, IfcDiscreteAccessoryType_RAIL_LUBRICATION, IfcDiscreteAccessoryType_RAIL_MECHANICAL_EQUIPMENT, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_SLIDINGCHAIR, IfcDiscreteAccessoryType_SOUNDABSORPTION, IfcDiscreteAccessoryType_TENSIONINGEQUIPMENT, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6398,13 +6398,13 @@ public: class IFC_PARSE_API IfcDistributionBoardTypeEnum : public express::DeclaredType { public: IfcDistributionBoardTypeEnum() {} - explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionBoardType_CONSUMERUNIT, IfcDistributionBoardType_DISPATCHINGBOARD, IfcDistributionBoardType_DISTRIBUTIONBOARD, IfcDistributionBoardType_DISTRIBUTIONFRAME, IfcDistributionBoardType_MOTORCONTROLCENTRE, IfcDistributionBoardType_SWITCHBOARD, IfcDistributionBoardType_USERDEFINED, IfcDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6428,13 +6428,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6443,13 +6443,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_WIRELESS, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6504,13 +6504,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CATENARY_SYSTEM, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FIXEDTRANSMISSIONNETWORK, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MOBILENETWORK, IfcDistributionSystem_MONITORINGSYSTEM, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_OPERATIONALTELEPHONYSYSTEM, IfcDistributionSystem_OVERHEAD_CONTACTLINE_SYSTEM, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_RETURN_CIRCUIT, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6530,13 +6530,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6547,13 +6547,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6594,13 +6594,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6615,13 +6615,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6645,13 +6645,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_BOOM_BARRIER, IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_TURNSTILE, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6839,13 +6839,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_FOLDING, IfcDoorTypeOperation_DOUBLE_DOOR_LIFTING_VERTICAL, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SLIDING, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_LIFTING_HORIZONTAL, IfcDoorTypeOperation_LIFTING_VERTICAL_LEFT, IfcDoorTypeOperation_LIFTING_VERTICAL_RIGHT, IfcDoorTypeOperation_REVOLVING, IfcDoorTypeOperation_REVOLVING_VERTICAL, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6886,13 +6886,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6915,13 +6915,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6939,13 +6939,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6954,13 +6954,13 @@ public: class IFC_PARSE_API IfcEarthworksCutTypeEnum : public express::DeclaredType { public: IfcEarthworksCutTypeEnum() {} - explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksCutType_BASE_EXCAVATION, IfcEarthworksCutType_CUT, IfcEarthworksCutType_DREDGING, IfcEarthworksCutType_EXCAVATION, IfcEarthworksCutType_OVEREXCAVATION, IfcEarthworksCutType_PAVEMENTMILLING, IfcEarthworksCutType_STEPEXCAVATION, IfcEarthworksCutType_TOPSOILREMOVAL, IfcEarthworksCutType_TRENCH, IfcEarthworksCutType_USERDEFINED, IfcEarthworksCutType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6969,13 +6969,13 @@ public: class IFC_PARSE_API IfcEarthworksFillTypeEnum : public express::DeclaredType { public: IfcEarthworksFillTypeEnum() {} - explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksFillType_BACKFILL, IfcEarthworksFillType_COUNTERWEIGHT, IfcEarthworksFillType_EMBANKMENT, IfcEarthworksFillType_SLOPEFILL, IfcEarthworksFillType_SUBGRADE, IfcEarthworksFillType_SUBGRADEBED, IfcEarthworksFillType_TRANSITIONSECTION, IfcEarthworksFillType_USERDEFINED, IfcEarthworksFillType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7012,13 +7012,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7036,13 +7036,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7060,13 +7060,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITOR, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_COMPENSATOR, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTOR, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_RECHARGER, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7075,13 +7075,13 @@ public: class IFC_PARSE_API IfcElectricFlowTreatmentDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowTreatmentDeviceTypeEnum() {} - explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowTreatmentDeviceType_ELECTRONICFILTER, IfcElectricFlowTreatmentDeviceType_USERDEFINED, IfcElectricFlowTreatmentDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7099,13 +7099,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7124,13 +7124,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7147,13 +7147,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7180,13 +7180,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ABUTMENT, IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_CROSS_BRACING, IfcElementAssemblyType_DECK, IfcElementAssemblyType_DILATATIONPANEL, IfcElementAssemblyType_ENTRANCEWORKS, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_GRID, IfcElementAssemblyType_MAST, IfcElementAssemblyType_PIER, IfcElementAssemblyType_PYLON, IfcElementAssemblyType_RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SHELTER, IfcElementAssemblyType_SIGNALASSEMBLY, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_SUMPBUSTER, IfcElementAssemblyType_SUPPORTINGASSEMBLY, IfcElementAssemblyType_SUSPENSIONASSEMBLY, IfcElementAssemblyType_TRACKPANEL, IfcElementAssemblyType_TRACTION_SWITCHING_ASSEMBLY, IfcElementAssemblyType_TRAFFIC_CALMING_DEVICE, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_TURNOUTPANEL, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7206,13 +7206,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7228,13 +7228,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7258,13 +7258,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7285,13 +7285,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7311,13 +7311,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7336,13 +7336,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_STARTEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7366,13 +7366,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7381,13 +7381,13 @@ public: class IFC_PARSE_API IfcFacilityPartCommonTypeEnum : public express::DeclaredType { public: IfcFacilityPartCommonTypeEnum() {} - explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityPartCommonType_ABOVEGROUND, IfcFacilityPartCommonType_BELOWGROUND, IfcFacilityPartCommonType_JUNCTION, IfcFacilityPartCommonType_LEVELCROSSING, IfcFacilityPartCommonType_SEGMENT, IfcFacilityPartCommonType_SUBSTRUCTURE, IfcFacilityPartCommonType_SUPERSTRUCTURE, IfcFacilityPartCommonType_TERMINAL, IfcFacilityPartCommonType_USERDEFINED, IfcFacilityPartCommonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7396,13 +7396,13 @@ public: class IFC_PARSE_API IfcFacilityUsageEnum : public express::DeclaredType { public: IfcFacilityUsageEnum() {} - explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityUsage_LATERAL, IfcFacilityUsage_LONGITUDINAL, IfcFacilityUsage_REGION, IfcFacilityUsage_VERTICAL, IfcFacilityUsage_USERDEFINED, IfcFacilityUsage_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7424,13 +7424,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7447,13 +7447,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7474,13 +7474,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7501,13 +7501,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_FIREMONITOR, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7523,13 +7523,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SINK, IfcFlowDirection_SOURCE, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7553,13 +7553,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_COMBINED, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_VOLTMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7582,13 +7582,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7610,13 +7610,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7637,13 +7637,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_BED, IfcFurnitureType_CHAIR, IfcFurnitureType_DESK, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_TABLE, IfcFurnitureType_TECHNICALCABINET, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7652,13 +7652,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_SOIL_BORING_POINT, IfcGeographicElementType_TERRAIN, IfcGeographicElementType_VEGETATION, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7707,13 +7707,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7722,13 +7722,13 @@ public: class IFC_PARSE_API IfcGeotechnicalStratumTypeEnum : public express::DeclaredType { public: IfcGeotechnicalStratumTypeEnum() {} - explicit IfcGeotechnicalStratumTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeotechnicalStratumTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeotechnicalStratumType_SOLID, IfcGeotechnicalStratumType_VOID, IfcGeotechnicalStratumType_WATER, IfcGeotechnicalStratumType_USERDEFINED, IfcGeotechnicalStratumType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7742,13 +7742,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7757,13 +7757,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_IRREGULAR, IfcGridType_RADIAL, IfcGridType_RECTANGULAR, IfcGridType_TRIANGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7780,13 +7780,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_TURNOUTHEATING, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7814,13 +7814,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7829,13 +7829,13 @@ public: class IFC_PARSE_API IfcImpactProtectionDeviceTypeEnum : public express::DeclaredType { public: IfcImpactProtectionDeviceTypeEnum() {} - explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcImpactProtectionDeviceType_BUMPER, IfcImpactProtectionDeviceType_CRASHCUSHION, IfcImpactProtectionDeviceType_DAMPINGSYSTEM, IfcImpactProtectionDeviceType_FENDER, IfcImpactProtectionDeviceType_USERDEFINED, IfcImpactProtectionDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7853,13 +7853,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7922,13 +7922,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7945,13 +7945,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7966,13 +7966,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7981,13 +7981,13 @@ public: class IFC_PARSE_API IfcKerbTypeEnum : public express::DeclaredType { public: IfcKerbTypeEnum() {} - explicit IfcKerbTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKerbTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKerbType_USERDEFINED, IfcKerbType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7996,13 +7996,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_UNIFORM_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8034,13 +8034,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8065,13 +8065,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8088,13 +8088,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8116,13 +8116,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8147,13 +8147,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8172,13 +8172,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8187,13 +8187,13 @@ public: class IFC_PARSE_API IfcLiquidTerminalTypeEnum : public express::DeclaredType { public: IfcLiquidTerminalTypeEnum() {} - explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLiquidTerminalType_HOSEREEL, IfcLiquidTerminalType_LOADINGARM, IfcLiquidTerminalType_USERDEFINED, IfcLiquidTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8222,13 +8222,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8480,13 +8480,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8495,13 +8495,13 @@ public: class IFC_PARSE_API IfcMarineFacilityTypeEnum : public express::DeclaredType { public: IfcMarineFacilityTypeEnum() {} - explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarineFacilityType_BARRIERBEACH, IfcMarineFacilityType_BREAKWATER, IfcMarineFacilityType_CANAL, IfcMarineFacilityType_DRYDOCK, IfcMarineFacilityType_FLOATINGDOCK, IfcMarineFacilityType_HYDROLIFT, IfcMarineFacilityType_JETTY, IfcMarineFacilityType_LAUNCHRECOVERY, IfcMarineFacilityType_MARINEDEFENCE, IfcMarineFacilityType_NAVIGATIONALCHANNEL, IfcMarineFacilityType_PORT, IfcMarineFacilityType_QUAY, IfcMarineFacilityType_REVETMENT, IfcMarineFacilityType_SHIPLIFT, IfcMarineFacilityType_SHIPLOCK, IfcMarineFacilityType_SHIPYARD, IfcMarineFacilityType_SLIPWAY, IfcMarineFacilityType_WATERWAY, IfcMarineFacilityType_WATERWAYSHIPLIFT, IfcMarineFacilityType_USERDEFINED, IfcMarineFacilityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8510,13 +8510,13 @@ public: class IFC_PARSE_API IfcMarinePartTypeEnum : public express::DeclaredType { public: IfcMarinePartTypeEnum() {} - explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarinePartType_ABOVEWATERLINE, IfcMarinePartType_ANCHORAGE, IfcMarinePartType_APPROACHCHANNEL, IfcMarinePartType_BELOWWATERLINE, IfcMarinePartType_BERTHINGSTRUCTURE, IfcMarinePartType_CHAMBER, IfcMarinePartType_CILL_LEVEL, IfcMarinePartType_COPELEVEL, IfcMarinePartType_CORE, IfcMarinePartType_CREST, IfcMarinePartType_GATEHEAD, IfcMarinePartType_GUDINGSTRUCTURE, IfcMarinePartType_HIGHWATERLINE, IfcMarinePartType_LANDFIELD, IfcMarinePartType_LEEWARDSIDE, IfcMarinePartType_LOWWATERLINE, IfcMarinePartType_MANUFACTURING, IfcMarinePartType_NAVIGATIONALAREA, IfcMarinePartType_PROTECTION, IfcMarinePartType_SHIPTRANSFER, IfcMarinePartType_STORAGEAREA, IfcMarinePartType_VEHICLESERVICING, IfcMarinePartType_WATERFIELD, IfcMarinePartType_WEATHERSIDE, IfcMarinePartType_USERDEFINED, IfcMarinePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8541,13 +8541,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_CHAIN, IfcMechanicalFastenerType_COUPLER, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RAILFASTENING, IfcMechanicalFastenerType_RAILJOINT, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_ROPE, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8568,13 +8568,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8625,13 +8625,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_ARCH_SEGMENT, IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STAY_CABLE, IfcMemberType_STIFFENING_RIB, IfcMemberType_STRINGER, IfcMemberType_STRUCTURALCABLE, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_SUSPENDER, IfcMemberType_SUSPENSION_CABLE, IfcMemberType_TIEBAR, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8640,13 +8640,13 @@ public: class IFC_PARSE_API IfcMobileTelecommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcMobileTelecommunicationsApplianceTypeEnum() {} - explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMobileTelecommunicationsApplianceType_ACCESSPOINT, IfcMobileTelecommunicationsApplianceType_BASEBANDUNIT, IfcMobileTelecommunicationsApplianceType_BASETRANSCEIVERSTATION, IfcMobileTelecommunicationsApplianceType_E_UTRAN_NODE_B, IfcMobileTelecommunicationsApplianceType_GATEWAY_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_MASTERUNIT, IfcMobileTelecommunicationsApplianceType_MOBILESWITCHINGCENTER, IfcMobileTelecommunicationsApplianceType_MSCSERVER, IfcMobileTelecommunicationsApplianceType_PACKETCONTROLUNIT, IfcMobileTelecommunicationsApplianceType_REMOTERADIOUNIT, IfcMobileTelecommunicationsApplianceType_REMOTEUNIT, IfcMobileTelecommunicationsApplianceType_SERVICE_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_SUBSCRIBERSERVER, IfcMobileTelecommunicationsApplianceType_USERDEFINED, IfcMobileTelecommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8655,13 +8655,13 @@ public: class IFC_PARSE_API IfcMooringDeviceTypeEnum : public express::DeclaredType { public: IfcMooringDeviceTypeEnum() {} - explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMooringDeviceType_BOLLARD, IfcMooringDeviceType_LINETENSIONER, IfcMooringDeviceType_MAGNETICDEVICE, IfcMooringDeviceType_MOORINGHOOKS, IfcMooringDeviceType_VACUUMDEVICE, IfcMooringDeviceType_USERDEFINED, IfcMooringDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8678,13 +8678,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8693,13 +8693,13 @@ public: class IFC_PARSE_API IfcNavigationElementTypeEnum : public express::DeclaredType { public: IfcNavigationElementTypeEnum() {} - explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNavigationElementType_BEACON, IfcNavigationElementType_BUOY, IfcNavigationElementType_USERDEFINED, IfcNavigationElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8736,13 +8736,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8763,13 +8763,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8797,13 +8797,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8824,13 +8824,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8839,13 +8839,13 @@ public: class IFC_PARSE_API IfcPavementTypeEnum : public express::DeclaredType { public: IfcPavementTypeEnum() {} - explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPavementType_FLEXIBLE, IfcPavementType_RIGID, IfcPavementType_USERDEFINED, IfcPavementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8859,13 +8859,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8895,13 +8895,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8918,13 +8918,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8955,13 +8955,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8991,13 +8991,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9018,13 +9018,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_COHESION, IfcPileType_DRIVEN, IfcPileType_FRICTION, IfcPileType_JETGROUTING, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9063,13 +9063,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9092,13 +9092,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9124,13 +9124,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_BASE_PLATE, IfcPlateType_COVER_PLATE, IfcPlateType_CURTAIN_PANEL, IfcPlateType_FLANGE_PLATE, IfcPlateType_GUSSET_PLATE, IfcPlateType_SHEET, IfcPlateType_SPLICE_PLATE, IfcPlateType_STIFFENER_PLATE, IfcPlateType_WEB_PLATE, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9139,13 +9139,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9167,13 +9167,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9189,13 +9189,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_AREA, IfcProfileType_CURVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9214,13 +9214,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9234,13 +9234,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9260,13 +9260,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_BLISTER, IfcProjectionElementType_DEVIATOR, IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9312,13 +9312,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_MATERIALDRIVEN, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_PSET_PROFILEDRIVEN, IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9333,13 +9333,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9362,13 +9362,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_ANTI_ARCING_DEVICE, IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_SPARKGAP, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_VOLTAGELIMITER, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9404,13 +9404,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9419,13 +9419,13 @@ public: class IFC_PARSE_API IfcRailTypeEnum : public express::DeclaredType { public: IfcRailTypeEnum() {} - explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailType_BLADE, IfcRailType_CHECKRAIL, IfcRailType_GUARDRAIL, IfcRailType_RACKRAIL, IfcRailType_RAIL, IfcRailType_STOCKRAIL, IfcRailType_USERDEFINED, IfcRailType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9453,13 +9453,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_BALUSTRADE, IfcRailingType_FENCE, IfcRailingType_GUARDRAIL, IfcRailingType_HANDRAIL, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9468,13 +9468,13 @@ public: class IFC_PARSE_API IfcRailwayPartTypeEnum : public express::DeclaredType { public: IfcRailwayPartTypeEnum() {} - explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayPartType_ABOVETRACK, IfcRailwayPartType_DILATIONTRACK, IfcRailwayPartType_LINESIDE, IfcRailwayPartType_LINESIDEPART, IfcRailwayPartType_PLAINTRACK, IfcRailwayPartType_SUBSTRUCTURE, IfcRailwayPartType_TRACK, IfcRailwayPartType_TRACKPART, IfcRailwayPartType_TURNOUTTRACK, IfcRailwayPartType_USERDEFINED, IfcRailwayPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9483,13 +9483,13 @@ public: class IFC_PARSE_API IfcRailwayTypeEnum : public express::DeclaredType { public: IfcRailwayTypeEnum() {} - explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayType_USERDEFINED, IfcRailwayType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9508,13 +9508,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_SPIRAL, IfcRampFlightType_STRAIGHT, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9570,13 +9570,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_HALF_TURN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9605,13 +9605,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_DAILY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9620,13 +9620,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_BOUNDARY, IfcReferentType_INTERSECTION, IfcReferentType_KILOPOINT, IfcReferentType_LANDMARK, IfcReferentType_MILEPOINT, IfcReferentType_POSITION, IfcReferentType_REFERENCEMARKER, IfcReferentType_STATION, IfcReferentType_SUPERELEVATIONEVENT, IfcReferentType_WIDTHEVENT, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9650,13 +9650,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PHYSICAL, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9665,13 +9665,13 @@ public: class IFC_PARSE_API IfcReinforcedSoilTypeEnum : public express::DeclaredType { public: IfcReinforcedSoilTypeEnum() {} - explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcedSoilType_DYNAMICALLYCOMPACTED, IfcReinforcedSoilType_GROUTED, IfcReinforcedSoilType_REPLACED, IfcReinforcedSoilType_ROLLERCOMPACTED, IfcReinforcedSoilType_SURCHARGEPRELOADED, IfcReinforcedSoilType_VERTICALLYDRAINED, IfcReinforcedSoilType_USERDEFINED, IfcReinforcedSoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9698,13 +9698,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9721,13 +9721,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9736,13 +9736,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_SPACEBAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9751,13 +9751,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9766,13 +9766,13 @@ public: class IFC_PARSE_API IfcRoadPartTypeEnum : public express::DeclaredType { public: IfcRoadPartTypeEnum() {} - explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadPartType_BICYCLECROSSING, IfcRoadPartType_BUS_STOP, IfcRoadPartType_CARRIAGEWAY, IfcRoadPartType_CENTRALISLAND, IfcRoadPartType_CENTRALRESERVE, IfcRoadPartType_HARDSHOULDER, IfcRoadPartType_INTERSECTION, IfcRoadPartType_LAYBY, IfcRoadPartType_PARKINGBAY, IfcRoadPartType_PASSINGBAY, IfcRoadPartType_PEDESTRIAN_CROSSING, IfcRoadPartType_RAILWAYCROSSING, IfcRoadPartType_REFUGEISLAND, IfcRoadPartType_ROADSEGMENT, IfcRoadPartType_ROADSIDE, IfcRoadPartType_ROADSIDEPART, IfcRoadPartType_ROADWAYPLATEAU, IfcRoadPartType_ROUNDABOUT, IfcRoadPartType_SHOULDER, IfcRoadPartType_SIDEWALK, IfcRoadPartType_SOFTSHOULDER, IfcRoadPartType_TOLLPLAZA, IfcRoadPartType_TRAFFICISLAND, IfcRoadPartType_TRAFFICLANE, IfcRoadPartType_USERDEFINED, IfcRoadPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9781,13 +9781,13 @@ public: class IFC_PARSE_API IfcRoadTypeEnum : public express::DeclaredType { public: IfcRoadTypeEnum() {} - explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadType_USERDEFINED, IfcRoadType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9824,13 +9824,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_ARCHITECT, IfcRole_BUILDINGOPERATOR, IfcRole_BUILDINGOWNER, IfcRole_CIVILENGINEER, IfcRole_CLIENT, IfcRole_COMMISSIONINGENGINEER, IfcRole_CONSTRUCTIONMANAGER, IfcRole_CONSULTANT, IfcRole_CONTRACTOR, IfcRole_COSTENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_ENGINEER, IfcRole_FACILITIESMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_MANUFACTURER, IfcRole_MECHANICALENGINEER, IfcRole_OWNER, IfcRole_PROJECTMANAGER, IfcRole_RESELLER, IfcRole_STRUCTURALENGINEER, IfcRole_SUBCONTRACTOR, IfcRole_SUPPLIER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9904,13 +9904,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_BARREL_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FLAT_ROOF, IfcRoofType_FREEFORM, IfcRoofType_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9945,13 +9945,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_ATTO, IfcSIPrefix_CENTI, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_EXA, IfcSIPrefix_FEMTO, IfcSIPrefix_GIGA, IfcSIPrefix_HECTO, IfcSIPrefix_KILO, IfcSIPrefix_MEGA, IfcSIPrefix_MICRO, IfcSIPrefix_MILLI, IfcSIPrefix_NANO, IfcSIPrefix_PETA, IfcSIPrefix_PICO, IfcSIPrefix_TERA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9998,13 +9998,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10031,13 +10031,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10055,13 +10055,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_TAPERED, IfcSectionType_UNIFORM} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10097,13 +10097,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_COSENSOR, IfcSensorType_EARTHQUAKESENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FOREIGNOBJECTDETECTIONSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_OBSTACLESENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_RAINSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SNOWDEPTHSENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_TRAINSENSOR, IfcSensorType_TURNOUTCLOSURESENSOR, IfcSensorType_WHEELSENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10116,13 +10116,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_FINISH_FINISH, IfcSequence_FINISH_START, IfcSequence_START_FINISH, IfcSequence_START_START, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10140,13 +10140,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_AWNING, IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10155,13 +10155,13 @@ public: class IFC_PARSE_API IfcSignTypeEnum : public express::DeclaredType { public: IfcSignTypeEnum() {} - explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignType_MARKER, IfcSignType_MIRROR, IfcSignType_PICTORAL, IfcSignType_USERDEFINED, IfcSignType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10170,13 +10170,13 @@ public: class IFC_PARSE_API IfcSignalTypeEnum : public express::DeclaredType { public: IfcSignalTypeEnum() {} - explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignalType_AUDIO, IfcSignalType_MIXED, IfcSignalType_VISUAL, IfcSignalType_USERDEFINED, IfcSignalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10202,13 +10202,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_NUMBER, IfcSimplePropertyTemplateType_Q_TIME, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_WEIGHT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10248,13 +10248,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_APPROACH_SLAB, IfcSlabType_BASESLAB, IfcSlabType_FLOOR, IfcSlabType_LANDING, IfcSlabType_PAVING, IfcSlabType_ROOF, IfcSlabType_SIDEWALK, IfcSlabType_TRACKSLAB, IfcSlabType_WEARING, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10271,13 +10271,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10297,13 +10297,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10346,13 +10346,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_BERTH, IfcSpaceType_EXTERNAL, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_PARKING, IfcSpaceType_SPACE, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10385,13 +10385,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_INTERFERENCE, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_RESERVATION, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10408,13 +10408,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10437,13 +10437,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_SPIRAL, IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10544,13 +10544,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_CURVED_RUN_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_LADDER, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10571,13 +10571,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_LOCKED, IfcState_READONLY, IfcState_READONLYLOCKED, IfcState_READWRITE, IfcState_READWRITELOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10600,13 +10600,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10632,13 +10632,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10658,13 +10658,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10686,13 +10686,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10708,13 +10708,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10733,13 +10733,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_DEFECT, IfcSurfaceFeatureType_HATCHMARKING, IfcSurfaceFeatureType_LINEMARKING, IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_NONSKIDSURFACING, IfcSurfaceFeatureType_PAVEMENTSURFACEMARKING, IfcSurfaceFeatureType_RUMBLESTRIP, IfcSurfaceFeatureType_SYMBOLMARKING, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TRANSVERSERUMBLESTRIP, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10758,13 +10758,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_BOTH, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_POSITIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10788,13 +10788,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_RELAY, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_START_AND_STOP_EQUIPMENT, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10810,13 +10810,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_SUBRACK, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10847,13 +10847,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_OILRETENTIONTRAY, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10868,13 +10868,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10900,13 +10900,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ADJUSTMENT, IfcTaskType_ATTENDANCE, IfcTaskType_CALIBRATION, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_EMERGENCY, IfcTaskType_INSPECTION, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_SAFETY, IfcTaskType_SHUTDOWN, IfcTaskType_STARTUP, IfcTaskType_TESTING, IfcTaskType_TROUBLESHOOTING, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10915,13 +10915,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10930,13 +10930,13 @@ public: class IFC_PARSE_API IfcTendonConduitTypeEnum : public express::DeclaredType { public: IfcTendonConduitTypeEnum() {} - explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonConduitType_COUPLER, IfcTendonConduitType_DIABOLO, IfcTendonConduitType_DUCT, IfcTendonConduitType_GROUTING_DUCT, IfcTendonConduitType_TRUMPET, IfcTendonConduitType_USERDEFINED, IfcTendonConduitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10945,13 +10945,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10966,13 +10966,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_DOWN, IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10991,13 +10991,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11006,13 +11006,13 @@ public: class IFC_PARSE_API IfcTrackElementTypeEnum : public express::DeclaredType { public: IfcTrackElementTypeEnum() {} - explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrackElementType_BLOCKINGDEVICE, IfcTrackElementType_DERAILER, IfcTrackElementType_FROG, IfcTrackElementType_HALF_SET_OF_BLADES, IfcTrackElementType_SLEEPER, IfcTrackElementType_SPEEDREGULATOR, IfcTrackElementType_TRACKENDOFALIGNMENT, IfcTrackElementType_VEHICLESTOP, IfcTrackElementType_USERDEFINED, IfcTrackElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11031,13 +11031,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CHOPPER, IfcTransformerType_COMBINED, IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11061,13 +11061,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE, IfcTransitionCode_DISCONTINUOUS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11099,13 +11099,13 @@ public: class IFC_PARSE_API IfcTransportElementTypeEnum : public express::DeclaredType { public: IfcTransportElementTypeEnum() {} - explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementType_CRANEWAY, IfcTransportElementType_ELEVATOR, IfcTransportElementType_ESCALATOR, IfcTransportElementType_HAULINGGEAR, IfcTransportElementType_LIFTINGGEAR, IfcTransportElementType_MOVINGWALKWAY, IfcTransportElementType_USERDEFINED, IfcTransportElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11124,13 +11124,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11146,13 +11146,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11196,13 +11196,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11226,13 +11226,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_BASESTATIONCONTROLLER, IfcUnitaryControlElementType_COMBINED, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11252,13 +11252,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11309,13 +11309,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_DRAWOFFCOCK, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11324,13 +11324,13 @@ public: class IFC_PARSE_API IfcVehicleTypeEnum : public express::DeclaredType { public: IfcVehicleTypeEnum() {} - explicit IfcVehicleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVehicleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVehicleType_CARGO, IfcVehicleType_ROLLINGSTOCK, IfcVehicleType_VEHICLE, IfcVehicleType_VEHICLEAIR, IfcVehicleType_VEHICLEMARINE, IfcVehicleType_VEHICLETRACKED, IfcVehicleType_VEHICLEWHEELED, IfcVehicleType_USERDEFINED, IfcVehicleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11339,13 +11339,13 @@ public: class IFC_PARSE_API IfcVibrationDamperTypeEnum : public express::DeclaredType { public: IfcVibrationDamperTypeEnum() {} - explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationDamperType_AXIAL_YIELD, IfcVibrationDamperType_BENDING_YIELD, IfcVibrationDamperType_FRICTION, IfcVibrationDamperType_RUBBER, IfcVibrationDamperType_SHEAR_YIELD, IfcVibrationDamperType_VISCOUS, IfcVibrationDamperType_USERDEFINED, IfcVibrationDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11362,13 +11362,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_BASE, IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11377,13 +11377,13 @@ public: class IFC_PARSE_API IfcVirtualElementTypeEnum : public express::DeclaredType { public: IfcVirtualElementTypeEnum() {} - explicit IfcVirtualElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVirtualElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVirtualElementType_BOUNDARY, IfcVirtualElementType_CLEARANCE, IfcVirtualElementType_PROVISIONFORVOID, IfcVirtualElementType_USERDEFINED, IfcVirtualElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11405,13 +11405,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11456,13 +11456,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_ELEMENTEDWALL, IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_POLYGONAL, IfcWallType_RETAININGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_WAVEWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11484,13 +11484,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11582,13 +11582,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11660,13 +11660,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11690,13 +11690,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_LIGHTDOME, IfcWindowType_SKYLIGHT, IfcWindowType_WINDOW, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11775,13 +11775,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11800,13 +11800,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11825,13 +11825,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11850,13 +11850,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11869,9 +11869,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11883,9 +11883,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11900,9 +11900,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11914,9 +11914,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11924,9 +11924,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -11934,9 +11934,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11950,9 +11950,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11960,9 +11960,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -11974,9 +11974,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -12026,9 +12026,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12046,9 +12046,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -12103,9 +12103,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -12118,9 +12118,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12133,9 +12133,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12149,9 +12149,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12164,9 +12164,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12191,9 +12191,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12212,9 +12212,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12255,9 +12255,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12270,9 +12270,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12286,9 +12286,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12300,9 +12300,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12314,9 +12314,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12329,9 +12329,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12343,9 +12343,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12357,9 +12357,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12371,9 +12371,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12387,9 +12387,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12401,9 +12401,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12415,9 +12415,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12429,9 +12429,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12452,9 +12452,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12473,9 +12473,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12505,9 +12505,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12519,9 +12519,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12533,9 +12533,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12555,9 +12555,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12569,9 +12569,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12581,9 +12581,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12604,9 +12604,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12618,9 +12618,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12632,9 +12632,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12648,9 +12648,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12664,9 +12664,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12676,9 +12676,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12690,9 +12690,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12704,9 +12704,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12727,9 +12727,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12746,9 +12746,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12762,9 +12762,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12772,9 +12772,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -12786,9 +12786,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12800,9 +12800,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12814,9 +12814,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12828,9 +12828,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12842,9 +12842,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -12856,9 +12856,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12872,9 +12872,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12888,9 +12888,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12902,9 +12902,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12916,9 +12916,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12930,9 +12930,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12944,9 +12944,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12960,9 +12960,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12976,9 +12976,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12990,9 +12990,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13004,9 +13004,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13018,9 +13018,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13036,9 +13036,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13050,9 +13050,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13064,9 +13064,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13078,9 +13078,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13091,9 +13091,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13156,9 +13156,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13170,9 +13170,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13185,9 +13185,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13197,9 +13197,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13213,9 +13213,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13227,9 +13227,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13247,9 +13247,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13257,9 +13257,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13272,9 +13272,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13287,9 +13287,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13301,9 +13301,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13319,9 +13319,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13333,9 +13333,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13343,9 +13343,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition >() const; }; @@ -13357,9 +13357,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13376,9 +13376,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13392,9 +13392,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13406,9 +13406,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13421,9 +13421,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13435,9 +13435,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13449,9 +13449,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13463,9 +13463,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13477,9 +13477,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13493,9 +13493,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13503,9 +13503,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13517,9 +13517,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13527,9 +13527,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13541,9 +13541,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13555,9 +13555,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13571,9 +13571,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13589,9 +13589,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13599,9 +13599,9 @@ public: class IFC_PARSE_API IfcStrippedOptional : public express::DeclaredType { public: IfcStrippedOptional() {} - explicit IfcStrippedOptional (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStrippedOptional (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -13613,9 +13613,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13627,9 +13627,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13647,9 +13647,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13666,9 +13666,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13688,9 +13688,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13716,9 +13716,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13735,9 +13735,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13749,9 +13749,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13763,9 +13763,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13776,9 +13776,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13789,9 +13789,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13803,9 +13803,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13819,9 +13819,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13836,9 +13836,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13852,9 +13852,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13865,9 +13865,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13879,9 +13879,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13895,9 +13895,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13909,9 +13909,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13925,9 +13925,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13939,9 +13939,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13953,9 +13953,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13967,9 +13967,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13977,9 +13977,9 @@ public: class IFC_PARSE_API IfcWellKnownTextLiteral : public express::DeclaredType { public: IfcWellKnownTextLiteral() {} - explicit IfcWellKnownTextLiteral (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWellKnownTextLiteral (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14011,9 +14011,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14025,9 +14025,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14040,9 +14040,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14061,7 +14061,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -14078,7 +14078,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -14089,7 +14089,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > Purpose() const; @@ -14106,28 +14106,28 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; class IFC_PARSE_API IfcAlignmentParameterSegment : public express::Entity { public: IfcAlignmentParameterSegment() {} - explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > StartTag() const; void setStartTag(const std::optional< std::string >& v); std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag); }; class IFC_PARSE_API IfcAlignmentVerticalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentVerticalSegment() {} - explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -14144,7 +14144,7 @@ public: ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_add2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -14153,7 +14153,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x3_add2::IfcOrganization ApplicationDeveloper() const; @@ -14168,7 +14168,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -14188,7 +14188,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -14226,7 +14226,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -14237,7 +14237,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -14278,7 +14278,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_add2::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_add2::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -14299,13 +14299,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14321,7 +14321,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_add2::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14342,7 +14342,7 @@ public: ::Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x3_add2::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::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); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14358,7 +14358,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14370,7 +14370,7 @@ public: ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_add2::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14386,7 +14386,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_add2::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14407,7 +14407,7 @@ public: ::Ifc4x3_add2::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x3_add2::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::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); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14422,13 +14422,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x3_add2::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x3_add2::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::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); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14448,10 +14448,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14473,7 +14473,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_add2::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14482,7 +14482,7 @@ public: ::Ifc4x3_add2::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x3_add2::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_add2::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14496,7 +14496,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_add2::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14505,7 +14505,7 @@ public: ::Ifc4x3_add2::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x3_add2::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_add2::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14517,7 +14517,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x3_add2::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14526,7 +14526,7 @@ public: ::Ifc4x3_add2::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x3_add2::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_add2::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14544,7 +14544,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14573,7 +14573,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14625,7 +14625,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14634,7 +14634,7 @@ public: ::Ifc4x3_add2::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x3_add2::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14662,7 +14662,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -14681,7 +14681,7 @@ public: std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS std::vector< IfcWellKnownText > WellKnownText() const; // INVERSE IfcWellKnownText::CoordinateReferenceSystem - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -14729,10 +14729,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_add2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_add2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -14745,7 +14745,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x3_add2::IfcDerivedUnitElement > Elements() const; @@ -14758,7 +14758,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_add2::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -14773,7 +14773,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x3_add2::IfcNamedUnit Unit() const; @@ -14782,7 +14782,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -14805,7 +14805,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -14829,7 +14829,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -14841,10 +14841,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -14859,7 +14859,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -14882,7 +14882,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -14896,10 +14896,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -14912,10 +14912,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -14928,17 +14928,17 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; class IFC_PARSE_API IfcGeographicCRS : public IfcCoordinateReferenceSystem { public: IfcGeographicCRS() {} - explicit IfcGeographicCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcGeographicCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} std::optional< std::string > PrimeMeridian() const; void setPrimeMeridian(const std::optional< std::string >& v); @@ -14947,7 +14947,7 @@ public: ::Ifc4x3_add2::IfcNamedUnit HeightUnit() const; void setHeightUnit(const ::Ifc4x3_add2::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_PrimeMeridian, ::Ifc4x3_add2::IfcNamedUnit v5_AngleUnit, ::Ifc4x3_add2::IfcNamedUnit v6_HeightUnit); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -14976,7 +14976,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -14992,7 +14992,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_add2::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -15001,7 +15001,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -15010,7 +15010,7 @@ public: std::vector< ::Ifc4x3_add2::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_add2::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_add2::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -15024,7 +15024,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -15050,7 +15050,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_add2::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -15063,7 +15063,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -15080,7 +15080,7 @@ public: void setReferencedLibrary(const ::Ifc4x3_add2::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_add2::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -15101,7 +15101,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -15115,7 +15115,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -15124,7 +15124,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -15133,7 +15133,7 @@ public: std::vector< ::Ifc4x3_add2::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x3_add2::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_add2::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -15150,7 +15150,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -15178,14 +15178,14 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale); }; class IFC_PARSE_API IfcMapConversionScaled : public IfcMapConversion { public: IfcMapConversionScaled() {} - explicit IfcMapConversionScaled (const std::weak_ptr& data) : IfcMapConversion(data) {} + explicit IfcMapConversionScaled (const std::weak_ptr& data) : IfcMapConversion(data) {} double FactorX() const; void setFactorX(const double& v); @@ -15194,7 +15194,7 @@ public: double FactorZ() const; void setFactorZ(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, double v9_FactorX, double v10_FactorY, double v11_FactorZ); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -15205,7 +15205,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x3_add2::IfcClassificationSelect > MaterialClassifications() const; @@ -15214,7 +15214,7 @@ public: ::Ifc4x3_add2::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x3_add2::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_add2::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -15244,13 +15244,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -15279,7 +15279,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x3_add2::IfcMaterial Material() const; @@ -15312,7 +15312,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15351,7 +15351,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x3_add2::IfcMaterialLayer > MaterialLayers() const; @@ -15365,7 +15365,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15414,7 +15414,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15423,7 +15423,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15446,13 +15446,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x3_add2::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x3_add2::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15463,7 +15463,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15485,7 +15485,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial v3_Material, ::Ifc4x3_add2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15496,7 +15496,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15514,7 +15514,7 @@ public: ::Ifc4x3_add2::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x3_add2::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_add2::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15525,13 +15525,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial v3_Material, ::Ifc4x3_add2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15568,11 +15568,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15588,7 +15588,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x3_add2::IfcValue ValueComponent() const; @@ -15597,7 +15597,7 @@ public: ::Ifc4x3_add2::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x3_add2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcValue v1_ValueComponent, ::Ifc4x3_add2::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15655,7 +15655,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x3_add2::IfcBenchmarkEnum::Value Benchmark() const; @@ -15669,7 +15669,7 @@ public: ::Ifc4x3_add2::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_add2::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_add2::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_add2::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_add2::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15680,13 +15680,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15697,7 +15697,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x3_add2::IfcDimensionalExponents Dimensions() const; @@ -15706,7 +15706,7 @@ public: ::Ifc4x3_add2::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x3_add2::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -15723,14 +15723,14 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc4x3_add2::IfcObjectPlacement PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x3_add2::IfcObjectPlacement& v); std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement std::vector< IfcObjectPlacement > ReferencedByPlacements() const; // INVERSE IfcObjectPlacement::PlacementRelTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcObjectPlacement v1_PlacementRelTo); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -15745,7 +15745,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x3_add2::IfcConstraint > > BenchmarkValues() const; @@ -15759,7 +15759,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_add2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_add2::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_add2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_add2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -15773,7 +15773,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -15795,7 +15795,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_add2::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -15811,7 +15811,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x3_add2::IfcPersonAndOrganization OwningUser() const; @@ -15838,7 +15838,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_add2::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_add2::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_add2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_add2::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -15853,7 +15853,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -15887,7 +15887,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x3_add2::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_add2::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -15898,7 +15898,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x3_add2::IfcPerson ThePerson() const; @@ -15910,7 +15910,7 @@ public: std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPerson v1_ThePerson, ::Ifc4x3_add2::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_add2::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -15921,7 +15921,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -15932,7 +15932,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -15947,13 +15947,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x3_add2::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_add2::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -15962,7 +15962,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -15992,17 +15992,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -16023,7 +16023,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -16038,7 +16038,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -16057,7 +16057,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -16076,7 +16076,7 @@ public: std::vector< ::Ifc4x3_add2::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x3_add2::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_add2::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -16087,13 +16087,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// IfcProductRepresentation defines a representation of a @@ -16116,7 +16116,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -16128,7 +16128,7 @@ public: std::vector< ::Ifc4x3_add2::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x3_add2::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -16304,7 +16304,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x3_add2::IfcProfileTypeEnum::Value ProfileType() const; @@ -16315,7 +16315,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16344,7 +16344,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} std::optional< std::string > VerticalDatum() const; void setVerticalDatum(const std::optional< std::string >& v); @@ -16365,18 +16365,18 @@ public: ::Ifc4x3_add2::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x3_add2::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_add2::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16428,7 +16428,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16440,7 +16440,7 @@ public: ::Ifc4x3_add2::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_add2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x3_add2::IfcValue > v2_EnumerationValues, ::Ifc4x3_add2::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16451,7 +16451,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16462,7 +16462,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16473,7 +16473,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. int CountValue() const; @@ -16484,7 +16484,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, int v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16495,7 +16495,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16506,21 +16506,21 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; class IFC_PARSE_API IfcQuantityNumber : public IfcPhysicalSimpleQuantity { public: IfcQuantityNumber() {} - explicit IfcQuantityNumber (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityNumber (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} double NumberValue() const; void setNumberValue(const double& v); std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_NumberValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16531,7 +16531,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16542,7 +16542,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16553,7 +16553,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16564,7 +16564,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16575,7 +16575,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16586,7 +16586,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16598,7 +16598,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16638,14 +16638,14 @@ public: std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_add2::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16658,7 +16658,7 @@ public: ::Ifc4x3_add2::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_add2::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_add2::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16710,7 +16710,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x3_add2::IfcRepresentationContext ContextOfItems() const; @@ -16729,7 +16729,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -16745,7 +16745,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -16755,7 +16755,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -16793,12 +16793,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -16815,7 +16815,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -16827,7 +16827,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_add2::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -16836,7 +16836,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -16845,14 +16845,14 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; class IFC_PARSE_API IfcRigidOperation : public IfcCoordinateOperation { public: IfcRigidOperation() {} - explicit IfcRigidOperation (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcRigidOperation (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} ::Ifc4x3_add2::IfcMeasureValue FirstCoordinate() const; void setFirstCoordinate(const ::Ifc4x3_add2::IfcMeasureValue& v); @@ -16861,7 +16861,7 @@ public: std::optional< double > Height() const; void setHeight(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_TargetCRS, ::Ifc4x3_add2::IfcMeasureValue v3_FirstCoordinate, ::Ifc4x3_add2::IfcMeasureValue v4_SecondCoordinate, std::optional< double > v5_Height); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -16876,7 +16876,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -16895,7 +16895,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -16908,7 +16908,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x3_add2::IfcSIPrefix::Value > Prefix() const; @@ -16919,7 +16919,7 @@ public: ::Ifc4x3_add2::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x3_add2::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_add2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_add2::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -16928,7 +16928,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -16941,7 +16941,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -16984,7 +16984,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -17007,7 +17007,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x3_add2::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_add2::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -17031,11 +17031,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -17176,10 +17176,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -17188,13 +17188,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -17203,13 +17203,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -17226,7 +17226,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x3_add2::IfcStructuralLoadOrResult > Values() const; @@ -17235,7 +17235,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add2::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -17244,10 +17244,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -17256,10 +17256,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -17270,7 +17270,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -17288,7 +17288,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -17299,10 +17299,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -17336,7 +17336,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17355,7 +17355,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_add2::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17368,10 +17368,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17382,7 +17382,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17394,7 +17394,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17407,7 +17407,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x3_add2::IfcSurfaceSide::Value Side() const; @@ -17416,7 +17416,7 @@ public: std::vector< ::Ifc4x3_add2::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3_add2::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_add2::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17433,7 +17433,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17452,7 +17452,7 @@ public: ::Ifc4x3_add2::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x3_add2::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_add2::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_add2::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_add2::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17463,7 +17463,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17472,7 +17472,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17485,7 +17485,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x3_add2::IfcColourRgb SurfaceColour() const; @@ -17493,7 +17493,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17517,13 +17517,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x3_add2::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17621,7 +17621,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17652,7 +17652,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17673,7 +17673,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17685,7 +17685,7 @@ public: std::optional< std::vector< ::Ifc4x3_add2::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x3_add2::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_add2::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_add2::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17696,7 +17696,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17713,7 +17713,7 @@ public: ::Ifc4x3_add2::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_add2::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_add2::IfcUnit v4_Unit, ::Ifc4x3_add2::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17732,7 +17732,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > RowCells() const; @@ -17741,7 +17741,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -17755,7 +17755,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -17863,7 +17863,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -17872,12 +17872,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x3_add2::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x3_add2::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_add2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_add2::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -17889,7 +17889,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -17913,7 +17913,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_add2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -17947,7 +17947,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x3_add2::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -17967,7 +17967,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_add2::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_add2::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -17990,7 +17990,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x3_add2::IfcColour Colour() const; @@ -17999,7 +17999,7 @@ public: ::Ifc4x3_add2::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x3_add2::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcColour v1_Colour, ::Ifc4x3_add2::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -18012,7 +18012,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -18043,7 +18043,7 @@ public: ::Ifc4x3_add2::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x3_add2::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_add2::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_add2::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_add2::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -18060,12 +18060,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x3_add2::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -18097,7 +18097,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -18110,14 +18110,14 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; class IFC_PARSE_API IfcTextureCoordinateIndices : public express::Entity { public: IfcTextureCoordinateIndices() {} - explicit IfcTextureCoordinateIndices (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTextureCoordinateIndices (const std::weak_ptr& data) : express::Entity(data) {} std::vector< int > /*[3:?]*/ TexCoordIndex() const; void setTexCoordIndex(const std::vector< int > /*[3:?]*/& v); @@ -18125,19 +18125,19 @@ public: void setTexCoordsOf(const ::Ifc4x3_add2::IfcIndexedPolygonalFace& v); std::vector< IfcIndexedPolygonalTextureMap > ToTexMap() const; // INVERSE IfcIndexedPolygonalTextureMap::TexCoordIndices - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf); }; class IFC_PARSE_API IfcTextureCoordinateIndicesWithVoids : public IfcTextureCoordinateIndices { public: IfcTextureCoordinateIndicesWithVoids() {} - explicit IfcTextureCoordinateIndicesWithVoids (const std::weak_ptr& data) : IfcTextureCoordinateIndices(data) {} + explicit IfcTextureCoordinateIndicesWithVoids (const std::weak_ptr& data) : IfcTextureCoordinateIndices(data) {} std::vector< std::vector< int > > InnerTexCoordIndices() const; void setInnerTexCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_add2::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices); }; /// An IfcTextureMap provides the mapping of the @@ -18194,7 +18194,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -18204,7 +18204,7 @@ public: ::Ifc4x3_add2::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x3_add2::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_add2::IfcTextureVertex > v2_Vertices, ::Ifc4x3_add2::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -18237,25 +18237,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -18267,7 +18267,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -18276,7 +18276,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -18287,7 +18287,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -18315,7 +18315,7 @@ public: void setUnit(const ::Ifc4x3_add2::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::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, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -18330,13 +18330,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x3_add2::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_add2::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -18347,10 +18347,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18390,10 +18390,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_add2::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18404,13 +18404,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x3_add2::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x3_add2::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18426,10 +18426,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18444,13 +18444,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x3_add2::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x3_add2::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18515,7 +18515,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x3_add2::IfcGridAxis > IntersectingAxes() const; @@ -18524,21 +18524,21 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; class IFC_PARSE_API IfcWellKnownText : public express::Entity { public: IfcWellKnownText() {} - explicit IfcWellKnownText (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcWellKnownText (const std::weak_ptr& data) : express::Entity(data) {} std::string WellKnownText() const; void setWellKnownText(const std::string& v); ::Ifc4x3_add2::IfcCoordinateReferenceSystem CoordinateReferenceSystem() const; void setCoordinateReferenceSystem(const ::Ifc4x3_add2::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_WellKnownText, ::Ifc4x3_add2::IfcCoordinateReferenceSystem v2_CoordinateReferenceSystem); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18552,7 +18552,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18564,14 +18564,14 @@ public: std::optional< std::string > FinishDate() const; void setFinishDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate); }; class IFC_PARSE_API IfcAlignmentCantSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentCantSegment() {} - explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -18588,14 +18588,14 @@ public: ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_add2::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType); }; class IFC_PARSE_API IfcAlignmentHorizontalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentHorizontalSegment() {} - explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} ::Ifc4x3_add2::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x3_add2::IfcCartesianPoint& v); @@ -18612,7 +18612,7 @@ public: ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_add2::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_add2::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType); }; /// An IfcApprovalRelationship associates approvals (one @@ -18625,7 +18625,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x3_add2::IfcApproval RelatingApproval() const; @@ -18634,7 +18634,7 @@ public: std::vector< ::Ifc4x3_add2::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x3_add2::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_add2::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18658,13 +18658,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x3_add2::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x3_add2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18685,13 +18685,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x3_add2::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x3_add2::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18716,13 +18716,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x3_add2::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x3_add2::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_add2::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18737,7 +18737,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18746,7 +18746,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -18781,13 +18781,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -18808,7 +18808,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -18858,7 +18858,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Specification, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -18885,7 +18885,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x3_add2::IfcClassificationReferenceSelect ReferencedSource() const; @@ -18900,19 +18900,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_add2::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -18923,7 +18923,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -18932,7 +18932,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -18974,7 +18974,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x3_add2::IfcProfileDef > Profiles() const; @@ -18983,7 +18983,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_add2::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -18998,13 +18998,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x3_add2::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x3_add2::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -19023,7 +19023,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_add2::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -19032,7 +19032,7 @@ public: ::Ifc4x3_add2::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x3_add2::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_add2::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -19057,7 +19057,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -19069,7 +19069,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_add2::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -19082,14 +19082,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -19142,7 +19142,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -19152,7 +19152,7 @@ public: void setConversionFactor(const ::Ifc4x3_add2::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -19176,13 +19176,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_add2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_add2::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -19199,7 +19199,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x3_add2::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -19219,7 +19219,7 @@ public: ::Ifc4x3_add2::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x3_add2::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_add2::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_add2::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -19242,7 +19242,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -19256,7 +19256,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_add2::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_add2::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -19267,7 +19267,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -19276,7 +19276,7 @@ public: std::vector< ::Ifc4x3_add2::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x3_add2::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add2::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -19293,7 +19293,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -19304,7 +19304,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcCurveStyleFontSelect v2_CurveStyleFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -19315,7 +19315,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -19328,7 +19328,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -19418,7 +19418,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x3_add2::IfcProfileDef ParentProfile() const; @@ -19430,7 +19430,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef v3_ParentProfile, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19439,7 +19439,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19510,7 +19510,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_add2::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_add2::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_add2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_add2::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19524,7 +19524,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x3_add2::IfcDocumentInformation RelatingDocument() const; @@ -19536,7 +19536,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_add2::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19553,7 +19553,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19565,7 +19565,7 @@ public: void setReferencedDocument(const ::Ifc4x3_add2::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19620,7 +19620,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x3_add2::IfcVertex EdgeStart() const; @@ -19629,7 +19629,7 @@ public: ::Ifc4x3_add2::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x3_add2::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcVertex v1_EdgeStart, ::Ifc4x3_add2::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19668,7 +19668,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x3_add2::IfcCurve EdgeGeometry() const; @@ -19677,7 +19677,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcVertex v1_EdgeStart, ::Ifc4x3_add2::IfcVertex v2_EdgeEnd, ::Ifc4x3_add2::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19706,7 +19706,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19723,14 +19723,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19739,7 +19739,7 @@ public: std::vector< ::Ifc4x3_add2::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x3_add2::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19752,7 +19752,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19763,7 +19763,7 @@ public: std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -19813,14 +19813,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x3_add2::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x3_add2::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -19831,7 +19831,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x3_add2::IfcLoop Bound() const; @@ -19840,7 +19840,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -19851,10 +19851,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -19896,7 +19896,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x3_add2::IfcSurface FaceSurface() const; @@ -19905,7 +19905,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcFaceBound > v1_Bounds, ::Ifc4x3_add2::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -19918,7 +19918,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -19939,7 +19939,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -19979,7 +19979,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x3_add2::IfcFillStyleSelect > FillStyles() const; @@ -19987,7 +19987,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_add2::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -20040,7 +20040,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -20059,7 +20059,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_add2::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_add2::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -20084,10 +20084,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -20106,7 +20106,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x3_add2::IfcGeometricRepresentationContext ParentContext() const; @@ -20131,7 +20131,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_add2::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_add2::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -20144,13 +20144,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x3_add2::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x3_add2::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -20201,7 +20201,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x3_add2::IfcVirtualGridIntersection PlacementLocation() const; @@ -20212,7 +20212,7 @@ public: ::Ifc4x3_add2::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x3_add2::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add2::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_add2::IfcGridPlacementDirectionSelect v3_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -20233,7 +20233,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x3_add2::IfcSurface BaseSurface() const; @@ -20242,7 +20242,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -20283,20 +20283,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x3_add2::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_add2::IfcTessellatedFaceSet& v); @@ -20307,33 +20307,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_add2::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x3_add2::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_add2::IfcTessellatedFaceSet& v); ::Ifc4x3_add2::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x3_add2::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -20344,13 +20344,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::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, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit v8_Unit, std::vector< ::Ifc4x3_add2::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -20393,7 +20393,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -20404,7 +20404,7 @@ public: ::Ifc4x3_add2::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x3_add2::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_add2::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -20417,7 +20417,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20433,7 +20433,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20446,10 +20446,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20464,14 +20464,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x3_add2::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20484,7 +20484,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x3_add2::IfcAxis2Placement3D Position() const; @@ -20505,7 +20505,7 @@ public: ::Ifc4x3_add2::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x3_add2::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::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); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20526,7 +20526,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20546,7 +20546,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_add2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20567,7 +20567,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20585,21 +20585,21 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_add2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::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, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x3_add2::IfcAxis2PlacementLinear RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_add2::IfcAxis2PlacementLinear& v); ::Ifc4x3_add2::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add2::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_add2::IfcAxis2Placement3D v3_CartesianPosition); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20657,13 +20657,13 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system. ::Ifc4x3_add2::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_add2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_add2::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20695,10 +20695,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20723,7 +20723,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x3_add2::IfcRepresentationMap MappingSource() const; @@ -20732,7 +20732,7 @@ public: ::Ifc4x3_add2::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x3_add2::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_add2::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20765,7 +20765,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -20790,7 +20790,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -20801,7 +20801,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -20820,7 +20820,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -20840,7 +20840,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -20852,7 +20852,7 @@ public: std::optional< std::vector< ::Ifc4x3_add2::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_add2::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_add2::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -20888,13 +20888,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x3_add2::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x3_add2::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcRepresentation > v3_Representations, ::Ifc4x3_add2::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -21000,7 +21000,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x3_add2::IfcMaterialLayerSet ForLayerSet() const; @@ -21030,7 +21030,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_add2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_add2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -21043,7 +21043,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_add2::IfcMaterialProfileSet ForProfileSet() const; @@ -21060,7 +21060,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -21091,7 +21091,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_add2::IfcMaterialProfileSet ForProfileEndSet() const; @@ -21100,7 +21100,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_add2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -21128,7 +21128,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -21136,7 +21136,7 @@ public: ::Ifc4x3_add2::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x3_add2::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcProperty > v3_Properties, ::Ifc4x3_add2::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -21145,7 +21145,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x3_add2::IfcMaterial RelatingMaterial() const; @@ -21156,7 +21156,7 @@ public: std::optional< std::string > MaterialExpression() const; void setMaterialExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_add2::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_MaterialExpression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -21189,10 +21189,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -21248,7 +21248,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -21258,14 +21258,14 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcOpenCrossProfileDef : public IfcProfileDef { public: IfcOpenCrossProfileDef() {} - explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} bool HorizontalWidths() const; void setHorizontalWidths(const bool& v); @@ -21278,7 +21278,7 @@ public: ::Ifc4x3_add2::IfcCartesianPoint OffsetPoint() const; void setOffsetPoint(const ::Ifc4x3_add2::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_add2::IfcCartesianPoint v7_OffsetPoint); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -21343,10 +21343,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -21358,7 +21358,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x3_add2::IfcOrganization RelatingOrganization() const; @@ -21367,7 +21367,7 @@ public: std::vector< ::Ifc4x3_add2::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x3_add2::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_add2::IfcOrganization > v4_RelatedOrganizations); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -21380,7 +21380,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x3_add2::IfcEdge EdgeElement() const; @@ -21389,7 +21389,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21437,13 +21437,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x3_add2::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x3_add2::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21463,13 +21463,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x3_add2::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_add2::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21484,7 +21484,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > HasQuantities() const; @@ -21499,7 +21499,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21523,7 +21523,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21540,7 +21540,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_add2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21555,13 +21555,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x3_add2::IfcPoint Location() const; void setLocation(const ::Ifc4x3_add2::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21572,7 +21572,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21581,7 +21581,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21592,17 +21592,17 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcPointByDistanceExpression : public IfcPoint { public: IfcPointByDistanceExpression() {} - explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} ::Ifc4x3_add2::IfcCurveMeasureSelect DistanceAlong() const; void setDistanceAlong(const ::Ifc4x3_add2::IfcCurveMeasureSelect& v); @@ -21615,7 +21615,7 @@ public: ::Ifc4x3_add2::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_add2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_add2::IfcCurve v5_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21630,7 +21630,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x3_add2::IfcCurve BasisCurve() const; @@ -21639,7 +21639,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21654,7 +21654,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x3_add2::IfcSurface BasisSurface() const; @@ -21666,7 +21666,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21711,13 +21711,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x3_add2::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x3_add2::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -21779,7 +21779,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x3_add2::IfcAxis2Placement3D Position() const; @@ -21790,7 +21790,7 @@ public: ::Ifc4x3_add2::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x3_add2::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add2::IfcAxis2Placement3D v3_Position, ::Ifc4x3_add2::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -21803,23 +21803,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -21836,10 +21836,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -21857,12 +21857,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -21879,13 +21879,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x3_add2::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x3_add2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcProperty > v3_Properties, ::Ifc4x3_add2::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -21894,7 +21894,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -21908,7 +21908,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification); }; /// IfcPropertyDefinition defines the generalization of @@ -21964,12 +21964,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -21983,7 +21983,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x3_add2::IfcProperty DependingProperty() const; @@ -21995,7 +21995,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcProperty v3_DependingProperty, ::Ifc4x3_add2::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -22043,13 +22043,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -22080,20 +22080,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -22133,7 +22133,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -22142,7 +22142,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -22153,7 +22153,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -22162,7 +22162,7 @@ public: std::vector< ::Ifc4x3_add2::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_add2::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::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, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_add2::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_add2::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -22173,7 +22173,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -22194,7 +22194,7 @@ public: std::optional< int > BarCount() const; void setBarCount(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -22208,10 +22208,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -22223,7 +22223,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -22232,7 +22232,7 @@ public: ::Ifc4x3_add2::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_add2::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_add2::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -22258,7 +22258,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x3_add2::IfcConstraint RelatingConstraint() const; @@ -22267,7 +22267,7 @@ public: std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_add2::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_add2::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -22275,7 +22275,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -22323,7 +22323,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_add2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22366,13 +22366,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -22383,7 +22383,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x3_add2::IfcSectionTypeEnum::Value SectionType() const; @@ -22395,7 +22395,7 @@ public: ::Ifc4x3_add2::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x3_add2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_add2::IfcProfileDef v2_StartProfile, ::Ifc4x3_add2::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -22408,7 +22408,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -22429,7 +22429,7 @@ public: std::vector< ::Ifc4x3_add2::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_add2::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_add2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_add2::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_add2::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22488,7 +22488,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x3_add2::IfcCompositeCurve SpineCurve() const; @@ -22500,20 +22500,20 @@ public: std::vector< ::Ifc4x3_add2::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_add2::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_add2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_add2::IfcAxis2Placement3D > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSegment : public IfcGeometricRepresentationItem { public: IfcSegment() {} - explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3_add2::IfcTransitionCode::Value Transition() const; void setTransition(const ::Ifc4x3_add2::IfcTransitionCode::Value& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22531,12 +22531,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x3_add2::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x3_add2::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22545,10 +22545,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22563,7 +22563,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22575,7 +22575,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22586,10 +22586,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22600,7 +22600,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22621,7 +22621,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22632,7 +22632,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22644,7 +22644,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22655,7 +22655,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22676,7 +22676,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22685,13 +22685,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22703,7 +22703,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22724,7 +22724,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22738,13 +22738,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22760,13 +22760,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x3_add2::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x3_add2::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcVertex v1_EdgeStart, ::Ifc4x3_add2::IfcVertex v2_EdgeEnd, ::Ifc4x3_add2::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -22782,10 +22782,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -22836,7 +22836,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -22870,7 +22870,7 @@ public: ::Ifc4x3_add2::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x3_add2::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcColourRgb v1_SurfaceColour, std::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); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -22894,7 +22894,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x3_add2::IfcProfileDef SweptArea() const; @@ -22903,7 +22903,7 @@ public: ::Ifc4x3_add2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -22962,7 +22962,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x3_add2::IfcCurve Directrix() const; @@ -22984,7 +22984,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -23000,13 +23000,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -23017,7 +23017,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x3_add2::IfcProfileDef SweptCurve() const; @@ -23026,7 +23026,7 @@ public: ::Ifc4x3_add2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -23060,7 +23060,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23090,17 +23090,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -23116,7 +23116,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -23129,7 +23129,7 @@ public: ::Ifc4x3_add2::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x3_add2::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -23144,7 +23144,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x3_add2::IfcPlanarExtent Extent() const; @@ -23153,7 +23153,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_add2::IfcAxis2Placement v2_Placement, ::Ifc4x3_add2::IfcTextPath::Value v3_Path, ::Ifc4x3_add2::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -23224,7 +23224,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -23245,7 +23245,7 @@ public: ::Ifc4x3_add2::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x3_add2::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_add2::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -23289,7 +23289,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -23304,7 +23304,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -23341,7 +23341,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -23359,7 +23359,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -23393,7 +23393,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -23408,7 +23408,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23480,7 +23480,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > RepresentationMaps() const; @@ -23490,7 +23490,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23508,7 +23508,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23523,7 +23523,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23557,7 +23557,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23581,7 +23581,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23594,7 +23594,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x3_add2::IfcDirection Orientation() const; @@ -23603,7 +23603,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23621,13 +23621,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x3_add2::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x3_add2::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcVertex v1_LoopVertex); }; /// IfcZShapeProfileDef defines @@ -23658,7 +23658,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23679,7 +23679,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23698,10 +23698,10 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcFaceBound > v1_Bounds, ::Ifc4x3_add2::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -23727,7 +23727,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -23740,7 +23740,7 @@ public: std::optional< std::vector< ::Ifc4x3_add2::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_add2::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_add2::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -23783,7 +23783,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -23813,7 +23813,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -23828,13 +23828,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x3_add2::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPoint v1_Location, ::Ifc4x3_add2::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -23851,13 +23851,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x3_add2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPoint v1_Location, ::Ifc4x3_add2::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -23876,7 +23876,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x3_add2::IfcDirection Axis() const; @@ -23885,21 +23885,21 @@ public: ::Ifc4x3_add2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPoint v1_Location, ::Ifc4x3_add2::IfcDirection v2_Axis, ::Ifc4x3_add2::IfcDirection v3_RefDirection); }; class IFC_PARSE_API IfcAxis2PlacementLinear : public IfcPlacement { public: IfcAxis2PlacementLinear() {} - explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} ::Ifc4x3_add2::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_add2::IfcDirection& v); ::Ifc4x3_add2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPoint v1_Location, ::Ifc4x3_add2::IfcDirection v2_Axis, ::Ifc4x3_add2::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -23931,7 +23931,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x3_add2::IfcBooleanOperator::Value Operator() const; @@ -23943,7 +23943,7 @@ public: ::Ifc4x3_add2::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x3_add2::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -23961,10 +23961,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -23992,7 +23992,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x3_add2::IfcCartesianPoint Corner() const; @@ -24007,7 +24007,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -24043,13 +24043,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x3_add2::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x3_add2::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_add2::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -24077,7 +24077,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -24095,7 +24095,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -24108,51 +24108,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -24188,7 +24188,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x3_add2::IfcDirection Axis1() const; @@ -24203,7 +24203,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24214,10 +24214,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -24233,13 +24233,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24250,13 +24250,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x3_add2::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_add2::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -24273,7 +24273,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -24282,7 +24282,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcDirection v1_Axis1, ::Ifc4x3_add2::IfcDirection v2_Axis2, ::Ifc4x3_add2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_add2::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -24300,13 +24300,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -24361,10 +24361,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24378,7 +24378,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24396,7 +24396,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24407,7 +24407,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24417,7 +24417,7 @@ public: std::vector< ::Ifc4x3_add2::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_add2::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::string v3_UsageName, std::vector< ::Ifc4x3_add2::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24430,7 +24430,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcSegment { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} /// An indicator of whether or not the sense of the segment agrees with, or opposes, that of the parent curve. If SameSense is false, the point with highest parameter value is taken as the first point of the segment. /// @@ -24441,7 +24441,7 @@ public: ::Ifc4x3_add2::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_add2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24462,14 +24462,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > >& v); ::Ifc4x3_add2::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_add2::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24488,7 +24488,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24512,7 +24512,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24528,13 +24528,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24545,13 +24545,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x3_add2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24598,13 +24598,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x3_add2::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x3_add2::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24620,10 +24620,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24642,7 +24642,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x3_add2::IfcPlane BasisSurface() const; @@ -24654,7 +24654,7 @@ public: std::vector< ::Ifc4x3_add2::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x3_add2::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPlane v1_BasisSurface, ::Ifc4x3_add2::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_add2::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24681,7 +24681,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x3_add2::IfcSurface BasisSurface() const; @@ -24692,14 +24692,14 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_add2::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; class IFC_PARSE_API IfcCurveSegment : public IfcSegment { public: IfcCurveSegment() {} - explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} ::Ifc4x3_add2::IfcPlacement Placement() const; void setPlacement(const ::Ifc4x3_add2::IfcPlacement& v); @@ -24710,7 +24710,7 @@ public: ::Ifc4x3_add2::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_add2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::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); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -24723,20 +24723,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDirectrixCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixCurveSweptAreaSolid() {} - explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_add2::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_add2::IfcCurve& v); @@ -24745,7 +24745,7 @@ public: ::Ifc4x3_add2::IfcCurveMeasureSelect EndParam() const; void setEndParam(const ::Ifc4x3_add2::IfcCurveMeasureSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::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); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -24762,13 +24762,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x3_add2::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_add2::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -24851,7 +24851,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -24862,7 +24862,7 @@ public: std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -24890,13 +24890,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -24907,13 +24907,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x3_add2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_add2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -24935,7 +24935,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -24944,7 +24944,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -24956,7 +24956,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -24972,7 +24972,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -25046,7 +25046,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x3_add2::IfcDirection ExtrudedDirection() const; @@ -25056,7 +25056,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -25160,13 +25160,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x3_add2::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_add2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_add2::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -25184,13 +25184,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x3_add2::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x3_add2::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -25243,7 +25243,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x3_add2::IfcCurveStyle HatchLineAppearance() const; @@ -25269,7 +25269,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_add2::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_add2::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_add2::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -25280,7 +25280,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x3_add2::IfcVector > TilingPattern() const; @@ -25292,7 +25292,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_add2::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25356,13 +25356,13 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The direction providing the fixed axis1 (x-axis) direction for orienting the swept area during the sweeping operation along the Directrix. ::Ifc4x3_add2::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::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); }; /// Definition from IAI: The @@ -25396,10 +25396,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25442,7 +25442,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25450,7 +25450,7 @@ public: std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25517,13 +25517,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25536,10 +25536,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25608,7 +25608,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25630,45 +25630,45 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces std::vector< IfcTextureCoordinateIndices > HasTexCoords() const; // INVERSE IfcTextureCoordinateIndices::TexCoordsOf - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; class IFC_PARSE_API IfcIndexedPolygonalTextureMap : public IfcIndexedTextureMap { public: IfcIndexedPolygonalTextureMap() {} - explicit IfcIndexedPolygonalTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedPolygonalTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::vector< ::Ifc4x3_add2::IfcTextureCoordinateIndices > TexCoordIndices() const; void setTexCoordIndices(const std::vector< ::Ifc4x3_add2::IfcTextureCoordinateIndices >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_add2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_add2::IfcTextureVertexList v3_TexCoords, std::vector< ::Ifc4x3_add2::IfcTextureCoordinateIndices > v4_TexCoordIndices); }; /// IfcLShapeProfileDef @@ -25725,7 +25725,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -25746,7 +25746,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -25763,13 +25763,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -25788,7 +25788,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x3_add2::IfcCartesianPoint Pnt() const; @@ -25797,7 +25797,7 @@ public: ::Ifc4x3_add2::IfcVector Dir() const; void setDir(const ::Ifc4x3_add2::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCartesianPoint v1_Pnt, ::Ifc4x3_add2::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -25866,13 +25866,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x3_add2::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x3_add2::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -25960,7 +25960,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -25970,19 +25970,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add2::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_add2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -25999,7 +25999,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -26008,7 +26008,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -26029,7 +26029,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -26041,21 +26041,21 @@ public: ::Ifc4x3_add2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_add2::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x3_add2::IfcPointByDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x3_add2::IfcPointByDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add2::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -26068,14 +26068,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add2::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x3_add2::IfcSurface& v); ::Ifc4x3_add2::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x3_add2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSurface v1_BasisSurface, ::Ifc4x3_add2::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -26087,14 +26087,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x3_add2::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x3_add2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_add2::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -26136,17 +26136,17 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position); }; class IFC_PARSE_API IfcPolynomialCurve : public IfcCurve { public: IfcPolynomialCurve() {} - explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add2::IfcPlacement Position() const; void setPosition(const ::Ifc4x3_add2::IfcPlacement& v); @@ -26157,7 +26157,7 @@ public: std::optional< std::vector< double > /*[2:?]*/ > CoefficientsZ() const; void setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -26168,10 +26168,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -26184,10 +26184,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -26213,10 +26213,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -26235,14 +26235,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x3_add2::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -26288,7 +26288,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -26305,7 +26305,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26402,7 +26402,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x3_add2::IfcObjectPlacement ObjectPlacement() const; @@ -26414,7 +26414,7 @@ public: std::vector< IfcRelPositions > PositionedRelativeTo() const; // INVERSE IfcRelPositions::RelatedProducts std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26464,10 +26464,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26497,10 +26497,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_add2::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26610,7 +26610,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x3_add2::IfcValue UpperBoundValue() const; @@ -26627,7 +26627,7 @@ public: ::Ifc4x3_add2::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x3_add2::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::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); }; /// A property with an enumerated @@ -26710,7 +26710,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -26721,7 +26721,7 @@ public: ::Ifc4x3_add2::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x3_add2::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v3_EnumerationValues, ::Ifc4x3_add2::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -26792,7 +26792,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -26803,7 +26803,7 @@ public: ::Ifc4x3_add2::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_add2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v3_ListValues, ::Ifc4x3_add2::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -26824,7 +26824,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -26835,7 +26835,7 @@ public: ::Ifc4x3_add2::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x3_add2::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::string > v3_UsageName, ::Ifc4x3_add2::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -26894,13 +26894,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x3_add2::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_add2::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -26937,7 +26937,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -26960,7 +26960,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x3_add2::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -27010,7 +27010,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -27023,7 +27023,7 @@ public: ::Ifc4x3_add2::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_add2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_add2::IfcValue v3_NominalValue, ::Ifc4x3_add2::IfcUnit v4_Unit); }; /// A property with a range value @@ -27145,7 +27145,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -27172,7 +27172,7 @@ public: std::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_add2::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_add2::IfcUnit v6_DefiningUnit, ::Ifc4x3_add2::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_add2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -27202,12 +27202,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -27233,7 +27233,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -27245,7 +27245,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27339,7 +27339,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27351,7 +27351,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27372,7 +27372,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x3_add2::IfcSurface BasisSurface() const; @@ -27396,7 +27396,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27428,7 +27428,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27437,7 +27437,7 @@ public: std::vector< ::Ifc4x3_add2::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_add2::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_add2::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27454,7 +27454,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x3_add2::IfcObjectDefinition > RelatedObjects() const; @@ -27464,7 +27464,7 @@ public: std::optional< bool > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -27479,7 +27479,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x3_add2::IfcActor RelatingActor() const; @@ -27488,7 +27488,7 @@ public: ::Ifc4x3_add2::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x3_add2::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcActor v7_RelatingActor, ::Ifc4x3_add2::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -27499,13 +27499,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x3_add2::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x3_add2::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27524,13 +27524,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x3_add2::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x3_add2::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27545,13 +27545,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27579,7 +27579,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27590,7 +27590,7 @@ public: ::Ifc4x3_add2::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x3_add2::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_add2::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27604,7 +27604,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27612,7 +27612,7 @@ public: ::Ifc4x3_add2::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x3_add2::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -27624,7 +27624,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -27632,7 +27632,7 @@ public: ::Ifc4x3_add2::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x3_add2::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_add2::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -27679,7 +27679,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -27687,7 +27687,7 @@ public: std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_add2::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -27696,13 +27696,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x3_add2::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_add2::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -27738,13 +27738,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x3_add2::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x3_add2::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -27753,7 +27753,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -27762,7 +27762,7 @@ public: ::Ifc4x3_add2::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x3_add2::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_add2::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -27775,13 +27775,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x3_add2::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x3_add2::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -27794,13 +27794,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x3_add2::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x3_add2::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -27900,25 +27900,25 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x3_add2::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x3_add2::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcMaterialSelect v6_RelatingMaterial); }; class IFC_PARSE_API IfcRelAssociatesProfileDef : public IfcRelAssociates { public: IfcRelAssociatesProfileDef() {} - explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc4x3_add2::IfcProfileDef RelatingProfileDef() const; void setRelatingProfileDef(const ::Ifc4x3_add2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_add2::IfcProfileDef v6_RelatingProfileDef); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -27927,10 +27927,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -27958,7 +27958,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x3_add2::IfcConnectionGeometry ConnectionGeometry() const; @@ -27970,7 +27970,7 @@ public: ::Ifc4x3_add2::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_add2::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement v6_RelatingElement, ::Ifc4x3_add2::IfcElement v7_RelatedElement); }; /// The @@ -28006,7 +28006,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -28021,7 +28021,7 @@ public: ::Ifc4x3_add2::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x3_add2::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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); }; /// The objectified relationship @@ -28052,7 +28052,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x3_add2::IfcPort RelatingPort() const; @@ -28063,7 +28063,7 @@ public: ::Ifc4x3_add2::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_add2::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPort v5_RelatingPort, ::Ifc4x3_add2::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -28082,7 +28082,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x3_add2::IfcPort RelatingPort() const; @@ -28094,7 +28094,7 @@ public: ::Ifc4x3_add2::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x3_add2::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPort v5_RelatingPort, ::Ifc4x3_add2::IfcPort v6_RelatedPort, ::Ifc4x3_add2::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -28103,7 +28103,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x3_add2::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -28112,7 +28112,7 @@ public: ::Ifc4x3_add2::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x3_add2::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_add2::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -28142,7 +28142,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x3_add2::IfcStructuralMember RelatingStructuralMember() const; @@ -28163,7 +28163,7 @@ public: ::Ifc4x3_add2::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_add2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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, std::optional< double > v9_SupportedLength, ::Ifc4x3_add2::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -28186,13 +28186,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x3_add2::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x3_add2::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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, std::optional< double > v9_SupportedLength, ::Ifc4x3_add2::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_add2::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -28221,7 +28221,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x3_add2::IfcElement > RealizingElements() const; @@ -28230,7 +28230,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_add2::IfcElement v6_RelatingElement, ::Ifc4x3_add2::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_add2::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -28296,7 +28296,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -28307,7 +28307,7 @@ public: ::Ifc4x3_add2::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_add2::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcProduct > v5_RelatedElements, ::Ifc4x3_add2::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -28329,7 +28329,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28340,7 +28340,7 @@ public: std::vector< ::Ifc4x3_add2::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_add2::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_add2::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28372,7 +28372,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28383,7 +28383,7 @@ public: std::vector< ::Ifc4x3_add2::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_add2::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_add2::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28400,7 +28400,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x3_add2::IfcContext RelatingContext() const; @@ -28409,7 +28409,7 @@ public: std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x3_add2::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_add2::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28445,10 +28445,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -28481,10 +28481,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -28505,7 +28505,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x3_add2::IfcObject > RelatedObjects() const; @@ -28514,7 +28514,7 @@ public: ::Ifc4x3_add2::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x3_add2::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObject > v5_RelatedObjects, ::Ifc4x3_add2::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28535,7 +28535,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x3_add2::IfcObjectDefinition > RelatedObjects() const; @@ -28544,7 +28544,7 @@ public: ::Ifc4x3_add2::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x3_add2::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_add2::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28562,7 +28562,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28571,7 +28571,7 @@ public: ::Ifc4x3_add2::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x3_add2::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_add2::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -28646,7 +28646,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x3_add2::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_add2::IfcObject >& v); @@ -28654,7 +28654,7 @@ public: ::Ifc4x3_add2::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x3_add2::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcObject > v5_RelatedObjects, ::Ifc4x3_add2::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -28669,7 +28669,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x3_add2::IfcOpeningElement RelatingOpeningElement() const; @@ -28680,7 +28680,7 @@ public: ::Ifc4x3_add2::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x3_add2::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_add2::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -28693,7 +28693,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x3_add2::IfcDistributionControlElement > RelatedControlElements() const; @@ -28702,7 +28702,7 @@ public: ::Ifc4x3_add2::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x3_add2::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_add2::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -28755,7 +28755,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x3_add2::IfcInterferenceSelect RelatingElement() const; @@ -28775,7 +28775,7 @@ public: ::Ifc4x3_add2::IfcSpatialZone InterferenceSpace() const; void setInterferenceSpace(const ::Ifc4x3_add2::IfcSpatialZone& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_add2::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_add2::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder, ::Ifc4x3_add2::IfcSpatialZone v10_InterferenceSpace); }; /// The nesting relationship @@ -28806,7 +28806,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -28819,21 +28819,21 @@ public: std::vector< ::Ifc4x3_add2::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_add2::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelPositions : public IfcRelConnects { public: IfcRelPositions() {} - explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc4x3_add2::IfcPositioningElement RelatingPositioningElement() const; void setRelatingPositioningElement(const ::Ifc4x3_add2::IfcPositioningElement& v); std::vector< ::Ifc4x3_add2::IfcProduct > RelatedProducts() const; void setRelatedProducts(const std::vector< ::Ifc4x3_add2::IfcProduct >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_add2::IfcProduct > v6_RelatedProducts); }; /// The IfcRelProjectsElement is an objectified relationship @@ -28871,7 +28871,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x3_add2::IfcElement RelatingElement() const; @@ -28880,7 +28880,7 @@ public: ::Ifc4x3_add2::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x3_add2::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement v5_RelatingElement, ::Ifc4x3_add2::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -28935,7 +28935,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -28947,7 +28947,7 @@ public: ::Ifc4x3_add2::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_add2::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_add2::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_add2::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -29007,7 +29007,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x3_add2::IfcProcess RelatingProcess() const; @@ -29035,7 +29035,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcProcess v5_RelatingProcess, ::Ifc4x3_add2::IfcProcess v6_RelatedProcess, ::Ifc4x3_add2::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_add2::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -29062,7 +29062,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x3_add2::IfcSystem RelatingSystem() const; @@ -29075,7 +29075,7 @@ public: std::vector< ::Ifc4x3_add2::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x3_add2::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_add2::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -29243,7 +29243,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x3_add2::IfcSpaceBoundarySelect RelatingSpace() const; @@ -29267,7 +29267,7 @@ public: ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x3_add2::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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); }; /// The 1st level space boundary @@ -29320,14 +29320,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x3_add2::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29365,14 +29365,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x3_add2::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::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); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29385,14 +29385,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_add2::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x3_add2::IfcElement& v); ::Ifc4x3_add2::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x3_add2::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_add2::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29421,12 +29421,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_add2::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29445,7 +29445,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29460,7 +29460,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -29542,7 +29542,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x3_add2::IfcAxis1Placement Axis() const; @@ -29551,7 +29551,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29615,12 +29615,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x3_add2::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_add2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptArea, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_add2::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -29691,7 +29691,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -29700,7 +29700,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -29787,7 +29787,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -29796,40 +29796,40 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x3_add2::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_add2::IfcCurve& v); std::vector< ::Ifc4x3_add2::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_add2::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add2::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x3_add2::IfcAxis2PlacementLinear > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_add2::IfcAxis2PlacementLinear >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_add2::IfcAxis2PlacementLinear > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSectionedSurface : public IfcSurface { public: IfcSectionedSurface() {} - explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} ::Ifc4x3_add2::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_add2::IfcCurve& v); @@ -29838,7 +29838,7 @@ public: std::vector< ::Ifc4x3_add2::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_add2::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_add2::IfcAxis2PlacementLinear > v2_CrossSectionPositions, std::vector< ::Ifc4x3_add2::IfcProfileDef > v3_CrossSections); }; /// The IfcSimplePropertyTemplate defines the template for @@ -29889,7 +29889,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -29939,7 +29939,7 @@ public: std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x3_add2::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_add2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_add2::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_add2::IfcUnit v9_PrimaryUnit, ::Ifc4x3_add2::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_add2::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -29976,7 +29976,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -29989,7 +29989,7 @@ public: std::vector< IfcRelInterferesElements > IsInterferedByElements() const; // INVERSE IfcRelInterferesElements::RelatedElement std::vector< IfcRelInterferesElements > InterferesElements() const; // INVERSE IfcRelInterferesElements::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -30026,13 +30026,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -30112,7 +30112,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -30121,7 +30121,7 @@ public: std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -30161,10 +30161,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -30219,13 +30219,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -30261,7 +30261,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -30269,7 +30269,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -30325,37 +30325,37 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSpiral : public IfcCurve { public: IfcSpiral() {} - explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add2::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_add2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30454,7 +30454,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -30482,7 +30482,7 @@ public: void setGlobalOrLocal(const ::Ifc4x3_add2::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -30575,11 +30575,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -30589,11 +30589,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30619,10 +30619,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -30648,7 +30648,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -30657,7 +30657,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -30681,10 +30681,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -30712,13 +30712,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -30735,20 +30735,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_add2::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x3_add2::IfcCurve& v); @@ -30757,7 +30757,7 @@ public: ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -30825,13 +30825,13 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The surface containing the Directrix. ::Ifc4x3_add2::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x3_add2::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::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); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -30850,7 +30850,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x3_add2::IfcDirection ExtrudedDirection() const; @@ -30859,7 +30859,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -30882,13 +30882,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x3_add2::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x3_add2::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_add2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_add2::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -30924,12 +30924,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -31180,7 +31180,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -31222,7 +31222,7 @@ public: std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_add2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_add2::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -31268,7 +31268,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -31278,28 +31278,28 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_add2::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x3_add2::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x3_add2::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcThirdOrderPolynomialSpiral : public IfcSpiral { public: IfcThirdOrderPolynomialSpiral() {} - explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double CubicTerm() const; void setCubicTerm(const double& v); @@ -31310,38 +31310,38 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; class IFC_PARSE_API IfcTransportationDeviceType : public IfcElementType { public: IfcTransportationDeviceType() {} - explicit IfcTransportationDeviceType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportationDeviceType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31352,31 +31352,31 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; class IFC_PARSE_API IfcVehicleType : public IfcTransportationDeviceType { public: IfcVehicleType() {} - explicit IfcVehicleType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} + explicit IfcVehicleType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} ::Ifc4x3_add2::IfcVehicleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcVehicleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVehicleTypeEnum::Value v10_PredefinedType); }; /// The window lining is the outer @@ -31480,7 +31480,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -31527,7 +31527,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_add2::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31578,7 +31578,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -31598,7 +31598,7 @@ public: ::Ifc4x3_add2::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_add2::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -31619,14 +31619,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x3_add2::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x3_add2::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -31665,10 +31665,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -31695,12 +31695,12 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x3_add2::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_add2::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_add2::IfcClosedShell > v2_Voids); }; /// Definition from IAI: An annotation is a graphical @@ -31879,13 +31879,13 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcAnnotationTypeEnum::Value > v8_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -31960,7 +31960,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -31984,7 +31984,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_add2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -31997,7 +31997,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -32015,7 +32015,7 @@ public: ::Ifc4x3_add2::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_add2::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > 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); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -32118,7 +32118,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -32130,7 +32130,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -32143,10 +32143,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_add2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_add2::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -32162,10 +32162,10 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The building storey has an @@ -32348,23 +32348,23 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; class IFC_PARSE_API IfcBuiltElementType : public IfcElementType { public: IfcBuiltElementType() {} - explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The IfcChimneyType @@ -32395,13 +32395,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuiltElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x3_add2::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32425,35 +32425,35 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_add2::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcClothoid : public IfcSpiral { public: IfcClothoid() {} - explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} double ClothoidConstant() const; void setClothoidConstant(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_ClothoidConstant); }; /// Definition from IAI: The element type @@ -32557,13 +32557,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuiltElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x3_add2::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -32577,7 +32577,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -32587,7 +32587,7 @@ public: std::optional< std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_add2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -32659,7 +32659,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x3_add2::IfcSegment > Segments() const; @@ -32668,7 +32668,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -32685,10 +32685,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -32699,13 +32699,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x3_add2::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_add2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -32724,13 +32724,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -32749,13 +32749,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -32774,13 +32774,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -32858,7 +32858,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x3_add2::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x3_add2::IfcResourceTime& v); @@ -32867,7 +32867,7 @@ public: ::Ifc4x3_add2::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_add2::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -32883,7 +32883,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -32893,21 +32893,21 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; class IFC_PARSE_API IfcCosineSpiral : public IfcSpiral { public: IfcCosineSpiral() {} - explicit IfcCosineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcCosineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double CosineTerm() const; void setCosineTerm(const double& v); std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -32949,7 +32949,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -32971,7 +32971,7 @@ public: std::optional< std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_add2::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_add2::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -33000,7 +33000,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -33027,19 +33027,19 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; class IFC_PARSE_API IfcCourseType : public IfcBuiltElementType { public: IfcCourseType() {} - explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add2::IfcCourseTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCourseTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCourseTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -33124,13 +33124,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuiltElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x3_add2::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -33146,14 +33146,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -33180,13 +33180,13 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuiltElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -33246,33 +33246,33 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcDeepFoundationType : public IfcBuiltElementType { public: IfcDeepFoundationType() {} - explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcDirectrixDerivedReferenceSweptAreaSolid : public IfcFixedReferenceSweptAreaSolid { public: IfcDirectrixDerivedReferenceSweptAreaSolid() {} - explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} + explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::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); }; /// Definition from IAI: The @@ -33306,10 +33306,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33380,10 +33380,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33484,7 +33484,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -33532,7 +33532,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_add2::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -33583,7 +33583,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -33603,7 +33603,7 @@ public: ::Ifc4x3_add2::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_add2::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_add2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_add2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_add2::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -33737,7 +33737,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuiltElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x3_add2::IfcDoorTypeEnum::Value PredefinedType() const; @@ -33750,7 +33750,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -33828,10 +33828,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -33850,10 +33850,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -33912,7 +33912,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -33930,7 +33930,7 @@ public: std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement std::vector< IfcRelAdheresToElement > HasSurfaceFeatures() const; // INVERSE IfcRelAdheresToElement::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -34030,7 +34030,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -34041,7 +34041,7 @@ public: std::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -34069,13 +34069,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -34158,10 +34158,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -34176,10 +34176,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -34212,7 +34212,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -34221,7 +34221,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -34250,10 +34250,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -34285,12 +34285,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_add2::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -34322,13 +34322,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34360,13 +34360,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34449,7 +34449,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34468,7 +34468,7 @@ public: ::Ifc4x3_add2::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x3_add2::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add2::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_add2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_add2::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34479,10 +34479,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -34512,10 +34512,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -34545,47 +34545,47 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x3_add2::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_add2::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_add2::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcFacility : public IfcSpatialStructureElement { public: IfcFacility() {} - explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType); }; class IFC_PARSE_API IfcFacilityPart : public IfcSpatialStructureElement { public: IfcFacilityPart() {} - explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} ::Ifc4x3_add2::IfcFacilityUsageEnum::Value UsageType() const; void setUsageType(const ::Ifc4x3_add2::IfcFacilityUsageEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType); }; class IFC_PARSE_API IfcFacilityPartCommon : public IfcFacilityPart { public: IfcFacilityPartCommon() {} - explicit IfcFacilityPartCommon (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcFacilityPartCommon (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: @@ -34599,13 +34599,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -34634,13 +34634,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x3_add2::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -34740,10 +34740,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -34804,11 +34804,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -34864,11 +34864,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -34896,10 +34896,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -34928,10 +34928,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -34969,13 +34969,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -35003,10 +35003,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -35043,10 +35043,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -35059,10 +35059,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -35075,10 +35075,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -35092,10 +35092,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -35110,13 +35110,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuiltElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Subtype of footing. ::Ifc4x3_add2::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -35226,10 +35226,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -35266,12 +35266,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35417,49 +35417,49 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalElement : public IfcElement { public: IfcGeotechnicalElement() {} - explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeotechnicalStratum : public IfcGeotechnicalElement { public: IfcGeotechnicalStratum() {} - explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} std::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGradientCurve : public IfcCompositeCurve { public: IfcGradientCurve() {} - explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_add2::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_add2::IfcBoundedCurve& v); ::Ifc4x3_add2::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_add2::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add2::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_add2::IfcPlacement v4_EndPoint); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35495,12 +35495,12 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35535,13 +35535,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -35573,44 +35573,44 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDevice : public IfcElementComponent { public: IfcImpactProtectionDevice() {} - explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDeviceType : public IfcElementComponentType { public: IfcImpactProtectionDeviceType() {} - explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_add2::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x3_add2::IfcCartesianPointList& v); @@ -35619,7 +35619,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_add2::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -35658,22 +35658,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -35690,7 +35690,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -35715,7 +35715,7 @@ public: ::Ifc4x3_add2::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x3_add2::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_add2::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_add2::IfcCostValue v10_CurrentValue, ::Ifc4x3_add2::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -35748,25 +35748,25 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcKerbType : public IfcBuiltElementType { public: IfcKerbType() {} - explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add2::IfcKerbTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcKerbTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcKerbTypeEnum::Value v10_PredefinedType); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -35796,14 +35796,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -35838,13 +35838,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x3_add2::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -35881,59 +35881,59 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLinearElement : public IfcProduct { public: IfcLinearElement() {} - explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminalType : public IfcFlowTerminalType { public: IfcLiquidTerminalType() {} - explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMarineFacility : public IfcFacility { public: IfcMarineFacility() {} - explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcMarinePart : public IfcFacilityPart { public: IfcMarinePart() {} - explicit IfcMarinePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcMarinePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcMarinePartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -35968,7 +35968,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -35978,7 +35978,7 @@ public: std::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -36019,7 +36019,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -36031,7 +36031,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -36063,12 +36063,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -36175,37 +36175,37 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuiltElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x3_add2::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMemberTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsApplianceType : public IfcFlowTerminalType { public: IfcMobileTelecommunicationsApplianceType() {} - explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMooringDeviceType : public IfcBuiltElementType { public: IfcMooringDeviceType() {} - explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -36238,25 +36238,25 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcNavigationElementType : public IfcBuiltElementType { public: IfcNavigationElementType() {} - explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -36269,7 +36269,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -36277,7 +36277,7 @@ public: std::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_add2::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -36485,7 +36485,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36494,7 +36494,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -36529,25 +36529,25 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x3_add2::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcOutletTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPavementType : public IfcBuiltElementType { public: IfcPavementType() {} - explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add2::IfcPavementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcPavementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPavementTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -36558,7 +36558,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -36569,7 +36569,7 @@ public: std::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_add2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -36606,7 +36606,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -36624,7 +36624,7 @@ public: ::Ifc4x3_add2::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_add2::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_add2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_add2::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -36667,7 +36667,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -36685,7 +36685,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -36698,13 +36698,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcDeepFoundationType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} /// Subtype of pile. ::Ifc4x3_add2::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -36739,13 +36739,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -36784,13 +36784,13 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -36873,20 +36873,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuiltElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x3_add2::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -36895,7 +36895,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_add2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -36915,13 +36915,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x3_add2::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x3_add2::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -36980,25 +36980,25 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelPositions > Positions() const; // INVERSE IfcRelPositions::RelatingPositioningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -37108,14 +37108,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_add2::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -37164,7 +37164,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37186,7 +37186,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -37299,7 +37299,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37307,7 +37307,7 @@ public: std::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -37348,13 +37348,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -37388,25 +37388,25 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x3_add2::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcPumpTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailType : public IfcBuiltElementType { public: IfcRailType() {} - explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add2::IfcRailTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcRailTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -37432,37 +37432,37 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuiltElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x3_add2::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRailingTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailway : public IfcFacility { public: IfcRailway() {} - explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcRailwayTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcRailwayPart : public IfcFacilityPart { public: IfcRailwayPart() {} - explicit IfcRailwayPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcRailwayPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcRailwayPartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -37488,13 +37488,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuiltElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -37533,13 +37533,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuiltElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x3_add2::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -37558,25 +37558,25 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_add2::IfcCartesianPoint > > 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); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcReferentTypeEnum::Value > v8_PredefinedType); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37590,12 +37590,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37604,10 +37604,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37637,7 +37637,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -37659,7 +37659,7 @@ public: std::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37676,7 +37676,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -37710,21 +37710,21 @@ public: std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > v20_BendingParameters); }; class IFC_PARSE_API IfcRelAdheresToElement : public IfcRelDecomposes { public: IfcRelAdheresToElement() {} - explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_add2::IfcElement RelatingElement() const; void setRelatingElement(const ::Ifc4x3_add2::IfcElement& v); std::vector< ::Ifc4x3_add2::IfcSurfaceFeature > RelatedSurfaceFeatures() const; void setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3_add2::IfcSurfaceFeature >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3_add2::IfcSurfaceFeature > v6_RelatedSurfaceFeatures); }; /// The aggregation relationship @@ -37752,7 +37752,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -37765,31 +37765,31 @@ public: std::vector< ::Ifc4x3_add2::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_add2::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_add2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_add2::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRoad : public IfcFacility { public: IfcRoad() {} - explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcRoadTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcRoadPart : public IfcFacilityPart { public: IfcRoadPart() {} - explicit IfcRoadPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcRoadPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcRoadPartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type @@ -37827,13 +37827,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuiltElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x3_add2::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -37876,30 +37876,30 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_add2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_add2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; class IFC_PARSE_API IfcSecondOrderPolynomialSpiral : public IfcSpiral { public: IfcSecondOrderPolynomialSpiral() {} - explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double QuadraticTerm() const; void setQuadraticTerm(const double& v); @@ -37908,28 +37908,28 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; class IFC_PARSE_API IfcSegmentedReferenceCurve : public IfcCompositeCurve { public: IfcSegmentedReferenceCurve() {} - explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_add2::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_add2::IfcBoundedCurve& v); ::Ifc4x3_add2::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_add2::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_add2::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_add2::IfcPlacement v4_EndPoint); }; class IFC_PARSE_API IfcSeventhOrderPolynomialSpiral : public IfcSpiral { public: IfcSeventhOrderPolynomialSpiral() {} - explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double SepticTerm() const; void setSepticTerm(const double& v); @@ -37948,7 +37948,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm); }; /// Definition from IAI: The IfcShadingDeviceType @@ -37975,56 +37975,56 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuiltElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSign : public IfcElementComponent { public: IfcSign() {} - explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSignTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignType : public IfcElementComponentType { public: IfcSignType() {} - explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_add2::IfcSignTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcSignTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSignalType : public IfcFlowTerminalType { public: IfcSignalType() {} - explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add2::IfcSignalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcSignalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSignalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSineSpiral : public IfcSpiral { public: IfcSineSpiral() {} - explicit IfcSineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double SineTerm() const; void setSineTerm(const double& v); @@ -38033,7 +38033,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -38228,7 +38228,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -38249,7 +38249,7 @@ public: ::Ifc4x3_add2::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x3_add2::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_add2::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -38332,13 +38332,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuiltElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x3_add2::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -38370,12 +38370,12 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; /// A space represents an area or volume @@ -38631,7 +38631,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -38646,7 +38646,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -38682,13 +38682,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -38775,7 +38775,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x3_add2::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -38783,7 +38783,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -38815,13 +38815,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -38847,13 +38847,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuiltElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38892,13 +38892,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuiltElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x3_add2::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -38923,13 +38923,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -38938,14 +38938,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x3_add2::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x3_add2::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -39007,7 +39007,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39016,7 +39016,7 @@ public: ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -39039,12 +39039,12 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} ::Ifc4x3_add2::IfcDirection AxisDirection() const; void setAxisDirection(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -39087,7 +39087,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_add2::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -39098,7 +39098,7 @@ public: ::Ifc4x3_add2::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_add2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -39124,10 +39124,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -39183,13 +39183,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -39202,10 +39202,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -39244,7 +39244,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -39264,7 +39264,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -39315,10 +39315,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -39337,13 +39337,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x3_add2::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_add2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -39392,10 +39392,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -39405,7 +39405,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -39418,7 +39418,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_add2::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -39476,7 +39476,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39485,7 +39485,7 @@ public: ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -39503,10 +39503,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -39536,14 +39536,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -39581,14 +39581,14 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value >& v); std::vector< IfcRelAdheresToElement > AdheresToElement() const; // INVERSE IfcRelAdheresToElement::RelatedSurfaceFeatures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -39634,13 +39634,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -39663,12 +39663,12 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem std::vector< IfcRelReferencedInSpatialStructure > ServicesFacilities() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -39698,12 +39698,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -39741,20 +39741,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x3_add2::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value >& v); @@ -39773,62 +39773,62 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add2::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduit : public IfcReinforcingElement { public: IfcTendonConduit() {} - explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduitType : public IfcReinforcingElementType { public: IfcTendonConduitType() {} - explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_add2::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcTendonTypeEnum::Value& v); @@ -39839,19 +39839,19 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; class IFC_PARSE_API IfcTrackElementType : public IfcBuiltElementType { public: IfcTrackElementType() {} - explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -39884,13 +39884,13 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x3_add2::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransformerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -39959,23 +39959,23 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcTransportationDeviceType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTransportationDevice : public IfcElement { public: IfcTransportationDevice() {} - explicit IfcTransportationDevice (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportationDevice (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from ISO/CD 10303-42:1992: @@ -40059,7 +40059,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x3_add2::IfcCurve BasisCurve() const; @@ -40077,7 +40077,7 @@ public: ::Ifc4x3_add2::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_add2::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_add2::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_add2::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_add2::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -40112,13 +40112,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -40152,13 +40152,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -40202,49 +40202,49 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x3_add2::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcValveTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVehicle : public IfcTransportationDevice { public: IfcVehicle() {} - explicit IfcVehicle (const std::weak_ptr& data) : IfcTransportationDevice(data) {} + explicit IfcVehicle (const std::weak_ptr& data) : IfcTransportationDevice(data) {} std::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVehicleTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamper : public IfcElementComponent { public: IfcVibrationDamper() {} - explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamperType : public IfcElementComponentType { public: IfcVibrationDamperType() {} - explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationDamperTypeEnum::Value v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -40284,12 +40284,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -40317,13 +40317,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -40415,12 +40415,12 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} std::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVirtualElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -40458,13 +40458,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -40554,13 +40554,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuiltElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x3_add2::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -40602,13 +40602,13 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -40735,7 +40735,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuiltElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x3_add2::IfcWindowTypeEnum::Value PredefinedType() const; @@ -40748,7 +40748,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -40767,7 +40767,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -40786,7 +40786,7 @@ public: std::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_add2::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_add2::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_add2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -40836,7 +40836,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -40860,7 +40860,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -40891,14 +40891,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -40944,14 +40944,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_add2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_add2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -41042,7 +41042,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -41052,7 +41052,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -41096,7 +41096,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -41118,7 +41118,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_add2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -41150,13 +41150,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -41188,12 +41188,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -41225,57 +41225,57 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentCant : public IfcLinearElement { public: IfcAlignmentCant() {} - explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} double RailHeadDistance() const; void setRailHeadDistance(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance); }; class IFC_PARSE_API IfcAlignmentHorizontal : public IfcLinearElement { public: IfcAlignmentHorizontal() {} - explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcAlignmentSegment : public IfcLinearElement { public: IfcAlignmentSegment() {} - explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} ::Ifc4x3_add2::IfcAlignmentParameterSegment DesignParameters() const; void setDesignParameters(const ::Ifc4x3_add2::IfcAlignmentParameterSegment& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, ::Ifc4x3_add2::IfcAlignmentParameterSegment v8_DesignParameters); }; class IFC_PARSE_API IfcAlignmentVertical : public IfcLinearElement { public: IfcAlignmentVertical() {} - explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -41305,7 +41305,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -41340,7 +41340,7 @@ public: ::Ifc4x3_add2::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x3_add2::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::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, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_add2::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -41388,13 +41388,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -41449,7 +41449,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -41467,7 +41467,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_add2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_add2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -41490,7 +41490,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -41502,7 +41502,7 @@ public: ::Ifc4x3_add2::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_add2::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_add2::IfcCartesianPoint > 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); }; /// Definition from IAI: The element type @@ -41606,25 +41606,25 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuiltElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x3_add2::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBearingType : public IfcBuiltElementType { public: IfcBearingType() {} - explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_add2::IfcBearingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcBearingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBearingTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -41659,13 +41659,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x3_add2::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -41678,34 +41678,34 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; class IFC_PARSE_API IfcBridge : public IfcFacility { public: IfcBridge() {} - explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_add2::IfcBridgeTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcBridgePart : public IfcFacilityPart { public: IfcBridgePart() {} - explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_add2::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_add2::IfcBridgePartTypeEnum::Value > v11_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -41885,7 +41885,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcFacility { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -41897,7 +41897,7 @@ public: ::Ifc4x3_add2::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x3_add2::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_add2::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: Layers or major components as subordinate @@ -41920,13 +41920,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -41936,13 +41936,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: @@ -41982,13 +41982,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuiltElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -42030,7 +42030,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -42038,31 +42038,31 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; class IFC_PARSE_API IfcBuiltElement : public IfcElement { public: IfcBuiltElement() {} - explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcBuiltSystem : public IfcSystem { public: IfcBuiltSystem() {} - explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} std::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value >& v); std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_add2::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42095,12 +42095,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_add2::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42132,13 +42132,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42176,13 +42176,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42216,13 +42216,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42269,25 +42269,25 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundationType : public IfcDeepFoundationType { public: IfcCaissonFoundationType() {} - explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -42325,13 +42325,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x3_add2::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42378,14 +42378,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuiltElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42418,23 +42418,23 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_add2::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -42467,13 +42467,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x3_add2::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -42750,7 +42750,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuiltElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -42759,7 +42759,7 @@ public: std::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -42797,13 +42797,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -42836,13 +42836,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x3_add2::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -42875,13 +42875,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x3_add2::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -42909,14 +42909,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -42948,14 +42948,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -42976,26 +42976,26 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_add2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_add2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_add2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_add2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegmentType : public IfcFlowSegmentType { public: IfcConveyorSegmentType() {} - explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -43030,13 +43030,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -43075,25 +43075,25 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCourse : public IfcBuiltElement { public: IfcCourse() {} - explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCourseTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -43323,7 +43323,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuiltElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -43331,7 +43331,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -43475,7 +43475,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuiltElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -43484,7 +43484,7 @@ public: std::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -43524,23 +43524,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x3_add2::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDeepFoundation : public IfcBuiltElement { public: IfcDeepFoundation() {} - explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Representation of different kinds of @@ -43719,13 +43719,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -43919,25 +43919,25 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoardType : public IfcFlowControllerType { public: IfcDistributionBoardType() {} - explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -43980,13 +43980,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -44046,10 +44046,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -44217,11 +44217,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -44295,11 +44295,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -44387,7 +44387,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -44398,7 +44398,7 @@ public: std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_add2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -44444,7 +44444,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -44455,7 +44455,7 @@ public: std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -44817,7 +44817,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuiltElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -44845,7 +44845,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -44880,13 +44880,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -44921,13 +44921,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -44959,47 +44959,47 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcEarthworksCut : public IfcFeatureElementSubtraction { public: IfcEarthworksCut() {} - explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcEarthworksElement : public IfcBuiltElement { public: IfcEarthworksElement() {} - explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcEarthworksFill : public IfcEarthworksElement { public: IfcEarthworksFill() {} - explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -45034,13 +45034,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -45073,13 +45073,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -45112,25 +45112,25 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDeviceType : public IfcFlowTreatmentDeviceType { public: IfcElectricFlowTreatmentDeviceType() {} - explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -45168,13 +45168,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -45207,13 +45207,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -45246,13 +45246,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -45267,10 +45267,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -45317,12 +45317,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -45372,12 +45372,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -45447,12 +45447,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -45473,14 +45473,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_add2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -45514,13 +45514,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x3_add2::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -45555,13 +45555,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x3_add2::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -45600,13 +45600,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -45621,10 +45621,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -45635,10 +45635,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -45674,13 +45674,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -45766,12 +45766,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -45782,10 +45782,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -45814,10 +45814,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -45832,10 +45832,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -45852,10 +45852,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -45866,10 +45866,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -45897,7 +45897,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuiltElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// The generic type of the footing. /// @@ -45905,17 +45905,17 @@ public: std::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFootingTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalAssembly : public IfcGeotechnicalElement { public: IfcGeotechnicalAssembly() {} - explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// IfcGrid ia a planar design @@ -46017,7 +46017,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x3_add2::IfcGridAxis > UAxes() const; @@ -46031,7 +46031,7 @@ public: std::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_add2::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_add2::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_add2::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_add2::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -46087,12 +46087,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -46141,12 +46141,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -46209,12 +46209,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -46286,24 +46286,24 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcKerb : public IfcBuiltElement { public: IfcKerb() {} - explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcKerbTypeEnum::Value > v9_PredefinedType); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -46356,12 +46356,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -46433,34 +46433,34 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminal : public IfcFlowTerminal { public: IfcLiquidTerminal() {} - explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -46510,12 +46510,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -46771,7 +46771,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuiltElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -46780,31 +46780,31 @@ public: std::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMemberTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsAppliance : public IfcFlowTerminal { public: IfcMobileTelecommunicationsAppliance() {} - explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMooringDevice : public IfcBuiltElement { public: IfcMooringDevice() {} - explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -46851,24 +46851,24 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcNavigationElement : public IfcBuiltElement { public: IfcNavigationElement() {} - explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcNavigationElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -46879,10 +46879,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_add2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -46954,24 +46954,24 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcOutletTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcPavement : public IfcBuiltElement { public: IfcPavement() {} - explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPavementTypeEnum::Value > v9_PredefinedType); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -46995,7 +46995,7 @@ public: class IFC_PARSE_API IfcPile : public IfcDeepFoundation { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} /// The predefined generic type of the pile according to function. /// @@ -47008,7 +47008,7 @@ public: std::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_add2::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -47099,12 +47099,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -47170,12 +47170,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -47409,7 +47409,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuiltElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -47418,7 +47418,7 @@ public: std::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -47500,12 +47500,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -47551,13 +47551,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -47612,24 +47612,24 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcPumpTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcRail : public IfcBuiltElement { public: IfcRail() {} - explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRailTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -47767,7 +47767,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuiltElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -47775,7 +47775,7 @@ public: std::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -47914,7 +47914,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuiltElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -47924,7 +47924,7 @@ public: std::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -48118,7 +48118,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuiltElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -48127,7 +48127,7 @@ public: std::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -48169,25 +48169,25 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_add2::IfcCartesianPoint > 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); }; class IFC_PARSE_API IfcReinforcedSoil : public IfcEarthworksElement { public: IfcReinforcedSoil() {} - explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48221,7 +48221,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -48235,7 +48235,7 @@ public: std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48257,7 +48257,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -48279,7 +48279,7 @@ public: std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_add2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_add2::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -48430,7 +48430,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuiltElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -48438,7 +48438,7 @@ public: std::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -48570,12 +48570,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -48629,13 +48629,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x3_add2::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -48655,26 +48655,26 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuiltElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignal : public IfcFlowTerminal { public: IfcSignal() {} - explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSignalTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -48940,7 +48940,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuiltElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -48949,7 +48949,7 @@ public: std::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -49002,12 +49002,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -49075,12 +49075,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -49136,12 +49136,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -49312,7 +49312,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuiltElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -49320,7 +49320,7 @@ public: std::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -49493,7 +49493,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuiltElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -49519,7 +49519,7 @@ public: std::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_add2::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -49548,7 +49548,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -49579,7 +49579,7 @@ public: ::Ifc4x3_add2::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x3_add2::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_add2::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_add2::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_add2::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -49588,7 +49588,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -49598,7 +49598,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_add2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_add2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -49611,10 +49611,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::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, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_add2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_add2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -49708,12 +49708,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -49779,24 +49779,24 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTankTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcTrackElement : public IfcBuiltElement { public: IfcTrackElement() {} - explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTrackElementTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -49844,12 +49844,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: Generalization of all transport @@ -49971,7 +49971,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcTransportationDevice { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcTransportationDevice(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcTransportationDevice(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -49979,7 +49979,7 @@ public: std::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTransportElementTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -50032,12 +50032,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -50069,13 +50069,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -50153,12 +50153,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -50350,12 +50350,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -50603,7 +50603,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuiltElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -50612,7 +50612,7 @@ public: std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -50820,10 +50820,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -50933,12 +50933,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -51302,7 +51302,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuiltElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -51330,7 +51330,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_add2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_add2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -51367,13 +51367,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x3_add2::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -51436,12 +51436,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -51489,12 +51489,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -51545,12 +51545,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -51582,25 +51582,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x3_add2::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_add2::IfcAlignmentTypeEnum::Value > v8_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -51784,12 +51784,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -52032,7 +52032,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuiltElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -52041,19 +52041,19 @@ public: std::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBeamTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBearing : public IfcBuiltElement { public: IfcBearing() {} - explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBearingTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -52128,22 +52128,22 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBorehole : public IfcGeotechnicalAssembly { public: IfcBorehole() {} - explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -52339,12 +52339,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuiltElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -52391,12 +52391,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -52463,13 +52463,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -52534,13 +52534,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -52620,13 +52620,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -52719,25 +52719,25 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundation : public IfcDeepFoundation { public: IfcCaissonFoundation() {} - explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} std::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -52812,12 +52812,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -52889,12 +52889,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -53002,12 +53002,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -53059,12 +53059,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -53136,12 +53136,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -53183,25 +53183,25 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x3_add2::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_add2::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_add2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_add2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_add2::IfcControllerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegment : public IfcFlowSegment { public: IfcConveyorSegment() {} - explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -53256,12 +53256,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -53324,12 +53324,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -53406,24 +53406,24 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoard : public IfcFlowController { public: IfcDistributionBoard() {} - explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -53460,22 +53460,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_add2::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -53559,11 +53559,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -53644,12 +53644,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -53704,12 +53704,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -53757,12 +53757,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -53866,12 +53866,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -53934,12 +53934,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -53986,24 +53986,24 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDevice : public IfcFlowTreatmentDevice { public: IfcElectricFlowTreatmentDevice() {} - explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -54056,12 +54056,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -54108,12 +54108,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -54160,12 +54160,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -54225,12 +54225,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -54323,12 +54323,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -54400,12 +54400,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -54463,32 +54463,32 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeomodel : public IfcGeotechnicalAssembly { public: IfcGeomodel() {} - explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeoslice : public IfcGeotechnicalAssembly { public: IfcGeoslice() {} - explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Entity Definition @@ -54546,12 +54546,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -54691,12 +54691,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -54757,12 +54757,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -54830,12 +54830,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -54883,12 +54883,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -55000,12 +55000,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_add2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_add2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_add2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_add2::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x3_rc1-schema.cpp b/src/ifcparse/schemas/Ifc4x3_rc1-schema.cpp index 8c190e7830..6b175b947f 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc1-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc1-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x3_rc1.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X3_RC1_types[1317] = {nullptr}; -IfcParse::schema_definition* IFC4X3_RC1_populate_schema() { +ifcopenshell::schema_definition* IFC4X3_RC1_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"DEAD_LOAD_G"s,"COMPLETION_G1"s,"LIVE_LOAD_Q"s,"SNOW_S"s,"WIND_W"s,"PRESTRESSING_P"s,"SETTLEMENT_U"s,"TEMPERATURE_T"s,"EARTHQUAKE_E"s,"FIRE"s,"IMPULSE"s,"IMPACT"s,"TRANSPORT"s,"ERECTION"s,"PROPPING"s,"SYSTEM_IMPERFECTION"s,"SHRINKAGE"s,"CREEP"s,"LACK_OF_FIT"s,"BUOYANCY"s,"ICE"s,"CURRENT"s,"WAVE"s,"RAIN"s,"BRAKES"s,"IfcActionTypeEnum"s,"PERMANENT_G"s,"VARIABLE_Q"s,"EXTRAORDINARY_A"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"OFFICE"s,"SITE"s,"HOME"s,"DISTRIBUTIONPOINT"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"HEATPIPE"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"SIREN"s,"WHISTLE"s,"RAILWAYCROCODILE"s,"RAILWAYDETONATOR"s,"IfcAlignmentTypeEnum"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"OUT_PLANE_LOADING_2D"s,"LOADING_3D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAnnotationTypeEnum"s,"ASSUMEDPOINT"s,"ASBUILTAREA"s,"ASBUILTLINE"s,"NON_PHYSICAL_SIGNAL"s,"ASSUMEDLINE"s,"WIDTHEVENT"s,"ASSUMEDAREA"s,"SUPERELEVATIONEVENT"s,"ASBUILTPOINT"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"RAILWAY_COMMUNICATION_TERMINAL"s,"IfcBSplineCurveForm"s,"POLYLINE_FORM"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"PARABOLIC_ARC"s,"HYPERBOLIC_ARC"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"PLANE_SURF"s,"CYLINDRICAL_SURF"s,"CONICAL_SURF"s,"SPHERICAL_SURF"s,"TOROIDAL_SURF"s,"SURF_OF_REVOLUTION"s,"RULED_SURF"s,"GENERALISED_CONE"s,"QUADRIC_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"IfcBeamTypeEnum"s,"BEAM"s,"JOIST"s,"HOLLOWCORE"s,"LINTEL"s,"SPANDREL"s,"T_BEAM"s,"GIRDER_SEGMENT"s,"DIAPHRAGM"s,"PIERCAP"s,"HATSTONE"s,"CORNICE"s,"EDGEBEAM"s,"IfcBearingTypeDisplacementEnum"s,"FIXED_MOVEMENT"s,"GUIDED_LONGITUDINAL"s,"GUIDED_TRANSVERSAL"s,"FREE_MOVEMENT"s,"IfcBearingTypeEnum"s,"CYLINDRICAL"s,"SPHERICAL"s,"ELASTOMERIC"s,"POT"s,"GUIDE"s,"ROCKER"s,"ROLLER"s,"DISK"s,"IfcBenchmarkEnum"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"EQUALTO"s,"NOTEQUALTO"s,"INCLUDES"s,"NOTINCLUDES"s,"INCLUDEDIN"s,"NOTINCLUDEDIN"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"WATER"s,"STEAM"s,"IfcBoolean"s,"IfcBooleanOperator"s,"UNION"s,"INTERSECTION"s,"DIFFERENCE"s,"IfcBridgePartTypeEnum"s,"ABUTMENT"s,"DECK"s,"DECK_SEGMENT"s,"FOUNDATION"s,"PIER"s,"PIER_SEGMENT"s,"PYLON"s,"SUBSTRUCTURE"s,"SUPERSTRUCTURE"s,"SURFACESTRUCTURE"s,"IfcBridgeTypeEnum"s,"ARCHED"s,"CABLE_STAYED"s,"CANTILEVER"s,"CULVERT"s,"FRAMEWORK"s,"GIRDER"s,"SUSPENSION"s,"TRUSS"s,"IfcBuildingElementPartTypeEnum"s,"INSULATION"s,"PRECASTPANEL"s,"APRON"s,"ARMOURUNIT"s,"SAFETYCAGE"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORVOID"s,"PROVISIONFORSPACE"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"REINFORCING"s,"PRESTRESSING"s,"EROSIONPREVENTION"s,"IfcBuiltSystemTypeEnum"s,"MOORING"s,"TRACKCIRCUIT"s,"MOORINGSYSTEM"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CROSS"s,"REDUCER"s,"TEE"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CONDUITSEGMENT"s,"CABLEBRACKET"s,"CATENARYWIRE"s,"DROPPER"s,"IfcCableFittingTypeEnum"s,"CONNECTOR"s,"ENTRY"s,"EXIT"s,"JUNCTION"s,"TRANSITION"s,"FANOUT"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CORESEGMENT"s,"CONTACTWIRESEGMENT"s,"FIBERSEGMENT"s,"FIBERTUBE"s,"OPTICALCABLESEGMENT"s,"STITCHWIRE"s,"WIREPAIRSEGMENT"s,"IfcCaissonFoundationTypeEnum"s,"WELL"s,"CAISSON"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"NOCHANGE"s,"MODIFIED"s,"ADDED"s,"DELETED"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"WATERCOOLED"s,"HEATRECOVERY"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PILASTER"s,"PIERSTEM"s,"PIERSTEM_SEGMENT"s,"STANDCOLUMN"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"COMPUTER"s,"GATEWAY"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"PRINTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"AUTOMATON"s,"INTELLIGENT_PERIPHERAL"s,"IP_NETWORK_EQUIPMENT"s,"OPTICAL_NETWORK_UNIT"s,"TELECOMMAND"s,"TELEPHONYEXCHANGE"s,"TRANSITIONCOMPONENT"s,"TRANSPONDER"s,"TRANSPORTEQUIPMENT"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"DYNAMIC"s,"RECIPROCATING"s,"ROTARY"s,"SCROLL"s,"TROCHOIDAL"s,"SINGLESTAGE"s,"BOOSTER"s,"OPENTYPE"s,"HERMETIC"s,"SEMIHERMETIC"s,"WELDEDSHELLHERMETIC"s,"ROLLINGPISTON"s,"ROTARYVANE"s,"SINGLESCREW"s,"TWINSCREW"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATPATH"s,"ATSTART"s,"ATEND"s,"IfcConstraintEnum"s,"HARD"s,"SOFT"s,"ADVISORY"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"MULTIPOSITION"s,"TWOPOSITION"s,"IfcConveyorSegmentTypeEnum"s,"CHUTECONVEYOR"s,"BELTCONVEYOR"s,"SCREWCONVEYOR"s,"BUCKETCONVEYOR"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"NATURALDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"MECHANICALFORCEDDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"TENDER"s,"PRICEDBILLOFQUANTITIES"s,"UNPRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"IfcCountMeasure"s,"IfcCourseTypeEnum"s,"ARMOUR"s,"FILTER"s,"BALLASTBED"s,"CORE"s,"PAVEMENT"s,"PROTECTION"s,"IfcCoveringTypeEnum"s,"CEILING"s,"FLOORING"s,"CLADDING"s,"ROOFING"s,"MOLDING"s,"SKIRTINGBOARD"s,"MEMBRANE"s,"SLEEVING"s,"WRAPPING"s,"COPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"INTEGERCOUNTRATEUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARVELOCITYUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"TORQUEUNIT"s,"MOMENTOFINERTIAUNIT"s,"LINEARMOMENTUNIT"s,"LINEARFORCEUNIT"s,"PLANARFORCEUNIT"s,"MODULUSOFELASTICITYUNIT"s,"SHEARMODULUSUNIT"s,"LINEARSTIFFNESSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"ACCELERATIONUNIT"s,"CURVATUREUNIT"s,"HEATINGVALUEUNIT"s,"IONCONCENTRATIONUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"PHUNIT"s,"ROTATIONALMASSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"POSITIVE"s,"NEGATIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BRACKET"s,"SHOE"s,"EXPANSION_JOINT_DEVICE"s,"BIRDPROTECTION"s,"CABLEARRANGER"s,"INSULATOR"s,"LOCK"s,"TENSIONINGEQUIPMENT"s,"RAILPAD"s,"SLIDINGCHAIR"s,"PANEL_STRENGTHENING"s,"RAILBRACE"s,"ELASTIC_CUSHION"s,"SOUNDABSORPTION"s,"RAIL_LUBRICATION"s,"RAIL_MECHANICAL_EQUIPMENT"s,"IfcDistributionBoardTypeEnum"s,"SWITCHBOARD"s,"CONSUMERUNIT"s,"MOTORCONTROLCENTRE"s,"DISTRIBUTIONFRAME"s,"DISTRIBUTIONBOARD"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"WIRELESS"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"CATENARY_SYSTEM"s,"OVERHEAD_CONTACTLINE_SYSTEM"s,"RETURN_CIRCUIT"s,"IfcDocumentConfidentialityEnum"s,"PUBLIC"s,"RESTRICTED"s,"CONFIDENTIAL"s,"PERSONAL"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINALDRAFT"s,"FINAL"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"SWINGING"s,"DOUBLE_ACTING"s,"SLIDING"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"FIXEDPANEL"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorStyleConstructionEnum"s,"ALUMINIUM"s,"HIGH_GRADE_STEEL"s,"STEEL"s,"ALUMINIUM_WOOD"s,"ALUMINIUM_PLASTIC"s,"IfcDoorStyleOperationEnum"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"DOUBLE_DOOR_FOLDING"s,"IfcDoorTypeEnum"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"BOOM_BARRIER"s,"TURNSTILE"s,"IfcDoorTypeOperationEnum"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"RIGIDSEGMENT"s,"FLEXIBLESEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcEarthworksCutTypeEnum"s,"DREDGING"s,"EXCAVATION"s,"OVEREXCAVATION"s,"TOPSOILREMOVAL"s,"STEPEXCAVATION"s,"PAVEMENTMILLING"s,"CUT"s,"BASE_EXCAVATION"s,"IfcEarthworksFillTypeEnum"s,"BACKFILL"s,"COUNTERWEIGHT"s,"SUBGRADE"s,"EMBANKMENT"s,"TRANSITIONSECTION"s,"SUBGRADEBED"s,"SLOPEFILL"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERHEATER"s,"FREESTANDINGWATERCOOLER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITORBANK"s,"HARMONICFILTER"s,"INDUCTORBANK"s,"UPS"s,"CAPACITOR"s,"COMPENSATOR"s,"INDUCTOR"s,"RECHARGER"s,"IfcElectricFlowTreatmentDeviceTypeEnum"s,"ELECTRONICFILTER"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"TIMECLOCK"s,"TIMEDELAY"s,"RELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SLAB_FIELD"s,"CROSS_BRACING"s,"MAST"s,"SIGNALASSEMBLY"s,"GRID"s,"SHELTER"s,"SUPPORTINGASSEMBLY"s,"SUSPENSIONASSEMBLY"s,"TRACTION_SWITCHING_ASSEMBLY"s,"TRACKPANEL"s,"TURNOUTPANEL"s,"DILATATIONPANEL"s,"RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY"s,"ENTRANCEWORKS"s,"SUMPBUSTER"s,"TRAFFIC_CALMING_DEVICE"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVEAIRWASHER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTRULE"s,"EVENTMESSAGE"s,"EVENTTIME"s,"EVENTCOMPLEX"s,"IfcEventTypeEnum"s,"STARTEVENT"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_WATER"s,"EXTERNAL_FIRE"s,"IfcFacilityPartCommonTypeEnum"s,"SEGMENT"s,"ABOVEGROUND"s,"LEVELCROSSING"s,"BELOWGROUND"s,"TERMINAL"s,"IfcFacilityUsageEnum"s,"LATERAL"s,"REGION"s,"VERTICAL"s,"LONGITUDINAL"s,"IfcFanTypeEnum"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALAIRFOIL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"PROPELLORAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SOURCE"s,"SINK"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"AMMETER"s,"FREQUENCYMETER"s,"POWERFACTORMETER"s,"PHASEANGLEMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"COMBINED"s,"VOLTMETER"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"CHAIR"s,"TABLE"s,"DESK"s,"BED"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"TECHNICALCABINET"s,"IfcGeographicElementTypeEnum"s,"TERRAIN"s,"SOIL_BORING_POINT"s,"IfcGeometricProjectionEnum"s,"GRAPH_VIEW"s,"SKETCH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"ELEVATION_VIEW"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"RADIAL"s,"TRIANGULAR"s,"IRREGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"TURNOUTHEATING"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"STEAMINJECTION"s,"ADIABATICAIRWASHER"s,"ADIABATICPAN"s,"ADIABATICWETTEDELEMENT"s,"ADIABATICATOMIZING"s,"ADIABATICULTRASONIC"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDBUTANE"s,"ASSISTEDSTEAM"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcImpactProtectionDeviceTypeEnum"s,"CRASHCUSHION"s,"DAMPINGSYSTEM"s,"FENDER"s,"BUMPER"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"SPACEINVENTORY"s,"FURNITUREINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"UNIFORM_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"PIECEWISE_BEZIER_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"POINTSOURCE"s,"DIRECTIONSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLiquidTerminalTypeEnum"s,"LOADINGARM"s,"IfcLoadGroupTypeEnum"s,"LOAD_GROUP"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALOR"s,"LOGICALXOR"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMarineFacilityTypeEnum"s,"CANAL"s,"WATERWAYSHIPLIFT"s,"LAUNCHRECOVERY"s,"MARINEDEFENCE"s,"HYDROLIFT"s,"SHIPYARD"s,"SHIPLIFT"s,"PORT"s,"QUAY"s,"FLOATINGDOCK"s,"NAVIGATIONALCHANNEL"s,"BREAKWATER"s,"DRYDOCK"s,"JETTY"s,"SHIPLOCK"s,"BARRIERBEACH"s,"SLIPWAY"s,"WATERWAY"s,"IfcMarinePartTypeEnum"s,"CREST"s,"MANUFACTURING"s,"LOWWATERLINE"s,"WATERFIELD"s,"CILL_LEVEL"s,"BERTHINGSTRUCTURE"s,"COPELEVEL"s,"CHAMBER"s,"STORAGE"s,"APPROACHCHANNEL"s,"VEHICLESERVICING"s,"SHIPTRANSFER"s,"GATEHEAD"s,"GUDINGSTRUCTURE"s,"BELOWWATERLINE"s,"WEATHERSIDE"s,"LANDFIELD"s,"LEEWARDSIDE"s,"ABOVEWATERLINE"s,"ANCHORAGE"s,"NAVIGATIONALAREA"s,"HIGHWATERLINE"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RIVET"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"COUPLER"s,"RAILJOINT"s,"RAILFASTENING"s,"CHAIN"s,"ROPE"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STRINGER"s,"STRUT"s,"STUD"s,"STIFFENING_RIB"s,"ARCH_SEGMENT"s,"SUSPENSION_CABLE"s,"SUSPENDER"s,"STAY_CABLE"s,"STRUCTURALCABLE"s,"TIEBAR"s,"IfcMobileTelecommunicationsApplianceTypeEnum"s,"E_UTRAN_NODE_B"s,"REMOTE_RADIO_UNIT"s,"ACCESSPOINT"s,"BASETRANSCEIVERSTATION"s,"REMOTEUNIT"s,"BASEBANDUNIT"s,"MASTERUNIT"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMooringDeviceTypeEnum"s,"LINETENSIONER"s,"MAGNETICDEVICE"s,"MOORINGHOOKS"s,"VACUUMDEVICE"s,"BOLLARD"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNavigationElementTypeEnum"s,"BEACON"s,"BUOY"s,"IfcNonNegativeLengthMeasure"s,"IfcNullStyle"s,"NULL"s,"IfcNumericMeasure"s,"IfcObjectTypeEnum"s,"PRODUCT"s,"PROCESS"s,"RESOURCE"s,"ACTOR"s,"GROUP"s,"PROJECT"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"POWEROUTLET"s,"DATAOUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"DRIVEN"s,"JETGROUTING"s,"COHESION"s,"FRICTION"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"CURTAIN_PANEL"s,"SHEET"s,"FLANGE_PLATE"s,"WEB_PLATE"s,"STIFFENER_PLATE"s,"GUSSET_PLATE"s,"COVER_PLATE"s,"SPLICE_PLATE"s,"BASE_PLATE"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"CURVE"s,"AREA"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"BLISTER"s,"DEVIATOR"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTRONIC"s,"ELECTROMAGNETIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"CIRCUITBREAKER"s,"EARTHLEAKAGECIRCUITBREAKER"s,"EARTHINGSWITCH"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"VARISTOR"s,"ANTI_ARCING_DEVICE"s,"SPARKGAP"s,"VOLTAGELIMITER"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailTypeEnum"s,"RACKRAIL"s,"BLADE"s,"GUARDRAIL"s,"STOCKRAIL"s,"CHECKRAIL"s,"RAIL"s,"IfcRailingTypeEnum"s,"HANDRAIL"s,"BALUSTRADE"s,"FENCE"s,"IfcRailwayPartTypeEnum"s,"TRACKSTRUCTURE"s,"TRACKSTRUCTUREPART"s,"LINESIDESTRUCTUREPART"s,"DILATATIONSUPERSTRUCTURE"s,"PLAINTRACKSUPESTRUCTURE"s,"LINESIDESTRUCTURE"s,"TURNOUTSUPERSTRUCTURE"s,"IfcRampFlightTypeEnum"s,"STRAIGHT"s,"SPIRAL"s,"IfcRampTypeEnum"s,"STRAIGHT_RUN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"QUARTER_TURN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"HALF_TURN_RAMP"s,"SPIRAL_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"DAILY"s,"WEEKLY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"KILOPOINT"s,"MILEPOINT"s,"STATION"s,"REFERENCEMARKER"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcedSoilTypeEnum"s,"SURCHARGEPRELOADED"s,"VERTICALLYDRAINED"s,"DYNAMICALLYCOMPACTED"s,"REPLACED"s,"ROLLERCOMPACTED"s,"GROUTED"s,"IfcReinforcingBarRoleEnum"s,"MAIN"s,"SHEAR"s,"LIGATURE"s,"PUNCHING"s,"EDGE"s,"RING"s,"ANCHORING"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"SPACEBAR"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoadPartTypeEnum"s,"ROADSIDEPART"s,"BUS_STOP"s,"HARDSHOULDER"s,"PASSINGBAY"s,"ROADWAYPLATEAU"s,"ROADSIDE"s,"REFUGEISLAND"s,"TOLLPLAZA"s,"CENTRALRESERVE"s,"SIDEWALK"s,"PARKINGBAY"s,"RAILWAYCROSSING"s,"PEDESTRIAN_CROSSING"s,"SOFTSHOULDER"s,"BICYCLECROSSING"s,"CENTRALISLAND"s,"SHOULDER"s,"TRAFFICLANE"s,"ROADSEGMENT"s,"ROUNDABOUT"s,"LAYBY"s,"CARRIAGEWAY"s,"TRAFFICISLAND"s,"IfcRoleEnum"s,"SUPPLIER"s,"MANUFACTURER"s,"CONTRACTOR"s,"SUBCONTRACTOR"s,"ARCHITECT"s,"STRUCTURALENGINEER"s,"COSTENGINEER"s,"CLIENT"s,"BUILDINGOWNER"s,"BUILDINGOPERATOR"s,"MECHANICALENGINEER"s,"ELECTRICALENGINEER"s,"PROJECTMANAGER"s,"FACILITIESMANAGER"s,"CIVILENGINEER"s,"COMMISSIONINGENGINEER"s,"ENGINEER"s,"CONSULTANT"s,"CONSTRUCTIONMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"RESELLER"s,"IfcRoofTypeEnum"s,"FLAT_ROOF"s,"SHED_ROOF"s,"GABLE_ROOF"s,"HIP_ROOF"s,"HIPPED_GABLE_ROOF"s,"GAMBREL_ROOF"s,"MANSARD_ROOF"s,"BARREL_ROOF"s,"RAINBOW_ROOF"s,"BUTTERFLY_ROOF"s,"PAVILION_ROOF"s,"DOME_ROOF"s,"FREEFORM"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"EXA"s,"PETA"s,"TERA"s,"GIGA"s,"MEGA"s,"KILO"s,"HECTO"s,"DECA"s,"DECI"s,"CENTI"s,"MILLI"s,"MICRO"s,"NANO"s,"PICO"s,"FEMTO"s,"ATTO"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SHOWER"s,"SANITARYFOUNTAIN"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"UNIFORM"s,"TAPERED"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"COSENSOR"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"SMOKESENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"WINDSENSOR"s,"EARTHQUAKESENSOR"s,"FOREIGNOBJECTDETECTIONSENSOR"s,"OBSTACLESENSOR"s,"RAINSENSOR"s,"SNOWDEPTHSENSOR"s,"TRAINSENSOR"s,"TURNOUTCLOSURESENSOR"s,"WHEELSENSOR"s,"IfcSequenceEnum"s,"START_START"s,"START_FINISH"s,"FINISH_START"s,"FINISH_FINISH"s,"IfcShadingDeviceTypeEnum"s,"JALOUSIE"s,"SHUTTER"s,"AWNING"s,"IfcShearModulusMeasure"s,"IfcSignTypeEnum"s,"MARKER"s,"PICTORAL"s,"IfcSignalTypeEnum"s,"VISUAL"s,"AUDIO"s,"MIXED"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_SINGLEVALUE"s,"P_ENUMERATEDVALUE"s,"P_BOUNDEDVALUE"s,"P_LISTVALUE"s,"P_TABLEVALUE"s,"P_REFERENCEVALUE"s,"Q_LENGTH"s,"Q_AREA"s,"Q_VOLUME"s,"Q_COUNT"s,"Q_WEIGHT"s,"Q_TIME"s,"IfcSlabTypeEnum"s,"FLOOR"s,"ROOF"s,"LANDING"s,"BASESLAB"s,"APPROACH_SLAB"s,"WEARING"s,"TRACKSLAB"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"SPACE"s,"PARKING"s,"GFA"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"OCCUPANCY"s,"RESERVATION"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"WINDER"s,"CURVED"s,"IfcStairTypeEnum"s,"STRAIGHT_RUN_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"QUARTER_WINDING_STAIR"s,"QUARTER_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"HALF_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"SPIRAL_STAIR"s,"DOUBLE_RETURN_STAIR"s,"CURVED_RUN_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"LADDER"s,"IfcStateEnum"s,"READWRITE"s,"READONLY"s,"LOCKED"s,"READWRITELOCKED"s,"READONLYLOCKED"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"POLYGONAL"s,"EQUIDISTANT"s,"SINUS"s,"PARABOLA"s,"DISCRETE"s,"IfcStructuralCurveMemberTypeEnum"s,"RIGID_JOINED_MEMBER"s,"PIN_JOINED_MEMBER"s,"TENSION_MEMBER"s,"COMPRESSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"MARK"s,"TAG"s,"TREATMENT"s,"DEFECT"s,"HATCHMARKING"s,"LINEMARKING"s,"PAVEMENTSURFACEMARKING"s,"SYMBOLMARKING"s,"NONSKIDSURFACING"s,"RUMBLESTRIP"s,"TRANSVERSERUMBLESTRIP"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"START_AND_STOP_EQUIPMENT"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"WORKSURFACE"s,"SUBRACK"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"PRESSUREVESSEL"s,"VESSEL"s,"OILRETENTIONTRAY"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonConduitTypeEnum"s,"GROUTING_DUCT"s,"TRUMPET"s,"DIABOLO"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"UP"s,"DOWN"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTrackElementTypeEnum"s,"TRACKENDOFALIGNMENT"s,"BLOCKINGDEVICE"s,"VEHICLESTOP"s,"SLEEPER"s,"HALF_SET_OF_BLADES"s,"SPEEDREGULATOR"s,"DERAILER"s,"FROG"s,"IfcTransformerTypeEnum"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"CHOPPER"s,"IfcTransitionCode"s,"DISCONTINUOUS"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"IfcTransitionCurveType"s,"BIQUADRATICPARABOLA"s,"BLOSSCURVE"s,"CLOTHOIDCURVE"s,"COSINECURVE"s,"CUBICPARABOLA"s,"SINECURVE"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementFixedTypeEnum"s,"ELEVATOR"s,"ESCALATOR"s,"MOVINGWALKWAY"s,"CRANEWAY"s,"LIFTINGGEAR"s,"IfcTransportElementNonFixedTypeEnum"s,"VEHICLE"s,"VEHICLETRACKED"s,"ROLLINGSTOCK"s,"VEHICLEWHEELED"s,"VEHICLEAIR"s,"CARGO"s,"VEHICLEMARINE"s,"IfcTransportElementTypeSelect"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"INDICATORPANEL"s,"MIMICPANEL"s,"HUMIDISTAT"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRHANDLER"s,"AIRCONDITIONINGUNIT"s,"DEHUMIDIFIER"s,"SPLITSYSTEM"s,"ROOFTOPUNIT"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DRAWOFFCOCK"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVibrationDamperTypeEnum"s,"BENDING_YIELD"s,"SHEAR_YIELD"s,"AXIAL_YIELD"s,"VISCOUS"s,"RUBBER"s,"IfcVibrationIsolatorTypeEnum"s,"COMPRESSION"s,"SPRING"s,"BASE"s,"IfcVoidingFeatureTypeEnum"s,"CUTOUT"s,"NOTCH"s,"HOLE"s,"MITER"s,"CHAMFER"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"SOLIDWALL"s,"STANDARD"s,"ELEMENTEDWALL"s,"RETAININGWALL"s,"WAVEWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"SIDEHUNGRIGHTHAND"s,"SIDEHUNGLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TILTANDTURNLEFTHAND"s,"TOPHUNG"s,"BOTTOMHUNG"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"REMOVABLECASEMENT"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowStyleConstructionEnum"s,"OTHER_CONSTRUCTION"s,"IfcWindowStyleOperationEnum"s,"SINGLE_PANEL"s,"DOUBLE_PANEL_VERTICAL"s,"DOUBLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_VERTICAL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_HORIZONTAL"s,"IfcWindowTypeEnum"s,"WINDOW"s,"SKYLIGHT"s,"LIGHTDOME"s,"IfcWindowTypePartitioningEnum"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcPresentationStyleAssignment"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcDerivedMeasureValue"s,"IfcFacilityPartTypeSelect"s,"IfcImpactProtectionDeviceTypeSelect"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcStyleAssignmentSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearAxisWithInclination"s,"IfcLinearPlacement"s,"IfcLinearPlacementWithInclination"s,"IfcLinearSpanPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenCrossProfileDef"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientationExpression"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcWindowStyle"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcPresentationStyleSelect"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAlignment2DHorizontal"s,"IfcAlignment2DSegment"s,"IfcAlignment2DVertical"s,"IfcAlignment2DVerticalSegment"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcAxisLateralInclination"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcDirection"s,"IfcDirectrixCurveSweptAreaSolid"s,"IfcDirectrixDistanceSweptAreaSolid"s,"IfcDistanceExpression"s,"IfcDoorStyle"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcInclinedReferenceSweptAreaSolid"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcProxy"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelAssociatesProfileDef"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelPositions"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSectionedSurface"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcToroidalSurface"s,"IfcTransportElementType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcLinearAxisSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAlignment2DCant"s,"IfcAlignment2DCantSegment"s,"IfcAlignment2DHorizontalSegment"s,"IfcAlignment2DVerSegCircularArc"s,"IfcAlignment2DVerSegLine"s,"IfcAlignment2DVerSegParabolicArc"s,"IfcAlignment2DVerSegTransition"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuildingStorey"s,"IfcBuiltElementType"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCourseType"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCurveSegment2D"s,"IfcCylindricalSurface"s,"IfcDeepFoundationType"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFacility"s,"IfcFacilityPart"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGeotechnicalElement"s,"IfcGeotechnicalStratum"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcImpactProtectionDevice"s,"IfcImpactProtectionDeviceType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcKerbType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLineSegment2D"s,"IfcLiquidTerminalType"s,"IfcMarineFacility"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMobileTelecommunicationsApplianceType"s,"IfcMooringDeviceType"s,"IfcMotorConnectionType"s,"IfcNavigationElementType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOpeningStandardCase"s,"IfcOutletType"s,"IfcPavementType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlant"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailType"s,"IfcRailingType"s,"IfcRailway"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAggregates"s,"IfcRoad"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcShadingDeviceType"s,"IfcSign"s,"IfcSignType"s,"IfcSignalType"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSolidStratum"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonConduit"s,"IfcTendonConduitType"s,"IfcTendonType"s,"IfcTrackElementType"s,"IfcTransformerType"s,"IfcTransitionCurveSegment2D"s,"IfcTransportElement"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVibrationDamper"s,"IfcVibrationDamperType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidStratum"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWaterStratum"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcInterferenceSelect"s,"IfcSpatialReferenceSelect"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignment2DCantSegLine"s,"IfcAlignment2DCantSegTransition"s,"IfcAlignmentCurve"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBearingType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBridge"s,"IfcBridgePart"s,"IfcBuilding"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBuiltElement"s,"IfcBuiltSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcCaissonFoundationType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCircularArcSegment2D"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcColumnStandardCase"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcConveyorSegmentType"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCourse"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDeepFoundation"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionBoardType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDoorStandardCase"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcEarthworksCut"s,"IfcEarthworksElement"s,"IfcEarthworksFill"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricFlowTreatmentDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGeotechnicalAssembly"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcKerb"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcLiquidTerminal"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMemberStandardCase"s,"IfcMobileTelecommunicationsAppliance"s,"IfcMooringDevice"s,"IfcMotorConnection"s,"IfcNavigationElement"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPavement"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcPlateStandardCase"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRail"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcedSoil"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSignal"s,"IfcSlab"s,"IfcSlabElementedCase"s,"IfcSlabStandardCase"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTrackElement"s,"IfcTransformer"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallElementedCase"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcWindowStandardCase"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBeamStandardCase"s,"IfcBearing"s,"IfcBoiler"s,"IfcBorehole"s,"IfcBuildingElementProxy"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcCaissonFoundation"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcConveyorSegment"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionBoard"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricFlowTreatmentDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcGeomodel"s,"IfcGeoslice"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"Segments"s,"RailHeadDistance"s,"StartRadius"s,"EndRadius"s,"IsStartRadiusCCW"s,"IsEndRadiusCCW"s,"TransitionCurveType"s,"StartDistAlong"s,"HorizontalLength"s,"StartCantLeft"s,"EndCantLeft"s,"StartCantRight"s,"EndCantRight"s,"CurveGeometry"s,"TangentialContinuity"s,"StartTag"s,"EndTag"s,"Radius"s,"IsConvex"s,"ParabolaConstant"s,"StartHeight"s,"StartGradient"s,"Horizontal"s,"Vertical"s,"Tag"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"IsCCW"s,"Source"s,"Edition"s,"EditionDate"s,"Location"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Transition"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"VerticalDatum"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"StartPoint"s,"StartDirection"s,"SegmentLength"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"Directrix"s,"StartParam"s,"EndParam"s,"StartDistance"s,"EndDistance"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"AlongHorizontal"s,"FlowDirection"s,"SystemType"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ConstructionType"s,"ParameterTakesPrecedence"s,"Sizeable"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"UsageType"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"ModelorDraughting"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"FixedReference"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"FixedAxisVertical"s,"Inclinating"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"Mountable"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"PlacementMeasuredAlong"s,"Distance"s,"CartesianPosition"s,"Span"s,"RelativePlacement"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"Expression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"PlacementRelTo"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"HorizontalWidths"s,"Widths"s,"Slopes"s,"Tags"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"LateralAxisDirection"s,"VerticalAxisDirection"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"Flexible"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"Height"s,"ColourComponents"s,"Pixel"s,"Placement"s,"SizeInX"s,"SizeInY"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"Styles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"ProxyType"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"RestartDistance"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"RelatingProfileDef"s,"ConnectionGeometry"s,"RelatingElement"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceType"s,"ImpliedOrder"s,"RelatingPositioningElement"s,"RelatedProducts"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"SpineCurve"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"Start"s,"Finish"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ToCant"s,"ToAlignmentCurve"s,"ToHorizontal"s,"ToVertical"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ToLinearAxis"s,"PositioningElement"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"UsingCurves"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ToFaceSet"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"Positions"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"PositionedRelativeTo"s,"ReferencedInStructures"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"ServicesFacilities"s,"HasColours"s,"HasTextures"s,"Types"s,"IFC4X3_RC1"s}; diff --git a/src/ifcparse/schemas/Ifc4x3_rc1.cpp b/src/ifcparse/schemas/Ifc4x3_rc1.cpp index e21a74dfaa..f6b07abb0a 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc1.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc1.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x3_rc1.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x3_rc1::Identifier = "IFC4X3_RC1"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X3_RC1_types[1317]; -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[3]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[3]); } /* -Ifc4x3_rc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x3_rc1::IfcActionRequestTypeEnum::Value Ifc4x3_rc1::IfcActionRequestTypeEnum } Ifc4x3_rc1::IfcActionRequestTypeEnum::operator Ifc4x3_rc1::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[4]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[4]); } /* -Ifc4x3_rc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x3_rc1::IfcActionSourceTypeEnum::Value Ifc4x3_rc1::IfcActionSourceTypeEnum:: } Ifc4x3_rc1::IfcActionSourceTypeEnum::operator Ifc4x3_rc1::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[5]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[5]); } /* -Ifc4x3_rc1::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x3_rc1::IfcActionTypeEnum::Value Ifc4x3_rc1::IfcActionTypeEnum::FromString(c } Ifc4x3_rc1::IfcActionTypeEnum::operator Ifc4x3_rc1::IfcActionTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[11]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[11]); } /* -Ifc4x3_rc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x3_rc1::IfcActuatorTypeEnum::Value Ifc4x3_rc1::IfcActuatorTypeEnum::FromStri } Ifc4x3_rc1::IfcActuatorTypeEnum::operator Ifc4x3_rc1::IfcActuatorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[13]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[13]); } /* -Ifc4x3_rc1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x3_rc1::IfcAddressTypeEnum::Value Ifc4x3_rc1::IfcAddressTypeEnum::FromString } Ifc4x3_rc1::IfcAddressTypeEnum::operator Ifc4x3_rc1::IfcAddressTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[20]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[20]); } /* -Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_rc1::IfcAirTerminalBoxTypeEn } Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::operator Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[22]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[22]); } /* -Ifc4x3_rc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value Ifc4x3_rc1::IfcAirTerminalTypeEnum::Fr } Ifc4x3_rc1::IfcAirTerminalTypeEnum::operator Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[25]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[25]); } /* -Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_rc1::IfcAirToAirHeatRe } Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[28]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[28]); } /* -Ifc4x3_rc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x3_rc1::IfcAlarmTypeEnum::Value Ifc4x3_rc1::IfcAlarmTypeEnum::FromString(con } Ifc4x3_rc1::IfcAlarmTypeEnum::operator Ifc4x3_rc1::IfcAlarmTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[44]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[44]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[44]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[44]); } /* -Ifc4x3_rc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x3_rc1::IfcAlignmentTypeEnum::Value Ifc4x3_rc1::IfcAlignmentTypeEnum::FromSt } Ifc4x3_rc1::IfcAlignmentTypeEnum::operator Ifc4x3_rc1::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[46]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[46]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[46]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[46]); } /* -Ifc4x3_rc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value Ifc4x3_rc1::IfcAnalysisModelTypeEnum } Ifc4x3_rc1::IfcAnalysisModelTypeEnum::operator Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[47]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[47]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[47]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[47]); } /* -Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_rc1::IfcAnalysisTheoryTypeEn } Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::operator Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAnnotationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[51]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAnnotationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[51]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAnnotationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[51]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAnnotationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[51]); } /* -Ifc4x3_rc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x3_rc1::IfcAnnotationTypeEnum::Value Ifc4x3_rc1::IfcAnnotationTypeEnum::From } Ifc4x3_rc1::IfcAnnotationTypeEnum::operator Ifc4x3_rc1::IfcAnnotationTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAnnotationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAnnotationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[63]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[63]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[63]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[63]); } /* -Ifc4x3_rc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value Ifc4x3_rc1::IfcArithmeticOperatorEn } Ifc4x3_rc1::IfcArithmeticOperatorEnum::operator Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[64]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[64]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[64]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[64]); } /* -Ifc4x3_rc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value Ifc4x3_rc1::IfcAssemblyPlaceEnum::FromSt } Ifc4x3_rc1::IfcAssemblyPlaceEnum::operator Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[69]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[69]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[69]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[69]); } /* -Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_rc1::IfcAudioVisualApp } Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::operator Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[113]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[113]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[113]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[113]); } /* -Ifc4x3_rc1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x3_rc1::IfcBSplineCurveForm::Value Ifc4x3_rc1::IfcBSplineCurveForm::FromStri } Ifc4x3_rc1::IfcBSplineCurveForm::operator Ifc4x3_rc1::IfcBSplineCurveForm::Value() const { - return (Ifc4x3_rc1::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[116]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[116]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[116]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[116]); } /* -Ifc4x3_rc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x3_rc1::IfcBSplineSurfaceForm::Value Ifc4x3_rc1::IfcBSplineSurfaceForm::From } Ifc4x3_rc1::IfcBSplineSurfaceForm::operator Ifc4x3_rc1::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x3_rc1::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[78]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[78]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[78]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[78]); } /* -Ifc4x3_rc1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x3_rc1::IfcBeamTypeEnum::Value Ifc4x3_rc1::IfcBeamTypeEnum::FromString(const } Ifc4x3_rc1::IfcBeamTypeEnum::operator Ifc4x3_rc1::IfcBeamTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[81]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[81]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[81]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[81]); } /* -Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::Value Ifc4x3_rc1::IfcBearingTypeDisp } Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::operator Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::Value() const { - return (Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBearingTypeDisplacementEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBearingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[82]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBearingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[82]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[82]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[82]); } /* -Ifc4x3_rc1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x3_rc1::IfcBearingTypeEnum::Value Ifc4x3_rc1::IfcBearingTypeEnum::FromString } Ifc4x3_rc1::IfcBearingTypeEnum::operator Ifc4x3_rc1::IfcBearingTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBearingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[83]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[83]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[83]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[83]); } /* -Ifc4x3_rc1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x3_rc1::IfcBenchmarkEnum::Value Ifc4x3_rc1::IfcBenchmarkEnum::FromString(con } Ifc4x3_rc1::IfcBenchmarkEnum::operator Ifc4x3_rc1::IfcBenchmarkEnum::Value() const { - return (Ifc4x3_rc1::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[90]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[90]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[90]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[90]); } /* -Ifc4x3_rc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x3_rc1::IfcBoilerTypeEnum::Value Ifc4x3_rc1::IfcBoilerTypeEnum::FromString(c } Ifc4x3_rc1::IfcBoilerTypeEnum::operator Ifc4x3_rc1::IfcBoilerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[94]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[94]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[94]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[94]); } /* -Ifc4x3_rc1::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x3_rc1::IfcBooleanOperator::Value Ifc4x3_rc1::IfcBooleanOperator::FromString } Ifc4x3_rc1::IfcBooleanOperator::operator Ifc4x3_rc1::IfcBooleanOperator::Value() const { - return (Ifc4x3_rc1::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBridgePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[110]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBridgePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[110]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[110]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[110]); } /* -Ifc4x3_rc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x3_rc1::IfcBridgePartTypeEnum::Value Ifc4x3_rc1::IfcBridgePartTypeEnum::From } Ifc4x3_rc1::IfcBridgePartTypeEnum::operator Ifc4x3_rc1::IfcBridgePartTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBridgePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBridgeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[111]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBridgeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[111]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[111]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[111]); } /* -Ifc4x3_rc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x3_rc1::IfcBridgeTypeEnum::Value Ifc4x3_rc1::IfcBridgeTypeEnum::FromString(c } Ifc4x3_rc1::IfcBridgeTypeEnum::operator Ifc4x3_rc1::IfcBridgeTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBridgeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[121]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[121]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[121]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[121]); } /* -Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value Ifc4x3_rc1::IfcBuildingElement } Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::operator Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[124]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[124]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[124]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[124]); } /* -Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_rc1::IfcBuildingElemen } Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::operator Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[127]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[127]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[127]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[127]); } /* -Ifc4x3_rc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value Ifc4x3_rc1::IfcBuildingSystemTypeEn } Ifc4x3_rc1::IfcBuildingSystemTypeEnum::operator Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBuiltSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[131]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[131]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBuiltSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[131]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[131]); } /* -Ifc4x3_rc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Fr } Ifc4x3_rc1::IfcBuiltSystemTypeEnum::operator Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[134]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[134]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[134]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[134]); } /* -Ifc4x3_rc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x3_rc1::IfcBurnerTypeEnum::Value Ifc4x3_rc1::IfcBurnerTypeEnum::FromString(c } Ifc4x3_rc1::IfcBurnerTypeEnum::operator Ifc4x3_rc1::IfcBurnerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[137]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[137]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[137]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[137]); } /* -Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_rc1::IfcCableCarrierFit } Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::operator Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[140]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[140]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[140]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[140]); } /* -Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_rc1::IfcCableCarrierSeg } Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::operator Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[143]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[143]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[143]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[143]); } /* -Ifc4x3_rc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x3_rc1::IfcCableFittingTypeEnum::Value Ifc4x3_rc1::IfcCableFittingTypeEnum:: } Ifc4x3_rc1::IfcCableFittingTypeEnum::operator Ifc4x3_rc1::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[146]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[146]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[146]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[146]); } /* -Ifc4x3_rc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value Ifc4x3_rc1::IfcCableSegmentTypeEnum:: } Ifc4x3_rc1::IfcCableSegmentTypeEnum::operator Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[149]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[149]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[149]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[149]); } /* -Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value Ifc4x3_rc1::IfcCaissonFoundation } Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::operator Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[161]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[161]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[161]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[161]); } /* -Ifc4x3_rc1::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x3_rc1::IfcChangeActionEnum::Value Ifc4x3_rc1::IfcChangeActionEnum::FromStri } Ifc4x3_rc1::IfcChangeActionEnum::operator Ifc4x3_rc1::IfcChangeActionEnum::Value() const { - return (Ifc4x3_rc1::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[164]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[164]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[164]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[164]); } /* -Ifc4x3_rc1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x3_rc1::IfcChillerTypeEnum::Value Ifc4x3_rc1::IfcChillerTypeEnum::FromString } Ifc4x3_rc1::IfcChillerTypeEnum::operator Ifc4x3_rc1::IfcChillerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[167]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[167]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[167]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[167]); } /* -Ifc4x3_rc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x3_rc1::IfcChimneyTypeEnum::Value Ifc4x3_rc1::IfcChimneyTypeEnum::FromString } Ifc4x3_rc1::IfcChimneyTypeEnum::operator Ifc4x3_rc1::IfcChimneyTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[181]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[181]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[181]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[181]); } /* -Ifc4x3_rc1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x3_rc1::IfcCoilTypeEnum::Value Ifc4x3_rc1::IfcCoilTypeEnum::FromString(const } Ifc4x3_rc1::IfcCoilTypeEnum::operator Ifc4x3_rc1::IfcCoilTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[190]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[190]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[190]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[190]); } /* -Ifc4x3_rc1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x3_rc1::IfcColumnTypeEnum::Value Ifc4x3_rc1::IfcColumnTypeEnum::FromString(c } Ifc4x3_rc1::IfcColumnTypeEnum::operator Ifc4x3_rc1::IfcColumnTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[193]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[193]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[193]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[193]); } /* -Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_rc1::IfcCommunicati } Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::operator Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[197]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[197]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[197]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[197]); } /* -Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x3_rc1::IfcComplexProp } Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[205]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[205]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[205]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[205]); } /* -Ifc4x3_rc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x3_rc1::IfcCompressorTypeEnum::Value Ifc4x3_rc1::IfcCompressorTypeEnum::From } Ifc4x3_rc1::IfcCompressorTypeEnum::operator Ifc4x3_rc1::IfcCompressorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[208]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[208]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[208]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[208]); } /* -Ifc4x3_rc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x3_rc1::IfcCondenserTypeEnum::Value Ifc4x3_rc1::IfcCondenserTypeEnum::FromSt } Ifc4x3_rc1::IfcCondenserTypeEnum::operator Ifc4x3_rc1::IfcCondenserTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[216]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[216]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[216]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[216]); } /* -Ifc4x3_rc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x3_rc1::IfcConnectionTypeEnum::Value Ifc4x3_rc1::IfcConnectionTypeEnum::From } Ifc4x3_rc1::IfcConnectionTypeEnum::operator Ifc4x3_rc1::IfcConnectionTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[219]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[219]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[219]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[219]); } /* -Ifc4x3_rc1::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x3_rc1::IfcConstraintEnum::Value Ifc4x3_rc1::IfcConstraintEnum::FromString(c } Ifc4x3_rc1::IfcConstraintEnum::operator Ifc4x3_rc1::IfcConstraintEnum::Value() const { - return (Ifc4x3_rc1::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[222]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[222]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[222]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[222]); } /* -Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_rc1::IfcConst } Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[225]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[225]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[225]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[225]); } /* -Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_rc1::IfcConstr } Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[228]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[228]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[228]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[228]); } /* -Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_rc1::IfcConstru } Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::operator Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[237]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[237]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[237]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[237]); } /* -Ifc4x3_rc1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x3_rc1::IfcControllerTypeEnum::Value Ifc4x3_rc1::IfcControllerTypeEnum::From } Ifc4x3_rc1::IfcControllerTypeEnum::operator Ifc4x3_rc1::IfcControllerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[242]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[242]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[242]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[242]); } /* -Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value Ifc4x3_rc1::IfcConveyorSegmentType } Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::operator Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[245]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[245]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[245]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[245]); } /* -Ifc4x3_rc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value Ifc4x3_rc1::IfcCooledBeamTypeEnum::From } Ifc4x3_rc1::IfcCooledBeamTypeEnum::operator Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[248]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[248]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[248]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[248]); } /* -Ifc4x3_rc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value Ifc4x3_rc1::IfcCoolingTowerTypeEnum:: } Ifc4x3_rc1::IfcCoolingTowerTypeEnum::operator Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[253]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[253]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[253]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[253]); } /* -Ifc4x3_rc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x3_rc1::IfcCostItemTypeEnum::Value Ifc4x3_rc1::IfcCostItemTypeEnum::FromStri } Ifc4x3_rc1::IfcCostItemTypeEnum::operator Ifc4x3_rc1::IfcCostItemTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[255]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[255]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[255]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[255]); } /* -Ifc4x3_rc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value Ifc4x3_rc1::IfcCostScheduleTypeEnum:: } Ifc4x3_rc1::IfcCostScheduleTypeEnum::operator Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCourseTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[260]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCourseTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[260]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCourseTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[260]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCourseTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[260]); } /* -Ifc4x3_rc1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCourseTypeEnum::IfcCourseTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x3_rc1::IfcCourseTypeEnum::Value Ifc4x3_rc1::IfcCourseTypeEnum::FromString(c } Ifc4x3_rc1::IfcCourseTypeEnum::operator Ifc4x3_rc1::IfcCourseTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCourseTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCourseTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[263]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[263]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[263]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[263]); } /* -Ifc4x3_rc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x3_rc1::IfcCoveringTypeEnum::Value Ifc4x3_rc1::IfcCoveringTypeEnum::FromStri } Ifc4x3_rc1::IfcCoveringTypeEnum::operator Ifc4x3_rc1::IfcCoveringTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[266]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[266]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[266]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[266]); } /* -Ifc4x3_rc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value Ifc4x3_rc1::IfcCrewResourceTypeEnum:: } Ifc4x3_rc1::IfcCrewResourceTypeEnum::operator Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[274]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[274]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[274]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[274]); } /* -Ifc4x3_rc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value Ifc4x3_rc1::IfcCurtainWallTypeEnum::Fr } Ifc4x3_rc1::IfcCurtainWallTypeEnum::operator Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[280]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[280]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[280]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[280]); } /* -Ifc4x3_rc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x3_rc1::IfcCurveInterpolationEnum::Value Ifc4x3_rc1::IfcCurveInterpolationEn } Ifc4x3_rc1::IfcCurveInterpolationEnum::operator Ifc4x3_rc1::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x3_rc1::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[292]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[292]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[292]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[292]); } /* -Ifc4x3_rc1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x3_rc1::IfcDamperTypeEnum::Value Ifc4x3_rc1::IfcDamperTypeEnum::FromString(c } Ifc4x3_rc1::IfcDamperTypeEnum::operator Ifc4x3_rc1::IfcDamperTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[293]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[293]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[293]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[293]); } /* -Ifc4x3_rc1::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x3_rc1::IfcDataOriginEnum::Value Ifc4x3_rc1::IfcDataOriginEnum::FromString(c } Ifc4x3_rc1::IfcDataOriginEnum::operator Ifc4x3_rc1::IfcDataOriginEnum::Value() const { - return (Ifc4x3_rc1::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[305]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[305]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[305]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[305]); } /* -Ifc4x3_rc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x3_rc1::IfcDerivedUnitEnum::Value Ifc4x3_rc1::IfcDerivedUnitEnum::FromString } Ifc4x3_rc1::IfcDerivedUnitEnum::operator Ifc4x3_rc1::IfcDerivedUnitEnum::Value() const { - return (Ifc4x3_rc1::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[310]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[310]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[310]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[310]); } /* -Ifc4x3_rc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x3_rc1::IfcDirectionSenseEnum::Value Ifc4x3_rc1::IfcDirectionSenseEnum::From } Ifc4x3_rc1::IfcDirectionSenseEnum::operator Ifc4x3_rc1::IfcDirectionSenseEnum::Value() const { - return (Ifc4x3_rc1::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[315]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[315]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[315]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[315]); } /* -Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_rc1::IfcDiscreteAccessory } Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::operator Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[319]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[319]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[319]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[319]); } /* -Ifc4x3_rc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value Ifc4x3_rc1::IfcDistributionBoard } Ifc4x3_rc1::IfcDistributionBoardTypeEnum::operator Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[322]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[322]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[322]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[322]); } /* -Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_rc1::IfcDistribu } Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::operator Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[331]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[331]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[331]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[331]); } /* -Ifc4x3_rc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value Ifc4x3_rc1::IfcDistributionPortTy } Ifc4x3_rc1::IfcDistributionPortTypeEnum::operator Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[333]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[333]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[333]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[333]); } /* -Ifc4x3_rc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x3_rc1::IfcDistributionSystemEnum::Value Ifc4x3_rc1::IfcDistributionSystemEn } Ifc4x3_rc1::IfcDistributionSystemEnum::operator Ifc4x3_rc1::IfcDistributionSystemEnum::Value() const { - return (Ifc4x3_rc1::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[334]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[334]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[334]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[334]); } /* -Ifc4x3_rc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value Ifc4x3_rc1::IfcDocumentConfide } Ifc4x3_rc1::IfcDocumentConfidentialityEnum::operator Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[339]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[339]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[339]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[339]); } /* -Ifc4x3_rc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x3_rc1::IfcDocumentStatusEnum::Value Ifc4x3_rc1::IfcDocumentStatusEnum::From } Ifc4x3_rc1::IfcDocumentStatusEnum::operator Ifc4x3_rc1::IfcDocumentStatusEnum::Value() const { - return (Ifc4x3_rc1::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[342]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[342]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[342]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[342]); } /* -Ifc4x3_rc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value Ifc4x3_rc1::IfcDoorPanelOperationEn } Ifc4x3_rc1::IfcDoorPanelOperationEnum::operator Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[343]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[343]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[343]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[343]); } /* -Ifc4x3_rc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value Ifc4x3_rc1::IfcDoorPanelPositionEnum } Ifc4x3_rc1::IfcDoorPanelPositionEnum::operator Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[347]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[347]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[347]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[347]); } /* -Ifc4x3_rc1::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value Ifc4x3_rc1::IfcDoorStyleConstruc } Ifc4x3_rc1::IfcDoorStyleConstructionEnum::operator Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value() const { - return (Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[348]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[348]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[348]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[348]); } /* -Ifc4x3_rc1::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value Ifc4x3_rc1::IfcDoorStyleOperationEn } Ifc4x3_rc1::IfcDoorStyleOperationEnum::operator Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value() const { - return (Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[350]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[350]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[350]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[350]); } /* -Ifc4x3_rc1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x3_rc1::IfcDoorTypeEnum::Value Ifc4x3_rc1::IfcDoorTypeEnum::FromString(const } Ifc4x3_rc1::IfcDoorTypeEnum::operator Ifc4x3_rc1::IfcDoorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[351]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[351]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[351]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[351]); } /* -Ifc4x3_rc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value Ifc4x3_rc1::IfcDoorTypeOperationEnum } Ifc4x3_rc1::IfcDoorTypeOperationEnum::operator Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[357]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[357]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[357]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[357]); } /* -Ifc4x3_rc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value Ifc4x3_rc1::IfcDuctFittingTypeEnum::Fr } Ifc4x3_rc1::IfcDuctFittingTypeEnum::operator Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[360]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[360]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[360]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[360]); } /* -Ifc4x3_rc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Fr } Ifc4x3_rc1::IfcDuctSegmentTypeEnum::operator Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[363]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[363]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[363]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[363]); } /* -Ifc4x3_rc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value Ifc4x3_rc1::IfcDuctSilencerTypeEnum:: } Ifc4x3_rc1::IfcDuctSilencerTypeEnum::operator Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEarthworksCutTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[367]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[367]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEarthworksCutTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[367]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[367]); } /* -Ifc4x3_rc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value Ifc4x3_rc1::IfcEarthworksCutTypeEnum } Ifc4x3_rc1::IfcEarthworksCutTypeEnum::operator Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEarthworksFillTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[370]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[370]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEarthworksFillTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[370]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[370]); } /* -Ifc4x3_rc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value Ifc4x3_rc1::IfcEarthworksFillTypeEn } Ifc4x3_rc1::IfcEarthworksFillTypeEnum::operator Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[376]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[376]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[376]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[376]); } /* -Ifc4x3_rc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value Ifc4x3_rc1::IfcElectricAppliance } Ifc4x3_rc1::IfcElectricApplianceTypeEnum::operator Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[383]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[383]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[383]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[383]); } /* -Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_rc1::IfcElectricD } Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::operator Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[386]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[386]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[386]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[386]); } /* -Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_rc1::IfcElectricF } Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[389]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[389]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[389]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[389]); } /* -Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_rc1::IfcElectri } Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::operator Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[392]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[392]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[392]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[392]); } /* -Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value Ifc4x3_rc1::IfcElectricGenerator } Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::operator Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[395]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[395]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[395]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[395]); } /* -Ifc4x3_rc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value Ifc4x3_rc1::IfcElectricMotorTypeEnum } Ifc4x3_rc1::IfcElectricMotorTypeEnum::operator Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[399]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[399]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[399]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[399]); } /* -Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value Ifc4x3_rc1::IfcElectricTimeCon } Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::operator Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[405]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[405]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[405]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[405]); } /* -Ifc4x3_rc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value Ifc4x3_rc1::IfcElementAssemblyType } Ifc4x3_rc1::IfcElementAssemblyTypeEnum::operator Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[408]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[408]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[408]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[408]); } /* -Ifc4x3_rc1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x3_rc1::IfcElementCompositionEnum::Value Ifc4x3_rc1::IfcElementCompositionEn } Ifc4x3_rc1::IfcElementCompositionEnum::operator Ifc4x3_rc1::IfcElementCompositionEnum::Value() const { - return (Ifc4x3_rc1::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[418]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[418]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[418]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[418]); } /* -Ifc4x3_rc1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x3_rc1::IfcEngineTypeEnum::Value Ifc4x3_rc1::IfcEngineTypeEnum::FromString(c } Ifc4x3_rc1::IfcEngineTypeEnum::operator Ifc4x3_rc1::IfcEngineTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[421]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[421]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[421]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[421]); } /* -Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_rc1::IfcEvaporativeCooler } Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::operator Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[424]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[424]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[424]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[424]); } /* -Ifc4x3_rc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value Ifc4x3_rc1::IfcEvaporatorTypeEnum::From } Ifc4x3_rc1::IfcEvaporatorTypeEnum::operator Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[427]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[427]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[427]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[427]); } /* -Ifc4x3_rc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value Ifc4x3_rc1::IfcEventTriggerTypeEnum:: } Ifc4x3_rc1::IfcEventTriggerTypeEnum::operator Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[429]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[429]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[429]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[429]); } /* -Ifc4x3_rc1::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x3_rc1::IfcEventTypeEnum::Value Ifc4x3_rc1::IfcEventTypeEnum::FromString(con } Ifc4x3_rc1::IfcEventTypeEnum::operator Ifc4x3_rc1::IfcEventTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[438]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[438]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[438]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[438]); } /* -Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value Ifc4x3_rc1::IfcExternalSpat } Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::operator Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[451]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[451]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[451]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[451]); } /* -Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::Value Ifc4x3_rc1::IfcFacilityPartComm } Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::operator Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFacilityPartCommonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFacilityUsageEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[453]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFacilityUsageEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[453]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFacilityUsageEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[453]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFacilityUsageEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[453]); } /* -Ifc4x3_rc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x3_rc1::IfcFacilityUsageEnum::Value Ifc4x3_rc1::IfcFacilityUsageEnum::FromSt } Ifc4x3_rc1::IfcFacilityUsageEnum::operator Ifc4x3_rc1::IfcFacilityUsageEnum::Value() const { - return (Ifc4x3_rc1::IfcFacilityUsageEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFacilityUsageEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[457]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[457]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[457]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[457]); } /* -Ifc4x3_rc1::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x3_rc1::IfcFanTypeEnum::Value Ifc4x3_rc1::IfcFanTypeEnum::FromString(const s } Ifc4x3_rc1::IfcFanTypeEnum::operator Ifc4x3_rc1::IfcFanTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[460]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[460]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[460]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[460]); } /* -Ifc4x3_rc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x3_rc1::IfcFastenerTypeEnum::Value Ifc4x3_rc1::IfcFastenerTypeEnum::FromStri } Ifc4x3_rc1::IfcFastenerTypeEnum::operator Ifc4x3_rc1::IfcFastenerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[470]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[470]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[470]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[470]); } /* -Ifc4x3_rc1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x3_rc1::IfcFilterTypeEnum::Value Ifc4x3_rc1::IfcFilterTypeEnum::FromString(c } Ifc4x3_rc1::IfcFilterTypeEnum::operator Ifc4x3_rc1::IfcFilterTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[473]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[473]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[473]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[473]); } /* -Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_rc1::IfcFireSuppres } Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[477]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[477]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[477]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[477]); } /* -Ifc4x3_rc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x3_rc1::IfcFlowDirectionEnum::Value Ifc4x3_rc1::IfcFlowDirectionEnum::FromSt } Ifc4x3_rc1::IfcFlowDirectionEnum::operator Ifc4x3_rc1::IfcFlowDirectionEnum::Value() const { - return (Ifc4x3_rc1::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[482]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[482]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[482]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[482]); } /* -Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value Ifc4x3_rc1::IfcFlowInstrumentTypeEn } Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::operator Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[485]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[485]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[485]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[485]); } /* -Ifc4x3_rc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value Ifc4x3_rc1::IfcFlowMeterTypeEnum::FromSt } Ifc4x3_rc1::IfcFlowMeterTypeEnum::operator Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[501]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[501]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[501]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[501]); } /* -Ifc4x3_rc1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x3_rc1::IfcFootingTypeEnum::Value Ifc4x3_rc1::IfcFootingTypeEnum::FromString } Ifc4x3_rc1::IfcFootingTypeEnum::operator Ifc4x3_rc1::IfcFootingTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[508]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[508]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[508]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[508]); } /* -Ifc4x3_rc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x3_rc1::IfcFurnitureTypeEnum::Value Ifc4x3_rc1::IfcFurnitureTypeEnum::FromSt } Ifc4x3_rc1::IfcFurnitureTypeEnum::operator Ifc4x3_rc1::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[511]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[511]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[511]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[511]); } /* -Ifc4x3_rc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value Ifc4x3_rc1::IfcGeographicElement } Ifc4x3_rc1::IfcGeographicElementTypeEnum::operator Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[513]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[513]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[513]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[513]); } /* -Ifc4x3_rc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x3_rc1::IfcGeometricProjectionEnum::Value Ifc4x3_rc1::IfcGeometricProjection } Ifc4x3_rc1::IfcGeometricProjectionEnum::operator Ifc4x3_rc1::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x3_rc1::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[525]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[525]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[525]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[525]); } /* -Ifc4x3_rc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value Ifc4x3_rc1::IfcGlobalOrLocalEnum::FromSt } Ifc4x3_rc1::IfcGlobalOrLocalEnum::operator Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[530]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[530]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[530]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[530]); } /* -Ifc4x3_rc1::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x3_rc1::IfcGridTypeEnum::Value Ifc4x3_rc1::IfcGridTypeEnum::FromString(const } Ifc4x3_rc1::IfcGridTypeEnum::operator Ifc4x3_rc1::IfcGridTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[536]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[536]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[536]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[536]); } /* -Ifc4x3_rc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value Ifc4x3_rc1::IfcHeatExchangerTypeEnum } Ifc4x3_rc1::IfcHeatExchangerTypeEnum::operator Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[541]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[541]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[541]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[541]); } /* -Ifc4x3_rc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x3_rc1::IfcHumidifierTypeEnum::Value Ifc4x3_rc1::IfcHumidifierTypeEnum::From } Ifc4x3_rc1::IfcHumidifierTypeEnum::operator Ifc4x3_rc1::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[547]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[547]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[547]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[547]); } /* -Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_rc1::IfcImpactProtec } Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::operator Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcImpactProtectionDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[561]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[561]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[561]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[561]); } /* -Ifc4x3_rc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x3_rc1::IfcInterceptorTypeEnum::Value Ifc4x3_rc1::IfcInterceptorTypeEnum::Fr } Ifc4x3_rc1::IfcInterceptorTypeEnum::operator Ifc4x3_rc1::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[563]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[563]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[563]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[563]); } /* -Ifc4x3_rc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x3_rc1::IfcInternalOrExternalEnum::Value Ifc4x3_rc1::IfcInternalOrExternalEn } Ifc4x3_rc1::IfcInternalOrExternalEnum::operator Ifc4x3_rc1::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x3_rc1::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[566]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[566]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[566]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[566]); } /* -Ifc4x3_rc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x3_rc1::IfcInventoryTypeEnum::Value Ifc4x3_rc1::IfcInventoryTypeEnum::FromSt } Ifc4x3_rc1::IfcInventoryTypeEnum::operator Ifc4x3_rc1::IfcInventoryTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[574]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[574]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[574]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[574]); } /* -Ifc4x3_rc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Fr } Ifc4x3_rc1::IfcJunctionBoxTypeEnum::operator Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[578]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[578]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[578]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[578]); } /* -Ifc4x3_rc1::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x3_rc1::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x3_rc1::IfcKnotType::Value Ifc4x3_rc1::IfcKnotType::FromString(const std::st } Ifc4x3_rc1::IfcKnotType::operator Ifc4x3_rc1::IfcKnotType::Value() const { - return (Ifc4x3_rc1::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[582]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[582]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[582]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[582]); } /* -Ifc4x3_rc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value Ifc4x3_rc1::IfcLaborResourceTypeEnum } Ifc4x3_rc1::IfcLaborResourceTypeEnum::operator Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[586]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[586]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[586]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[586]); } /* -Ifc4x3_rc1::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x3_rc1::IfcLampTypeEnum::Value Ifc4x3_rc1::IfcLampTypeEnum::FromString(const } Ifc4x3_rc1::IfcLampTypeEnum::operator Ifc4x3_rc1::IfcLampTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[589]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[589]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[589]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[589]); } /* -Ifc4x3_rc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value Ifc4x3_rc1::IfcLayerSetDirectionEnum } Ifc4x3_rc1::IfcLayerSetDirectionEnum::operator Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[594]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[594]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[594]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[594]); } /* -Ifc4x3_rc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value Ifc4x3_rc1::IfcLightDistributio } Ifc4x3_rc1::IfcLightDistributionCurveEnum::operator Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[597]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[597]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[597]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[597]); } /* -Ifc4x3_rc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value Ifc4x3_rc1::IfcLightEmissionSource } Ifc4x3_rc1::IfcLightEmissionSourceEnum::operator Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[600]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[600]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[600]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[600]); } /* -Ifc4x3_rc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value Ifc4x3_rc1::IfcLightFixtureTypeEnum:: } Ifc4x3_rc1::IfcLightFixtureTypeEnum::operator Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[623]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[623]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[623]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[623]); } /* -Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value Ifc4x3_rc1::IfcLiquidTerminalTypeEn } Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::operator Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[624]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[624]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[624]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[624]); } /* -Ifc4x3_rc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value Ifc4x3_rc1::IfcLoadGroupTypeEnum::FromSt } Ifc4x3_rc1::IfcLoadGroupTypeEnum::operator Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[627]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[627]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[627]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[627]); } /* -Ifc4x3_rc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x3_rc1::IfcLogicalOperatorEnum::Value Ifc4x3_rc1::IfcLogicalOperatorEnum::Fr } Ifc4x3_rc1::IfcLogicalOperatorEnum::operator Ifc4x3_rc1::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x3_rc1::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMarineFacilityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[639]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[639]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMarineFacilityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[639]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[639]); } /* -Ifc4x3_rc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value Ifc4x3_rc1::IfcMarineFacilityTypeEn } Ifc4x3_rc1::IfcMarineFacilityTypeEnum::operator Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMarinePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[640]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMarinePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[640]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMarinePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[640]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMarinePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[640]); } /* -Ifc4x3_rc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x3_rc1::IfcMarinePartTypeEnum::Value Ifc4x3_rc1::IfcMarinePartTypeEnum::From } Ifc4x3_rc1::IfcMarinePartTypeEnum::operator Ifc4x3_rc1::IfcMarinePartTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcMarinePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcMarinePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[669]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[669]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[669]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[669]); } /* -Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_rc1::IfcMechanicalFasten } Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::operator Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[672]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[672]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[672]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[672]); } /* -Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value Ifc4x3_rc1::IfcMedicalDeviceTypeEnum } Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::operator Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[676]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[676]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[676]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[676]); } /* -Ifc4x3_rc1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x3_rc1::IfcMemberTypeEnum::Value Ifc4x3_rc1::IfcMemberTypeEnum::FromString(c } Ifc4x3_rc1::IfcMemberTypeEnum::operator Ifc4x3_rc1::IfcMemberTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[682]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[682]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[682]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[682]); } /* -Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_rc1::IfcM } Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::operator Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMooringDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[698]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[698]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMooringDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[698]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[698]); } /* -Ifc4x3_rc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value Ifc4x3_rc1::IfcMooringDeviceTypeEnum } Ifc4x3_rc1::IfcMooringDeviceTypeEnum::operator Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[701]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[701]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[701]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[701]); } /* -Ifc4x3_rc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value Ifc4x3_rc1::IfcMotorConnectionType } Ifc4x3_rc1::IfcMotorConnectionTypeEnum::operator Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcNavigationElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[705]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[705]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcNavigationElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[705]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[705]); } /* -Ifc4x3_rc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value Ifc4x3_rc1::IfcNavigationElement } Ifc4x3_rc1::IfcNavigationElementTypeEnum::operator Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcNullStyle::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[708]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcNullStyle::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[708]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcNullStyle::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[708]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcNullStyle::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[708]); } /* -Ifc4x3_rc1::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) +Ifc4x3_rc1::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcNullStyle::IfcNullStyle(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcNullStyle::IfcNullStyle(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x3_rc1::IfcNullStyle::Value Ifc4x3_rc1::IfcNullStyle::FromString(const std:: } Ifc4x3_rc1::IfcNullStyle::operator Ifc4x3_rc1::IfcNullStyle::Value() const { - return (Ifc4x3_rc1::IfcNullStyle::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcNullStyle::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcObjectTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[716]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcObjectTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[716]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcObjectTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[716]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcObjectTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[716]); } /* -Ifc4x3_rc1::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcObjectTypeEnum::IfcObjectTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x3_rc1::IfcObjectTypeEnum::Value Ifc4x3_rc1::IfcObjectTypeEnum::FromString(c } Ifc4x3_rc1::IfcObjectTypeEnum::operator Ifc4x3_rc1::IfcObjectTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcObjectTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcObjectTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[713]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[713]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[713]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[713]); } /* -Ifc4x3_rc1::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x3_rc1::IfcObjectiveEnum::Value Ifc4x3_rc1::IfcObjectiveEnum::FromString(con } Ifc4x3_rc1::IfcObjectiveEnum::operator Ifc4x3_rc1::IfcObjectiveEnum::Value() const { - return (Ifc4x3_rc1::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[718]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[718]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[718]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[718]); } /* -Ifc4x3_rc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x3_rc1::IfcOccupantTypeEnum::Value Ifc4x3_rc1::IfcOccupantTypeEnum::FromStri } Ifc4x3_rc1::IfcOccupantTypeEnum::operator Ifc4x3_rc1::IfcOccupantTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[725]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[725]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[725]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[725]); } /* -Ifc4x3_rc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value Ifc4x3_rc1::IfcOpeningElementTypeEn } Ifc4x3_rc1::IfcOpeningElementTypeEnum::operator Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[735]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[735]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[735]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[735]); } /* -Ifc4x3_rc1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x3_rc1::IfcOutletTypeEnum::Value Ifc4x3_rc1::IfcOutletTypeEnum::FromString(c } Ifc4x3_rc1::IfcOutletTypeEnum::operator Ifc4x3_rc1::IfcOutletTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[744]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[744]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[744]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[744]); } /* -Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value Ifc4x3_rc1::IfcPerformanceHisto } Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::operator Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[745]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[745]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[745]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[745]); } /* -Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value Ifc4x3_rc1::IfcPermeableCov } Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::operator Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[748]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[748]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[748]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[748]); } /* -Ifc4x3_rc1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x3_rc1::IfcPermitTypeEnum::Value Ifc4x3_rc1::IfcPermitTypeEnum::FromString(c } Ifc4x3_rc1::IfcPermitTypeEnum::operator Ifc4x3_rc1::IfcPermitTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[753]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[753]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[753]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[753]); } /* -Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value Ifc4x3_rc1::IfcPhysicalOrVirtualEnum } Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::operator Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[757]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[757]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[757]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[757]); } /* -Ifc4x3_rc1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x3_rc1::IfcPileConstructionEnum::Value Ifc4x3_rc1::IfcPileConstructionEnum:: } Ifc4x3_rc1::IfcPileConstructionEnum::operator Ifc4x3_rc1::IfcPileConstructionEnum::Value() const { - return (Ifc4x3_rc1::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[759]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[759]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[759]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[759]); } /* -Ifc4x3_rc1::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x3_rc1::IfcPileTypeEnum::Value Ifc4x3_rc1::IfcPileTypeEnum::FromString(const } Ifc4x3_rc1::IfcPileTypeEnum::operator Ifc4x3_rc1::IfcPileTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[762]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[762]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[762]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[762]); } /* -Ifc4x3_rc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value Ifc4x3_rc1::IfcPipeFittingTypeEnum::Fr } Ifc4x3_rc1::IfcPipeFittingTypeEnum::operator Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[765]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[765]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[765]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[765]); } /* -Ifc4x3_rc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Fr } Ifc4x3_rc1::IfcPipeSegmentTypeEnum::operator Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[777]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[777]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[777]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[777]); } /* -Ifc4x3_rc1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x3_rc1::IfcPlateTypeEnum::Value Ifc4x3_rc1::IfcPlateTypeEnum::FromString(con } Ifc4x3_rc1::IfcPlateTypeEnum::operator Ifc4x3_rc1::IfcPlateTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[800]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[800]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[800]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[800]); } /* -Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_rc1::IfcPreferr } Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[811]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[811]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[811]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[811]); } /* -Ifc4x3_rc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x3_rc1::IfcProcedureTypeEnum::Value Ifc4x3_rc1::IfcProcedureTypeEnum::FromSt } Ifc4x3_rc1::IfcProcedureTypeEnum::operator Ifc4x3_rc1::IfcProcedureTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[821]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[821]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[821]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[821]); } /* -Ifc4x3_rc1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x3_rc1::IfcProfileTypeEnum::Value Ifc4x3_rc1::IfcProfileTypeEnum::FromString } Ifc4x3_rc1::IfcProfileTypeEnum::operator Ifc4x3_rc1::IfcProfileTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[829]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[829]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[829]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[829]); } /* -Ifc4x3_rc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value Ifc4x3_rc1::IfcProjectOrderTypeEnum:: } Ifc4x3_rc1::IfcProjectOrderTypeEnum::operator Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[824]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[824]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[824]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[824]); } /* -Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value Ifc4x3_rc1::IfcProjectedOrTrueLe } Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::operator Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[826]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[826]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[826]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[826]); } /* -Ifc4x3_rc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value Ifc4x3_rc1::IfcProjectionElement } Ifc4x3_rc1::IfcProjectionElementTypeEnum::operator Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[844]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[844]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[844]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[844]); } /* -Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value Ifc4x3_rc1::IfcPropertySetTemp } Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::operator Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[852]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[852]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[852]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[852]); } /* -Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_rc1::IfcProtec } Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[854]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[854]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[854]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[854]); } /* -Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_rc1::IfcProtectiveDeviceTy } Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::operator Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[858]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[858]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[858]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[858]); } /* -Ifc4x3_rc1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x3_rc1::IfcPumpTypeEnum::Value Ifc4x3_rc1::IfcPumpTypeEnum::FromString(const } Ifc4x3_rc1::IfcPumpTypeEnum::operator Ifc4x3_rc1::IfcPumpTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRailTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[872]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRailTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[872]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRailTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[872]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRailTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[872]); } /* -Ifc4x3_rc1::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcRailTypeEnum::IfcRailTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcRailTypeEnum::IfcRailTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x3_rc1::IfcRailTypeEnum::Value Ifc4x3_rc1::IfcRailTypeEnum::FromString(const } Ifc4x3_rc1::IfcRailTypeEnum::operator Ifc4x3_rc1::IfcRailTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcRailTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcRailTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[870]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[870]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[870]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[870]); } /* -Ifc4x3_rc1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x3_rc1::IfcRailingTypeEnum::Value Ifc4x3_rc1::IfcRailingTypeEnum::FromString } Ifc4x3_rc1::IfcRailingTypeEnum::operator Ifc4x3_rc1::IfcRailingTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRailwayPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[874]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRailwayPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[874]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRailwayPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[874]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRailwayPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[874]); } /* -Ifc4x3_rc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x3_rc1::IfcRailwayPartTypeEnum::Value Ifc4x3_rc1::IfcRailwayPartTypeEnum::Fr } Ifc4x3_rc1::IfcRailwayPartTypeEnum::operator Ifc4x3_rc1::IfcRailwayPartTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcRailwayPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcRailwayPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[878]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[878]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[878]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[878]); } /* -Ifc4x3_rc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x3_rc1::IfcRampFlightTypeEnum::Value Ifc4x3_rc1::IfcRampFlightTypeEnum::From } Ifc4x3_rc1::IfcRampFlightTypeEnum::operator Ifc4x3_rc1::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[880]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[880]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[880]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[880]); } /* -Ifc4x3_rc1::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x3_rc1::IfcRampTypeEnum::Value Ifc4x3_rc1::IfcRampTypeEnum::FromString(const } Ifc4x3_rc1::IfcRampTypeEnum::operator Ifc4x3_rc1::IfcRampTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[890]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[890]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[890]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[890]); } /* -Ifc4x3_rc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value Ifc4x3_rc1::IfcRecurrenceTypeEnum::From } Ifc4x3_rc1::IfcRecurrenceTypeEnum::operator Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[893]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[893]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[893]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[893]); } /* -Ifc4x3_rc1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x3_rc1::IfcReferentTypeEnum::Value Ifc4x3_rc1::IfcReferentTypeEnum::FromStri } Ifc4x3_rc1::IfcReferentTypeEnum::operator Ifc4x3_rc1::IfcReferentTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[894]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[894]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[894]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[894]); } /* -Ifc4x3_rc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x3_rc1::IfcReflectanceMethodEnum::Value Ifc4x3_rc1::IfcReflectanceMethodEnum } Ifc4x3_rc1::IfcReflectanceMethodEnum::operator Ifc4x3_rc1::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x3_rc1::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[897]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[897]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[897]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[897]); } /* -Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value Ifc4x3_rc1::IfcReinforcedSoilTypeEn } Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::operator Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[901]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[901]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[901]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[901]); } /* -Ifc4x3_rc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value Ifc4x3_rc1::IfcReinforcingBarRoleEn } Ifc4x3_rc1::IfcReinforcingBarRoleEnum::operator Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[902]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[902]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[902]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[902]); } /* -Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value Ifc4x3_rc1::IfcReinforcingBarSur } Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::operator Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[904]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[904]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[904]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[904]); } /* -Ifc4x3_rc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value Ifc4x3_rc1::IfcReinforcingBarTypeEn } Ifc4x3_rc1::IfcReinforcingBarTypeEnum::operator Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[909]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[909]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[909]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[909]); } /* -Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value Ifc4x3_rc1::IfcReinforcingMeshType } Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::operator Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRoadPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[977]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRoadPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[977]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRoadPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[977]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRoadPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[977]); } /* -Ifc4x3_rc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x3_rc1::IfcRoadPartTypeEnum::Value Ifc4x3_rc1::IfcRoadPartTypeEnum::FromStri } Ifc4x3_rc1::IfcRoadPartTypeEnum::operator Ifc4x3_rc1::IfcRoadPartTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcRoadPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcRoadPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[978]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[978]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[978]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[978]); } /* -Ifc4x3_rc1::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x3_rc1::IfcRoleEnum::Value Ifc4x3_rc1::IfcRoleEnum::FromString(const std::st } Ifc4x3_rc1::IfcRoleEnum::operator Ifc4x3_rc1::IfcRoleEnum::Value() const { - return (Ifc4x3_rc1::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[981]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[981]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[981]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[981]); } /* -Ifc4x3_rc1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x3_rc1::IfcRoofTypeEnum::Value Ifc4x3_rc1::IfcRoofTypeEnum::FromString(const } Ifc4x3_rc1::IfcRoofTypeEnum::operator Ifc4x3_rc1::IfcRoofTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1026]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1026]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1026]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1026]); } /* -Ifc4x3_rc1::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x3_rc1::IfcSIPrefix::Value Ifc4x3_rc1::IfcSIPrefix::FromString(const std::st } Ifc4x3_rc1::IfcSIPrefix::operator Ifc4x3_rc1::IfcSIPrefix::Value() const { - return (Ifc4x3_rc1::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1029]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1029]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1029]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1029]); } /* -Ifc4x3_rc1::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x3_rc1::IfcSIUnitName::Value Ifc4x3_rc1::IfcSIUnitName::FromString(const std } Ifc4x3_rc1::IfcSIUnitName::operator Ifc4x3_rc1::IfcSIUnitName::Value() const { - return (Ifc4x3_rc1::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[990]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[990]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[990]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[990]); } /* -Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_rc1::IfcSanitaryTerminalTy } Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::operator Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1001]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1001]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1001]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1001]); } /* -Ifc4x3_rc1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x3_rc1::IfcSectionTypeEnum::Value Ifc4x3_rc1::IfcSectionTypeEnum::FromString } Ifc4x3_rc1::IfcSectionTypeEnum::operator Ifc4x3_rc1::IfcSectionTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1005]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1005]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1005]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1005]); } /* -Ifc4x3_rc1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x3_rc1::IfcSensorTypeEnum::Value Ifc4x3_rc1::IfcSensorTypeEnum::FromString(c } Ifc4x3_rc1::IfcSensorTypeEnum::operator Ifc4x3_rc1::IfcSensorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1006]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1006]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1006]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1006]); } /* -Ifc4x3_rc1::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x3_rc1::IfcSequenceEnum::Value Ifc4x3_rc1::IfcSequenceEnum::FromString(const } Ifc4x3_rc1::IfcSequenceEnum::operator Ifc4x3_rc1::IfcSequenceEnum::Value() const { - return (Ifc4x3_rc1::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1009]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1009]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1009]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1009]); } /* -Ifc4x3_rc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value Ifc4x3_rc1::IfcShadingDeviceTypeEnum } Ifc4x3_rc1::IfcShadingDeviceTypeEnum::operator Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSignTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1021]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSignTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1021]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSignTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1021]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSignTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1021]); } /* -Ifc4x3_rc1::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSignTypeEnum::IfcSignTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSignTypeEnum::IfcSignTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x3_rc1::IfcSignTypeEnum::Value Ifc4x3_rc1::IfcSignTypeEnum::FromString(const } Ifc4x3_rc1::IfcSignTypeEnum::operator Ifc4x3_rc1::IfcSignTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSignTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSignTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSignalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1019]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSignalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1019]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSignalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1019]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSignalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1019]); } /* -Ifc4x3_rc1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSignalTypeEnum::IfcSignalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x3_rc1::IfcSignalTypeEnum::Value Ifc4x3_rc1::IfcSignalTypeEnum::FromString(c } Ifc4x3_rc1::IfcSignalTypeEnum::operator Ifc4x3_rc1::IfcSignalTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSignalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSignalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1024]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1024]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1024]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1024]); } /* -Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x3_rc1::IfcSimpleProper } Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1035]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1035]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1035]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1035]); } /* -Ifc4x3_rc1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x3_rc1::IfcSlabTypeEnum::Value Ifc4x3_rc1::IfcSlabTypeEnum::FromString(const } Ifc4x3_rc1::IfcSlabTypeEnum::operator Ifc4x3_rc1::IfcSlabTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1039]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1039]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1039]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1039]); } /* -Ifc4x3_rc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Fr } Ifc4x3_rc1::IfcSolarDeviceTypeEnum::operator Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1052]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1052]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1052]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1052]); } /* -Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Fr } Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::operator Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1054]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1054]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1054]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1054]); } /* -Ifc4x3_rc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x3_rc1::IfcSpaceTypeEnum::Value Ifc4x3_rc1::IfcSpaceTypeEnum::FromString(con } Ifc4x3_rc1::IfcSpaceTypeEnum::operator Ifc4x3_rc1::IfcSpaceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1062]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1062]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1062]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1062]); } /* -Ifc4x3_rc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Fr } Ifc4x3_rc1::IfcSpatialZoneTypeEnum::operator Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1071]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1071]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1071]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1071]); } /* -Ifc4x3_rc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value Ifc4x3_rc1::IfcStackTerminalTypeEnum } Ifc4x3_rc1::IfcStackTerminalTypeEnum::operator Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1075]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1075]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1075]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1075]); } /* -Ifc4x3_rc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x3_rc1::IfcStairFlightTypeEnum::Value Ifc4x3_rc1::IfcStairFlightTypeEnum::Fr } Ifc4x3_rc1::IfcStairFlightTypeEnum::operator Ifc4x3_rc1::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1077]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1077]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1077]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1077]); } /* -Ifc4x3_rc1::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x3_rc1::IfcStairTypeEnum::Value Ifc4x3_rc1::IfcStairTypeEnum::FromString(con } Ifc4x3_rc1::IfcStairTypeEnum::operator Ifc4x3_rc1::IfcStairTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1078]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1078]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1078]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1078]); } /* -Ifc4x3_rc1::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x3_rc1::IfcStateEnum::Value Ifc4x3_rc1::IfcStateEnum::FromString(const std:: } Ifc4x3_rc1::IfcStateEnum::operator Ifc4x3_rc1::IfcStateEnum::Value() const { - return (Ifc4x3_rc1::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1086]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1086]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1086]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1086]); } /* -Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc1::IfcStructuralC } Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::operator Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1089]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1089]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1089]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1089]); } /* -Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_rc1::IfcStructuralCur } Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::operator Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1115]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1115]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1115]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1115]); } /* -Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc1::IfcStructura } Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1118]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1118]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1118]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1118]); } /* -Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_rc1::IfcStructuralS } Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1127]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1127]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1127]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1127]); } /* -Ifc4x3_rc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value Ifc4x3_rc1::IfcSubContractReso } Ifc4x3_rc1::IfcSubContractResourceTypeEnum::operator Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1133]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1133]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1133]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1133]); } /* -Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value Ifc4x3_rc1::IfcSurfaceFeatureTypeEn } Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::operator Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1138]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1138]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1138]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1138]); } /* -Ifc4x3_rc1::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x3_rc1::IfcSurfaceSide::Value Ifc4x3_rc1::IfcSurfaceSide::FromString(const s } Ifc4x3_rc1::IfcSurfaceSide::operator Ifc4x3_rc1::IfcSurfaceSide::Value() const { - return (Ifc4x3_rc1::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1153]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1153]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1153]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1153]); } /* -Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_rc1::IfcSwitchingDeviceType } Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::operator Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1157]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1157]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1157]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1157]); } /* -Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value Ifc4x3_rc1::IfcSystemFurnit } Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::operator Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1163]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1163]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1163]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1163]); } /* -Ifc4x3_rc1::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x3_rc1::IfcTankTypeEnum::Value Ifc4x3_rc1::IfcTankTypeEnum::FromString(const } Ifc4x3_rc1::IfcTankTypeEnum::operator Ifc4x3_rc1::IfcTankTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1165]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1165]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1165]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1165]); } /* -Ifc4x3_rc1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,23 +6126,23 @@ Ifc4x3_rc1::IfcTaskDurationEnum::Value Ifc4x3_rc1::IfcTaskDurationEnum::FromStri } Ifc4x3_rc1::IfcTaskDurationEnum::operator Ifc4x3_rc1::IfcTaskDurationEnum::Value() const { - return (Ifc4x3_rc1::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1169]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1169]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1169]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1169]); } /* -Ifc4x3_rc1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6155,23 +6155,23 @@ Ifc4x3_rc1::IfcTaskTypeEnum::Value Ifc4x3_rc1::IfcTaskTypeEnum::FromString(const } Ifc4x3_rc1::IfcTaskTypeEnum::operator Ifc4x3_rc1::IfcTaskTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1176]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1176]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1176]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1176]); } /* -Ifc4x3_rc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6184,23 +6184,23 @@ Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value Ifc4x3_rc1::IfcTendonAnchorTypeEnum:: } Ifc4x3_rc1::IfcTendonAnchorTypeEnum::operator Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTendonConduitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1179]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1179]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1179]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1179]); } /* -Ifc4x3_rc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6213,23 +6213,23 @@ Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value Ifc4x3_rc1::IfcTendonConduitTypeEnum } Ifc4x3_rc1::IfcTendonConduitTypeEnum::operator Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1181]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1181]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1181]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1181]); } /* -Ifc4x3_rc1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6242,23 +6242,23 @@ Ifc4x3_rc1::IfcTendonTypeEnum::Value Ifc4x3_rc1::IfcTendonTypeEnum::FromString(c } Ifc4x3_rc1::IfcTendonTypeEnum::operator Ifc4x3_rc1::IfcTendonTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1191]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1191]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1191]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1191]); } /* -Ifc4x3_rc1::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6271,23 +6271,23 @@ Ifc4x3_rc1::IfcTextPath::Value Ifc4x3_rc1::IfcTextPath::FromString(const std::st } Ifc4x3_rc1::IfcTextPath::operator Ifc4x3_rc1::IfcTextPath::Value() const { - return (Ifc4x3_rc1::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1213]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1213]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1213]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1213]); } /* -Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6300,23 +6300,23 @@ Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_rc1::IfcTimeSeriesDataTypeEn } Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::operator Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTrackElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1222]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTrackElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1222]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTrackElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1222]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTrackElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1222]); } /* -Ifc4x3_rc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6329,23 +6329,23 @@ Ifc4x3_rc1::IfcTrackElementTypeEnum::Value Ifc4x3_rc1::IfcTrackElementTypeEnum:: } Ifc4x3_rc1::IfcTrackElementTypeEnum::operator Ifc4x3_rc1::IfcTrackElementTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTrackElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTrackElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1225]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1225]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1225]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1225]); } /* -Ifc4x3_rc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6358,23 +6358,23 @@ Ifc4x3_rc1::IfcTransformerTypeEnum::Value Ifc4x3_rc1::IfcTransformerTypeEnum::Fr } Ifc4x3_rc1::IfcTransformerTypeEnum::operator Ifc4x3_rc1::IfcTransformerTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1226]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1226]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1226]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1226]); } /* -Ifc4x3_rc1::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6387,23 +6387,23 @@ Ifc4x3_rc1::IfcTransitionCode::Value Ifc4x3_rc1::IfcTransitionCode::FromString(c } Ifc4x3_rc1::IfcTransitionCode::operator Ifc4x3_rc1::IfcTransitionCode::Value() const { - return (Ifc4x3_rc1::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransitionCurveType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1228]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransitionCurveType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1228]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransitionCurveType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1228]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransitionCurveType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1228]); } /* -Ifc4x3_rc1::IfcTransitionCurveType::IfcTransitionCurveType(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTransitionCurveType::IfcTransitionCurveType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTransitionCurveType::IfcTransitionCurveType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTransitionCurveType::IfcTransitionCurveType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6416,23 +6416,23 @@ Ifc4x3_rc1::IfcTransitionCurveType::Value Ifc4x3_rc1::IfcTransitionCurveType::Fr } Ifc4x3_rc1::IfcTransitionCurveType::operator Ifc4x3_rc1::IfcTransitionCurveType::Value() const { - return (Ifc4x3_rc1::IfcTransitionCurveType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTransitionCurveType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1231]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1231]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1231]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1231]); } /* -Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6445,23 +6445,23 @@ Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::Value Ifc4x3_rc1::IfcTransportElem } Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::operator Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTransportElementFixedTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1232]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1232]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1232]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1232]); } /* -Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6474,23 +6474,23 @@ Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::Value Ifc4x3_rc1::IfcTransportE } Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::operator Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTransportElementNonFixedTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1239]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1239]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1239]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1239]); } /* -Ifc4x3_rc1::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6503,23 +6503,23 @@ Ifc4x3_rc1::IfcTrimmingPreference::Value Ifc4x3_rc1::IfcTrimmingPreference::From } Ifc4x3_rc1::IfcTrimmingPreference::operator Ifc4x3_rc1::IfcTrimmingPreference::Value() const { - return (Ifc4x3_rc1::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1244]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1244]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1244]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1244]); } /* -Ifc4x3_rc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6532,23 +6532,23 @@ Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value Ifc4x3_rc1::IfcTubeBundleTypeEnum::From } Ifc4x3_rc1::IfcTubeBundleTypeEnum::operator Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1257]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1257]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1257]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1257]); } /* -Ifc4x3_rc1::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6561,23 +6561,23 @@ Ifc4x3_rc1::IfcUnitEnum::Value Ifc4x3_rc1::IfcUnitEnum::FromString(const std::st } Ifc4x3_rc1::IfcUnitEnum::operator Ifc4x3_rc1::IfcUnitEnum::Value() const { - return (Ifc4x3_rc1::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1252]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1252]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1252]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1252]); } /* -Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6590,23 +6590,23 @@ Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_rc1::IfcUnitaryContro } Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::operator Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1255]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1255]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1255]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1255]); } /* -Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6619,23 +6619,23 @@ Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_rc1::IfcUnitaryEquipmentTy } Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::operator Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1263]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1263]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1263]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1263]); } /* -Ifc4x3_rc1::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6648,23 +6648,23 @@ Ifc4x3_rc1::IfcValveTypeEnum::Value Ifc4x3_rc1::IfcValveTypeEnum::FromString(con } Ifc4x3_rc1::IfcValveTypeEnum::operator Ifc4x3_rc1::IfcValveTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcVibrationDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1272]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1272]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1272]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1272]); } /* -Ifc4x3_rc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6677,23 +6677,23 @@ Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value Ifc4x3_rc1::IfcVibrationDamperType } Ifc4x3_rc1::IfcVibrationDamperTypeEnum::operator Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1275]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1275]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1275]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1275]); } /* -Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6706,23 +6706,23 @@ Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_rc1::IfcVibrationIsolator } Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::operator Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1279]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1279]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1279]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1279]); } /* -Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6735,23 +6735,23 @@ Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value Ifc4x3_rc1::IfcVoidingFeatureTypeEn } Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::operator Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1287]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1287]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1287]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1287]); } /* -Ifc4x3_rc1::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6764,23 +6764,23 @@ Ifc4x3_rc1::IfcWallTypeEnum::Value Ifc4x3_rc1::IfcWallTypeEnum::FromString(const } Ifc4x3_rc1::IfcWallTypeEnum::operator Ifc4x3_rc1::IfcWallTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1293]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1293]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1293]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1293]); } /* -Ifc4x3_rc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6793,23 +6793,23 @@ Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value Ifc4x3_rc1::IfcWasteTerminalTypeEnum } Ifc4x3_rc1::IfcWasteTerminalTypeEnum::operator Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1297]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1297]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1297]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1297]); } /* -Ifc4x3_rc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6822,23 +6822,23 @@ Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value Ifc4x3_rc1::IfcWindowPanelOperati } Ifc4x3_rc1::IfcWindowPanelOperationEnum::operator Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1298]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1298]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1298]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1298]); } /* -Ifc4x3_rc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6851,23 +6851,23 @@ Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value Ifc4x3_rc1::IfcWindowPanelPosition } Ifc4x3_rc1::IfcWindowPanelPositionEnum::operator Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1302]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1302]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1302]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1302]); } /* -Ifc4x3_rc1::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6880,23 +6880,23 @@ Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value Ifc4x3_rc1::IfcWindowStyleCons } Ifc4x3_rc1::IfcWindowStyleConstructionEnum::operator Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value() const { - return (Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1303]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1303]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1303]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1303]); } /* -Ifc4x3_rc1::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6909,23 +6909,23 @@ Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value Ifc4x3_rc1::IfcWindowStyleOperati } Ifc4x3_rc1::IfcWindowStyleOperationEnum::operator Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value() const { - return (Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1305]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1305]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1305]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1305]); } /* -Ifc4x3_rc1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6938,23 +6938,23 @@ Ifc4x3_rc1::IfcWindowTypeEnum::Value Ifc4x3_rc1::IfcWindowTypeEnum::FromString(c } Ifc4x3_rc1::IfcWindowTypeEnum::operator Ifc4x3_rc1::IfcWindowTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1306]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1306]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1306]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1306]); } /* -Ifc4x3_rc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6967,23 +6967,23 @@ Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value Ifc4x3_rc1::IfcWindowTypePartit } Ifc4x3_rc1::IfcWindowTypePartitioningEnum::operator Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1308]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1308]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1308]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1308]); } /* -Ifc4x3_rc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6996,23 +6996,23 @@ Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value Ifc4x3_rc1::IfcWorkCalendarTypeEnum:: } Ifc4x3_rc1::IfcWorkCalendarTypeEnum::operator Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1311]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1311]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1311]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1311]); } /* -Ifc4x3_rc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7025,23 +7025,23 @@ Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value Ifc4x3_rc1::IfcWorkPlanTypeEnum::FromStri } Ifc4x3_rc1::IfcWorkPlanTypeEnum::operator Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1313]); } -const IfcParse::enumeration_type& Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC1_types[1313]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1313]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC1_types[1313]); } /* -Ifc4x3_rc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7054,861 +7054,861 @@ Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value Ifc4x3_rc1::IfcWorkScheduleTypeEnum:: } Ifc4x3_rc1::IfcWorkScheduleTypeEnum::operator Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x3_rc1::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[8]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[8]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[54]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[54]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[71]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[71]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[84]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[84]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[93]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[93]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[176]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[176]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[177]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[177]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[182]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[182]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[183]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[183]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[251]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[251]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[268]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[268]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[279]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[279]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[281]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[281]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[282]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[282]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[288]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[288]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[300]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[300]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[301]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[301]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[338]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[338]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcFacilityPartTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[452]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcFacilityPartTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[452]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[467]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[467]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[518]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[518]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[529]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[529]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[533]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[533]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[548]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[548]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcInterferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[562]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcInterferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[562]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[588]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[588]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[593]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[593]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[596]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[596]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcLinearAxisSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[609]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcLinearAxisSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[609]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[663]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[663]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[665]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[665]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[678]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[678]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[686]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[686]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[688]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[688]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[689]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[689]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[715]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[715]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[781]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[781]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcPresentationStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[807]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcPresentationStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[807]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[813]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[813]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[817]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[817]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[818]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[818]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[841]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[841]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[969]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[969]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[970]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[970]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[986]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[986]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1002]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1002]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1014]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1014]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1025]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1025]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1030]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1030]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1042]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1042]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1049]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1049]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcSpatialReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1057]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcSpatialReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1057]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1065]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1065]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1081]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1081]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcStyleAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1121]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcStyleAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1121]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1136]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1136]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1140]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1140]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1188]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1188]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1210]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1210]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1229]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1229]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcTransportElementTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1234]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcTransportElementTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1234]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1240]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1240]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1249]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1249]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1260]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1260]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1266]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1266]); } -const IfcParse::select_type& Ifc4x3_rc1::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC1_types[1290]); } +const ifcopenshell::select_type& Ifc4x3_rc1::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC1_types[1290]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[0]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[0]); } void Ifc4x3_rc1::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1]); } void Ifc4x3_rc1::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[45]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[45]); } void Ifc4x3_rc1::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[48]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[48]); } void Ifc4x3_rc1::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x3_rc1::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[60]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[60]); } void Ifc4x3_rc1::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[61]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[61]); } void Ifc4x3_rc1::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[62]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[62]); } void Ifc4x3_rc1::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x3_rc1::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[85]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[85]); } void Ifc4x3_rc1::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x3_rc1::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[91]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[91]); } void Ifc4x3_rc1::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x3_rc1::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[106]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[106]); } void Ifc4x3_rc1::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x3_rc1::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[150]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[150]); } void Ifc4x3_rc1::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x3_rc1::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[194]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[194]); } void Ifc4x3_rc1::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[202]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[202]); } void Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[232]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[232]); } void Ifc4x3_rc1::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[257]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[257]); } void Ifc4x3_rc1::IfcCountMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcCountMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[275]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[275]); } void Ifc4x3_rc1::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x3_rc1::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[294]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[294]); } void Ifc4x3_rc1::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x3_rc1::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[295]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[295]); } void Ifc4x3_rc1::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x3_rc1::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[296]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[296]); } void Ifc4x3_rc1::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x3_rc1::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[297]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[297]); } void Ifc4x3_rc1::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[306]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[306]); } void Ifc4x3_rc1::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x3_rc1::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[308]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[308]); } void Ifc4x3_rc1::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[352]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[352]); } void Ifc4x3_rc1::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x3_rc1::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[364]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[364]); } void Ifc4x3_rc1::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[365]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[365]); } void Ifc4x3_rc1::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[377]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[377]); } void Ifc4x3_rc1::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[378]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[378]); } void Ifc4x3_rc1::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[379]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[379]); } void Ifc4x3_rc1::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[380]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[380]); } void Ifc4x3_rc1::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[396]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[396]); } void Ifc4x3_rc1::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[400]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[400]); } void Ifc4x3_rc1::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[415]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[415]); } void Ifc4x3_rc1::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x3_rc1::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[496]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[496]); } void Ifc4x3_rc1::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x3_rc1::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[497]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[497]); } void Ifc4x3_rc1::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x3_rc1::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[498]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[498]); } void Ifc4x3_rc1::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[502]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[502]); } void Ifc4x3_rc1::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[503]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[503]); } void Ifc4x3_rc1::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x3_rc1::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[524]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[524]); } void Ifc4x3_rc1::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[537]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[537]); } void Ifc4x3_rc1::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[538]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[538]); } void Ifc4x3_rc1::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x3_rc1::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[542]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[542]); } void Ifc4x3_rc1::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[543]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[543]); } void Ifc4x3_rc1::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[556]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[556]); } void Ifc4x3_rc1::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x3_rc1::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[557]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[557]); } void Ifc4x3_rc1::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[558]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[558]); } void Ifc4x3_rc1::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[567]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[567]); } void Ifc4x3_rc1::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[571]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[571]); } void Ifc4x3_rc1::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[577]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[577]); } void Ifc4x3_rc1::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[579]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[579]); } void Ifc4x3_rc1::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[587]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[587]); } void Ifc4x3_rc1::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[590]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[590]); } void Ifc4x3_rc1::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[619]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[619]); } void Ifc4x3_rc1::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[611]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[611]); } void Ifc4x3_rc1::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[612]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[612]); } void Ifc4x3_rc1::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[617]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[617]); } void Ifc4x3_rc1::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[618]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[618]); } void Ifc4x3_rc1::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[626]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[626]); } void Ifc4x3_rc1::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[630]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[630]); } void Ifc4x3_rc1::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[631]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[631]); } void Ifc4x3_rc1::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[632]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[632]); } void Ifc4x3_rc1::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[633]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[633]); } void Ifc4x3_rc1::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[634]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[634]); } void Ifc4x3_rc1::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[641]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[641]); } void Ifc4x3_rc1::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[642]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[642]); } void Ifc4x3_rc1::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[643]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[643]); } void Ifc4x3_rc1::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[644]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[644]); } void Ifc4x3_rc1::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[683]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[683]); } void Ifc4x3_rc1::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[684]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[684]); } void Ifc4x3_rc1::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[685]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[685]); } void Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[687]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[687]); } void Ifc4x3_rc1::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[690]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[690]); } void Ifc4x3_rc1::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[691]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[691]); } void Ifc4x3_rc1::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[692]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[692]); } void Ifc4x3_rc1::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[693]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[693]); } void Ifc4x3_rc1::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x3_rc1::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[695]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[695]); } void Ifc4x3_rc1::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[706]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[706]); } void Ifc4x3_rc1::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[707]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[707]); } void Ifc4x3_rc1::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[709]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[709]); } void Ifc4x3_rc1::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[751]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[751]); } void Ifc4x3_rc1::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x3_rc1::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[738]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[738]); } void Ifc4x3_rc1::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[770]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[770]); } void Ifc4x3_rc1::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[772]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[772]); } void Ifc4x3_rc1::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[788]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[788]); } void Ifc4x3_rc1::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[789]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[789]); } void Ifc4x3_rc1::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[790]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[790]); } void Ifc4x3_rc1::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[791]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[791]); } void Ifc4x3_rc1::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[793]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[793]); } void Ifc4x3_rc1::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[801]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[801]); } void Ifc4x3_rc1::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[808]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[808]); } void Ifc4x3_rc1::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x3_rc1::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[842]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[842]); } void Ifc4x3_rc1::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x3_rc1::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[866]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[866]); } void Ifc4x3_rc1::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[881]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[881]); } void Ifc4x3_rc1::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x3_rc1::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[884]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[884]); } void Ifc4x3_rc1::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[983]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[983]); } void Ifc4x3_rc1::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[984]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[984]); } void Ifc4x3_rc1::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[985]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[985]); } void Ifc4x3_rc1::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[998]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[998]); } void Ifc4x3_rc1::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[993]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[993]); } void Ifc4x3_rc1::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1013]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1013]); } void Ifc4x3_rc1::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1040]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1040]); } void Ifc4x3_rc1::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1044]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1044]); } void Ifc4x3_rc1::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1045]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1045]); } void Ifc4x3_rc1::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1046]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1046]); } void Ifc4x3_rc1::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1047]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1047]); } void Ifc4x3_rc1::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1063]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1063]); } void Ifc4x3_rc1::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1064]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1064]); } void Ifc4x3_rc1::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x3_rc1::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1066]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1066]); } void Ifc4x3_rc1::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1171]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1171]); } void Ifc4x3_rc1::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1172]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1172]); } void Ifc4x3_rc1::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x3_rc1::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1184]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1184]); } void Ifc4x3_rc1::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1185]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1185]); } void Ifc4x3_rc1::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1186]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1186]); } void Ifc4x3_rc1::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1187]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1187]); } void Ifc4x3_rc1::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1196]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1196]); } void Ifc4x3_rc1::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1202]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1202]); } void Ifc4x3_rc1::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1203]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1203]); } void Ifc4x3_rc1::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1204]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1204]); } void Ifc4x3_rc1::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1205]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1205]); } void Ifc4x3_rc1::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1206]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1206]); } void Ifc4x3_rc1::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1207]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1207]); } void Ifc4x3_rc1::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1208]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1208]); } void Ifc4x3_rc1::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1209]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1209]); } void Ifc4x3_rc1::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1215]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1215]); } void Ifc4x3_rc1::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1219]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1219]); } void Ifc4x3_rc1::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x3_rc1::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1258]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1258]); } void Ifc4x3_rc1::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1264]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1264]); } void Ifc4x3_rc1::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1281]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1281]); } void Ifc4x3_rc1::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1282]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1282]); } void Ifc4x3_rc1::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1288]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1288]); } void Ifc4x3_rc1::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x3_rc1::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC1_types[1289]); } +const ifcopenshell::type_declaration& Ifc4x3_rc1::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC1_types[1289]); } void Ifc4x3_rc1::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc1::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x3_rc1::IfcActionRequestTypeEnum::Value > Ifc4x3_rc1::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc1::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc1::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc1::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc1::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc1::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc1::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[2]); } -void Ifc4x3_rc1::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[2]); } +void Ifc4x3_rc1::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4x3_rc1::IfcActorSelect Ifc4x3_rc1::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc1::IfcActorSelect>(); } void Ifc4x3_rc1::IfcActor::setTheActor(const ::Ifc4x3_rc1::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc1::IfcRelAssignsToActor> Ifc4x3_rc1::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[912], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelAssignsToActor> Ifc4x3_rc1::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[912], 6)); } -const IfcParse::entity& Ifc4x3_rc1::IfcActor::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[6]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[6]); } void Ifc4x3_rc1::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x3_rc1::IfcRoleEnum::Value Ifc4x3_rc1::IfcActorRole::Role() const { return ::Ifc4x3_rc1::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc1::IfcActorRole::setRole(const ::Ifc4x3_rc1::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc1::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc1::IfcActorRole::setRole(const ::Ifc4x3_rc1::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc1::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_rc1::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc1::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[7]); } -void Ifc4x3_rc1::IfcActorRole::initialize(::Ifc4x3_rc1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[7]); } +void Ifc4x3_rc1::IfcActorRole::initialize(::Ifc4x3_rc1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value > Ifc4x3_rc1::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[9]); } -void Ifc4x3_rc1::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[9]); } +void Ifc4x3_rc1::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value Ifc4x3_rc1::IfcActuatorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcActuatorType::setPredefinedType(const ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcActuatorType::setPredefinedType(const ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[10]); } -void Ifc4x3_rc1::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[10]); } +void Ifc4x3_rc1::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > Ifc4x3_rc1::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc1::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc1::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x3_rc1::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc1::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x3_rc1::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc1::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc1::IfcPerson> Ifc4x3_rc1::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[749], 7)); } -std::vector<::Ifc4x3_rc1::IfcOrganization> Ifc4x3_rc1::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[728], 4)); } +std::vector<::Ifc4x3_rc1::IfcPerson> Ifc4x3_rc1::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[749], 7)); } +std::vector<::Ifc4x3_rc1::IfcOrganization> Ifc4x3_rc1::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[728], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[12]); } -void Ifc4x3_rc1::IfcAddress::initialize(std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[12]); } +void Ifc4x3_rc1::IfcAddress::initialize(std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x3_rc1::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[14]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[14]); } void Ifc4x3_rc1::IfcAdvancedBrep::initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -7916,86 +7916,86 @@ std::vector< ::Ifc4x3_rc1::IfcClosedShell > Ifc4x3_rc1::IfcAdvancedBrepWithVoids void Ifc4x3_rc1::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_rc1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[15]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[15]); } void Ifc4x3_rc1::IfcAdvancedBrepWithVoids::initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x3_rc1::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[16]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[16]); } void Ifc4x3_rc1::IfcAdvancedFace::initialize(std::vector< ::Ifc4x3_rc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value > Ifc4x3_rc1::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[17]); } -void Ifc4x3_rc1::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[17]); } +void Ifc4x3_rc1::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3_rc1::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[18]); } -void Ifc4x3_rc1::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[18]); } +void Ifc4x3_rc1::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_rc1::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[19]); } -void Ifc4x3_rc1::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[19]); } +void Ifc4x3_rc1::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value Ifc4x3_rc1::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[21]); } -void Ifc4x3_rc1::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[21]); } +void Ifc4x3_rc1::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3_rc1::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[23]); } -void Ifc4x3_rc1::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[23]); } +void Ifc4x3_rc1::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_rc1::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[24]); } -void Ifc4x3_rc1::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[24]); } +void Ifc4x3_rc1::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value > Ifc4x3_rc1::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[26]); } -void Ifc4x3_rc1::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[26]); } +void Ifc4x3_rc1::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value Ifc4x3_rc1::IfcAlarmType::PredefinedType() const { return ::Ifc4x3_rc1::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcAlarmType::setPredefinedType(const ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcAlarmType::setPredefinedType(const ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[27]); } -void Ifc4x3_rc1::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[27]); } +void Ifc4x3_rc1::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x3_rc1::IfcAlignmentTypeEnum::Value > Ifc4x3_rc1::IfcAlignment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcAlignmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[29]); } -void Ifc4x3_rc1::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcCurve v8_Axis, std::optional< ::Ifc4x3_rc1::IfcAlignmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcAlignmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[29]); } +void Ifc4x3_rc1::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcCurve v8_Axis, std::optional< ::Ifc4x3_rc1::IfcAlignmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcAlignmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlignment2DCant std::vector< ::Ifc4x3_rc1::IfcAlignment2DCantSegment > Ifc4x3_rc1::IfcAlignment2DCant::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcAlignment2DCantSegment>(es); } @@ -8004,13 +8004,13 @@ double Ifc4x3_rc1::IfcAlignment2DCant::RailHeadDistance() const { double v = ge void Ifc4x3_rc1::IfcAlignment2DCant::setRailHeadDistance(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DCant::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[30]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DCant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[30]); } void Ifc4x3_rc1::IfcAlignment2DCant::initialize(std::vector< ::Ifc4x3_rc1::IfcAlignment2DCantSegment > v1_Segments, double v2_RailHeadDistance) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_RailHeadDistance)); } // Function implementations for IfcAlignment2DCantSegLine -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DCantSegLine::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[31]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DCantSegLine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[31]); } void Ifc4x3_rc1::IfcAlignment2DCantSegLine::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartCantLeft, std::optional< double > v7_EndCantLeft, double v8_StartCantRight, std::optional< double > v9_EndCantRight) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartCantLeft)); if (v7_EndCantLeft) {set_attribute_value(6, (*v7_EndCantLeft)); }set_attribute_value(7, (v8_StartCantRight)); if (v9_EndCantRight) {set_attribute_value(8, (*v9_EndCantRight)); } } // Function implementations for IfcAlignment2DCantSegTransition @@ -8023,11 +8023,11 @@ void Ifc4x3_rc1::IfcAlignment2DCantSegTransition::setIsStartRadiusCCW(const bool bool Ifc4x3_rc1::IfcAlignment2DCantSegTransition::IsEndRadiusCCW() const { bool v = get_attribute_value(12); return v; } void Ifc4x3_rc1::IfcAlignment2DCantSegTransition::setIsEndRadiusCCW(const bool& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } ::Ifc4x3_rc1::IfcTransitionCurveType::Value Ifc4x3_rc1::IfcAlignment2DCantSegTransition::TransitionCurveType() const { return ::Ifc4x3_rc1::IfcTransitionCurveType::FromString(get_attribute_value(13)); } -void Ifc4x3_rc1::IfcAlignment2DCantSegTransition::setTransitionCurveType(const ::Ifc4x3_rc1::IfcTransitionCurveType::Value& v) { set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(13); } +void Ifc4x3_rc1::IfcAlignment2DCantSegTransition::setTransitionCurveType(const ::Ifc4x3_rc1::IfcTransitionCurveType::Value& v) { set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DCantSegTransition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[33]); } -void Ifc4x3_rc1::IfcAlignment2DCantSegTransition::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartCantLeft, std::optional< double > v7_EndCantLeft, double v8_StartCantRight, std::optional< double > v9_EndCantRight, std::optional< double > v10_StartRadius, std::optional< double > v11_EndRadius, bool v12_IsStartRadiusCCW, bool v13_IsEndRadiusCCW, ::Ifc4x3_rc1::IfcTransitionCurveType::Value v14_TransitionCurveType) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartCantLeft)); if (v7_EndCantLeft) {set_attribute_value(6, (*v7_EndCantLeft)); }set_attribute_value(7, (v8_StartCantRight)); if (v9_EndCantRight) {set_attribute_value(8, (*v9_EndCantRight)); } if (v10_StartRadius) {set_attribute_value(9, (*v10_StartRadius)); } if (v11_EndRadius) {set_attribute_value(10, (*v11_EndRadius)); }set_attribute_value(11, (v12_IsStartRadiusCCW));set_attribute_value(12, (v13_IsEndRadiusCCW));set_attribute_value(13, (EnumerationReference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(),(size_t)v14_TransitionCurveType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DCantSegTransition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[33]); } +void Ifc4x3_rc1::IfcAlignment2DCantSegTransition::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartCantLeft, std::optional< double > v7_EndCantLeft, double v8_StartCantRight, std::optional< double > v9_EndCantRight, std::optional< double > v10_StartRadius, std::optional< double > v11_EndRadius, bool v12_IsStartRadiusCCW, bool v13_IsEndRadiusCCW, ::Ifc4x3_rc1::IfcTransitionCurveType::Value v14_TransitionCurveType) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartCantLeft)); if (v7_EndCantLeft) {set_attribute_value(6, (*v7_EndCantLeft)); }set_attribute_value(7, (v8_StartCantRight)); if (v9_EndCantRight) {set_attribute_value(8, (*v9_EndCantRight)); } if (v10_StartRadius) {set_attribute_value(9, (*v10_StartRadius)); } if (v11_EndRadius) {set_attribute_value(10, (*v11_EndRadius)); }set_attribute_value(11, (v12_IsStartRadiusCCW));set_attribute_value(12, (v13_IsEndRadiusCCW));set_attribute_value(13, (enumeration_reference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(),(size_t)v14_TransitionCurveType))); } // Function implementations for IfcAlignment2DCantSegment double Ifc4x3_rc1::IfcAlignment2DCantSegment::StartDistAlong() const { double v = get_attribute_value(3); return v; } @@ -8043,9 +8043,9 @@ void Ifc4x3_rc1::IfcAlignment2DCantSegment::setStartCantRight(const double& v) { std::optional< double > Ifc4x3_rc1::IfcAlignment2DCantSegment::EndCantRight() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcAlignment2DCantSegment::setEndCantRight(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc1::IfcAlignment2DCant> Ifc4x3_rc1::IfcAlignment2DCantSegment::ToCant() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[30], 0)); } +std::vector<::Ifc4x3_rc1::IfcAlignment2DCant> Ifc4x3_rc1::IfcAlignment2DCantSegment::ToCant() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[30], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DCantSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[32]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DCantSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[32]); } void Ifc4x3_rc1::IfcAlignment2DCantSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartCantLeft, std::optional< double > v7_EndCantLeft, double v8_StartCantRight, std::optional< double > v9_EndCantRight) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartCantLeft)); if (v7_EndCantLeft) {set_attribute_value(6, (*v7_EndCantLeft)); }set_attribute_value(7, (v8_StartCantRight)); if (v9_EndCantRight) {set_attribute_value(8, (*v9_EndCantRight)); } } // Function implementations for IfcAlignment2DHorizontal @@ -8054,18 +8054,18 @@ void Ifc4x3_rc1::IfcAlignment2DHorizontal::setStartDistAlong(const std::optional std::vector< ::Ifc4x3_rc1::IfcAlignment2DHorizontalSegment > Ifc4x3_rc1::IfcAlignment2DHorizontal::Segments() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc1::IfcAlignment2DHorizontalSegment>(es); } void Ifc4x3_rc1::IfcAlignment2DHorizontal::setSegments(const std::vector< ::Ifc4x3_rc1::IfcAlignment2DHorizontalSegment >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_rc1::IfcAlignmentCurve> Ifc4x3_rc1::IfcAlignment2DHorizontal::ToAlignmentCurve() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[43], 0)); } +std::vector<::Ifc4x3_rc1::IfcAlignmentCurve> Ifc4x3_rc1::IfcAlignment2DHorizontal::ToAlignmentCurve() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[43], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[34]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[34]); } void Ifc4x3_rc1::IfcAlignment2DHorizontal::initialize(std::optional< double > v1_StartDistAlong, std::vector< ::Ifc4x3_rc1::IfcAlignment2DHorizontalSegment > v2_Segments) { if (v1_StartDistAlong) {set_attribute_value(0, (*v1_StartDistAlong)); }set_attribute_value(1, cast_vector(v2_Segments)); } // Function implementations for IfcAlignment2DHorizontalSegment ::Ifc4x3_rc1::IfcCurveSegment2D Ifc4x3_rc1::IfcAlignment2DHorizontalSegment::CurveGeometry() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc1::IfcCurveSegment2D>(); } void Ifc4x3_rc1::IfcAlignment2DHorizontalSegment::setCurveGeometry(const ::Ifc4x3_rc1::IfcCurveSegment2D& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_rc1::IfcAlignment2DHorizontal> Ifc4x3_rc1::IfcAlignment2DHorizontalSegment::ToHorizontal() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[34], 1)); } +std::vector<::Ifc4x3_rc1::IfcAlignment2DHorizontal> Ifc4x3_rc1::IfcAlignment2DHorizontalSegment::ToHorizontal() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[34], 1)); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[35]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[35]); } void Ifc4x3_rc1::IfcAlignment2DHorizontalSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, ::Ifc4x3_rc1::IfcCurveSegment2D v4_CurveGeometry) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_CurveGeometry)); } // Function implementations for IfcAlignment2DSegment @@ -8077,7 +8077,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcAlignment2DSegment::EndTag() const { void Ifc4x3_rc1::IfcAlignment2DSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[36]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[36]); } void Ifc4x3_rc1::IfcAlignment2DSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); } } // Function implementations for IfcAlignment2DVerSegCircularArc @@ -8087,13 +8087,13 @@ bool Ifc4x3_rc1::IfcAlignment2DVerSegCircularArc::IsConvex() const { bool v = g void Ifc4x3_rc1::IfcAlignment2DVerSegCircularArc::setIsConvex(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DVerSegCircularArc::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[37]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DVerSegCircularArc::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[37]); } void Ifc4x3_rc1::IfcAlignment2DVerSegCircularArc::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_Radius, bool v9_IsConvex) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient));set_attribute_value(7, (v8_Radius));set_attribute_value(8, (v9_IsConvex)); } // Function implementations for IfcAlignment2DVerSegLine -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DVerSegLine::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[38]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DVerSegLine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[38]); } void Ifc4x3_rc1::IfcAlignment2DVerSegLine::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient)); } // Function implementations for IfcAlignment2DVerSegParabolicArc @@ -8103,7 +8103,7 @@ bool Ifc4x3_rc1::IfcAlignment2DVerSegParabolicArc::IsConvex() const { bool v = void Ifc4x3_rc1::IfcAlignment2DVerSegParabolicArc::setIsConvex(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DVerSegParabolicArc::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[39]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DVerSegParabolicArc::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[39]); } void Ifc4x3_rc1::IfcAlignment2DVerSegParabolicArc::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_ParabolaConstant, bool v9_IsConvex) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient));set_attribute_value(7, (v8_ParabolaConstant));set_attribute_value(8, (v9_IsConvex)); } // Function implementations for IfcAlignment2DVerSegTransition @@ -8116,19 +8116,19 @@ void Ifc4x3_rc1::IfcAlignment2DVerSegTransition::setIsStartRadiusCCW(const bool& bool Ifc4x3_rc1::IfcAlignment2DVerSegTransition::IsEndRadiusCCW() const { bool v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcAlignment2DVerSegTransition::setIsEndRadiusCCW(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x3_rc1::IfcTransitionCurveType::Value Ifc4x3_rc1::IfcAlignment2DVerSegTransition::TransitionCurveType() const { return ::Ifc4x3_rc1::IfcTransitionCurveType::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcAlignment2DVerSegTransition::setTransitionCurveType(const ::Ifc4x3_rc1::IfcTransitionCurveType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcAlignment2DVerSegTransition::setTransitionCurveType(const ::Ifc4x3_rc1::IfcTransitionCurveType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DVerSegTransition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[40]); } -void Ifc4x3_rc1::IfcAlignment2DVerSegTransition::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, std::optional< double > v8_StartRadius, std::optional< double > v9_EndRadius, bool v10_IsStartRadiusCCW, bool v11_IsEndRadiusCCW, ::Ifc4x3_rc1::IfcTransitionCurveType::Value v12_TransitionCurveType) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient)); if (v8_StartRadius) {set_attribute_value(7, (*v8_StartRadius)); } if (v9_EndRadius) {set_attribute_value(8, (*v9_EndRadius)); }set_attribute_value(9, (v10_IsStartRadiusCCW));set_attribute_value(10, (v11_IsEndRadiusCCW));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(),(size_t)v12_TransitionCurveType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DVerSegTransition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[40]); } +void Ifc4x3_rc1::IfcAlignment2DVerSegTransition::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, std::optional< double > v8_StartRadius, std::optional< double > v9_EndRadius, bool v10_IsStartRadiusCCW, bool v11_IsEndRadiusCCW, ::Ifc4x3_rc1::IfcTransitionCurveType::Value v12_TransitionCurveType) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient)); if (v8_StartRadius) {set_attribute_value(7, (*v8_StartRadius)); } if (v9_EndRadius) {set_attribute_value(8, (*v9_EndRadius)); }set_attribute_value(9, (v10_IsStartRadiusCCW));set_attribute_value(10, (v11_IsEndRadiusCCW));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(),(size_t)v12_TransitionCurveType))); } // Function implementations for IfcAlignment2DVertical std::vector< ::Ifc4x3_rc1::IfcAlignment2DVerticalSegment > Ifc4x3_rc1::IfcAlignment2DVertical::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcAlignment2DVerticalSegment>(es); } void Ifc4x3_rc1::IfcAlignment2DVertical::setSegments(const std::vector< ::Ifc4x3_rc1::IfcAlignment2DVerticalSegment >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc1::IfcAlignmentCurve> Ifc4x3_rc1::IfcAlignment2DVertical::ToAlignmentCurve() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[43], 1)); } +std::vector<::Ifc4x3_rc1::IfcAlignmentCurve> Ifc4x3_rc1::IfcAlignment2DVertical::ToAlignmentCurve() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[43], 1)); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DVertical::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[41]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DVertical::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[41]); } void Ifc4x3_rc1::IfcAlignment2DVertical::initialize(std::vector< ::Ifc4x3_rc1::IfcAlignment2DVerticalSegment > v1_Segments) { set_attribute_value(0, cast_vector(v1_Segments)); } // Function implementations for IfcAlignment2DVerticalSegment @@ -8141,9 +8141,9 @@ void Ifc4x3_rc1::IfcAlignment2DVerticalSegment::setStartHeight(const double& v) double Ifc4x3_rc1::IfcAlignment2DVerticalSegment::StartGradient() const { double v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcAlignment2DVerticalSegment::setStartGradient(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_rc1::IfcAlignment2DVertical> Ifc4x3_rc1::IfcAlignment2DVerticalSegment::ToVertical() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[41], 0)); } +std::vector<::Ifc4x3_rc1::IfcAlignment2DVertical> Ifc4x3_rc1::IfcAlignment2DVerticalSegment::ToVertical() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[41], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignment2DVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[42]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignment2DVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[42]); } void Ifc4x3_rc1::IfcAlignment2DVerticalSegment::initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient) { if (v1_TangentialContinuity) {set_attribute_value(0, (*v1_TangentialContinuity)); } if (v2_StartTag) {set_attribute_value(1, (*v2_StartTag)); } if (v3_EndTag) {set_attribute_value(2, (*v3_EndTag)); }set_attribute_value(3, (v4_StartDistAlong));set_attribute_value(4, (v5_HorizontalLength));set_attribute_value(5, (v6_StartHeight));set_attribute_value(6, (v7_StartGradient)); } // Function implementations for IfcAlignmentCurve @@ -8155,17 +8155,17 @@ std::optional< std::string > Ifc4x3_rc1::IfcAlignmentCurve::Tag() const { if(get void Ifc4x3_rc1::IfcAlignmentCurve::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAlignmentCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[43]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAlignmentCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[43]); } void Ifc4x3_rc1::IfcAlignmentCurve::initialize(::Ifc4x3_rc1::IfcAlignment2DHorizontal v1_Horizontal, ::Ifc4x3_rc1::IfcAlignment2DVertical v2_Vertical, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_Horizontal));set_attribute_value(1, (v2_Vertical)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcAnnotation std::optional< ::Ifc4x3_rc1::IfcAnnotationTypeEnum::Value > Ifc4x3_rc1::IfcAnnotation::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcAnnotationTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc1::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc1::IfcRelContainedInSpatialStructure> Ifc4x3_rc1::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[937], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelContainedInSpatialStructure> Ifc4x3_rc1::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[937], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[49]); } -void Ifc4x3_rc1::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc1::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[49]); } +void Ifc4x3_rc1::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc1::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAnnotationFillArea ::Ifc4x3_rc1::IfcCurve Ifc4x3_rc1::IfcAnnotationFillArea::OuterBoundary() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcCurve>(); } @@ -8174,7 +8174,7 @@ std::optional< std::vector< ::Ifc4x3_rc1::IfcCurve > > Ifc4x3_rc1::IfcAnnotation void Ifc4x3_rc1::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_rc1::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[50]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[50]); } void Ifc4x3_rc1::IfcAnnotationFillArea::initialize(::Ifc4x3_rc1::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_rc1::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -8188,7 +8188,7 @@ std::string Ifc4x3_rc1::IfcApplication::ApplicationIdentifier() const { std::st void Ifc4x3_rc1::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[52]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[52]); } void Ifc4x3_rc1::IfcApplication::initialize(::Ifc4x3_rc1::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -8209,14 +8209,14 @@ void Ifc4x3_rc1::IfcAppliedValue::setCategory(const std::optional< std::string > std::optional< std::string > Ifc4x3_rc1::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value > Ifc4x3_rc1::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > Ifc4x3_rc1::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_rc1::IfcAppliedValue>(es); } void Ifc4x3_rc1::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[53]); } -void Ifc4x3_rc1::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_rc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[53]); } +void Ifc4x3_rc1::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x3_rc1::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8238,13 +8238,13 @@ void Ifc4x3_rc1::IfcApproval::setRequestingApproval(const ::Ifc4x3_rc1::IfcActor ::Ifc4x3_rc1::IfcActorSelect Ifc4x3_rc1::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc1::IfcActorSelect>(); } void Ifc4x3_rc1::IfcApproval::setGivingApproval(const ::Ifc4x3_rc1::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -std::vector<::Ifc4x3_rc1::IfcRelAssociatesApproval> Ifc4x3_rc1::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[920], 5)); } -std::vector<::Ifc4x3_rc1::IfcResourceApprovalRelationship> Ifc4x3_rc1::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[966], 3)); } -std::vector<::Ifc4x3_rc1::IfcApprovalRelationship> Ifc4x3_rc1::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[56], 3)); } -std::vector<::Ifc4x3_rc1::IfcApprovalRelationship> Ifc4x3_rc1::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[56], 2)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociatesApproval> Ifc4x3_rc1::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[920], 5)); } +std::vector<::Ifc4x3_rc1::IfcResourceApprovalRelationship> Ifc4x3_rc1::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[966], 3)); } +std::vector<::Ifc4x3_rc1::IfcApprovalRelationship> Ifc4x3_rc1::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[56], 3)); } +std::vector<::Ifc4x3_rc1::IfcApprovalRelationship> Ifc4x3_rc1::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[56], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[55]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[55]); } void Ifc4x3_rc1::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_rc1::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_rc1::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -8254,7 +8254,7 @@ std::vector< ::Ifc4x3_rc1::IfcApproval > Ifc4x3_rc1::IfcApprovalRelationship::Re void Ifc4x3_rc1::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x3_rc1::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[56]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[56]); } void Ifc4x3_rc1::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_rc1::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -8262,24 +8262,24 @@ void Ifc4x3_rc1::IfcApprovalRelationship::initialize(std::optional< std::string void Ifc4x3_rc1::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x3_rc1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[57]); } -void Ifc4x3_rc1::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[57]); } +void Ifc4x3_rc1::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x3_rc1::IfcBoundedCurve Ifc4x3_rc1::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcBoundedCurve>(); } void Ifc4x3_rc1::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x3_rc1::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[58]); } -void Ifc4x3_rc1::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[58]); } +void Ifc4x3_rc1::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x3_rc1::IfcCurve > Ifc4x3_rc1::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_rc1::IfcCurve>(es); } void Ifc4x3_rc1::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x3_rc1::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[59]); } -void Ifc4x3_rc1::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc1::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[59]); } +void Ifc4x3_rc1::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc1::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x3_rc1::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -8302,7 +8302,7 @@ void Ifc4x3_rc1::IfcAsset::setIncorporationDate(const std::optional< std::string void Ifc4x3_rc1::IfcAsset::setDepreciatedValue(const ::Ifc4x3_rc1::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_rc1::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[65]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[65]); } void Ifc4x3_rc1::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_rc1::IfcCostValue v7_OriginalValue, ::Ifc4x3_rc1::IfcCostValue v8_CurrentValue, ::Ifc4x3_rc1::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_rc1::IfcActorSelect v10_Owner, ::Ifc4x3_rc1::IfcActorSelect v11_User, ::Ifc4x3_rc1::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_rc1::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -8332,31 +8332,31 @@ std::optional< double > Ifc4x3_rc1::IfcAsymmetricIShapeProfileDef::TopFlangeSlop void Ifc4x3_rc1::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[66]); } -void Ifc4x3_rc1::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[66]); } +void Ifc4x3_rc1::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3_rc1::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[67]); } -void Ifc4x3_rc1::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[67]); } +void Ifc4x3_rc1::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_rc1::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[68]); } -void Ifc4x3_rc1::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[68]); } +void Ifc4x3_rc1::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x3_rc1::IfcDirection Ifc4x3_rc1::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc1::IfcDirection>(); } void Ifc4x3_rc1::IfcAxis1Placement::setAxis(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[70]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[70]); } void Ifc4x3_rc1::IfcAxis1Placement::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Location, ::Ifc4x3_rc1::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -8364,7 +8364,7 @@ void Ifc4x3_rc1::IfcAxis1Placement::initialize(::Ifc4x3_rc1::IfcCartesianPoint v void Ifc4x3_rc1::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[72]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[72]); } void Ifc4x3_rc1::IfcAxis2Placement2D::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Location, ::Ifc4x3_rc1::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -8374,14 +8374,14 @@ void Ifc4x3_rc1::IfcAxis2Placement3D::setAxis(const ::Ifc4x3_rc1::IfcDirection& void Ifc4x3_rc1::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[73]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[73]); } void Ifc4x3_rc1::IfcAxis2Placement3D::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Location, ::Ifc4x3_rc1::IfcDirection v2_Axis, ::Ifc4x3_rc1::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcAxisLateralInclination -std::vector<::Ifc4x3_rc1::IfcLinearAxisWithInclination> Ifc4x3_rc1::IfcAxisLateralInclination::ToLinearAxis() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[610], 1)); } +std::vector<::Ifc4x3_rc1::IfcLinearAxisWithInclination> Ifc4x3_rc1::IfcAxisLateralInclination::ToLinearAxis() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[610], 1)); } -const IfcParse::entity& Ifc4x3_rc1::IfcAxisLateralInclination::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[74]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcAxisLateralInclination::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[74]); } void Ifc4x3_rc1::IfcAxisLateralInclination::initialize() { } // Function implementations for IfcBSplineCurve @@ -8390,15 +8390,15 @@ void Ifc4x3_rc1::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value( std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > Ifc4x3_rc1::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc1::IfcCartesianPoint>(es); } void Ifc4x3_rc1::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x3_rc1::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc1::IfcBSplineCurveForm::Value Ifc4x3_rc1::IfcBSplineCurve::CurveForm() const { return ::Ifc4x3_rc1::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x3_rc1::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_rc1::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc1::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc1::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_rc1::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc1::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x3_rc1::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x3_rc1::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_rc1::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[112]); } -void Ifc4x3_rc1::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[112]); } +void Ifc4x3_rc1::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -8406,11 +8406,11 @@ void Ifc4x3_rc1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vect std::vector< double > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc1::IfcKnotType::Value Ifc4x3_rc1::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x3_rc1::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc1::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc1::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc1::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[114]); } -void Ifc4x3_rc1::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::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_rc1::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[114]); } +void Ifc4x3_rc1::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::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, (enumeration_reference(&::Ifc4x3_rc1::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x3_rc1::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -8420,7 +8420,7 @@ void Ifc4x3_rc1::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_val std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > Ifc4x3_rc1::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc1::IfcCartesianPoint>(es); } void Ifc4x3_rc1::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_rc1::IfcBSplineSurfaceForm::Value Ifc4x3_rc1::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x3_rc1::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x3_rc1::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_rc1::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc1::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc1::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_rc1::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc1::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_rc1::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x3_rc1::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -8429,8 +8429,8 @@ boost::logic::tribool Ifc4x3_rc1::IfcBSplineSurface::SelfIntersect() const { bo void Ifc4x3_rc1::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[115]); } -void Ifc4x3_rc1::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc1::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[115]); } +void Ifc4x3_rc1::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc1::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -8442,49 +8442,49 @@ void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double std::vector< double > /*[2:?]*/ Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x3_rc1::IfcKnotType::Value Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x3_rc1::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc1::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc1::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[117]); } -void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc1::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_rc1::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[117]); } +void Ifc4x3_rc1::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc1::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, (enumeration_reference(&::Ifc4x3_rc1::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value > Ifc4x3_rc1::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[75]); } -void Ifc4x3_rc1::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[75]); } +void Ifc4x3_rc1::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamStandardCase -const IfcParse::entity& Ifc4x3_rc1::IfcBeamStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[76]); } -void Ifc4x3_rc1::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBeamStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[76]); } +void Ifc4x3_rc1::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x3_rc1::IfcBeamTypeEnum::Value Ifc4x3_rc1::IfcBeamType::PredefinedType() const { return ::Ifc4x3_rc1::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcBeamType::setPredefinedType(const ::Ifc4x3_rc1::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcBeamType::setPredefinedType(const ::Ifc4x3_rc1::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[77]); } -void Ifc4x3_rc1::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[77]); } +void Ifc4x3_rc1::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBearing std::optional< ::Ifc4x3_rc1::IfcBearingTypeEnum::Value > Ifc4x3_rc1::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcBearingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[79]); } -void Ifc4x3_rc1::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[79]); } +void Ifc4x3_rc1::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBearingType ::Ifc4x3_rc1::IfcBearingTypeEnum::Value Ifc4x3_rc1::IfcBearingType::PredefinedType() const { return ::Ifc4x3_rc1::IfcBearingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcBearingType::setPredefinedType(const ::Ifc4x3_rc1::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcBearingType::setPredefinedType(const ::Ifc4x3_rc1::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[80]); } -void Ifc4x3_rc1::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[80]); } +void Ifc4x3_rc1::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x3_rc1::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -8493,7 +8493,7 @@ boost::dynamic_bitset<> Ifc4x3_rc1::IfcBlobTexture::RasterCode() const { boost: void Ifc4x3_rc1::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[86]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[86]); } void Ifc4x3_rc1::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -8505,47 +8505,47 @@ double Ifc4x3_rc1::IfcBlock::ZLength() const { double v = get_attribute_value(3 void Ifc4x3_rc1::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[87]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[87]); } void Ifc4x3_rc1::IfcBlock::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value > Ifc4x3_rc1::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[88]); } -void Ifc4x3_rc1::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[88]); } +void Ifc4x3_rc1::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value Ifc4x3_rc1::IfcBoilerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcBoilerType::setPredefinedType(const ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcBoilerType::setPredefinedType(const ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[89]); } -void Ifc4x3_rc1::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[89]); } +void Ifc4x3_rc1::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x3_rc1::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[92]); } -void Ifc4x3_rc1::IfcBooleanClippingResult::initialize(::Ifc4x3_rc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[92]); } +void Ifc4x3_rc1::IfcBooleanClippingResult::initialize(::Ifc4x3_rc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x3_rc1::IfcBooleanOperator::Value Ifc4x3_rc1::IfcBooleanResult::Operator() const { return ::Ifc4x3_rc1::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x3_rc1::IfcBooleanResult::setOperator(const ::Ifc4x3_rc1::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc1::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc1::IfcBooleanResult::setOperator(const ::Ifc4x3_rc1::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc1::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc1::IfcBooleanOperand Ifc4x3_rc1::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc1::IfcBooleanOperand>(); } void Ifc4x3_rc1::IfcBooleanResult::setFirstOperand(const ::Ifc4x3_rc1::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc1::IfcBooleanOperand Ifc4x3_rc1::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcBooleanOperand>(); } void Ifc4x3_rc1::IfcBooleanResult::setSecondOperand(const ::Ifc4x3_rc1::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[95]); } -void Ifc4x3_rc1::IfcBooleanResult::initialize(::Ifc4x3_rc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[95]); } +void Ifc4x3_rc1::IfcBooleanResult::initialize(::Ifc4x3_rc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBorehole -const IfcParse::entity& Ifc4x3_rc1::IfcBorehole::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[96]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBorehole::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[96]); } void Ifc4x3_rc1::IfcBorehole::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBoundaryCondition @@ -8553,13 +8553,13 @@ std::optional< std::string > Ifc4x3_rc1::IfcBoundaryCondition::Name() const { if void Ifc4x3_rc1::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[97]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[97]); } void Ifc4x3_rc1::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x3_rc1::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[98]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[98]); } void Ifc4x3_rc1::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -8577,7 +8577,7 @@ void Ifc4x3_rc1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const void Ifc4x3_rc1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[99]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[99]); } void Ifc4x3_rc1::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_rc1::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_rc1::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -8589,7 +8589,7 @@ void Ifc4x3_rc1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(cons void Ifc4x3_rc1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[100]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[100]); } void Ifc4x3_rc1::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -8607,7 +8607,7 @@ void Ifc4x3_rc1::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4x void Ifc4x3_rc1::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x3_rc1::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[101]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[101]); } void Ifc4x3_rc1::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -8615,20 +8615,20 @@ void Ifc4x3_rc1::IfcBoundaryNodeCondition::initialize(std::optional< std::string void Ifc4x3_rc1::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x3_rc1::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc1::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[102]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[102]); } void Ifc4x3_rc1::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_rc1::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -std::vector<::Ifc4x3_rc1::IfcLinearPositioningElement> Ifc4x3_rc1::IfcBoundedCurve::PositioningElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[615], 7)); } +std::vector<::Ifc4x3_rc1::IfcLinearPositioningElement> Ifc4x3_rc1::IfcBoundedCurve::PositioningElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[615], 7)); } -const IfcParse::entity& Ifc4x3_rc1::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[103]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[103]); } void Ifc4x3_rc1::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x3_rc1::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[104]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[104]); } void Ifc4x3_rc1::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -8642,7 +8642,7 @@ double Ifc4x3_rc1::IfcBoundingBox::ZDim() const { double v = get_attribute_valu void Ifc4x3_rc1::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[105]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[105]); } void Ifc4x3_rc1::IfcBoundingBox::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -8650,22 +8650,22 @@ void Ifc4x3_rc1::IfcBoundingBox::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_C void Ifc4x3_rc1::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x3_rc1::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[107]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[107]); } void Ifc4x3_rc1::IfcBoxedHalfSpace::initialize(::Ifc4x3_rc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc1::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBridge std::optional< ::Ifc4x3_rc1::IfcBridgeTypeEnum::Value > Ifc4x3_rc1::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc1::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[108]); } -void Ifc4x3_rc1::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc1::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[108]); } +void Ifc4x3_rc1::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc1::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBridgePart -const IfcParse::entity& Ifc4x3_rc1::IfcBridgePart::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[109]); } -void Ifc4x3_rc1::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc1::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBridgePart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[109]); } +void Ifc4x3_rc1::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc1::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } // Function implementations for IfcBuilding std::optional< double > Ifc4x3_rc1::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -8676,96 +8676,96 @@ void Ifc4x3_rc1::IfcBuilding::setElevationOfTerrain(const std::optional< double void Ifc4x3_rc1::IfcBuilding::setBuildingAddress(const ::Ifc4x3_rc1::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[118]); } -void Ifc4x3_rc1::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc1::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::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)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[118]); } +void Ifc4x3_rc1::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc1::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::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)); } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value > Ifc4x3_rc1::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[119]); } -void Ifc4x3_rc1::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[119]); } +void Ifc4x3_rc1::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value Ifc4x3_rc1::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[120]); } -void Ifc4x3_rc1::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[120]); } +void Ifc4x3_rc1::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3_rc1::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[122]); } -void Ifc4x3_rc1::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[122]); } +void Ifc4x3_rc1::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_rc1::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[123]); } -void Ifc4x3_rc1::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[123]); } +void Ifc4x3_rc1::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingStorey std::optional< double > Ifc4x3_rc1::IfcBuildingStorey::Elevation() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[125]); } -void Ifc4x3_rc1::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[125]); } +void Ifc4x3_rc1::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value > Ifc4x3_rc1::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc1::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc1::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[126]); } -void Ifc4x3_rc1::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[126]); } +void Ifc4x3_rc1::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBuiltElement -const IfcParse::entity& Ifc4x3_rc1::IfcBuiltElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[128]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuiltElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[128]); } void Ifc4x3_rc1::IfcBuiltElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuiltElementType -const IfcParse::entity& Ifc4x3_rc1::IfcBuiltElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[129]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuiltElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[129]); } void Ifc4x3_rc1::IfcBuiltElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuiltSystem std::optional< ::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value > Ifc4x3_rc1::IfcBuiltSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc1::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc1::IfcBuiltSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcBuiltSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBuiltSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[130]); } -void Ifc4x3_rc1::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBuiltSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[130]); } +void Ifc4x3_rc1::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value > Ifc4x3_rc1::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[132]); } -void Ifc4x3_rc1::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[132]); } +void Ifc4x3_rc1::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value Ifc4x3_rc1::IfcBurnerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcBurnerType::setPredefinedType(const ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcBurnerType::setPredefinedType(const ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[133]); } -void Ifc4x3_rc1::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[133]); } +void Ifc4x3_rc1::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x3_rc1::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -8780,101 +8780,101 @@ std::optional< double > Ifc4x3_rc1::IfcCShapeProfileDef::InternalFilletRadius() void Ifc4x3_rc1::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[270]); } -void Ifc4x3_rc1::IfcCShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[270]); } +void Ifc4x3_rc1::IfcCShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3_rc1::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[135]); } -void Ifc4x3_rc1::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[135]); } +void Ifc4x3_rc1::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_rc1::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[136]); } -void Ifc4x3_rc1::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[136]); } +void Ifc4x3_rc1::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3_rc1::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[138]); } -void Ifc4x3_rc1::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[138]); } +void Ifc4x3_rc1::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_rc1::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[139]); } -void Ifc4x3_rc1::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[139]); } +void Ifc4x3_rc1::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value > Ifc4x3_rc1::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[141]); } -void Ifc4x3_rc1::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[141]); } +void Ifc4x3_rc1::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value Ifc4x3_rc1::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[142]); } -void Ifc4x3_rc1::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[142]); } +void Ifc4x3_rc1::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value > Ifc4x3_rc1::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[144]); } -void Ifc4x3_rc1::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[144]); } +void Ifc4x3_rc1::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value Ifc4x3_rc1::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[145]); } -void Ifc4x3_rc1::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[145]); } +void Ifc4x3_rc1::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCaissonFoundation std::optional< ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value > Ifc4x3_rc1::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[147]); } -void Ifc4x3_rc1::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[147]); } +void Ifc4x3_rc1::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCaissonFoundationType ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value Ifc4x3_rc1::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[148]); } -void Ifc4x3_rc1::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[148]); } +void Ifc4x3_rc1::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x3_rc1::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x3_rc1::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[151]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[151]); } void Ifc4x3_rc1::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x3_rc1::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[152]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[152]); } void Ifc4x3_rc1::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -8884,7 +8884,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc1::IfcCartesianPo void Ifc4x3_rc1::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[153]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[153]); } void Ifc4x3_rc1::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -8894,7 +8894,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc1::IfcCartesianPo void Ifc4x3_rc1::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[154]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[154]); } void Ifc4x3_rc1::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -8908,13 +8908,13 @@ std::optional< double > Ifc4x3_rc1::IfcCartesianTransformationOperator::Scale() void Ifc4x3_rc1::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[155]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[155]); } void Ifc4x3_rc1::IfcCartesianTransformationOperator::initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[156]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[156]); } void Ifc4x3_rc1::IfcCartesianTransformationOperator2D::initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -8922,7 +8922,7 @@ std::optional< double > Ifc4x3_rc1::IfcCartesianTransformationOperator2DnonUnifo void Ifc4x3_rc1::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[157]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[157]); } void Ifc4x3_rc1::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -8930,7 +8930,7 @@ void Ifc4x3_rc1::IfcCartesianTransformationOperator2DnonUniform::initialize(::If void Ifc4x3_rc1::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[158]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[158]); } void Ifc4x3_rc1::IfcCartesianTransformationOperator3D::initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc1::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -8940,7 +8940,7 @@ std::optional< double > Ifc4x3_rc1::IfcCartesianTransformationOperator3DnonUnifo void Ifc4x3_rc1::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[159]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[159]); } void Ifc4x3_rc1::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc1::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -8948,47 +8948,47 @@ double Ifc4x3_rc1::IfcCenterLineProfileDef::Thickness() const { double v = get_ void Ifc4x3_rc1::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[160]); } -void Ifc4x3_rc1::IfcCenterLineProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[160]); } +void Ifc4x3_rc1::IfcCenterLineProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x3_rc1::IfcChillerTypeEnum::Value > Ifc4x3_rc1::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[162]); } -void Ifc4x3_rc1::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[162]); } +void Ifc4x3_rc1::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x3_rc1::IfcChillerTypeEnum::Value Ifc4x3_rc1::IfcChillerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcChillerType::setPredefinedType(const ::Ifc4x3_rc1::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcChillerType::setPredefinedType(const ::Ifc4x3_rc1::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[163]); } -void Ifc4x3_rc1::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[163]); } +void Ifc4x3_rc1::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value > Ifc4x3_rc1::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[165]); } -void Ifc4x3_rc1::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[165]); } +void Ifc4x3_rc1::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value Ifc4x3_rc1::IfcChimneyType::PredefinedType() const { return ::Ifc4x3_rc1::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcChimneyType::setPredefinedType(const ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcChimneyType::setPredefinedType(const ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[166]); } -void Ifc4x3_rc1::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[166]); } +void Ifc4x3_rc1::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x3_rc1::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[168]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[168]); } void Ifc4x3_rc1::IfcCircle::initialize(::Ifc4x3_rc1::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -8996,16 +8996,16 @@ double Ifc4x3_rc1::IfcCircleHollowProfileDef::WallThickness() const { double v void Ifc4x3_rc1::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[169]); } -void Ifc4x3_rc1::IfcCircleHollowProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[169]); } +void Ifc4x3_rc1::IfcCircleHollowProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x3_rc1::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x3_rc1::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[170]); } -void Ifc4x3_rc1::IfcCircleProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[170]); } +void Ifc4x3_rc1::IfcCircleProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCircularArcSegment2D double Ifc4x3_rc1::IfcCircularArcSegment2D::Radius() const { double v = get_attribute_value(3); return v; } @@ -9014,19 +9014,19 @@ bool Ifc4x3_rc1::IfcCircularArcSegment2D::IsCCW() const { bool v = get_attribut void Ifc4x3_rc1::IfcCircularArcSegment2D::setIsCCW(const bool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcCircularArcSegment2D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[171]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCircularArcSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[171]); } void Ifc4x3_rc1::IfcCircularArcSegment2D::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, double v4_Radius, bool v5_IsCCW) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_IsCCW)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x3_rc1::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[172]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[172]); } void Ifc4x3_rc1::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x3_rc1::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[173]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[173]); } void Ifc4x3_rc1::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -9045,10 +9045,10 @@ void Ifc4x3_rc1::IfcClassification::setLocation(const std::optional< std::string std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc1::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc1::IfcRelAssociatesClassification> Ifc4x3_rc1::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[921], 5)); } -std::vector<::Ifc4x3_rc1::IfcClassificationReference> Ifc4x3_rc1::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[175], 3)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociatesClassification> Ifc4x3_rc1::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[921], 5)); } +std::vector<::Ifc4x3_rc1::IfcClassificationReference> Ifc4x3_rc1::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[175], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[174]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[174]); } void Ifc4x3_rc1::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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_Location) {set_attribute_value(5, (*v6_Location)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); } } // Function implementations for IfcClassificationReference @@ -9059,33 +9059,33 @@ void Ifc4x3_rc1::IfcClassificationReference::setDescription(const std::optional< std::optional< std::string > Ifc4x3_rc1::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc1::IfcRelAssociatesClassification> Ifc4x3_rc1::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[921], 5)); } -std::vector<::Ifc4x3_rc1::IfcClassificationReference> Ifc4x3_rc1::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[175], 3)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociatesClassification> Ifc4x3_rc1::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[921], 5)); } +std::vector<::Ifc4x3_rc1::IfcClassificationReference> Ifc4x3_rc1::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[175], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[175]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[175]); } void Ifc4x3_rc1::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_rc1::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x3_rc1::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[178]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[178]); } void Ifc4x3_rc1::IfcClosedShell::initialize(std::vector< ::Ifc4x3_rc1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcCoil std::optional< ::Ifc4x3_rc1::IfcCoilTypeEnum::Value > Ifc4x3_rc1::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[179]); } -void Ifc4x3_rc1::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[179]); } +void Ifc4x3_rc1::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x3_rc1::IfcCoilTypeEnum::Value Ifc4x3_rc1::IfcCoilType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCoilType::setPredefinedType(const ::Ifc4x3_rc1::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCoilType::setPredefinedType(const ::Ifc4x3_rc1::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[180]); } -void Ifc4x3_rc1::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[180]); } +void Ifc4x3_rc1::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x3_rc1::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -9096,7 +9096,7 @@ double Ifc4x3_rc1::IfcColourRgb::Blue() const { double v = get_attribute_value( void Ifc4x3_rc1::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[184]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[184]); } void Ifc4x3_rc1::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -9104,7 +9104,7 @@ std::vector< std::vector< double > > Ifc4x3_rc1::IfcColourRgbList::ColourList() void Ifc4x3_rc1::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[185]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[185]); } void Ifc4x3_rc1::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -9112,46 +9112,46 @@ std::optional< std::string > Ifc4x3_rc1::IfcColourSpecification::Name() const { void Ifc4x3_rc1::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc1::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[186]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[186]); } void Ifc4x3_rc1::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value > Ifc4x3_rc1::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[187]); } -void Ifc4x3_rc1::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[187]); } +void Ifc4x3_rc1::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnStandardCase -const IfcParse::entity& Ifc4x3_rc1::IfcColumnStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[188]); } -void Ifc4x3_rc1::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcColumnStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[188]); } +void Ifc4x3_rc1::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x3_rc1::IfcColumnTypeEnum::Value Ifc4x3_rc1::IfcColumnType::PredefinedType() const { return ::Ifc4x3_rc1::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcColumnType::setPredefinedType(const ::Ifc4x3_rc1::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcColumnType::setPredefinedType(const ::Ifc4x3_rc1::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[189]); } -void Ifc4x3_rc1::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[189]); } +void Ifc4x3_rc1::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3_rc1::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[191]); } -void Ifc4x3_rc1::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[191]); } +void Ifc4x3_rc1::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_rc1::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[192]); } -void Ifc4x3_rc1::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[192]); } +void Ifc4x3_rc1::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x3_rc1::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -9160,20 +9160,20 @@ std::vector< ::Ifc4x3_rc1::IfcProperty > Ifc4x3_rc1::IfcComplexProperty::HasProp void Ifc4x3_rc1::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x3_rc1::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[195]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[195]); } void Ifc4x3_rc1::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x3_rc1::IfcProperty > v4_HasProperties) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x3_rc1::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x3_rc1::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc1::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > > Ifc4x3_rc1::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc1::IfcPropertyTemplate>(es); } void Ifc4x3_rc1::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[196]); } -void Ifc4x3_rc1::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc1::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[196]); } +void Ifc4x3_rc1::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > Ifc4x3_rc1::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcCompositeCurveSegment>(es); } @@ -9182,27 +9182,27 @@ boost::logic::tribool Ifc4x3_rc1::IfcCompositeCurve::SelfIntersect() const { bo void Ifc4x3_rc1::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[198]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[198]); } void Ifc4x3_rc1::IfcCompositeCurve::initialize(std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x3_rc1::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[199]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[199]); } void Ifc4x3_rc1::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment ::Ifc4x3_rc1::IfcTransitionCode::Value Ifc4x3_rc1::IfcCompositeCurveSegment::Transition() const { return ::Ifc4x3_rc1::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x3_rc1::IfcCompositeCurveSegment::setTransition(const ::Ifc4x3_rc1::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc1::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc1::IfcCompositeCurveSegment::setTransition(const ::Ifc4x3_rc1::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc1::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } bool Ifc4x3_rc1::IfcCompositeCurveSegment::SameSense() const { bool v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc1::IfcCurve Ifc4x3_rc1::IfcCompositeCurveSegment::ParentCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcCurve>(); } void Ifc4x3_rc1::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x3_rc1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc1::IfcCompositeCurve> Ifc4x3_rc1::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[198], 0)); } +std::vector<::Ifc4x3_rc1::IfcCompositeCurve> Ifc4x3_rc1::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[198], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[200]); } -void Ifc4x3_rc1::IfcCompositeCurveSegment::initialize(::Ifc4x3_rc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc1::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[200]); } +void Ifc4x3_rc1::IfcCompositeCurveSegment::initialize(::Ifc4x3_rc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc1::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x3_rc1::IfcProfileDef > Ifc4x3_rc1::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc1::IfcProfileDef>(es); } @@ -9211,47 +9211,47 @@ std::optional< std::string > Ifc4x3_rc1::IfcCompositeProfileDef::Label() const { void Ifc4x3_rc1::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[201]); } -void Ifc4x3_rc1::IfcCompositeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[201]); } +void Ifc4x3_rc1::IfcCompositeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value > Ifc4x3_rc1::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[203]); } -void Ifc4x3_rc1::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[203]); } +void Ifc4x3_rc1::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value Ifc4x3_rc1::IfcCompressorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCompressorType::setPredefinedType(const ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCompressorType::setPredefinedType(const ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[204]); } -void Ifc4x3_rc1::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[204]); } +void Ifc4x3_rc1::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value > Ifc4x3_rc1::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[206]); } -void Ifc4x3_rc1::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[206]); } +void Ifc4x3_rc1::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value Ifc4x3_rc1::IfcCondenserType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCondenserType::setPredefinedType(const ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCondenserType::setPredefinedType(const ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[207]); } -void Ifc4x3_rc1::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[207]); } +void Ifc4x3_rc1::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x3_rc1::IfcAxis2Placement Ifc4x3_rc1::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcAxis2Placement>(); } void Ifc4x3_rc1::IfcConic::setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcConic::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[209]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[209]); } void Ifc4x3_rc1::IfcConic::initialize(::Ifc4x3_rc1::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -9259,7 +9259,7 @@ std::vector< ::Ifc4x3_rc1::IfcFace > Ifc4x3_rc1::IfcConnectedFaceSet::CfsFaces() void Ifc4x3_rc1::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x3_rc1::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[210]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[210]); } void Ifc4x3_rc1::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x3_rc1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -9269,13 +9269,13 @@ void Ifc4x3_rc1::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::I void Ifc4x3_rc1::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x3_rc1::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[211]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[211]); } void Ifc4x3_rc1::IfcConnectionCurveGeometry::initialize(::Ifc4x3_rc1::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_rc1::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x3_rc1::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[212]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[212]); } void Ifc4x3_rc1::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -9287,7 +9287,7 @@ std::optional< double > Ifc4x3_rc1::IfcConnectionPointEccentricity::Eccentricity void Ifc4x3_rc1::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[213]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[213]); } void Ifc4x3_rc1::IfcConnectionPointEccentricity::initialize(::Ifc4x3_rc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc1::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -9297,7 +9297,7 @@ void Ifc4x3_rc1::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::I void Ifc4x3_rc1::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x3_rc1::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[214]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[214]); } void Ifc4x3_rc1::IfcConnectionPointGeometry::initialize(::Ifc4x3_rc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc1::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -9307,7 +9307,7 @@ void Ifc4x3_rc1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const void Ifc4x3_rc1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x3_rc1::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[215]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[215]); } void Ifc4x3_rc1::IfcConnectionSurfaceGeometry::initialize(::Ifc4x3_rc1::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_rc1::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -9317,7 +9317,7 @@ void Ifc4x3_rc1::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const : void Ifc4x3_rc1::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x3_rc1::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[217]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[217]); } void Ifc4x3_rc1::IfcConnectionVolumeGeometry::initialize(::Ifc4x3_rc1::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_rc1::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -9326,7 +9326,7 @@ void Ifc4x3_rc1::IfcConstraint::setName(const std::string& v) { set_attribute_va std::optional< std::string > Ifc4x3_rc1::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_rc1::IfcConstraintEnum::Value Ifc4x3_rc1::IfcConstraint::ConstraintGrade() const { return ::Ifc4x3_rc1::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc1::IfcConstraint::setConstraintGrade(const ::Ifc4x3_rc1::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc1::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc1::IfcConstraint::setConstraintGrade(const ::Ifc4x3_rc1::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc1::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x3_rc1::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc1::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc1::IfcActorSelect Ifc4x3_rc1::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcActorSelect>(); } @@ -9336,59 +9336,59 @@ void Ifc4x3_rc1::IfcConstraint::setCreationTime(const std::optional< std::string std::optional< std::string > Ifc4x3_rc1::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -std::vector<::Ifc4x3_rc1::IfcResourceConstraintRelationship> Ifc4x3_rc1::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[967], 2)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcResourceConstraintRelationship> Ifc4x3_rc1::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[967], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[218]); } -void Ifc4x3_rc1::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[218]); } +void Ifc4x3_rc1::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3_rc1::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[220]); } -void Ifc4x3_rc1::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[220]); } +void Ifc4x3_rc1::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_rc1::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[221]); } -void Ifc4x3_rc1::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[221]); } +void Ifc4x3_rc1::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3_rc1::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[223]); } -void Ifc4x3_rc1::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[223]); } +void Ifc4x3_rc1::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_rc1::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[224]); } -void Ifc4x3_rc1::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[224]); } +void Ifc4x3_rc1::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3_rc1::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[226]); } -void Ifc4x3_rc1::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[226]); } +void Ifc4x3_rc1::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_rc1::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[227]); } -void Ifc4x3_rc1::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[227]); } +void Ifc4x3_rc1::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x3_rc1::IfcResourceTime Ifc4x3_rc1::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc1::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc1::IfcResourceTime>(); } @@ -9399,7 +9399,7 @@ void Ifc4x3_rc1::IfcConstructionResource::setBaseCosts(const std::optional< std: void Ifc4x3_rc1::IfcConstructionResource::setBaseQuantity(const ::Ifc4x3_rc1::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[229]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[229]); } void Ifc4x3_rc1::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -9409,7 +9409,7 @@ void Ifc4x3_rc1::IfcConstructionResourceType::setBaseCosts(const std::optional< void Ifc4x3_rc1::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x3_rc1::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc1::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[230]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[230]); } void Ifc4x3_rc1::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -9424,45 +9424,45 @@ void Ifc4x3_rc1::IfcContext::setRepresentationContexts(const std::optional< std: ::Ifc4x3_rc1::IfcUnitAssignment Ifc4x3_rc1::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc1::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc1::IfcUnitAssignment>(); } void Ifc4x3_rc1::IfcContext::setUnitsInContext(const ::Ifc4x3_rc1::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc1::IfcRelDefinesByProperties> Ifc4x3_rc1::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[944], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelDeclares> Ifc4x3_rc1::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[940], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelDefinesByProperties> Ifc4x3_rc1::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[944], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelDeclares> Ifc4x3_rc1::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[940], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcContext::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[231]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[231]); } void Ifc4x3_rc1::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x3_rc1::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[233]); } -void Ifc4x3_rc1::IfcContextDependentUnit::initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[233]); } +void Ifc4x3_rc1::IfcContextDependentUnit::initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x3_rc1::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc1::IfcRelAssignsToControl> Ifc4x3_rc1::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[913], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelAssignsToControl> Ifc4x3_rc1::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[913], 6)); } -const IfcParse::entity& Ifc4x3_rc1::IfcControl::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[234]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[234]); } void Ifc4x3_rc1::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x3_rc1::IfcControllerTypeEnum::Value > Ifc4x3_rc1::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcController::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[235]); } -void Ifc4x3_rc1::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[235]); } +void Ifc4x3_rc1::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x3_rc1::IfcControllerTypeEnum::Value Ifc4x3_rc1::IfcControllerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcControllerType::setPredefinedType(const ::Ifc4x3_rc1::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcControllerType::setPredefinedType(const ::Ifc4x3_rc1::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[236]); } -void Ifc4x3_rc1::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[236]); } +void Ifc4x3_rc1::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x3_rc1::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -9470,66 +9470,66 @@ void Ifc4x3_rc1::IfcConversionBasedUnit::setName(const std::string& v) { set_att ::Ifc4x3_rc1::IfcMeasureWithUnit Ifc4x3_rc1::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc1::IfcMeasureWithUnit>(); } void Ifc4x3_rc1::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x3_rc1::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[238]); } -void Ifc4x3_rc1::IfcConversionBasedUnit::initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[238]); } +void Ifc4x3_rc1::IfcConversionBasedUnit::initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x3_rc1::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[239]); } -void Ifc4x3_rc1::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[239]); } +void Ifc4x3_rc1::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcConveyorSegment std::optional< ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value > Ifc4x3_rc1::IfcConveyorSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcConveyorSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[240]); } -void Ifc4x3_rc1::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConveyorSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[240]); } +void Ifc4x3_rc1::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcConveyorSegmentType ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value Ifc4x3_rc1::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcConveyorSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[241]); } -void Ifc4x3_rc1::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcConveyorSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[241]); } +void Ifc4x3_rc1::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value > Ifc4x3_rc1::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[243]); } -void Ifc4x3_rc1::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[243]); } +void Ifc4x3_rc1::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value Ifc4x3_rc1::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[244]); } -void Ifc4x3_rc1::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[244]); } +void Ifc4x3_rc1::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value > Ifc4x3_rc1::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[246]); } -void Ifc4x3_rc1::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[246]); } +void Ifc4x3_rc1::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value Ifc4x3_rc1::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[247]); } -void Ifc4x3_rc1::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[247]); } +void Ifc4x3_rc1::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x3_rc1::IfcCoordinateReferenceSystemSelect Ifc4x3_rc1::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcCoordinateReferenceSystemSelect>(); } @@ -9538,7 +9538,7 @@ void Ifc4x3_rc1::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x3_rc1::IfcCoo void Ifc4x3_rc1::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x3_rc1::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[249]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[249]); } void Ifc4x3_rc1::IfcCoordinateOperation::initialize(::Ifc4x3_rc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc1::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -9551,26 +9551,26 @@ void Ifc4x3_rc1::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optio std::optional< std::string > Ifc4x3_rc1::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc1::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::vector<::Ifc4x3_rc1::IfcCoordinateOperation> Ifc4x3_rc1::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[249], 0)); } +std::vector<::Ifc4x3_rc1::IfcCoordinateOperation> Ifc4x3_rc1::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[249], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[250]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[250]); } void Ifc4x3_rc1::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { 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)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4x3_rc1::IfcCostItemTypeEnum::Value > Ifc4x3_rc1::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc1::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc1::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc1::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc1::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_rc1::IfcCostValue > > Ifc4x3_rc1::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc1::IfcCostValue>(es); } void Ifc4x3_rc1::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x3_rc1::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > > Ifc4x3_rc1::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_rc1::IfcPhysicalQuantity>(es); } void Ifc4x3_rc1::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[252]); } -void Ifc4x3_rc1::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[252]); } +void Ifc4x3_rc1::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value > Ifc4x3_rc1::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc1::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc1::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc1::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc1::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc1::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc1::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -9579,71 +9579,71 @@ std::optional< std::string > Ifc4x3_rc1::IfcCostSchedule::UpdateDate() const { i void Ifc4x3_rc1::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[254]); } -void Ifc4x3_rc1::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[254]); } +void Ifc4x3_rc1::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x3_rc1::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[256]); } -void Ifc4x3_rc1::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_rc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[256]); } +void Ifc4x3_rc1::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCourse std::optional< ::Ifc4x3_rc1::IfcCourseTypeEnum::Value > Ifc4x3_rc1::IfcCourse::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCourseTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCourse::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[258]); } -void Ifc4x3_rc1::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCourse::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[258]); } +void Ifc4x3_rc1::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCourseType ::Ifc4x3_rc1::IfcCourseTypeEnum::Value Ifc4x3_rc1::IfcCourseType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCourseTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCourseType::setPredefinedType(const ::Ifc4x3_rc1::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCourseType::setPredefinedType(const ::Ifc4x3_rc1::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCourseType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[259]); } -void Ifc4x3_rc1::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCourseType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[259]); } +void Ifc4x3_rc1::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCovering std::optional< ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value > Ifc4x3_rc1::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc1::IfcRelCoversSpaces> Ifc4x3_rc1::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[939], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelCoversBldgElements> Ifc4x3_rc1::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[938], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelCoversSpaces> Ifc4x3_rc1::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[939], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelCoversBldgElements> Ifc4x3_rc1::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[938], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[261]); } -void Ifc4x3_rc1::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[261]); } +void Ifc4x3_rc1::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value Ifc4x3_rc1::IfcCoveringType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCoveringType::setPredefinedType(const ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCoveringType::setPredefinedType(const ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[262]); } -void Ifc4x3_rc1::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[262]); } +void Ifc4x3_rc1::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value > Ifc4x3_rc1::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[264]); } -void Ifc4x3_rc1::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[264]); } +void Ifc4x3_rc1::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value Ifc4x3_rc1::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[265]); } -void Ifc4x3_rc1::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[265]); } +void Ifc4x3_rc1::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x3_rc1::IfcAxis2Placement3D Ifc4x3_rc1::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcAxis2Placement3D>(); } void Ifc4x3_rc1::IfcCsgPrimitive3D::setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[267]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[267]); } void Ifc4x3_rc1::IfcCsgPrimitive3D::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -9651,7 +9651,7 @@ void Ifc4x3_rc1::IfcCsgPrimitive3D::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D void Ifc4x3_rc1::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x3_rc1::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[269]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[269]); } void Ifc4x3_rc1::IfcCsgSolid::initialize(::Ifc4x3_rc1::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -9667,29 +9667,29 @@ void Ifc4x3_rc1::IfcCurrencyRelationship::setRateDateTime(const std::optional< s void Ifc4x3_rc1::IfcCurrencyRelationship::setRateSource(const ::Ifc4x3_rc1::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[271]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[271]); } void Ifc4x3_rc1::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_rc1::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_rc1::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value > Ifc4x3_rc1::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[272]); } -void Ifc4x3_rc1::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[272]); } +void Ifc4x3_rc1::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value Ifc4x3_rc1::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[273]); } -void Ifc4x3_rc1::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[273]); } +void Ifc4x3_rc1::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x3_rc1::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[276]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[276]); } void Ifc4x3_rc1::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -9701,7 +9701,7 @@ std::vector< ::Ifc4x3_rc1::IfcCurve > Ifc4x3_rc1::IfcCurveBoundedPlane::InnerBou void Ifc4x3_rc1::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x3_rc1::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[277]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[277]); } void Ifc4x3_rc1::IfcCurveBoundedPlane::initialize(::Ifc4x3_rc1::IfcPlane v1_BasisSurface, ::Ifc4x3_rc1::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_rc1::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -9713,7 +9713,7 @@ bool Ifc4x3_rc1::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_a void Ifc4x3_rc1::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[278]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[278]); } void Ifc4x3_rc1::IfcCurveBoundedSurface::initialize(::Ifc4x3_rc1::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_rc1::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment2D @@ -9725,7 +9725,7 @@ double Ifc4x3_rc1::IfcCurveSegment2D::SegmentLength() const { double v = get_at void Ifc4x3_rc1::IfcCurveSegment2D::setSegmentLength(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcCurveSegment2D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[283]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurveSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[283]); } void Ifc4x3_rc1::IfcCurveSegment2D::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); } // Function implementations for IfcCurveStyle @@ -9739,7 +9739,7 @@ std::optional< bool > Ifc4x3_rc1::IfcCurveStyle::ModelOrDraughting() const { if( void Ifc4x3_rc1::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[284]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[284]); } void Ifc4x3_rc1::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_rc1::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_rc1::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -9749,7 +9749,7 @@ std::vector< ::Ifc4x3_rc1::IfcCurveStyleFontPattern > Ifc4x3_rc1::IfcCurveStyleF void Ifc4x3_rc1::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x3_rc1::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[285]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[285]); } void Ifc4x3_rc1::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc1::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -9761,7 +9761,7 @@ double Ifc4x3_rc1::IfcCurveStyleFontAndScaling::CurveFontScaling() const { doub void Ifc4x3_rc1::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[286]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[286]); } void Ifc4x3_rc1::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -9771,7 +9771,7 @@ double Ifc4x3_rc1::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { d void Ifc4x3_rc1::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[287]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[287]); } void Ifc4x3_rc1::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -9779,35 +9779,35 @@ double Ifc4x3_rc1::IfcCylindricalSurface::Radius() const { double v = get_attri void Ifc4x3_rc1::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[289]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[289]); } void Ifc4x3_rc1::IfcCylindricalSurface::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x3_rc1::IfcDamperTypeEnum::Value > Ifc4x3_rc1::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[290]); } -void Ifc4x3_rc1::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[290]); } +void Ifc4x3_rc1::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x3_rc1::IfcDamperTypeEnum::Value Ifc4x3_rc1::IfcDamperType::PredefinedType() const { return ::Ifc4x3_rc1::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDamperType::setPredefinedType(const ::Ifc4x3_rc1::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcDamperType::setPredefinedType(const ::Ifc4x3_rc1::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[291]); } -void Ifc4x3_rc1::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[291]); } +void Ifc4x3_rc1::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDeepFoundation -const IfcParse::entity& Ifc4x3_rc1::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[298]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[298]); } void Ifc4x3_rc1::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDeepFoundationType -const IfcParse::entity& Ifc4x3_rc1::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[299]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[299]); } void Ifc4x3_rc1::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDerivedProfileDef @@ -9819,20 +9819,20 @@ std::optional< std::string > Ifc4x3_rc1::IfcDerivedProfileDef::Label() const { i void Ifc4x3_rc1::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[302]); } -void Ifc4x3_rc1::IfcDerivedProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[302]); } +void Ifc4x3_rc1::IfcDerivedProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x3_rc1::IfcDerivedUnitElement > Ifc4x3_rc1::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcDerivedUnitElement>(es); } void Ifc4x3_rc1::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x3_rc1::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc1::IfcDerivedUnitEnum::Value Ifc4x3_rc1::IfcDerivedUnit::UnitType() const { return ::Ifc4x3_rc1::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc1::IfcDerivedUnit::setUnitType(const ::Ifc4x3_rc1::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc1::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc1::IfcDerivedUnit::setUnitType(const ::Ifc4x3_rc1::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc1::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x3_rc1::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[303]); } -void Ifc4x3_rc1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_rc1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[303]); } +void Ifc4x3_rc1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_rc1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x3_rc1::IfcNamedUnit Ifc4x3_rc1::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcNamedUnit>(); } @@ -9841,7 +9841,7 @@ int Ifc4x3_rc1::IfcDerivedUnitElement::Exponent() const { int v = get_attribute void Ifc4x3_rc1::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[304]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[304]); } void Ifc4x3_rc1::IfcDerivedUnitElement::initialize(::Ifc4x3_rc1::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -9861,7 +9861,7 @@ int Ifc4x3_rc1::IfcDimensionalExponents::LuminousIntensityExponent() const { in void Ifc4x3_rc1::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[307]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[307]); } void Ifc4x3_rc1::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -9869,7 +9869,7 @@ std::vector< double > /*[2:3]*/ Ifc4x3_rc1::IfcDirection::DirectionRatios() cons void Ifc4x3_rc1::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[309]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[309]); } void Ifc4x3_rc1::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDirectrixCurveSweptAreaSolid @@ -9881,7 +9881,7 @@ std::optional< double > Ifc4x3_rc1::IfcDirectrixCurveSweptAreaSolid::EndParam() void Ifc4x3_rc1::IfcDirectrixCurveSweptAreaSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDirectrixCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[311]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDirectrixCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[311]); } void Ifc4x3_rc1::IfcDirectrixCurveSweptAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix)); if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); } } // Function implementations for IfcDirectrixDistanceSweptAreaSolid @@ -9893,24 +9893,24 @@ void Ifc4x3_rc1::IfcDirectrixDistanceSweptAreaSolid::setStartDistance(const ::If void Ifc4x3_rc1::IfcDirectrixDistanceSweptAreaSolid::setEndDistance(const ::Ifc4x3_rc1::IfcDistanceExpression& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcDirectrixDistanceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[312]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDirectrixDistanceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[312]); } void Ifc4x3_rc1::IfcDirectrixDistanceSweptAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, ::Ifc4x3_rc1::IfcDistanceExpression v4_StartDistance, ::Ifc4x3_rc1::IfcDistanceExpression v5_EndDistance) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartDistance));set_attribute_value(4, (v5_EndDistance)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3_rc1::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[313]); } -void Ifc4x3_rc1::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[313]); } +void Ifc4x3_rc1::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_rc1::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[314]); } -void Ifc4x3_rc1::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[314]); } +void Ifc4x3_rc1::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistanceExpression double Ifc4x3_rc1::IfcDistanceExpression::DistanceAlong() const { double v = get_attribute_value(0); return v; } @@ -9925,107 +9925,107 @@ std::optional< bool > Ifc4x3_rc1::IfcDistanceExpression::AlongHorizontal() const void Ifc4x3_rc1::IfcDistanceExpression::setAlongHorizontal(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[316]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[316]); } void Ifc4x3_rc1::IfcDistanceExpression::initialize(double v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, std::optional< bool > v5_AlongHorizontal) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } if (v5_AlongHorizontal) {set_attribute_value(4, (*v5_AlongHorizontal)); } } // Function implementations for IfcDistributionBoard std::optional< ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value > Ifc4x3_rc1::IfcDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[317]); } -void Ifc4x3_rc1::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[317]); } +void Ifc4x3_rc1::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionBoardType ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value Ifc4x3_rc1::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[318]); } -void Ifc4x3_rc1::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[318]); } +void Ifc4x3_rc1::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3_rc1::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[320]); } -void Ifc4x3_rc1::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[320]); } +void Ifc4x3_rc1::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_rc1::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[321]); } -void Ifc4x3_rc1::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[321]); } +void Ifc4x3_rc1::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[323]); } -void Ifc4x3_rc1::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[323]); } +void Ifc4x3_rc1::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x3_rc1::IfcRelFlowControlElements> Ifc4x3_rc1::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[948], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelFlowControlElements> Ifc4x3_rc1::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[948], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[324]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[324]); } void Ifc4x3_rc1::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[325]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[325]); } void Ifc4x3_rc1::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x3_rc1::IfcRelConnectsPortToElement> Ifc4x3_rc1::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[932], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsPortToElement> Ifc4x3_rc1::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[932], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[326]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[326]); } void Ifc4x3_rc1::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[327]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[327]); } void Ifc4x3_rc1::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x3_rc1::IfcRelFlowControlElements> Ifc4x3_rc1::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[948], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelFlowControlElements> Ifc4x3_rc1::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[948], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[328]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[328]); } void Ifc4x3_rc1::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[329]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[329]); } void Ifc4x3_rc1::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x3_rc1::IfcFlowDirectionEnum::Value > Ifc4x3_rc1::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_rc1::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc1::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_rc1::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value > Ifc4x3_rc1::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > Ifc4x3_rc1::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc1::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[330]); } -void Ifc4x3_rc1::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[330]); } +void Ifc4x3_rc1::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x3_rc1::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > Ifc4x3_rc1::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc1::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc1::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[332]); } -void Ifc4x3_rc1::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[332]); } +void Ifc4x3_rc1::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x3_rc1::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -10059,17 +10059,17 @@ void Ifc4x3_rc1::IfcDocumentInformation::setValidFrom(const std::optional< std:: std::optional< std::string > Ifc4x3_rc1::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_rc1::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value > Ifc4x3_rc1::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x3_rc1::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x3_rc1::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x3_rc1::IfcDocumentStatusEnum::Value > Ifc4x3_rc1::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x3_rc1::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_rc1::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x3_rc1::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x3_rc1::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_rc1::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x3_rc1::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x3_rc1::IfcRelAssociatesDocument> Ifc4x3_rc1::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[923], 5)); } -std::vector<::Ifc4x3_rc1::IfcDocumentReference> Ifc4x3_rc1::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[337], 4)); } -std::vector<::Ifc4x3_rc1::IfcDocumentInformationRelationship> Ifc4x3_rc1::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[336], 3)); } -std::vector<::Ifc4x3_rc1::IfcDocumentInformationRelationship> Ifc4x3_rc1::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[336], 2)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociatesDocument> Ifc4x3_rc1::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[923], 5)); } +std::vector<::Ifc4x3_rc1::IfcDocumentReference> Ifc4x3_rc1::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[337], 4)); } +std::vector<::Ifc4x3_rc1::IfcDocumentInformationRelationship> Ifc4x3_rc1::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[336], 3)); } +std::vector<::Ifc4x3_rc1::IfcDocumentInformationRelationship> Ifc4x3_rc1::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[336], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[335]); } -void Ifc4x3_rc1::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc1::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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_rc1::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x3_rc1::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[335]); } +void Ifc4x3_rc1::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc1::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x3_rc1::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x3_rc1::IfcDocumentInformation Ifc4x3_rc1::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcDocumentInformation>(); } @@ -10080,7 +10080,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcDocumentInformationRelationship::Rel void Ifc4x3_rc1::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[336]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[336]); } void Ifc4x3_rc1::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_rc1::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -10089,9 +10089,9 @@ void Ifc4x3_rc1::IfcDocumentReference::setDescription(const std::optional< std:: ::Ifc4x3_rc1::IfcDocumentInformation Ifc4x3_rc1::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc1::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcDocumentInformation>(); } void Ifc4x3_rc1::IfcDocumentReference::setReferencedDocument(const ::Ifc4x3_rc1::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_rc1::IfcRelAssociatesDocument> Ifc4x3_rc1::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[923], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociatesDocument> Ifc4x3_rc1::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[923], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[337]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[337]); } void Ifc4x3_rc1::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -10100,15 +10100,15 @@ void Ifc4x3_rc1::IfcDoor::setOverallHeight(const std::optional< double >& v) { i std::optional< double > Ifc4x3_rc1::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc1::IfcDoorTypeEnum::Value > Ifc4x3_rc1::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value > Ifc4x3_rc1::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc1::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc1::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc1::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[340]); } -void Ifc4x3_rc1::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[340]); } +void Ifc4x3_rc1::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x3_rc1::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -10139,140 +10139,140 @@ std::optional< double > Ifc4x3_rc1::IfcDoorLiningProperties::LiningToPanelOffset void Ifc4x3_rc1::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[341]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[341]); } void Ifc4x3_rc1::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_rc1::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x3_rc1::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value Ifc4x3_rc1::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x3_rc1::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc1::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc1::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value Ifc4x3_rc1::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x3_rc1::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc1::IfcShapeAspect Ifc4x3_rc1::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc1::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc1::IfcShapeAspect>(); } void Ifc4x3_rc1::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x3_rc1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[344]); } -void Ifc4x3_rc1::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc1::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[344]); } +void Ifc4x3_rc1::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorStandardCase -const IfcParse::entity& Ifc4x3_rc1::IfcDoorStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[345]); } -void Ifc4x3_rc1::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDoorStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[345]); } +void Ifc4x3_rc1::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorStyle ::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value Ifc4x3_rc1::IfcDoorStyle::OperationType() const { return ::Ifc4x3_rc1::IfcDoorStyleOperationEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcDoorStyle::setOperationType(const ::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc1::IfcDoorStyle::setOperationType(const ::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value Ifc4x3_rc1::IfcDoorStyle::ConstructionType() const { return ::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDoorStyle::setConstructionType(const ::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcDoorStyle::setConstructionType(const ::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x3_rc1::IfcDoorStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcDoorStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x3_rc1::IfcDoorStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x3_rc1::IfcDoorStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcDoorStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[346]); } -void Ifc4x3_rc1::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDoorStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[346]); } +void Ifc4x3_rc1::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcDoorType ::Ifc4x3_rc1::IfcDoorTypeEnum::Value Ifc4x3_rc1::IfcDoorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDoorType::setPredefinedType(const ::Ifc4x3_rc1::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcDoorType::setPredefinedType(const ::Ifc4x3_rc1::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value Ifc4x3_rc1::IfcDoorType::OperationType() const { return ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcDoorType::setOperationType(const ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc1::IfcDoorType::setOperationType(const ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_rc1::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_rc1::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc1::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc1::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[349]); } -void Ifc4x3_rc1::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[349]); } +void Ifc4x3_rc1::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x3_rc1::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[353]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[353]); } void Ifc4x3_rc1::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_rc1::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[354]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[354]); } void Ifc4x3_rc1::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value > Ifc4x3_rc1::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[355]); } -void Ifc4x3_rc1::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[355]); } +void Ifc4x3_rc1::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value Ifc4x3_rc1::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[356]); } -void Ifc4x3_rc1::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[356]); } +void Ifc4x3_rc1::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value > Ifc4x3_rc1::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[358]); } -void Ifc4x3_rc1::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[358]); } +void Ifc4x3_rc1::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value Ifc4x3_rc1::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[359]); } -void Ifc4x3_rc1::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[359]); } +void Ifc4x3_rc1::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value > Ifc4x3_rc1::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[361]); } -void Ifc4x3_rc1::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[361]); } +void Ifc4x3_rc1::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value Ifc4x3_rc1::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[362]); } -void Ifc4x3_rc1::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[362]); } +void Ifc4x3_rc1::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEarthworksCut std::optional< ::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value > Ifc4x3_rc1::IfcEarthworksCut::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcEarthworksCut::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[366]); } -void Ifc4x3_rc1::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEarthworksCut::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[366]); } +void Ifc4x3_rc1::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEarthworksElement -const IfcParse::entity& Ifc4x3_rc1::IfcEarthworksElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[368]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEarthworksElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[368]); } void Ifc4x3_rc1::IfcEarthworksElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEarthworksFill std::optional< ::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value > Ifc4x3_rc1::IfcEarthworksFill::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcEarthworksFill::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[369]); } -void Ifc4x3_rc1::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEarthworksFill::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[369]); } +void Ifc4x3_rc1::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEdge ::Ifc4x3_rc1::IfcVertex Ifc4x3_rc1::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcVertex>(); } @@ -10281,7 +10281,7 @@ void Ifc4x3_rc1::IfcEdge::setEdgeStart(const ::Ifc4x3_rc1::IfcVertex& v) { set_a void Ifc4x3_rc1::IfcEdge::setEdgeEnd(const ::Ifc4x3_rc1::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[371]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[371]); } void Ifc4x3_rc1::IfcEdge::initialize(::Ifc4x3_rc1::IfcVertex v1_EdgeStart, ::Ifc4x3_rc1::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -10291,7 +10291,7 @@ bool Ifc4x3_rc1::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value void Ifc4x3_rc1::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[372]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[372]); } void Ifc4x3_rc1::IfcEdgeCurve::initialize(::Ifc4x3_rc1::IfcVertex v1_EdgeStart, ::Ifc4x3_rc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc1::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -10299,168 +10299,168 @@ std::vector< ::Ifc4x3_rc1::IfcOrientedEdge > Ifc4x3_rc1::IfcEdgeLoop::EdgeList() void Ifc4x3_rc1::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x3_rc1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[373]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[373]); } void Ifc4x3_rc1::IfcEdgeLoop::initialize(std::vector< ::Ifc4x3_rc1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value > Ifc4x3_rc1::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[374]); } -void Ifc4x3_rc1::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[374]); } +void Ifc4x3_rc1::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value Ifc4x3_rc1::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[375]); } -void Ifc4x3_rc1::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[375]); } +void Ifc4x3_rc1::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3_rc1::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[381]); } -void Ifc4x3_rc1::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[381]); } +void Ifc4x3_rc1::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_rc1::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[382]); } -void Ifc4x3_rc1::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[382]); } +void Ifc4x3_rc1::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3_rc1::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[384]); } -void Ifc4x3_rc1::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[384]); } +void Ifc4x3_rc1::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_rc1::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[385]); } -void Ifc4x3_rc1::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[385]); } +void Ifc4x3_rc1::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowTreatmentDevice std::optional< ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3_rc1::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[387]); } -void Ifc4x3_rc1::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[387]); } +void Ifc4x3_rc1::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowTreatmentDeviceType ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[388]); } -void Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[388]); } +void Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value > Ifc4x3_rc1::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[390]); } -void Ifc4x3_rc1::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[390]); } +void Ifc4x3_rc1::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value Ifc4x3_rc1::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[391]); } -void Ifc4x3_rc1::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[391]); } +void Ifc4x3_rc1::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value > Ifc4x3_rc1::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[393]); } -void Ifc4x3_rc1::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[393]); } +void Ifc4x3_rc1::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value Ifc4x3_rc1::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[394]); } -void Ifc4x3_rc1::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[394]); } +void Ifc4x3_rc1::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value > Ifc4x3_rc1::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[397]); } -void Ifc4x3_rc1::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[397]); } +void Ifc4x3_rc1::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value Ifc4x3_rc1::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[398]); } -void Ifc4x3_rc1::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[398]); } +void Ifc4x3_rc1::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x3_rc1::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc1::IfcRelFillsElement> Ifc4x3_rc1::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[947], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelConnectsElements> Ifc4x3_rc1::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[929], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelInterferesElements> Ifc4x3_rc1::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[949], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelInterferesElements> Ifc4x3_rc1::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[949], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelProjectsElement> Ifc4x3_rc1::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[952], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelVoidsElement> Ifc4x3_rc1::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[959], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelConnectsWithRealizingElements> Ifc4x3_rc1::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[936], 7)); } -std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary> Ifc4x3_rc1::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[956], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelConnectsElements> Ifc4x3_rc1::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[929], 6)); } -std::vector<::Ifc4x3_rc1::IfcRelContainedInSpatialStructure> Ifc4x3_rc1::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[937], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelCoversBldgElements> Ifc4x3_rc1::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[938], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelFillsElement> Ifc4x3_rc1::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[947], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsElements> Ifc4x3_rc1::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[929], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelInterferesElements> Ifc4x3_rc1::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[949], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelInterferesElements> Ifc4x3_rc1::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[949], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelProjectsElement> Ifc4x3_rc1::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[952], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelVoidsElement> Ifc4x3_rc1::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[959], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsWithRealizingElements> Ifc4x3_rc1::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[936], 7)); } +std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary> Ifc4x3_rc1::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[956], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsElements> Ifc4x3_rc1::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[929], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelContainedInSpatialStructure> Ifc4x3_rc1::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[937], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelCoversBldgElements> Ifc4x3_rc1::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[938], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[401]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[401]); } void Ifc4x3_rc1::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value > Ifc4x3_rc1::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value > Ifc4x3_rc1::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc1::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[403]); } -void Ifc4x3_rc1::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[403]); } +void Ifc4x3_rc1::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value Ifc4x3_rc1::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[404]); } -void Ifc4x3_rc1::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[404]); } +void Ifc4x3_rc1::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x3_rc1::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[406]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[406]); } void Ifc4x3_rc1::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x3_rc1::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[407]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[407]); } void Ifc4x3_rc1::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -10470,7 +10470,7 @@ std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > Ifc4x3_rc1::IfcElementQuantity: void Ifc4x3_rc1::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[409]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[409]); } void Ifc4x3_rc1::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -10478,7 +10478,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcElementType::ElementType() const { i void Ifc4x3_rc1::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[410]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[410]); } void Ifc4x3_rc1::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -10486,7 +10486,7 @@ void Ifc4x3_rc1::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc void Ifc4x3_rc1::IfcElementarySurface::setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[402]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[402]); } void Ifc4x3_rc1::IfcElementarySurface::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -10496,7 +10496,7 @@ double Ifc4x3_rc1::IfcEllipse::SemiAxis2() const { double v = get_attribute_val void Ifc4x3_rc1::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[411]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[411]); } void Ifc4x3_rc1::IfcEllipse::initialize(::Ifc4x3_rc1::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -10506,82 +10506,82 @@ double Ifc4x3_rc1::IfcEllipseProfileDef::SemiAxis2() const { double v = get_att void Ifc4x3_rc1::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[412]); } -void Ifc4x3_rc1::IfcEllipseProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[412]); } +void Ifc4x3_rc1::IfcEllipseProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x3_rc1::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[413]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[413]); } void Ifc4x3_rc1::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x3_rc1::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[414]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[414]); } void Ifc4x3_rc1::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x3_rc1::IfcEngineTypeEnum::Value > Ifc4x3_rc1::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[416]); } -void Ifc4x3_rc1::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[416]); } +void Ifc4x3_rc1::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x3_rc1::IfcEngineTypeEnum::Value Ifc4x3_rc1::IfcEngineType::PredefinedType() const { return ::Ifc4x3_rc1::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcEngineType::setPredefinedType(const ::Ifc4x3_rc1::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcEngineType::setPredefinedType(const ::Ifc4x3_rc1::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[417]); } -void Ifc4x3_rc1::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[417]); } +void Ifc4x3_rc1::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3_rc1::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[419]); } -void Ifc4x3_rc1::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[419]); } +void Ifc4x3_rc1::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_rc1::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[420]); } -void Ifc4x3_rc1::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[420]); } +void Ifc4x3_rc1::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value > Ifc4x3_rc1::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[422]); } -void Ifc4x3_rc1::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[422]); } +void Ifc4x3_rc1::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value Ifc4x3_rc1::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[423]); } -void Ifc4x3_rc1::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[423]); } +void Ifc4x3_rc1::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x3_rc1::IfcEventTypeEnum::Value > Ifc4x3_rc1::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc1::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value > Ifc4x3_rc1::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_rc1::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x3_rc1::IfcEventTime Ifc4x3_rc1::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_rc1::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_rc1::IfcEventTime>(); } void Ifc4x3_rc1::IfcEvent::setEventOccurenceTime(const ::Ifc4x3_rc1::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc1::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[425]); } -void Ifc4x3_rc1::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc1::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[425]); } +void Ifc4x3_rc1::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc1::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x3_rc1::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -10594,20 +10594,20 @@ std::optional< std::string > Ifc4x3_rc1::IfcEventTime::ScheduleDate() const { if void Ifc4x3_rc1::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[426]); } -void Ifc4x3_rc1::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[426]); } +void Ifc4x3_rc1::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcEventType ::Ifc4x3_rc1::IfcEventTypeEnum::Value Ifc4x3_rc1::IfcEventType::PredefinedType() const { return ::Ifc4x3_rc1::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcEventType::setPredefinedType(const ::Ifc4x3_rc1::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcEventType::setPredefinedType(const ::Ifc4x3_rc1::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value Ifc4x3_rc1::IfcEventType::EventTriggerType() const { return ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcEventType::setEventTriggerType(const ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc1::IfcEventType::setEventTriggerType(const ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x3_rc1::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x3_rc1::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc1::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[428]); } -void Ifc4x3_rc1::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc1::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[428]); } +void Ifc4x3_rc1::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc1::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x3_rc1::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10618,13 +10618,13 @@ std::vector< ::Ifc4x3_rc1::IfcProperty > Ifc4x3_rc1::IfcExtendedProperties::Prop void Ifc4x3_rc1::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x3_rc1::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[430]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[430]); } void Ifc4x3_rc1::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x3_rc1::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[431]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[431]); } void Ifc4x3_rc1::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -10635,9 +10635,9 @@ void Ifc4x3_rc1::IfcExternalReference::setIdentification(const std::optional< st std::optional< std::string > Ifc4x3_rc1::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 2)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[435]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[435]); } void Ifc4x3_rc1::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -10647,40 +10647,40 @@ std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > Ifc4x3_rc1::IfcExternalRefe void Ifc4x3_rc1::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[436]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[436]); } void Ifc4x3_rc1::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3_rc1::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary> Ifc4x3_rc1::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[956], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary> Ifc4x3_rc1::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[956], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[437]); } -void Ifc4x3_rc1::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[437]); } +void Ifc4x3_rc1::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x3_rc1::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[439]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[439]); } void Ifc4x3_rc1::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x3_rc1::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[432]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[432]); } void Ifc4x3_rc1::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x3_rc1::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[433]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[433]); } void Ifc4x3_rc1::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x3_rc1::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[434]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[434]); } void Ifc4x3_rc1::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -10690,7 +10690,7 @@ double Ifc4x3_rc1::IfcExtrudedAreaSolid::Depth() const { double v = get_attribu void Ifc4x3_rc1::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[440]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[440]); } void Ifc4x3_rc1::IfcExtrudedAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -10698,16 +10698,16 @@ void Ifc4x3_rc1::IfcExtrudedAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1 void Ifc4x3_rc1::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_rc1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[441]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[441]); } void Ifc4x3_rc1::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_rc1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x3_rc1::IfcFaceBound > Ifc4x3_rc1::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcFaceBound>(es); } void Ifc4x3_rc1::IfcFace::setBounds(const std::vector< ::Ifc4x3_rc1::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc1::IfcTextureMap> Ifc4x3_rc1::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1199], 2)); } +std::vector<::Ifc4x3_rc1::IfcTextureMap> Ifc4x3_rc1::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1199], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcFace::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[442]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[442]); } void Ifc4x3_rc1::IfcFace::initialize(std::vector< ::Ifc4x3_rc1::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -10715,7 +10715,7 @@ std::vector< ::Ifc4x3_rc1::IfcConnectedFaceSet > Ifc4x3_rc1::IfcFaceBasedSurface void Ifc4x3_rc1::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x3_rc1::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[443]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[443]); } void Ifc4x3_rc1::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_rc1::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -10725,13 +10725,13 @@ bool Ifc4x3_rc1::IfcFaceBound::Orientation() const { bool v = get_attribute_val void Ifc4x3_rc1::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[444]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[444]); } void Ifc4x3_rc1::IfcFaceBound::initialize(::Ifc4x3_rc1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x3_rc1::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[445]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[445]); } void Ifc4x3_rc1::IfcFaceOuterBound::initialize(::Ifc4x3_rc1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -10741,13 +10741,13 @@ bool Ifc4x3_rc1::IfcFaceSurface::SameSense() const { bool v = get_attribute_val void Ifc4x3_rc1::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[446]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[446]); } void Ifc4x3_rc1::IfcFaceSurface::initialize(std::vector< ::Ifc4x3_rc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x3_rc1::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[447]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[447]); } void Ifc4x3_rc1::IfcFacetedBrep::initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -10755,24 +10755,24 @@ std::vector< ::Ifc4x3_rc1::IfcClosedShell > Ifc4x3_rc1::IfcFacetedBrepWithVoids: void Ifc4x3_rc1::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_rc1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[448]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[448]); } void Ifc4x3_rc1::IfcFacetedBrepWithVoids::initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFacility -const IfcParse::entity& Ifc4x3_rc1::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[449]); } -void Ifc4x3_rc1::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[449]); } +void Ifc4x3_rc1::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFacilityPart ::Ifc4x3_rc1::IfcFacilityPartTypeSelect Ifc4x3_rc1::IfcFacilityPart::PredefinedType() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc1::IfcFacilityPartTypeSelect>(); } void Ifc4x3_rc1::IfcFacilityPart::setPredefinedType(const ::Ifc4x3_rc1::IfcFacilityPartTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value Ifc4x3_rc1::IfcFacilityPart::UsageType() const { return ::Ifc4x3_rc1::IfcFacilityUsageEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcFacilityPart::setUsageType(const ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc1::IfcFacilityPart::setUsageType(const ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc1::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[450]); } -void Ifc4x3_rc1::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc1::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[450]); } +void Ifc4x3_rc1::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc1::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } // Function implementations for IfcFailureConnectionCondition std::optional< double > Ifc4x3_rc1::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10789,59 +10789,59 @@ std::optional< double > Ifc4x3_rc1::IfcFailureConnectionCondition::CompressionFa void Ifc4x3_rc1::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[454]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[454]); } void Ifc4x3_rc1::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x3_rc1::IfcFanTypeEnum::Value > Ifc4x3_rc1::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFan::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[455]); } -void Ifc4x3_rc1::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[455]); } +void Ifc4x3_rc1::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x3_rc1::IfcFanTypeEnum::Value Ifc4x3_rc1::IfcFanType::PredefinedType() const { return ::Ifc4x3_rc1::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcFanType::setPredefinedType(const ::Ifc4x3_rc1::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcFanType::setPredefinedType(const ::Ifc4x3_rc1::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[456]); } -void Ifc4x3_rc1::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[456]); } +void Ifc4x3_rc1::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value > Ifc4x3_rc1::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[458]); } -void Ifc4x3_rc1::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[458]); } +void Ifc4x3_rc1::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value Ifc4x3_rc1::IfcFastenerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcFastenerType::setPredefinedType(const ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcFastenerType::setPredefinedType(const ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[459]); } -void Ifc4x3_rc1::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[459]); } +void Ifc4x3_rc1::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x3_rc1::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[461]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[461]); } void Ifc4x3_rc1::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x3_rc1::IfcRelProjectsElement> Ifc4x3_rc1::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[952], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelProjectsElement> Ifc4x3_rc1::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[952], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[462]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[462]); } void Ifc4x3_rc1::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x3_rc1::IfcRelVoidsElement> Ifc4x3_rc1::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[959], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelVoidsElement> Ifc4x3_rc1::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[959], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[463]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[463]); } void Ifc4x3_rc1::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -10851,7 +10851,7 @@ std::optional< bool > Ifc4x3_rc1::IfcFillAreaStyle::ModelorDraughting() const { void Ifc4x3_rc1::IfcFillAreaStyle::setModelorDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[464]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[464]); } void Ifc4x3_rc1::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc1::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelorDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelorDraughting) {set_attribute_value(2, (*v3_ModelorDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -10867,7 +10867,7 @@ double Ifc4x3_rc1::IfcFillAreaStyleHatching::HatchLineAngle() const { double v void Ifc4x3_rc1::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[465]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[465]); } void Ifc4x3_rc1::IfcFillAreaStyleHatching::initialize(::Ifc4x3_rc1::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_rc1::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_rc1::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_rc1::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -10879,231 +10879,231 @@ double Ifc4x3_rc1::IfcFillAreaStyleTiles::TilingScale() const { double v = get_ void Ifc4x3_rc1::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[466]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[466]); } void Ifc4x3_rc1::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x3_rc1::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_rc1::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x3_rc1::IfcFilterTypeEnum::Value > Ifc4x3_rc1::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[468]); } -void Ifc4x3_rc1::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[468]); } +void Ifc4x3_rc1::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x3_rc1::IfcFilterTypeEnum::Value Ifc4x3_rc1::IfcFilterType::PredefinedType() const { return ::Ifc4x3_rc1::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcFilterType::setPredefinedType(const ::Ifc4x3_rc1::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcFilterType::setPredefinedType(const ::Ifc4x3_rc1::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[469]); } -void Ifc4x3_rc1::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[469]); } +void Ifc4x3_rc1::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3_rc1::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[471]); } -void Ifc4x3_rc1::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[471]); } +void Ifc4x3_rc1::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_rc1::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[472]); } -void Ifc4x3_rc1::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[472]); } +void Ifc4x3_rc1::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x3_rc1::IfcDirection Ifc4x3_rc1::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc1::IfcDirection>(); } void Ifc4x3_rc1::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[474]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[474]); } void Ifc4x3_rc1::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x3_rc1::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix)); if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x3_rc1::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[475]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[475]); } void Ifc4x3_rc1::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x3_rc1::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[476]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[476]); } void Ifc4x3_rc1::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x3_rc1::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[478]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[478]); } void Ifc4x3_rc1::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x3_rc1::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[479]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[479]); } void Ifc4x3_rc1::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value > Ifc4x3_rc1::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[480]); } -void Ifc4x3_rc1::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[480]); } +void Ifc4x3_rc1::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value Ifc4x3_rc1::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[481]); } -void Ifc4x3_rc1::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[481]); } +void Ifc4x3_rc1::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value > Ifc4x3_rc1::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[483]); } -void Ifc4x3_rc1::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[483]); } +void Ifc4x3_rc1::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value Ifc4x3_rc1::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[484]); } -void Ifc4x3_rc1::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[484]); } +void Ifc4x3_rc1::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x3_rc1::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[486]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[486]); } void Ifc4x3_rc1::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x3_rc1::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[487]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[487]); } void Ifc4x3_rc1::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x3_rc1::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[488]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[488]); } void Ifc4x3_rc1::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x3_rc1::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[489]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[489]); } void Ifc4x3_rc1::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x3_rc1::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[490]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[490]); } void Ifc4x3_rc1::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x3_rc1::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[491]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[491]); } void Ifc4x3_rc1::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x3_rc1::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[492]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[492]); } void Ifc4x3_rc1::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x3_rc1::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[493]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[493]); } void Ifc4x3_rc1::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x3_rc1::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[494]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[494]); } void Ifc4x3_rc1::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x3_rc1::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[495]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[495]); } void Ifc4x3_rc1::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x3_rc1::IfcFootingTypeEnum::Value > Ifc4x3_rc1::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[499]); } -void Ifc4x3_rc1::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[499]); } +void Ifc4x3_rc1::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x3_rc1::IfcFootingTypeEnum::Value Ifc4x3_rc1::IfcFootingType::PredefinedType() const { return ::Ifc4x3_rc1::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcFootingType::setPredefinedType(const ::Ifc4x3_rc1::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcFootingType::setPredefinedType(const ::Ifc4x3_rc1::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[500]); } -void Ifc4x3_rc1::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[500]); } +void Ifc4x3_rc1::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x3_rc1::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[504]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[504]); } void Ifc4x3_rc1::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x3_rc1::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[505]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[505]); } void Ifc4x3_rc1::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > Ifc4x3_rc1::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[506]); } -void Ifc4x3_rc1::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[506]); } +void Ifc4x3_rc1::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value Ifc4x3_rc1::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > Ifc4x3_rc1::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[507]); } -void Ifc4x3_rc1::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[507]); } +void Ifc4x3_rc1::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value > Ifc4x3_rc1::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[509]); } -void Ifc4x3_rc1::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[509]); } +void Ifc4x3_rc1::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value Ifc4x3_rc1::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[510]); } -void Ifc4x3_rc1::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[510]); } +void Ifc4x3_rc1::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x3_rc1::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[512]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[512]); } void Ifc4x3_rc1::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_rc1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -11116,16 +11116,16 @@ void Ifc4x3_rc1::IfcGeometricRepresentationContext::setWorldCoordinateSystem(con ::Ifc4x3_rc1::IfcDirection Ifc4x3_rc1::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc1::IfcDirection>(); } void Ifc4x3_rc1::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc1::IfcGeometricRepresentationSubContext> Ifc4x3_rc1::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[516], 6)); } -std::vector<::Ifc4x3_rc1::IfcCoordinateOperation> Ifc4x3_rc1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[249], 0)); } +std::vector<::Ifc4x3_rc1::IfcGeometricRepresentationSubContext> Ifc4x3_rc1::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[516], 6)); } +std::vector<::Ifc4x3_rc1::IfcCoordinateOperation> Ifc4x3_rc1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[249], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[514]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[514]); } void Ifc4x3_rc1::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_rc1::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_rc1::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x3_rc1::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[515]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[515]); } void Ifc4x3_rc1::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -11134,50 +11134,50 @@ void Ifc4x3_rc1::IfcGeometricRepresentationSubContext::setParentContext(const :: std::optional< double > Ifc4x3_rc1::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc1::IfcGeometricProjectionEnum::Value Ifc4x3_rc1::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x3_rc1::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_rc1::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc1::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_rc1::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x3_rc1::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[516]); } -void Ifc4x3_rc1::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[516]); } +void Ifc4x3_rc1::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x3_rc1::IfcGeometricSetSelect > Ifc4x3_rc1::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcGeometricSetSelect>(es); } void Ifc4x3_rc1::IfcGeometricSet::setElements(const std::vector< ::Ifc4x3_rc1::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[517]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[517]); } void Ifc4x3_rc1::IfcGeometricSet::initialize(std::vector< ::Ifc4x3_rc1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeomodel -const IfcParse::entity& Ifc4x3_rc1::IfcGeomodel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[519]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeomodel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[519]); } void Ifc4x3_rc1::IfcGeomodel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeoslice -const IfcParse::entity& Ifc4x3_rc1::IfcGeoslice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[520]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeoslice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[520]); } void Ifc4x3_rc1::IfcGeoslice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalAssembly -const IfcParse::entity& Ifc4x3_rc1::IfcGeotechnicalAssembly::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[521]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeotechnicalAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[521]); } void Ifc4x3_rc1::IfcGeotechnicalAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalElement -const IfcParse::entity& Ifc4x3_rc1::IfcGeotechnicalElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[522]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeotechnicalElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[522]); } void Ifc4x3_rc1::IfcGeotechnicalElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalStratum -const IfcParse::entity& Ifc4x3_rc1::IfcGeotechnicalStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[523]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGeotechnicalStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[523]); } void Ifc4x3_rc1::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGrid @@ -11188,11 +11188,11 @@ void Ifc4x3_rc1::IfcGrid::setVAxes(const std::vector< ::Ifc4x3_rc1::IfcGridAxis std::optional< std::vector< ::Ifc4x3_rc1::IfcGridAxis > > Ifc4x3_rc1::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_rc1::IfcGridAxis>(es); } void Ifc4x3_rc1::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x3_rc1::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc1::IfcGridTypeEnum::Value > Ifc4x3_rc1::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[526]); } -void Ifc4x3_rc1::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc1::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[526]); } +void Ifc4x3_rc1::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc1::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x3_rc1::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11202,12 +11202,12 @@ void Ifc4x3_rc1::IfcGridAxis::setAxisCurve(const ::Ifc4x3_rc1::IfcCurve& v) { se bool Ifc4x3_rc1::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc1::IfcGrid> Ifc4x3_rc1::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[526], 9)); } -std::vector<::Ifc4x3_rc1::IfcGrid> Ifc4x3_rc1::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[526], 8)); } -std::vector<::Ifc4x3_rc1::IfcGrid> Ifc4x3_rc1::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[526], 7)); } -std::vector<::Ifc4x3_rc1::IfcVirtualGridIntersection> Ifc4x3_rc1::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1277], 0)); } +std::vector<::Ifc4x3_rc1::IfcGrid> Ifc4x3_rc1::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[526], 9)); } +std::vector<::Ifc4x3_rc1::IfcGrid> Ifc4x3_rc1::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[526], 8)); } +std::vector<::Ifc4x3_rc1::IfcGrid> Ifc4x3_rc1::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[526], 7)); } +std::vector<::Ifc4x3_rc1::IfcVirtualGridIntersection> Ifc4x3_rc1::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1277], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[527]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[527]); } void Ifc4x3_rc1::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_rc1::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -11217,14 +11217,14 @@ void Ifc4x3_rc1::IfcGridPlacement::setPlacementLocation(const ::Ifc4x3_rc1::IfcV void Ifc4x3_rc1::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x3_rc1::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[528]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[528]); } void Ifc4x3_rc1::IfcGridPlacement::initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_rc1::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x3_rc1::IfcRelAssignsToGroup> Ifc4x3_rc1::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[914], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelAssignsToGroup> Ifc4x3_rc1::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[914], 6)); } -const IfcParse::entity& Ifc4x3_rc1::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[531]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[531]); } void Ifc4x3_rc1::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -11234,40 +11234,40 @@ bool Ifc4x3_rc1::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attrib void Ifc4x3_rc1::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[532]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[532]); } void Ifc4x3_rc1::IfcHalfSpaceSolid::initialize(::Ifc4x3_rc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value > Ifc4x3_rc1::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[534]); } -void Ifc4x3_rc1::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[534]); } +void Ifc4x3_rc1::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value Ifc4x3_rc1::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[535]); } -void Ifc4x3_rc1::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[535]); } +void Ifc4x3_rc1::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value > Ifc4x3_rc1::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[539]); } -void Ifc4x3_rc1::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[539]); } +void Ifc4x3_rc1::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value Ifc4x3_rc1::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3_rc1::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[540]); } -void Ifc4x3_rc1::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[540]); } +void Ifc4x3_rc1::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x3_rc1::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -11286,15 +11286,15 @@ std::optional< double > Ifc4x3_rc1::IfcIShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc1::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[570]); } -void Ifc4x3_rc1::IfcIShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[570]); } +void Ifc4x3_rc1::IfcIShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x3_rc1::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[544]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[544]); } void Ifc4x3_rc1::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcImpactProtectionDevice @@ -11302,7 +11302,7 @@ void Ifc4x3_rc1::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, s void Ifc4x3_rc1::IfcImpactProtectionDevice::setPredefinedType(const ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcImpactProtectionDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[545]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcImpactProtectionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[545]); } void Ifc4x3_rc1::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_PredefinedType)); } // Function implementations for IfcImpactProtectionDeviceType @@ -11310,7 +11310,7 @@ void Ifc4x3_rc1::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, void Ifc4x3_rc1::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcImpactProtectionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[546]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcImpactProtectionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[546]); } void Ifc4x3_rc1::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_PredefinedType)); } // Function implementations for IfcInclinedReferenceSweptAreaSolid @@ -11320,7 +11320,7 @@ void Ifc4x3_rc1::IfcInclinedReferenceSweptAreaSolid::setFixedAxisVertical(const void Ifc4x3_rc1::IfcInclinedReferenceSweptAreaSolid::setInclinating(const ::Ifc4x3_rc1::IfcAxisLateralInclination& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcInclinedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[549]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcInclinedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[549]); } void Ifc4x3_rc1::IfcInclinedReferenceSweptAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, ::Ifc4x3_rc1::IfcDistanceExpression v4_StartDistance, ::Ifc4x3_rc1::IfcDistanceExpression v5_EndDistance, std::optional< bool > v6_FixedAxisVertical, ::Ifc4x3_rc1::IfcAxisLateralInclination v7_Inclinating) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartDistance));set_attribute_value(4, (v5_EndDistance)); if (v6_FixedAxisVertical) {set_attribute_value(5, (*v6_FixedAxisVertical)); }set_attribute_value(6, (v7_Inclinating)); } // Function implementations for IfcIndexedColourMap @@ -11334,7 +11334,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_rc1::IfcIndexedColourMap::ColourIndex() cons void Ifc4x3_rc1::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[550]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[550]); } void Ifc4x3_rc1::IfcIndexedColourMap::initialize(::Ifc4x3_rc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -11346,16 +11346,16 @@ std::optional< bool > Ifc4x3_rc1::IfcIndexedPolyCurve::SelfIntersect() const { i void Ifc4x3_rc1::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[551]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[551]); } void Ifc4x3_rc1::IfcIndexedPolyCurve::initialize(::Ifc4x3_rc1::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_rc1::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x3_rc1::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x3_rc1::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc1::IfcPolygonalFaceSet> Ifc4x3_rc1::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[783], 2)); } +std::vector<::Ifc4x3_rc1::IfcPolygonalFaceSet> Ifc4x3_rc1::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[783], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[552]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[552]); } void Ifc4x3_rc1::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -11363,7 +11363,7 @@ std::vector< std::vector< int > > Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids:: void Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[553]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[553]); } void Ifc4x3_rc1::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -11373,7 +11373,7 @@ void Ifc4x3_rc1::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x3_rc1::IfcTessel void Ifc4x3_rc1::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x3_rc1::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[554]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[554]); } void Ifc4x3_rc1::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc1::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -11381,34 +11381,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x3_rc1::IfcIndexedTriangl void Ifc4x3_rc1::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[555]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[555]); } void Ifc4x3_rc1::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value > Ifc4x3_rc1::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[559]); } -void Ifc4x3_rc1::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[559]); } +void Ifc4x3_rc1::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value Ifc4x3_rc1::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[560]); } -void Ifc4x3_rc1::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[560]); } +void Ifc4x3_rc1::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x3_rc1::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[564]); } -void Ifc4x3_rc1::IfcIntersectionCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[564]); } +void Ifc4x3_rc1::IfcIntersectionCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x3_rc1::IfcInventoryTypeEnum::Value > Ifc4x3_rc1::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc1::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x3_rc1::IfcActorSelect Ifc4x3_rc1::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcActorSelect>(); } void Ifc4x3_rc1::IfcInventory::setJurisdiction(const ::Ifc4x3_rc1::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > Ifc4x3_rc1::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc1::IfcPerson>(es); } @@ -11421,16 +11421,16 @@ void Ifc4x3_rc1::IfcInventory::setCurrentValue(const ::Ifc4x3_rc1::IfcCostValue& void Ifc4x3_rc1::IfcInventory::setOriginalValue(const ::Ifc4x3_rc1::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc1::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[565]); } -void Ifc4x3_rc1::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc1::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc1::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[565]); } +void Ifc4x3_rc1::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc1::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc1::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x3_rc1::IfcIrregularTimeSeriesValue > Ifc4x3_rc1::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_rc1::IfcIrregularTimeSeriesValue>(es); } void Ifc4x3_rc1::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x3_rc1::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[568]); } -void Ifc4x3_rc1::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc1::IfcIrregularTimeSeriesValue > v9_Values) { 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_rc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[568]); } +void Ifc4x3_rc1::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc1::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x3_rc1::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -11439,31 +11439,31 @@ std::vector< ::Ifc4x3_rc1::IfcValue > Ifc4x3_rc1::IfcIrregularTimeSeriesValue::L void Ifc4x3_rc1::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_rc1::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[569]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[569]); } void Ifc4x3_rc1::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_rc1::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value > Ifc4x3_rc1::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[572]); } -void Ifc4x3_rc1::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[572]); } +void Ifc4x3_rc1::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value Ifc4x3_rc1::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[573]); } -void Ifc4x3_rc1::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[573]); } +void Ifc4x3_rc1::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcKerb bool Ifc4x3_rc1::IfcKerb::Mountable() const { bool v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcKerb::setMountable(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcKerb::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[575]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcKerb::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[575]); } void Ifc4x3_rc1::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_Mountable)); } // Function implementations for IfcKerbType @@ -11471,7 +11471,7 @@ bool Ifc4x3_rc1::IfcKerbType::Mountable() const { bool v = get_attribute_value( void Ifc4x3_rc1::IfcKerbType::setMountable(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcKerbType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[576]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcKerbType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[576]); } void Ifc4x3_rc1::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_Mountable)); } // Function implementations for IfcLShapeProfileDef @@ -11489,50 +11489,50 @@ std::optional< double > Ifc4x3_rc1::IfcLShapeProfileDef::LegSlope() const { if(g void Ifc4x3_rc1::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[629]); } -void Ifc4x3_rc1::IfcLShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[629]); } +void Ifc4x3_rc1::IfcLShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value > Ifc4x3_rc1::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[580]); } -void Ifc4x3_rc1::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[580]); } +void Ifc4x3_rc1::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value Ifc4x3_rc1::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[581]); } -void Ifc4x3_rc1::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[581]); } +void Ifc4x3_rc1::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x3_rc1::IfcTimeOrRatioSelect Ifc4x3_rc1::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc1::IfcTimeOrRatioSelect>(); } void Ifc4x3_rc1::IfcLagTime::setLagValue(const ::Ifc4x3_rc1::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc1::IfcTaskDurationEnum::Value Ifc4x3_rc1::IfcLagTime::DurationType() const { return ::Ifc4x3_rc1::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc1::IfcLagTime::setDurationType(const ::Ifc4x3_rc1::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc1::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc1::IfcLagTime::setDurationType(const ::Ifc4x3_rc1::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc1::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[583]); } -void Ifc4x3_rc1::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc1::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc1::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[583]); } +void Ifc4x3_rc1::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc1::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc1::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x3_rc1::IfcLampTypeEnum::Value > Ifc4x3_rc1::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[584]); } -void Ifc4x3_rc1::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[584]); } +void Ifc4x3_rc1::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x3_rc1::IfcLampTypeEnum::Value Ifc4x3_rc1::IfcLampType::PredefinedType() const { return ::Ifc4x3_rc1::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcLampType::setPredefinedType(const ::Ifc4x3_rc1::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcLampType::setPredefinedType(const ::Ifc4x3_rc1::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[585]); } -void Ifc4x3_rc1::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[585]); } +void Ifc4x3_rc1::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x3_rc1::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11548,10 +11548,10 @@ void Ifc4x3_rc1::IfcLibraryInformation::setLocation(const std::optional< std::st std::optional< std::string > Ifc4x3_rc1::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc1::IfcRelAssociatesLibrary> Ifc4x3_rc1::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[924], 5)); } -std::vector<::Ifc4x3_rc1::IfcLibraryReference> Ifc4x3_rc1::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[592], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociatesLibrary> Ifc4x3_rc1::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[924], 5)); } +std::vector<::Ifc4x3_rc1::IfcLibraryReference> Ifc4x3_rc1::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[592], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[591]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[591]); } void Ifc4x3_rc1::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_rc1::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -11562,9 +11562,9 @@ void Ifc4x3_rc1::IfcLibraryReference::setLanguage(const std::optional< std::stri ::Ifc4x3_rc1::IfcLibraryInformation Ifc4x3_rc1::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc1::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc1::IfcLibraryInformation>(); } void Ifc4x3_rc1::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x3_rc1::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc1::IfcRelAssociatesLibrary> Ifc4x3_rc1::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[924], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociatesLibrary> Ifc4x3_rc1::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[924], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[592]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[592]); } void Ifc4x3_rc1::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_rc1::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -11576,34 +11576,34 @@ std::vector< double > /*[1:?]*/ Ifc4x3_rc1::IfcLightDistributionData::LuminousIn void Ifc4x3_rc1::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[595]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[595]); } void Ifc4x3_rc1::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value > Ifc4x3_rc1::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[598]); } -void Ifc4x3_rc1::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[598]); } +void Ifc4x3_rc1::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value Ifc4x3_rc1::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[599]); } -void Ifc4x3_rc1::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[599]); } +void Ifc4x3_rc1::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value Ifc4x3_rc1::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3_rc1::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc1::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc1::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x3_rc1::IfcLightDistributionData > Ifc4x3_rc1::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc1::IfcLightDistributionData>(es); } void Ifc4x3_rc1::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x3_rc1::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[601]); } -void Ifc4x3_rc1::IfcLightIntensityDistribution::initialize(::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc1::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[601]); } +void Ifc4x3_rc1::IfcLightIntensityDistribution::initialize(::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc1::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x3_rc1::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11616,13 +11616,13 @@ std::optional< double > Ifc4x3_rc1::IfcLightSource::Intensity() const { if(get_a void Ifc4x3_rc1::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[602]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[602]); } void Ifc4x3_rc1::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x3_rc1::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[603]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[603]); } void Ifc4x3_rc1::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -11630,7 +11630,7 @@ void Ifc4x3_rc1::IfcLightSourceAmbient::initialize(std::optional< std::string > void Ifc4x3_rc1::IfcLightSourceDirectional::setOrientation(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[604]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[604]); } void Ifc4x3_rc1::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc1::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -11643,13 +11643,13 @@ void Ifc4x3_rc1::IfcLightSourceGoniometric::setColourTemperature(const double& v double Ifc4x3_rc1::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value Ifc4x3_rc1::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x3_rc1::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc1::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc1::IfcLightDistributionDataSourceSelect Ifc4x3_rc1::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc1::IfcLightDistributionDataSourceSelect>(); } void Ifc4x3_rc1::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x3_rc1::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[605]); } -void Ifc4x3_rc1::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[605]); } +void Ifc4x3_rc1::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x3_rc1::IfcCartesianPoint Ifc4x3_rc1::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcCartesianPoint>(); } @@ -11664,7 +11664,7 @@ double Ifc4x3_rc1::IfcLightSourcePositional::QuadricAttenuation() const { doubl void Ifc4x3_rc1::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[606]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[606]); } void Ifc4x3_rc1::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -11678,7 +11678,7 @@ double Ifc4x3_rc1::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_ void Ifc4x3_rc1::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_rc1::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[607]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[607]); } void Ifc4x3_rc1::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_rc1::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -11688,13 +11688,13 @@ void Ifc4x3_rc1::IfcLine::setPnt(const ::Ifc4x3_rc1::IfcCartesianPoint& v) { set void Ifc4x3_rc1::IfcLine::setDir(const ::Ifc4x3_rc1::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcLine::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[608]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[608]); } void Ifc4x3_rc1::IfcLine::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Pnt, ::Ifc4x3_rc1::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLineSegment2D -const IfcParse::entity& Ifc4x3_rc1::IfcLineSegment2D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[620]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLineSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[620]); } void Ifc4x3_rc1::IfcLineSegment2D::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); } // Function implementations for IfcLinearAxisWithInclination @@ -11704,7 +11704,7 @@ void Ifc4x3_rc1::IfcLinearAxisWithInclination::setDirectrix(const ::Ifc4x3_rc1:: void Ifc4x3_rc1::IfcLinearAxisWithInclination::setInclinating(const ::Ifc4x3_rc1::IfcAxisLateralInclination& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcLinearAxisWithInclination::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[610]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLinearAxisWithInclination::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[610]); } void Ifc4x3_rc1::IfcLinearAxisWithInclination::initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, ::Ifc4x3_rc1::IfcAxisLateralInclination v2_Inclinating) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, (v2_Inclinating)); } // Function implementations for IfcLinearPlacement @@ -11718,7 +11718,7 @@ void Ifc4x3_rc1::IfcLinearPlacement::setOrientation(const ::Ifc4x3_rc1::IfcOrien void Ifc4x3_rc1::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[613]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[613]); } void Ifc4x3_rc1::IfcLinearPlacement::initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc1::IfcDistanceExpression v3_Distance, ::Ifc4x3_rc1::IfcOrientationExpression v4_Orientation, ::Ifc4x3_rc1::IfcAxis2Placement3D v5_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementMeasuredAlong));set_attribute_value(2, (v3_Distance));set_attribute_value(3, (v4_Orientation));set_attribute_value(4, (v5_CartesianPosition)); } // Function implementations for IfcLinearPlacementWithInclination @@ -11726,7 +11726,7 @@ void Ifc4x3_rc1::IfcLinearPlacement::initialize(::Ifc4x3_rc1::IfcObjectPlacement void Ifc4x3_rc1::IfcLinearPlacementWithInclination::setInclinating(const ::Ifc4x3_rc1::IfcAxisLateralInclination& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcLinearPlacementWithInclination::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[614]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLinearPlacementWithInclination::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[614]); } void Ifc4x3_rc1::IfcLinearPlacementWithInclination::initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc1::IfcDistanceExpression v3_Distance, ::Ifc4x3_rc1::IfcOrientationExpression v4_Orientation, ::Ifc4x3_rc1::IfcAxis2Placement3D v5_CartesianPosition, ::Ifc4x3_rc1::IfcAxisLateralInclination v6_Inclinating) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementMeasuredAlong));set_attribute_value(2, (v3_Distance));set_attribute_value(3, (v4_Orientation));set_attribute_value(4, (v5_CartesianPosition));set_attribute_value(5, (v6_Inclinating)); } // Function implementations for IfcLinearPositioningElement @@ -11734,7 +11734,7 @@ void Ifc4x3_rc1::IfcLinearPlacementWithInclination::initialize(::Ifc4x3_rc1::Ifc void Ifc4x3_rc1::IfcLinearPositioningElement::setAxis(const ::Ifc4x3_rc1::IfcCurve& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc1::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[615]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[615]); } void Ifc4x3_rc1::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcCurve v8_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); } // Function implementations for IfcLinearSpanPlacement @@ -11742,37 +11742,37 @@ double Ifc4x3_rc1::IfcLinearSpanPlacement::Span() const { double v = get_attrib void Ifc4x3_rc1::IfcLinearSpanPlacement::setSpan(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcLinearSpanPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[616]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLinearSpanPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[616]); } void Ifc4x3_rc1::IfcLinearSpanPlacement::initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc1::IfcDistanceExpression v3_Distance, ::Ifc4x3_rc1::IfcOrientationExpression v4_Orientation, ::Ifc4x3_rc1::IfcAxis2Placement3D v5_CartesianPosition, double v6_Span) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementMeasuredAlong));set_attribute_value(2, (v3_Distance));set_attribute_value(3, (v4_Orientation));set_attribute_value(4, (v5_CartesianPosition));set_attribute_value(5, (v6_Span)); } // Function implementations for IfcLiquidTerminal std::optional< ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value > Ifc4x3_rc1::IfcLiquidTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcLiquidTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[621]); } -void Ifc4x3_rc1::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLiquidTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[621]); } +void Ifc4x3_rc1::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLiquidTerminalType ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value Ifc4x3_rc1::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcLiquidTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[622]); } -void Ifc4x3_rc1::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLiquidTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[622]); } +void Ifc4x3_rc1::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLocalPlacement ::Ifc4x3_rc1::IfcAxis2Placement Ifc4x3_rc1::IfcLocalPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc1::IfcAxis2Placement>(); } void Ifc4x3_rc1::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x3_rc1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[625]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[625]); } void Ifc4x3_rc1::IfcLocalPlacement::initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x3_rc1::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[628]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[628]); } void Ifc4x3_rc1::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -11780,7 +11780,7 @@ void Ifc4x3_rc1::IfcLoop::initialize() { } void Ifc4x3_rc1::IfcManifoldSolidBrep::setOuter(const ::Ifc4x3_rc1::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[635]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[635]); } void Ifc4x3_rc1::IfcManifoldSolidBrep::initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -11798,7 +11798,7 @@ std::optional< double > Ifc4x3_rc1::IfcMapConversion::Scale() const { if(get_att void Ifc4x3_rc1::IfcMapConversion::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[636]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[636]); } void Ifc4x3_rc1::IfcMapConversion::initialize(::Ifc4x3_rc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } } // Function implementations for IfcMappedItem @@ -11808,16 +11808,16 @@ void Ifc4x3_rc1::IfcMappedItem::setMappingSource(const ::Ifc4x3_rc1::IfcRepresen void Ifc4x3_rc1::IfcMappedItem::setMappingTarget(const ::Ifc4x3_rc1::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[637]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[637]); } void Ifc4x3_rc1::IfcMappedItem::initialize(::Ifc4x3_rc1::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_rc1::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMarineFacility ::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value Ifc4x3_rc1::IfcMarineFacility::PredefinedType() const { return ::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcMarineFacility::setPredefinedType(const ::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcMarineFacility::setPredefinedType(const ::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcMarineFacility::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[638]); } -void Ifc4x3_rc1::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMarineFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[638]); } +void Ifc4x3_rc1::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMaterial std::string Ifc4x3_rc1::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11827,11 +11827,11 @@ void Ifc4x3_rc1::IfcMaterial::setDescription(const std::optional< std::string >& std::optional< std::string > Ifc4x3_rc1::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc1::IfcMaterialDefinitionRepresentation> Ifc4x3_rc1::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[650], 3)); } -std::vector<::Ifc4x3_rc1::IfcMaterialRelationship> Ifc4x3_rc1::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[662], 3)); } -std::vector<::Ifc4x3_rc1::IfcMaterialRelationship> Ifc4x3_rc1::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[662], 2)); } +std::vector<::Ifc4x3_rc1::IfcMaterialDefinitionRepresentation> Ifc4x3_rc1::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[650], 3)); } +std::vector<::Ifc4x3_rc1::IfcMaterialRelationship> Ifc4x3_rc1::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[662], 3)); } +std::vector<::Ifc4x3_rc1::IfcMaterialRelationship> Ifc4x3_rc1::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[662], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[645]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[645]); } void Ifc4x3_rc1::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -11841,7 +11841,7 @@ void Ifc4x3_rc1::IfcMaterialClassificationRelationship::setMaterialClassificatio void Ifc4x3_rc1::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x3_rc1::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[646]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[646]); } void Ifc4x3_rc1::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x3_rc1::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_rc1::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -11856,9 +11856,9 @@ void Ifc4x3_rc1::IfcMaterialConstituent::setFraction(const std::optional< double std::optional< std::string > Ifc4x3_rc1::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc1::IfcMaterialConstituentSet> Ifc4x3_rc1::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[648], 2)); } +std::vector<::Ifc4x3_rc1::IfcMaterialConstituentSet> Ifc4x3_rc1::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[648], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[647]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[647]); } void Ifc4x3_rc1::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -11870,16 +11870,16 @@ std::optional< std::vector< ::Ifc4x3_rc1::IfcMaterialConstituent > > Ifc4x3_rc1: void Ifc4x3_rc1::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_rc1::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[648]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[648]); } void Ifc4x3_rc1::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x3_rc1::IfcRelAssociatesMaterial> Ifc4x3_rc1::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[925], 5)); } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -std::vector<::Ifc4x3_rc1::IfcMaterialProperties> Ifc4x3_rc1::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[661], 3)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociatesMaterial> Ifc4x3_rc1::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[925], 5)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcMaterialProperties> Ifc4x3_rc1::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[661], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[649]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[649]); } void Ifc4x3_rc1::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -11887,7 +11887,7 @@ void Ifc4x3_rc1::IfcMaterialDefinition::initialize() { } void Ifc4x3_rc1::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x3_rc1::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[650]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[650]); } void Ifc4x3_rc1::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcRepresentation > v3_Representations, ::Ifc4x3_rc1::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -11906,9 +11906,9 @@ void Ifc4x3_rc1::IfcMaterialLayer::setCategory(const std::optional< std::string std::optional< int > Ifc4x3_rc1::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc1::IfcMaterialLayerSet> Ifc4x3_rc1::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[652], 0)); } +std::vector<::Ifc4x3_rc1::IfcMaterialLayerSet> Ifc4x3_rc1::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[652], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[651]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[651]); } void Ifc4x3_rc1::IfcMaterialLayer::initialize(::Ifc4x3_rc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -11920,41 +11920,41 @@ std::optional< std::string > Ifc4x3_rc1::IfcMaterialLayerSet::Description() cons void Ifc4x3_rc1::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[652]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[652]); } void Ifc4x3_rc1::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x3_rc1::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x3_rc1::IfcMaterialLayerSet Ifc4x3_rc1::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcMaterialLayerSet>(); } void Ifc4x3_rc1::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x3_rc1::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value Ifc4x3_rc1::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc1::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc1::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc1::IfcDirectionSenseEnum::Value Ifc4x3_rc1::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x3_rc1::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc1::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_rc1::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc1::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc1::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_rc1::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc1::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x3_rc1::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x3_rc1::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x3_rc1::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[653]); } -void Ifc4x3_rc1::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_rc1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[653]); } +void Ifc4x3_rc1::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_rc1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value Ifc4x3_rc1::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x3_rc1::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[654]); } -void Ifc4x3_rc1::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_rc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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_rc1::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[654]); } +void Ifc4x3_rc1::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_rc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x3_rc1::IfcMaterial > Ifc4x3_rc1::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcMaterial>(es); } void Ifc4x3_rc1::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x3_rc1::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[655]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[655]); } void Ifc4x3_rc1::IfcMaterialList::initialize(std::vector< ::Ifc4x3_rc1::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -11971,9 +11971,9 @@ void Ifc4x3_rc1::IfcMaterialProfile::setPriority(const std::optional< int >& v) std::optional< std::string > Ifc4x3_rc1::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc1::IfcMaterialProfileSet> Ifc4x3_rc1::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[657], 2)); } +std::vector<::Ifc4x3_rc1::IfcMaterialProfileSet> Ifc4x3_rc1::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[657], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[656]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[656]); } void Ifc4x3_rc1::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMaterial v3_Material, ::Ifc4x3_rc1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -11987,7 +11987,7 @@ void Ifc4x3_rc1::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< : void Ifc4x3_rc1::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x3_rc1::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[657]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[657]); } void Ifc4x3_rc1::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_rc1::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -11999,7 +11999,7 @@ std::optional< double > Ifc4x3_rc1::IfcMaterialProfileSetUsage::ReferenceExtent( void Ifc4x3_rc1::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[658]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[658]); } void Ifc4x3_rc1::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_rc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -12009,7 +12009,7 @@ std::optional< int > Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::CardinalEnd void Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[659]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[659]); } void Ifc4x3_rc1::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_rc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -12017,7 +12017,7 @@ std::vector< double > /*[1:2]*/ Ifc4x3_rc1::IfcMaterialProfileWithOffsets::Offse void Ifc4x3_rc1::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[660]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[660]); } void Ifc4x3_rc1::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMaterial v3_Material, ::Ifc4x3_rc1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -12025,7 +12025,7 @@ void Ifc4x3_rc1::IfcMaterialProfileWithOffsets::initialize(std::optional< std::s void Ifc4x3_rc1::IfcMaterialProperties::setMaterial(const ::Ifc4x3_rc1::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[661]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[661]); } void Ifc4x3_rc1::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcProperty > v3_Properties, ::Ifc4x3_rc1::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -12037,14 +12037,14 @@ std::optional< std::string > Ifc4x3_rc1::IfcMaterialRelationship::Expression() c void Ifc4x3_rc1::IfcMaterialRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[662]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[662]); } void Ifc4x3_rc1::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_rc1::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x3_rc1::IfcRelAssociatesMaterial> Ifc4x3_rc1::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[925], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociatesMaterial> Ifc4x3_rc1::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[925], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[664]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[664]); } void Ifc4x3_rc1::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -12054,7 +12054,7 @@ void Ifc4x3_rc1::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x3_rc1::IfcVa void Ifc4x3_rc1::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x3_rc1::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[666]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[666]); } void Ifc4x3_rc1::IfcMeasureWithUnit::initialize(::Ifc4x3_rc1::IfcValue v1_ValueComponent, ::Ifc4x3_rc1::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -12063,65 +12063,65 @@ void Ifc4x3_rc1::IfcMechanicalFastener::setNominalDiameter(const std::optional< std::optional< double > Ifc4x3_rc1::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value > Ifc4x3_rc1::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[667]); } -void Ifc4x3_rc1::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[667]); } +void Ifc4x3_rc1::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_rc1::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc1::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc1::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc1::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[668]); } -void Ifc4x3_rc1::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[668]); } +void Ifc4x3_rc1::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value > Ifc4x3_rc1::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[670]); } -void Ifc4x3_rc1::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[670]); } +void Ifc4x3_rc1::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value Ifc4x3_rc1::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[671]); } -void Ifc4x3_rc1::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[671]); } +void Ifc4x3_rc1::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value > Ifc4x3_rc1::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMember::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[673]); } -void Ifc4x3_rc1::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[673]); } +void Ifc4x3_rc1::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberStandardCase -const IfcParse::entity& Ifc4x3_rc1::IfcMemberStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[674]); } -void Ifc4x3_rc1::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMemberStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[674]); } +void Ifc4x3_rc1::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x3_rc1::IfcMemberTypeEnum::Value Ifc4x3_rc1::IfcMemberType::PredefinedType() const { return ::Ifc4x3_rc1::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcMemberType::setPredefinedType(const ::Ifc4x3_rc1::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcMemberType::setPredefinedType(const ::Ifc4x3_rc1::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[675]); } -void Ifc4x3_rc1::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[675]); } +void Ifc4x3_rc1::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x3_rc1::IfcBenchmarkEnum::Value Ifc4x3_rc1::IfcMetric::Benchmark() const { return ::Ifc4x3_rc1::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcMetric::setBenchmark(const ::Ifc4x3_rc1::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcMetric::setBenchmark(const ::Ifc4x3_rc1::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_rc1::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x3_rc1::IfcMetricValueSelect Ifc4x3_rc1::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_rc1::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc1::IfcMetricValueSelect>(); } @@ -12130,159 +12130,159 @@ void Ifc4x3_rc1::IfcMetric::setDataValue(const ::Ifc4x3_rc1::IfcMetricValueSelec void Ifc4x3_rc1::IfcMetric::setReferencePath(const ::Ifc4x3_rc1::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc1::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[677]); } -void Ifc4x3_rc1::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc1::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[677]); } +void Ifc4x3_rc1::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc1::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x3_rc1::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[679]); } -void Ifc4x3_rc1::IfcMirroredProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[679]); } +void Ifc4x3_rc1::IfcMirroredProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMobileTelecommunicationsAppliance std::optional< ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3_rc1::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMobileTelecommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[680]); } -void Ifc4x3_rc1::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMobileTelecommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[680]); } +void Ifc4x3_rc1::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMobileTelecommunicationsApplianceType ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[681]); } -void Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[681]); } +void Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMonetaryUnit std::string Ifc4x3_rc1::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc1::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[694]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[694]); } void Ifc4x3_rc1::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMooringDevice std::optional< ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value > Ifc4x3_rc1::IfcMooringDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMooringDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[696]); } -void Ifc4x3_rc1::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMooringDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[696]); } +void Ifc4x3_rc1::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMooringDeviceType ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value Ifc4x3_rc1::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcMooringDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[697]); } -void Ifc4x3_rc1::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMooringDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[697]); } +void Ifc4x3_rc1::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value > Ifc4x3_rc1::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[699]); } -void Ifc4x3_rc1::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[699]); } +void Ifc4x3_rc1::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value Ifc4x3_rc1::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[700]); } -void Ifc4x3_rc1::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[700]); } +void Ifc4x3_rc1::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x3_rc1::IfcDimensionalExponents Ifc4x3_rc1::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcDimensionalExponents>(); } void Ifc4x3_rc1::IfcNamedUnit::setDimensions(const ::Ifc4x3_rc1::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc1::IfcUnitEnum::Value Ifc4x3_rc1::IfcNamedUnit::UnitType() const { return ::Ifc4x3_rc1::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc1::IfcNamedUnit::setUnitType(const ::Ifc4x3_rc1::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc1::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc1::IfcNamedUnit::setUnitType(const ::Ifc4x3_rc1::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc1::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[702]); } -void Ifc4x3_rc1::IfcNamedUnit::initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[702]); } +void Ifc4x3_rc1::IfcNamedUnit::initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcNavigationElement std::optional< ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value > Ifc4x3_rc1::IfcNavigationElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcNavigationElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[703]); } -void Ifc4x3_rc1::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcNavigationElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[703]); } +void Ifc4x3_rc1::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcNavigationElementType ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value Ifc4x3_rc1::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcNavigationElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[704]); } -void Ifc4x3_rc1::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcNavigationElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[704]); } +void Ifc4x3_rc1::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x3_rc1::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc1::IfcRelDefinesByObject> Ifc4x3_rc1::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[943], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelDefinesByObject> Ifc4x3_rc1::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[943], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelDefinesByType> Ifc4x3_rc1::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[946], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelDefinesByProperties> Ifc4x3_rc1::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[944], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelDefinesByObject> Ifc4x3_rc1::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[943], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelDefinesByObject> Ifc4x3_rc1::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[943], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelDefinesByType> Ifc4x3_rc1::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[946], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelDefinesByProperties> Ifc4x3_rc1::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[944], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcObject::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[710]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[710]); } void Ifc4x3_rc1::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x3_rc1::IfcRelAssigns> Ifc4x3_rc1::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[911], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelNests> Ifc4x3_rc1::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[950], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelNests> Ifc4x3_rc1::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[950], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelDeclares> Ifc4x3_rc1::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[940], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelAggregates> Ifc4x3_rc1::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[910], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelAggregates> Ifc4x3_rc1::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[910], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelAssociates> Ifc4x3_rc1::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[919], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelAssigns> Ifc4x3_rc1::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[911], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelNests> Ifc4x3_rc1::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[950], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelNests> Ifc4x3_rc1::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[950], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelDeclares> Ifc4x3_rc1::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[940], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelAggregates> Ifc4x3_rc1::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[910], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelAggregates> Ifc4x3_rc1::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[910], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociates> Ifc4x3_rc1::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[919], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[711]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[711]); } void Ifc4x3_rc1::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement ::Ifc4x3_rc1::IfcObjectPlacement Ifc4x3_rc1::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_rc1::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcObjectPlacement>(); } void Ifc4x3_rc1::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x3_rc1::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc1::IfcProduct> Ifc4x3_rc1::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[814], 5)); } +std::vector<::Ifc4x3_rc1::IfcProduct> Ifc4x3_rc1::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[814], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[714]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[714]); } void Ifc4x3_rc1::IfcObjectPlacement::initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo)); } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x3_rc1::IfcConstraint > > Ifc4x3_rc1::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc1::IfcConstraint>(es); } void Ifc4x3_rc1::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x3_rc1::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc1::IfcLogicalOperatorEnum::Value > Ifc4x3_rc1::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_rc1::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_rc1::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x3_rc1::IfcObjectiveEnum::Value Ifc4x3_rc1::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x3_rc1::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_rc1::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_rc1::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc1::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[712]); } -void Ifc4x3_rc1::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[712]); } +void Ifc4x3_rc1::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x3_rc1::IfcOccupantTypeEnum::Value > Ifc4x3_rc1::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc1::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc1::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc1::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc1::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[717]); } -void Ifc4x3_rc1::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc1::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc1::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[717]); } +void Ifc4x3_rc1::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc1::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc1::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x3_rc1::IfcCurve Ifc4x3_rc1::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcCurve>(); } void Ifc4x3_rc1::IfcOffsetCurve::setBasisCurve(const ::Ifc4x3_rc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[719]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[719]); } void Ifc4x3_rc1::IfcOffsetCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -12292,7 +12292,7 @@ boost::logic::tribool Ifc4x3_rc1::IfcOffsetCurve2D::SelfIntersect() const { boo void Ifc4x3_rc1::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[720]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[720]); } void Ifc4x3_rc1::IfcOffsetCurve2D::initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -12304,7 +12304,7 @@ void Ifc4x3_rc1::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& void Ifc4x3_rc1::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[721]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[721]); } void Ifc4x3_rc1::IfcOffsetCurve3D::initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_rc1::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -12314,7 +12314,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcOffsetCurveByDistances::Tag() const void Ifc4x3_rc1::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[722]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[722]); } void Ifc4x3_rc1::IfcOffsetCurveByDistances::initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc1::IfcDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenCrossProfileDef @@ -12328,29 +12328,29 @@ std::optional< std::vector< std::string > /*[2:?]*/ > Ifc4x3_rc1::IfcOpenCrossPr void Ifc4x3_rc1::IfcOpenCrossProfileDef::setTags(const std::optional< std::vector< std::string > /*[2:?]*/ >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc1::IfcOpenCrossProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[723]); } -void Ifc4x3_rc1::IfcOpenCrossProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOpenCrossProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[723]); } +void Ifc4x3_rc1::IfcOpenCrossProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x3_rc1::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[727]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[727]); } void Ifc4x3_rc1::IfcOpenShell::initialize(std::vector< ::Ifc4x3_rc1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value > Ifc4x3_rc1::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc1::IfcRelFillsElement> Ifc4x3_rc1::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[947], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelFillsElement> Ifc4x3_rc1::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[947], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[724]); } -void Ifc4x3_rc1::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[724]); } +void Ifc4x3_rc1::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOpeningStandardCase -const IfcParse::entity& Ifc4x3_rc1::IfcOpeningStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[726]); } -void Ifc4x3_rc1::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOpeningStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[726]); } +void Ifc4x3_rc1::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x3_rc1::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12364,11 +12364,11 @@ void Ifc4x3_rc1::IfcOrganization::setRoles(const std::optional< std::vector< ::I std::optional< std::vector< ::Ifc4x3_rc1::IfcAddress > > Ifc4x3_rc1::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc1::IfcAddress>(es); } void Ifc4x3_rc1::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x3_rc1::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc1::IfcOrganizationRelationship> Ifc4x3_rc1::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[729], 3)); } -std::vector<::Ifc4x3_rc1::IfcOrganizationRelationship> Ifc4x3_rc1::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[729], 2)); } -std::vector<::Ifc4x3_rc1::IfcPersonAndOrganization> Ifc4x3_rc1::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[750], 1)); } +std::vector<::Ifc4x3_rc1::IfcOrganizationRelationship> Ifc4x3_rc1::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[729], 3)); } +std::vector<::Ifc4x3_rc1::IfcOrganizationRelationship> Ifc4x3_rc1::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[729], 2)); } +std::vector<::Ifc4x3_rc1::IfcPersonAndOrganization> Ifc4x3_rc1::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[750], 1)); } -const IfcParse::entity& Ifc4x3_rc1::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[728]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[728]); } void Ifc4x3_rc1::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_rc1::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -12378,7 +12378,7 @@ std::vector< ::Ifc4x3_rc1::IfcOrganization > Ifc4x3_rc1::IfcOrganizationRelation void Ifc4x3_rc1::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x3_rc1::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[729]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[729]); } void Ifc4x3_rc1::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_rc1::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientationExpression @@ -12388,7 +12388,7 @@ void Ifc4x3_rc1::IfcOrientationExpression::setLateralAxisDirection(const ::Ifc4x void Ifc4x3_rc1::IfcOrientationExpression::setVerticalAxisDirection(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcOrientationExpression::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[730]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOrientationExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[730]); } void Ifc4x3_rc1::IfcOrientationExpression::initialize(::Ifc4x3_rc1::IfcDirection v1_LateralAxisDirection, ::Ifc4x3_rc1::IfcDirection v2_VerticalAxisDirection) { set_attribute_value(0, (v1_LateralAxisDirection));set_attribute_value(1, (v2_VerticalAxisDirection)); } // Function implementations for IfcOrientedEdge @@ -12398,30 +12398,30 @@ bool Ifc4x3_rc1::IfcOrientedEdge::Orientation() const { bool v = get_attribute_ void Ifc4x3_rc1::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[731]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[731]); } void Ifc4x3_rc1::IfcOrientedEdge::initialize(::Ifc4x3_rc1::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x3_rc1::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[732]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[732]); } void Ifc4x3_rc1::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x3_rc1::IfcOutletTypeEnum::Value > Ifc4x3_rc1::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[733]); } -void Ifc4x3_rc1::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[733]); } +void Ifc4x3_rc1::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x3_rc1::IfcOutletTypeEnum::Value Ifc4x3_rc1::IfcOutletType::PredefinedType() const { return ::Ifc4x3_rc1::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcOutletType::setPredefinedType(const ::Ifc4x3_rc1::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcOutletType::setPredefinedType(const ::Ifc4x3_rc1::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[734]); } -void Ifc4x3_rc1::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[734]); } +void Ifc4x3_rc1::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x3_rc1::IfcPersonAndOrganization Ifc4x3_rc1::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcPersonAndOrganization>(); } @@ -12429,9 +12429,9 @@ void Ifc4x3_rc1::IfcOwnerHistory::setOwningUser(const ::Ifc4x3_rc1::IfcPersonAnd ::Ifc4x3_rc1::IfcApplication Ifc4x3_rc1::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc1::IfcApplication>(); } void Ifc4x3_rc1::IfcOwnerHistory::setOwningApplication(const ::Ifc4x3_rc1::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > Ifc4x3_rc1::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc1::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc1::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x3_rc1::IfcChangeActionEnum::Value > Ifc4x3_rc1::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc1::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_rc1::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc1::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_rc1::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_rc1::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc1::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x3_rc1::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_rc1::IfcPersonAndOrganization Ifc4x3_rc1::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc1::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc1::IfcPersonAndOrganization>(); } @@ -12442,23 +12442,23 @@ int Ifc4x3_rc1::IfcOwnerHistory::CreationDate() const { int v = get_attribute_v void Ifc4x3_rc1::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc1::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[736]); } -void Ifc4x3_rc1::IfcOwnerHistory::initialize(::Ifc4x3_rc1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc1::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[736]); } +void Ifc4x3_rc1::IfcOwnerHistory::initialize(::Ifc4x3_rc1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc1::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x3_rc1::IfcAxis2Placement2D Ifc4x3_rc1::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc1::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcAxis2Placement2D>(); } void Ifc4x3_rc1::IfcParameterizedProfileDef::setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[737]); } -void Ifc4x3_rc1::IfcParameterizedProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[737]); } +void Ifc4x3_rc1::IfcParameterizedProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x3_rc1::IfcOrientedEdge > Ifc4x3_rc1::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcOrientedEdge>(es); } void Ifc4x3_rc1::IfcPath::setEdgeList(const std::vector< ::Ifc4x3_rc1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcPath::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[739]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[739]); } void Ifc4x3_rc1::IfcPath::initialize(std::vector< ::Ifc4x3_rc1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPavement @@ -12466,7 +12466,7 @@ std::optional< bool > Ifc4x3_rc1::IfcPavement::Flexible() const { if(get_attribu void Ifc4x3_rc1::IfcPavement::setFlexible(const std::optional< bool >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPavement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[740]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPavement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[740]); } void Ifc4x3_rc1::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< bool > v9_Flexible) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_Flexible) {set_attribute_value(8, (*v9_Flexible)); } } // Function implementations for IfcPavementType @@ -12474,7 +12474,7 @@ bool Ifc4x3_rc1::IfcPavementType::Flexible() const { bool v = get_attribute_val void Ifc4x3_rc1::IfcPavementType::setFlexible(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcPavementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[741]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPavementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[741]); } void Ifc4x3_rc1::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Flexible) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_Flexible)); } // Function implementations for IfcPcurve @@ -12484,24 +12484,24 @@ void Ifc4x3_rc1::IfcPcurve::setBasisSurface(const ::Ifc4x3_rc1::IfcSurface& v) { void Ifc4x3_rc1::IfcPcurve::setReferenceCurve(const ::Ifc4x3_rc1::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[742]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[742]); } void Ifc4x3_rc1::IfcPcurve::initialize(::Ifc4x3_rc1::IfcSurface v1_BasisSurface, ::Ifc4x3_rc1::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x3_rc1::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value > Ifc4x3_rc1::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc1::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[743]); } -void Ifc4x3_rc1::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[743]); } +void Ifc4x3_rc1::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value Ifc4x3_rc1::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc1::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc1::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value Ifc4x3_rc1::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc1::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc1::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_rc1::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -12510,20 +12510,20 @@ void Ifc4x3_rc1::IfcPermeableCoveringProperties::setFrameThickness(const std::op void Ifc4x3_rc1::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x3_rc1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[746]); } -void Ifc4x3_rc1::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::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)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[746]); } +void Ifc4x3_rc1::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x3_rc1::IfcPermitTypeEnum::Value > Ifc4x3_rc1::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc1::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc1::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc1::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc1::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc1::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc1::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[747]); } -void Ifc4x3_rc1::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[747]); } +void Ifc4x3_rc1::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x3_rc1::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12543,9 +12543,9 @@ void Ifc4x3_rc1::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x3_ std::optional< std::vector< ::Ifc4x3_rc1::IfcAddress > > Ifc4x3_rc1::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc1::IfcAddress>(es); } void Ifc4x3_rc1::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x3_rc1::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc1::IfcPersonAndOrganization> Ifc4x3_rc1::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[750], 0)); } +std::vector<::Ifc4x3_rc1::IfcPersonAndOrganization> Ifc4x3_rc1::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[750], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[749]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[749]); } void Ifc4x3_rc1::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_rc1::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -12557,7 +12557,7 @@ std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > > Ifc4x3_rc1::IfcPerson void Ifc4x3_rc1::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[750]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[750]); } void Ifc4x3_rc1::IfcPersonAndOrganization::initialize(::Ifc4x3_rc1::IfcPerson v1_ThePerson, ::Ifc4x3_rc1::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -12571,7 +12571,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcPhysicalComplexQuantity::Usage() con void Ifc4x3_rc1::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[752]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[752]); } void Ifc4x3_rc1::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -12580,10 +12580,10 @@ void Ifc4x3_rc1::IfcPhysicalQuantity::setName(const std::string& v) { set_attrib std::optional< std::string > Ifc4x3_rc1::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -std::vector<::Ifc4x3_rc1::IfcPhysicalComplexQuantity> Ifc4x3_rc1::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[752], 2)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcPhysicalComplexQuantity> Ifc4x3_rc1::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[752], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[754]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[754]); } void Ifc4x3_rc1::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -12591,58 +12591,58 @@ void Ifc4x3_rc1::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optio void Ifc4x3_rc1::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x3_rc1::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[755]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[755]); } void Ifc4x3_rc1::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x3_rc1::IfcPileTypeEnum::Value > Ifc4x3_rc1::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc1::IfcPileConstructionEnum::Value > Ifc4x3_rc1::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_rc1::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc1::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_rc1::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPile::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[756]); } -void Ifc4x3_rc1::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[756]); } +void Ifc4x3_rc1::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x3_rc1::IfcPileTypeEnum::Value Ifc4x3_rc1::IfcPileType::PredefinedType() const { return ::Ifc4x3_rc1::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcPileType::setPredefinedType(const ::Ifc4x3_rc1::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcPileType::setPredefinedType(const ::Ifc4x3_rc1::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[758]); } -void Ifc4x3_rc1::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[758]); } +void Ifc4x3_rc1::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value > Ifc4x3_rc1::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[760]); } -void Ifc4x3_rc1::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[760]); } +void Ifc4x3_rc1::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value Ifc4x3_rc1::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[761]); } -void Ifc4x3_rc1::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[761]); } +void Ifc4x3_rc1::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value > Ifc4x3_rc1::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[763]); } -void Ifc4x3_rc1::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[763]); } +void Ifc4x3_rc1::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value Ifc4x3_rc1::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[764]); } -void Ifc4x3_rc1::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[764]); } +void Ifc4x3_rc1::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x3_rc1::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -12655,7 +12655,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_rc1::IfcPixelTexture::Pi void Ifc4x3_rc1::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[766]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[766]); } void Ifc4x3_rc1::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -12663,7 +12663,7 @@ void Ifc4x3_rc1::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, s void Ifc4x3_rc1::IfcPlacement::setLocation(const ::Ifc4x3_rc1::IfcCartesianPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[767]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[767]); } void Ifc4x3_rc1::IfcPlacement::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -12671,7 +12671,7 @@ void Ifc4x3_rc1::IfcPlacement::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Loc void Ifc4x3_rc1::IfcPlanarBox::setPlacement(const ::Ifc4x3_rc1::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[768]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[768]); } void Ifc4x3_rc1::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_rc1::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -12681,47 +12681,47 @@ double Ifc4x3_rc1::IfcPlanarExtent::SizeInY() const { double v = get_attribute_ void Ifc4x3_rc1::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[769]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[769]); } void Ifc4x3_rc1::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x3_rc1::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[771]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[771]); } void Ifc4x3_rc1::IfcPlane::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlant -const IfcParse::entity& Ifc4x3_rc1::IfcPlant::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[773]); } -void Ifc4x3_rc1::IfcPlant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPlant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[773]); } +void Ifc4x3_rc1::IfcPlant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlate std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value > Ifc4x3_rc1::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[774]); } -void Ifc4x3_rc1::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[774]); } +void Ifc4x3_rc1::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateStandardCase -const IfcParse::entity& Ifc4x3_rc1::IfcPlateStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[775]); } -void Ifc4x3_rc1::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPlateStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[775]); } +void Ifc4x3_rc1::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x3_rc1::IfcPlateTypeEnum::Value Ifc4x3_rc1::IfcPlateType::PredefinedType() const { return ::Ifc4x3_rc1::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcPlateType::setPredefinedType(const ::Ifc4x3_rc1::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcPlateType::setPredefinedType(const ::Ifc4x3_rc1::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[776]); } -void Ifc4x3_rc1::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[776]); } +void Ifc4x3_rc1::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x3_rc1::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[778]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[778]); } void Ifc4x3_rc1::IfcPoint::initialize() { } // Function implementations for IfcPointOnCurve @@ -12731,7 +12731,7 @@ double Ifc4x3_rc1::IfcPointOnCurve::PointParameter() const { double v = get_att void Ifc4x3_rc1::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[779]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[779]); } void Ifc4x3_rc1::IfcPointOnCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -12743,7 +12743,7 @@ double Ifc4x3_rc1::IfcPointOnSurface::PointParameterV() const { double v = get_ void Ifc4x3_rc1::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[780]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[780]); } void Ifc4x3_rc1::IfcPointOnSurface::initialize(::Ifc4x3_rc1::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -12751,7 +12751,7 @@ std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > Ifc4x3_rc1::IfcPolyLoop::Polygon( void Ifc4x3_rc1::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x3_rc1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[785]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[785]); } void Ifc4x3_rc1::IfcPolyLoop::initialize(std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -12761,7 +12761,7 @@ void Ifc4x3_rc1::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x3_rc1::I void Ifc4x3_rc1::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x3_rc1::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[782]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[782]); } void Ifc4x3_rc1::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x3_rc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc1::IfcAxis2Placement3D v3_Position, ::Ifc4x3_rc1::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -12773,7 +12773,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc1::IfcPolygonalFaceSet::P void Ifc4x3_rc1::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[783]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[783]); } void Ifc4x3_rc1::IfcPolygonalFaceSet::initialize(::Ifc4x3_rc1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -12781,24 +12781,24 @@ std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > Ifc4x3_rc1::IfcPolyline::Points() void Ifc4x3_rc1::IfcPolyline::setPoints(const std::vector< ::Ifc4x3_rc1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[784]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[784]); } void Ifc4x3_rc1::IfcPolyline::initialize(std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPort -std::vector<::Ifc4x3_rc1::IfcRelConnectsPortToElement> Ifc4x3_rc1::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[932], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelConnectsPorts> Ifc4x3_rc1::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[931], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelConnectsPorts> Ifc4x3_rc1::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[931], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsPortToElement> Ifc4x3_rc1::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[932], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsPorts> Ifc4x3_rc1::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[931], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsPorts> Ifc4x3_rc1::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[931], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcPort::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[786]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[786]); } void Ifc4x3_rc1::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x3_rc1::IfcRelContainedInSpatialStructure> Ifc4x3_rc1::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[937], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelPositions> Ifc4x3_rc1::IfcPositioningElement::Positions() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[951], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelContainedInSpatialStructure> Ifc4x3_rc1::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[937], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelPositions> Ifc4x3_rc1::IfcPositioningElement::Positions() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[951], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[787]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[787]); } void Ifc4x3_rc1::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -12818,19 +12818,19 @@ std::optional< std::string > Ifc4x3_rc1::IfcPostalAddress::Country() const { if( void Ifc4x3_rc1::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[792]); } -void Ifc4x3_rc1::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[792]); } +void Ifc4x3_rc1::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x3_rc1::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[794]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[794]); } void Ifc4x3_rc1::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_rc1::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[795]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[795]); } void Ifc4x3_rc1::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -12838,31 +12838,31 @@ std::string Ifc4x3_rc1::IfcPreDefinedItem::Name() const { std::string v = get_a void Ifc4x3_rc1::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[796]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[796]); } void Ifc4x3_rc1::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x3_rc1::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[797]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[797]); } void Ifc4x3_rc1::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x3_rc1::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[798]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[798]); } void Ifc4x3_rc1::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x3_rc1::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[799]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[799]); } void Ifc4x3_rc1::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x3_rc1::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[802]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[802]); } void Ifc4x3_rc1::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -12876,7 +12876,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcPresentationLayerAssignment::Identif void Ifc4x3_rc1::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[803]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[803]); } void Ifc4x3_rc1::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -12890,7 +12890,7 @@ std::vector< ::Ifc4x3_rc1::IfcPresentationStyle > Ifc4x3_rc1::IfcPresentationLay void Ifc4x3_rc1::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x3_rc1::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc1::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[804]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[804]); } void Ifc4x3_rc1::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_rc1::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -12898,7 +12898,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcPresentationStyle::Name() const { if void Ifc4x3_rc1::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[805]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[805]); } void Ifc4x3_rc1::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcPresentationStyleAssignment @@ -12906,24 +12906,24 @@ std::vector< ::Ifc4x3_rc1::IfcPresentationStyleSelect > Ifc4x3_rc1::IfcPresentat void Ifc4x3_rc1::IfcPresentationStyleAssignment::setStyles(const std::vector< ::Ifc4x3_rc1::IfcPresentationStyleSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcPresentationStyleAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[806]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPresentationStyleAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[806]); } void Ifc4x3_rc1::IfcPresentationStyleAssignment::initialize(std::vector< ::Ifc4x3_rc1::IfcPresentationStyleSelect > v1_Styles) { set_attribute_value(0, cast_vector(v1_Styles)); } // Function implementations for IfcProcedure std::optional< ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value > Ifc4x3_rc1::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc1::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc1::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[809]); } -void Ifc4x3_rc1::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[809]); } +void Ifc4x3_rc1::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value Ifc4x3_rc1::IfcProcedureType::PredefinedType() const { return ::Ifc4x3_rc1::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcProcedureType::setPredefinedType(const ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcProcedureType::setPredefinedType(const ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[810]); } -void Ifc4x3_rc1::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc1::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[810]); } +void Ifc4x3_rc1::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc1::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x3_rc1::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -12931,11 +12931,11 @@ void Ifc4x3_rc1::IfcProcess::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_rc1::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc1::IfcRelSequence> Ifc4x3_rc1::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[954], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelSequence> Ifc4x3_rc1::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[954], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelAssignsToProcess> Ifc4x3_rc1::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[916], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelSequence> Ifc4x3_rc1::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[954], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelSequence> Ifc4x3_rc1::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[954], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelAssignsToProcess> Ifc4x3_rc1::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[916], 6)); } -const IfcParse::entity& Ifc4x3_rc1::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[812]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[812]); } void Ifc4x3_rc1::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -12944,19 +12944,19 @@ void Ifc4x3_rc1::IfcProduct::setObjectPlacement(const ::Ifc4x3_rc1::IfcObjectPla ::Ifc4x3_rc1::IfcProductRepresentation Ifc4x3_rc1::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc1::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcProductRepresentation>(); } void Ifc4x3_rc1::IfcProduct::setRepresentation(const ::Ifc4x3_rc1::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_rc1::IfcRelAssignsToProduct> Ifc4x3_rc1::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[917], 6)); } -std::vector<::Ifc4x3_rc1::IfcRelPositions> Ifc4x3_rc1::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[951], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelReferencedInSpatialStructure> Ifc4x3_rc1::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[953], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelAssignsToProduct> Ifc4x3_rc1::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[917], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelPositions> Ifc4x3_rc1::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[951], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelReferencedInSpatialStructure> Ifc4x3_rc1::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[953], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[814]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[814]); } void Ifc4x3_rc1::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x3_rc1::IfcProduct> Ifc4x3_rc1::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[814], 6)); } -std::vector<::Ifc4x3_rc1::IfcShapeAspect> Ifc4x3_rc1::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1010], 4)); } +std::vector<::Ifc4x3_rc1::IfcProduct> Ifc4x3_rc1::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[814], 6)); } +std::vector<::Ifc4x3_rc1::IfcShapeAspect> Ifc4x3_rc1::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1010], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[815]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[815]); } void Ifc4x3_rc1::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -12968,52 +12968,52 @@ std::vector< ::Ifc4x3_rc1::IfcRepresentation > Ifc4x3_rc1::IfcProductRepresentat void Ifc4x3_rc1::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x3_rc1::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[816]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[816]); } void Ifc4x3_rc1::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x3_rc1::IfcProfileTypeEnum::Value Ifc4x3_rc1::IfcProfileDef::ProfileType() const { return ::Ifc4x3_rc1::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc1::IfcProfileDef::setProfileType(const ::Ifc4x3_rc1::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc1::IfcProfileDef::setProfileType(const ::Ifc4x3_rc1::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_rc1::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -std::vector<::Ifc4x3_rc1::IfcProfileProperties> Ifc4x3_rc1::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[820], 3)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcProfileProperties> Ifc4x3_rc1::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[820], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[819]); } -void Ifc4x3_rc1::IfcProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[819]); } +void Ifc4x3_rc1::IfcProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x3_rc1::IfcProfileDef Ifc4x3_rc1::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc1::IfcProfileDef>(); } void Ifc4x3_rc1::IfcProfileProperties::setProfileDefinition(const ::Ifc4x3_rc1::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[820]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[820]); } void Ifc4x3_rc1::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcProperty > v3_Properties, ::Ifc4x3_rc1::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x3_rc1::IfcProject::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[822]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[822]); } void Ifc4x3_rc1::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x3_rc1::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[827]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[827]); } void Ifc4x3_rc1::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value > Ifc4x3_rc1::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc1::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc1::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc1::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc1::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc1::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc1::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[828]); } -void Ifc4x3_rc1::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc1::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[828]); } +void Ifc4x3_rc1::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc1::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x3_rc1::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13024,16 +13024,16 @@ void Ifc4x3_rc1::IfcProjectedCRS::setMapZone(const std::optional< std::string >& void Ifc4x3_rc1::IfcProjectedCRS::setMapUnit(const ::Ifc4x3_rc1::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[823]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[823]); } void Ifc4x3_rc1::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_rc1::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value > Ifc4x3_rc1::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[825]); } -void Ifc4x3_rc1::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[825]); } +void Ifc4x3_rc1::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x3_rc1::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -13041,21 +13041,21 @@ void Ifc4x3_rc1::IfcProperty::setName(const std::string& v) { set_attribute_valu std::optional< std::string > Ifc4x3_rc1::IfcProperty::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcProperty::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc1::IfcPropertySet> Ifc4x3_rc1::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[839], 4)); } -std::vector<::Ifc4x3_rc1::IfcPropertyDependencyRelationship> Ifc4x3_rc1::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[834], 2)); } -std::vector<::Ifc4x3_rc1::IfcPropertyDependencyRelationship> Ifc4x3_rc1::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[834], 3)); } -std::vector<::Ifc4x3_rc1::IfcComplexProperty> Ifc4x3_rc1::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[195], 3)); } -std::vector<::Ifc4x3_rc1::IfcResourceConstraintRelationship> Ifc4x3_rc1::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[967], 3)); } -std::vector<::Ifc4x3_rc1::IfcResourceApprovalRelationship> Ifc4x3_rc1::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[966], 2)); } +std::vector<::Ifc4x3_rc1::IfcPropertySet> Ifc4x3_rc1::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[839], 4)); } +std::vector<::Ifc4x3_rc1::IfcPropertyDependencyRelationship> Ifc4x3_rc1::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[834], 2)); } +std::vector<::Ifc4x3_rc1::IfcPropertyDependencyRelationship> Ifc4x3_rc1::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[834], 3)); } +std::vector<::Ifc4x3_rc1::IfcComplexProperty> Ifc4x3_rc1::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[195], 3)); } +std::vector<::Ifc4x3_rc1::IfcResourceConstraintRelationship> Ifc4x3_rc1::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[967], 3)); } +std::vector<::Ifc4x3_rc1::IfcResourceApprovalRelationship> Ifc4x3_rc1::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[966], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[830]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[830]); } void Ifc4x3_rc1::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[831]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[831]); } void Ifc4x3_rc1::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -13069,15 +13069,15 @@ void Ifc4x3_rc1::IfcPropertyBoundedValue::setUnit(const ::Ifc4x3_rc1::IfcUnit& v void Ifc4x3_rc1::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x3_rc1::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[832]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[832]); } void Ifc4x3_rc1::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcValue v3_UpperBoundValue, ::Ifc4x3_rc1::IfcValue v4_LowerBoundValue, ::Ifc4x3_rc1::IfcUnit v5_Unit, ::Ifc4x3_rc1::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x3_rc1::IfcRelDeclares> Ifc4x3_rc1::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[940], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelAssociates> Ifc4x3_rc1::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[919], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelDeclares> Ifc4x3_rc1::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[940], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelAssociates> Ifc4x3_rc1::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[919], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[833]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[833]); } void Ifc4x3_rc1::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -13089,7 +13089,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcPropertyDependencyRelationship::Expr void Ifc4x3_rc1::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[834]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[834]); } void Ifc4x3_rc1::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcProperty v3_DependingProperty, ::Ifc4x3_rc1::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -13099,7 +13099,7 @@ void Ifc4x3_rc1::IfcPropertyEnumeratedValue::setEnumerationValues(const std::opt void Ifc4x3_rc1::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x3_rc1::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[835]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[835]); } void Ifc4x3_rc1::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v3_EnumerationValues, ::Ifc4x3_rc1::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -13111,7 +13111,7 @@ void Ifc4x3_rc1::IfcPropertyEnumeration::setEnumerationValues(const std::vector< void Ifc4x3_rc1::IfcPropertyEnumeration::setUnit(const ::Ifc4x3_rc1::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[836]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[836]); } void Ifc4x3_rc1::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x3_rc1::IfcValue > v2_EnumerationValues, ::Ifc4x3_rc1::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -13121,7 +13121,7 @@ void Ifc4x3_rc1::IfcPropertyListValue::setListValues(const std::optional< std::v void Ifc4x3_rc1::IfcPropertyListValue::setUnit(const ::Ifc4x3_rc1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[837]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[837]); } void Ifc4x3_rc1::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v3_ListValues, ::Ifc4x3_rc1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -13131,7 +13131,7 @@ void Ifc4x3_rc1::IfcPropertyReferenceValue::setUsageName(const std::optional< st void Ifc4x3_rc1::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x3_rc1::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[838]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[838]); } void Ifc4x3_rc1::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x3_rc1::IfcObjectReferenceSelect v4_PropertyReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, (v4_PropertyReference)); } // Function implementations for IfcPropertySet @@ -13139,30 +13139,30 @@ std::vector< ::Ifc4x3_rc1::IfcProperty > Ifc4x3_rc1::IfcPropertySet::HasProperti void Ifc4x3_rc1::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x3_rc1::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[839]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[839]); } void Ifc4x3_rc1::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x3_rc1::IfcTypeObject> Ifc4x3_rc1::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1245], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelDefinesByTemplate> Ifc4x3_rc1::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[945], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelDefinesByProperties> Ifc4x3_rc1::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[944], 5)); } +std::vector<::Ifc4x3_rc1::IfcTypeObject> Ifc4x3_rc1::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1245], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelDefinesByTemplate> Ifc4x3_rc1::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[945], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelDefinesByProperties> Ifc4x3_rc1::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[944], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[840]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[840]); } void Ifc4x3_rc1::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3_rc1::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc1::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_rc1::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc1::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > Ifc4x3_rc1::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc1::IfcPropertyTemplate>(es); } void Ifc4x3_rc1::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_rc1::IfcRelDefinesByTemplate> Ifc4x3_rc1::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[945], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelDefinesByTemplate> Ifc4x3_rc1::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[945], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[843]); } -void Ifc4x3_rc1::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc1::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[843]); } +void Ifc4x3_rc1::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x3_rc1::IfcValue Ifc4x3_rc1::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc1::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcValue>(); } @@ -13171,7 +13171,7 @@ void Ifc4x3_rc1::IfcPropertySingleValue::setNominalValue(const ::Ifc4x3_rc1::Ifc void Ifc4x3_rc1::IfcPropertySingleValue::setUnit(const ::Ifc4x3_rc1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[845]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[845]); } void Ifc4x3_rc1::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcValue v3_NominalValue, ::Ifc4x3_rc1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -13186,83 +13186,83 @@ void Ifc4x3_rc1::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x3_rc1::IfcU ::Ifc4x3_rc1::IfcUnit Ifc4x3_rc1::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcUnit>(); } void Ifc4x3_rc1::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x3_rc1::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc1::IfcCurveInterpolationEnum::Value > Ifc4x3_rc1::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_rc1::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc1::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_rc1::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[846]); } -void Ifc4x3_rc1::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc1::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[846]); } +void Ifc4x3_rc1::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc1::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x3_rc1::IfcComplexPropertyTemplate> Ifc4x3_rc1::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[196], 6)); } -std::vector<::Ifc4x3_rc1::IfcPropertySetTemplate> Ifc4x3_rc1::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[843], 6)); } +std::vector<::Ifc4x3_rc1::IfcComplexPropertyTemplate> Ifc4x3_rc1::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[196], 6)); } +std::vector<::Ifc4x3_rc1::IfcPropertySetTemplate> Ifc4x3_rc1::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[843], 6)); } -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[847]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[847]); } void Ifc4x3_rc1::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x3_rc1::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[848]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[848]); } void Ifc4x3_rc1::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3_rc1::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[849]); } -void Ifc4x3_rc1::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[849]); } +void Ifc4x3_rc1::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[850]); } -void Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[850]); } +void Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[851]); } -void Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[851]); } +void Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_rc1::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[853]); } -void Ifc4x3_rc1::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[853]); } +void Ifc4x3_rc1::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProxy ::Ifc4x3_rc1::IfcObjectTypeEnum::Value Ifc4x3_rc1::IfcProxy::ProxyType() const { return ::Ifc4x3_rc1::IfcObjectTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcProxy::setProxyType(const ::Ifc4x3_rc1::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcProxy::setProxyType(const ::Ifc4x3_rc1::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_rc1::IfcProxy::Tag() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcProxy::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcProxy::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[855]); } -void Ifc4x3_rc1::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[855]); } +void Ifc4x3_rc1::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } // Function implementations for IfcPump std::optional< ::Ifc4x3_rc1::IfcPumpTypeEnum::Value > Ifc4x3_rc1::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcPump::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[856]); } -void Ifc4x3_rc1::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[856]); } +void Ifc4x3_rc1::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x3_rc1::IfcPumpTypeEnum::Value Ifc4x3_rc1::IfcPumpType::PredefinedType() const { return ::Ifc4x3_rc1::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcPumpType::setPredefinedType(const ::Ifc4x3_rc1::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcPumpType::setPredefinedType(const ::Ifc4x3_rc1::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[857]); } -void Ifc4x3_rc1::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[857]); } +void Ifc4x3_rc1::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x3_rc1::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -13271,7 +13271,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcQuantityArea::Formula() const { if(g void Ifc4x3_rc1::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[859]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[859]); } void Ifc4x3_rc1::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -13281,7 +13281,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcQuantityCount::Formula() const { if( void Ifc4x3_rc1::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[860]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[860]); } void Ifc4x3_rc1::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -13291,13 +13291,13 @@ std::optional< std::string > Ifc4x3_rc1::IfcQuantityLength::Formula() const { if void Ifc4x3_rc1::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[861]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[861]); } void Ifc4x3_rc1::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x3_rc1::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[862]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[862]); } void Ifc4x3_rc1::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -13307,7 +13307,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcQuantityTime::Formula() const { if(g void Ifc4x3_rc1::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[863]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[863]); } void Ifc4x3_rc1::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -13317,7 +13317,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcQuantityVolume::Formula() const { if void Ifc4x3_rc1::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[864]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[864]); } void Ifc4x3_rc1::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -13327,94 +13327,94 @@ std::optional< std::string > Ifc4x3_rc1::IfcQuantityWeight::Formula() const { if void Ifc4x3_rc1::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[865]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[865]); } void Ifc4x3_rc1::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRail std::optional< ::Ifc4x3_rc1::IfcRailTypeEnum::Value > Ifc4x3_rc1::IfcRail::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcRailTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRail::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[867]); } -void Ifc4x3_rc1::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRail::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[867]); } +void Ifc4x3_rc1::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailType ::Ifc4x3_rc1::IfcRailTypeEnum::Value Ifc4x3_rc1::IfcRailType::PredefinedType() const { return ::Ifc4x3_rc1::IfcRailTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcRailType::setPredefinedType(const ::Ifc4x3_rc1::IfcRailTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcRailType::setPredefinedType(const ::Ifc4x3_rc1::IfcRailTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcRailType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[871]); } -void Ifc4x3_rc1::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRailType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[871]); } +void Ifc4x3_rc1::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailing std::optional< ::Ifc4x3_rc1::IfcRailingTypeEnum::Value > Ifc4x3_rc1::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[868]); } -void Ifc4x3_rc1::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[868]); } +void Ifc4x3_rc1::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x3_rc1::IfcRailingTypeEnum::Value Ifc4x3_rc1::IfcRailingType::PredefinedType() const { return ::Ifc4x3_rc1::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcRailingType::setPredefinedType(const ::Ifc4x3_rc1::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcRailingType::setPredefinedType(const ::Ifc4x3_rc1::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[869]); } -void Ifc4x3_rc1::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[869]); } +void Ifc4x3_rc1::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailway -const IfcParse::entity& Ifc4x3_rc1::IfcRailway::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[873]); } -void Ifc4x3_rc1::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRailway::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[873]); } +void Ifc4x3_rc1::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcRamp std::optional< ::Ifc4x3_rc1::IfcRampTypeEnum::Value > Ifc4x3_rc1::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[875]); } -void Ifc4x3_rc1::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[875]); } +void Ifc4x3_rc1::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value > Ifc4x3_rc1::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[876]); } -void Ifc4x3_rc1::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[876]); } +void Ifc4x3_rc1::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value Ifc4x3_rc1::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3_rc1::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[877]); } -void Ifc4x3_rc1::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[877]); } +void Ifc4x3_rc1::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x3_rc1::IfcRampTypeEnum::Value Ifc4x3_rc1::IfcRampType::PredefinedType() const { return ::Ifc4x3_rc1::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcRampType::setPredefinedType(const ::Ifc4x3_rc1::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcRampType::setPredefinedType(const ::Ifc4x3_rc1::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[879]); } -void Ifc4x3_rc1::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[879]); } +void Ifc4x3_rc1::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[882]); } -void Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::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_rc1::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[882]); } +void Ifc4x3_rc1::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::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, (enumeration_reference(&::Ifc4x3_rc1::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[883]); } -void Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc1::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_rc1::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[883]); } +void Ifc4x3_rc1::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc1::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, (enumeration_reference(&::Ifc4x3_rc1::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_rc1::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13425,8 +13425,8 @@ std::optional< double > Ifc4x3_rc1::IfcRectangleHollowProfileDef::OuterFilletRad void Ifc4x3_rc1::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[885]); } -void Ifc4x3_rc1::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[885]); } +void Ifc4x3_rc1::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x3_rc1::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -13435,8 +13435,8 @@ double Ifc4x3_rc1::IfcRectangleProfileDef::YDim() const { double v = get_attrib void Ifc4x3_rc1::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[886]); } -void Ifc4x3_rc1::IfcRectangleProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[886]); } +void Ifc4x3_rc1::IfcRectangleProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x3_rc1::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -13447,7 +13447,7 @@ double Ifc4x3_rc1::IfcRectangularPyramid::Height() const { double v = get_attri void Ifc4x3_rc1::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[887]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[887]); } void Ifc4x3_rc1::IfcRectangularPyramid::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -13467,12 +13467,12 @@ bool Ifc4x3_rc1::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_at void Ifc4x3_rc1::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[888]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[888]); } void Ifc4x3_rc1::IfcRectangularTrimmedSurface::initialize(::Ifc4x3_rc1::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value Ifc4x3_rc1::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x3_rc1::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc1::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc1::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc1::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc1::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -13489,8 +13489,8 @@ std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > > Ifc4x3_rc1::IfcRecur void Ifc4x3_rc1::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[889]); } -void Ifc4x3_rc1::IfcRecurrencePattern::initialize(::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[889]); } +void Ifc4x3_rc1::IfcRecurrencePattern::initialize(::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x3_rc1::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -13505,18 +13505,18 @@ void Ifc4x3_rc1::IfcReference::setListPositions(const std::optional< std::vector void Ifc4x3_rc1::IfcReference::setInnerReference(const ::Ifc4x3_rc1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcReference::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[891]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[891]); } void Ifc4x3_rc1::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc1::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x3_rc1::IfcReferentTypeEnum::Value > Ifc4x3_rc1::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc1::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< double > Ifc4x3_rc1::IfcReferent::RestartDistance() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcReferent::setRestartDistance(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[892]); } -void Ifc4x3_rc1::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc1::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[892]); } +void Ifc4x3_rc1::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc1::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } // Function implementations for IfcRegularTimeSeries double Ifc4x3_rc1::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -13525,16 +13525,16 @@ std::vector< ::Ifc4x3_rc1::IfcTimeSeriesValue > Ifc4x3_rc1::IfcRegularTimeSeries void Ifc4x3_rc1::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x3_rc1::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[895]); } -void Ifc4x3_rc1::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc1::IfcTimeSeriesValue > v10_Values) { 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_rc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[895]); } +void Ifc4x3_rc1::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc1::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcedSoil std::optional< ::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value > Ifc4x3_rc1::IfcReinforcedSoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcReinforcedSoil::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[896]); } -void Ifc4x3_rc1::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReinforcedSoil::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[896]); } +void Ifc4x3_rc1::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcReinforcementBarProperties double Ifc4x3_rc1::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -13542,7 +13542,7 @@ void Ifc4x3_rc1::IfcReinforcementBarProperties::setTotalCrossSectionArea(const d std::string Ifc4x3_rc1::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc1::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc1::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc1::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x3_rc1::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_rc1::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x3_rc1::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -13551,8 +13551,8 @@ std::optional< double > Ifc4x3_rc1::IfcReinforcementBarProperties::BarCount() co void Ifc4x3_rc1::IfcReinforcementBarProperties::setBarCount(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc1::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[898]); } -void Ifc4x3_rc1::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[898]); } +void Ifc4x3_rc1::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x3_rc1::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13561,7 +13561,7 @@ std::vector< ::Ifc4x3_rc1::IfcSectionReinforcementProperties > Ifc4x3_rc1::IfcRe void Ifc4x3_rc1::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_rc1::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[899]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[899]); } void Ifc4x3_rc1::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_rc1::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -13572,17 +13572,17 @@ void Ifc4x3_rc1::IfcReinforcingBar::setCrossSectionArea(const std::optional< dou std::optional< double > Ifc4x3_rc1::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc1::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value > Ifc4x3_rc1::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc1::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc1::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc1::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc1::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc1::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc1::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[900]); } -void Ifc4x3_rc1::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[900]); } +void Ifc4x3_rc1::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value Ifc4x3_rc1::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc1::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc1::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13590,28 +13590,28 @@ void Ifc4x3_rc1::IfcReinforcingBarType::setCrossSectionArea(const std::optional< std::optional< double > Ifc4x3_rc1::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x3_rc1::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc1::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc1::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc1::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x3_rc1::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_rc1::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > Ifc4x3_rc1::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x3_rc1::IfcBendingParameterSelect>(es); } void Ifc4x3_rc1::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_rc1::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[903]); } -void Ifc4x3_rc1::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::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_rc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[903]); } +void Ifc4x3_rc1::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::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, (enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x3_rc1::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[905]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[905]); } void Ifc4x3_rc1::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x3_rc1::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[906]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[906]); } void Ifc4x3_rc1::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -13632,15 +13632,15 @@ void Ifc4x3_rc1::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::option std::optional< double > Ifc4x3_rc1::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x3_rc1::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value > Ifc4x3_rc1::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x3_rc1::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x3_rc1::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_rc1::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[907]); } -void Ifc4x3_rc1::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[907]); } +void Ifc4x3_rc1::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value Ifc4x3_rc1::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc1::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc1::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13663,8 +13663,8 @@ std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > Ifc4x3_r void Ifc4x3_rc1::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_rc1::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[908]); } -void Ifc4x3_rc1::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[908]); } +void Ifc4x3_rc1::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAggregates ::Ifc4x3_rc1::IfcObjectDefinition Ifc4x3_rc1::IfcRelAggregates::RelatingObject() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcObjectDefinition>(); } @@ -13673,18 +13673,18 @@ std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > Ifc4x3_rc1::IfcRelAggregates::R void Ifc4x3_rc1::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x3_rc1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[910]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[910]); } void Ifc4x3_rc1::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > Ifc4x3_rc1::IfcRelAssigns::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc1::IfcObjectDefinition>(es); } void Ifc4x3_rc1::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc4x3_rc1::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > Ifc4x3_rc1::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcObjectTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc1::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[911]); } -void Ifc4x3_rc1::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[911]); } +void Ifc4x3_rc1::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } // Function implementations for IfcRelAssignsToActor ::Ifc4x3_rc1::IfcActor Ifc4x3_rc1::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcActor>(); } @@ -13693,32 +13693,32 @@ void Ifc4x3_rc1::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x3_rc1::IfcA void Ifc4x3_rc1::IfcRelAssignsToActor::setActingRole(const ::Ifc4x3_rc1::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[912]); } -void Ifc4x3_rc1::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcActor v7_RelatingActor, ::Ifc4x3_rc1::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[912]); } +void Ifc4x3_rc1::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcActor v7_RelatingActor, ::Ifc4x3_rc1::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl ::Ifc4x3_rc1::IfcControl Ifc4x3_rc1::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcControl>(); } void Ifc4x3_rc1::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x3_rc1::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[913]); } -void Ifc4x3_rc1::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[913]); } +void Ifc4x3_rc1::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup ::Ifc4x3_rc1::IfcGroup Ifc4x3_rc1::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcGroup>(); } void Ifc4x3_rc1::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x3_rc1::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[914]); } -void Ifc4x3_rc1::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[914]); } +void Ifc4x3_rc1::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor double Ifc4x3_rc1::IfcRelAssignsToGroupByFactor::Factor() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[915]); } -void Ifc4x3_rc1::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[915]); } +void Ifc4x3_rc1::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess ::Ifc4x3_rc1::IfcProcessSelect Ifc4x3_rc1::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcProcessSelect>(); } @@ -13727,31 +13727,31 @@ void Ifc4x3_rc1::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x3_rc1:: void Ifc4x3_rc1::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x3_rc1::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[916]); } -void Ifc4x3_rc1::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc1::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[916]); } +void Ifc4x3_rc1::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc1::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct ::Ifc4x3_rc1::IfcProductSelect Ifc4x3_rc1::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcProductSelect>(); } void Ifc4x3_rc1::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x3_rc1::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[917]); } -void Ifc4x3_rc1::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[917]); } +void Ifc4x3_rc1::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource ::Ifc4x3_rc1::IfcResourceSelect Ifc4x3_rc1::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcResourceSelect>(); } void Ifc4x3_rc1::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x3_rc1::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[918]); } -void Ifc4x3_rc1::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[918]); } +void Ifc4x3_rc1::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > Ifc4x3_rc1::IfcRelAssociates::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc1::IfcDefinitionSelect>(es); } void Ifc4x3_rc1::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[919]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[919]); } void Ifc4x3_rc1::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -13759,7 +13759,7 @@ void Ifc4x3_rc1::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_ void Ifc4x3_rc1::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x3_rc1::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[920]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[920]); } void Ifc4x3_rc1::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -13767,7 +13767,7 @@ void Ifc4x3_rc1::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, : void Ifc4x3_rc1::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x3_rc1::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[921]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[921]); } void Ifc4x3_rc1::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -13777,7 +13777,7 @@ void Ifc4x3_rc1::IfcRelAssociatesConstraint::setIntent(const std::optional< std: void Ifc4x3_rc1::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x3_rc1::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[922]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[922]); } void Ifc4x3_rc1::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_rc1::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -13785,7 +13785,7 @@ void Ifc4x3_rc1::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, void Ifc4x3_rc1::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x3_rc1::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[923]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[923]); } void Ifc4x3_rc1::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -13793,7 +13793,7 @@ void Ifc4x3_rc1::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, : void Ifc4x3_rc1::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x3_rc1::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[924]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[924]); } void Ifc4x3_rc1::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -13801,7 +13801,7 @@ void Ifc4x3_rc1::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, :: void Ifc4x3_rc1::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x3_rc1::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[925]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[925]); } void Ifc4x3_rc1::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelAssociatesProfileDef @@ -13809,13 +13809,13 @@ void Ifc4x3_rc1::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, : void Ifc4x3_rc1::IfcRelAssociatesProfileDef::setRelatingProfileDef(const ::Ifc4x3_rc1::IfcProfileDef& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelAssociatesProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[926]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelAssociatesProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[926]); } void Ifc4x3_rc1::IfcRelAssociatesProfileDef::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcProfileDef v6_RelatingProfileDef) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileDef)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x3_rc1::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[928]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[928]); } void Ifc4x3_rc1::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -13827,7 +13827,7 @@ void Ifc4x3_rc1::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x3_rc1:: void Ifc4x3_rc1::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x3_rc1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[929]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[929]); } void Ifc4x3_rc1::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc1::IfcElement v6_RelatingElement, ::Ifc4x3_rc1::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -13836,13 +13836,13 @@ void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatingPriorities(const std::ve std::vector< int > /*[0:?]*/ Ifc4x3_rc1::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value Ifc4x3_rc1::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x3_rc1::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value Ifc4x3_rc1::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x3_rc1::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[930]); } -void Ifc4x3_rc1::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc1::IfcElement v6_RelatingElement, ::Ifc4x3_rc1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[930]); } +void Ifc4x3_rc1::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc1::IfcElement v6_RelatingElement, ::Ifc4x3_rc1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_rc1::IfcPort Ifc4x3_rc1::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcPort>(); } @@ -13851,7 +13851,7 @@ void Ifc4x3_rc1::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x3_rc1 void Ifc4x3_rc1::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x3_rc1::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[932]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[932]); } void Ifc4x3_rc1::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcPort v5_RelatingPort, ::Ifc4x3_rc1::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -13863,7 +13863,7 @@ void Ifc4x3_rc1::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x3_rc1::IfcPort void Ifc4x3_rc1::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x3_rc1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[931]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[931]); } void Ifc4x3_rc1::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcPort v5_RelatingPort, ::Ifc4x3_rc1::IfcPort v6_RelatedPort, ::Ifc4x3_rc1::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -13873,7 +13873,7 @@ void Ifc4x3_rc1::IfcRelConnectsStructuralActivity::setRelatingElement(const ::If void Ifc4x3_rc1::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x3_rc1::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[933]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[933]); } void Ifc4x3_rc1::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_rc1::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -13891,7 +13891,7 @@ void Ifc4x3_rc1::IfcRelConnectsStructuralMember::setSupportedLength(const std::o void Ifc4x3_rc1::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[934]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[934]); } void Ifc4x3_rc1::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -13899,7 +13899,7 @@ void Ifc4x3_rc1::IfcRelConnectsStructuralMember::initialize(std::string v1_Globa void Ifc4x3_rc1::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x3_rc1::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[935]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[935]); } void Ifc4x3_rc1::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_rc1::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -13909,7 +13909,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcRelConnectsWithRealizingElements::Co void Ifc4x3_rc1::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[936]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[936]); } void Ifc4x3_rc1::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc1::IfcElement v6_RelatingElement, ::Ifc4x3_rc1::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_rc1::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -13919,7 +13919,7 @@ void Ifc4x3_rc1::IfcRelContainedInSpatialStructure::setRelatedElements(const std void Ifc4x3_rc1::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_rc1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[937]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[937]); } void Ifc4x3_rc1::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcProduct > v5_RelatedElements, ::Ifc4x3_rc1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -13929,7 +13929,7 @@ std::vector< ::Ifc4x3_rc1::IfcCovering > Ifc4x3_rc1::IfcRelCoversBldgElements::R void Ifc4x3_rc1::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x3_rc1::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[938]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[938]); } void Ifc4x3_rc1::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_rc1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -13939,7 +13939,7 @@ std::vector< ::Ifc4x3_rc1::IfcCovering > Ifc4x3_rc1::IfcRelCoversSpaces::Related void Ifc4x3_rc1::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x3_rc1::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[939]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[939]); } void Ifc4x3_rc1::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_rc1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -13949,19 +13949,19 @@ std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > Ifc4x3_rc1::IfcRelDeclares::Rel void Ifc4x3_rc1::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[940]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[940]); } void Ifc4x3_rc1::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x3_rc1::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[941]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[941]); } void Ifc4x3_rc1::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x3_rc1::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[942]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[942]); } void Ifc4x3_rc1::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -13971,7 +13971,7 @@ void Ifc4x3_rc1::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::I void Ifc4x3_rc1::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x3_rc1::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[943]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[943]); } void Ifc4x3_rc1::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc1::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -13981,7 +13981,7 @@ void Ifc4x3_rc1::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< void Ifc4x3_rc1::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x3_rc1::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[944]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[944]); } void Ifc4x3_rc1::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_rc1::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -13991,7 +13991,7 @@ void Ifc4x3_rc1::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vect void Ifc4x3_rc1::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x3_rc1::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[945]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[945]); } void Ifc4x3_rc1::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_rc1::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -14001,7 +14001,7 @@ void Ifc4x3_rc1::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc void Ifc4x3_rc1::IfcRelDefinesByType::setRelatingType(const ::Ifc4x3_rc1::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[946]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[946]); } void Ifc4x3_rc1::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc1::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -14011,7 +14011,7 @@ void Ifc4x3_rc1::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x3_rc void Ifc4x3_rc1::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x3_rc1::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[947]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[947]); } void Ifc4x3_rc1::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -14021,7 +14021,7 @@ void Ifc4x3_rc1::IfcRelFlowControlElements::setRelatedControlElements(const std: void Ifc4x3_rc1::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x3_rc1::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[948]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[948]); } void Ifc4x3_rc1::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_rc1::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -14037,7 +14037,7 @@ boost::logic::tribool Ifc4x3_rc1::IfcRelInterferesElements::ImpliedOrder() const void Ifc4x3_rc1::IfcRelInterferesElements::setImpliedOrder(const boost::logic::tribool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[949]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[949]); } void Ifc4x3_rc1::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_rc1::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder)); } // Function implementations for IfcRelNests @@ -14047,7 +14047,7 @@ std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > Ifc4x3_rc1::IfcRelNests::Relate void Ifc4x3_rc1::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x3_rc1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[950]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[950]); } void Ifc4x3_rc1::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelPositions @@ -14057,7 +14057,7 @@ std::vector< ::Ifc4x3_rc1::IfcProduct > Ifc4x3_rc1::IfcRelPositions::RelatedProd void Ifc4x3_rc1::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x3_rc1::IfcProduct >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[951]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[951]); } void Ifc4x3_rc1::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_rc1::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector(v6_RelatedProducts)); } // Function implementations for IfcRelProjectsElement @@ -14067,7 +14067,7 @@ void Ifc4x3_rc1::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x3_rc1::I void Ifc4x3_rc1::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x3_rc1::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[952]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[952]); } void Ifc4x3_rc1::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcElement v5_RelatingElement, ::Ifc4x3_rc1::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -14077,7 +14077,7 @@ void Ifc4x3_rc1::IfcRelReferencedInSpatialStructure::setRelatedElements(const st void Ifc4x3_rc1::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_rc1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[953]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[953]); } void Ifc4x3_rc1::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_rc1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -14088,13 +14088,13 @@ void Ifc4x3_rc1::IfcRelSequence::setRelatedProcess(const ::Ifc4x3_rc1::IfcProces ::Ifc4x3_rc1::IfcLagTime Ifc4x3_rc1::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc1::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcLagTime>(); } void Ifc4x3_rc1::IfcRelSequence::setTimeLag(const ::Ifc4x3_rc1::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc1::IfcSequenceEnum::Value > Ifc4x3_rc1::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_rc1::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc1::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_rc1::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc1::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[954]); } -void Ifc4x3_rc1::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc1::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[954]); } +void Ifc4x3_rc1::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc1::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x3_rc1::IfcSystem Ifc4x3_rc1::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcSystem>(); } @@ -14103,7 +14103,7 @@ std::vector< ::Ifc4x3_rc1::IfcSpatialElement > Ifc4x3_rc1::IfcRelServicesBuildin void Ifc4x3_rc1::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x3_rc1::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[955]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[955]); } void Ifc4x3_rc1::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_rc1::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -14114,31 +14114,31 @@ void Ifc4x3_rc1::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x3_r ::Ifc4x3_rc1::IfcConnectionGeometry Ifc4x3_rc1::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc1::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcConnectionGeometry>(); } void Ifc4x3_rc1::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x3_rc1::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value Ifc4x3_rc1::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value Ifc4x3_rc1::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x3_rc1::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc1::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[956]); } -void Ifc4x3_rc1::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[956]); } +void Ifc4x3_rc1::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel> Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[957], 9)); } +std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel> Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[957], 9)); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[957]); } -void Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[957]); } +void Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel> Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[958], 10)); } +std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel> Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[958], 10)); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[958]); } -void Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[958]); } +void Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x3_rc1::IfcElement Ifc4x3_rc1::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcElement>(); } @@ -14147,13 +14147,13 @@ void Ifc4x3_rc1::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x3_r void Ifc4x3_rc1::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x3_rc1::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[959]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[959]); } void Ifc4x3_rc1::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_rc1::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x3_rc1::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[927]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[927]); } void Ifc4x3_rc1::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -14161,8 +14161,8 @@ double Ifc4x3_rc1::IfcReparametrisedCompositeCurveSegment::ParamLength() const { void Ifc4x3_rc1::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[960]); } -void Ifc4x3_rc1::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_rc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc1::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[960]); } +void Ifc4x3_rc1::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_rc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc1::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x3_rc1::IfcRepresentationContext Ifc4x3_rc1::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcRepresentationContext>(); } @@ -14174,11 +14174,11 @@ void Ifc4x3_rc1::IfcRepresentation::setRepresentationType(const std::optional< s std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > Ifc4x3_rc1::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_rc1::IfcRepresentationItem>(es); } void Ifc4x3_rc1::IfcRepresentation::setItems(const std::vector< ::Ifc4x3_rc1::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_rc1::IfcRepresentationMap> Ifc4x3_rc1::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[964], 1)); } -std::vector<::Ifc4x3_rc1::IfcPresentationLayerAssignment> Ifc4x3_rc1::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[803], 2)); } -std::vector<::Ifc4x3_rc1::IfcProductRepresentation> Ifc4x3_rc1::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[816], 2)); } +std::vector<::Ifc4x3_rc1::IfcRepresentationMap> Ifc4x3_rc1::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[964], 1)); } +std::vector<::Ifc4x3_rc1::IfcPresentationLayerAssignment> Ifc4x3_rc1::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[803], 2)); } +std::vector<::Ifc4x3_rc1::IfcProductRepresentation> Ifc4x3_rc1::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[816], 2)); } -const IfcParse::entity& Ifc4x3_rc1::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[961]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[961]); } void Ifc4x3_rc1::IfcRepresentation::initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -14187,17 +14187,17 @@ void Ifc4x3_rc1::IfcRepresentationContext::setContextIdentifier(const std::optio std::optional< std::string > Ifc4x3_rc1::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc1::IfcRepresentation> Ifc4x3_rc1::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[961], 0)); } +std::vector<::Ifc4x3_rc1::IfcRepresentation> Ifc4x3_rc1::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[961], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[962]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[962]); } void Ifc4x3_rc1::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x3_rc1::IfcPresentationLayerAssignment> Ifc4x3_rc1::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[803], 2)); } -std::vector<::Ifc4x3_rc1::IfcStyledItem> Ifc4x3_rc1::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1122], 0)); } +std::vector<::Ifc4x3_rc1::IfcPresentationLayerAssignment> Ifc4x3_rc1::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[803], 2)); } +std::vector<::Ifc4x3_rc1::IfcStyledItem> Ifc4x3_rc1::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1122], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[963]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[963]); } void Ifc4x3_rc1::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -14206,10 +14206,10 @@ void Ifc4x3_rc1::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x3_rc1::IfcA ::Ifc4x3_rc1::IfcRepresentation Ifc4x3_rc1::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc1::IfcRepresentation>(); } void Ifc4x3_rc1::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x3_rc1::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_rc1::IfcShapeAspect> Ifc4x3_rc1::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1010], 4)); } -std::vector<::Ifc4x3_rc1::IfcMappedItem> Ifc4x3_rc1::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[637], 0)); } +std::vector<::Ifc4x3_rc1::IfcShapeAspect> Ifc4x3_rc1::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1010], 4)); } +std::vector<::Ifc4x3_rc1::IfcMappedItem> Ifc4x3_rc1::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[637], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[964]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[964]); } void Ifc4x3_rc1::IfcRepresentationMap::initialize(::Ifc4x3_rc1::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_rc1::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -14218,9 +14218,9 @@ void Ifc4x3_rc1::IfcResource::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_rc1::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc1::IfcRelAssignsToResource> Ifc4x3_rc1::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[918], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelAssignsToResource> Ifc4x3_rc1::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[918], 6)); } -const IfcParse::entity& Ifc4x3_rc1::IfcResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[965]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[965]); } void Ifc4x3_rc1::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -14230,7 +14230,7 @@ void Ifc4x3_rc1::IfcResourceApprovalRelationship::setRelatedResourceObjects(cons void Ifc4x3_rc1::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x3_rc1::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[966]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[966]); } void Ifc4x3_rc1::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_rc1::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -14240,7 +14240,7 @@ std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > Ifc4x3_rc1::IfcResourceCons void Ifc4x3_rc1::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[967]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[967]); } void Ifc4x3_rc1::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -14250,7 +14250,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcResourceLevelRelationship::Descripti void Ifc4x3_rc1::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc1::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[968]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[968]); } void Ifc4x3_rc1::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -14286,8 +14286,8 @@ std::optional< double > Ifc4x3_rc1::IfcResourceTime::Completion() const { if(get void Ifc4x3_rc1::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_rc1::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[971]); } -void Ifc4x3_rc1::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[971]); } +void Ifc4x3_rc1::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x3_rc1::IfcAxis1Placement Ifc4x3_rc1::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcAxis1Placement>(); } @@ -14296,7 +14296,7 @@ double Ifc4x3_rc1::IfcRevolvedAreaSolid::Angle() const { double v = get_attribu void Ifc4x3_rc1::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[972]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[972]); } void Ifc4x3_rc1::IfcRevolvedAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -14304,7 +14304,7 @@ void Ifc4x3_rc1::IfcRevolvedAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1 void Ifc4x3_rc1::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_rc1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[973]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[973]); } void Ifc4x3_rc1::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_rc1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -14314,7 +14314,7 @@ double Ifc4x3_rc1::IfcRightCircularCone::BottomRadius() const { double v = get_ void Ifc4x3_rc1::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[974]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[974]); } void Ifc4x3_rc1::IfcRightCircularCone::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -14324,30 +14324,30 @@ double Ifc4x3_rc1::IfcRightCircularCylinder::Radius() const { double v = get_at void Ifc4x3_rc1::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[975]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[975]); } void Ifc4x3_rc1::IfcRightCircularCylinder::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoad -const IfcParse::entity& Ifc4x3_rc1::IfcRoad::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[976]); } -void Ifc4x3_rc1::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRoad::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[976]); } +void Ifc4x3_rc1::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcRoof std::optional< ::Ifc4x3_rc1::IfcRoofTypeEnum::Value > Ifc4x3_rc1::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[979]); } -void Ifc4x3_rc1::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[979]); } +void Ifc4x3_rc1::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x3_rc1::IfcRoofTypeEnum::Value Ifc4x3_rc1::IfcRoofType::PredefinedType() const { return ::Ifc4x3_rc1::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcRoofType::setPredefinedType(const ::Ifc4x3_rc1::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcRoofType::setPredefinedType(const ::Ifc4x3_rc1::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[980]); } -void Ifc4x3_rc1::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[980]); } +void Ifc4x3_rc1::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x3_rc1::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -14360,7 +14360,7 @@ std::optional< std::string > Ifc4x3_rc1::IfcRoot::Description() const { if(get_a void Ifc4x3_rc1::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[982]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[982]); } void Ifc4x3_rc1::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -14368,64 +14368,64 @@ double Ifc4x3_rc1::IfcRoundedRectangleProfileDef::RoundingRadius() const { doub void Ifc4x3_rc1::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[987]); } -void Ifc4x3_rc1::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[987]); } +void Ifc4x3_rc1::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x3_rc1::IfcSIPrefix::Value > Ifc4x3_rc1::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x3_rc1::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_rc1::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc1::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc1::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_rc1::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc1::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x3_rc1::IfcSIUnitName::Value Ifc4x3_rc1::IfcSIUnit::Name() const { return ::Ifc4x3_rc1::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x3_rc1::IfcSIUnit::setName(const ::Ifc4x3_rc1::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc1::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc1::IfcSIUnit::setName(const ::Ifc4x3_rc1::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc1::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1028]); } -void Ifc4x3_rc1::IfcSIUnit::initialize(::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc1::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc1::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1028]); } +void Ifc4x3_rc1::IfcSIUnit::initialize(::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc1::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc1::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3_rc1::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[988]); } -void Ifc4x3_rc1::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[988]); } +void Ifc4x3_rc1::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_rc1::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[989]); } -void Ifc4x3_rc1::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[989]); } +void Ifc4x3_rc1::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x3_rc1::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc1::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > Ifc4x3_rc1::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc1::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x3_rc1::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc1::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[991]); } -void Ifc4x3_rc1::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[991]); } +void Ifc4x3_rc1::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x3_rc1::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[992]); } -void Ifc4x3_rc1::IfcSeamCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[992]); } +void Ifc4x3_rc1::IfcSeamCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSectionProperties ::Ifc4x3_rc1::IfcSectionTypeEnum::Value Ifc4x3_rc1::IfcSectionProperties::SectionType() const { return ::Ifc4x3_rc1::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc1::IfcSectionProperties::setSectionType(const ::Ifc4x3_rc1::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc1::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc1::IfcSectionProperties::setSectionType(const ::Ifc4x3_rc1::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc1::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc1::IfcProfileDef Ifc4x3_rc1::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc1::IfcProfileDef>(); } void Ifc4x3_rc1::IfcSectionProperties::setStartProfile(const ::Ifc4x3_rc1::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc1::IfcProfileDef Ifc4x3_rc1::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc1::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcProfileDef>(); } void Ifc4x3_rc1::IfcSectionProperties::setEndProfile(const ::Ifc4x3_rc1::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[999]); } -void Ifc4x3_rc1::IfcSectionProperties::initialize(::Ifc4x3_rc1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc1::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc1::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[999]); } +void Ifc4x3_rc1::IfcSectionProperties::initialize(::Ifc4x3_rc1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc1::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc1::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x3_rc1::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -14435,15 +14435,15 @@ void Ifc4x3_rc1::IfcSectionReinforcementProperties::setLongitudinalEndPosition(c std::optional< double > Ifc4x3_rc1::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_rc1::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value Ifc4x3_rc1::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc1::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc1::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc1::IfcSectionProperties Ifc4x3_rc1::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcSectionProperties>(); } void Ifc4x3_rc1::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x3_rc1::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x3_rc1::IfcReinforcementBarProperties > Ifc4x3_rc1::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_rc1::IfcReinforcementBarProperties>(es); } void Ifc4x3_rc1::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_rc1::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1000]); } -void Ifc4x3_rc1::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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_rc1::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1000]); } +void Ifc4x3_rc1::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x3_rc1::IfcCurve Ifc4x3_rc1::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcCurve>(); } @@ -14452,7 +14452,7 @@ std::vector< ::Ifc4x3_rc1::IfcProfileDef > Ifc4x3_rc1::IfcSectionedSolid::CrossS void Ifc4x3_rc1::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x3_rc1::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[994]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[994]); } void Ifc4x3_rc1::IfcSectionedSolid::initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -14462,7 +14462,7 @@ bool Ifc4x3_rc1::IfcSectionedSolidHorizontal::FixedAxisVertical() const { bool void Ifc4x3_rc1::IfcSectionedSolidHorizontal::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[995]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[995]); } void Ifc4x3_rc1::IfcSectionedSolidHorizontal::initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc1::IfcDistanceExpression > v3_CrossSectionPositions, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSectionedSpine @@ -14474,7 +14474,7 @@ std::vector< ::Ifc4x3_rc1::IfcAxis2Placement3D > Ifc4x3_rc1::IfcSectionedSpine:: void Ifc4x3_rc1::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x3_rc1::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[996]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[996]); } void Ifc4x3_rc1::IfcSectionedSpine::initialize(::Ifc4x3_rc1::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc1::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSurface @@ -14488,40 +14488,40 @@ bool Ifc4x3_rc1::IfcSectionedSurface::FixedAxisVertical() const { bool v = get_ void Ifc4x3_rc1::IfcSectionedSurface::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcSectionedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[997]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSectionedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[997]); } void Ifc4x3_rc1::IfcSectionedSurface::initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc1::IfcDistanceExpression > v2_CrossSectionPositions, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v3_CrossSections, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSectionPositions));set_attribute_value(2, cast_vector(v3_CrossSections));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSensor std::optional< ::Ifc4x3_rc1::IfcSensorTypeEnum::Value > Ifc4x3_rc1::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1003]); } -void Ifc4x3_rc1::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1003]); } +void Ifc4x3_rc1::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x3_rc1::IfcSensorTypeEnum::Value Ifc4x3_rc1::IfcSensorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSensorType::setPredefinedType(const ::Ifc4x3_rc1::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSensorType::setPredefinedType(const ::Ifc4x3_rc1::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1004]); } -void Ifc4x3_rc1::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1004]); } +void Ifc4x3_rc1::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value > Ifc4x3_rc1::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1007]); } -void Ifc4x3_rc1::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1007]); } +void Ifc4x3_rc1::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value Ifc4x3_rc1::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1008]); } -void Ifc4x3_rc1::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1008]); } +void Ifc4x3_rc1::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x3_rc1::IfcShapeModel > Ifc4x3_rc1::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcShapeModel>(es); } @@ -14535,22 +14535,22 @@ void Ifc4x3_rc1::IfcShapeAspect::setProductDefinitional(const boost::logic::trib ::Ifc4x3_rc1::IfcProductRepresentationSelect Ifc4x3_rc1::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc1::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc1::IfcProductRepresentationSelect>(); } void Ifc4x3_rc1::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x3_rc1::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1010]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1010]); } void Ifc4x3_rc1::IfcShapeAspect::initialize(std::vector< ::Ifc4x3_rc1::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_rc1::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x3_rc1::IfcShapeAspect> Ifc4x3_rc1::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1010], 0)); } +std::vector<::Ifc4x3_rc1::IfcShapeAspect> Ifc4x3_rc1::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1010], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1011]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1011]); } void Ifc4x3_rc1::IfcShapeModel::initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x3_rc1::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1012]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1012]); } void Ifc4x3_rc1::IfcShapeRepresentation::initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -14558,50 +14558,50 @@ std::vector< ::Ifc4x3_rc1::IfcShell > Ifc4x3_rc1::IfcShellBasedSurfaceModel::Sbs void Ifc4x3_rc1::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x3_rc1::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1015]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1015]); } void Ifc4x3_rc1::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_rc1::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSign std::optional< ::Ifc4x3_rc1::IfcSignTypeEnum::Value > Ifc4x3_rc1::IfcSign::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSignTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSign::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1016]); } -void Ifc4x3_rc1::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSign::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1016]); } +void Ifc4x3_rc1::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignType ::Ifc4x3_rc1::IfcSignTypeEnum::Value Ifc4x3_rc1::IfcSignType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSignTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSignType::setPredefinedType(const ::Ifc4x3_rc1::IfcSignTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSignType::setPredefinedType(const ::Ifc4x3_rc1::IfcSignTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcSignType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1020]); } -void Ifc4x3_rc1::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSignType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1020]); } +void Ifc4x3_rc1::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSignal std::optional< ::Ifc4x3_rc1::IfcSignalTypeEnum::Value > Ifc4x3_rc1::IfcSignal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSignalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSignal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1017]); } -void Ifc4x3_rc1::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSignal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1017]); } +void Ifc4x3_rc1::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignalType ::Ifc4x3_rc1::IfcSignalTypeEnum::Value Ifc4x3_rc1::IfcSignalType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSignalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSignalType::setPredefinedType(const ::Ifc4x3_rc1::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSignalType::setPredefinedType(const ::Ifc4x3_rc1::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcSignalType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1018]); } -void Ifc4x3_rc1::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSignalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1018]); } +void Ifc4x3_rc1::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x3_rc1::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1022]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1022]); } void Ifc4x3_rc1::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3_rc1::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc1::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_rc1::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc1::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc1::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -14615,11 +14615,11 @@ void Ifc4x3_rc1::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x3_rc1: std::optional< std::string > Ifc4x3_rc1::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > Ifc4x3_rc1::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc1::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1023]); } -void Ifc4x3_rc1::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc1::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1023]); } +void Ifc4x3_rc1::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc1::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSite std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_rc1::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } @@ -14634,36 +14634,36 @@ void Ifc4x3_rc1::IfcSite::setLandTitleNumber(const std::optional< std::string >& void Ifc4x3_rc1::IfcSite::setSiteAddress(const ::Ifc4x3_rc1::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_rc1::IfcSite::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1027]); } -void Ifc4x3_rc1::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc1::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::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)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1027]); } +void Ifc4x3_rc1::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc1::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > Ifc4x3_rc1::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1031]); } -void Ifc4x3_rc1::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1031]); } +void Ifc4x3_rc1::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabElementedCase -const IfcParse::entity& Ifc4x3_rc1::IfcSlabElementedCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1032]); } -void Ifc4x3_rc1::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSlabElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1032]); } +void Ifc4x3_rc1::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabStandardCase -const IfcParse::entity& Ifc4x3_rc1::IfcSlabStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1033]); } -void Ifc4x3_rc1::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSlabStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1033]); } +void Ifc4x3_rc1::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x3_rc1::IfcSlabTypeEnum::Value Ifc4x3_rc1::IfcSlabType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSlabType::setPredefinedType(const ::Ifc4x3_rc1::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSlabType::setPredefinedType(const ::Ifc4x3_rc1::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1034]); } -void Ifc4x3_rc1::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1034]); } +void Ifc4x3_rc1::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x3_rc1::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -14674,84 +14674,84 @@ std::optional< double > Ifc4x3_rc1::IfcSlippageConnectionCondition::SlippageZ() void Ifc4x3_rc1::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1036]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1036]); } void Ifc4x3_rc1::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value > Ifc4x3_rc1::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1037]); } -void Ifc4x3_rc1::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1037]); } +void Ifc4x3_rc1::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value Ifc4x3_rc1::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1038]); } -void Ifc4x3_rc1::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1038]); } +void Ifc4x3_rc1::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x3_rc1::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1041]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1041]); } void Ifc4x3_rc1::IfcSolidModel::initialize() { } // Function implementations for IfcSolidStratum -const IfcParse::entity& Ifc4x3_rc1::IfcSolidStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1043]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSolidStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1043]); } void Ifc4x3_rc1::IfcSolidStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcSpace std::optional< ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value > Ifc4x3_rc1::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc1::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc1::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x3_rc1::IfcRelCoversSpaces> Ifc4x3_rc1::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[939], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary> Ifc4x3_rc1::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[956], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelCoversSpaces> Ifc4x3_rc1::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[939], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelSpaceBoundary> Ifc4x3_rc1::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[956], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1048]); } -void Ifc4x3_rc1::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1048]); } +void Ifc4x3_rc1::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value > Ifc4x3_rc1::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1050]); } -void Ifc4x3_rc1::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1050]); } +void Ifc4x3_rc1::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value Ifc4x3_rc1::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1051]); } -void Ifc4x3_rc1::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1051]); } +void Ifc4x3_rc1::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value Ifc4x3_rc1::IfcSpaceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSpaceType::setPredefinedType(const ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSpaceType::setPredefinedType(const ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc1::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1053]); } -void Ifc4x3_rc1::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1053]); } +void Ifc4x3_rc1::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x3_rc1::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc1::IfcRelContainedInSpatialStructure> Ifc4x3_rc1::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[937], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelServicesBuildings> Ifc4x3_rc1::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[955], 5)); } -std::vector<::Ifc4x3_rc1::IfcRelReferencedInSpatialStructure> Ifc4x3_rc1::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[953], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelContainedInSpatialStructure> Ifc4x3_rc1::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[937], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelServicesBuildings> Ifc4x3_rc1::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[955], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelReferencedInSpatialStructure> Ifc4x3_rc1::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[953], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1055]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1055]); } void Ifc4x3_rc1::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -14759,47 +14759,47 @@ std::optional< std::string > Ifc4x3_rc1::IfcSpatialElementType::ElementType() co void Ifc4x3_rc1::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1056]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1056]); } void Ifc4x3_rc1::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > Ifc4x3_rc1::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1058]); } -void Ifc4x3_rc1::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1058]); } +void Ifc4x3_rc1::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x3_rc1::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1059]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1059]); } void Ifc4x3_rc1::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value > Ifc4x3_rc1::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1060]); } -void Ifc4x3_rc1::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1060]); } +void Ifc4x3_rc1::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value Ifc4x3_rc1::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc1::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1061]); } -void Ifc4x3_rc1::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1061]); } +void Ifc4x3_rc1::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x3_rc1::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_rc1::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1067]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1067]); } void Ifc4x3_rc1::IfcSphere::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -14807,32 +14807,32 @@ double Ifc4x3_rc1::IfcSphericalSurface::Radius() const { double v = get_attribu void Ifc4x3_rc1::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1068]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1068]); } void Ifc4x3_rc1::IfcSphericalSurface::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value > Ifc4x3_rc1::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1069]); } -void Ifc4x3_rc1::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1069]); } +void Ifc4x3_rc1::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value Ifc4x3_rc1::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1070]); } -void Ifc4x3_rc1::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1070]); } +void Ifc4x3_rc1::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x3_rc1::IfcStairTypeEnum::Value > Ifc4x3_rc1::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStair::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1072]); } -void Ifc4x3_rc1::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1072]); } +void Ifc4x3_rc1::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x3_rc1::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -14844,50 +14844,50 @@ void Ifc4x3_rc1::IfcStairFlight::setRiserHeight(const std::optional< double >& v std::optional< double > Ifc4x3_rc1::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc1::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value > Ifc4x3_rc1::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc1::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc1::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1073]); } -void Ifc4x3_rc1::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1073]); } +void Ifc4x3_rc1::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value Ifc4x3_rc1::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_rc1::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1074]); } -void Ifc4x3_rc1::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1074]); } +void Ifc4x3_rc1::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x3_rc1::IfcStairTypeEnum::Value Ifc4x3_rc1::IfcStairType::PredefinedType() const { return ::Ifc4x3_rc1::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcStairType::setPredefinedType(const ::Ifc4x3_rc1::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcStairType::setPredefinedType(const ::Ifc4x3_rc1::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1076]); } -void Ifc4x3_rc1::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1076]); } +void Ifc4x3_rc1::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x3_rc1::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1079]); } -void Ifc4x3_rc1::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1079]); } +void Ifc4x3_rc1::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x3_rc1::IfcStructuralLoad Ifc4x3_rc1::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc1::IfcStructuralLoad>(); } void Ifc4x3_rc1::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x3_rc1::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value Ifc4x3_rc1::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc1::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc1::IfcRelConnectsStructuralActivity> Ifc4x3_rc1::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[933], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsStructuralActivity> Ifc4x3_rc1::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[933], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1080]); } -void Ifc4x3_rc1::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1080]); } +void Ifc4x3_rc1::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value Ifc4x3_rc1::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc1::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc1::IfcAxis2Placement3D Ifc4x3_rc1::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcAxis2Placement3D>(); } void Ifc4x3_rc1::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_rc1::IfcStructuralLoadGroup > > Ifc4x3_rc1::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc1::IfcStructuralLoadGroup>(es); } @@ -14898,16 +14898,16 @@ void Ifc4x3_rc1::IfcStructuralAnalysisModel::setHasResults(const std::optional< void Ifc4x3_rc1::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x3_rc1::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1082]); } -void Ifc4x3_rc1::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc1::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc1::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1082]); } +void Ifc4x3_rc1::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc1::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x3_rc1::IfcBoundaryCondition Ifc4x3_rc1::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc1::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc1::IfcBoundaryCondition>(); } void Ifc4x3_rc1::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x3_rc1::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc1::IfcRelConnectsStructuralMember> Ifc4x3_rc1::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[934], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsStructuralMember> Ifc4x3_rc1::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[934], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1083]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1083]); } void Ifc4x3_rc1::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -14915,70 +14915,70 @@ std::optional< std::string > Ifc4x3_rc1::IfcStructuralConnectionCondition::Name( void Ifc4x3_rc1::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1084]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1084]); } void Ifc4x3_rc1::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_rc1::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc1::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1085]); } -void Ifc4x3_rc1::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1085]); } +void Ifc4x3_rc1::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x3_rc1::IfcDirection Ifc4x3_rc1::IfcStructuralCurveConnection::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc1::IfcDirection>(); } void Ifc4x3_rc1::IfcStructuralCurveConnection::setAxis(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1087]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1087]); } void Ifc4x3_rc1::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_rc1::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc1::IfcDirection Ifc4x3_rc1::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc1::IfcDirection>(); } void Ifc4x3_rc1::IfcStructuralCurveMember::setAxis(const ::Ifc4x3_rc1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1088]); } -void Ifc4x3_rc1::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1088]); } +void Ifc4x3_rc1::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1090]); } -void Ifc4x3_rc1::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1090]); } +void Ifc4x3_rc1::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc1::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1091]); } -void Ifc4x3_rc1::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1091]); } +void Ifc4x3_rc1::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x3_rc1::IfcRelConnectsStructuralActivity> Ifc4x3_rc1::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[933], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsStructuralActivity> Ifc4x3_rc1::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[933], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1092]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1092]); } void Ifc4x3_rc1::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1093]); } -void Ifc4x3_rc1::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1093]); } +void Ifc4x3_rc1::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x3_rc1::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc1::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1094]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1094]); } void Ifc4x3_rc1::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -14986,8 +14986,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x3_rc1::IfcStructuralLoadCa void Ifc4x3_rc1::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1095]); } -void Ifc4x3_rc1::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1095]); } +void Ifc4x3_rc1::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x3_rc1::IfcStructuralLoadOrResult > Ifc4x3_rc1::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc1::IfcStructuralLoadOrResult>(es); } @@ -14996,26 +14996,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_rc1::IfcStructuralL void Ifc4x3_rc1::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1096]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1096]); } void Ifc4x3_rc1::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc1::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value Ifc4x3_rc1::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc1::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc1::IfcActionTypeEnum::Value Ifc4x3_rc1::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x3_rc1::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc1::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_rc1::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc1::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x3_rc1::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_rc1::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc1::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc1::IfcActionSourceTypeEnum::Value Ifc4x3_rc1::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x3_rc1::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_rc1::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_rc1::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_rc1::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_rc1::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_rc1::IfcStructuralResultGroup> Ifc4x3_rc1::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1113], 6)); } -std::vector<::Ifc4x3_rc1::IfcStructuralAnalysisModel> Ifc4x3_rc1::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1082], 7)); } +std::vector<::Ifc4x3_rc1::IfcStructuralResultGroup> Ifc4x3_rc1::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1113], 6)); } +std::vector<::Ifc4x3_rc1::IfcStructuralAnalysisModel> Ifc4x3_rc1::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1082], 7)); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1097]); } -void Ifc4x3_rc1::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1097]); } +void Ifc4x3_rc1::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x3_rc1::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -15032,13 +15032,13 @@ std::optional< double > Ifc4x3_rc1::IfcStructuralLoadLinearForce::LinearMomentZ( void Ifc4x3_rc1::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1098]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1098]); } void Ifc4x3_rc1::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1099]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1099]); } void Ifc4x3_rc1::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -15050,7 +15050,7 @@ std::optional< double > Ifc4x3_rc1::IfcStructuralLoadPlanarForce::PlanarForceZ() void Ifc4x3_rc1::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1100]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1100]); } void Ifc4x3_rc1::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -15068,7 +15068,7 @@ std::optional< double > Ifc4x3_rc1::IfcStructuralLoadSingleDisplacement::Rotatio void Ifc4x3_rc1::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1101]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1101]); } void Ifc4x3_rc1::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -15076,7 +15076,7 @@ std::optional< double > Ifc4x3_rc1::IfcStructuralLoadSingleDisplacementDistortio void Ifc4x3_rc1::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1102]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1102]); } void Ifc4x3_rc1::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -15094,7 +15094,7 @@ std::optional< double > Ifc4x3_rc1::IfcStructuralLoadSingleForce::MomentZ() cons void Ifc4x3_rc1::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1103]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1103]); } void Ifc4x3_rc1::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -15102,13 +15102,13 @@ std::optional< double > Ifc4x3_rc1::IfcStructuralLoadSingleForceWarping::Warping void Ifc4x3_rc1::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1104]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1104]); } void Ifc4x3_rc1::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1105]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1105]); } void Ifc4x3_rc1::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -15120,105 +15120,105 @@ std::optional< double > Ifc4x3_rc1::IfcStructuralLoadTemperature::DeltaTZ() cons void Ifc4x3_rc1::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1106]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1106]); } void Ifc4x3_rc1::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x3_rc1::IfcRelConnectsStructuralMember> Ifc4x3_rc1::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[934], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelConnectsStructuralMember> Ifc4x3_rc1::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[934], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1107]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1107]); } void Ifc4x3_rc1::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1108]); } -void Ifc4x3_rc1::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1108]); } +void Ifc4x3_rc1::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1109]); } -void Ifc4x3_rc1::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1109]); } +void Ifc4x3_rc1::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x3_rc1::IfcAxis2Placement3D Ifc4x3_rc1::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc1::IfcAxis2Placement3D>(); } void Ifc4x3_rc1::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1110]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1110]); } void Ifc4x3_rc1::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc1::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1111]); } -void Ifc4x3_rc1::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1111]); } +void Ifc4x3_rc1::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1112]); } -void Ifc4x3_rc1::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1112]); } +void Ifc4x3_rc1::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_rc1::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc1::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc1::IfcStructuralLoadGroup Ifc4x3_rc1::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc1::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc1::IfcStructuralLoadGroup>(); } void Ifc4x3_rc1::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x3_rc1::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x3_rc1::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc1::IfcStructuralAnalysisModel> Ifc4x3_rc1::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1082], 8)); } +std::vector<::Ifc4x3_rc1::IfcStructuralAnalysisModel> Ifc4x3_rc1::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1082], 8)); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1113]); } -void Ifc4x3_rc1::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc1::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1113]); } +void Ifc4x3_rc1::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_rc1::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc1::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1114]); } -void Ifc4x3_rc1::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1114]); } +void Ifc4x3_rc1::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1116]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1116]); } void Ifc4x3_rc1::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_rc1::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_rc1::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1117]); } -void Ifc4x3_rc1::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1117]); } +void Ifc4x3_rc1::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1119]); } -void Ifc4x3_rc1::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1119]); } +void Ifc4x3_rc1::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc1::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1120]); } -void Ifc4x3_rc1::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1120]); } +void Ifc4x3_rc1::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x3_rc1::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1124]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1124]); } void Ifc4x3_rc1::IfcStyleModel::initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -15230,43 +15230,43 @@ std::optional< std::string > Ifc4x3_rc1::IfcStyledItem::Name() const { if(get_at void Ifc4x3_rc1::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1122]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1122]); } void Ifc4x3_rc1::IfcStyledItem::initialize(::Ifc4x3_rc1::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_rc1::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x3_rc1::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1123]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1123]); } void Ifc4x3_rc1::IfcStyledRepresentation::initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value > Ifc4x3_rc1::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1125]); } -void Ifc4x3_rc1::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1125]); } +void Ifc4x3_rc1::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value Ifc4x3_rc1::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc1::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1126]); } -void Ifc4x3_rc1::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1126]); } +void Ifc4x3_rc1::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x3_rc1::IfcEdge Ifc4x3_rc1::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcEdge>(); } void Ifc4x3_rc1::IfcSubedge::setParentEdge(const ::Ifc4x3_rc1::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1128]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1128]); } void Ifc4x3_rc1::IfcSubedge::initialize(::Ifc4x3_rc1::IfcVertex v1_EdgeStart, ::Ifc4x3_rc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc1::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x3_rc1::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1129]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1129]); } void Ifc4x3_rc1::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -15275,27 +15275,27 @@ void Ifc4x3_rc1::IfcSurfaceCurve::setCurve3D(const ::Ifc4x3_rc1::IfcCurve& v) { std::vector< ::Ifc4x3_rc1::IfcPcurve > Ifc4x3_rc1::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc1::IfcPcurve>(es); } void Ifc4x3_rc1::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x3_rc1::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_rc1::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x3_rc1::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc1::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1130]); } -void Ifc4x3_rc1::IfcSurfaceCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1130]); } +void Ifc4x3_rc1::IfcSurfaceCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x3_rc1::IfcSurface Ifc4x3_rc1::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc1::IfcSurface>(); } void Ifc4x3_rc1::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x3_rc1::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1131]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1131]); } void Ifc4x3_rc1::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x3_rc1::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix)); if (v4_StartParam) {set_attribute_value(3, (*v4_StartParam)); } if (v5_EndParam) {set_attribute_value(4, (*v5_EndParam)); }set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3_rc1::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1132]); } -void Ifc4x3_rc1::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1132]); } +void Ifc4x3_rc1::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x3_rc1::IfcDirection Ifc4x3_rc1::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc1::IfcDirection>(); } @@ -15304,7 +15304,7 @@ double Ifc4x3_rc1::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_ void Ifc4x3_rc1::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1134]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1134]); } void Ifc4x3_rc1::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -15312,7 +15312,7 @@ void Ifc4x3_rc1::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_rc1::IfcProfil void Ifc4x3_rc1::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x3_rc1::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1135]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1135]); } void Ifc4x3_rc1::IfcSurfaceOfRevolution::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -15324,18 +15324,18 @@ std::optional< double > Ifc4x3_rc1::IfcSurfaceReinforcementArea::ShearReinforcem void Ifc4x3_rc1::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1137]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1137]); } void Ifc4x3_rc1::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x3_rc1::IfcSurfaceSide::Value Ifc4x3_rc1::IfcSurfaceStyle::Side() const { return ::Ifc4x3_rc1::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x3_rc1::IfcSurfaceStyle::setSide(const ::Ifc4x3_rc1::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc1::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc1::IfcSurfaceStyle::setSide(const ::Ifc4x3_rc1::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc1::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x3_rc1::IfcSurfaceStyleElementSelect > Ifc4x3_rc1::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc1::IfcSurfaceStyleElementSelect>(es); } void Ifc4x3_rc1::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x3_rc1::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1139]); } -void Ifc4x3_rc1::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc1::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1139]); } +void Ifc4x3_rc1::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc1::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x3_rc1::IfcColourRgb Ifc4x3_rc1::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcColourRgb>(); } @@ -15348,7 +15348,7 @@ void Ifc4x3_rc1::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x3_r void Ifc4x3_rc1::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x3_rc1::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1141]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1141]); } void Ifc4x3_rc1::IfcSurfaceStyleLighting::initialize(::Ifc4x3_rc1::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_rc1::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_rc1::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_rc1::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -15358,7 +15358,7 @@ std::optional< double > Ifc4x3_rc1::IfcSurfaceStyleRefraction::DispersionFactor( void Ifc4x3_rc1::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1142]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1142]); } void Ifc4x3_rc1::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -15375,11 +15375,11 @@ void Ifc4x3_rc1::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x3_rc1: ::Ifc4x3_rc1::IfcSpecularHighlightSelect Ifc4x3_rc1::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc1::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc1::IfcSpecularHighlightSelect>(); } void Ifc4x3_rc1::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x3_rc1::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc1::IfcReflectanceMethodEnum::Value Ifc4x3_rc1::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x3_rc1::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_rc1::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc1::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_rc1::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1143]); } -void Ifc4x3_rc1::IfcSurfaceStyleRendering::initialize(::Ifc4x3_rc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1143]); } +void Ifc4x3_rc1::IfcSurfaceStyleRendering::initialize(::Ifc4x3_rc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x3_rc1::IfcColourRgb Ifc4x3_rc1::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcColourRgb>(); } @@ -15388,7 +15388,7 @@ std::optional< double > Ifc4x3_rc1::IfcSurfaceStyleShading::Transparency() const void Ifc4x3_rc1::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1144]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1144]); } void Ifc4x3_rc1::IfcSurfaceStyleShading::initialize(::Ifc4x3_rc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -15396,7 +15396,7 @@ std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > Ifc4x3_rc1::IfcSurfaceStyleWithTe void Ifc4x3_rc1::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1145]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1145]); } void Ifc4x3_rc1::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -15411,10 +15411,10 @@ void Ifc4x3_rc1::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x3_rc1::IfcC std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc1::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc1::IfcTextureCoordinate> Ifc4x3_rc1::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1197], 0)); } -std::vector<::Ifc4x3_rc1::IfcSurfaceStyleWithTextures> Ifc4x3_rc1::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[1145], 0)); } +std::vector<::Ifc4x3_rc1::IfcTextureCoordinate> Ifc4x3_rc1::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1197], 0)); } +std::vector<::Ifc4x3_rc1::IfcSurfaceStyleWithTextures> Ifc4x3_rc1::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[1145], 0)); } -const IfcParse::entity& Ifc4x3_rc1::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1146]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1146]); } void Ifc4x3_rc1::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -15424,7 +15424,7 @@ void Ifc4x3_rc1::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x3_rc1::IfcProfileD void Ifc4x3_rc1::IfcSweptAreaSolid::setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1147]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1147]); } void Ifc4x3_rc1::IfcSweptAreaSolid::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -15440,7 +15440,7 @@ std::optional< double > Ifc4x3_rc1::IfcSweptDiskSolid::EndParam() const { if(get void Ifc4x3_rc1::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1148]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1148]); } void Ifc4x3_rc1::IfcSweptDiskSolid::initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -15448,7 +15448,7 @@ std::optional< double > Ifc4x3_rc1::IfcSweptDiskSolidPolygonal::FilletRadius() c void Ifc4x3_rc1::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1149]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1149]); } void Ifc4x3_rc1::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -15458,48 +15458,48 @@ void Ifc4x3_rc1::IfcSweptSurface::setSweptCurve(const ::Ifc4x3_rc1::IfcProfileDe void Ifc4x3_rc1::IfcSweptSurface::setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1150]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1150]); } void Ifc4x3_rc1::IfcSweptSurface::initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3_rc1::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1151]); } -void Ifc4x3_rc1::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1151]); } +void Ifc4x3_rc1::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_rc1::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1152]); } -void Ifc4x3_rc1::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1152]); } +void Ifc4x3_rc1::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x3_rc1::IfcRelServicesBuildings> Ifc4x3_rc1::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[955], 4)); } -std::vector<::Ifc4x3_rc1::IfcRelReferencedInSpatialStructure> Ifc4x3_rc1::IfcSystem::ServicesFacilities() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[953], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelServicesBuildings> Ifc4x3_rc1::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[955], 4)); } +std::vector<::Ifc4x3_rc1::IfcRelReferencedInSpatialStructure> Ifc4x3_rc1::IfcSystem::ServicesFacilities() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[953], 4)); } -const IfcParse::entity& Ifc4x3_rc1::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1154]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1154]); } void Ifc4x3_rc1::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_rc1::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1155]); } -void Ifc4x3_rc1::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1155]); } +void Ifc4x3_rc1::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_rc1::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc1::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1156]); } -void Ifc4x3_rc1::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_rc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1156]); } +void Ifc4x3_rc1::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x3_rc1::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -15522,8 +15522,8 @@ std::optional< double > Ifc4x3_rc1::IfcTShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc1::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1241]); } -void Ifc4x3_rc1::IfcTShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1241]); } +void Ifc4x3_rc1::IfcTShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x3_rc1::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -15534,7 +15534,7 @@ std::optional< std::vector< ::Ifc4x3_rc1::IfcTableColumn > > Ifc4x3_rc1::IfcTabl void Ifc4x3_rc1::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x3_rc1::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTable::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1158]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1158]); } void Ifc4x3_rc1::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_rc1::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_rc1::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -15550,7 +15550,7 @@ void Ifc4x3_rc1::IfcTableColumn::setUnit(const ::Ifc4x3_rc1::IfcUnit& v) { set_a void Ifc4x3_rc1::IfcTableColumn::setReferencePath(const ::Ifc4x3_rc1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1159]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1159]); } void Ifc4x3_rc1::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_rc1::IfcUnit v4_Unit, ::Ifc4x3_rc1::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -15560,24 +15560,24 @@ std::optional< bool > Ifc4x3_rc1::IfcTableRow::IsHeading() const { if(get_attrib void Ifc4x3_rc1::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1160]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1160]); } void Ifc4x3_rc1::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x3_rc1::IfcTankTypeEnum::Value > Ifc4x3_rc1::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTank::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1161]); } -void Ifc4x3_rc1::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1161]); } +void Ifc4x3_rc1::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x3_rc1::IfcTankTypeEnum::Value Ifc4x3_rc1::IfcTankType::PredefinedType() const { return ::Ifc4x3_rc1::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTankType::setPredefinedType(const ::Ifc4x3_rc1::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcTankType::setPredefinedType(const ::Ifc4x3_rc1::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1162]); } -void Ifc4x3_rc1::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1162]); } +void Ifc4x3_rc1::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x3_rc1::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -15591,15 +15591,15 @@ void Ifc4x3_rc1::IfcTask::setPriority(const std::optional< int >& v) { if (v) {s ::Ifc4x3_rc1::IfcTaskTime Ifc4x3_rc1::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_rc1::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_rc1::IfcTaskTime>(); } void Ifc4x3_rc1::IfcTask::setTaskTime(const ::Ifc4x3_rc1::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value > Ifc4x3_rc1::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc1::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc1::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTask::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1164]); } -void Ifc4x3_rc1::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_rc1::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1164]); } +void Ifc4x3_rc1::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x3_rc1::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x3_rc1::IfcTaskDurationEnum::Value > Ifc4x3_rc1::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc1::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_rc1::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc1::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_rc1::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_rc1::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc1::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x3_rc1::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc1::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc1::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -15634,26 +15634,26 @@ std::optional< double > Ifc4x3_rc1::IfcTaskTime::Completion() const { if(get_att void Ifc4x3_rc1::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1166]); } -void Ifc4x3_rc1::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1166]); } +void Ifc4x3_rc1::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x3_rc1::IfcRecurrencePattern Ifc4x3_rc1::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x3_rc1::IfcRecurrencePattern>(); } void Ifc4x3_rc1::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x3_rc1::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x3_rc1::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1167]); } -void Ifc4x3_rc1::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc1::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc1::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)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1167]); } +void Ifc4x3_rc1::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc1::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc1::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)); } // Function implementations for IfcTaskType ::Ifc4x3_rc1::IfcTaskTypeEnum::Value Ifc4x3_rc1::IfcTaskType::PredefinedType() const { return ::Ifc4x3_rc1::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTaskType::setPredefinedType(const ::Ifc4x3_rc1::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcTaskType::setPredefinedType(const ::Ifc4x3_rc1::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc1::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1168]); } -void Ifc4x3_rc1::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc1::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1168]); } +void Ifc4x3_rc1::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc1::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc1::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -15670,12 +15670,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc1::IfcTelecomAddr void Ifc4x3_rc1::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1170]); } -void Ifc4x3_rc1::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1170]); } +void Ifc4x3_rc1::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x3_rc1::IfcTendonTypeEnum::Value > Ifc4x3_rc1::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc1::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc1::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc1::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15692,44 +15692,44 @@ std::optional< double > Ifc4x3_rc1::IfcTendon::MinCurvatureRadius() const { if(g void Ifc4x3_rc1::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1173]); } -void Ifc4x3_rc1::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1173]); } +void Ifc4x3_rc1::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value > Ifc4x3_rc1::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc1::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1174]); } -void Ifc4x3_rc1::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1174]); } +void Ifc4x3_rc1::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value Ifc4x3_rc1::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1175]); } -void Ifc4x3_rc1::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1175]); } +void Ifc4x3_rc1::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduit ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value Ifc4x3_rc1::IfcTendonConduit::PredefinedType() const { return ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1177]); } -void Ifc4x3_rc1::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1177]); } +void Ifc4x3_rc1::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduitType ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value Ifc4x3_rc1::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1178]); } -void Ifc4x3_rc1::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1178]); } +void Ifc4x3_rc1::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x3_rc1::IfcTendonTypeEnum::Value Ifc4x3_rc1::IfcTendonType::PredefinedType() const { return ::Ifc4x3_rc1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTendonType::setPredefinedType(const ::Ifc4x3_rc1::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcTendonType::setPredefinedType(const ::Ifc4x3_rc1::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc1::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc1::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15738,23 +15738,23 @@ std::optional< double > Ifc4x3_rc1::IfcTendonType::SheathDiameter() const { if(g void Ifc4x3_rc1::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1180]); } -void Ifc4x3_rc1::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1180]); } +void Ifc4x3_rc1::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x3_rc1::IfcCartesianPointList3D Ifc4x3_rc1::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcCartesianPointList3D>(); } void Ifc4x3_rc1::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x3_rc1::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc1::IfcIndexedColourMap> Ifc4x3_rc1::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[550], 0)); } -std::vector<::Ifc4x3_rc1::IfcIndexedTextureMap> Ifc4x3_rc1::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[554], 1)); } +std::vector<::Ifc4x3_rc1::IfcIndexedColourMap> Ifc4x3_rc1::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[550], 0)); } +std::vector<::Ifc4x3_rc1::IfcIndexedTextureMap> Ifc4x3_rc1::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[554], 1)); } -const IfcParse::entity& Ifc4x3_rc1::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1182]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1182]); } void Ifc4x3_rc1::IfcTessellatedFaceSet::initialize(::Ifc4x3_rc1::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x3_rc1::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1183]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1183]); } void Ifc4x3_rc1::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -15763,11 +15763,11 @@ void Ifc4x3_rc1::IfcTextLiteral::setLiteral(const std::string& v) { set_attribut ::Ifc4x3_rc1::IfcAxis2Placement Ifc4x3_rc1::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc1::IfcAxis2Placement>(); } void Ifc4x3_rc1::IfcTextLiteral::setPlacement(const ::Ifc4x3_rc1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc1::IfcTextPath::Value Ifc4x3_rc1::IfcTextLiteral::Path() const { return ::Ifc4x3_rc1::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x3_rc1::IfcTextLiteral::setPath(const ::Ifc4x3_rc1::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc1::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc1::IfcTextLiteral::setPath(const ::Ifc4x3_rc1::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc1::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1189]); } -void Ifc4x3_rc1::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_rc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc1::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1189]); } +void Ifc4x3_rc1::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_rc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc1::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x3_rc1::IfcPlanarExtent Ifc4x3_rc1::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc1::IfcPlanarExtent>(); } @@ -15776,8 +15776,8 @@ std::string Ifc4x3_rc1::IfcTextLiteralWithExtent::BoxAlignment() const { std::s void Ifc4x3_rc1::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1190]); } -void Ifc4x3_rc1::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_rc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc1::IfcTextPath::Value v3_Path, ::Ifc4x3_rc1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc1::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1190]); } +void Ifc4x3_rc1::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_rc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc1::IfcTextPath::Value v3_Path, ::Ifc4x3_rc1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc1::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x3_rc1::IfcTextStyleForDefinedFont Ifc4x3_rc1::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc1::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc1::IfcTextStyleForDefinedFont>(); } @@ -15790,7 +15790,7 @@ std::optional< bool > Ifc4x3_rc1::IfcTextStyle::ModelOrDraughting() const { if(g void Ifc4x3_rc1::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1192]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1192]); } void Ifc4x3_rc1::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_rc1::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_rc1::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -15806,7 +15806,7 @@ void Ifc4x3_rc1::IfcTextStyleFontModel::setFontWeight(const std::optional< std:: void Ifc4x3_rc1::IfcTextStyleFontModel::setFontSize(const ::Ifc4x3_rc1::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1193]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1193]); } void Ifc4x3_rc1::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_rc1::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -15816,7 +15816,7 @@ void Ifc4x3_rc1::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x3_rc1::IfcCo void Ifc4x3_rc1::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x3_rc1::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1194]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1194]); } void Ifc4x3_rc1::IfcTextStyleForDefinedFont::initialize(::Ifc4x3_rc1::IfcColour v1_Colour, ::Ifc4x3_rc1::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -15836,7 +15836,7 @@ void Ifc4x3_rc1::IfcTextStyleTextModel::setTextTransform(const std::optional< st void Ifc4x3_rc1::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x3_rc1::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1195]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1195]); } void Ifc4x3_rc1::IfcTextStyleTextModel::initialize(::Ifc4x3_rc1::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_rc1::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_rc1::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_rc1::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -15844,7 +15844,7 @@ std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > Ifc4x3_rc1::IfcTextureCoordinate: void Ifc4x3_rc1::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1197]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1197]); } void Ifc4x3_rc1::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -15854,7 +15854,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x3_rc1::IfcTextureCoordinat void Ifc4x3_rc1::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1198]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1198]); } void Ifc4x3_rc1::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureMap @@ -15864,7 +15864,7 @@ void Ifc4x3_rc1::IfcTextureMap::setVertices(const std::vector< ::Ifc4x3_rc1::Ifc void Ifc4x3_rc1::IfcTextureMap::setMappedTo(const ::Ifc4x3_rc1::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1199]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1199]); } void Ifc4x3_rc1::IfcTextureMap::initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_rc1::IfcTextureVertex > v2_Vertices, ::Ifc4x3_rc1::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -15872,7 +15872,7 @@ std::vector< double > /*[2:2]*/ Ifc4x3_rc1::IfcTextureVertex::Coordinates() cons void Ifc4x3_rc1::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1200]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1200]); } void Ifc4x3_rc1::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -15880,7 +15880,7 @@ std::vector< std::vector< double > > Ifc4x3_rc1::IfcTextureVertexList::TexCoords void Ifc4x3_rc1::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1201]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1201]); } void Ifc4x3_rc1::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcTimePeriod @@ -15890,7 +15890,7 @@ std::string Ifc4x3_rc1::IfcTimePeriod::EndTime() const { std::string v = get_at void Ifc4x3_rc1::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1211]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1211]); } void Ifc4x3_rc1::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -15903,37 +15903,37 @@ void Ifc4x3_rc1::IfcTimeSeries::setStartTime(const std::string& v) { set_attribu std::string Ifc4x3_rc1::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc1::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_rc1::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc1::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc1::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc1::IfcDataOriginEnum::Value Ifc4x3_rc1::IfcTimeSeries::DataOrigin() const { return ::Ifc4x3_rc1::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_rc1::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc1::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_rc1::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x3_rc1::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_rc1::IfcUnit Ifc4x3_rc1::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc1::IfcUnit>(); } void Ifc4x3_rc1::IfcTimeSeries::setUnit(const ::Ifc4x3_rc1::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[436], 3)); } +std::vector<::Ifc4x3_rc1::IfcExternalReferenceRelationship> Ifc4x3_rc1::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[436], 3)); } -const IfcParse::entity& Ifc4x3_rc1::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1212]); } -void Ifc4x3_rc1::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcUnit v8_Unit) { 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_rc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1212]); } +void Ifc4x3_rc1::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x3_rc1::IfcValue > Ifc4x3_rc1::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcValue>(es); } void Ifc4x3_rc1::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_rc1::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1214]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1214]); } void Ifc4x3_rc1::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x3_rc1::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x3_rc1::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1216]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1216]); } void Ifc4x3_rc1::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x3_rc1::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1217]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1217]); } void Ifc4x3_rc1::IfcTopologyRepresentation::initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -15943,40 +15943,40 @@ double Ifc4x3_rc1::IfcToroidalSurface::MinorRadius() const { double v = get_att void Ifc4x3_rc1::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc1::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1218]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1218]); } void Ifc4x3_rc1::IfcToroidalSurface::initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTrackElement std::optional< ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value > Ifc4x3_rc1::IfcTrackElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcTrackElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTrackElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1220]); } -void Ifc4x3_rc1::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTrackElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1220]); } +void Ifc4x3_rc1::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTrackElementType ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value Ifc4x3_rc1::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3_rc1::IfcTrackElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcTrackElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1221]); } -void Ifc4x3_rc1::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTrackElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1221]); } +void Ifc4x3_rc1::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransformer std::optional< ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value > Ifc4x3_rc1::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1223]); } -void Ifc4x3_rc1::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1223]); } +void Ifc4x3_rc1::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value Ifc4x3_rc1::IfcTransformerType::PredefinedType() const { return ::Ifc4x3_rc1::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTransformerType::setPredefinedType(const ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcTransformerType::setPredefinedType(const ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1224]); } -void Ifc4x3_rc1::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1224]); } +void Ifc4x3_rc1::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransitionCurveSegment2D std::optional< double > Ifc4x3_rc1::IfcTransitionCurveSegment2D::StartRadius() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } @@ -15988,18 +15988,18 @@ void Ifc4x3_rc1::IfcTransitionCurveSegment2D::setIsStartRadiusCCW(const bool& v) bool Ifc4x3_rc1::IfcTransitionCurveSegment2D::IsEndRadiusCCW() const { bool v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcTransitionCurveSegment2D::setIsEndRadiusCCW(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc1::IfcTransitionCurveType::Value Ifc4x3_rc1::IfcTransitionCurveSegment2D::TransitionCurveType() const { return ::Ifc4x3_rc1::IfcTransitionCurveType::FromString(get_attribute_value(7)); } -void Ifc4x3_rc1::IfcTransitionCurveSegment2D::setTransitionCurveType(const ::Ifc4x3_rc1::IfcTransitionCurveType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc1::IfcTransitionCurveSegment2D::setTransitionCurveType(const ::Ifc4x3_rc1::IfcTransitionCurveType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc1::IfcTransitionCurveSegment2D::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1227]); } -void Ifc4x3_rc1::IfcTransitionCurveSegment2D::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x3_rc1::IfcTransitionCurveType::Value v8_TransitionCurveType) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); if (v4_StartRadius) {set_attribute_value(3, (*v4_StartRadius)); } if (v5_EndRadius) {set_attribute_value(4, (*v5_EndRadius)); }set_attribute_value(5, (v6_IsStartRadiusCCW));set_attribute_value(6, (v7_IsEndRadiusCCW));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(),(size_t)v8_TransitionCurveType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTransitionCurveSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1227]); } +void Ifc4x3_rc1::IfcTransitionCurveSegment2D::initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x3_rc1::IfcTransitionCurveType::Value v8_TransitionCurveType) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); if (v4_StartRadius) {set_attribute_value(3, (*v4_StartRadius)); } if (v5_EndRadius) {set_attribute_value(4, (*v5_EndRadius)); }set_attribute_value(5, (v6_IsStartRadiusCCW));set_attribute_value(6, (v7_IsEndRadiusCCW));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc1::IfcTransitionCurveType::Class(),(size_t)v8_TransitionCurveType))); } // Function implementations for IfcTransportElement ::Ifc4x3_rc1::IfcTransportElementTypeSelect Ifc4x3_rc1::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc1::IfcTransportElementTypeSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc1::IfcTransportElementTypeSelect>(); } void Ifc4x3_rc1::IfcTransportElement::setPredefinedType(const ::Ifc4x3_rc1::IfcTransportElementTypeSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1230]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1230]); } void Ifc4x3_rc1::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcTransportElementTypeSelect v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_PredefinedType)); } // Function implementations for IfcTransportElementType @@ -16007,7 +16007,7 @@ void Ifc4x3_rc1::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4 void Ifc4x3_rc1::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcTransportElementTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1233]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1233]); } void Ifc4x3_rc1::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTransportElementTypeSelect v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_PredefinedType)); } // Function implementations for IfcTrapeziumProfileDef @@ -16021,8 +16021,8 @@ double Ifc4x3_rc1::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_ void Ifc4x3_rc1::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc1::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1235]); } -void Ifc4x3_rc1::IfcTrapeziumProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1235]); } +void Ifc4x3_rc1::IfcTrapeziumProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x3_rc1::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -16035,7 +16035,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc1::IfcTriangulatedFaceSet void Ifc4x3_rc1::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1236]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1236]); } void Ifc4x3_rc1::IfcTriangulatedFaceSet::initialize(::Ifc4x3_rc1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -16043,7 +16043,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::Flags( void Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1237]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1237]); } void Ifc4x3_rc1::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x3_rc1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); 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)); } // Function implementations for IfcTrimmedCurve @@ -16056,27 +16056,27 @@ void Ifc4x3_rc1::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x3_rc1::IfcT bool Ifc4x3_rc1::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x3_rc1::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc1::IfcTrimmingPreference::Value Ifc4x3_rc1::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x3_rc1::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x3_rc1::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_rc1::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc1::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc1::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_rc1::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc1::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc1::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1238]); } -void Ifc4x3_rc1::IfcTrimmedCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc1::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc1::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1238]); } +void Ifc4x3_rc1::IfcTrimmedCurve::initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc1::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc1::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value > Ifc4x3_rc1::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1242]); } -void Ifc4x3_rc1::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1242]); } +void Ifc4x3_rc1::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value Ifc4x3_rc1::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1243]); } -void Ifc4x3_rc1::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1243]); } +void Ifc4x3_rc1::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x3_rc1::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -16084,9 +16084,9 @@ void Ifc4x3_rc1::IfcTypeObject::setApplicableOccurrence(const std::optional< std std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > Ifc4x3_rc1::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_rc1::IfcPropertySetDefinition>(es); } void Ifc4x3_rc1::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc1::IfcRelDefinesByType> Ifc4x3_rc1::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[946], 5)); } +std::vector<::Ifc4x3_rc1::IfcRelDefinesByType> Ifc4x3_rc1::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[946], 5)); } -const IfcParse::entity& Ifc4x3_rc1::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1245]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1245]); } void Ifc4x3_rc1::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -16097,9 +16097,9 @@ void Ifc4x3_rc1::IfcTypeProcess::setLongDescription(const std::optional< std::st std::optional< std::string > Ifc4x3_rc1::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc1::IfcRelAssignsToProcess> Ifc4x3_rc1::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[916], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelAssignsToProcess> Ifc4x3_rc1::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[916], 6)); } -const IfcParse::entity& Ifc4x3_rc1::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1246]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1246]); } void Ifc4x3_rc1::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -16108,9 +16108,9 @@ void Ifc4x3_rc1::IfcTypeProduct::setRepresentationMaps(const std::optional< std: std::optional< std::string > Ifc4x3_rc1::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc1::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc1::IfcRelAssignsToProduct> Ifc4x3_rc1::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[917], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelAssignsToProduct> Ifc4x3_rc1::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[917], 6)); } -const IfcParse::entity& Ifc4x3_rc1::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1247]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1247]); } void Ifc4x3_rc1::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -16121,9 +16121,9 @@ void Ifc4x3_rc1::IfcTypeResource::setLongDescription(const std::optional< std::s std::optional< std::string > Ifc4x3_rc1::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc1::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc1::IfcRelAssignsToResource> Ifc4x3_rc1::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC1_types[918], 6)); } +std::vector<::Ifc4x3_rc1::IfcRelAssignsToResource> Ifc4x3_rc1::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC1_types[918], 6)); } -const IfcParse::entity& Ifc4x3_rc1::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1248]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1248]); } void Ifc4x3_rc1::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -16143,64 +16143,64 @@ std::optional< double > Ifc4x3_rc1::IfcUShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc1::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1259]); } -void Ifc4x3_rc1::IfcUShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1259]); } +void Ifc4x3_rc1::IfcUShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x3_rc1::IfcUnit > Ifc4x3_rc1::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc1::IfcUnit>(es); } void Ifc4x3_rc1::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x3_rc1::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1256]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1256]); } void Ifc4x3_rc1::IfcUnitAssignment::initialize(std::vector< ::Ifc4x3_rc1::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3_rc1::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1250]); } -void Ifc4x3_rc1::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1250]); } +void Ifc4x3_rc1::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_rc1::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1251]); } -void Ifc4x3_rc1::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1251]); } +void Ifc4x3_rc1::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3_rc1::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1253]); } -void Ifc4x3_rc1::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1253]); } +void Ifc4x3_rc1::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_rc1::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1254]); } -void Ifc4x3_rc1::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1254]); } +void Ifc4x3_rc1::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x3_rc1::IfcValveTypeEnum::Value > Ifc4x3_rc1::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcValve::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1261]); } -void Ifc4x3_rc1::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1261]); } +void Ifc4x3_rc1::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x3_rc1::IfcValveTypeEnum::Value Ifc4x3_rc1::IfcValveType::PredefinedType() const { return ::Ifc4x3_rc1::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcValveType::setPredefinedType(const ::Ifc4x3_rc1::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcValveType::setPredefinedType(const ::Ifc4x3_rc1::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1262]); } -void Ifc4x3_rc1::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1262]); } +void Ifc4x3_rc1::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x3_rc1::IfcDirection Ifc4x3_rc1::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc1::IfcDirection>(); } @@ -16209,13 +16209,13 @@ double Ifc4x3_rc1::IfcVector::Magnitude() const { double v = get_attribute_valu void Ifc4x3_rc1::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcVector::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1265]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1265]); } void Ifc4x3_rc1::IfcVector::initialize(::Ifc4x3_rc1::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x3_rc1::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1267]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1267]); } void Ifc4x3_rc1::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -16223,7 +16223,7 @@ void Ifc4x3_rc1::IfcVertex::initialize() { } void Ifc4x3_rc1::IfcVertexLoop::setLoopVertex(const ::Ifc4x3_rc1::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1268]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1268]); } void Ifc4x3_rc1::IfcVertexLoop::initialize(::Ifc4x3_rc1::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -16231,45 +16231,45 @@ void Ifc4x3_rc1::IfcVertexLoop::initialize(::Ifc4x3_rc1::IfcVertex v1_LoopVertex void Ifc4x3_rc1::IfcVertexPoint::setVertexGeometry(const ::Ifc4x3_rc1::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc1::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1269]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1269]); } void Ifc4x3_rc1::IfcVertexPoint::initialize(::Ifc4x3_rc1::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationDamper std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > Ifc4x3_rc1::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1270]); } -void Ifc4x3_rc1::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1270]); } +void Ifc4x3_rc1::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationDamperType std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > Ifc4x3_rc1::IfcVibrationDamperType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc1::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc1::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1271]); } -void Ifc4x3_rc1::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_rc1::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1271]); } +void Ifc4x3_rc1::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3_rc1::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1273]); } -void Ifc4x3_rc1::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1273]); } +void Ifc4x3_rc1::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_rc1::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1274]); } -void Ifc4x3_rc1::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1274]); } +void Ifc4x3_rc1::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement -const IfcParse::entity& Ifc4x3_rc1::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1276]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1276]); } void Ifc4x3_rc1::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVirtualGridIntersection @@ -16279,71 +16279,71 @@ std::vector< double > /*[2:3]*/ Ifc4x3_rc1::IfcVirtualGridIntersection::OffsetDi void Ifc4x3_rc1::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc1::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1277]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1277]); } void Ifc4x3_rc1::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x3_rc1::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidStratum -const IfcParse::entity& Ifc4x3_rc1::IfcVoidStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1280]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVoidStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1280]); } void Ifc4x3_rc1::IfcVoidStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value > Ifc4x3_rc1::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1278]); } -void Ifc4x3_rc1::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1278]); } +void Ifc4x3_rc1::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > Ifc4x3_rc1::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWall::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1283]); } -void Ifc4x3_rc1::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1283]); } +void Ifc4x3_rc1::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallElementedCase -const IfcParse::entity& Ifc4x3_rc1::IfcWallElementedCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1284]); } -void Ifc4x3_rc1::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWallElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1284]); } +void Ifc4x3_rc1::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x3_rc1::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1285]); } -void Ifc4x3_rc1::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1285]); } +void Ifc4x3_rc1::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x3_rc1::IfcWallTypeEnum::Value Ifc4x3_rc1::IfcWallType::PredefinedType() const { return ::Ifc4x3_rc1::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcWallType::setPredefinedType(const ::Ifc4x3_rc1::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcWallType::setPredefinedType(const ::Ifc4x3_rc1::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1286]); } -void Ifc4x3_rc1::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1286]); } +void Ifc4x3_rc1::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value > Ifc4x3_rc1::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1291]); } -void Ifc4x3_rc1::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1291]); } +void Ifc4x3_rc1::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value Ifc4x3_rc1::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc1::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1292]); } -void Ifc4x3_rc1::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1292]); } +void Ifc4x3_rc1::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWaterStratum -const IfcParse::entity& Ifc4x3_rc1::IfcWaterStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1294]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWaterStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1294]); } void Ifc4x3_rc1::IfcWaterStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcWindow @@ -16352,15 +16352,15 @@ void Ifc4x3_rc1::IfcWindow::setOverallHeight(const std::optional< double >& v) { std::optional< double > Ifc4x3_rc1::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc1::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc1::IfcWindowTypeEnum::Value > Ifc4x3_rc1::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc1::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value > Ifc4x3_rc1::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc1::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc1::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc1::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc1::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1295]); } -void Ifc4x3_rc1::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1295]); } +void Ifc4x3_rc1::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x3_rc1::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -16389,14 +16389,14 @@ std::optional< double > Ifc4x3_rc1::IfcWindowLiningProperties::LiningToPanelOffs void Ifc4x3_rc1::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1296]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1296]); } void Ifc4x3_rc1::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_rc1::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value Ifc4x3_rc1::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3_rc1::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc1::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc1::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value Ifc4x3_rc1::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc1::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc1::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc1::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc1::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_rc1::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -16405,42 +16405,42 @@ void Ifc4x3_rc1::IfcWindowPanelProperties::setFrameThickness(const std::optional void Ifc4x3_rc1::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x3_rc1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc1::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1299]); } -void Ifc4x3_rc1::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc1::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)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1299]); } +void Ifc4x3_rc1::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc1::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)); } // Function implementations for IfcWindowStandardCase -const IfcParse::entity& Ifc4x3_rc1::IfcWindowStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1300]); } -void Ifc4x3_rc1::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWindowStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1300]); } +void Ifc4x3_rc1::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowStyle ::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value Ifc4x3_rc1::IfcWindowStyle::ConstructionType() const { return ::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcWindowStyle::setConstructionType(const ::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc1::IfcWindowStyle::setConstructionType(const ::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value Ifc4x3_rc1::IfcWindowStyle::OperationType() const { return ::Ifc4x3_rc1::IfcWindowStyleOperationEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcWindowStyle::setOperationType(const ::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcWindowStyle::setOperationType(const ::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x3_rc1::IfcWindowStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x3_rc1::IfcWindowStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x3_rc1::IfcWindowStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x3_rc1::IfcWindowStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc1::IfcWindowStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1301]); } -void Ifc4x3_rc1::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWindowStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1301]); } +void Ifc4x3_rc1::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcWindowType ::Ifc4x3_rc1::IfcWindowTypeEnum::Value Ifc4x3_rc1::IfcWindowType::PredefinedType() const { return ::Ifc4x3_rc1::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc1::IfcWindowType::setPredefinedType(const ::Ifc4x3_rc1::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc1::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc1::IfcWindowType::setPredefinedType(const ::Ifc4x3_rc1::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value Ifc4x3_rc1::IfcWindowType::PartitioningType() const { return ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc1::IfcWindowType::setPartitioningType(const ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc1::IfcWindowType::setPartitioningType(const ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_rc1::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_rc1::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc1::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc1::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1304]); } -void Ifc4x3_rc1::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc1::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1304]); } +void Ifc4x3_rc1::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x3_rc1::IfcWorkTime > > Ifc4x3_rc1::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc1::IfcWorkTime>(es); } @@ -16448,11 +16448,11 @@ void Ifc4x3_rc1::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vect std::optional< std::vector< ::Ifc4x3_rc1::IfcWorkTime > > Ifc4x3_rc1::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc1::IfcWorkTime>(es); } void Ifc4x3_rc1::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x3_rc1::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value > Ifc4x3_rc1::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc1::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc1::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1307]); } -void Ifc4x3_rc1::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1307]); } +void Ifc4x3_rc1::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x3_rc1::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -16471,24 +16471,24 @@ std::optional< std::string > Ifc4x3_rc1::IfcWorkControl::FinishTime() const { if void Ifc4x3_rc1::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1309]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1309]); } void Ifc4x3_rc1::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value > Ifc4x3_rc1::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc1::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc1::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1310]); } -void Ifc4x3_rc1::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_rc1::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1310]); } +void Ifc4x3_rc1::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value > Ifc4x3_rc1::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc1::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc1::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1312]); } -void Ifc4x3_rc1::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_rc1::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1312]); } +void Ifc4x3_rc1::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x3_rc1::IfcRecurrencePattern Ifc4x3_rc1::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_rc1::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc1::IfcRecurrencePattern>(); } @@ -16499,8 +16499,8 @@ std::optional< std::string > Ifc4x3_rc1::IfcWorkTime::Finish() const { if(get_at void Ifc4x3_rc1::IfcWorkTime::setFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc1::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1314]); } -void Ifc4x3_rc1::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1314]); } +void Ifc4x3_rc1::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x3_rc1::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -16517,14 +16517,14 @@ std::optional< double > Ifc4x3_rc1::IfcZShapeProfileDef::EdgeRadius() const { if void Ifc4x3_rc1::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc1::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1316]); } -void Ifc4x3_rc1::IfcZShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc1::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1316]); } +void Ifc4x3_rc1::IfcZShapeProfileDef::initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x3_rc1::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc1::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc1::IfcZone::Class() { return *((IfcParse::entity*)IFC4X3_RC1_types[1315]); } +const ifcopenshell::entity& Ifc4x3_rc1::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC1_types[1315]); } void Ifc4x3_rc1::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x3_rc1.h b/src/ifcparse/schemas/Ifc4x3_rc1.h index f346ea3be0..27317d0c7c 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc1.h +++ b/src/ifcparse/schemas/Ifc4x3_rc1.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x3_rc1 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1121,7 +1121,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1145,7 +1145,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1171,7 +1171,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1264,7 +1264,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1705,7 +1705,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1725,7 +1725,7 @@ public: IfcFacilityPartTypeSelect() {} explicit IfcFacilityPartTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBridgePartTypeEnum as() const { return express::Base::as(); } @@ -1768,7 +1768,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1816,7 +1816,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1849,7 +1849,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1871,7 +1871,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1891,7 +1891,7 @@ public: IfcImpactProtectionDeviceTypeSelect() {} explicit IfcImpactProtectionDeviceTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcImpactProtectionDeviceTypeEnum as() const { return express::Base::as(); } @@ -1917,7 +1917,7 @@ public: IfcInterferenceSelect() {} explicit IfcInterferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -1943,7 +1943,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1972,7 +1972,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -2013,7 +2013,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -2033,7 +2033,7 @@ public: IfcLinearAxisSelect() {} explicit IfcLinearAxisSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -2078,7 +2078,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2112,7 +2112,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2269,7 +2269,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2981,7 +2981,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3003,7 +3003,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3025,7 +3025,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3047,7 +3047,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3115,7 +3115,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3142,7 +3142,7 @@ public: IfcPresentationStyleSelect() {} explicit IfcPresentationStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyle as() const { return express::Base::as(); } @@ -3189,7 +3189,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3209,7 +3209,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3237,7 +3237,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3257,7 +3257,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3279,7 +3279,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3397,7 +3397,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3419,7 +3419,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3439,7 +3439,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3469,7 +3469,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3507,7 +3507,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3610,7 +3610,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3660,7 +3660,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3691,7 +3691,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3711,7 +3711,7 @@ public: IfcSpatialReferenceSelect() {} explicit IfcSpatialReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3740,7 +3740,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3768,7 +3768,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3797,7 +3797,7 @@ public: IfcStyleAssignmentSelect() {} explicit IfcStyleAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPresentationStyle as() const { return express::Base::as(); } @@ -3825,7 +3825,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3859,7 +3859,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3903,7 +3903,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3924,7 +3924,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3946,7 +3946,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3966,7 +3966,7 @@ public: IfcTransportElementTypeSelect() {} explicit IfcTransportElementTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcTransportElementFixedTypeEnum as() const { return express::Base::as(); } @@ -3990,7 +3990,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -4022,7 +4022,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -4057,7 +4057,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4738,7 +4738,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4760,7 +4760,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4788,13 +4788,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4807,13 +4807,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_SNOW_S, IfcActionSourceType_WIND_W, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_FIRE, IfcActionSourceType_IMPULSE, IfcActionSourceType_IMPACT, IfcActionSourceType_TRANSPORT, IfcActionSourceType_ERECTION, IfcActionSourceType_PROPPING, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_CREEP, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_BUOYANCY, IfcActionSourceType_ICE, IfcActionSourceType_CURRENT, IfcActionSourceType_WAVE, IfcActionSourceType_RAIN, IfcActionSourceType_BRAKES, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4828,13 +4828,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_EXTRAORDINARY_A, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4858,13 +4858,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4883,13 +4883,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_HOME, IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4908,13 +4908,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4935,13 +4935,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4965,13 +4965,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4993,13 +4993,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_RAILWAYCROCODILE, IfcAlarmType_RAILWAYDETONATOR, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5008,13 +5008,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5028,13 +5028,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5049,13 +5049,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5064,13 +5064,13 @@ public: class IFC_PARSE_API IfcAnnotationTypeEnum : public express::DeclaredType { public: IfcAnnotationTypeEnum() {} - explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnnotationType_ASSUMEDPOINT, IfcAnnotationType_ASBUILTAREA, IfcAnnotationType_ASBUILTLINE, IfcAnnotationType_NON_PHYSICAL_SIGNAL, IfcAnnotationType_ASSUMEDLINE, IfcAnnotationType_WIDTHEVENT, IfcAnnotationType_ASSUMEDAREA, IfcAnnotationType_SUPERELEVATIONEVENT, IfcAnnotationType_ASBUILTPOINT, IfcAnnotationType_USERDEFINED, IfcAnnotationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5090,13 +5090,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5116,13 +5116,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_SITE, IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5144,13 +5144,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_RAILWAY_COMMUNICATION_TERMINAL, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5172,13 +5172,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5187,13 +5187,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5240,13 +5240,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_JOIST, IfcBeamType_HOLLOWCORE, IfcBeamType_LINTEL, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_GIRDER_SEGMENT, IfcBeamType_DIAPHRAGM, IfcBeamType_PIERCAP, IfcBeamType_HATSTONE, IfcBeamType_CORNICE, IfcBeamType_EDGEBEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5255,13 +5255,13 @@ public: class IFC_PARSE_API IfcBearingTypeDisplacementEnum : public express::DeclaredType { public: IfcBearingTypeDisplacementEnum() {} - explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingTypeDisplacement_FIXED_MOVEMENT, IfcBearingTypeDisplacement_GUIDED_LONGITUDINAL, IfcBearingTypeDisplacement_GUIDED_TRANSVERSAL, IfcBearingTypeDisplacement_FREE_MOVEMENT, IfcBearingTypeDisplacement_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5270,13 +5270,13 @@ public: class IFC_PARSE_API IfcBearingTypeEnum : public express::DeclaredType { public: IfcBearingTypeEnum() {} - explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingType_CYLINDRICAL, IfcBearingType_SPHERICAL, IfcBearingType_ELASTOMERIC, IfcBearingType_POT, IfcBearingType_GUIDE, IfcBearingType_ROCKER, IfcBearingType_ROLLER, IfcBearingType_DISK, IfcBearingType_USERDEFINED, IfcBearingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5324,13 +5324,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_EQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_INCLUDES, IfcBenchmark_NOTINCLUDES, IfcBenchmark_INCLUDEDIN, IfcBenchmark_NOTINCLUDEDIN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5347,13 +5347,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_WATER, IfcBoilerType_STEAM, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5370,13 +5370,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_UNION, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_DIFFERENCE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5385,13 +5385,13 @@ public: class IFC_PARSE_API IfcBridgePartTypeEnum : public express::DeclaredType { public: IfcBridgePartTypeEnum() {} - explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgePartType_ABUTMENT, IfcBridgePartType_DECK, IfcBridgePartType_DECK_SEGMENT, IfcBridgePartType_FOUNDATION, IfcBridgePartType_PIER, IfcBridgePartType_PIER_SEGMENT, IfcBridgePartType_PYLON, IfcBridgePartType_SUBSTRUCTURE, IfcBridgePartType_SUPERSTRUCTURE, IfcBridgePartType_SURFACESTRUCTURE, IfcBridgePartType_USERDEFINED, IfcBridgePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5400,13 +5400,13 @@ public: class IFC_PARSE_API IfcBridgeTypeEnum : public express::DeclaredType { public: IfcBridgeTypeEnum() {} - explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgeType_ARCHED, IfcBridgeType_CABLE_STAYED, IfcBridgeType_CANTILEVER, IfcBridgeType_CULVERT, IfcBridgeType_FRAMEWORK, IfcBridgeType_GIRDER, IfcBridgeType_SUSPENSION, IfcBridgeType_TRUSS, IfcBridgeType_USERDEFINED, IfcBridgeType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5422,13 +5422,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_APRON, IfcBuildingElementPartType_ARMOURUNIT, IfcBuildingElementPartType_SAFETYCAGE, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5447,13 +5447,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5475,13 +5475,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_REINFORCING, IfcBuildingSystemType_PRESTRESSING, IfcBuildingSystemType_EROSIONPREVENTION, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5490,13 +5490,13 @@ public: class IFC_PARSE_API IfcBuiltSystemTypeEnum : public express::DeclaredType { public: IfcBuiltSystemTypeEnum() {} - explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuiltSystemType_REINFORCING, IfcBuiltSystemType_MOORING, IfcBuiltSystemType_OUTERSHELL, IfcBuiltSystemType_TRACKCIRCUIT, IfcBuiltSystemType_EROSIONPREVENTION, IfcBuiltSystemType_FOUNDATION, IfcBuiltSystemType_LOADBEARING, IfcBuiltSystemType_SHADING, IfcBuiltSystemType_FENESTRATION, IfcBuiltSystemType_MOORINGSYSTEM, IfcBuiltSystemType_TRANSPORT, IfcBuiltSystemType_PRESTRESSING, IfcBuiltSystemType_USERDEFINED, IfcBuiltSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5511,13 +5511,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5535,13 +5535,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5559,13 +5559,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_CABLEBRACKET, IfcCableCarrierSegmentType_CATENARYWIRE, IfcCableCarrierSegmentType_DROPPER, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5584,13 +5584,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_FANOUT, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5610,13 +5610,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_CONTACTWIRESEGMENT, IfcCableSegmentType_FIBERSEGMENT, IfcCableSegmentType_FIBERTUBE, IfcCableSegmentType_OPTICALCABLESEGMENT, IfcCableSegmentType_STITCHWIRE, IfcCableSegmentType_WIREPAIRSEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5625,13 +5625,13 @@ public: class IFC_PARSE_API IfcCaissonFoundationTypeEnum : public express::DeclaredType { public: IfcCaissonFoundationTypeEnum() {} - explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCaissonFoundationType_WELL, IfcCaissonFoundationType_CAISSON, IfcCaissonFoundationType_USERDEFINED, IfcCaissonFoundationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5650,13 +5650,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_NOCHANGE, IfcChangeAction_MODIFIED, IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5674,13 +5674,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_WATERCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5698,13 +5698,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5734,13 +5734,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5762,13 +5762,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PILASTER, IfcColumnType_PIERSTEM, IfcColumnType_PIERSTEM_SEGMENT, IfcColumnType_STANDCOLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5792,13 +5792,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_AUTOMATON, IfcCommunicationsApplianceType_INTELLIGENT_PERIPHERAL, IfcCommunicationsApplianceType_IP_NETWORK_EQUIPMENT, IfcCommunicationsApplianceType_OPTICAL_NETWORK_UNIT, IfcCommunicationsApplianceType_TELECOMMAND, IfcCommunicationsApplianceType_TELEPHONYEXCHANGE, IfcCommunicationsApplianceType_TRANSITIONCOMPONENT, IfcCommunicationsApplianceType_TRANSPONDER, IfcCommunicationsApplianceType_TRANSPORTEQUIPMENT, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5814,13 +5814,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5850,13 +5850,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_DYNAMIC, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROTARY, IfcCompressorType_SCROLL, IfcCompressorType_TROCHOIDAL, IfcCompressorType_SINGLESTAGE, IfcCompressorType_BOOSTER, IfcCompressorType_OPENTYPE, IfcCompressorType_HERMETIC, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARYVANE, IfcCompressorType_SINGLESCREW, IfcCompressorType_TWINSCREW, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5877,13 +5877,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5911,13 +5911,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_ATEND, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5942,13 +5942,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_ADVISORY, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5970,13 +5970,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5999,13 +5999,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_NOTDEFINED, IfcConstructionMaterialResourceType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6021,13 +6021,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6049,13 +6049,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_MULTIPOSITION, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6064,13 +6064,13 @@ public: class IFC_PARSE_API IfcConveyorSegmentTypeEnum : public express::DeclaredType { public: IfcConveyorSegmentTypeEnum() {} - explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConveyorSegmentType_CHUTECONVEYOR, IfcConveyorSegmentType_BELTCONVEYOR, IfcConveyorSegmentType_SCREWCONVEYOR, IfcConveyorSegmentType_BUCKETCONVEYOR, IfcConveyorSegmentType_USERDEFINED, IfcConveyorSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6097,13 +6097,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6123,13 +6123,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6143,13 +6143,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6170,13 +6170,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_TENDER, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6185,13 +6185,13 @@ public: class IFC_PARSE_API IfcCourseTypeEnum : public express::DeclaredType { public: IfcCourseTypeEnum() {} - explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCourseType_ARMOUR, IfcCourseType_FILTER, IfcCourseType_BALLASTBED, IfcCourseType_CORE, IfcCourseType_PAVEMENT, IfcCourseType_PROTECTION, IfcCourseType_USERDEFINED, IfcCourseType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6242,13 +6242,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_FLOORING, IfcCoveringType_CLADDING, IfcCoveringType_ROOFING, IfcCoveringType_MOLDING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_SLEEVING, IfcCoveringType_WRAPPING, IfcCoveringType_COPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6264,13 +6264,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6287,13 +6287,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6318,13 +6318,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6349,13 +6349,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6371,13 +6371,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6442,13 +6442,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6464,13 +6464,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_POSITIVE, IfcDirectionSense_NEGATIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6487,13 +6487,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_EXPANSION_JOINT_DEVICE, IfcDiscreteAccessoryType_BIRDPROTECTION, IfcDiscreteAccessoryType_CABLEARRANGER, IfcDiscreteAccessoryType_INSULATOR, IfcDiscreteAccessoryType_LOCK, IfcDiscreteAccessoryType_TENSIONINGEQUIPMENT, IfcDiscreteAccessoryType_RAILPAD, IfcDiscreteAccessoryType_SLIDINGCHAIR, IfcDiscreteAccessoryType_PANEL_STRENGTHENING, IfcDiscreteAccessoryType_RAILBRACE, IfcDiscreteAccessoryType_ELASTIC_CUSHION, IfcDiscreteAccessoryType_SOUNDABSORPTION, IfcDiscreteAccessoryType_RAIL_LUBRICATION, IfcDiscreteAccessoryType_RAIL_MECHANICAL_EQUIPMENT, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6502,13 +6502,13 @@ public: class IFC_PARSE_API IfcDistributionBoardTypeEnum : public express::DeclaredType { public: IfcDistributionBoardTypeEnum() {} - explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionBoardType_SWITCHBOARD, IfcDistributionBoardType_CONSUMERUNIT, IfcDistributionBoardType_MOTORCONTROLCENTRE, IfcDistributionBoardType_DISTRIBUTIONFRAME, IfcDistributionBoardType_DISTRIBUTIONBOARD, IfcDistributionBoardType_USERDEFINED, IfcDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6532,13 +6532,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6547,13 +6547,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_WIRELESS, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6608,13 +6608,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_CATENARY_SYSTEM, IfcDistributionSystem_OVERHEAD_CONTACTLINE_SYSTEM, IfcDistributionSystem_RETURN_CIRCUIT, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6634,13 +6634,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6651,13 +6651,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6698,13 +6698,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6719,13 +6719,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6740,13 +6740,13 @@ public: class IFC_PARSE_API IfcDoorStyleConstructionEnum : public express::DeclaredType { public: IfcDoorStyleConstructionEnum() {} - explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleConstruction_ALUMINIUM, IfcDoorStyleConstruction_HIGH_GRADE_STEEL, IfcDoorStyleConstruction_STEEL, IfcDoorStyleConstruction_WOOD, IfcDoorStyleConstruction_ALUMINIUM_WOOD, IfcDoorStyleConstruction_ALUMINIUM_PLASTIC, IfcDoorStyleConstruction_PLASTIC, IfcDoorStyleConstruction_USERDEFINED, IfcDoorStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6923,13 +6923,13 @@ public: class IFC_PARSE_API IfcDoorStyleOperationEnum : public express::DeclaredType { public: IfcDoorStyleOperationEnum() {} - explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleOperation_SINGLE_SWING_LEFT, IfcDoorStyleOperation_SINGLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorStyleOperation_DOUBLE_SWING_LEFT, IfcDoorStyleOperation_DOUBLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorStyleOperation_SLIDING_TO_LEFT, IfcDoorStyleOperation_SLIDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING, IfcDoorStyleOperation_FOLDING_TO_LEFT, IfcDoorStyleOperation_FOLDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING, IfcDoorStyleOperation_REVOLVING, IfcDoorStyleOperation_ROLLINGUP, IfcDoorStyleOperation_USERDEFINED, IfcDoorStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6953,13 +6953,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_BOOM_BARRIER, IfcDoorType_TURNSTILE, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7147,13 +7147,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SLIDING, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_FOLDING, IfcDoorTypeOperation_REVOLVING, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7194,13 +7194,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7223,13 +7223,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7247,13 +7247,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7262,13 +7262,13 @@ public: class IFC_PARSE_API IfcEarthworksCutTypeEnum : public express::DeclaredType { public: IfcEarthworksCutTypeEnum() {} - explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksCutType_TRENCH, IfcEarthworksCutType_DREDGING, IfcEarthworksCutType_EXCAVATION, IfcEarthworksCutType_OVEREXCAVATION, IfcEarthworksCutType_TOPSOILREMOVAL, IfcEarthworksCutType_STEPEXCAVATION, IfcEarthworksCutType_PAVEMENTMILLING, IfcEarthworksCutType_CUT, IfcEarthworksCutType_BASE_EXCAVATION, IfcEarthworksCutType_USERDEFINED, IfcEarthworksCutType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7277,13 +7277,13 @@ public: class IFC_PARSE_API IfcEarthworksFillTypeEnum : public express::DeclaredType { public: IfcEarthworksFillTypeEnum() {} - explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksFillType_BACKFILL, IfcEarthworksFillType_COUNTERWEIGHT, IfcEarthworksFillType_SUBGRADE, IfcEarthworksFillType_EMBANKMENT, IfcEarthworksFillType_TRANSITIONSECTION, IfcEarthworksFillType_SUBGRADEBED, IfcEarthworksFillType_SLOPEFILL, IfcEarthworksFillType_USERDEFINED, IfcEarthworksFillType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7320,13 +7320,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7344,13 +7344,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7368,13 +7368,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_CAPACITOR, IfcElectricFlowStorageDeviceType_COMPENSATOR, IfcElectricFlowStorageDeviceType_INDUCTOR, IfcElectricFlowStorageDeviceType_RECHARGER, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7383,13 +7383,13 @@ public: class IFC_PARSE_API IfcElectricFlowTreatmentDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowTreatmentDeviceTypeEnum() {} - explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowTreatmentDeviceType_ELECTRONICFILTER, IfcElectricFlowTreatmentDeviceType_USERDEFINED, IfcElectricFlowTreatmentDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7407,13 +7407,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7432,13 +7432,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7455,13 +7455,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7488,13 +7488,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_ABUTMENT, IfcElementAssemblyType_PIER, IfcElementAssemblyType_PYLON, IfcElementAssemblyType_CROSS_BRACING, IfcElementAssemblyType_DECK, IfcElementAssemblyType_MAST, IfcElementAssemblyType_SIGNALASSEMBLY, IfcElementAssemblyType_GRID, IfcElementAssemblyType_SHELTER, IfcElementAssemblyType_SUPPORTINGASSEMBLY, IfcElementAssemblyType_SUSPENSIONASSEMBLY, IfcElementAssemblyType_TRACTION_SWITCHING_ASSEMBLY, IfcElementAssemblyType_TRACKPANEL, IfcElementAssemblyType_TURNOUTPANEL, IfcElementAssemblyType_DILATATIONPANEL, IfcElementAssemblyType_RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY, IfcElementAssemblyType_ENTRANCEWORKS, IfcElementAssemblyType_SUMPBUSTER, IfcElementAssemblyType_TRAFFIC_CALMING_DEVICE, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7514,13 +7514,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7536,13 +7536,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7566,13 +7566,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7593,13 +7593,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7619,13 +7619,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7644,13 +7644,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_STARTEVENT, IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7674,13 +7674,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7689,13 +7689,13 @@ public: class IFC_PARSE_API IfcFacilityPartCommonTypeEnum : public express::DeclaredType { public: IfcFacilityPartCommonTypeEnum() {} - explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityPartCommonType_SEGMENT, IfcFacilityPartCommonType_ABOVEGROUND, IfcFacilityPartCommonType_JUNCTION, IfcFacilityPartCommonType_LEVELCROSSING, IfcFacilityPartCommonType_BELOWGROUND, IfcFacilityPartCommonType_SUBSTRUCTURE, IfcFacilityPartCommonType_TERMINAL, IfcFacilityPartCommonType_SUPERSTRUCTURE, IfcFacilityPartCommonType_USERDEFINED, IfcFacilityPartCommonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7704,13 +7704,13 @@ public: class IFC_PARSE_API IfcFacilityUsageEnum : public express::DeclaredType { public: IfcFacilityUsageEnum() {} - explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityUsage_LATERAL, IfcFacilityUsage_REGION, IfcFacilityUsage_VERTICAL, IfcFacilityUsage_LONGITUDINAL, IfcFacilityUsage_USERDEFINED, IfcFacilityUsage_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7732,13 +7732,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7755,13 +7755,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7782,13 +7782,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7809,13 +7809,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7831,13 +7831,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SOURCE, IfcFlowDirection_SINK, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7861,13 +7861,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_COMBINED, IfcFlowInstrumentType_VOLTMETER, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7890,13 +7890,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7918,13 +7918,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7945,13 +7945,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_CHAIR, IfcFurnitureType_TABLE, IfcFurnitureType_DESK, IfcFurnitureType_BED, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_TECHNICALCABINET, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7960,13 +7960,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_TERRAIN, IfcGeographicElementType_SOIL_BORING_POINT, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8015,13 +8015,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8035,13 +8035,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8050,13 +8050,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_RECTANGULAR, IfcGridType_RADIAL, IfcGridType_TRIANGULAR, IfcGridType_IRREGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8073,13 +8073,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_TURNOUTHEATING, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8107,13 +8107,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8122,13 +8122,13 @@ public: class IFC_PARSE_API IfcImpactProtectionDeviceTypeEnum : public express::DeclaredType { public: IfcImpactProtectionDeviceTypeEnum() {} - explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcImpactProtectionDeviceType_CRASHCUSHION, IfcImpactProtectionDeviceType_DAMPINGSYSTEM, IfcImpactProtectionDeviceType_FENDER, IfcImpactProtectionDeviceType_BUMPER, IfcImpactProtectionDeviceType_USERDEFINED, IfcImpactProtectionDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8146,13 +8146,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8215,13 +8215,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8238,13 +8238,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8259,13 +8259,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8274,13 +8274,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_UNIFORM_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8312,13 +8312,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8343,13 +8343,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8366,13 +8366,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8394,13 +8394,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8425,13 +8425,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8450,13 +8450,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8465,13 +8465,13 @@ public: class IFC_PARSE_API IfcLiquidTerminalTypeEnum : public express::DeclaredType { public: IfcLiquidTerminalTypeEnum() {} - explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLiquidTerminalType_LOADINGARM, IfcLiquidTerminalType_HOSEREEL, IfcLiquidTerminalType_USERDEFINED, IfcLiquidTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8500,13 +8500,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8758,13 +8758,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8773,13 +8773,13 @@ public: class IFC_PARSE_API IfcMarineFacilityTypeEnum : public express::DeclaredType { public: IfcMarineFacilityTypeEnum() {} - explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarineFacilityType_CANAL, IfcMarineFacilityType_WATERWAYSHIPLIFT, IfcMarineFacilityType_EMBANKMENT, IfcMarineFacilityType_LAUNCHRECOVERY, IfcMarineFacilityType_MARINEDEFENCE, IfcMarineFacilityType_HYDROLIFT, IfcMarineFacilityType_SHIPYARD, IfcMarineFacilityType_SHIPLIFT, IfcMarineFacilityType_PORT, IfcMarineFacilityType_QUAY, IfcMarineFacilityType_FLOATINGDOCK, IfcMarineFacilityType_NAVIGATIONALCHANNEL, IfcMarineFacilityType_BREAKWATER, IfcMarineFacilityType_DRYDOCK, IfcMarineFacilityType_JETTY, IfcMarineFacilityType_SHIPLOCK, IfcMarineFacilityType_BARRIERBEACH, IfcMarineFacilityType_SLIPWAY, IfcMarineFacilityType_WATERWAY, IfcMarineFacilityType_USERDEFINED, IfcMarineFacilityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8788,13 +8788,13 @@ public: class IFC_PARSE_API IfcMarinePartTypeEnum : public express::DeclaredType { public: IfcMarinePartTypeEnum() {} - explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarinePartType_CREST, IfcMarinePartType_MANUFACTURING, IfcMarinePartType_LOWWATERLINE, IfcMarinePartType_CORE, IfcMarinePartType_WATERFIELD, IfcMarinePartType_CILL_LEVEL, IfcMarinePartType_BERTHINGSTRUCTURE, IfcMarinePartType_COPELEVEL, IfcMarinePartType_CHAMBER, IfcMarinePartType_STORAGE, IfcMarinePartType_APPROACHCHANNEL, IfcMarinePartType_VEHICLESERVICING, IfcMarinePartType_SHIPTRANSFER, IfcMarinePartType_GATEHEAD, IfcMarinePartType_GUDINGSTRUCTURE, IfcMarinePartType_BELOWWATERLINE, IfcMarinePartType_WEATHERSIDE, IfcMarinePartType_LANDFIELD, IfcMarinePartType_PROTECTION, IfcMarinePartType_LEEWARDSIDE, IfcMarinePartType_ABOVEWATERLINE, IfcMarinePartType_ANCHORAGE, IfcMarinePartType_NAVIGATIONALAREA, IfcMarinePartType_HIGHWATERLINE, IfcMarinePartType_USERDEFINED, IfcMarinePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8819,13 +8819,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_COUPLER, IfcMechanicalFastenerType_RAILJOINT, IfcMechanicalFastenerType_RAILFASTENING, IfcMechanicalFastenerType_CHAIN, IfcMechanicalFastenerType_ROPE, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8846,13 +8846,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8903,13 +8903,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STRINGER, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_STIFFENING_RIB, IfcMemberType_ARCH_SEGMENT, IfcMemberType_SUSPENSION_CABLE, IfcMemberType_SUSPENDER, IfcMemberType_STAY_CABLE, IfcMemberType_STRUCTURALCABLE, IfcMemberType_TIEBAR, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8918,13 +8918,13 @@ public: class IFC_PARSE_API IfcMobileTelecommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcMobileTelecommunicationsApplianceTypeEnum() {} - explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMobileTelecommunicationsApplianceType_E_UTRAN_NODE_B, IfcMobileTelecommunicationsApplianceType_REMOTE_RADIO_UNIT, IfcMobileTelecommunicationsApplianceType_ACCESSPOINT, IfcMobileTelecommunicationsApplianceType_BASETRANSCEIVERSTATION, IfcMobileTelecommunicationsApplianceType_REMOTEUNIT, IfcMobileTelecommunicationsApplianceType_BASEBANDUNIT, IfcMobileTelecommunicationsApplianceType_MASTERUNIT, IfcMobileTelecommunicationsApplianceType_USERDEFINED, IfcMobileTelecommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8933,13 +8933,13 @@ public: class IFC_PARSE_API IfcMooringDeviceTypeEnum : public express::DeclaredType { public: IfcMooringDeviceTypeEnum() {} - explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMooringDeviceType_LINETENSIONER, IfcMooringDeviceType_MAGNETICDEVICE, IfcMooringDeviceType_MOORINGHOOKS, IfcMooringDeviceType_VACUUMDEVICE, IfcMooringDeviceType_BOLLARD, IfcMooringDeviceType_USERDEFINED, IfcMooringDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8956,13 +8956,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8971,13 +8971,13 @@ public: class IFC_PARSE_API IfcNavigationElementTypeEnum : public express::DeclaredType { public: IfcNavigationElementTypeEnum() {} - explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNavigationElementType_BEACON, IfcNavigationElementType_BUOY, IfcNavigationElementType_USERDEFINED, IfcNavigationElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8993,13 +8993,13 @@ public: class IFC_PARSE_API IfcNullStyle : public express::DeclaredType { public: IfcNullStyle() {} - explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNullStyle_NULL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9010,13 +9010,13 @@ public: class IFC_PARSE_API IfcObjectTypeEnum : public express::DeclaredType { public: IfcObjectTypeEnum() {} - explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjectType_PRODUCT, IfcObjectType_PROCESS, IfcObjectType_CONTROL, IfcObjectType_RESOURCE, IfcObjectType_ACTOR, IfcObjectType_GROUP, IfcObjectType_PROJECT, IfcObjectType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9053,13 +9053,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9080,13 +9080,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9114,13 +9114,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9141,13 +9141,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9161,13 +9161,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9197,13 +9197,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9220,13 +9220,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9257,13 +9257,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9293,13 +9293,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9320,13 +9320,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_DRIVEN, IfcPileType_JETGROUTING, IfcPileType_COHESION, IfcPileType_FRICTION, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9365,13 +9365,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9394,13 +9394,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9426,13 +9426,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_CURTAIN_PANEL, IfcPlateType_SHEET, IfcPlateType_FLANGE_PLATE, IfcPlateType_WEB_PLATE, IfcPlateType_STIFFENER_PLATE, IfcPlateType_GUSSET_PLATE, IfcPlateType_COVER_PLATE, IfcPlateType_SPLICE_PLATE, IfcPlateType_BASE_PLATE, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9441,13 +9441,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9469,13 +9469,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9491,13 +9491,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_CURVE, IfcProfileType_AREA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9516,13 +9516,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9536,13 +9536,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9562,13 +9562,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_BLISTER, IfcProjectionElementType_DEVIATOR, IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9614,13 +9614,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9635,13 +9635,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9664,13 +9664,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_ANTI_ARCING_DEVICE, IfcProtectiveDeviceType_SPARKGAP, IfcProtectiveDeviceType_VOLTAGELIMITER, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9706,13 +9706,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9721,13 +9721,13 @@ public: class IFC_PARSE_API IfcRailTypeEnum : public express::DeclaredType { public: IfcRailTypeEnum() {} - explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailType_RACKRAIL, IfcRailType_BLADE, IfcRailType_GUARDRAIL, IfcRailType_STOCKRAIL, IfcRailType_CHECKRAIL, IfcRailType_RAIL, IfcRailType_USERDEFINED, IfcRailType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9755,13 +9755,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_HANDRAIL, IfcRailingType_GUARDRAIL, IfcRailingType_BALUSTRADE, IfcRailingType_FENCE, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9770,13 +9770,13 @@ public: class IFC_PARSE_API IfcRailwayPartTypeEnum : public express::DeclaredType { public: IfcRailwayPartTypeEnum() {} - explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayPartType_TRACKSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTUREPART, IfcRailwayPartType_LINESIDESTRUCTUREPART, IfcRailwayPartType_DILATATIONSUPERSTRUCTURE, IfcRailwayPartType_PLAINTRACKSUPESTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTURE, IfcRailwayPartType_SUPERSTRUCTURE, IfcRailwayPartType_TURNOUTSUPERSTRUCTURE, IfcRailwayPartType_USERDEFINED, IfcRailwayPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9795,13 +9795,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_STRAIGHT, IfcRampFlightType_SPIRAL, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9857,13 +9857,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_HALF_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9892,13 +9892,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_DAILY, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9907,13 +9907,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_KILOPOINT, IfcReferentType_MILEPOINT, IfcReferentType_STATION, IfcReferentType_REFERENCEMARKER, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9937,13 +9937,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9952,13 +9952,13 @@ public: class IFC_PARSE_API IfcReinforcedSoilTypeEnum : public express::DeclaredType { public: IfcReinforcedSoilTypeEnum() {} - explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcedSoilType_SURCHARGEPRELOADED, IfcReinforcedSoilType_VERTICALLYDRAINED, IfcReinforcedSoilType_DYNAMICALLYCOMPACTED, IfcReinforcedSoilType_REPLACED, IfcReinforcedSoilType_ROLLERCOMPACTED, IfcReinforcedSoilType_GROUTED, IfcReinforcedSoilType_USERDEFINED, IfcReinforcedSoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9985,13 +9985,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10008,13 +10008,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10023,13 +10023,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_SPACEBAR, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10038,13 +10038,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10053,13 +10053,13 @@ public: class IFC_PARSE_API IfcRoadPartTypeEnum : public express::DeclaredType { public: IfcRoadPartTypeEnum() {} - explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadPartType_ROADSIDEPART, IfcRoadPartType_BUS_STOP, IfcRoadPartType_HARDSHOULDER, IfcRoadPartType_INTERSECTION, IfcRoadPartType_PASSINGBAY, IfcRoadPartType_ROADWAYPLATEAU, IfcRoadPartType_ROADSIDE, IfcRoadPartType_REFUGEISLAND, IfcRoadPartType_TOLLPLAZA, IfcRoadPartType_CENTRALRESERVE, IfcRoadPartType_SIDEWALK, IfcRoadPartType_PARKINGBAY, IfcRoadPartType_RAILWAYCROSSING, IfcRoadPartType_PEDESTRIAN_CROSSING, IfcRoadPartType_SOFTSHOULDER, IfcRoadPartType_BICYCLECROSSING, IfcRoadPartType_CENTRALISLAND, IfcRoadPartType_SHOULDER, IfcRoadPartType_TRAFFICLANE, IfcRoadPartType_ROADSEGMENT, IfcRoadPartType_ROUNDABOUT, IfcRoadPartType_LAYBY, IfcRoadPartType_CARRIAGEWAY, IfcRoadPartType_TRAFFICISLAND, IfcRoadPartType_USERDEFINED, IfcRoadPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10096,13 +10096,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_SUPPLIER, IfcRole_MANUFACTURER, IfcRole_CONTRACTOR, IfcRole_SUBCONTRACTOR, IfcRole_ARCHITECT, IfcRole_STRUCTURALENGINEER, IfcRole_COSTENGINEER, IfcRole_CLIENT, IfcRole_BUILDINGOWNER, IfcRole_BUILDINGOPERATOR, IfcRole_MECHANICALENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_PROJECTMANAGER, IfcRole_FACILITIESMANAGER, IfcRole_CIVILENGINEER, IfcRole_COMMISSIONINGENGINEER, IfcRole_ENGINEER, IfcRole_OWNER, IfcRole_CONSULTANT, IfcRole_CONSTRUCTIONMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_RESELLER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10176,13 +10176,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_FLAT_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_BARREL_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FREEFORM, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10217,13 +10217,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_EXA, IfcSIPrefix_PETA, IfcSIPrefix_TERA, IfcSIPrefix_GIGA, IfcSIPrefix_MEGA, IfcSIPrefix_KILO, IfcSIPrefix_HECTO, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_CENTI, IfcSIPrefix_MILLI, IfcSIPrefix_MICRO, IfcSIPrefix_NANO, IfcSIPrefix_PICO, IfcSIPrefix_FEMTO, IfcSIPrefix_ATTO} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10270,13 +10270,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10303,13 +10303,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10327,13 +10327,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_UNIFORM, IfcSectionType_TAPERED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10369,13 +10369,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_COSENSOR, IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_EARTHQUAKESENSOR, IfcSensorType_FOREIGNOBJECTDETECTIONSENSOR, IfcSensorType_OBSTACLESENSOR, IfcSensorType_RAINSENSOR, IfcSensorType_SNOWDEPTHSENSOR, IfcSensorType_TRAINSENSOR, IfcSensorType_TURNOUTCLOSURESENSOR, IfcSensorType_WHEELSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10388,13 +10388,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_START_START, IfcSequence_START_FINISH, IfcSequence_FINISH_START, IfcSequence_FINISH_FINISH, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10412,13 +10412,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_AWNING, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10427,13 +10427,13 @@ public: class IFC_PARSE_API IfcSignTypeEnum : public express::DeclaredType { public: IfcSignTypeEnum() {} - explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignType_MARKER, IfcSignType_PICTORAL, IfcSignType_MIRROR, IfcSignType_USERDEFINED, IfcSignType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10442,13 +10442,13 @@ public: class IFC_PARSE_API IfcSignalTypeEnum : public express::DeclaredType { public: IfcSignalTypeEnum() {} - explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignalType_VISUAL, IfcSignalType_AUDIO, IfcSignalType_MIXED, IfcSignalType_USERDEFINED, IfcSignalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10474,13 +10474,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_WEIGHT, IfcSimplePropertyTemplateType_Q_TIME} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10520,13 +10520,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_FLOOR, IfcSlabType_ROOF, IfcSlabType_LANDING, IfcSlabType_BASESLAB, IfcSlabType_APPROACH_SLAB, IfcSlabType_PAVING, IfcSlabType_WEARING, IfcSlabType_SIDEWALK, IfcSlabType_TRACKSLAB, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10543,13 +10543,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10569,13 +10569,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10618,13 +10618,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_SPACE, IfcSpaceType_PARKING, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_EXTERNAL, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10657,13 +10657,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_RESERVATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10680,13 +10680,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10709,13 +10709,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_SPIRAL, IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10816,13 +10816,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_CURVED_RUN_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_LADDER, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10843,13 +10843,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_READWRITE, IfcState_READONLY, IfcState_LOCKED, IfcState_READWRITELOCKED, IfcState_READONLYLOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10872,13 +10872,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10904,13 +10904,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10930,13 +10930,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10958,13 +10958,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10980,13 +10980,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11005,13 +11005,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_DEFECT, IfcSurfaceFeatureType_HATCHMARKING, IfcSurfaceFeatureType_LINEMARKING, IfcSurfaceFeatureType_PAVEMENTSURFACEMARKING, IfcSurfaceFeatureType_SYMBOLMARKING, IfcSurfaceFeatureType_NONSKIDSURFACING, IfcSurfaceFeatureType_RUMBLESTRIP, IfcSurfaceFeatureType_TRANSVERSERUMBLESTRIP, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11030,13 +11030,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_POSITIVE, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_BOTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11060,13 +11060,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_RELAY, IfcSwitchingDeviceType_START_AND_STOP_EQUIPMENT, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11082,13 +11082,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_SUBRACK, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11119,13 +11119,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_OILRETENTIONTRAY, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11140,13 +11140,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11172,13 +11172,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ATTENDANCE, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11187,13 +11187,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11202,13 +11202,13 @@ public: class IFC_PARSE_API IfcTendonConduitTypeEnum : public express::DeclaredType { public: IfcTendonConduitTypeEnum() {} - explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonConduitType_DUCT, IfcTendonConduitType_COUPLER, IfcTendonConduitType_GROUTING_DUCT, IfcTendonConduitType_TRUMPET, IfcTendonConduitType_DIABOLO, IfcTendonConduitType_USERDEFINED, IfcTendonConduitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11217,13 +11217,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11238,13 +11238,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP, IfcTextPath_DOWN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11263,13 +11263,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11278,13 +11278,13 @@ public: class IFC_PARSE_API IfcTrackElementTypeEnum : public express::DeclaredType { public: IfcTrackElementTypeEnum() {} - explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrackElementType_TRACKENDOFALIGNMENT, IfcTrackElementType_BLOCKINGDEVICE, IfcTrackElementType_VEHICLESTOP, IfcTrackElementType_SLEEPER, IfcTrackElementType_HALF_SET_OF_BLADES, IfcTrackElementType_SPEEDREGULATOR, IfcTrackElementType_DERAILER, IfcTrackElementType_FROG, IfcTrackElementType_USERDEFINED, IfcTrackElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11303,13 +11303,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_CHOPPER, IfcTransformerType_COMBINED, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11333,13 +11333,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_DISCONTINUOUS, IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11348,13 +11348,13 @@ public: class IFC_PARSE_API IfcTransitionCurveType : public express::DeclaredType { public: IfcTransitionCurveType() {} - explicit IfcTransitionCurveType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCurveType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCurveType_BIQUADRATICPARABOLA, IfcTransitionCurveType_BLOSSCURVE, IfcTransitionCurveType_CLOTHOIDCURVE, IfcTransitionCurveType_COSINECURVE, IfcTransitionCurveType_CUBICPARABOLA, IfcTransitionCurveType_SINECURVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11363,13 +11363,13 @@ public: class IFC_PARSE_API IfcTransportElementFixedTypeEnum : public express::DeclaredType { public: IfcTransportElementFixedTypeEnum() {} - explicit IfcTransportElementFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementFixedType_ELEVATOR, IfcTransportElementFixedType_ESCALATOR, IfcTransportElementFixedType_MOVINGWALKWAY, IfcTransportElementFixedType_CRANEWAY, IfcTransportElementFixedType_LIFTINGGEAR, IfcTransportElementFixedType_USERDEFINED, IfcTransportElementFixedType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11378,13 +11378,13 @@ public: class IFC_PARSE_API IfcTransportElementNonFixedTypeEnum : public express::DeclaredType { public: IfcTransportElementNonFixedTypeEnum() {} - explicit IfcTransportElementNonFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementNonFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementNonFixedType_VEHICLE, IfcTransportElementNonFixedType_VEHICLETRACKED, IfcTransportElementNonFixedType_ROLLINGSTOCK, IfcTransportElementNonFixedType_VEHICLEWHEELED, IfcTransportElementNonFixedType_VEHICLEAIR, IfcTransportElementNonFixedType_CARGO, IfcTransportElementNonFixedType_VEHICLEMARINE, IfcTransportElementNonFixedType_USERDEFINED, IfcTransportElementNonFixedType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11403,13 +11403,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11425,13 +11425,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11475,13 +11475,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11505,13 +11505,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_COMBINED, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11531,13 +11531,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11588,13 +11588,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DRAWOFFCOCK, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11603,13 +11603,13 @@ public: class IFC_PARSE_API IfcVibrationDamperTypeEnum : public express::DeclaredType { public: IfcVibrationDamperTypeEnum() {} - explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationDamperType_BENDING_YIELD, IfcVibrationDamperType_SHEAR_YIELD, IfcVibrationDamperType_AXIAL_YIELD, IfcVibrationDamperType_FRICTION, IfcVibrationDamperType_VISCOUS, IfcVibrationDamperType_RUBBER, IfcVibrationDamperType_USERDEFINED, IfcVibrationDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11626,13 +11626,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_BASE, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11654,13 +11654,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11705,13 +11705,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_POLYGONAL, IfcWallType_ELEMENTEDWALL, IfcWallType_RETAININGWALL, IfcWallType_WAVEWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11733,13 +11733,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11831,13 +11831,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11909,13 +11909,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11930,13 +11930,13 @@ public: class IFC_PARSE_API IfcWindowStyleConstructionEnum : public express::DeclaredType { public: IfcWindowStyleConstructionEnum() {} - explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleConstruction_ALUMINIUM, IfcWindowStyleConstruction_HIGH_GRADE_STEEL, IfcWindowStyleConstruction_STEEL, IfcWindowStyleConstruction_WOOD, IfcWindowStyleConstruction_ALUMINIUM_WOOD, IfcWindowStyleConstruction_PLASTIC, IfcWindowStyleConstruction_OTHER_CONSTRUCTION, IfcWindowStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12018,13 +12018,13 @@ public: class IFC_PARSE_API IfcWindowStyleOperationEnum : public express::DeclaredType { public: IfcWindowStyleOperationEnum() {} - explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleOperation_SINGLE_PANEL, IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL, IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL, IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM, IfcWindowStyleOperation_TRIPLE_PANEL_TOP, IfcWindowStyleOperation_TRIPLE_PANEL_LEFT, IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT, IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_USERDEFINED, IfcWindowStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12048,13 +12048,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_WINDOW, IfcWindowType_SKYLIGHT, IfcWindowType_LIGHTDOME, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12133,13 +12133,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12158,13 +12158,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12183,13 +12183,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12208,13 +12208,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12227,9 +12227,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12241,9 +12241,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12258,9 +12258,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12272,9 +12272,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12282,9 +12282,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -12292,9 +12292,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12308,9 +12308,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12318,9 +12318,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -12332,9 +12332,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -12384,9 +12384,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12404,9 +12404,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -12461,9 +12461,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -12476,9 +12476,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12491,9 +12491,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12507,9 +12507,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12522,9 +12522,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12549,9 +12549,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12570,9 +12570,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12613,9 +12613,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12628,9 +12628,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12644,9 +12644,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12658,9 +12658,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12672,9 +12672,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12687,9 +12687,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12701,9 +12701,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12715,9 +12715,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12729,9 +12729,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12745,9 +12745,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12759,9 +12759,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12773,9 +12773,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12787,9 +12787,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12810,9 +12810,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12831,9 +12831,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12863,9 +12863,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12877,9 +12877,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12891,9 +12891,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12913,9 +12913,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12927,9 +12927,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12939,9 +12939,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12962,9 +12962,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12976,9 +12976,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12990,9 +12990,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13006,9 +13006,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13022,9 +13022,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13034,9 +13034,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13048,9 +13048,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13062,9 +13062,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13085,9 +13085,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13104,9 +13104,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13120,9 +13120,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13130,9 +13130,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -13144,9 +13144,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13158,9 +13158,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13172,9 +13172,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13186,9 +13186,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13200,9 +13200,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -13214,9 +13214,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13230,9 +13230,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13246,9 +13246,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13260,9 +13260,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13274,9 +13274,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13288,9 +13288,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13302,9 +13302,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13318,9 +13318,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13334,9 +13334,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13348,9 +13348,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13362,9 +13362,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13376,9 +13376,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13394,9 +13394,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13408,9 +13408,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13422,9 +13422,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13436,9 +13436,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13449,9 +13449,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13514,9 +13514,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13528,9 +13528,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13543,9 +13543,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13555,9 +13555,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13571,9 +13571,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13585,9 +13585,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13605,9 +13605,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13615,9 +13615,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13630,9 +13630,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13645,9 +13645,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13659,9 +13659,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13677,9 +13677,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13691,9 +13691,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13701,9 +13701,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition >() const; }; @@ -13715,9 +13715,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13734,9 +13734,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13750,9 +13750,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13764,9 +13764,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13779,9 +13779,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13793,9 +13793,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13807,9 +13807,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13821,9 +13821,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13835,9 +13835,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13851,9 +13851,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13861,9 +13861,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13875,9 +13875,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13885,9 +13885,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13899,9 +13899,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13913,9 +13913,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13929,9 +13929,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13947,9 +13947,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13961,9 +13961,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13975,9 +13975,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13995,9 +13995,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14014,9 +14014,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14036,9 +14036,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14064,9 +14064,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14083,9 +14083,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14097,9 +14097,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14111,9 +14111,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14124,9 +14124,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14137,9 +14137,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14151,9 +14151,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14167,9 +14167,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14184,9 +14184,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14200,9 +14200,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14213,9 +14213,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -14227,9 +14227,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14243,9 +14243,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14257,9 +14257,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14273,9 +14273,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14287,9 +14287,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14301,9 +14301,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14315,9 +14315,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14349,9 +14349,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14363,9 +14363,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14378,9 +14378,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14399,7 +14399,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -14416,7 +14416,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -14427,7 +14427,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > Purpose() const; @@ -14444,7 +14444,7 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -14453,7 +14453,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x3_rc1::IfcOrganization ApplicationDeveloper() const; @@ -14468,7 +14468,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -14488,7 +14488,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -14526,7 +14526,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -14537,7 +14537,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -14578,7 +14578,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_rc1::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_rc1::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -14599,13 +14599,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14621,7 +14621,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc1::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14642,7 +14642,7 @@ public: ::Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_rc1::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_rc1::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_rc1::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14658,7 +14658,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14670,7 +14670,7 @@ public: ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_rc1::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14686,7 +14686,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14707,7 +14707,7 @@ public: ::Ifc4x3_rc1::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x3_rc1::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14722,13 +14722,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x3_rc1::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x3_rc1::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_rc1::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14748,10 +14748,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14773,7 +14773,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc1::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14782,7 +14782,7 @@ public: ::Ifc4x3_rc1::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x3_rc1::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc1::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14796,7 +14796,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc1::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14805,7 +14805,7 @@ public: ::Ifc4x3_rc1::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x3_rc1::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_rc1::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14817,7 +14817,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x3_rc1::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14826,7 +14826,7 @@ public: ::Ifc4x3_rc1::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x3_rc1::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_rc1::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14844,7 +14844,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14873,7 +14873,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14925,7 +14925,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x3_rc1::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14934,7 +14934,7 @@ public: ::Ifc4x3_rc1::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x3_rc1::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc1::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14962,7 +14962,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -14986,7 +14986,7 @@ public: void setVerticalDatum(const std::optional< std::string >& v); std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -15034,10 +15034,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -15050,7 +15050,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x3_rc1::IfcDerivedUnitElement > Elements() const; @@ -15061,7 +15061,7 @@ public: std::optional< std::string > UserDefinedType() const; void setUserDefinedType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -15076,7 +15076,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x3_rc1::IfcNamedUnit Unit() const; @@ -15085,7 +15085,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -15108,7 +15108,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -15132,7 +15132,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -15144,10 +15144,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -15162,7 +15162,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -15185,7 +15185,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -15199,10 +15199,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -15215,10 +15215,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -15231,10 +15231,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -15263,7 +15263,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -15279,7 +15279,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_rc1::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -15288,7 +15288,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -15297,7 +15297,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_rc1::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_rc1::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -15311,7 +15311,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -15337,7 +15337,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_rc1::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -15350,7 +15350,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -15367,7 +15367,7 @@ public: void setReferencedLibrary(const ::Ifc4x3_rc1::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_rc1::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -15388,7 +15388,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -15402,7 +15402,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -15411,7 +15411,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -15420,7 +15420,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x3_rc1::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc1::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -15437,7 +15437,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -15465,7 +15465,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -15476,7 +15476,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x3_rc1::IfcClassificationSelect > MaterialClassifications() const; @@ -15485,7 +15485,7 @@ public: ::Ifc4x3_rc1::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x3_rc1::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_rc1::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -15515,13 +15515,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -15550,7 +15550,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x3_rc1::IfcMaterial Material() const; @@ -15583,7 +15583,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15622,7 +15622,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x3_rc1::IfcMaterialLayer > MaterialLayers() const; @@ -15636,7 +15636,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15685,7 +15685,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15694,7 +15694,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15717,13 +15717,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x3_rc1::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x3_rc1::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15734,7 +15734,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15756,7 +15756,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMaterial v3_Material, ::Ifc4x3_rc1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15767,7 +15767,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15785,7 +15785,7 @@ public: ::Ifc4x3_rc1::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x3_rc1::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_rc1::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15796,13 +15796,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMaterial v3_Material, ::Ifc4x3_rc1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15839,11 +15839,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15859,7 +15859,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x3_rc1::IfcValue ValueComponent() const; @@ -15868,7 +15868,7 @@ public: ::Ifc4x3_rc1::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x3_rc1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcValue v1_ValueComponent, ::Ifc4x3_rc1::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15926,7 +15926,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x3_rc1::IfcBenchmarkEnum::Value Benchmark() const; @@ -15940,7 +15940,7 @@ public: ::Ifc4x3_rc1::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_rc1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc1::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15951,13 +15951,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15968,7 +15968,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x3_rc1::IfcDimensionalExponents Dimensions() const; @@ -15977,7 +15977,7 @@ public: ::Ifc4x3_rc1::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x3_rc1::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -15994,13 +15994,13 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc4x3_rc1::IfcObjectPlacement PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x3_rc1::IfcObjectPlacement& v); std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -16015,7 +16015,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x3_rc1::IfcConstraint > > BenchmarkValues() const; @@ -16029,7 +16029,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -16043,7 +16043,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -16065,7 +16065,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_rc1::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -16081,7 +16081,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x3_rc1::IfcPersonAndOrganization OwningUser() const; @@ -16108,7 +16108,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -16123,7 +16123,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -16157,7 +16157,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x3_rc1::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_rc1::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -16168,7 +16168,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x3_rc1::IfcPerson ThePerson() const; @@ -16180,7 +16180,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcPerson v1_ThePerson, ::Ifc4x3_rc1::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_rc1::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -16191,7 +16191,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -16202,7 +16202,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -16217,13 +16217,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x3_rc1::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_rc1::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -16232,7 +16232,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -16262,17 +16262,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -16293,7 +16293,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -16308,7 +16308,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -16327,7 +16327,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -16346,7 +16346,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x3_rc1::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_rc1::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -16357,13 +16357,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The presentation style assignment is a set of styles which are assigned to styled items for the purpose of presenting these styled items. @@ -16374,13 +16374,13 @@ public: class IFC_PARSE_API IfcPresentationStyleAssignment : public express::Entity { public: IfcPresentationStyleAssignment() {} - explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// A set of presentation styles that are assigned to styled items. std::vector< ::Ifc4x3_rc1::IfcPresentationStyleSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3_rc1::IfcPresentationStyleSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcPresentationStyleSelect > v1_Styles); }; /// IfcProductRepresentation defines a representation of a @@ -16403,7 +16403,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -16415,7 +16415,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x3_rc1::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -16591,7 +16591,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x3_rc1::IfcProfileTypeEnum::Value ProfileType() const; @@ -16602,7 +16602,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16631,7 +16631,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} /// Name by which the map projection is identified. /// @@ -16650,18 +16650,18 @@ public: ::Ifc4x3_rc1::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x3_rc1::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_rc1::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16713,7 +16713,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16725,7 +16725,7 @@ public: ::Ifc4x3_rc1::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x3_rc1::IfcValue > v2_EnumerationValues, ::Ifc4x3_rc1::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16736,7 +16736,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16747,7 +16747,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16758,7 +16758,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. double CountValue() const; @@ -16769,7 +16769,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16780,7 +16780,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16791,7 +16791,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16802,7 +16802,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16813,7 +16813,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16824,7 +16824,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16835,7 +16835,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16846,7 +16846,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16857,7 +16857,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16869,7 +16869,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16909,14 +16909,14 @@ public: std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc1::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16929,7 +16929,7 @@ public: ::Ifc4x3_rc1::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_rc1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc1::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16981,7 +16981,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x3_rc1::IfcRepresentationContext ContextOfItems() const; @@ -17000,7 +17000,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -17016,7 +17016,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -17026,7 +17026,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -17064,12 +17064,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -17086,7 +17086,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -17098,7 +17098,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_rc1::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -17107,7 +17107,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -17116,7 +17116,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -17131,7 +17131,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -17150,7 +17150,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -17163,7 +17163,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x3_rc1::IfcSIPrefix::Value > Prefix() const; @@ -17174,7 +17174,7 @@ public: ::Ifc4x3_rc1::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x3_rc1::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc1::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -17183,7 +17183,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -17196,7 +17196,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -17239,7 +17239,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -17262,7 +17262,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x3_rc1::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_rc1::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -17286,11 +17286,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -17431,10 +17431,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -17443,13 +17443,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -17458,13 +17458,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -17481,7 +17481,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x3_rc1::IfcStructuralLoadOrResult > Values() const; @@ -17490,7 +17490,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc1::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -17499,10 +17499,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -17511,10 +17511,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -17525,7 +17525,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -17543,7 +17543,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -17554,10 +17554,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -17591,7 +17591,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17610,7 +17610,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_rc1::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17623,10 +17623,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17637,7 +17637,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17649,7 +17649,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17662,7 +17662,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x3_rc1::IfcSurfaceSide::Value Side() const; @@ -17671,7 +17671,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3_rc1::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc1::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17688,7 +17688,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17707,7 +17707,7 @@ public: ::Ifc4x3_rc1::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x3_rc1::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_rc1::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_rc1::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_rc1::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17718,7 +17718,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17727,7 +17727,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17740,7 +17740,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x3_rc1::IfcColourRgb SurfaceColour() const; @@ -17748,7 +17748,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17772,13 +17772,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17876,7 +17876,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17907,7 +17907,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17928,7 +17928,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17940,7 +17940,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc1::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x3_rc1::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_rc1::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_rc1::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17951,7 +17951,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17968,7 +17968,7 @@ public: ::Ifc4x3_rc1::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_rc1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_rc1::IfcUnit v4_Unit, ::Ifc4x3_rc1::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17987,7 +17987,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > RowCells() const; @@ -17996,7 +17996,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -18010,7 +18010,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -18118,7 +18118,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -18127,12 +18127,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x3_rc1::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x3_rc1::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc1::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -18144,7 +18144,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -18168,7 +18168,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -18202,7 +18202,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x3_rc1::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -18222,7 +18222,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_rc1::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_rc1::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -18245,7 +18245,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x3_rc1::IfcColour Colour() const; @@ -18254,7 +18254,7 @@ public: ::Ifc4x3_rc1::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x3_rc1::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcColour v1_Colour, ::Ifc4x3_rc1::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -18267,7 +18267,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -18298,7 +18298,7 @@ public: ::Ifc4x3_rc1::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x3_rc1::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_rc1::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_rc1::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_rc1::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -18315,12 +18315,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -18352,7 +18352,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -18365,7 +18365,7 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; /// An IfcTextureMap provides the mapping of the @@ -18422,7 +18422,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -18432,7 +18432,7 @@ public: ::Ifc4x3_rc1::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x3_rc1::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_rc1::IfcTextureVertex > v2_Vertices, ::Ifc4x3_rc1::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -18465,25 +18465,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -18495,7 +18495,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -18504,7 +18504,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -18515,7 +18515,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -18543,7 +18543,7 @@ public: void setUnit(const ::Ifc4x3_rc1::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -18558,13 +18558,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x3_rc1::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_rc1::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -18575,10 +18575,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18618,10 +18618,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc1::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18632,13 +18632,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x3_rc1::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x3_rc1::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18654,10 +18654,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18672,13 +18672,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x3_rc1::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x3_rc1::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18743,7 +18743,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x3_rc1::IfcGridAxis > IntersectingAxes() const; @@ -18752,7 +18752,7 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18766,7 +18766,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18782,7 +18782,7 @@ public: std::optional< std::string > Finish() const; void setFinish(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish); }; /// An IfcApprovalRelationship associates approvals (one @@ -18795,7 +18795,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x3_rc1::IfcApproval RelatingApproval() const; @@ -18804,7 +18804,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x3_rc1::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_rc1::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18828,13 +18828,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x3_rc1::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x3_rc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18855,13 +18855,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x3_rc1::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x3_rc1::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18886,13 +18886,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x3_rc1::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x3_rc1::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc1::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18907,7 +18907,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18916,7 +18916,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -18951,13 +18951,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -18978,7 +18978,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -19031,7 +19031,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -19058,7 +19058,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x3_rc1::IfcClassificationReferenceSelect ReferencedSource() const; @@ -19073,19 +19073,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_rc1::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -19096,7 +19096,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -19105,7 +19105,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -19147,7 +19147,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x3_rc1::IfcProfileDef > Profiles() const; @@ -19156,7 +19156,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -19171,13 +19171,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x3_rc1::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x3_rc1::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -19196,7 +19196,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc1::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -19205,7 +19205,7 @@ public: ::Ifc4x3_rc1::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x3_rc1::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_rc1::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -19230,7 +19230,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -19242,7 +19242,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc1::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -19255,14 +19255,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -19315,7 +19315,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -19325,7 +19325,7 @@ public: void setConversionFactor(const ::Ifc4x3_rc1::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -19349,13 +19349,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -19372,7 +19372,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x3_rc1::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -19392,7 +19392,7 @@ public: ::Ifc4x3_rc1::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x3_rc1::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_rc1::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_rc1::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -19415,7 +19415,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x3_rc1::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -19429,7 +19429,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_rc1::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_rc1::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -19440,7 +19440,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -19449,7 +19449,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x3_rc1::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc1::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -19466,7 +19466,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -19478,7 +19478,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -19489,7 +19489,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -19502,7 +19502,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -19592,7 +19592,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x3_rc1::IfcProfileDef ParentProfile() const; @@ -19604,7 +19604,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19613,7 +19613,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19684,7 +19684,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc1::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19698,7 +19698,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x3_rc1::IfcDocumentInformation RelatingDocument() const; @@ -19710,7 +19710,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_rc1::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19727,7 +19727,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19739,7 +19739,7 @@ public: void setReferencedDocument(const ::Ifc4x3_rc1::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19794,7 +19794,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x3_rc1::IfcVertex EdgeStart() const; @@ -19803,7 +19803,7 @@ public: ::Ifc4x3_rc1::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x3_rc1::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcVertex v1_EdgeStart, ::Ifc4x3_rc1::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19842,7 +19842,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x3_rc1::IfcCurve EdgeGeometry() const; @@ -19851,7 +19851,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcVertex v1_EdgeStart, ::Ifc4x3_rc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc1::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19880,7 +19880,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19897,14 +19897,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19913,7 +19913,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x3_rc1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19926,7 +19926,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19937,7 +19937,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -19987,14 +19987,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x3_rc1::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x3_rc1::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -20005,7 +20005,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x3_rc1::IfcLoop Bound() const; @@ -20014,7 +20014,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -20025,10 +20025,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -20070,7 +20070,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x3_rc1::IfcSurface FaceSurface() const; @@ -20079,7 +20079,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc1::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -20092,7 +20092,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -20113,7 +20113,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -20153,7 +20153,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x3_rc1::IfcFillStyleSelect > FillStyles() const; @@ -20161,7 +20161,7 @@ public: std::optional< bool > ModelorDraughting() const; void setModelorDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc1::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelorDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -20214,7 +20214,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -20233,7 +20233,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_rc1::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_rc1::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -20258,10 +20258,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -20280,7 +20280,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x3_rc1::IfcGeometricRepresentationContext ParentContext() const; @@ -20305,7 +20305,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -20318,13 +20318,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x3_rc1::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x3_rc1::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -20375,7 +20375,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x3_rc1::IfcVirtualGridIntersection PlacementLocation() const; @@ -20386,7 +20386,7 @@ public: ::Ifc4x3_rc1::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x3_rc1::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_rc1::IfcGridPlacementDirectionSelect v3_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -20407,7 +20407,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x3_rc1::IfcSurface BaseSurface() const; @@ -20416,7 +20416,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -20457,20 +20457,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x3_rc1::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_rc1::IfcTessellatedFaceSet& v); @@ -20481,33 +20481,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x3_rc1::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_rc1::IfcTessellatedFaceSet& v); ::Ifc4x3_rc1::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x3_rc1::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc1::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -20518,13 +20518,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x3_rc1::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_rc1::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc1::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -20567,7 +20567,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -20578,7 +20578,7 @@ public: ::Ifc4x3_rc1::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x3_rc1::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc1::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -20591,7 +20591,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20607,7 +20607,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20620,10 +20620,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20638,14 +20638,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x3_rc1::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc1::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20658,7 +20658,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x3_rc1::IfcAxis2Placement3D Position() const; @@ -20679,7 +20679,7 @@ public: ::Ifc4x3_rc1::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x3_rc1::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20700,7 +20700,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20720,7 +20720,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20741,7 +20741,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20759,28 +20759,28 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_rc1::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearAxisWithInclination : public IfcGeometricRepresentationItem { public: IfcLinearAxisWithInclination() {} - explicit IfcLinearAxisWithInclination (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLinearAxisWithInclination (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3_rc1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc1::IfcCurve& v); ::Ifc4x3_rc1::IfcAxisLateralInclination Inclinating() const; void setInclinating(const ::Ifc4x3_rc1::IfcAxisLateralInclination& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, ::Ifc4x3_rc1::IfcAxisLateralInclination v2_Inclinating); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x3_rc1::IfcCurve PlacementMeasuredAlong() const; void setPlacementMeasuredAlong(const ::Ifc4x3_rc1::IfcCurve& v); @@ -20791,31 +20791,31 @@ public: ::Ifc4x3_rc1::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc1::IfcDistanceExpression v3_Distance, ::Ifc4x3_rc1::IfcOrientationExpression v4_Orientation, ::Ifc4x3_rc1::IfcAxis2Placement3D v5_CartesianPosition); }; class IFC_PARSE_API IfcLinearPlacementWithInclination : public IfcLinearPlacement { public: IfcLinearPlacementWithInclination() {} - explicit IfcLinearPlacementWithInclination (const std::weak_ptr& data) : IfcLinearPlacement(data) {} + explicit IfcLinearPlacementWithInclination (const std::weak_ptr& data) : IfcLinearPlacement(data) {} ::Ifc4x3_rc1::IfcAxisLateralInclination Inclinating() const; void setInclinating(const ::Ifc4x3_rc1::IfcAxisLateralInclination& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc1::IfcDistanceExpression v3_Distance, ::Ifc4x3_rc1::IfcOrientationExpression v4_Orientation, ::Ifc4x3_rc1::IfcAxis2Placement3D v5_CartesianPosition, ::Ifc4x3_rc1::IfcAxisLateralInclination v6_Inclinating); }; class IFC_PARSE_API IfcLinearSpanPlacement : public IfcLinearPlacement { public: IfcLinearSpanPlacement() {} - explicit IfcLinearSpanPlacement (const std::weak_ptr& data) : IfcLinearPlacement(data) {} + explicit IfcLinearSpanPlacement (const std::weak_ptr& data) : IfcLinearPlacement(data) {} double Span() const; void setSpan(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc1::IfcDistanceExpression v3_Distance, ::Ifc4x3_rc1::IfcOrientationExpression v4_Orientation, ::Ifc4x3_rc1::IfcAxis2Placement3D v5_CartesianPosition, double v6_Span); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20873,13 +20873,13 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system. ::Ifc4x3_rc1::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_rc1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc1::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20911,10 +20911,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20939,7 +20939,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x3_rc1::IfcRepresentationMap MappingSource() const; @@ -20948,7 +20948,7 @@ public: ::Ifc4x3_rc1::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x3_rc1::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_rc1::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20981,7 +20981,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -21006,7 +21006,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -21017,7 +21017,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -21036,7 +21036,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -21056,7 +21056,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -21068,7 +21068,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc1::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_rc1::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -21104,13 +21104,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x3_rc1::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x3_rc1::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcRepresentation > v3_Representations, ::Ifc4x3_rc1::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -21216,7 +21216,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x3_rc1::IfcMaterialLayerSet ForLayerSet() const; @@ -21246,7 +21246,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -21259,7 +21259,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_rc1::IfcMaterialProfileSet ForProfileSet() const; @@ -21276,7 +21276,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -21307,7 +21307,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_rc1::IfcMaterialProfileSet ForProfileEndSet() const; @@ -21316,7 +21316,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -21344,7 +21344,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -21352,7 +21352,7 @@ public: ::Ifc4x3_rc1::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x3_rc1::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcProperty > v3_Properties, ::Ifc4x3_rc1::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -21361,7 +21361,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x3_rc1::IfcMaterial RelatingMaterial() const; @@ -21373,7 +21373,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_rc1::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -21406,10 +21406,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -21465,7 +21465,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -21475,14 +21475,14 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcOpenCrossProfileDef : public IfcProfileDef { public: IfcOpenCrossProfileDef() {} - explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} bool HorizontalWidths() const; void setHorizontalWidths(const bool& v); @@ -21493,7 +21493,7 @@ public: std::optional< std::vector< std::string > /*[2:?]*/ > Tags() const; void setTags(const std::optional< std::vector< std::string > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -21558,10 +21558,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -21573,7 +21573,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x3_rc1::IfcOrganization RelatingOrganization() const; @@ -21582,21 +21582,21 @@ public: std::vector< ::Ifc4x3_rc1::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x3_rc1::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_rc1::IfcOrganization > v4_RelatedOrganizations); }; class IFC_PARSE_API IfcOrientationExpression : public IfcGeometricRepresentationItem { public: IfcOrientationExpression() {} - explicit IfcOrientationExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcOrientationExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3_rc1::IfcDirection LateralAxisDirection() const; void setLateralAxisDirection(const ::Ifc4x3_rc1::IfcDirection& v); ::Ifc4x3_rc1::IfcDirection VerticalAxisDirection() const; void setVerticalAxisDirection(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDirection v1_LateralAxisDirection, ::Ifc4x3_rc1::IfcDirection v2_VerticalAxisDirection); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -21609,7 +21609,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x3_rc1::IfcEdge EdgeElement() const; @@ -21618,7 +21618,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21666,13 +21666,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x3_rc1::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21692,13 +21692,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x3_rc1::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_rc1::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21713,7 +21713,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > HasQuantities() const; @@ -21728,7 +21728,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21752,7 +21752,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21769,7 +21769,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21784,13 +21784,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x3_rc1::IfcCartesianPoint Location() const; void setLocation(const ::Ifc4x3_rc1::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21801,7 +21801,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21810,7 +21810,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21821,10 +21821,10 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21839,7 +21839,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x3_rc1::IfcCurve BasisCurve() const; @@ -21848,7 +21848,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21863,7 +21863,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x3_rc1::IfcSurface BasisSurface() const; @@ -21875,7 +21875,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21920,13 +21920,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x3_rc1::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -21988,7 +21988,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x3_rc1::IfcAxis2Placement3D Position() const; @@ -21999,7 +21999,7 @@ public: ::Ifc4x3_rc1::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x3_rc1::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc1::IfcAxis2Placement3D v3_Position, ::Ifc4x3_rc1::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -22012,23 +22012,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -22045,10 +22045,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -22066,12 +22066,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -22088,13 +22088,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x3_rc1::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x3_rc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcProperty > v3_Properties, ::Ifc4x3_rc1::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -22103,7 +22103,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -22118,7 +22118,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// IfcPropertyDefinition defines the generalization of @@ -22174,12 +22174,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -22193,7 +22193,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x3_rc1::IfcProperty DependingProperty() const; @@ -22205,7 +22205,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcProperty v3_DependingProperty, ::Ifc4x3_rc1::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -22253,13 +22253,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -22290,20 +22290,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -22343,7 +22343,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -22352,7 +22352,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -22363,7 +22363,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -22372,7 +22372,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_rc1::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc1::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -22383,7 +22383,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -22404,7 +22404,7 @@ public: std::optional< double > BarCount() const; void setBarCount(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -22418,10 +22418,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -22433,7 +22433,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -22442,7 +22442,7 @@ public: ::Ifc4x3_rc1::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_rc1::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_rc1::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -22468,7 +22468,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x3_rc1::IfcConstraint RelatingConstraint() const; @@ -22477,7 +22477,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_rc1::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -22485,7 +22485,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -22533,7 +22533,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22576,13 +22576,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -22593,7 +22593,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x3_rc1::IfcSectionTypeEnum::Value SectionType() const; @@ -22605,7 +22605,7 @@ public: ::Ifc4x3_rc1::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x3_rc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc1::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc1::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -22618,7 +22618,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -22639,7 +22639,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_rc1::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22698,7 +22698,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x3_rc1::IfcCompositeCurve SpineCurve() const; @@ -22710,7 +22710,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_rc1::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc1::IfcAxis2Placement3D > v3_CrossSectionPositions); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22728,12 +22728,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x3_rc1::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x3_rc1::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22742,10 +22742,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22760,7 +22760,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22772,7 +22772,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22783,10 +22783,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22797,7 +22797,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22818,7 +22818,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22829,7 +22829,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22841,7 +22841,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22852,7 +22852,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22873,7 +22873,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22882,13 +22882,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22900,7 +22900,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22921,7 +22921,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22935,13 +22935,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22957,13 +22957,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x3_rc1::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x3_rc1::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcVertex v1_EdgeStart, ::Ifc4x3_rc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc1::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -22979,10 +22979,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -23033,7 +23033,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -23067,7 +23067,7 @@ public: ::Ifc4x3_rc1::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x3_rc1::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -23091,7 +23091,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x3_rc1::IfcProfileDef SweptArea() const; @@ -23100,7 +23100,7 @@ public: ::Ifc4x3_rc1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -23159,7 +23159,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x3_rc1::IfcCurve Directrix() const; @@ -23181,7 +23181,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -23197,13 +23197,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -23214,7 +23214,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x3_rc1::IfcProfileDef SweptCurve() const; @@ -23223,7 +23223,7 @@ public: ::Ifc4x3_rc1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -23257,7 +23257,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23287,17 +23287,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -23313,7 +23313,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -23326,7 +23326,7 @@ public: ::Ifc4x3_rc1::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x3_rc1::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_rc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc1::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -23341,7 +23341,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x3_rc1::IfcPlanarExtent Extent() const; @@ -23350,7 +23350,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_rc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc1::IfcTextPath::Value v3_Path, ::Ifc4x3_rc1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -23421,7 +23421,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -23442,7 +23442,7 @@ public: ::Ifc4x3_rc1::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x3_rc1::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_rc1::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -23486,7 +23486,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -23501,7 +23501,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -23538,7 +23538,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -23556,7 +23556,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -23590,7 +23590,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -23605,7 +23605,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23677,7 +23677,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > RepresentationMaps() const; @@ -23687,7 +23687,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23705,7 +23705,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23720,7 +23720,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23754,7 +23754,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23778,7 +23778,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23791,7 +23791,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x3_rc1::IfcDirection Orientation() const; @@ -23800,7 +23800,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23818,13 +23818,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x3_rc1::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x3_rc1::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcVertex v1_LoopVertex); }; /// Definition: The window style defines a particular style of windows, which may be included into the spatial context of the building model through instances of IfcWindow. A window style defines the overall parameter of the window style and refers to the particular parameter of the lining and one (or several) panels through IfcWindowLiningProperties and IfcWindowPanelProperties. @@ -23848,7 +23848,7 @@ public: class IFC_PARSE_API IfcWindowStyle : public IfcTypeProduct { public: IfcWindowStyle() {} - explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the basic construction and material type of the window. ::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value ConstructionType() const; @@ -23863,7 +23863,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc1::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// IfcZShapeProfileDef defines @@ -23894,7 +23894,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23915,7 +23915,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23934,17 +23934,17 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc1::IfcSurface v2_FaceSurface, bool v3_SameSense); }; class IFC_PARSE_API IfcAlignment2DHorizontal : public IfcGeometricRepresentationItem { public: IfcAlignment2DHorizontal() {} - explicit IfcAlignment2DHorizontal (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAlignment2DHorizontal (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::optional< double > StartDistAlong() const; void setStartDistAlong(const std::optional< double >& v); @@ -23952,14 +23952,14 @@ public: void setSegments(const std::vector< ::Ifc4x3_rc1::IfcAlignment2DHorizontalSegment >& v); std::vector< IfcAlignmentCurve > ToAlignmentCurve() const; // INVERSE IfcAlignmentCurve::Horizontal - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_StartDistAlong, std::vector< ::Ifc4x3_rc1::IfcAlignment2DHorizontalSegment > v2_Segments); }; class IFC_PARSE_API IfcAlignment2DSegment : public IfcGeometricRepresentationItem { public: IfcAlignment2DSegment() {} - explicit IfcAlignment2DSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAlignment2DSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::optional< bool > TangentialContinuity() const; void setTangentialContinuity(const std::optional< bool >& v); @@ -23968,27 +23968,27 @@ public: std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag); }; class IFC_PARSE_API IfcAlignment2DVertical : public IfcGeometricRepresentationItem { public: IfcAlignment2DVertical() {} - explicit IfcAlignment2DVertical (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAlignment2DVertical (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x3_rc1::IfcAlignment2DVerticalSegment > Segments() const; void setSegments(const std::vector< ::Ifc4x3_rc1::IfcAlignment2DVerticalSegment >& v); std::vector< IfcAlignmentCurve > ToAlignmentCurve() const; // INVERSE IfcAlignmentCurve::Vertical - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcAlignment2DVerticalSegment > v1_Segments); }; class IFC_PARSE_API IfcAlignment2DVerticalSegment : public IfcAlignment2DSegment { public: IfcAlignment2DVerticalSegment() {} - explicit IfcAlignment2DVerticalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} + explicit IfcAlignment2DVerticalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -24000,7 +24000,7 @@ public: void setStartGradient(const double& v); std::vector< IfcAlignment2DVertical > ToVertical() const; // INVERSE IfcAlignment2DVertical::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -24026,7 +24026,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -24039,7 +24039,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc1::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_rc1::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_rc1::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -24082,7 +24082,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -24112,7 +24112,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -24127,13 +24127,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x3_rc1::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Location, ::Ifc4x3_rc1::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -24150,13 +24150,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x3_rc1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Location, ::Ifc4x3_rc1::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -24175,7 +24175,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x3_rc1::IfcDirection Axis() const; @@ -24184,18 +24184,18 @@ public: ::Ifc4x3_rc1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Location, ::Ifc4x3_rc1::IfcDirection v2_Axis, ::Ifc4x3_rc1::IfcDirection v3_RefDirection); }; class IFC_PARSE_API IfcAxisLateralInclination : public IfcGeometricRepresentationItem { public: IfcAxisLateralInclination() {} - explicit IfcAxisLateralInclination (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAxisLateralInclination (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< IfcLinearAxisWithInclination > ToLinearAxis() const; // INVERSE IfcLinearAxisWithInclination::Inclinating - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -24227,7 +24227,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x3_rc1::IfcBooleanOperator::Value Operator() const; @@ -24239,7 +24239,7 @@ public: ::Ifc4x3_rc1::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x3_rc1::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc1::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -24257,10 +24257,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -24288,7 +24288,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x3_rc1::IfcCartesianPoint Corner() const; @@ -24303,7 +24303,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -24339,13 +24339,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x3_rc1::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x3_rc1::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc1::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -24373,7 +24373,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -24391,7 +24391,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -24404,51 +24404,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -24484,7 +24484,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x3_rc1::IfcDirection Axis1() const; @@ -24499,7 +24499,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24510,10 +24510,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -24529,13 +24529,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24546,13 +24546,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x3_rc1::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc1::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -24569,7 +24569,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -24578,7 +24578,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcDirection v1_Axis1, ::Ifc4x3_rc1::IfcDirection v2_Axis2, ::Ifc4x3_rc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc1::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -24596,13 +24596,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -24657,10 +24657,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24674,7 +24674,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24692,7 +24692,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24703,7 +24703,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24713,7 +24713,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_rc1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x3_rc1::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24726,7 +24726,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcGeometricRepresentationItem { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The state of transition (i.e., geometric continuity from the last point of this segment to the first point of the next segment) in a composite curve. ::Ifc4x3_rc1::IfcTransitionCode::Value Transition() const; @@ -24741,7 +24741,7 @@ public: void setParentCurve(const ::Ifc4x3_rc1::IfcCurve& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc1::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24762,14 +24762,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > >& v); ::Ifc4x3_rc1::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_rc1::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24788,7 +24788,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24812,7 +24812,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc1::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24828,13 +24828,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24845,13 +24845,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x3_rc1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24898,13 +24898,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x3_rc1::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x3_rc1::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24920,10 +24920,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24942,7 +24942,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x3_rc1::IfcPlane BasisSurface() const; @@ -24954,7 +24954,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x3_rc1::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcPlane v1_BasisSurface, ::Ifc4x3_rc1::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_rc1::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24981,7 +24981,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x3_rc1::IfcSurface BasisSurface() const; @@ -24992,7 +24992,7 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_rc1::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -25005,20 +25005,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDirectrixCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixCurveSweptAreaSolid() {} - explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_rc1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc1::IfcCurve& v); @@ -25027,14 +25027,14 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; class IFC_PARSE_API IfcDirectrixDistanceSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixDistanceSweptAreaSolid() {} - explicit IfcDirectrixDistanceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixDistanceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_rc1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc1::IfcCurve& v); @@ -25043,14 +25043,14 @@ public: ::Ifc4x3_rc1::IfcDistanceExpression EndDistance() const; void setEndDistance(const ::Ifc4x3_rc1::IfcDistanceExpression& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, ::Ifc4x3_rc1::IfcDistanceExpression v4_StartDistance, ::Ifc4x3_rc1::IfcDistanceExpression v5_EndDistance); }; class IFC_PARSE_API IfcDistanceExpression : public IfcGeometricRepresentationItem { public: IfcDistanceExpression() {} - explicit IfcDistanceExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDistanceExpression (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} double DistanceAlong() const; void setDistanceAlong(const double& v); @@ -25063,7 +25063,7 @@ public: std::optional< bool > AlongHorizontal() const; void setAlongHorizontal(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, std::optional< bool > v5_AlongHorizontal); }; /// Definition: The door style, IfcDoorStyle, defines a particular style of doors, which may be included into the spatial context of the building model through instances of IfcDoor. A door style defines the overall parameter of the door style and refers to the particular parameter of the lining and one (or several) panels through the IfcDoorLiningProperties and the IfcDoorPanelProperties. @@ -25095,7 +25095,7 @@ public: class IFC_PARSE_API IfcDoorStyle : public IfcTypeProduct { public: IfcDoorStyle() {} - explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the general layout and operation of the door style. ::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value OperationType() const; @@ -25110,7 +25110,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc1::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -25127,13 +25127,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x3_rc1::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_rc1::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -25216,7 +25216,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -25227,7 +25227,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -25255,13 +25255,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -25272,13 +25272,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x3_rc1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -25300,7 +25300,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -25309,7 +25309,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -25321,7 +25321,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -25337,7 +25337,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -25411,7 +25411,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x3_rc1::IfcDirection ExtrudedDirection() const; @@ -25421,7 +25421,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -25525,13 +25525,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x3_rc1::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_rc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_rc1::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -25549,13 +25549,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x3_rc1::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x3_rc1::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -25608,7 +25608,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x3_rc1::IfcCurveStyle HatchLineAppearance() const; @@ -25634,7 +25634,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_rc1::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_rc1::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_rc1::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -25645,7 +25645,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x3_rc1::IfcVector > TilingPattern() const; @@ -25657,7 +25657,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_rc1::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25721,13 +25721,13 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The direction providing the fixed axis1 (x-axis) direction for orienting the swept area during the sweeping operation along the Directrix. ::Ifc4x3_rc1::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x3_rc1::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -25761,10 +25761,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25807,7 +25807,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25815,7 +25815,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25882,13 +25882,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25901,10 +25901,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25973,7 +25973,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25995,46 +25995,46 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcInclinedReferenceSweptAreaSolid : public IfcDirectrixDistanceSweptAreaSolid { public: IfcInclinedReferenceSweptAreaSolid() {} - explicit IfcInclinedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixDistanceSweptAreaSolid(data) {} + explicit IfcInclinedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixDistanceSweptAreaSolid(data) {} std::optional< bool > FixedAxisVertical() const; void setFixedAxisVertical(const std::optional< bool >& v); ::Ifc4x3_rc1::IfcAxisLateralInclination Inclinating() const; void setInclinating(const ::Ifc4x3_rc1::IfcAxisLateralInclination& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, ::Ifc4x3_rc1::IfcDistanceExpression v4_StartDistance, ::Ifc4x3_rc1::IfcDistanceExpression v5_EndDistance, std::optional< bool > v6_FixedAxisVertical, ::Ifc4x3_rc1::IfcAxisLateralInclination v7_Inclinating); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef @@ -26091,7 +26091,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -26112,7 +26112,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -26129,13 +26129,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -26154,7 +26154,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x3_rc1::IfcCartesianPoint Pnt() const; @@ -26163,7 +26163,7 @@ public: ::Ifc4x3_rc1::IfcVector Dir() const; void setDir(const ::Ifc4x3_rc1::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_Pnt, ::Ifc4x3_rc1::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -26232,13 +26232,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x3_rc1::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x3_rc1::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -26326,7 +26326,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -26336,19 +26336,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc1::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_rc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -26365,7 +26365,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -26374,7 +26374,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -26395,7 +26395,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -26407,21 +26407,21 @@ public: ::Ifc4x3_rc1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_rc1::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x3_rc1::IfcDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x3_rc1::IfcDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc1::IfcDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -26434,14 +26434,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc1::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x3_rc1::IfcSurface& v); ::Ifc4x3_rc1::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x3_rc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSurface v1_BasisSurface, ::Ifc4x3_rc1::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -26453,14 +26453,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x3_rc1::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x3_rc1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_rc1::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -26502,10 +26502,10 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -26516,10 +26516,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -26532,10 +26532,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -26561,10 +26561,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -26583,14 +26583,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -26636,7 +26636,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -26653,7 +26653,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26750,7 +26750,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x3_rc1::IfcObjectPlacement ObjectPlacement() const; @@ -26762,7 +26762,7 @@ public: std::vector< IfcRelPositions > PositionedRelativeTo() const; // INVERSE IfcRelPositions::RelatedProducts std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26812,10 +26812,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc1::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26845,10 +26845,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc1::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26958,7 +26958,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x3_rc1::IfcValue UpperBoundValue() const; @@ -26975,7 +26975,7 @@ public: ::Ifc4x3_rc1::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x3_rc1::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcValue v3_UpperBoundValue, ::Ifc4x3_rc1::IfcValue v4_LowerBoundValue, ::Ifc4x3_rc1::IfcUnit v5_Unit, ::Ifc4x3_rc1::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -27058,7 +27058,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -27069,7 +27069,7 @@ public: ::Ifc4x3_rc1::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x3_rc1::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v3_EnumerationValues, ::Ifc4x3_rc1::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -27140,7 +27140,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -27151,7 +27151,7 @@ public: ::Ifc4x3_rc1::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v3_ListValues, ::Ifc4x3_rc1::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -27172,7 +27172,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -27183,7 +27183,7 @@ public: ::Ifc4x3_rc1::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x3_rc1::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x3_rc1::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -27242,13 +27242,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x3_rc1::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_rc1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -27285,7 +27285,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -27308,7 +27308,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -27358,7 +27358,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -27371,7 +27371,7 @@ public: ::Ifc4x3_rc1::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc1::IfcValue v3_NominalValue, ::Ifc4x3_rc1::IfcUnit v4_Unit); }; /// A property with a range value @@ -27493,7 +27493,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -27520,7 +27520,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x3_rc1::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc1::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -27550,12 +27550,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcProxy is intended to be a kind of a container for wrapping objects which are defined by associated properties, which may or may not have a geometric representation and placement in space. A proxy may have a semantic meaning, defined by the Name attribute, and property definitions, attached through the property assignment relationship, which definition may be outside of the definitions given by the current release of IFC. @@ -27577,7 +27577,7 @@ public: class IFC_PARSE_API IfcProxy : public IfcProduct { public: IfcProxy() {} - explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} /// High level (and only) semantic meaning attached to the IfcProxy, defining the basic construct type behind the Proxy, e.g. Product or Process. ::Ifc4x3_rc1::IfcObjectTypeEnum::Value ProxyType() const; @@ -27586,7 +27586,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -27612,7 +27612,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -27624,7 +27624,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27718,7 +27718,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27730,7 +27730,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27751,7 +27751,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x3_rc1::IfcSurface BasisSurface() const; @@ -27775,7 +27775,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27807,7 +27807,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27816,7 +27816,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_rc1::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_rc1::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27833,7 +27833,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > RelatedObjects() const; @@ -27843,7 +27843,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -27858,7 +27858,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x3_rc1::IfcActor RelatingActor() const; @@ -27867,7 +27867,7 @@ public: ::Ifc4x3_rc1::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x3_rc1::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcActor v7_RelatingActor, ::Ifc4x3_rc1::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -27878,13 +27878,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x3_rc1::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x3_rc1::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27903,13 +27903,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x3_rc1::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x3_rc1::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27924,13 +27924,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27958,7 +27958,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27969,7 +27969,7 @@ public: ::Ifc4x3_rc1::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x3_rc1::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc1::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27983,7 +27983,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27991,7 +27991,7 @@ public: ::Ifc4x3_rc1::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x3_rc1::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -28003,7 +28003,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -28011,7 +28011,7 @@ public: ::Ifc4x3_rc1::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x3_rc1::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc1::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc1::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -28058,7 +28058,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -28066,7 +28066,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -28075,13 +28075,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x3_rc1::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_rc1::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -28117,13 +28117,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x3_rc1::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x3_rc1::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -28132,7 +28132,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -28141,7 +28141,7 @@ public: ::Ifc4x3_rc1::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x3_rc1::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_rc1::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -28154,13 +28154,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x3_rc1::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x3_rc1::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -28173,13 +28173,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x3_rc1::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x3_rc1::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -28279,25 +28279,25 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x3_rc1::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x3_rc1::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcMaterialSelect v6_RelatingMaterial); }; class IFC_PARSE_API IfcRelAssociatesProfileDef : public IfcRelAssociates { public: IfcRelAssociatesProfileDef() {} - explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc4x3_rc1::IfcProfileDef RelatingProfileDef() const; void setRelatingProfileDef(const ::Ifc4x3_rc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc1::IfcProfileDef v6_RelatingProfileDef); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -28306,10 +28306,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -28337,7 +28337,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x3_rc1::IfcConnectionGeometry ConnectionGeometry() const; @@ -28349,7 +28349,7 @@ public: ::Ifc4x3_rc1::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_rc1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc1::IfcElement v6_RelatingElement, ::Ifc4x3_rc1::IfcElement v7_RelatedElement); }; /// The @@ -28385,7 +28385,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -28400,7 +28400,7 @@ public: ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc1::IfcElement v6_RelatingElement, ::Ifc4x3_rc1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -28431,7 +28431,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x3_rc1::IfcPort RelatingPort() const; @@ -28442,7 +28442,7 @@ public: ::Ifc4x3_rc1::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_rc1::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcPort v5_RelatingPort, ::Ifc4x3_rc1::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -28461,7 +28461,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x3_rc1::IfcPort RelatingPort() const; @@ -28473,7 +28473,7 @@ public: ::Ifc4x3_rc1::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x3_rc1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcPort v5_RelatingPort, ::Ifc4x3_rc1::IfcPort v6_RelatedPort, ::Ifc4x3_rc1::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -28482,7 +28482,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x3_rc1::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -28491,7 +28491,7 @@ public: ::Ifc4x3_rc1::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x3_rc1::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_rc1::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -28521,7 +28521,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x3_rc1::IfcStructuralMember RelatingStructuralMember() const; @@ -28542,7 +28542,7 @@ public: ::Ifc4x3_rc1::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -28565,13 +28565,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x3_rc1::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x3_rc1::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_rc1::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -28600,7 +28600,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x3_rc1::IfcElement > RealizingElements() const; @@ -28609,7 +28609,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc1::IfcElement v6_RelatingElement, ::Ifc4x3_rc1::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_rc1::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -28675,7 +28675,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -28686,7 +28686,7 @@ public: ::Ifc4x3_rc1::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_rc1::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcProduct > v5_RelatedElements, ::Ifc4x3_rc1::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -28708,7 +28708,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28719,7 +28719,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_rc1::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_rc1::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28751,7 +28751,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28762,7 +28762,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_rc1::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_rc1::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28779,7 +28779,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x3_rc1::IfcContext RelatingContext() const; @@ -28788,7 +28788,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_rc1::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28824,10 +28824,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -28860,10 +28860,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -28884,7 +28884,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x3_rc1::IfcObject > RelatedObjects() const; @@ -28893,7 +28893,7 @@ public: ::Ifc4x3_rc1::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x3_rc1::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc1::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28914,7 +28914,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > RelatedObjects() const; @@ -28923,7 +28923,7 @@ public: ::Ifc4x3_rc1::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x3_rc1::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_rc1::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28941,7 +28941,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28950,7 +28950,7 @@ public: ::Ifc4x3_rc1::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x3_rc1::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_rc1::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -29025,7 +29025,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x3_rc1::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc1::IfcObject >& v); @@ -29033,7 +29033,7 @@ public: ::Ifc4x3_rc1::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x3_rc1::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc1::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -29048,7 +29048,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x3_rc1::IfcOpeningElement RelatingOpeningElement() const; @@ -29059,7 +29059,7 @@ public: ::Ifc4x3_rc1::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x3_rc1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -29072,7 +29072,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x3_rc1::IfcDistributionControlElement > RelatedControlElements() const; @@ -29081,7 +29081,7 @@ public: ::Ifc4x3_rc1::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x3_rc1::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_rc1::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -29134,7 +29134,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x3_rc1::IfcInterferenceSelect RelatingElement() const; @@ -29152,7 +29152,7 @@ public: boost::logic::tribool ImpliedOrder() const; void setImpliedOrder(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_rc1::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder); }; /// The nesting relationship @@ -29183,7 +29183,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -29196,21 +29196,21 @@ public: std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc1::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelPositions : public IfcRelConnects { public: IfcRelPositions() {} - explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc4x3_rc1::IfcPositioningElement RelatingPositioningElement() const; void setRelatingPositioningElement(const ::Ifc4x3_rc1::IfcPositioningElement& v); std::vector< ::Ifc4x3_rc1::IfcProduct > RelatedProducts() const; void setRelatedProducts(const std::vector< ::Ifc4x3_rc1::IfcProduct >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_rc1::IfcProduct > v6_RelatedProducts); }; /// The IfcRelProjectsElement is an objectified relationship @@ -29248,7 +29248,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x3_rc1::IfcElement RelatingElement() const; @@ -29257,7 +29257,7 @@ public: ::Ifc4x3_rc1::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x3_rc1::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcElement v5_RelatingElement, ::Ifc4x3_rc1::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -29312,7 +29312,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -29324,7 +29324,7 @@ public: ::Ifc4x3_rc1::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_rc1::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc1::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_rc1::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -29384,7 +29384,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x3_rc1::IfcProcess RelatingProcess() const; @@ -29412,7 +29412,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc1::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -29439,7 +29439,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x3_rc1::IfcSystem RelatingSystem() const; @@ -29452,7 +29452,7 @@ public: std::vector< ::Ifc4x3_rc1::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x3_rc1::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_rc1::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -29620,7 +29620,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x3_rc1::IfcSpaceBoundarySelect RelatingSpace() const; @@ -29644,7 +29644,7 @@ public: ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -29697,14 +29697,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29742,14 +29742,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29762,14 +29762,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_rc1::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x3_rc1::IfcElement& v); ::Ifc4x3_rc1::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x3_rc1::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_rc1::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29798,12 +29798,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc1::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29822,7 +29822,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29837,7 +29837,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -29919,7 +29919,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x3_rc1::IfcAxis1Placement Axis() const; @@ -29928,7 +29928,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29992,12 +29992,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x3_rc1::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_rc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_rc1::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -30068,7 +30068,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -30077,7 +30077,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -30164,7 +30164,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -30173,42 +30173,42 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x3_rc1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc1::IfcCurve& v); std::vector< ::Ifc4x3_rc1::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_rc1::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x3_rc1::IfcDistanceExpression > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_rc1::IfcDistanceExpression >& v); bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc1::IfcDistanceExpression > v3_CrossSectionPositions, bool v4_FixedAxisVertical); }; class IFC_PARSE_API IfcSectionedSurface : public IfcSurface { public: IfcSectionedSurface() {} - explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} ::Ifc4x3_rc1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc1::IfcCurve& v); @@ -30219,7 +30219,7 @@ public: bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc1::IfcDistanceExpression > v2_CrossSectionPositions, std::vector< ::Ifc4x3_rc1::IfcProfileDef > v3_CrossSections, bool v4_FixedAxisVertical); }; /// The IfcSimplePropertyTemplate defines the template for @@ -30270,7 +30270,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -30320,7 +30320,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc1::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -30357,7 +30357,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -30368,7 +30368,7 @@ public: std::vector< IfcRelServicesBuildings > ServicedBySystems() const; // INVERSE IfcRelServicesBuildings::RelatedBuildings std::vector< IfcRelReferencedInSpatialStructure > ReferencesElements() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatingStructure - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -30405,13 +30405,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -30491,7 +30491,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -30500,7 +30500,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -30540,10 +30540,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -30598,13 +30598,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -30640,7 +30640,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -30648,7 +30648,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -30704,25 +30704,25 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30821,7 +30821,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -30849,7 +30849,7 @@ public: void setGlobalOrLocal(const ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -30942,11 +30942,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -30956,11 +30956,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30986,10 +30986,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -31015,7 +31015,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -31024,7 +31024,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -31048,10 +31048,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -31079,13 +31079,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -31102,20 +31102,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc1::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x3_rc1::IfcCurve& v); @@ -31124,7 +31124,7 @@ public: ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -31192,13 +31192,13 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The surface containing the Directrix. ::Ifc4x3_rc1::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x3_rc1::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcCurve v3_Directrix, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, ::Ifc4x3_rc1::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -31217,7 +31217,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x3_rc1::IfcDirection ExtrudedDirection() const; @@ -31226,7 +31226,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -31249,13 +31249,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x3_rc1::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x3_rc1::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc1::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -31291,12 +31291,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -31547,7 +31547,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -31589,7 +31589,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc1::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -31635,7 +31635,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -31645,35 +31645,35 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x3_rc1::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x3_rc1::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; /// Definition from IAI: The element type @@ -31742,20 +31742,20 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcElementType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc1::IfcTransportElementTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTransportElementTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTransportElementTypeSelect v10_PredefinedType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31766,19 +31766,19 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer @@ -31882,7 +31882,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -31929,7 +31929,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_rc1::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31980,7 +31980,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -32000,7 +32000,7 @@ public: ::Ifc4x3_rc1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc1::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -32021,14 +32021,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x3_rc1::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x3_rc1::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -32067,10 +32067,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -32097,33 +32097,33 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x3_rc1::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_rc1::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc1::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcAlignment2DCant : public IfcAxisLateralInclination { public: IfcAlignment2DCant() {} - explicit IfcAlignment2DCant (const std::weak_ptr& data) : IfcAxisLateralInclination(data) {} + explicit IfcAlignment2DCant (const std::weak_ptr& data) : IfcAxisLateralInclination(data) {} std::vector< ::Ifc4x3_rc1::IfcAlignment2DCantSegment > Segments() const; void setSegments(const std::vector< ::Ifc4x3_rc1::IfcAlignment2DCantSegment >& v); double RailHeadDistance() const; void setRailHeadDistance(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcAlignment2DCantSegment > v1_Segments, double v2_RailHeadDistance); }; class IFC_PARSE_API IfcAlignment2DCantSegment : public IfcAlignment2DSegment { public: IfcAlignment2DCantSegment() {} - explicit IfcAlignment2DCantSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} + explicit IfcAlignment2DCantSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -32139,65 +32139,65 @@ public: void setEndCantRight(const std::optional< double >& v); std::vector< IfcAlignment2DCant > ToCant() const; // INVERSE IfcAlignment2DCant::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartCantLeft, std::optional< double > v7_EndCantLeft, double v8_StartCantRight, std::optional< double > v9_EndCantRight); }; class IFC_PARSE_API IfcAlignment2DHorizontalSegment : public IfcAlignment2DSegment { public: IfcAlignment2DHorizontalSegment() {} - explicit IfcAlignment2DHorizontalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} + explicit IfcAlignment2DHorizontalSegment (const std::weak_ptr& data) : IfcAlignment2DSegment(data) {} ::Ifc4x3_rc1::IfcCurveSegment2D CurveGeometry() const; void setCurveGeometry(const ::Ifc4x3_rc1::IfcCurveSegment2D& v); std::vector< IfcAlignment2DHorizontal > ToHorizontal() const; // INVERSE IfcAlignment2DHorizontal::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, ::Ifc4x3_rc1::IfcCurveSegment2D v4_CurveGeometry); }; class IFC_PARSE_API IfcAlignment2DVerSegCircularArc : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegCircularArc() {} - explicit IfcAlignment2DVerSegCircularArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegCircularArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} double Radius() const; void setRadius(const double& v); bool IsConvex() const; void setIsConvex(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_Radius, bool v9_IsConvex); }; class IFC_PARSE_API IfcAlignment2DVerSegLine : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegLine() {} - explicit IfcAlignment2DVerSegLine (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegLine (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient); }; class IFC_PARSE_API IfcAlignment2DVerSegParabolicArc : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegParabolicArc() {} - explicit IfcAlignment2DVerSegParabolicArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegParabolicArc (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} double ParabolaConstant() const; void setParabolaConstant(const double& v); bool IsConvex() const; void setIsConvex(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, double v8_ParabolaConstant, bool v9_IsConvex); }; class IFC_PARSE_API IfcAlignment2DVerSegTransition : public IfcAlignment2DVerticalSegment { public: IfcAlignment2DVerSegTransition() {} - explicit IfcAlignment2DVerSegTransition (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} + explicit IfcAlignment2DVerSegTransition (const std::weak_ptr& data) : IfcAlignment2DVerticalSegment(data) {} std::optional< double > StartRadius() const; void setStartRadius(const std::optional< double >& v); @@ -32210,7 +32210,7 @@ public: ::Ifc4x3_rc1::IfcTransitionCurveType::Value TransitionCurveType() const; void setTransitionCurveType(const ::Ifc4x3_rc1::IfcTransitionCurveType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartHeight, double v7_StartGradient, std::optional< double > v8_StartRadius, std::optional< double > v9_EndRadius, bool v10_IsStartRadiusCCW, bool v11_IsEndRadiusCCW, ::Ifc4x3_rc1::IfcTransitionCurveType::Value v12_TransitionCurveType); }; /// Definition from IAI: An annotation is a graphical @@ -32389,13 +32389,13 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::optional< ::Ifc4x3_rc1::IfcAnnotationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAnnotationTypeEnum::Value >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc1::IfcAnnotationTypeEnum::Value > v8_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -32470,7 +32470,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -32494,7 +32494,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -32507,7 +32507,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -32525,7 +32525,7 @@ public: ::Ifc4x3_rc1::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_rc1::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -32628,7 +32628,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -32640,7 +32640,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -32653,10 +32653,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc1::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -32672,11 +32672,11 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} std::vector< IfcLinearPositioningElement > PositioningElement() const; // INVERSE IfcLinearPositioningElement::Axis - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The building storey has an @@ -32859,23 +32859,23 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; class IFC_PARSE_API IfcBuiltElementType : public IfcElementType { public: IfcBuiltElementType() {} - explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The IfcChimneyType @@ -32906,13 +32906,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuiltElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32936,23 +32936,23 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The element type @@ -33056,13 +33056,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuiltElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x3_rc1::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -33076,7 +33076,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -33086,7 +33086,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -33158,7 +33158,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > Segments() const; @@ -33167,7 +33167,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -33184,10 +33184,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -33198,13 +33198,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x3_rc1::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_rc1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -33223,13 +33223,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -33248,13 +33248,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -33273,13 +33273,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -33357,7 +33357,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x3_rc1::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x3_rc1::IfcResourceTime& v); @@ -33366,7 +33366,7 @@ public: ::Ifc4x3_rc1::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_rc1::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -33382,7 +33382,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -33392,7 +33392,7 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -33434,7 +33434,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -33456,7 +33456,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc1::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -33485,7 +33485,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -33512,19 +33512,19 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; class IFC_PARSE_API IfcCourseType : public IfcBuiltElementType { public: IfcCourseType() {} - explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc1::IfcCourseTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCourseTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCourseTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -33609,13 +33609,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuiltElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -33631,14 +33631,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -33665,20 +33665,20 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuiltElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCurveSegment2D : public IfcBoundedCurve { public: IfcCurveSegment2D() {} - explicit IfcCurveSegment2D (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCurveSegment2D (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc1::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x3_rc1::IfcCartesianPoint& v); @@ -33687,7 +33687,7 @@ public: double SegmentLength() const; void setSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -33747,23 +33747,23 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcDeepFoundationType : public IfcBuiltElementType { public: IfcDeepFoundationType() {} - explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The @@ -33797,10 +33797,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33871,10 +33871,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33975,7 +33975,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -34023,7 +34023,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_rc1::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -34074,7 +34074,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -34094,7 +34094,7 @@ public: ::Ifc4x3_rc1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc1::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -34228,7 +34228,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuiltElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x3_rc1::IfcDoorTypeEnum::Value PredefinedType() const; @@ -34241,7 +34241,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -34319,10 +34319,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -34341,10 +34341,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -34403,7 +34403,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -34420,7 +34420,7 @@ public: std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -34520,7 +34520,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -34531,7 +34531,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -34559,13 +34559,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -34648,10 +34648,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -34666,10 +34666,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -34702,7 +34702,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -34711,7 +34711,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -34740,10 +34740,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -34775,12 +34775,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc1::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -34812,13 +34812,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34850,13 +34850,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34939,7 +34939,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34958,7 +34958,7 @@ public: ::Ifc4x3_rc1::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x3_rc1::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc1::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34969,10 +34969,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -35002,10 +35002,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -35035,37 +35035,37 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x3_rc1::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_rc1::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc1::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcFacility : public IfcSpatialStructureElement { public: IfcFacility() {} - explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType); }; class IFC_PARSE_API IfcFacilityPart : public IfcSpatialStructureElement { public: IfcFacilityPart() {} - explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} ::Ifc4x3_rc1::IfcFacilityPartTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcFacilityPartTypeSelect& v); ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value UsageType() const; void setUsageType(const ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc1::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value v11_UsageType); }; /// Definition from IAI: @@ -35079,13 +35079,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -35114,13 +35114,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -35220,10 +35220,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -35284,11 +35284,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -35344,11 +35344,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -35376,10 +35376,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -35408,10 +35408,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -35449,13 +35449,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -35483,10 +35483,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -35523,10 +35523,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -35539,10 +35539,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -35555,10 +35555,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -35572,10 +35572,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -35590,13 +35590,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuiltElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Subtype of footing. ::Ifc4x3_rc1::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -35706,10 +35706,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -35746,12 +35746,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35897,33 +35897,33 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalElement : public IfcElement { public: IfcGeotechnicalElement() {} - explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeotechnicalStratum : public IfcGeotechnicalElement { public: IfcGeotechnicalStratum() {} - explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35959,11 +35959,11 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35998,13 +35998,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -36036,44 +36036,44 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDevice : public IfcElementComponent { public: IfcImpactProtectionDevice() {} - explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect v9_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDeviceType : public IfcElementComponentType { public: IfcImpactProtectionDeviceType() {} - explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcImpactProtectionDeviceTypeSelect v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc1::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x3_rc1::IfcCartesianPointList& v); @@ -36082,7 +36082,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_rc1::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -36121,22 +36121,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -36153,7 +36153,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -36178,7 +36178,7 @@ public: ::Ifc4x3_rc1::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x3_rc1::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc1::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc1::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -36211,25 +36211,25 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcKerbType : public IfcBuiltElementType { public: IfcKerbType() {} - explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -36259,14 +36259,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -36301,13 +36301,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x3_rc1::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -36344,47 +36344,47 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLineSegment2D : public IfcCurveSegment2D { public: IfcLineSegment2D() {} - explicit IfcLineSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcLineSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength); }; class IFC_PARSE_API IfcLiquidTerminalType : public IfcFlowTerminalType { public: IfcLiquidTerminalType() {} - explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMarineFacility : public IfcFacility { public: IfcMarineFacility() {} - explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} ::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc1::IfcMarineFacilityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -36419,7 +36419,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -36429,7 +36429,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -36470,7 +36470,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -36482,7 +36482,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -36514,12 +36514,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -36626,37 +36626,37 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuiltElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x3_rc1::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMemberTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsApplianceType : public IfcFlowTerminalType { public: IfcMobileTelecommunicationsApplianceType() {} - explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMooringDeviceType : public IfcBuiltElementType { public: IfcMooringDeviceType() {} - explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -36689,25 +36689,25 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcNavigationElementType : public IfcBuiltElementType { public: IfcNavigationElementType() {} - explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -36720,7 +36720,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -36728,7 +36728,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc1::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -36936,7 +36936,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36945,7 +36945,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The standard opening, @@ -37044,10 +37044,10 @@ public: class IFC_PARSE_API IfcOpeningStandardCase : public IfcOpeningElement { public: IfcOpeningStandardCase() {} - explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} + explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -37082,25 +37082,25 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x3_rc1::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcOutletTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPavementType : public IfcBuiltElementType { public: IfcPavementType() {} - explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} bool Flexible() const; void setFlexible(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Flexible); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -37111,7 +37111,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -37122,7 +37122,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -37159,7 +37159,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -37177,7 +37177,7 @@ public: ::Ifc4x3_rc1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc1::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -37220,7 +37220,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -37238,7 +37238,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -37251,13 +37251,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcDeepFoundationType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} /// Subtype of pile. ::Ifc4x3_rc1::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -37292,13 +37292,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -37337,23 +37337,23 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPlant : public IfcGeographicElement { public: IfcPlant() {} - explicit IfcPlant (const std::weak_ptr& data) : IfcGeographicElement(data) {} + explicit IfcPlant (const std::weak_ptr& data) : IfcGeographicElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -37436,20 +37436,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuiltElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x3_rc1::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -37458,7 +37458,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -37478,13 +37478,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x3_rc1::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -37543,25 +37543,25 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelPositions > Positions() const; // INVERSE IfcRelPositions::RelatingPositioningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -37671,14 +37671,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc1::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -37727,7 +37727,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37749,7 +37749,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -37862,7 +37862,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37870,7 +37870,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -37911,13 +37911,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -37951,25 +37951,25 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x3_rc1::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcPumpTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailType : public IfcBuiltElementType { public: IfcRailType() {} - explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc1::IfcRailTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcRailTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRailTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -37995,23 +37995,23 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuiltElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x3_rc1::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRailingTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailway : public IfcFacility { public: IfcRailway() {} - explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -38037,13 +38037,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuiltElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38082,13 +38082,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuiltElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x3_rc1::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -38107,27 +38107,27 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x3_rc1::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReferentTypeEnum::Value >& v); std::optional< double > RestartDistance() const; void setRestartDistance(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc1::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -38141,12 +38141,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -38155,10 +38155,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -38188,7 +38188,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -38210,7 +38210,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -38227,7 +38227,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -38261,7 +38261,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > v20_BendingParameters); }; /// The aggregation relationship @@ -38289,7 +38289,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -38302,17 +38302,17 @@ public: std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc1::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc1::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRoad : public IfcFacility { public: IfcRoad() {} - explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -38350,13 +38350,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuiltElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x3_rc1::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -38399,23 +38399,23 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// Definition from IAI: The IfcShadingDeviceType @@ -38442,49 +38442,49 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuiltElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSign : public IfcElementComponent { public: IfcSign() {} - explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc1::IfcSignTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSignTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSignTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignType : public IfcElementComponentType { public: IfcSignType() {} - explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_rc1::IfcSignTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcSignTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSignTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSignalType : public IfcFlowTerminalType { public: IfcSignalType() {} - explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc1::IfcSignalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcSignalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSignalTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -38679,7 +38679,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -38700,7 +38700,7 @@ public: ::Ifc4x3_rc1::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x3_rc1::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc1::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -38783,13 +38783,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuiltElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x3_rc1::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -38821,22 +38821,22 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSolidStratum : public IfcGeotechnicalStratum { public: IfcSolidStratum() {} - explicit IfcSolidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcSolidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A space represents an area or volume @@ -39092,7 +39092,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -39107,7 +39107,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -39143,13 +39143,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -39236,7 +39236,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -39244,7 +39244,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -39276,13 +39276,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -39308,13 +39308,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuiltElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -39353,13 +39353,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuiltElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x3_rc1::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -39384,13 +39384,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -39399,14 +39399,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x3_rc1::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x3_rc1::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -39468,7 +39468,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39477,7 +39477,7 @@ public: ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -39500,7 +39500,7 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Direction which is used in the definition of the local z axis. Axis is specified relative to the so-called global coordinate system, i.e. the SELF\IfcProduct.ObjectPlacement. /// @@ -39508,7 +39508,7 @@ public: ::Ifc4x3_rc1::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc1::IfcDirection v9_Axis); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -39551,7 +39551,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -39562,7 +39562,7 @@ public: ::Ifc4x3_rc1::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc1::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -39588,10 +39588,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc1::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -39647,13 +39647,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -39666,10 +39666,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -39708,7 +39708,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -39728,7 +39728,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -39779,10 +39779,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -39801,13 +39801,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x3_rc1::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_rc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc1::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -39856,10 +39856,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -39869,7 +39869,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -39882,7 +39882,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -39940,7 +39940,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39949,7 +39949,7 @@ public: ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -39967,10 +39967,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -40000,14 +40000,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -40045,13 +40045,13 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -40097,13 +40097,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -40126,12 +40126,12 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem std::vector< IfcRelReferencedInSpatialStructure > ServicesFacilities() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -40161,12 +40161,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -40204,20 +40204,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x3_rc1::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_rc1::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTendonTypeEnum::Value >& v); @@ -40236,62 +40236,62 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduit : public IfcReinforcingElement { public: IfcTendonConduit() {} - explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduitType : public IfcReinforcingElementType { public: IfcTendonConduitType() {} - explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc1::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTendonTypeEnum::Value& v); @@ -40302,19 +40302,19 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; class IFC_PARSE_API IfcTrackElementType : public IfcBuiltElementType { public: IfcTrackElementType() {} - explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -40347,20 +40347,20 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTransitionCurveSegment2D : public IfcCurveSegment2D { public: IfcTransitionCurveSegment2D() {} - explicit IfcTransitionCurveSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcTransitionCurveSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} std::optional< double > StartRadius() const; void setStartRadius(const std::optional< double >& v); @@ -40373,7 +40373,7 @@ public: ::Ifc4x3_rc1::IfcTransitionCurveType::Value TransitionCurveType() const; void setTransitionCurveType(const ::Ifc4x3_rc1::IfcTransitionCurveType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x3_rc1::IfcTransitionCurveType::Value v8_TransitionCurveType); }; /// Definition from IAI: Generalization of all transport @@ -40495,7 +40495,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcElement { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -40503,7 +40503,7 @@ public: ::Ifc4x3_rc1::IfcTransportElementTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTransportElementTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc1::IfcTransportElementTypeSelect v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: @@ -40587,7 +40587,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x3_rc1::IfcCurve BasisCurve() const; @@ -40605,7 +40605,7 @@ public: ::Ifc4x3_rc1::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_rc1::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc1::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -40640,13 +40640,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -40680,13 +40680,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -40730,37 +40730,37 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x3_rc1::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcValveTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamper : public IfcElementComponent { public: IfcVibrationDamper() {} - explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamperType : public IfcElementComponentType { public: IfcVibrationDamperType() {} - explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc1::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -40800,12 +40800,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -40833,13 +40833,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -40931,20 +40931,20 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcVoidStratum : public IfcGeotechnicalStratum { public: IfcVoidStratum() {} - explicit IfcVoidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcVoidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -40982,13 +40982,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -41078,13 +41078,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuiltElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x3_rc1::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -41126,23 +41126,23 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcWaterStratum : public IfcGeotechnicalStratum { public: IfcWaterStratum() {} - explicit IfcWaterStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcWaterStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The element type @@ -41269,7 +41269,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuiltElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x3_rc1::IfcWindowTypeEnum::Value PredefinedType() const; @@ -41282,7 +41282,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -41301,7 +41301,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -41320,7 +41320,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -41370,7 +41370,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -41394,7 +41394,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -41425,14 +41425,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -41478,14 +41478,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -41576,7 +41576,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -41586,7 +41586,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -41630,7 +41630,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -41652,7 +41652,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -41684,13 +41684,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -41722,12 +41722,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -41759,30 +41759,30 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment2DCantSegLine : public IfcAlignment2DCantSegment { public: IfcAlignment2DCantSegLine() {} - explicit IfcAlignment2DCantSegLine (const std::weak_ptr& data) : IfcAlignment2DCantSegment(data) {} + explicit IfcAlignment2DCantSegLine (const std::weak_ptr& data) : IfcAlignment2DCantSegment(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartCantLeft, std::optional< double > v7_EndCantLeft, double v8_StartCantRight, std::optional< double > v9_EndCantRight); }; class IFC_PARSE_API IfcAlignment2DCantSegTransition : public IfcAlignment2DCantSegment { public: IfcAlignment2DCantSegTransition() {} - explicit IfcAlignment2DCantSegTransition (const std::weak_ptr& data) : IfcAlignment2DCantSegment(data) {} + explicit IfcAlignment2DCantSegTransition (const std::weak_ptr& data) : IfcAlignment2DCantSegment(data) {} std::optional< double > StartRadius() const; void setStartRadius(const std::optional< double >& v); @@ -41795,14 +41795,14 @@ public: ::Ifc4x3_rc1::IfcTransitionCurveType::Value TransitionCurveType() const; void setTransitionCurveType(const ::Ifc4x3_rc1::IfcTransitionCurveType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< bool > v1_TangentialContinuity, std::optional< std::string > v2_StartTag, std::optional< std::string > v3_EndTag, double v4_StartDistAlong, double v5_HorizontalLength, double v6_StartCantLeft, std::optional< double > v7_EndCantLeft, double v8_StartCantRight, std::optional< double > v9_EndCantRight, std::optional< double > v10_StartRadius, std::optional< double > v11_EndRadius, bool v12_IsStartRadiusCCW, bool v13_IsEndRadiusCCW, ::Ifc4x3_rc1::IfcTransitionCurveType::Value v14_TransitionCurveType); }; class IFC_PARSE_API IfcAlignmentCurve : public IfcBoundedCurve { public: IfcAlignmentCurve() {} - explicit IfcAlignmentCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcAlignmentCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc1::IfcAlignment2DHorizontal Horizontal() const; void setHorizontal(const ::Ifc4x3_rc1::IfcAlignment2DHorizontal& v); @@ -41811,7 +41811,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAlignment2DHorizontal v1_Horizontal, ::Ifc4x3_rc1::IfcAlignment2DVertical v2_Vertical, std::optional< std::string > v3_Tag); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -41841,7 +41841,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -41876,7 +41876,7 @@ public: ::Ifc4x3_rc1::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x3_rc1::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_rc1::IfcCostValue v7_OriginalValue, ::Ifc4x3_rc1::IfcCostValue v8_CurrentValue, ::Ifc4x3_rc1::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_rc1::IfcActorSelect v10_Owner, ::Ifc4x3_rc1::IfcActorSelect v11_User, ::Ifc4x3_rc1::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_rc1::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -41924,13 +41924,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -41985,7 +41985,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -42003,7 +42003,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -42026,7 +42026,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -42038,7 +42038,7 @@ public: ::Ifc4x3_rc1::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_rc1::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -42142,25 +42142,25 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuiltElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x3_rc1::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBearingType : public IfcBuiltElementType { public: IfcBearingType() {} - explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc1::IfcBearingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcBearingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBearingTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -42195,13 +42195,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -42214,32 +42214,32 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; class IFC_PARSE_API IfcBridge : public IfcFacility { public: IfcBridge() {} - explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc1::IfcBridgeTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBridgeTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc1::IfcBridgeTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcBridgePart : public IfcFacilityPart { public: IfcBridgePart() {} - explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc1::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc1::IfcFacilityUsageEnum::Value v11_UsageType); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -42419,7 +42419,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcFacility { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -42431,7 +42431,7 @@ public: ::Ifc4x3_rc1::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x3_rc1::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc1::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: Layers or major components as subordinate @@ -42454,13 +42454,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -42470,13 +42470,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: @@ -42516,13 +42516,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuiltElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -42564,7 +42564,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -42572,31 +42572,31 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; class IFC_PARSE_API IfcBuiltElement : public IfcElement { public: IfcBuiltElement() {} - explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcBuiltSystem : public IfcSystem { public: IfcBuiltSystem() {} - explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} std::optional< ::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value >& v); std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42629,12 +42629,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42666,13 +42666,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42710,13 +42710,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42750,13 +42750,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42803,25 +42803,25 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundationType : public IfcDeepFoundationType { public: IfcCaissonFoundationType() {} - explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -42859,13 +42859,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x3_rc1::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42912,14 +42912,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuiltElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42952,37 +42952,37 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCircularArcSegment2D : public IfcCurveSegment2D { public: IfcCircularArcSegment2D() {} - explicit IfcCircularArcSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcCircularArcSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} double Radius() const; void setRadius(const double& v); bool IsCCW() const; void setIsCCW(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc1::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, double v4_Radius, bool v5_IsCCW); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -43015,13 +43015,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x3_rc1::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -43298,7 +43298,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuiltElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -43307,7 +43307,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The standard column, @@ -43558,10 +43558,10 @@ public: class IFC_PARSE_API IfcColumnStandardCase : public IfcColumn { public: IfcColumnStandardCase() {} - explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} + explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -43599,13 +43599,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -43638,13 +43638,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -43677,13 +43677,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -43711,14 +43711,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -43750,14 +43750,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -43778,26 +43778,26 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegmentType : public IfcFlowSegmentType { public: IfcConveyorSegmentType() {} - explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -43832,13 +43832,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -43877,25 +43877,25 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCourse : public IfcBuiltElement { public: IfcCourse() {} - explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc1::IfcCourseTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCourseTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCourseTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -44125,7 +44125,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuiltElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -44133,7 +44133,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -44277,7 +44277,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuiltElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -44286,7 +44286,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -44326,23 +44326,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x3_rc1::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDeepFoundation : public IfcBuiltElement { public: IfcDeepFoundation() {} - explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Representation of different kinds of @@ -44521,13 +44521,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -44721,25 +44721,25 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoardType : public IfcFlowControllerType { public: IfcDistributionBoardType() {} - explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -44782,13 +44782,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -44848,10 +44848,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -45019,11 +45019,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -45097,11 +45097,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -45189,7 +45189,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x3_rc1::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -45200,7 +45200,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -45246,7 +45246,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -45257,7 +45257,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -45619,7 +45619,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuiltElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -45647,7 +45647,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The standard door, @@ -45757,10 +45757,10 @@ public: class IFC_PARSE_API IfcDoorStandardCase : public IfcDoor { public: IfcDoorStandardCase() {} - explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} + explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -45795,13 +45795,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -45836,13 +45836,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -45874,47 +45874,47 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcEarthworksCut : public IfcFeatureElementSubtraction { public: IfcEarthworksCut() {} - explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::optional< ::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcEarthworksElement : public IfcBuiltElement { public: IfcEarthworksElement() {} - explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcEarthworksFill : public IfcEarthworksElement { public: IfcEarthworksFill() {} - explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -45949,13 +45949,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -45988,13 +45988,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -46027,25 +46027,25 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDeviceType : public IfcFlowTreatmentDeviceType { public: IfcElectricFlowTreatmentDeviceType() {} - explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -46083,13 +46083,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -46122,13 +46122,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -46161,13 +46161,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -46182,10 +46182,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -46232,12 +46232,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -46287,12 +46287,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -46362,12 +46362,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -46388,14 +46388,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -46429,13 +46429,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x3_rc1::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -46470,13 +46470,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x3_rc1::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -46515,13 +46515,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -46536,10 +46536,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -46550,10 +46550,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -46589,13 +46589,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -46681,12 +46681,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -46697,10 +46697,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -46729,10 +46729,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -46747,10 +46747,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -46767,10 +46767,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -46781,10 +46781,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -46812,7 +46812,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuiltElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// The generic type of the footing. /// @@ -46820,17 +46820,17 @@ public: std::optional< ::Ifc4x3_rc1::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFootingTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalAssembly : public IfcGeotechnicalElement { public: IfcGeotechnicalAssembly() {} - explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// IfcGrid ia a planar design @@ -46932,7 +46932,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x3_rc1::IfcGridAxis > UAxes() const; @@ -46946,7 +46946,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc1::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -47002,12 +47002,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -47056,12 +47056,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -47124,12 +47124,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -47201,24 +47201,24 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcKerb : public IfcBuiltElement { public: IfcKerb() {} - explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -47271,12 +47271,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -47348,36 +47348,36 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} ::Ifc4x3_rc1::IfcCurve Axis() const; void setAxis(const ::Ifc4x3_rc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcCurve v8_Axis); }; class IFC_PARSE_API IfcLiquidTerminal : public IfcFlowTerminal { public: IfcLiquidTerminal() {} - explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -47427,12 +47427,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -47688,7 +47688,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuiltElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -47697,7 +47697,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// The standard member, @@ -47942,34 +47942,34 @@ public: class IFC_PARSE_API IfcMemberStandardCase : public IfcMember { public: IfcMemberStandardCase() {} - explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} + explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMemberTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsAppliance : public IfcFlowTerminal { public: IfcMobileTelecommunicationsAppliance() {} - explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMooringDevice : public IfcBuiltElement { public: IfcMooringDevice() {} - explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -48016,24 +48016,24 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcNavigationElement : public IfcBuiltElement { public: IfcNavigationElement() {} - explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -48044,10 +48044,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc1::IfcCompositeCurveSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -48119,24 +48119,24 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcOutletTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcPavement : public IfcBuiltElement { public: IfcPavement() {} - explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< bool > Flexible() const; void setFlexible(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< bool > v9_Flexible); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -48160,7 +48160,7 @@ public: class IFC_PARSE_API IfcPile : public IfcDeepFoundation { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} /// The predefined generic type of the pile according to function. /// @@ -48173,7 +48173,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x3_rc1::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -48264,12 +48264,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -48335,12 +48335,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -48574,7 +48574,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuiltElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -48583,7 +48583,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// The standard plate, @@ -48742,10 +48742,10 @@ public: class IFC_PARSE_API IfcPlateStandardCase : public IfcPlate { public: IfcPlateStandardCase() {} - explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} + explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -48827,12 +48827,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -48878,13 +48878,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -48939,24 +48939,24 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcPumpTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcRail : public IfcBuiltElement { public: IfcRail() {} - explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc1::IfcRailTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRailTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRailTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -49094,7 +49094,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuiltElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -49102,7 +49102,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -49241,7 +49241,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuiltElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -49251,7 +49251,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -49445,7 +49445,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuiltElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -49454,7 +49454,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -49496,25 +49496,25 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc1::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_rc1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_PARSE_API IfcReinforcedSoil : public IfcEarthworksElement { public: IfcReinforcedSoil() {} - explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -49548,7 +49548,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -49562,7 +49562,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -49584,7 +49584,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -49606,7 +49606,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc1::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -49757,7 +49757,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuiltElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -49765,7 +49765,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -49897,12 +49897,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -49956,13 +49956,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x3_rc1::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -49982,26 +49982,26 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuiltElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignal : public IfcFlowTerminal { public: IfcSignal() {} - explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcSignalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSignalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSignalTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -50267,7 +50267,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuiltElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -50276,7 +50276,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The IfcSlabElementedCase @@ -50365,10 +50365,10 @@ public: class IFC_PARSE_API IfcSlabElementedCase : public IfcSlab { public: IfcSlabElementedCase() {} - explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The standard slab, @@ -50533,10 +50533,10 @@ public: class IFC_PARSE_API IfcSlabStandardCase : public IfcSlab { public: IfcSlabStandardCase() {} - explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -50589,12 +50589,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -50662,12 +50662,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -50723,12 +50723,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -50899,7 +50899,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuiltElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -50907,7 +50907,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -51080,7 +51080,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuiltElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -51106,7 +51106,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc1::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -51135,7 +51135,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -51166,7 +51166,7 @@ public: ::Ifc4x3_rc1::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x3_rc1::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc1::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -51175,7 +51175,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -51185,7 +51185,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -51198,10 +51198,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -51295,12 +51295,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -51366,24 +51366,24 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTankTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcTrackElement : public IfcBuiltElement { public: IfcTrackElement() {} - explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTrackElementTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -51431,12 +51431,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -51489,12 +51489,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -51526,13 +51526,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -51610,12 +51610,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -51807,12 +51807,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc1::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -52060,7 +52060,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuiltElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -52069,7 +52069,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallElementedCase @@ -52173,10 +52173,10 @@ public: class IFC_PARSE_API IfcWallElementedCase : public IfcWall { public: IfcWallElementedCase() {} - explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -52384,10 +52384,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -52497,12 +52497,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -52866,7 +52866,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuiltElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -52894,7 +52894,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The standard window, @@ -53014,10 +53014,10 @@ public: class IFC_PARSE_API IfcWindowStandardCase : public IfcWindow { public: IfcWindowStandardCase() {} - explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} + explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -53054,13 +53054,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -53123,12 +53123,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -53176,12 +53176,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -53232,12 +53232,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -53269,25 +53269,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x3_rc1::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc1::IfcCurve v8_Axis, std::optional< ::Ifc4x3_rc1::IfcAlignmentTypeEnum::Value > v9_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -53471,12 +53471,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -53719,7 +53719,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuiltElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -53728,7 +53728,7 @@ public: std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value > v9_PredefinedType); }; /// The standard beam, @@ -53985,22 +53985,22 @@ public: class IFC_PARSE_API IfcBeamStandardCase : public IfcBeam { public: IfcBeamStandardCase() {} - explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} + explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBeamTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBearing : public IfcBuiltElement { public: IfcBearing() {} - explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc1::IfcBearingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBearingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBearingTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -54075,22 +54075,22 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBorehole : public IfcGeotechnicalAssembly { public: IfcBorehole() {} - explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -54286,12 +54286,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuiltElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -54338,12 +54338,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -54410,13 +54410,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -54481,13 +54481,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -54567,13 +54567,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -54666,25 +54666,25 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundation : public IfcDeepFoundation { public: IfcCaissonFoundation() {} - explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} std::optional< ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -54759,12 +54759,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -54836,12 +54836,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -54949,12 +54949,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -55006,12 +55006,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -55083,12 +55083,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -55130,25 +55130,25 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x3_rc1::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc1::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc1::IfcControllerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegment : public IfcFlowSegment { public: IfcConveyorSegment() {} - explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -55203,12 +55203,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -55271,12 +55271,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -55353,24 +55353,24 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc1::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoard : public IfcFlowController { public: IfcDistributionBoard() {} - explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -55407,22 +55407,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc1::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -55506,11 +55506,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -55591,12 +55591,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -55651,12 +55651,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -55704,12 +55704,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -55813,12 +55813,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -55881,12 +55881,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -55933,24 +55933,24 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDevice : public IfcFlowTreatmentDevice { public: IfcElectricFlowTreatmentDevice() {} - explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -56003,12 +56003,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -56055,12 +56055,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -56107,12 +56107,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -56172,12 +56172,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -56270,12 +56270,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc1::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -56347,12 +56347,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -56410,32 +56410,32 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeomodel : public IfcGeotechnicalAssembly { public: IfcGeomodel() {} - explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeoslice : public IfcGeotechnicalAssembly { public: IfcGeoslice() {} - explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Entity Definition @@ -56493,12 +56493,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -56638,12 +56638,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc1::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -56704,12 +56704,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -56777,12 +56777,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -56830,12 +56830,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -56947,12 +56947,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc1::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc1::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc1::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x3_rc2-schema.cpp b/src/ifcparse/schemas/Ifc4x3_rc2-schema.cpp index e7ae6cc6fa..d75004d06f 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc2-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc2-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x3_rc2.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X3_RC2_types[1327] = {nullptr}; -IfcParse::schema_definition* IFC4X3_RC2_populate_schema() { +ifcopenshell::schema_definition* IFC4X3_RC2_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"DEAD_LOAD_G"s,"COMPLETION_G1"s,"LIVE_LOAD_Q"s,"SNOW_S"s,"WIND_W"s,"PRESTRESSING_P"s,"SETTLEMENT_U"s,"TEMPERATURE_T"s,"EARTHQUAKE_E"s,"FIRE"s,"IMPULSE"s,"IMPACT"s,"TRANSPORT"s,"ERECTION"s,"PROPPING"s,"SYSTEM_IMPERFECTION"s,"SHRINKAGE"s,"CREEP"s,"LACK_OF_FIT"s,"BUOYANCY"s,"ICE"s,"CURRENT"s,"WAVE"s,"RAIN"s,"BRAKES"s,"IfcActionTypeEnum"s,"PERMANENT_G"s,"VARIABLE_Q"s,"EXTRAORDINARY_A"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"OFFICE"s,"SITE"s,"HOME"s,"DISTRIBUTIONPOINT"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"HEATPIPE"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"SIREN"s,"WHISTLE"s,"RAILWAYCROCODILE"s,"RAILWAYDETONATOR"s,"IfcAlignmentCantSegmentTypeEnum"s,"CONSTANTCANT"s,"LINEARTRANSITION"s,"BIQUADRATICPARABOLA"s,"BLOSSCURVE"s,"COSINECURVE"s,"SINECURVE"s,"VIENNESEBEND"s,"IfcAlignmentHorizontalSegmentTypeEnum"s,"LINE"s,"CIRCULARARC"s,"CLOTHOID"s,"CUBICSPIRAL"s,"IfcAlignmentTypeEnum"s,"IfcAlignmentVerticalSegmentTypeEnum"s,"CONSTANTGRADIENT"s,"PARABOLICARC"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"OUT_PLANE_LOADING_2D"s,"LOADING_3D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAnnotationTypeEnum"s,"ASSUMEDPOINT"s,"ASBUILTAREA"s,"ASBUILTLINE"s,"NON_PHYSICAL_SIGNAL"s,"ASSUMEDLINE"s,"WIDTHEVENT"s,"ASSUMEDAREA"s,"SUPERELEVATIONEVENT"s,"ASBUILTPOINT"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"RAILWAY_COMMUNICATION_TERMINAL"s,"IfcBSplineCurveForm"s,"POLYLINE_FORM"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"PARABOLIC_ARC"s,"HYPERBOLIC_ARC"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"PLANE_SURF"s,"CYLINDRICAL_SURF"s,"CONICAL_SURF"s,"SPHERICAL_SURF"s,"TOROIDAL_SURF"s,"SURF_OF_REVOLUTION"s,"RULED_SURF"s,"GENERALISED_CONE"s,"QUADRIC_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"IfcBeamTypeEnum"s,"BEAM"s,"JOIST"s,"HOLLOWCORE"s,"LINTEL"s,"SPANDREL"s,"T_BEAM"s,"GIRDER_SEGMENT"s,"DIAPHRAGM"s,"PIERCAP"s,"HATSTONE"s,"CORNICE"s,"EDGEBEAM"s,"IfcBearingTypeDisplacementEnum"s,"FIXED_MOVEMENT"s,"GUIDED_LONGITUDINAL"s,"GUIDED_TRANSVERSAL"s,"FREE_MOVEMENT"s,"IfcBearingTypeEnum"s,"CYLINDRICAL"s,"SPHERICAL"s,"ELASTOMERIC"s,"POT"s,"GUIDE"s,"ROCKER"s,"ROLLER"s,"DISK"s,"IfcBenchmarkEnum"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"EQUALTO"s,"NOTEQUALTO"s,"INCLUDES"s,"NOTINCLUDES"s,"INCLUDEDIN"s,"NOTINCLUDEDIN"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"WATER"s,"STEAM"s,"IfcBoolean"s,"IfcBooleanOperator"s,"UNION"s,"INTERSECTION"s,"DIFFERENCE"s,"IfcBridgePartTypeEnum"s,"ABUTMENT"s,"DECK"s,"DECK_SEGMENT"s,"FOUNDATION"s,"PIER"s,"PIER_SEGMENT"s,"PYLON"s,"SUBSTRUCTURE"s,"SUPERSTRUCTURE"s,"SURFACESTRUCTURE"s,"IfcBridgeTypeEnum"s,"ARCHED"s,"CABLE_STAYED"s,"CANTILEVER"s,"CULVERT"s,"FRAMEWORK"s,"GIRDER"s,"SUSPENSION"s,"TRUSS"s,"IfcBuildingElementPartTypeEnum"s,"INSULATION"s,"PRECASTPANEL"s,"APRON"s,"ARMOURUNIT"s,"SAFETYCAGE"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORVOID"s,"PROVISIONFORSPACE"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"REINFORCING"s,"PRESTRESSING"s,"EROSIONPREVENTION"s,"IfcBuiltSystemTypeEnum"s,"MOORING"s,"TRACKCIRCUIT"s,"MOORINGSYSTEM"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CROSS"s,"REDUCER"s,"TEE"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CONDUITSEGMENT"s,"CABLEBRACKET"s,"CATENARYWIRE"s,"DROPPER"s,"IfcCableFittingTypeEnum"s,"CONNECTOR"s,"ENTRY"s,"EXIT"s,"JUNCTION"s,"TRANSITION"s,"FANOUT"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CORESEGMENT"s,"CONTACTWIRESEGMENT"s,"FIBERSEGMENT"s,"FIBERTUBE"s,"OPTICALCABLESEGMENT"s,"STITCHWIRE"s,"WIREPAIRSEGMENT"s,"IfcCaissonFoundationTypeEnum"s,"WELL"s,"CAISSON"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"NOCHANGE"s,"MODIFIED"s,"ADDED"s,"DELETED"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"WATERCOOLED"s,"HEATRECOVERY"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PILASTER"s,"PIERSTEM"s,"PIERSTEM_SEGMENT"s,"STANDCOLUMN"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"COMPUTER"s,"GATEWAY"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"PRINTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"AUTOMATON"s,"INTELLIGENT_PERIPHERAL"s,"IP_NETWORK_EQUIPMENT"s,"OPTICAL_NETWORK_UNIT"s,"TELECOMMAND"s,"TELEPHONYEXCHANGE"s,"TRANSITIONCOMPONENT"s,"TRANSPONDER"s,"TRANSPORTEQUIPMENT"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"DYNAMIC"s,"RECIPROCATING"s,"ROTARY"s,"SCROLL"s,"TROCHOIDAL"s,"SINGLESTAGE"s,"BOOSTER"s,"OPENTYPE"s,"HERMETIC"s,"SEMIHERMETIC"s,"WELDEDSHELLHERMETIC"s,"ROLLINGPISTON"s,"ROTARYVANE"s,"SINGLESCREW"s,"TWINSCREW"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATPATH"s,"ATSTART"s,"ATEND"s,"IfcConstraintEnum"s,"HARD"s,"SOFT"s,"ADVISORY"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"MULTIPOSITION"s,"TWOPOSITION"s,"IfcConveyorSegmentTypeEnum"s,"CHUTECONVEYOR"s,"BELTCONVEYOR"s,"SCREWCONVEYOR"s,"BUCKETCONVEYOR"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"NATURALDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"MECHANICALFORCEDDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"TENDER"s,"PRICEDBILLOFQUANTITIES"s,"UNPRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"IfcCountMeasure"s,"IfcCourseTypeEnum"s,"ARMOUR"s,"FILTER"s,"BALLASTBED"s,"CORE"s,"PAVEMENT"s,"PROTECTION"s,"IfcCoveringTypeEnum"s,"CEILING"s,"FLOORING"s,"CLADDING"s,"ROOFING"s,"MOLDING"s,"SKIRTINGBOARD"s,"MEMBRANE"s,"SLEEVING"s,"WRAPPING"s,"COPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"INTEGERCOUNTRATEUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARVELOCITYUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"TORQUEUNIT"s,"MOMENTOFINERTIAUNIT"s,"LINEARMOMENTUNIT"s,"LINEARFORCEUNIT"s,"PLANARFORCEUNIT"s,"MODULUSOFELASTICITYUNIT"s,"SHEARMODULUSUNIT"s,"LINEARSTIFFNESSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"ACCELERATIONUNIT"s,"CURVATUREUNIT"s,"HEATINGVALUEUNIT"s,"IONCONCENTRATIONUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"PHUNIT"s,"ROTATIONALMASSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"POSITIVE"s,"NEGATIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BRACKET"s,"SHOE"s,"EXPANSION_JOINT_DEVICE"s,"BIRDPROTECTION"s,"CABLEARRANGER"s,"INSULATOR"s,"LOCK"s,"TENSIONINGEQUIPMENT"s,"RAILPAD"s,"SLIDINGCHAIR"s,"PANEL_STRENGTHENING"s,"RAILBRACE"s,"ELASTIC_CUSHION"s,"SOUNDABSORPTION"s,"RAIL_LUBRICATION"s,"RAIL_MECHANICAL_EQUIPMENT"s,"IfcDistributionBoardTypeEnum"s,"SWITCHBOARD"s,"CONSUMERUNIT"s,"MOTORCONTROLCENTRE"s,"DISTRIBUTIONFRAME"s,"DISTRIBUTIONBOARD"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"WIRELESS"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"CATENARY_SYSTEM"s,"OVERHEAD_CONTACTLINE_SYSTEM"s,"RETURN_CIRCUIT"s,"IfcDocumentConfidentialityEnum"s,"PUBLIC"s,"RESTRICTED"s,"CONFIDENTIAL"s,"PERSONAL"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINALDRAFT"s,"FINAL"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"SWINGING"s,"DOUBLE_ACTING"s,"SLIDING"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"FIXEDPANEL"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorStyleConstructionEnum"s,"ALUMINIUM"s,"HIGH_GRADE_STEEL"s,"STEEL"s,"ALUMINIUM_WOOD"s,"ALUMINIUM_PLASTIC"s,"IfcDoorStyleOperationEnum"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"DOUBLE_DOOR_FOLDING"s,"IfcDoorTypeEnum"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"BOOM_BARRIER"s,"TURNSTILE"s,"IfcDoorTypeOperationEnum"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"RIGIDSEGMENT"s,"FLEXIBLESEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcEarthworksCutTypeEnum"s,"DREDGING"s,"EXCAVATION"s,"OVEREXCAVATION"s,"TOPSOILREMOVAL"s,"STEPEXCAVATION"s,"PAVEMENTMILLING"s,"CUT"s,"BASE_EXCAVATION"s,"IfcEarthworksFillTypeEnum"s,"BACKFILL"s,"COUNTERWEIGHT"s,"SUBGRADE"s,"EMBANKMENT"s,"TRANSITIONSECTION"s,"SUBGRADEBED"s,"SLOPEFILL"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERHEATER"s,"FREESTANDINGWATERCOOLER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITORBANK"s,"HARMONICFILTER"s,"INDUCTORBANK"s,"UPS"s,"CAPACITOR"s,"COMPENSATOR"s,"INDUCTOR"s,"RECHARGER"s,"IfcElectricFlowTreatmentDeviceTypeEnum"s,"ELECTRONICFILTER"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"TIMECLOCK"s,"TIMEDELAY"s,"RELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SLAB_FIELD"s,"CROSS_BRACING"s,"MAST"s,"SIGNALASSEMBLY"s,"GRID"s,"SHELTER"s,"SUPPORTINGASSEMBLY"s,"SUSPENSIONASSEMBLY"s,"TRACTION_SWITCHING_ASSEMBLY"s,"TRACKPANEL"s,"TURNOUTPANEL"s,"DILATATIONPANEL"s,"RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY"s,"ENTRANCEWORKS"s,"SUMPBUSTER"s,"TRAFFIC_CALMING_DEVICE"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVEAIRWASHER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTRULE"s,"EVENTMESSAGE"s,"EVENTTIME"s,"EVENTCOMPLEX"s,"IfcEventTypeEnum"s,"STARTEVENT"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_WATER"s,"EXTERNAL_FIRE"s,"IfcFacilityPartCommonTypeEnum"s,"SEGMENT"s,"ABOVEGROUND"s,"LEVELCROSSING"s,"BELOWGROUND"s,"TERMINAL"s,"IfcFacilityUsageEnum"s,"LATERAL"s,"REGION"s,"VERTICAL"s,"LONGITUDINAL"s,"IfcFanTypeEnum"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALAIRFOIL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"PROPELLORAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SOURCE"s,"SINK"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"AMMETER"s,"FREQUENCYMETER"s,"POWERFACTORMETER"s,"PHASEANGLEMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"COMBINED"s,"VOLTMETER"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"CHAIR"s,"TABLE"s,"DESK"s,"BED"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"TECHNICALCABINET"s,"IfcGeographicElementTypeEnum"s,"TERRAIN"s,"SOIL_BORING_POINT"s,"IfcGeometricProjectionEnum"s,"GRAPH_VIEW"s,"SKETCH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"ELEVATION_VIEW"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"RADIAL"s,"TRIANGULAR"s,"IRREGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"TURNOUTHEATING"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"STEAMINJECTION"s,"ADIABATICAIRWASHER"s,"ADIABATICPAN"s,"ADIABATICWETTEDELEMENT"s,"ADIABATICATOMIZING"s,"ADIABATICULTRASONIC"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDBUTANE"s,"ASSISTEDSTEAM"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcImpactProtectionDeviceTypeEnum"s,"CRASHCUSHION"s,"DAMPINGSYSTEM"s,"FENDER"s,"BUMPER"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"SPACEINVENTORY"s,"FURNITUREINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"UNIFORM_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"PIECEWISE_BEZIER_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"POINTSOURCE"s,"DIRECTIONSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLiquidTerminalTypeEnum"s,"LOADINGARM"s,"IfcLoadGroupTypeEnum"s,"LOAD_GROUP"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALOR"s,"LOGICALXOR"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMarineFacilityTypeEnum"s,"CANAL"s,"WATERWAYSHIPLIFT"s,"LAUNCHRECOVERY"s,"MARINEDEFENCE"s,"HYDROLIFT"s,"SHIPYARD"s,"SHIPLIFT"s,"PORT"s,"QUAY"s,"FLOATINGDOCK"s,"NAVIGATIONALCHANNEL"s,"BREAKWATER"s,"DRYDOCK"s,"JETTY"s,"SHIPLOCK"s,"BARRIERBEACH"s,"SLIPWAY"s,"WATERWAY"s,"IfcMarinePartTypeEnum"s,"CREST"s,"MANUFACTURING"s,"LOWWATERLINE"s,"WATERFIELD"s,"CILL_LEVEL"s,"BERTHINGSTRUCTURE"s,"COPELEVEL"s,"CHAMBER"s,"STORAGE"s,"APPROACHCHANNEL"s,"VEHICLESERVICING"s,"SHIPTRANSFER"s,"GATEHEAD"s,"GUDINGSTRUCTURE"s,"BELOWWATERLINE"s,"WEATHERSIDE"s,"LANDFIELD"s,"LEEWARDSIDE"s,"ABOVEWATERLINE"s,"ANCHORAGE"s,"NAVIGATIONALAREA"s,"HIGHWATERLINE"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RIVET"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"COUPLER"s,"RAILJOINT"s,"RAILFASTENING"s,"CHAIN"s,"ROPE"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STRINGER"s,"STRUT"s,"STUD"s,"STIFFENING_RIB"s,"ARCH_SEGMENT"s,"SUSPENSION_CABLE"s,"SUSPENDER"s,"STAY_CABLE"s,"STRUCTURALCABLE"s,"TIEBAR"s,"IfcMobileTelecommunicationsApplianceTypeEnum"s,"E_UTRAN_NODE_B"s,"REMOTE_RADIO_UNIT"s,"ACCESSPOINT"s,"BASETRANSCEIVERSTATION"s,"REMOTEUNIT"s,"BASEBANDUNIT"s,"MASTERUNIT"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMooringDeviceTypeEnum"s,"LINETENSIONER"s,"MAGNETICDEVICE"s,"MOORINGHOOKS"s,"VACUUMDEVICE"s,"BOLLARD"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNavigationElementTypeEnum"s,"BEACON"s,"BUOY"s,"IfcNonNegativeLengthMeasure"s,"IfcNullStyle"s,"NULL"s,"IfcNumericMeasure"s,"IfcObjectTypeEnum"s,"PRODUCT"s,"PROCESS"s,"RESOURCE"s,"ACTOR"s,"GROUP"s,"PROJECT"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"POWEROUTLET"s,"DATAOUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"DRIVEN"s,"JETGROUTING"s,"COHESION"s,"FRICTION"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"CURTAIN_PANEL"s,"SHEET"s,"FLANGE_PLATE"s,"WEB_PLATE"s,"STIFFENER_PLATE"s,"GUSSET_PLATE"s,"COVER_PLATE"s,"SPLICE_PLATE"s,"BASE_PLATE"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"CURVE"s,"AREA"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"BLISTER"s,"DEVIATOR"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTRONIC"s,"ELECTROMAGNETIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"CIRCUITBREAKER"s,"EARTHLEAKAGECIRCUITBREAKER"s,"EARTHINGSWITCH"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"VARISTOR"s,"ANTI_ARCING_DEVICE"s,"SPARKGAP"s,"VOLTAGELIMITER"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailTypeEnum"s,"RACKRAIL"s,"BLADE"s,"GUARDRAIL"s,"STOCKRAIL"s,"CHECKRAIL"s,"RAIL"s,"IfcRailingTypeEnum"s,"HANDRAIL"s,"BALUSTRADE"s,"FENCE"s,"IfcRailwayPartTypeEnum"s,"TRACKSTRUCTURE"s,"TRACKSTRUCTUREPART"s,"LINESIDESTRUCTUREPART"s,"DILATATIONSUPERSTRUCTURE"s,"PLAINTRACKSUPESTRUCTURE"s,"LINESIDESTRUCTURE"s,"TURNOUTSUPERSTRUCTURE"s,"IfcRampFlightTypeEnum"s,"STRAIGHT"s,"SPIRAL"s,"IfcRampTypeEnum"s,"STRAIGHT_RUN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"QUARTER_TURN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"HALF_TURN_RAMP"s,"SPIRAL_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"DAILY"s,"WEEKLY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"KILOPOINT"s,"MILEPOINT"s,"STATION"s,"REFERENCEMARKER"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcedSoilTypeEnum"s,"SURCHARGEPRELOADED"s,"VERTICALLYDRAINED"s,"DYNAMICALLYCOMPACTED"s,"REPLACED"s,"ROLLERCOMPACTED"s,"GROUTED"s,"IfcReinforcingBarRoleEnum"s,"MAIN"s,"SHEAR"s,"LIGATURE"s,"PUNCHING"s,"EDGE"s,"RING"s,"ANCHORING"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"SPACEBAR"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoadPartTypeEnum"s,"ROADSIDEPART"s,"BUS_STOP"s,"HARDSHOULDER"s,"PASSINGBAY"s,"ROADWAYPLATEAU"s,"ROADSIDE"s,"REFUGEISLAND"s,"TOLLPLAZA"s,"CENTRALRESERVE"s,"SIDEWALK"s,"PARKINGBAY"s,"RAILWAYCROSSING"s,"PEDESTRIAN_CROSSING"s,"SOFTSHOULDER"s,"BICYCLECROSSING"s,"CENTRALISLAND"s,"SHOULDER"s,"TRAFFICLANE"s,"ROADSEGMENT"s,"ROUNDABOUT"s,"LAYBY"s,"CARRIAGEWAY"s,"TRAFFICISLAND"s,"IfcRoleEnum"s,"SUPPLIER"s,"MANUFACTURER"s,"CONTRACTOR"s,"SUBCONTRACTOR"s,"ARCHITECT"s,"STRUCTURALENGINEER"s,"COSTENGINEER"s,"CLIENT"s,"BUILDINGOWNER"s,"BUILDINGOPERATOR"s,"MECHANICALENGINEER"s,"ELECTRICALENGINEER"s,"PROJECTMANAGER"s,"FACILITIESMANAGER"s,"CIVILENGINEER"s,"COMMISSIONINGENGINEER"s,"ENGINEER"s,"CONSULTANT"s,"CONSTRUCTIONMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"RESELLER"s,"IfcRoofTypeEnum"s,"FLAT_ROOF"s,"SHED_ROOF"s,"GABLE_ROOF"s,"HIP_ROOF"s,"HIPPED_GABLE_ROOF"s,"GAMBREL_ROOF"s,"MANSARD_ROOF"s,"BARREL_ROOF"s,"RAINBOW_ROOF"s,"BUTTERFLY_ROOF"s,"PAVILION_ROOF"s,"DOME_ROOF"s,"FREEFORM"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"EXA"s,"PETA"s,"TERA"s,"GIGA"s,"MEGA"s,"KILO"s,"HECTO"s,"DECA"s,"DECI"s,"CENTI"s,"MILLI"s,"MICRO"s,"NANO"s,"PICO"s,"FEMTO"s,"ATTO"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SHOWER"s,"SANITARYFOUNTAIN"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"UNIFORM"s,"TAPERED"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"COSENSOR"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"SMOKESENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"WINDSENSOR"s,"EARTHQUAKESENSOR"s,"FOREIGNOBJECTDETECTIONSENSOR"s,"OBSTACLESENSOR"s,"RAINSENSOR"s,"SNOWDEPTHSENSOR"s,"TRAINSENSOR"s,"TURNOUTCLOSURESENSOR"s,"WHEELSENSOR"s,"IfcSequenceEnum"s,"START_START"s,"START_FINISH"s,"FINISH_START"s,"FINISH_FINISH"s,"IfcShadingDeviceTypeEnum"s,"JALOUSIE"s,"SHUTTER"s,"AWNING"s,"IfcShearModulusMeasure"s,"IfcSignTypeEnum"s,"MARKER"s,"PICTORAL"s,"IfcSignalTypeEnum"s,"VISUAL"s,"AUDIO"s,"MIXED"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_SINGLEVALUE"s,"P_ENUMERATEDVALUE"s,"P_BOUNDEDVALUE"s,"P_LISTVALUE"s,"P_TABLEVALUE"s,"P_REFERENCEVALUE"s,"Q_LENGTH"s,"Q_AREA"s,"Q_VOLUME"s,"Q_COUNT"s,"Q_WEIGHT"s,"Q_TIME"s,"IfcSlabTypeEnum"s,"FLOOR"s,"ROOF"s,"LANDING"s,"BASESLAB"s,"APPROACH_SLAB"s,"WEARING"s,"TRACKSLAB"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"SPACE"s,"PARKING"s,"GFA"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"OCCUPANCY"s,"RESERVATION"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"WINDER"s,"CURVED"s,"IfcStairTypeEnum"s,"STRAIGHT_RUN_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"QUARTER_WINDING_STAIR"s,"QUARTER_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"HALF_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"SPIRAL_STAIR"s,"DOUBLE_RETURN_STAIR"s,"CURVED_RUN_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"LADDER"s,"IfcStateEnum"s,"READWRITE"s,"READONLY"s,"LOCKED"s,"READWRITELOCKED"s,"READONLYLOCKED"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"POLYGONAL"s,"EQUIDISTANT"s,"SINUS"s,"PARABOLA"s,"DISCRETE"s,"IfcStructuralCurveMemberTypeEnum"s,"RIGID_JOINED_MEMBER"s,"PIN_JOINED_MEMBER"s,"TENSION_MEMBER"s,"COMPRESSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"MARK"s,"TAG"s,"TREATMENT"s,"DEFECT"s,"HATCHMARKING"s,"LINEMARKING"s,"PAVEMENTSURFACEMARKING"s,"SYMBOLMARKING"s,"NONSKIDSURFACING"s,"RUMBLESTRIP"s,"TRANSVERSERUMBLESTRIP"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"START_AND_STOP_EQUIPMENT"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"WORKSURFACE"s,"SUBRACK"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"PRESSUREVESSEL"s,"VESSEL"s,"OILRETENTIONTRAY"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonConduitTypeEnum"s,"GROUTING_DUCT"s,"TRUMPET"s,"DIABOLO"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"UP"s,"DOWN"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTrackElementTypeEnum"s,"TRACKENDOFALIGNMENT"s,"BLOCKINGDEVICE"s,"VEHICLESTOP"s,"SLEEPER"s,"HALF_SET_OF_BLADES"s,"SPEEDREGULATOR"s,"DERAILER"s,"FROG"s,"IfcTransformerTypeEnum"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"CHOPPER"s,"IfcTransitionCode"s,"DISCONTINUOUS"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"IfcTransitionCurveType"s,"CLOTHOIDCURVE"s,"CUBICPARABOLA"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementFixedTypeEnum"s,"ELEVATOR"s,"ESCALATOR"s,"MOVINGWALKWAY"s,"CRANEWAY"s,"LIFTINGGEAR"s,"IfcTransportElementNonFixedTypeEnum"s,"VEHICLE"s,"VEHICLETRACKED"s,"ROLLINGSTOCK"s,"VEHICLEWHEELED"s,"VEHICLEAIR"s,"CARGO"s,"VEHICLEMARINE"s,"IfcTransportElementTypeSelect"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"INDICATORPANEL"s,"MIMICPANEL"s,"HUMIDISTAT"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRHANDLER"s,"AIRCONDITIONINGUNIT"s,"DEHUMIDIFIER"s,"SPLITSYSTEM"s,"ROOFTOPUNIT"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DRAWOFFCOCK"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVibrationDamperTypeEnum"s,"BENDING_YIELD"s,"SHEAR_YIELD"s,"AXIAL_YIELD"s,"VISCOUS"s,"RUBBER"s,"IfcVibrationIsolatorTypeEnum"s,"COMPRESSION"s,"SPRING"s,"BASE"s,"IfcVoidingFeatureTypeEnum"s,"CUTOUT"s,"NOTCH"s,"HOLE"s,"MITER"s,"CHAMFER"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"SOLIDWALL"s,"STANDARD"s,"ELEMENTEDWALL"s,"RETAININGWALL"s,"WAVEWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"SIDEHUNGRIGHTHAND"s,"SIDEHUNGLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TILTANDTURNLEFTHAND"s,"TOPHUNG"s,"BOTTOMHUNG"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"REMOVABLECASEMENT"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowStyleConstructionEnum"s,"OTHER_CONSTRUCTION"s,"IfcWindowStyleOperationEnum"s,"SINGLE_PANEL"s,"DOUBLE_PANEL_VERTICAL"s,"DOUBLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_VERTICAL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_HORIZONTAL"s,"IfcWindowTypeEnum"s,"WINDOW"s,"SKYLIGHT"s,"LIGHTDOME"s,"IfcWindowTypePartitioningEnum"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcAlignmentParameterSegment"s,"IfcAlignmentVerticalSegment"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcPresentationStyleAssignment"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcCurveMeasureSelect"s,"IfcDerivedMeasureValue"s,"IfcFacilityPartTypeSelect"s,"IfcImpactProtectionDeviceTypeSelect"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcStyleAssignmentSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcAlignment2DVerSegCircularArc"s,"IfcAlignment2DVerSegLine"s,"IfcAlignment2DVerSegParabolicArc"s,"IfcAlignmentCantSegment"s,"IfcAlignmentHorizontalSegment"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearAxisWithInclination"s,"IfcLinearPlacement"s,"IfcLinearPlacementWithInclination"s,"IfcLinearSpanPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenCrossProfileDef"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointByDistanceExpression"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcSegment"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcWindowStyle"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcPresentationStyleSelect"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcAxis2PlacementLinear"s,"IfcAxisLateralInclination"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcCurveSegment"s,"IfcDirection"s,"IfcDirectrixCurveSweptAreaSolid"s,"IfcDirectrixDistanceSweptAreaSolid"s,"IfcDoorStyle"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcInclinedReferenceSweptAreaSolid"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcProxy"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelAssociatesProfileDef"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelPositions"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSectionedSurface"s,"IfcSeriesParameterCurve"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcToroidalSurface"s,"IfcTransportElementType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcLinearAxisSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBlossCurve"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuildingStorey"s,"IfcBuiltElementType"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcClothoid"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCourseType"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCurveSegment2D"s,"IfcCylindricalSurface"s,"IfcDeepFoundationType"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFacility"s,"IfcFacilityPart"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGeotechnicalElement"s,"IfcGeotechnicalStratum"s,"IfcGradientCurve"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcImpactProtectionDevice"s,"IfcImpactProtectionDeviceType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcKerbType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLineSegment2D"s,"IfcLinearElement"s,"IfcLiquidTerminalType"s,"IfcMarineFacility"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMobileTelecommunicationsApplianceType"s,"IfcMooringDeviceType"s,"IfcMotorConnectionType"s,"IfcNavigationElementType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOpeningStandardCase"s,"IfcOutletType"s,"IfcPavementType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlant"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailType"s,"IfcRailingType"s,"IfcRailway"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAggregates"s,"IfcRoad"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcSegmentedReferenceCurve"s,"IfcShadingDeviceType"s,"IfcSign"s,"IfcSignType"s,"IfcSignalType"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSolidStratum"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonConduit"s,"IfcTendonConduitType"s,"IfcTendonType"s,"IfcTrackElementType"s,"IfcTransformerType"s,"IfcTransitionCurveSegment2D"s,"IfcTransportElement"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVibrationDamper"s,"IfcVibrationDamperType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidStratum"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWaterStratum"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcInterferenceSelect"s,"IfcSpatialReferenceSelect"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignmentCant"s,"IfcAlignmentCurve"s,"IfcAlignmentHorizontal"s,"IfcAlignmentSegment"s,"IfcAlignmentVertical"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBearingType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBridge"s,"IfcBridgePart"s,"IfcBuilding"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBuiltElement"s,"IfcBuiltSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcCaissonFoundationType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCircularArcSegment2D"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcColumnStandardCase"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcConveyorSegmentType"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCourse"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDeepFoundation"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionBoardType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDoorStandardCase"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcEarthworksCut"s,"IfcEarthworksElement"s,"IfcEarthworksFill"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricFlowTreatmentDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGeotechnicalAssembly"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcKerb"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcLiquidTerminal"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMemberStandardCase"s,"IfcMobileTelecommunicationsAppliance"s,"IfcMooringDevice"s,"IfcMotorConnection"s,"IfcNavigationElement"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPavement"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcPlateStandardCase"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRail"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcedSoil"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSignal"s,"IfcSlab"s,"IfcSlabElementedCase"s,"IfcSlabStandardCase"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTrackElement"s,"IfcTransformer"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallElementedCase"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcWindowStandardCase"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBeamStandardCase"s,"IfcBearing"s,"IfcBoiler"s,"IfcBorehole"s,"IfcBuildingElementProxy"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcCaissonFoundation"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcConveyorSegment"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionBoard"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricFlowTreatmentDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcGeomodel"s,"IfcGeoslice"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"Radius"s,"IsConvex"s,"ParabolaConstant"s,"RailHeadDistance"s,"Segments"s,"StartDistAlong"s,"HorizontalLength"s,"StartCantLeft"s,"EndCantLeft"s,"StartCantRight"s,"EndCantRight"s,"SmoothingLength"s,"Horizontal"s,"Vertical"s,"Tag"s,"StartPoint"s,"StartDirection"s,"StartRadiusOfCurvature"s,"EndRadiusOfCurvature"s,"SegmentLength"s,"GravityCenterLineHeight"s,"StartTag"s,"EndTag"s,"GeometricParameters"s,"StartHeight"s,"StartGradient"s,"EndGradient"s,"RadiusOfCurvature"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Position"s,"CurveLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"IsCCW"s,"Source"s,"Edition"s,"EditionDate"s,"Location"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"ClothoidConstant"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"VerticalDatum"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"StartPlacement"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"Directrix"s,"StartParam"s,"EndParam"s,"StartDistance"s,"EndDistance"s,"FlowDirection"s,"SystemType"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ConstructionType"s,"ParameterTakesPrecedence"s,"Sizeable"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"UsageType"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"FixedReference"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"BaseCurve"s,"EndPoint"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"FixedAxisVertical"s,"Inclinating"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"Mountable"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"PlacementMeasuredAlong"s,"Distance"s,"RelativePlacement"s,"CartesianPosition"s,"Span"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"Expression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"PlacementRelTo"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"HorizontalWidths"s,"Widths"s,"Slopes"s,"Tags"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"Flexible"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"Height"s,"ColourComponents"s,"Pixel"s,"Placement"s,"SizeInX"s,"SizeInY"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"Styles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"ProxyType"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"RestartDistance"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"RelatingProfileDef"s,"ConnectionGeometry"s,"RelatingElement"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceType"s,"ImpliedOrder"s,"RelatingPositioningElement"s,"RelatedProducts"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"SpineCurve"s,"Transition"s,"CoefficientsX"s,"CoefficientsY"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"StartRadius"s,"EndRadius"s,"IsStartRadiusCCW"s,"IsEndRadiusCCW"s,"TransitionCurveType"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"Start"s,"Finish"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ToLinearAxis"s,"PositioningElement"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"UsingCurves"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ToFaceSet"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"Positions"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"PositionedRelativeTo"s,"ReferencedInStructures"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"ServicesFacilities"s,"HasColours"s,"HasTextures"s,"Types"s,"IFC4X3_RC2"s}; diff --git a/src/ifcparse/schemas/Ifc4x3_rc2.cpp b/src/ifcparse/schemas/Ifc4x3_rc2.cpp index 0583c3f231..db39bd1847 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc2.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc2.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x3_rc2.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x3_rc2::Identifier = "IFC4X3_RC2"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X3_RC2_types[1327]; -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[3]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[3]); } /* -Ifc4x3_rc2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x3_rc2::IfcActionRequestTypeEnum::Value Ifc4x3_rc2::IfcActionRequestTypeEnum } Ifc4x3_rc2::IfcActionRequestTypeEnum::operator Ifc4x3_rc2::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[4]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[4]); } /* -Ifc4x3_rc2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x3_rc2::IfcActionSourceTypeEnum::Value Ifc4x3_rc2::IfcActionSourceTypeEnum:: } Ifc4x3_rc2::IfcActionSourceTypeEnum::operator Ifc4x3_rc2::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[5]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[5]); } /* -Ifc4x3_rc2::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x3_rc2::IfcActionTypeEnum::Value Ifc4x3_rc2::IfcActionTypeEnum::FromString(c } Ifc4x3_rc2::IfcActionTypeEnum::operator Ifc4x3_rc2::IfcActionTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[11]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[11]); } /* -Ifc4x3_rc2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x3_rc2::IfcActuatorTypeEnum::Value Ifc4x3_rc2::IfcActuatorTypeEnum::FromStri } Ifc4x3_rc2::IfcActuatorTypeEnum::operator Ifc4x3_rc2::IfcActuatorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[13]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[13]); } /* -Ifc4x3_rc2::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x3_rc2::IfcAddressTypeEnum::Value Ifc4x3_rc2::IfcAddressTypeEnum::FromString } Ifc4x3_rc2::IfcAddressTypeEnum::operator Ifc4x3_rc2::IfcAddressTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[20]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[20]); } /* -Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_rc2::IfcAirTerminalBoxTypeEn } Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::operator Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[22]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[22]); } /* -Ifc4x3_rc2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value Ifc4x3_rc2::IfcAirTerminalTypeEnum::Fr } Ifc4x3_rc2::IfcAirTerminalTypeEnum::operator Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[25]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[25]); } /* -Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_rc2::IfcAirToAirHeatRe } Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[28]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[28]); } /* -Ifc4x3_rc2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x3_rc2::IfcAlarmTypeEnum::Value Ifc4x3_rc2::IfcAlarmTypeEnum::FromString(con } Ifc4x3_rc2::IfcAlarmTypeEnum::operator Ifc4x3_rc2::IfcAlarmTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[35]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[35]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[35]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[35]); } /* -Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_rc2::IfcAlignmentCantS } Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::operator Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[39]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[39]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[39]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[39]); } /* -Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_rc2::IfcAlignmen } Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::operator Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[42]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[42]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[42]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[42]); } /* -Ifc4x3_rc2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x3_rc2::IfcAlignmentTypeEnum::Value Ifc4x3_rc2::IfcAlignmentTypeEnum::FromSt } Ifc4x3_rc2::IfcAlignmentTypeEnum::operator Ifc4x3_rc2::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[45]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[45]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[45]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[45]); } /* -Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_rc2::IfcAlignmentV } Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::operator Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[47]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[47]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[47]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[47]); } /* -Ifc4x3_rc2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value Ifc4x3_rc2::IfcAnalysisModelTypeEnum } Ifc4x3_rc2::IfcAnalysisModelTypeEnum::operator Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[48]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[48]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[48]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[48]); } /* -Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_rc2::IfcAnalysisTheoryTypeEn } Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::operator Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAnnotationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[52]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAnnotationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[52]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAnnotationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[52]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAnnotationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[52]); } /* -Ifc4x3_rc2::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x3_rc2::IfcAnnotationTypeEnum::Value Ifc4x3_rc2::IfcAnnotationTypeEnum::From } Ifc4x3_rc2::IfcAnnotationTypeEnum::operator Ifc4x3_rc2::IfcAnnotationTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAnnotationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAnnotationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[64]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[64]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[64]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[64]); } /* -Ifc4x3_rc2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value Ifc4x3_rc2::IfcArithmeticOperatorEn } Ifc4x3_rc2::IfcArithmeticOperatorEnum::operator Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[65]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[65]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[65]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[65]); } /* -Ifc4x3_rc2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value Ifc4x3_rc2::IfcAssemblyPlaceEnum::FromSt } Ifc4x3_rc2::IfcAssemblyPlaceEnum::operator Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[70]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[70]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[70]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[70]); } /* -Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_rc2::IfcAudioVisualApp } Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::operator Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[116]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[116]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[116]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[116]); } /* -Ifc4x3_rc2::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x3_rc2::IfcBSplineCurveForm::Value Ifc4x3_rc2::IfcBSplineCurveForm::FromStri } Ifc4x3_rc2::IfcBSplineCurveForm::operator Ifc4x3_rc2::IfcBSplineCurveForm::Value() const { - return (Ifc4x3_rc2::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[119]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[119]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[119]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[119]); } /* -Ifc4x3_rc2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x3_rc2::IfcBSplineSurfaceForm::Value Ifc4x3_rc2::IfcBSplineSurfaceForm::From } Ifc4x3_rc2::IfcBSplineSurfaceForm::operator Ifc4x3_rc2::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x3_rc2::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[80]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[80]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[80]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[80]); } /* -Ifc4x3_rc2::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x3_rc2::IfcBeamTypeEnum::Value Ifc4x3_rc2::IfcBeamTypeEnum::FromString(const } Ifc4x3_rc2::IfcBeamTypeEnum::operator Ifc4x3_rc2::IfcBeamTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[83]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[83]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[83]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[83]); } /* -Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::Value Ifc4x3_rc2::IfcBearingTypeDisp } Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::operator Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::Value() const { - return (Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBearingTypeDisplacementEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBearingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[84]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBearingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[84]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[84]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[84]); } /* -Ifc4x3_rc2::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x3_rc2::IfcBearingTypeEnum::Value Ifc4x3_rc2::IfcBearingTypeEnum::FromString } Ifc4x3_rc2::IfcBearingTypeEnum::operator Ifc4x3_rc2::IfcBearingTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBearingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[85]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[85]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[85]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[85]); } /* -Ifc4x3_rc2::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x3_rc2::IfcBenchmarkEnum::Value Ifc4x3_rc2::IfcBenchmarkEnum::FromString(con } Ifc4x3_rc2::IfcBenchmarkEnum::operator Ifc4x3_rc2::IfcBenchmarkEnum::Value() const { - return (Ifc4x3_rc2::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[93]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[93]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[93]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[93]); } /* -Ifc4x3_rc2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x3_rc2::IfcBoilerTypeEnum::Value Ifc4x3_rc2::IfcBoilerTypeEnum::FromString(c } Ifc4x3_rc2::IfcBoilerTypeEnum::operator Ifc4x3_rc2::IfcBoilerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[97]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[97]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[97]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[97]); } /* -Ifc4x3_rc2::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x3_rc2::IfcBooleanOperator::Value Ifc4x3_rc2::IfcBooleanOperator::FromString } Ifc4x3_rc2::IfcBooleanOperator::operator Ifc4x3_rc2::IfcBooleanOperator::Value() const { - return (Ifc4x3_rc2::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBridgePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[113]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBridgePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[113]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[113]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[113]); } /* -Ifc4x3_rc2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x3_rc2::IfcBridgePartTypeEnum::Value Ifc4x3_rc2::IfcBridgePartTypeEnum::From } Ifc4x3_rc2::IfcBridgePartTypeEnum::operator Ifc4x3_rc2::IfcBridgePartTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBridgePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBridgeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[114]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBridgeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[114]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[114]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[114]); } /* -Ifc4x3_rc2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x3_rc2::IfcBridgeTypeEnum::Value Ifc4x3_rc2::IfcBridgeTypeEnum::FromString(c } Ifc4x3_rc2::IfcBridgeTypeEnum::operator Ifc4x3_rc2::IfcBridgeTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBridgeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[124]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[124]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[124]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[124]); } /* -Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value Ifc4x3_rc2::IfcBuildingElement } Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::operator Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[127]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[127]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[127]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[127]); } /* -Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_rc2::IfcBuildingElemen } Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::operator Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[130]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[130]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[130]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[130]); } /* -Ifc4x3_rc2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value Ifc4x3_rc2::IfcBuildingSystemTypeEn } Ifc4x3_rc2::IfcBuildingSystemTypeEnum::operator Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBuiltSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[134]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[134]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBuiltSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[134]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[134]); } /* -Ifc4x3_rc2::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Fr } Ifc4x3_rc2::IfcBuiltSystemTypeEnum::operator Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[137]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[137]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[137]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[137]); } /* -Ifc4x3_rc2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x3_rc2::IfcBurnerTypeEnum::Value Ifc4x3_rc2::IfcBurnerTypeEnum::FromString(c } Ifc4x3_rc2::IfcBurnerTypeEnum::operator Ifc4x3_rc2::IfcBurnerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[140]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[140]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[140]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[140]); } /* -Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_rc2::IfcCableCarrierFit } Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::operator Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[143]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[143]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[143]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[143]); } /* -Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_rc2::IfcCableCarrierSeg } Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::operator Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[146]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[146]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[146]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[146]); } /* -Ifc4x3_rc2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x3_rc2::IfcCableFittingTypeEnum::Value Ifc4x3_rc2::IfcCableFittingTypeEnum:: } Ifc4x3_rc2::IfcCableFittingTypeEnum::operator Ifc4x3_rc2::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[149]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[149]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[149]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[149]); } /* -Ifc4x3_rc2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value Ifc4x3_rc2::IfcCableSegmentTypeEnum:: } Ifc4x3_rc2::IfcCableSegmentTypeEnum::operator Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[152]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[152]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[152]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[152]); } /* -Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value Ifc4x3_rc2::IfcCaissonFoundation } Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::operator Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[164]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[164]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[164]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[164]); } /* -Ifc4x3_rc2::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x3_rc2::IfcChangeActionEnum::Value Ifc4x3_rc2::IfcChangeActionEnum::FromStri } Ifc4x3_rc2::IfcChangeActionEnum::operator Ifc4x3_rc2::IfcChangeActionEnum::Value() const { - return (Ifc4x3_rc2::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[167]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[167]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[167]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[167]); } /* -Ifc4x3_rc2::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x3_rc2::IfcChillerTypeEnum::Value Ifc4x3_rc2::IfcChillerTypeEnum::FromString } Ifc4x3_rc2::IfcChillerTypeEnum::operator Ifc4x3_rc2::IfcChillerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[170]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[170]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[170]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[170]); } /* -Ifc4x3_rc2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x3_rc2::IfcChimneyTypeEnum::Value Ifc4x3_rc2::IfcChimneyTypeEnum::FromString } Ifc4x3_rc2::IfcChimneyTypeEnum::operator Ifc4x3_rc2::IfcChimneyTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[185]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[185]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[185]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[185]); } /* -Ifc4x3_rc2::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x3_rc2::IfcCoilTypeEnum::Value Ifc4x3_rc2::IfcCoilTypeEnum::FromString(const } Ifc4x3_rc2::IfcCoilTypeEnum::operator Ifc4x3_rc2::IfcCoilTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[194]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[194]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[194]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[194]); } /* -Ifc4x3_rc2::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x3_rc2::IfcColumnTypeEnum::Value Ifc4x3_rc2::IfcColumnTypeEnum::FromString(c } Ifc4x3_rc2::IfcColumnTypeEnum::operator Ifc4x3_rc2::IfcColumnTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[197]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[197]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[197]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[197]); } /* -Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_rc2::IfcCommunicati } Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::operator Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[201]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[201]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[201]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[201]); } /* -Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x3_rc2::IfcComplexProp } Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[209]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[209]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[209]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[209]); } /* -Ifc4x3_rc2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x3_rc2::IfcCompressorTypeEnum::Value Ifc4x3_rc2::IfcCompressorTypeEnum::From } Ifc4x3_rc2::IfcCompressorTypeEnum::operator Ifc4x3_rc2::IfcCompressorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[212]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[212]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[212]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[212]); } /* -Ifc4x3_rc2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x3_rc2::IfcCondenserTypeEnum::Value Ifc4x3_rc2::IfcCondenserTypeEnum::FromSt } Ifc4x3_rc2::IfcCondenserTypeEnum::operator Ifc4x3_rc2::IfcCondenserTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[220]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[220]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[220]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[220]); } /* -Ifc4x3_rc2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x3_rc2::IfcConnectionTypeEnum::Value Ifc4x3_rc2::IfcConnectionTypeEnum::From } Ifc4x3_rc2::IfcConnectionTypeEnum::operator Ifc4x3_rc2::IfcConnectionTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[223]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[223]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[223]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[223]); } /* -Ifc4x3_rc2::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x3_rc2::IfcConstraintEnum::Value Ifc4x3_rc2::IfcConstraintEnum::FromString(c } Ifc4x3_rc2::IfcConstraintEnum::operator Ifc4x3_rc2::IfcConstraintEnum::Value() const { - return (Ifc4x3_rc2::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[226]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[226]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[226]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[226]); } /* -Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_rc2::IfcConst } Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[229]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[229]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[229]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[229]); } /* -Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_rc2::IfcConstr } Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[232]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[232]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[232]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[232]); } /* -Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_rc2::IfcConstru } Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::operator Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[241]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[241]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[241]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[241]); } /* -Ifc4x3_rc2::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x3_rc2::IfcControllerTypeEnum::Value Ifc4x3_rc2::IfcControllerTypeEnum::From } Ifc4x3_rc2::IfcControllerTypeEnum::operator Ifc4x3_rc2::IfcControllerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[246]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[246]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[246]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[246]); } /* -Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value Ifc4x3_rc2::IfcConveyorSegmentType } Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::operator Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[249]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[249]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[249]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[249]); } /* -Ifc4x3_rc2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value Ifc4x3_rc2::IfcCooledBeamTypeEnum::From } Ifc4x3_rc2::IfcCooledBeamTypeEnum::operator Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[252]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[252]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[252]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[252]); } /* -Ifc4x3_rc2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value Ifc4x3_rc2::IfcCoolingTowerTypeEnum:: } Ifc4x3_rc2::IfcCoolingTowerTypeEnum::operator Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[257]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[257]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[257]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[257]); } /* -Ifc4x3_rc2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x3_rc2::IfcCostItemTypeEnum::Value Ifc4x3_rc2::IfcCostItemTypeEnum::FromStri } Ifc4x3_rc2::IfcCostItemTypeEnum::operator Ifc4x3_rc2::IfcCostItemTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[259]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[259]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[259]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[259]); } /* -Ifc4x3_rc2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value Ifc4x3_rc2::IfcCostScheduleTypeEnum:: } Ifc4x3_rc2::IfcCostScheduleTypeEnum::operator Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCourseTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[264]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCourseTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[264]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCourseTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[264]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCourseTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[264]); } /* -Ifc4x3_rc2::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCourseTypeEnum::IfcCourseTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x3_rc2::IfcCourseTypeEnum::Value Ifc4x3_rc2::IfcCourseTypeEnum::FromString(c } Ifc4x3_rc2::IfcCourseTypeEnum::operator Ifc4x3_rc2::IfcCourseTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCourseTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCourseTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[267]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[267]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[267]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[267]); } /* -Ifc4x3_rc2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x3_rc2::IfcCoveringTypeEnum::Value Ifc4x3_rc2::IfcCoveringTypeEnum::FromStri } Ifc4x3_rc2::IfcCoveringTypeEnum::operator Ifc4x3_rc2::IfcCoveringTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[270]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[270]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[270]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[270]); } /* -Ifc4x3_rc2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value Ifc4x3_rc2::IfcCrewResourceTypeEnum:: } Ifc4x3_rc2::IfcCrewResourceTypeEnum::operator Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[278]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[278]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[278]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[278]); } /* -Ifc4x3_rc2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value Ifc4x3_rc2::IfcCurtainWallTypeEnum::Fr } Ifc4x3_rc2::IfcCurtainWallTypeEnum::operator Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[284]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[284]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[284]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[284]); } /* -Ifc4x3_rc2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x3_rc2::IfcCurveInterpolationEnum::Value Ifc4x3_rc2::IfcCurveInterpolationEn } Ifc4x3_rc2::IfcCurveInterpolationEnum::operator Ifc4x3_rc2::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x3_rc2::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[298]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[298]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[298]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[298]); } /* -Ifc4x3_rc2::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x3_rc2::IfcDamperTypeEnum::Value Ifc4x3_rc2::IfcDamperTypeEnum::FromString(c } Ifc4x3_rc2::IfcDamperTypeEnum::operator Ifc4x3_rc2::IfcDamperTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[299]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[299]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[299]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[299]); } /* -Ifc4x3_rc2::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x3_rc2::IfcDataOriginEnum::Value Ifc4x3_rc2::IfcDataOriginEnum::FromString(c } Ifc4x3_rc2::IfcDataOriginEnum::operator Ifc4x3_rc2::IfcDataOriginEnum::Value() const { - return (Ifc4x3_rc2::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[311]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[311]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[311]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[311]); } /* -Ifc4x3_rc2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x3_rc2::IfcDerivedUnitEnum::Value Ifc4x3_rc2::IfcDerivedUnitEnum::FromString } Ifc4x3_rc2::IfcDerivedUnitEnum::operator Ifc4x3_rc2::IfcDerivedUnitEnum::Value() const { - return (Ifc4x3_rc2::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[316]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[316]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[316]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[316]); } /* -Ifc4x3_rc2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x3_rc2::IfcDirectionSenseEnum::Value Ifc4x3_rc2::IfcDirectionSenseEnum::From } Ifc4x3_rc2::IfcDirectionSenseEnum::operator Ifc4x3_rc2::IfcDirectionSenseEnum::Value() const { - return (Ifc4x3_rc2::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[321]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[321]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[321]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[321]); } /* -Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_rc2::IfcDiscreteAccessory } Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::operator Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[324]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[324]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[324]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[324]); } /* -Ifc4x3_rc2::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value Ifc4x3_rc2::IfcDistributionBoard } Ifc4x3_rc2::IfcDistributionBoardTypeEnum::operator Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[327]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[327]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[327]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[327]); } /* -Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_rc2::IfcDistribu } Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::operator Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[336]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[336]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[336]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[336]); } /* -Ifc4x3_rc2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value Ifc4x3_rc2::IfcDistributionPortTy } Ifc4x3_rc2::IfcDistributionPortTypeEnum::operator Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[338]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[338]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[338]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[338]); } /* -Ifc4x3_rc2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x3_rc2::IfcDistributionSystemEnum::Value Ifc4x3_rc2::IfcDistributionSystemEn } Ifc4x3_rc2::IfcDistributionSystemEnum::operator Ifc4x3_rc2::IfcDistributionSystemEnum::Value() const { - return (Ifc4x3_rc2::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[339]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[339]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[339]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[339]); } /* -Ifc4x3_rc2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value Ifc4x3_rc2::IfcDocumentConfide } Ifc4x3_rc2::IfcDocumentConfidentialityEnum::operator Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[344]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[344]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[344]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[344]); } /* -Ifc4x3_rc2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x3_rc2::IfcDocumentStatusEnum::Value Ifc4x3_rc2::IfcDocumentStatusEnum::From } Ifc4x3_rc2::IfcDocumentStatusEnum::operator Ifc4x3_rc2::IfcDocumentStatusEnum::Value() const { - return (Ifc4x3_rc2::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[347]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[347]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[347]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[347]); } /* -Ifc4x3_rc2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value Ifc4x3_rc2::IfcDoorPanelOperationEn } Ifc4x3_rc2::IfcDoorPanelOperationEnum::operator Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[348]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[348]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[348]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[348]); } /* -Ifc4x3_rc2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value Ifc4x3_rc2::IfcDoorPanelPositionEnum } Ifc4x3_rc2::IfcDoorPanelPositionEnum::operator Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[352]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[352]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[352]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[352]); } /* -Ifc4x3_rc2::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value Ifc4x3_rc2::IfcDoorStyleConstruc } Ifc4x3_rc2::IfcDoorStyleConstructionEnum::operator Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value() const { - return (Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[353]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[353]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[353]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[353]); } /* -Ifc4x3_rc2::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value Ifc4x3_rc2::IfcDoorStyleOperationEn } Ifc4x3_rc2::IfcDoorStyleOperationEnum::operator Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value() const { - return (Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[355]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[355]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[355]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[355]); } /* -Ifc4x3_rc2::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x3_rc2::IfcDoorTypeEnum::Value Ifc4x3_rc2::IfcDoorTypeEnum::FromString(const } Ifc4x3_rc2::IfcDoorTypeEnum::operator Ifc4x3_rc2::IfcDoorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[356]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[356]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[356]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[356]); } /* -Ifc4x3_rc2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value Ifc4x3_rc2::IfcDoorTypeOperationEnum } Ifc4x3_rc2::IfcDoorTypeOperationEnum::operator Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[362]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[362]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[362]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[362]); } /* -Ifc4x3_rc2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value Ifc4x3_rc2::IfcDuctFittingTypeEnum::Fr } Ifc4x3_rc2::IfcDuctFittingTypeEnum::operator Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[365]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[365]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[365]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[365]); } /* -Ifc4x3_rc2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Fr } Ifc4x3_rc2::IfcDuctSegmentTypeEnum::operator Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[368]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[368]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[368]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[368]); } /* -Ifc4x3_rc2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value Ifc4x3_rc2::IfcDuctSilencerTypeEnum:: } Ifc4x3_rc2::IfcDuctSilencerTypeEnum::operator Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEarthworksCutTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[372]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[372]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEarthworksCutTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[372]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[372]); } /* -Ifc4x3_rc2::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value Ifc4x3_rc2::IfcEarthworksCutTypeEnum } Ifc4x3_rc2::IfcEarthworksCutTypeEnum::operator Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEarthworksFillTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[375]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[375]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEarthworksFillTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[375]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[375]); } /* -Ifc4x3_rc2::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value Ifc4x3_rc2::IfcEarthworksFillTypeEn } Ifc4x3_rc2::IfcEarthworksFillTypeEnum::operator Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[381]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[381]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[381]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[381]); } /* -Ifc4x3_rc2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value Ifc4x3_rc2::IfcElectricAppliance } Ifc4x3_rc2::IfcElectricApplianceTypeEnum::operator Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[388]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[388]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[388]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[388]); } /* -Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_rc2::IfcElectricD } Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::operator Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[391]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[391]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[391]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[391]); } /* -Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_rc2::IfcElectricF } Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[394]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[394]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[394]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[394]); } /* -Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_rc2::IfcElectri } Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::operator Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[397]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[397]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[397]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[397]); } /* -Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value Ifc4x3_rc2::IfcElectricGenerator } Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::operator Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[400]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[400]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[400]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[400]); } /* -Ifc4x3_rc2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value Ifc4x3_rc2::IfcElectricMotorTypeEnum } Ifc4x3_rc2::IfcElectricMotorTypeEnum::operator Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[404]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[404]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[404]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[404]); } /* -Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value Ifc4x3_rc2::IfcElectricTimeCon } Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::operator Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[410]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[410]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[410]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[410]); } /* -Ifc4x3_rc2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value Ifc4x3_rc2::IfcElementAssemblyType } Ifc4x3_rc2::IfcElementAssemblyTypeEnum::operator Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[413]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[413]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[413]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[413]); } /* -Ifc4x3_rc2::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x3_rc2::IfcElementCompositionEnum::Value Ifc4x3_rc2::IfcElementCompositionEn } Ifc4x3_rc2::IfcElementCompositionEnum::operator Ifc4x3_rc2::IfcElementCompositionEnum::Value() const { - return (Ifc4x3_rc2::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[423]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[423]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[423]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[423]); } /* -Ifc4x3_rc2::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x3_rc2::IfcEngineTypeEnum::Value Ifc4x3_rc2::IfcEngineTypeEnum::FromString(c } Ifc4x3_rc2::IfcEngineTypeEnum::operator Ifc4x3_rc2::IfcEngineTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[426]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[426]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[426]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[426]); } /* -Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_rc2::IfcEvaporativeCooler } Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::operator Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[429]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[429]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[429]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[429]); } /* -Ifc4x3_rc2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value Ifc4x3_rc2::IfcEvaporatorTypeEnum::From } Ifc4x3_rc2::IfcEvaporatorTypeEnum::operator Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[432]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[432]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[432]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[432]); } /* -Ifc4x3_rc2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value Ifc4x3_rc2::IfcEventTriggerTypeEnum:: } Ifc4x3_rc2::IfcEventTriggerTypeEnum::operator Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[434]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[434]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[434]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[434]); } /* -Ifc4x3_rc2::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x3_rc2::IfcEventTypeEnum::Value Ifc4x3_rc2::IfcEventTypeEnum::FromString(con } Ifc4x3_rc2::IfcEventTypeEnum::operator Ifc4x3_rc2::IfcEventTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[443]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[443]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[443]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[443]); } /* -Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value Ifc4x3_rc2::IfcExternalSpat } Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::operator Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[456]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[456]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[456]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[456]); } /* -Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::Value Ifc4x3_rc2::IfcFacilityPartComm } Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::operator Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFacilityPartCommonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFacilityUsageEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[458]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFacilityUsageEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[458]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFacilityUsageEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[458]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFacilityUsageEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[458]); } /* -Ifc4x3_rc2::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFacilityUsageEnum::IfcFacilityUsageEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x3_rc2::IfcFacilityUsageEnum::Value Ifc4x3_rc2::IfcFacilityUsageEnum::FromSt } Ifc4x3_rc2::IfcFacilityUsageEnum::operator Ifc4x3_rc2::IfcFacilityUsageEnum::Value() const { - return (Ifc4x3_rc2::IfcFacilityUsageEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFacilityUsageEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[462]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[462]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[462]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[462]); } /* -Ifc4x3_rc2::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x3_rc2::IfcFanTypeEnum::Value Ifc4x3_rc2::IfcFanTypeEnum::FromString(const s } Ifc4x3_rc2::IfcFanTypeEnum::operator Ifc4x3_rc2::IfcFanTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[465]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[465]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[465]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[465]); } /* -Ifc4x3_rc2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x3_rc2::IfcFastenerTypeEnum::Value Ifc4x3_rc2::IfcFastenerTypeEnum::FromStri } Ifc4x3_rc2::IfcFastenerTypeEnum::operator Ifc4x3_rc2::IfcFastenerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[475]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[475]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[475]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[475]); } /* -Ifc4x3_rc2::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x3_rc2::IfcFilterTypeEnum::Value Ifc4x3_rc2::IfcFilterTypeEnum::FromString(c } Ifc4x3_rc2::IfcFilterTypeEnum::operator Ifc4x3_rc2::IfcFilterTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[478]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[478]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[478]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[478]); } /* -Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_rc2::IfcFireSuppres } Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[482]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[482]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[482]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[482]); } /* -Ifc4x3_rc2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x3_rc2::IfcFlowDirectionEnum::Value Ifc4x3_rc2::IfcFlowDirectionEnum::FromSt } Ifc4x3_rc2::IfcFlowDirectionEnum::operator Ifc4x3_rc2::IfcFlowDirectionEnum::Value() const { - return (Ifc4x3_rc2::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[487]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[487]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[487]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[487]); } /* -Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value Ifc4x3_rc2::IfcFlowInstrumentTypeEn } Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::operator Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[490]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[490]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[490]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[490]); } /* -Ifc4x3_rc2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value Ifc4x3_rc2::IfcFlowMeterTypeEnum::FromSt } Ifc4x3_rc2::IfcFlowMeterTypeEnum::operator Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[506]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[506]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[506]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[506]); } /* -Ifc4x3_rc2::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x3_rc2::IfcFootingTypeEnum::Value Ifc4x3_rc2::IfcFootingTypeEnum::FromString } Ifc4x3_rc2::IfcFootingTypeEnum::operator Ifc4x3_rc2::IfcFootingTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[513]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[513]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[513]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[513]); } /* -Ifc4x3_rc2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x3_rc2::IfcFurnitureTypeEnum::Value Ifc4x3_rc2::IfcFurnitureTypeEnum::FromSt } Ifc4x3_rc2::IfcFurnitureTypeEnum::operator Ifc4x3_rc2::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[516]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[516]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[516]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[516]); } /* -Ifc4x3_rc2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value Ifc4x3_rc2::IfcGeographicElement } Ifc4x3_rc2::IfcGeographicElementTypeEnum::operator Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[518]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[518]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[518]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[518]); } /* -Ifc4x3_rc2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x3_rc2::IfcGeometricProjectionEnum::Value Ifc4x3_rc2::IfcGeometricProjection } Ifc4x3_rc2::IfcGeometricProjectionEnum::operator Ifc4x3_rc2::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x3_rc2::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[530]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[530]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[530]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[530]); } /* -Ifc4x3_rc2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value Ifc4x3_rc2::IfcGlobalOrLocalEnum::FromSt } Ifc4x3_rc2::IfcGlobalOrLocalEnum::operator Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[536]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[536]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[536]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[536]); } /* -Ifc4x3_rc2::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x3_rc2::IfcGridTypeEnum::Value Ifc4x3_rc2::IfcGridTypeEnum::FromString(const } Ifc4x3_rc2::IfcGridTypeEnum::operator Ifc4x3_rc2::IfcGridTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[542]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[542]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[542]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[542]); } /* -Ifc4x3_rc2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value Ifc4x3_rc2::IfcHeatExchangerTypeEnum } Ifc4x3_rc2::IfcHeatExchangerTypeEnum::operator Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[547]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[547]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[547]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[547]); } /* -Ifc4x3_rc2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x3_rc2::IfcHumidifierTypeEnum::Value Ifc4x3_rc2::IfcHumidifierTypeEnum::From } Ifc4x3_rc2::IfcHumidifierTypeEnum::operator Ifc4x3_rc2::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[553]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[553]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[553]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[553]); } /* -Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_rc2::IfcImpactProtec } Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::operator Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcImpactProtectionDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[567]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[567]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[567]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[567]); } /* -Ifc4x3_rc2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x3_rc2::IfcInterceptorTypeEnum::Value Ifc4x3_rc2::IfcInterceptorTypeEnum::Fr } Ifc4x3_rc2::IfcInterceptorTypeEnum::operator Ifc4x3_rc2::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[569]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[569]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[569]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[569]); } /* -Ifc4x3_rc2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x3_rc2::IfcInternalOrExternalEnum::Value Ifc4x3_rc2::IfcInternalOrExternalEn } Ifc4x3_rc2::IfcInternalOrExternalEnum::operator Ifc4x3_rc2::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x3_rc2::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[572]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[572]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[572]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[572]); } /* -Ifc4x3_rc2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x3_rc2::IfcInventoryTypeEnum::Value Ifc4x3_rc2::IfcInventoryTypeEnum::FromSt } Ifc4x3_rc2::IfcInventoryTypeEnum::operator Ifc4x3_rc2::IfcInventoryTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[580]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[580]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[580]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[580]); } /* -Ifc4x3_rc2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Fr } Ifc4x3_rc2::IfcJunctionBoxTypeEnum::operator Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[584]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[584]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[584]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[584]); } /* -Ifc4x3_rc2::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x3_rc2::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x3_rc2::IfcKnotType::Value Ifc4x3_rc2::IfcKnotType::FromString(const std::st } Ifc4x3_rc2::IfcKnotType::operator Ifc4x3_rc2::IfcKnotType::Value() const { - return (Ifc4x3_rc2::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[588]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[588]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[588]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[588]); } /* -Ifc4x3_rc2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value Ifc4x3_rc2::IfcLaborResourceTypeEnum } Ifc4x3_rc2::IfcLaborResourceTypeEnum::operator Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[592]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[592]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[592]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[592]); } /* -Ifc4x3_rc2::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x3_rc2::IfcLampTypeEnum::Value Ifc4x3_rc2::IfcLampTypeEnum::FromString(const } Ifc4x3_rc2::IfcLampTypeEnum::operator Ifc4x3_rc2::IfcLampTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[595]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[595]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[595]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[595]); } /* -Ifc4x3_rc2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value Ifc4x3_rc2::IfcLayerSetDirectionEnum } Ifc4x3_rc2::IfcLayerSetDirectionEnum::operator Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[600]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[600]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[600]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[600]); } /* -Ifc4x3_rc2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value Ifc4x3_rc2::IfcLightDistributio } Ifc4x3_rc2::IfcLightDistributionCurveEnum::operator Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[603]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[603]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[603]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[603]); } /* -Ifc4x3_rc2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value Ifc4x3_rc2::IfcLightEmissionSource } Ifc4x3_rc2::IfcLightEmissionSourceEnum::operator Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[606]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[606]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[606]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[606]); } /* -Ifc4x3_rc2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value Ifc4x3_rc2::IfcLightFixtureTypeEnum:: } Ifc4x3_rc2::IfcLightFixtureTypeEnum::operator Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[630]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[630]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[630]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[630]); } /* -Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value Ifc4x3_rc2::IfcLiquidTerminalTypeEn } Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::operator Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[631]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[631]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[631]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[631]); } /* -Ifc4x3_rc2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value Ifc4x3_rc2::IfcLoadGroupTypeEnum::FromSt } Ifc4x3_rc2::IfcLoadGroupTypeEnum::operator Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[634]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[634]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[634]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[634]); } /* -Ifc4x3_rc2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x3_rc2::IfcLogicalOperatorEnum::Value Ifc4x3_rc2::IfcLogicalOperatorEnum::Fr } Ifc4x3_rc2::IfcLogicalOperatorEnum::operator Ifc4x3_rc2::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x3_rc2::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMarineFacilityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[646]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[646]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMarineFacilityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[646]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[646]); } /* -Ifc4x3_rc2::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value Ifc4x3_rc2::IfcMarineFacilityTypeEn } Ifc4x3_rc2::IfcMarineFacilityTypeEnum::operator Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMarinePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[647]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMarinePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[647]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMarinePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[647]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMarinePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[647]); } /* -Ifc4x3_rc2::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x3_rc2::IfcMarinePartTypeEnum::Value Ifc4x3_rc2::IfcMarinePartTypeEnum::From } Ifc4x3_rc2::IfcMarinePartTypeEnum::operator Ifc4x3_rc2::IfcMarinePartTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcMarinePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcMarinePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[676]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[676]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[676]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[676]); } /* -Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_rc2::IfcMechanicalFasten } Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::operator Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[679]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[679]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[679]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[679]); } /* -Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value Ifc4x3_rc2::IfcMedicalDeviceTypeEnum } Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::operator Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[683]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[683]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[683]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[683]); } /* -Ifc4x3_rc2::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x3_rc2::IfcMemberTypeEnum::Value Ifc4x3_rc2::IfcMemberTypeEnum::FromString(c } Ifc4x3_rc2::IfcMemberTypeEnum::operator Ifc4x3_rc2::IfcMemberTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[689]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[689]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[689]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[689]); } /* -Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_rc2::IfcM } Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::operator Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMooringDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[705]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[705]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMooringDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[705]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[705]); } /* -Ifc4x3_rc2::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value Ifc4x3_rc2::IfcMooringDeviceTypeEnum } Ifc4x3_rc2::IfcMooringDeviceTypeEnum::operator Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[708]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[708]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[708]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[708]); } /* -Ifc4x3_rc2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value Ifc4x3_rc2::IfcMotorConnectionType } Ifc4x3_rc2::IfcMotorConnectionTypeEnum::operator Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcNavigationElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[712]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[712]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcNavigationElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[712]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[712]); } /* -Ifc4x3_rc2::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value Ifc4x3_rc2::IfcNavigationElement } Ifc4x3_rc2::IfcNavigationElementTypeEnum::operator Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcNullStyle::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[715]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcNullStyle::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[715]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcNullStyle::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[715]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcNullStyle::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[715]); } /* -Ifc4x3_rc2::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) +Ifc4x3_rc2::IfcNullStyle::IfcNullStyle(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcNullStyle::IfcNullStyle(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcNullStyle::IfcNullStyle(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x3_rc2::IfcNullStyle::Value Ifc4x3_rc2::IfcNullStyle::FromString(const std:: } Ifc4x3_rc2::IfcNullStyle::operator Ifc4x3_rc2::IfcNullStyle::Value() const { - return (Ifc4x3_rc2::IfcNullStyle::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcNullStyle::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcObjectTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[723]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcObjectTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[723]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcObjectTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[723]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcObjectTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[723]); } /* -Ifc4x3_rc2::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcObjectTypeEnum::IfcObjectTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x3_rc2::IfcObjectTypeEnum::Value Ifc4x3_rc2::IfcObjectTypeEnum::FromString(c } Ifc4x3_rc2::IfcObjectTypeEnum::operator Ifc4x3_rc2::IfcObjectTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcObjectTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcObjectTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[720]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[720]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[720]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[720]); } /* -Ifc4x3_rc2::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x3_rc2::IfcObjectiveEnum::Value Ifc4x3_rc2::IfcObjectiveEnum::FromString(con } Ifc4x3_rc2::IfcObjectiveEnum::operator Ifc4x3_rc2::IfcObjectiveEnum::Value() const { - return (Ifc4x3_rc2::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[725]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[725]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[725]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[725]); } /* -Ifc4x3_rc2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x3_rc2::IfcOccupantTypeEnum::Value Ifc4x3_rc2::IfcOccupantTypeEnum::FromStri } Ifc4x3_rc2::IfcOccupantTypeEnum::operator Ifc4x3_rc2::IfcOccupantTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[732]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[732]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[732]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[732]); } /* -Ifc4x3_rc2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value Ifc4x3_rc2::IfcOpeningElementTypeEn } Ifc4x3_rc2::IfcOpeningElementTypeEnum::operator Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[741]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[741]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[741]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[741]); } /* -Ifc4x3_rc2::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x3_rc2::IfcOutletTypeEnum::Value Ifc4x3_rc2::IfcOutletTypeEnum::FromString(c } Ifc4x3_rc2::IfcOutletTypeEnum::operator Ifc4x3_rc2::IfcOutletTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[750]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[750]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[750]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[750]); } /* -Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value Ifc4x3_rc2::IfcPerformanceHisto } Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::operator Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[751]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[751]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[751]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[751]); } /* -Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value Ifc4x3_rc2::IfcPermeableCov } Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::operator Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[754]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[754]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[754]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[754]); } /* -Ifc4x3_rc2::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x3_rc2::IfcPermitTypeEnum::Value Ifc4x3_rc2::IfcPermitTypeEnum::FromString(c } Ifc4x3_rc2::IfcPermitTypeEnum::operator Ifc4x3_rc2::IfcPermitTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[759]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[759]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[759]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[759]); } /* -Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value Ifc4x3_rc2::IfcPhysicalOrVirtualEnum } Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::operator Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[763]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[763]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[763]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[763]); } /* -Ifc4x3_rc2::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x3_rc2::IfcPileConstructionEnum::Value Ifc4x3_rc2::IfcPileConstructionEnum:: } Ifc4x3_rc2::IfcPileConstructionEnum::operator Ifc4x3_rc2::IfcPileConstructionEnum::Value() const { - return (Ifc4x3_rc2::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[765]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[765]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[765]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[765]); } /* -Ifc4x3_rc2::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x3_rc2::IfcPileTypeEnum::Value Ifc4x3_rc2::IfcPileTypeEnum::FromString(const } Ifc4x3_rc2::IfcPileTypeEnum::operator Ifc4x3_rc2::IfcPileTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[768]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[768]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[768]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[768]); } /* -Ifc4x3_rc2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value Ifc4x3_rc2::IfcPipeFittingTypeEnum::Fr } Ifc4x3_rc2::IfcPipeFittingTypeEnum::operator Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[771]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[771]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[771]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[771]); } /* -Ifc4x3_rc2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Fr } Ifc4x3_rc2::IfcPipeSegmentTypeEnum::operator Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[783]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[783]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[783]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[783]); } /* -Ifc4x3_rc2::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x3_rc2::IfcPlateTypeEnum::Value Ifc4x3_rc2::IfcPlateTypeEnum::FromString(con } Ifc4x3_rc2::IfcPlateTypeEnum::operator Ifc4x3_rc2::IfcPlateTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[807]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[807]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[807]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[807]); } /* -Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_rc2::IfcPreferr } Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[818]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[818]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[818]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[818]); } /* -Ifc4x3_rc2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x3_rc2::IfcProcedureTypeEnum::Value Ifc4x3_rc2::IfcProcedureTypeEnum::FromSt } Ifc4x3_rc2::IfcProcedureTypeEnum::operator Ifc4x3_rc2::IfcProcedureTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[828]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[828]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[828]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[828]); } /* -Ifc4x3_rc2::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x3_rc2::IfcProfileTypeEnum::Value Ifc4x3_rc2::IfcProfileTypeEnum::FromString } Ifc4x3_rc2::IfcProfileTypeEnum::operator Ifc4x3_rc2::IfcProfileTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[836]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[836]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[836]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[836]); } /* -Ifc4x3_rc2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value Ifc4x3_rc2::IfcProjectOrderTypeEnum:: } Ifc4x3_rc2::IfcProjectOrderTypeEnum::operator Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[831]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[831]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[831]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[831]); } /* -Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value Ifc4x3_rc2::IfcProjectedOrTrueLe } Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::operator Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[833]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[833]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[833]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[833]); } /* -Ifc4x3_rc2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value Ifc4x3_rc2::IfcProjectionElement } Ifc4x3_rc2::IfcProjectionElementTypeEnum::operator Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[851]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[851]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[851]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[851]); } /* -Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value Ifc4x3_rc2::IfcPropertySetTemp } Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::operator Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[859]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[859]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[859]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[859]); } /* -Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_rc2::IfcProtec } Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[861]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[861]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[861]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[861]); } /* -Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_rc2::IfcProtectiveDeviceTy } Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::operator Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[865]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[865]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[865]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[865]); } /* -Ifc4x3_rc2::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x3_rc2::IfcPumpTypeEnum::Value Ifc4x3_rc2::IfcPumpTypeEnum::FromString(const } Ifc4x3_rc2::IfcPumpTypeEnum::operator Ifc4x3_rc2::IfcPumpTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRailTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[879]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRailTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[879]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRailTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[879]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRailTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[879]); } /* -Ifc4x3_rc2::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcRailTypeEnum::IfcRailTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcRailTypeEnum::IfcRailTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x3_rc2::IfcRailTypeEnum::Value Ifc4x3_rc2::IfcRailTypeEnum::FromString(const } Ifc4x3_rc2::IfcRailTypeEnum::operator Ifc4x3_rc2::IfcRailTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcRailTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcRailTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[877]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[877]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[877]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[877]); } /* -Ifc4x3_rc2::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x3_rc2::IfcRailingTypeEnum::Value Ifc4x3_rc2::IfcRailingTypeEnum::FromString } Ifc4x3_rc2::IfcRailingTypeEnum::operator Ifc4x3_rc2::IfcRailingTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRailwayPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[881]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRailwayPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[881]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRailwayPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[881]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRailwayPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[881]); } /* -Ifc4x3_rc2::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x3_rc2::IfcRailwayPartTypeEnum::Value Ifc4x3_rc2::IfcRailwayPartTypeEnum::Fr } Ifc4x3_rc2::IfcRailwayPartTypeEnum::operator Ifc4x3_rc2::IfcRailwayPartTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcRailwayPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcRailwayPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[885]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[885]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[885]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[885]); } /* -Ifc4x3_rc2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x3_rc2::IfcRampFlightTypeEnum::Value Ifc4x3_rc2::IfcRampFlightTypeEnum::From } Ifc4x3_rc2::IfcRampFlightTypeEnum::operator Ifc4x3_rc2::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[887]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[887]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[887]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[887]); } /* -Ifc4x3_rc2::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x3_rc2::IfcRampTypeEnum::Value Ifc4x3_rc2::IfcRampTypeEnum::FromString(const } Ifc4x3_rc2::IfcRampTypeEnum::operator Ifc4x3_rc2::IfcRampTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[897]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[897]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[897]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[897]); } /* -Ifc4x3_rc2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value Ifc4x3_rc2::IfcRecurrenceTypeEnum::From } Ifc4x3_rc2::IfcRecurrenceTypeEnum::operator Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[900]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[900]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[900]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[900]); } /* -Ifc4x3_rc2::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x3_rc2::IfcReferentTypeEnum::Value Ifc4x3_rc2::IfcReferentTypeEnum::FromStri } Ifc4x3_rc2::IfcReferentTypeEnum::operator Ifc4x3_rc2::IfcReferentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[901]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[901]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[901]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[901]); } /* -Ifc4x3_rc2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x3_rc2::IfcReflectanceMethodEnum::Value Ifc4x3_rc2::IfcReflectanceMethodEnum } Ifc4x3_rc2::IfcReflectanceMethodEnum::operator Ifc4x3_rc2::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x3_rc2::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[904]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[904]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[904]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[904]); } /* -Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value Ifc4x3_rc2::IfcReinforcedSoilTypeEn } Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::operator Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[908]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[908]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[908]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[908]); } /* -Ifc4x3_rc2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value Ifc4x3_rc2::IfcReinforcingBarRoleEn } Ifc4x3_rc2::IfcReinforcingBarRoleEnum::operator Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[909]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[909]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[909]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[909]); } /* -Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value Ifc4x3_rc2::IfcReinforcingBarSur } Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::operator Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[911]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[911]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[911]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[911]); } /* -Ifc4x3_rc2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value Ifc4x3_rc2::IfcReinforcingBarTypeEn } Ifc4x3_rc2::IfcReinforcingBarTypeEnum::operator Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[916]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[916]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[916]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[916]); } /* -Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value Ifc4x3_rc2::IfcReinforcingMeshType } Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::operator Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRoadPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[984]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRoadPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[984]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRoadPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[984]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRoadPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[984]); } /* -Ifc4x3_rc2::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x3_rc2::IfcRoadPartTypeEnum::Value Ifc4x3_rc2::IfcRoadPartTypeEnum::FromStri } Ifc4x3_rc2::IfcRoadPartTypeEnum::operator Ifc4x3_rc2::IfcRoadPartTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcRoadPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcRoadPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[985]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[985]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[985]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[985]); } /* -Ifc4x3_rc2::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x3_rc2::IfcRoleEnum::Value Ifc4x3_rc2::IfcRoleEnum::FromString(const std::st } Ifc4x3_rc2::IfcRoleEnum::operator Ifc4x3_rc2::IfcRoleEnum::Value() const { - return (Ifc4x3_rc2::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[988]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[988]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[988]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[988]); } /* -Ifc4x3_rc2::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x3_rc2::IfcRoofTypeEnum::Value Ifc4x3_rc2::IfcRoofTypeEnum::FromString(const } Ifc4x3_rc2::IfcRoofTypeEnum::operator Ifc4x3_rc2::IfcRoofTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1036]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1036]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1036]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1036]); } /* -Ifc4x3_rc2::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x3_rc2::IfcSIPrefix::Value Ifc4x3_rc2::IfcSIPrefix::FromString(const std::st } Ifc4x3_rc2::IfcSIPrefix::operator Ifc4x3_rc2::IfcSIPrefix::Value() const { - return (Ifc4x3_rc2::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1039]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1039]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1039]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1039]); } /* -Ifc4x3_rc2::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x3_rc2::IfcSIUnitName::Value Ifc4x3_rc2::IfcSIUnitName::FromString(const std } Ifc4x3_rc2::IfcSIUnitName::operator Ifc4x3_rc2::IfcSIUnitName::Value() const { - return (Ifc4x3_rc2::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[997]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[997]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[997]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[997]); } /* -Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_rc2::IfcSanitaryTerminalTy } Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::operator Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1008]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1008]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1008]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1008]); } /* -Ifc4x3_rc2::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x3_rc2::IfcSectionTypeEnum::Value Ifc4x3_rc2::IfcSectionTypeEnum::FromString } Ifc4x3_rc2::IfcSectionTypeEnum::operator Ifc4x3_rc2::IfcSectionTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1014]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1014]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1014]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1014]); } /* -Ifc4x3_rc2::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x3_rc2::IfcSensorTypeEnum::Value Ifc4x3_rc2::IfcSensorTypeEnum::FromString(c } Ifc4x3_rc2::IfcSensorTypeEnum::operator Ifc4x3_rc2::IfcSensorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1015]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1015]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1015]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1015]); } /* -Ifc4x3_rc2::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x3_rc2::IfcSequenceEnum::Value Ifc4x3_rc2::IfcSequenceEnum::FromString(const } Ifc4x3_rc2::IfcSequenceEnum::operator Ifc4x3_rc2::IfcSequenceEnum::Value() const { - return (Ifc4x3_rc2::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1019]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1019]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1019]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1019]); } /* -Ifc4x3_rc2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value Ifc4x3_rc2::IfcShadingDeviceTypeEnum } Ifc4x3_rc2::IfcShadingDeviceTypeEnum::operator Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSignTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1031]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSignTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1031]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSignTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1031]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSignTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1031]); } /* -Ifc4x3_rc2::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSignTypeEnum::IfcSignTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSignTypeEnum::IfcSignTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x3_rc2::IfcSignTypeEnum::Value Ifc4x3_rc2::IfcSignTypeEnum::FromString(const } Ifc4x3_rc2::IfcSignTypeEnum::operator Ifc4x3_rc2::IfcSignTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSignTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSignTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSignalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1029]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSignalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1029]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSignalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1029]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSignalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1029]); } /* -Ifc4x3_rc2::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSignalTypeEnum::IfcSignalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x3_rc2::IfcSignalTypeEnum::Value Ifc4x3_rc2::IfcSignalTypeEnum::FromString(c } Ifc4x3_rc2::IfcSignalTypeEnum::operator Ifc4x3_rc2::IfcSignalTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSignalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSignalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1034]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1034]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1034]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1034]); } /* -Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x3_rc2::IfcSimpleProper } Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1045]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1045]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1045]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1045]); } /* -Ifc4x3_rc2::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x3_rc2::IfcSlabTypeEnum::Value Ifc4x3_rc2::IfcSlabTypeEnum::FromString(const } Ifc4x3_rc2::IfcSlabTypeEnum::operator Ifc4x3_rc2::IfcSlabTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1049]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1049]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1049]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1049]); } /* -Ifc4x3_rc2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Fr } Ifc4x3_rc2::IfcSolarDeviceTypeEnum::operator Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1062]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1062]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1062]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1062]); } /* -Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Fr } Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::operator Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1064]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1064]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1064]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1064]); } /* -Ifc4x3_rc2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x3_rc2::IfcSpaceTypeEnum::Value Ifc4x3_rc2::IfcSpaceTypeEnum::FromString(con } Ifc4x3_rc2::IfcSpaceTypeEnum::operator Ifc4x3_rc2::IfcSpaceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1072]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1072]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1072]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1072]); } /* -Ifc4x3_rc2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Fr } Ifc4x3_rc2::IfcSpatialZoneTypeEnum::operator Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1081]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1081]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1081]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1081]); } /* -Ifc4x3_rc2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value Ifc4x3_rc2::IfcStackTerminalTypeEnum } Ifc4x3_rc2::IfcStackTerminalTypeEnum::operator Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1085]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1085]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1085]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1085]); } /* -Ifc4x3_rc2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x3_rc2::IfcStairFlightTypeEnum::Value Ifc4x3_rc2::IfcStairFlightTypeEnum::Fr } Ifc4x3_rc2::IfcStairFlightTypeEnum::operator Ifc4x3_rc2::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1087]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1087]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1087]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1087]); } /* -Ifc4x3_rc2::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x3_rc2::IfcStairTypeEnum::Value Ifc4x3_rc2::IfcStairTypeEnum::FromString(con } Ifc4x3_rc2::IfcStairTypeEnum::operator Ifc4x3_rc2::IfcStairTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1088]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1088]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1088]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1088]); } /* -Ifc4x3_rc2::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x3_rc2::IfcStateEnum::Value Ifc4x3_rc2::IfcStateEnum::FromString(const std:: } Ifc4x3_rc2::IfcStateEnum::operator Ifc4x3_rc2::IfcStateEnum::Value() const { - return (Ifc4x3_rc2::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1096]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1096]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1096]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1096]); } /* -Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc2::IfcStructuralC } Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::operator Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1099]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1099]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1099]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1099]); } /* -Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_rc2::IfcStructuralCur } Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::operator Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1125]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1125]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1125]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1125]); } /* -Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc2::IfcStructura } Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1128]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1128]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1128]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1128]); } /* -Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_rc2::IfcStructuralS } Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1137]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1137]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1137]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1137]); } /* -Ifc4x3_rc2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value Ifc4x3_rc2::IfcSubContractReso } Ifc4x3_rc2::IfcSubContractResourceTypeEnum::operator Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1143]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1143]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1143]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1143]); } /* -Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value Ifc4x3_rc2::IfcSurfaceFeatureTypeEn } Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::operator Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1148]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1148]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1148]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1148]); } /* -Ifc4x3_rc2::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x3_rc2::IfcSurfaceSide::Value Ifc4x3_rc2::IfcSurfaceSide::FromString(const s } Ifc4x3_rc2::IfcSurfaceSide::operator Ifc4x3_rc2::IfcSurfaceSide::Value() const { - return (Ifc4x3_rc2::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1163]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1163]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1163]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1163]); } /* -Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,23 +6126,23 @@ Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_rc2::IfcSwitchingDeviceType } Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::operator Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1167]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1167]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1167]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1167]); } /* -Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6155,23 +6155,23 @@ Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value Ifc4x3_rc2::IfcSystemFurnit } Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::operator Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1173]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1173]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1173]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1173]); } /* -Ifc4x3_rc2::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6184,23 +6184,23 @@ Ifc4x3_rc2::IfcTankTypeEnum::Value Ifc4x3_rc2::IfcTankTypeEnum::FromString(const } Ifc4x3_rc2::IfcTankTypeEnum::operator Ifc4x3_rc2::IfcTankTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1175]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1175]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1175]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1175]); } /* -Ifc4x3_rc2::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6213,23 +6213,23 @@ Ifc4x3_rc2::IfcTaskDurationEnum::Value Ifc4x3_rc2::IfcTaskDurationEnum::FromStri } Ifc4x3_rc2::IfcTaskDurationEnum::operator Ifc4x3_rc2::IfcTaskDurationEnum::Value() const { - return (Ifc4x3_rc2::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1179]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1179]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1179]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1179]); } /* -Ifc4x3_rc2::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6242,23 +6242,23 @@ Ifc4x3_rc2::IfcTaskTypeEnum::Value Ifc4x3_rc2::IfcTaskTypeEnum::FromString(const } Ifc4x3_rc2::IfcTaskTypeEnum::operator Ifc4x3_rc2::IfcTaskTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1186]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1186]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1186]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1186]); } /* -Ifc4x3_rc2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6271,23 +6271,23 @@ Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value Ifc4x3_rc2::IfcTendonAnchorTypeEnum:: } Ifc4x3_rc2::IfcTendonAnchorTypeEnum::operator Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTendonConduitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1189]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1189]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1189]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1189]); } /* -Ifc4x3_rc2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6300,23 +6300,23 @@ Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value Ifc4x3_rc2::IfcTendonConduitTypeEnum } Ifc4x3_rc2::IfcTendonConduitTypeEnum::operator Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1191]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1191]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1191]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1191]); } /* -Ifc4x3_rc2::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6329,23 +6329,23 @@ Ifc4x3_rc2::IfcTendonTypeEnum::Value Ifc4x3_rc2::IfcTendonTypeEnum::FromString(c } Ifc4x3_rc2::IfcTendonTypeEnum::operator Ifc4x3_rc2::IfcTendonTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1201]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1201]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1201]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1201]); } /* -Ifc4x3_rc2::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6358,23 +6358,23 @@ Ifc4x3_rc2::IfcTextPath::Value Ifc4x3_rc2::IfcTextPath::FromString(const std::st } Ifc4x3_rc2::IfcTextPath::operator Ifc4x3_rc2::IfcTextPath::Value() const { - return (Ifc4x3_rc2::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1223]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1223]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1223]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1223]); } /* -Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6387,23 +6387,23 @@ Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_rc2::IfcTimeSeriesDataTypeEn } Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::operator Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTrackElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1232]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTrackElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1232]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTrackElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1232]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTrackElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1232]); } /* -Ifc4x3_rc2::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6416,23 +6416,23 @@ Ifc4x3_rc2::IfcTrackElementTypeEnum::Value Ifc4x3_rc2::IfcTrackElementTypeEnum:: } Ifc4x3_rc2::IfcTrackElementTypeEnum::operator Ifc4x3_rc2::IfcTrackElementTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTrackElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTrackElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1235]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1235]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1235]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1235]); } /* -Ifc4x3_rc2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6445,23 +6445,23 @@ Ifc4x3_rc2::IfcTransformerTypeEnum::Value Ifc4x3_rc2::IfcTransformerTypeEnum::Fr } Ifc4x3_rc2::IfcTransformerTypeEnum::operator Ifc4x3_rc2::IfcTransformerTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1236]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1236]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1236]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1236]); } /* -Ifc4x3_rc2::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6474,23 +6474,23 @@ Ifc4x3_rc2::IfcTransitionCode::Value Ifc4x3_rc2::IfcTransitionCode::FromString(c } Ifc4x3_rc2::IfcTransitionCode::operator Ifc4x3_rc2::IfcTransitionCode::Value() const { - return (Ifc4x3_rc2::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransitionCurveType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1238]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransitionCurveType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1238]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransitionCurveType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1238]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransitionCurveType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1238]); } /* -Ifc4x3_rc2::IfcTransitionCurveType::IfcTransitionCurveType(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTransitionCurveType::IfcTransitionCurveType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTransitionCurveType::IfcTransitionCurveType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTransitionCurveType::IfcTransitionCurveType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6503,23 +6503,23 @@ Ifc4x3_rc2::IfcTransitionCurveType::Value Ifc4x3_rc2::IfcTransitionCurveType::Fr } Ifc4x3_rc2::IfcTransitionCurveType::operator Ifc4x3_rc2::IfcTransitionCurveType::Value() const { - return (Ifc4x3_rc2::IfcTransitionCurveType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTransitionCurveType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1241]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1241]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1241]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1241]); } /* -Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6532,23 +6532,23 @@ Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::Value Ifc4x3_rc2::IfcTransportElem } Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::operator Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTransportElementFixedTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1242]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1242]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1242]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1242]); } /* -Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6561,23 +6561,23 @@ Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::Value Ifc4x3_rc2::IfcTransportE } Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::operator Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTransportElementNonFixedTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1249]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1249]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1249]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1249]); } /* -Ifc4x3_rc2::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6590,23 +6590,23 @@ Ifc4x3_rc2::IfcTrimmingPreference::Value Ifc4x3_rc2::IfcTrimmingPreference::From } Ifc4x3_rc2::IfcTrimmingPreference::operator Ifc4x3_rc2::IfcTrimmingPreference::Value() const { - return (Ifc4x3_rc2::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1254]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1254]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1254]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1254]); } /* -Ifc4x3_rc2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6619,23 +6619,23 @@ Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value Ifc4x3_rc2::IfcTubeBundleTypeEnum::From } Ifc4x3_rc2::IfcTubeBundleTypeEnum::operator Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1267]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1267]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1267]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1267]); } /* -Ifc4x3_rc2::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6648,23 +6648,23 @@ Ifc4x3_rc2::IfcUnitEnum::Value Ifc4x3_rc2::IfcUnitEnum::FromString(const std::st } Ifc4x3_rc2::IfcUnitEnum::operator Ifc4x3_rc2::IfcUnitEnum::Value() const { - return (Ifc4x3_rc2::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1262]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1262]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1262]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1262]); } /* -Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6677,23 +6677,23 @@ Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_rc2::IfcUnitaryContro } Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::operator Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1265]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1265]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1265]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1265]); } /* -Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6706,23 +6706,23 @@ Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_rc2::IfcUnitaryEquipmentTy } Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::operator Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1273]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1273]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1273]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1273]); } /* -Ifc4x3_rc2::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6735,23 +6735,23 @@ Ifc4x3_rc2::IfcValveTypeEnum::Value Ifc4x3_rc2::IfcValveTypeEnum::FromString(con } Ifc4x3_rc2::IfcValveTypeEnum::operator Ifc4x3_rc2::IfcValveTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcVibrationDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1282]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1282]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1282]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1282]); } /* -Ifc4x3_rc2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6764,23 +6764,23 @@ Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value Ifc4x3_rc2::IfcVibrationDamperType } Ifc4x3_rc2::IfcVibrationDamperTypeEnum::operator Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1285]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1285]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1285]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1285]); } /* -Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6793,23 +6793,23 @@ Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_rc2::IfcVibrationIsolator } Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::operator Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1289]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1289]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1289]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1289]); } /* -Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6822,23 +6822,23 @@ Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value Ifc4x3_rc2::IfcVoidingFeatureTypeEn } Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::operator Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1297]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1297]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1297]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1297]); } /* -Ifc4x3_rc2::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6851,23 +6851,23 @@ Ifc4x3_rc2::IfcWallTypeEnum::Value Ifc4x3_rc2::IfcWallTypeEnum::FromString(const } Ifc4x3_rc2::IfcWallTypeEnum::operator Ifc4x3_rc2::IfcWallTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1303]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1303]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1303]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1303]); } /* -Ifc4x3_rc2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6880,23 +6880,23 @@ Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value Ifc4x3_rc2::IfcWasteTerminalTypeEnum } Ifc4x3_rc2::IfcWasteTerminalTypeEnum::operator Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1307]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1307]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1307]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1307]); } /* -Ifc4x3_rc2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6909,23 +6909,23 @@ Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value Ifc4x3_rc2::IfcWindowPanelOperati } Ifc4x3_rc2::IfcWindowPanelOperationEnum::operator Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1308]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1308]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1308]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1308]); } /* -Ifc4x3_rc2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6938,23 +6938,23 @@ Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value Ifc4x3_rc2::IfcWindowPanelPosition } Ifc4x3_rc2::IfcWindowPanelPositionEnum::operator Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1312]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1312]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1312]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1312]); } /* -Ifc4x3_rc2::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6967,23 +6967,23 @@ Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value Ifc4x3_rc2::IfcWindowStyleCons } Ifc4x3_rc2::IfcWindowStyleConstructionEnum::operator Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value() const { - return (Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1313]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1313]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1313]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1313]); } /* -Ifc4x3_rc2::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6996,23 +6996,23 @@ Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value Ifc4x3_rc2::IfcWindowStyleOperati } Ifc4x3_rc2::IfcWindowStyleOperationEnum::operator Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value() const { - return (Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1315]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1315]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1315]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1315]); } /* -Ifc4x3_rc2::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7025,23 +7025,23 @@ Ifc4x3_rc2::IfcWindowTypeEnum::Value Ifc4x3_rc2::IfcWindowTypeEnum::FromString(c } Ifc4x3_rc2::IfcWindowTypeEnum::operator Ifc4x3_rc2::IfcWindowTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1316]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1316]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1316]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1316]); } /* -Ifc4x3_rc2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7054,23 +7054,23 @@ Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value Ifc4x3_rc2::IfcWindowTypePartit } Ifc4x3_rc2::IfcWindowTypePartitioningEnum::operator Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1318]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1318]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1318]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1318]); } /* -Ifc4x3_rc2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7083,23 +7083,23 @@ Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value Ifc4x3_rc2::IfcWorkCalendarTypeEnum:: } Ifc4x3_rc2::IfcWorkCalendarTypeEnum::operator Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1321]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1321]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1321]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1321]); } /* -Ifc4x3_rc2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7112,23 +7112,23 @@ Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value Ifc4x3_rc2::IfcWorkPlanTypeEnum::FromStri } Ifc4x3_rc2::IfcWorkPlanTypeEnum::operator Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1323]); } -const IfcParse::enumeration_type& Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC2_types[1323]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1323]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC2_types[1323]); } /* -Ifc4x3_rc2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc2::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7141,863 +7141,863 @@ Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value Ifc4x3_rc2::IfcWorkScheduleTypeEnum:: } Ifc4x3_rc2::IfcWorkScheduleTypeEnum::operator Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x3_rc2::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[8]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[8]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[55]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[55]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[72]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[72]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[86]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[86]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[96]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[96]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[179]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[179]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[180]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[180]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[186]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[186]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[187]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[187]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[255]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[255]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[272]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[272]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[283]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[283]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcCurveMeasureSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[285]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcCurveMeasureSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[285]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[286]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[286]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[287]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[287]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[294]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[294]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[306]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[306]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[307]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[307]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[343]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[343]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcFacilityPartTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[457]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcFacilityPartTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[457]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[472]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[472]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[523]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[523]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[535]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[535]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[539]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[539]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[554]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[554]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcInterferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[568]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcInterferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[568]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[594]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[594]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[599]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[599]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[602]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[602]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcLinearAxisSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[615]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcLinearAxisSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[615]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[670]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[670]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[672]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[672]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[685]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[685]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[693]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[693]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[695]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[695]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[696]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[696]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[722]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[722]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[788]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[788]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcPresentationStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[814]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcPresentationStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[814]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[820]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[820]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[824]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[824]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[825]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[825]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[848]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[848]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[976]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[976]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[977]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[977]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[993]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[993]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1011]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1011]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1024]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1024]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1035]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1035]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1040]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1040]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1052]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1052]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1059]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1059]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcSpatialReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1067]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcSpatialReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1067]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1075]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1075]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1091]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1091]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcStyleAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1131]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcStyleAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1131]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1146]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1146]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1150]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1150]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1198]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1198]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1220]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1220]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1239]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1239]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcTransportElementTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1244]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcTransportElementTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1244]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1250]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1250]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1259]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1259]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1270]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1270]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1276]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1276]); } -const IfcParse::select_type& Ifc4x3_rc2::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC2_types[1300]); } +const ifcopenshell::select_type& Ifc4x3_rc2::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC2_types[1300]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[0]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[0]); } void Ifc4x3_rc2::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1]); } void Ifc4x3_rc2::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[46]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[46]); } void Ifc4x3_rc2::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[49]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[49]); } void Ifc4x3_rc2::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x3_rc2::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[61]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[61]); } void Ifc4x3_rc2::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[62]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[62]); } void Ifc4x3_rc2::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[63]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[63]); } void Ifc4x3_rc2::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x3_rc2::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[87]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[87]); } void Ifc4x3_rc2::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x3_rc2::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[94]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[94]); } void Ifc4x3_rc2::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x3_rc2::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[109]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[109]); } void Ifc4x3_rc2::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x3_rc2::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[153]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[153]); } void Ifc4x3_rc2::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x3_rc2::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[198]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[198]); } void Ifc4x3_rc2::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[206]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[206]); } void Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[236]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[236]); } void Ifc4x3_rc2::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[261]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[261]); } void Ifc4x3_rc2::IfcCountMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcCountMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[279]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[279]); } void Ifc4x3_rc2::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x3_rc2::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[300]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[300]); } void Ifc4x3_rc2::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x3_rc2::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[301]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[301]); } void Ifc4x3_rc2::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x3_rc2::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[302]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[302]); } void Ifc4x3_rc2::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x3_rc2::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[303]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[303]); } void Ifc4x3_rc2::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[312]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[312]); } void Ifc4x3_rc2::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x3_rc2::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[314]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[314]); } void Ifc4x3_rc2::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[357]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[357]); } void Ifc4x3_rc2::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x3_rc2::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[369]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[369]); } void Ifc4x3_rc2::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[370]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[370]); } void Ifc4x3_rc2::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[382]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[382]); } void Ifc4x3_rc2::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[383]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[383]); } void Ifc4x3_rc2::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[384]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[384]); } void Ifc4x3_rc2::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[385]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[385]); } void Ifc4x3_rc2::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[401]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[401]); } void Ifc4x3_rc2::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[405]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[405]); } void Ifc4x3_rc2::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[420]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[420]); } void Ifc4x3_rc2::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x3_rc2::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[501]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[501]); } void Ifc4x3_rc2::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x3_rc2::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[502]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[502]); } void Ifc4x3_rc2::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x3_rc2::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[503]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[503]); } void Ifc4x3_rc2::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[507]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[507]); } void Ifc4x3_rc2::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[508]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[508]); } void Ifc4x3_rc2::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x3_rc2::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[529]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[529]); } void Ifc4x3_rc2::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[543]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[543]); } void Ifc4x3_rc2::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[544]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[544]); } void Ifc4x3_rc2::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x3_rc2::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[548]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[548]); } void Ifc4x3_rc2::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[549]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[549]); } void Ifc4x3_rc2::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[562]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[562]); } void Ifc4x3_rc2::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x3_rc2::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[563]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[563]); } void Ifc4x3_rc2::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[564]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[564]); } void Ifc4x3_rc2::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[573]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[573]); } void Ifc4x3_rc2::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[577]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[577]); } void Ifc4x3_rc2::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[583]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[583]); } void Ifc4x3_rc2::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[585]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[585]); } void Ifc4x3_rc2::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[593]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[593]); } void Ifc4x3_rc2::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[596]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[596]); } void Ifc4x3_rc2::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[626]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[626]); } void Ifc4x3_rc2::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[618]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[618]); } void Ifc4x3_rc2::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[619]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[619]); } void Ifc4x3_rc2::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[624]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[624]); } void Ifc4x3_rc2::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[625]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[625]); } void Ifc4x3_rc2::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[633]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[633]); } void Ifc4x3_rc2::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[637]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[637]); } void Ifc4x3_rc2::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[638]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[638]); } void Ifc4x3_rc2::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[639]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[639]); } void Ifc4x3_rc2::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[640]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[640]); } void Ifc4x3_rc2::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[641]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[641]); } void Ifc4x3_rc2::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[648]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[648]); } void Ifc4x3_rc2::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[649]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[649]); } void Ifc4x3_rc2::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[650]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[650]); } void Ifc4x3_rc2::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[651]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[651]); } void Ifc4x3_rc2::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[690]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[690]); } void Ifc4x3_rc2::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[691]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[691]); } void Ifc4x3_rc2::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[692]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[692]); } void Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[694]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[694]); } void Ifc4x3_rc2::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[697]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[697]); } void Ifc4x3_rc2::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[698]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[698]); } void Ifc4x3_rc2::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[699]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[699]); } void Ifc4x3_rc2::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[700]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[700]); } void Ifc4x3_rc2::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x3_rc2::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[702]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[702]); } void Ifc4x3_rc2::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[713]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[713]); } void Ifc4x3_rc2::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[714]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[714]); } void Ifc4x3_rc2::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[716]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[716]); } void Ifc4x3_rc2::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[757]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[757]); } void Ifc4x3_rc2::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x3_rc2::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[744]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[744]); } void Ifc4x3_rc2::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[776]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[776]); } void Ifc4x3_rc2::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[778]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[778]); } void Ifc4x3_rc2::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[795]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[795]); } void Ifc4x3_rc2::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[796]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[796]); } void Ifc4x3_rc2::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[797]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[797]); } void Ifc4x3_rc2::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[798]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[798]); } void Ifc4x3_rc2::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[800]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[800]); } void Ifc4x3_rc2::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[808]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[808]); } void Ifc4x3_rc2::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[815]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[815]); } void Ifc4x3_rc2::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x3_rc2::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[849]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[849]); } void Ifc4x3_rc2::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x3_rc2::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[873]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[873]); } void Ifc4x3_rc2::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[888]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[888]); } void Ifc4x3_rc2::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x3_rc2::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[891]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[891]); } void Ifc4x3_rc2::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[990]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[990]); } void Ifc4x3_rc2::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[991]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[991]); } void Ifc4x3_rc2::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[992]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[992]); } void Ifc4x3_rc2::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1005]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1005]); } void Ifc4x3_rc2::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1000]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1000]); } void Ifc4x3_rc2::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1023]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1023]); } void Ifc4x3_rc2::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1050]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1050]); } void Ifc4x3_rc2::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1054]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1054]); } void Ifc4x3_rc2::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1055]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1055]); } void Ifc4x3_rc2::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1056]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1056]); } void Ifc4x3_rc2::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1057]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1057]); } void Ifc4x3_rc2::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1073]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1073]); } void Ifc4x3_rc2::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1074]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1074]); } void Ifc4x3_rc2::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x3_rc2::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1076]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1076]); } void Ifc4x3_rc2::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1181]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1181]); } void Ifc4x3_rc2::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1182]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1182]); } void Ifc4x3_rc2::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x3_rc2::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1194]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1194]); } void Ifc4x3_rc2::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1195]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1195]); } void Ifc4x3_rc2::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1196]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1196]); } void Ifc4x3_rc2::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1197]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1197]); } void Ifc4x3_rc2::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1206]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1206]); } void Ifc4x3_rc2::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1212]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1212]); } void Ifc4x3_rc2::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1213]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1213]); } void Ifc4x3_rc2::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1214]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1214]); } void Ifc4x3_rc2::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1215]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1215]); } void Ifc4x3_rc2::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1216]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1216]); } void Ifc4x3_rc2::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1217]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1217]); } void Ifc4x3_rc2::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1218]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1218]); } void Ifc4x3_rc2::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1219]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1219]); } void Ifc4x3_rc2::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1225]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1225]); } void Ifc4x3_rc2::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1229]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1229]); } void Ifc4x3_rc2::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x3_rc2::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1268]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1268]); } void Ifc4x3_rc2::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1274]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1274]); } void Ifc4x3_rc2::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1291]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1291]); } void Ifc4x3_rc2::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1292]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1292]); } void Ifc4x3_rc2::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1298]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1298]); } void Ifc4x3_rc2::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x3_rc2::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC2_types[1299]); } +const ifcopenshell::type_declaration& Ifc4x3_rc2::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC2_types[1299]); } void Ifc4x3_rc2::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc2::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x3_rc2::IfcActionRequestTypeEnum::Value > Ifc4x3_rc2::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc2::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc2::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc2::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc2::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc2::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc2::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[2]); } -void Ifc4x3_rc2::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[2]); } +void Ifc4x3_rc2::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4x3_rc2::IfcActorSelect Ifc4x3_rc2::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc2::IfcActorSelect>(); } void Ifc4x3_rc2::IfcActor::setTheActor(const ::Ifc4x3_rc2::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc2::IfcRelAssignsToActor> Ifc4x3_rc2::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[919], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelAssignsToActor> Ifc4x3_rc2::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[919], 6)); } -const IfcParse::entity& Ifc4x3_rc2::IfcActor::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[6]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[6]); } void Ifc4x3_rc2::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x3_rc2::IfcRoleEnum::Value Ifc4x3_rc2::IfcActorRole::Role() const { return ::Ifc4x3_rc2::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc2::IfcActorRole::setRole(const ::Ifc4x3_rc2::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc2::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc2::IfcActorRole::setRole(const ::Ifc4x3_rc2::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc2::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_rc2::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc2::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[7]); } -void Ifc4x3_rc2::IfcActorRole::initialize(::Ifc4x3_rc2::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[7]); } +void Ifc4x3_rc2::IfcActorRole::initialize(::Ifc4x3_rc2::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value > Ifc4x3_rc2::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[9]); } -void Ifc4x3_rc2::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[9]); } +void Ifc4x3_rc2::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value Ifc4x3_rc2::IfcActuatorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcActuatorType::setPredefinedType(const ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcActuatorType::setPredefinedType(const ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[10]); } -void Ifc4x3_rc2::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[10]); } +void Ifc4x3_rc2::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > Ifc4x3_rc2::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc2::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc2::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x3_rc2::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc2::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x3_rc2::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc2::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc2::IfcPerson> Ifc4x3_rc2::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[755], 7)); } -std::vector<::Ifc4x3_rc2::IfcOrganization> Ifc4x3_rc2::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[735], 4)); } +std::vector<::Ifc4x3_rc2::IfcPerson> Ifc4x3_rc2::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[755], 7)); } +std::vector<::Ifc4x3_rc2::IfcOrganization> Ifc4x3_rc2::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[735], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[12]); } -void Ifc4x3_rc2::IfcAddress::initialize(std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[12]); } +void Ifc4x3_rc2::IfcAddress::initialize(std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x3_rc2::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[14]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[14]); } void Ifc4x3_rc2::IfcAdvancedBrep::initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -8005,86 +8005,86 @@ std::vector< ::Ifc4x3_rc2::IfcClosedShell > Ifc4x3_rc2::IfcAdvancedBrepWithVoids void Ifc4x3_rc2::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_rc2::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[15]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[15]); } void Ifc4x3_rc2::IfcAdvancedBrepWithVoids::initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc2::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x3_rc2::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[16]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[16]); } void Ifc4x3_rc2::IfcAdvancedFace::initialize(std::vector< ::Ifc4x3_rc2::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc2::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value > Ifc4x3_rc2::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[17]); } -void Ifc4x3_rc2::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[17]); } +void Ifc4x3_rc2::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3_rc2::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[18]); } -void Ifc4x3_rc2::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[18]); } +void Ifc4x3_rc2::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_rc2::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[19]); } -void Ifc4x3_rc2::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[19]); } +void Ifc4x3_rc2::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value Ifc4x3_rc2::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[21]); } -void Ifc4x3_rc2::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[21]); } +void Ifc4x3_rc2::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3_rc2::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[23]); } -void Ifc4x3_rc2::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[23]); } +void Ifc4x3_rc2::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_rc2::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[24]); } -void Ifc4x3_rc2::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[24]); } +void Ifc4x3_rc2::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value > Ifc4x3_rc2::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[26]); } -void Ifc4x3_rc2::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[26]); } +void Ifc4x3_rc2::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value Ifc4x3_rc2::IfcAlarmType::PredefinedType() const { return ::Ifc4x3_rc2::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcAlarmType::setPredefinedType(const ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcAlarmType::setPredefinedType(const ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[27]); } -void Ifc4x3_rc2::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[27]); } +void Ifc4x3_rc2::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x3_rc2::IfcAlignmentTypeEnum::Value > Ifc4x3_rc2::IfcAlignment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcAlignmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[29]); } -void Ifc4x3_rc2::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcCurve v8_Axis, std::optional< ::Ifc4x3_rc2::IfcAlignmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcAlignmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[29]); } +void Ifc4x3_rc2::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcCurve v8_Axis, std::optional< ::Ifc4x3_rc2::IfcAlignmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlignment2DVerSegCircularArc double Ifc4x3_rc2::IfcAlignment2DVerSegCircularArc::Radius() const { double v = get_attribute_value(9); return v; } @@ -8093,14 +8093,14 @@ bool Ifc4x3_rc2::IfcAlignment2DVerSegCircularArc::IsConvex() const { bool v = g void Ifc4x3_rc2::IfcAlignment2DVerSegCircularArc::setIsConvex(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignment2DVerSegCircularArc::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[30]); } -void Ifc4x3_rc2::IfcAlignment2DVerSegCircularArc::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType, double v10_Radius, bool v11_IsConvex) { 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_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));set_attribute_value(9, (v10_Radius));set_attribute_value(10, (v11_IsConvex)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignment2DVerSegCircularArc::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[30]); } +void Ifc4x3_rc2::IfcAlignment2DVerSegCircularArc::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType, double v10_Radius, bool v11_IsConvex) { 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, (enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));set_attribute_value(9, (v10_Radius));set_attribute_value(10, (v11_IsConvex)); } // Function implementations for IfcAlignment2DVerSegLine -const IfcParse::entity& Ifc4x3_rc2::IfcAlignment2DVerSegLine::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[31]); } -void Ifc4x3_rc2::IfcAlignment2DVerSegLine::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignment2DVerSegLine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[31]); } +void Ifc4x3_rc2::IfcAlignment2DVerSegLine::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignment2DVerSegParabolicArc double Ifc4x3_rc2::IfcAlignment2DVerSegParabolicArc::ParabolaConstant() const { double v = get_attribute_value(9); return v; } @@ -8109,8 +8109,8 @@ bool Ifc4x3_rc2::IfcAlignment2DVerSegParabolicArc::IsConvex() const { bool v = void Ifc4x3_rc2::IfcAlignment2DVerSegParabolicArc::setIsConvex(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignment2DVerSegParabolicArc::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[32]); } -void Ifc4x3_rc2::IfcAlignment2DVerSegParabolicArc::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType, double v10_ParabolaConstant, bool v11_IsConvex) { 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_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));set_attribute_value(9, (v10_ParabolaConstant));set_attribute_value(10, (v11_IsConvex)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignment2DVerSegParabolicArc::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[32]); } +void Ifc4x3_rc2::IfcAlignment2DVerSegParabolicArc::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType, double v10_ParabolaConstant, bool v11_IsConvex) { 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, (enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType)));set_attribute_value(9, (v10_ParabolaConstant));set_attribute_value(10, (v11_IsConvex)); } // Function implementations for IfcAlignmentCant double Ifc4x3_rc2::IfcAlignmentCant::RailHeadDistance() const { double v = get_attribute_value(7); return v; } @@ -8119,7 +8119,7 @@ std::vector< ::Ifc4x3_rc2::IfcAlignmentCantSegment > Ifc4x3_rc2::IfcAlignmentCan void Ifc4x3_rc2::IfcAlignmentCant::setSegments(const std::vector< ::Ifc4x3_rc2::IfcAlignmentCantSegment >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignmentCant::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[33]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignmentCant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[33]); } void Ifc4x3_rc2::IfcAlignmentCant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance, std::vector< ::Ifc4x3_rc2::IfcAlignmentCantSegment > v9_Segments) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_RailHeadDistance));set_attribute_value(8, cast_vector(v9_Segments)); } // Function implementations for IfcAlignmentCantSegment @@ -8138,11 +8138,11 @@ void Ifc4x3_rc2::IfcAlignmentCantSegment::setEndCantRight(const std::optional< d std::optional< double > Ifc4x3_rc2::IfcAlignmentCantSegment::SmoothingLength() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcAlignmentCantSegment::setSmoothingLength(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_rc2::IfcAlignmentCantSegment::PredefinedType() const { return ::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignmentCantSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[34]); } -void Ifc4x3_rc2::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, std::optional< double > v9_SmoothingLength, ::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value v10_PredefinedType) { 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)); } if (v9_SmoothingLength) {set_attribute_value(8, (*v9_SmoothingLength)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignmentCantSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[34]); } +void Ifc4x3_rc2::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, std::optional< double > v9_SmoothingLength, ::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value v10_PredefinedType) { 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)); } if (v9_SmoothingLength) {set_attribute_value(8, (*v9_SmoothingLength)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignmentCurve ::Ifc4x3_rc2::IfcAlignmentHorizontal Ifc4x3_rc2::IfcAlignmentCurve::Horizontal() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcAlignmentHorizontal>(); } @@ -8153,7 +8153,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcAlignmentCurve::Tag() const { if(get void Ifc4x3_rc2::IfcAlignmentCurve::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignmentCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[36]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignmentCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[36]); } void Ifc4x3_rc2::IfcAlignmentCurve::initialize(::Ifc4x3_rc2::IfcAlignmentHorizontal v1_Horizontal, ::Ifc4x3_rc2::IfcAlignmentVertical v2_Vertical, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_Horizontal));set_attribute_value(1, (v2_Vertical)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcAlignmentHorizontal @@ -8163,7 +8163,7 @@ std::vector< ::Ifc4x3_rc2::IfcAlignmentHorizontalSegment > Ifc4x3_rc2::IfcAlignm void Ifc4x3_rc2::IfcAlignmentHorizontal::setSegments(const std::vector< ::Ifc4x3_rc2::IfcAlignmentHorizontalSegment >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignmentHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[37]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignmentHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[37]); } void Ifc4x3_rc2::IfcAlignmentHorizontal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< double > v8_StartDistAlong, std::vector< ::Ifc4x3_rc2::IfcAlignmentHorizontalSegment > v9_Segments) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_StartDistAlong) {set_attribute_value(7, (*v8_StartDistAlong)); }set_attribute_value(8, cast_vector(v9_Segments)); } // Function implementations for IfcAlignmentHorizontalSegment @@ -8180,11 +8180,11 @@ void Ifc4x3_rc2::IfcAlignmentHorizontalSegment::setSegmentLength(const double& v std::optional< double > Ifc4x3_rc2::IfcAlignmentHorizontalSegment::GravityCenterLineHeight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcAlignmentHorizontalSegment::setGravityCenterLineHeight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_rc2::IfcAlignmentHorizontalSegment::PredefinedType() const { return ::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc2::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignmentHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[38]); } -void Ifc4x3_rc2::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_rc2::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignmentHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[38]); } +void Ifc4x3_rc2::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_rc2::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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, (enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentParameterSegment std::optional< std::string > Ifc4x3_rc2::IfcAlignmentParameterSegment::StartTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8193,7 +8193,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcAlignmentParameterSegment::EndTag() void Ifc4x3_rc2::IfcAlignmentParameterSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignmentParameterSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[40]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignmentParameterSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[40]); } void Ifc4x3_rc2::IfcAlignmentParameterSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); } } // Function implementations for IfcAlignmentSegment @@ -8201,7 +8201,7 @@ void Ifc4x3_rc2::IfcAlignmentParameterSegment::initialize(std::optional< std::st void Ifc4x3_rc2::IfcAlignmentSegment::setGeometricParameters(const ::Ifc4x3_rc2::IfcAlignmentParameterSegment& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignmentSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[41]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignmentSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[41]); } void Ifc4x3_rc2::IfcAlignmentSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcAlignmentParameterSegment v8_GeometricParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_GeometricParameters)); } // Function implementations for IfcAlignmentVertical @@ -8209,7 +8209,7 @@ std::vector< ::Ifc4x3_rc2::IfcAlignmentVerticalSegment > Ifc4x3_rc2::IfcAlignmen void Ifc4x3_rc2::IfcAlignmentVertical::setSegments(const std::vector< ::Ifc4x3_rc2::IfcAlignmentVerticalSegment >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignmentVertical::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[43]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignmentVertical::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[43]); } void Ifc4x3_rc2::IfcAlignmentVertical::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc2::IfcAlignmentVerticalSegment > v8_Segments) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_Segments)); } // Function implementations for IfcAlignmentVerticalSegment @@ -8226,20 +8226,20 @@ void Ifc4x3_rc2::IfcAlignmentVerticalSegment::setEndGradient(const double& v) { std::optional< double > Ifc4x3_rc2::IfcAlignmentVerticalSegment::RadiusOfCurvature() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcAlignmentVerticalSegment::setRadiusOfCurvature(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_rc2::IfcAlignmentVerticalSegment::PredefinedType() const { return ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc2::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcAlignmentVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[44]); } -void Ifc4x3_rc2::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAlignmentVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[44]); } +void Ifc4x3_rc2::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAnnotation std::optional< ::Ifc4x3_rc2::IfcAnnotationTypeEnum::Value > Ifc4x3_rc2::IfcAnnotation::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcAnnotationTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc2::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc2::IfcRelContainedInSpatialStructure> Ifc4x3_rc2::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[944], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelContainedInSpatialStructure> Ifc4x3_rc2::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[944], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[50]); } -void Ifc4x3_rc2::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc2::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[50]); } +void Ifc4x3_rc2::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc2::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAnnotationFillArea ::Ifc4x3_rc2::IfcCurve Ifc4x3_rc2::IfcAnnotationFillArea::OuterBoundary() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcCurve>(); } @@ -8248,7 +8248,7 @@ std::optional< std::vector< ::Ifc4x3_rc2::IfcCurve > > Ifc4x3_rc2::IfcAnnotation void Ifc4x3_rc2::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_rc2::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[51]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[51]); } void Ifc4x3_rc2::IfcAnnotationFillArea::initialize(::Ifc4x3_rc2::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_rc2::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -8262,7 +8262,7 @@ std::string Ifc4x3_rc2::IfcApplication::ApplicationIdentifier() const { std::st void Ifc4x3_rc2::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[53]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[53]); } void Ifc4x3_rc2::IfcApplication::initialize(::Ifc4x3_rc2::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -8283,14 +8283,14 @@ void Ifc4x3_rc2::IfcAppliedValue::setCategory(const std::optional< std::string > std::optional< std::string > Ifc4x3_rc2::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value > Ifc4x3_rc2::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > Ifc4x3_rc2::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_rc2::IfcAppliedValue>(es); } void Ifc4x3_rc2::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[54]); } -void Ifc4x3_rc2::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_rc2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[54]); } +void Ifc4x3_rc2::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x3_rc2::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8312,13 +8312,13 @@ void Ifc4x3_rc2::IfcApproval::setRequestingApproval(const ::Ifc4x3_rc2::IfcActor ::Ifc4x3_rc2::IfcActorSelect Ifc4x3_rc2::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc2::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc2::IfcActorSelect>(); } void Ifc4x3_rc2::IfcApproval::setGivingApproval(const ::Ifc4x3_rc2::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -std::vector<::Ifc4x3_rc2::IfcRelAssociatesApproval> Ifc4x3_rc2::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[927], 5)); } -std::vector<::Ifc4x3_rc2::IfcResourceApprovalRelationship> Ifc4x3_rc2::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[973], 3)); } -std::vector<::Ifc4x3_rc2::IfcApprovalRelationship> Ifc4x3_rc2::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[57], 3)); } -std::vector<::Ifc4x3_rc2::IfcApprovalRelationship> Ifc4x3_rc2::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[57], 2)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociatesApproval> Ifc4x3_rc2::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[927], 5)); } +std::vector<::Ifc4x3_rc2::IfcResourceApprovalRelationship> Ifc4x3_rc2::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[973], 3)); } +std::vector<::Ifc4x3_rc2::IfcApprovalRelationship> Ifc4x3_rc2::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[57], 3)); } +std::vector<::Ifc4x3_rc2::IfcApprovalRelationship> Ifc4x3_rc2::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[57], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[56]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[56]); } void Ifc4x3_rc2::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_rc2::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_rc2::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -8328,7 +8328,7 @@ std::vector< ::Ifc4x3_rc2::IfcApproval > Ifc4x3_rc2::IfcApprovalRelationship::Re void Ifc4x3_rc2::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x3_rc2::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[57]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[57]); } void Ifc4x3_rc2::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_rc2::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -8336,24 +8336,24 @@ void Ifc4x3_rc2::IfcApprovalRelationship::initialize(std::optional< std::string void Ifc4x3_rc2::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x3_rc2::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[58]); } -void Ifc4x3_rc2::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[58]); } +void Ifc4x3_rc2::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x3_rc2::IfcBoundedCurve Ifc4x3_rc2::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcBoundedCurve>(); } void Ifc4x3_rc2::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x3_rc2::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[59]); } -void Ifc4x3_rc2::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[59]); } +void Ifc4x3_rc2::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x3_rc2::IfcCurve > Ifc4x3_rc2::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_rc2::IfcCurve>(es); } void Ifc4x3_rc2::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x3_rc2::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[60]); } -void Ifc4x3_rc2::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc2::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[60]); } +void Ifc4x3_rc2::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc2::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x3_rc2::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -8376,7 +8376,7 @@ void Ifc4x3_rc2::IfcAsset::setIncorporationDate(const std::optional< std::string void Ifc4x3_rc2::IfcAsset::setDepreciatedValue(const ::Ifc4x3_rc2::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_rc2::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[66]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[66]); } void Ifc4x3_rc2::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_rc2::IfcCostValue v7_OriginalValue, ::Ifc4x3_rc2::IfcCostValue v8_CurrentValue, ::Ifc4x3_rc2::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_rc2::IfcActorSelect v10_Owner, ::Ifc4x3_rc2::IfcActorSelect v11_User, ::Ifc4x3_rc2::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_rc2::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -8406,31 +8406,31 @@ std::optional< double > Ifc4x3_rc2::IfcAsymmetricIShapeProfileDef::TopFlangeSlop void Ifc4x3_rc2::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[67]); } -void Ifc4x3_rc2::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[67]); } +void Ifc4x3_rc2::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3_rc2::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[68]); } -void Ifc4x3_rc2::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[68]); } +void Ifc4x3_rc2::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_rc2::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[69]); } -void Ifc4x3_rc2::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[69]); } +void Ifc4x3_rc2::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x3_rc2::IfcDirection Ifc4x3_rc2::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc2::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc2::IfcDirection>(); } void Ifc4x3_rc2::IfcAxis1Placement::setAxis(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[71]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[71]); } void Ifc4x3_rc2::IfcAxis1Placement::initialize(::Ifc4x3_rc2::IfcPoint v1_Location, ::Ifc4x3_rc2::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -8438,7 +8438,7 @@ void Ifc4x3_rc2::IfcAxis1Placement::initialize(::Ifc4x3_rc2::IfcPoint v1_Locatio void Ifc4x3_rc2::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[73]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[73]); } void Ifc4x3_rc2::IfcAxis2Placement2D::initialize(::Ifc4x3_rc2::IfcPoint v1_Location, ::Ifc4x3_rc2::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -8448,7 +8448,7 @@ void Ifc4x3_rc2::IfcAxis2Placement3D::setAxis(const ::Ifc4x3_rc2::IfcDirection& void Ifc4x3_rc2::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[74]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[74]); } void Ifc4x3_rc2::IfcAxis2Placement3D::initialize(::Ifc4x3_rc2::IfcPoint v1_Location, ::Ifc4x3_rc2::IfcDirection v2_Axis, ::Ifc4x3_rc2::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcAxis2PlacementLinear @@ -8458,14 +8458,14 @@ void Ifc4x3_rc2::IfcAxis2PlacementLinear::setAxis(const ::Ifc4x3_rc2::IfcDirecti void Ifc4x3_rc2::IfcAxis2PlacementLinear::setRefDirection(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcAxis2PlacementLinear::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[75]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAxis2PlacementLinear::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[75]); } void Ifc4x3_rc2::IfcAxis2PlacementLinear::initialize(::Ifc4x3_rc2::IfcPoint v1_Location, ::Ifc4x3_rc2::IfcDirection v2_Axis, ::Ifc4x3_rc2::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcAxisLateralInclination -std::vector<::Ifc4x3_rc2::IfcLinearAxisWithInclination> Ifc4x3_rc2::IfcAxisLateralInclination::ToLinearAxis() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[616], 1)); } +std::vector<::Ifc4x3_rc2::IfcLinearAxisWithInclination> Ifc4x3_rc2::IfcAxisLateralInclination::ToLinearAxis() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[616], 1)); } -const IfcParse::entity& Ifc4x3_rc2::IfcAxisLateralInclination::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[76]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcAxisLateralInclination::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[76]); } void Ifc4x3_rc2::IfcAxisLateralInclination::initialize() { } // Function implementations for IfcBSplineCurve @@ -8474,15 +8474,15 @@ void Ifc4x3_rc2::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value( std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > Ifc4x3_rc2::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc2::IfcCartesianPoint>(es); } void Ifc4x3_rc2::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x3_rc2::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc2::IfcBSplineCurveForm::Value Ifc4x3_rc2::IfcBSplineCurve::CurveForm() const { return ::Ifc4x3_rc2::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x3_rc2::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_rc2::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc2::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc2::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_rc2::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc2::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x3_rc2::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x3_rc2::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_rc2::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[115]); } -void Ifc4x3_rc2::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[115]); } +void Ifc4x3_rc2::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -8490,11 +8490,11 @@ void Ifc4x3_rc2::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vect std::vector< double > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc2::IfcKnotType::Value Ifc4x3_rc2::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x3_rc2::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc2::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc2::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[117]); } -void Ifc4x3_rc2::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::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_rc2::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[117]); } +void Ifc4x3_rc2::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::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, (enumeration_reference(&::Ifc4x3_rc2::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x3_rc2::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -8504,7 +8504,7 @@ void Ifc4x3_rc2::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_val std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > Ifc4x3_rc2::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc2::IfcCartesianPoint>(es); } void Ifc4x3_rc2::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_rc2::IfcBSplineSurfaceForm::Value Ifc4x3_rc2::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x3_rc2::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x3_rc2::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_rc2::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc2::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc2::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_rc2::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc2::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_rc2::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x3_rc2::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -8513,8 +8513,8 @@ boost::logic::tribool Ifc4x3_rc2::IfcBSplineSurface::SelfIntersect() const { bo void Ifc4x3_rc2::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[118]); } -void Ifc4x3_rc2::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[118]); } +void Ifc4x3_rc2::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc2::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -8526,49 +8526,49 @@ void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double std::vector< double > /*[2:?]*/ Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x3_rc2::IfcKnotType::Value Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x3_rc2::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc2::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc2::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[120]); } -void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc2::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_rc2::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[120]); } +void Ifc4x3_rc2::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc2::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, (enumeration_reference(&::Ifc4x3_rc2::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value > Ifc4x3_rc2::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[77]); } -void Ifc4x3_rc2::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[77]); } +void Ifc4x3_rc2::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamStandardCase -const IfcParse::entity& Ifc4x3_rc2::IfcBeamStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[78]); } -void Ifc4x3_rc2::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBeamStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[78]); } +void Ifc4x3_rc2::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x3_rc2::IfcBeamTypeEnum::Value Ifc4x3_rc2::IfcBeamType::PredefinedType() const { return ::Ifc4x3_rc2::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcBeamType::setPredefinedType(const ::Ifc4x3_rc2::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcBeamType::setPredefinedType(const ::Ifc4x3_rc2::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[79]); } -void Ifc4x3_rc2::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[79]); } +void Ifc4x3_rc2::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBearing std::optional< ::Ifc4x3_rc2::IfcBearingTypeEnum::Value > Ifc4x3_rc2::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcBearingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[81]); } -void Ifc4x3_rc2::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[81]); } +void Ifc4x3_rc2::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBearingType ::Ifc4x3_rc2::IfcBearingTypeEnum::Value Ifc4x3_rc2::IfcBearingType::PredefinedType() const { return ::Ifc4x3_rc2::IfcBearingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcBearingType::setPredefinedType(const ::Ifc4x3_rc2::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcBearingType::setPredefinedType(const ::Ifc4x3_rc2::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[82]); } -void Ifc4x3_rc2::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[82]); } +void Ifc4x3_rc2::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x3_rc2::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -8577,7 +8577,7 @@ boost::dynamic_bitset<> Ifc4x3_rc2::IfcBlobTexture::RasterCode() const { boost: void Ifc4x3_rc2::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[88]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[88]); } void Ifc4x3_rc2::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -8589,7 +8589,7 @@ double Ifc4x3_rc2::IfcBlock::ZLength() const { double v = get_attribute_value(3 void Ifc4x3_rc2::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[89]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[89]); } void Ifc4x3_rc2::IfcBlock::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBlossCurve @@ -8601,47 +8601,47 @@ double Ifc4x3_rc2::IfcBlossCurve::Radius() const { double v = get_attribute_val void Ifc4x3_rc2::IfcBlossCurve::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcBlossCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[90]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBlossCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[90]); } void Ifc4x3_rc2::IfcBlossCurve::initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position, double v2_CurveLength, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CurveLength));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value > Ifc4x3_rc2::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[91]); } -void Ifc4x3_rc2::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[91]); } +void Ifc4x3_rc2::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value Ifc4x3_rc2::IfcBoilerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcBoilerType::setPredefinedType(const ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcBoilerType::setPredefinedType(const ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[92]); } -void Ifc4x3_rc2::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[92]); } +void Ifc4x3_rc2::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x3_rc2::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[95]); } -void Ifc4x3_rc2::IfcBooleanClippingResult::initialize(::Ifc4x3_rc2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[95]); } +void Ifc4x3_rc2::IfcBooleanClippingResult::initialize(::Ifc4x3_rc2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x3_rc2::IfcBooleanOperator::Value Ifc4x3_rc2::IfcBooleanResult::Operator() const { return ::Ifc4x3_rc2::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x3_rc2::IfcBooleanResult::setOperator(const ::Ifc4x3_rc2::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc2::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc2::IfcBooleanResult::setOperator(const ::Ifc4x3_rc2::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc2::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc2::IfcBooleanOperand Ifc4x3_rc2::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc2::IfcBooleanOperand>(); } void Ifc4x3_rc2::IfcBooleanResult::setFirstOperand(const ::Ifc4x3_rc2::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc2::IfcBooleanOperand Ifc4x3_rc2::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcBooleanOperand>(); } void Ifc4x3_rc2::IfcBooleanResult::setSecondOperand(const ::Ifc4x3_rc2::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[98]); } -void Ifc4x3_rc2::IfcBooleanResult::initialize(::Ifc4x3_rc2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[98]); } +void Ifc4x3_rc2::IfcBooleanResult::initialize(::Ifc4x3_rc2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc2::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBorehole -const IfcParse::entity& Ifc4x3_rc2::IfcBorehole::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[99]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBorehole::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[99]); } void Ifc4x3_rc2::IfcBorehole::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBoundaryCondition @@ -8649,13 +8649,13 @@ std::optional< std::string > Ifc4x3_rc2::IfcBoundaryCondition::Name() const { if void Ifc4x3_rc2::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[100]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[100]); } void Ifc4x3_rc2::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x3_rc2::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[101]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[101]); } void Ifc4x3_rc2::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x3_rc2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -8673,7 +8673,7 @@ void Ifc4x3_rc2::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const void Ifc4x3_rc2::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[102]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[102]); } void Ifc4x3_rc2::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_rc2::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_rc2::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -8685,7 +8685,7 @@ void Ifc4x3_rc2::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(cons void Ifc4x3_rc2::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[103]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[103]); } void Ifc4x3_rc2::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -8703,7 +8703,7 @@ void Ifc4x3_rc2::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4x void Ifc4x3_rc2::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x3_rc2::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[104]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[104]); } void Ifc4x3_rc2::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -8711,20 +8711,20 @@ void Ifc4x3_rc2::IfcBoundaryNodeCondition::initialize(std::optional< std::string void Ifc4x3_rc2::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x3_rc2::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[105]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[105]); } void Ifc4x3_rc2::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_rc2::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -std::vector<::Ifc4x3_rc2::IfcLinearPositioningElement> Ifc4x3_rc2::IfcBoundedCurve::PositioningElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[622], 7)); } +std::vector<::Ifc4x3_rc2::IfcLinearPositioningElement> Ifc4x3_rc2::IfcBoundedCurve::PositioningElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[622], 7)); } -const IfcParse::entity& Ifc4x3_rc2::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[106]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[106]); } void Ifc4x3_rc2::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x3_rc2::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[107]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[107]); } void Ifc4x3_rc2::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -8738,7 +8738,7 @@ double Ifc4x3_rc2::IfcBoundingBox::ZDim() const { double v = get_attribute_valu void Ifc4x3_rc2::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[108]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[108]); } void Ifc4x3_rc2::IfcBoundingBox::initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -8746,22 +8746,22 @@ void Ifc4x3_rc2::IfcBoundingBox::initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_C void Ifc4x3_rc2::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x3_rc2::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[110]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[110]); } void Ifc4x3_rc2::IfcBoxedHalfSpace::initialize(::Ifc4x3_rc2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc2::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBridge std::optional< ::Ifc4x3_rc2::IfcBridgeTypeEnum::Value > Ifc4x3_rc2::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc2::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[111]); } -void Ifc4x3_rc2::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc2::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[111]); } +void Ifc4x3_rc2::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc2::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBridgePart -const IfcParse::entity& Ifc4x3_rc2::IfcBridgePart::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[112]); } -void Ifc4x3_rc2::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc2::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBridgePart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[112]); } +void Ifc4x3_rc2::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc2::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } // Function implementations for IfcBuilding std::optional< double > Ifc4x3_rc2::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -8772,96 +8772,96 @@ void Ifc4x3_rc2::IfcBuilding::setElevationOfTerrain(const std::optional< double void Ifc4x3_rc2::IfcBuilding::setBuildingAddress(const ::Ifc4x3_rc2::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[121]); } -void Ifc4x3_rc2::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc2::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::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)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[121]); } +void Ifc4x3_rc2::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc2::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::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)); } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value > Ifc4x3_rc2::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[122]); } -void Ifc4x3_rc2::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[122]); } +void Ifc4x3_rc2::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value Ifc4x3_rc2::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[123]); } -void Ifc4x3_rc2::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[123]); } +void Ifc4x3_rc2::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3_rc2::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[125]); } -void Ifc4x3_rc2::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[125]); } +void Ifc4x3_rc2::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_rc2::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[126]); } -void Ifc4x3_rc2::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[126]); } +void Ifc4x3_rc2::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingStorey std::optional< double > Ifc4x3_rc2::IfcBuildingStorey::Elevation() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[128]); } -void Ifc4x3_rc2::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[128]); } +void Ifc4x3_rc2::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value > Ifc4x3_rc2::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc2::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc2::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[129]); } -void Ifc4x3_rc2::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[129]); } +void Ifc4x3_rc2::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBuiltElement -const IfcParse::entity& Ifc4x3_rc2::IfcBuiltElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[131]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuiltElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[131]); } void Ifc4x3_rc2::IfcBuiltElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuiltElementType -const IfcParse::entity& Ifc4x3_rc2::IfcBuiltElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[132]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuiltElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[132]); } void Ifc4x3_rc2::IfcBuiltElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuiltSystem std::optional< ::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value > Ifc4x3_rc2::IfcBuiltSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc2::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc2::IfcBuiltSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcBuiltSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBuiltSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[133]); } -void Ifc4x3_rc2::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBuiltSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[133]); } +void Ifc4x3_rc2::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value > Ifc4x3_rc2::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[135]); } -void Ifc4x3_rc2::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[135]); } +void Ifc4x3_rc2::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value Ifc4x3_rc2::IfcBurnerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcBurnerType::setPredefinedType(const ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcBurnerType::setPredefinedType(const ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[136]); } -void Ifc4x3_rc2::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[136]); } +void Ifc4x3_rc2::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x3_rc2::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -8876,101 +8876,101 @@ std::optional< double > Ifc4x3_rc2::IfcCShapeProfileDef::InternalFilletRadius() void Ifc4x3_rc2::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[274]); } -void Ifc4x3_rc2::IfcCShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[274]); } +void Ifc4x3_rc2::IfcCShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3_rc2::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[138]); } -void Ifc4x3_rc2::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[138]); } +void Ifc4x3_rc2::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_rc2::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[139]); } -void Ifc4x3_rc2::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[139]); } +void Ifc4x3_rc2::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3_rc2::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[141]); } -void Ifc4x3_rc2::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[141]); } +void Ifc4x3_rc2::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_rc2::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[142]); } -void Ifc4x3_rc2::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[142]); } +void Ifc4x3_rc2::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value > Ifc4x3_rc2::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[144]); } -void Ifc4x3_rc2::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[144]); } +void Ifc4x3_rc2::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value Ifc4x3_rc2::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[145]); } -void Ifc4x3_rc2::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[145]); } +void Ifc4x3_rc2::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value > Ifc4x3_rc2::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[147]); } -void Ifc4x3_rc2::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[147]); } +void Ifc4x3_rc2::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value Ifc4x3_rc2::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[148]); } -void Ifc4x3_rc2::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[148]); } +void Ifc4x3_rc2::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCaissonFoundation std::optional< ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value > Ifc4x3_rc2::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[150]); } -void Ifc4x3_rc2::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[150]); } +void Ifc4x3_rc2::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCaissonFoundationType ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value Ifc4x3_rc2::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[151]); } -void Ifc4x3_rc2::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[151]); } +void Ifc4x3_rc2::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x3_rc2::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x3_rc2::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[154]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[154]); } void Ifc4x3_rc2::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x3_rc2::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[155]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[155]); } void Ifc4x3_rc2::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -8980,7 +8980,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc2::IfcCartesianPo void Ifc4x3_rc2::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[156]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[156]); } void Ifc4x3_rc2::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -8990,7 +8990,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc2::IfcCartesianPo void Ifc4x3_rc2::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[157]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[157]); } void Ifc4x3_rc2::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -9004,13 +9004,13 @@ std::optional< double > Ifc4x3_rc2::IfcCartesianTransformationOperator::Scale() void Ifc4x3_rc2::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[158]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[158]); } void Ifc4x3_rc2::IfcCartesianTransformationOperator::initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[159]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[159]); } void Ifc4x3_rc2::IfcCartesianTransformationOperator2D::initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -9018,7 +9018,7 @@ std::optional< double > Ifc4x3_rc2::IfcCartesianTransformationOperator2DnonUnifo void Ifc4x3_rc2::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[160]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[160]); } void Ifc4x3_rc2::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -9026,7 +9026,7 @@ void Ifc4x3_rc2::IfcCartesianTransformationOperator2DnonUniform::initialize(::If void Ifc4x3_rc2::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[161]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[161]); } void Ifc4x3_rc2::IfcCartesianTransformationOperator3D::initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc2::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -9036,7 +9036,7 @@ std::optional< double > Ifc4x3_rc2::IfcCartesianTransformationOperator3DnonUnifo void Ifc4x3_rc2::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[162]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[162]); } void Ifc4x3_rc2::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc2::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -9044,47 +9044,47 @@ double Ifc4x3_rc2::IfcCenterLineProfileDef::Thickness() const { double v = get_ void Ifc4x3_rc2::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[163]); } -void Ifc4x3_rc2::IfcCenterLineProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[163]); } +void Ifc4x3_rc2::IfcCenterLineProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x3_rc2::IfcChillerTypeEnum::Value > Ifc4x3_rc2::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[165]); } -void Ifc4x3_rc2::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[165]); } +void Ifc4x3_rc2::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x3_rc2::IfcChillerTypeEnum::Value Ifc4x3_rc2::IfcChillerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcChillerType::setPredefinedType(const ::Ifc4x3_rc2::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcChillerType::setPredefinedType(const ::Ifc4x3_rc2::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[166]); } -void Ifc4x3_rc2::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[166]); } +void Ifc4x3_rc2::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value > Ifc4x3_rc2::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[168]); } -void Ifc4x3_rc2::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[168]); } +void Ifc4x3_rc2::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value Ifc4x3_rc2::IfcChimneyType::PredefinedType() const { return ::Ifc4x3_rc2::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcChimneyType::setPredefinedType(const ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcChimneyType::setPredefinedType(const ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[169]); } -void Ifc4x3_rc2::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[169]); } +void Ifc4x3_rc2::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x3_rc2::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[171]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[171]); } void Ifc4x3_rc2::IfcCircle::initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -9092,16 +9092,16 @@ double Ifc4x3_rc2::IfcCircleHollowProfileDef::WallThickness() const { double v void Ifc4x3_rc2::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[172]); } -void Ifc4x3_rc2::IfcCircleHollowProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[172]); } +void Ifc4x3_rc2::IfcCircleHollowProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x3_rc2::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x3_rc2::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[173]); } -void Ifc4x3_rc2::IfcCircleProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[173]); } +void Ifc4x3_rc2::IfcCircleProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCircularArcSegment2D double Ifc4x3_rc2::IfcCircularArcSegment2D::Radius() const { double v = get_attribute_value(3); return v; } @@ -9110,19 +9110,19 @@ bool Ifc4x3_rc2::IfcCircularArcSegment2D::IsCCW() const { bool v = get_attribut void Ifc4x3_rc2::IfcCircularArcSegment2D::setIsCCW(const bool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcCircularArcSegment2D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[174]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCircularArcSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[174]); } void Ifc4x3_rc2::IfcCircularArcSegment2D::initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, double v4_Radius, bool v5_IsCCW) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_IsCCW)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x3_rc2::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[175]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[175]); } void Ifc4x3_rc2::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x3_rc2::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[176]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[176]); } void Ifc4x3_rc2::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -9141,10 +9141,10 @@ void Ifc4x3_rc2::IfcClassification::setLocation(const std::optional< std::string std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc2::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc2::IfcRelAssociatesClassification> Ifc4x3_rc2::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[928], 5)); } -std::vector<::Ifc4x3_rc2::IfcClassificationReference> Ifc4x3_rc2::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[178], 3)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociatesClassification> Ifc4x3_rc2::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[928], 5)); } +std::vector<::Ifc4x3_rc2::IfcClassificationReference> Ifc4x3_rc2::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[178], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[177]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[177]); } void Ifc4x3_rc2::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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_Location) {set_attribute_value(5, (*v6_Location)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); } } // Function implementations for IfcClassificationReference @@ -9155,16 +9155,16 @@ void Ifc4x3_rc2::IfcClassificationReference::setDescription(const std::optional< std::optional< std::string > Ifc4x3_rc2::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc2::IfcRelAssociatesClassification> Ifc4x3_rc2::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[928], 5)); } -std::vector<::Ifc4x3_rc2::IfcClassificationReference> Ifc4x3_rc2::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[178], 3)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociatesClassification> Ifc4x3_rc2::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[928], 5)); } +std::vector<::Ifc4x3_rc2::IfcClassificationReference> Ifc4x3_rc2::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[178], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[178]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[178]); } void Ifc4x3_rc2::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_rc2::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x3_rc2::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[181]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[181]); } void Ifc4x3_rc2::IfcClosedShell::initialize(std::vector< ::Ifc4x3_rc2::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcClothoid @@ -9174,24 +9174,24 @@ double Ifc4x3_rc2::IfcClothoid::ClothoidConstant() const { double v = get_attri void Ifc4x3_rc2::IfcClothoid::setClothoidConstant(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcClothoid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[182]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcClothoid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[182]); } void Ifc4x3_rc2::IfcClothoid::initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position, double v2_ClothoidConstant) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_ClothoidConstant)); } // Function implementations for IfcCoil std::optional< ::Ifc4x3_rc2::IfcCoilTypeEnum::Value > Ifc4x3_rc2::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[183]); } -void Ifc4x3_rc2::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[183]); } +void Ifc4x3_rc2::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x3_rc2::IfcCoilTypeEnum::Value Ifc4x3_rc2::IfcCoilType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCoilType::setPredefinedType(const ::Ifc4x3_rc2::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCoilType::setPredefinedType(const ::Ifc4x3_rc2::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[184]); } -void Ifc4x3_rc2::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[184]); } +void Ifc4x3_rc2::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x3_rc2::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -9202,7 +9202,7 @@ double Ifc4x3_rc2::IfcColourRgb::Blue() const { double v = get_attribute_value( void Ifc4x3_rc2::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[188]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[188]); } void Ifc4x3_rc2::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -9210,7 +9210,7 @@ std::vector< std::vector< double > > Ifc4x3_rc2::IfcColourRgbList::ColourList() void Ifc4x3_rc2::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[189]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[189]); } void Ifc4x3_rc2::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -9218,46 +9218,46 @@ std::optional< std::string > Ifc4x3_rc2::IfcColourSpecification::Name() const { void Ifc4x3_rc2::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc2::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[190]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[190]); } void Ifc4x3_rc2::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value > Ifc4x3_rc2::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[191]); } -void Ifc4x3_rc2::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[191]); } +void Ifc4x3_rc2::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnStandardCase -const IfcParse::entity& Ifc4x3_rc2::IfcColumnStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[192]); } -void Ifc4x3_rc2::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcColumnStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[192]); } +void Ifc4x3_rc2::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x3_rc2::IfcColumnTypeEnum::Value Ifc4x3_rc2::IfcColumnType::PredefinedType() const { return ::Ifc4x3_rc2::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcColumnType::setPredefinedType(const ::Ifc4x3_rc2::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcColumnType::setPredefinedType(const ::Ifc4x3_rc2::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[193]); } -void Ifc4x3_rc2::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[193]); } +void Ifc4x3_rc2::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3_rc2::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[195]); } -void Ifc4x3_rc2::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[195]); } +void Ifc4x3_rc2::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_rc2::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[196]); } -void Ifc4x3_rc2::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[196]); } +void Ifc4x3_rc2::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x3_rc2::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -9266,20 +9266,20 @@ std::vector< ::Ifc4x3_rc2::IfcProperty > Ifc4x3_rc2::IfcComplexProperty::HasProp void Ifc4x3_rc2::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x3_rc2::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[199]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[199]); } void Ifc4x3_rc2::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x3_rc2::IfcProperty > v4_HasProperties) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x3_rc2::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x3_rc2::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc2::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > > Ifc4x3_rc2::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc2::IfcPropertyTemplate>(es); } void Ifc4x3_rc2::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[200]); } -void Ifc4x3_rc2::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc2::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[200]); } +void Ifc4x3_rc2::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x3_rc2::IfcSegment > Ifc4x3_rc2::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcSegment>(es); } @@ -9288,13 +9288,13 @@ boost::logic::tribool Ifc4x3_rc2::IfcCompositeCurve::SelfIntersect() const { bo void Ifc4x3_rc2::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[202]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[202]); } void Ifc4x3_rc2::IfcCompositeCurve::initialize(std::vector< ::Ifc4x3_rc2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x3_rc2::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[203]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[203]); } void Ifc4x3_rc2::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x3_rc2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment @@ -9303,10 +9303,10 @@ void Ifc4x3_rc2::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_att ::Ifc4x3_rc2::IfcCurve Ifc4x3_rc2::IfcCompositeCurveSegment::ParentCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcCurve>(); } void Ifc4x3_rc2::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x3_rc2::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc2::IfcCompositeCurve> Ifc4x3_rc2::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[202], 0)); } +std::vector<::Ifc4x3_rc2::IfcCompositeCurve> Ifc4x3_rc2::IfcCompositeCurveSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[202], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[204]); } -void Ifc4x3_rc2::IfcCompositeCurveSegment::initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc2::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[204]); } +void Ifc4x3_rc2::IfcCompositeCurveSegment::initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc2::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x3_rc2::IfcProfileDef > Ifc4x3_rc2::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc2::IfcProfileDef>(es); } @@ -9315,47 +9315,47 @@ std::optional< std::string > Ifc4x3_rc2::IfcCompositeProfileDef::Label() const { void Ifc4x3_rc2::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[205]); } -void Ifc4x3_rc2::IfcCompositeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[205]); } +void Ifc4x3_rc2::IfcCompositeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value > Ifc4x3_rc2::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[207]); } -void Ifc4x3_rc2::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[207]); } +void Ifc4x3_rc2::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value Ifc4x3_rc2::IfcCompressorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCompressorType::setPredefinedType(const ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCompressorType::setPredefinedType(const ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[208]); } -void Ifc4x3_rc2::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[208]); } +void Ifc4x3_rc2::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value > Ifc4x3_rc2::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[210]); } -void Ifc4x3_rc2::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[210]); } +void Ifc4x3_rc2::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value Ifc4x3_rc2::IfcCondenserType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCondenserType::setPredefinedType(const ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCondenserType::setPredefinedType(const ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[211]); } -void Ifc4x3_rc2::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[211]); } +void Ifc4x3_rc2::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x3_rc2::IfcAxis2Placement Ifc4x3_rc2::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcAxis2Placement>(); } void Ifc4x3_rc2::IfcConic::setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcConic::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[213]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[213]); } void Ifc4x3_rc2::IfcConic::initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -9363,7 +9363,7 @@ std::vector< ::Ifc4x3_rc2::IfcFace > Ifc4x3_rc2::IfcConnectedFaceSet::CfsFaces() void Ifc4x3_rc2::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x3_rc2::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[214]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[214]); } void Ifc4x3_rc2::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x3_rc2::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -9373,13 +9373,13 @@ void Ifc4x3_rc2::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::I void Ifc4x3_rc2::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x3_rc2::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[215]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[215]); } void Ifc4x3_rc2::IfcConnectionCurveGeometry::initialize(::Ifc4x3_rc2::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_rc2::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x3_rc2::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[216]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[216]); } void Ifc4x3_rc2::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -9391,7 +9391,7 @@ std::optional< double > Ifc4x3_rc2::IfcConnectionPointEccentricity::Eccentricity void Ifc4x3_rc2::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[217]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[217]); } void Ifc4x3_rc2::IfcConnectionPointEccentricity::initialize(::Ifc4x3_rc2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc2::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -9401,7 +9401,7 @@ void Ifc4x3_rc2::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::I void Ifc4x3_rc2::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x3_rc2::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[218]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[218]); } void Ifc4x3_rc2::IfcConnectionPointGeometry::initialize(::Ifc4x3_rc2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc2::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -9411,7 +9411,7 @@ void Ifc4x3_rc2::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const void Ifc4x3_rc2::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x3_rc2::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[219]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[219]); } void Ifc4x3_rc2::IfcConnectionSurfaceGeometry::initialize(::Ifc4x3_rc2::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_rc2::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -9421,7 +9421,7 @@ void Ifc4x3_rc2::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const : void Ifc4x3_rc2::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x3_rc2::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[221]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[221]); } void Ifc4x3_rc2::IfcConnectionVolumeGeometry::initialize(::Ifc4x3_rc2::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_rc2::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -9430,7 +9430,7 @@ void Ifc4x3_rc2::IfcConstraint::setName(const std::string& v) { set_attribute_va std::optional< std::string > Ifc4x3_rc2::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_rc2::IfcConstraintEnum::Value Ifc4x3_rc2::IfcConstraint::ConstraintGrade() const { return ::Ifc4x3_rc2::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc2::IfcConstraint::setConstraintGrade(const ::Ifc4x3_rc2::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc2::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc2::IfcConstraint::setConstraintGrade(const ::Ifc4x3_rc2::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc2::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x3_rc2::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc2::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc2::IfcActorSelect Ifc4x3_rc2::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc2::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcActorSelect>(); } @@ -9440,59 +9440,59 @@ void Ifc4x3_rc2::IfcConstraint::setCreationTime(const std::optional< std::string std::optional< std::string > Ifc4x3_rc2::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -std::vector<::Ifc4x3_rc2::IfcResourceConstraintRelationship> Ifc4x3_rc2::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[974], 2)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcResourceConstraintRelationship> Ifc4x3_rc2::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[974], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[222]); } -void Ifc4x3_rc2::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[222]); } +void Ifc4x3_rc2::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3_rc2::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[224]); } -void Ifc4x3_rc2::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[224]); } +void Ifc4x3_rc2::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_rc2::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc2::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[225]); } -void Ifc4x3_rc2::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[225]); } +void Ifc4x3_rc2::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3_rc2::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[227]); } -void Ifc4x3_rc2::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[227]); } +void Ifc4x3_rc2::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_rc2::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc2::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[228]); } -void Ifc4x3_rc2::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[228]); } +void Ifc4x3_rc2::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3_rc2::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[230]); } -void Ifc4x3_rc2::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[230]); } +void Ifc4x3_rc2::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_rc2::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc2::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[231]); } -void Ifc4x3_rc2::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[231]); } +void Ifc4x3_rc2::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x3_rc2::IfcResourceTime Ifc4x3_rc2::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc2::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc2::IfcResourceTime>(); } @@ -9503,7 +9503,7 @@ void Ifc4x3_rc2::IfcConstructionResource::setBaseCosts(const std::optional< std: void Ifc4x3_rc2::IfcConstructionResource::setBaseQuantity(const ::Ifc4x3_rc2::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[233]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[233]); } void Ifc4x3_rc2::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -9513,7 +9513,7 @@ void Ifc4x3_rc2::IfcConstructionResourceType::setBaseCosts(const std::optional< void Ifc4x3_rc2::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x3_rc2::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc2::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[234]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[234]); } void Ifc4x3_rc2::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -9528,45 +9528,45 @@ void Ifc4x3_rc2::IfcContext::setRepresentationContexts(const std::optional< std: ::Ifc4x3_rc2::IfcUnitAssignment Ifc4x3_rc2::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc2::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc2::IfcUnitAssignment>(); } void Ifc4x3_rc2::IfcContext::setUnitsInContext(const ::Ifc4x3_rc2::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc2::IfcRelDefinesByProperties> Ifc4x3_rc2::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[951], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelDeclares> Ifc4x3_rc2::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[947], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelDefinesByProperties> Ifc4x3_rc2::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[951], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelDeclares> Ifc4x3_rc2::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[947], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcContext::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[235]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[235]); } void Ifc4x3_rc2::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc2::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x3_rc2::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[237]); } -void Ifc4x3_rc2::IfcContextDependentUnit::initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[237]); } +void Ifc4x3_rc2::IfcContextDependentUnit::initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x3_rc2::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc2::IfcRelAssignsToControl> Ifc4x3_rc2::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[920], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelAssignsToControl> Ifc4x3_rc2::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[920], 6)); } -const IfcParse::entity& Ifc4x3_rc2::IfcControl::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[238]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[238]); } void Ifc4x3_rc2::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x3_rc2::IfcControllerTypeEnum::Value > Ifc4x3_rc2::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcController::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[239]); } -void Ifc4x3_rc2::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[239]); } +void Ifc4x3_rc2::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x3_rc2::IfcControllerTypeEnum::Value Ifc4x3_rc2::IfcControllerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcControllerType::setPredefinedType(const ::Ifc4x3_rc2::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcControllerType::setPredefinedType(const ::Ifc4x3_rc2::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[240]); } -void Ifc4x3_rc2::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[240]); } +void Ifc4x3_rc2::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x3_rc2::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -9574,66 +9574,66 @@ void Ifc4x3_rc2::IfcConversionBasedUnit::setName(const std::string& v) { set_att ::Ifc4x3_rc2::IfcMeasureWithUnit Ifc4x3_rc2::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc2::IfcMeasureWithUnit>(); } void Ifc4x3_rc2::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x3_rc2::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[242]); } -void Ifc4x3_rc2::IfcConversionBasedUnit::initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[242]); } +void Ifc4x3_rc2::IfcConversionBasedUnit::initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x3_rc2::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[243]); } -void Ifc4x3_rc2::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[243]); } +void Ifc4x3_rc2::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcConveyorSegment std::optional< ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value > Ifc4x3_rc2::IfcConveyorSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcConveyorSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[244]); } -void Ifc4x3_rc2::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConveyorSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[244]); } +void Ifc4x3_rc2::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcConveyorSegmentType ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value Ifc4x3_rc2::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcConveyorSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[245]); } -void Ifc4x3_rc2::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcConveyorSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[245]); } +void Ifc4x3_rc2::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value > Ifc4x3_rc2::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[247]); } -void Ifc4x3_rc2::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[247]); } +void Ifc4x3_rc2::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value Ifc4x3_rc2::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[248]); } -void Ifc4x3_rc2::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[248]); } +void Ifc4x3_rc2::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value > Ifc4x3_rc2::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[250]); } -void Ifc4x3_rc2::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[250]); } +void Ifc4x3_rc2::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value Ifc4x3_rc2::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[251]); } -void Ifc4x3_rc2::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[251]); } +void Ifc4x3_rc2::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x3_rc2::IfcCoordinateReferenceSystemSelect Ifc4x3_rc2::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcCoordinateReferenceSystemSelect>(); } @@ -9642,7 +9642,7 @@ void Ifc4x3_rc2::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x3_rc2::IfcCoo void Ifc4x3_rc2::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x3_rc2::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[253]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[253]); } void Ifc4x3_rc2::IfcCoordinateOperation::initialize(::Ifc4x3_rc2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc2::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -9655,26 +9655,26 @@ void Ifc4x3_rc2::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optio std::optional< std::string > Ifc4x3_rc2::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc2::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::vector<::Ifc4x3_rc2::IfcCoordinateOperation> Ifc4x3_rc2::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[253], 0)); } +std::vector<::Ifc4x3_rc2::IfcCoordinateOperation> Ifc4x3_rc2::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[253], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[254]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[254]); } void Ifc4x3_rc2::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { 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)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4x3_rc2::IfcCostItemTypeEnum::Value > Ifc4x3_rc2::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc2::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc2::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc2::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc2::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_rc2::IfcCostValue > > Ifc4x3_rc2::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc2::IfcCostValue>(es); } void Ifc4x3_rc2::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x3_rc2::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > > Ifc4x3_rc2::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_rc2::IfcPhysicalQuantity>(es); } void Ifc4x3_rc2::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[256]); } -void Ifc4x3_rc2::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc2::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[256]); } +void Ifc4x3_rc2::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc2::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value > Ifc4x3_rc2::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc2::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc2::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc2::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc2::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc2::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc2::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -9683,71 +9683,71 @@ std::optional< std::string > Ifc4x3_rc2::IfcCostSchedule::UpdateDate() const { i void Ifc4x3_rc2::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[258]); } -void Ifc4x3_rc2::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[258]); } +void Ifc4x3_rc2::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x3_rc2::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[260]); } -void Ifc4x3_rc2::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_rc2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[260]); } +void Ifc4x3_rc2::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCourse std::optional< ::Ifc4x3_rc2::IfcCourseTypeEnum::Value > Ifc4x3_rc2::IfcCourse::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCourseTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCourse::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[262]); } -void Ifc4x3_rc2::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCourse::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[262]); } +void Ifc4x3_rc2::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCourseType ::Ifc4x3_rc2::IfcCourseTypeEnum::Value Ifc4x3_rc2::IfcCourseType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCourseTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCourseType::setPredefinedType(const ::Ifc4x3_rc2::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCourseType::setPredefinedType(const ::Ifc4x3_rc2::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCourseType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[263]); } -void Ifc4x3_rc2::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCourseType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[263]); } +void Ifc4x3_rc2::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCovering std::optional< ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value > Ifc4x3_rc2::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc2::IfcRelCoversSpaces> Ifc4x3_rc2::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[946], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelCoversBldgElements> Ifc4x3_rc2::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[945], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelCoversSpaces> Ifc4x3_rc2::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[946], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelCoversBldgElements> Ifc4x3_rc2::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[945], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[265]); } -void Ifc4x3_rc2::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[265]); } +void Ifc4x3_rc2::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value Ifc4x3_rc2::IfcCoveringType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCoveringType::setPredefinedType(const ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCoveringType::setPredefinedType(const ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[266]); } -void Ifc4x3_rc2::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[266]); } +void Ifc4x3_rc2::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value > Ifc4x3_rc2::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[268]); } -void Ifc4x3_rc2::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[268]); } +void Ifc4x3_rc2::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value Ifc4x3_rc2::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc2::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[269]); } -void Ifc4x3_rc2::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[269]); } +void Ifc4x3_rc2::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x3_rc2::IfcAxis2Placement3D Ifc4x3_rc2::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcAxis2Placement3D>(); } void Ifc4x3_rc2::IfcCsgPrimitive3D::setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[271]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[271]); } void Ifc4x3_rc2::IfcCsgPrimitive3D::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -9755,7 +9755,7 @@ void Ifc4x3_rc2::IfcCsgPrimitive3D::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D void Ifc4x3_rc2::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x3_rc2::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[273]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[273]); } void Ifc4x3_rc2::IfcCsgSolid::initialize(::Ifc4x3_rc2::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -9771,29 +9771,29 @@ void Ifc4x3_rc2::IfcCurrencyRelationship::setRateDateTime(const std::optional< s void Ifc4x3_rc2::IfcCurrencyRelationship::setRateSource(const ::Ifc4x3_rc2::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[275]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[275]); } void Ifc4x3_rc2::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_rc2::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_rc2::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value > Ifc4x3_rc2::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[276]); } -void Ifc4x3_rc2::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[276]); } +void Ifc4x3_rc2::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value Ifc4x3_rc2::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[277]); } -void Ifc4x3_rc2::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[277]); } +void Ifc4x3_rc2::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x3_rc2::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[280]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[280]); } void Ifc4x3_rc2::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -9805,7 +9805,7 @@ std::vector< ::Ifc4x3_rc2::IfcCurve > Ifc4x3_rc2::IfcCurveBoundedPlane::InnerBou void Ifc4x3_rc2::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x3_rc2::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[281]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[281]); } void Ifc4x3_rc2::IfcCurveBoundedPlane::initialize(::Ifc4x3_rc2::IfcPlane v1_BasisSurface, ::Ifc4x3_rc2::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_rc2::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -9817,7 +9817,7 @@ bool Ifc4x3_rc2::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_a void Ifc4x3_rc2::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[282]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[282]); } void Ifc4x3_rc2::IfcCurveBoundedSurface::initialize(::Ifc4x3_rc2::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_rc2::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment @@ -9829,8 +9829,8 @@ void Ifc4x3_rc2::IfcCurveSegment::setSegmentLength(const ::Ifc4x3_rc2::IfcCurveM void Ifc4x3_rc2::IfcCurveSegment::setParentCurve(const ::Ifc4x3_rc2::IfcCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[288]); } -void Ifc4x3_rc2::IfcCurveSegment::initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_rc2::IfcPlacement v2_StartPlacement, ::Ifc4x3_rc2::IfcCurveMeasureSelect v3_SegmentLength, ::Ifc4x3_rc2::IfcCurve v4_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_StartPlacement));set_attribute_value(2, (v3_SegmentLength));set_attribute_value(3, (v4_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[288]); } +void Ifc4x3_rc2::IfcCurveSegment::initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_rc2::IfcPlacement v2_StartPlacement, ::Ifc4x3_rc2::IfcCurveMeasureSelect v3_SegmentLength, ::Ifc4x3_rc2::IfcCurve v4_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_StartPlacement));set_attribute_value(2, (v3_SegmentLength));set_attribute_value(3, (v4_ParentCurve)); } // Function implementations for IfcCurveSegment2D ::Ifc4x3_rc2::IfcCartesianPoint Ifc4x3_rc2::IfcCurveSegment2D::StartPoint() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcCartesianPoint>(); } @@ -9841,7 +9841,7 @@ double Ifc4x3_rc2::IfcCurveSegment2D::SegmentLength() const { double v = get_at void Ifc4x3_rc2::IfcCurveSegment2D::setSegmentLength(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcCurveSegment2D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[289]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurveSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[289]); } void Ifc4x3_rc2::IfcCurveSegment2D::initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); } // Function implementations for IfcCurveStyle @@ -9855,7 +9855,7 @@ std::optional< bool > Ifc4x3_rc2::IfcCurveStyle::ModelOrDraughting() const { if( void Ifc4x3_rc2::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[290]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[290]); } void Ifc4x3_rc2::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_rc2::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_rc2::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -9865,7 +9865,7 @@ std::vector< ::Ifc4x3_rc2::IfcCurveStyleFontPattern > Ifc4x3_rc2::IfcCurveStyleF void Ifc4x3_rc2::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x3_rc2::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[291]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[291]); } void Ifc4x3_rc2::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc2::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -9877,7 +9877,7 @@ double Ifc4x3_rc2::IfcCurveStyleFontAndScaling::CurveFontScaling() const { doub void Ifc4x3_rc2::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[292]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[292]); } void Ifc4x3_rc2::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -9887,7 +9887,7 @@ double Ifc4x3_rc2::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { d void Ifc4x3_rc2::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[293]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[293]); } void Ifc4x3_rc2::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -9895,35 +9895,35 @@ double Ifc4x3_rc2::IfcCylindricalSurface::Radius() const { double v = get_attri void Ifc4x3_rc2::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[295]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[295]); } void Ifc4x3_rc2::IfcCylindricalSurface::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x3_rc2::IfcDamperTypeEnum::Value > Ifc4x3_rc2::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[296]); } -void Ifc4x3_rc2::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[296]); } +void Ifc4x3_rc2::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x3_rc2::IfcDamperTypeEnum::Value Ifc4x3_rc2::IfcDamperType::PredefinedType() const { return ::Ifc4x3_rc2::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDamperType::setPredefinedType(const ::Ifc4x3_rc2::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcDamperType::setPredefinedType(const ::Ifc4x3_rc2::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[297]); } -void Ifc4x3_rc2::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[297]); } +void Ifc4x3_rc2::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDeepFoundation -const IfcParse::entity& Ifc4x3_rc2::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[304]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[304]); } void Ifc4x3_rc2::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDeepFoundationType -const IfcParse::entity& Ifc4x3_rc2::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[305]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[305]); } void Ifc4x3_rc2::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDerivedProfileDef @@ -9935,20 +9935,20 @@ std::optional< std::string > Ifc4x3_rc2::IfcDerivedProfileDef::Label() const { i void Ifc4x3_rc2::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[308]); } -void Ifc4x3_rc2::IfcDerivedProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[308]); } +void Ifc4x3_rc2::IfcDerivedProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x3_rc2::IfcDerivedUnitElement > Ifc4x3_rc2::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcDerivedUnitElement>(es); } void Ifc4x3_rc2::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x3_rc2::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc2::IfcDerivedUnitEnum::Value Ifc4x3_rc2::IfcDerivedUnit::UnitType() const { return ::Ifc4x3_rc2::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc2::IfcDerivedUnit::setUnitType(const ::Ifc4x3_rc2::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc2::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc2::IfcDerivedUnit::setUnitType(const ::Ifc4x3_rc2::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc2::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x3_rc2::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[309]); } -void Ifc4x3_rc2::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_rc2::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc2::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[309]); } +void Ifc4x3_rc2::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_rc2::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc2::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x3_rc2::IfcNamedUnit Ifc4x3_rc2::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcNamedUnit>(); } @@ -9957,7 +9957,7 @@ int Ifc4x3_rc2::IfcDerivedUnitElement::Exponent() const { int v = get_attribute void Ifc4x3_rc2::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[310]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[310]); } void Ifc4x3_rc2::IfcDerivedUnitElement::initialize(::Ifc4x3_rc2::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -9977,7 +9977,7 @@ int Ifc4x3_rc2::IfcDimensionalExponents::LuminousIntensityExponent() const { in void Ifc4x3_rc2::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[313]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[313]); } void Ifc4x3_rc2::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -9985,7 +9985,7 @@ std::vector< double > /*[2:3]*/ Ifc4x3_rc2::IfcDirection::DirectionRatios() cons void Ifc4x3_rc2::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[315]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[315]); } void Ifc4x3_rc2::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDirectrixCurveSweptAreaSolid @@ -9997,7 +9997,7 @@ void Ifc4x3_rc2::IfcDirectrixCurveSweptAreaSolid::setStartParam(const ::Ifc4x3_r void Ifc4x3_rc2::IfcDirectrixCurveSweptAreaSolid::setEndParam(const ::Ifc4x3_rc2::IfcCurveMeasureSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcDirectrixCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[317]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDirectrixCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[317]); } void Ifc4x3_rc2::IfcDirectrixCurveSweptAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc2::IfcCurveMeasureSelect v5_EndParam) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam)); } // Function implementations for IfcDirectrixDistanceSweptAreaSolid @@ -10009,123 +10009,123 @@ void Ifc4x3_rc2::IfcDirectrixDistanceSweptAreaSolid::setStartDistance(const ::If void Ifc4x3_rc2::IfcDirectrixDistanceSweptAreaSolid::setEndDistance(const ::Ifc4x3_rc2::IfcPointByDistanceExpression& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcDirectrixDistanceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[318]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDirectrixDistanceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[318]); } void Ifc4x3_rc2::IfcDirectrixDistanceSweptAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcPointByDistanceExpression v4_StartDistance, ::Ifc4x3_rc2::IfcPointByDistanceExpression v5_EndDistance) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartDistance));set_attribute_value(4, (v5_EndDistance)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3_rc2::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[319]); } -void Ifc4x3_rc2::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[319]); } +void Ifc4x3_rc2::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_rc2::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[320]); } -void Ifc4x3_rc2::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[320]); } +void Ifc4x3_rc2::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionBoard std::optional< ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value > Ifc4x3_rc2::IfcDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[322]); } -void Ifc4x3_rc2::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[322]); } +void Ifc4x3_rc2::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionBoardType ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value Ifc4x3_rc2::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[323]); } -void Ifc4x3_rc2::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[323]); } +void Ifc4x3_rc2::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3_rc2::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[325]); } -void Ifc4x3_rc2::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[325]); } +void Ifc4x3_rc2::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_rc2::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[326]); } -void Ifc4x3_rc2::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[326]); } +void Ifc4x3_rc2::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[328]); } -void Ifc4x3_rc2::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[328]); } +void Ifc4x3_rc2::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x3_rc2::IfcRelFlowControlElements> Ifc4x3_rc2::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[955], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelFlowControlElements> Ifc4x3_rc2::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[955], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[329]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[329]); } void Ifc4x3_rc2::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[330]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[330]); } void Ifc4x3_rc2::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x3_rc2::IfcRelConnectsPortToElement> Ifc4x3_rc2::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[939], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsPortToElement> Ifc4x3_rc2::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[939], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[331]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[331]); } void Ifc4x3_rc2::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[332]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[332]); } void Ifc4x3_rc2::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x3_rc2::IfcRelFlowControlElements> Ifc4x3_rc2::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[955], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelFlowControlElements> Ifc4x3_rc2::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[955], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[333]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[333]); } void Ifc4x3_rc2::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[334]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[334]); } void Ifc4x3_rc2::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x3_rc2::IfcFlowDirectionEnum::Value > Ifc4x3_rc2::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_rc2::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc2::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_rc2::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value > Ifc4x3_rc2::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > Ifc4x3_rc2::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc2::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[335]); } -void Ifc4x3_rc2::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc2::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[335]); } +void Ifc4x3_rc2::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc2::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x3_rc2::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > Ifc4x3_rc2::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc2::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc2::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc2::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[337]); } -void Ifc4x3_rc2::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[337]); } +void Ifc4x3_rc2::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x3_rc2::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -10159,17 +10159,17 @@ void Ifc4x3_rc2::IfcDocumentInformation::setValidFrom(const std::optional< std:: std::optional< std::string > Ifc4x3_rc2::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_rc2::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value > Ifc4x3_rc2::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x3_rc2::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x3_rc2::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x3_rc2::IfcDocumentStatusEnum::Value > Ifc4x3_rc2::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x3_rc2::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_rc2::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x3_rc2::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x3_rc2::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_rc2::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x3_rc2::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x3_rc2::IfcRelAssociatesDocument> Ifc4x3_rc2::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[930], 5)); } -std::vector<::Ifc4x3_rc2::IfcDocumentReference> Ifc4x3_rc2::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[342], 4)); } -std::vector<::Ifc4x3_rc2::IfcDocumentInformationRelationship> Ifc4x3_rc2::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[341], 3)); } -std::vector<::Ifc4x3_rc2::IfcDocumentInformationRelationship> Ifc4x3_rc2::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[341], 2)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociatesDocument> Ifc4x3_rc2::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[930], 5)); } +std::vector<::Ifc4x3_rc2::IfcDocumentReference> Ifc4x3_rc2::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[342], 4)); } +std::vector<::Ifc4x3_rc2::IfcDocumentInformationRelationship> Ifc4x3_rc2::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[341], 3)); } +std::vector<::Ifc4x3_rc2::IfcDocumentInformationRelationship> Ifc4x3_rc2::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[341], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[340]); } -void Ifc4x3_rc2::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc2::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc2::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc2::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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_rc2::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x3_rc2::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[340]); } +void Ifc4x3_rc2::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc2::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc2::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc2::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x3_rc2::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x3_rc2::IfcDocumentInformation Ifc4x3_rc2::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcDocumentInformation>(); } @@ -10180,7 +10180,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcDocumentInformationRelationship::Rel void Ifc4x3_rc2::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[341]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[341]); } void Ifc4x3_rc2::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_rc2::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -10189,9 +10189,9 @@ void Ifc4x3_rc2::IfcDocumentReference::setDescription(const std::optional< std:: ::Ifc4x3_rc2::IfcDocumentInformation Ifc4x3_rc2::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc2::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcDocumentInformation>(); } void Ifc4x3_rc2::IfcDocumentReference::setReferencedDocument(const ::Ifc4x3_rc2::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_rc2::IfcRelAssociatesDocument> Ifc4x3_rc2::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[930], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociatesDocument> Ifc4x3_rc2::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[930], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[342]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[342]); } void Ifc4x3_rc2::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -10200,15 +10200,15 @@ void Ifc4x3_rc2::IfcDoor::setOverallHeight(const std::optional< double >& v) { i std::optional< double > Ifc4x3_rc2::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc2::IfcDoorTypeEnum::Value > Ifc4x3_rc2::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value > Ifc4x3_rc2::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc2::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc2::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc2::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[345]); } -void Ifc4x3_rc2::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[345]); } +void Ifc4x3_rc2::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x3_rc2::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -10239,140 +10239,140 @@ std::optional< double > Ifc4x3_rc2::IfcDoorLiningProperties::LiningToPanelOffset void Ifc4x3_rc2::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[346]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[346]); } void Ifc4x3_rc2::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_rc2::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x3_rc2::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value Ifc4x3_rc2::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x3_rc2::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc2::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc2::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value Ifc4x3_rc2::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x3_rc2::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc2::IfcShapeAspect Ifc4x3_rc2::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc2::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc2::IfcShapeAspect>(); } void Ifc4x3_rc2::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x3_rc2::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[349]); } -void Ifc4x3_rc2::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc2::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[349]); } +void Ifc4x3_rc2::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorStandardCase -const IfcParse::entity& Ifc4x3_rc2::IfcDoorStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[350]); } -void Ifc4x3_rc2::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDoorStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[350]); } +void Ifc4x3_rc2::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorStyle ::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value Ifc4x3_rc2::IfcDoorStyle::OperationType() const { return ::Ifc4x3_rc2::IfcDoorStyleOperationEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcDoorStyle::setOperationType(const ::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc2::IfcDoorStyle::setOperationType(const ::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value Ifc4x3_rc2::IfcDoorStyle::ConstructionType() const { return ::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDoorStyle::setConstructionType(const ::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcDoorStyle::setConstructionType(const ::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x3_rc2::IfcDoorStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcDoorStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x3_rc2::IfcDoorStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x3_rc2::IfcDoorStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcDoorStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[351]); } -void Ifc4x3_rc2::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDoorStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[351]); } +void Ifc4x3_rc2::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcDoorType ::Ifc4x3_rc2::IfcDoorTypeEnum::Value Ifc4x3_rc2::IfcDoorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDoorType::setPredefinedType(const ::Ifc4x3_rc2::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcDoorType::setPredefinedType(const ::Ifc4x3_rc2::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value Ifc4x3_rc2::IfcDoorType::OperationType() const { return ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcDoorType::setOperationType(const ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc2::IfcDoorType::setOperationType(const ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_rc2::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_rc2::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc2::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc2::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[354]); } -void Ifc4x3_rc2::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[354]); } +void Ifc4x3_rc2::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x3_rc2::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[358]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[358]); } void Ifc4x3_rc2::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_rc2::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[359]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[359]); } void Ifc4x3_rc2::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value > Ifc4x3_rc2::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[360]); } -void Ifc4x3_rc2::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[360]); } +void Ifc4x3_rc2::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value Ifc4x3_rc2::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[361]); } -void Ifc4x3_rc2::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[361]); } +void Ifc4x3_rc2::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value > Ifc4x3_rc2::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[363]); } -void Ifc4x3_rc2::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[363]); } +void Ifc4x3_rc2::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value Ifc4x3_rc2::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[364]); } -void Ifc4x3_rc2::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[364]); } +void Ifc4x3_rc2::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value > Ifc4x3_rc2::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[366]); } -void Ifc4x3_rc2::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[366]); } +void Ifc4x3_rc2::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value Ifc4x3_rc2::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[367]); } -void Ifc4x3_rc2::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[367]); } +void Ifc4x3_rc2::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEarthworksCut std::optional< ::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value > Ifc4x3_rc2::IfcEarthworksCut::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcEarthworksCut::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[371]); } -void Ifc4x3_rc2::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEarthworksCut::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[371]); } +void Ifc4x3_rc2::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEarthworksElement -const IfcParse::entity& Ifc4x3_rc2::IfcEarthworksElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[373]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEarthworksElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[373]); } void Ifc4x3_rc2::IfcEarthworksElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEarthworksFill std::optional< ::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value > Ifc4x3_rc2::IfcEarthworksFill::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcEarthworksFill::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[374]); } -void Ifc4x3_rc2::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEarthworksFill::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[374]); } +void Ifc4x3_rc2::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEdge ::Ifc4x3_rc2::IfcVertex Ifc4x3_rc2::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcVertex>(); } @@ -10381,7 +10381,7 @@ void Ifc4x3_rc2::IfcEdge::setEdgeStart(const ::Ifc4x3_rc2::IfcVertex& v) { set_a void Ifc4x3_rc2::IfcEdge::setEdgeEnd(const ::Ifc4x3_rc2::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[376]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[376]); } void Ifc4x3_rc2::IfcEdge::initialize(::Ifc4x3_rc2::IfcVertex v1_EdgeStart, ::Ifc4x3_rc2::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -10391,7 +10391,7 @@ bool Ifc4x3_rc2::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value void Ifc4x3_rc2::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[377]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[377]); } void Ifc4x3_rc2::IfcEdgeCurve::initialize(::Ifc4x3_rc2::IfcVertex v1_EdgeStart, ::Ifc4x3_rc2::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc2::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -10399,168 +10399,168 @@ std::vector< ::Ifc4x3_rc2::IfcOrientedEdge > Ifc4x3_rc2::IfcEdgeLoop::EdgeList() void Ifc4x3_rc2::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x3_rc2::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[378]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[378]); } void Ifc4x3_rc2::IfcEdgeLoop::initialize(std::vector< ::Ifc4x3_rc2::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value > Ifc4x3_rc2::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[379]); } -void Ifc4x3_rc2::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[379]); } +void Ifc4x3_rc2::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value Ifc4x3_rc2::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[380]); } -void Ifc4x3_rc2::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[380]); } +void Ifc4x3_rc2::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3_rc2::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[386]); } -void Ifc4x3_rc2::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[386]); } +void Ifc4x3_rc2::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_rc2::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[387]); } -void Ifc4x3_rc2::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[387]); } +void Ifc4x3_rc2::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3_rc2::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[389]); } -void Ifc4x3_rc2::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[389]); } +void Ifc4x3_rc2::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_rc2::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[390]); } -void Ifc4x3_rc2::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[390]); } +void Ifc4x3_rc2::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowTreatmentDevice std::optional< ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3_rc2::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[392]); } -void Ifc4x3_rc2::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[392]); } +void Ifc4x3_rc2::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowTreatmentDeviceType ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[393]); } -void Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[393]); } +void Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value > Ifc4x3_rc2::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[395]); } -void Ifc4x3_rc2::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[395]); } +void Ifc4x3_rc2::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value Ifc4x3_rc2::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[396]); } -void Ifc4x3_rc2::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[396]); } +void Ifc4x3_rc2::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value > Ifc4x3_rc2::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[398]); } -void Ifc4x3_rc2::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[398]); } +void Ifc4x3_rc2::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value Ifc4x3_rc2::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[399]); } -void Ifc4x3_rc2::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[399]); } +void Ifc4x3_rc2::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value > Ifc4x3_rc2::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[402]); } -void Ifc4x3_rc2::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[402]); } +void Ifc4x3_rc2::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value Ifc4x3_rc2::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[403]); } -void Ifc4x3_rc2::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[403]); } +void Ifc4x3_rc2::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x3_rc2::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc2::IfcRelFillsElement> Ifc4x3_rc2::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[954], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelConnectsElements> Ifc4x3_rc2::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[936], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelInterferesElements> Ifc4x3_rc2::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[956], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelInterferesElements> Ifc4x3_rc2::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[956], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelProjectsElement> Ifc4x3_rc2::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[959], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelVoidsElement> Ifc4x3_rc2::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[966], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelConnectsWithRealizingElements> Ifc4x3_rc2::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[943], 7)); } -std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary> Ifc4x3_rc2::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[963], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelConnectsElements> Ifc4x3_rc2::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[936], 6)); } -std::vector<::Ifc4x3_rc2::IfcRelContainedInSpatialStructure> Ifc4x3_rc2::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[944], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelCoversBldgElements> Ifc4x3_rc2::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[945], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelFillsElement> Ifc4x3_rc2::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[954], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsElements> Ifc4x3_rc2::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[936], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelInterferesElements> Ifc4x3_rc2::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[956], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelInterferesElements> Ifc4x3_rc2::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[956], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelProjectsElement> Ifc4x3_rc2::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[959], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelVoidsElement> Ifc4x3_rc2::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[966], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsWithRealizingElements> Ifc4x3_rc2::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[943], 7)); } +std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary> Ifc4x3_rc2::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[963], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsElements> Ifc4x3_rc2::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[936], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelContainedInSpatialStructure> Ifc4x3_rc2::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[944], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelCoversBldgElements> Ifc4x3_rc2::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[945], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[406]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[406]); } void Ifc4x3_rc2::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value > Ifc4x3_rc2::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value > Ifc4x3_rc2::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc2::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[408]); } -void Ifc4x3_rc2::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[408]); } +void Ifc4x3_rc2::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value Ifc4x3_rc2::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[409]); } -void Ifc4x3_rc2::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[409]); } +void Ifc4x3_rc2::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x3_rc2::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[411]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[411]); } void Ifc4x3_rc2::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x3_rc2::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[412]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[412]); } void Ifc4x3_rc2::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -10570,7 +10570,7 @@ std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > Ifc4x3_rc2::IfcElementQuantity: void Ifc4x3_rc2::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[414]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[414]); } void Ifc4x3_rc2::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -10578,7 +10578,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcElementType::ElementType() const { i void Ifc4x3_rc2::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[415]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[415]); } void Ifc4x3_rc2::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -10586,7 +10586,7 @@ void Ifc4x3_rc2::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc void Ifc4x3_rc2::IfcElementarySurface::setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[407]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[407]); } void Ifc4x3_rc2::IfcElementarySurface::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -10596,7 +10596,7 @@ double Ifc4x3_rc2::IfcEllipse::SemiAxis2() const { double v = get_attribute_val void Ifc4x3_rc2::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[416]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[416]); } void Ifc4x3_rc2::IfcEllipse::initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -10606,82 +10606,82 @@ double Ifc4x3_rc2::IfcEllipseProfileDef::SemiAxis2() const { double v = get_att void Ifc4x3_rc2::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[417]); } -void Ifc4x3_rc2::IfcEllipseProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[417]); } +void Ifc4x3_rc2::IfcEllipseProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x3_rc2::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[418]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[418]); } void Ifc4x3_rc2::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x3_rc2::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[419]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[419]); } void Ifc4x3_rc2::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x3_rc2::IfcEngineTypeEnum::Value > Ifc4x3_rc2::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[421]); } -void Ifc4x3_rc2::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[421]); } +void Ifc4x3_rc2::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x3_rc2::IfcEngineTypeEnum::Value Ifc4x3_rc2::IfcEngineType::PredefinedType() const { return ::Ifc4x3_rc2::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcEngineType::setPredefinedType(const ::Ifc4x3_rc2::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcEngineType::setPredefinedType(const ::Ifc4x3_rc2::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[422]); } -void Ifc4x3_rc2::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[422]); } +void Ifc4x3_rc2::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3_rc2::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[424]); } -void Ifc4x3_rc2::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[424]); } +void Ifc4x3_rc2::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_rc2::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[425]); } -void Ifc4x3_rc2::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[425]); } +void Ifc4x3_rc2::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value > Ifc4x3_rc2::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[427]); } -void Ifc4x3_rc2::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[427]); } +void Ifc4x3_rc2::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value Ifc4x3_rc2::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[428]); } -void Ifc4x3_rc2::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[428]); } +void Ifc4x3_rc2::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x3_rc2::IfcEventTypeEnum::Value > Ifc4x3_rc2::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc2::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value > Ifc4x3_rc2::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_rc2::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x3_rc2::IfcEventTime Ifc4x3_rc2::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_rc2::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_rc2::IfcEventTime>(); } void Ifc4x3_rc2::IfcEvent::setEventOccurenceTime(const ::Ifc4x3_rc2::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc2::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[430]); } -void Ifc4x3_rc2::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc2::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc2::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[430]); } +void Ifc4x3_rc2::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc2::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc2::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x3_rc2::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -10694,20 +10694,20 @@ std::optional< std::string > Ifc4x3_rc2::IfcEventTime::ScheduleDate() const { if void Ifc4x3_rc2::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[431]); } -void Ifc4x3_rc2::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[431]); } +void Ifc4x3_rc2::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcEventType ::Ifc4x3_rc2::IfcEventTypeEnum::Value Ifc4x3_rc2::IfcEventType::PredefinedType() const { return ::Ifc4x3_rc2::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcEventType::setPredefinedType(const ::Ifc4x3_rc2::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcEventType::setPredefinedType(const ::Ifc4x3_rc2::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value Ifc4x3_rc2::IfcEventType::EventTriggerType() const { return ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcEventType::setEventTriggerType(const ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc2::IfcEventType::setEventTriggerType(const ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x3_rc2::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x3_rc2::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc2::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[433]); } -void Ifc4x3_rc2::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc2::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[433]); } +void Ifc4x3_rc2::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc2::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x3_rc2::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10718,13 +10718,13 @@ std::vector< ::Ifc4x3_rc2::IfcProperty > Ifc4x3_rc2::IfcExtendedProperties::Prop void Ifc4x3_rc2::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x3_rc2::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[435]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[435]); } void Ifc4x3_rc2::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x3_rc2::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[436]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[436]); } void Ifc4x3_rc2::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -10735,9 +10735,9 @@ void Ifc4x3_rc2::IfcExternalReference::setIdentification(const std::optional< st std::optional< std::string > Ifc4x3_rc2::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 2)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[440]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[440]); } void Ifc4x3_rc2::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -10747,40 +10747,40 @@ std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > Ifc4x3_rc2::IfcExternalRefe void Ifc4x3_rc2::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[441]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[441]); } void Ifc4x3_rc2::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3_rc2::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary> Ifc4x3_rc2::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[963], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary> Ifc4x3_rc2::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[963], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[442]); } -void Ifc4x3_rc2::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[442]); } +void Ifc4x3_rc2::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x3_rc2::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[444]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[444]); } void Ifc4x3_rc2::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x3_rc2::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[437]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[437]); } void Ifc4x3_rc2::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x3_rc2::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[438]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[438]); } void Ifc4x3_rc2::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x3_rc2::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[439]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[439]); } void Ifc4x3_rc2::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -10790,7 +10790,7 @@ double Ifc4x3_rc2::IfcExtrudedAreaSolid::Depth() const { double v = get_attribu void Ifc4x3_rc2::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[445]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[445]); } void Ifc4x3_rc2::IfcExtrudedAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -10798,16 +10798,16 @@ void Ifc4x3_rc2::IfcExtrudedAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1 void Ifc4x3_rc2::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_rc2::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[446]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[446]); } void Ifc4x3_rc2::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_rc2::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x3_rc2::IfcFaceBound > Ifc4x3_rc2::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcFaceBound>(es); } void Ifc4x3_rc2::IfcFace::setBounds(const std::vector< ::Ifc4x3_rc2::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc2::IfcTextureMap> Ifc4x3_rc2::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1209], 2)); } +std::vector<::Ifc4x3_rc2::IfcTextureMap> Ifc4x3_rc2::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1209], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcFace::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[447]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[447]); } void Ifc4x3_rc2::IfcFace::initialize(std::vector< ::Ifc4x3_rc2::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -10815,7 +10815,7 @@ std::vector< ::Ifc4x3_rc2::IfcConnectedFaceSet > Ifc4x3_rc2::IfcFaceBasedSurface void Ifc4x3_rc2::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x3_rc2::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[448]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[448]); } void Ifc4x3_rc2::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_rc2::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -10825,13 +10825,13 @@ bool Ifc4x3_rc2::IfcFaceBound::Orientation() const { bool v = get_attribute_val void Ifc4x3_rc2::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[449]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[449]); } void Ifc4x3_rc2::IfcFaceBound::initialize(::Ifc4x3_rc2::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x3_rc2::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[450]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[450]); } void Ifc4x3_rc2::IfcFaceOuterBound::initialize(::Ifc4x3_rc2::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -10841,13 +10841,13 @@ bool Ifc4x3_rc2::IfcFaceSurface::SameSense() const { bool v = get_attribute_val void Ifc4x3_rc2::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[451]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[451]); } void Ifc4x3_rc2::IfcFaceSurface::initialize(std::vector< ::Ifc4x3_rc2::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc2::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x3_rc2::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[452]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[452]); } void Ifc4x3_rc2::IfcFacetedBrep::initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -10855,24 +10855,24 @@ std::vector< ::Ifc4x3_rc2::IfcClosedShell > Ifc4x3_rc2::IfcFacetedBrepWithVoids: void Ifc4x3_rc2::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_rc2::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[453]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[453]); } void Ifc4x3_rc2::IfcFacetedBrepWithVoids::initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc2::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFacility -const IfcParse::entity& Ifc4x3_rc2::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[454]); } -void Ifc4x3_rc2::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[454]); } +void Ifc4x3_rc2::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFacilityPart ::Ifc4x3_rc2::IfcFacilityPartTypeSelect Ifc4x3_rc2::IfcFacilityPart::PredefinedType() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc2::IfcFacilityPartTypeSelect>(); } void Ifc4x3_rc2::IfcFacilityPart::setPredefinedType(const ::Ifc4x3_rc2::IfcFacilityPartTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value Ifc4x3_rc2::IfcFacilityPart::UsageType() const { return ::Ifc4x3_rc2::IfcFacilityUsageEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcFacilityPart::setUsageType(const ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc2::IfcFacilityPart::setUsageType(const ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc2::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[455]); } -void Ifc4x3_rc2::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc2::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[455]); } +void Ifc4x3_rc2::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc2::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } // Function implementations for IfcFailureConnectionCondition std::optional< double > Ifc4x3_rc2::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10889,59 +10889,59 @@ std::optional< double > Ifc4x3_rc2::IfcFailureConnectionCondition::CompressionFa void Ifc4x3_rc2::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[459]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[459]); } void Ifc4x3_rc2::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x3_rc2::IfcFanTypeEnum::Value > Ifc4x3_rc2::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFan::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[460]); } -void Ifc4x3_rc2::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[460]); } +void Ifc4x3_rc2::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x3_rc2::IfcFanTypeEnum::Value Ifc4x3_rc2::IfcFanType::PredefinedType() const { return ::Ifc4x3_rc2::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcFanType::setPredefinedType(const ::Ifc4x3_rc2::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcFanType::setPredefinedType(const ::Ifc4x3_rc2::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[461]); } -void Ifc4x3_rc2::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[461]); } +void Ifc4x3_rc2::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value > Ifc4x3_rc2::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[463]); } -void Ifc4x3_rc2::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[463]); } +void Ifc4x3_rc2::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value Ifc4x3_rc2::IfcFastenerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcFastenerType::setPredefinedType(const ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcFastenerType::setPredefinedType(const ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[464]); } -void Ifc4x3_rc2::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[464]); } +void Ifc4x3_rc2::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x3_rc2::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[466]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[466]); } void Ifc4x3_rc2::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x3_rc2::IfcRelProjectsElement> Ifc4x3_rc2::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[959], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelProjectsElement> Ifc4x3_rc2::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[959], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[467]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[467]); } void Ifc4x3_rc2::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x3_rc2::IfcRelVoidsElement> Ifc4x3_rc2::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[966], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelVoidsElement> Ifc4x3_rc2::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[966], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[468]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[468]); } void Ifc4x3_rc2::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -10951,7 +10951,7 @@ std::optional< bool > Ifc4x3_rc2::IfcFillAreaStyle::ModelOrDraughting() const { void Ifc4x3_rc2::IfcFillAreaStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[469]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[469]); } void Ifc4x3_rc2::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc2::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -10967,7 +10967,7 @@ double Ifc4x3_rc2::IfcFillAreaStyleHatching::HatchLineAngle() const { double v void Ifc4x3_rc2::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[470]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[470]); } void Ifc4x3_rc2::IfcFillAreaStyleHatching::initialize(::Ifc4x3_rc2::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_rc2::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_rc2::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_rc2::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -10979,231 +10979,231 @@ double Ifc4x3_rc2::IfcFillAreaStyleTiles::TilingScale() const { double v = get_ void Ifc4x3_rc2::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[471]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[471]); } void Ifc4x3_rc2::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x3_rc2::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_rc2::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x3_rc2::IfcFilterTypeEnum::Value > Ifc4x3_rc2::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[473]); } -void Ifc4x3_rc2::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[473]); } +void Ifc4x3_rc2::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x3_rc2::IfcFilterTypeEnum::Value Ifc4x3_rc2::IfcFilterType::PredefinedType() const { return ::Ifc4x3_rc2::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcFilterType::setPredefinedType(const ::Ifc4x3_rc2::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcFilterType::setPredefinedType(const ::Ifc4x3_rc2::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[474]); } -void Ifc4x3_rc2::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[474]); } +void Ifc4x3_rc2::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3_rc2::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[476]); } -void Ifc4x3_rc2::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[476]); } +void Ifc4x3_rc2::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_rc2::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[477]); } -void Ifc4x3_rc2::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[477]); } +void Ifc4x3_rc2::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x3_rc2::IfcDirection Ifc4x3_rc2::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc2::IfcDirection>(); } void Ifc4x3_rc2::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[479]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[479]); } void Ifc4x3_rc2::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc2::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc2::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x3_rc2::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[480]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[480]); } void Ifc4x3_rc2::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x3_rc2::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[481]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[481]); } void Ifc4x3_rc2::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x3_rc2::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[483]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[483]); } void Ifc4x3_rc2::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x3_rc2::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[484]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[484]); } void Ifc4x3_rc2::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value > Ifc4x3_rc2::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[485]); } -void Ifc4x3_rc2::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[485]); } +void Ifc4x3_rc2::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value Ifc4x3_rc2::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[486]); } -void Ifc4x3_rc2::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[486]); } +void Ifc4x3_rc2::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value > Ifc4x3_rc2::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[488]); } -void Ifc4x3_rc2::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[488]); } +void Ifc4x3_rc2::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value Ifc4x3_rc2::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[489]); } -void Ifc4x3_rc2::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[489]); } +void Ifc4x3_rc2::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x3_rc2::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[491]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[491]); } void Ifc4x3_rc2::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x3_rc2::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[492]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[492]); } void Ifc4x3_rc2::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x3_rc2::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[493]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[493]); } void Ifc4x3_rc2::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x3_rc2::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[494]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[494]); } void Ifc4x3_rc2::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x3_rc2::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[495]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[495]); } void Ifc4x3_rc2::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x3_rc2::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[496]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[496]); } void Ifc4x3_rc2::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x3_rc2::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[497]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[497]); } void Ifc4x3_rc2::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x3_rc2::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[498]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[498]); } void Ifc4x3_rc2::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x3_rc2::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[499]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[499]); } void Ifc4x3_rc2::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x3_rc2::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[500]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[500]); } void Ifc4x3_rc2::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x3_rc2::IfcFootingTypeEnum::Value > Ifc4x3_rc2::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[504]); } -void Ifc4x3_rc2::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[504]); } +void Ifc4x3_rc2::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x3_rc2::IfcFootingTypeEnum::Value Ifc4x3_rc2::IfcFootingType::PredefinedType() const { return ::Ifc4x3_rc2::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcFootingType::setPredefinedType(const ::Ifc4x3_rc2::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcFootingType::setPredefinedType(const ::Ifc4x3_rc2::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[505]); } -void Ifc4x3_rc2::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[505]); } +void Ifc4x3_rc2::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x3_rc2::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[509]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[509]); } void Ifc4x3_rc2::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x3_rc2::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[510]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[510]); } void Ifc4x3_rc2::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > Ifc4x3_rc2::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[511]); } -void Ifc4x3_rc2::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[511]); } +void Ifc4x3_rc2::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value Ifc4x3_rc2::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > Ifc4x3_rc2::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[512]); } -void Ifc4x3_rc2::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[512]); } +void Ifc4x3_rc2::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value > Ifc4x3_rc2::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[514]); } -void Ifc4x3_rc2::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[514]); } +void Ifc4x3_rc2::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value Ifc4x3_rc2::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[515]); } -void Ifc4x3_rc2::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[515]); } +void Ifc4x3_rc2::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x3_rc2::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[517]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[517]); } void Ifc4x3_rc2::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_rc2::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -11216,16 +11216,16 @@ void Ifc4x3_rc2::IfcGeometricRepresentationContext::setWorldCoordinateSystem(con ::Ifc4x3_rc2::IfcDirection Ifc4x3_rc2::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc2::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc2::IfcDirection>(); } void Ifc4x3_rc2::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc2::IfcGeometricRepresentationSubContext> Ifc4x3_rc2::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[521], 6)); } -std::vector<::Ifc4x3_rc2::IfcCoordinateOperation> Ifc4x3_rc2::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[253], 0)); } +std::vector<::Ifc4x3_rc2::IfcGeometricRepresentationSubContext> Ifc4x3_rc2::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[521], 6)); } +std::vector<::Ifc4x3_rc2::IfcCoordinateOperation> Ifc4x3_rc2::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[253], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[519]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[519]); } void Ifc4x3_rc2::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_rc2::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_rc2::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x3_rc2::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[520]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[520]); } void Ifc4x3_rc2::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -11234,50 +11234,50 @@ void Ifc4x3_rc2::IfcGeometricRepresentationSubContext::setParentContext(const :: std::optional< double > Ifc4x3_rc2::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc2::IfcGeometricProjectionEnum::Value Ifc4x3_rc2::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x3_rc2::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_rc2::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc2::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_rc2::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x3_rc2::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[521]); } -void Ifc4x3_rc2::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc2::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc2::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[521]); } +void Ifc4x3_rc2::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc2::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc2::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x3_rc2::IfcGeometricSetSelect > Ifc4x3_rc2::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcGeometricSetSelect>(es); } void Ifc4x3_rc2::IfcGeometricSet::setElements(const std::vector< ::Ifc4x3_rc2::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[522]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[522]); } void Ifc4x3_rc2::IfcGeometricSet::initialize(std::vector< ::Ifc4x3_rc2::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeomodel -const IfcParse::entity& Ifc4x3_rc2::IfcGeomodel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[524]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeomodel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[524]); } void Ifc4x3_rc2::IfcGeomodel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeoslice -const IfcParse::entity& Ifc4x3_rc2::IfcGeoslice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[525]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeoslice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[525]); } void Ifc4x3_rc2::IfcGeoslice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalAssembly -const IfcParse::entity& Ifc4x3_rc2::IfcGeotechnicalAssembly::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[526]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeotechnicalAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[526]); } void Ifc4x3_rc2::IfcGeotechnicalAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalElement -const IfcParse::entity& Ifc4x3_rc2::IfcGeotechnicalElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[527]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeotechnicalElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[527]); } void Ifc4x3_rc2::IfcGeotechnicalElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalStratum -const IfcParse::entity& Ifc4x3_rc2::IfcGeotechnicalStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[528]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGeotechnicalStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[528]); } void Ifc4x3_rc2::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGradientCurve @@ -11289,7 +11289,7 @@ void Ifc4x3_rc2::IfcGradientCurve::setSegments(const std::vector< ::Ifc4x3_rc2:: void Ifc4x3_rc2::IfcGradientCurve::setEndPoint(const ::Ifc4x3_rc2::IfcCartesianPoint& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcGradientCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[531]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGradientCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[531]); } void Ifc4x3_rc2::IfcGradientCurve::initialize(::Ifc4x3_rc2::IfcBoundedCurve v1_BaseCurve, std::vector< ::Ifc4x3_rc2::IfcCurveSegment > v2_Segments, ::Ifc4x3_rc2::IfcCartesianPoint v3_EndPoint) { set_attribute_value(0, (v1_BaseCurve));set_attribute_value(1, cast_vector(v2_Segments));set_attribute_value(2, (v3_EndPoint)); } // Function implementations for IfcGrid @@ -11300,11 +11300,11 @@ void Ifc4x3_rc2::IfcGrid::setVAxes(const std::vector< ::Ifc4x3_rc2::IfcGridAxis std::optional< std::vector< ::Ifc4x3_rc2::IfcGridAxis > > Ifc4x3_rc2::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_rc2::IfcGridAxis>(es); } void Ifc4x3_rc2::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x3_rc2::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc2::IfcGridTypeEnum::Value > Ifc4x3_rc2::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[532]); } -void Ifc4x3_rc2::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc2::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc2::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc2::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc2::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[532]); } +void Ifc4x3_rc2::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc2::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc2::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc2::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc2::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x3_rc2::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11314,12 +11314,12 @@ void Ifc4x3_rc2::IfcGridAxis::setAxisCurve(const ::Ifc4x3_rc2::IfcCurve& v) { se bool Ifc4x3_rc2::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc2::IfcGrid> Ifc4x3_rc2::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[532], 9)); } -std::vector<::Ifc4x3_rc2::IfcGrid> Ifc4x3_rc2::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[532], 8)); } -std::vector<::Ifc4x3_rc2::IfcGrid> Ifc4x3_rc2::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[532], 7)); } -std::vector<::Ifc4x3_rc2::IfcVirtualGridIntersection> Ifc4x3_rc2::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1287], 0)); } +std::vector<::Ifc4x3_rc2::IfcGrid> Ifc4x3_rc2::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[532], 9)); } +std::vector<::Ifc4x3_rc2::IfcGrid> Ifc4x3_rc2::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[532], 8)); } +std::vector<::Ifc4x3_rc2::IfcGrid> Ifc4x3_rc2::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[532], 7)); } +std::vector<::Ifc4x3_rc2::IfcVirtualGridIntersection> Ifc4x3_rc2::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1287], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[533]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[533]); } void Ifc4x3_rc2::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_rc2::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -11329,14 +11329,14 @@ void Ifc4x3_rc2::IfcGridPlacement::setPlacementLocation(const ::Ifc4x3_rc2::IfcV void Ifc4x3_rc2::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x3_rc2::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[534]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[534]); } void Ifc4x3_rc2::IfcGridPlacement::initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_rc2::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x3_rc2::IfcRelAssignsToGroup> Ifc4x3_rc2::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[921], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelAssignsToGroup> Ifc4x3_rc2::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[921], 6)); } -const IfcParse::entity& Ifc4x3_rc2::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[537]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[537]); } void Ifc4x3_rc2::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -11346,40 +11346,40 @@ bool Ifc4x3_rc2::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attrib void Ifc4x3_rc2::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[538]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[538]); } void Ifc4x3_rc2::IfcHalfSpaceSolid::initialize(::Ifc4x3_rc2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value > Ifc4x3_rc2::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[540]); } -void Ifc4x3_rc2::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[540]); } +void Ifc4x3_rc2::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value Ifc4x3_rc2::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[541]); } -void Ifc4x3_rc2::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[541]); } +void Ifc4x3_rc2::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value > Ifc4x3_rc2::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[545]); } -void Ifc4x3_rc2::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[545]); } +void Ifc4x3_rc2::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value Ifc4x3_rc2::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3_rc2::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[546]); } -void Ifc4x3_rc2::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[546]); } +void Ifc4x3_rc2::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x3_rc2::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -11398,15 +11398,15 @@ std::optional< double > Ifc4x3_rc2::IfcIShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc2::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[576]); } -void Ifc4x3_rc2::IfcIShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[576]); } +void Ifc4x3_rc2::IfcIShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x3_rc2::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[550]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[550]); } void Ifc4x3_rc2::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcImpactProtectionDevice @@ -11414,7 +11414,7 @@ void Ifc4x3_rc2::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, s void Ifc4x3_rc2::IfcImpactProtectionDevice::setPredefinedType(const ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcImpactProtectionDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[551]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcImpactProtectionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[551]); } void Ifc4x3_rc2::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_PredefinedType)); } // Function implementations for IfcImpactProtectionDeviceType @@ -11422,7 +11422,7 @@ void Ifc4x3_rc2::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, void Ifc4x3_rc2::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcImpactProtectionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[552]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcImpactProtectionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[552]); } void Ifc4x3_rc2::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_PredefinedType)); } // Function implementations for IfcInclinedReferenceSweptAreaSolid @@ -11432,7 +11432,7 @@ void Ifc4x3_rc2::IfcInclinedReferenceSweptAreaSolid::setFixedAxisVertical(const void Ifc4x3_rc2::IfcInclinedReferenceSweptAreaSolid::setInclinating(const ::Ifc4x3_rc2::IfcAxisLateralInclination& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcInclinedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[555]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcInclinedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[555]); } void Ifc4x3_rc2::IfcInclinedReferenceSweptAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcPointByDistanceExpression v4_StartDistance, ::Ifc4x3_rc2::IfcPointByDistanceExpression v5_EndDistance, std::optional< bool > v6_FixedAxisVertical, ::Ifc4x3_rc2::IfcAxisLateralInclination v7_Inclinating) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartDistance));set_attribute_value(4, (v5_EndDistance)); if (v6_FixedAxisVertical) {set_attribute_value(5, (*v6_FixedAxisVertical)); }set_attribute_value(6, (v7_Inclinating)); } // Function implementations for IfcIndexedColourMap @@ -11446,7 +11446,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_rc2::IfcIndexedColourMap::ColourIndex() cons void Ifc4x3_rc2::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[556]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[556]); } void Ifc4x3_rc2::IfcIndexedColourMap::initialize(::Ifc4x3_rc2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc2::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -11458,16 +11458,16 @@ std::optional< bool > Ifc4x3_rc2::IfcIndexedPolyCurve::SelfIntersect() const { i void Ifc4x3_rc2::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[557]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[557]); } void Ifc4x3_rc2::IfcIndexedPolyCurve::initialize(::Ifc4x3_rc2::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_rc2::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x3_rc2::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x3_rc2::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc2::IfcPolygonalFaceSet> Ifc4x3_rc2::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[790], 2)); } +std::vector<::Ifc4x3_rc2::IfcPolygonalFaceSet> Ifc4x3_rc2::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[790], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[558]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[558]); } void Ifc4x3_rc2::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -11475,7 +11475,7 @@ std::vector< std::vector< int > > Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids:: void Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[559]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[559]); } void Ifc4x3_rc2::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -11485,7 +11485,7 @@ void Ifc4x3_rc2::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x3_rc2::IfcTessel void Ifc4x3_rc2::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x3_rc2::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[560]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[560]); } void Ifc4x3_rc2::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc2::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -11493,34 +11493,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x3_rc2::IfcIndexedTriangl void Ifc4x3_rc2::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[561]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[561]); } void Ifc4x3_rc2::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc2::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value > Ifc4x3_rc2::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[565]); } -void Ifc4x3_rc2::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[565]); } +void Ifc4x3_rc2::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value Ifc4x3_rc2::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[566]); } -void Ifc4x3_rc2::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[566]); } +void Ifc4x3_rc2::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x3_rc2::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[570]); } -void Ifc4x3_rc2::IfcIntersectionCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[570]); } +void Ifc4x3_rc2::IfcIntersectionCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x3_rc2::IfcInventoryTypeEnum::Value > Ifc4x3_rc2::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc2::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x3_rc2::IfcActorSelect Ifc4x3_rc2::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc2::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcActorSelect>(); } void Ifc4x3_rc2::IfcInventory::setJurisdiction(const ::Ifc4x3_rc2::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > Ifc4x3_rc2::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc2::IfcPerson>(es); } @@ -11533,16 +11533,16 @@ void Ifc4x3_rc2::IfcInventory::setCurrentValue(const ::Ifc4x3_rc2::IfcCostValue& void Ifc4x3_rc2::IfcInventory::setOriginalValue(const ::Ifc4x3_rc2::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc2::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[571]); } -void Ifc4x3_rc2::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc2::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc2::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc2::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[571]); } +void Ifc4x3_rc2::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc2::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc2::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc2::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x3_rc2::IfcIrregularTimeSeriesValue > Ifc4x3_rc2::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_rc2::IfcIrregularTimeSeriesValue>(es); } void Ifc4x3_rc2::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x3_rc2::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[574]); } -void Ifc4x3_rc2::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc2::IfcIrregularTimeSeriesValue > v9_Values) { 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_rc2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[574]); } +void Ifc4x3_rc2::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc2::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x3_rc2::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -11551,31 +11551,31 @@ std::vector< ::Ifc4x3_rc2::IfcValue > Ifc4x3_rc2::IfcIrregularTimeSeriesValue::L void Ifc4x3_rc2::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_rc2::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[575]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[575]); } void Ifc4x3_rc2::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_rc2::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value > Ifc4x3_rc2::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[578]); } -void Ifc4x3_rc2::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[578]); } +void Ifc4x3_rc2::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value Ifc4x3_rc2::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[579]); } -void Ifc4x3_rc2::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[579]); } +void Ifc4x3_rc2::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcKerb bool Ifc4x3_rc2::IfcKerb::Mountable() const { bool v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcKerb::setMountable(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcKerb::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[581]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcKerb::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[581]); } void Ifc4x3_rc2::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_Mountable)); } // Function implementations for IfcKerbType @@ -11583,7 +11583,7 @@ bool Ifc4x3_rc2::IfcKerbType::Mountable() const { bool v = get_attribute_value( void Ifc4x3_rc2::IfcKerbType::setMountable(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcKerbType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[582]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcKerbType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[582]); } void Ifc4x3_rc2::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_Mountable)); } // Function implementations for IfcLShapeProfileDef @@ -11601,50 +11601,50 @@ std::optional< double > Ifc4x3_rc2::IfcLShapeProfileDef::LegSlope() const { if(g void Ifc4x3_rc2::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[636]); } -void Ifc4x3_rc2::IfcLShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[636]); } +void Ifc4x3_rc2::IfcLShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value > Ifc4x3_rc2::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[586]); } -void Ifc4x3_rc2::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[586]); } +void Ifc4x3_rc2::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value Ifc4x3_rc2::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc2::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[587]); } -void Ifc4x3_rc2::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[587]); } +void Ifc4x3_rc2::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x3_rc2::IfcTimeOrRatioSelect Ifc4x3_rc2::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc2::IfcTimeOrRatioSelect>(); } void Ifc4x3_rc2::IfcLagTime::setLagValue(const ::Ifc4x3_rc2::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc2::IfcTaskDurationEnum::Value Ifc4x3_rc2::IfcLagTime::DurationType() const { return ::Ifc4x3_rc2::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc2::IfcLagTime::setDurationType(const ::Ifc4x3_rc2::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc2::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc2::IfcLagTime::setDurationType(const ::Ifc4x3_rc2::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc2::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[589]); } -void Ifc4x3_rc2::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc2::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc2::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[589]); } +void Ifc4x3_rc2::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc2::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc2::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x3_rc2::IfcLampTypeEnum::Value > Ifc4x3_rc2::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[590]); } -void Ifc4x3_rc2::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[590]); } +void Ifc4x3_rc2::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x3_rc2::IfcLampTypeEnum::Value Ifc4x3_rc2::IfcLampType::PredefinedType() const { return ::Ifc4x3_rc2::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcLampType::setPredefinedType(const ::Ifc4x3_rc2::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcLampType::setPredefinedType(const ::Ifc4x3_rc2::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[591]); } -void Ifc4x3_rc2::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[591]); } +void Ifc4x3_rc2::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x3_rc2::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11660,10 +11660,10 @@ void Ifc4x3_rc2::IfcLibraryInformation::setLocation(const std::optional< std::st std::optional< std::string > Ifc4x3_rc2::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc2::IfcRelAssociatesLibrary> Ifc4x3_rc2::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[931], 5)); } -std::vector<::Ifc4x3_rc2::IfcLibraryReference> Ifc4x3_rc2::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[598], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociatesLibrary> Ifc4x3_rc2::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[931], 5)); } +std::vector<::Ifc4x3_rc2::IfcLibraryReference> Ifc4x3_rc2::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[598], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[597]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[597]); } void Ifc4x3_rc2::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_rc2::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -11674,9 +11674,9 @@ void Ifc4x3_rc2::IfcLibraryReference::setLanguage(const std::optional< std::stri ::Ifc4x3_rc2::IfcLibraryInformation Ifc4x3_rc2::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc2::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc2::IfcLibraryInformation>(); } void Ifc4x3_rc2::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x3_rc2::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc2::IfcRelAssociatesLibrary> Ifc4x3_rc2::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[931], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociatesLibrary> Ifc4x3_rc2::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[931], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[598]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[598]); } void Ifc4x3_rc2::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_rc2::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -11688,34 +11688,34 @@ std::vector< double > /*[1:?]*/ Ifc4x3_rc2::IfcLightDistributionData::LuminousIn void Ifc4x3_rc2::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[601]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[601]); } void Ifc4x3_rc2::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value > Ifc4x3_rc2::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[604]); } -void Ifc4x3_rc2::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[604]); } +void Ifc4x3_rc2::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value Ifc4x3_rc2::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[605]); } -void Ifc4x3_rc2::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[605]); } +void Ifc4x3_rc2::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value Ifc4x3_rc2::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3_rc2::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc2::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc2::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x3_rc2::IfcLightDistributionData > Ifc4x3_rc2::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc2::IfcLightDistributionData>(es); } void Ifc4x3_rc2::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x3_rc2::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[607]); } -void Ifc4x3_rc2::IfcLightIntensityDistribution::initialize(::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc2::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[607]); } +void Ifc4x3_rc2::IfcLightIntensityDistribution::initialize(::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc2::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x3_rc2::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11728,13 +11728,13 @@ std::optional< double > Ifc4x3_rc2::IfcLightSource::Intensity() const { if(get_a void Ifc4x3_rc2::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[608]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[608]); } void Ifc4x3_rc2::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x3_rc2::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[609]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[609]); } void Ifc4x3_rc2::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -11742,7 +11742,7 @@ void Ifc4x3_rc2::IfcLightSourceAmbient::initialize(std::optional< std::string > void Ifc4x3_rc2::IfcLightSourceDirectional::setOrientation(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[610]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[610]); } void Ifc4x3_rc2::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc2::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -11755,13 +11755,13 @@ void Ifc4x3_rc2::IfcLightSourceGoniometric::setColourTemperature(const double& v double Ifc4x3_rc2::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value Ifc4x3_rc2::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x3_rc2::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc2::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc2::IfcLightDistributionDataSourceSelect Ifc4x3_rc2::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc2::IfcLightDistributionDataSourceSelect>(); } void Ifc4x3_rc2::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x3_rc2::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[611]); } -void Ifc4x3_rc2::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc2::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc2::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc2::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[611]); } +void Ifc4x3_rc2::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc2::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc2::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc2::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x3_rc2::IfcCartesianPoint Ifc4x3_rc2::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcCartesianPoint>(); } @@ -11776,7 +11776,7 @@ double Ifc4x3_rc2::IfcLightSourcePositional::QuadricAttenuation() const { doubl void Ifc4x3_rc2::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[612]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[612]); } void Ifc4x3_rc2::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -11790,7 +11790,7 @@ double Ifc4x3_rc2::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_ void Ifc4x3_rc2::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_rc2::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[613]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[613]); } void Ifc4x3_rc2::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_rc2::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -11800,13 +11800,13 @@ void Ifc4x3_rc2::IfcLine::setPnt(const ::Ifc4x3_rc2::IfcCartesianPoint& v) { set void Ifc4x3_rc2::IfcLine::setDir(const ::Ifc4x3_rc2::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcLine::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[614]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[614]); } void Ifc4x3_rc2::IfcLine::initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_Pnt, ::Ifc4x3_rc2::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLineSegment2D -const IfcParse::entity& Ifc4x3_rc2::IfcLineSegment2D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[627]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLineSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[627]); } void Ifc4x3_rc2::IfcLineSegment2D::initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); } // Function implementations for IfcLinearAxisWithInclination @@ -11816,13 +11816,13 @@ void Ifc4x3_rc2::IfcLinearAxisWithInclination::setDirectrix(const ::Ifc4x3_rc2:: void Ifc4x3_rc2::IfcLinearAxisWithInclination::setInclinating(const ::Ifc4x3_rc2::IfcAxisLateralInclination& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcLinearAxisWithInclination::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[616]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLinearAxisWithInclination::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[616]); } void Ifc4x3_rc2::IfcLinearAxisWithInclination::initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, ::Ifc4x3_rc2::IfcAxisLateralInclination v2_Inclinating) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, (v2_Inclinating)); } // Function implementations for IfcLinearElement -const IfcParse::entity& Ifc4x3_rc2::IfcLinearElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[617]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLinearElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[617]); } void Ifc4x3_rc2::IfcLinearElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLinearPlacement @@ -11836,7 +11836,7 @@ void Ifc4x3_rc2::IfcLinearPlacement::setRelativePlacement(const ::Ifc4x3_rc2::If void Ifc4x3_rc2::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[620]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[620]); } void Ifc4x3_rc2::IfcLinearPlacement::initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc2::IfcPointByDistanceExpression v3_Distance, ::Ifc4x3_rc2::IfcAxis2PlacementLinear v4_RelativePlacement, ::Ifc4x3_rc2::IfcAxis2Placement3D v5_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementMeasuredAlong));set_attribute_value(2, (v3_Distance));set_attribute_value(3, (v4_RelativePlacement));set_attribute_value(4, (v5_CartesianPosition)); } // Function implementations for IfcLinearPlacementWithInclination @@ -11844,7 +11844,7 @@ void Ifc4x3_rc2::IfcLinearPlacement::initialize(::Ifc4x3_rc2::IfcObjectPlacement void Ifc4x3_rc2::IfcLinearPlacementWithInclination::setInclinating(const ::Ifc4x3_rc2::IfcAxisLateralInclination& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcLinearPlacementWithInclination::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[621]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLinearPlacementWithInclination::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[621]); } void Ifc4x3_rc2::IfcLinearPlacementWithInclination::initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc2::IfcPointByDistanceExpression v3_Distance, ::Ifc4x3_rc2::IfcAxis2PlacementLinear v4_RelativePlacement, ::Ifc4x3_rc2::IfcAxis2Placement3D v5_CartesianPosition, ::Ifc4x3_rc2::IfcAxisLateralInclination v6_Inclinating) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementMeasuredAlong));set_attribute_value(2, (v3_Distance));set_attribute_value(3, (v4_RelativePlacement));set_attribute_value(4, (v5_CartesianPosition));set_attribute_value(5, (v6_Inclinating)); } // Function implementations for IfcLinearPositioningElement @@ -11852,7 +11852,7 @@ void Ifc4x3_rc2::IfcLinearPlacementWithInclination::initialize(::Ifc4x3_rc2::Ifc void Ifc4x3_rc2::IfcLinearPositioningElement::setAxis(const ::Ifc4x3_rc2::IfcCurve& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[622]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[622]); } void Ifc4x3_rc2::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcCurve v8_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_Axis)); } // Function implementations for IfcLinearSpanPlacement @@ -11860,37 +11860,37 @@ double Ifc4x3_rc2::IfcLinearSpanPlacement::Span() const { double v = get_attrib void Ifc4x3_rc2::IfcLinearSpanPlacement::setSpan(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcLinearSpanPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[623]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLinearSpanPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[623]); } void Ifc4x3_rc2::IfcLinearSpanPlacement::initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc2::IfcPointByDistanceExpression v3_Distance, ::Ifc4x3_rc2::IfcAxis2PlacementLinear v4_RelativePlacement, ::Ifc4x3_rc2::IfcAxis2Placement3D v5_CartesianPosition, double v6_Span) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementMeasuredAlong));set_attribute_value(2, (v3_Distance));set_attribute_value(3, (v4_RelativePlacement));set_attribute_value(4, (v5_CartesianPosition));set_attribute_value(5, (v6_Span)); } // Function implementations for IfcLiquidTerminal std::optional< ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value > Ifc4x3_rc2::IfcLiquidTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcLiquidTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[628]); } -void Ifc4x3_rc2::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLiquidTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[628]); } +void Ifc4x3_rc2::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLiquidTerminalType ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value Ifc4x3_rc2::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcLiquidTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[629]); } -void Ifc4x3_rc2::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLiquidTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[629]); } +void Ifc4x3_rc2::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLocalPlacement ::Ifc4x3_rc2::IfcAxis2Placement Ifc4x3_rc2::IfcLocalPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc2::IfcAxis2Placement>(); } void Ifc4x3_rc2::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x3_rc2::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[632]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[632]); } void Ifc4x3_rc2::IfcLocalPlacement::initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x3_rc2::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[635]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[635]); } void Ifc4x3_rc2::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -11898,7 +11898,7 @@ void Ifc4x3_rc2::IfcLoop::initialize() { } void Ifc4x3_rc2::IfcManifoldSolidBrep::setOuter(const ::Ifc4x3_rc2::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[642]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[642]); } void Ifc4x3_rc2::IfcManifoldSolidBrep::initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -11916,7 +11916,7 @@ std::optional< double > Ifc4x3_rc2::IfcMapConversion::Scale() const { if(get_att void Ifc4x3_rc2::IfcMapConversion::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[643]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[643]); } void Ifc4x3_rc2::IfcMapConversion::initialize(::Ifc4x3_rc2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc2::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } } // Function implementations for IfcMappedItem @@ -11926,16 +11926,16 @@ void Ifc4x3_rc2::IfcMappedItem::setMappingSource(const ::Ifc4x3_rc2::IfcRepresen void Ifc4x3_rc2::IfcMappedItem::setMappingTarget(const ::Ifc4x3_rc2::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[644]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[644]); } void Ifc4x3_rc2::IfcMappedItem::initialize(::Ifc4x3_rc2::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_rc2::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMarineFacility ::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value Ifc4x3_rc2::IfcMarineFacility::PredefinedType() const { return ::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcMarineFacility::setPredefinedType(const ::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcMarineFacility::setPredefinedType(const ::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcMarineFacility::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[645]); } -void Ifc4x3_rc2::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMarineFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[645]); } +void Ifc4x3_rc2::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMaterial std::string Ifc4x3_rc2::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11945,11 +11945,11 @@ void Ifc4x3_rc2::IfcMaterial::setDescription(const std::optional< std::string >& std::optional< std::string > Ifc4x3_rc2::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc2::IfcMaterialDefinitionRepresentation> Ifc4x3_rc2::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[657], 3)); } -std::vector<::Ifc4x3_rc2::IfcMaterialRelationship> Ifc4x3_rc2::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[669], 3)); } -std::vector<::Ifc4x3_rc2::IfcMaterialRelationship> Ifc4x3_rc2::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[669], 2)); } +std::vector<::Ifc4x3_rc2::IfcMaterialDefinitionRepresentation> Ifc4x3_rc2::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[657], 3)); } +std::vector<::Ifc4x3_rc2::IfcMaterialRelationship> Ifc4x3_rc2::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[669], 3)); } +std::vector<::Ifc4x3_rc2::IfcMaterialRelationship> Ifc4x3_rc2::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[669], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[652]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[652]); } void Ifc4x3_rc2::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -11959,7 +11959,7 @@ void Ifc4x3_rc2::IfcMaterialClassificationRelationship::setMaterialClassificatio void Ifc4x3_rc2::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x3_rc2::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[653]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[653]); } void Ifc4x3_rc2::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x3_rc2::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_rc2::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -11974,9 +11974,9 @@ void Ifc4x3_rc2::IfcMaterialConstituent::setFraction(const std::optional< double std::optional< std::string > Ifc4x3_rc2::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc2::IfcMaterialConstituentSet> Ifc4x3_rc2::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[655], 2)); } +std::vector<::Ifc4x3_rc2::IfcMaterialConstituentSet> Ifc4x3_rc2::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[655], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[654]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[654]); } void Ifc4x3_rc2::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -11988,16 +11988,16 @@ std::optional< std::vector< ::Ifc4x3_rc2::IfcMaterialConstituent > > Ifc4x3_rc2: void Ifc4x3_rc2::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_rc2::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[655]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[655]); } void Ifc4x3_rc2::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x3_rc2::IfcRelAssociatesMaterial> Ifc4x3_rc2::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[932], 5)); } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -std::vector<::Ifc4x3_rc2::IfcMaterialProperties> Ifc4x3_rc2::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[668], 3)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociatesMaterial> Ifc4x3_rc2::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[932], 5)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcMaterialProperties> Ifc4x3_rc2::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[668], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[656]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[656]); } void Ifc4x3_rc2::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -12005,7 +12005,7 @@ void Ifc4x3_rc2::IfcMaterialDefinition::initialize() { } void Ifc4x3_rc2::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x3_rc2::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[657]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[657]); } void Ifc4x3_rc2::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcRepresentation > v3_Representations, ::Ifc4x3_rc2::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -12024,9 +12024,9 @@ void Ifc4x3_rc2::IfcMaterialLayer::setCategory(const std::optional< std::string std::optional< int > Ifc4x3_rc2::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc2::IfcMaterialLayerSet> Ifc4x3_rc2::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[659], 0)); } +std::vector<::Ifc4x3_rc2::IfcMaterialLayerSet> Ifc4x3_rc2::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[659], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[658]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[658]); } void Ifc4x3_rc2::IfcMaterialLayer::initialize(::Ifc4x3_rc2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -12038,41 +12038,41 @@ std::optional< std::string > Ifc4x3_rc2::IfcMaterialLayerSet::Description() cons void Ifc4x3_rc2::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[659]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[659]); } void Ifc4x3_rc2::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x3_rc2::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x3_rc2::IfcMaterialLayerSet Ifc4x3_rc2::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcMaterialLayerSet>(); } void Ifc4x3_rc2::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x3_rc2::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value Ifc4x3_rc2::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc2::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc2::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc2::IfcDirectionSenseEnum::Value Ifc4x3_rc2::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x3_rc2::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc2::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_rc2::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc2::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc2::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_rc2::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc2::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x3_rc2::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x3_rc2::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x3_rc2::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[660]); } -void Ifc4x3_rc2::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_rc2::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[660]); } +void Ifc4x3_rc2::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_rc2::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value Ifc4x3_rc2::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x3_rc2::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[661]); } -void Ifc4x3_rc2::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_rc2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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_rc2::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[661]); } +void Ifc4x3_rc2::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_rc2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x3_rc2::IfcMaterial > Ifc4x3_rc2::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcMaterial>(es); } void Ifc4x3_rc2::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x3_rc2::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[662]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[662]); } void Ifc4x3_rc2::IfcMaterialList::initialize(std::vector< ::Ifc4x3_rc2::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -12089,9 +12089,9 @@ void Ifc4x3_rc2::IfcMaterialProfile::setPriority(const std::optional< int >& v) std::optional< std::string > Ifc4x3_rc2::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc2::IfcMaterialProfileSet> Ifc4x3_rc2::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[664], 2)); } +std::vector<::Ifc4x3_rc2::IfcMaterialProfileSet> Ifc4x3_rc2::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[664], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[663]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[663]); } void Ifc4x3_rc2::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMaterial v3_Material, ::Ifc4x3_rc2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -12105,7 +12105,7 @@ void Ifc4x3_rc2::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< : void Ifc4x3_rc2::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x3_rc2::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[664]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[664]); } void Ifc4x3_rc2::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_rc2::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -12117,7 +12117,7 @@ std::optional< double > Ifc4x3_rc2::IfcMaterialProfileSetUsage::ReferenceExtent( void Ifc4x3_rc2::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[665]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[665]); } void Ifc4x3_rc2::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_rc2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -12127,7 +12127,7 @@ std::optional< int > Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::CardinalEnd void Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[666]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[666]); } void Ifc4x3_rc2::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_rc2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -12135,7 +12135,7 @@ std::vector< double > /*[1:2]*/ Ifc4x3_rc2::IfcMaterialProfileWithOffsets::Offse void Ifc4x3_rc2::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[667]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[667]); } void Ifc4x3_rc2::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMaterial v3_Material, ::Ifc4x3_rc2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -12143,7 +12143,7 @@ void Ifc4x3_rc2::IfcMaterialProfileWithOffsets::initialize(std::optional< std::s void Ifc4x3_rc2::IfcMaterialProperties::setMaterial(const ::Ifc4x3_rc2::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[668]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[668]); } void Ifc4x3_rc2::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcProperty > v3_Properties, ::Ifc4x3_rc2::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -12155,14 +12155,14 @@ std::optional< std::string > Ifc4x3_rc2::IfcMaterialRelationship::Expression() c void Ifc4x3_rc2::IfcMaterialRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[669]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[669]); } void Ifc4x3_rc2::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_rc2::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x3_rc2::IfcRelAssociatesMaterial> Ifc4x3_rc2::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[932], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociatesMaterial> Ifc4x3_rc2::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[932], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[671]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[671]); } void Ifc4x3_rc2::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -12172,7 +12172,7 @@ void Ifc4x3_rc2::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x3_rc2::IfcVa void Ifc4x3_rc2::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x3_rc2::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[673]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[673]); } void Ifc4x3_rc2::IfcMeasureWithUnit::initialize(::Ifc4x3_rc2::IfcValue v1_ValueComponent, ::Ifc4x3_rc2::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -12181,65 +12181,65 @@ void Ifc4x3_rc2::IfcMechanicalFastener::setNominalDiameter(const std::optional< std::optional< double > Ifc4x3_rc2::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value > Ifc4x3_rc2::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[674]); } -void Ifc4x3_rc2::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[674]); } +void Ifc4x3_rc2::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_rc2::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc2::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc2::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc2::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[675]); } -void Ifc4x3_rc2::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[675]); } +void Ifc4x3_rc2::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value > Ifc4x3_rc2::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[677]); } -void Ifc4x3_rc2::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[677]); } +void Ifc4x3_rc2::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value Ifc4x3_rc2::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[678]); } -void Ifc4x3_rc2::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[678]); } +void Ifc4x3_rc2::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value > Ifc4x3_rc2::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMember::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[680]); } -void Ifc4x3_rc2::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[680]); } +void Ifc4x3_rc2::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberStandardCase -const IfcParse::entity& Ifc4x3_rc2::IfcMemberStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[681]); } -void Ifc4x3_rc2::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMemberStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[681]); } +void Ifc4x3_rc2::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x3_rc2::IfcMemberTypeEnum::Value Ifc4x3_rc2::IfcMemberType::PredefinedType() const { return ::Ifc4x3_rc2::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcMemberType::setPredefinedType(const ::Ifc4x3_rc2::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcMemberType::setPredefinedType(const ::Ifc4x3_rc2::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[682]); } -void Ifc4x3_rc2::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[682]); } +void Ifc4x3_rc2::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x3_rc2::IfcBenchmarkEnum::Value Ifc4x3_rc2::IfcMetric::Benchmark() const { return ::Ifc4x3_rc2::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcMetric::setBenchmark(const ::Ifc4x3_rc2::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcMetric::setBenchmark(const ::Ifc4x3_rc2::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_rc2::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x3_rc2::IfcMetricValueSelect Ifc4x3_rc2::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_rc2::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc2::IfcMetricValueSelect>(); } @@ -12248,159 +12248,159 @@ void Ifc4x3_rc2::IfcMetric::setDataValue(const ::Ifc4x3_rc2::IfcMetricValueSelec void Ifc4x3_rc2::IfcMetric::setReferencePath(const ::Ifc4x3_rc2::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc2::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[684]); } -void Ifc4x3_rc2::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc2::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc2::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc2::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[684]); } +void Ifc4x3_rc2::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc2::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc2::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc2::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x3_rc2::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[686]); } -void Ifc4x3_rc2::IfcMirroredProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[686]); } +void Ifc4x3_rc2::IfcMirroredProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMobileTelecommunicationsAppliance std::optional< ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3_rc2::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMobileTelecommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[687]); } -void Ifc4x3_rc2::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMobileTelecommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[687]); } +void Ifc4x3_rc2::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMobileTelecommunicationsApplianceType ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[688]); } -void Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[688]); } +void Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMonetaryUnit std::string Ifc4x3_rc2::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc2::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[701]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[701]); } void Ifc4x3_rc2::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMooringDevice std::optional< ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value > Ifc4x3_rc2::IfcMooringDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMooringDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[703]); } -void Ifc4x3_rc2::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMooringDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[703]); } +void Ifc4x3_rc2::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMooringDeviceType ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value Ifc4x3_rc2::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcMooringDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[704]); } -void Ifc4x3_rc2::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMooringDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[704]); } +void Ifc4x3_rc2::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value > Ifc4x3_rc2::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[706]); } -void Ifc4x3_rc2::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[706]); } +void Ifc4x3_rc2::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value Ifc4x3_rc2::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[707]); } -void Ifc4x3_rc2::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[707]); } +void Ifc4x3_rc2::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x3_rc2::IfcDimensionalExponents Ifc4x3_rc2::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcDimensionalExponents>(); } void Ifc4x3_rc2::IfcNamedUnit::setDimensions(const ::Ifc4x3_rc2::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc2::IfcUnitEnum::Value Ifc4x3_rc2::IfcNamedUnit::UnitType() const { return ::Ifc4x3_rc2::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc2::IfcNamedUnit::setUnitType(const ::Ifc4x3_rc2::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc2::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc2::IfcNamedUnit::setUnitType(const ::Ifc4x3_rc2::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc2::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[709]); } -void Ifc4x3_rc2::IfcNamedUnit::initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[709]); } +void Ifc4x3_rc2::IfcNamedUnit::initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcNavigationElement std::optional< ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value > Ifc4x3_rc2::IfcNavigationElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcNavigationElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[710]); } -void Ifc4x3_rc2::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcNavigationElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[710]); } +void Ifc4x3_rc2::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcNavigationElementType ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value Ifc4x3_rc2::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcNavigationElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[711]); } -void Ifc4x3_rc2::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcNavigationElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[711]); } +void Ifc4x3_rc2::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x3_rc2::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc2::IfcRelDefinesByObject> Ifc4x3_rc2::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[950], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelDefinesByObject> Ifc4x3_rc2::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[950], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelDefinesByType> Ifc4x3_rc2::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[953], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelDefinesByProperties> Ifc4x3_rc2::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[951], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelDefinesByObject> Ifc4x3_rc2::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[950], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelDefinesByObject> Ifc4x3_rc2::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[950], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelDefinesByType> Ifc4x3_rc2::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[953], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelDefinesByProperties> Ifc4x3_rc2::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[951], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcObject::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[717]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[717]); } void Ifc4x3_rc2::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x3_rc2::IfcRelAssigns> Ifc4x3_rc2::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[918], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelNests> Ifc4x3_rc2::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[957], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelNests> Ifc4x3_rc2::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[957], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelDeclares> Ifc4x3_rc2::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[947], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelAggregates> Ifc4x3_rc2::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[917], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelAggregates> Ifc4x3_rc2::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[917], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelAssociates> Ifc4x3_rc2::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[926], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelAssigns> Ifc4x3_rc2::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[918], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelNests> Ifc4x3_rc2::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[957], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelNests> Ifc4x3_rc2::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[957], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelDeclares> Ifc4x3_rc2::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[947], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelAggregates> Ifc4x3_rc2::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[917], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelAggregates> Ifc4x3_rc2::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[917], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociates> Ifc4x3_rc2::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[926], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[718]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[718]); } void Ifc4x3_rc2::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement ::Ifc4x3_rc2::IfcObjectPlacement Ifc4x3_rc2::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_rc2::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcObjectPlacement>(); } void Ifc4x3_rc2::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x3_rc2::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc2::IfcProduct> Ifc4x3_rc2::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[821], 5)); } +std::vector<::Ifc4x3_rc2::IfcProduct> Ifc4x3_rc2::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[821], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[721]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[721]); } void Ifc4x3_rc2::IfcObjectPlacement::initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo)); } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x3_rc2::IfcConstraint > > Ifc4x3_rc2::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc2::IfcConstraint>(es); } void Ifc4x3_rc2::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x3_rc2::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc2::IfcLogicalOperatorEnum::Value > Ifc4x3_rc2::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_rc2::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_rc2::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x3_rc2::IfcObjectiveEnum::Value Ifc4x3_rc2::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x3_rc2::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_rc2::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_rc2::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc2::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[719]); } -void Ifc4x3_rc2::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc2::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[719]); } +void Ifc4x3_rc2::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc2::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x3_rc2::IfcOccupantTypeEnum::Value > Ifc4x3_rc2::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc2::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc2::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc2::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc2::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[724]); } -void Ifc4x3_rc2::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc2::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc2::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[724]); } +void Ifc4x3_rc2::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc2::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc2::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x3_rc2::IfcCurve Ifc4x3_rc2::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcCurve>(); } void Ifc4x3_rc2::IfcOffsetCurve::setBasisCurve(const ::Ifc4x3_rc2::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[726]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[726]); } void Ifc4x3_rc2::IfcOffsetCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -12410,7 +12410,7 @@ boost::logic::tribool Ifc4x3_rc2::IfcOffsetCurve2D::SelfIntersect() const { boo void Ifc4x3_rc2::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[727]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[727]); } void Ifc4x3_rc2::IfcOffsetCurve2D::initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -12422,7 +12422,7 @@ void Ifc4x3_rc2::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& void Ifc4x3_rc2::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[728]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[728]); } void Ifc4x3_rc2::IfcOffsetCurve3D::initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_rc2::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -12432,7 +12432,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcOffsetCurveByDistances::Tag() const void Ifc4x3_rc2::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[729]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[729]); } void Ifc4x3_rc2::IfcOffsetCurveByDistances::initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenCrossProfileDef @@ -12446,29 +12446,29 @@ std::optional< std::vector< std::string > /*[2:?]*/ > Ifc4x3_rc2::IfcOpenCrossPr void Ifc4x3_rc2::IfcOpenCrossProfileDef::setTags(const std::optional< std::vector< std::string > /*[2:?]*/ >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc2::IfcOpenCrossProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[730]); } -void Ifc4x3_rc2::IfcOpenCrossProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOpenCrossProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[730]); } +void Ifc4x3_rc2::IfcOpenCrossProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x3_rc2::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[734]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[734]); } void Ifc4x3_rc2::IfcOpenShell::initialize(std::vector< ::Ifc4x3_rc2::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value > Ifc4x3_rc2::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc2::IfcRelFillsElement> Ifc4x3_rc2::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[954], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelFillsElement> Ifc4x3_rc2::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[954], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[731]); } -void Ifc4x3_rc2::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[731]); } +void Ifc4x3_rc2::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOpeningStandardCase -const IfcParse::entity& Ifc4x3_rc2::IfcOpeningStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[733]); } -void Ifc4x3_rc2::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOpeningStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[733]); } +void Ifc4x3_rc2::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x3_rc2::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12482,11 +12482,11 @@ void Ifc4x3_rc2::IfcOrganization::setRoles(const std::optional< std::vector< ::I std::optional< std::vector< ::Ifc4x3_rc2::IfcAddress > > Ifc4x3_rc2::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc2::IfcAddress>(es); } void Ifc4x3_rc2::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x3_rc2::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc2::IfcOrganizationRelationship> Ifc4x3_rc2::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[736], 3)); } -std::vector<::Ifc4x3_rc2::IfcOrganizationRelationship> Ifc4x3_rc2::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[736], 2)); } -std::vector<::Ifc4x3_rc2::IfcPersonAndOrganization> Ifc4x3_rc2::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[756], 1)); } +std::vector<::Ifc4x3_rc2::IfcOrganizationRelationship> Ifc4x3_rc2::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[736], 3)); } +std::vector<::Ifc4x3_rc2::IfcOrganizationRelationship> Ifc4x3_rc2::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[736], 2)); } +std::vector<::Ifc4x3_rc2::IfcPersonAndOrganization> Ifc4x3_rc2::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[756], 1)); } -const IfcParse::entity& Ifc4x3_rc2::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[735]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[735]); } void Ifc4x3_rc2::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_rc2::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -12496,7 +12496,7 @@ std::vector< ::Ifc4x3_rc2::IfcOrganization > Ifc4x3_rc2::IfcOrganizationRelation void Ifc4x3_rc2::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x3_rc2::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[736]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[736]); } void Ifc4x3_rc2::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_rc2::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientedEdge @@ -12506,30 +12506,30 @@ bool Ifc4x3_rc2::IfcOrientedEdge::Orientation() const { bool v = get_attribute_ void Ifc4x3_rc2::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[737]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[737]); } void Ifc4x3_rc2::IfcOrientedEdge::initialize(::Ifc4x3_rc2::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x3_rc2::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[738]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[738]); } void Ifc4x3_rc2::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x3_rc2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x3_rc2::IfcOutletTypeEnum::Value > Ifc4x3_rc2::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[739]); } -void Ifc4x3_rc2::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[739]); } +void Ifc4x3_rc2::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x3_rc2::IfcOutletTypeEnum::Value Ifc4x3_rc2::IfcOutletType::PredefinedType() const { return ::Ifc4x3_rc2::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcOutletType::setPredefinedType(const ::Ifc4x3_rc2::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcOutletType::setPredefinedType(const ::Ifc4x3_rc2::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[740]); } -void Ifc4x3_rc2::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[740]); } +void Ifc4x3_rc2::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x3_rc2::IfcPersonAndOrganization Ifc4x3_rc2::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcPersonAndOrganization>(); } @@ -12537,9 +12537,9 @@ void Ifc4x3_rc2::IfcOwnerHistory::setOwningUser(const ::Ifc4x3_rc2::IfcPersonAnd ::Ifc4x3_rc2::IfcApplication Ifc4x3_rc2::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc2::IfcApplication>(); } void Ifc4x3_rc2::IfcOwnerHistory::setOwningApplication(const ::Ifc4x3_rc2::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > Ifc4x3_rc2::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc2::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc2::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x3_rc2::IfcChangeActionEnum::Value > Ifc4x3_rc2::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc2::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_rc2::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc2::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_rc2::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_rc2::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc2::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x3_rc2::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_rc2::IfcPersonAndOrganization Ifc4x3_rc2::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc2::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc2::IfcPersonAndOrganization>(); } @@ -12550,23 +12550,23 @@ int Ifc4x3_rc2::IfcOwnerHistory::CreationDate() const { int v = get_attribute_v void Ifc4x3_rc2::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[742]); } -void Ifc4x3_rc2::IfcOwnerHistory::initialize(::Ifc4x3_rc2::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc2::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc2::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc2::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc2::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[742]); } +void Ifc4x3_rc2::IfcOwnerHistory::initialize(::Ifc4x3_rc2::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc2::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc2::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc2::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc2::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x3_rc2::IfcAxis2Placement2D Ifc4x3_rc2::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc2::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcAxis2Placement2D>(); } void Ifc4x3_rc2::IfcParameterizedProfileDef::setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[743]); } -void Ifc4x3_rc2::IfcParameterizedProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[743]); } +void Ifc4x3_rc2::IfcParameterizedProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x3_rc2::IfcOrientedEdge > Ifc4x3_rc2::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcOrientedEdge>(es); } void Ifc4x3_rc2::IfcPath::setEdgeList(const std::vector< ::Ifc4x3_rc2::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcPath::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[745]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[745]); } void Ifc4x3_rc2::IfcPath::initialize(std::vector< ::Ifc4x3_rc2::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPavement @@ -12574,7 +12574,7 @@ std::optional< bool > Ifc4x3_rc2::IfcPavement::Flexible() const { if(get_attribu void Ifc4x3_rc2::IfcPavement::setFlexible(const std::optional< bool >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPavement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[746]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPavement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[746]); } void Ifc4x3_rc2::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< bool > v9_Flexible) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_Flexible) {set_attribute_value(8, (*v9_Flexible)); } } // Function implementations for IfcPavementType @@ -12582,7 +12582,7 @@ bool Ifc4x3_rc2::IfcPavementType::Flexible() const { bool v = get_attribute_val void Ifc4x3_rc2::IfcPavementType::setFlexible(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcPavementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[747]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPavementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[747]); } void Ifc4x3_rc2::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Flexible) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_Flexible)); } // Function implementations for IfcPcurve @@ -12592,24 +12592,24 @@ void Ifc4x3_rc2::IfcPcurve::setBasisSurface(const ::Ifc4x3_rc2::IfcSurface& v) { void Ifc4x3_rc2::IfcPcurve::setReferenceCurve(const ::Ifc4x3_rc2::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[748]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[748]); } void Ifc4x3_rc2::IfcPcurve::initialize(::Ifc4x3_rc2::IfcSurface v1_BasisSurface, ::Ifc4x3_rc2::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x3_rc2::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value > Ifc4x3_rc2::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc2::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[749]); } -void Ifc4x3_rc2::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[749]); } +void Ifc4x3_rc2::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value Ifc4x3_rc2::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc2::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc2::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value Ifc4x3_rc2::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc2::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc2::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_rc2::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -12618,20 +12618,20 @@ void Ifc4x3_rc2::IfcPermeableCoveringProperties::setFrameThickness(const std::op void Ifc4x3_rc2::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x3_rc2::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[752]); } -void Ifc4x3_rc2::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::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)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[752]); } +void Ifc4x3_rc2::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x3_rc2::IfcPermitTypeEnum::Value > Ifc4x3_rc2::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc2::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc2::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc2::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc2::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc2::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc2::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[753]); } -void Ifc4x3_rc2::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[753]); } +void Ifc4x3_rc2::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x3_rc2::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12651,9 +12651,9 @@ void Ifc4x3_rc2::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x3_ std::optional< std::vector< ::Ifc4x3_rc2::IfcAddress > > Ifc4x3_rc2::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc2::IfcAddress>(es); } void Ifc4x3_rc2::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x3_rc2::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc2::IfcPersonAndOrganization> Ifc4x3_rc2::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[756], 0)); } +std::vector<::Ifc4x3_rc2::IfcPersonAndOrganization> Ifc4x3_rc2::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[756], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[755]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[755]); } void Ifc4x3_rc2::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_rc2::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -12665,7 +12665,7 @@ std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > > Ifc4x3_rc2::IfcPerson void Ifc4x3_rc2::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[756]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[756]); } void Ifc4x3_rc2::IfcPersonAndOrganization::initialize(::Ifc4x3_rc2::IfcPerson v1_ThePerson, ::Ifc4x3_rc2::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -12679,7 +12679,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcPhysicalComplexQuantity::Usage() con void Ifc4x3_rc2::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[758]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[758]); } void Ifc4x3_rc2::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -12688,10 +12688,10 @@ void Ifc4x3_rc2::IfcPhysicalQuantity::setName(const std::string& v) { set_attrib std::optional< std::string > Ifc4x3_rc2::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -std::vector<::Ifc4x3_rc2::IfcPhysicalComplexQuantity> Ifc4x3_rc2::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[758], 2)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcPhysicalComplexQuantity> Ifc4x3_rc2::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[758], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[760]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[760]); } void Ifc4x3_rc2::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -12699,58 +12699,58 @@ void Ifc4x3_rc2::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optio void Ifc4x3_rc2::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x3_rc2::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[761]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[761]); } void Ifc4x3_rc2::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x3_rc2::IfcPileTypeEnum::Value > Ifc4x3_rc2::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc2::IfcPileConstructionEnum::Value > Ifc4x3_rc2::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_rc2::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc2::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_rc2::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPile::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[762]); } -void Ifc4x3_rc2::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[762]); } +void Ifc4x3_rc2::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x3_rc2::IfcPileTypeEnum::Value Ifc4x3_rc2::IfcPileType::PredefinedType() const { return ::Ifc4x3_rc2::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcPileType::setPredefinedType(const ::Ifc4x3_rc2::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcPileType::setPredefinedType(const ::Ifc4x3_rc2::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[764]); } -void Ifc4x3_rc2::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[764]); } +void Ifc4x3_rc2::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value > Ifc4x3_rc2::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[766]); } -void Ifc4x3_rc2::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[766]); } +void Ifc4x3_rc2::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value Ifc4x3_rc2::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[767]); } -void Ifc4x3_rc2::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[767]); } +void Ifc4x3_rc2::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value > Ifc4x3_rc2::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[769]); } -void Ifc4x3_rc2::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[769]); } +void Ifc4x3_rc2::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value Ifc4x3_rc2::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[770]); } -void Ifc4x3_rc2::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[770]); } +void Ifc4x3_rc2::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x3_rc2::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -12763,7 +12763,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_rc2::IfcPixelTexture::Pi void Ifc4x3_rc2::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[772]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[772]); } void Ifc4x3_rc2::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -12771,7 +12771,7 @@ void Ifc4x3_rc2::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, s void Ifc4x3_rc2::IfcPlacement::setLocation(const ::Ifc4x3_rc2::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[773]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[773]); } void Ifc4x3_rc2::IfcPlacement::initialize(::Ifc4x3_rc2::IfcPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -12779,7 +12779,7 @@ void Ifc4x3_rc2::IfcPlacement::initialize(::Ifc4x3_rc2::IfcPoint v1_Location) { void Ifc4x3_rc2::IfcPlanarBox::setPlacement(const ::Ifc4x3_rc2::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[774]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[774]); } void Ifc4x3_rc2::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_rc2::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -12789,47 +12789,47 @@ double Ifc4x3_rc2::IfcPlanarExtent::SizeInY() const { double v = get_attribute_ void Ifc4x3_rc2::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[775]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[775]); } void Ifc4x3_rc2::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x3_rc2::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[777]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[777]); } void Ifc4x3_rc2::IfcPlane::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlant -const IfcParse::entity& Ifc4x3_rc2::IfcPlant::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[779]); } -void Ifc4x3_rc2::IfcPlant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPlant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[779]); } +void Ifc4x3_rc2::IfcPlant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlate std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value > Ifc4x3_rc2::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[780]); } -void Ifc4x3_rc2::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[780]); } +void Ifc4x3_rc2::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateStandardCase -const IfcParse::entity& Ifc4x3_rc2::IfcPlateStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[781]); } -void Ifc4x3_rc2::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPlateStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[781]); } +void Ifc4x3_rc2::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x3_rc2::IfcPlateTypeEnum::Value Ifc4x3_rc2::IfcPlateType::PredefinedType() const { return ::Ifc4x3_rc2::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcPlateType::setPredefinedType(const ::Ifc4x3_rc2::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcPlateType::setPredefinedType(const ::Ifc4x3_rc2::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[782]); } -void Ifc4x3_rc2::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[782]); } +void Ifc4x3_rc2::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x3_rc2::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[784]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[784]); } void Ifc4x3_rc2::IfcPoint::initialize() { } // Function implementations for IfcPointByDistanceExpression @@ -12845,7 +12845,7 @@ void Ifc4x3_rc2::IfcPointByDistanceExpression::setOffsetLongitudinal(const std:: void Ifc4x3_rc2::IfcPointByDistanceExpression::setBasisCurve(const ::Ifc4x3_rc2::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcPointByDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[785]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPointByDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[785]); } void Ifc4x3_rc2::IfcPointByDistanceExpression::initialize(::Ifc4x3_rc2::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_rc2::IfcCurve v5_BasisCurve) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } // Function implementations for IfcPointOnCurve @@ -12855,7 +12855,7 @@ double Ifc4x3_rc2::IfcPointOnCurve::PointParameter() const { double v = get_att void Ifc4x3_rc2::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[786]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[786]); } void Ifc4x3_rc2::IfcPointOnCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -12867,7 +12867,7 @@ double Ifc4x3_rc2::IfcPointOnSurface::PointParameterV() const { double v = get_ void Ifc4x3_rc2::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[787]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[787]); } void Ifc4x3_rc2::IfcPointOnSurface::initialize(::Ifc4x3_rc2::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -12875,7 +12875,7 @@ std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > Ifc4x3_rc2::IfcPolyLoop::Polygon( void Ifc4x3_rc2::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x3_rc2::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[792]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[792]); } void Ifc4x3_rc2::IfcPolyLoop::initialize(std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -12885,7 +12885,7 @@ void Ifc4x3_rc2::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x3_rc2::I void Ifc4x3_rc2::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x3_rc2::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[789]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[789]); } void Ifc4x3_rc2::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x3_rc2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc2::IfcAxis2Placement3D v3_Position, ::Ifc4x3_rc2::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -12897,7 +12897,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc2::IfcPolygonalFaceSet::P void Ifc4x3_rc2::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[790]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[790]); } void Ifc4x3_rc2::IfcPolygonalFaceSet::initialize(::Ifc4x3_rc2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -12905,24 +12905,24 @@ std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > Ifc4x3_rc2::IfcPolyline::Points() void Ifc4x3_rc2::IfcPolyline::setPoints(const std::vector< ::Ifc4x3_rc2::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[791]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[791]); } void Ifc4x3_rc2::IfcPolyline::initialize(std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPort -std::vector<::Ifc4x3_rc2::IfcRelConnectsPortToElement> Ifc4x3_rc2::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[939], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelConnectsPorts> Ifc4x3_rc2::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[938], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelConnectsPorts> Ifc4x3_rc2::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[938], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsPortToElement> Ifc4x3_rc2::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[939], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsPorts> Ifc4x3_rc2::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[938], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsPorts> Ifc4x3_rc2::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[938], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcPort::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[793]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[793]); } void Ifc4x3_rc2::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x3_rc2::IfcRelContainedInSpatialStructure> Ifc4x3_rc2::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[944], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelPositions> Ifc4x3_rc2::IfcPositioningElement::Positions() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[958], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelContainedInSpatialStructure> Ifc4x3_rc2::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[944], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelPositions> Ifc4x3_rc2::IfcPositioningElement::Positions() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[958], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[794]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[794]); } void Ifc4x3_rc2::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -12942,19 +12942,19 @@ std::optional< std::string > Ifc4x3_rc2::IfcPostalAddress::Country() const { if( void Ifc4x3_rc2::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[799]); } -void Ifc4x3_rc2::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[799]); } +void Ifc4x3_rc2::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x3_rc2::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[801]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[801]); } void Ifc4x3_rc2::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_rc2::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[802]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[802]); } void Ifc4x3_rc2::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -12962,31 +12962,31 @@ std::string Ifc4x3_rc2::IfcPreDefinedItem::Name() const { std::string v = get_a void Ifc4x3_rc2::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[803]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[803]); } void Ifc4x3_rc2::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x3_rc2::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[804]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[804]); } void Ifc4x3_rc2::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x3_rc2::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[805]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[805]); } void Ifc4x3_rc2::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x3_rc2::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[806]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[806]); } void Ifc4x3_rc2::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x3_rc2::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[809]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[809]); } void Ifc4x3_rc2::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -13000,7 +13000,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcPresentationLayerAssignment::Identif void Ifc4x3_rc2::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[810]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[810]); } void Ifc4x3_rc2::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -13014,7 +13014,7 @@ std::vector< ::Ifc4x3_rc2::IfcPresentationStyle > Ifc4x3_rc2::IfcPresentationLay void Ifc4x3_rc2::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x3_rc2::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[811]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[811]); } void Ifc4x3_rc2::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_rc2::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -13022,7 +13022,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcPresentationStyle::Name() const { if void Ifc4x3_rc2::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[812]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[812]); } void Ifc4x3_rc2::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcPresentationStyleAssignment @@ -13030,24 +13030,24 @@ std::vector< ::Ifc4x3_rc2::IfcPresentationStyleSelect > Ifc4x3_rc2::IfcPresentat void Ifc4x3_rc2::IfcPresentationStyleAssignment::setStyles(const std::vector< ::Ifc4x3_rc2::IfcPresentationStyleSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcPresentationStyleAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[813]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPresentationStyleAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[813]); } void Ifc4x3_rc2::IfcPresentationStyleAssignment::initialize(std::vector< ::Ifc4x3_rc2::IfcPresentationStyleSelect > v1_Styles) { set_attribute_value(0, cast_vector(v1_Styles)); } // Function implementations for IfcProcedure std::optional< ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value > Ifc4x3_rc2::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc2::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc2::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[816]); } -void Ifc4x3_rc2::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[816]); } +void Ifc4x3_rc2::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value Ifc4x3_rc2::IfcProcedureType::PredefinedType() const { return ::Ifc4x3_rc2::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcProcedureType::setPredefinedType(const ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcProcedureType::setPredefinedType(const ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[817]); } -void Ifc4x3_rc2::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc2::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[817]); } +void Ifc4x3_rc2::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc2::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x3_rc2::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -13055,11 +13055,11 @@ void Ifc4x3_rc2::IfcProcess::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_rc2::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc2::IfcRelSequence> Ifc4x3_rc2::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[961], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelSequence> Ifc4x3_rc2::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[961], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelAssignsToProcess> Ifc4x3_rc2::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[923], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelSequence> Ifc4x3_rc2::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[961], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelSequence> Ifc4x3_rc2::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[961], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelAssignsToProcess> Ifc4x3_rc2::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[923], 6)); } -const IfcParse::entity& Ifc4x3_rc2::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[819]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[819]); } void Ifc4x3_rc2::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -13068,19 +13068,19 @@ void Ifc4x3_rc2::IfcProduct::setObjectPlacement(const ::Ifc4x3_rc2::IfcObjectPla ::Ifc4x3_rc2::IfcProductRepresentation Ifc4x3_rc2::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc2::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcProductRepresentation>(); } void Ifc4x3_rc2::IfcProduct::setRepresentation(const ::Ifc4x3_rc2::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_rc2::IfcRelAssignsToProduct> Ifc4x3_rc2::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[924], 6)); } -std::vector<::Ifc4x3_rc2::IfcRelPositions> Ifc4x3_rc2::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[958], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelReferencedInSpatialStructure> Ifc4x3_rc2::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[960], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelAssignsToProduct> Ifc4x3_rc2::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[924], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelPositions> Ifc4x3_rc2::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[958], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelReferencedInSpatialStructure> Ifc4x3_rc2::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[960], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[821]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[821]); } void Ifc4x3_rc2::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x3_rc2::IfcProduct> Ifc4x3_rc2::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[821], 6)); } -std::vector<::Ifc4x3_rc2::IfcShapeAspect> Ifc4x3_rc2::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1020], 4)); } +std::vector<::Ifc4x3_rc2::IfcProduct> Ifc4x3_rc2::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[821], 6)); } +std::vector<::Ifc4x3_rc2::IfcShapeAspect> Ifc4x3_rc2::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1020], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[822]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[822]); } void Ifc4x3_rc2::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -13092,52 +13092,52 @@ std::vector< ::Ifc4x3_rc2::IfcRepresentation > Ifc4x3_rc2::IfcProductRepresentat void Ifc4x3_rc2::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x3_rc2::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[823]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[823]); } void Ifc4x3_rc2::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x3_rc2::IfcProfileTypeEnum::Value Ifc4x3_rc2::IfcProfileDef::ProfileType() const { return ::Ifc4x3_rc2::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc2::IfcProfileDef::setProfileType(const ::Ifc4x3_rc2::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc2::IfcProfileDef::setProfileType(const ::Ifc4x3_rc2::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_rc2::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -std::vector<::Ifc4x3_rc2::IfcProfileProperties> Ifc4x3_rc2::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[827], 3)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcProfileProperties> Ifc4x3_rc2::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[827], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[826]); } -void Ifc4x3_rc2::IfcProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[826]); } +void Ifc4x3_rc2::IfcProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x3_rc2::IfcProfileDef Ifc4x3_rc2::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc2::IfcProfileDef>(); } void Ifc4x3_rc2::IfcProfileProperties::setProfileDefinition(const ::Ifc4x3_rc2::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[827]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[827]); } void Ifc4x3_rc2::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcProperty > v3_Properties, ::Ifc4x3_rc2::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x3_rc2::IfcProject::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[829]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[829]); } void Ifc4x3_rc2::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc2::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x3_rc2::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[834]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[834]); } void Ifc4x3_rc2::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc2::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value > Ifc4x3_rc2::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc2::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc2::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc2::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc2::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc2::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc2::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[835]); } -void Ifc4x3_rc2::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc2::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[835]); } +void Ifc4x3_rc2::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc2::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x3_rc2::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13148,16 +13148,16 @@ void Ifc4x3_rc2::IfcProjectedCRS::setMapZone(const std::optional< std::string >& void Ifc4x3_rc2::IfcProjectedCRS::setMapUnit(const ::Ifc4x3_rc2::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[830]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[830]); } void Ifc4x3_rc2::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_rc2::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value > Ifc4x3_rc2::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[832]); } -void Ifc4x3_rc2::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[832]); } +void Ifc4x3_rc2::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x3_rc2::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -13165,21 +13165,21 @@ void Ifc4x3_rc2::IfcProperty::setName(const std::string& v) { set_attribute_valu std::optional< std::string > Ifc4x3_rc2::IfcProperty::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcProperty::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc2::IfcPropertySet> Ifc4x3_rc2::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[846], 4)); } -std::vector<::Ifc4x3_rc2::IfcPropertyDependencyRelationship> Ifc4x3_rc2::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[841], 2)); } -std::vector<::Ifc4x3_rc2::IfcPropertyDependencyRelationship> Ifc4x3_rc2::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[841], 3)); } -std::vector<::Ifc4x3_rc2::IfcComplexProperty> Ifc4x3_rc2::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[199], 3)); } -std::vector<::Ifc4x3_rc2::IfcResourceConstraintRelationship> Ifc4x3_rc2::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[974], 3)); } -std::vector<::Ifc4x3_rc2::IfcResourceApprovalRelationship> Ifc4x3_rc2::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[973], 2)); } +std::vector<::Ifc4x3_rc2::IfcPropertySet> Ifc4x3_rc2::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[846], 4)); } +std::vector<::Ifc4x3_rc2::IfcPropertyDependencyRelationship> Ifc4x3_rc2::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[841], 2)); } +std::vector<::Ifc4x3_rc2::IfcPropertyDependencyRelationship> Ifc4x3_rc2::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[841], 3)); } +std::vector<::Ifc4x3_rc2::IfcComplexProperty> Ifc4x3_rc2::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[199], 3)); } +std::vector<::Ifc4x3_rc2::IfcResourceConstraintRelationship> Ifc4x3_rc2::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[974], 3)); } +std::vector<::Ifc4x3_rc2::IfcResourceApprovalRelationship> Ifc4x3_rc2::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[973], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[837]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[837]); } void Ifc4x3_rc2::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[838]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[838]); } void Ifc4x3_rc2::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -13193,15 +13193,15 @@ void Ifc4x3_rc2::IfcPropertyBoundedValue::setUnit(const ::Ifc4x3_rc2::IfcUnit& v void Ifc4x3_rc2::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x3_rc2::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[839]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[839]); } void Ifc4x3_rc2::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcValue v3_UpperBoundValue, ::Ifc4x3_rc2::IfcValue v4_LowerBoundValue, ::Ifc4x3_rc2::IfcUnit v5_Unit, ::Ifc4x3_rc2::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x3_rc2::IfcRelDeclares> Ifc4x3_rc2::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[947], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelAssociates> Ifc4x3_rc2::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[926], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelDeclares> Ifc4x3_rc2::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[947], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelAssociates> Ifc4x3_rc2::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[926], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[840]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[840]); } void Ifc4x3_rc2::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -13213,7 +13213,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcPropertyDependencyRelationship::Expr void Ifc4x3_rc2::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[841]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[841]); } void Ifc4x3_rc2::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcProperty v3_DependingProperty, ::Ifc4x3_rc2::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -13223,7 +13223,7 @@ void Ifc4x3_rc2::IfcPropertyEnumeratedValue::setEnumerationValues(const std::opt void Ifc4x3_rc2::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x3_rc2::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[842]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[842]); } void Ifc4x3_rc2::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v3_EnumerationValues, ::Ifc4x3_rc2::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -13235,7 +13235,7 @@ void Ifc4x3_rc2::IfcPropertyEnumeration::setEnumerationValues(const std::vector< void Ifc4x3_rc2::IfcPropertyEnumeration::setUnit(const ::Ifc4x3_rc2::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[843]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[843]); } void Ifc4x3_rc2::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x3_rc2::IfcValue > v2_EnumerationValues, ::Ifc4x3_rc2::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -13245,7 +13245,7 @@ void Ifc4x3_rc2::IfcPropertyListValue::setListValues(const std::optional< std::v void Ifc4x3_rc2::IfcPropertyListValue::setUnit(const ::Ifc4x3_rc2::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[844]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[844]); } void Ifc4x3_rc2::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v3_ListValues, ::Ifc4x3_rc2::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -13255,7 +13255,7 @@ void Ifc4x3_rc2::IfcPropertyReferenceValue::setUsageName(const std::optional< st void Ifc4x3_rc2::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x3_rc2::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[845]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[845]); } void Ifc4x3_rc2::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x3_rc2::IfcObjectReferenceSelect v4_PropertyReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, (v4_PropertyReference)); } // Function implementations for IfcPropertySet @@ -13263,30 +13263,30 @@ std::vector< ::Ifc4x3_rc2::IfcProperty > Ifc4x3_rc2::IfcPropertySet::HasProperti void Ifc4x3_rc2::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x3_rc2::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[846]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[846]); } void Ifc4x3_rc2::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x3_rc2::IfcTypeObject> Ifc4x3_rc2::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1255], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelDefinesByTemplate> Ifc4x3_rc2::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[952], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelDefinesByProperties> Ifc4x3_rc2::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[951], 5)); } +std::vector<::Ifc4x3_rc2::IfcTypeObject> Ifc4x3_rc2::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1255], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelDefinesByTemplate> Ifc4x3_rc2::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[952], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelDefinesByProperties> Ifc4x3_rc2::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[951], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[847]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[847]); } void Ifc4x3_rc2::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3_rc2::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc2::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_rc2::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc2::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > Ifc4x3_rc2::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc2::IfcPropertyTemplate>(es); } void Ifc4x3_rc2::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_rc2::IfcRelDefinesByTemplate> Ifc4x3_rc2::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[952], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelDefinesByTemplate> Ifc4x3_rc2::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[952], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[850]); } -void Ifc4x3_rc2::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc2::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[850]); } +void Ifc4x3_rc2::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x3_rc2::IfcValue Ifc4x3_rc2::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc2::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcValue>(); } @@ -13295,7 +13295,7 @@ void Ifc4x3_rc2::IfcPropertySingleValue::setNominalValue(const ::Ifc4x3_rc2::Ifc void Ifc4x3_rc2::IfcPropertySingleValue::setUnit(const ::Ifc4x3_rc2::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[852]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[852]); } void Ifc4x3_rc2::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcValue v3_NominalValue, ::Ifc4x3_rc2::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -13310,83 +13310,83 @@ void Ifc4x3_rc2::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x3_rc2::IfcU ::Ifc4x3_rc2::IfcUnit Ifc4x3_rc2::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc2::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcUnit>(); } void Ifc4x3_rc2::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x3_rc2::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc2::IfcCurveInterpolationEnum::Value > Ifc4x3_rc2::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_rc2::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc2::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_rc2::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[853]); } -void Ifc4x3_rc2::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc2::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc2::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[853]); } +void Ifc4x3_rc2::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc2::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc2::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x3_rc2::IfcComplexPropertyTemplate> Ifc4x3_rc2::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[200], 6)); } -std::vector<::Ifc4x3_rc2::IfcPropertySetTemplate> Ifc4x3_rc2::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[850], 6)); } +std::vector<::Ifc4x3_rc2::IfcComplexPropertyTemplate> Ifc4x3_rc2::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[200], 6)); } +std::vector<::Ifc4x3_rc2::IfcPropertySetTemplate> Ifc4x3_rc2::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[850], 6)); } -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[854]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[854]); } void Ifc4x3_rc2::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x3_rc2::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[855]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[855]); } void Ifc4x3_rc2::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3_rc2::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[856]); } -void Ifc4x3_rc2::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[856]); } +void Ifc4x3_rc2::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[857]); } -void Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[857]); } +void Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[858]); } -void Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[858]); } +void Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_rc2::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[860]); } -void Ifc4x3_rc2::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[860]); } +void Ifc4x3_rc2::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProxy ::Ifc4x3_rc2::IfcObjectTypeEnum::Value Ifc4x3_rc2::IfcProxy::ProxyType() const { return ::Ifc4x3_rc2::IfcObjectTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcProxy::setProxyType(const ::Ifc4x3_rc2::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcProxy::setProxyType(const ::Ifc4x3_rc2::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_rc2::IfcProxy::Tag() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcProxy::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcProxy::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[862]); } -void Ifc4x3_rc2::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[862]); } +void Ifc4x3_rc2::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } // Function implementations for IfcPump std::optional< ::Ifc4x3_rc2::IfcPumpTypeEnum::Value > Ifc4x3_rc2::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcPump::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[863]); } -void Ifc4x3_rc2::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[863]); } +void Ifc4x3_rc2::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x3_rc2::IfcPumpTypeEnum::Value Ifc4x3_rc2::IfcPumpType::PredefinedType() const { return ::Ifc4x3_rc2::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcPumpType::setPredefinedType(const ::Ifc4x3_rc2::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcPumpType::setPredefinedType(const ::Ifc4x3_rc2::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[864]); } -void Ifc4x3_rc2::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[864]); } +void Ifc4x3_rc2::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x3_rc2::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -13395,7 +13395,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcQuantityArea::Formula() const { if(g void Ifc4x3_rc2::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[866]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[866]); } void Ifc4x3_rc2::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -13405,7 +13405,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcQuantityCount::Formula() const { if( void Ifc4x3_rc2::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[867]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[867]); } void Ifc4x3_rc2::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -13415,13 +13415,13 @@ std::optional< std::string > Ifc4x3_rc2::IfcQuantityLength::Formula() const { if void Ifc4x3_rc2::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[868]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[868]); } void Ifc4x3_rc2::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x3_rc2::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[869]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[869]); } void Ifc4x3_rc2::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -13431,7 +13431,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcQuantityTime::Formula() const { if(g void Ifc4x3_rc2::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[870]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[870]); } void Ifc4x3_rc2::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -13441,7 +13441,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcQuantityVolume::Formula() const { if void Ifc4x3_rc2::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[871]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[871]); } void Ifc4x3_rc2::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -13451,94 +13451,94 @@ std::optional< std::string > Ifc4x3_rc2::IfcQuantityWeight::Formula() const { if void Ifc4x3_rc2::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[872]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[872]); } void Ifc4x3_rc2::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRail std::optional< ::Ifc4x3_rc2::IfcRailTypeEnum::Value > Ifc4x3_rc2::IfcRail::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcRailTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRail::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[874]); } -void Ifc4x3_rc2::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRail::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[874]); } +void Ifc4x3_rc2::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailType ::Ifc4x3_rc2::IfcRailTypeEnum::Value Ifc4x3_rc2::IfcRailType::PredefinedType() const { return ::Ifc4x3_rc2::IfcRailTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcRailType::setPredefinedType(const ::Ifc4x3_rc2::IfcRailTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcRailType::setPredefinedType(const ::Ifc4x3_rc2::IfcRailTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcRailType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[878]); } -void Ifc4x3_rc2::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRailType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[878]); } +void Ifc4x3_rc2::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailing std::optional< ::Ifc4x3_rc2::IfcRailingTypeEnum::Value > Ifc4x3_rc2::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[875]); } -void Ifc4x3_rc2::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[875]); } +void Ifc4x3_rc2::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x3_rc2::IfcRailingTypeEnum::Value Ifc4x3_rc2::IfcRailingType::PredefinedType() const { return ::Ifc4x3_rc2::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcRailingType::setPredefinedType(const ::Ifc4x3_rc2::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcRailingType::setPredefinedType(const ::Ifc4x3_rc2::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[876]); } -void Ifc4x3_rc2::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[876]); } +void Ifc4x3_rc2::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailway -const IfcParse::entity& Ifc4x3_rc2::IfcRailway::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[880]); } -void Ifc4x3_rc2::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRailway::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[880]); } +void Ifc4x3_rc2::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcRamp std::optional< ::Ifc4x3_rc2::IfcRampTypeEnum::Value > Ifc4x3_rc2::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[882]); } -void Ifc4x3_rc2::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[882]); } +void Ifc4x3_rc2::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value > Ifc4x3_rc2::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[883]); } -void Ifc4x3_rc2::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[883]); } +void Ifc4x3_rc2::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value Ifc4x3_rc2::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3_rc2::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[884]); } -void Ifc4x3_rc2::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[884]); } +void Ifc4x3_rc2::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x3_rc2::IfcRampTypeEnum::Value Ifc4x3_rc2::IfcRampType::PredefinedType() const { return ::Ifc4x3_rc2::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcRampType::setPredefinedType(const ::Ifc4x3_rc2::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcRampType::setPredefinedType(const ::Ifc4x3_rc2::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[886]); } -void Ifc4x3_rc2::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[886]); } +void Ifc4x3_rc2::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[889]); } -void Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::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_rc2::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[889]); } +void Ifc4x3_rc2::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::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, (enumeration_reference(&::Ifc4x3_rc2::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[890]); } -void Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc2::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_rc2::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[890]); } +void Ifc4x3_rc2::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc2::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, (enumeration_reference(&::Ifc4x3_rc2::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_rc2::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13549,8 +13549,8 @@ std::optional< double > Ifc4x3_rc2::IfcRectangleHollowProfileDef::OuterFilletRad void Ifc4x3_rc2::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[892]); } -void Ifc4x3_rc2::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[892]); } +void Ifc4x3_rc2::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x3_rc2::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -13559,8 +13559,8 @@ double Ifc4x3_rc2::IfcRectangleProfileDef::YDim() const { double v = get_attrib void Ifc4x3_rc2::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[893]); } -void Ifc4x3_rc2::IfcRectangleProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[893]); } +void Ifc4x3_rc2::IfcRectangleProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x3_rc2::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -13571,7 +13571,7 @@ double Ifc4x3_rc2::IfcRectangularPyramid::Height() const { double v = get_attri void Ifc4x3_rc2::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[894]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[894]); } void Ifc4x3_rc2::IfcRectangularPyramid::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -13591,12 +13591,12 @@ bool Ifc4x3_rc2::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_at void Ifc4x3_rc2::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[895]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[895]); } void Ifc4x3_rc2::IfcRectangularTrimmedSurface::initialize(::Ifc4x3_rc2::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value Ifc4x3_rc2::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x3_rc2::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc2::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc2::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc2::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc2::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -13613,8 +13613,8 @@ std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > > Ifc4x3_rc2::IfcRecur void Ifc4x3_rc2::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[896]); } -void Ifc4x3_rc2::IfcRecurrencePattern::initialize(::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[896]); } +void Ifc4x3_rc2::IfcRecurrencePattern::initialize(::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x3_rc2::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -13629,18 +13629,18 @@ void Ifc4x3_rc2::IfcReference::setListPositions(const std::optional< std::vector void Ifc4x3_rc2::IfcReference::setInnerReference(const ::Ifc4x3_rc2::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcReference::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[898]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[898]); } void Ifc4x3_rc2::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc2::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x3_rc2::IfcReferentTypeEnum::Value > Ifc4x3_rc2::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc2::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< double > Ifc4x3_rc2::IfcReferent::RestartDistance() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcReferent::setRestartDistance(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[899]); } -void Ifc4x3_rc2::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc2::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[899]); } +void Ifc4x3_rc2::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc2::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } // Function implementations for IfcRegularTimeSeries double Ifc4x3_rc2::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -13649,16 +13649,16 @@ std::vector< ::Ifc4x3_rc2::IfcTimeSeriesValue > Ifc4x3_rc2::IfcRegularTimeSeries void Ifc4x3_rc2::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x3_rc2::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[902]); } -void Ifc4x3_rc2::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc2::IfcTimeSeriesValue > v10_Values) { 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_rc2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[902]); } +void Ifc4x3_rc2::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc2::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcedSoil std::optional< ::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value > Ifc4x3_rc2::IfcReinforcedSoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcReinforcedSoil::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[903]); } -void Ifc4x3_rc2::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReinforcedSoil::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[903]); } +void Ifc4x3_rc2::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcReinforcementBarProperties double Ifc4x3_rc2::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -13666,7 +13666,7 @@ void Ifc4x3_rc2::IfcReinforcementBarProperties::setTotalCrossSectionArea(const d std::string Ifc4x3_rc2::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc2::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc2::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc2::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x3_rc2::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_rc2::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x3_rc2::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -13675,8 +13675,8 @@ std::optional< double > Ifc4x3_rc2::IfcReinforcementBarProperties::BarCount() co void Ifc4x3_rc2::IfcReinforcementBarProperties::setBarCount(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc2::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[905]); } -void Ifc4x3_rc2::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[905]); } +void Ifc4x3_rc2::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x3_rc2::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13685,7 +13685,7 @@ std::vector< ::Ifc4x3_rc2::IfcSectionReinforcementProperties > Ifc4x3_rc2::IfcRe void Ifc4x3_rc2::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_rc2::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[906]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[906]); } void Ifc4x3_rc2::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_rc2::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -13696,17 +13696,17 @@ void Ifc4x3_rc2::IfcReinforcingBar::setCrossSectionArea(const std::optional< dou std::optional< double > Ifc4x3_rc2::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc2::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value > Ifc4x3_rc2::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc2::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc2::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc2::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc2::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc2::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc2::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[907]); } -void Ifc4x3_rc2::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[907]); } +void Ifc4x3_rc2::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value Ifc4x3_rc2::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc2::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc2::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13714,28 +13714,28 @@ void Ifc4x3_rc2::IfcReinforcingBarType::setCrossSectionArea(const std::optional< std::optional< double > Ifc4x3_rc2::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x3_rc2::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc2::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc2::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc2::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x3_rc2::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_rc2::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > Ifc4x3_rc2::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x3_rc2::IfcBendingParameterSelect>(es); } void Ifc4x3_rc2::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_rc2::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[910]); } -void Ifc4x3_rc2::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::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_rc2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[910]); } +void Ifc4x3_rc2::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::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, (enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x3_rc2::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[912]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[912]); } void Ifc4x3_rc2::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x3_rc2::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[913]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[913]); } void Ifc4x3_rc2::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -13756,15 +13756,15 @@ void Ifc4x3_rc2::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::option std::optional< double > Ifc4x3_rc2::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x3_rc2::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value > Ifc4x3_rc2::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x3_rc2::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x3_rc2::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_rc2::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[914]); } -void Ifc4x3_rc2::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[914]); } +void Ifc4x3_rc2::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value Ifc4x3_rc2::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc2::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc2::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13787,8 +13787,8 @@ std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > Ifc4x3_r void Ifc4x3_rc2::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_rc2::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[915]); } -void Ifc4x3_rc2::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[915]); } +void Ifc4x3_rc2::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAggregates ::Ifc4x3_rc2::IfcObjectDefinition Ifc4x3_rc2::IfcRelAggregates::RelatingObject() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcObjectDefinition>(); } @@ -13797,18 +13797,18 @@ std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > Ifc4x3_rc2::IfcRelAggregates::R void Ifc4x3_rc2::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x3_rc2::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[917]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[917]); } void Ifc4x3_rc2::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > Ifc4x3_rc2::IfcRelAssigns::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc2::IfcObjectDefinition>(es); } void Ifc4x3_rc2::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc4x3_rc2::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > Ifc4x3_rc2::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcObjectTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc2::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[918]); } -void Ifc4x3_rc2::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[918]); } +void Ifc4x3_rc2::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } // Function implementations for IfcRelAssignsToActor ::Ifc4x3_rc2::IfcActor Ifc4x3_rc2::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcActor>(); } @@ -13817,32 +13817,32 @@ void Ifc4x3_rc2::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x3_rc2::IfcA void Ifc4x3_rc2::IfcRelAssignsToActor::setActingRole(const ::Ifc4x3_rc2::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[919]); } -void Ifc4x3_rc2::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcActor v7_RelatingActor, ::Ifc4x3_rc2::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[919]); } +void Ifc4x3_rc2::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcActor v7_RelatingActor, ::Ifc4x3_rc2::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl ::Ifc4x3_rc2::IfcControl Ifc4x3_rc2::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcControl>(); } void Ifc4x3_rc2::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x3_rc2::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[920]); } -void Ifc4x3_rc2::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[920]); } +void Ifc4x3_rc2::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup ::Ifc4x3_rc2::IfcGroup Ifc4x3_rc2::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcGroup>(); } void Ifc4x3_rc2::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x3_rc2::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[921]); } -void Ifc4x3_rc2::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[921]); } +void Ifc4x3_rc2::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor double Ifc4x3_rc2::IfcRelAssignsToGroupByFactor::Factor() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[922]); } -void Ifc4x3_rc2::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[922]); } +void Ifc4x3_rc2::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess ::Ifc4x3_rc2::IfcProcessSelect Ifc4x3_rc2::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcProcessSelect>(); } @@ -13851,31 +13851,31 @@ void Ifc4x3_rc2::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x3_rc2:: void Ifc4x3_rc2::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x3_rc2::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[923]); } -void Ifc4x3_rc2::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc2::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[923]); } +void Ifc4x3_rc2::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc2::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct ::Ifc4x3_rc2::IfcProductSelect Ifc4x3_rc2::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcProductSelect>(); } void Ifc4x3_rc2::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x3_rc2::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[924]); } -void Ifc4x3_rc2::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[924]); } +void Ifc4x3_rc2::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource ::Ifc4x3_rc2::IfcResourceSelect Ifc4x3_rc2::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcResourceSelect>(); } void Ifc4x3_rc2::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x3_rc2::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[925]); } -void Ifc4x3_rc2::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[925]); } +void Ifc4x3_rc2::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > Ifc4x3_rc2::IfcRelAssociates::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc2::IfcDefinitionSelect>(es); } void Ifc4x3_rc2::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[926]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[926]); } void Ifc4x3_rc2::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -13883,7 +13883,7 @@ void Ifc4x3_rc2::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_ void Ifc4x3_rc2::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x3_rc2::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[927]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[927]); } void Ifc4x3_rc2::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -13891,7 +13891,7 @@ void Ifc4x3_rc2::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, : void Ifc4x3_rc2::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x3_rc2::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[928]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[928]); } void Ifc4x3_rc2::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -13901,7 +13901,7 @@ void Ifc4x3_rc2::IfcRelAssociatesConstraint::setIntent(const std::optional< std: void Ifc4x3_rc2::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x3_rc2::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[929]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[929]); } void Ifc4x3_rc2::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_rc2::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -13909,7 +13909,7 @@ void Ifc4x3_rc2::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, void Ifc4x3_rc2::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x3_rc2::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[930]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[930]); } void Ifc4x3_rc2::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -13917,7 +13917,7 @@ void Ifc4x3_rc2::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, : void Ifc4x3_rc2::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x3_rc2::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[931]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[931]); } void Ifc4x3_rc2::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -13925,7 +13925,7 @@ void Ifc4x3_rc2::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, :: void Ifc4x3_rc2::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x3_rc2::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[932]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[932]); } void Ifc4x3_rc2::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelAssociatesProfileDef @@ -13933,13 +13933,13 @@ void Ifc4x3_rc2::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, : void Ifc4x3_rc2::IfcRelAssociatesProfileDef::setRelatingProfileDef(const ::Ifc4x3_rc2::IfcProfileDef& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelAssociatesProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[933]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelAssociatesProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[933]); } void Ifc4x3_rc2::IfcRelAssociatesProfileDef::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcProfileDef v6_RelatingProfileDef) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileDef)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x3_rc2::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[935]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[935]); } void Ifc4x3_rc2::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -13951,7 +13951,7 @@ void Ifc4x3_rc2::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x3_rc2:: void Ifc4x3_rc2::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x3_rc2::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[936]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[936]); } void Ifc4x3_rc2::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc2::IfcElement v6_RelatingElement, ::Ifc4x3_rc2::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -13960,13 +13960,13 @@ void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatingPriorities(const std::ve std::vector< int > /*[0:?]*/ Ifc4x3_rc2::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value Ifc4x3_rc2::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x3_rc2::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value Ifc4x3_rc2::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x3_rc2::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc2::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[937]); } -void Ifc4x3_rc2::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc2::IfcElement v6_RelatingElement, ::Ifc4x3_rc2::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[937]); } +void Ifc4x3_rc2::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc2::IfcElement v6_RelatingElement, ::Ifc4x3_rc2::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_rc2::IfcPort Ifc4x3_rc2::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcPort>(); } @@ -13975,7 +13975,7 @@ void Ifc4x3_rc2::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x3_rc2 void Ifc4x3_rc2::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x3_rc2::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[939]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[939]); } void Ifc4x3_rc2::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcPort v5_RelatingPort, ::Ifc4x3_rc2::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -13987,7 +13987,7 @@ void Ifc4x3_rc2::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x3_rc2::IfcPort void Ifc4x3_rc2::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x3_rc2::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[938]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[938]); } void Ifc4x3_rc2::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcPort v5_RelatingPort, ::Ifc4x3_rc2::IfcPort v6_RelatedPort, ::Ifc4x3_rc2::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -13997,7 +13997,7 @@ void Ifc4x3_rc2::IfcRelConnectsStructuralActivity::setRelatingElement(const ::If void Ifc4x3_rc2::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x3_rc2::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[940]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[940]); } void Ifc4x3_rc2::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_rc2::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -14015,7 +14015,7 @@ void Ifc4x3_rc2::IfcRelConnectsStructuralMember::setSupportedLength(const std::o void Ifc4x3_rc2::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[941]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[941]); } void Ifc4x3_rc2::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc2::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc2::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc2::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc2::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -14023,7 +14023,7 @@ void Ifc4x3_rc2::IfcRelConnectsStructuralMember::initialize(std::string v1_Globa void Ifc4x3_rc2::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x3_rc2::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[942]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[942]); } void Ifc4x3_rc2::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc2::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc2::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc2::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc2::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_rc2::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -14033,7 +14033,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcRelConnectsWithRealizingElements::Co void Ifc4x3_rc2::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[943]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[943]); } void Ifc4x3_rc2::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc2::IfcElement v6_RelatingElement, ::Ifc4x3_rc2::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_rc2::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -14043,7 +14043,7 @@ void Ifc4x3_rc2::IfcRelContainedInSpatialStructure::setRelatedElements(const std void Ifc4x3_rc2::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_rc2::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[944]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[944]); } void Ifc4x3_rc2::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcProduct > v5_RelatedElements, ::Ifc4x3_rc2::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -14053,7 +14053,7 @@ std::vector< ::Ifc4x3_rc2::IfcCovering > Ifc4x3_rc2::IfcRelCoversBldgElements::R void Ifc4x3_rc2::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x3_rc2::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[945]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[945]); } void Ifc4x3_rc2::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_rc2::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -14063,7 +14063,7 @@ std::vector< ::Ifc4x3_rc2::IfcCovering > Ifc4x3_rc2::IfcRelCoversSpaces::Related void Ifc4x3_rc2::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x3_rc2::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[946]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[946]); } void Ifc4x3_rc2::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_rc2::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -14073,19 +14073,19 @@ std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > Ifc4x3_rc2::IfcRelDeclares::Rel void Ifc4x3_rc2::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[947]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[947]); } void Ifc4x3_rc2::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x3_rc2::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[948]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[948]); } void Ifc4x3_rc2::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x3_rc2::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[949]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[949]); } void Ifc4x3_rc2::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -14095,7 +14095,7 @@ void Ifc4x3_rc2::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::I void Ifc4x3_rc2::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x3_rc2::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[950]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[950]); } void Ifc4x3_rc2::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc2::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -14105,7 +14105,7 @@ void Ifc4x3_rc2::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< void Ifc4x3_rc2::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x3_rc2::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[951]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[951]); } void Ifc4x3_rc2::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_rc2::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -14115,7 +14115,7 @@ void Ifc4x3_rc2::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vect void Ifc4x3_rc2::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x3_rc2::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[952]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[952]); } void Ifc4x3_rc2::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_rc2::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -14125,7 +14125,7 @@ void Ifc4x3_rc2::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc void Ifc4x3_rc2::IfcRelDefinesByType::setRelatingType(const ::Ifc4x3_rc2::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[953]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[953]); } void Ifc4x3_rc2::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc2::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -14135,7 +14135,7 @@ void Ifc4x3_rc2::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x3_rc void Ifc4x3_rc2::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x3_rc2::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[954]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[954]); } void Ifc4x3_rc2::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -14145,7 +14145,7 @@ void Ifc4x3_rc2::IfcRelFlowControlElements::setRelatedControlElements(const std: void Ifc4x3_rc2::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x3_rc2::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[955]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[955]); } void Ifc4x3_rc2::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_rc2::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -14161,7 +14161,7 @@ boost::logic::tribool Ifc4x3_rc2::IfcRelInterferesElements::ImpliedOrder() const void Ifc4x3_rc2::IfcRelInterferesElements::setImpliedOrder(const boost::logic::tribool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[956]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[956]); } void Ifc4x3_rc2::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_rc2::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder)); } // Function implementations for IfcRelNests @@ -14171,7 +14171,7 @@ std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > Ifc4x3_rc2::IfcRelNests::Relate void Ifc4x3_rc2::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x3_rc2::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[957]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[957]); } void Ifc4x3_rc2::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelPositions @@ -14181,7 +14181,7 @@ std::vector< ::Ifc4x3_rc2::IfcProduct > Ifc4x3_rc2::IfcRelPositions::RelatedProd void Ifc4x3_rc2::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x3_rc2::IfcProduct >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[958]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[958]); } void Ifc4x3_rc2::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_rc2::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector(v6_RelatedProducts)); } // Function implementations for IfcRelProjectsElement @@ -14191,7 +14191,7 @@ void Ifc4x3_rc2::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x3_rc2::I void Ifc4x3_rc2::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x3_rc2::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[959]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[959]); } void Ifc4x3_rc2::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcElement v5_RelatingElement, ::Ifc4x3_rc2::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -14201,7 +14201,7 @@ void Ifc4x3_rc2::IfcRelReferencedInSpatialStructure::setRelatedElements(const st void Ifc4x3_rc2::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_rc2::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[960]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[960]); } void Ifc4x3_rc2::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_rc2::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -14212,13 +14212,13 @@ void Ifc4x3_rc2::IfcRelSequence::setRelatedProcess(const ::Ifc4x3_rc2::IfcProces ::Ifc4x3_rc2::IfcLagTime Ifc4x3_rc2::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc2::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcLagTime>(); } void Ifc4x3_rc2::IfcRelSequence::setTimeLag(const ::Ifc4x3_rc2::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc2::IfcSequenceEnum::Value > Ifc4x3_rc2::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_rc2::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc2::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_rc2::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc2::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[961]); } -void Ifc4x3_rc2::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc2::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc2::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc2::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[961]); } +void Ifc4x3_rc2::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc2::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc2::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc2::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x3_rc2::IfcSystem Ifc4x3_rc2::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcSystem>(); } @@ -14227,7 +14227,7 @@ std::vector< ::Ifc4x3_rc2::IfcSpatialElement > Ifc4x3_rc2::IfcRelServicesBuildin void Ifc4x3_rc2::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x3_rc2::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[962]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[962]); } void Ifc4x3_rc2::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_rc2::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -14238,31 +14238,31 @@ void Ifc4x3_rc2::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x3_r ::Ifc4x3_rc2::IfcConnectionGeometry Ifc4x3_rc2::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc2::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcConnectionGeometry>(); } void Ifc4x3_rc2::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x3_rc2::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value Ifc4x3_rc2::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value Ifc4x3_rc2::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x3_rc2::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc2::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[963]); } -void Ifc4x3_rc2::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[963]); } +void Ifc4x3_rc2::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel> Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[964], 9)); } +std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel> Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[964], 9)); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[964]); } -void Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[964]); } +void Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel> Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[965], 10)); } +std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel> Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[965], 10)); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[965]); } -void Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[965]); } +void Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x3_rc2::IfcElement Ifc4x3_rc2::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcElement>(); } @@ -14271,13 +14271,13 @@ void Ifc4x3_rc2::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x3_r void Ifc4x3_rc2::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x3_rc2::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[966]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[966]); } void Ifc4x3_rc2::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_rc2::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x3_rc2::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[934]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[934]); } void Ifc4x3_rc2::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -14285,8 +14285,8 @@ double Ifc4x3_rc2::IfcReparametrisedCompositeCurveSegment::ParamLength() const { void Ifc4x3_rc2::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[967]); } -void Ifc4x3_rc2::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc2::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[967]); } +void Ifc4x3_rc2::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc2::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x3_rc2::IfcRepresentationContext Ifc4x3_rc2::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcRepresentationContext>(); } @@ -14298,11 +14298,11 @@ void Ifc4x3_rc2::IfcRepresentation::setRepresentationType(const std::optional< s std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > Ifc4x3_rc2::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_rc2::IfcRepresentationItem>(es); } void Ifc4x3_rc2::IfcRepresentation::setItems(const std::vector< ::Ifc4x3_rc2::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_rc2::IfcRepresentationMap> Ifc4x3_rc2::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[971], 1)); } -std::vector<::Ifc4x3_rc2::IfcPresentationLayerAssignment> Ifc4x3_rc2::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[810], 2)); } -std::vector<::Ifc4x3_rc2::IfcProductRepresentation> Ifc4x3_rc2::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[823], 2)); } +std::vector<::Ifc4x3_rc2::IfcRepresentationMap> Ifc4x3_rc2::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[971], 1)); } +std::vector<::Ifc4x3_rc2::IfcPresentationLayerAssignment> Ifc4x3_rc2::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[810], 2)); } +std::vector<::Ifc4x3_rc2::IfcProductRepresentation> Ifc4x3_rc2::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[823], 2)); } -const IfcParse::entity& Ifc4x3_rc2::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[968]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[968]); } void Ifc4x3_rc2::IfcRepresentation::initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -14311,17 +14311,17 @@ void Ifc4x3_rc2::IfcRepresentationContext::setContextIdentifier(const std::optio std::optional< std::string > Ifc4x3_rc2::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc2::IfcRepresentation> Ifc4x3_rc2::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[968], 0)); } +std::vector<::Ifc4x3_rc2::IfcRepresentation> Ifc4x3_rc2::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[968], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[969]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[969]); } void Ifc4x3_rc2::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x3_rc2::IfcPresentationLayerAssignment> Ifc4x3_rc2::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[810], 2)); } -std::vector<::Ifc4x3_rc2::IfcStyledItem> Ifc4x3_rc2::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1132], 0)); } +std::vector<::Ifc4x3_rc2::IfcPresentationLayerAssignment> Ifc4x3_rc2::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[810], 2)); } +std::vector<::Ifc4x3_rc2::IfcStyledItem> Ifc4x3_rc2::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1132], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[970]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[970]); } void Ifc4x3_rc2::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -14330,10 +14330,10 @@ void Ifc4x3_rc2::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x3_rc2::IfcA ::Ifc4x3_rc2::IfcRepresentation Ifc4x3_rc2::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc2::IfcRepresentation>(); } void Ifc4x3_rc2::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x3_rc2::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_rc2::IfcShapeAspect> Ifc4x3_rc2::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1020], 4)); } -std::vector<::Ifc4x3_rc2::IfcMappedItem> Ifc4x3_rc2::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[644], 0)); } +std::vector<::Ifc4x3_rc2::IfcShapeAspect> Ifc4x3_rc2::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1020], 4)); } +std::vector<::Ifc4x3_rc2::IfcMappedItem> Ifc4x3_rc2::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[644], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[971]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[971]); } void Ifc4x3_rc2::IfcRepresentationMap::initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_rc2::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -14342,9 +14342,9 @@ void Ifc4x3_rc2::IfcResource::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_rc2::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc2::IfcRelAssignsToResource> Ifc4x3_rc2::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[925], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelAssignsToResource> Ifc4x3_rc2::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[925], 6)); } -const IfcParse::entity& Ifc4x3_rc2::IfcResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[972]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[972]); } void Ifc4x3_rc2::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -14354,7 +14354,7 @@ void Ifc4x3_rc2::IfcResourceApprovalRelationship::setRelatedResourceObjects(cons void Ifc4x3_rc2::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x3_rc2::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[973]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[973]); } void Ifc4x3_rc2::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_rc2::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -14364,7 +14364,7 @@ std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > Ifc4x3_rc2::IfcResourceCons void Ifc4x3_rc2::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[974]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[974]); } void Ifc4x3_rc2::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -14374,7 +14374,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcResourceLevelRelationship::Descripti void Ifc4x3_rc2::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc2::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[975]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[975]); } void Ifc4x3_rc2::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -14410,8 +14410,8 @@ std::optional< double > Ifc4x3_rc2::IfcResourceTime::Completion() const { if(get void Ifc4x3_rc2::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_rc2::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[978]); } -void Ifc4x3_rc2::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[978]); } +void Ifc4x3_rc2::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x3_rc2::IfcAxis1Placement Ifc4x3_rc2::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcAxis1Placement>(); } @@ -14420,7 +14420,7 @@ double Ifc4x3_rc2::IfcRevolvedAreaSolid::Angle() const { double v = get_attribu void Ifc4x3_rc2::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[979]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[979]); } void Ifc4x3_rc2::IfcRevolvedAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -14428,7 +14428,7 @@ void Ifc4x3_rc2::IfcRevolvedAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1 void Ifc4x3_rc2::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_rc2::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[980]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[980]); } void Ifc4x3_rc2::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_rc2::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -14438,7 +14438,7 @@ double Ifc4x3_rc2::IfcRightCircularCone::BottomRadius() const { double v = get_ void Ifc4x3_rc2::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[981]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[981]); } void Ifc4x3_rc2::IfcRightCircularCone::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -14448,30 +14448,30 @@ double Ifc4x3_rc2::IfcRightCircularCylinder::Radius() const { double v = get_at void Ifc4x3_rc2::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[982]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[982]); } void Ifc4x3_rc2::IfcRightCircularCylinder::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoad -const IfcParse::entity& Ifc4x3_rc2::IfcRoad::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[983]); } -void Ifc4x3_rc2::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRoad::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[983]); } +void Ifc4x3_rc2::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcRoof std::optional< ::Ifc4x3_rc2::IfcRoofTypeEnum::Value > Ifc4x3_rc2::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[986]); } -void Ifc4x3_rc2::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[986]); } +void Ifc4x3_rc2::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x3_rc2::IfcRoofTypeEnum::Value Ifc4x3_rc2::IfcRoofType::PredefinedType() const { return ::Ifc4x3_rc2::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcRoofType::setPredefinedType(const ::Ifc4x3_rc2::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcRoofType::setPredefinedType(const ::Ifc4x3_rc2::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[987]); } -void Ifc4x3_rc2::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[987]); } +void Ifc4x3_rc2::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x3_rc2::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -14484,7 +14484,7 @@ std::optional< std::string > Ifc4x3_rc2::IfcRoot::Description() const { if(get_a void Ifc4x3_rc2::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[989]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[989]); } void Ifc4x3_rc2::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -14492,64 +14492,64 @@ double Ifc4x3_rc2::IfcRoundedRectangleProfileDef::RoundingRadius() const { doub void Ifc4x3_rc2::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[994]); } -void Ifc4x3_rc2::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[994]); } +void Ifc4x3_rc2::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x3_rc2::IfcSIPrefix::Value > Ifc4x3_rc2::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x3_rc2::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_rc2::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc2::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc2::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_rc2::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc2::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x3_rc2::IfcSIUnitName::Value Ifc4x3_rc2::IfcSIUnit::Name() const { return ::Ifc4x3_rc2::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x3_rc2::IfcSIUnit::setName(const ::Ifc4x3_rc2::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc2::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc2::IfcSIUnit::setName(const ::Ifc4x3_rc2::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc2::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1038]); } -void Ifc4x3_rc2::IfcSIUnit::initialize(::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc2::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc2::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1038]); } +void Ifc4x3_rc2::IfcSIUnit::initialize(::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc2::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc2::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3_rc2::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[995]); } -void Ifc4x3_rc2::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[995]); } +void Ifc4x3_rc2::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_rc2::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[996]); } -void Ifc4x3_rc2::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[996]); } +void Ifc4x3_rc2::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x3_rc2::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc2::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > Ifc4x3_rc2::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc2::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x3_rc2::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc2::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[998]); } -void Ifc4x3_rc2::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[998]); } +void Ifc4x3_rc2::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x3_rc2::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[999]); } -void Ifc4x3_rc2::IfcSeamCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[999]); } +void Ifc4x3_rc2::IfcSeamCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSectionProperties ::Ifc4x3_rc2::IfcSectionTypeEnum::Value Ifc4x3_rc2::IfcSectionProperties::SectionType() const { return ::Ifc4x3_rc2::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc2::IfcSectionProperties::setSectionType(const ::Ifc4x3_rc2::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc2::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc2::IfcSectionProperties::setSectionType(const ::Ifc4x3_rc2::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc2::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc2::IfcProfileDef Ifc4x3_rc2::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc2::IfcProfileDef>(); } void Ifc4x3_rc2::IfcSectionProperties::setStartProfile(const ::Ifc4x3_rc2::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc2::IfcProfileDef Ifc4x3_rc2::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc2::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcProfileDef>(); } void Ifc4x3_rc2::IfcSectionProperties::setEndProfile(const ::Ifc4x3_rc2::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1006]); } -void Ifc4x3_rc2::IfcSectionProperties::initialize(::Ifc4x3_rc2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc2::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc2::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1006]); } +void Ifc4x3_rc2::IfcSectionProperties::initialize(::Ifc4x3_rc2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc2::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc2::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x3_rc2::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -14559,15 +14559,15 @@ void Ifc4x3_rc2::IfcSectionReinforcementProperties::setLongitudinalEndPosition(c std::optional< double > Ifc4x3_rc2::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_rc2::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value Ifc4x3_rc2::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc2::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc2::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc2::IfcSectionProperties Ifc4x3_rc2::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcSectionProperties>(); } void Ifc4x3_rc2::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x3_rc2::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x3_rc2::IfcReinforcementBarProperties > Ifc4x3_rc2::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_rc2::IfcReinforcementBarProperties>(es); } void Ifc4x3_rc2::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_rc2::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1007]); } -void Ifc4x3_rc2::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc2::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc2::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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_rc2::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1007]); } +void Ifc4x3_rc2::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc2::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc2::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x3_rc2::IfcCurve Ifc4x3_rc2::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcCurve>(); } @@ -14576,7 +14576,7 @@ std::vector< ::Ifc4x3_rc2::IfcProfileDef > Ifc4x3_rc2::IfcSectionedSolid::CrossS void Ifc4x3_rc2::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x3_rc2::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1001]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1001]); } void Ifc4x3_rc2::IfcSectionedSolid::initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -14586,7 +14586,7 @@ bool Ifc4x3_rc2::IfcSectionedSolidHorizontal::FixedAxisVertical() const { bool void Ifc4x3_rc2::IfcSectionedSolidHorizontal::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1002]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1002]); } void Ifc4x3_rc2::IfcSectionedSolidHorizontal::initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression > v3_CrossSectionPositions, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSectionedSpine @@ -14598,7 +14598,7 @@ std::vector< ::Ifc4x3_rc2::IfcAxis2Placement3D > Ifc4x3_rc2::IfcSectionedSpine:: void Ifc4x3_rc2::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x3_rc2::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1003]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1003]); } void Ifc4x3_rc2::IfcSectionedSpine::initialize(::Ifc4x3_rc2::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc2::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSurface @@ -14612,16 +14612,16 @@ bool Ifc4x3_rc2::IfcSectionedSurface::FixedAxisVertical() const { bool v = get_ void Ifc4x3_rc2::IfcSectionedSurface::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcSectionedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1004]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSectionedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1004]); } void Ifc4x3_rc2::IfcSectionedSurface::initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression > v2_CrossSectionPositions, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v3_CrossSections, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSectionPositions));set_attribute_value(2, cast_vector(v3_CrossSections));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSegment ::Ifc4x3_rc2::IfcTransitionCode::Value Ifc4x3_rc2::IfcSegment::Transition() const { return ::Ifc4x3_rc2::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x3_rc2::IfcSegment::setTransition(const ::Ifc4x3_rc2::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc2::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc2::IfcSegment::setTransition(const ::Ifc4x3_rc2::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc2::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1009]); } -void Ifc4x3_rc2::IfcSegment::initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcTransitionCode::Class(),(size_t)v1_Transition))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1009]); } +void Ifc4x3_rc2::IfcSegment::initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcTransitionCode::Class(),(size_t)v1_Transition))); } // Function implementations for IfcSegmentedReferenceCurve ::Ifc4x3_rc2::IfcBoundedCurve Ifc4x3_rc2::IfcSegmentedReferenceCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcBoundedCurve>(); } @@ -14632,24 +14632,24 @@ void Ifc4x3_rc2::IfcSegmentedReferenceCurve::setSegments(const std::vector< ::If void Ifc4x3_rc2::IfcSegmentedReferenceCurve::setEndPoint(const ::Ifc4x3_rc2::IfcPlacement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcSegmentedReferenceCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1010]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSegmentedReferenceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1010]); } void Ifc4x3_rc2::IfcSegmentedReferenceCurve::initialize(::Ifc4x3_rc2::IfcBoundedCurve v1_BaseCurve, std::vector< ::Ifc4x3_rc2::IfcCurveSegment > v2_Segments, ::Ifc4x3_rc2::IfcPlacement v3_EndPoint) { set_attribute_value(0, (v1_BaseCurve));set_attribute_value(1, cast_vector(v2_Segments));set_attribute_value(2, (v3_EndPoint)); } // Function implementations for IfcSensor std::optional< ::Ifc4x3_rc2::IfcSensorTypeEnum::Value > Ifc4x3_rc2::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1012]); } -void Ifc4x3_rc2::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1012]); } +void Ifc4x3_rc2::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x3_rc2::IfcSensorTypeEnum::Value Ifc4x3_rc2::IfcSensorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSensorType::setPredefinedType(const ::Ifc4x3_rc2::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSensorType::setPredefinedType(const ::Ifc4x3_rc2::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1013]); } -void Ifc4x3_rc2::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1013]); } +void Ifc4x3_rc2::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSeriesParameterCurve ::Ifc4x3_rc2::IfcPlacement Ifc4x3_rc2::IfcSeriesParameterCurve::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcPlacement>(); } @@ -14660,24 +14660,24 @@ std::vector< double > /*[2:?]*/ Ifc4x3_rc2::IfcSeriesParameterCurve::Coefficient void Ifc4x3_rc2::IfcSeriesParameterCurve::setCoefficientsY(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcSeriesParameterCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1016]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSeriesParameterCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1016]); } void Ifc4x3_rc2::IfcSeriesParameterCurve::initialize(::Ifc4x3_rc2::IfcPlacement v1_Position, std::vector< double > /*[2:?]*/ v2_CoefficientsX, std::vector< double > /*[2:?]*/ v3_CoefficientsY) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CoefficientsX));set_attribute_value(2, (v3_CoefficientsY)); } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value > Ifc4x3_rc2::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1017]); } -void Ifc4x3_rc2::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1017]); } +void Ifc4x3_rc2::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value Ifc4x3_rc2::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1018]); } -void Ifc4x3_rc2::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1018]); } +void Ifc4x3_rc2::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x3_rc2::IfcShapeModel > Ifc4x3_rc2::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcShapeModel>(es); } @@ -14691,22 +14691,22 @@ void Ifc4x3_rc2::IfcShapeAspect::setProductDefinitional(const boost::logic::trib ::Ifc4x3_rc2::IfcProductRepresentationSelect Ifc4x3_rc2::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc2::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc2::IfcProductRepresentationSelect>(); } void Ifc4x3_rc2::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x3_rc2::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1020]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1020]); } void Ifc4x3_rc2::IfcShapeAspect::initialize(std::vector< ::Ifc4x3_rc2::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_rc2::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x3_rc2::IfcShapeAspect> Ifc4x3_rc2::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1020], 0)); } +std::vector<::Ifc4x3_rc2::IfcShapeAspect> Ifc4x3_rc2::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1020], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1021]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1021]); } void Ifc4x3_rc2::IfcShapeModel::initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x3_rc2::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1022]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1022]); } void Ifc4x3_rc2::IfcShapeRepresentation::initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -14714,50 +14714,50 @@ std::vector< ::Ifc4x3_rc2::IfcShell > Ifc4x3_rc2::IfcShellBasedSurfaceModel::Sbs void Ifc4x3_rc2::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x3_rc2::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1025]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1025]); } void Ifc4x3_rc2::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_rc2::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSign std::optional< ::Ifc4x3_rc2::IfcSignTypeEnum::Value > Ifc4x3_rc2::IfcSign::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSignTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSign::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1026]); } -void Ifc4x3_rc2::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSign::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1026]); } +void Ifc4x3_rc2::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignType ::Ifc4x3_rc2::IfcSignTypeEnum::Value Ifc4x3_rc2::IfcSignType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSignTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSignType::setPredefinedType(const ::Ifc4x3_rc2::IfcSignTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSignType::setPredefinedType(const ::Ifc4x3_rc2::IfcSignTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcSignType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1030]); } -void Ifc4x3_rc2::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSignType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1030]); } +void Ifc4x3_rc2::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSignal std::optional< ::Ifc4x3_rc2::IfcSignalTypeEnum::Value > Ifc4x3_rc2::IfcSignal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSignalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSignal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1027]); } -void Ifc4x3_rc2::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSignal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1027]); } +void Ifc4x3_rc2::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignalType ::Ifc4x3_rc2::IfcSignalTypeEnum::Value Ifc4x3_rc2::IfcSignalType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSignalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSignalType::setPredefinedType(const ::Ifc4x3_rc2::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSignalType::setPredefinedType(const ::Ifc4x3_rc2::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcSignalType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1028]); } -void Ifc4x3_rc2::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSignalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1028]); } +void Ifc4x3_rc2::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x3_rc2::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1032]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1032]); } void Ifc4x3_rc2::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3_rc2::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc2::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_rc2::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc2::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc2::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -14771,11 +14771,11 @@ void Ifc4x3_rc2::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x3_rc2: std::optional< std::string > Ifc4x3_rc2::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > Ifc4x3_rc2::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc2::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1033]); } -void Ifc4x3_rc2::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc2::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc2::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc2::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc2::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1033]); } +void Ifc4x3_rc2::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc2::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc2::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc2::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc2::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSite std::optional< std::vector< int > /*[3:4]*/ > Ifc4x3_rc2::IfcSite::RefLatitude() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector< int > /*[3:4]*/ v = get_attribute_value(9); return v; } @@ -14790,36 +14790,36 @@ void Ifc4x3_rc2::IfcSite::setLandTitleNumber(const std::optional< std::string >& void Ifc4x3_rc2::IfcSite::setSiteAddress(const ::Ifc4x3_rc2::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_rc2::IfcSite::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1037]); } -void Ifc4x3_rc2::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc2::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::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)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1037]); } +void Ifc4x3_rc2::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc2::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > Ifc4x3_rc2::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1041]); } -void Ifc4x3_rc2::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1041]); } +void Ifc4x3_rc2::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabElementedCase -const IfcParse::entity& Ifc4x3_rc2::IfcSlabElementedCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1042]); } -void Ifc4x3_rc2::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSlabElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1042]); } +void Ifc4x3_rc2::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabStandardCase -const IfcParse::entity& Ifc4x3_rc2::IfcSlabStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1043]); } -void Ifc4x3_rc2::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSlabStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1043]); } +void Ifc4x3_rc2::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x3_rc2::IfcSlabTypeEnum::Value Ifc4x3_rc2::IfcSlabType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSlabType::setPredefinedType(const ::Ifc4x3_rc2::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSlabType::setPredefinedType(const ::Ifc4x3_rc2::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1044]); } -void Ifc4x3_rc2::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1044]); } +void Ifc4x3_rc2::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x3_rc2::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -14830,84 +14830,84 @@ std::optional< double > Ifc4x3_rc2::IfcSlippageConnectionCondition::SlippageZ() void Ifc4x3_rc2::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1046]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1046]); } void Ifc4x3_rc2::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value > Ifc4x3_rc2::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1047]); } -void Ifc4x3_rc2::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1047]); } +void Ifc4x3_rc2::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value Ifc4x3_rc2::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1048]); } -void Ifc4x3_rc2::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1048]); } +void Ifc4x3_rc2::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x3_rc2::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1051]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1051]); } void Ifc4x3_rc2::IfcSolidModel::initialize() { } // Function implementations for IfcSolidStratum -const IfcParse::entity& Ifc4x3_rc2::IfcSolidStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1053]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSolidStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1053]); } void Ifc4x3_rc2::IfcSolidStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcSpace std::optional< ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value > Ifc4x3_rc2::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc2::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc2::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x3_rc2::IfcRelCoversSpaces> Ifc4x3_rc2::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[946], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary> Ifc4x3_rc2::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[963], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelCoversSpaces> Ifc4x3_rc2::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[946], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelSpaceBoundary> Ifc4x3_rc2::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[963], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1058]); } -void Ifc4x3_rc2::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1058]); } +void Ifc4x3_rc2::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value > Ifc4x3_rc2::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1060]); } -void Ifc4x3_rc2::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1060]); } +void Ifc4x3_rc2::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value Ifc4x3_rc2::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1061]); } -void Ifc4x3_rc2::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1061]); } +void Ifc4x3_rc2::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value Ifc4x3_rc2::IfcSpaceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSpaceType::setPredefinedType(const ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSpaceType::setPredefinedType(const ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc2::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1063]); } -void Ifc4x3_rc2::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1063]); } +void Ifc4x3_rc2::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x3_rc2::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc2::IfcRelContainedInSpatialStructure> Ifc4x3_rc2::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[944], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelServicesBuildings> Ifc4x3_rc2::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[962], 5)); } -std::vector<::Ifc4x3_rc2::IfcRelReferencedInSpatialStructure> Ifc4x3_rc2::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[960], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelContainedInSpatialStructure> Ifc4x3_rc2::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[944], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelServicesBuildings> Ifc4x3_rc2::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[962], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelReferencedInSpatialStructure> Ifc4x3_rc2::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[960], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1065]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1065]); } void Ifc4x3_rc2::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -14915,47 +14915,47 @@ std::optional< std::string > Ifc4x3_rc2::IfcSpatialElementType::ElementType() co void Ifc4x3_rc2::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1066]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1066]); } void Ifc4x3_rc2::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > Ifc4x3_rc2::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1068]); } -void Ifc4x3_rc2::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1068]); } +void Ifc4x3_rc2::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x3_rc2::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1069]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1069]); } void Ifc4x3_rc2::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value > Ifc4x3_rc2::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1070]); } -void Ifc4x3_rc2::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1070]); } +void Ifc4x3_rc2::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value Ifc4x3_rc2::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc2::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1071]); } -void Ifc4x3_rc2::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1071]); } +void Ifc4x3_rc2::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x3_rc2::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_rc2::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1077]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1077]); } void Ifc4x3_rc2::IfcSphere::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -14963,32 +14963,32 @@ double Ifc4x3_rc2::IfcSphericalSurface::Radius() const { double v = get_attribu void Ifc4x3_rc2::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1078]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1078]); } void Ifc4x3_rc2::IfcSphericalSurface::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value > Ifc4x3_rc2::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1079]); } -void Ifc4x3_rc2::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1079]); } +void Ifc4x3_rc2::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value Ifc4x3_rc2::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1080]); } -void Ifc4x3_rc2::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1080]); } +void Ifc4x3_rc2::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x3_rc2::IfcStairTypeEnum::Value > Ifc4x3_rc2::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStair::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1082]); } -void Ifc4x3_rc2::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1082]); } +void Ifc4x3_rc2::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x3_rc2::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -15000,50 +15000,50 @@ void Ifc4x3_rc2::IfcStairFlight::setRiserHeight(const std::optional< double >& v std::optional< double > Ifc4x3_rc2::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc2::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value > Ifc4x3_rc2::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc2::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc2::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc2::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc2::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1083]); } -void Ifc4x3_rc2::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1083]); } +void Ifc4x3_rc2::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value Ifc4x3_rc2::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_rc2::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1084]); } -void Ifc4x3_rc2::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1084]); } +void Ifc4x3_rc2::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x3_rc2::IfcStairTypeEnum::Value Ifc4x3_rc2::IfcStairType::PredefinedType() const { return ::Ifc4x3_rc2::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcStairType::setPredefinedType(const ::Ifc4x3_rc2::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcStairType::setPredefinedType(const ::Ifc4x3_rc2::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1086]); } -void Ifc4x3_rc2::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1086]); } +void Ifc4x3_rc2::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x3_rc2::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1089]); } -void Ifc4x3_rc2::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1089]); } +void Ifc4x3_rc2::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x3_rc2::IfcStructuralLoad Ifc4x3_rc2::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc2::IfcStructuralLoad>(); } void Ifc4x3_rc2::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x3_rc2::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value Ifc4x3_rc2::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc2::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc2::IfcRelConnectsStructuralActivity> Ifc4x3_rc2::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[940], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsStructuralActivity> Ifc4x3_rc2::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[940], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1090]); } -void Ifc4x3_rc2::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1090]); } +void Ifc4x3_rc2::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value Ifc4x3_rc2::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc2::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc2::IfcAxis2Placement3D Ifc4x3_rc2::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc2::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcAxis2Placement3D>(); } void Ifc4x3_rc2::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_rc2::IfcStructuralLoadGroup > > Ifc4x3_rc2::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc2::IfcStructuralLoadGroup>(es); } @@ -15054,16 +15054,16 @@ void Ifc4x3_rc2::IfcStructuralAnalysisModel::setHasResults(const std::optional< void Ifc4x3_rc2::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x3_rc2::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1092]); } -void Ifc4x3_rc2::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc2::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc2::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc2::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc2::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc2::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1092]); } +void Ifc4x3_rc2::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc2::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc2::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc2::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc2::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x3_rc2::IfcBoundaryCondition Ifc4x3_rc2::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc2::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc2::IfcBoundaryCondition>(); } void Ifc4x3_rc2::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x3_rc2::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc2::IfcRelConnectsStructuralMember> Ifc4x3_rc2::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[941], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsStructuralMember> Ifc4x3_rc2::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[941], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1093]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1093]); } void Ifc4x3_rc2::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -15071,70 +15071,70 @@ std::optional< std::string > Ifc4x3_rc2::IfcStructuralConnectionCondition::Name( void Ifc4x3_rc2::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1094]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1094]); } void Ifc4x3_rc2::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_rc2::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc2::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc2::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1095]); } -void Ifc4x3_rc2::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1095]); } +void Ifc4x3_rc2::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x3_rc2::IfcDirection Ifc4x3_rc2::IfcStructuralCurveConnection::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc2::IfcDirection>(); } void Ifc4x3_rc2::IfcStructuralCurveConnection::setAxis(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1097]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1097]); } void Ifc4x3_rc2::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_rc2::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc2::IfcDirection Ifc4x3_rc2::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc2::IfcDirection>(); } void Ifc4x3_rc2::IfcStructuralCurveMember::setAxis(const ::Ifc4x3_rc2::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1098]); } -void Ifc4x3_rc2::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1098]); } +void Ifc4x3_rc2::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1100]); } -void Ifc4x3_rc2::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1100]); } +void Ifc4x3_rc2::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc2::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc2::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1101]); } -void Ifc4x3_rc2::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1101]); } +void Ifc4x3_rc2::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x3_rc2::IfcRelConnectsStructuralActivity> Ifc4x3_rc2::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[940], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsStructuralActivity> Ifc4x3_rc2::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[940], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1102]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1102]); } void Ifc4x3_rc2::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1103]); } -void Ifc4x3_rc2::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1103]); } +void Ifc4x3_rc2::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x3_rc2::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc2::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1104]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1104]); } void Ifc4x3_rc2::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -15142,8 +15142,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x3_rc2::IfcStructuralLoadCa void Ifc4x3_rc2::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1105]); } -void Ifc4x3_rc2::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1105]); } +void Ifc4x3_rc2::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x3_rc2::IfcStructuralLoadOrResult > Ifc4x3_rc2::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc2::IfcStructuralLoadOrResult>(es); } @@ -15152,26 +15152,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_rc2::IfcStructuralL void Ifc4x3_rc2::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1106]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1106]); } void Ifc4x3_rc2::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc2::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value Ifc4x3_rc2::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc2::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc2::IfcActionTypeEnum::Value Ifc4x3_rc2::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x3_rc2::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc2::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_rc2::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc2::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x3_rc2::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_rc2::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc2::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc2::IfcActionSourceTypeEnum::Value Ifc4x3_rc2::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x3_rc2::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_rc2::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_rc2::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_rc2::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_rc2::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_rc2::IfcStructuralResultGroup> Ifc4x3_rc2::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1123], 6)); } -std::vector<::Ifc4x3_rc2::IfcStructuralAnalysisModel> Ifc4x3_rc2::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1092], 7)); } +std::vector<::Ifc4x3_rc2::IfcStructuralResultGroup> Ifc4x3_rc2::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1123], 6)); } +std::vector<::Ifc4x3_rc2::IfcStructuralAnalysisModel> Ifc4x3_rc2::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1092], 7)); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1107]); } -void Ifc4x3_rc2::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1107]); } +void Ifc4x3_rc2::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc2::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x3_rc2::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -15188,13 +15188,13 @@ std::optional< double > Ifc4x3_rc2::IfcStructuralLoadLinearForce::LinearMomentZ( void Ifc4x3_rc2::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1108]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1108]); } void Ifc4x3_rc2::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1109]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1109]); } void Ifc4x3_rc2::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -15206,7 +15206,7 @@ std::optional< double > Ifc4x3_rc2::IfcStructuralLoadPlanarForce::PlanarForceZ() void Ifc4x3_rc2::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1110]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1110]); } void Ifc4x3_rc2::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -15224,7 +15224,7 @@ std::optional< double > Ifc4x3_rc2::IfcStructuralLoadSingleDisplacement::Rotatio void Ifc4x3_rc2::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1111]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1111]); } void Ifc4x3_rc2::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -15232,7 +15232,7 @@ std::optional< double > Ifc4x3_rc2::IfcStructuralLoadSingleDisplacementDistortio void Ifc4x3_rc2::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1112]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1112]); } void Ifc4x3_rc2::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -15250,7 +15250,7 @@ std::optional< double > Ifc4x3_rc2::IfcStructuralLoadSingleForce::MomentZ() cons void Ifc4x3_rc2::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1113]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1113]); } void Ifc4x3_rc2::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -15258,13 +15258,13 @@ std::optional< double > Ifc4x3_rc2::IfcStructuralLoadSingleForceWarping::Warping void Ifc4x3_rc2::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1114]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1114]); } void Ifc4x3_rc2::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1115]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1115]); } void Ifc4x3_rc2::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -15276,105 +15276,105 @@ std::optional< double > Ifc4x3_rc2::IfcStructuralLoadTemperature::DeltaTZ() cons void Ifc4x3_rc2::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1116]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1116]); } void Ifc4x3_rc2::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x3_rc2::IfcRelConnectsStructuralMember> Ifc4x3_rc2::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[941], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelConnectsStructuralMember> Ifc4x3_rc2::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[941], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1117]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1117]); } void Ifc4x3_rc2::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1118]); } -void Ifc4x3_rc2::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1118]); } +void Ifc4x3_rc2::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1119]); } -void Ifc4x3_rc2::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1119]); } +void Ifc4x3_rc2::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x3_rc2::IfcAxis2Placement3D Ifc4x3_rc2::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc2::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc2::IfcAxis2Placement3D>(); } void Ifc4x3_rc2::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1120]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1120]); } void Ifc4x3_rc2::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc2::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1121]); } -void Ifc4x3_rc2::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1121]); } +void Ifc4x3_rc2::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1122]); } -void Ifc4x3_rc2::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1122]); } +void Ifc4x3_rc2::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_rc2::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc2::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc2::IfcStructuralLoadGroup Ifc4x3_rc2::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc2::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc2::IfcStructuralLoadGroup>(); } void Ifc4x3_rc2::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x3_rc2::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x3_rc2::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc2::IfcStructuralAnalysisModel> Ifc4x3_rc2::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1092], 8)); } +std::vector<::Ifc4x3_rc2::IfcStructuralAnalysisModel> Ifc4x3_rc2::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1092], 8)); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1123]); } -void Ifc4x3_rc2::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc2::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc2::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1123]); } +void Ifc4x3_rc2::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc2::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_rc2::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc2::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc2::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1124]); } -void Ifc4x3_rc2::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1124]); } +void Ifc4x3_rc2::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1126]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1126]); } void Ifc4x3_rc2::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_rc2::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_rc2::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1127]); } -void Ifc4x3_rc2::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1127]); } +void Ifc4x3_rc2::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1129]); } -void Ifc4x3_rc2::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1129]); } +void Ifc4x3_rc2::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc2::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1130]); } -void Ifc4x3_rc2::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1130]); } +void Ifc4x3_rc2::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x3_rc2::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1134]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1134]); } void Ifc4x3_rc2::IfcStyleModel::initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -15386,43 +15386,43 @@ std::optional< std::string > Ifc4x3_rc2::IfcStyledItem::Name() const { if(get_at void Ifc4x3_rc2::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1132]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1132]); } void Ifc4x3_rc2::IfcStyledItem::initialize(::Ifc4x3_rc2::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_rc2::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x3_rc2::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1133]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1133]); } void Ifc4x3_rc2::IfcStyledRepresentation::initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value > Ifc4x3_rc2::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1135]); } -void Ifc4x3_rc2::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1135]); } +void Ifc4x3_rc2::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value Ifc4x3_rc2::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc2::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1136]); } -void Ifc4x3_rc2::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1136]); } +void Ifc4x3_rc2::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x3_rc2::IfcEdge Ifc4x3_rc2::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcEdge>(); } void Ifc4x3_rc2::IfcSubedge::setParentEdge(const ::Ifc4x3_rc2::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1138]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1138]); } void Ifc4x3_rc2::IfcSubedge::initialize(::Ifc4x3_rc2::IfcVertex v1_EdgeStart, ::Ifc4x3_rc2::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc2::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x3_rc2::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1139]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1139]); } void Ifc4x3_rc2::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -15431,27 +15431,27 @@ void Ifc4x3_rc2::IfcSurfaceCurve::setCurve3D(const ::Ifc4x3_rc2::IfcCurve& v) { std::vector< ::Ifc4x3_rc2::IfcPcurve > Ifc4x3_rc2::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc2::IfcPcurve>(es); } void Ifc4x3_rc2::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x3_rc2::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_rc2::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x3_rc2::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc2::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1140]); } -void Ifc4x3_rc2::IfcSurfaceCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1140]); } +void Ifc4x3_rc2::IfcSurfaceCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x3_rc2::IfcSurface Ifc4x3_rc2::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc2::IfcSurface>(); } void Ifc4x3_rc2::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x3_rc2::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1141]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1141]); } void Ifc4x3_rc2::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc2::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc2::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3_rc2::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1142]); } -void Ifc4x3_rc2::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1142]); } +void Ifc4x3_rc2::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x3_rc2::IfcDirection Ifc4x3_rc2::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc2::IfcDirection>(); } @@ -15460,7 +15460,7 @@ double Ifc4x3_rc2::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_ void Ifc4x3_rc2::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1144]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1144]); } void Ifc4x3_rc2::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -15468,7 +15468,7 @@ void Ifc4x3_rc2::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_rc2::IfcProfil void Ifc4x3_rc2::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x3_rc2::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1145]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1145]); } void Ifc4x3_rc2::IfcSurfaceOfRevolution::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -15480,18 +15480,18 @@ std::optional< double > Ifc4x3_rc2::IfcSurfaceReinforcementArea::ShearReinforcem void Ifc4x3_rc2::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1147]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1147]); } void Ifc4x3_rc2::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x3_rc2::IfcSurfaceSide::Value Ifc4x3_rc2::IfcSurfaceStyle::Side() const { return ::Ifc4x3_rc2::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x3_rc2::IfcSurfaceStyle::setSide(const ::Ifc4x3_rc2::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc2::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc2::IfcSurfaceStyle::setSide(const ::Ifc4x3_rc2::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc2::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x3_rc2::IfcSurfaceStyleElementSelect > Ifc4x3_rc2::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc2::IfcSurfaceStyleElementSelect>(es); } void Ifc4x3_rc2::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x3_rc2::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1149]); } -void Ifc4x3_rc2::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc2::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1149]); } +void Ifc4x3_rc2::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc2::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x3_rc2::IfcColourRgb Ifc4x3_rc2::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcColourRgb>(); } @@ -15504,7 +15504,7 @@ void Ifc4x3_rc2::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x3_r void Ifc4x3_rc2::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x3_rc2::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1151]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1151]); } void Ifc4x3_rc2::IfcSurfaceStyleLighting::initialize(::Ifc4x3_rc2::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_rc2::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_rc2::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_rc2::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -15514,7 +15514,7 @@ std::optional< double > Ifc4x3_rc2::IfcSurfaceStyleRefraction::DispersionFactor( void Ifc4x3_rc2::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1152]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1152]); } void Ifc4x3_rc2::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -15531,11 +15531,11 @@ void Ifc4x3_rc2::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x3_rc2: ::Ifc4x3_rc2::IfcSpecularHighlightSelect Ifc4x3_rc2::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc2::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc2::IfcSpecularHighlightSelect>(); } void Ifc4x3_rc2::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x3_rc2::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc2::IfcReflectanceMethodEnum::Value Ifc4x3_rc2::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x3_rc2::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_rc2::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc2::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_rc2::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1153]); } -void Ifc4x3_rc2::IfcSurfaceStyleRendering::initialize(::Ifc4x3_rc2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc2::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc2::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc2::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc2::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc2::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc2::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc2::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1153]); } +void Ifc4x3_rc2::IfcSurfaceStyleRendering::initialize(::Ifc4x3_rc2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc2::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc2::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc2::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc2::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc2::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc2::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc2::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x3_rc2::IfcColourRgb Ifc4x3_rc2::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcColourRgb>(); } @@ -15544,7 +15544,7 @@ std::optional< double > Ifc4x3_rc2::IfcSurfaceStyleShading::Transparency() const void Ifc4x3_rc2::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1154]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1154]); } void Ifc4x3_rc2::IfcSurfaceStyleShading::initialize(::Ifc4x3_rc2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -15552,7 +15552,7 @@ std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > Ifc4x3_rc2::IfcSurfaceStyleWithTe void Ifc4x3_rc2::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1155]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1155]); } void Ifc4x3_rc2::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -15567,10 +15567,10 @@ void Ifc4x3_rc2::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x3_rc2::IfcC std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc2::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc2::IfcTextureCoordinate> Ifc4x3_rc2::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1207], 0)); } -std::vector<::Ifc4x3_rc2::IfcSurfaceStyleWithTextures> Ifc4x3_rc2::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[1155], 0)); } +std::vector<::Ifc4x3_rc2::IfcTextureCoordinate> Ifc4x3_rc2::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1207], 0)); } +std::vector<::Ifc4x3_rc2::IfcSurfaceStyleWithTextures> Ifc4x3_rc2::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[1155], 0)); } -const IfcParse::entity& Ifc4x3_rc2::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1156]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1156]); } void Ifc4x3_rc2::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -15580,7 +15580,7 @@ void Ifc4x3_rc2::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x3_rc2::IfcProfileD void Ifc4x3_rc2::IfcSweptAreaSolid::setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1157]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1157]); } void Ifc4x3_rc2::IfcSweptAreaSolid::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -15596,7 +15596,7 @@ std::optional< double > Ifc4x3_rc2::IfcSweptDiskSolid::EndParam() const { if(get void Ifc4x3_rc2::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1158]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1158]); } void Ifc4x3_rc2::IfcSweptDiskSolid::initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -15604,7 +15604,7 @@ std::optional< double > Ifc4x3_rc2::IfcSweptDiskSolidPolygonal::FilletRadius() c void Ifc4x3_rc2::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1159]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1159]); } void Ifc4x3_rc2::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -15614,48 +15614,48 @@ void Ifc4x3_rc2::IfcSweptSurface::setSweptCurve(const ::Ifc4x3_rc2::IfcProfileDe void Ifc4x3_rc2::IfcSweptSurface::setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1160]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1160]); } void Ifc4x3_rc2::IfcSweptSurface::initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3_rc2::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1161]); } -void Ifc4x3_rc2::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1161]); } +void Ifc4x3_rc2::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_rc2::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1162]); } -void Ifc4x3_rc2::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1162]); } +void Ifc4x3_rc2::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x3_rc2::IfcRelServicesBuildings> Ifc4x3_rc2::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[962], 4)); } -std::vector<::Ifc4x3_rc2::IfcRelReferencedInSpatialStructure> Ifc4x3_rc2::IfcSystem::ServicesFacilities() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[960], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelServicesBuildings> Ifc4x3_rc2::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[962], 4)); } +std::vector<::Ifc4x3_rc2::IfcRelReferencedInSpatialStructure> Ifc4x3_rc2::IfcSystem::ServicesFacilities() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[960], 4)); } -const IfcParse::entity& Ifc4x3_rc2::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1164]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1164]); } void Ifc4x3_rc2::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_rc2::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1165]); } -void Ifc4x3_rc2::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1165]); } +void Ifc4x3_rc2::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_rc2::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc2::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1166]); } -void Ifc4x3_rc2::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_rc2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1166]); } +void Ifc4x3_rc2::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x3_rc2::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -15678,8 +15678,8 @@ std::optional< double > Ifc4x3_rc2::IfcTShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc2::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1251]); } -void Ifc4x3_rc2::IfcTShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1251]); } +void Ifc4x3_rc2::IfcTShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x3_rc2::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -15690,7 +15690,7 @@ std::optional< std::vector< ::Ifc4x3_rc2::IfcTableColumn > > Ifc4x3_rc2::IfcTabl void Ifc4x3_rc2::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x3_rc2::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTable::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1168]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1168]); } void Ifc4x3_rc2::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_rc2::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_rc2::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -15706,7 +15706,7 @@ void Ifc4x3_rc2::IfcTableColumn::setUnit(const ::Ifc4x3_rc2::IfcUnit& v) { set_a void Ifc4x3_rc2::IfcTableColumn::setReferencePath(const ::Ifc4x3_rc2::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1169]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1169]); } void Ifc4x3_rc2::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_rc2::IfcUnit v4_Unit, ::Ifc4x3_rc2::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -15716,24 +15716,24 @@ std::optional< bool > Ifc4x3_rc2::IfcTableRow::IsHeading() const { if(get_attrib void Ifc4x3_rc2::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1170]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1170]); } void Ifc4x3_rc2::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x3_rc2::IfcTankTypeEnum::Value > Ifc4x3_rc2::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTank::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1171]); } -void Ifc4x3_rc2::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1171]); } +void Ifc4x3_rc2::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x3_rc2::IfcTankTypeEnum::Value Ifc4x3_rc2::IfcTankType::PredefinedType() const { return ::Ifc4x3_rc2::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTankType::setPredefinedType(const ::Ifc4x3_rc2::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcTankType::setPredefinedType(const ::Ifc4x3_rc2::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1172]); } -void Ifc4x3_rc2::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1172]); } +void Ifc4x3_rc2::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x3_rc2::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -15747,15 +15747,15 @@ void Ifc4x3_rc2::IfcTask::setPriority(const std::optional< int >& v) { if (v) {s ::Ifc4x3_rc2::IfcTaskTime Ifc4x3_rc2::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_rc2::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_rc2::IfcTaskTime>(); } void Ifc4x3_rc2::IfcTask::setTaskTime(const ::Ifc4x3_rc2::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value > Ifc4x3_rc2::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc2::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc2::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc2::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc2::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTask::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1174]); } -void Ifc4x3_rc2::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_rc2::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1174]); } +void Ifc4x3_rc2::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x3_rc2::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x3_rc2::IfcTaskDurationEnum::Value > Ifc4x3_rc2::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc2::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_rc2::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc2::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_rc2::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_rc2::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc2::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x3_rc2::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc2::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc2::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -15790,26 +15790,26 @@ std::optional< double > Ifc4x3_rc2::IfcTaskTime::Completion() const { if(get_att void Ifc4x3_rc2::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1176]); } -void Ifc4x3_rc2::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1176]); } +void Ifc4x3_rc2::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x3_rc2::IfcRecurrencePattern Ifc4x3_rc2::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x3_rc2::IfcRecurrencePattern>(); } void Ifc4x3_rc2::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x3_rc2::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x3_rc2::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1177]); } -void Ifc4x3_rc2::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc2::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc2::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)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1177]); } +void Ifc4x3_rc2::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc2::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc2::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)); } // Function implementations for IfcTaskType ::Ifc4x3_rc2::IfcTaskTypeEnum::Value Ifc4x3_rc2::IfcTaskType::PredefinedType() const { return ::Ifc4x3_rc2::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTaskType::setPredefinedType(const ::Ifc4x3_rc2::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcTaskType::setPredefinedType(const ::Ifc4x3_rc2::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc2::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1178]); } -void Ifc4x3_rc2::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc2::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc2::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1178]); } +void Ifc4x3_rc2::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc2::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc2::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc2::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -15826,12 +15826,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc2::IfcTelecomAddr void Ifc4x3_rc2::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1180]); } -void Ifc4x3_rc2::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1180]); } +void Ifc4x3_rc2::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x3_rc2::IfcTendonTypeEnum::Value > Ifc4x3_rc2::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc2::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc2::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc2::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15848,44 +15848,44 @@ std::optional< double > Ifc4x3_rc2::IfcTendon::MinCurvatureRadius() const { if(g void Ifc4x3_rc2::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1183]); } -void Ifc4x3_rc2::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc2::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1183]); } +void Ifc4x3_rc2::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc2::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value > Ifc4x3_rc2::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc2::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1184]); } -void Ifc4x3_rc2::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1184]); } +void Ifc4x3_rc2::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value Ifc4x3_rc2::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1185]); } -void Ifc4x3_rc2::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1185]); } +void Ifc4x3_rc2::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduit ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value Ifc4x3_rc2::IfcTendonConduit::PredefinedType() const { return ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1187]); } -void Ifc4x3_rc2::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1187]); } +void Ifc4x3_rc2::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduitType ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value Ifc4x3_rc2::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1188]); } -void Ifc4x3_rc2::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1188]); } +void Ifc4x3_rc2::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x3_rc2::IfcTendonTypeEnum::Value Ifc4x3_rc2::IfcTendonType::PredefinedType() const { return ::Ifc4x3_rc2::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTendonType::setPredefinedType(const ::Ifc4x3_rc2::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcTendonType::setPredefinedType(const ::Ifc4x3_rc2::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc2::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc2::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15894,23 +15894,23 @@ std::optional< double > Ifc4x3_rc2::IfcTendonType::SheathDiameter() const { if(g void Ifc4x3_rc2::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1190]); } -void Ifc4x3_rc2::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1190]); } +void Ifc4x3_rc2::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x3_rc2::IfcCartesianPointList3D Ifc4x3_rc2::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcCartesianPointList3D>(); } void Ifc4x3_rc2::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x3_rc2::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc2::IfcIndexedColourMap> Ifc4x3_rc2::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[556], 0)); } -std::vector<::Ifc4x3_rc2::IfcIndexedTextureMap> Ifc4x3_rc2::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[560], 1)); } +std::vector<::Ifc4x3_rc2::IfcIndexedColourMap> Ifc4x3_rc2::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[556], 0)); } +std::vector<::Ifc4x3_rc2::IfcIndexedTextureMap> Ifc4x3_rc2::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[560], 1)); } -const IfcParse::entity& Ifc4x3_rc2::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1192]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1192]); } void Ifc4x3_rc2::IfcTessellatedFaceSet::initialize(::Ifc4x3_rc2::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x3_rc2::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1193]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1193]); } void Ifc4x3_rc2::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -15919,11 +15919,11 @@ void Ifc4x3_rc2::IfcTextLiteral::setLiteral(const std::string& v) { set_attribut ::Ifc4x3_rc2::IfcAxis2Placement Ifc4x3_rc2::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc2::IfcAxis2Placement>(); } void Ifc4x3_rc2::IfcTextLiteral::setPlacement(const ::Ifc4x3_rc2::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc2::IfcTextPath::Value Ifc4x3_rc2::IfcTextLiteral::Path() const { return ::Ifc4x3_rc2::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x3_rc2::IfcTextLiteral::setPath(const ::Ifc4x3_rc2::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc2::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc2::IfcTextLiteral::setPath(const ::Ifc4x3_rc2::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc2::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1199]); } -void Ifc4x3_rc2::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_rc2::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc2::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1199]); } +void Ifc4x3_rc2::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_rc2::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc2::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x3_rc2::IfcPlanarExtent Ifc4x3_rc2::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc2::IfcPlanarExtent>(); } @@ -15932,8 +15932,8 @@ std::string Ifc4x3_rc2::IfcTextLiteralWithExtent::BoxAlignment() const { std::s void Ifc4x3_rc2::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1200]); } -void Ifc4x3_rc2::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_rc2::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc2::IfcTextPath::Value v3_Path, ::Ifc4x3_rc2::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc2::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1200]); } +void Ifc4x3_rc2::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_rc2::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc2::IfcTextPath::Value v3_Path, ::Ifc4x3_rc2::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc2::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x3_rc2::IfcTextStyleForDefinedFont Ifc4x3_rc2::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc2::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc2::IfcTextStyleForDefinedFont>(); } @@ -15946,7 +15946,7 @@ std::optional< bool > Ifc4x3_rc2::IfcTextStyle::ModelOrDraughting() const { if(g void Ifc4x3_rc2::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1202]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1202]); } void Ifc4x3_rc2::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_rc2::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_rc2::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -15962,7 +15962,7 @@ void Ifc4x3_rc2::IfcTextStyleFontModel::setFontWeight(const std::optional< std:: void Ifc4x3_rc2::IfcTextStyleFontModel::setFontSize(const ::Ifc4x3_rc2::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1203]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1203]); } void Ifc4x3_rc2::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_rc2::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -15972,7 +15972,7 @@ void Ifc4x3_rc2::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x3_rc2::IfcCo void Ifc4x3_rc2::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x3_rc2::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1204]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1204]); } void Ifc4x3_rc2::IfcTextStyleForDefinedFont::initialize(::Ifc4x3_rc2::IfcColour v1_Colour, ::Ifc4x3_rc2::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -15992,7 +15992,7 @@ void Ifc4x3_rc2::IfcTextStyleTextModel::setTextTransform(const std::optional< st void Ifc4x3_rc2::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x3_rc2::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1205]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1205]); } void Ifc4x3_rc2::IfcTextStyleTextModel::initialize(::Ifc4x3_rc2::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_rc2::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_rc2::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_rc2::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -16000,7 +16000,7 @@ std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > Ifc4x3_rc2::IfcTextureCoordinate: void Ifc4x3_rc2::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1207]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1207]); } void Ifc4x3_rc2::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -16010,7 +16010,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x3_rc2::IfcTextureCoordinat void Ifc4x3_rc2::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1208]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1208]); } void Ifc4x3_rc2::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureMap @@ -16020,7 +16020,7 @@ void Ifc4x3_rc2::IfcTextureMap::setVertices(const std::vector< ::Ifc4x3_rc2::Ifc void Ifc4x3_rc2::IfcTextureMap::setMappedTo(const ::Ifc4x3_rc2::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1209]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1209]); } void Ifc4x3_rc2::IfcTextureMap::initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_rc2::IfcTextureVertex > v2_Vertices, ::Ifc4x3_rc2::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -16028,7 +16028,7 @@ std::vector< double > /*[2:2]*/ Ifc4x3_rc2::IfcTextureVertex::Coordinates() cons void Ifc4x3_rc2::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1210]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1210]); } void Ifc4x3_rc2::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -16036,7 +16036,7 @@ std::vector< std::vector< double > > Ifc4x3_rc2::IfcTextureVertexList::TexCoords void Ifc4x3_rc2::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1211]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1211]); } void Ifc4x3_rc2::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcTimePeriod @@ -16046,7 +16046,7 @@ std::string Ifc4x3_rc2::IfcTimePeriod::EndTime() const { std::string v = get_at void Ifc4x3_rc2::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1221]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1221]); } void Ifc4x3_rc2::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -16059,37 +16059,37 @@ void Ifc4x3_rc2::IfcTimeSeries::setStartTime(const std::string& v) { set_attribu std::string Ifc4x3_rc2::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc2::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_rc2::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc2::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc2::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc2::IfcDataOriginEnum::Value Ifc4x3_rc2::IfcTimeSeries::DataOrigin() const { return ::Ifc4x3_rc2::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_rc2::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc2::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_rc2::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x3_rc2::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_rc2::IfcUnit Ifc4x3_rc2::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc2::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc2::IfcUnit>(); } void Ifc4x3_rc2::IfcTimeSeries::setUnit(const ::Ifc4x3_rc2::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[441], 3)); } +std::vector<::Ifc4x3_rc2::IfcExternalReferenceRelationship> Ifc4x3_rc2::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[441], 3)); } -const IfcParse::entity& Ifc4x3_rc2::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1222]); } -void Ifc4x3_rc2::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcUnit v8_Unit) { 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_rc2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1222]); } +void Ifc4x3_rc2::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x3_rc2::IfcValue > Ifc4x3_rc2::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcValue>(es); } void Ifc4x3_rc2::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_rc2::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1224]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1224]); } void Ifc4x3_rc2::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x3_rc2::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x3_rc2::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1226]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1226]); } void Ifc4x3_rc2::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x3_rc2::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1227]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1227]); } void Ifc4x3_rc2::IfcTopologyRepresentation::initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -16099,40 +16099,40 @@ double Ifc4x3_rc2::IfcToroidalSurface::MinorRadius() const { double v = get_att void Ifc4x3_rc2::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc2::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1228]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1228]); } void Ifc4x3_rc2::IfcToroidalSurface::initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTrackElement std::optional< ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value > Ifc4x3_rc2::IfcTrackElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcTrackElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTrackElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1230]); } -void Ifc4x3_rc2::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTrackElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1230]); } +void Ifc4x3_rc2::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTrackElementType ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value Ifc4x3_rc2::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3_rc2::IfcTrackElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcTrackElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1231]); } -void Ifc4x3_rc2::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTrackElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1231]); } +void Ifc4x3_rc2::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransformer std::optional< ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value > Ifc4x3_rc2::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1233]); } -void Ifc4x3_rc2::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1233]); } +void Ifc4x3_rc2::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value Ifc4x3_rc2::IfcTransformerType::PredefinedType() const { return ::Ifc4x3_rc2::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTransformerType::setPredefinedType(const ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcTransformerType::setPredefinedType(const ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1234]); } -void Ifc4x3_rc2::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1234]); } +void Ifc4x3_rc2::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransitionCurveSegment2D std::optional< double > Ifc4x3_rc2::IfcTransitionCurveSegment2D::StartRadius() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } @@ -16144,18 +16144,18 @@ void Ifc4x3_rc2::IfcTransitionCurveSegment2D::setIsStartRadiusCCW(const bool& v) bool Ifc4x3_rc2::IfcTransitionCurveSegment2D::IsEndRadiusCCW() const { bool v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcTransitionCurveSegment2D::setIsEndRadiusCCW(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc2::IfcTransitionCurveType::Value Ifc4x3_rc2::IfcTransitionCurveSegment2D::TransitionCurveType() const { return ::Ifc4x3_rc2::IfcTransitionCurveType::FromString(get_attribute_value(7)); } -void Ifc4x3_rc2::IfcTransitionCurveSegment2D::setTransitionCurveType(const ::Ifc4x3_rc2::IfcTransitionCurveType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc2::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc2::IfcTransitionCurveSegment2D::setTransitionCurveType(const ::Ifc4x3_rc2::IfcTransitionCurveType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc2::IfcTransitionCurveType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc2::IfcTransitionCurveSegment2D::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1237]); } -void Ifc4x3_rc2::IfcTransitionCurveSegment2D::initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x3_rc2::IfcTransitionCurveType::Value v8_TransitionCurveType) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); if (v4_StartRadius) {set_attribute_value(3, (*v4_StartRadius)); } if (v5_EndRadius) {set_attribute_value(4, (*v5_EndRadius)); }set_attribute_value(5, (v6_IsStartRadiusCCW));set_attribute_value(6, (v7_IsEndRadiusCCW));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc2::IfcTransitionCurveType::Class(),(size_t)v8_TransitionCurveType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTransitionCurveSegment2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1237]); } +void Ifc4x3_rc2::IfcTransitionCurveSegment2D::initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x3_rc2::IfcTransitionCurveType::Value v8_TransitionCurveType) { set_attribute_value(0, (v1_StartPoint));set_attribute_value(1, (v2_StartDirection));set_attribute_value(2, (v3_SegmentLength)); if (v4_StartRadius) {set_attribute_value(3, (*v4_StartRadius)); } if (v5_EndRadius) {set_attribute_value(4, (*v5_EndRadius)); }set_attribute_value(5, (v6_IsStartRadiusCCW));set_attribute_value(6, (v7_IsEndRadiusCCW));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc2::IfcTransitionCurveType::Class(),(size_t)v8_TransitionCurveType))); } // Function implementations for IfcTransportElement ::Ifc4x3_rc2::IfcTransportElementTypeSelect Ifc4x3_rc2::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc2::IfcTransportElementTypeSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc2::IfcTransportElementTypeSelect>(); } void Ifc4x3_rc2::IfcTransportElement::setPredefinedType(const ::Ifc4x3_rc2::IfcTransportElementTypeSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1240]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1240]); } void Ifc4x3_rc2::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcTransportElementTypeSelect v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_PredefinedType)); } // Function implementations for IfcTransportElementType @@ -16163,7 +16163,7 @@ void Ifc4x3_rc2::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4 void Ifc4x3_rc2::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcTransportElementTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1243]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1243]); } void Ifc4x3_rc2::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTransportElementTypeSelect v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_PredefinedType)); } // Function implementations for IfcTrapeziumProfileDef @@ -16177,8 +16177,8 @@ double Ifc4x3_rc2::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_ void Ifc4x3_rc2::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc2::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1245]); } -void Ifc4x3_rc2::IfcTrapeziumProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1245]); } +void Ifc4x3_rc2::IfcTrapeziumProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x3_rc2::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -16191,7 +16191,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc2::IfcTriangulatedFaceSet void Ifc4x3_rc2::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1246]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1246]); } void Ifc4x3_rc2::IfcTriangulatedFaceSet::initialize(::Ifc4x3_rc2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -16199,7 +16199,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::Flags( void Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1247]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1247]); } void Ifc4x3_rc2::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x3_rc2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); 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)); } // Function implementations for IfcTrimmedCurve @@ -16212,27 +16212,27 @@ void Ifc4x3_rc2::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x3_rc2::IfcT bool Ifc4x3_rc2::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x3_rc2::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc2::IfcTrimmingPreference::Value Ifc4x3_rc2::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x3_rc2::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x3_rc2::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_rc2::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc2::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc2::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_rc2::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc2::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc2::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1248]); } -void Ifc4x3_rc2::IfcTrimmedCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc2::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc2::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc2::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc2::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1248]); } +void Ifc4x3_rc2::IfcTrimmedCurve::initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc2::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc2::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc2::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc2::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value > Ifc4x3_rc2::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1252]); } -void Ifc4x3_rc2::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1252]); } +void Ifc4x3_rc2::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value Ifc4x3_rc2::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1253]); } -void Ifc4x3_rc2::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1253]); } +void Ifc4x3_rc2::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x3_rc2::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -16240,9 +16240,9 @@ void Ifc4x3_rc2::IfcTypeObject::setApplicableOccurrence(const std::optional< std std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > Ifc4x3_rc2::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_rc2::IfcPropertySetDefinition>(es); } void Ifc4x3_rc2::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc2::IfcRelDefinesByType> Ifc4x3_rc2::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[953], 5)); } +std::vector<::Ifc4x3_rc2::IfcRelDefinesByType> Ifc4x3_rc2::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[953], 5)); } -const IfcParse::entity& Ifc4x3_rc2::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1255]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1255]); } void Ifc4x3_rc2::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -16253,9 +16253,9 @@ void Ifc4x3_rc2::IfcTypeProcess::setLongDescription(const std::optional< std::st std::optional< std::string > Ifc4x3_rc2::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc2::IfcRelAssignsToProcess> Ifc4x3_rc2::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[923], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelAssignsToProcess> Ifc4x3_rc2::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[923], 6)); } -const IfcParse::entity& Ifc4x3_rc2::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1256]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1256]); } void Ifc4x3_rc2::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -16264,9 +16264,9 @@ void Ifc4x3_rc2::IfcTypeProduct::setRepresentationMaps(const std::optional< std: std::optional< std::string > Ifc4x3_rc2::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc2::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc2::IfcRelAssignsToProduct> Ifc4x3_rc2::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[924], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelAssignsToProduct> Ifc4x3_rc2::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[924], 6)); } -const IfcParse::entity& Ifc4x3_rc2::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1257]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1257]); } void Ifc4x3_rc2::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -16277,9 +16277,9 @@ void Ifc4x3_rc2::IfcTypeResource::setLongDescription(const std::optional< std::s std::optional< std::string > Ifc4x3_rc2::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc2::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc2::IfcRelAssignsToResource> Ifc4x3_rc2::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC2_types[925], 6)); } +std::vector<::Ifc4x3_rc2::IfcRelAssignsToResource> Ifc4x3_rc2::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC2_types[925], 6)); } -const IfcParse::entity& Ifc4x3_rc2::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1258]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1258]); } void Ifc4x3_rc2::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -16299,64 +16299,64 @@ std::optional< double > Ifc4x3_rc2::IfcUShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc2::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1269]); } -void Ifc4x3_rc2::IfcUShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1269]); } +void Ifc4x3_rc2::IfcUShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x3_rc2::IfcUnit > Ifc4x3_rc2::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc2::IfcUnit>(es); } void Ifc4x3_rc2::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x3_rc2::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1266]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1266]); } void Ifc4x3_rc2::IfcUnitAssignment::initialize(std::vector< ::Ifc4x3_rc2::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3_rc2::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1260]); } -void Ifc4x3_rc2::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1260]); } +void Ifc4x3_rc2::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_rc2::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1261]); } -void Ifc4x3_rc2::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1261]); } +void Ifc4x3_rc2::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3_rc2::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1263]); } -void Ifc4x3_rc2::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1263]); } +void Ifc4x3_rc2::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_rc2::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1264]); } -void Ifc4x3_rc2::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1264]); } +void Ifc4x3_rc2::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x3_rc2::IfcValveTypeEnum::Value > Ifc4x3_rc2::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcValve::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1271]); } -void Ifc4x3_rc2::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1271]); } +void Ifc4x3_rc2::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x3_rc2::IfcValveTypeEnum::Value Ifc4x3_rc2::IfcValveType::PredefinedType() const { return ::Ifc4x3_rc2::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcValveType::setPredefinedType(const ::Ifc4x3_rc2::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcValveType::setPredefinedType(const ::Ifc4x3_rc2::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1272]); } -void Ifc4x3_rc2::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1272]); } +void Ifc4x3_rc2::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x3_rc2::IfcDirection Ifc4x3_rc2::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc2::IfcDirection>(); } @@ -16365,13 +16365,13 @@ double Ifc4x3_rc2::IfcVector::Magnitude() const { double v = get_attribute_valu void Ifc4x3_rc2::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcVector::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1275]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1275]); } void Ifc4x3_rc2::IfcVector::initialize(::Ifc4x3_rc2::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x3_rc2::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1277]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1277]); } void Ifc4x3_rc2::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -16379,7 +16379,7 @@ void Ifc4x3_rc2::IfcVertex::initialize() { } void Ifc4x3_rc2::IfcVertexLoop::setLoopVertex(const ::Ifc4x3_rc2::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1278]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1278]); } void Ifc4x3_rc2::IfcVertexLoop::initialize(::Ifc4x3_rc2::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -16387,45 +16387,45 @@ void Ifc4x3_rc2::IfcVertexLoop::initialize(::Ifc4x3_rc2::IfcVertex v1_LoopVertex void Ifc4x3_rc2::IfcVertexPoint::setVertexGeometry(const ::Ifc4x3_rc2::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc2::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1279]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1279]); } void Ifc4x3_rc2::IfcVertexPoint::initialize(::Ifc4x3_rc2::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationDamper std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > Ifc4x3_rc2::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1280]); } -void Ifc4x3_rc2::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1280]); } +void Ifc4x3_rc2::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationDamperType std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > Ifc4x3_rc2::IfcVibrationDamperType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc2::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc2::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1281]); } -void Ifc4x3_rc2::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_rc2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1281]); } +void Ifc4x3_rc2::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3_rc2::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1283]); } -void Ifc4x3_rc2::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1283]); } +void Ifc4x3_rc2::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_rc2::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1284]); } -void Ifc4x3_rc2::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1284]); } +void Ifc4x3_rc2::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement -const IfcParse::entity& Ifc4x3_rc2::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1286]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1286]); } void Ifc4x3_rc2::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVirtualGridIntersection @@ -16435,71 +16435,71 @@ std::vector< double > /*[2:3]*/ Ifc4x3_rc2::IfcVirtualGridIntersection::OffsetDi void Ifc4x3_rc2::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc2::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1287]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1287]); } void Ifc4x3_rc2::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x3_rc2::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidStratum -const IfcParse::entity& Ifc4x3_rc2::IfcVoidStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1290]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVoidStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1290]); } void Ifc4x3_rc2::IfcVoidStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value > Ifc4x3_rc2::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1288]); } -void Ifc4x3_rc2::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1288]); } +void Ifc4x3_rc2::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > Ifc4x3_rc2::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWall::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1293]); } -void Ifc4x3_rc2::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1293]); } +void Ifc4x3_rc2::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallElementedCase -const IfcParse::entity& Ifc4x3_rc2::IfcWallElementedCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1294]); } -void Ifc4x3_rc2::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWallElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1294]); } +void Ifc4x3_rc2::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x3_rc2::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1295]); } -void Ifc4x3_rc2::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1295]); } +void Ifc4x3_rc2::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x3_rc2::IfcWallTypeEnum::Value Ifc4x3_rc2::IfcWallType::PredefinedType() const { return ::Ifc4x3_rc2::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcWallType::setPredefinedType(const ::Ifc4x3_rc2::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcWallType::setPredefinedType(const ::Ifc4x3_rc2::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1296]); } -void Ifc4x3_rc2::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1296]); } +void Ifc4x3_rc2::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value > Ifc4x3_rc2::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1301]); } -void Ifc4x3_rc2::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1301]); } +void Ifc4x3_rc2::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value Ifc4x3_rc2::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc2::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1302]); } -void Ifc4x3_rc2::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1302]); } +void Ifc4x3_rc2::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWaterStratum -const IfcParse::entity& Ifc4x3_rc2::IfcWaterStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1304]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWaterStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1304]); } void Ifc4x3_rc2::IfcWaterStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcWindow @@ -16508,15 +16508,15 @@ void Ifc4x3_rc2::IfcWindow::setOverallHeight(const std::optional< double >& v) { std::optional< double > Ifc4x3_rc2::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc2::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc2::IfcWindowTypeEnum::Value > Ifc4x3_rc2::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc2::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value > Ifc4x3_rc2::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc2::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc2::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc2::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc2::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1305]); } -void Ifc4x3_rc2::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1305]); } +void Ifc4x3_rc2::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x3_rc2::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -16545,14 +16545,14 @@ std::optional< double > Ifc4x3_rc2::IfcWindowLiningProperties::LiningToPanelOffs void Ifc4x3_rc2::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1306]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1306]); } void Ifc4x3_rc2::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_rc2::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value Ifc4x3_rc2::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3_rc2::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc2::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc2::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value Ifc4x3_rc2::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc2::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc2::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc2::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc2::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_rc2::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -16561,42 +16561,42 @@ void Ifc4x3_rc2::IfcWindowPanelProperties::setFrameThickness(const std::optional void Ifc4x3_rc2::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x3_rc2::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc2::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1309]); } -void Ifc4x3_rc2::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc2::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)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1309]); } +void Ifc4x3_rc2::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc2::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc2::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)); } // Function implementations for IfcWindowStandardCase -const IfcParse::entity& Ifc4x3_rc2::IfcWindowStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1310]); } -void Ifc4x3_rc2::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWindowStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1310]); } +void Ifc4x3_rc2::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowStyle ::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value Ifc4x3_rc2::IfcWindowStyle::ConstructionType() const { return ::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcWindowStyle::setConstructionType(const ::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc2::IfcWindowStyle::setConstructionType(const ::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value Ifc4x3_rc2::IfcWindowStyle::OperationType() const { return ::Ifc4x3_rc2::IfcWindowStyleOperationEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcWindowStyle::setOperationType(const ::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcWindowStyle::setOperationType(const ::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x3_rc2::IfcWindowStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x3_rc2::IfcWindowStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x3_rc2::IfcWindowStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x3_rc2::IfcWindowStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc2::IfcWindowStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1311]); } -void Ifc4x3_rc2::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWindowStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1311]); } +void Ifc4x3_rc2::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcWindowType ::Ifc4x3_rc2::IfcWindowTypeEnum::Value Ifc4x3_rc2::IfcWindowType::PredefinedType() const { return ::Ifc4x3_rc2::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc2::IfcWindowType::setPredefinedType(const ::Ifc4x3_rc2::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc2::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc2::IfcWindowType::setPredefinedType(const ::Ifc4x3_rc2::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value Ifc4x3_rc2::IfcWindowType::PartitioningType() const { return ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc2::IfcWindowType::setPartitioningType(const ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc2::IfcWindowType::setPartitioningType(const ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_rc2::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_rc2::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc2::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc2::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1314]); } -void Ifc4x3_rc2::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc2::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1314]); } +void Ifc4x3_rc2::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x3_rc2::IfcWorkTime > > Ifc4x3_rc2::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc2::IfcWorkTime>(es); } @@ -16604,11 +16604,11 @@ void Ifc4x3_rc2::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vect std::optional< std::vector< ::Ifc4x3_rc2::IfcWorkTime > > Ifc4x3_rc2::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc2::IfcWorkTime>(es); } void Ifc4x3_rc2::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x3_rc2::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value > Ifc4x3_rc2::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc2::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc2::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1317]); } -void Ifc4x3_rc2::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc2::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc2::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1317]); } +void Ifc4x3_rc2::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc2::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc2::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x3_rc2::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -16627,24 +16627,24 @@ std::optional< std::string > Ifc4x3_rc2::IfcWorkControl::FinishTime() const { if void Ifc4x3_rc2::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1319]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1319]); } void Ifc4x3_rc2::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value > Ifc4x3_rc2::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc2::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc2::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1320]); } -void Ifc4x3_rc2::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_rc2::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1320]); } +void Ifc4x3_rc2::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value > Ifc4x3_rc2::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc2::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc2::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1322]); } -void Ifc4x3_rc2::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_rc2::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1322]); } +void Ifc4x3_rc2::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x3_rc2::IfcRecurrencePattern Ifc4x3_rc2::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_rc2::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc2::IfcRecurrencePattern>(); } @@ -16655,8 +16655,8 @@ std::optional< std::string > Ifc4x3_rc2::IfcWorkTime::Finish() const { if(get_at void Ifc4x3_rc2::IfcWorkTime::setFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc2::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1324]); } -void Ifc4x3_rc2::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1324]); } +void Ifc4x3_rc2::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc2::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x3_rc2::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -16673,14 +16673,14 @@ std::optional< double > Ifc4x3_rc2::IfcZShapeProfileDef::EdgeRadius() const { if void Ifc4x3_rc2::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc2::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1326]); } -void Ifc4x3_rc2::IfcZShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc2::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1326]); } +void Ifc4x3_rc2::IfcZShapeProfileDef::initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc2::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x3_rc2::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc2::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc2::IfcZone::Class() { return *((IfcParse::entity*)IFC4X3_RC2_types[1325]); } +const ifcopenshell::entity& Ifc4x3_rc2::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC2_types[1325]); } void Ifc4x3_rc2::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x3_rc2.h b/src/ifcparse/schemas/Ifc4x3_rc2.h index c6202f40e1..af835306b2 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc2.h +++ b/src/ifcparse/schemas/Ifc4x3_rc2.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x3_rc2 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveMeasureSelect() {} explicit IfcCurveMeasureSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcNonNegativeLengthMeasure as() const { return express::Base::as(); } @@ -1108,7 +1108,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1141,7 +1141,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1165,7 +1165,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1191,7 +1191,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1284,7 +1284,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1725,7 +1725,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1745,7 +1745,7 @@ public: IfcFacilityPartTypeSelect() {} explicit IfcFacilityPartTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBridgePartTypeEnum as() const { return express::Base::as(); } @@ -1788,7 +1788,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1836,7 +1836,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1869,7 +1869,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1891,7 +1891,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1911,7 +1911,7 @@ public: IfcImpactProtectionDeviceTypeSelect() {} explicit IfcImpactProtectionDeviceTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcImpactProtectionDeviceTypeEnum as() const { return express::Base::as(); } @@ -1937,7 +1937,7 @@ public: IfcInterferenceSelect() {} explicit IfcInterferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -1963,7 +1963,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1992,7 +1992,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -2033,7 +2033,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -2053,7 +2053,7 @@ public: IfcLinearAxisSelect() {} explicit IfcLinearAxisSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -2098,7 +2098,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2132,7 +2132,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2289,7 +2289,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -3001,7 +3001,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3023,7 +3023,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3045,7 +3045,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3067,7 +3067,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3135,7 +3135,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3162,7 +3162,7 @@ public: IfcPresentationStyleSelect() {} explicit IfcPresentationStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyle as() const { return express::Base::as(); } @@ -3209,7 +3209,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3229,7 +3229,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3257,7 +3257,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3277,7 +3277,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3299,7 +3299,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3417,7 +3417,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3439,7 +3439,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3459,7 +3459,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3489,7 +3489,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3527,7 +3527,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3630,7 +3630,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3680,7 +3680,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3711,7 +3711,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3731,7 +3731,7 @@ public: IfcSpatialReferenceSelect() {} explicit IfcSpatialReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3760,7 +3760,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3788,7 +3788,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3817,7 +3817,7 @@ public: IfcStyleAssignmentSelect() {} explicit IfcStyleAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPresentationStyle as() const { return express::Base::as(); } @@ -3845,7 +3845,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3879,7 +3879,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3923,7 +3923,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3944,7 +3944,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3966,7 +3966,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3986,7 +3986,7 @@ public: IfcTransportElementTypeSelect() {} explicit IfcTransportElementTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcTransportElementFixedTypeEnum as() const { return express::Base::as(); } @@ -4010,7 +4010,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -4042,7 +4042,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -4077,7 +4077,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4758,7 +4758,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4780,7 +4780,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4808,13 +4808,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4827,13 +4827,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_SNOW_S, IfcActionSourceType_WIND_W, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_FIRE, IfcActionSourceType_IMPULSE, IfcActionSourceType_IMPACT, IfcActionSourceType_TRANSPORT, IfcActionSourceType_ERECTION, IfcActionSourceType_PROPPING, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_CREEP, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_BUOYANCY, IfcActionSourceType_ICE, IfcActionSourceType_CURRENT, IfcActionSourceType_WAVE, IfcActionSourceType_RAIN, IfcActionSourceType_BRAKES, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4848,13 +4848,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_EXTRAORDINARY_A, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4878,13 +4878,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4903,13 +4903,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_HOME, IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4928,13 +4928,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4955,13 +4955,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4985,13 +4985,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5013,13 +5013,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_RAILWAYCROCODILE, IfcAlarmType_RAILWAYDETONATOR, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5028,13 +5028,13 @@ public: class IFC_PARSE_API IfcAlignmentCantSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentCantSegmentTypeEnum() {} - explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentCantSegmentType_CONSTANTCANT, IfcAlignmentCantSegmentType_LINEARTRANSITION, IfcAlignmentCantSegmentType_BIQUADRATICPARABOLA, IfcAlignmentCantSegmentType_BLOSSCURVE, IfcAlignmentCantSegmentType_COSINECURVE, IfcAlignmentCantSegmentType_SINECURVE, IfcAlignmentCantSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5043,13 +5043,13 @@ public: class IFC_PARSE_API IfcAlignmentHorizontalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentHorizontalSegmentTypeEnum() {} - explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentHorizontalSegmentType_LINE, IfcAlignmentHorizontalSegmentType_CIRCULARARC, IfcAlignmentHorizontalSegmentType_CLOTHOID, IfcAlignmentHorizontalSegmentType_CUBICSPIRAL, IfcAlignmentHorizontalSegmentType_BIQUADRATICPARABOLA, IfcAlignmentHorizontalSegmentType_BLOSSCURVE, IfcAlignmentHorizontalSegmentType_COSINECURVE, IfcAlignmentHorizontalSegmentType_SINECURVE, IfcAlignmentHorizontalSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5058,13 +5058,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5073,13 +5073,13 @@ public: class IFC_PARSE_API IfcAlignmentVerticalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentVerticalSegmentTypeEnum() {} - explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT, IfcAlignmentVerticalSegmentType_CIRCULARARC, IfcAlignmentVerticalSegmentType_PARABOLICARC, IfcAlignmentVerticalSegmentType_CLOTHOID} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5093,13 +5093,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5114,13 +5114,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5129,13 +5129,13 @@ public: class IFC_PARSE_API IfcAnnotationTypeEnum : public express::DeclaredType { public: IfcAnnotationTypeEnum() {} - explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnnotationType_ASSUMEDPOINT, IfcAnnotationType_ASBUILTAREA, IfcAnnotationType_ASBUILTLINE, IfcAnnotationType_NON_PHYSICAL_SIGNAL, IfcAnnotationType_ASSUMEDLINE, IfcAnnotationType_WIDTHEVENT, IfcAnnotationType_ASSUMEDAREA, IfcAnnotationType_SUPERELEVATIONEVENT, IfcAnnotationType_ASBUILTPOINT, IfcAnnotationType_USERDEFINED, IfcAnnotationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5155,13 +5155,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5181,13 +5181,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_SITE, IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5209,13 +5209,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_RAILWAY_COMMUNICATION_TERMINAL, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5237,13 +5237,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5252,13 +5252,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5305,13 +5305,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_JOIST, IfcBeamType_HOLLOWCORE, IfcBeamType_LINTEL, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_GIRDER_SEGMENT, IfcBeamType_DIAPHRAGM, IfcBeamType_PIERCAP, IfcBeamType_HATSTONE, IfcBeamType_CORNICE, IfcBeamType_EDGEBEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5320,13 +5320,13 @@ public: class IFC_PARSE_API IfcBearingTypeDisplacementEnum : public express::DeclaredType { public: IfcBearingTypeDisplacementEnum() {} - explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingTypeDisplacement_FIXED_MOVEMENT, IfcBearingTypeDisplacement_GUIDED_LONGITUDINAL, IfcBearingTypeDisplacement_GUIDED_TRANSVERSAL, IfcBearingTypeDisplacement_FREE_MOVEMENT, IfcBearingTypeDisplacement_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5335,13 +5335,13 @@ public: class IFC_PARSE_API IfcBearingTypeEnum : public express::DeclaredType { public: IfcBearingTypeEnum() {} - explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingType_CYLINDRICAL, IfcBearingType_SPHERICAL, IfcBearingType_ELASTOMERIC, IfcBearingType_POT, IfcBearingType_GUIDE, IfcBearingType_ROCKER, IfcBearingType_ROLLER, IfcBearingType_DISK, IfcBearingType_USERDEFINED, IfcBearingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5389,13 +5389,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_EQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_INCLUDES, IfcBenchmark_NOTINCLUDES, IfcBenchmark_INCLUDEDIN, IfcBenchmark_NOTINCLUDEDIN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5412,13 +5412,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_WATER, IfcBoilerType_STEAM, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5435,13 +5435,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_UNION, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_DIFFERENCE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5450,13 +5450,13 @@ public: class IFC_PARSE_API IfcBridgePartTypeEnum : public express::DeclaredType { public: IfcBridgePartTypeEnum() {} - explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgePartType_ABUTMENT, IfcBridgePartType_DECK, IfcBridgePartType_DECK_SEGMENT, IfcBridgePartType_FOUNDATION, IfcBridgePartType_PIER, IfcBridgePartType_PIER_SEGMENT, IfcBridgePartType_PYLON, IfcBridgePartType_SUBSTRUCTURE, IfcBridgePartType_SUPERSTRUCTURE, IfcBridgePartType_SURFACESTRUCTURE, IfcBridgePartType_USERDEFINED, IfcBridgePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5465,13 +5465,13 @@ public: class IFC_PARSE_API IfcBridgeTypeEnum : public express::DeclaredType { public: IfcBridgeTypeEnum() {} - explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgeType_ARCHED, IfcBridgeType_CABLE_STAYED, IfcBridgeType_CANTILEVER, IfcBridgeType_CULVERT, IfcBridgeType_FRAMEWORK, IfcBridgeType_GIRDER, IfcBridgeType_SUSPENSION, IfcBridgeType_TRUSS, IfcBridgeType_USERDEFINED, IfcBridgeType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5487,13 +5487,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_APRON, IfcBuildingElementPartType_ARMOURUNIT, IfcBuildingElementPartType_SAFETYCAGE, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5512,13 +5512,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5540,13 +5540,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_REINFORCING, IfcBuildingSystemType_PRESTRESSING, IfcBuildingSystemType_EROSIONPREVENTION, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5555,13 +5555,13 @@ public: class IFC_PARSE_API IfcBuiltSystemTypeEnum : public express::DeclaredType { public: IfcBuiltSystemTypeEnum() {} - explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuiltSystemType_REINFORCING, IfcBuiltSystemType_MOORING, IfcBuiltSystemType_OUTERSHELL, IfcBuiltSystemType_TRACKCIRCUIT, IfcBuiltSystemType_EROSIONPREVENTION, IfcBuiltSystemType_FOUNDATION, IfcBuiltSystemType_LOADBEARING, IfcBuiltSystemType_SHADING, IfcBuiltSystemType_FENESTRATION, IfcBuiltSystemType_MOORINGSYSTEM, IfcBuiltSystemType_TRANSPORT, IfcBuiltSystemType_PRESTRESSING, IfcBuiltSystemType_USERDEFINED, IfcBuiltSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5576,13 +5576,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5600,13 +5600,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5624,13 +5624,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_CABLEBRACKET, IfcCableCarrierSegmentType_CATENARYWIRE, IfcCableCarrierSegmentType_DROPPER, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5649,13 +5649,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_FANOUT, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5675,13 +5675,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_CONTACTWIRESEGMENT, IfcCableSegmentType_FIBERSEGMENT, IfcCableSegmentType_FIBERTUBE, IfcCableSegmentType_OPTICALCABLESEGMENT, IfcCableSegmentType_STITCHWIRE, IfcCableSegmentType_WIREPAIRSEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5690,13 +5690,13 @@ public: class IFC_PARSE_API IfcCaissonFoundationTypeEnum : public express::DeclaredType { public: IfcCaissonFoundationTypeEnum() {} - explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCaissonFoundationType_WELL, IfcCaissonFoundationType_CAISSON, IfcCaissonFoundationType_USERDEFINED, IfcCaissonFoundationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5715,13 +5715,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_NOCHANGE, IfcChangeAction_MODIFIED, IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5739,13 +5739,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_WATERCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5763,13 +5763,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5799,13 +5799,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5827,13 +5827,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PILASTER, IfcColumnType_PIERSTEM, IfcColumnType_PIERSTEM_SEGMENT, IfcColumnType_STANDCOLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5857,13 +5857,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_AUTOMATON, IfcCommunicationsApplianceType_INTELLIGENT_PERIPHERAL, IfcCommunicationsApplianceType_IP_NETWORK_EQUIPMENT, IfcCommunicationsApplianceType_OPTICAL_NETWORK_UNIT, IfcCommunicationsApplianceType_TELECOMMAND, IfcCommunicationsApplianceType_TELEPHONYEXCHANGE, IfcCommunicationsApplianceType_TRANSITIONCOMPONENT, IfcCommunicationsApplianceType_TRANSPONDER, IfcCommunicationsApplianceType_TRANSPORTEQUIPMENT, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5879,13 +5879,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5915,13 +5915,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_DYNAMIC, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROTARY, IfcCompressorType_SCROLL, IfcCompressorType_TROCHOIDAL, IfcCompressorType_SINGLESTAGE, IfcCompressorType_BOOSTER, IfcCompressorType_OPENTYPE, IfcCompressorType_HERMETIC, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARYVANE, IfcCompressorType_SINGLESCREW, IfcCompressorType_TWINSCREW, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5942,13 +5942,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5976,13 +5976,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_ATEND, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6007,13 +6007,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_ADVISORY, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6035,13 +6035,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6064,13 +6064,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_NOTDEFINED, IfcConstructionMaterialResourceType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6086,13 +6086,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6114,13 +6114,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_MULTIPOSITION, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6129,13 +6129,13 @@ public: class IFC_PARSE_API IfcConveyorSegmentTypeEnum : public express::DeclaredType { public: IfcConveyorSegmentTypeEnum() {} - explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConveyorSegmentType_CHUTECONVEYOR, IfcConveyorSegmentType_BELTCONVEYOR, IfcConveyorSegmentType_SCREWCONVEYOR, IfcConveyorSegmentType_BUCKETCONVEYOR, IfcConveyorSegmentType_USERDEFINED, IfcConveyorSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6162,13 +6162,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6188,13 +6188,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6208,13 +6208,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6235,13 +6235,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_TENDER, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6250,13 +6250,13 @@ public: class IFC_PARSE_API IfcCourseTypeEnum : public express::DeclaredType { public: IfcCourseTypeEnum() {} - explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCourseType_ARMOUR, IfcCourseType_FILTER, IfcCourseType_BALLASTBED, IfcCourseType_CORE, IfcCourseType_PAVEMENT, IfcCourseType_PROTECTION, IfcCourseType_USERDEFINED, IfcCourseType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6307,13 +6307,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_FLOORING, IfcCoveringType_CLADDING, IfcCoveringType_ROOFING, IfcCoveringType_MOLDING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_SLEEVING, IfcCoveringType_WRAPPING, IfcCoveringType_COPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6329,13 +6329,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6352,13 +6352,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6383,13 +6383,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6414,13 +6414,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6436,13 +6436,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6507,13 +6507,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6529,13 +6529,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_POSITIVE, IfcDirectionSense_NEGATIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6552,13 +6552,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_EXPANSION_JOINT_DEVICE, IfcDiscreteAccessoryType_BIRDPROTECTION, IfcDiscreteAccessoryType_CABLEARRANGER, IfcDiscreteAccessoryType_INSULATOR, IfcDiscreteAccessoryType_LOCK, IfcDiscreteAccessoryType_TENSIONINGEQUIPMENT, IfcDiscreteAccessoryType_RAILPAD, IfcDiscreteAccessoryType_SLIDINGCHAIR, IfcDiscreteAccessoryType_PANEL_STRENGTHENING, IfcDiscreteAccessoryType_RAILBRACE, IfcDiscreteAccessoryType_ELASTIC_CUSHION, IfcDiscreteAccessoryType_SOUNDABSORPTION, IfcDiscreteAccessoryType_RAIL_LUBRICATION, IfcDiscreteAccessoryType_RAIL_MECHANICAL_EQUIPMENT, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6567,13 +6567,13 @@ public: class IFC_PARSE_API IfcDistributionBoardTypeEnum : public express::DeclaredType { public: IfcDistributionBoardTypeEnum() {} - explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionBoardType_SWITCHBOARD, IfcDistributionBoardType_CONSUMERUNIT, IfcDistributionBoardType_MOTORCONTROLCENTRE, IfcDistributionBoardType_DISTRIBUTIONFRAME, IfcDistributionBoardType_DISTRIBUTIONBOARD, IfcDistributionBoardType_USERDEFINED, IfcDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6597,13 +6597,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6612,13 +6612,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_WIRELESS, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6673,13 +6673,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_CATENARY_SYSTEM, IfcDistributionSystem_OVERHEAD_CONTACTLINE_SYSTEM, IfcDistributionSystem_RETURN_CIRCUIT, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6699,13 +6699,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6716,13 +6716,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6763,13 +6763,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6784,13 +6784,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6805,13 +6805,13 @@ public: class IFC_PARSE_API IfcDoorStyleConstructionEnum : public express::DeclaredType { public: IfcDoorStyleConstructionEnum() {} - explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleConstruction_ALUMINIUM, IfcDoorStyleConstruction_HIGH_GRADE_STEEL, IfcDoorStyleConstruction_STEEL, IfcDoorStyleConstruction_WOOD, IfcDoorStyleConstruction_ALUMINIUM_WOOD, IfcDoorStyleConstruction_ALUMINIUM_PLASTIC, IfcDoorStyleConstruction_PLASTIC, IfcDoorStyleConstruction_USERDEFINED, IfcDoorStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6988,13 +6988,13 @@ public: class IFC_PARSE_API IfcDoorStyleOperationEnum : public express::DeclaredType { public: IfcDoorStyleOperationEnum() {} - explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleOperation_SINGLE_SWING_LEFT, IfcDoorStyleOperation_SINGLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorStyleOperation_DOUBLE_SWING_LEFT, IfcDoorStyleOperation_DOUBLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorStyleOperation_SLIDING_TO_LEFT, IfcDoorStyleOperation_SLIDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING, IfcDoorStyleOperation_FOLDING_TO_LEFT, IfcDoorStyleOperation_FOLDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING, IfcDoorStyleOperation_REVOLVING, IfcDoorStyleOperation_ROLLINGUP, IfcDoorStyleOperation_USERDEFINED, IfcDoorStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7018,13 +7018,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_BOOM_BARRIER, IfcDoorType_TURNSTILE, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7212,13 +7212,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SLIDING, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_FOLDING, IfcDoorTypeOperation_REVOLVING, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7259,13 +7259,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7288,13 +7288,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7312,13 +7312,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7327,13 +7327,13 @@ public: class IFC_PARSE_API IfcEarthworksCutTypeEnum : public express::DeclaredType { public: IfcEarthworksCutTypeEnum() {} - explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksCutType_TRENCH, IfcEarthworksCutType_DREDGING, IfcEarthworksCutType_EXCAVATION, IfcEarthworksCutType_OVEREXCAVATION, IfcEarthworksCutType_TOPSOILREMOVAL, IfcEarthworksCutType_STEPEXCAVATION, IfcEarthworksCutType_PAVEMENTMILLING, IfcEarthworksCutType_CUT, IfcEarthworksCutType_BASE_EXCAVATION, IfcEarthworksCutType_USERDEFINED, IfcEarthworksCutType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7342,13 +7342,13 @@ public: class IFC_PARSE_API IfcEarthworksFillTypeEnum : public express::DeclaredType { public: IfcEarthworksFillTypeEnum() {} - explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksFillType_BACKFILL, IfcEarthworksFillType_COUNTERWEIGHT, IfcEarthworksFillType_SUBGRADE, IfcEarthworksFillType_EMBANKMENT, IfcEarthworksFillType_TRANSITIONSECTION, IfcEarthworksFillType_SUBGRADEBED, IfcEarthworksFillType_SLOPEFILL, IfcEarthworksFillType_USERDEFINED, IfcEarthworksFillType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7385,13 +7385,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7409,13 +7409,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7433,13 +7433,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_CAPACITOR, IfcElectricFlowStorageDeviceType_COMPENSATOR, IfcElectricFlowStorageDeviceType_INDUCTOR, IfcElectricFlowStorageDeviceType_RECHARGER, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7448,13 +7448,13 @@ public: class IFC_PARSE_API IfcElectricFlowTreatmentDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowTreatmentDeviceTypeEnum() {} - explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowTreatmentDeviceType_ELECTRONICFILTER, IfcElectricFlowTreatmentDeviceType_USERDEFINED, IfcElectricFlowTreatmentDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7472,13 +7472,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7497,13 +7497,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7520,13 +7520,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7553,13 +7553,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_ABUTMENT, IfcElementAssemblyType_PIER, IfcElementAssemblyType_PYLON, IfcElementAssemblyType_CROSS_BRACING, IfcElementAssemblyType_DECK, IfcElementAssemblyType_MAST, IfcElementAssemblyType_SIGNALASSEMBLY, IfcElementAssemblyType_GRID, IfcElementAssemblyType_SHELTER, IfcElementAssemblyType_SUPPORTINGASSEMBLY, IfcElementAssemblyType_SUSPENSIONASSEMBLY, IfcElementAssemblyType_TRACTION_SWITCHING_ASSEMBLY, IfcElementAssemblyType_TRACKPANEL, IfcElementAssemblyType_TURNOUTPANEL, IfcElementAssemblyType_DILATATIONPANEL, IfcElementAssemblyType_RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY, IfcElementAssemblyType_ENTRANCEWORKS, IfcElementAssemblyType_SUMPBUSTER, IfcElementAssemblyType_TRAFFIC_CALMING_DEVICE, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7579,13 +7579,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7601,13 +7601,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7631,13 +7631,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7658,13 +7658,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7684,13 +7684,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7709,13 +7709,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_STARTEVENT, IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7739,13 +7739,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7754,13 +7754,13 @@ public: class IFC_PARSE_API IfcFacilityPartCommonTypeEnum : public express::DeclaredType { public: IfcFacilityPartCommonTypeEnum() {} - explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityPartCommonType_SEGMENT, IfcFacilityPartCommonType_ABOVEGROUND, IfcFacilityPartCommonType_JUNCTION, IfcFacilityPartCommonType_LEVELCROSSING, IfcFacilityPartCommonType_BELOWGROUND, IfcFacilityPartCommonType_SUBSTRUCTURE, IfcFacilityPartCommonType_TERMINAL, IfcFacilityPartCommonType_SUPERSTRUCTURE, IfcFacilityPartCommonType_USERDEFINED, IfcFacilityPartCommonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7769,13 +7769,13 @@ public: class IFC_PARSE_API IfcFacilityUsageEnum : public express::DeclaredType { public: IfcFacilityUsageEnum() {} - explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityUsage_LATERAL, IfcFacilityUsage_REGION, IfcFacilityUsage_VERTICAL, IfcFacilityUsage_LONGITUDINAL, IfcFacilityUsage_USERDEFINED, IfcFacilityUsage_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7797,13 +7797,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7820,13 +7820,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7847,13 +7847,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7874,13 +7874,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7896,13 +7896,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SOURCE, IfcFlowDirection_SINK, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7926,13 +7926,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_COMBINED, IfcFlowInstrumentType_VOLTMETER, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7955,13 +7955,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7983,13 +7983,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8010,13 +8010,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_CHAIR, IfcFurnitureType_TABLE, IfcFurnitureType_DESK, IfcFurnitureType_BED, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_TECHNICALCABINET, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8025,13 +8025,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_TERRAIN, IfcGeographicElementType_SOIL_BORING_POINT, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8080,13 +8080,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8100,13 +8100,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8115,13 +8115,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_RECTANGULAR, IfcGridType_RADIAL, IfcGridType_TRIANGULAR, IfcGridType_IRREGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8138,13 +8138,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_TURNOUTHEATING, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8172,13 +8172,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8187,13 +8187,13 @@ public: class IFC_PARSE_API IfcImpactProtectionDeviceTypeEnum : public express::DeclaredType { public: IfcImpactProtectionDeviceTypeEnum() {} - explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcImpactProtectionDeviceType_CRASHCUSHION, IfcImpactProtectionDeviceType_DAMPINGSYSTEM, IfcImpactProtectionDeviceType_FENDER, IfcImpactProtectionDeviceType_BUMPER, IfcImpactProtectionDeviceType_USERDEFINED, IfcImpactProtectionDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8211,13 +8211,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8280,13 +8280,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8303,13 +8303,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8324,13 +8324,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8339,13 +8339,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_UNIFORM_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8377,13 +8377,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8408,13 +8408,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8431,13 +8431,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8459,13 +8459,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8490,13 +8490,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8515,13 +8515,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8530,13 +8530,13 @@ public: class IFC_PARSE_API IfcLiquidTerminalTypeEnum : public express::DeclaredType { public: IfcLiquidTerminalTypeEnum() {} - explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLiquidTerminalType_LOADINGARM, IfcLiquidTerminalType_HOSEREEL, IfcLiquidTerminalType_USERDEFINED, IfcLiquidTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8565,13 +8565,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8823,13 +8823,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8838,13 +8838,13 @@ public: class IFC_PARSE_API IfcMarineFacilityTypeEnum : public express::DeclaredType { public: IfcMarineFacilityTypeEnum() {} - explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarineFacilityType_CANAL, IfcMarineFacilityType_WATERWAYSHIPLIFT, IfcMarineFacilityType_EMBANKMENT, IfcMarineFacilityType_LAUNCHRECOVERY, IfcMarineFacilityType_MARINEDEFENCE, IfcMarineFacilityType_HYDROLIFT, IfcMarineFacilityType_SHIPYARD, IfcMarineFacilityType_SHIPLIFT, IfcMarineFacilityType_PORT, IfcMarineFacilityType_QUAY, IfcMarineFacilityType_FLOATINGDOCK, IfcMarineFacilityType_NAVIGATIONALCHANNEL, IfcMarineFacilityType_BREAKWATER, IfcMarineFacilityType_DRYDOCK, IfcMarineFacilityType_JETTY, IfcMarineFacilityType_SHIPLOCK, IfcMarineFacilityType_BARRIERBEACH, IfcMarineFacilityType_SLIPWAY, IfcMarineFacilityType_WATERWAY, IfcMarineFacilityType_USERDEFINED, IfcMarineFacilityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8853,13 +8853,13 @@ public: class IFC_PARSE_API IfcMarinePartTypeEnum : public express::DeclaredType { public: IfcMarinePartTypeEnum() {} - explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarinePartType_CREST, IfcMarinePartType_MANUFACTURING, IfcMarinePartType_LOWWATERLINE, IfcMarinePartType_CORE, IfcMarinePartType_WATERFIELD, IfcMarinePartType_CILL_LEVEL, IfcMarinePartType_BERTHINGSTRUCTURE, IfcMarinePartType_COPELEVEL, IfcMarinePartType_CHAMBER, IfcMarinePartType_STORAGE, IfcMarinePartType_APPROACHCHANNEL, IfcMarinePartType_VEHICLESERVICING, IfcMarinePartType_SHIPTRANSFER, IfcMarinePartType_GATEHEAD, IfcMarinePartType_GUDINGSTRUCTURE, IfcMarinePartType_BELOWWATERLINE, IfcMarinePartType_WEATHERSIDE, IfcMarinePartType_LANDFIELD, IfcMarinePartType_PROTECTION, IfcMarinePartType_LEEWARDSIDE, IfcMarinePartType_ABOVEWATERLINE, IfcMarinePartType_ANCHORAGE, IfcMarinePartType_NAVIGATIONALAREA, IfcMarinePartType_HIGHWATERLINE, IfcMarinePartType_USERDEFINED, IfcMarinePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8884,13 +8884,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_COUPLER, IfcMechanicalFastenerType_RAILJOINT, IfcMechanicalFastenerType_RAILFASTENING, IfcMechanicalFastenerType_CHAIN, IfcMechanicalFastenerType_ROPE, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8911,13 +8911,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8968,13 +8968,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STRINGER, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_STIFFENING_RIB, IfcMemberType_ARCH_SEGMENT, IfcMemberType_SUSPENSION_CABLE, IfcMemberType_SUSPENDER, IfcMemberType_STAY_CABLE, IfcMemberType_STRUCTURALCABLE, IfcMemberType_TIEBAR, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8983,13 +8983,13 @@ public: class IFC_PARSE_API IfcMobileTelecommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcMobileTelecommunicationsApplianceTypeEnum() {} - explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMobileTelecommunicationsApplianceType_E_UTRAN_NODE_B, IfcMobileTelecommunicationsApplianceType_REMOTE_RADIO_UNIT, IfcMobileTelecommunicationsApplianceType_ACCESSPOINT, IfcMobileTelecommunicationsApplianceType_BASETRANSCEIVERSTATION, IfcMobileTelecommunicationsApplianceType_REMOTEUNIT, IfcMobileTelecommunicationsApplianceType_BASEBANDUNIT, IfcMobileTelecommunicationsApplianceType_MASTERUNIT, IfcMobileTelecommunicationsApplianceType_USERDEFINED, IfcMobileTelecommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8998,13 +8998,13 @@ public: class IFC_PARSE_API IfcMooringDeviceTypeEnum : public express::DeclaredType { public: IfcMooringDeviceTypeEnum() {} - explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMooringDeviceType_LINETENSIONER, IfcMooringDeviceType_MAGNETICDEVICE, IfcMooringDeviceType_MOORINGHOOKS, IfcMooringDeviceType_VACUUMDEVICE, IfcMooringDeviceType_BOLLARD, IfcMooringDeviceType_USERDEFINED, IfcMooringDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9021,13 +9021,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9036,13 +9036,13 @@ public: class IFC_PARSE_API IfcNavigationElementTypeEnum : public express::DeclaredType { public: IfcNavigationElementTypeEnum() {} - explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNavigationElementType_BEACON, IfcNavigationElementType_BUOY, IfcNavigationElementType_USERDEFINED, IfcNavigationElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9058,13 +9058,13 @@ public: class IFC_PARSE_API IfcNullStyle : public express::DeclaredType { public: IfcNullStyle() {} - explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNullStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNullStyle_NULL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9075,13 +9075,13 @@ public: class IFC_PARSE_API IfcObjectTypeEnum : public express::DeclaredType { public: IfcObjectTypeEnum() {} - explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjectType_PRODUCT, IfcObjectType_PROCESS, IfcObjectType_CONTROL, IfcObjectType_RESOURCE, IfcObjectType_ACTOR, IfcObjectType_GROUP, IfcObjectType_PROJECT, IfcObjectType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9118,13 +9118,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9145,13 +9145,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9179,13 +9179,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9206,13 +9206,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9226,13 +9226,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9262,13 +9262,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9285,13 +9285,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9322,13 +9322,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9358,13 +9358,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9385,13 +9385,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_DRIVEN, IfcPileType_JETGROUTING, IfcPileType_COHESION, IfcPileType_FRICTION, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9430,13 +9430,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9459,13 +9459,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9491,13 +9491,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_CURTAIN_PANEL, IfcPlateType_SHEET, IfcPlateType_FLANGE_PLATE, IfcPlateType_WEB_PLATE, IfcPlateType_STIFFENER_PLATE, IfcPlateType_GUSSET_PLATE, IfcPlateType_COVER_PLATE, IfcPlateType_SPLICE_PLATE, IfcPlateType_BASE_PLATE, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9506,13 +9506,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9534,13 +9534,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9556,13 +9556,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_CURVE, IfcProfileType_AREA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9581,13 +9581,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9601,13 +9601,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9627,13 +9627,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_BLISTER, IfcProjectionElementType_DEVIATOR, IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9679,13 +9679,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9700,13 +9700,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9729,13 +9729,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_ANTI_ARCING_DEVICE, IfcProtectiveDeviceType_SPARKGAP, IfcProtectiveDeviceType_VOLTAGELIMITER, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9771,13 +9771,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9786,13 +9786,13 @@ public: class IFC_PARSE_API IfcRailTypeEnum : public express::DeclaredType { public: IfcRailTypeEnum() {} - explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailType_RACKRAIL, IfcRailType_BLADE, IfcRailType_GUARDRAIL, IfcRailType_STOCKRAIL, IfcRailType_CHECKRAIL, IfcRailType_RAIL, IfcRailType_USERDEFINED, IfcRailType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9820,13 +9820,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_HANDRAIL, IfcRailingType_GUARDRAIL, IfcRailingType_BALUSTRADE, IfcRailingType_FENCE, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9835,13 +9835,13 @@ public: class IFC_PARSE_API IfcRailwayPartTypeEnum : public express::DeclaredType { public: IfcRailwayPartTypeEnum() {} - explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayPartType_TRACKSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTUREPART, IfcRailwayPartType_LINESIDESTRUCTUREPART, IfcRailwayPartType_DILATATIONSUPERSTRUCTURE, IfcRailwayPartType_PLAINTRACKSUPESTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTURE, IfcRailwayPartType_SUPERSTRUCTURE, IfcRailwayPartType_TURNOUTSUPERSTRUCTURE, IfcRailwayPartType_USERDEFINED, IfcRailwayPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9860,13 +9860,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_STRAIGHT, IfcRampFlightType_SPIRAL, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9922,13 +9922,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_HALF_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9957,13 +9957,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_DAILY, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9972,13 +9972,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_KILOPOINT, IfcReferentType_MILEPOINT, IfcReferentType_STATION, IfcReferentType_REFERENCEMARKER, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10002,13 +10002,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10017,13 +10017,13 @@ public: class IFC_PARSE_API IfcReinforcedSoilTypeEnum : public express::DeclaredType { public: IfcReinforcedSoilTypeEnum() {} - explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcedSoilType_SURCHARGEPRELOADED, IfcReinforcedSoilType_VERTICALLYDRAINED, IfcReinforcedSoilType_DYNAMICALLYCOMPACTED, IfcReinforcedSoilType_REPLACED, IfcReinforcedSoilType_ROLLERCOMPACTED, IfcReinforcedSoilType_GROUTED, IfcReinforcedSoilType_USERDEFINED, IfcReinforcedSoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10050,13 +10050,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10073,13 +10073,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10088,13 +10088,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_SPACEBAR, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10103,13 +10103,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10118,13 +10118,13 @@ public: class IFC_PARSE_API IfcRoadPartTypeEnum : public express::DeclaredType { public: IfcRoadPartTypeEnum() {} - explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadPartType_ROADSIDEPART, IfcRoadPartType_BUS_STOP, IfcRoadPartType_HARDSHOULDER, IfcRoadPartType_INTERSECTION, IfcRoadPartType_PASSINGBAY, IfcRoadPartType_ROADWAYPLATEAU, IfcRoadPartType_ROADSIDE, IfcRoadPartType_REFUGEISLAND, IfcRoadPartType_TOLLPLAZA, IfcRoadPartType_CENTRALRESERVE, IfcRoadPartType_SIDEWALK, IfcRoadPartType_PARKINGBAY, IfcRoadPartType_RAILWAYCROSSING, IfcRoadPartType_PEDESTRIAN_CROSSING, IfcRoadPartType_SOFTSHOULDER, IfcRoadPartType_BICYCLECROSSING, IfcRoadPartType_CENTRALISLAND, IfcRoadPartType_SHOULDER, IfcRoadPartType_TRAFFICLANE, IfcRoadPartType_ROADSEGMENT, IfcRoadPartType_ROUNDABOUT, IfcRoadPartType_LAYBY, IfcRoadPartType_CARRIAGEWAY, IfcRoadPartType_TRAFFICISLAND, IfcRoadPartType_USERDEFINED, IfcRoadPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10161,13 +10161,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_SUPPLIER, IfcRole_MANUFACTURER, IfcRole_CONTRACTOR, IfcRole_SUBCONTRACTOR, IfcRole_ARCHITECT, IfcRole_STRUCTURALENGINEER, IfcRole_COSTENGINEER, IfcRole_CLIENT, IfcRole_BUILDINGOWNER, IfcRole_BUILDINGOPERATOR, IfcRole_MECHANICALENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_PROJECTMANAGER, IfcRole_FACILITIESMANAGER, IfcRole_CIVILENGINEER, IfcRole_COMMISSIONINGENGINEER, IfcRole_ENGINEER, IfcRole_OWNER, IfcRole_CONSULTANT, IfcRole_CONSTRUCTIONMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_RESELLER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10241,13 +10241,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_FLAT_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_BARREL_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FREEFORM, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10282,13 +10282,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_EXA, IfcSIPrefix_PETA, IfcSIPrefix_TERA, IfcSIPrefix_GIGA, IfcSIPrefix_MEGA, IfcSIPrefix_KILO, IfcSIPrefix_HECTO, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_CENTI, IfcSIPrefix_MILLI, IfcSIPrefix_MICRO, IfcSIPrefix_NANO, IfcSIPrefix_PICO, IfcSIPrefix_FEMTO, IfcSIPrefix_ATTO} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10335,13 +10335,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10368,13 +10368,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10392,13 +10392,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_UNIFORM, IfcSectionType_TAPERED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10434,13 +10434,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_COSENSOR, IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_EARTHQUAKESENSOR, IfcSensorType_FOREIGNOBJECTDETECTIONSENSOR, IfcSensorType_OBSTACLESENSOR, IfcSensorType_RAINSENSOR, IfcSensorType_SNOWDEPTHSENSOR, IfcSensorType_TRAINSENSOR, IfcSensorType_TURNOUTCLOSURESENSOR, IfcSensorType_WHEELSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10453,13 +10453,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_START_START, IfcSequence_START_FINISH, IfcSequence_FINISH_START, IfcSequence_FINISH_FINISH, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10477,13 +10477,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_AWNING, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10492,13 +10492,13 @@ public: class IFC_PARSE_API IfcSignTypeEnum : public express::DeclaredType { public: IfcSignTypeEnum() {} - explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignType_MARKER, IfcSignType_PICTORAL, IfcSignType_MIRROR, IfcSignType_USERDEFINED, IfcSignType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10507,13 +10507,13 @@ public: class IFC_PARSE_API IfcSignalTypeEnum : public express::DeclaredType { public: IfcSignalTypeEnum() {} - explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignalType_VISUAL, IfcSignalType_AUDIO, IfcSignalType_MIXED, IfcSignalType_USERDEFINED, IfcSignalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10539,13 +10539,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_WEIGHT, IfcSimplePropertyTemplateType_Q_TIME} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10585,13 +10585,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_FLOOR, IfcSlabType_ROOF, IfcSlabType_LANDING, IfcSlabType_BASESLAB, IfcSlabType_APPROACH_SLAB, IfcSlabType_PAVING, IfcSlabType_WEARING, IfcSlabType_SIDEWALK, IfcSlabType_TRACKSLAB, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10608,13 +10608,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10634,13 +10634,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10683,13 +10683,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_SPACE, IfcSpaceType_PARKING, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_EXTERNAL, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10722,13 +10722,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_RESERVATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10745,13 +10745,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10774,13 +10774,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_SPIRAL, IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10881,13 +10881,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_CURVED_RUN_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_LADDER, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10908,13 +10908,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_READWRITE, IfcState_READONLY, IfcState_LOCKED, IfcState_READWRITELOCKED, IfcState_READONLYLOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10937,13 +10937,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10969,13 +10969,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10995,13 +10995,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11023,13 +11023,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11045,13 +11045,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11070,13 +11070,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_DEFECT, IfcSurfaceFeatureType_HATCHMARKING, IfcSurfaceFeatureType_LINEMARKING, IfcSurfaceFeatureType_PAVEMENTSURFACEMARKING, IfcSurfaceFeatureType_SYMBOLMARKING, IfcSurfaceFeatureType_NONSKIDSURFACING, IfcSurfaceFeatureType_RUMBLESTRIP, IfcSurfaceFeatureType_TRANSVERSERUMBLESTRIP, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11095,13 +11095,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_POSITIVE, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_BOTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11125,13 +11125,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_RELAY, IfcSwitchingDeviceType_START_AND_STOP_EQUIPMENT, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11147,13 +11147,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_SUBRACK, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11184,13 +11184,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_OILRETENTIONTRAY, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11205,13 +11205,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11237,13 +11237,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ATTENDANCE, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11252,13 +11252,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11267,13 +11267,13 @@ public: class IFC_PARSE_API IfcTendonConduitTypeEnum : public express::DeclaredType { public: IfcTendonConduitTypeEnum() {} - explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonConduitType_DUCT, IfcTendonConduitType_COUPLER, IfcTendonConduitType_GROUTING_DUCT, IfcTendonConduitType_TRUMPET, IfcTendonConduitType_DIABOLO, IfcTendonConduitType_USERDEFINED, IfcTendonConduitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11282,13 +11282,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11303,13 +11303,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP, IfcTextPath_DOWN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11328,13 +11328,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11343,13 +11343,13 @@ public: class IFC_PARSE_API IfcTrackElementTypeEnum : public express::DeclaredType { public: IfcTrackElementTypeEnum() {} - explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrackElementType_TRACKENDOFALIGNMENT, IfcTrackElementType_BLOCKINGDEVICE, IfcTrackElementType_VEHICLESTOP, IfcTrackElementType_SLEEPER, IfcTrackElementType_HALF_SET_OF_BLADES, IfcTrackElementType_SPEEDREGULATOR, IfcTrackElementType_DERAILER, IfcTrackElementType_FROG, IfcTrackElementType_USERDEFINED, IfcTrackElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11368,13 +11368,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_CHOPPER, IfcTransformerType_COMBINED, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11398,13 +11398,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_DISCONTINUOUS, IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11413,13 +11413,13 @@ public: class IFC_PARSE_API IfcTransitionCurveType : public express::DeclaredType { public: IfcTransitionCurveType() {} - explicit IfcTransitionCurveType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCurveType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCurveType_BIQUADRATICPARABOLA, IfcTransitionCurveType_BLOSSCURVE, IfcTransitionCurveType_CLOTHOIDCURVE, IfcTransitionCurveType_COSINECURVE, IfcTransitionCurveType_CUBICPARABOLA, IfcTransitionCurveType_SINECURVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11428,13 +11428,13 @@ public: class IFC_PARSE_API IfcTransportElementFixedTypeEnum : public express::DeclaredType { public: IfcTransportElementFixedTypeEnum() {} - explicit IfcTransportElementFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementFixedType_ELEVATOR, IfcTransportElementFixedType_ESCALATOR, IfcTransportElementFixedType_MOVINGWALKWAY, IfcTransportElementFixedType_CRANEWAY, IfcTransportElementFixedType_LIFTINGGEAR, IfcTransportElementFixedType_USERDEFINED, IfcTransportElementFixedType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11443,13 +11443,13 @@ public: class IFC_PARSE_API IfcTransportElementNonFixedTypeEnum : public express::DeclaredType { public: IfcTransportElementNonFixedTypeEnum() {} - explicit IfcTransportElementNonFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementNonFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementNonFixedType_VEHICLE, IfcTransportElementNonFixedType_VEHICLETRACKED, IfcTransportElementNonFixedType_ROLLINGSTOCK, IfcTransportElementNonFixedType_VEHICLEWHEELED, IfcTransportElementNonFixedType_VEHICLEAIR, IfcTransportElementNonFixedType_CARGO, IfcTransportElementNonFixedType_VEHICLEMARINE, IfcTransportElementNonFixedType_USERDEFINED, IfcTransportElementNonFixedType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11468,13 +11468,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11490,13 +11490,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11540,13 +11540,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11570,13 +11570,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_COMBINED, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11596,13 +11596,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11653,13 +11653,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DRAWOFFCOCK, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11668,13 +11668,13 @@ public: class IFC_PARSE_API IfcVibrationDamperTypeEnum : public express::DeclaredType { public: IfcVibrationDamperTypeEnum() {} - explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationDamperType_BENDING_YIELD, IfcVibrationDamperType_SHEAR_YIELD, IfcVibrationDamperType_AXIAL_YIELD, IfcVibrationDamperType_FRICTION, IfcVibrationDamperType_VISCOUS, IfcVibrationDamperType_RUBBER, IfcVibrationDamperType_USERDEFINED, IfcVibrationDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11691,13 +11691,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_BASE, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11719,13 +11719,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11770,13 +11770,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_POLYGONAL, IfcWallType_ELEMENTEDWALL, IfcWallType_RETAININGWALL, IfcWallType_WAVEWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11798,13 +11798,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11896,13 +11896,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11974,13 +11974,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11995,13 +11995,13 @@ public: class IFC_PARSE_API IfcWindowStyleConstructionEnum : public express::DeclaredType { public: IfcWindowStyleConstructionEnum() {} - explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleConstruction_ALUMINIUM, IfcWindowStyleConstruction_HIGH_GRADE_STEEL, IfcWindowStyleConstruction_STEEL, IfcWindowStyleConstruction_WOOD, IfcWindowStyleConstruction_ALUMINIUM_WOOD, IfcWindowStyleConstruction_PLASTIC, IfcWindowStyleConstruction_OTHER_CONSTRUCTION, IfcWindowStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12083,13 +12083,13 @@ public: class IFC_PARSE_API IfcWindowStyleOperationEnum : public express::DeclaredType { public: IfcWindowStyleOperationEnum() {} - explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleOperation_SINGLE_PANEL, IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL, IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL, IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM, IfcWindowStyleOperation_TRIPLE_PANEL_TOP, IfcWindowStyleOperation_TRIPLE_PANEL_LEFT, IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT, IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_USERDEFINED, IfcWindowStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12113,13 +12113,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_WINDOW, IfcWindowType_SKYLIGHT, IfcWindowType_LIGHTDOME, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12198,13 +12198,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12223,13 +12223,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12248,13 +12248,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12273,13 +12273,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12292,9 +12292,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12306,9 +12306,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12323,9 +12323,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12337,9 +12337,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12347,9 +12347,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -12357,9 +12357,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12373,9 +12373,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12383,9 +12383,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -12397,9 +12397,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -12449,9 +12449,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12469,9 +12469,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -12526,9 +12526,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -12541,9 +12541,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12556,9 +12556,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12572,9 +12572,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12587,9 +12587,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12614,9 +12614,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12635,9 +12635,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12678,9 +12678,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12693,9 +12693,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12709,9 +12709,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12723,9 +12723,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12737,9 +12737,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12752,9 +12752,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12766,9 +12766,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12780,9 +12780,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12794,9 +12794,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12810,9 +12810,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12824,9 +12824,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12838,9 +12838,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12852,9 +12852,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12875,9 +12875,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12896,9 +12896,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12928,9 +12928,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12942,9 +12942,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12956,9 +12956,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12978,9 +12978,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12992,9 +12992,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13004,9 +13004,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13027,9 +13027,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13041,9 +13041,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13055,9 +13055,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13071,9 +13071,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13087,9 +13087,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13099,9 +13099,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13113,9 +13113,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13127,9 +13127,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13150,9 +13150,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13169,9 +13169,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13185,9 +13185,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13195,9 +13195,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -13209,9 +13209,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13223,9 +13223,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13237,9 +13237,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13251,9 +13251,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13265,9 +13265,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -13279,9 +13279,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13295,9 +13295,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13311,9 +13311,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13325,9 +13325,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13339,9 +13339,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13353,9 +13353,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13367,9 +13367,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13383,9 +13383,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13399,9 +13399,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13413,9 +13413,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13427,9 +13427,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13441,9 +13441,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13459,9 +13459,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13473,9 +13473,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13487,9 +13487,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13501,9 +13501,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13514,9 +13514,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13579,9 +13579,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13593,9 +13593,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13608,9 +13608,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13620,9 +13620,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13636,9 +13636,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13650,9 +13650,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13670,9 +13670,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13680,9 +13680,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13695,9 +13695,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13710,9 +13710,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13724,9 +13724,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13742,9 +13742,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13756,9 +13756,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13766,9 +13766,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition >() const; }; @@ -13780,9 +13780,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13799,9 +13799,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13815,9 +13815,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13829,9 +13829,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13844,9 +13844,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13858,9 +13858,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13872,9 +13872,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13886,9 +13886,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13900,9 +13900,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13916,9 +13916,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13926,9 +13926,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13940,9 +13940,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13950,9 +13950,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13964,9 +13964,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13978,9 +13978,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13994,9 +13994,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14012,9 +14012,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14026,9 +14026,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14040,9 +14040,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14060,9 +14060,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14079,9 +14079,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14101,9 +14101,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14129,9 +14129,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14148,9 +14148,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14162,9 +14162,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14176,9 +14176,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14189,9 +14189,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14202,9 +14202,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14216,9 +14216,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14232,9 +14232,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14249,9 +14249,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14265,9 +14265,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14278,9 +14278,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -14292,9 +14292,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14308,9 +14308,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14322,9 +14322,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14338,9 +14338,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14352,9 +14352,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14366,9 +14366,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14380,9 +14380,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14414,9 +14414,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14428,9 +14428,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14443,9 +14443,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14464,7 +14464,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -14481,7 +14481,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -14492,7 +14492,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > Purpose() const; @@ -14509,28 +14509,28 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; class IFC_PARSE_API IfcAlignmentParameterSegment : public express::Entity { public: IfcAlignmentParameterSegment() {} - explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > StartTag() const; void setStartTag(const std::optional< std::string >& v); std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag); }; class IFC_PARSE_API IfcAlignmentVerticalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentVerticalSegment() {} - explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -14547,7 +14547,7 @@ public: ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -14556,7 +14556,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x3_rc2::IfcOrganization ApplicationDeveloper() const; @@ -14571,7 +14571,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -14591,7 +14591,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -14629,7 +14629,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -14640,7 +14640,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -14681,7 +14681,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_rc2::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_rc2::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -14702,13 +14702,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14724,7 +14724,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc2::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14745,7 +14745,7 @@ public: ::Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_rc2::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_rc2::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_rc2::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14761,7 +14761,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14773,7 +14773,7 @@ public: ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_rc2::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14789,7 +14789,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14810,7 +14810,7 @@ public: ::Ifc4x3_rc2::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x3_rc2::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14825,13 +14825,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x3_rc2::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x3_rc2::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc2::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc2::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_rc2::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14851,10 +14851,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14876,7 +14876,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc2::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14885,7 +14885,7 @@ public: ::Ifc4x3_rc2::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x3_rc2::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc2::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14899,7 +14899,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc2::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14908,7 +14908,7 @@ public: ::Ifc4x3_rc2::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x3_rc2::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_rc2::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14920,7 +14920,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x3_rc2::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14929,7 +14929,7 @@ public: ::Ifc4x3_rc2::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x3_rc2::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_rc2::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14947,7 +14947,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14976,7 +14976,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -15028,7 +15028,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x3_rc2::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -15037,7 +15037,7 @@ public: ::Ifc4x3_rc2::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x3_rc2::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc2::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -15065,7 +15065,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -15089,7 +15089,7 @@ public: void setVerticalDatum(const std::optional< std::string >& v); std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -15137,10 +15137,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc2::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -15153,7 +15153,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x3_rc2::IfcDerivedUnitElement > Elements() const; @@ -15164,7 +15164,7 @@ public: std::optional< std::string > UserDefinedType() const; void setUserDefinedType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc2::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -15179,7 +15179,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x3_rc2::IfcNamedUnit Unit() const; @@ -15188,7 +15188,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -15211,7 +15211,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -15235,7 +15235,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -15247,10 +15247,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -15265,7 +15265,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -15288,7 +15288,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -15302,10 +15302,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -15318,10 +15318,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -15334,10 +15334,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -15366,7 +15366,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -15382,7 +15382,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_rc2::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -15391,7 +15391,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -15400,7 +15400,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_rc2::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_rc2::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -15414,7 +15414,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -15440,7 +15440,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_rc2::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -15453,7 +15453,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -15470,7 +15470,7 @@ public: void setReferencedLibrary(const ::Ifc4x3_rc2::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_rc2::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -15491,7 +15491,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -15505,7 +15505,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -15514,7 +15514,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -15523,7 +15523,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x3_rc2::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc2::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -15540,7 +15540,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -15568,7 +15568,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc2::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -15579,7 +15579,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x3_rc2::IfcClassificationSelect > MaterialClassifications() const; @@ -15588,7 +15588,7 @@ public: ::Ifc4x3_rc2::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x3_rc2::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_rc2::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -15618,13 +15618,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -15653,7 +15653,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x3_rc2::IfcMaterial Material() const; @@ -15686,7 +15686,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15725,7 +15725,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x3_rc2::IfcMaterialLayer > MaterialLayers() const; @@ -15739,7 +15739,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15788,7 +15788,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15797,7 +15797,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15820,13 +15820,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x3_rc2::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x3_rc2::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15837,7 +15837,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15859,7 +15859,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMaterial v3_Material, ::Ifc4x3_rc2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15870,7 +15870,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15888,7 +15888,7 @@ public: ::Ifc4x3_rc2::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x3_rc2::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_rc2::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15899,13 +15899,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMaterial v3_Material, ::Ifc4x3_rc2::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15942,11 +15942,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15962,7 +15962,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x3_rc2::IfcValue ValueComponent() const; @@ -15971,7 +15971,7 @@ public: ::Ifc4x3_rc2::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x3_rc2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcValue v1_ValueComponent, ::Ifc4x3_rc2::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -16029,7 +16029,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x3_rc2::IfcBenchmarkEnum::Value Benchmark() const; @@ -16043,7 +16043,7 @@ public: ::Ifc4x3_rc2::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_rc2::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc2::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc2::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc2::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -16054,13 +16054,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -16071,7 +16071,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x3_rc2::IfcDimensionalExponents Dimensions() const; @@ -16080,7 +16080,7 @@ public: ::Ifc4x3_rc2::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x3_rc2::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -16097,13 +16097,13 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc4x3_rc2::IfcObjectPlacement PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x3_rc2::IfcObjectPlacement& v); std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -16118,7 +16118,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x3_rc2::IfcConstraint > > BenchmarkValues() const; @@ -16132,7 +16132,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc2::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc2::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc2::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc2::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -16146,7 +16146,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -16168,7 +16168,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_rc2::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -16184,7 +16184,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x3_rc2::IfcPersonAndOrganization OwningUser() const; @@ -16211,7 +16211,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc2::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc2::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc2::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc2::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -16226,7 +16226,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -16260,7 +16260,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x3_rc2::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_rc2::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -16271,7 +16271,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x3_rc2::IfcPerson ThePerson() const; @@ -16283,7 +16283,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPerson v1_ThePerson, ::Ifc4x3_rc2::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_rc2::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -16294,7 +16294,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -16305,7 +16305,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -16320,13 +16320,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x3_rc2::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_rc2::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -16335,7 +16335,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -16365,17 +16365,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -16396,7 +16396,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -16411,7 +16411,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -16430,7 +16430,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -16449,7 +16449,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x3_rc2::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_rc2::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -16460,13 +16460,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The presentation style assignment is a set of styles which are assigned to styled items for the purpose of presenting these styled items. @@ -16477,13 +16477,13 @@ public: class IFC_PARSE_API IfcPresentationStyleAssignment : public express::Entity { public: IfcPresentationStyleAssignment() {} - explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyleAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// A set of presentation styles that are assigned to styled items. std::vector< ::Ifc4x3_rc2::IfcPresentationStyleSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3_rc2::IfcPresentationStyleSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcPresentationStyleSelect > v1_Styles); }; /// IfcProductRepresentation defines a representation of a @@ -16506,7 +16506,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -16518,7 +16518,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x3_rc2::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -16694,7 +16694,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x3_rc2::IfcProfileTypeEnum::Value ProfileType() const; @@ -16705,7 +16705,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16734,7 +16734,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} /// Name by which the map projection is identified. /// @@ -16753,18 +16753,18 @@ public: ::Ifc4x3_rc2::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x3_rc2::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_rc2::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16816,7 +16816,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16828,7 +16828,7 @@ public: ::Ifc4x3_rc2::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x3_rc2::IfcValue > v2_EnumerationValues, ::Ifc4x3_rc2::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16839,7 +16839,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16850,7 +16850,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16861,7 +16861,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. double CountValue() const; @@ -16872,7 +16872,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16883,7 +16883,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16894,7 +16894,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16905,7 +16905,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16916,7 +16916,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16927,7 +16927,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16938,7 +16938,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16949,7 +16949,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16960,7 +16960,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16972,7 +16972,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -17012,14 +17012,14 @@ public: std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc2::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -17032,7 +17032,7 @@ public: ::Ifc4x3_rc2::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_rc2::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc2::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -17084,7 +17084,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x3_rc2::IfcRepresentationContext ContextOfItems() const; @@ -17103,7 +17103,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -17119,7 +17119,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -17129,7 +17129,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -17167,12 +17167,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -17189,7 +17189,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -17201,7 +17201,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_rc2::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -17210,7 +17210,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -17219,7 +17219,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -17234,7 +17234,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -17253,7 +17253,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -17266,7 +17266,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x3_rc2::IfcSIPrefix::Value > Prefix() const; @@ -17277,7 +17277,7 @@ public: ::Ifc4x3_rc2::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x3_rc2::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc2::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc2::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -17286,7 +17286,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -17299,7 +17299,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -17342,7 +17342,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -17365,7 +17365,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x3_rc2::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_rc2::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -17389,11 +17389,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -17534,10 +17534,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -17546,13 +17546,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -17561,13 +17561,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -17584,7 +17584,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x3_rc2::IfcStructuralLoadOrResult > Values() const; @@ -17593,7 +17593,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc2::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -17602,10 +17602,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -17614,10 +17614,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -17628,7 +17628,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -17646,7 +17646,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -17657,10 +17657,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -17694,7 +17694,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17713,7 +17713,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_rc2::IfcStyleAssignmentSelect > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17726,10 +17726,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17740,7 +17740,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17752,7 +17752,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17765,7 +17765,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x3_rc2::IfcSurfaceSide::Value Side() const; @@ -17774,7 +17774,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3_rc2::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc2::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17791,7 +17791,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17810,7 +17810,7 @@ public: ::Ifc4x3_rc2::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x3_rc2::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_rc2::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_rc2::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_rc2::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17821,7 +17821,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17830,7 +17830,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17843,7 +17843,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x3_rc2::IfcColourRgb SurfaceColour() const; @@ -17851,7 +17851,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17875,13 +17875,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17979,7 +17979,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -18010,7 +18010,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -18031,7 +18031,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -18043,7 +18043,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc2::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x3_rc2::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_rc2::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_rc2::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -18054,7 +18054,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -18071,7 +18071,7 @@ public: ::Ifc4x3_rc2::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_rc2::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_rc2::IfcUnit v4_Unit, ::Ifc4x3_rc2::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -18090,7 +18090,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > RowCells() const; @@ -18099,7 +18099,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -18113,7 +18113,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -18221,7 +18221,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -18230,12 +18230,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x3_rc2::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x3_rc2::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc2::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc2::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -18247,7 +18247,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -18271,7 +18271,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc2::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -18305,7 +18305,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x3_rc2::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -18325,7 +18325,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_rc2::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_rc2::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -18348,7 +18348,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x3_rc2::IfcColour Colour() const; @@ -18357,7 +18357,7 @@ public: ::Ifc4x3_rc2::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x3_rc2::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcColour v1_Colour, ::Ifc4x3_rc2::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -18370,7 +18370,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -18401,7 +18401,7 @@ public: ::Ifc4x3_rc2::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x3_rc2::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_rc2::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_rc2::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_rc2::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -18418,12 +18418,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -18455,7 +18455,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -18468,7 +18468,7 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; /// An IfcTextureMap provides the mapping of the @@ -18525,7 +18525,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -18535,7 +18535,7 @@ public: ::Ifc4x3_rc2::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x3_rc2::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_rc2::IfcTextureVertex > v2_Vertices, ::Ifc4x3_rc2::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -18568,25 +18568,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -18598,7 +18598,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -18607,7 +18607,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -18618,7 +18618,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -18646,7 +18646,7 @@ public: void setUnit(const ::Ifc4x3_rc2::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -18661,13 +18661,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x3_rc2::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_rc2::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -18678,10 +18678,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18721,10 +18721,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc2::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18735,13 +18735,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x3_rc2::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x3_rc2::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18757,10 +18757,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18775,13 +18775,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x3_rc2::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x3_rc2::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18846,7 +18846,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x3_rc2::IfcGridAxis > IntersectingAxes() const; @@ -18855,7 +18855,7 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18869,7 +18869,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18885,52 +18885,52 @@ public: std::optional< std::string > Finish() const; void setFinish(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish); }; class IFC_PARSE_API IfcAlignment2DVerSegCircularArc : public IfcAlignmentVerticalSegment { public: IfcAlignment2DVerSegCircularArc() {} - explicit IfcAlignment2DVerSegCircularArc (const std::weak_ptr& data) : IfcAlignmentVerticalSegment(data) {} + explicit IfcAlignment2DVerSegCircularArc (const std::weak_ptr& data) : IfcAlignmentVerticalSegment(data) {} double Radius() const; void setRadius(const double& v); bool IsConvex() const; void setIsConvex(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType, double v10_Radius, bool v11_IsConvex); }; class IFC_PARSE_API IfcAlignment2DVerSegLine : public IfcAlignmentVerticalSegment { public: IfcAlignment2DVerSegLine() {} - explicit IfcAlignment2DVerSegLine (const std::weak_ptr& data) : IfcAlignmentVerticalSegment(data) {} + explicit IfcAlignment2DVerSegLine (const std::weak_ptr& data) : IfcAlignmentVerticalSegment(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType); }; class IFC_PARSE_API IfcAlignment2DVerSegParabolicArc : public IfcAlignmentVerticalSegment { public: IfcAlignment2DVerSegParabolicArc() {} - explicit IfcAlignment2DVerSegParabolicArc (const std::weak_ptr& data) : IfcAlignmentVerticalSegment(data) {} + explicit IfcAlignment2DVerSegParabolicArc (const std::weak_ptr& data) : IfcAlignmentVerticalSegment(data) {} double ParabolaConstant() const; void setParabolaConstant(const double& v); bool IsConvex() const; void setIsConvex(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc2::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType, double v10_ParabolaConstant, bool v11_IsConvex); }; class IFC_PARSE_API IfcAlignmentCantSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentCantSegment() {} - explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -18949,14 +18949,14 @@ public: ::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, std::optional< double > v9_SmoothingLength, ::Ifc4x3_rc2::IfcAlignmentCantSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentHorizontalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentHorizontalSegment() {} - explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} ::Ifc4x3_rc2::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x3_rc2::IfcCartesianPoint& v); @@ -18973,7 +18973,7 @@ public: ::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_rc2::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_rc2::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType); }; /// An IfcApprovalRelationship associates approvals (one @@ -18986,7 +18986,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x3_rc2::IfcApproval RelatingApproval() const; @@ -18995,7 +18995,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x3_rc2::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_rc2::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -19019,13 +19019,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x3_rc2::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x3_rc2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -19046,13 +19046,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x3_rc2::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x3_rc2::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -19077,13 +19077,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x3_rc2::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x3_rc2::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc2::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -19098,7 +19098,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -19107,7 +19107,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -19142,13 +19142,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -19169,7 +19169,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -19222,7 +19222,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -19249,7 +19249,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x3_rc2::IfcClassificationReferenceSelect ReferencedSource() const; @@ -19264,19 +19264,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_rc2::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -19287,7 +19287,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -19296,7 +19296,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -19338,7 +19338,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x3_rc2::IfcProfileDef > Profiles() const; @@ -19347,7 +19347,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -19362,13 +19362,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x3_rc2::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x3_rc2::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -19387,7 +19387,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc2::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -19396,7 +19396,7 @@ public: ::Ifc4x3_rc2::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x3_rc2::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_rc2::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -19421,7 +19421,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -19433,7 +19433,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc2::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -19446,14 +19446,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -19506,7 +19506,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -19516,7 +19516,7 @@ public: void setConversionFactor(const ::Ifc4x3_rc2::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -19540,13 +19540,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc2::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc2::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -19563,7 +19563,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x3_rc2::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -19583,7 +19583,7 @@ public: ::Ifc4x3_rc2::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x3_rc2::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_rc2::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_rc2::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -19606,7 +19606,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x3_rc2::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -19620,7 +19620,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_rc2::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_rc2::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -19631,7 +19631,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -19640,7 +19640,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x3_rc2::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc2::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -19657,7 +19657,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -19669,7 +19669,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -19680,7 +19680,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -19693,7 +19693,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -19783,7 +19783,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x3_rc2::IfcProfileDef ParentProfile() const; @@ -19795,7 +19795,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19804,7 +19804,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19875,7 +19875,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc2::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc2::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc2::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc2::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19889,7 +19889,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x3_rc2::IfcDocumentInformation RelatingDocument() const; @@ -19901,7 +19901,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_rc2::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19918,7 +19918,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19930,7 +19930,7 @@ public: void setReferencedDocument(const ::Ifc4x3_rc2::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19985,7 +19985,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x3_rc2::IfcVertex EdgeStart() const; @@ -19994,7 +19994,7 @@ public: ::Ifc4x3_rc2::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x3_rc2::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcVertex v1_EdgeStart, ::Ifc4x3_rc2::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -20033,7 +20033,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x3_rc2::IfcCurve EdgeGeometry() const; @@ -20042,7 +20042,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcVertex v1_EdgeStart, ::Ifc4x3_rc2::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc2::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -20071,7 +20071,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -20088,14 +20088,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -20104,7 +20104,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x3_rc2::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -20117,7 +20117,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -20128,7 +20128,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -20178,14 +20178,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x3_rc2::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x3_rc2::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -20196,7 +20196,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x3_rc2::IfcLoop Bound() const; @@ -20205,7 +20205,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -20216,10 +20216,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -20261,7 +20261,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x3_rc2::IfcSurface FaceSurface() const; @@ -20270,7 +20270,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc2::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -20283,7 +20283,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -20304,7 +20304,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -20344,7 +20344,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x3_rc2::IfcFillStyleSelect > FillStyles() const; @@ -20352,7 +20352,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc2::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -20405,7 +20405,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -20424,7 +20424,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_rc2::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_rc2::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -20449,10 +20449,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -20471,7 +20471,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x3_rc2::IfcGeometricRepresentationContext ParentContext() const; @@ -20496,7 +20496,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc2::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc2::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -20509,13 +20509,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x3_rc2::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x3_rc2::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -20566,7 +20566,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x3_rc2::IfcVirtualGridIntersection PlacementLocation() const; @@ -20577,7 +20577,7 @@ public: ::Ifc4x3_rc2::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x3_rc2::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_rc2::IfcGridPlacementDirectionSelect v3_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -20598,7 +20598,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x3_rc2::IfcSurface BaseSurface() const; @@ -20607,7 +20607,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -20648,20 +20648,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x3_rc2::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_rc2::IfcTessellatedFaceSet& v); @@ -20672,33 +20672,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc2::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x3_rc2::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_rc2::IfcTessellatedFaceSet& v); ::Ifc4x3_rc2::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x3_rc2::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc2::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc2::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc2::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -20709,13 +20709,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x3_rc2::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_rc2::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc2::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -20758,7 +20758,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -20769,7 +20769,7 @@ public: ::Ifc4x3_rc2::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x3_rc2::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc2::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -20782,7 +20782,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20798,7 +20798,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20811,10 +20811,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20829,14 +20829,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x3_rc2::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc2::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20849,7 +20849,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x3_rc2::IfcAxis2Placement3D Position() const; @@ -20870,7 +20870,7 @@ public: ::Ifc4x3_rc2::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x3_rc2::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc2::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc2::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc2::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc2::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20891,7 +20891,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20911,7 +20911,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20932,7 +20932,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20950,28 +20950,28 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc2::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc2::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_rc2::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearAxisWithInclination : public IfcGeometricRepresentationItem { public: IfcLinearAxisWithInclination() {} - explicit IfcLinearAxisWithInclination (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLinearAxisWithInclination (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3_rc2::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc2::IfcCurve& v); ::Ifc4x3_rc2::IfcAxisLateralInclination Inclinating() const; void setInclinating(const ::Ifc4x3_rc2::IfcAxisLateralInclination& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, ::Ifc4x3_rc2::IfcAxisLateralInclination v2_Inclinating); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x3_rc2::IfcCurve PlacementMeasuredAlong() const; void setPlacementMeasuredAlong(const ::Ifc4x3_rc2::IfcCurve& v); @@ -20982,31 +20982,31 @@ public: ::Ifc4x3_rc2::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc2::IfcPointByDistanceExpression v3_Distance, ::Ifc4x3_rc2::IfcAxis2PlacementLinear v4_RelativePlacement, ::Ifc4x3_rc2::IfcAxis2Placement3D v5_CartesianPosition); }; class IFC_PARSE_API IfcLinearPlacementWithInclination : public IfcLinearPlacement { public: IfcLinearPlacementWithInclination() {} - explicit IfcLinearPlacementWithInclination (const std::weak_ptr& data) : IfcLinearPlacement(data) {} + explicit IfcLinearPlacementWithInclination (const std::weak_ptr& data) : IfcLinearPlacement(data) {} ::Ifc4x3_rc2::IfcAxisLateralInclination Inclinating() const; void setInclinating(const ::Ifc4x3_rc2::IfcAxisLateralInclination& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc2::IfcPointByDistanceExpression v3_Distance, ::Ifc4x3_rc2::IfcAxis2PlacementLinear v4_RelativePlacement, ::Ifc4x3_rc2::IfcAxis2Placement3D v5_CartesianPosition, ::Ifc4x3_rc2::IfcAxisLateralInclination v6_Inclinating); }; class IFC_PARSE_API IfcLinearSpanPlacement : public IfcLinearPlacement { public: IfcLinearSpanPlacement() {} - explicit IfcLinearSpanPlacement (const std::weak_ptr& data) : IfcLinearPlacement(data) {} + explicit IfcLinearSpanPlacement (const std::weak_ptr& data) : IfcLinearPlacement(data) {} double Span() const; void setSpan(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcCurve v2_PlacementMeasuredAlong, ::Ifc4x3_rc2::IfcPointByDistanceExpression v3_Distance, ::Ifc4x3_rc2::IfcAxis2PlacementLinear v4_RelativePlacement, ::Ifc4x3_rc2::IfcAxis2Placement3D v5_CartesianPosition, double v6_Span); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -21064,13 +21064,13 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system. ::Ifc4x3_rc2::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_rc2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc2::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -21102,10 +21102,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -21130,7 +21130,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x3_rc2::IfcRepresentationMap MappingSource() const; @@ -21139,7 +21139,7 @@ public: ::Ifc4x3_rc2::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x3_rc2::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_rc2::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -21172,7 +21172,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -21197,7 +21197,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -21208,7 +21208,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -21227,7 +21227,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -21247,7 +21247,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -21259,7 +21259,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc2::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_rc2::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -21295,13 +21295,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x3_rc2::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x3_rc2::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcRepresentation > v3_Representations, ::Ifc4x3_rc2::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -21407,7 +21407,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x3_rc2::IfcMaterialLayerSet ForLayerSet() const; @@ -21437,7 +21437,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc2::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc2::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -21450,7 +21450,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_rc2::IfcMaterialProfileSet ForProfileSet() const; @@ -21467,7 +21467,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -21498,7 +21498,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_rc2::IfcMaterialProfileSet ForProfileEndSet() const; @@ -21507,7 +21507,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc2::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -21535,7 +21535,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -21543,7 +21543,7 @@ public: ::Ifc4x3_rc2::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x3_rc2::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcProperty > v3_Properties, ::Ifc4x3_rc2::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -21552,7 +21552,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x3_rc2::IfcMaterial RelatingMaterial() const; @@ -21564,7 +21564,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_rc2::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -21597,10 +21597,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -21656,7 +21656,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -21666,14 +21666,14 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcOpenCrossProfileDef : public IfcProfileDef { public: IfcOpenCrossProfileDef() {} - explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} bool HorizontalWidths() const; void setHorizontalWidths(const bool& v); @@ -21684,7 +21684,7 @@ public: std::optional< std::vector< std::string > /*[2:?]*/ > Tags() const; void setTags(const std::optional< std::vector< std::string > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -21749,10 +21749,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -21764,7 +21764,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x3_rc2::IfcOrganization RelatingOrganization() const; @@ -21773,7 +21773,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x3_rc2::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_rc2::IfcOrganization > v4_RelatedOrganizations); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -21786,7 +21786,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x3_rc2::IfcEdge EdgeElement() const; @@ -21795,7 +21795,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21843,13 +21843,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x3_rc2::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21869,13 +21869,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x3_rc2::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_rc2::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21890,7 +21890,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > HasQuantities() const; @@ -21905,7 +21905,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21929,7 +21929,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21946,7 +21946,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc2::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21961,13 +21961,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x3_rc2::IfcPoint Location() const; void setLocation(const ::Ifc4x3_rc2::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21978,7 +21978,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21987,7 +21987,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21998,17 +21998,17 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcPointByDistanceExpression : public IfcPoint { public: IfcPointByDistanceExpression() {} - explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} ::Ifc4x3_rc2::IfcCurveMeasureSelect DistanceAlong() const; void setDistanceAlong(const ::Ifc4x3_rc2::IfcCurveMeasureSelect& v); @@ -22021,7 +22021,7 @@ public: ::Ifc4x3_rc2::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_rc2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_rc2::IfcCurve v5_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -22036,7 +22036,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x3_rc2::IfcCurve BasisCurve() const; @@ -22045,7 +22045,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -22060,7 +22060,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x3_rc2::IfcSurface BasisSurface() const; @@ -22072,7 +22072,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -22117,13 +22117,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x3_rc2::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -22185,7 +22185,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x3_rc2::IfcAxis2Placement3D Position() const; @@ -22196,7 +22196,7 @@ public: ::Ifc4x3_rc2::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x3_rc2::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc2::IfcAxis2Placement3D v3_Position, ::Ifc4x3_rc2::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -22209,23 +22209,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -22242,10 +22242,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -22263,12 +22263,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -22285,13 +22285,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x3_rc2::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x3_rc2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcProperty > v3_Properties, ::Ifc4x3_rc2::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -22300,7 +22300,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -22315,7 +22315,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// IfcPropertyDefinition defines the generalization of @@ -22371,12 +22371,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -22390,7 +22390,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x3_rc2::IfcProperty DependingProperty() const; @@ -22402,7 +22402,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcProperty v3_DependingProperty, ::Ifc4x3_rc2::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -22450,13 +22450,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -22487,20 +22487,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -22540,7 +22540,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -22549,7 +22549,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -22560,7 +22560,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -22569,7 +22569,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_rc2::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc2::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc2::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc2::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc2::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -22580,7 +22580,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -22601,7 +22601,7 @@ public: std::optional< double > BarCount() const; void setBarCount(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -22615,10 +22615,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -22630,7 +22630,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -22639,7 +22639,7 @@ public: ::Ifc4x3_rc2::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_rc2::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_rc2::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -22665,7 +22665,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x3_rc2::IfcConstraint RelatingConstraint() const; @@ -22674,7 +22674,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_rc2::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -22682,7 +22682,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -22730,7 +22730,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc2::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22773,13 +22773,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -22790,7 +22790,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x3_rc2::IfcSectionTypeEnum::Value SectionType() const; @@ -22802,7 +22802,7 @@ public: ::Ifc4x3_rc2::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x3_rc2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc2::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc2::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -22815,7 +22815,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -22836,7 +22836,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_rc2::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc2::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc2::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc2::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22895,7 +22895,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x3_rc2::IfcCompositeCurve SpineCurve() const; @@ -22907,19 +22907,19 @@ public: std::vector< ::Ifc4x3_rc2::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_rc2::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc2::IfcAxis2Placement3D > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSegment : public IfcGeometricRepresentationItem { public: IfcSegment() {} - explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3_rc2::IfcTransitionCode::Value Transition() const; void setTransition(const ::Ifc4x3_rc2::IfcTransitionCode::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22937,12 +22937,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x3_rc2::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x3_rc2::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22951,10 +22951,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22969,7 +22969,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22981,7 +22981,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22992,10 +22992,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -23006,7 +23006,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -23027,7 +23027,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -23038,7 +23038,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -23050,7 +23050,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -23061,7 +23061,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -23082,7 +23082,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -23091,13 +23091,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -23109,7 +23109,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -23130,7 +23130,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -23144,13 +23144,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -23166,13 +23166,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x3_rc2::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x3_rc2::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcVertex v1_EdgeStart, ::Ifc4x3_rc2::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc2::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -23188,10 +23188,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -23242,7 +23242,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -23276,7 +23276,7 @@ public: ::Ifc4x3_rc2::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x3_rc2::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc2::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc2::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc2::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc2::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc2::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc2::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc2::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -23300,7 +23300,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x3_rc2::IfcProfileDef SweptArea() const; @@ -23309,7 +23309,7 @@ public: ::Ifc4x3_rc2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -23368,7 +23368,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x3_rc2::IfcCurve Directrix() const; @@ -23390,7 +23390,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -23406,13 +23406,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -23423,7 +23423,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x3_rc2::IfcProfileDef SweptCurve() const; @@ -23432,7 +23432,7 @@ public: ::Ifc4x3_rc2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -23466,7 +23466,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23496,17 +23496,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -23522,7 +23522,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -23535,7 +23535,7 @@ public: ::Ifc4x3_rc2::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x3_rc2::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_rc2::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc2::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -23550,7 +23550,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x3_rc2::IfcPlanarExtent Extent() const; @@ -23559,7 +23559,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_rc2::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc2::IfcTextPath::Value v3_Path, ::Ifc4x3_rc2::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -23630,7 +23630,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -23651,7 +23651,7 @@ public: ::Ifc4x3_rc2::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x3_rc2::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_rc2::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -23695,7 +23695,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -23710,7 +23710,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -23747,7 +23747,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -23765,7 +23765,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -23799,7 +23799,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -23814,7 +23814,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23886,7 +23886,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > RepresentationMaps() const; @@ -23896,7 +23896,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23914,7 +23914,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23929,7 +23929,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23963,7 +23963,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23987,7 +23987,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -24000,7 +24000,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x3_rc2::IfcDirection Orientation() const; @@ -24009,7 +24009,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -24027,13 +24027,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x3_rc2::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x3_rc2::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcVertex v1_LoopVertex); }; /// Definition: The window style defines a particular style of windows, which may be included into the spatial context of the building model through instances of IfcWindow. A window style defines the overall parameter of the window style and refers to the particular parameter of the lining and one (or several) panels through IfcWindowLiningProperties and IfcWindowPanelProperties. @@ -24057,7 +24057,7 @@ public: class IFC_PARSE_API IfcWindowStyle : public IfcTypeProduct { public: IfcWindowStyle() {} - explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the basic construction and material type of the window. ::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value ConstructionType() const; @@ -24072,7 +24072,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc2::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// IfcZShapeProfileDef defines @@ -24103,7 +24103,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -24124,7 +24124,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -24143,10 +24143,10 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc2::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -24172,7 +24172,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -24185,7 +24185,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc2::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_rc2::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_rc2::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -24228,7 +24228,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -24258,7 +24258,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -24273,13 +24273,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x3_rc2::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPoint v1_Location, ::Ifc4x3_rc2::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -24296,13 +24296,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x3_rc2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPoint v1_Location, ::Ifc4x3_rc2::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -24321,7 +24321,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x3_rc2::IfcDirection Axis() const; @@ -24330,32 +24330,32 @@ public: ::Ifc4x3_rc2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPoint v1_Location, ::Ifc4x3_rc2::IfcDirection v2_Axis, ::Ifc4x3_rc2::IfcDirection v3_RefDirection); }; class IFC_PARSE_API IfcAxis2PlacementLinear : public IfcPlacement { public: IfcAxis2PlacementLinear() {} - explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} ::Ifc4x3_rc2::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc2::IfcDirection& v); ::Ifc4x3_rc2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPoint v1_Location, ::Ifc4x3_rc2::IfcDirection v2_Axis, ::Ifc4x3_rc2::IfcDirection v3_RefDirection); }; class IFC_PARSE_API IfcAxisLateralInclination : public IfcGeometricRepresentationItem { public: IfcAxisLateralInclination() {} - explicit IfcAxisLateralInclination (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAxisLateralInclination (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< IfcLinearAxisWithInclination > ToLinearAxis() const; // INVERSE IfcLinearAxisWithInclination::Inclinating - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -24387,7 +24387,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x3_rc2::IfcBooleanOperator::Value Operator() const; @@ -24399,7 +24399,7 @@ public: ::Ifc4x3_rc2::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x3_rc2::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc2::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -24417,10 +24417,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -24448,7 +24448,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x3_rc2::IfcCartesianPoint Corner() const; @@ -24463,7 +24463,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -24499,13 +24499,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x3_rc2::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x3_rc2::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc2::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -24533,7 +24533,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -24551,7 +24551,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -24564,51 +24564,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -24644,7 +24644,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x3_rc2::IfcDirection Axis1() const; @@ -24659,7 +24659,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24670,10 +24670,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -24689,13 +24689,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24706,13 +24706,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x3_rc2::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc2::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -24729,7 +24729,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -24738,7 +24738,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcDirection v1_Axis1, ::Ifc4x3_rc2::IfcDirection v2_Axis2, ::Ifc4x3_rc2::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc2::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -24756,13 +24756,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -24817,10 +24817,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24834,7 +24834,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24852,7 +24852,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24863,7 +24863,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24873,7 +24873,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_rc2::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x3_rc2::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24886,7 +24886,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcSegment { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} /// An indicator of whether or not the sense of the segment agrees with, or opposes, that of the parent curve. If SameSense is false, the point with highest parameter value is taken as the first point of the segment. /// @@ -24898,7 +24898,7 @@ public: void setParentCurve(const ::Ifc4x3_rc2::IfcCurve& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc2::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24919,14 +24919,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > >& v); ::Ifc4x3_rc2::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_rc2::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24945,7 +24945,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24969,7 +24969,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc2::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24985,13 +24985,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -25002,13 +25002,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x3_rc2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -25055,13 +25055,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x3_rc2::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x3_rc2::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -25077,10 +25077,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -25099,7 +25099,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x3_rc2::IfcPlane BasisSurface() const; @@ -25111,7 +25111,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x3_rc2::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPlane v1_BasisSurface, ::Ifc4x3_rc2::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_rc2::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -25138,7 +25138,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x3_rc2::IfcSurface BasisSurface() const; @@ -25149,14 +25149,14 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_rc2::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; class IFC_PARSE_API IfcCurveSegment : public IfcSegment { public: IfcCurveSegment() {} - explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} ::Ifc4x3_rc2::IfcPlacement StartPlacement() const; void setStartPlacement(const ::Ifc4x3_rc2::IfcPlacement& v); @@ -25165,7 +25165,7 @@ public: ::Ifc4x3_rc2::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_rc2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_rc2::IfcPlacement v2_StartPlacement, ::Ifc4x3_rc2::IfcCurveMeasureSelect v3_SegmentLength, ::Ifc4x3_rc2::IfcCurve v4_ParentCurve); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -25178,20 +25178,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDirectrixCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixCurveSweptAreaSolid() {} - explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_rc2::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc2::IfcCurve& v); @@ -25200,14 +25200,14 @@ public: ::Ifc4x3_rc2::IfcCurveMeasureSelect EndParam() const; void setEndParam(const ::Ifc4x3_rc2::IfcCurveMeasureSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc2::IfcCurveMeasureSelect v5_EndParam); }; class IFC_PARSE_API IfcDirectrixDistanceSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixDistanceSweptAreaSolid() {} - explicit IfcDirectrixDistanceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixDistanceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_rc2::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc2::IfcCurve& v); @@ -25216,7 +25216,7 @@ public: ::Ifc4x3_rc2::IfcPointByDistanceExpression EndDistance() const; void setEndDistance(const ::Ifc4x3_rc2::IfcPointByDistanceExpression& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcPointByDistanceExpression v4_StartDistance, ::Ifc4x3_rc2::IfcPointByDistanceExpression v5_EndDistance); }; /// Definition: The door style, IfcDoorStyle, defines a particular style of doors, which may be included into the spatial context of the building model through instances of IfcDoor. A door style defines the overall parameter of the door style and refers to the particular parameter of the lining and one (or several) panels through the IfcDoorLiningProperties and the IfcDoorPanelProperties. @@ -25248,7 +25248,7 @@ public: class IFC_PARSE_API IfcDoorStyle : public IfcTypeProduct { public: IfcDoorStyle() {} - explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the general layout and operation of the door style. ::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value OperationType() const; @@ -25263,7 +25263,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc2::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -25280,13 +25280,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x3_rc2::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_rc2::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -25369,7 +25369,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -25380,7 +25380,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -25408,13 +25408,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -25425,13 +25425,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x3_rc2::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -25453,7 +25453,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -25462,7 +25462,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -25474,7 +25474,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -25490,7 +25490,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc2::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -25564,7 +25564,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x3_rc2::IfcDirection ExtrudedDirection() const; @@ -25574,7 +25574,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -25678,13 +25678,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x3_rc2::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_rc2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_rc2::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -25702,13 +25702,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x3_rc2::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x3_rc2::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -25761,7 +25761,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x3_rc2::IfcCurveStyle HatchLineAppearance() const; @@ -25787,7 +25787,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_rc2::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_rc2::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_rc2::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -25798,7 +25798,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x3_rc2::IfcVector > TilingPattern() const; @@ -25810,7 +25810,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_rc2::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25874,13 +25874,13 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The direction providing the fixed axis1 (x-axis) direction for orienting the swept area during the sweeping operation along the Directrix. ::Ifc4x3_rc2::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc2::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc2::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -25914,10 +25914,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25960,7 +25960,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25968,7 +25968,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -26035,13 +26035,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -26054,10 +26054,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -26126,7 +26126,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -26148,46 +26148,46 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcInclinedReferenceSweptAreaSolid : public IfcDirectrixDistanceSweptAreaSolid { public: IfcInclinedReferenceSweptAreaSolid() {} - explicit IfcInclinedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixDistanceSweptAreaSolid(data) {} + explicit IfcInclinedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixDistanceSweptAreaSolid(data) {} std::optional< bool > FixedAxisVertical() const; void setFixedAxisVertical(const std::optional< bool >& v); ::Ifc4x3_rc2::IfcAxisLateralInclination Inclinating() const; void setInclinating(const ::Ifc4x3_rc2::IfcAxisLateralInclination& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcPointByDistanceExpression v4_StartDistance, ::Ifc4x3_rc2::IfcPointByDistanceExpression v5_EndDistance, std::optional< bool > v6_FixedAxisVertical, ::Ifc4x3_rc2::IfcAxisLateralInclination v7_Inclinating); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef @@ -26244,7 +26244,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -26265,7 +26265,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -26282,13 +26282,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -26307,7 +26307,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x3_rc2::IfcCartesianPoint Pnt() const; @@ -26316,7 +26316,7 @@ public: ::Ifc4x3_rc2::IfcVector Dir() const; void setDir(const ::Ifc4x3_rc2::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_Pnt, ::Ifc4x3_rc2::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -26385,13 +26385,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x3_rc2::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x3_rc2::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -26479,7 +26479,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -26489,19 +26489,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc2::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_rc2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -26518,7 +26518,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -26527,7 +26527,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -26548,7 +26548,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -26560,21 +26560,21 @@ public: ::Ifc4x3_rc2::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_rc2::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -26587,14 +26587,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc2::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x3_rc2::IfcSurface& v); ::Ifc4x3_rc2::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x3_rc2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSurface v1_BasisSurface, ::Ifc4x3_rc2::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -26606,14 +26606,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x3_rc2::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x3_rc2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_rc2::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -26655,10 +26655,10 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -26669,10 +26669,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -26685,10 +26685,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -26714,10 +26714,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -26736,14 +26736,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -26789,7 +26789,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -26806,7 +26806,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26903,7 +26903,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x3_rc2::IfcObjectPlacement ObjectPlacement() const; @@ -26915,7 +26915,7 @@ public: std::vector< IfcRelPositions > PositionedRelativeTo() const; // INVERSE IfcRelPositions::RelatedProducts std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26965,10 +26965,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc2::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26998,10 +26998,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc2::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -27111,7 +27111,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x3_rc2::IfcValue UpperBoundValue() const; @@ -27128,7 +27128,7 @@ public: ::Ifc4x3_rc2::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x3_rc2::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcValue v3_UpperBoundValue, ::Ifc4x3_rc2::IfcValue v4_LowerBoundValue, ::Ifc4x3_rc2::IfcUnit v5_Unit, ::Ifc4x3_rc2::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -27211,7 +27211,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -27222,7 +27222,7 @@ public: ::Ifc4x3_rc2::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x3_rc2::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v3_EnumerationValues, ::Ifc4x3_rc2::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -27293,7 +27293,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -27304,7 +27304,7 @@ public: ::Ifc4x3_rc2::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v3_ListValues, ::Ifc4x3_rc2::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -27325,7 +27325,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -27336,7 +27336,7 @@ public: ::Ifc4x3_rc2::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x3_rc2::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x3_rc2::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -27395,13 +27395,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x3_rc2::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_rc2::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -27438,7 +27438,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -27461,7 +27461,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc2::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -27511,7 +27511,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -27524,7 +27524,7 @@ public: ::Ifc4x3_rc2::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc2::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc2::IfcValue v3_NominalValue, ::Ifc4x3_rc2::IfcUnit v4_Unit); }; /// A property with a range value @@ -27646,7 +27646,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -27673,7 +27673,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x3_rc2::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc2::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc2::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc2::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc2::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -27703,12 +27703,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcProxy is intended to be a kind of a container for wrapping objects which are defined by associated properties, which may or may not have a geometric representation and placement in space. A proxy may have a semantic meaning, defined by the Name attribute, and property definitions, attached through the property assignment relationship, which definition may be outside of the definitions given by the current release of IFC. @@ -27730,7 +27730,7 @@ public: class IFC_PARSE_API IfcProxy : public IfcProduct { public: IfcProxy() {} - explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} /// High level (and only) semantic meaning attached to the IfcProxy, defining the basic construct type behind the Proxy, e.g. Product or Process. ::Ifc4x3_rc2::IfcObjectTypeEnum::Value ProxyType() const; @@ -27739,7 +27739,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -27765,7 +27765,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -27777,7 +27777,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27871,7 +27871,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27883,7 +27883,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27904,7 +27904,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x3_rc2::IfcSurface BasisSurface() const; @@ -27928,7 +27928,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27960,7 +27960,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27969,7 +27969,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_rc2::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_rc2::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27986,7 +27986,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > RelatedObjects() const; @@ -27996,7 +27996,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -28011,7 +28011,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x3_rc2::IfcActor RelatingActor() const; @@ -28020,7 +28020,7 @@ public: ::Ifc4x3_rc2::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x3_rc2::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcActor v7_RelatingActor, ::Ifc4x3_rc2::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -28031,13 +28031,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x3_rc2::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x3_rc2::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -28056,13 +28056,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x3_rc2::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x3_rc2::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -28077,13 +28077,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -28111,7 +28111,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -28122,7 +28122,7 @@ public: ::Ifc4x3_rc2::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x3_rc2::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc2::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -28136,7 +28136,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -28144,7 +28144,7 @@ public: ::Ifc4x3_rc2::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x3_rc2::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -28156,7 +28156,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -28164,7 +28164,7 @@ public: ::Ifc4x3_rc2::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x3_rc2::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc2::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc2::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -28211,7 +28211,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -28219,7 +28219,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -28228,13 +28228,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x3_rc2::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_rc2::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -28270,13 +28270,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x3_rc2::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x3_rc2::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -28285,7 +28285,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -28294,7 +28294,7 @@ public: ::Ifc4x3_rc2::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x3_rc2::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_rc2::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -28307,13 +28307,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x3_rc2::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x3_rc2::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -28326,13 +28326,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x3_rc2::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x3_rc2::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -28432,25 +28432,25 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x3_rc2::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x3_rc2::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcMaterialSelect v6_RelatingMaterial); }; class IFC_PARSE_API IfcRelAssociatesProfileDef : public IfcRelAssociates { public: IfcRelAssociatesProfileDef() {} - explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc4x3_rc2::IfcProfileDef RelatingProfileDef() const; void setRelatingProfileDef(const ::Ifc4x3_rc2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc2::IfcProfileDef v6_RelatingProfileDef); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -28459,10 +28459,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -28490,7 +28490,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x3_rc2::IfcConnectionGeometry ConnectionGeometry() const; @@ -28502,7 +28502,7 @@ public: ::Ifc4x3_rc2::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_rc2::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc2::IfcElement v6_RelatingElement, ::Ifc4x3_rc2::IfcElement v7_RelatedElement); }; /// The @@ -28538,7 +28538,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -28553,7 +28553,7 @@ public: ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc2::IfcElement v6_RelatingElement, ::Ifc4x3_rc2::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc2::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -28584,7 +28584,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x3_rc2::IfcPort RelatingPort() const; @@ -28595,7 +28595,7 @@ public: ::Ifc4x3_rc2::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_rc2::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcPort v5_RelatingPort, ::Ifc4x3_rc2::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -28614,7 +28614,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x3_rc2::IfcPort RelatingPort() const; @@ -28626,7 +28626,7 @@ public: ::Ifc4x3_rc2::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x3_rc2::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcPort v5_RelatingPort, ::Ifc4x3_rc2::IfcPort v6_RelatedPort, ::Ifc4x3_rc2::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -28635,7 +28635,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x3_rc2::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -28644,7 +28644,7 @@ public: ::Ifc4x3_rc2::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x3_rc2::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_rc2::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -28674,7 +28674,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x3_rc2::IfcStructuralMember RelatingStructuralMember() const; @@ -28695,7 +28695,7 @@ public: ::Ifc4x3_rc2::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc2::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc2::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc2::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc2::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -28718,13 +28718,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x3_rc2::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x3_rc2::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc2::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc2::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc2::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc2::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_rc2::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -28753,7 +28753,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x3_rc2::IfcElement > RealizingElements() const; @@ -28762,7 +28762,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc2::IfcElement v6_RelatingElement, ::Ifc4x3_rc2::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_rc2::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -28828,7 +28828,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -28839,7 +28839,7 @@ public: ::Ifc4x3_rc2::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_rc2::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcProduct > v5_RelatedElements, ::Ifc4x3_rc2::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -28861,7 +28861,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28872,7 +28872,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_rc2::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_rc2::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28904,7 +28904,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28915,7 +28915,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_rc2::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_rc2::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28932,7 +28932,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x3_rc2::IfcContext RelatingContext() const; @@ -28941,7 +28941,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_rc2::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28977,10 +28977,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -29013,10 +29013,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -29037,7 +29037,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x3_rc2::IfcObject > RelatedObjects() const; @@ -29046,7 +29046,7 @@ public: ::Ifc4x3_rc2::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x3_rc2::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc2::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -29067,7 +29067,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > RelatedObjects() const; @@ -29076,7 +29076,7 @@ public: ::Ifc4x3_rc2::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x3_rc2::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_rc2::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -29094,7 +29094,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -29103,7 +29103,7 @@ public: ::Ifc4x3_rc2::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x3_rc2::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_rc2::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -29178,7 +29178,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x3_rc2::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc2::IfcObject >& v); @@ -29186,7 +29186,7 @@ public: ::Ifc4x3_rc2::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x3_rc2::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc2::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -29201,7 +29201,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x3_rc2::IfcOpeningElement RelatingOpeningElement() const; @@ -29212,7 +29212,7 @@ public: ::Ifc4x3_rc2::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x3_rc2::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -29225,7 +29225,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x3_rc2::IfcDistributionControlElement > RelatedControlElements() const; @@ -29234,7 +29234,7 @@ public: ::Ifc4x3_rc2::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x3_rc2::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_rc2::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -29287,7 +29287,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x3_rc2::IfcInterferenceSelect RelatingElement() const; @@ -29305,7 +29305,7 @@ public: boost::logic::tribool ImpliedOrder() const; void setImpliedOrder(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_rc2::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder); }; /// The nesting relationship @@ -29336,7 +29336,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -29349,21 +29349,21 @@ public: std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc2::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelPositions : public IfcRelConnects { public: IfcRelPositions() {} - explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc4x3_rc2::IfcPositioningElement RelatingPositioningElement() const; void setRelatingPositioningElement(const ::Ifc4x3_rc2::IfcPositioningElement& v); std::vector< ::Ifc4x3_rc2::IfcProduct > RelatedProducts() const; void setRelatedProducts(const std::vector< ::Ifc4x3_rc2::IfcProduct >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_rc2::IfcProduct > v6_RelatedProducts); }; /// The IfcRelProjectsElement is an objectified relationship @@ -29401,7 +29401,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x3_rc2::IfcElement RelatingElement() const; @@ -29410,7 +29410,7 @@ public: ::Ifc4x3_rc2::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x3_rc2::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcElement v5_RelatingElement, ::Ifc4x3_rc2::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -29465,7 +29465,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -29477,7 +29477,7 @@ public: ::Ifc4x3_rc2::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_rc2::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc2::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_rc2::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -29537,7 +29537,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x3_rc2::IfcProcess RelatingProcess() const; @@ -29565,7 +29565,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc2::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc2::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc2::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -29592,7 +29592,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x3_rc2::IfcSystem RelatingSystem() const; @@ -29605,7 +29605,7 @@ public: std::vector< ::Ifc4x3_rc2::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x3_rc2::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_rc2::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -29773,7 +29773,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x3_rc2::IfcSpaceBoundarySelect RelatingSpace() const; @@ -29797,7 +29797,7 @@ public: ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -29850,14 +29850,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29895,14 +29895,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc2::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc2::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc2::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc2::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc2::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc2::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29915,14 +29915,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_rc2::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x3_rc2::IfcElement& v); ::Ifc4x3_rc2::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x3_rc2::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_rc2::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29951,12 +29951,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc2::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29975,7 +29975,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29990,7 +29990,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -30072,7 +30072,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x3_rc2::IfcAxis1Placement Axis() const; @@ -30081,7 +30081,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -30145,12 +30145,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x3_rc2::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_rc2::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_rc2::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -30221,7 +30221,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -30230,7 +30230,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -30317,7 +30317,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -30326,42 +30326,42 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x3_rc2::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc2::IfcCurve& v); std::vector< ::Ifc4x3_rc2::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_rc2::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression >& v); bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression > v3_CrossSectionPositions, bool v4_FixedAxisVertical); }; class IFC_PARSE_API IfcSectionedSurface : public IfcSurface { public: IfcSectionedSurface() {} - explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} ::Ifc4x3_rc2::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc2::IfcCurve& v); @@ -30372,14 +30372,14 @@ public: bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc2::IfcPointByDistanceExpression > v2_CrossSectionPositions, std::vector< ::Ifc4x3_rc2::IfcProfileDef > v3_CrossSections, bool v4_FixedAxisVertical); }; class IFC_PARSE_API IfcSeriesParameterCurve : public IfcCurve { public: IfcSeriesParameterCurve() {} - explicit IfcSeriesParameterCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSeriesParameterCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc2::IfcPlacement Position() const; void setPosition(const ::Ifc4x3_rc2::IfcPlacement& v); @@ -30388,7 +30388,7 @@ public: std::vector< double > /*[2:?]*/ CoefficientsY() const; void setCoefficientsY(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcPlacement v1_Position, std::vector< double > /*[2:?]*/ v2_CoefficientsX, std::vector< double > /*[2:?]*/ v3_CoefficientsY); }; /// The IfcSimplePropertyTemplate defines the template for @@ -30439,7 +30439,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -30489,7 +30489,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc2::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc2::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc2::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc2::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc2::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -30526,7 +30526,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -30537,7 +30537,7 @@ public: std::vector< IfcRelServicesBuildings > ServicedBySystems() const; // INVERSE IfcRelServicesBuildings::RelatedBuildings std::vector< IfcRelReferencedInSpatialStructure > ReferencesElements() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatingStructure - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -30574,13 +30574,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -30660,7 +30660,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -30669,7 +30669,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -30709,10 +30709,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -30767,13 +30767,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -30809,7 +30809,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -30817,7 +30817,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -30873,25 +30873,25 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Radius); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30990,7 +30990,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -31018,7 +31018,7 @@ public: void setGlobalOrLocal(const ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -31111,11 +31111,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -31125,11 +31125,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -31155,10 +31155,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -31184,7 +31184,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -31193,7 +31193,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -31217,10 +31217,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -31248,13 +31248,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -31271,20 +31271,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc2::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x3_rc2::IfcCurve& v); @@ -31293,7 +31293,7 @@ public: ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -31361,13 +31361,13 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The surface containing the Directrix. ::Ifc4x3_rc2::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x3_rc2::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcCurve v3_Directrix, ::Ifc4x3_rc2::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc2::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc2::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -31386,7 +31386,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x3_rc2::IfcDirection ExtrudedDirection() const; @@ -31395,7 +31395,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -31418,13 +31418,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x3_rc2::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x3_rc2::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc2::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc2::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -31460,12 +31460,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -31716,7 +31716,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -31758,7 +31758,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc2::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc2::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -31804,7 +31804,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -31814,35 +31814,35 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc2::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x3_rc2::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x3_rc2::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; /// Definition from IAI: The element type @@ -31911,20 +31911,20 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcElementType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc2::IfcTransportElementTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTransportElementTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTransportElementTypeSelect v10_PredefinedType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31935,19 +31935,19 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer @@ -32051,7 +32051,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -32098,7 +32098,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_rc2::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -32149,7 +32149,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -32169,7 +32169,7 @@ public: ::Ifc4x3_rc2::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc2::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc2::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -32190,14 +32190,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x3_rc2::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x3_rc2::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -32236,10 +32236,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -32266,12 +32266,12 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x3_rc2::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_rc2::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc2::IfcClosedShell > v2_Voids); }; /// Definition from IAI: An annotation is a graphical @@ -32450,13 +32450,13 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::optional< ::Ifc4x3_rc2::IfcAnnotationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAnnotationTypeEnum::Value >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc2::IfcAnnotationTypeEnum::Value > v8_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -32531,7 +32531,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -32555,7 +32555,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc2::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -32568,7 +32568,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -32586,7 +32586,7 @@ public: ::Ifc4x3_rc2::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_rc2::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -32689,7 +32689,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -32701,14 +32701,14 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; class IFC_PARSE_API IfcBlossCurve : public IfcCurve { public: IfcBlossCurve() {} - explicit IfcBlossCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBlossCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc2::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement& v); @@ -32717,7 +32717,7 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position, double v2_CurveLength, double v3_Radius); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -32730,10 +32730,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc2::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc2::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -32749,11 +32749,11 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} std::vector< IfcLinearPositioningElement > PositioningElement() const; // INVERSE IfcLinearPositioningElement::Axis - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The building storey has an @@ -32936,23 +32936,23 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; class IFC_PARSE_API IfcBuiltElementType : public IfcElementType { public: IfcBuiltElementType() {} - explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The IfcChimneyType @@ -32983,13 +32983,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuiltElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -33013,37 +33013,37 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc2::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcClothoid : public IfcCurve { public: IfcClothoid() {} - explicit IfcClothoid (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcClothoid (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc2::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement& v); double ClothoidConstant() const; void setClothoidConstant(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position, double v2_ClothoidConstant); }; /// Definition from IAI: The element type @@ -33147,13 +33147,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuiltElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x3_rc2::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -33167,7 +33167,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -33177,7 +33177,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc2::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -33249,7 +33249,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x3_rc2::IfcSegment > Segments() const; @@ -33258,7 +33258,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -33275,10 +33275,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -33289,13 +33289,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x3_rc2::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_rc2::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -33314,13 +33314,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -33339,13 +33339,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -33364,13 +33364,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -33448,7 +33448,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x3_rc2::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x3_rc2::IfcResourceTime& v); @@ -33457,7 +33457,7 @@ public: ::Ifc4x3_rc2::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_rc2::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -33473,7 +33473,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -33483,7 +33483,7 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -33525,7 +33525,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -33547,7 +33547,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc2::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc2::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -33576,7 +33576,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -33603,19 +33603,19 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; class IFC_PARSE_API IfcCourseType : public IfcBuiltElementType { public: IfcCourseType() {} - explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc2::IfcCourseTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCourseTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCourseTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -33700,13 +33700,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuiltElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -33722,14 +33722,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -33756,20 +33756,20 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuiltElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCurveSegment2D : public IfcBoundedCurve { public: IfcCurveSegment2D() {} - explicit IfcCurveSegment2D (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCurveSegment2D (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc2::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x3_rc2::IfcCartesianPoint& v); @@ -33778,7 +33778,7 @@ public: double SegmentLength() const; void setSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -33838,23 +33838,23 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcDeepFoundationType : public IfcBuiltElementType { public: IfcDeepFoundationType() {} - explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The @@ -33888,10 +33888,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33962,10 +33962,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -34066,7 +34066,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -34114,7 +34114,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_rc2::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -34165,7 +34165,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -34185,7 +34185,7 @@ public: ::Ifc4x3_rc2::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc2::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc2::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc2::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc2::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -34319,7 +34319,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuiltElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x3_rc2::IfcDoorTypeEnum::Value PredefinedType() const; @@ -34332,7 +34332,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -34410,10 +34410,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -34432,10 +34432,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -34494,7 +34494,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -34511,7 +34511,7 @@ public: std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -34611,7 +34611,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -34622,7 +34622,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -34650,13 +34650,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -34739,10 +34739,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -34757,10 +34757,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -34793,7 +34793,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -34802,7 +34802,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -34831,10 +34831,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -34866,12 +34866,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc2::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -34903,13 +34903,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34941,13 +34941,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -35030,7 +35030,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -35049,7 +35049,7 @@ public: ::Ifc4x3_rc2::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x3_rc2::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc2::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc2::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -35060,10 +35060,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -35093,10 +35093,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -35126,37 +35126,37 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x3_rc2::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_rc2::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc2::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcFacility : public IfcSpatialStructureElement { public: IfcFacility() {} - explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType); }; class IFC_PARSE_API IfcFacilityPart : public IfcSpatialStructureElement { public: IfcFacilityPart() {} - explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} ::Ifc4x3_rc2::IfcFacilityPartTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcFacilityPartTypeSelect& v); ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value UsageType() const; void setUsageType(const ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc2::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value v11_UsageType); }; /// Definition from IAI: @@ -35170,13 +35170,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -35205,13 +35205,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -35311,10 +35311,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -35375,11 +35375,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -35435,11 +35435,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -35467,10 +35467,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -35499,10 +35499,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -35540,13 +35540,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -35574,10 +35574,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -35614,10 +35614,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -35630,10 +35630,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -35646,10 +35646,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -35663,10 +35663,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -35681,13 +35681,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuiltElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Subtype of footing. ::Ifc4x3_rc2::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -35797,10 +35797,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -35837,12 +35837,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35988,40 +35988,40 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalElement : public IfcElement { public: IfcGeotechnicalElement() {} - explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeotechnicalStratum : public IfcGeotechnicalElement { public: IfcGeotechnicalStratum() {} - explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGradientCurve : public IfcBoundedCurve { public: IfcGradientCurve() {} - explicit IfcGradientCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcGradientCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc2::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_rc2::IfcBoundedCurve& v); @@ -36030,7 +36030,7 @@ public: ::Ifc4x3_rc2::IfcCartesianPoint EndPoint() const; void setEndPoint(const ::Ifc4x3_rc2::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcBoundedCurve v1_BaseCurve, std::vector< ::Ifc4x3_rc2::IfcCurveSegment > v2_Segments, ::Ifc4x3_rc2::IfcCartesianPoint v3_EndPoint); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -36066,11 +36066,11 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -36105,13 +36105,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -36143,44 +36143,44 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDevice : public IfcElementComponent { public: IfcImpactProtectionDevice() {} - explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect v9_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDeviceType : public IfcElementComponentType { public: IfcImpactProtectionDeviceType() {} - explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcImpactProtectionDeviceTypeSelect v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc2::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x3_rc2::IfcCartesianPointList& v); @@ -36189,7 +36189,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_rc2::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -36228,22 +36228,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -36260,7 +36260,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -36285,7 +36285,7 @@ public: ::Ifc4x3_rc2::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x3_rc2::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc2::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc2::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc2::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc2::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -36318,25 +36318,25 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcKerbType : public IfcBuiltElementType { public: IfcKerbType() {} - explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -36366,14 +36366,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -36408,13 +36408,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x3_rc2::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -36451,57 +36451,57 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLineSegment2D : public IfcCurveSegment2D { public: IfcLineSegment2D() {} - explicit IfcLineSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcLineSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength); }; class IFC_PARSE_API IfcLinearElement : public IfcProduct { public: IfcLinearElement() {} - explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminalType : public IfcFlowTerminalType { public: IfcLiquidTerminalType() {} - explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMarineFacility : public IfcFacility { public: IfcMarineFacility() {} - explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} ::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc2::IfcMarineFacilityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -36536,7 +36536,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -36546,7 +36546,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -36587,7 +36587,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -36599,7 +36599,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -36631,12 +36631,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -36743,37 +36743,37 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuiltElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x3_rc2::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMemberTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsApplianceType : public IfcFlowTerminalType { public: IfcMobileTelecommunicationsApplianceType() {} - explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMooringDeviceType : public IfcBuiltElementType { public: IfcMooringDeviceType() {} - explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -36806,25 +36806,25 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcNavigationElementType : public IfcBuiltElementType { public: IfcNavigationElementType() {} - explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -36837,7 +36837,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -36845,7 +36845,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc2::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -37053,7 +37053,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37062,7 +37062,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The standard opening, @@ -37161,10 +37161,10 @@ public: class IFC_PARSE_API IfcOpeningStandardCase : public IfcOpeningElement { public: IfcOpeningStandardCase() {} - explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} + explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -37199,25 +37199,25 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x3_rc2::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcOutletTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPavementType : public IfcBuiltElementType { public: IfcPavementType() {} - explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} bool Flexible() const; void setFlexible(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Flexible); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -37228,7 +37228,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -37239,7 +37239,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc2::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -37276,7 +37276,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -37294,7 +37294,7 @@ public: ::Ifc4x3_rc2::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc2::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc2::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc2::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -37337,7 +37337,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -37355,7 +37355,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -37368,13 +37368,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcDeepFoundationType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} /// Subtype of pile. ::Ifc4x3_rc2::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -37409,13 +37409,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -37454,23 +37454,23 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPlant : public IfcGeographicElement { public: IfcPlant() {} - explicit IfcPlant (const std::weak_ptr& data) : IfcGeographicElement(data) {} + explicit IfcPlant (const std::weak_ptr& data) : IfcGeographicElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -37553,20 +37553,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuiltElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x3_rc2::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -37575,7 +37575,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc2::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -37595,13 +37595,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x3_rc2::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -37660,25 +37660,25 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelPositions > Positions() const; // INVERSE IfcRelPositions::RelatingPositioningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -37788,14 +37788,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc2::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -37844,7 +37844,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37866,7 +37866,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -37979,7 +37979,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37987,7 +37987,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -38028,13 +38028,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -38068,25 +38068,25 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x3_rc2::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcPumpTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailType : public IfcBuiltElementType { public: IfcRailType() {} - explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc2::IfcRailTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcRailTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRailTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -38112,23 +38112,23 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuiltElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x3_rc2::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRailingTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailway : public IfcFacility { public: IfcRailway() {} - explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -38154,13 +38154,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuiltElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38199,13 +38199,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuiltElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x3_rc2::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -38224,27 +38224,27 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x3_rc2::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReferentTypeEnum::Value >& v); std::optional< double > RestartDistance() const; void setRestartDistance(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc2::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -38258,12 +38258,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -38272,10 +38272,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -38305,7 +38305,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -38327,7 +38327,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -38344,7 +38344,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -38378,7 +38378,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > v20_BendingParameters); }; /// The aggregation relationship @@ -38406,7 +38406,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -38419,17 +38419,17 @@ public: std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc2::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc2::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc2::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRoad : public IfcFacility { public: IfcRoad() {} - explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -38467,13 +38467,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuiltElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x3_rc2::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -38516,30 +38516,30 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc2::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc2::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; class IFC_PARSE_API IfcSegmentedReferenceCurve : public IfcBoundedCurve { public: IfcSegmentedReferenceCurve() {} - explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc2::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_rc2::IfcBoundedCurve& v); @@ -38548,7 +38548,7 @@ public: ::Ifc4x3_rc2::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_rc2::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcBoundedCurve v1_BaseCurve, std::vector< ::Ifc4x3_rc2::IfcCurveSegment > v2_Segments, ::Ifc4x3_rc2::IfcPlacement v3_EndPoint); }; /// Definition from IAI: The IfcShadingDeviceType @@ -38575,49 +38575,49 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuiltElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSign : public IfcElementComponent { public: IfcSign() {} - explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc2::IfcSignTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSignTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSignTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignType : public IfcElementComponentType { public: IfcSignType() {} - explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_rc2::IfcSignTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcSignTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSignTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSignalType : public IfcFlowTerminalType { public: IfcSignalType() {} - explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc2::IfcSignalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcSignalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSignalTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -38812,7 +38812,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -38833,7 +38833,7 @@ public: ::Ifc4x3_rc2::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x3_rc2::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc2::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -38916,13 +38916,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuiltElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x3_rc2::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -38954,22 +38954,22 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSolidStratum : public IfcGeotechnicalStratum { public: IfcSolidStratum() {} - explicit IfcSolidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcSolidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A space represents an area or volume @@ -39225,7 +39225,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -39240,7 +39240,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -39276,13 +39276,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -39369,7 +39369,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -39377,7 +39377,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -39409,13 +39409,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -39441,13 +39441,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuiltElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -39486,13 +39486,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuiltElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x3_rc2::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -39517,13 +39517,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -39532,14 +39532,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x3_rc2::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x3_rc2::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -39601,7 +39601,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39610,7 +39610,7 @@ public: ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -39633,7 +39633,7 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Direction which is used in the definition of the local z axis. Axis is specified relative to the so-called global coordinate system, i.e. the SELF\IfcProduct.ObjectPlacement. /// @@ -39641,7 +39641,7 @@ public: ::Ifc4x3_rc2::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc2::IfcDirection v9_Axis); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -39684,7 +39684,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -39695,7 +39695,7 @@ public: ::Ifc4x3_rc2::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc2::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc2::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -39721,10 +39721,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc2::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -39780,13 +39780,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -39799,10 +39799,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -39841,7 +39841,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -39861,7 +39861,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -39912,10 +39912,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -39934,13 +39934,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x3_rc2::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_rc2::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc2::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -39989,10 +39989,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -40002,7 +40002,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -40015,7 +40015,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc2::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -40073,7 +40073,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -40082,7 +40082,7 @@ public: ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -40100,10 +40100,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -40133,14 +40133,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -40178,13 +40178,13 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -40230,13 +40230,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -40259,12 +40259,12 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem std::vector< IfcRelReferencedInSpatialStructure > ServicesFacilities() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -40294,12 +40294,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -40337,20 +40337,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x3_rc2::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_rc2::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTendonTypeEnum::Value >& v); @@ -40369,62 +40369,62 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc2::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduit : public IfcReinforcingElement { public: IfcTendonConduit() {} - explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduitType : public IfcReinforcingElementType { public: IfcTendonConduitType() {} - explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc2::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTendonTypeEnum::Value& v); @@ -40435,19 +40435,19 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; class IFC_PARSE_API IfcTrackElementType : public IfcBuiltElementType { public: IfcTrackElementType() {} - explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -40480,20 +40480,20 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTransitionCurveSegment2D : public IfcCurveSegment2D { public: IfcTransitionCurveSegment2D() {} - explicit IfcTransitionCurveSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcTransitionCurveSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} std::optional< double > StartRadius() const; void setStartRadius(const std::optional< double >& v); @@ -40506,7 +40506,7 @@ public: ::Ifc4x3_rc2::IfcTransitionCurveType::Value TransitionCurveType() const; void setTransitionCurveType(const ::Ifc4x3_rc2::IfcTransitionCurveType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, std::optional< double > v4_StartRadius, std::optional< double > v5_EndRadius, bool v6_IsStartRadiusCCW, bool v7_IsEndRadiusCCW, ::Ifc4x3_rc2::IfcTransitionCurveType::Value v8_TransitionCurveType); }; /// Definition from IAI: Generalization of all transport @@ -40628,7 +40628,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcElement { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -40636,7 +40636,7 @@ public: ::Ifc4x3_rc2::IfcTransportElementTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTransportElementTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc2::IfcTransportElementTypeSelect v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: @@ -40720,7 +40720,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x3_rc2::IfcCurve BasisCurve() const; @@ -40738,7 +40738,7 @@ public: ::Ifc4x3_rc2::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_rc2::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc2::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc2::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc2::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -40773,13 +40773,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -40813,13 +40813,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -40863,37 +40863,37 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x3_rc2::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcValveTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamper : public IfcElementComponent { public: IfcVibrationDamper() {} - explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamperType : public IfcElementComponentType { public: IfcVibrationDamperType() {} - explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc2::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -40933,12 +40933,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -40966,13 +40966,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -41064,20 +41064,20 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcVoidStratum : public IfcGeotechnicalStratum { public: IfcVoidStratum() {} - explicit IfcVoidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcVoidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -41115,13 +41115,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -41211,13 +41211,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuiltElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x3_rc2::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -41259,23 +41259,23 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcWaterStratum : public IfcGeotechnicalStratum { public: IfcWaterStratum() {} - explicit IfcWaterStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcWaterStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The element type @@ -41402,7 +41402,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuiltElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x3_rc2::IfcWindowTypeEnum::Value PredefinedType() const; @@ -41415,7 +41415,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -41434,7 +41434,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -41453,7 +41453,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc2::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc2::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc2::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -41503,7 +41503,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -41527,7 +41527,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -41558,14 +41558,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc2::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -41611,14 +41611,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc2::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc2::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -41709,7 +41709,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -41719,7 +41719,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -41763,7 +41763,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -41785,7 +41785,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc2::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -41817,13 +41817,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -41855,12 +41855,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -41892,34 +41892,34 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentCant : public IfcLinearElement { public: IfcAlignmentCant() {} - explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} double RailHeadDistance() const; void setRailHeadDistance(const double& v); std::vector< ::Ifc4x3_rc2::IfcAlignmentCantSegment > Segments() const; void setSegments(const std::vector< ::Ifc4x3_rc2::IfcAlignmentCantSegment >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance, std::vector< ::Ifc4x3_rc2::IfcAlignmentCantSegment > v9_Segments); }; class IFC_PARSE_API IfcAlignmentCurve : public IfcBoundedCurve { public: IfcAlignmentCurve() {} - explicit IfcAlignmentCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcAlignmentCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc2::IfcAlignmentHorizontal Horizontal() const; void setHorizontal(const ::Ifc4x3_rc2::IfcAlignmentHorizontal& v); @@ -41928,45 +41928,45 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAlignmentHorizontal v1_Horizontal, ::Ifc4x3_rc2::IfcAlignmentVertical v2_Vertical, std::optional< std::string > v3_Tag); }; class IFC_PARSE_API IfcAlignmentHorizontal : public IfcLinearElement { public: IfcAlignmentHorizontal() {} - explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} std::optional< double > StartDistAlong() const; void setStartDistAlong(const std::optional< double >& v); std::vector< ::Ifc4x3_rc2::IfcAlignmentHorizontalSegment > Segments() const; void setSegments(const std::vector< ::Ifc4x3_rc2::IfcAlignmentHorizontalSegment >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< double > v8_StartDistAlong, std::vector< ::Ifc4x3_rc2::IfcAlignmentHorizontalSegment > v9_Segments); }; class IFC_PARSE_API IfcAlignmentSegment : public IfcLinearElement { public: IfcAlignmentSegment() {} - explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} ::Ifc4x3_rc2::IfcAlignmentParameterSegment GeometricParameters() const; void setGeometricParameters(const ::Ifc4x3_rc2::IfcAlignmentParameterSegment& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcAlignmentParameterSegment v8_GeometricParameters); }; class IFC_PARSE_API IfcAlignmentVertical : public IfcLinearElement { public: IfcAlignmentVertical() {} - explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} std::vector< ::Ifc4x3_rc2::IfcAlignmentVerticalSegment > Segments() const; void setSegments(const std::vector< ::Ifc4x3_rc2::IfcAlignmentVerticalSegment >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc2::IfcAlignmentVerticalSegment > v8_Segments); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -41996,7 +41996,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -42031,7 +42031,7 @@ public: ::Ifc4x3_rc2::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x3_rc2::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_rc2::IfcCostValue v7_OriginalValue, ::Ifc4x3_rc2::IfcCostValue v8_CurrentValue, ::Ifc4x3_rc2::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_rc2::IfcActorSelect v10_Owner, ::Ifc4x3_rc2::IfcActorSelect v11_User, ::Ifc4x3_rc2::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_rc2::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -42079,13 +42079,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -42140,7 +42140,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -42158,7 +42158,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc2::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -42181,7 +42181,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -42193,7 +42193,7 @@ public: ::Ifc4x3_rc2::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_rc2::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -42297,25 +42297,25 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuiltElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x3_rc2::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBearingType : public IfcBuiltElementType { public: IfcBearingType() {} - explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc2::IfcBearingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcBearingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBearingTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -42350,13 +42350,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -42369,32 +42369,32 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; class IFC_PARSE_API IfcBridge : public IfcFacility { public: IfcBridge() {} - explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc2::IfcBridgeTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBridgeTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc2::IfcBridgeTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcBridgePart : public IfcFacilityPart { public: IfcBridgePart() {} - explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc2::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc2::IfcFacilityUsageEnum::Value v11_UsageType); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -42574,7 +42574,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcFacility { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -42586,7 +42586,7 @@ public: ::Ifc4x3_rc2::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x3_rc2::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc2::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: Layers or major components as subordinate @@ -42609,13 +42609,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -42625,13 +42625,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: @@ -42671,13 +42671,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuiltElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -42719,7 +42719,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -42727,31 +42727,31 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc2::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; class IFC_PARSE_API IfcBuiltElement : public IfcElement { public: IfcBuiltElement() {} - explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcBuiltSystem : public IfcSystem { public: IfcBuiltSystem() {} - explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} std::optional< ::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value >& v); std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc2::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42784,12 +42784,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42821,13 +42821,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42865,13 +42865,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42905,13 +42905,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42958,25 +42958,25 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundationType : public IfcDeepFoundationType { public: IfcCaissonFoundationType() {} - explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -43014,13 +43014,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x3_rc2::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -43067,14 +43067,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuiltElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -43107,37 +43107,37 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCircularArcSegment2D : public IfcCurveSegment2D { public: IfcCircularArcSegment2D() {} - explicit IfcCircularArcSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} + explicit IfcCircularArcSegment2D (const std::weak_ptr& data) : IfcCurveSegment2D(data) {} double Radius() const; void setRadius(const double& v); bool IsCCW() const; void setIsCCW(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc2::IfcCartesianPoint v1_StartPoint, double v2_StartDirection, double v3_SegmentLength, double v4_Radius, bool v5_IsCCW); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -43170,13 +43170,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x3_rc2::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -43453,7 +43453,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuiltElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -43462,7 +43462,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The standard column, @@ -43713,10 +43713,10 @@ public: class IFC_PARSE_API IfcColumnStandardCase : public IfcColumn { public: IfcColumnStandardCase() {} - explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} + explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -43754,13 +43754,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -43793,13 +43793,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -43832,13 +43832,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -43866,14 +43866,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -43905,14 +43905,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -43933,26 +43933,26 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc2::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc2::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc2::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc2::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegmentType : public IfcFlowSegmentType { public: IfcConveyorSegmentType() {} - explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -43987,13 +43987,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -44032,25 +44032,25 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCourse : public IfcBuiltElement { public: IfcCourse() {} - explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc2::IfcCourseTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCourseTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCourseTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -44280,7 +44280,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuiltElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -44288,7 +44288,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -44432,7 +44432,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuiltElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -44441,7 +44441,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -44481,23 +44481,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x3_rc2::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDeepFoundation : public IfcBuiltElement { public: IfcDeepFoundation() {} - explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Representation of different kinds of @@ -44676,13 +44676,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -44876,25 +44876,25 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoardType : public IfcFlowControllerType { public: IfcDistributionBoardType() {} - explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -44937,13 +44937,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -45003,10 +45003,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -45174,11 +45174,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -45252,11 +45252,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -45344,7 +45344,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x3_rc2::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -45355,7 +45355,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc2::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc2::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -45401,7 +45401,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -45412,7 +45412,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -45774,7 +45774,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuiltElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -45802,7 +45802,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The standard door, @@ -45912,10 +45912,10 @@ public: class IFC_PARSE_API IfcDoorStandardCase : public IfcDoor { public: IfcDoorStandardCase() {} - explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} + explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -45950,13 +45950,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -45991,13 +45991,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -46029,47 +46029,47 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcEarthworksCut : public IfcFeatureElementSubtraction { public: IfcEarthworksCut() {} - explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::optional< ::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcEarthworksElement : public IfcBuiltElement { public: IfcEarthworksElement() {} - explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcEarthworksFill : public IfcEarthworksElement { public: IfcEarthworksFill() {} - explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -46104,13 +46104,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -46143,13 +46143,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -46182,25 +46182,25 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDeviceType : public IfcFlowTreatmentDeviceType { public: IfcElectricFlowTreatmentDeviceType() {} - explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -46238,13 +46238,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -46277,13 +46277,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -46316,13 +46316,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -46337,10 +46337,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -46387,12 +46387,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -46442,12 +46442,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -46517,12 +46517,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -46543,14 +46543,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc2::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -46584,13 +46584,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x3_rc2::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -46625,13 +46625,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x3_rc2::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -46670,13 +46670,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -46691,10 +46691,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -46705,10 +46705,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -46744,13 +46744,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -46836,12 +46836,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -46852,10 +46852,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -46884,10 +46884,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -46902,10 +46902,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -46922,10 +46922,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -46936,10 +46936,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -46967,7 +46967,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuiltElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// The generic type of the footing. /// @@ -46975,17 +46975,17 @@ public: std::optional< ::Ifc4x3_rc2::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFootingTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalAssembly : public IfcGeotechnicalElement { public: IfcGeotechnicalAssembly() {} - explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// IfcGrid ia a planar design @@ -47087,7 +47087,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x3_rc2::IfcGridAxis > UAxes() const; @@ -47101,7 +47101,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc2::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc2::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc2::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc2::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -47157,12 +47157,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -47211,12 +47211,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -47279,12 +47279,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -47356,24 +47356,24 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcKerb : public IfcBuiltElement { public: IfcKerb() {} - explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -47426,12 +47426,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -47503,36 +47503,36 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} ::Ifc4x3_rc2::IfcCurve Axis() const; void setAxis(const ::Ifc4x3_rc2::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcCurve v8_Axis); }; class IFC_PARSE_API IfcLiquidTerminal : public IfcFlowTerminal { public: IfcLiquidTerminal() {} - explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -47582,12 +47582,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -47843,7 +47843,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuiltElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -47852,7 +47852,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// The standard member, @@ -48097,34 +48097,34 @@ public: class IFC_PARSE_API IfcMemberStandardCase : public IfcMember { public: IfcMemberStandardCase() {} - explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} + explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMemberTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsAppliance : public IfcFlowTerminal { public: IfcMobileTelecommunicationsAppliance() {} - explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMooringDevice : public IfcBuiltElement { public: IfcMooringDevice() {} - explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -48171,24 +48171,24 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcNavigationElement : public IfcBuiltElement { public: IfcNavigationElement() {} - explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcNavigationElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -48199,10 +48199,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc2::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -48274,24 +48274,24 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcOutletTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcPavement : public IfcBuiltElement { public: IfcPavement() {} - explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< bool > Flexible() const; void setFlexible(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< bool > v9_Flexible); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -48315,7 +48315,7 @@ public: class IFC_PARSE_API IfcPile : public IfcDeepFoundation { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} /// The predefined generic type of the pile according to function. /// @@ -48328,7 +48328,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x3_rc2::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -48419,12 +48419,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -48490,12 +48490,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -48729,7 +48729,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuiltElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -48738,7 +48738,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// The standard plate, @@ -48897,10 +48897,10 @@ public: class IFC_PARSE_API IfcPlateStandardCase : public IfcPlate { public: IfcPlateStandardCase() {} - explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} + explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -48982,12 +48982,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -49033,13 +49033,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -49094,24 +49094,24 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcPumpTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcRail : public IfcBuiltElement { public: IfcRail() {} - explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc2::IfcRailTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRailTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRailTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -49249,7 +49249,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuiltElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -49257,7 +49257,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -49396,7 +49396,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuiltElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -49406,7 +49406,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -49600,7 +49600,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuiltElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -49609,7 +49609,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -49651,25 +49651,25 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc2::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc2::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_rc2::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_PARSE_API IfcReinforcedSoil : public IfcEarthworksElement { public: IfcReinforcedSoil() {} - explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -49703,7 +49703,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -49717,7 +49717,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -49739,7 +49739,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -49761,7 +49761,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc2::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc2::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -49912,7 +49912,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuiltElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -49920,7 +49920,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -50052,12 +50052,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -50111,13 +50111,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x3_rc2::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -50137,26 +50137,26 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuiltElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignal : public IfcFlowTerminal { public: IfcSignal() {} - explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcSignalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSignalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSignalTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -50422,7 +50422,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuiltElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -50431,7 +50431,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The IfcSlabElementedCase @@ -50520,10 +50520,10 @@ public: class IFC_PARSE_API IfcSlabElementedCase : public IfcSlab { public: IfcSlabElementedCase() {} - explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The standard slab, @@ -50688,10 +50688,10 @@ public: class IFC_PARSE_API IfcSlabStandardCase : public IfcSlab { public: IfcSlabStandardCase() {} - explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -50744,12 +50744,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -50817,12 +50817,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -50878,12 +50878,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -51054,7 +51054,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuiltElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -51062,7 +51062,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -51235,7 +51235,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuiltElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -51261,7 +51261,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc2::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -51290,7 +51290,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -51321,7 +51321,7 @@ public: ::Ifc4x3_rc2::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x3_rc2::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc2::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc2::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc2::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc2::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -51330,7 +51330,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -51340,7 +51340,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc2::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc2::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -51353,10 +51353,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc2::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc2::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc2::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -51450,12 +51450,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -51521,24 +51521,24 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTankTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcTrackElement : public IfcBuiltElement { public: IfcTrackElement() {} - explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTrackElementTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -51586,12 +51586,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -51644,12 +51644,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -51681,13 +51681,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -51765,12 +51765,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -51962,12 +51962,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc2::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -52215,7 +52215,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuiltElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -52224,7 +52224,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallElementedCase @@ -52328,10 +52328,10 @@ public: class IFC_PARSE_API IfcWallElementedCase : public IfcWall { public: IfcWallElementedCase() {} - explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -52539,10 +52539,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -52652,12 +52652,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -53021,7 +53021,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuiltElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -53049,7 +53049,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The standard window, @@ -53169,10 +53169,10 @@ public: class IFC_PARSE_API IfcWindowStandardCase : public IfcWindow { public: IfcWindowStandardCase() {} - explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} + explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc2::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc2::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -53209,13 +53209,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -53278,12 +53278,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -53331,12 +53331,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -53387,12 +53387,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -53424,25 +53424,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x3_rc2::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc2::IfcCurve v8_Axis, std::optional< ::Ifc4x3_rc2::IfcAlignmentTypeEnum::Value > v9_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -53626,12 +53626,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -53874,7 +53874,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuiltElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -53883,7 +53883,7 @@ public: std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value > v9_PredefinedType); }; /// The standard beam, @@ -54140,22 +54140,22 @@ public: class IFC_PARSE_API IfcBeamStandardCase : public IfcBeam { public: IfcBeamStandardCase() {} - explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} + explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBeamTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBearing : public IfcBuiltElement { public: IfcBearing() {} - explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc2::IfcBearingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBearingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBearingTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -54230,22 +54230,22 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBorehole : public IfcGeotechnicalAssembly { public: IfcBorehole() {} - explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -54441,12 +54441,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuiltElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -54493,12 +54493,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -54565,13 +54565,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -54636,13 +54636,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -54722,13 +54722,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -54821,25 +54821,25 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundation : public IfcDeepFoundation { public: IfcCaissonFoundation() {} - explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} std::optional< ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -54914,12 +54914,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -54991,12 +54991,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -55104,12 +55104,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -55161,12 +55161,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -55238,12 +55238,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -55285,25 +55285,25 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x3_rc2::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc2::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc2::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc2::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc2::IfcControllerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegment : public IfcFlowSegment { public: IfcConveyorSegment() {} - explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -55358,12 +55358,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -55426,12 +55426,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -55508,24 +55508,24 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc2::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoard : public IfcFlowController { public: IfcDistributionBoard() {} - explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -55562,22 +55562,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc2::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -55661,11 +55661,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -55746,12 +55746,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -55806,12 +55806,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -55859,12 +55859,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -55968,12 +55968,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -56036,12 +56036,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -56088,24 +56088,24 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDevice : public IfcFlowTreatmentDevice { public: IfcElectricFlowTreatmentDevice() {} - explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -56158,12 +56158,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -56210,12 +56210,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -56262,12 +56262,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -56327,12 +56327,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -56425,12 +56425,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc2::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -56502,12 +56502,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -56565,32 +56565,32 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeomodel : public IfcGeotechnicalAssembly { public: IfcGeomodel() {} - explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeoslice : public IfcGeotechnicalAssembly { public: IfcGeoslice() {} - explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Entity Definition @@ -56648,12 +56648,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -56793,12 +56793,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc2::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -56859,12 +56859,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -56932,12 +56932,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -56985,12 +56985,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -57102,12 +57102,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc2::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc2::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc2::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc2::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc2::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc2::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x3_rc3-schema.cpp b/src/ifcparse/schemas/Ifc4x3_rc3-schema.cpp index c1640a452d..def8172cc8 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc3-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc3-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x3_rc3.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X3_RC3_types[1317] = {nullptr}; -IfcParse::schema_definition* IFC4X3_RC3_populate_schema() { +ifcopenshell::schema_definition* IFC4X3_RC3_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"DEAD_LOAD_G"s,"COMPLETION_G1"s,"LIVE_LOAD_Q"s,"SNOW_S"s,"WIND_W"s,"PRESTRESSING_P"s,"SETTLEMENT_U"s,"TEMPERATURE_T"s,"EARTHQUAKE_E"s,"FIRE"s,"IMPULSE"s,"IMPACT"s,"TRANSPORT"s,"ERECTION"s,"PROPPING"s,"SYSTEM_IMPERFECTION"s,"SHRINKAGE"s,"CREEP"s,"LACK_OF_FIT"s,"BUOYANCY"s,"ICE"s,"CURRENT"s,"WAVE"s,"RAIN"s,"BRAKES"s,"IfcActionTypeEnum"s,"PERMANENT_G"s,"VARIABLE_Q"s,"EXTRAORDINARY_A"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"OFFICE"s,"SITE"s,"HOME"s,"DISTRIBUTIONPOINT"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"HEATPIPE"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"SIREN"s,"WHISTLE"s,"RAILWAYCROCODILE"s,"RAILWAYDETONATOR"s,"IfcAlignmentCantSegmentTypeEnum"s,"CONSTANTCANT"s,"LINEARTRANSITION"s,"HELMERTCURVE"s,"BLOSSCURVE"s,"COSINECURVE"s,"SINECURVE"s,"VIENNESEBEND"s,"IfcAlignmentHorizontalSegmentTypeEnum"s,"LINE"s,"CIRCULARARC"s,"CLOTHOID"s,"CUBIC"s,"CUBICSPIRAL"s,"IfcAlignmentTypeEnum"s,"IfcAlignmentVerticalSegmentTypeEnum"s,"CONSTANTGRADIENT"s,"PARABOLICARC"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"OUT_PLANE_LOADING_2D"s,"LOADING_3D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAnnotationTypeEnum"s,"ASSUMEDPOINT"s,"ASBUILTAREA"s,"ASBUILTLINE"s,"NON_PHYSICAL_SIGNAL"s,"ASSUMEDLINE"s,"WIDTHEVENT"s,"ASSUMEDAREA"s,"SUPERELEVATIONEVENT"s,"ASBUILTPOINT"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"RAILWAY_COMMUNICATION_TERMINAL"s,"IfcBSplineCurveForm"s,"POLYLINE_FORM"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"PARABOLIC_ARC"s,"HYPERBOLIC_ARC"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"PLANE_SURF"s,"CYLINDRICAL_SURF"s,"CONICAL_SURF"s,"SPHERICAL_SURF"s,"TOROIDAL_SURF"s,"SURF_OF_REVOLUTION"s,"RULED_SURF"s,"GENERALISED_CONE"s,"QUADRIC_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"IfcBeamTypeEnum"s,"BEAM"s,"JOIST"s,"HOLLOWCORE"s,"LINTEL"s,"SPANDREL"s,"T_BEAM"s,"GIRDER_SEGMENT"s,"DIAPHRAGM"s,"PIERCAP"s,"HATSTONE"s,"CORNICE"s,"EDGEBEAM"s,"IfcBearingTypeDisplacementEnum"s,"FIXED_MOVEMENT"s,"GUIDED_LONGITUDINAL"s,"GUIDED_TRANSVERSAL"s,"FREE_MOVEMENT"s,"IfcBearingTypeEnum"s,"CYLINDRICAL"s,"SPHERICAL"s,"ELASTOMERIC"s,"POT"s,"GUIDE"s,"ROCKER"s,"ROLLER"s,"DISK"s,"IfcBenchmarkEnum"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"EQUALTO"s,"NOTEQUALTO"s,"INCLUDES"s,"NOTINCLUDES"s,"INCLUDEDIN"s,"NOTINCLUDEDIN"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"WATER"s,"STEAM"s,"IfcBoolean"s,"IfcBooleanOperator"s,"UNION"s,"INTERSECTION"s,"DIFFERENCE"s,"IfcBridgePartTypeEnum"s,"ABUTMENT"s,"DECK"s,"DECK_SEGMENT"s,"FOUNDATION"s,"PIER"s,"PIER_SEGMENT"s,"PYLON"s,"SUBSTRUCTURE"s,"SUPERSTRUCTURE"s,"SURFACESTRUCTURE"s,"IfcBridgeTypeEnum"s,"ARCHED"s,"CABLE_STAYED"s,"CANTILEVER"s,"CULVERT"s,"FRAMEWORK"s,"GIRDER"s,"SUSPENSION"s,"TRUSS"s,"IfcBuildingElementPartTypeEnum"s,"INSULATION"s,"PRECASTPANEL"s,"APRON"s,"ARMOURUNIT"s,"SAFETYCAGE"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORVOID"s,"PROVISIONFORSPACE"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"REINFORCING"s,"PRESTRESSING"s,"EROSIONPREVENTION"s,"IfcBuiltSystemTypeEnum"s,"MOORING"s,"TRACKCIRCUIT"s,"MOORINGSYSTEM"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CROSS"s,"REDUCER"s,"TEE"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CONDUITSEGMENT"s,"CABLEBRACKET"s,"CATENARYWIRE"s,"DROPPER"s,"IfcCableFittingTypeEnum"s,"CONNECTOR"s,"ENTRY"s,"EXIT"s,"JUNCTION"s,"TRANSITION"s,"FANOUT"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CORESEGMENT"s,"CONTACTWIRESEGMENT"s,"FIBERSEGMENT"s,"FIBERTUBE"s,"OPTICALCABLESEGMENT"s,"STITCHWIRE"s,"WIREPAIRSEGMENT"s,"IfcCaissonFoundationTypeEnum"s,"WELL"s,"CAISSON"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"NOCHANGE"s,"MODIFIED"s,"ADDED"s,"DELETED"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"WATERCOOLED"s,"HEATRECOVERY"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PILASTER"s,"PIERSTEM"s,"PIERSTEM_SEGMENT"s,"STANDCOLUMN"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"COMPUTER"s,"GATEWAY"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"PRINTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"AUTOMATON"s,"INTELLIGENT_PERIPHERAL"s,"IP_NETWORK_EQUIPMENT"s,"OPTICAL_NETWORK_UNIT"s,"TELECOMMAND"s,"TELEPHONYEXCHANGE"s,"TRANSITIONCOMPONENT"s,"TRANSPONDER"s,"TRANSPORTEQUIPMENT"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"DYNAMIC"s,"RECIPROCATING"s,"ROTARY"s,"SCROLL"s,"TROCHOIDAL"s,"SINGLESTAGE"s,"BOOSTER"s,"OPENTYPE"s,"HERMETIC"s,"SEMIHERMETIC"s,"WELDEDSHELLHERMETIC"s,"ROLLINGPISTON"s,"ROTARYVANE"s,"SINGLESCREW"s,"TWINSCREW"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATPATH"s,"ATSTART"s,"ATEND"s,"IfcConstraintEnum"s,"HARD"s,"SOFT"s,"ADVISORY"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"MULTIPOSITION"s,"TWOPOSITION"s,"IfcConveyorSegmentTypeEnum"s,"CHUTECONVEYOR"s,"BELTCONVEYOR"s,"SCREWCONVEYOR"s,"BUCKETCONVEYOR"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"NATURALDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"MECHANICALFORCEDDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"TENDER"s,"PRICEDBILLOFQUANTITIES"s,"UNPRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"IfcCountMeasure"s,"IfcCourseTypeEnum"s,"ARMOUR"s,"FILTER"s,"BALLASTBED"s,"CORE"s,"PAVEMENT"s,"PROTECTION"s,"IfcCoveringTypeEnum"s,"CEILING"s,"FLOORING"s,"CLADDING"s,"ROOFING"s,"MOLDING"s,"SKIRTINGBOARD"s,"MEMBRANE"s,"SLEEVING"s,"WRAPPING"s,"COPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"INTEGERCOUNTRATEUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARVELOCITYUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"TORQUEUNIT"s,"MOMENTOFINERTIAUNIT"s,"LINEARMOMENTUNIT"s,"LINEARFORCEUNIT"s,"PLANARFORCEUNIT"s,"MODULUSOFELASTICITYUNIT"s,"SHEARMODULUSUNIT"s,"LINEARSTIFFNESSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"ACCELERATIONUNIT"s,"CURVATUREUNIT"s,"HEATINGVALUEUNIT"s,"IONCONCENTRATIONUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"PHUNIT"s,"ROTATIONALMASSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"POSITIVE"s,"NEGATIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BRACKET"s,"SHOE"s,"EXPANSION_JOINT_DEVICE"s,"CABLEARRANGER"s,"INSULATOR"s,"LOCK"s,"TENSIONINGEQUIPMENT"s,"RAILPAD"s,"SLIDINGCHAIR"s,"RAIL_LUBRICATION"s,"PANEL_STRENGTHENING"s,"RAILBRACE"s,"ELASTIC_CUSHION"s,"SOUNDABSORPTION"s,"POINTMACHINEMOUNTINGDEVICE"s,"POINT_MACHINE_LOCKING_DEVICE"s,"RAIL_MECHANICAL_EQUIPMENT"s,"BIRDPROTECTION"s,"IfcDistributionBoardTypeEnum"s,"SWITCHBOARD"s,"CONSUMERUNIT"s,"MOTORCONTROLCENTRE"s,"DISTRIBUTIONFRAME"s,"DISTRIBUTIONBOARD"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"WIRELESS"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"CATENARY_SYSTEM"s,"OVERHEAD_CONTACTLINE_SYSTEM"s,"RETURN_CIRCUIT"s,"IfcDocumentConfidentialityEnum"s,"PUBLIC"s,"RESTRICTED"s,"CONFIDENTIAL"s,"PERSONAL"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINALDRAFT"s,"FINAL"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"SWINGING"s,"DOUBLE_ACTING"s,"SLIDING"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"FIXEDPANEL"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorStyleConstructionEnum"s,"ALUMINIUM"s,"HIGH_GRADE_STEEL"s,"STEEL"s,"ALUMINIUM_WOOD"s,"ALUMINIUM_PLASTIC"s,"IfcDoorStyleOperationEnum"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"DOUBLE_DOOR_FOLDING"s,"IfcDoorTypeEnum"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"BOOM_BARRIER"s,"TURNSTILE"s,"IfcDoorTypeOperationEnum"s,"DOUBLE_PANEL_SINGLE_SWING"s,"DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_PANEL_DOUBLE_SWING"s,"DOUBLE_PANEL_SLIDING"s,"DOUBLE_PANEL_FOLDING"s,"REVOLVING_HORIZONTAL"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"DOUBLE_PANEL_LIFTING_VERTICAL"s,"LIFTING_HORIZONTAL"s,"LIFTING_VERTICAL_LEFT"s,"LIFTING_VERTICAL_RIGHT"s,"REVOLVING_VERTICAL"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"RIGIDSEGMENT"s,"FLEXIBLESEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcEarthworksCutTypeEnum"s,"DREDGING"s,"EXCAVATION"s,"OVEREXCAVATION"s,"TOPSOILREMOVAL"s,"STEPEXCAVATION"s,"PAVEMENTMILLING"s,"CUT"s,"BASE_EXCAVATION"s,"IfcEarthworksFillTypeEnum"s,"BACKFILL"s,"COUNTERWEIGHT"s,"SUBGRADE"s,"EMBANKMENT"s,"TRANSITIONSECTION"s,"SUBGRADEBED"s,"SLOPEFILL"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERHEATER"s,"FREESTANDINGWATERCOOLER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITORBANK"s,"HARMONICFILTER"s,"INDUCTORBANK"s,"UPS"s,"CAPACITOR"s,"COMPENSATOR"s,"INDUCTOR"s,"RECHARGER"s,"IfcElectricFlowTreatmentDeviceTypeEnum"s,"ELECTRONICFILTER"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"TIMECLOCK"s,"TIMEDELAY"s,"RELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SLAB_FIELD"s,"CROSS_BRACING"s,"MAST"s,"SIGNALASSEMBLY"s,"GRID"s,"SHELTER"s,"SUPPORTINGASSEMBLY"s,"SUSPENSIONASSEMBLY"s,"TRACTION_SWITCHING_ASSEMBLY"s,"TRACKPANEL"s,"TURNOUTPANEL"s,"DILATATIONPANEL"s,"RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY"s,"ENTRANCEWORKS"s,"SUMPBUSTER"s,"TRAFFIC_CALMING_DEVICE"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVEAIRWASHER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTRULE"s,"EVENTMESSAGE"s,"EVENTTIME"s,"EVENTCOMPLEX"s,"IfcEventTypeEnum"s,"STARTEVENT"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_WATER"s,"EXTERNAL_FIRE"s,"IfcFacilityPartCommonTypeEnum"s,"SEGMENT"s,"ABOVEGROUND"s,"LEVELCROSSING"s,"BELOWGROUND"s,"TERMINAL"s,"IfcFacilityUsageEnum"s,"LATERAL"s,"REGION"s,"VERTICAL"s,"LONGITUDINAL"s,"IfcFanTypeEnum"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALAIRFOIL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"PROPELLORAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"FIREMONITOR"s,"IfcFlowDirectionEnum"s,"SOURCE"s,"SINK"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"AMMETER"s,"FREQUENCYMETER"s,"POWERFACTORMETER"s,"PHASEANGLEMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"COMBINED"s,"VOLTMETER"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"CHAIR"s,"TABLE"s,"DESK"s,"BED"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"TECHNICALCABINET"s,"IfcGeographicElementTypeEnum"s,"TERRAIN"s,"SOIL_BORING_POINT"s,"IfcGeometricProjectionEnum"s,"GRAPH_VIEW"s,"SKETCH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"ELEVATION_VIEW"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"RADIAL"s,"TRIANGULAR"s,"IRREGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"TURNOUTHEATING"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"STEAMINJECTION"s,"ADIABATICAIRWASHER"s,"ADIABATICPAN"s,"ADIABATICWETTEDELEMENT"s,"ADIABATICATOMIZING"s,"ADIABATICULTRASONIC"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDBUTANE"s,"ASSISTEDSTEAM"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcImpactProtectionDeviceTypeEnum"s,"CRASHCUSHION"s,"DAMPINGSYSTEM"s,"FENDER"s,"BUMPER"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"SPACEINVENTORY"s,"FURNITUREINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"UNIFORM_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"PIECEWISE_BEZIER_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"POINTSOURCE"s,"DIRECTIONSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLiquidTerminalTypeEnum"s,"LOADINGARM"s,"IfcLoadGroupTypeEnum"s,"LOAD_GROUP"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALOR"s,"LOGICALXOR"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMarineFacilityTypeEnum"s,"CANAL"s,"WATERWAYSHIPLIFT"s,"REVETMENT"s,"LAUNCHRECOVERY"s,"MARINEDEFENCE"s,"HYDROLIFT"s,"SHIPYARD"s,"SHIPLIFT"s,"PORT"s,"QUAY"s,"FLOATINGDOCK"s,"NAVIGATIONALCHANNEL"s,"BREAKWATER"s,"DRYDOCK"s,"JETTY"s,"SHIPLOCK"s,"BARRIERBEACH"s,"SLIPWAY"s,"WATERWAY"s,"IfcMarinePartTypeEnum"s,"CREST"s,"MANUFACTURING"s,"LOWWATERLINE"s,"WATERFIELD"s,"CILL_LEVEL"s,"BERTHINGSTRUCTURE"s,"COPELEVEL"s,"CHAMBER"s,"STORAGE"s,"APPROACHCHANNEL"s,"VEHICLESERVICING"s,"SHIPTRANSFER"s,"GATEHEAD"s,"GUDINGSTRUCTURE"s,"BELOWWATERLINE"s,"WEATHERSIDE"s,"LANDFIELD"s,"LEEWARDSIDE"s,"ABOVEWATERLINE"s,"ANCHORAGE"s,"NAVIGATIONALAREA"s,"HIGHWATERLINE"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RIVET"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"COUPLER"s,"RAILJOINT"s,"RAILFASTENING"s,"CHAIN"s,"ROPE"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STRINGER"s,"STRUT"s,"STUD"s,"STIFFENING_RIB"s,"ARCH_SEGMENT"s,"SUSPENSION_CABLE"s,"SUSPENDER"s,"STAY_CABLE"s,"STRUCTURALCABLE"s,"TIEBAR"s,"IfcMobileTelecommunicationsApplianceTypeEnum"s,"E_UTRAN_NODE_B"s,"REMOTE_RADIO_UNIT"s,"ACCESSPOINT"s,"BASETRANSCEIVERSTATION"s,"REMOTEUNIT"s,"BASEBANDUNIT"s,"MASTERUNIT"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMooringDeviceTypeEnum"s,"LINETENSIONER"s,"MAGNETICDEVICE"s,"MOORINGHOOKS"s,"VACUUMDEVICE"s,"BOLLARD"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNavigationElementTypeEnum"s,"BEACON"s,"BUOY"s,"IfcNonNegativeLengthMeasure"s,"IfcNumericMeasure"s,"IfcObjectTypeEnum"s,"PRODUCT"s,"PROCESS"s,"RESOURCE"s,"ACTOR"s,"GROUP"s,"PROJECT"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"POWEROUTLET"s,"DATAOUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPavementTypeEnum"s,"FLEXIBLE"s,"RIGID"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"DRIVEN"s,"JETGROUTING"s,"COHESION"s,"FRICTION"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"CURTAIN_PANEL"s,"SHEET"s,"FLANGE_PLATE"s,"WEB_PLATE"s,"STIFFENER_PLATE"s,"GUSSET_PLATE"s,"COVER_PLATE"s,"SPLICE_PLATE"s,"BASE_PLATE"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"CURVE"s,"AREA"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"BLISTER"s,"DEVIATOR"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTRONIC"s,"ELECTROMAGNETIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"CIRCUITBREAKER"s,"EARTHLEAKAGECIRCUITBREAKER"s,"EARTHINGSWITCH"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"VARISTOR"s,"ANTI_ARCING_DEVICE"s,"SPARKGAP"s,"VOLTAGELIMITER"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailTypeEnum"s,"RACKRAIL"s,"BLADE"s,"GUARDRAIL"s,"STOCKRAIL"s,"CHECKRAIL"s,"RAIL"s,"IfcRailingTypeEnum"s,"HANDRAIL"s,"BALUSTRADE"s,"FENCE"s,"IfcRailwayPartTypeEnum"s,"TRACKSTRUCTURE"s,"TRACKSTRUCTUREPART"s,"LINESIDESTRUCTUREPART"s,"DILATATIONSUPERSTRUCTURE"s,"PLAINTRACKSUPESTRUCTURE"s,"LINESIDESTRUCTURE"s,"TURNOUTSUPERSTRUCTURE"s,"IfcRailwayTypeEnum"s,"IfcRampFlightTypeEnum"s,"STRAIGHT"s,"SPIRAL"s,"IfcRampTypeEnum"s,"STRAIGHT_RUN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"QUARTER_TURN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"HALF_TURN_RAMP"s,"SPIRAL_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"DAILY"s,"WEEKLY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"KILOPOINT"s,"MILEPOINT"s,"STATION"s,"REFERENCEMARKER"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcedSoilTypeEnum"s,"SURCHARGEPRELOADED"s,"VERTICALLYDRAINED"s,"DYNAMICALLYCOMPACTED"s,"REPLACED"s,"ROLLERCOMPACTED"s,"GROUTED"s,"IfcReinforcingBarRoleEnum"s,"MAIN"s,"SHEAR"s,"LIGATURE"s,"PUNCHING"s,"EDGE"s,"RING"s,"ANCHORING"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"SPACEBAR"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoadPartTypeEnum"s,"ROADSIDEPART"s,"BUS_STOP"s,"HARDSHOULDER"s,"PASSINGBAY"s,"ROADWAYPLATEAU"s,"ROADSIDE"s,"REFUGEISLAND"s,"TOLLPLAZA"s,"CENTRALRESERVE"s,"SIDEWALK"s,"PARKINGBAY"s,"RAILWAYCROSSING"s,"PEDESTRIAN_CROSSING"s,"SOFTSHOULDER"s,"BICYCLECROSSING"s,"CENTRALISLAND"s,"SHOULDER"s,"TRAFFICLANE"s,"ROADSEGMENT"s,"ROUNDABOUT"s,"LAYBY"s,"CARRIAGEWAY"s,"TRAFFICISLAND"s,"IfcRoadTypeEnum"s,"IfcRoleEnum"s,"SUPPLIER"s,"MANUFACTURER"s,"CONTRACTOR"s,"SUBCONTRACTOR"s,"ARCHITECT"s,"STRUCTURALENGINEER"s,"COSTENGINEER"s,"CLIENT"s,"BUILDINGOWNER"s,"BUILDINGOPERATOR"s,"MECHANICALENGINEER"s,"ELECTRICALENGINEER"s,"PROJECTMANAGER"s,"FACILITIESMANAGER"s,"CIVILENGINEER"s,"COMMISSIONINGENGINEER"s,"ENGINEER"s,"CONSULTANT"s,"CONSTRUCTIONMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"RESELLER"s,"IfcRoofTypeEnum"s,"FLAT_ROOF"s,"SHED_ROOF"s,"GABLE_ROOF"s,"HIP_ROOF"s,"HIPPED_GABLE_ROOF"s,"GAMBREL_ROOF"s,"MANSARD_ROOF"s,"BARREL_ROOF"s,"RAINBOW_ROOF"s,"BUTTERFLY_ROOF"s,"PAVILION_ROOF"s,"DOME_ROOF"s,"FREEFORM"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"EXA"s,"PETA"s,"TERA"s,"GIGA"s,"MEGA"s,"KILO"s,"HECTO"s,"DECA"s,"DECI"s,"CENTI"s,"MILLI"s,"MICRO"s,"NANO"s,"PICO"s,"FEMTO"s,"ATTO"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SHOWER"s,"SANITARYFOUNTAIN"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"UNIFORM"s,"TAPERED"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"COSENSOR"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"SMOKESENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"WINDSENSOR"s,"EARTHQUAKESENSOR"s,"FOREIGNOBJECTDETECTIONSENSOR"s,"OBSTACLESENSOR"s,"RAINSENSOR"s,"SNOWDEPTHSENSOR"s,"TRAINSENSOR"s,"TURNOUTCLOSURESENSOR"s,"WHEELSENSOR"s,"IfcSequenceEnum"s,"START_START"s,"START_FINISH"s,"FINISH_START"s,"FINISH_FINISH"s,"IfcShadingDeviceTypeEnum"s,"JALOUSIE"s,"SHUTTER"s,"AWNING"s,"IfcShearModulusMeasure"s,"IfcSignTypeEnum"s,"MARKER"s,"PICTORAL"s,"IfcSignalTypeEnum"s,"VISUAL"s,"AUDIO"s,"MIXED"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_SINGLEVALUE"s,"P_ENUMERATEDVALUE"s,"P_BOUNDEDVALUE"s,"P_LISTVALUE"s,"P_TABLEVALUE"s,"P_REFERENCEVALUE"s,"Q_LENGTH"s,"Q_AREA"s,"Q_VOLUME"s,"Q_COUNT"s,"Q_WEIGHT"s,"Q_TIME"s,"IfcSlabTypeEnum"s,"FLOOR"s,"ROOF"s,"LANDING"s,"BASESLAB"s,"APPROACH_SLAB"s,"WEARING"s,"TRACKSLAB"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"SPACE"s,"PARKING"s,"GFA"s,"BERTH"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"OCCUPANCY"s,"RESERVATION"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"WINDER"s,"CURVED"s,"IfcStairTypeEnum"s,"STRAIGHT_RUN_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"QUARTER_WINDING_STAIR"s,"QUARTER_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"HALF_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"SPIRAL_STAIR"s,"DOUBLE_RETURN_STAIR"s,"CURVED_RUN_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"LADDER"s,"IfcStateEnum"s,"READWRITE"s,"READONLY"s,"LOCKED"s,"READWRITELOCKED"s,"READONLYLOCKED"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"POLYGONAL"s,"EQUIDISTANT"s,"SINUS"s,"PARABOLA"s,"DISCRETE"s,"IfcStructuralCurveMemberTypeEnum"s,"RIGID_JOINED_MEMBER"s,"PIN_JOINED_MEMBER"s,"TENSION_MEMBER"s,"COMPRESSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"MARK"s,"TAG"s,"TREATMENT"s,"DEFECT"s,"HATCHMARKING"s,"LINEMARKING"s,"PAVEMENTSURFACEMARKING"s,"SYMBOLMARKING"s,"NONSKIDSURFACING"s,"RUMBLESTRIP"s,"TRANSVERSERUMBLESTRIP"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"START_AND_STOP_EQUIPMENT"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"WORKSURFACE"s,"SUBRACK"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"PRESSUREVESSEL"s,"VESSEL"s,"OILRETENTIONTRAY"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonConduitTypeEnum"s,"GROUTING_DUCT"s,"TRUMPET"s,"DIABOLO"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"UP"s,"DOWN"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTrackElementTypeEnum"s,"TRACKENDOFALIGNMENT"s,"BLOCKINGDEVICE"s,"VEHICLESTOP"s,"SLEEPER"s,"HALF_SET_OF_BLADES"s,"SPEEDREGULATOR"s,"DERAILER"s,"FROG"s,"IfcTransformerTypeEnum"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"CHOPPER"s,"IfcTransitionCode"s,"DISCONTINUOUS"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementFixedTypeEnum"s,"ELEVATOR"s,"ESCALATOR"s,"MOVINGWALKWAY"s,"CRANEWAY"s,"LIFTINGGEAR"s,"HAULINGGEAR"s,"IfcTransportElementNonFixedTypeEnum"s,"VEHICLE"s,"VEHICLETRACKED"s,"ROLLINGSTOCK"s,"VEHICLEWHEELED"s,"VEHICLEAIR"s,"CARGO"s,"VEHICLEMARINE"s,"IfcTransportElementTypeSelect"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"INDICATORPANEL"s,"MIMICPANEL"s,"HUMIDISTAT"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRHANDLER"s,"AIRCONDITIONINGUNIT"s,"DEHUMIDIFIER"s,"SPLITSYSTEM"s,"ROOFTOPUNIT"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DRAWOFFCOCK"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVibrationDamperTypeEnum"s,"BENDING_YIELD"s,"SHEAR_YIELD"s,"AXIAL_YIELD"s,"VISCOUS"s,"RUBBER"s,"IfcVibrationIsolatorTypeEnum"s,"COMPRESSION"s,"SPRING"s,"BASE"s,"IfcVoidingFeatureTypeEnum"s,"CUTOUT"s,"NOTCH"s,"HOLE"s,"MITER"s,"CHAMFER"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"SOLIDWALL"s,"STANDARD"s,"ELEMENTEDWALL"s,"RETAININGWALL"s,"WAVEWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"SIDEHUNGRIGHTHAND"s,"SIDEHUNGLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TILTANDTURNLEFTHAND"s,"TOPHUNG"s,"BOTTOMHUNG"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"REMOVABLECASEMENT"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowStyleConstructionEnum"s,"OTHER_CONSTRUCTION"s,"IfcWindowStyleOperationEnum"s,"SINGLE_PANEL"s,"DOUBLE_PANEL_VERTICAL"s,"DOUBLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_VERTICAL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_HORIZONTAL"s,"IfcWindowTypeEnum"s,"WINDOW"s,"SKYLIGHT"s,"LIGHTDOME"s,"IfcWindowTypePartitioningEnum"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcAlignmentParameterSegment"s,"IfcAlignmentVerticalSegment"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcCurveMeasureSelect"s,"IfcDerivedMeasureValue"s,"IfcFacilityPartTypeSelect"s,"IfcImpactProtectionDeviceTypeSelect"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcAlignmentCantSegment"s,"IfcAlignmentHorizontalSegment"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenCrossProfileDef"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointByDistanceExpression"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcSegment"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcWindowStyle"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcAxis2PlacementLinear"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcCurveSegment"s,"IfcDirection"s,"IfcDirectrixCurveSweptAreaSolid"s,"IfcDirectrixDistanceSweptAreaSolid"s,"IfcDoorStyle"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcInclinedReferenceSweptAreaSolid"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPolynomialCurve"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcProxy"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelAssociatesProfileDef"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelPositions"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSectionedSurface"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcSpiral"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcThirdOrderPolynomialSpiral"s,"IfcToroidalSurface"s,"IfcTransportElementType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuildingStorey"s,"IfcBuiltElementType"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcClothoid"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCosine"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCourseType"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCylindricalSurface"s,"IfcDeepFoundationType"s,"IfcDirectrixDerivedReferenceSweptAreaSolid"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFacility"s,"IfcFacilityPart"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGeotechnicalElement"s,"IfcGeotechnicalStratum"s,"IfcGradientCurve"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcImpactProtectionDevice"s,"IfcImpactProtectionDeviceType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcKerbType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLinearElement"s,"IfcLiquidTerminalType"s,"IfcMarineFacility"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMobileTelecommunicationsApplianceType"s,"IfcMooringDeviceType"s,"IfcMotorConnectionType"s,"IfcNavigationElementType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOpeningStandardCase"s,"IfcOutletType"s,"IfcPavementType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlant"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailType"s,"IfcRailingType"s,"IfcRailway"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAggregates"s,"IfcRoad"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcSecondOrderPolynomialSpiral"s,"IfcSegmentedReferenceCurve"s,"IfcShadingDeviceType"s,"IfcSign"s,"IfcSignType"s,"IfcSignalType"s,"IfcSine"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSolidStratum"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonConduit"s,"IfcTendonConduitType"s,"IfcTendonType"s,"IfcTrackElementType"s,"IfcTransformerType"s,"IfcTransportElement"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVibrationDamper"s,"IfcVibrationDamperType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVienneseBend"s,"IfcVirtualElement"s,"IfcVoidStratum"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWaterStratum"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcInterferenceSelect"s,"IfcSpatialReferenceSelect"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignmentCant"s,"IfcAlignmentHorizontal"s,"IfcAlignmentSegment"s,"IfcAlignmentVertical"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBearingType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBridge"s,"IfcBuilding"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBuiltElement"s,"IfcBuiltSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcCaissonFoundationType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcColumnStandardCase"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcConveyorSegmentType"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCourse"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDeepFoundation"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionBoardType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDoorStandardCase"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcEarthworksCut"s,"IfcEarthworksElement"s,"IfcEarthworksFill"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricFlowTreatmentDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGeotechnicalAssembly"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcKerb"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcLiquidTerminal"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMemberStandardCase"s,"IfcMobileTelecommunicationsAppliance"s,"IfcMooringDevice"s,"IfcMotorConnection"s,"IfcNavigationElement"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPavement"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcPlateStandardCase"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRail"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcedSoil"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSignal"s,"IfcSlab"s,"IfcSlabElementedCase"s,"IfcSlabStandardCase"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTrackElement"s,"IfcTransformer"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallElementedCase"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcWindowStandardCase"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBeamStandardCase"s,"IfcBearing"s,"IfcBoiler"s,"IfcBorehole"s,"IfcBuildingElementProxy"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcCaissonFoundation"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcConveyorSegment"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionBoard"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricFlowTreatmentDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcGeomodel"s,"IfcGeoslice"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"RailHeadDistance"s,"StartDistAlong"s,"HorizontalLength"s,"StartCantLeft"s,"EndCantLeft"s,"StartCantRight"s,"EndCantRight"s,"StartPoint"s,"StartDirection"s,"StartRadiusOfCurvature"s,"EndRadiusOfCurvature"s,"SegmentLength"s,"GravityCenterLineHeight"s,"StartTag"s,"EndTag"s,"DesignParameters"s,"StartHeight"s,"StartGradient"s,"EndGradient"s,"RadiusOfCurvature"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"Radius"s,"Source"s,"Edition"s,"EditionDate"s,"Location"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"ClothoidConstant"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Segments"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"VerticalDatum"s,"CosineTerm"s,"ConstantTerm"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"Placement"s,"SegmentStart"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"Directrix"s,"StartParam"s,"EndParam"s,"StartDistance"s,"EndDistance"s,"FlowDirection"s,"SystemType"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ConstructionType"s,"ParameterTakesPrecedence"s,"Sizeable"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"Tag"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"UsageType"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"FixedReference"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"BaseCurve"s,"EndPoint"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"FixedAxisVertical"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"Mountable"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"RelativePlacement"s,"CartesianPosition"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"ScaleY"s,"ScaleZ"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"Expression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"PlacementRelTo"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Distance"s,"HorizontalWidths"s,"Widths"s,"Slopes"s,"Tags"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"Height"s,"ColourComponents"s,"Pixel"s,"SizeInX"s,"SizeInY"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"CoefficientsX"s,"CoefficientsY"s,"CoefficientsZ"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"ProxyType"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"RestartDistance"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"RelatingProfileDef"s,"ConnectionGeometry"s,"RelatingElement"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceType"s,"ImpliedOrder"s,"RelatingPositioningElement"s,"RelatedProducts"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"QuadraticTerm"s,"LinearTerm"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"SpineCurve"s,"Transition"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"SineTerm"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"Styles"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"Vertices"s,"TexCoordsList"s,"QubicTerm"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"StartCurvature"s,"EndCurvature"s,"GravityCenterHeight"s,"IntersectingAxes"s,"OffsetDistances"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"Start"s,"Finish"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ToFaceSet"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"Positions"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"PositionedRelativeTo"s,"ReferencedInStructures"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"UsingCurves"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"ServicesFacilities"s,"HasColours"s,"HasTextures"s,"Types"s,"IFC4X3_RC3"s}; diff --git a/src/ifcparse/schemas/Ifc4x3_rc3.cpp b/src/ifcparse/schemas/Ifc4x3_rc3.cpp index 3ecc7fdbdb..d463001317 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc3.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc3.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x3_rc3.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x3_rc3::Identifier = "IFC4X3_RC3"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X3_RC3_types[1317]; -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[3]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[3]); } /* -Ifc4x3_rc3::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x3_rc3::IfcActionRequestTypeEnum::Value Ifc4x3_rc3::IfcActionRequestTypeEnum } Ifc4x3_rc3::IfcActionRequestTypeEnum::operator Ifc4x3_rc3::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[4]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[4]); } /* -Ifc4x3_rc3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x3_rc3::IfcActionSourceTypeEnum::Value Ifc4x3_rc3::IfcActionSourceTypeEnum:: } Ifc4x3_rc3::IfcActionSourceTypeEnum::operator Ifc4x3_rc3::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[5]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[5]); } /* -Ifc4x3_rc3::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x3_rc3::IfcActionTypeEnum::Value Ifc4x3_rc3::IfcActionTypeEnum::FromString(c } Ifc4x3_rc3::IfcActionTypeEnum::operator Ifc4x3_rc3::IfcActionTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[11]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[11]); } /* -Ifc4x3_rc3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x3_rc3::IfcActuatorTypeEnum::Value Ifc4x3_rc3::IfcActuatorTypeEnum::FromStri } Ifc4x3_rc3::IfcActuatorTypeEnum::operator Ifc4x3_rc3::IfcActuatorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[13]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[13]); } /* -Ifc4x3_rc3::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x3_rc3::IfcAddressTypeEnum::Value Ifc4x3_rc3::IfcAddressTypeEnum::FromString } Ifc4x3_rc3::IfcAddressTypeEnum::operator Ifc4x3_rc3::IfcAddressTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[20]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[20]); } /* -Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_rc3::IfcAirTerminalBoxTypeEn } Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::operator Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[22]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[22]); } /* -Ifc4x3_rc3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value Ifc4x3_rc3::IfcAirTerminalTypeEnum::Fr } Ifc4x3_rc3::IfcAirTerminalTypeEnum::operator Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[25]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[25]); } /* -Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_rc3::IfcAirToAirHeatRe } Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[28]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[28]); } /* -Ifc4x3_rc3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x3_rc3::IfcAlarmTypeEnum::Value Ifc4x3_rc3::IfcAlarmTypeEnum::FromString(con } Ifc4x3_rc3::IfcAlarmTypeEnum::operator Ifc4x3_rc3::IfcAlarmTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[32]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[32]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[32]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[32]); } /* -Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_rc3::IfcAlignmentCantS } Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::operator Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[35]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[35]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[35]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[35]); } /* -Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_rc3::IfcAlignmen } Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::operator Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[38]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[38]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[38]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[38]); } /* -Ifc4x3_rc3::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x3_rc3::IfcAlignmentTypeEnum::Value Ifc4x3_rc3::IfcAlignmentTypeEnum::FromSt } Ifc4x3_rc3::IfcAlignmentTypeEnum::operator Ifc4x3_rc3::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[41]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[41]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[41]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[41]); } /* -Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_rc3::IfcAlignmentV } Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::operator Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[43]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[43]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[43]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[43]); } /* -Ifc4x3_rc3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value Ifc4x3_rc3::IfcAnalysisModelTypeEnum } Ifc4x3_rc3::IfcAnalysisModelTypeEnum::operator Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[44]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[44]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[44]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[44]); } /* -Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_rc3::IfcAnalysisTheoryTypeEn } Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::operator Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAnnotationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[48]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAnnotationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[48]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAnnotationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[48]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAnnotationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[48]); } /* -Ifc4x3_rc3::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x3_rc3::IfcAnnotationTypeEnum::Value Ifc4x3_rc3::IfcAnnotationTypeEnum::From } Ifc4x3_rc3::IfcAnnotationTypeEnum::operator Ifc4x3_rc3::IfcAnnotationTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAnnotationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAnnotationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[60]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[60]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[60]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[60]); } /* -Ifc4x3_rc3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value Ifc4x3_rc3::IfcArithmeticOperatorEn } Ifc4x3_rc3::IfcArithmeticOperatorEnum::operator Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[61]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[61]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[61]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[61]); } /* -Ifc4x3_rc3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value Ifc4x3_rc3::IfcAssemblyPlaceEnum::FromSt } Ifc4x3_rc3::IfcAssemblyPlaceEnum::operator Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[66]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[66]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[66]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[66]); } /* -Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_rc3::IfcAudioVisualApp } Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::operator Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[109]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[109]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[109]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[109]); } /* -Ifc4x3_rc3::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x3_rc3::IfcBSplineCurveForm::Value Ifc4x3_rc3::IfcBSplineCurveForm::FromStri } Ifc4x3_rc3::IfcBSplineCurveForm::operator Ifc4x3_rc3::IfcBSplineCurveForm::Value() const { - return (Ifc4x3_rc3::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[112]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[112]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[112]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[112]); } /* -Ifc4x3_rc3::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x3_rc3::IfcBSplineSurfaceForm::Value Ifc4x3_rc3::IfcBSplineSurfaceForm::From } Ifc4x3_rc3::IfcBSplineSurfaceForm::operator Ifc4x3_rc3::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x3_rc3::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[75]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[75]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[75]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[75]); } /* -Ifc4x3_rc3::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x3_rc3::IfcBeamTypeEnum::Value Ifc4x3_rc3::IfcBeamTypeEnum::FromString(const } Ifc4x3_rc3::IfcBeamTypeEnum::operator Ifc4x3_rc3::IfcBeamTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[78]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[78]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[78]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[78]); } /* -Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::Value Ifc4x3_rc3::IfcBearingTypeDisp } Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::operator Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::Value() const { - return (Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBearingTypeDisplacementEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBearingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[79]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBearingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[79]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[79]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[79]); } /* -Ifc4x3_rc3::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x3_rc3::IfcBearingTypeEnum::Value Ifc4x3_rc3::IfcBearingTypeEnum::FromString } Ifc4x3_rc3::IfcBearingTypeEnum::operator Ifc4x3_rc3::IfcBearingTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBearingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[80]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[80]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[80]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[80]); } /* -Ifc4x3_rc3::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x3_rc3::IfcBenchmarkEnum::Value Ifc4x3_rc3::IfcBenchmarkEnum::FromString(con } Ifc4x3_rc3::IfcBenchmarkEnum::operator Ifc4x3_rc3::IfcBenchmarkEnum::Value() const { - return (Ifc4x3_rc3::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[87]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[87]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[87]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[87]); } /* -Ifc4x3_rc3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x3_rc3::IfcBoilerTypeEnum::Value Ifc4x3_rc3::IfcBoilerTypeEnum::FromString(c } Ifc4x3_rc3::IfcBoilerTypeEnum::operator Ifc4x3_rc3::IfcBoilerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[91]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[91]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[91]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[91]); } /* -Ifc4x3_rc3::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x3_rc3::IfcBooleanOperator::Value Ifc4x3_rc3::IfcBooleanOperator::FromString } Ifc4x3_rc3::IfcBooleanOperator::operator Ifc4x3_rc3::IfcBooleanOperator::Value() const { - return (Ifc4x3_rc3::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBridgePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[106]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBridgePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[106]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[106]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[106]); } /* -Ifc4x3_rc3::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x3_rc3::IfcBridgePartTypeEnum::Value Ifc4x3_rc3::IfcBridgePartTypeEnum::From } Ifc4x3_rc3::IfcBridgePartTypeEnum::operator Ifc4x3_rc3::IfcBridgePartTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBridgePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBridgeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[107]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBridgeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[107]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[107]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[107]); } /* -Ifc4x3_rc3::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x3_rc3::IfcBridgeTypeEnum::Value Ifc4x3_rc3::IfcBridgeTypeEnum::FromString(c } Ifc4x3_rc3::IfcBridgeTypeEnum::operator Ifc4x3_rc3::IfcBridgeTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBridgeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[117]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[117]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[117]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[117]); } /* -Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value Ifc4x3_rc3::IfcBuildingElement } Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::operator Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[120]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[120]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[120]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[120]); } /* -Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_rc3::IfcBuildingElemen } Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::operator Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[123]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[123]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[123]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[123]); } /* -Ifc4x3_rc3::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value Ifc4x3_rc3::IfcBuildingSystemTypeEn } Ifc4x3_rc3::IfcBuildingSystemTypeEnum::operator Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBuiltSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[127]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[127]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBuiltSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[127]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[127]); } /* -Ifc4x3_rc3::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Fr } Ifc4x3_rc3::IfcBuiltSystemTypeEnum::operator Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[130]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[130]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[130]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[130]); } /* -Ifc4x3_rc3::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x3_rc3::IfcBurnerTypeEnum::Value Ifc4x3_rc3::IfcBurnerTypeEnum::FromString(c } Ifc4x3_rc3::IfcBurnerTypeEnum::operator Ifc4x3_rc3::IfcBurnerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[133]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[133]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[133]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[133]); } /* -Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_rc3::IfcCableCarrierFit } Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::operator Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[136]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[136]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[136]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[136]); } /* -Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_rc3::IfcCableCarrierSeg } Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::operator Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[139]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[139]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[139]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[139]); } /* -Ifc4x3_rc3::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x3_rc3::IfcCableFittingTypeEnum::Value Ifc4x3_rc3::IfcCableFittingTypeEnum:: } Ifc4x3_rc3::IfcCableFittingTypeEnum::operator Ifc4x3_rc3::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[142]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[142]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[142]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[142]); } /* -Ifc4x3_rc3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value Ifc4x3_rc3::IfcCableSegmentTypeEnum:: } Ifc4x3_rc3::IfcCableSegmentTypeEnum::operator Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[145]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[145]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[145]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[145]); } /* -Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value Ifc4x3_rc3::IfcCaissonFoundation } Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::operator Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[157]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[157]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[157]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[157]); } /* -Ifc4x3_rc3::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x3_rc3::IfcChangeActionEnum::Value Ifc4x3_rc3::IfcChangeActionEnum::FromStri } Ifc4x3_rc3::IfcChangeActionEnum::operator Ifc4x3_rc3::IfcChangeActionEnum::Value() const { - return (Ifc4x3_rc3::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[160]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[160]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[160]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[160]); } /* -Ifc4x3_rc3::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x3_rc3::IfcChillerTypeEnum::Value Ifc4x3_rc3::IfcChillerTypeEnum::FromString } Ifc4x3_rc3::IfcChillerTypeEnum::operator Ifc4x3_rc3::IfcChillerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[163]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[163]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[163]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[163]); } /* -Ifc4x3_rc3::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x3_rc3::IfcChimneyTypeEnum::Value Ifc4x3_rc3::IfcChimneyTypeEnum::FromString } Ifc4x3_rc3::IfcChimneyTypeEnum::operator Ifc4x3_rc3::IfcChimneyTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[177]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[177]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[177]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[177]); } /* -Ifc4x3_rc3::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x3_rc3::IfcCoilTypeEnum::Value Ifc4x3_rc3::IfcCoilTypeEnum::FromString(const } Ifc4x3_rc3::IfcCoilTypeEnum::operator Ifc4x3_rc3::IfcCoilTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[186]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[186]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[186]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[186]); } /* -Ifc4x3_rc3::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x3_rc3::IfcColumnTypeEnum::Value Ifc4x3_rc3::IfcColumnTypeEnum::FromString(c } Ifc4x3_rc3::IfcColumnTypeEnum::operator Ifc4x3_rc3::IfcColumnTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[189]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[189]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[189]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[189]); } /* -Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_rc3::IfcCommunicati } Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::operator Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[193]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[193]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[193]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[193]); } /* -Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x3_rc3::IfcComplexProp } Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[201]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[201]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[201]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[201]); } /* -Ifc4x3_rc3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x3_rc3::IfcCompressorTypeEnum::Value Ifc4x3_rc3::IfcCompressorTypeEnum::From } Ifc4x3_rc3::IfcCompressorTypeEnum::operator Ifc4x3_rc3::IfcCompressorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[204]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[204]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[204]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[204]); } /* -Ifc4x3_rc3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x3_rc3::IfcCondenserTypeEnum::Value Ifc4x3_rc3::IfcCondenserTypeEnum::FromSt } Ifc4x3_rc3::IfcCondenserTypeEnum::operator Ifc4x3_rc3::IfcCondenserTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[212]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[212]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[212]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[212]); } /* -Ifc4x3_rc3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x3_rc3::IfcConnectionTypeEnum::Value Ifc4x3_rc3::IfcConnectionTypeEnum::From } Ifc4x3_rc3::IfcConnectionTypeEnum::operator Ifc4x3_rc3::IfcConnectionTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[215]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[215]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[215]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[215]); } /* -Ifc4x3_rc3::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x3_rc3::IfcConstraintEnum::Value Ifc4x3_rc3::IfcConstraintEnum::FromString(c } Ifc4x3_rc3::IfcConstraintEnum::operator Ifc4x3_rc3::IfcConstraintEnum::Value() const { - return (Ifc4x3_rc3::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[218]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[218]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[218]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[218]); } /* -Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_rc3::IfcConst } Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[221]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[221]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[221]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[221]); } /* -Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_rc3::IfcConstr } Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[224]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[224]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[224]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[224]); } /* -Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_rc3::IfcConstru } Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::operator Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[233]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[233]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[233]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[233]); } /* -Ifc4x3_rc3::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x3_rc3::IfcControllerTypeEnum::Value Ifc4x3_rc3::IfcControllerTypeEnum::From } Ifc4x3_rc3::IfcControllerTypeEnum::operator Ifc4x3_rc3::IfcControllerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[238]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[238]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[238]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[238]); } /* -Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value Ifc4x3_rc3::IfcConveyorSegmentType } Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::operator Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[241]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[241]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[241]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[241]); } /* -Ifc4x3_rc3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value Ifc4x3_rc3::IfcCooledBeamTypeEnum::From } Ifc4x3_rc3::IfcCooledBeamTypeEnum::operator Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[244]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[244]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[244]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[244]); } /* -Ifc4x3_rc3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value Ifc4x3_rc3::IfcCoolingTowerTypeEnum:: } Ifc4x3_rc3::IfcCoolingTowerTypeEnum::operator Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[250]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[250]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[250]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[250]); } /* -Ifc4x3_rc3::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x3_rc3::IfcCostItemTypeEnum::Value Ifc4x3_rc3::IfcCostItemTypeEnum::FromStri } Ifc4x3_rc3::IfcCostItemTypeEnum::operator Ifc4x3_rc3::IfcCostItemTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[252]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[252]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[252]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[252]); } /* -Ifc4x3_rc3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value Ifc4x3_rc3::IfcCostScheduleTypeEnum:: } Ifc4x3_rc3::IfcCostScheduleTypeEnum::operator Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCourseTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[257]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCourseTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[257]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCourseTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[257]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCourseTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[257]); } /* -Ifc4x3_rc3::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCourseTypeEnum::IfcCourseTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x3_rc3::IfcCourseTypeEnum::Value Ifc4x3_rc3::IfcCourseTypeEnum::FromString(c } Ifc4x3_rc3::IfcCourseTypeEnum::operator Ifc4x3_rc3::IfcCourseTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCourseTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCourseTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[260]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[260]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[260]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[260]); } /* -Ifc4x3_rc3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x3_rc3::IfcCoveringTypeEnum::Value Ifc4x3_rc3::IfcCoveringTypeEnum::FromStri } Ifc4x3_rc3::IfcCoveringTypeEnum::operator Ifc4x3_rc3::IfcCoveringTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[263]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[263]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[263]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[263]); } /* -Ifc4x3_rc3::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value Ifc4x3_rc3::IfcCrewResourceTypeEnum:: } Ifc4x3_rc3::IfcCrewResourceTypeEnum::operator Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[271]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[271]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[271]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[271]); } /* -Ifc4x3_rc3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value Ifc4x3_rc3::IfcCurtainWallTypeEnum::Fr } Ifc4x3_rc3::IfcCurtainWallTypeEnum::operator Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[277]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[277]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[277]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[277]); } /* -Ifc4x3_rc3::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x3_rc3::IfcCurveInterpolationEnum::Value Ifc4x3_rc3::IfcCurveInterpolationEn } Ifc4x3_rc3::IfcCurveInterpolationEnum::operator Ifc4x3_rc3::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x3_rc3::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[290]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[290]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[290]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[290]); } /* -Ifc4x3_rc3::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x3_rc3::IfcDamperTypeEnum::Value Ifc4x3_rc3::IfcDamperTypeEnum::FromString(c } Ifc4x3_rc3::IfcDamperTypeEnum::operator Ifc4x3_rc3::IfcDamperTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[291]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[291]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[291]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[291]); } /* -Ifc4x3_rc3::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x3_rc3::IfcDataOriginEnum::Value Ifc4x3_rc3::IfcDataOriginEnum::FromString(c } Ifc4x3_rc3::IfcDataOriginEnum::operator Ifc4x3_rc3::IfcDataOriginEnum::Value() const { - return (Ifc4x3_rc3::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[303]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[303]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[303]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[303]); } /* -Ifc4x3_rc3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x3_rc3::IfcDerivedUnitEnum::Value Ifc4x3_rc3::IfcDerivedUnitEnum::FromString } Ifc4x3_rc3::IfcDerivedUnitEnum::operator Ifc4x3_rc3::IfcDerivedUnitEnum::Value() const { - return (Ifc4x3_rc3::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[308]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[308]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[308]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[308]); } /* -Ifc4x3_rc3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x3_rc3::IfcDirectionSenseEnum::Value Ifc4x3_rc3::IfcDirectionSenseEnum::From } Ifc4x3_rc3::IfcDirectionSenseEnum::operator Ifc4x3_rc3::IfcDirectionSenseEnum::Value() const { - return (Ifc4x3_rc3::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[314]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[314]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[314]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[314]); } /* -Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_rc3::IfcDiscreteAccessory } Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::operator Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[317]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[317]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[317]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[317]); } /* -Ifc4x3_rc3::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value Ifc4x3_rc3::IfcDistributionBoard } Ifc4x3_rc3::IfcDistributionBoardTypeEnum::operator Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[320]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[320]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[320]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[320]); } /* -Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_rc3::IfcDistribu } Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::operator Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[329]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[329]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[329]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[329]); } /* -Ifc4x3_rc3::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value Ifc4x3_rc3::IfcDistributionPortTy } Ifc4x3_rc3::IfcDistributionPortTypeEnum::operator Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[331]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[331]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[331]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[331]); } /* -Ifc4x3_rc3::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x3_rc3::IfcDistributionSystemEnum::Value Ifc4x3_rc3::IfcDistributionSystemEn } Ifc4x3_rc3::IfcDistributionSystemEnum::operator Ifc4x3_rc3::IfcDistributionSystemEnum::Value() const { - return (Ifc4x3_rc3::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[332]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[332]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[332]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[332]); } /* -Ifc4x3_rc3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value Ifc4x3_rc3::IfcDocumentConfide } Ifc4x3_rc3::IfcDocumentConfidentialityEnum::operator Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[337]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[337]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[337]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[337]); } /* -Ifc4x3_rc3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x3_rc3::IfcDocumentStatusEnum::Value Ifc4x3_rc3::IfcDocumentStatusEnum::From } Ifc4x3_rc3::IfcDocumentStatusEnum::operator Ifc4x3_rc3::IfcDocumentStatusEnum::Value() const { - return (Ifc4x3_rc3::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[340]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[340]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[340]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[340]); } /* -Ifc4x3_rc3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value Ifc4x3_rc3::IfcDoorPanelOperationEn } Ifc4x3_rc3::IfcDoorPanelOperationEnum::operator Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[341]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[341]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[341]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[341]); } /* -Ifc4x3_rc3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value Ifc4x3_rc3::IfcDoorPanelPositionEnum } Ifc4x3_rc3::IfcDoorPanelPositionEnum::operator Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[345]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[345]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[345]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[345]); } /* -Ifc4x3_rc3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value Ifc4x3_rc3::IfcDoorStyleConstruc } Ifc4x3_rc3::IfcDoorStyleConstructionEnum::operator Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value() const { - return (Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[346]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[346]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[346]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[346]); } /* -Ifc4x3_rc3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value Ifc4x3_rc3::IfcDoorStyleOperationEn } Ifc4x3_rc3::IfcDoorStyleOperationEnum::operator Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value() const { - return (Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[348]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[348]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[348]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[348]); } /* -Ifc4x3_rc3::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x3_rc3::IfcDoorTypeEnum::Value Ifc4x3_rc3::IfcDoorTypeEnum::FromString(const } Ifc4x3_rc3::IfcDoorTypeEnum::operator Ifc4x3_rc3::IfcDoorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[349]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[349]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[349]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[349]); } /* -Ifc4x3_rc3::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value Ifc4x3_rc3::IfcDoorTypeOperationEnum } Ifc4x3_rc3::IfcDoorTypeOperationEnum::operator Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[355]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[355]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[355]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[355]); } /* -Ifc4x3_rc3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value Ifc4x3_rc3::IfcDuctFittingTypeEnum::Fr } Ifc4x3_rc3::IfcDuctFittingTypeEnum::operator Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[358]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[358]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[358]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[358]); } /* -Ifc4x3_rc3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Fr } Ifc4x3_rc3::IfcDuctSegmentTypeEnum::operator Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[361]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[361]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[361]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[361]); } /* -Ifc4x3_rc3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value Ifc4x3_rc3::IfcDuctSilencerTypeEnum:: } Ifc4x3_rc3::IfcDuctSilencerTypeEnum::operator Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEarthworksCutTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[365]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[365]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEarthworksCutTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[365]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[365]); } /* -Ifc4x3_rc3::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value Ifc4x3_rc3::IfcEarthworksCutTypeEnum } Ifc4x3_rc3::IfcEarthworksCutTypeEnum::operator Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEarthworksFillTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[368]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[368]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEarthworksFillTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[368]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[368]); } /* -Ifc4x3_rc3::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value Ifc4x3_rc3::IfcEarthworksFillTypeEn } Ifc4x3_rc3::IfcEarthworksFillTypeEnum::operator Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[374]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[374]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[374]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[374]); } /* -Ifc4x3_rc3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value Ifc4x3_rc3::IfcElectricAppliance } Ifc4x3_rc3::IfcElectricApplianceTypeEnum::operator Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[381]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[381]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[381]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[381]); } /* -Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_rc3::IfcElectricD } Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::operator Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[384]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[384]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[384]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[384]); } /* -Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_rc3::IfcElectricF } Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[387]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[387]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[387]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[387]); } /* -Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_rc3::IfcElectri } Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::operator Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[390]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[390]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[390]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[390]); } /* -Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value Ifc4x3_rc3::IfcElectricGenerator } Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::operator Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[393]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[393]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[393]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[393]); } /* -Ifc4x3_rc3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value Ifc4x3_rc3::IfcElectricMotorTypeEnum } Ifc4x3_rc3::IfcElectricMotorTypeEnum::operator Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[397]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[397]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[397]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[397]); } /* -Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value Ifc4x3_rc3::IfcElectricTimeCon } Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::operator Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[403]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[403]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[403]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[403]); } /* -Ifc4x3_rc3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value Ifc4x3_rc3::IfcElementAssemblyType } Ifc4x3_rc3::IfcElementAssemblyTypeEnum::operator Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[406]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[406]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[406]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[406]); } /* -Ifc4x3_rc3::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x3_rc3::IfcElementCompositionEnum::Value Ifc4x3_rc3::IfcElementCompositionEn } Ifc4x3_rc3::IfcElementCompositionEnum::operator Ifc4x3_rc3::IfcElementCompositionEnum::Value() const { - return (Ifc4x3_rc3::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[416]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[416]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[416]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[416]); } /* -Ifc4x3_rc3::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x3_rc3::IfcEngineTypeEnum::Value Ifc4x3_rc3::IfcEngineTypeEnum::FromString(c } Ifc4x3_rc3::IfcEngineTypeEnum::operator Ifc4x3_rc3::IfcEngineTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[419]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[419]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[419]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[419]); } /* -Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_rc3::IfcEvaporativeCooler } Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::operator Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[422]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[422]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[422]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[422]); } /* -Ifc4x3_rc3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value Ifc4x3_rc3::IfcEvaporatorTypeEnum::From } Ifc4x3_rc3::IfcEvaporatorTypeEnum::operator Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[425]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[425]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[425]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[425]); } /* -Ifc4x3_rc3::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value Ifc4x3_rc3::IfcEventTriggerTypeEnum:: } Ifc4x3_rc3::IfcEventTriggerTypeEnum::operator Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[427]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[427]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[427]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[427]); } /* -Ifc4x3_rc3::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x3_rc3::IfcEventTypeEnum::Value Ifc4x3_rc3::IfcEventTypeEnum::FromString(con } Ifc4x3_rc3::IfcEventTypeEnum::operator Ifc4x3_rc3::IfcEventTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[436]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[436]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[436]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[436]); } /* -Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value Ifc4x3_rc3::IfcExternalSpat } Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::operator Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[449]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[449]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[449]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[449]); } /* -Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::Value Ifc4x3_rc3::IfcFacilityPartComm } Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::operator Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFacilityPartCommonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFacilityUsageEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[451]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFacilityUsageEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[451]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFacilityUsageEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[451]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFacilityUsageEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[451]); } /* -Ifc4x3_rc3::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFacilityUsageEnum::IfcFacilityUsageEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x3_rc3::IfcFacilityUsageEnum::Value Ifc4x3_rc3::IfcFacilityUsageEnum::FromSt } Ifc4x3_rc3::IfcFacilityUsageEnum::operator Ifc4x3_rc3::IfcFacilityUsageEnum::Value() const { - return (Ifc4x3_rc3::IfcFacilityUsageEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFacilityUsageEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[455]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[455]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[455]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[455]); } /* -Ifc4x3_rc3::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x3_rc3::IfcFanTypeEnum::Value Ifc4x3_rc3::IfcFanTypeEnum::FromString(const s } Ifc4x3_rc3::IfcFanTypeEnum::operator Ifc4x3_rc3::IfcFanTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[458]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[458]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[458]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[458]); } /* -Ifc4x3_rc3::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x3_rc3::IfcFastenerTypeEnum::Value Ifc4x3_rc3::IfcFastenerTypeEnum::FromStri } Ifc4x3_rc3::IfcFastenerTypeEnum::operator Ifc4x3_rc3::IfcFastenerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[468]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[468]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[468]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[468]); } /* -Ifc4x3_rc3::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x3_rc3::IfcFilterTypeEnum::Value Ifc4x3_rc3::IfcFilterTypeEnum::FromString(c } Ifc4x3_rc3::IfcFilterTypeEnum::operator Ifc4x3_rc3::IfcFilterTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[471]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[471]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[471]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[471]); } /* -Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_rc3::IfcFireSuppres } Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[475]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[475]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[475]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[475]); } /* -Ifc4x3_rc3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x3_rc3::IfcFlowDirectionEnum::Value Ifc4x3_rc3::IfcFlowDirectionEnum::FromSt } Ifc4x3_rc3::IfcFlowDirectionEnum::operator Ifc4x3_rc3::IfcFlowDirectionEnum::Value() const { - return (Ifc4x3_rc3::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[480]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[480]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[480]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[480]); } /* -Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value Ifc4x3_rc3::IfcFlowInstrumentTypeEn } Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::operator Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[483]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[483]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[483]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[483]); } /* -Ifc4x3_rc3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value Ifc4x3_rc3::IfcFlowMeterTypeEnum::FromSt } Ifc4x3_rc3::IfcFlowMeterTypeEnum::operator Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[499]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[499]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[499]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[499]); } /* -Ifc4x3_rc3::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x3_rc3::IfcFootingTypeEnum::Value Ifc4x3_rc3::IfcFootingTypeEnum::FromString } Ifc4x3_rc3::IfcFootingTypeEnum::operator Ifc4x3_rc3::IfcFootingTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[506]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[506]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[506]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[506]); } /* -Ifc4x3_rc3::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x3_rc3::IfcFurnitureTypeEnum::Value Ifc4x3_rc3::IfcFurnitureTypeEnum::FromSt } Ifc4x3_rc3::IfcFurnitureTypeEnum::operator Ifc4x3_rc3::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[509]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[509]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[509]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[509]); } /* -Ifc4x3_rc3::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value Ifc4x3_rc3::IfcGeographicElement } Ifc4x3_rc3::IfcGeographicElementTypeEnum::operator Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[511]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[511]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[511]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[511]); } /* -Ifc4x3_rc3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x3_rc3::IfcGeometricProjectionEnum::Value Ifc4x3_rc3::IfcGeometricProjection } Ifc4x3_rc3::IfcGeometricProjectionEnum::operator Ifc4x3_rc3::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x3_rc3::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[523]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[523]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[523]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[523]); } /* -Ifc4x3_rc3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value Ifc4x3_rc3::IfcGlobalOrLocalEnum::FromSt } Ifc4x3_rc3::IfcGlobalOrLocalEnum::operator Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[529]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[529]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[529]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[529]); } /* -Ifc4x3_rc3::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x3_rc3::IfcGridTypeEnum::Value Ifc4x3_rc3::IfcGridTypeEnum::FromString(const } Ifc4x3_rc3::IfcGridTypeEnum::operator Ifc4x3_rc3::IfcGridTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[535]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[535]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[535]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[535]); } /* -Ifc4x3_rc3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value Ifc4x3_rc3::IfcHeatExchangerTypeEnum } Ifc4x3_rc3::IfcHeatExchangerTypeEnum::operator Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[540]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[540]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[540]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[540]); } /* -Ifc4x3_rc3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x3_rc3::IfcHumidifierTypeEnum::Value Ifc4x3_rc3::IfcHumidifierTypeEnum::From } Ifc4x3_rc3::IfcHumidifierTypeEnum::operator Ifc4x3_rc3::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[546]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[546]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[546]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[546]); } /* -Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_rc3::IfcImpactProtec } Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::operator Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcImpactProtectionDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[560]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[560]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[560]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[560]); } /* -Ifc4x3_rc3::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x3_rc3::IfcInterceptorTypeEnum::Value Ifc4x3_rc3::IfcInterceptorTypeEnum::Fr } Ifc4x3_rc3::IfcInterceptorTypeEnum::operator Ifc4x3_rc3::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[562]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[562]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[562]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[562]); } /* -Ifc4x3_rc3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x3_rc3::IfcInternalOrExternalEnum::Value Ifc4x3_rc3::IfcInternalOrExternalEn } Ifc4x3_rc3::IfcInternalOrExternalEnum::operator Ifc4x3_rc3::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x3_rc3::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[565]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[565]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[565]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[565]); } /* -Ifc4x3_rc3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x3_rc3::IfcInventoryTypeEnum::Value Ifc4x3_rc3::IfcInventoryTypeEnum::FromSt } Ifc4x3_rc3::IfcInventoryTypeEnum::operator Ifc4x3_rc3::IfcInventoryTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[573]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[573]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[573]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[573]); } /* -Ifc4x3_rc3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Fr } Ifc4x3_rc3::IfcJunctionBoxTypeEnum::operator Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[577]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[577]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[577]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[577]); } /* -Ifc4x3_rc3::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x3_rc3::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x3_rc3::IfcKnotType::Value Ifc4x3_rc3::IfcKnotType::FromString(const std::st } Ifc4x3_rc3::IfcKnotType::operator Ifc4x3_rc3::IfcKnotType::Value() const { - return (Ifc4x3_rc3::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[581]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[581]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[581]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[581]); } /* -Ifc4x3_rc3::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value Ifc4x3_rc3::IfcLaborResourceTypeEnum } Ifc4x3_rc3::IfcLaborResourceTypeEnum::operator Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[585]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[585]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[585]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[585]); } /* -Ifc4x3_rc3::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x3_rc3::IfcLampTypeEnum::Value Ifc4x3_rc3::IfcLampTypeEnum::FromString(const } Ifc4x3_rc3::IfcLampTypeEnum::operator Ifc4x3_rc3::IfcLampTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[588]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[588]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[588]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[588]); } /* -Ifc4x3_rc3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value Ifc4x3_rc3::IfcLayerSetDirectionEnum } Ifc4x3_rc3::IfcLayerSetDirectionEnum::operator Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[593]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[593]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[593]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[593]); } /* -Ifc4x3_rc3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value Ifc4x3_rc3::IfcLightDistributio } Ifc4x3_rc3::IfcLightDistributionCurveEnum::operator Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[596]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[596]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[596]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[596]); } /* -Ifc4x3_rc3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value Ifc4x3_rc3::IfcLightEmissionSource } Ifc4x3_rc3::IfcLightEmissionSourceEnum::operator Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[599]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[599]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[599]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[599]); } /* -Ifc4x3_rc3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value Ifc4x3_rc3::IfcLightFixtureTypeEnum:: } Ifc4x3_rc3::IfcLightFixtureTypeEnum::operator Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[618]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[618]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[618]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[618]); } /* -Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value Ifc4x3_rc3::IfcLiquidTerminalTypeEn } Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::operator Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[619]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[619]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[619]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[619]); } /* -Ifc4x3_rc3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value Ifc4x3_rc3::IfcLoadGroupTypeEnum::FromSt } Ifc4x3_rc3::IfcLoadGroupTypeEnum::operator Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[622]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[622]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[622]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[622]); } /* -Ifc4x3_rc3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x3_rc3::IfcLogicalOperatorEnum::Value Ifc4x3_rc3::IfcLogicalOperatorEnum::Fr } Ifc4x3_rc3::IfcLogicalOperatorEnum::operator Ifc4x3_rc3::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x3_rc3::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMarineFacilityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[634]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[634]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMarineFacilityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[634]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[634]); } /* -Ifc4x3_rc3::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value Ifc4x3_rc3::IfcMarineFacilityTypeEn } Ifc4x3_rc3::IfcMarineFacilityTypeEnum::operator Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMarinePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[635]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMarinePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[635]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMarinePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[635]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMarinePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[635]); } /* -Ifc4x3_rc3::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x3_rc3::IfcMarinePartTypeEnum::Value Ifc4x3_rc3::IfcMarinePartTypeEnum::From } Ifc4x3_rc3::IfcMarinePartTypeEnum::operator Ifc4x3_rc3::IfcMarinePartTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcMarinePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcMarinePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[664]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[664]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[664]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[664]); } /* -Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_rc3::IfcMechanicalFasten } Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::operator Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[667]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[667]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[667]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[667]); } /* -Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value Ifc4x3_rc3::IfcMedicalDeviceTypeEnum } Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::operator Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[671]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[671]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[671]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[671]); } /* -Ifc4x3_rc3::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x3_rc3::IfcMemberTypeEnum::Value Ifc4x3_rc3::IfcMemberTypeEnum::FromString(c } Ifc4x3_rc3::IfcMemberTypeEnum::operator Ifc4x3_rc3::IfcMemberTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[677]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[677]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[677]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[677]); } /* -Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_rc3::IfcM } Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::operator Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMooringDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[693]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[693]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMooringDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[693]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[693]); } /* -Ifc4x3_rc3::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value Ifc4x3_rc3::IfcMooringDeviceTypeEnum } Ifc4x3_rc3::IfcMooringDeviceTypeEnum::operator Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[696]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[696]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[696]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[696]); } /* -Ifc4x3_rc3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value Ifc4x3_rc3::IfcMotorConnectionType } Ifc4x3_rc3::IfcMotorConnectionTypeEnum::operator Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcNavigationElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[700]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[700]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcNavigationElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[700]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[700]); } /* -Ifc4x3_rc3::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value Ifc4x3_rc3::IfcNavigationElement } Ifc4x3_rc3::IfcNavigationElementTypeEnum::operator Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcObjectTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[710]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcObjectTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[710]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcObjectTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[710]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcObjectTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[710]); } /* -Ifc4x3_rc3::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcObjectTypeEnum::IfcObjectTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x3_rc3::IfcObjectTypeEnum::Value Ifc4x3_rc3::IfcObjectTypeEnum::FromString(c } Ifc4x3_rc3::IfcObjectTypeEnum::operator Ifc4x3_rc3::IfcObjectTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcObjectTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcObjectTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[707]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[707]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[707]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[707]); } /* -Ifc4x3_rc3::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x3_rc3::IfcObjectiveEnum::Value Ifc4x3_rc3::IfcObjectiveEnum::FromString(con } Ifc4x3_rc3::IfcObjectiveEnum::operator Ifc4x3_rc3::IfcObjectiveEnum::Value() const { - return (Ifc4x3_rc3::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[712]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[712]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[712]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[712]); } /* -Ifc4x3_rc3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x3_rc3::IfcOccupantTypeEnum::Value Ifc4x3_rc3::IfcOccupantTypeEnum::FromStri } Ifc4x3_rc3::IfcOccupantTypeEnum::operator Ifc4x3_rc3::IfcOccupantTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[719]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[719]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[719]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[719]); } /* -Ifc4x3_rc3::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value Ifc4x3_rc3::IfcOpeningElementTypeEn } Ifc4x3_rc3::IfcOpeningElementTypeEnum::operator Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[728]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[728]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[728]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[728]); } /* -Ifc4x3_rc3::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x3_rc3::IfcOutletTypeEnum::Value Ifc4x3_rc3::IfcOutletTypeEnum::FromString(c } Ifc4x3_rc3::IfcOutletTypeEnum::operator Ifc4x3_rc3::IfcOutletTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPavementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[735]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPavementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[735]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPavementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[735]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPavementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[735]); } /* -Ifc4x3_rc3::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPavementTypeEnum::IfcPavementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x3_rc3::IfcPavementTypeEnum::Value Ifc4x3_rc3::IfcPavementTypeEnum::FromStri } Ifc4x3_rc3::IfcPavementTypeEnum::operator Ifc4x3_rc3::IfcPavementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcPavementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPavementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[738]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[738]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[738]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[738]); } /* -Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value Ifc4x3_rc3::IfcPerformanceHisto } Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::operator Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[739]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[739]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[739]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[739]); } /* -Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value Ifc4x3_rc3::IfcPermeableCov } Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::operator Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[742]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[742]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[742]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[742]); } /* -Ifc4x3_rc3::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x3_rc3::IfcPermitTypeEnum::Value Ifc4x3_rc3::IfcPermitTypeEnum::FromString(c } Ifc4x3_rc3::IfcPermitTypeEnum::operator Ifc4x3_rc3::IfcPermitTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[747]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[747]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[747]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[747]); } /* -Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value Ifc4x3_rc3::IfcPhysicalOrVirtualEnum } Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::operator Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[751]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[751]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[751]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[751]); } /* -Ifc4x3_rc3::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x3_rc3::IfcPileConstructionEnum::Value Ifc4x3_rc3::IfcPileConstructionEnum:: } Ifc4x3_rc3::IfcPileConstructionEnum::operator Ifc4x3_rc3::IfcPileConstructionEnum::Value() const { - return (Ifc4x3_rc3::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[753]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[753]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[753]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[753]); } /* -Ifc4x3_rc3::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x3_rc3::IfcPileTypeEnum::Value Ifc4x3_rc3::IfcPileTypeEnum::FromString(const } Ifc4x3_rc3::IfcPileTypeEnum::operator Ifc4x3_rc3::IfcPileTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[756]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[756]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[756]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[756]); } /* -Ifc4x3_rc3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value Ifc4x3_rc3::IfcPipeFittingTypeEnum::Fr } Ifc4x3_rc3::IfcPipeFittingTypeEnum::operator Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[759]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[759]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[759]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[759]); } /* -Ifc4x3_rc3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Fr } Ifc4x3_rc3::IfcPipeSegmentTypeEnum::operator Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[771]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[771]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[771]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[771]); } /* -Ifc4x3_rc3::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x3_rc3::IfcPlateTypeEnum::Value Ifc4x3_rc3::IfcPlateTypeEnum::FromString(con } Ifc4x3_rc3::IfcPlateTypeEnum::operator Ifc4x3_rc3::IfcPlateTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[796]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[796]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[796]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[796]); } /* -Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_rc3::IfcPreferr } Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[805]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[805]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[805]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[805]); } /* -Ifc4x3_rc3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x3_rc3::IfcProcedureTypeEnum::Value Ifc4x3_rc3::IfcProcedureTypeEnum::FromSt } Ifc4x3_rc3::IfcProcedureTypeEnum::operator Ifc4x3_rc3::IfcProcedureTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[815]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[815]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[815]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[815]); } /* -Ifc4x3_rc3::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x3_rc3::IfcProfileTypeEnum::Value Ifc4x3_rc3::IfcProfileTypeEnum::FromString } Ifc4x3_rc3::IfcProfileTypeEnum::operator Ifc4x3_rc3::IfcProfileTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[823]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[823]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[823]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[823]); } /* -Ifc4x3_rc3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value Ifc4x3_rc3::IfcProjectOrderTypeEnum:: } Ifc4x3_rc3::IfcProjectOrderTypeEnum::operator Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[818]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[818]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[818]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[818]); } /* -Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value Ifc4x3_rc3::IfcProjectedOrTrueLe } Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::operator Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[820]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[820]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[820]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[820]); } /* -Ifc4x3_rc3::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value Ifc4x3_rc3::IfcProjectionElement } Ifc4x3_rc3::IfcProjectionElementTypeEnum::operator Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[838]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[838]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[838]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[838]); } /* -Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value Ifc4x3_rc3::IfcPropertySetTemp } Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::operator Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[846]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[846]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[846]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[846]); } /* -Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_rc3::IfcProtec } Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[848]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[848]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[848]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[848]); } /* -Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_rc3::IfcProtectiveDeviceTy } Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::operator Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[852]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[852]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[852]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[852]); } /* -Ifc4x3_rc3::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x3_rc3::IfcPumpTypeEnum::Value Ifc4x3_rc3::IfcPumpTypeEnum::FromString(const } Ifc4x3_rc3::IfcPumpTypeEnum::operator Ifc4x3_rc3::IfcPumpTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRailTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[866]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRailTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[866]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRailTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[866]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRailTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[866]); } /* -Ifc4x3_rc3::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRailTypeEnum::IfcRailTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRailTypeEnum::IfcRailTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x3_rc3::IfcRailTypeEnum::Value Ifc4x3_rc3::IfcRailTypeEnum::FromString(const } Ifc4x3_rc3::IfcRailTypeEnum::operator Ifc4x3_rc3::IfcRailTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRailTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRailTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[864]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[864]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[864]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[864]); } /* -Ifc4x3_rc3::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x3_rc3::IfcRailingTypeEnum::Value Ifc4x3_rc3::IfcRailingTypeEnum::FromString } Ifc4x3_rc3::IfcRailingTypeEnum::operator Ifc4x3_rc3::IfcRailingTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRailwayPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[868]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRailwayPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[868]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRailwayPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[868]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRailwayPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[868]); } /* -Ifc4x3_rc3::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x3_rc3::IfcRailwayPartTypeEnum::Value Ifc4x3_rc3::IfcRailwayPartTypeEnum::Fr } Ifc4x3_rc3::IfcRailwayPartTypeEnum::operator Ifc4x3_rc3::IfcRailwayPartTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRailwayPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRailwayPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRailwayTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[869]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRailwayTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[869]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRailwayTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[869]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRailwayTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[869]); } /* -Ifc4x3_rc3::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRailwayTypeEnum::IfcRailwayTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x3_rc3::IfcRailwayTypeEnum::Value Ifc4x3_rc3::IfcRailwayTypeEnum::FromString } Ifc4x3_rc3::IfcRailwayTypeEnum::operator Ifc4x3_rc3::IfcRailwayTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRailwayTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRailwayTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[873]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[873]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[873]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[873]); } /* -Ifc4x3_rc3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x3_rc3::IfcRampFlightTypeEnum::Value Ifc4x3_rc3::IfcRampFlightTypeEnum::From } Ifc4x3_rc3::IfcRampFlightTypeEnum::operator Ifc4x3_rc3::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[875]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[875]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[875]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[875]); } /* -Ifc4x3_rc3::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x3_rc3::IfcRampTypeEnum::Value Ifc4x3_rc3::IfcRampTypeEnum::FromString(const } Ifc4x3_rc3::IfcRampTypeEnum::operator Ifc4x3_rc3::IfcRampTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[885]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[885]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[885]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[885]); } /* -Ifc4x3_rc3::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value Ifc4x3_rc3::IfcRecurrenceTypeEnum::From } Ifc4x3_rc3::IfcRecurrenceTypeEnum::operator Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[888]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[888]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[888]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[888]); } /* -Ifc4x3_rc3::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x3_rc3::IfcReferentTypeEnum::Value Ifc4x3_rc3::IfcReferentTypeEnum::FromStri } Ifc4x3_rc3::IfcReferentTypeEnum::operator Ifc4x3_rc3::IfcReferentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[889]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[889]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[889]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[889]); } /* -Ifc4x3_rc3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x3_rc3::IfcReflectanceMethodEnum::Value Ifc4x3_rc3::IfcReflectanceMethodEnum } Ifc4x3_rc3::IfcReflectanceMethodEnum::operator Ifc4x3_rc3::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x3_rc3::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[892]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[892]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[892]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[892]); } /* -Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value Ifc4x3_rc3::IfcReinforcedSoilTypeEn } Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::operator Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[896]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[896]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[896]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[896]); } /* -Ifc4x3_rc3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value Ifc4x3_rc3::IfcReinforcingBarRoleEn } Ifc4x3_rc3::IfcReinforcingBarRoleEnum::operator Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[897]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[897]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[897]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[897]); } /* -Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value Ifc4x3_rc3::IfcReinforcingBarSur } Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::operator Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[899]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[899]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[899]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[899]); } /* -Ifc4x3_rc3::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value Ifc4x3_rc3::IfcReinforcingBarTypeEn } Ifc4x3_rc3::IfcReinforcingBarTypeEnum::operator Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[904]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[904]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[904]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[904]); } /* -Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value Ifc4x3_rc3::IfcReinforcingMeshType } Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::operator Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRoadPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[972]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRoadPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[972]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRoadPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[972]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRoadPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[972]); } /* -Ifc4x3_rc3::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x3_rc3::IfcRoadPartTypeEnum::Value Ifc4x3_rc3::IfcRoadPartTypeEnum::FromStri } Ifc4x3_rc3::IfcRoadPartTypeEnum::operator Ifc4x3_rc3::IfcRoadPartTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRoadPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRoadPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRoadTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[973]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRoadTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[973]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRoadTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[973]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRoadTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[973]); } /* -Ifc4x3_rc3::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRoadTypeEnum::IfcRoadTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x3_rc3::IfcRoadTypeEnum::Value Ifc4x3_rc3::IfcRoadTypeEnum::FromString(const } Ifc4x3_rc3::IfcRoadTypeEnum::operator Ifc4x3_rc3::IfcRoadTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRoadTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRoadTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[974]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[974]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[974]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[974]); } /* -Ifc4x3_rc3::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x3_rc3::IfcRoleEnum::Value Ifc4x3_rc3::IfcRoleEnum::FromString(const std::st } Ifc4x3_rc3::IfcRoleEnum::operator Ifc4x3_rc3::IfcRoleEnum::Value() const { - return (Ifc4x3_rc3::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[977]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[977]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[977]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[977]); } /* -Ifc4x3_rc3::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x3_rc3::IfcRoofTypeEnum::Value Ifc4x3_rc3::IfcRoofTypeEnum::FromString(const } Ifc4x3_rc3::IfcRoofTypeEnum::operator Ifc4x3_rc3::IfcRoofTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1026]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1026]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1026]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1026]); } /* -Ifc4x3_rc3::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x3_rc3::IfcSIPrefix::Value Ifc4x3_rc3::IfcSIPrefix::FromString(const std::st } Ifc4x3_rc3::IfcSIPrefix::operator Ifc4x3_rc3::IfcSIPrefix::Value() const { - return (Ifc4x3_rc3::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1029]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1029]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1029]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1029]); } /* -Ifc4x3_rc3::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x3_rc3::IfcSIUnitName::Value Ifc4x3_rc3::IfcSIUnitName::FromString(const std } Ifc4x3_rc3::IfcSIUnitName::operator Ifc4x3_rc3::IfcSIUnitName::Value() const { - return (Ifc4x3_rc3::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[986]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[986]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[986]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[986]); } /* -Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_rc3::IfcSanitaryTerminalTy } Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::operator Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[998]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[998]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[998]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[998]); } /* -Ifc4x3_rc3::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x3_rc3::IfcSectionTypeEnum::Value Ifc4x3_rc3::IfcSectionTypeEnum::FromString } Ifc4x3_rc3::IfcSectionTypeEnum::operator Ifc4x3_rc3::IfcSectionTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1004]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1004]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1004]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1004]); } /* -Ifc4x3_rc3::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x3_rc3::IfcSensorTypeEnum::Value Ifc4x3_rc3::IfcSensorTypeEnum::FromString(c } Ifc4x3_rc3::IfcSensorTypeEnum::operator Ifc4x3_rc3::IfcSensorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1005]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1005]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1005]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1005]); } /* -Ifc4x3_rc3::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x3_rc3::IfcSequenceEnum::Value Ifc4x3_rc3::IfcSequenceEnum::FromString(const } Ifc4x3_rc3::IfcSequenceEnum::operator Ifc4x3_rc3::IfcSequenceEnum::Value() const { - return (Ifc4x3_rc3::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1008]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1008]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1008]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1008]); } /* -Ifc4x3_rc3::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value Ifc4x3_rc3::IfcShadingDeviceTypeEnum } Ifc4x3_rc3::IfcShadingDeviceTypeEnum::operator Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSignTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1020]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSignTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1020]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSignTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1020]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSignTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1020]); } /* -Ifc4x3_rc3::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSignTypeEnum::IfcSignTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSignTypeEnum::IfcSignTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x3_rc3::IfcSignTypeEnum::Value Ifc4x3_rc3::IfcSignTypeEnum::FromString(const } Ifc4x3_rc3::IfcSignTypeEnum::operator Ifc4x3_rc3::IfcSignTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSignTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSignTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSignalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1018]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSignalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1018]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSignalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1018]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSignalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1018]); } /* -Ifc4x3_rc3::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSignalTypeEnum::IfcSignalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x3_rc3::IfcSignalTypeEnum::Value Ifc4x3_rc3::IfcSignalTypeEnum::FromString(c } Ifc4x3_rc3::IfcSignalTypeEnum::operator Ifc4x3_rc3::IfcSignalTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSignalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSignalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1023]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1023]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1023]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1023]); } /* -Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x3_rc3::IfcSimpleProper } Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1035]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1035]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1035]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1035]); } /* -Ifc4x3_rc3::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x3_rc3::IfcSlabTypeEnum::Value Ifc4x3_rc3::IfcSlabTypeEnum::FromString(const } Ifc4x3_rc3::IfcSlabTypeEnum::operator Ifc4x3_rc3::IfcSlabTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1039]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1039]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1039]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1039]); } /* -Ifc4x3_rc3::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Fr } Ifc4x3_rc3::IfcSolarDeviceTypeEnum::operator Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1052]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1052]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1052]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1052]); } /* -Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Fr } Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::operator Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1054]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1054]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1054]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1054]); } /* -Ifc4x3_rc3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x3_rc3::IfcSpaceTypeEnum::Value Ifc4x3_rc3::IfcSpaceTypeEnum::FromString(con } Ifc4x3_rc3::IfcSpaceTypeEnum::operator Ifc4x3_rc3::IfcSpaceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1062]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1062]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1062]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1062]); } /* -Ifc4x3_rc3::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Fr } Ifc4x3_rc3::IfcSpatialZoneTypeEnum::operator Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1072]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1072]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1072]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1072]); } /* -Ifc4x3_rc3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value Ifc4x3_rc3::IfcStackTerminalTypeEnum } Ifc4x3_rc3::IfcStackTerminalTypeEnum::operator Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1076]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1076]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1076]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1076]); } /* -Ifc4x3_rc3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x3_rc3::IfcStairFlightTypeEnum::Value Ifc4x3_rc3::IfcStairFlightTypeEnum::Fr } Ifc4x3_rc3::IfcStairFlightTypeEnum::operator Ifc4x3_rc3::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1078]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1078]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1078]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1078]); } /* -Ifc4x3_rc3::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x3_rc3::IfcStairTypeEnum::Value Ifc4x3_rc3::IfcStairTypeEnum::FromString(con } Ifc4x3_rc3::IfcStairTypeEnum::operator Ifc4x3_rc3::IfcStairTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1079]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1079]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1079]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1079]); } /* -Ifc4x3_rc3::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x3_rc3::IfcStateEnum::Value Ifc4x3_rc3::IfcStateEnum::FromString(const std:: } Ifc4x3_rc3::IfcStateEnum::operator Ifc4x3_rc3::IfcStateEnum::Value() const { - return (Ifc4x3_rc3::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1087]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1087]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1087]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1087]); } /* -Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc3::IfcStructuralC } Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::operator Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1090]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1090]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1090]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1090]); } /* -Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_rc3::IfcStructuralCur } Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::operator Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1116]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1116]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1116]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1116]); } /* -Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc3::IfcStructura } Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1119]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1119]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1119]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1119]); } /* -Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_rc3::IfcStructuralS } Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1127]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1127]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1127]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1127]); } /* -Ifc4x3_rc3::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value Ifc4x3_rc3::IfcSubContractReso } Ifc4x3_rc3::IfcSubContractResourceTypeEnum::operator Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1133]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1133]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1133]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1133]); } /* -Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,23 +6126,23 @@ Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value Ifc4x3_rc3::IfcSurfaceFeatureTypeEn } Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::operator Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1138]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1138]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1138]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1138]); } /* -Ifc4x3_rc3::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6155,23 +6155,23 @@ Ifc4x3_rc3::IfcSurfaceSide::Value Ifc4x3_rc3::IfcSurfaceSide::FromString(const s } Ifc4x3_rc3::IfcSurfaceSide::operator Ifc4x3_rc3::IfcSurfaceSide::Value() const { - return (Ifc4x3_rc3::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1153]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1153]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1153]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1153]); } /* -Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6184,23 +6184,23 @@ Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_rc3::IfcSwitchingDeviceType } Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::operator Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1157]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1157]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1157]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1157]); } /* -Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6213,23 +6213,23 @@ Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value Ifc4x3_rc3::IfcSystemFurnit } Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::operator Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1163]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1163]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1163]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1163]); } /* -Ifc4x3_rc3::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6242,23 +6242,23 @@ Ifc4x3_rc3::IfcTankTypeEnum::Value Ifc4x3_rc3::IfcTankTypeEnum::FromString(const } Ifc4x3_rc3::IfcTankTypeEnum::operator Ifc4x3_rc3::IfcTankTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1165]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1165]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1165]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1165]); } /* -Ifc4x3_rc3::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6271,23 +6271,23 @@ Ifc4x3_rc3::IfcTaskDurationEnum::Value Ifc4x3_rc3::IfcTaskDurationEnum::FromStri } Ifc4x3_rc3::IfcTaskDurationEnum::operator Ifc4x3_rc3::IfcTaskDurationEnum::Value() const { - return (Ifc4x3_rc3::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1169]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1169]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1169]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1169]); } /* -Ifc4x3_rc3::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6300,23 +6300,23 @@ Ifc4x3_rc3::IfcTaskTypeEnum::Value Ifc4x3_rc3::IfcTaskTypeEnum::FromString(const } Ifc4x3_rc3::IfcTaskTypeEnum::operator Ifc4x3_rc3::IfcTaskTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1176]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1176]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1176]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1176]); } /* -Ifc4x3_rc3::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6329,23 +6329,23 @@ Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value Ifc4x3_rc3::IfcTendonAnchorTypeEnum:: } Ifc4x3_rc3::IfcTendonAnchorTypeEnum::operator Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTendonConduitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1179]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1179]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1179]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1179]); } /* -Ifc4x3_rc3::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6358,23 +6358,23 @@ Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value Ifc4x3_rc3::IfcTendonConduitTypeEnum } Ifc4x3_rc3::IfcTendonConduitTypeEnum::operator Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1181]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1181]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1181]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1181]); } /* -Ifc4x3_rc3::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6387,23 +6387,23 @@ Ifc4x3_rc3::IfcTendonTypeEnum::Value Ifc4x3_rc3::IfcTendonTypeEnum::FromString(c } Ifc4x3_rc3::IfcTendonTypeEnum::operator Ifc4x3_rc3::IfcTendonTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1191]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1191]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1191]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1191]); } /* -Ifc4x3_rc3::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6416,23 +6416,23 @@ Ifc4x3_rc3::IfcTextPath::Value Ifc4x3_rc3::IfcTextPath::FromString(const std::st } Ifc4x3_rc3::IfcTextPath::operator Ifc4x3_rc3::IfcTextPath::Value() const { - return (Ifc4x3_rc3::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1214]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1214]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1214]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1214]); } /* -Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6445,23 +6445,23 @@ Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_rc3::IfcTimeSeriesDataTypeEn } Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::operator Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTrackElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1223]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTrackElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1223]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTrackElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1223]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTrackElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1223]); } /* -Ifc4x3_rc3::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6474,23 +6474,23 @@ Ifc4x3_rc3::IfcTrackElementTypeEnum::Value Ifc4x3_rc3::IfcTrackElementTypeEnum:: } Ifc4x3_rc3::IfcTrackElementTypeEnum::operator Ifc4x3_rc3::IfcTrackElementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTrackElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTrackElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1226]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1226]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1226]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1226]); } /* -Ifc4x3_rc3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6503,23 +6503,23 @@ Ifc4x3_rc3::IfcTransformerTypeEnum::Value Ifc4x3_rc3::IfcTransformerTypeEnum::Fr } Ifc4x3_rc3::IfcTransformerTypeEnum::operator Ifc4x3_rc3::IfcTransformerTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1227]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1227]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1227]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1227]); } /* -Ifc4x3_rc3::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6532,23 +6532,23 @@ Ifc4x3_rc3::IfcTransitionCode::Value Ifc4x3_rc3::IfcTransitionCode::FromString(c } Ifc4x3_rc3::IfcTransitionCode::operator Ifc4x3_rc3::IfcTransitionCode::Value() const { - return (Ifc4x3_rc3::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1230]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1230]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1230]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1230]); } /* -Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6561,23 +6561,23 @@ Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::Value Ifc4x3_rc3::IfcTransportElem } Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::operator Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTransportElementFixedTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1231]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1231]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1231]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1231]); } /* -Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6590,23 +6590,23 @@ Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::Value Ifc4x3_rc3::IfcTransportE } Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::operator Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTransportElementNonFixedTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1238]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1238]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1238]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1238]); } /* -Ifc4x3_rc3::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6619,23 +6619,23 @@ Ifc4x3_rc3::IfcTrimmingPreference::Value Ifc4x3_rc3::IfcTrimmingPreference::From } Ifc4x3_rc3::IfcTrimmingPreference::operator Ifc4x3_rc3::IfcTrimmingPreference::Value() const { - return (Ifc4x3_rc3::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1243]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1243]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1243]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1243]); } /* -Ifc4x3_rc3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6648,23 +6648,23 @@ Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value Ifc4x3_rc3::IfcTubeBundleTypeEnum::From } Ifc4x3_rc3::IfcTubeBundleTypeEnum::operator Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1256]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1256]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1256]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1256]); } /* -Ifc4x3_rc3::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6677,23 +6677,23 @@ Ifc4x3_rc3::IfcUnitEnum::Value Ifc4x3_rc3::IfcUnitEnum::FromString(const std::st } Ifc4x3_rc3::IfcUnitEnum::operator Ifc4x3_rc3::IfcUnitEnum::Value() const { - return (Ifc4x3_rc3::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1251]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1251]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1251]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1251]); } /* -Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6706,23 +6706,23 @@ Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_rc3::IfcUnitaryContro } Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::operator Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1254]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1254]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1254]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1254]); } /* -Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6735,23 +6735,23 @@ Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_rc3::IfcUnitaryEquipmentTy } Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::operator Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1262]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1262]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1262]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1262]); } /* -Ifc4x3_rc3::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6764,23 +6764,23 @@ Ifc4x3_rc3::IfcValveTypeEnum::Value Ifc4x3_rc3::IfcValveTypeEnum::FromString(con } Ifc4x3_rc3::IfcValveTypeEnum::operator Ifc4x3_rc3::IfcValveTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcVibrationDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1271]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1271]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1271]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1271]); } /* -Ifc4x3_rc3::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6793,23 +6793,23 @@ Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value Ifc4x3_rc3::IfcVibrationDamperType } Ifc4x3_rc3::IfcVibrationDamperTypeEnum::operator Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1274]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1274]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1274]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1274]); } /* -Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6822,23 +6822,23 @@ Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_rc3::IfcVibrationIsolator } Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::operator Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1279]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1279]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1279]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1279]); } /* -Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6851,23 +6851,23 @@ Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value Ifc4x3_rc3::IfcVoidingFeatureTypeEn } Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::operator Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1287]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1287]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1287]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1287]); } /* -Ifc4x3_rc3::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6880,23 +6880,23 @@ Ifc4x3_rc3::IfcWallTypeEnum::Value Ifc4x3_rc3::IfcWallTypeEnum::FromString(const } Ifc4x3_rc3::IfcWallTypeEnum::operator Ifc4x3_rc3::IfcWallTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1293]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1293]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1293]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1293]); } /* -Ifc4x3_rc3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6909,23 +6909,23 @@ Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value Ifc4x3_rc3::IfcWasteTerminalTypeEnum } Ifc4x3_rc3::IfcWasteTerminalTypeEnum::operator Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1297]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1297]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1297]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1297]); } /* -Ifc4x3_rc3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6938,23 +6938,23 @@ Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value Ifc4x3_rc3::IfcWindowPanelOperati } Ifc4x3_rc3::IfcWindowPanelOperationEnum::operator Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1298]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1298]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1298]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1298]); } /* -Ifc4x3_rc3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6967,23 +6967,23 @@ Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value Ifc4x3_rc3::IfcWindowPanelPosition } Ifc4x3_rc3::IfcWindowPanelPositionEnum::operator Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1302]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1302]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1302]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1302]); } /* -Ifc4x3_rc3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6996,23 +6996,23 @@ Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value Ifc4x3_rc3::IfcWindowStyleCons } Ifc4x3_rc3::IfcWindowStyleConstructionEnum::operator Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value() const { - return (Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1303]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1303]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1303]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1303]); } /* -Ifc4x3_rc3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7025,23 +7025,23 @@ Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value Ifc4x3_rc3::IfcWindowStyleOperati } Ifc4x3_rc3::IfcWindowStyleOperationEnum::operator Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value() const { - return (Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1305]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1305]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1305]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1305]); } /* -Ifc4x3_rc3::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7054,23 +7054,23 @@ Ifc4x3_rc3::IfcWindowTypeEnum::Value Ifc4x3_rc3::IfcWindowTypeEnum::FromString(c } Ifc4x3_rc3::IfcWindowTypeEnum::operator Ifc4x3_rc3::IfcWindowTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1306]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1306]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1306]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1306]); } /* -Ifc4x3_rc3::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7083,23 +7083,23 @@ Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value Ifc4x3_rc3::IfcWindowTypePartit } Ifc4x3_rc3::IfcWindowTypePartitioningEnum::operator Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1308]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1308]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1308]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1308]); } /* -Ifc4x3_rc3::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7112,23 +7112,23 @@ Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value Ifc4x3_rc3::IfcWorkCalendarTypeEnum:: } Ifc4x3_rc3::IfcWorkCalendarTypeEnum::operator Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1311]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1311]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1311]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1311]); } /* -Ifc4x3_rc3::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7141,23 +7141,23 @@ Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value Ifc4x3_rc3::IfcWorkPlanTypeEnum::FromStri } Ifc4x3_rc3::IfcWorkPlanTypeEnum::operator Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1313]); } -const IfcParse::enumeration_type& Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC3_types[1313]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1313]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC3_types[1313]); } /* -Ifc4x3_rc3::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc3::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc3::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc3::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7170,857 +7170,857 @@ Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value Ifc4x3_rc3::IfcWorkScheduleTypeEnum:: } Ifc4x3_rc3::IfcWorkScheduleTypeEnum::operator Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x3_rc3::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[8]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[8]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[51]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[51]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[68]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[68]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[81]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[81]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[90]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[90]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[171]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[171]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[172]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[172]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[178]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[178]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[179]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[179]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[247]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[247]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[265]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[265]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[276]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[276]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcCurveMeasureSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[278]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcCurveMeasureSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[278]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[279]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[279]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[280]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[280]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[286]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[286]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[298]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[298]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[299]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[299]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[336]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[336]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcFacilityPartTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[450]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcFacilityPartTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[450]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[465]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[465]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[516]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[516]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[528]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[528]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[532]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[532]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[547]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[547]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcInterferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[561]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcInterferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[561]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[587]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[587]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[592]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[592]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[595]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[595]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[658]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[658]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[660]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[660]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[673]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[673]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[681]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[681]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[683]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[683]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[684]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[684]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[709]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[709]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[776]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[776]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[807]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[807]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[811]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[811]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[812]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[812]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[835]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[835]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[964]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[964]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[965]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[965]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[982]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[982]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1001]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1001]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1013]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1013]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1024]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1024]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1030]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1030]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1042]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1042]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1049]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1049]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcSpatialReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1057]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcSpatialReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1057]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1065]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1065]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1082]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1082]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1136]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1136]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1140]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1140]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1188]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1188]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1211]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1211]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1228]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1228]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcTransportElementTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1233]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcTransportElementTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1233]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1239]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1239]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1248]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1248]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1259]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1259]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1265]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1265]); } -const IfcParse::select_type& Ifc4x3_rc3::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC3_types[1290]); } +const ifcopenshell::select_type& Ifc4x3_rc3::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC3_types[1290]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[0]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[0]); } void Ifc4x3_rc3::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1]); } void Ifc4x3_rc3::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[42]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[42]); } void Ifc4x3_rc3::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[45]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[45]); } void Ifc4x3_rc3::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x3_rc3::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[57]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[57]); } void Ifc4x3_rc3::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[58]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[58]); } void Ifc4x3_rc3::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[59]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[59]); } void Ifc4x3_rc3::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x3_rc3::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[82]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[82]); } void Ifc4x3_rc3::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x3_rc3::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[88]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[88]); } void Ifc4x3_rc3::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x3_rc3::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[103]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[103]); } void Ifc4x3_rc3::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x3_rc3::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[146]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[146]); } void Ifc4x3_rc3::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x3_rc3::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[190]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[190]); } void Ifc4x3_rc3::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[198]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[198]); } void Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[228]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[228]); } void Ifc4x3_rc3::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[254]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[254]); } void Ifc4x3_rc3::IfcCountMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcCountMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[272]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[272]); } void Ifc4x3_rc3::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x3_rc3::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[292]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[292]); } void Ifc4x3_rc3::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x3_rc3::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[293]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[293]); } void Ifc4x3_rc3::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x3_rc3::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[294]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[294]); } void Ifc4x3_rc3::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x3_rc3::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[295]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[295]); } void Ifc4x3_rc3::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[304]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[304]); } void Ifc4x3_rc3::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x3_rc3::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[306]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[306]); } void Ifc4x3_rc3::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[350]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[350]); } void Ifc4x3_rc3::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x3_rc3::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[362]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[362]); } void Ifc4x3_rc3::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[363]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[363]); } void Ifc4x3_rc3::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[375]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[375]); } void Ifc4x3_rc3::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[376]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[376]); } void Ifc4x3_rc3::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[377]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[377]); } void Ifc4x3_rc3::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[378]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[378]); } void Ifc4x3_rc3::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[394]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[394]); } void Ifc4x3_rc3::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[398]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[398]); } void Ifc4x3_rc3::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[413]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[413]); } void Ifc4x3_rc3::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x3_rc3::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[494]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[494]); } void Ifc4x3_rc3::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x3_rc3::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[495]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[495]); } void Ifc4x3_rc3::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x3_rc3::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[496]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[496]); } void Ifc4x3_rc3::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[500]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[500]); } void Ifc4x3_rc3::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[501]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[501]); } void Ifc4x3_rc3::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x3_rc3::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[522]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[522]); } void Ifc4x3_rc3::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[536]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[536]); } void Ifc4x3_rc3::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[537]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[537]); } void Ifc4x3_rc3::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x3_rc3::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[541]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[541]); } void Ifc4x3_rc3::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[542]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[542]); } void Ifc4x3_rc3::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[555]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[555]); } void Ifc4x3_rc3::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x3_rc3::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[556]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[556]); } void Ifc4x3_rc3::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[557]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[557]); } void Ifc4x3_rc3::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[566]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[566]); } void Ifc4x3_rc3::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[570]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[570]); } void Ifc4x3_rc3::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[576]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[576]); } void Ifc4x3_rc3::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[578]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[578]); } void Ifc4x3_rc3::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[586]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[586]); } void Ifc4x3_rc3::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[589]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[589]); } void Ifc4x3_rc3::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[615]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[615]); } void Ifc4x3_rc3::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[609]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[609]); } void Ifc4x3_rc3::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[610]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[610]); } void Ifc4x3_rc3::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[613]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[613]); } void Ifc4x3_rc3::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[614]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[614]); } void Ifc4x3_rc3::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[621]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[621]); } void Ifc4x3_rc3::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[625]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[625]); } void Ifc4x3_rc3::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[626]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[626]); } void Ifc4x3_rc3::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[627]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[627]); } void Ifc4x3_rc3::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[628]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[628]); } void Ifc4x3_rc3::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[629]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[629]); } void Ifc4x3_rc3::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[636]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[636]); } void Ifc4x3_rc3::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[637]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[637]); } void Ifc4x3_rc3::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[638]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[638]); } void Ifc4x3_rc3::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[639]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[639]); } void Ifc4x3_rc3::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[678]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[678]); } void Ifc4x3_rc3::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[679]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[679]); } void Ifc4x3_rc3::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[680]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[680]); } void Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[682]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[682]); } void Ifc4x3_rc3::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[685]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[685]); } void Ifc4x3_rc3::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[686]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[686]); } void Ifc4x3_rc3::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[687]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[687]); } void Ifc4x3_rc3::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[688]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[688]); } void Ifc4x3_rc3::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x3_rc3::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[690]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[690]); } void Ifc4x3_rc3::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[701]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[701]); } void Ifc4x3_rc3::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[702]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[702]); } void Ifc4x3_rc3::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[703]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[703]); } void Ifc4x3_rc3::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[745]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[745]); } void Ifc4x3_rc3::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x3_rc3::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[731]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[731]); } void Ifc4x3_rc3::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[764]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[764]); } void Ifc4x3_rc3::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[766]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[766]); } void Ifc4x3_rc3::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[784]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[784]); } void Ifc4x3_rc3::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[785]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[785]); } void Ifc4x3_rc3::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[786]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[786]); } void Ifc4x3_rc3::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[787]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[787]); } void Ifc4x3_rc3::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[789]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[789]); } void Ifc4x3_rc3::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[797]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[797]); } void Ifc4x3_rc3::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[802]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[802]); } void Ifc4x3_rc3::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x3_rc3::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[836]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[836]); } void Ifc4x3_rc3::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x3_rc3::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[860]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[860]); } void Ifc4x3_rc3::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[876]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[876]); } void Ifc4x3_rc3::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x3_rc3::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[879]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[879]); } void Ifc4x3_rc3::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[979]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[979]); } void Ifc4x3_rc3::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[980]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[980]); } void Ifc4x3_rc3::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[981]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[981]); } void Ifc4x3_rc3::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[995]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[995]); } void Ifc4x3_rc3::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[990]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[990]); } void Ifc4x3_rc3::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1012]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1012]); } void Ifc4x3_rc3::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1040]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1040]); } void Ifc4x3_rc3::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1044]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1044]); } void Ifc4x3_rc3::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1045]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1045]); } void Ifc4x3_rc3::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1046]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1046]); } void Ifc4x3_rc3::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1047]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1047]); } void Ifc4x3_rc3::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1063]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1063]); } void Ifc4x3_rc3::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1064]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1064]); } void Ifc4x3_rc3::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x3_rc3::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1066]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1066]); } void Ifc4x3_rc3::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1171]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1171]); } void Ifc4x3_rc3::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1172]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1172]); } void Ifc4x3_rc3::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x3_rc3::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1184]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1184]); } void Ifc4x3_rc3::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1185]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1185]); } void Ifc4x3_rc3::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1186]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1186]); } void Ifc4x3_rc3::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1187]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1187]); } void Ifc4x3_rc3::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1196]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1196]); } void Ifc4x3_rc3::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1202]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1202]); } void Ifc4x3_rc3::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1203]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1203]); } void Ifc4x3_rc3::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1204]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1204]); } void Ifc4x3_rc3::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1205]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1205]); } void Ifc4x3_rc3::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1206]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1206]); } void Ifc4x3_rc3::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1207]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1207]); } void Ifc4x3_rc3::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1209]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1209]); } void Ifc4x3_rc3::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1210]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1210]); } void Ifc4x3_rc3::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1216]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1216]); } void Ifc4x3_rc3::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1220]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1220]); } void Ifc4x3_rc3::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x3_rc3::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1257]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1257]); } void Ifc4x3_rc3::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1263]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1263]); } void Ifc4x3_rc3::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1281]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1281]); } void Ifc4x3_rc3::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1282]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1282]); } void Ifc4x3_rc3::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1288]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1288]); } void Ifc4x3_rc3::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x3_rc3::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC3_types[1289]); } +const ifcopenshell::type_declaration& Ifc4x3_rc3::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC3_types[1289]); } void Ifc4x3_rc3::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc3::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x3_rc3::IfcActionRequestTypeEnum::Value > Ifc4x3_rc3::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc3::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc3::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc3::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc3::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc3::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc3::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[2]); } -void Ifc4x3_rc3::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[2]); } +void Ifc4x3_rc3::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4x3_rc3::IfcActorSelect Ifc4x3_rc3::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc3::IfcActorSelect>(); } void Ifc4x3_rc3::IfcActor::setTheActor(const ::Ifc4x3_rc3::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc3::IfcRelAssignsToActor> Ifc4x3_rc3::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[907], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelAssignsToActor> Ifc4x3_rc3::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[907], 6)); } -const IfcParse::entity& Ifc4x3_rc3::IfcActor::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[6]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[6]); } void Ifc4x3_rc3::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x3_rc3::IfcRoleEnum::Value Ifc4x3_rc3::IfcActorRole::Role() const { return ::Ifc4x3_rc3::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc3::IfcActorRole::setRole(const ::Ifc4x3_rc3::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc3::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc3::IfcActorRole::setRole(const ::Ifc4x3_rc3::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc3::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_rc3::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc3::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[7]); } -void Ifc4x3_rc3::IfcActorRole::initialize(::Ifc4x3_rc3::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[7]); } +void Ifc4x3_rc3::IfcActorRole::initialize(::Ifc4x3_rc3::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value > Ifc4x3_rc3::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[9]); } -void Ifc4x3_rc3::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[9]); } +void Ifc4x3_rc3::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value Ifc4x3_rc3::IfcActuatorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcActuatorType::setPredefinedType(const ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcActuatorType::setPredefinedType(const ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[10]); } -void Ifc4x3_rc3::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[10]); } +void Ifc4x3_rc3::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > Ifc4x3_rc3::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc3::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc3::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x3_rc3::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc3::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x3_rc3::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc3::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc3::IfcPerson> Ifc4x3_rc3::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[743], 7)); } -std::vector<::Ifc4x3_rc3::IfcOrganization> Ifc4x3_rc3::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[722], 4)); } +std::vector<::Ifc4x3_rc3::IfcPerson> Ifc4x3_rc3::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[743], 7)); } +std::vector<::Ifc4x3_rc3::IfcOrganization> Ifc4x3_rc3::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[722], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[12]); } -void Ifc4x3_rc3::IfcAddress::initialize(std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[12]); } +void Ifc4x3_rc3::IfcAddress::initialize(std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x3_rc3::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[14]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[14]); } void Ifc4x3_rc3::IfcAdvancedBrep::initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -8028,93 +8028,93 @@ std::vector< ::Ifc4x3_rc3::IfcClosedShell > Ifc4x3_rc3::IfcAdvancedBrepWithVoids void Ifc4x3_rc3::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_rc3::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[15]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[15]); } void Ifc4x3_rc3::IfcAdvancedBrepWithVoids::initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc3::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x3_rc3::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[16]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[16]); } void Ifc4x3_rc3::IfcAdvancedFace::initialize(std::vector< ::Ifc4x3_rc3::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc3::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value > Ifc4x3_rc3::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[17]); } -void Ifc4x3_rc3::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[17]); } +void Ifc4x3_rc3::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3_rc3::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[18]); } -void Ifc4x3_rc3::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[18]); } +void Ifc4x3_rc3::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_rc3::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[19]); } -void Ifc4x3_rc3::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[19]); } +void Ifc4x3_rc3::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value Ifc4x3_rc3::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[21]); } -void Ifc4x3_rc3::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[21]); } +void Ifc4x3_rc3::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3_rc3::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[23]); } -void Ifc4x3_rc3::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[23]); } +void Ifc4x3_rc3::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_rc3::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[24]); } -void Ifc4x3_rc3::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[24]); } +void Ifc4x3_rc3::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value > Ifc4x3_rc3::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[26]); } -void Ifc4x3_rc3::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[26]); } +void Ifc4x3_rc3::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value Ifc4x3_rc3::IfcAlarmType::PredefinedType() const { return ::Ifc4x3_rc3::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcAlarmType::setPredefinedType(const ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcAlarmType::setPredefinedType(const ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[27]); } -void Ifc4x3_rc3::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[27]); } +void Ifc4x3_rc3::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x3_rc3::IfcAlignmentTypeEnum::Value > Ifc4x3_rc3::IfcAlignment::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcAlignmentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc3::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc3::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[29]); } -void Ifc4x3_rc3::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[29]); } +void Ifc4x3_rc3::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAlignmentCant double Ifc4x3_rc3::IfcAlignmentCant::RailHeadDistance() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcAlignmentCant::setRailHeadDistance(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc3::IfcAlignmentCant::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[30]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlignmentCant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[30]); } void Ifc4x3_rc3::IfcAlignmentCant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_RailHeadDistance)); } // Function implementations for IfcAlignmentCantSegment @@ -8131,16 +8131,16 @@ void Ifc4x3_rc3::IfcAlignmentCantSegment::setStartCantRight(const double& v) { s std::optional< double > Ifc4x3_rc3::IfcAlignmentCantSegment::EndCantRight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcAlignmentCantSegment::setEndCantRight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_rc3::IfcAlignmentCantSegment::PredefinedType() const { return ::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcAlignmentCantSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[31]); } -void Ifc4x3_rc3::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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_rc3::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlignmentCantSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[31]); } +void Ifc4x3_rc3::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentHorizontal -const IfcParse::entity& Ifc4x3_rc3::IfcAlignmentHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[33]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlignmentHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[33]); } void Ifc4x3_rc3::IfcAlignmentHorizontal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentHorizontalSegment @@ -8157,11 +8157,11 @@ void Ifc4x3_rc3::IfcAlignmentHorizontalSegment::setSegmentLength(const double& v std::optional< double > Ifc4x3_rc3::IfcAlignmentHorizontalSegment::GravityCenterLineHeight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcAlignmentHorizontalSegment::setGravityCenterLineHeight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_rc3::IfcAlignmentHorizontalSegment::PredefinedType() const { return ::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcAlignmentHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[34]); } -void Ifc4x3_rc3::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_rc3::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlignmentHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[34]); } +void Ifc4x3_rc3::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_rc3::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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, (enumeration_reference(&::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentParameterSegment std::optional< std::string > Ifc4x3_rc3::IfcAlignmentParameterSegment::StartTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8170,7 +8170,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcAlignmentParameterSegment::EndTag() void Ifc4x3_rc3::IfcAlignmentParameterSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc3::IfcAlignmentParameterSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[36]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlignmentParameterSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[36]); } void Ifc4x3_rc3::IfcAlignmentParameterSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); } } // Function implementations for IfcAlignmentSegment @@ -8178,13 +8178,13 @@ void Ifc4x3_rc3::IfcAlignmentParameterSegment::initialize(std::optional< std::st void Ifc4x3_rc3::IfcAlignmentSegment::setDesignParameters(const ::Ifc4x3_rc3::IfcAlignmentParameterSegment& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc3::IfcAlignmentSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[37]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlignmentSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[37]); } void Ifc4x3_rc3::IfcAlignmentSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcAlignmentParameterSegment v8_DesignParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_DesignParameters)); } // Function implementations for IfcAlignmentVertical -const IfcParse::entity& Ifc4x3_rc3::IfcAlignmentVertical::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[39]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlignmentVertical::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[39]); } void Ifc4x3_rc3::IfcAlignmentVertical::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentVerticalSegment @@ -8201,20 +8201,20 @@ void Ifc4x3_rc3::IfcAlignmentVerticalSegment::setEndGradient(const double& v) { std::optional< double > Ifc4x3_rc3::IfcAlignmentVerticalSegment::RadiusOfCurvature() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcAlignmentVerticalSegment::setRadiusOfCurvature(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_rc3::IfcAlignmentVerticalSegment::PredefinedType() const { return ::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcAlignmentVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[40]); } -void Ifc4x3_rc3::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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_rc3::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAlignmentVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[40]); } +void Ifc4x3_rc3::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAnnotation std::optional< ::Ifc4x3_rc3::IfcAnnotationTypeEnum::Value > Ifc4x3_rc3::IfcAnnotation::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcAnnotationTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc3::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc3::IfcRelContainedInSpatialStructure> Ifc4x3_rc3::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[932], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelContainedInSpatialStructure> Ifc4x3_rc3::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[932], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[46]); } -void Ifc4x3_rc3::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[46]); } +void Ifc4x3_rc3::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAnnotationFillArea ::Ifc4x3_rc3::IfcCurve Ifc4x3_rc3::IfcAnnotationFillArea::OuterBoundary() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcCurve>(); } @@ -8223,7 +8223,7 @@ std::optional< std::vector< ::Ifc4x3_rc3::IfcCurve > > Ifc4x3_rc3::IfcAnnotation void Ifc4x3_rc3::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_rc3::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc3::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[47]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[47]); } void Ifc4x3_rc3::IfcAnnotationFillArea::initialize(::Ifc4x3_rc3::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_rc3::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -8237,7 +8237,7 @@ std::string Ifc4x3_rc3::IfcApplication::ApplicationIdentifier() const { std::st void Ifc4x3_rc3::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[49]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[49]); } void Ifc4x3_rc3::IfcApplication::initialize(::Ifc4x3_rc3::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -8258,14 +8258,14 @@ void Ifc4x3_rc3::IfcAppliedValue::setCategory(const std::optional< std::string > std::optional< std::string > Ifc4x3_rc3::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value > Ifc4x3_rc3::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > Ifc4x3_rc3::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_rc3::IfcAppliedValue>(es); } void Ifc4x3_rc3::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[50]); } -void Ifc4x3_rc3::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_rc3::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[50]); } +void Ifc4x3_rc3::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x3_rc3::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8287,13 +8287,13 @@ void Ifc4x3_rc3::IfcApproval::setRequestingApproval(const ::Ifc4x3_rc3::IfcActor ::Ifc4x3_rc3::IfcActorSelect Ifc4x3_rc3::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc3::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc3::IfcActorSelect>(); } void Ifc4x3_rc3::IfcApproval::setGivingApproval(const ::Ifc4x3_rc3::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -std::vector<::Ifc4x3_rc3::IfcRelAssociatesApproval> Ifc4x3_rc3::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[915], 5)); } -std::vector<::Ifc4x3_rc3::IfcResourceApprovalRelationship> Ifc4x3_rc3::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[961], 3)); } -std::vector<::Ifc4x3_rc3::IfcApprovalRelationship> Ifc4x3_rc3::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[53], 3)); } -std::vector<::Ifc4x3_rc3::IfcApprovalRelationship> Ifc4x3_rc3::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[53], 2)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociatesApproval> Ifc4x3_rc3::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[915], 5)); } +std::vector<::Ifc4x3_rc3::IfcResourceApprovalRelationship> Ifc4x3_rc3::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[961], 3)); } +std::vector<::Ifc4x3_rc3::IfcApprovalRelationship> Ifc4x3_rc3::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[53], 3)); } +std::vector<::Ifc4x3_rc3::IfcApprovalRelationship> Ifc4x3_rc3::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[53], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[52]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[52]); } void Ifc4x3_rc3::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_rc3::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_rc3::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -8303,7 +8303,7 @@ std::vector< ::Ifc4x3_rc3::IfcApproval > Ifc4x3_rc3::IfcApprovalRelationship::Re void Ifc4x3_rc3::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x3_rc3::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[53]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[53]); } void Ifc4x3_rc3::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_rc3::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -8311,24 +8311,24 @@ void Ifc4x3_rc3::IfcApprovalRelationship::initialize(std::optional< std::string void Ifc4x3_rc3::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x3_rc3::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[54]); } -void Ifc4x3_rc3::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[54]); } +void Ifc4x3_rc3::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x3_rc3::IfcBoundedCurve Ifc4x3_rc3::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcBoundedCurve>(); } void Ifc4x3_rc3::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x3_rc3::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[55]); } -void Ifc4x3_rc3::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[55]); } +void Ifc4x3_rc3::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x3_rc3::IfcCurve > Ifc4x3_rc3::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_rc3::IfcCurve>(es); } void Ifc4x3_rc3::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x3_rc3::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[56]); } -void Ifc4x3_rc3::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc3::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[56]); } +void Ifc4x3_rc3::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc3::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x3_rc3::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -8351,7 +8351,7 @@ void Ifc4x3_rc3::IfcAsset::setIncorporationDate(const std::optional< std::string void Ifc4x3_rc3::IfcAsset::setDepreciatedValue(const ::Ifc4x3_rc3::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_rc3::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[62]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[62]); } void Ifc4x3_rc3::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_rc3::IfcCostValue v7_OriginalValue, ::Ifc4x3_rc3::IfcCostValue v8_CurrentValue, ::Ifc4x3_rc3::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_rc3::IfcActorSelect v10_Owner, ::Ifc4x3_rc3::IfcActorSelect v11_User, ::Ifc4x3_rc3::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_rc3::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -8381,31 +8381,31 @@ std::optional< double > Ifc4x3_rc3::IfcAsymmetricIShapeProfileDef::TopFlangeSlop void Ifc4x3_rc3::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x3_rc3::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[63]); } -void Ifc4x3_rc3::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[63]); } +void Ifc4x3_rc3::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3_rc3::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[64]); } -void Ifc4x3_rc3::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[64]); } +void Ifc4x3_rc3::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_rc3::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[65]); } -void Ifc4x3_rc3::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[65]); } +void Ifc4x3_rc3::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x3_rc3::IfcDirection Ifc4x3_rc3::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc3::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcDirection>(); } void Ifc4x3_rc3::IfcAxis1Placement::setAxis(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[67]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[67]); } void Ifc4x3_rc3::IfcAxis1Placement::initialize(::Ifc4x3_rc3::IfcPoint v1_Location, ::Ifc4x3_rc3::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -8413,7 +8413,7 @@ void Ifc4x3_rc3::IfcAxis1Placement::initialize(::Ifc4x3_rc3::IfcPoint v1_Locatio void Ifc4x3_rc3::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[69]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[69]); } void Ifc4x3_rc3::IfcAxis2Placement2D::initialize(::Ifc4x3_rc3::IfcPoint v1_Location, ::Ifc4x3_rc3::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -8423,7 +8423,7 @@ void Ifc4x3_rc3::IfcAxis2Placement3D::setAxis(const ::Ifc4x3_rc3::IfcDirection& void Ifc4x3_rc3::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[70]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[70]); } void Ifc4x3_rc3::IfcAxis2Placement3D::initialize(::Ifc4x3_rc3::IfcPoint v1_Location, ::Ifc4x3_rc3::IfcDirection v2_Axis, ::Ifc4x3_rc3::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcAxis2PlacementLinear @@ -8433,7 +8433,7 @@ void Ifc4x3_rc3::IfcAxis2PlacementLinear::setAxis(const ::Ifc4x3_rc3::IfcDirecti void Ifc4x3_rc3::IfcAxis2PlacementLinear::setRefDirection(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcAxis2PlacementLinear::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[71]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcAxis2PlacementLinear::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[71]); } void Ifc4x3_rc3::IfcAxis2PlacementLinear::initialize(::Ifc4x3_rc3::IfcPoint v1_Location, ::Ifc4x3_rc3::IfcDirection v2_Axis, ::Ifc4x3_rc3::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -8442,15 +8442,15 @@ void Ifc4x3_rc3::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value( std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > Ifc4x3_rc3::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc3::IfcCartesianPoint>(es); } void Ifc4x3_rc3::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x3_rc3::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc3::IfcBSplineCurveForm::Value Ifc4x3_rc3::IfcBSplineCurve::CurveForm() const { return ::Ifc4x3_rc3::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x3_rc3::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_rc3::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc3::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc3::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_rc3::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc3::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x3_rc3::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x3_rc3::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_rc3::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[108]); } -void Ifc4x3_rc3::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[108]); } +void Ifc4x3_rc3::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -8458,11 +8458,11 @@ void Ifc4x3_rc3::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vect std::vector< double > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc3::IfcKnotType::Value Ifc4x3_rc3::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x3_rc3::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc3::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc3::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc3::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc3::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[110]); } -void Ifc4x3_rc3::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::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_rc3::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[110]); } +void Ifc4x3_rc3::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::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, (enumeration_reference(&::Ifc4x3_rc3::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x3_rc3::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -8472,7 +8472,7 @@ void Ifc4x3_rc3::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_val std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > Ifc4x3_rc3::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc3::IfcCartesianPoint>(es); } void Ifc4x3_rc3::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_rc3::IfcBSplineSurfaceForm::Value Ifc4x3_rc3::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x3_rc3::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x3_rc3::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_rc3::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc3::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc3::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_rc3::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc3::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_rc3::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x3_rc3::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -8481,8 +8481,8 @@ boost::logic::tribool Ifc4x3_rc3::IfcBSplineSurface::SelfIntersect() const { bo void Ifc4x3_rc3::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[111]); } -void Ifc4x3_rc3::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc3::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc3::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[111]); } +void Ifc4x3_rc3::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc3::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc3::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -8494,49 +8494,49 @@ void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double std::vector< double > /*[2:?]*/ Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x3_rc3::IfcKnotType::Value Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x3_rc3::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc3::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc3::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[113]); } -void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc3::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_rc3::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[113]); } +void Ifc4x3_rc3::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc3::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, (enumeration_reference(&::Ifc4x3_rc3::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value > Ifc4x3_rc3::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[72]); } -void Ifc4x3_rc3::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[72]); } +void Ifc4x3_rc3::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamStandardCase -const IfcParse::entity& Ifc4x3_rc3::IfcBeamStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[73]); } -void Ifc4x3_rc3::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBeamStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[73]); } +void Ifc4x3_rc3::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x3_rc3::IfcBeamTypeEnum::Value Ifc4x3_rc3::IfcBeamType::PredefinedType() const { return ::Ifc4x3_rc3::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcBeamType::setPredefinedType(const ::Ifc4x3_rc3::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcBeamType::setPredefinedType(const ::Ifc4x3_rc3::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[74]); } -void Ifc4x3_rc3::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[74]); } +void Ifc4x3_rc3::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBearing std::optional< ::Ifc4x3_rc3::IfcBearingTypeEnum::Value > Ifc4x3_rc3::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcBearingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[76]); } -void Ifc4x3_rc3::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[76]); } +void Ifc4x3_rc3::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBearingType ::Ifc4x3_rc3::IfcBearingTypeEnum::Value Ifc4x3_rc3::IfcBearingType::PredefinedType() const { return ::Ifc4x3_rc3::IfcBearingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcBearingType::setPredefinedType(const ::Ifc4x3_rc3::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcBearingType::setPredefinedType(const ::Ifc4x3_rc3::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[77]); } -void Ifc4x3_rc3::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[77]); } +void Ifc4x3_rc3::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x3_rc3::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -8545,7 +8545,7 @@ boost::dynamic_bitset<> Ifc4x3_rc3::IfcBlobTexture::RasterCode() const { boost: void Ifc4x3_rc3::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[83]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[83]); } void Ifc4x3_rc3::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -8557,47 +8557,47 @@ double Ifc4x3_rc3::IfcBlock::ZLength() const { double v = get_attribute_value(3 void Ifc4x3_rc3::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[84]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[84]); } void Ifc4x3_rc3::IfcBlock::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value > Ifc4x3_rc3::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[85]); } -void Ifc4x3_rc3::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[85]); } +void Ifc4x3_rc3::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value Ifc4x3_rc3::IfcBoilerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcBoilerType::setPredefinedType(const ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcBoilerType::setPredefinedType(const ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[86]); } -void Ifc4x3_rc3::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[86]); } +void Ifc4x3_rc3::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x3_rc3::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[89]); } -void Ifc4x3_rc3::IfcBooleanClippingResult::initialize(::Ifc4x3_rc3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[89]); } +void Ifc4x3_rc3::IfcBooleanClippingResult::initialize(::Ifc4x3_rc3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x3_rc3::IfcBooleanOperator::Value Ifc4x3_rc3::IfcBooleanResult::Operator() const { return ::Ifc4x3_rc3::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x3_rc3::IfcBooleanResult::setOperator(const ::Ifc4x3_rc3::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc3::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc3::IfcBooleanResult::setOperator(const ::Ifc4x3_rc3::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc3::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc3::IfcBooleanOperand Ifc4x3_rc3::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcBooleanOperand>(); } void Ifc4x3_rc3::IfcBooleanResult::setFirstOperand(const ::Ifc4x3_rc3::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc3::IfcBooleanOperand Ifc4x3_rc3::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcBooleanOperand>(); } void Ifc4x3_rc3::IfcBooleanResult::setSecondOperand(const ::Ifc4x3_rc3::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[92]); } -void Ifc4x3_rc3::IfcBooleanResult::initialize(::Ifc4x3_rc3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[92]); } +void Ifc4x3_rc3::IfcBooleanResult::initialize(::Ifc4x3_rc3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc3::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBorehole -const IfcParse::entity& Ifc4x3_rc3::IfcBorehole::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[93]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBorehole::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[93]); } void Ifc4x3_rc3::IfcBorehole::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBoundaryCondition @@ -8605,13 +8605,13 @@ std::optional< std::string > Ifc4x3_rc3::IfcBoundaryCondition::Name() const { if void Ifc4x3_rc3::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[94]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[94]); } void Ifc4x3_rc3::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x3_rc3::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[95]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[95]); } void Ifc4x3_rc3::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -8629,7 +8629,7 @@ void Ifc4x3_rc3::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const void Ifc4x3_rc3::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[96]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[96]); } void Ifc4x3_rc3::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_rc3::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_rc3::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -8641,7 +8641,7 @@ void Ifc4x3_rc3::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(cons void Ifc4x3_rc3::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[97]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[97]); } void Ifc4x3_rc3::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -8659,7 +8659,7 @@ void Ifc4x3_rc3::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4x void Ifc4x3_rc3::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x3_rc3::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[98]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[98]); } void Ifc4x3_rc3::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -8667,19 +8667,19 @@ void Ifc4x3_rc3::IfcBoundaryNodeCondition::initialize(std::optional< std::string void Ifc4x3_rc3::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x3_rc3::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc3::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[99]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[99]); } void Ifc4x3_rc3::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_rc3::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -const IfcParse::entity& Ifc4x3_rc3::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[100]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[100]); } void Ifc4x3_rc3::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x3_rc3::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[101]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[101]); } void Ifc4x3_rc3::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -8693,7 +8693,7 @@ double Ifc4x3_rc3::IfcBoundingBox::ZDim() const { double v = get_attribute_valu void Ifc4x3_rc3::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[102]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[102]); } void Ifc4x3_rc3::IfcBoundingBox::initialize(::Ifc4x3_rc3::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -8701,16 +8701,16 @@ void Ifc4x3_rc3::IfcBoundingBox::initialize(::Ifc4x3_rc3::IfcCartesianPoint v1_C void Ifc4x3_rc3::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x3_rc3::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[104]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[104]); } void Ifc4x3_rc3::IfcBoxedHalfSpace::initialize(::Ifc4x3_rc3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc3::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBridge std::optional< ::Ifc4x3_rc3::IfcBridgeTypeEnum::Value > Ifc4x3_rc3::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[105]); } -void Ifc4x3_rc3::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[105]); } +void Ifc4x3_rc3::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBuilding std::optional< double > Ifc4x3_rc3::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -8721,96 +8721,96 @@ void Ifc4x3_rc3::IfcBuilding::setElevationOfTerrain(const std::optional< double void Ifc4x3_rc3::IfcBuilding::setBuildingAddress(const ::Ifc4x3_rc3::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[114]); } -void Ifc4x3_rc3::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc3::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::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)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[114]); } +void Ifc4x3_rc3::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc3::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::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)); } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value > Ifc4x3_rc3::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[115]); } -void Ifc4x3_rc3::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[115]); } +void Ifc4x3_rc3::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value Ifc4x3_rc3::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[116]); } -void Ifc4x3_rc3::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[116]); } +void Ifc4x3_rc3::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3_rc3::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[118]); } -void Ifc4x3_rc3::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[118]); } +void Ifc4x3_rc3::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_rc3::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[119]); } -void Ifc4x3_rc3::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[119]); } +void Ifc4x3_rc3::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingStorey std::optional< double > Ifc4x3_rc3::IfcBuildingStorey::Elevation() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[121]); } -void Ifc4x3_rc3::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[121]); } +void Ifc4x3_rc3::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value > Ifc4x3_rc3::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc3::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc3::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[122]); } -void Ifc4x3_rc3::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[122]); } +void Ifc4x3_rc3::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBuiltElement -const IfcParse::entity& Ifc4x3_rc3::IfcBuiltElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[124]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuiltElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[124]); } void Ifc4x3_rc3::IfcBuiltElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuiltElementType -const IfcParse::entity& Ifc4x3_rc3::IfcBuiltElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[125]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuiltElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[125]); } void Ifc4x3_rc3::IfcBuiltElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuiltSystem std::optional< ::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value > Ifc4x3_rc3::IfcBuiltSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc3::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc3::IfcBuiltSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcBuiltSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBuiltSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[126]); } -void Ifc4x3_rc3::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBuiltSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[126]); } +void Ifc4x3_rc3::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value > Ifc4x3_rc3::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[128]); } -void Ifc4x3_rc3::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[128]); } +void Ifc4x3_rc3::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value Ifc4x3_rc3::IfcBurnerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcBurnerType::setPredefinedType(const ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcBurnerType::setPredefinedType(const ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[129]); } -void Ifc4x3_rc3::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[129]); } +void Ifc4x3_rc3::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x3_rc3::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -8825,101 +8825,101 @@ std::optional< double > Ifc4x3_rc3::IfcCShapeProfileDef::InternalFilletRadius() void Ifc4x3_rc3::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[267]); } -void Ifc4x3_rc3::IfcCShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[267]); } +void Ifc4x3_rc3::IfcCShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3_rc3::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[131]); } -void Ifc4x3_rc3::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[131]); } +void Ifc4x3_rc3::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_rc3::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[132]); } -void Ifc4x3_rc3::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[132]); } +void Ifc4x3_rc3::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3_rc3::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[134]); } -void Ifc4x3_rc3::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[134]); } +void Ifc4x3_rc3::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_rc3::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[135]); } -void Ifc4x3_rc3::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[135]); } +void Ifc4x3_rc3::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value > Ifc4x3_rc3::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[137]); } -void Ifc4x3_rc3::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[137]); } +void Ifc4x3_rc3::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value Ifc4x3_rc3::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[138]); } -void Ifc4x3_rc3::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[138]); } +void Ifc4x3_rc3::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value > Ifc4x3_rc3::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[140]); } -void Ifc4x3_rc3::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[140]); } +void Ifc4x3_rc3::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value Ifc4x3_rc3::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[141]); } -void Ifc4x3_rc3::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[141]); } +void Ifc4x3_rc3::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCaissonFoundation std::optional< ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value > Ifc4x3_rc3::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[143]); } -void Ifc4x3_rc3::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[143]); } +void Ifc4x3_rc3::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCaissonFoundationType ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value Ifc4x3_rc3::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[144]); } -void Ifc4x3_rc3::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[144]); } +void Ifc4x3_rc3::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x3_rc3::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x3_rc3::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[147]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[147]); } void Ifc4x3_rc3::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x3_rc3::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[148]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[148]); } void Ifc4x3_rc3::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -8929,7 +8929,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc3::IfcCartesianPo void Ifc4x3_rc3::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[149]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[149]); } void Ifc4x3_rc3::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -8939,7 +8939,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc3::IfcCartesianPo void Ifc4x3_rc3::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[150]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[150]); } void Ifc4x3_rc3::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -8953,13 +8953,13 @@ std::optional< double > Ifc4x3_rc3::IfcCartesianTransformationOperator::Scale() void Ifc4x3_rc3::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[151]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[151]); } void Ifc4x3_rc3::IfcCartesianTransformationOperator::initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[152]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[152]); } void Ifc4x3_rc3::IfcCartesianTransformationOperator2D::initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -8967,7 +8967,7 @@ std::optional< double > Ifc4x3_rc3::IfcCartesianTransformationOperator2DnonUnifo void Ifc4x3_rc3::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[153]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[153]); } void Ifc4x3_rc3::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -8975,7 +8975,7 @@ void Ifc4x3_rc3::IfcCartesianTransformationOperator2DnonUniform::initialize(::If void Ifc4x3_rc3::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[154]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[154]); } void Ifc4x3_rc3::IfcCartesianTransformationOperator3D::initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc3::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -8985,7 +8985,7 @@ std::optional< double > Ifc4x3_rc3::IfcCartesianTransformationOperator3DnonUnifo void Ifc4x3_rc3::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[155]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[155]); } void Ifc4x3_rc3::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc3::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -8993,47 +8993,47 @@ double Ifc4x3_rc3::IfcCenterLineProfileDef::Thickness() const { double v = get_ void Ifc4x3_rc3::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[156]); } -void Ifc4x3_rc3::IfcCenterLineProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[156]); } +void Ifc4x3_rc3::IfcCenterLineProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x3_rc3::IfcChillerTypeEnum::Value > Ifc4x3_rc3::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[158]); } -void Ifc4x3_rc3::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[158]); } +void Ifc4x3_rc3::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x3_rc3::IfcChillerTypeEnum::Value Ifc4x3_rc3::IfcChillerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcChillerType::setPredefinedType(const ::Ifc4x3_rc3::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcChillerType::setPredefinedType(const ::Ifc4x3_rc3::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[159]); } -void Ifc4x3_rc3::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[159]); } +void Ifc4x3_rc3::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value > Ifc4x3_rc3::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[161]); } -void Ifc4x3_rc3::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[161]); } +void Ifc4x3_rc3::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value Ifc4x3_rc3::IfcChimneyType::PredefinedType() const { return ::Ifc4x3_rc3::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcChimneyType::setPredefinedType(const ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcChimneyType::setPredefinedType(const ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[162]); } -void Ifc4x3_rc3::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[162]); } +void Ifc4x3_rc3::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x3_rc3::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[164]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[164]); } void Ifc4x3_rc3::IfcCircle::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -9041,27 +9041,27 @@ double Ifc4x3_rc3::IfcCircleHollowProfileDef::WallThickness() const { double v void Ifc4x3_rc3::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[165]); } -void Ifc4x3_rc3::IfcCircleHollowProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[165]); } +void Ifc4x3_rc3::IfcCircleHollowProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x3_rc3::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x3_rc3::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[166]); } -void Ifc4x3_rc3::IfcCircleProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[166]); } +void Ifc4x3_rc3::IfcCircleProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x3_rc3::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[167]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[167]); } void Ifc4x3_rc3::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x3_rc3::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[168]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[168]); } void Ifc4x3_rc3::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -9080,10 +9080,10 @@ void Ifc4x3_rc3::IfcClassification::setLocation(const std::optional< std::string std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc3::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc3::IfcRelAssociatesClassification> Ifc4x3_rc3::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[916], 5)); } -std::vector<::Ifc4x3_rc3::IfcClassificationReference> Ifc4x3_rc3::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[170], 3)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociatesClassification> Ifc4x3_rc3::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[916], 5)); } +std::vector<::Ifc4x3_rc3::IfcClassificationReference> Ifc4x3_rc3::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[170], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[169]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[169]); } void Ifc4x3_rc3::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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_Location) {set_attribute_value(5, (*v6_Location)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); } } // Function implementations for IfcClassificationReference @@ -9094,16 +9094,16 @@ void Ifc4x3_rc3::IfcClassificationReference::setDescription(const std::optional< std::optional< std::string > Ifc4x3_rc3::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc3::IfcRelAssociatesClassification> Ifc4x3_rc3::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[916], 5)); } -std::vector<::Ifc4x3_rc3::IfcClassificationReference> Ifc4x3_rc3::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[170], 3)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociatesClassification> Ifc4x3_rc3::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[916], 5)); } +std::vector<::Ifc4x3_rc3::IfcClassificationReference> Ifc4x3_rc3::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[170], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[170]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[170]); } void Ifc4x3_rc3::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_rc3::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x3_rc3::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[173]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[173]); } void Ifc4x3_rc3::IfcClosedShell::initialize(std::vector< ::Ifc4x3_rc3::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcClothoid @@ -9111,24 +9111,24 @@ double Ifc4x3_rc3::IfcClothoid::ClothoidConstant() const { double v = get_attri void Ifc4x3_rc3::IfcClothoid::setClothoidConstant(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcClothoid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[174]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcClothoid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[174]); } void Ifc4x3_rc3::IfcClothoid::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_ClothoidConstant) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_ClothoidConstant)); } // Function implementations for IfcCoil std::optional< ::Ifc4x3_rc3::IfcCoilTypeEnum::Value > Ifc4x3_rc3::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[175]); } -void Ifc4x3_rc3::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[175]); } +void Ifc4x3_rc3::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x3_rc3::IfcCoilTypeEnum::Value Ifc4x3_rc3::IfcCoilType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCoilType::setPredefinedType(const ::Ifc4x3_rc3::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCoilType::setPredefinedType(const ::Ifc4x3_rc3::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[176]); } -void Ifc4x3_rc3::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[176]); } +void Ifc4x3_rc3::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x3_rc3::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -9139,7 +9139,7 @@ double Ifc4x3_rc3::IfcColourRgb::Blue() const { double v = get_attribute_value( void Ifc4x3_rc3::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[180]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[180]); } void Ifc4x3_rc3::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -9147,7 +9147,7 @@ std::vector< std::vector< double > > Ifc4x3_rc3::IfcColourRgbList::ColourList() void Ifc4x3_rc3::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[181]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[181]); } void Ifc4x3_rc3::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -9155,46 +9155,46 @@ std::optional< std::string > Ifc4x3_rc3::IfcColourSpecification::Name() const { void Ifc4x3_rc3::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc3::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[182]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[182]); } void Ifc4x3_rc3::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value > Ifc4x3_rc3::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[183]); } -void Ifc4x3_rc3::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[183]); } +void Ifc4x3_rc3::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnStandardCase -const IfcParse::entity& Ifc4x3_rc3::IfcColumnStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[184]); } -void Ifc4x3_rc3::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcColumnStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[184]); } +void Ifc4x3_rc3::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x3_rc3::IfcColumnTypeEnum::Value Ifc4x3_rc3::IfcColumnType::PredefinedType() const { return ::Ifc4x3_rc3::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcColumnType::setPredefinedType(const ::Ifc4x3_rc3::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcColumnType::setPredefinedType(const ::Ifc4x3_rc3::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[185]); } -void Ifc4x3_rc3::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[185]); } +void Ifc4x3_rc3::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3_rc3::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[187]); } -void Ifc4x3_rc3::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[187]); } +void Ifc4x3_rc3::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_rc3::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[188]); } -void Ifc4x3_rc3::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[188]); } +void Ifc4x3_rc3::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x3_rc3::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -9203,20 +9203,20 @@ std::vector< ::Ifc4x3_rc3::IfcProperty > Ifc4x3_rc3::IfcComplexProperty::HasProp void Ifc4x3_rc3::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x3_rc3::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[191]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[191]); } void Ifc4x3_rc3::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x3_rc3::IfcProperty > v4_HasProperties) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x3_rc3::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x3_rc3::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc3::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > > Ifc4x3_rc3::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc3::IfcPropertyTemplate>(es); } void Ifc4x3_rc3::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[192]); } -void Ifc4x3_rc3::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc3::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[192]); } +void Ifc4x3_rc3::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x3_rc3::IfcSegment > Ifc4x3_rc3::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcSegment>(es); } @@ -9225,13 +9225,13 @@ boost::logic::tribool Ifc4x3_rc3::IfcCompositeCurve::SelfIntersect() const { bo void Ifc4x3_rc3::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[194]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[194]); } void Ifc4x3_rc3::IfcCompositeCurve::initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x3_rc3::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[195]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[195]); } void Ifc4x3_rc3::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment @@ -9241,8 +9241,8 @@ void Ifc4x3_rc3::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_att void Ifc4x3_rc3::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x3_rc3::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[196]); } -void Ifc4x3_rc3::IfcCompositeCurveSegment::initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc3::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[196]); } +void Ifc4x3_rc3::IfcCompositeCurveSegment::initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc3::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x3_rc3::IfcProfileDef > Ifc4x3_rc3::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc3::IfcProfileDef>(es); } @@ -9251,47 +9251,47 @@ std::optional< std::string > Ifc4x3_rc3::IfcCompositeProfileDef::Label() const { void Ifc4x3_rc3::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[197]); } -void Ifc4x3_rc3::IfcCompositeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[197]); } +void Ifc4x3_rc3::IfcCompositeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value > Ifc4x3_rc3::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[199]); } -void Ifc4x3_rc3::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[199]); } +void Ifc4x3_rc3::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value Ifc4x3_rc3::IfcCompressorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCompressorType::setPredefinedType(const ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCompressorType::setPredefinedType(const ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[200]); } -void Ifc4x3_rc3::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[200]); } +void Ifc4x3_rc3::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value > Ifc4x3_rc3::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[202]); } -void Ifc4x3_rc3::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[202]); } +void Ifc4x3_rc3::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value Ifc4x3_rc3::IfcCondenserType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCondenserType::setPredefinedType(const ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCondenserType::setPredefinedType(const ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[203]); } -void Ifc4x3_rc3::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[203]); } +void Ifc4x3_rc3::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x3_rc3::IfcAxis2Placement Ifc4x3_rc3::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcAxis2Placement>(); } void Ifc4x3_rc3::IfcConic::setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcConic::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[205]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[205]); } void Ifc4x3_rc3::IfcConic::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -9299,7 +9299,7 @@ std::vector< ::Ifc4x3_rc3::IfcFace > Ifc4x3_rc3::IfcConnectedFaceSet::CfsFaces() void Ifc4x3_rc3::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x3_rc3::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[206]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[206]); } void Ifc4x3_rc3::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x3_rc3::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -9309,13 +9309,13 @@ void Ifc4x3_rc3::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::I void Ifc4x3_rc3::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x3_rc3::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[207]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[207]); } void Ifc4x3_rc3::IfcConnectionCurveGeometry::initialize(::Ifc4x3_rc3::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_rc3::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x3_rc3::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[208]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[208]); } void Ifc4x3_rc3::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -9327,7 +9327,7 @@ std::optional< double > Ifc4x3_rc3::IfcConnectionPointEccentricity::Eccentricity void Ifc4x3_rc3::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[209]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[209]); } void Ifc4x3_rc3::IfcConnectionPointEccentricity::initialize(::Ifc4x3_rc3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc3::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -9337,7 +9337,7 @@ void Ifc4x3_rc3::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::I void Ifc4x3_rc3::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x3_rc3::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[210]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[210]); } void Ifc4x3_rc3::IfcConnectionPointGeometry::initialize(::Ifc4x3_rc3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc3::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -9347,7 +9347,7 @@ void Ifc4x3_rc3::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const void Ifc4x3_rc3::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x3_rc3::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[211]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[211]); } void Ifc4x3_rc3::IfcConnectionSurfaceGeometry::initialize(::Ifc4x3_rc3::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_rc3::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -9357,7 +9357,7 @@ void Ifc4x3_rc3::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const : void Ifc4x3_rc3::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x3_rc3::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[213]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[213]); } void Ifc4x3_rc3::IfcConnectionVolumeGeometry::initialize(::Ifc4x3_rc3::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_rc3::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -9366,7 +9366,7 @@ void Ifc4x3_rc3::IfcConstraint::setName(const std::string& v) { set_attribute_va std::optional< std::string > Ifc4x3_rc3::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_rc3::IfcConstraintEnum::Value Ifc4x3_rc3::IfcConstraint::ConstraintGrade() const { return ::Ifc4x3_rc3::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc3::IfcConstraint::setConstraintGrade(const ::Ifc4x3_rc3::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc3::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc3::IfcConstraint::setConstraintGrade(const ::Ifc4x3_rc3::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc3::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x3_rc3::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc3::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc3::IfcActorSelect Ifc4x3_rc3::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc3::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcActorSelect>(); } @@ -9376,59 +9376,59 @@ void Ifc4x3_rc3::IfcConstraint::setCreationTime(const std::optional< std::string std::optional< std::string > Ifc4x3_rc3::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -std::vector<::Ifc4x3_rc3::IfcResourceConstraintRelationship> Ifc4x3_rc3::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[962], 2)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcResourceConstraintRelationship> Ifc4x3_rc3::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[962], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[214]); } -void Ifc4x3_rc3::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[214]); } +void Ifc4x3_rc3::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3_rc3::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[216]); } -void Ifc4x3_rc3::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[216]); } +void Ifc4x3_rc3::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_rc3::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc3::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[217]); } -void Ifc4x3_rc3::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[217]); } +void Ifc4x3_rc3::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3_rc3::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[219]); } -void Ifc4x3_rc3::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[219]); } +void Ifc4x3_rc3::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_rc3::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc3::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[220]); } -void Ifc4x3_rc3::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[220]); } +void Ifc4x3_rc3::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3_rc3::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[222]); } -void Ifc4x3_rc3::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[222]); } +void Ifc4x3_rc3::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_rc3::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc3::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[223]); } -void Ifc4x3_rc3::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[223]); } +void Ifc4x3_rc3::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x3_rc3::IfcResourceTime Ifc4x3_rc3::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc3::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc3::IfcResourceTime>(); } @@ -9439,7 +9439,7 @@ void Ifc4x3_rc3::IfcConstructionResource::setBaseCosts(const std::optional< std: void Ifc4x3_rc3::IfcConstructionResource::setBaseQuantity(const ::Ifc4x3_rc3::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[225]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[225]); } void Ifc4x3_rc3::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -9449,7 +9449,7 @@ void Ifc4x3_rc3::IfcConstructionResourceType::setBaseCosts(const std::optional< void Ifc4x3_rc3::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x3_rc3::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc3::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[226]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[226]); } void Ifc4x3_rc3::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -9464,45 +9464,45 @@ void Ifc4x3_rc3::IfcContext::setRepresentationContexts(const std::optional< std: ::Ifc4x3_rc3::IfcUnitAssignment Ifc4x3_rc3::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc3::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc3::IfcUnitAssignment>(); } void Ifc4x3_rc3::IfcContext::setUnitsInContext(const ::Ifc4x3_rc3::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc3::IfcRelDefinesByProperties> Ifc4x3_rc3::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[939], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelDeclares> Ifc4x3_rc3::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[935], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelDefinesByProperties> Ifc4x3_rc3::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[939], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelDeclares> Ifc4x3_rc3::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[935], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcContext::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[227]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[227]); } void Ifc4x3_rc3::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc3::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x3_rc3::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[229]); } -void Ifc4x3_rc3::IfcContextDependentUnit::initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[229]); } +void Ifc4x3_rc3::IfcContextDependentUnit::initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x3_rc3::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc3::IfcRelAssignsToControl> Ifc4x3_rc3::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[908], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelAssignsToControl> Ifc4x3_rc3::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[908], 6)); } -const IfcParse::entity& Ifc4x3_rc3::IfcControl::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[230]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[230]); } void Ifc4x3_rc3::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x3_rc3::IfcControllerTypeEnum::Value > Ifc4x3_rc3::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcController::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[231]); } -void Ifc4x3_rc3::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[231]); } +void Ifc4x3_rc3::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x3_rc3::IfcControllerTypeEnum::Value Ifc4x3_rc3::IfcControllerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcControllerType::setPredefinedType(const ::Ifc4x3_rc3::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcControllerType::setPredefinedType(const ::Ifc4x3_rc3::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[232]); } -void Ifc4x3_rc3::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[232]); } +void Ifc4x3_rc3::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x3_rc3::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -9510,66 +9510,66 @@ void Ifc4x3_rc3::IfcConversionBasedUnit::setName(const std::string& v) { set_att ::Ifc4x3_rc3::IfcMeasureWithUnit Ifc4x3_rc3::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc3::IfcMeasureWithUnit>(); } void Ifc4x3_rc3::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x3_rc3::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[234]); } -void Ifc4x3_rc3::IfcConversionBasedUnit::initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[234]); } +void Ifc4x3_rc3::IfcConversionBasedUnit::initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x3_rc3::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[235]); } -void Ifc4x3_rc3::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[235]); } +void Ifc4x3_rc3::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcConveyorSegment std::optional< ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value > Ifc4x3_rc3::IfcConveyorSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcConveyorSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[236]); } -void Ifc4x3_rc3::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConveyorSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[236]); } +void Ifc4x3_rc3::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcConveyorSegmentType ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value Ifc4x3_rc3::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcConveyorSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[237]); } -void Ifc4x3_rc3::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcConveyorSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[237]); } +void Ifc4x3_rc3::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value > Ifc4x3_rc3::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[239]); } -void Ifc4x3_rc3::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[239]); } +void Ifc4x3_rc3::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value Ifc4x3_rc3::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[240]); } -void Ifc4x3_rc3::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[240]); } +void Ifc4x3_rc3::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value > Ifc4x3_rc3::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[242]); } -void Ifc4x3_rc3::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[242]); } +void Ifc4x3_rc3::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value Ifc4x3_rc3::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[243]); } -void Ifc4x3_rc3::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[243]); } +void Ifc4x3_rc3::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x3_rc3::IfcCoordinateReferenceSystemSelect Ifc4x3_rc3::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcCoordinateReferenceSystemSelect>(); } @@ -9578,7 +9578,7 @@ void Ifc4x3_rc3::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x3_rc3::IfcCoo void Ifc4x3_rc3::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x3_rc3::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[245]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[245]); } void Ifc4x3_rc3::IfcCoordinateOperation::initialize(::Ifc4x3_rc3::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc3::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -9591,9 +9591,9 @@ void Ifc4x3_rc3::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optio std::optional< std::string > Ifc4x3_rc3::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc3::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::vector<::Ifc4x3_rc3::IfcCoordinateOperation> Ifc4x3_rc3::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[245], 0)); } +std::vector<::Ifc4x3_rc3::IfcCoordinateOperation> Ifc4x3_rc3::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[245], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[246]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[246]); } void Ifc4x3_rc3::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { 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)); } } // Function implementations for IfcCosine @@ -9603,24 +9603,24 @@ double Ifc4x3_rc3::IfcCosine::ConstantTerm() const { double v = get_attribute_v void Ifc4x3_rc3::IfcCosine::setConstantTerm(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcCosine::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[248]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCosine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[248]); } void Ifc4x3_rc3::IfcCosine::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_CosineTerm, double v3_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CosineTerm));set_attribute_value(2, (v3_ConstantTerm)); } // Function implementations for IfcCostItem std::optional< ::Ifc4x3_rc3::IfcCostItemTypeEnum::Value > Ifc4x3_rc3::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc3::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc3::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc3::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc3::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_rc3::IfcCostValue > > Ifc4x3_rc3::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc3::IfcCostValue>(es); } void Ifc4x3_rc3::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x3_rc3::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > > Ifc4x3_rc3::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_rc3::IfcPhysicalQuantity>(es); } void Ifc4x3_rc3::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[249]); } -void Ifc4x3_rc3::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc3::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[249]); } +void Ifc4x3_rc3::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc3::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value > Ifc4x3_rc3::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc3::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc3::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc3::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc3::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc3::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc3::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -9629,71 +9629,71 @@ std::optional< std::string > Ifc4x3_rc3::IfcCostSchedule::UpdateDate() const { i void Ifc4x3_rc3::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[251]); } -void Ifc4x3_rc3::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[251]); } +void Ifc4x3_rc3::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x3_rc3::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[253]); } -void Ifc4x3_rc3::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_rc3::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[253]); } +void Ifc4x3_rc3::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCourse std::optional< ::Ifc4x3_rc3::IfcCourseTypeEnum::Value > Ifc4x3_rc3::IfcCourse::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCourseTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCourse::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[255]); } -void Ifc4x3_rc3::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCourse::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[255]); } +void Ifc4x3_rc3::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCourseType ::Ifc4x3_rc3::IfcCourseTypeEnum::Value Ifc4x3_rc3::IfcCourseType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCourseTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCourseType::setPredefinedType(const ::Ifc4x3_rc3::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCourseType::setPredefinedType(const ::Ifc4x3_rc3::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCourseType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[256]); } -void Ifc4x3_rc3::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCourseType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[256]); } +void Ifc4x3_rc3::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCovering std::optional< ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value > Ifc4x3_rc3::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc3::IfcRelCoversSpaces> Ifc4x3_rc3::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[934], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelCoversBldgElements> Ifc4x3_rc3::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[933], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelCoversSpaces> Ifc4x3_rc3::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[934], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelCoversBldgElements> Ifc4x3_rc3::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[933], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[258]); } -void Ifc4x3_rc3::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[258]); } +void Ifc4x3_rc3::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value Ifc4x3_rc3::IfcCoveringType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCoveringType::setPredefinedType(const ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCoveringType::setPredefinedType(const ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[259]); } -void Ifc4x3_rc3::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[259]); } +void Ifc4x3_rc3::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value > Ifc4x3_rc3::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[261]); } -void Ifc4x3_rc3::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[261]); } +void Ifc4x3_rc3::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value Ifc4x3_rc3::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc3::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[262]); } -void Ifc4x3_rc3::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[262]); } +void Ifc4x3_rc3::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x3_rc3::IfcAxis2Placement3D Ifc4x3_rc3::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcAxis2Placement3D>(); } void Ifc4x3_rc3::IfcCsgPrimitive3D::setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[264]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[264]); } void Ifc4x3_rc3::IfcCsgPrimitive3D::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -9701,7 +9701,7 @@ void Ifc4x3_rc3::IfcCsgPrimitive3D::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D void Ifc4x3_rc3::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x3_rc3::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[266]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[266]); } void Ifc4x3_rc3::IfcCsgSolid::initialize(::Ifc4x3_rc3::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -9717,29 +9717,29 @@ void Ifc4x3_rc3::IfcCurrencyRelationship::setRateDateTime(const std::optional< s void Ifc4x3_rc3::IfcCurrencyRelationship::setRateSource(const ::Ifc4x3_rc3::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[268]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[268]); } void Ifc4x3_rc3::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_rc3::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_rc3::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value > Ifc4x3_rc3::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[269]); } -void Ifc4x3_rc3::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[269]); } +void Ifc4x3_rc3::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value Ifc4x3_rc3::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[270]); } -void Ifc4x3_rc3::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[270]); } +void Ifc4x3_rc3::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x3_rc3::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[273]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[273]); } void Ifc4x3_rc3::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -9751,7 +9751,7 @@ std::vector< ::Ifc4x3_rc3::IfcCurve > Ifc4x3_rc3::IfcCurveBoundedPlane::InnerBou void Ifc4x3_rc3::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x3_rc3::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[274]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[274]); } void Ifc4x3_rc3::IfcCurveBoundedPlane::initialize(::Ifc4x3_rc3::IfcPlane v1_BasisSurface, ::Ifc4x3_rc3::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_rc3::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -9763,7 +9763,7 @@ bool Ifc4x3_rc3::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_a void Ifc4x3_rc3::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[275]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[275]); } void Ifc4x3_rc3::IfcCurveBoundedSurface::initialize(::Ifc4x3_rc3::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_rc3::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment @@ -9777,8 +9777,8 @@ void Ifc4x3_rc3::IfcCurveSegment::setSegmentLength(const ::Ifc4x3_rc3::IfcCurveM void Ifc4x3_rc3::IfcCurveSegment::setParentCurve(const ::Ifc4x3_rc3::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[281]); } -void Ifc4x3_rc3::IfcCurveSegment::initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_rc3::IfcPlacement v2_Placement, ::Ifc4x3_rc3::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_rc3::IfcCurve v5_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[281]); } +void Ifc4x3_rc3::IfcCurveSegment::initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_rc3::IfcPlacement v2_Placement, ::Ifc4x3_rc3::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_rc3::IfcCurve v5_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } // Function implementations for IfcCurveStyle ::Ifc4x3_rc3::IfcCurveFontOrScaledCurveFontSelect Ifc4x3_rc3::IfcCurveStyle::CurveFont() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc3::IfcCurveFontOrScaledCurveFontSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcCurveFontOrScaledCurveFontSelect>(); } @@ -9791,7 +9791,7 @@ std::optional< bool > Ifc4x3_rc3::IfcCurveStyle::ModelOrDraughting() const { if( void Ifc4x3_rc3::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[282]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[282]); } void Ifc4x3_rc3::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_rc3::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_rc3::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -9801,7 +9801,7 @@ std::vector< ::Ifc4x3_rc3::IfcCurveStyleFontPattern > Ifc4x3_rc3::IfcCurveStyleF void Ifc4x3_rc3::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x3_rc3::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[283]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[283]); } void Ifc4x3_rc3::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc3::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -9813,7 +9813,7 @@ double Ifc4x3_rc3::IfcCurveStyleFontAndScaling::CurveFontScaling() const { doub void Ifc4x3_rc3::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[284]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[284]); } void Ifc4x3_rc3::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -9823,7 +9823,7 @@ double Ifc4x3_rc3::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { d void Ifc4x3_rc3::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[285]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[285]); } void Ifc4x3_rc3::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -9831,35 +9831,35 @@ double Ifc4x3_rc3::IfcCylindricalSurface::Radius() const { double v = get_attri void Ifc4x3_rc3::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[287]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[287]); } void Ifc4x3_rc3::IfcCylindricalSurface::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x3_rc3::IfcDamperTypeEnum::Value > Ifc4x3_rc3::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[288]); } -void Ifc4x3_rc3::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[288]); } +void Ifc4x3_rc3::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x3_rc3::IfcDamperTypeEnum::Value Ifc4x3_rc3::IfcDamperType::PredefinedType() const { return ::Ifc4x3_rc3::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDamperType::setPredefinedType(const ::Ifc4x3_rc3::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcDamperType::setPredefinedType(const ::Ifc4x3_rc3::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[289]); } -void Ifc4x3_rc3::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[289]); } +void Ifc4x3_rc3::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDeepFoundation -const IfcParse::entity& Ifc4x3_rc3::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[296]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[296]); } void Ifc4x3_rc3::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDeepFoundationType -const IfcParse::entity& Ifc4x3_rc3::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[297]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[297]); } void Ifc4x3_rc3::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDerivedProfileDef @@ -9871,20 +9871,20 @@ std::optional< std::string > Ifc4x3_rc3::IfcDerivedProfileDef::Label() const { i void Ifc4x3_rc3::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[300]); } -void Ifc4x3_rc3::IfcDerivedProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[300]); } +void Ifc4x3_rc3::IfcDerivedProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x3_rc3::IfcDerivedUnitElement > Ifc4x3_rc3::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcDerivedUnitElement>(es); } void Ifc4x3_rc3::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x3_rc3::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc3::IfcDerivedUnitEnum::Value Ifc4x3_rc3::IfcDerivedUnit::UnitType() const { return ::Ifc4x3_rc3::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc3::IfcDerivedUnit::setUnitType(const ::Ifc4x3_rc3::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc3::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc3::IfcDerivedUnit::setUnitType(const ::Ifc4x3_rc3::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc3::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x3_rc3::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[301]); } -void Ifc4x3_rc3::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_rc3::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc3::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[301]); } +void Ifc4x3_rc3::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_rc3::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc3::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x3_rc3::IfcNamedUnit Ifc4x3_rc3::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcNamedUnit>(); } @@ -9893,7 +9893,7 @@ int Ifc4x3_rc3::IfcDerivedUnitElement::Exponent() const { int v = get_attribute void Ifc4x3_rc3::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[302]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[302]); } void Ifc4x3_rc3::IfcDerivedUnitElement::initialize(::Ifc4x3_rc3::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -9913,7 +9913,7 @@ int Ifc4x3_rc3::IfcDimensionalExponents::LuminousIntensityExponent() const { in void Ifc4x3_rc3::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[305]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[305]); } void Ifc4x3_rc3::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -9921,7 +9921,7 @@ std::vector< double > /*[2:3]*/ Ifc4x3_rc3::IfcDirection::DirectionRatios() cons void Ifc4x3_rc3::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[307]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[307]); } void Ifc4x3_rc3::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDirectrixCurveSweptAreaSolid @@ -9933,13 +9933,13 @@ void Ifc4x3_rc3::IfcDirectrixCurveSweptAreaSolid::setStartParam(const ::Ifc4x3_r void Ifc4x3_rc3::IfcDirectrixCurveSweptAreaSolid::setEndParam(const ::Ifc4x3_rc3::IfcCurveMeasureSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcDirectrixCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[309]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDirectrixCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[309]); } void Ifc4x3_rc3::IfcDirectrixCurveSweptAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc3::IfcCurveMeasureSelect v5_EndParam) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam)); } // Function implementations for IfcDirectrixDerivedReferenceSweptAreaSolid -const IfcParse::entity& Ifc4x3_rc3::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[310]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[310]); } void Ifc4x3_rc3::IfcDirectrixDerivedReferenceSweptAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc3::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcDirectrixDistanceSweptAreaSolid @@ -9951,123 +9951,123 @@ void Ifc4x3_rc3::IfcDirectrixDistanceSweptAreaSolid::setStartDistance(const ::If void Ifc4x3_rc3::IfcDirectrixDistanceSweptAreaSolid::setEndDistance(const ::Ifc4x3_rc3::IfcPointByDistanceExpression& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcDirectrixDistanceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[311]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDirectrixDistanceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[311]); } void Ifc4x3_rc3::IfcDirectrixDistanceSweptAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcPointByDistanceExpression v4_StartDistance, ::Ifc4x3_rc3::IfcPointByDistanceExpression v5_EndDistance) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartDistance));set_attribute_value(4, (v5_EndDistance)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3_rc3::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[312]); } -void Ifc4x3_rc3::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[312]); } +void Ifc4x3_rc3::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_rc3::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[313]); } -void Ifc4x3_rc3::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[313]); } +void Ifc4x3_rc3::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionBoard std::optional< ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value > Ifc4x3_rc3::IfcDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[315]); } -void Ifc4x3_rc3::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[315]); } +void Ifc4x3_rc3::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionBoardType ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value Ifc4x3_rc3::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[316]); } -void Ifc4x3_rc3::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[316]); } +void Ifc4x3_rc3::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3_rc3::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[318]); } -void Ifc4x3_rc3::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[318]); } +void Ifc4x3_rc3::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_rc3::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[319]); } -void Ifc4x3_rc3::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[319]); } +void Ifc4x3_rc3::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[321]); } -void Ifc4x3_rc3::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[321]); } +void Ifc4x3_rc3::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x3_rc3::IfcRelFlowControlElements> Ifc4x3_rc3::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[943], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelFlowControlElements> Ifc4x3_rc3::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[943], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[322]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[322]); } void Ifc4x3_rc3::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[323]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[323]); } void Ifc4x3_rc3::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x3_rc3::IfcRelConnectsPortToElement> Ifc4x3_rc3::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[927], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsPortToElement> Ifc4x3_rc3::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[927], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[324]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[324]); } void Ifc4x3_rc3::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[325]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[325]); } void Ifc4x3_rc3::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x3_rc3::IfcRelFlowControlElements> Ifc4x3_rc3::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[943], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelFlowControlElements> Ifc4x3_rc3::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[943], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[326]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[326]); } void Ifc4x3_rc3::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[327]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[327]); } void Ifc4x3_rc3::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x3_rc3::IfcFlowDirectionEnum::Value > Ifc4x3_rc3::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_rc3::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc3::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_rc3::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value > Ifc4x3_rc3::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > Ifc4x3_rc3::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[328]); } -void Ifc4x3_rc3::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[328]); } +void Ifc4x3_rc3::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x3_rc3::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > Ifc4x3_rc3::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc3::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc3::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc3::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc3::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[330]); } -void Ifc4x3_rc3::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[330]); } +void Ifc4x3_rc3::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x3_rc3::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -10101,17 +10101,17 @@ void Ifc4x3_rc3::IfcDocumentInformation::setValidFrom(const std::optional< std:: std::optional< std::string > Ifc4x3_rc3::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_rc3::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value > Ifc4x3_rc3::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x3_rc3::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x3_rc3::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x3_rc3::IfcDocumentStatusEnum::Value > Ifc4x3_rc3::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x3_rc3::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_rc3::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x3_rc3::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x3_rc3::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_rc3::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x3_rc3::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x3_rc3::IfcRelAssociatesDocument> Ifc4x3_rc3::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[918], 5)); } -std::vector<::Ifc4x3_rc3::IfcDocumentReference> Ifc4x3_rc3::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[335], 4)); } -std::vector<::Ifc4x3_rc3::IfcDocumentInformationRelationship> Ifc4x3_rc3::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[334], 3)); } -std::vector<::Ifc4x3_rc3::IfcDocumentInformationRelationship> Ifc4x3_rc3::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[334], 2)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociatesDocument> Ifc4x3_rc3::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[918], 5)); } +std::vector<::Ifc4x3_rc3::IfcDocumentReference> Ifc4x3_rc3::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[335], 4)); } +std::vector<::Ifc4x3_rc3::IfcDocumentInformationRelationship> Ifc4x3_rc3::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[334], 3)); } +std::vector<::Ifc4x3_rc3::IfcDocumentInformationRelationship> Ifc4x3_rc3::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[334], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[333]); } -void Ifc4x3_rc3::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc3::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc3::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc3::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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_rc3::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x3_rc3::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[333]); } +void Ifc4x3_rc3::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc3::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc3::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc3::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x3_rc3::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x3_rc3::IfcDocumentInformation Ifc4x3_rc3::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcDocumentInformation>(); } @@ -10122,7 +10122,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcDocumentInformationRelationship::Rel void Ifc4x3_rc3::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[334]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[334]); } void Ifc4x3_rc3::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_rc3::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -10131,9 +10131,9 @@ void Ifc4x3_rc3::IfcDocumentReference::setDescription(const std::optional< std:: ::Ifc4x3_rc3::IfcDocumentInformation Ifc4x3_rc3::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc3::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcDocumentInformation>(); } void Ifc4x3_rc3::IfcDocumentReference::setReferencedDocument(const ::Ifc4x3_rc3::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_rc3::IfcRelAssociatesDocument> Ifc4x3_rc3::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[918], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociatesDocument> Ifc4x3_rc3::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[918], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[335]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[335]); } void Ifc4x3_rc3::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -10142,15 +10142,15 @@ void Ifc4x3_rc3::IfcDoor::setOverallHeight(const std::optional< double >& v) { i std::optional< double > Ifc4x3_rc3::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc3::IfcDoorTypeEnum::Value > Ifc4x3_rc3::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value > Ifc4x3_rc3::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc3::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc3::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc3::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[338]); } -void Ifc4x3_rc3::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[338]); } +void Ifc4x3_rc3::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x3_rc3::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -10181,140 +10181,140 @@ std::optional< double > Ifc4x3_rc3::IfcDoorLiningProperties::LiningToPanelOffset void Ifc4x3_rc3::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[339]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[339]); } void Ifc4x3_rc3::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_rc3::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x3_rc3::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value Ifc4x3_rc3::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x3_rc3::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc3::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc3::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value Ifc4x3_rc3::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x3_rc3::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc3::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc3::IfcShapeAspect Ifc4x3_rc3::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc3::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc3::IfcShapeAspect>(); } void Ifc4x3_rc3::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x3_rc3::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[342]); } -void Ifc4x3_rc3::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc3::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[342]); } +void Ifc4x3_rc3::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorStandardCase -const IfcParse::entity& Ifc4x3_rc3::IfcDoorStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[343]); } -void Ifc4x3_rc3::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDoorStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[343]); } +void Ifc4x3_rc3::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorStyle ::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value Ifc4x3_rc3::IfcDoorStyle::OperationType() const { return ::Ifc4x3_rc3::IfcDoorStyleOperationEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcDoorStyle::setOperationType(const ::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcDoorStyle::setOperationType(const ::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value Ifc4x3_rc3::IfcDoorStyle::ConstructionType() const { return ::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDoorStyle::setConstructionType(const ::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcDoorStyle::setConstructionType(const ::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x3_rc3::IfcDoorStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcDoorStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x3_rc3::IfcDoorStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x3_rc3::IfcDoorStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcDoorStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[344]); } -void Ifc4x3_rc3::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDoorStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[344]); } +void Ifc4x3_rc3::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcDoorType ::Ifc4x3_rc3::IfcDoorTypeEnum::Value Ifc4x3_rc3::IfcDoorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDoorType::setPredefinedType(const ::Ifc4x3_rc3::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcDoorType::setPredefinedType(const ::Ifc4x3_rc3::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value Ifc4x3_rc3::IfcDoorType::OperationType() const { return ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcDoorType::setOperationType(const ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc3::IfcDoorType::setOperationType(const ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_rc3::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_rc3::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc3::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc3::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[347]); } -void Ifc4x3_rc3::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[347]); } +void Ifc4x3_rc3::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x3_rc3::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[351]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[351]); } void Ifc4x3_rc3::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_rc3::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[352]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[352]); } void Ifc4x3_rc3::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value > Ifc4x3_rc3::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[353]); } -void Ifc4x3_rc3::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[353]); } +void Ifc4x3_rc3::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value Ifc4x3_rc3::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[354]); } -void Ifc4x3_rc3::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[354]); } +void Ifc4x3_rc3::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value > Ifc4x3_rc3::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[356]); } -void Ifc4x3_rc3::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[356]); } +void Ifc4x3_rc3::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value Ifc4x3_rc3::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[357]); } -void Ifc4x3_rc3::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[357]); } +void Ifc4x3_rc3::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value > Ifc4x3_rc3::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[359]); } -void Ifc4x3_rc3::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[359]); } +void Ifc4x3_rc3::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value Ifc4x3_rc3::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[360]); } -void Ifc4x3_rc3::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[360]); } +void Ifc4x3_rc3::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEarthworksCut std::optional< ::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value > Ifc4x3_rc3::IfcEarthworksCut::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcEarthworksCut::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[364]); } -void Ifc4x3_rc3::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEarthworksCut::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[364]); } +void Ifc4x3_rc3::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEarthworksElement -const IfcParse::entity& Ifc4x3_rc3::IfcEarthworksElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[366]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEarthworksElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[366]); } void Ifc4x3_rc3::IfcEarthworksElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEarthworksFill std::optional< ::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value > Ifc4x3_rc3::IfcEarthworksFill::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcEarthworksFill::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[367]); } -void Ifc4x3_rc3::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEarthworksFill::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[367]); } +void Ifc4x3_rc3::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEdge ::Ifc4x3_rc3::IfcVertex Ifc4x3_rc3::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcVertex>(); } @@ -10323,7 +10323,7 @@ void Ifc4x3_rc3::IfcEdge::setEdgeStart(const ::Ifc4x3_rc3::IfcVertex& v) { set_a void Ifc4x3_rc3::IfcEdge::setEdgeEnd(const ::Ifc4x3_rc3::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[369]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[369]); } void Ifc4x3_rc3::IfcEdge::initialize(::Ifc4x3_rc3::IfcVertex v1_EdgeStart, ::Ifc4x3_rc3::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -10333,7 +10333,7 @@ bool Ifc4x3_rc3::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value void Ifc4x3_rc3::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[370]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[370]); } void Ifc4x3_rc3::IfcEdgeCurve::initialize(::Ifc4x3_rc3::IfcVertex v1_EdgeStart, ::Ifc4x3_rc3::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc3::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -10341,168 +10341,168 @@ std::vector< ::Ifc4x3_rc3::IfcOrientedEdge > Ifc4x3_rc3::IfcEdgeLoop::EdgeList() void Ifc4x3_rc3::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x3_rc3::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[371]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[371]); } void Ifc4x3_rc3::IfcEdgeLoop::initialize(std::vector< ::Ifc4x3_rc3::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value > Ifc4x3_rc3::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[372]); } -void Ifc4x3_rc3::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[372]); } +void Ifc4x3_rc3::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value Ifc4x3_rc3::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[373]); } -void Ifc4x3_rc3::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[373]); } +void Ifc4x3_rc3::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3_rc3::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[379]); } -void Ifc4x3_rc3::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[379]); } +void Ifc4x3_rc3::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_rc3::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[380]); } -void Ifc4x3_rc3::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[380]); } +void Ifc4x3_rc3::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3_rc3::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[382]); } -void Ifc4x3_rc3::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[382]); } +void Ifc4x3_rc3::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_rc3::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[383]); } -void Ifc4x3_rc3::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[383]); } +void Ifc4x3_rc3::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowTreatmentDevice std::optional< ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3_rc3::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[385]); } -void Ifc4x3_rc3::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[385]); } +void Ifc4x3_rc3::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowTreatmentDeviceType ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[386]); } -void Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[386]); } +void Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value > Ifc4x3_rc3::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[388]); } -void Ifc4x3_rc3::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[388]); } +void Ifc4x3_rc3::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value Ifc4x3_rc3::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[389]); } -void Ifc4x3_rc3::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[389]); } +void Ifc4x3_rc3::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value > Ifc4x3_rc3::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[391]); } -void Ifc4x3_rc3::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[391]); } +void Ifc4x3_rc3::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value Ifc4x3_rc3::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[392]); } -void Ifc4x3_rc3::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[392]); } +void Ifc4x3_rc3::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value > Ifc4x3_rc3::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[395]); } -void Ifc4x3_rc3::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[395]); } +void Ifc4x3_rc3::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value Ifc4x3_rc3::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[396]); } -void Ifc4x3_rc3::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[396]); } +void Ifc4x3_rc3::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x3_rc3::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc3::IfcRelFillsElement> Ifc4x3_rc3::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[942], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelConnectsElements> Ifc4x3_rc3::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[924], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelInterferesElements> Ifc4x3_rc3::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[944], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelInterferesElements> Ifc4x3_rc3::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[944], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelProjectsElement> Ifc4x3_rc3::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[947], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelVoidsElement> Ifc4x3_rc3::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[954], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelConnectsWithRealizingElements> Ifc4x3_rc3::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[931], 7)); } -std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary> Ifc4x3_rc3::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[951], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelConnectsElements> Ifc4x3_rc3::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[924], 6)); } -std::vector<::Ifc4x3_rc3::IfcRelContainedInSpatialStructure> Ifc4x3_rc3::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[932], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelCoversBldgElements> Ifc4x3_rc3::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[933], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelFillsElement> Ifc4x3_rc3::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[942], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsElements> Ifc4x3_rc3::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[924], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelInterferesElements> Ifc4x3_rc3::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[944], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelInterferesElements> Ifc4x3_rc3::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[944], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelProjectsElement> Ifc4x3_rc3::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[947], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelVoidsElement> Ifc4x3_rc3::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[954], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsWithRealizingElements> Ifc4x3_rc3::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[931], 7)); } +std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary> Ifc4x3_rc3::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[951], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsElements> Ifc4x3_rc3::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[924], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelContainedInSpatialStructure> Ifc4x3_rc3::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[932], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelCoversBldgElements> Ifc4x3_rc3::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[933], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[399]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[399]); } void Ifc4x3_rc3::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value > Ifc4x3_rc3::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value > Ifc4x3_rc3::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[401]); } -void Ifc4x3_rc3::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[401]); } +void Ifc4x3_rc3::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value Ifc4x3_rc3::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[402]); } -void Ifc4x3_rc3::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[402]); } +void Ifc4x3_rc3::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x3_rc3::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[404]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[404]); } void Ifc4x3_rc3::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x3_rc3::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[405]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[405]); } void Ifc4x3_rc3::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -10512,7 +10512,7 @@ std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > Ifc4x3_rc3::IfcElementQuantity: void Ifc4x3_rc3::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[407]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[407]); } void Ifc4x3_rc3::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -10520,7 +10520,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcElementType::ElementType() const { i void Ifc4x3_rc3::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[408]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[408]); } void Ifc4x3_rc3::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -10528,7 +10528,7 @@ void Ifc4x3_rc3::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc void Ifc4x3_rc3::IfcElementarySurface::setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[400]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[400]); } void Ifc4x3_rc3::IfcElementarySurface::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -10538,7 +10538,7 @@ double Ifc4x3_rc3::IfcEllipse::SemiAxis2() const { double v = get_attribute_val void Ifc4x3_rc3::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[409]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[409]); } void Ifc4x3_rc3::IfcEllipse::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -10548,82 +10548,82 @@ double Ifc4x3_rc3::IfcEllipseProfileDef::SemiAxis2() const { double v = get_att void Ifc4x3_rc3::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[410]); } -void Ifc4x3_rc3::IfcEllipseProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[410]); } +void Ifc4x3_rc3::IfcEllipseProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x3_rc3::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[411]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[411]); } void Ifc4x3_rc3::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x3_rc3::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[412]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[412]); } void Ifc4x3_rc3::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x3_rc3::IfcEngineTypeEnum::Value > Ifc4x3_rc3::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[414]); } -void Ifc4x3_rc3::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[414]); } +void Ifc4x3_rc3::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x3_rc3::IfcEngineTypeEnum::Value Ifc4x3_rc3::IfcEngineType::PredefinedType() const { return ::Ifc4x3_rc3::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcEngineType::setPredefinedType(const ::Ifc4x3_rc3::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcEngineType::setPredefinedType(const ::Ifc4x3_rc3::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[415]); } -void Ifc4x3_rc3::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[415]); } +void Ifc4x3_rc3::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3_rc3::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[417]); } -void Ifc4x3_rc3::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[417]); } +void Ifc4x3_rc3::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_rc3::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[418]); } -void Ifc4x3_rc3::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[418]); } +void Ifc4x3_rc3::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value > Ifc4x3_rc3::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[420]); } -void Ifc4x3_rc3::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[420]); } +void Ifc4x3_rc3::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value Ifc4x3_rc3::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[421]); } -void Ifc4x3_rc3::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[421]); } +void Ifc4x3_rc3::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x3_rc3::IfcEventTypeEnum::Value > Ifc4x3_rc3::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc3::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value > Ifc4x3_rc3::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_rc3::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x3_rc3::IfcEventTime Ifc4x3_rc3::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_rc3::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_rc3::IfcEventTime>(); } void Ifc4x3_rc3::IfcEvent::setEventOccurenceTime(const ::Ifc4x3_rc3::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc3::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[423]); } -void Ifc4x3_rc3::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc3::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc3::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[423]); } +void Ifc4x3_rc3::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc3::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc3::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x3_rc3::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -10636,20 +10636,20 @@ std::optional< std::string > Ifc4x3_rc3::IfcEventTime::ScheduleDate() const { if void Ifc4x3_rc3::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[424]); } -void Ifc4x3_rc3::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[424]); } +void Ifc4x3_rc3::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcEventType ::Ifc4x3_rc3::IfcEventTypeEnum::Value Ifc4x3_rc3::IfcEventType::PredefinedType() const { return ::Ifc4x3_rc3::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcEventType::setPredefinedType(const ::Ifc4x3_rc3::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcEventType::setPredefinedType(const ::Ifc4x3_rc3::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value Ifc4x3_rc3::IfcEventType::EventTriggerType() const { return ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcEventType::setEventTriggerType(const ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc3::IfcEventType::setEventTriggerType(const ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x3_rc3::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x3_rc3::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc3::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[426]); } -void Ifc4x3_rc3::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc3::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc3::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[426]); } +void Ifc4x3_rc3::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc3::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc3::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x3_rc3::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10660,13 +10660,13 @@ std::vector< ::Ifc4x3_rc3::IfcProperty > Ifc4x3_rc3::IfcExtendedProperties::Prop void Ifc4x3_rc3::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x3_rc3::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[428]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[428]); } void Ifc4x3_rc3::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x3_rc3::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[429]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[429]); } void Ifc4x3_rc3::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -10677,9 +10677,9 @@ void Ifc4x3_rc3::IfcExternalReference::setIdentification(const std::optional< st std::optional< std::string > Ifc4x3_rc3::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 2)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[433]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[433]); } void Ifc4x3_rc3::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -10689,40 +10689,40 @@ std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > Ifc4x3_rc3::IfcExternalRefe void Ifc4x3_rc3::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[434]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[434]); } void Ifc4x3_rc3::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3_rc3::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary> Ifc4x3_rc3::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[951], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary> Ifc4x3_rc3::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[951], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[435]); } -void Ifc4x3_rc3::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[435]); } +void Ifc4x3_rc3::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x3_rc3::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[437]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[437]); } void Ifc4x3_rc3::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x3_rc3::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[430]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[430]); } void Ifc4x3_rc3::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x3_rc3::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[431]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[431]); } void Ifc4x3_rc3::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x3_rc3::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[432]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[432]); } void Ifc4x3_rc3::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -10732,7 +10732,7 @@ double Ifc4x3_rc3::IfcExtrudedAreaSolid::Depth() const { double v = get_attribu void Ifc4x3_rc3::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[438]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[438]); } void Ifc4x3_rc3::IfcExtrudedAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -10740,16 +10740,16 @@ void Ifc4x3_rc3::IfcExtrudedAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1 void Ifc4x3_rc3::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_rc3::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[439]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[439]); } void Ifc4x3_rc3::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_rc3::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x3_rc3::IfcFaceBound > Ifc4x3_rc3::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcFaceBound>(es); } void Ifc4x3_rc3::IfcFace::setBounds(const std::vector< ::Ifc4x3_rc3::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc3::IfcTextureMap> Ifc4x3_rc3::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1199], 2)); } +std::vector<::Ifc4x3_rc3::IfcTextureMap> Ifc4x3_rc3::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1199], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcFace::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[440]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[440]); } void Ifc4x3_rc3::IfcFace::initialize(std::vector< ::Ifc4x3_rc3::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -10757,7 +10757,7 @@ std::vector< ::Ifc4x3_rc3::IfcConnectedFaceSet > Ifc4x3_rc3::IfcFaceBasedSurface void Ifc4x3_rc3::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x3_rc3::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[441]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[441]); } void Ifc4x3_rc3::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_rc3::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -10767,13 +10767,13 @@ bool Ifc4x3_rc3::IfcFaceBound::Orientation() const { bool v = get_attribute_val void Ifc4x3_rc3::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[442]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[442]); } void Ifc4x3_rc3::IfcFaceBound::initialize(::Ifc4x3_rc3::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x3_rc3::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[443]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[443]); } void Ifc4x3_rc3::IfcFaceOuterBound::initialize(::Ifc4x3_rc3::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -10783,13 +10783,13 @@ bool Ifc4x3_rc3::IfcFaceSurface::SameSense() const { bool v = get_attribute_val void Ifc4x3_rc3::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[444]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[444]); } void Ifc4x3_rc3::IfcFaceSurface::initialize(std::vector< ::Ifc4x3_rc3::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc3::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x3_rc3::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[445]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[445]); } void Ifc4x3_rc3::IfcFacetedBrep::initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -10797,24 +10797,24 @@ std::vector< ::Ifc4x3_rc3::IfcClosedShell > Ifc4x3_rc3::IfcFacetedBrepWithVoids: void Ifc4x3_rc3::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_rc3::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[446]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[446]); } void Ifc4x3_rc3::IfcFacetedBrepWithVoids::initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc3::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFacility -const IfcParse::entity& Ifc4x3_rc3::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[447]); } -void Ifc4x3_rc3::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[447]); } +void Ifc4x3_rc3::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFacilityPart ::Ifc4x3_rc3::IfcFacilityPartTypeSelect Ifc4x3_rc3::IfcFacilityPart::PredefinedType() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc3::IfcFacilityPartTypeSelect>(); } void Ifc4x3_rc3::IfcFacilityPart::setPredefinedType(const ::Ifc4x3_rc3::IfcFacilityPartTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc3::IfcFacilityUsageEnum::Value Ifc4x3_rc3::IfcFacilityPart::UsageType() const { return ::Ifc4x3_rc3::IfcFacilityUsageEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcFacilityPart::setUsageType(const ::Ifc4x3_rc3::IfcFacilityUsageEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc3::IfcFacilityPart::setUsageType(const ::Ifc4x3_rc3::IfcFacilityUsageEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc3::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[448]); } -void Ifc4x3_rc3::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc3::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc3::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[448]); } +void Ifc4x3_rc3::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc3::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc3::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } // Function implementations for IfcFailureConnectionCondition std::optional< double > Ifc4x3_rc3::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10831,59 +10831,59 @@ std::optional< double > Ifc4x3_rc3::IfcFailureConnectionCondition::CompressionFa void Ifc4x3_rc3::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[452]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[452]); } void Ifc4x3_rc3::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x3_rc3::IfcFanTypeEnum::Value > Ifc4x3_rc3::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFan::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[453]); } -void Ifc4x3_rc3::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[453]); } +void Ifc4x3_rc3::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x3_rc3::IfcFanTypeEnum::Value Ifc4x3_rc3::IfcFanType::PredefinedType() const { return ::Ifc4x3_rc3::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcFanType::setPredefinedType(const ::Ifc4x3_rc3::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcFanType::setPredefinedType(const ::Ifc4x3_rc3::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[454]); } -void Ifc4x3_rc3::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[454]); } +void Ifc4x3_rc3::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value > Ifc4x3_rc3::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[456]); } -void Ifc4x3_rc3::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[456]); } +void Ifc4x3_rc3::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value Ifc4x3_rc3::IfcFastenerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcFastenerType::setPredefinedType(const ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcFastenerType::setPredefinedType(const ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[457]); } -void Ifc4x3_rc3::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[457]); } +void Ifc4x3_rc3::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x3_rc3::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[459]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[459]); } void Ifc4x3_rc3::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x3_rc3::IfcRelProjectsElement> Ifc4x3_rc3::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[947], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelProjectsElement> Ifc4x3_rc3::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[947], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[460]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[460]); } void Ifc4x3_rc3::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x3_rc3::IfcRelVoidsElement> Ifc4x3_rc3::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[954], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelVoidsElement> Ifc4x3_rc3::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[954], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[461]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[461]); } void Ifc4x3_rc3::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -10893,7 +10893,7 @@ std::optional< bool > Ifc4x3_rc3::IfcFillAreaStyle::ModelOrDraughting() const { void Ifc4x3_rc3::IfcFillAreaStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[462]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[462]); } void Ifc4x3_rc3::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc3::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -10909,7 +10909,7 @@ double Ifc4x3_rc3::IfcFillAreaStyleHatching::HatchLineAngle() const { double v void Ifc4x3_rc3::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[463]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[463]); } void Ifc4x3_rc3::IfcFillAreaStyleHatching::initialize(::Ifc4x3_rc3::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_rc3::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_rc3::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_rc3::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -10921,231 +10921,231 @@ double Ifc4x3_rc3::IfcFillAreaStyleTiles::TilingScale() const { double v = get_ void Ifc4x3_rc3::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[464]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[464]); } void Ifc4x3_rc3::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x3_rc3::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_rc3::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x3_rc3::IfcFilterTypeEnum::Value > Ifc4x3_rc3::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[466]); } -void Ifc4x3_rc3::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[466]); } +void Ifc4x3_rc3::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x3_rc3::IfcFilterTypeEnum::Value Ifc4x3_rc3::IfcFilterType::PredefinedType() const { return ::Ifc4x3_rc3::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcFilterType::setPredefinedType(const ::Ifc4x3_rc3::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcFilterType::setPredefinedType(const ::Ifc4x3_rc3::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[467]); } -void Ifc4x3_rc3::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[467]); } +void Ifc4x3_rc3::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3_rc3::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[469]); } -void Ifc4x3_rc3::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[469]); } +void Ifc4x3_rc3::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_rc3::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[470]); } -void Ifc4x3_rc3::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[470]); } +void Ifc4x3_rc3::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x3_rc3::IfcDirection Ifc4x3_rc3::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc3::IfcDirection>(); } void Ifc4x3_rc3::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[472]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[472]); } void Ifc4x3_rc3::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc3::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x3_rc3::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[473]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[473]); } void Ifc4x3_rc3::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x3_rc3::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[474]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[474]); } void Ifc4x3_rc3::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x3_rc3::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[476]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[476]); } void Ifc4x3_rc3::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x3_rc3::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[477]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[477]); } void Ifc4x3_rc3::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value > Ifc4x3_rc3::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[478]); } -void Ifc4x3_rc3::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[478]); } +void Ifc4x3_rc3::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value Ifc4x3_rc3::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[479]); } -void Ifc4x3_rc3::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[479]); } +void Ifc4x3_rc3::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value > Ifc4x3_rc3::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[481]); } -void Ifc4x3_rc3::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[481]); } +void Ifc4x3_rc3::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value Ifc4x3_rc3::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[482]); } -void Ifc4x3_rc3::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[482]); } +void Ifc4x3_rc3::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x3_rc3::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[484]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[484]); } void Ifc4x3_rc3::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x3_rc3::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[485]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[485]); } void Ifc4x3_rc3::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x3_rc3::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[486]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[486]); } void Ifc4x3_rc3::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x3_rc3::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[487]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[487]); } void Ifc4x3_rc3::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x3_rc3::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[488]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[488]); } void Ifc4x3_rc3::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x3_rc3::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[489]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[489]); } void Ifc4x3_rc3::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x3_rc3::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[490]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[490]); } void Ifc4x3_rc3::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x3_rc3::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[491]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[491]); } void Ifc4x3_rc3::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x3_rc3::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[492]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[492]); } void Ifc4x3_rc3::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x3_rc3::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[493]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[493]); } void Ifc4x3_rc3::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x3_rc3::IfcFootingTypeEnum::Value > Ifc4x3_rc3::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[497]); } -void Ifc4x3_rc3::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[497]); } +void Ifc4x3_rc3::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x3_rc3::IfcFootingTypeEnum::Value Ifc4x3_rc3::IfcFootingType::PredefinedType() const { return ::Ifc4x3_rc3::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcFootingType::setPredefinedType(const ::Ifc4x3_rc3::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcFootingType::setPredefinedType(const ::Ifc4x3_rc3::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[498]); } -void Ifc4x3_rc3::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[498]); } +void Ifc4x3_rc3::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x3_rc3::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[502]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[502]); } void Ifc4x3_rc3::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x3_rc3::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[503]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[503]); } void Ifc4x3_rc3::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > Ifc4x3_rc3::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[504]); } -void Ifc4x3_rc3::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[504]); } +void Ifc4x3_rc3::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value Ifc4x3_rc3::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > Ifc4x3_rc3::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[505]); } -void Ifc4x3_rc3::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[505]); } +void Ifc4x3_rc3::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value > Ifc4x3_rc3::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[507]); } -void Ifc4x3_rc3::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[507]); } +void Ifc4x3_rc3::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value Ifc4x3_rc3::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[508]); } -void Ifc4x3_rc3::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[508]); } +void Ifc4x3_rc3::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x3_rc3::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[510]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[510]); } void Ifc4x3_rc3::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_rc3::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -11158,16 +11158,16 @@ void Ifc4x3_rc3::IfcGeometricRepresentationContext::setWorldCoordinateSystem(con ::Ifc4x3_rc3::IfcDirection Ifc4x3_rc3::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc3::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc3::IfcDirection>(); } void Ifc4x3_rc3::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc3::IfcGeometricRepresentationSubContext> Ifc4x3_rc3::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[514], 6)); } -std::vector<::Ifc4x3_rc3::IfcCoordinateOperation> Ifc4x3_rc3::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[245], 0)); } +std::vector<::Ifc4x3_rc3::IfcGeometricRepresentationSubContext> Ifc4x3_rc3::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[514], 6)); } +std::vector<::Ifc4x3_rc3::IfcCoordinateOperation> Ifc4x3_rc3::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[245], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[512]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[512]); } void Ifc4x3_rc3::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_rc3::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_rc3::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x3_rc3::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[513]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[513]); } void Ifc4x3_rc3::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -11176,50 +11176,50 @@ void Ifc4x3_rc3::IfcGeometricRepresentationSubContext::setParentContext(const :: std::optional< double > Ifc4x3_rc3::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc3::IfcGeometricProjectionEnum::Value Ifc4x3_rc3::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x3_rc3::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_rc3::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_rc3::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x3_rc3::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[514]); } -void Ifc4x3_rc3::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc3::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc3::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[514]); } +void Ifc4x3_rc3::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc3::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc3::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x3_rc3::IfcGeometricSetSelect > Ifc4x3_rc3::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcGeometricSetSelect>(es); } void Ifc4x3_rc3::IfcGeometricSet::setElements(const std::vector< ::Ifc4x3_rc3::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[515]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[515]); } void Ifc4x3_rc3::IfcGeometricSet::initialize(std::vector< ::Ifc4x3_rc3::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeomodel -const IfcParse::entity& Ifc4x3_rc3::IfcGeomodel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[517]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeomodel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[517]); } void Ifc4x3_rc3::IfcGeomodel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeoslice -const IfcParse::entity& Ifc4x3_rc3::IfcGeoslice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[518]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeoslice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[518]); } void Ifc4x3_rc3::IfcGeoslice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalAssembly -const IfcParse::entity& Ifc4x3_rc3::IfcGeotechnicalAssembly::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[519]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeotechnicalAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[519]); } void Ifc4x3_rc3::IfcGeotechnicalAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalElement -const IfcParse::entity& Ifc4x3_rc3::IfcGeotechnicalElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[520]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeotechnicalElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[520]); } void Ifc4x3_rc3::IfcGeotechnicalElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalStratum -const IfcParse::entity& Ifc4x3_rc3::IfcGeotechnicalStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[521]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGeotechnicalStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[521]); } void Ifc4x3_rc3::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGradientCurve @@ -11229,7 +11229,7 @@ void Ifc4x3_rc3::IfcGradientCurve::setBaseCurve(const ::Ifc4x3_rc3::IfcBoundedCu void Ifc4x3_rc3::IfcGradientCurve::setEndPoint(const ::Ifc4x3_rc3::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcGradientCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[524]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGradientCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[524]); } void Ifc4x3_rc3::IfcGradientCurve::initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_rc3::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_rc3::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcGrid @@ -11240,11 +11240,11 @@ void Ifc4x3_rc3::IfcGrid::setVAxes(const std::vector< ::Ifc4x3_rc3::IfcGridAxis std::optional< std::vector< ::Ifc4x3_rc3::IfcGridAxis > > Ifc4x3_rc3::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_rc3::IfcGridAxis>(es); } void Ifc4x3_rc3::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x3_rc3::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc3::IfcGridTypeEnum::Value > Ifc4x3_rc3::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[525]); } -void Ifc4x3_rc3::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc3::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc3::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc3::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc3::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[525]); } +void Ifc4x3_rc3::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc3::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc3::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc3::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc3::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x3_rc3::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11254,12 +11254,12 @@ void Ifc4x3_rc3::IfcGridAxis::setAxisCurve(const ::Ifc4x3_rc3::IfcCurve& v) { se bool Ifc4x3_rc3::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc3::IfcGrid> Ifc4x3_rc3::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[525], 9)); } -std::vector<::Ifc4x3_rc3::IfcGrid> Ifc4x3_rc3::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[525], 8)); } -std::vector<::Ifc4x3_rc3::IfcGrid> Ifc4x3_rc3::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[525], 7)); } -std::vector<::Ifc4x3_rc3::IfcVirtualGridIntersection> Ifc4x3_rc3::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1277], 0)); } +std::vector<::Ifc4x3_rc3::IfcGrid> Ifc4x3_rc3::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[525], 9)); } +std::vector<::Ifc4x3_rc3::IfcGrid> Ifc4x3_rc3::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[525], 8)); } +std::vector<::Ifc4x3_rc3::IfcGrid> Ifc4x3_rc3::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[525], 7)); } +std::vector<::Ifc4x3_rc3::IfcVirtualGridIntersection> Ifc4x3_rc3::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1277], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[526]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[526]); } void Ifc4x3_rc3::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_rc3::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -11269,14 +11269,14 @@ void Ifc4x3_rc3::IfcGridPlacement::setPlacementLocation(const ::Ifc4x3_rc3::IfcV void Ifc4x3_rc3::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x3_rc3::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[527]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[527]); } void Ifc4x3_rc3::IfcGridPlacement::initialize(::Ifc4x3_rc3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc3::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_rc3::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x3_rc3::IfcRelAssignsToGroup> Ifc4x3_rc3::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[909], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelAssignsToGroup> Ifc4x3_rc3::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[909], 6)); } -const IfcParse::entity& Ifc4x3_rc3::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[530]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[530]); } void Ifc4x3_rc3::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -11286,40 +11286,40 @@ bool Ifc4x3_rc3::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attrib void Ifc4x3_rc3::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[531]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[531]); } void Ifc4x3_rc3::IfcHalfSpaceSolid::initialize(::Ifc4x3_rc3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value > Ifc4x3_rc3::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[533]); } -void Ifc4x3_rc3::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[533]); } +void Ifc4x3_rc3::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value Ifc4x3_rc3::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[534]); } -void Ifc4x3_rc3::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[534]); } +void Ifc4x3_rc3::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value > Ifc4x3_rc3::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[538]); } -void Ifc4x3_rc3::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[538]); } +void Ifc4x3_rc3::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value Ifc4x3_rc3::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3_rc3::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[539]); } -void Ifc4x3_rc3::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[539]); } +void Ifc4x3_rc3::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x3_rc3::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -11338,15 +11338,15 @@ std::optional< double > Ifc4x3_rc3::IfcIShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc3::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[569]); } -void Ifc4x3_rc3::IfcIShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[569]); } +void Ifc4x3_rc3::IfcIShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x3_rc3::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[543]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[543]); } void Ifc4x3_rc3::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcImpactProtectionDevice @@ -11354,7 +11354,7 @@ void Ifc4x3_rc3::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, s void Ifc4x3_rc3::IfcImpactProtectionDevice::setPredefinedType(const ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcImpactProtectionDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[544]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcImpactProtectionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[544]); } void Ifc4x3_rc3::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_PredefinedType)); } // Function implementations for IfcImpactProtectionDeviceType @@ -11362,7 +11362,7 @@ void Ifc4x3_rc3::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, void Ifc4x3_rc3::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcImpactProtectionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[545]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcImpactProtectionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[545]); } void Ifc4x3_rc3::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_PredefinedType)); } // Function implementations for IfcInclinedReferenceSweptAreaSolid @@ -11370,7 +11370,7 @@ std::optional< bool > Ifc4x3_rc3::IfcInclinedReferenceSweptAreaSolid::FixedAxisV void Ifc4x3_rc3::IfcInclinedReferenceSweptAreaSolid::setFixedAxisVertical(const std::optional< bool >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc3::IfcInclinedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[548]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcInclinedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[548]); } void Ifc4x3_rc3::IfcInclinedReferenceSweptAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcPointByDistanceExpression v4_StartDistance, ::Ifc4x3_rc3::IfcPointByDistanceExpression v5_EndDistance, std::optional< bool > v6_FixedAxisVertical) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartDistance));set_attribute_value(4, (v5_EndDistance)); if (v6_FixedAxisVertical) {set_attribute_value(5, (*v6_FixedAxisVertical)); } } // Function implementations for IfcIndexedColourMap @@ -11384,7 +11384,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_rc3::IfcIndexedColourMap::ColourIndex() cons void Ifc4x3_rc3::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[549]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[549]); } void Ifc4x3_rc3::IfcIndexedColourMap::initialize(::Ifc4x3_rc3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc3::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -11396,16 +11396,16 @@ std::optional< bool > Ifc4x3_rc3::IfcIndexedPolyCurve::SelfIntersect() const { i void Ifc4x3_rc3::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[550]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[550]); } void Ifc4x3_rc3::IfcIndexedPolyCurve::initialize(::Ifc4x3_rc3::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_rc3::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x3_rc3::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x3_rc3::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc3::IfcPolygonalFaceSet> Ifc4x3_rc3::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[778], 2)); } +std::vector<::Ifc4x3_rc3::IfcPolygonalFaceSet> Ifc4x3_rc3::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[778], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[551]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[551]); } void Ifc4x3_rc3::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -11413,7 +11413,7 @@ std::vector< std::vector< int > > Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids:: void Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[552]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[552]); } void Ifc4x3_rc3::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -11423,7 +11423,7 @@ void Ifc4x3_rc3::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x3_rc3::IfcTessel void Ifc4x3_rc3::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x3_rc3::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[553]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[553]); } void Ifc4x3_rc3::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc3::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -11431,34 +11431,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x3_rc3::IfcIndexedTriangl void Ifc4x3_rc3::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[554]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[554]); } void Ifc4x3_rc3::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc3::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value > Ifc4x3_rc3::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[558]); } -void Ifc4x3_rc3::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[558]); } +void Ifc4x3_rc3::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value Ifc4x3_rc3::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[559]); } -void Ifc4x3_rc3::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[559]); } +void Ifc4x3_rc3::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x3_rc3::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[563]); } -void Ifc4x3_rc3::IfcIntersectionCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[563]); } +void Ifc4x3_rc3::IfcIntersectionCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x3_rc3::IfcInventoryTypeEnum::Value > Ifc4x3_rc3::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc3::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x3_rc3::IfcActorSelect Ifc4x3_rc3::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc3::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcActorSelect>(); } void Ifc4x3_rc3::IfcInventory::setJurisdiction(const ::Ifc4x3_rc3::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > Ifc4x3_rc3::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc3::IfcPerson>(es); } @@ -11471,16 +11471,16 @@ void Ifc4x3_rc3::IfcInventory::setCurrentValue(const ::Ifc4x3_rc3::IfcCostValue& void Ifc4x3_rc3::IfcInventory::setOriginalValue(const ::Ifc4x3_rc3::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc3::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[564]); } -void Ifc4x3_rc3::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc3::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc3::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc3::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc3::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[564]); } +void Ifc4x3_rc3::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc3::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc3::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc3::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc3::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x3_rc3::IfcIrregularTimeSeriesValue > Ifc4x3_rc3::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_rc3::IfcIrregularTimeSeriesValue>(es); } void Ifc4x3_rc3::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x3_rc3::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[567]); } -void Ifc4x3_rc3::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc3::IfcIrregularTimeSeriesValue > v9_Values) { 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_rc3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[567]); } +void Ifc4x3_rc3::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc3::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x3_rc3::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -11489,31 +11489,31 @@ std::vector< ::Ifc4x3_rc3::IfcValue > Ifc4x3_rc3::IfcIrregularTimeSeriesValue::L void Ifc4x3_rc3::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_rc3::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[568]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[568]); } void Ifc4x3_rc3::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_rc3::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value > Ifc4x3_rc3::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[571]); } -void Ifc4x3_rc3::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[571]); } +void Ifc4x3_rc3::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value Ifc4x3_rc3::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[572]); } -void Ifc4x3_rc3::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[572]); } +void Ifc4x3_rc3::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcKerb bool Ifc4x3_rc3::IfcKerb::Mountable() const { bool v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcKerb::setMountable(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcKerb::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[574]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcKerb::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[574]); } void Ifc4x3_rc3::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_Mountable)); } // Function implementations for IfcKerbType @@ -11521,7 +11521,7 @@ bool Ifc4x3_rc3::IfcKerbType::Mountable() const { bool v = get_attribute_value( void Ifc4x3_rc3::IfcKerbType::setMountable(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcKerbType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[575]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcKerbType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[575]); } void Ifc4x3_rc3::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_Mountable)); } // Function implementations for IfcLShapeProfileDef @@ -11539,50 +11539,50 @@ std::optional< double > Ifc4x3_rc3::IfcLShapeProfileDef::LegSlope() const { if(g void Ifc4x3_rc3::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[624]); } -void Ifc4x3_rc3::IfcLShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[624]); } +void Ifc4x3_rc3::IfcLShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value > Ifc4x3_rc3::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[579]); } -void Ifc4x3_rc3::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[579]); } +void Ifc4x3_rc3::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value Ifc4x3_rc3::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc3::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[580]); } -void Ifc4x3_rc3::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[580]); } +void Ifc4x3_rc3::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x3_rc3::IfcTimeOrRatioSelect Ifc4x3_rc3::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc3::IfcTimeOrRatioSelect>(); } void Ifc4x3_rc3::IfcLagTime::setLagValue(const ::Ifc4x3_rc3::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc3::IfcTaskDurationEnum::Value Ifc4x3_rc3::IfcLagTime::DurationType() const { return ::Ifc4x3_rc3::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc3::IfcLagTime::setDurationType(const ::Ifc4x3_rc3::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc3::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc3::IfcLagTime::setDurationType(const ::Ifc4x3_rc3::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc3::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[582]); } -void Ifc4x3_rc3::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc3::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc3::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[582]); } +void Ifc4x3_rc3::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc3::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc3::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x3_rc3::IfcLampTypeEnum::Value > Ifc4x3_rc3::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[583]); } -void Ifc4x3_rc3::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[583]); } +void Ifc4x3_rc3::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x3_rc3::IfcLampTypeEnum::Value Ifc4x3_rc3::IfcLampType::PredefinedType() const { return ::Ifc4x3_rc3::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcLampType::setPredefinedType(const ::Ifc4x3_rc3::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcLampType::setPredefinedType(const ::Ifc4x3_rc3::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[584]); } -void Ifc4x3_rc3::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[584]); } +void Ifc4x3_rc3::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x3_rc3::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11598,10 +11598,10 @@ void Ifc4x3_rc3::IfcLibraryInformation::setLocation(const std::optional< std::st std::optional< std::string > Ifc4x3_rc3::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc3::IfcRelAssociatesLibrary> Ifc4x3_rc3::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[919], 5)); } -std::vector<::Ifc4x3_rc3::IfcLibraryReference> Ifc4x3_rc3::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[591], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociatesLibrary> Ifc4x3_rc3::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[919], 5)); } +std::vector<::Ifc4x3_rc3::IfcLibraryReference> Ifc4x3_rc3::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[591], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[590]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[590]); } void Ifc4x3_rc3::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_rc3::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -11612,9 +11612,9 @@ void Ifc4x3_rc3::IfcLibraryReference::setLanguage(const std::optional< std::stri ::Ifc4x3_rc3::IfcLibraryInformation Ifc4x3_rc3::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc3::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc3::IfcLibraryInformation>(); } void Ifc4x3_rc3::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x3_rc3::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc3::IfcRelAssociatesLibrary> Ifc4x3_rc3::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[919], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociatesLibrary> Ifc4x3_rc3::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[919], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[591]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[591]); } void Ifc4x3_rc3::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_rc3::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -11626,34 +11626,34 @@ std::vector< double > /*[1:?]*/ Ifc4x3_rc3::IfcLightDistributionData::LuminousIn void Ifc4x3_rc3::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[594]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[594]); } void Ifc4x3_rc3::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value > Ifc4x3_rc3::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[597]); } -void Ifc4x3_rc3::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[597]); } +void Ifc4x3_rc3::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value Ifc4x3_rc3::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[598]); } -void Ifc4x3_rc3::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[598]); } +void Ifc4x3_rc3::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value Ifc4x3_rc3::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3_rc3::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc3::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc3::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x3_rc3::IfcLightDistributionData > Ifc4x3_rc3::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc3::IfcLightDistributionData>(es); } void Ifc4x3_rc3::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x3_rc3::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[600]); } -void Ifc4x3_rc3::IfcLightIntensityDistribution::initialize(::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc3::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[600]); } +void Ifc4x3_rc3::IfcLightIntensityDistribution::initialize(::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc3::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x3_rc3::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11666,13 +11666,13 @@ std::optional< double > Ifc4x3_rc3::IfcLightSource::Intensity() const { if(get_a void Ifc4x3_rc3::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[601]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[601]); } void Ifc4x3_rc3::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x3_rc3::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[602]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[602]); } void Ifc4x3_rc3::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -11680,7 +11680,7 @@ void Ifc4x3_rc3::IfcLightSourceAmbient::initialize(std::optional< std::string > void Ifc4x3_rc3::IfcLightSourceDirectional::setOrientation(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[603]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[603]); } void Ifc4x3_rc3::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc3::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -11693,13 +11693,13 @@ void Ifc4x3_rc3::IfcLightSourceGoniometric::setColourTemperature(const double& v double Ifc4x3_rc3::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value Ifc4x3_rc3::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x3_rc3::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc3::IfcLightDistributionDataSourceSelect Ifc4x3_rc3::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc3::IfcLightDistributionDataSourceSelect>(); } void Ifc4x3_rc3::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x3_rc3::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[604]); } -void Ifc4x3_rc3::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc3::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc3::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc3::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[604]); } +void Ifc4x3_rc3::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc3::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc3::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc3::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x3_rc3::IfcCartesianPoint Ifc4x3_rc3::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcCartesianPoint>(); } @@ -11714,7 +11714,7 @@ double Ifc4x3_rc3::IfcLightSourcePositional::QuadricAttenuation() const { doubl void Ifc4x3_rc3::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[605]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[605]); } void Ifc4x3_rc3::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -11728,7 +11728,7 @@ double Ifc4x3_rc3::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_ void Ifc4x3_rc3::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_rc3::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[606]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[606]); } void Ifc4x3_rc3::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_rc3::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -11738,13 +11738,13 @@ void Ifc4x3_rc3::IfcLine::setPnt(const ::Ifc4x3_rc3::IfcCartesianPoint& v) { set void Ifc4x3_rc3::IfcLine::setDir(const ::Ifc4x3_rc3::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcLine::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[607]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[607]); } void Ifc4x3_rc3::IfcLine::initialize(::Ifc4x3_rc3::IfcCartesianPoint v1_Pnt, ::Ifc4x3_rc3::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLinearElement -const IfcParse::entity& Ifc4x3_rc3::IfcLinearElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[608]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLinearElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[608]); } void Ifc4x3_rc3::IfcLinearElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLinearPlacement @@ -11754,43 +11754,43 @@ void Ifc4x3_rc3::IfcLinearPlacement::setRelativePlacement(const ::Ifc4x3_rc3::If void Ifc4x3_rc3::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[611]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[611]); } void Ifc4x3_rc3::IfcLinearPlacement::initialize(::Ifc4x3_rc3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc3::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_rc3::IfcAxis2Placement3D v3_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement));set_attribute_value(2, (v3_CartesianPosition)); } // Function implementations for IfcLinearPositioningElement -const IfcParse::entity& Ifc4x3_rc3::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[612]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[612]); } void Ifc4x3_rc3::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLiquidTerminal std::optional< ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value > Ifc4x3_rc3::IfcLiquidTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcLiquidTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[616]); } -void Ifc4x3_rc3::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLiquidTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[616]); } +void Ifc4x3_rc3::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLiquidTerminalType ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value Ifc4x3_rc3::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcLiquidTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[617]); } -void Ifc4x3_rc3::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLiquidTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[617]); } +void Ifc4x3_rc3::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLocalPlacement ::Ifc4x3_rc3::IfcAxis2Placement Ifc4x3_rc3::IfcLocalPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcAxis2Placement>(); } void Ifc4x3_rc3::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x3_rc3::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[620]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[620]); } void Ifc4x3_rc3::IfcLocalPlacement::initialize(::Ifc4x3_rc3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc3::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x3_rc3::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[623]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[623]); } void Ifc4x3_rc3::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -11798,7 +11798,7 @@ void Ifc4x3_rc3::IfcLoop::initialize() { } void Ifc4x3_rc3::IfcManifoldSolidBrep::setOuter(const ::Ifc4x3_rc3::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[630]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[630]); } void Ifc4x3_rc3::IfcManifoldSolidBrep::initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -11820,7 +11820,7 @@ std::optional< double > Ifc4x3_rc3::IfcMapConversion::ScaleZ() const { if(get_at void Ifc4x3_rc3::IfcMapConversion::setScaleZ(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[631]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[631]); } void Ifc4x3_rc3::IfcMapConversion::initialize(::Ifc4x3_rc3::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc3::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, std::optional< double > v9_ScaleY, std::optional< double > v10_ScaleZ) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } if (v9_ScaleY) {set_attribute_value(8, (*v9_ScaleY)); } if (v10_ScaleZ) {set_attribute_value(9, (*v10_ScaleZ)); } } // Function implementations for IfcMappedItem @@ -11830,16 +11830,16 @@ void Ifc4x3_rc3::IfcMappedItem::setMappingSource(const ::Ifc4x3_rc3::IfcRepresen void Ifc4x3_rc3::IfcMappedItem::setMappingTarget(const ::Ifc4x3_rc3::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[632]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[632]); } void Ifc4x3_rc3::IfcMappedItem::initialize(::Ifc4x3_rc3::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_rc3::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMarineFacility std::optional< ::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value > Ifc4x3_rc3::IfcMarineFacility::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMarineFacility::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[633]); } -void Ifc4x3_rc3::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMarineFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[633]); } +void Ifc4x3_rc3::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcMaterial std::string Ifc4x3_rc3::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11849,11 +11849,11 @@ void Ifc4x3_rc3::IfcMaterial::setDescription(const std::optional< std::string >& std::optional< std::string > Ifc4x3_rc3::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc3::IfcMaterialDefinitionRepresentation> Ifc4x3_rc3::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[645], 3)); } -std::vector<::Ifc4x3_rc3::IfcMaterialRelationship> Ifc4x3_rc3::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[657], 3)); } -std::vector<::Ifc4x3_rc3::IfcMaterialRelationship> Ifc4x3_rc3::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[657], 2)); } +std::vector<::Ifc4x3_rc3::IfcMaterialDefinitionRepresentation> Ifc4x3_rc3::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[645], 3)); } +std::vector<::Ifc4x3_rc3::IfcMaterialRelationship> Ifc4x3_rc3::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[657], 3)); } +std::vector<::Ifc4x3_rc3::IfcMaterialRelationship> Ifc4x3_rc3::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[657], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[640]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[640]); } void Ifc4x3_rc3::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -11863,7 +11863,7 @@ void Ifc4x3_rc3::IfcMaterialClassificationRelationship::setMaterialClassificatio void Ifc4x3_rc3::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x3_rc3::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[641]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[641]); } void Ifc4x3_rc3::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x3_rc3::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_rc3::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -11878,9 +11878,9 @@ void Ifc4x3_rc3::IfcMaterialConstituent::setFraction(const std::optional< double std::optional< std::string > Ifc4x3_rc3::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc3::IfcMaterialConstituentSet> Ifc4x3_rc3::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[643], 2)); } +std::vector<::Ifc4x3_rc3::IfcMaterialConstituentSet> Ifc4x3_rc3::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[643], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[642]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[642]); } void Ifc4x3_rc3::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -11892,16 +11892,16 @@ std::optional< std::vector< ::Ifc4x3_rc3::IfcMaterialConstituent > > Ifc4x3_rc3: void Ifc4x3_rc3::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_rc3::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[643]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[643]); } void Ifc4x3_rc3::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x3_rc3::IfcRelAssociatesMaterial> Ifc4x3_rc3::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[920], 5)); } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -std::vector<::Ifc4x3_rc3::IfcMaterialProperties> Ifc4x3_rc3::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[656], 3)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociatesMaterial> Ifc4x3_rc3::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[920], 5)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcMaterialProperties> Ifc4x3_rc3::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[656], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[644]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[644]); } void Ifc4x3_rc3::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -11909,7 +11909,7 @@ void Ifc4x3_rc3::IfcMaterialDefinition::initialize() { } void Ifc4x3_rc3::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x3_rc3::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[645]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[645]); } void Ifc4x3_rc3::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcRepresentation > v3_Representations, ::Ifc4x3_rc3::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -11928,9 +11928,9 @@ void Ifc4x3_rc3::IfcMaterialLayer::setCategory(const std::optional< std::string std::optional< int > Ifc4x3_rc3::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc3::IfcMaterialLayerSet> Ifc4x3_rc3::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[647], 0)); } +std::vector<::Ifc4x3_rc3::IfcMaterialLayerSet> Ifc4x3_rc3::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[647], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[646]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[646]); } void Ifc4x3_rc3::IfcMaterialLayer::initialize(::Ifc4x3_rc3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -11942,41 +11942,41 @@ std::optional< std::string > Ifc4x3_rc3::IfcMaterialLayerSet::Description() cons void Ifc4x3_rc3::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[647]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[647]); } void Ifc4x3_rc3::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x3_rc3::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x3_rc3::IfcMaterialLayerSet Ifc4x3_rc3::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcMaterialLayerSet>(); } void Ifc4x3_rc3::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x3_rc3::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value Ifc4x3_rc3::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc3::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc3::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc3::IfcDirectionSenseEnum::Value Ifc4x3_rc3::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x3_rc3::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc3::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_rc3::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc3::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc3::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_rc3::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc3::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x3_rc3::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x3_rc3::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x3_rc3::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[648]); } -void Ifc4x3_rc3::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_rc3::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc3::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[648]); } +void Ifc4x3_rc3::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_rc3::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc3::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value Ifc4x3_rc3::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc3::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x3_rc3::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[649]); } -void Ifc4x3_rc3::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_rc3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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_rc3::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[649]); } +void Ifc4x3_rc3::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_rc3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x3_rc3::IfcMaterial > Ifc4x3_rc3::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcMaterial>(es); } void Ifc4x3_rc3::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x3_rc3::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[650]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[650]); } void Ifc4x3_rc3::IfcMaterialList::initialize(std::vector< ::Ifc4x3_rc3::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -11993,9 +11993,9 @@ void Ifc4x3_rc3::IfcMaterialProfile::setPriority(const std::optional< int >& v) std::optional< std::string > Ifc4x3_rc3::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc3::IfcMaterialProfileSet> Ifc4x3_rc3::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[652], 2)); } +std::vector<::Ifc4x3_rc3::IfcMaterialProfileSet> Ifc4x3_rc3::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[652], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[651]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[651]); } void Ifc4x3_rc3::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMaterial v3_Material, ::Ifc4x3_rc3::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -12009,7 +12009,7 @@ void Ifc4x3_rc3::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< : void Ifc4x3_rc3::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x3_rc3::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[652]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[652]); } void Ifc4x3_rc3::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_rc3::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -12021,7 +12021,7 @@ std::optional< double > Ifc4x3_rc3::IfcMaterialProfileSetUsage::ReferenceExtent( void Ifc4x3_rc3::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[653]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[653]); } void Ifc4x3_rc3::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_rc3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -12031,7 +12031,7 @@ std::optional< int > Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::CardinalEnd void Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[654]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[654]); } void Ifc4x3_rc3::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_rc3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc3::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -12039,7 +12039,7 @@ std::vector< double > /*[1:2]*/ Ifc4x3_rc3::IfcMaterialProfileWithOffsets::Offse void Ifc4x3_rc3::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[655]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[655]); } void Ifc4x3_rc3::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMaterial v3_Material, ::Ifc4x3_rc3::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -12047,7 +12047,7 @@ void Ifc4x3_rc3::IfcMaterialProfileWithOffsets::initialize(std::optional< std::s void Ifc4x3_rc3::IfcMaterialProperties::setMaterial(const ::Ifc4x3_rc3::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[656]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[656]); } void Ifc4x3_rc3::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcProperty > v3_Properties, ::Ifc4x3_rc3::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -12059,14 +12059,14 @@ std::optional< std::string > Ifc4x3_rc3::IfcMaterialRelationship::Expression() c void Ifc4x3_rc3::IfcMaterialRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[657]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[657]); } void Ifc4x3_rc3::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_rc3::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x3_rc3::IfcRelAssociatesMaterial> Ifc4x3_rc3::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[920], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociatesMaterial> Ifc4x3_rc3::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[920], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[659]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[659]); } void Ifc4x3_rc3::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -12076,7 +12076,7 @@ void Ifc4x3_rc3::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x3_rc3::IfcVa void Ifc4x3_rc3::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x3_rc3::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[661]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[661]); } void Ifc4x3_rc3::IfcMeasureWithUnit::initialize(::Ifc4x3_rc3::IfcValue v1_ValueComponent, ::Ifc4x3_rc3::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -12085,65 +12085,65 @@ void Ifc4x3_rc3::IfcMechanicalFastener::setNominalDiameter(const std::optional< std::optional< double > Ifc4x3_rc3::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value > Ifc4x3_rc3::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[662]); } -void Ifc4x3_rc3::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[662]); } +void Ifc4x3_rc3::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_rc3::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc3::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc3::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc3::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[663]); } -void Ifc4x3_rc3::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[663]); } +void Ifc4x3_rc3::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value > Ifc4x3_rc3::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[665]); } -void Ifc4x3_rc3::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[665]); } +void Ifc4x3_rc3::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value Ifc4x3_rc3::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[666]); } -void Ifc4x3_rc3::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[666]); } +void Ifc4x3_rc3::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value > Ifc4x3_rc3::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMember::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[668]); } -void Ifc4x3_rc3::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[668]); } +void Ifc4x3_rc3::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberStandardCase -const IfcParse::entity& Ifc4x3_rc3::IfcMemberStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[669]); } -void Ifc4x3_rc3::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMemberStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[669]); } +void Ifc4x3_rc3::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x3_rc3::IfcMemberTypeEnum::Value Ifc4x3_rc3::IfcMemberType::PredefinedType() const { return ::Ifc4x3_rc3::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcMemberType::setPredefinedType(const ::Ifc4x3_rc3::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcMemberType::setPredefinedType(const ::Ifc4x3_rc3::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[670]); } -void Ifc4x3_rc3::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[670]); } +void Ifc4x3_rc3::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x3_rc3::IfcBenchmarkEnum::Value Ifc4x3_rc3::IfcMetric::Benchmark() const { return ::Ifc4x3_rc3::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcMetric::setBenchmark(const ::Ifc4x3_rc3::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc3::IfcMetric::setBenchmark(const ::Ifc4x3_rc3::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_rc3::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x3_rc3::IfcMetricValueSelect Ifc4x3_rc3::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_rc3::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc3::IfcMetricValueSelect>(); } @@ -12152,159 +12152,159 @@ void Ifc4x3_rc3::IfcMetric::setDataValue(const ::Ifc4x3_rc3::IfcMetricValueSelec void Ifc4x3_rc3::IfcMetric::setReferencePath(const ::Ifc4x3_rc3::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc3::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[672]); } -void Ifc4x3_rc3::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc3::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc3::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc3::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[672]); } +void Ifc4x3_rc3::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc3::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc3::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc3::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x3_rc3::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[674]); } -void Ifc4x3_rc3::IfcMirroredProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[674]); } +void Ifc4x3_rc3::IfcMirroredProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMobileTelecommunicationsAppliance std::optional< ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3_rc3::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMobileTelecommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[675]); } -void Ifc4x3_rc3::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMobileTelecommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[675]); } +void Ifc4x3_rc3::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMobileTelecommunicationsApplianceType ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[676]); } -void Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[676]); } +void Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMonetaryUnit std::string Ifc4x3_rc3::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc3::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[689]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[689]); } void Ifc4x3_rc3::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMooringDevice std::optional< ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value > Ifc4x3_rc3::IfcMooringDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMooringDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[691]); } -void Ifc4x3_rc3::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMooringDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[691]); } +void Ifc4x3_rc3::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMooringDeviceType ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value Ifc4x3_rc3::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcMooringDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[692]); } -void Ifc4x3_rc3::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMooringDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[692]); } +void Ifc4x3_rc3::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value > Ifc4x3_rc3::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[694]); } -void Ifc4x3_rc3::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[694]); } +void Ifc4x3_rc3::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value Ifc4x3_rc3::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[695]); } -void Ifc4x3_rc3::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[695]); } +void Ifc4x3_rc3::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x3_rc3::IfcDimensionalExponents Ifc4x3_rc3::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcDimensionalExponents>(); } void Ifc4x3_rc3::IfcNamedUnit::setDimensions(const ::Ifc4x3_rc3::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc3::IfcUnitEnum::Value Ifc4x3_rc3::IfcNamedUnit::UnitType() const { return ::Ifc4x3_rc3::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc3::IfcNamedUnit::setUnitType(const ::Ifc4x3_rc3::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc3::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc3::IfcNamedUnit::setUnitType(const ::Ifc4x3_rc3::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc3::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[697]); } -void Ifc4x3_rc3::IfcNamedUnit::initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[697]); } +void Ifc4x3_rc3::IfcNamedUnit::initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcNavigationElement std::optional< ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value > Ifc4x3_rc3::IfcNavigationElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcNavigationElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[698]); } -void Ifc4x3_rc3::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcNavigationElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[698]); } +void Ifc4x3_rc3::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcNavigationElementType ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value Ifc4x3_rc3::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcNavigationElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[699]); } -void Ifc4x3_rc3::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcNavigationElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[699]); } +void Ifc4x3_rc3::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x3_rc3::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc3::IfcRelDefinesByObject> Ifc4x3_rc3::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[938], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelDefinesByObject> Ifc4x3_rc3::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[938], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelDefinesByType> Ifc4x3_rc3::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[941], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelDefinesByProperties> Ifc4x3_rc3::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[939], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelDefinesByObject> Ifc4x3_rc3::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[938], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelDefinesByObject> Ifc4x3_rc3::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[938], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelDefinesByType> Ifc4x3_rc3::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[941], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelDefinesByProperties> Ifc4x3_rc3::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[939], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcObject::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[704]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[704]); } void Ifc4x3_rc3::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x3_rc3::IfcRelAssigns> Ifc4x3_rc3::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[906], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelNests> Ifc4x3_rc3::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[945], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelNests> Ifc4x3_rc3::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[945], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelDeclares> Ifc4x3_rc3::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[935], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelAggregates> Ifc4x3_rc3::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[905], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelAggregates> Ifc4x3_rc3::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[905], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelAssociates> Ifc4x3_rc3::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[914], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelAssigns> Ifc4x3_rc3::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[906], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelNests> Ifc4x3_rc3::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[945], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelNests> Ifc4x3_rc3::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[945], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelDeclares> Ifc4x3_rc3::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[935], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelAggregates> Ifc4x3_rc3::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[905], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelAggregates> Ifc4x3_rc3::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[905], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociates> Ifc4x3_rc3::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[914], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[705]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[705]); } void Ifc4x3_rc3::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement ::Ifc4x3_rc3::IfcObjectPlacement Ifc4x3_rc3::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_rc3::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcObjectPlacement>(); } void Ifc4x3_rc3::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x3_rc3::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc3::IfcProduct> Ifc4x3_rc3::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[808], 5)); } +std::vector<::Ifc4x3_rc3::IfcProduct> Ifc4x3_rc3::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[808], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[708]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[708]); } void Ifc4x3_rc3::IfcObjectPlacement::initialize(::Ifc4x3_rc3::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo)); } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x3_rc3::IfcConstraint > > Ifc4x3_rc3::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc3::IfcConstraint>(es); } void Ifc4x3_rc3::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x3_rc3::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc3::IfcLogicalOperatorEnum::Value > Ifc4x3_rc3::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_rc3::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_rc3::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x3_rc3::IfcObjectiveEnum::Value Ifc4x3_rc3::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x3_rc3::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_rc3::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_rc3::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc3::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[706]); } -void Ifc4x3_rc3::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc3::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc3::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc3::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[706]); } +void Ifc4x3_rc3::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc3::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc3::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc3::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x3_rc3::IfcOccupantTypeEnum::Value > Ifc4x3_rc3::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc3::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc3::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc3::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc3::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[711]); } -void Ifc4x3_rc3::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc3::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc3::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[711]); } +void Ifc4x3_rc3::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc3::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc3::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x3_rc3::IfcCurve Ifc4x3_rc3::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcCurve>(); } void Ifc4x3_rc3::IfcOffsetCurve::setBasisCurve(const ::Ifc4x3_rc3::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[713]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[713]); } void Ifc4x3_rc3::IfcOffsetCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -12314,7 +12314,7 @@ boost::logic::tribool Ifc4x3_rc3::IfcOffsetCurve2D::SelfIntersect() const { boo void Ifc4x3_rc3::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[714]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[714]); } void Ifc4x3_rc3::IfcOffsetCurve2D::initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -12326,7 +12326,7 @@ void Ifc4x3_rc3::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& void Ifc4x3_rc3::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[715]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[715]); } void Ifc4x3_rc3::IfcOffsetCurve3D::initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_rc3::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -12336,7 +12336,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcOffsetCurveByDistances::Tag() const void Ifc4x3_rc3::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[716]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[716]); } void Ifc4x3_rc3::IfcOffsetCurveByDistances::initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc3::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenCrossProfileDef @@ -12350,29 +12350,29 @@ std::optional< std::vector< std::string > /*[2:?]*/ > Ifc4x3_rc3::IfcOpenCrossPr void Ifc4x3_rc3::IfcOpenCrossProfileDef::setTags(const std::optional< std::vector< std::string > /*[2:?]*/ >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc3::IfcOpenCrossProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[717]); } -void Ifc4x3_rc3::IfcOpenCrossProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOpenCrossProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[717]); } +void Ifc4x3_rc3::IfcOpenCrossProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x3_rc3::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[721]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[721]); } void Ifc4x3_rc3::IfcOpenShell::initialize(std::vector< ::Ifc4x3_rc3::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value > Ifc4x3_rc3::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc3::IfcRelFillsElement> Ifc4x3_rc3::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[942], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelFillsElement> Ifc4x3_rc3::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[942], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[718]); } -void Ifc4x3_rc3::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[718]); } +void Ifc4x3_rc3::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOpeningStandardCase -const IfcParse::entity& Ifc4x3_rc3::IfcOpeningStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[720]); } -void Ifc4x3_rc3::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOpeningStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[720]); } +void Ifc4x3_rc3::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x3_rc3::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12386,11 +12386,11 @@ void Ifc4x3_rc3::IfcOrganization::setRoles(const std::optional< std::vector< ::I std::optional< std::vector< ::Ifc4x3_rc3::IfcAddress > > Ifc4x3_rc3::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc3::IfcAddress>(es); } void Ifc4x3_rc3::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x3_rc3::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc3::IfcOrganizationRelationship> Ifc4x3_rc3::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[723], 3)); } -std::vector<::Ifc4x3_rc3::IfcOrganizationRelationship> Ifc4x3_rc3::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[723], 2)); } -std::vector<::Ifc4x3_rc3::IfcPersonAndOrganization> Ifc4x3_rc3::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[744], 1)); } +std::vector<::Ifc4x3_rc3::IfcOrganizationRelationship> Ifc4x3_rc3::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[723], 3)); } +std::vector<::Ifc4x3_rc3::IfcOrganizationRelationship> Ifc4x3_rc3::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[723], 2)); } +std::vector<::Ifc4x3_rc3::IfcPersonAndOrganization> Ifc4x3_rc3::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[744], 1)); } -const IfcParse::entity& Ifc4x3_rc3::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[722]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[722]); } void Ifc4x3_rc3::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_rc3::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -12400,7 +12400,7 @@ std::vector< ::Ifc4x3_rc3::IfcOrganization > Ifc4x3_rc3::IfcOrganizationRelation void Ifc4x3_rc3::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x3_rc3::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[723]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[723]); } void Ifc4x3_rc3::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_rc3::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientedEdge @@ -12410,30 +12410,30 @@ bool Ifc4x3_rc3::IfcOrientedEdge::Orientation() const { bool v = get_attribute_ void Ifc4x3_rc3::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[724]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[724]); } void Ifc4x3_rc3::IfcOrientedEdge::initialize(::Ifc4x3_rc3::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x3_rc3::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[725]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[725]); } void Ifc4x3_rc3::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x3_rc3::IfcOutletTypeEnum::Value > Ifc4x3_rc3::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[726]); } -void Ifc4x3_rc3::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[726]); } +void Ifc4x3_rc3::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x3_rc3::IfcOutletTypeEnum::Value Ifc4x3_rc3::IfcOutletType::PredefinedType() const { return ::Ifc4x3_rc3::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcOutletType::setPredefinedType(const ::Ifc4x3_rc3::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcOutletType::setPredefinedType(const ::Ifc4x3_rc3::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[727]); } -void Ifc4x3_rc3::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[727]); } +void Ifc4x3_rc3::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x3_rc3::IfcPersonAndOrganization Ifc4x3_rc3::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcPersonAndOrganization>(); } @@ -12441,9 +12441,9 @@ void Ifc4x3_rc3::IfcOwnerHistory::setOwningUser(const ::Ifc4x3_rc3::IfcPersonAnd ::Ifc4x3_rc3::IfcApplication Ifc4x3_rc3::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcApplication>(); } void Ifc4x3_rc3::IfcOwnerHistory::setOwningApplication(const ::Ifc4x3_rc3::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > Ifc4x3_rc3::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc3::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc3::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x3_rc3::IfcChangeActionEnum::Value > Ifc4x3_rc3::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc3::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_rc3::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc3::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_rc3::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_rc3::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc3::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x3_rc3::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_rc3::IfcPersonAndOrganization Ifc4x3_rc3::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc3::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc3::IfcPersonAndOrganization>(); } @@ -12454,40 +12454,40 @@ int Ifc4x3_rc3::IfcOwnerHistory::CreationDate() const { int v = get_attribute_v void Ifc4x3_rc3::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc3::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[729]); } -void Ifc4x3_rc3::IfcOwnerHistory::initialize(::Ifc4x3_rc3::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc3::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc3::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc3::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc3::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[729]); } +void Ifc4x3_rc3::IfcOwnerHistory::initialize(::Ifc4x3_rc3::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc3::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc3::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc3::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc3::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x3_rc3::IfcAxis2Placement2D Ifc4x3_rc3::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc3::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcAxis2Placement2D>(); } void Ifc4x3_rc3::IfcParameterizedProfileDef::setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[730]); } -void Ifc4x3_rc3::IfcParameterizedProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[730]); } +void Ifc4x3_rc3::IfcParameterizedProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x3_rc3::IfcOrientedEdge > Ifc4x3_rc3::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcOrientedEdge>(es); } void Ifc4x3_rc3::IfcPath::setEdgeList(const std::vector< ::Ifc4x3_rc3::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcPath::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[732]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[732]); } void Ifc4x3_rc3::IfcPath::initialize(std::vector< ::Ifc4x3_rc3::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPavement std::optional< ::Ifc4x3_rc3::IfcPavementTypeEnum::Value > Ifc4x3_rc3::IfcPavement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPavementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPavement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[733]); } -void Ifc4x3_rc3::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPavement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[733]); } +void Ifc4x3_rc3::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPavementType ::Ifc4x3_rc3::IfcPavementTypeEnum::Value Ifc4x3_rc3::IfcPavementType::PredefinedType() const { return ::Ifc4x3_rc3::IfcPavementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcPavementType::setPredefinedType(const ::Ifc4x3_rc3::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcPavementType::setPredefinedType(const ::Ifc4x3_rc3::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcPavementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[734]); } -void Ifc4x3_rc3::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPavementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[734]); } +void Ifc4x3_rc3::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPcurve ::Ifc4x3_rc3::IfcSurface Ifc4x3_rc3::IfcPcurve::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcSurface>(); } @@ -12496,24 +12496,24 @@ void Ifc4x3_rc3::IfcPcurve::setBasisSurface(const ::Ifc4x3_rc3::IfcSurface& v) { void Ifc4x3_rc3::IfcPcurve::setReferenceCurve(const ::Ifc4x3_rc3::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[736]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[736]); } void Ifc4x3_rc3::IfcPcurve::initialize(::Ifc4x3_rc3::IfcSurface v1_BasisSurface, ::Ifc4x3_rc3::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x3_rc3::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value > Ifc4x3_rc3::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc3::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[737]); } -void Ifc4x3_rc3::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[737]); } +void Ifc4x3_rc3::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value Ifc4x3_rc3::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc3::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc3::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value Ifc4x3_rc3::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc3::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc3::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_rc3::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -12522,20 +12522,20 @@ void Ifc4x3_rc3::IfcPermeableCoveringProperties::setFrameThickness(const std::op void Ifc4x3_rc3::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x3_rc3::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[740]); } -void Ifc4x3_rc3::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::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)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[740]); } +void Ifc4x3_rc3::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x3_rc3::IfcPermitTypeEnum::Value > Ifc4x3_rc3::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc3::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc3::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc3::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc3::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc3::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc3::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[741]); } -void Ifc4x3_rc3::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[741]); } +void Ifc4x3_rc3::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x3_rc3::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12555,9 +12555,9 @@ void Ifc4x3_rc3::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x3_ std::optional< std::vector< ::Ifc4x3_rc3::IfcAddress > > Ifc4x3_rc3::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc3::IfcAddress>(es); } void Ifc4x3_rc3::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x3_rc3::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc3::IfcPersonAndOrganization> Ifc4x3_rc3::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[744], 0)); } +std::vector<::Ifc4x3_rc3::IfcPersonAndOrganization> Ifc4x3_rc3::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[744], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[743]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[743]); } void Ifc4x3_rc3::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_rc3::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -12569,7 +12569,7 @@ std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > > Ifc4x3_rc3::IfcPerson void Ifc4x3_rc3::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[744]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[744]); } void Ifc4x3_rc3::IfcPersonAndOrganization::initialize(::Ifc4x3_rc3::IfcPerson v1_ThePerson, ::Ifc4x3_rc3::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -12583,7 +12583,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcPhysicalComplexQuantity::Usage() con void Ifc4x3_rc3::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[746]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[746]); } void Ifc4x3_rc3::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -12592,10 +12592,10 @@ void Ifc4x3_rc3::IfcPhysicalQuantity::setName(const std::string& v) { set_attrib std::optional< std::string > Ifc4x3_rc3::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -std::vector<::Ifc4x3_rc3::IfcPhysicalComplexQuantity> Ifc4x3_rc3::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[746], 2)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcPhysicalComplexQuantity> Ifc4x3_rc3::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[746], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[748]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[748]); } void Ifc4x3_rc3::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -12603,58 +12603,58 @@ void Ifc4x3_rc3::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optio void Ifc4x3_rc3::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x3_rc3::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[749]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[749]); } void Ifc4x3_rc3::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x3_rc3::IfcPileTypeEnum::Value > Ifc4x3_rc3::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc3::IfcPileConstructionEnum::Value > Ifc4x3_rc3::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_rc3::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_rc3::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPile::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[750]); } -void Ifc4x3_rc3::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[750]); } +void Ifc4x3_rc3::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x3_rc3::IfcPileTypeEnum::Value Ifc4x3_rc3::IfcPileType::PredefinedType() const { return ::Ifc4x3_rc3::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcPileType::setPredefinedType(const ::Ifc4x3_rc3::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcPileType::setPredefinedType(const ::Ifc4x3_rc3::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[752]); } -void Ifc4x3_rc3::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[752]); } +void Ifc4x3_rc3::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value > Ifc4x3_rc3::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[754]); } -void Ifc4x3_rc3::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[754]); } +void Ifc4x3_rc3::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value Ifc4x3_rc3::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[755]); } -void Ifc4x3_rc3::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[755]); } +void Ifc4x3_rc3::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value > Ifc4x3_rc3::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[757]); } -void Ifc4x3_rc3::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[757]); } +void Ifc4x3_rc3::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value Ifc4x3_rc3::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[758]); } -void Ifc4x3_rc3::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[758]); } +void Ifc4x3_rc3::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x3_rc3::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -12667,7 +12667,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_rc3::IfcPixelTexture::Pi void Ifc4x3_rc3::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[760]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[760]); } void Ifc4x3_rc3::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -12675,7 +12675,7 @@ void Ifc4x3_rc3::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, s void Ifc4x3_rc3::IfcPlacement::setLocation(const ::Ifc4x3_rc3::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[761]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[761]); } void Ifc4x3_rc3::IfcPlacement::initialize(::Ifc4x3_rc3::IfcPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -12683,7 +12683,7 @@ void Ifc4x3_rc3::IfcPlacement::initialize(::Ifc4x3_rc3::IfcPoint v1_Location) { void Ifc4x3_rc3::IfcPlanarBox::setPlacement(const ::Ifc4x3_rc3::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[762]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[762]); } void Ifc4x3_rc3::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_rc3::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -12693,47 +12693,47 @@ double Ifc4x3_rc3::IfcPlanarExtent::SizeInY() const { double v = get_attribute_ void Ifc4x3_rc3::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[763]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[763]); } void Ifc4x3_rc3::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x3_rc3::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[765]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[765]); } void Ifc4x3_rc3::IfcPlane::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlant -const IfcParse::entity& Ifc4x3_rc3::IfcPlant::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[767]); } -void Ifc4x3_rc3::IfcPlant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPlant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[767]); } +void Ifc4x3_rc3::IfcPlant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlate std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value > Ifc4x3_rc3::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[768]); } -void Ifc4x3_rc3::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[768]); } +void Ifc4x3_rc3::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateStandardCase -const IfcParse::entity& Ifc4x3_rc3::IfcPlateStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[769]); } -void Ifc4x3_rc3::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPlateStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[769]); } +void Ifc4x3_rc3::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x3_rc3::IfcPlateTypeEnum::Value Ifc4x3_rc3::IfcPlateType::PredefinedType() const { return ::Ifc4x3_rc3::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcPlateType::setPredefinedType(const ::Ifc4x3_rc3::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcPlateType::setPredefinedType(const ::Ifc4x3_rc3::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[770]); } -void Ifc4x3_rc3::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[770]); } +void Ifc4x3_rc3::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x3_rc3::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[772]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[772]); } void Ifc4x3_rc3::IfcPoint::initialize() { } // Function implementations for IfcPointByDistanceExpression @@ -12749,7 +12749,7 @@ void Ifc4x3_rc3::IfcPointByDistanceExpression::setOffsetLongitudinal(const std:: void Ifc4x3_rc3::IfcPointByDistanceExpression::setBasisCurve(const ::Ifc4x3_rc3::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcPointByDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[773]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPointByDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[773]); } void Ifc4x3_rc3::IfcPointByDistanceExpression::initialize(::Ifc4x3_rc3::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_rc3::IfcCurve v5_BasisCurve) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } // Function implementations for IfcPointOnCurve @@ -12759,7 +12759,7 @@ double Ifc4x3_rc3::IfcPointOnCurve::PointParameter() const { double v = get_att void Ifc4x3_rc3::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[774]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[774]); } void Ifc4x3_rc3::IfcPointOnCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -12771,7 +12771,7 @@ double Ifc4x3_rc3::IfcPointOnSurface::PointParameterV() const { double v = get_ void Ifc4x3_rc3::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[775]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[775]); } void Ifc4x3_rc3::IfcPointOnSurface::initialize(::Ifc4x3_rc3::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -12779,7 +12779,7 @@ std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > Ifc4x3_rc3::IfcPolyLoop::Polygon( void Ifc4x3_rc3::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x3_rc3::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[780]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[780]); } void Ifc4x3_rc3::IfcPolyLoop::initialize(std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -12789,7 +12789,7 @@ void Ifc4x3_rc3::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x3_rc3::I void Ifc4x3_rc3::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x3_rc3::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[777]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[777]); } void Ifc4x3_rc3::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x3_rc3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc3::IfcAxis2Placement3D v3_Position, ::Ifc4x3_rc3::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -12801,7 +12801,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc3::IfcPolygonalFaceSet::P void Ifc4x3_rc3::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[778]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[778]); } void Ifc4x3_rc3::IfcPolygonalFaceSet::initialize(::Ifc4x3_rc3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc3::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -12809,7 +12809,7 @@ std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > Ifc4x3_rc3::IfcPolyline::Points() void Ifc4x3_rc3::IfcPolyline::setPoints(const std::vector< ::Ifc4x3_rc3::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[779]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[779]); } void Ifc4x3_rc3::IfcPolyline::initialize(std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPolynomialCurve @@ -12823,24 +12823,24 @@ std::optional< std::vector< double > /*[2:?]*/ > Ifc4x3_rc3::IfcPolynomialCurve: void Ifc4x3_rc3::IfcPolynomialCurve::setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPolynomialCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[781]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPolynomialCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[781]); } void Ifc4x3_rc3::IfcPolynomialCurve::initialize(::Ifc4x3_rc3::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ) { set_attribute_value(0, (v1_Position)); 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)); } } // Function implementations for IfcPort -std::vector<::Ifc4x3_rc3::IfcRelConnectsPortToElement> Ifc4x3_rc3::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[927], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelConnectsPorts> Ifc4x3_rc3::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[926], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelConnectsPorts> Ifc4x3_rc3::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[926], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsPortToElement> Ifc4x3_rc3::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[927], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsPorts> Ifc4x3_rc3::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[926], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsPorts> Ifc4x3_rc3::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[926], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcPort::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[782]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[782]); } void Ifc4x3_rc3::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x3_rc3::IfcRelContainedInSpatialStructure> Ifc4x3_rc3::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[932], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelPositions> Ifc4x3_rc3::IfcPositioningElement::Positions() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[946], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelContainedInSpatialStructure> Ifc4x3_rc3::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[932], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelPositions> Ifc4x3_rc3::IfcPositioningElement::Positions() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[946], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[783]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[783]); } void Ifc4x3_rc3::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -12860,19 +12860,19 @@ std::optional< std::string > Ifc4x3_rc3::IfcPostalAddress::Country() const { if( void Ifc4x3_rc3::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[788]); } -void Ifc4x3_rc3::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[788]); } +void Ifc4x3_rc3::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x3_rc3::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[790]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[790]); } void Ifc4x3_rc3::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_rc3::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[791]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[791]); } void Ifc4x3_rc3::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -12880,31 +12880,31 @@ std::string Ifc4x3_rc3::IfcPreDefinedItem::Name() const { std::string v = get_a void Ifc4x3_rc3::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[792]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[792]); } void Ifc4x3_rc3::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x3_rc3::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[793]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[793]); } void Ifc4x3_rc3::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x3_rc3::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[794]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[794]); } void Ifc4x3_rc3::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x3_rc3::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[795]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[795]); } void Ifc4x3_rc3::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x3_rc3::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[798]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[798]); } void Ifc4x3_rc3::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -12918,7 +12918,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcPresentationLayerAssignment::Identif void Ifc4x3_rc3::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[799]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[799]); } void Ifc4x3_rc3::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -12932,7 +12932,7 @@ std::vector< ::Ifc4x3_rc3::IfcPresentationStyle > Ifc4x3_rc3::IfcPresentationLay void Ifc4x3_rc3::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x3_rc3::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc3::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[800]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[800]); } void Ifc4x3_rc3::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_rc3::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -12940,24 +12940,24 @@ std::optional< std::string > Ifc4x3_rc3::IfcPresentationStyle::Name() const { if void Ifc4x3_rc3::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[801]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[801]); } void Ifc4x3_rc3::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcProcedure std::optional< ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value > Ifc4x3_rc3::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc3::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc3::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[803]); } -void Ifc4x3_rc3::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[803]); } +void Ifc4x3_rc3::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value Ifc4x3_rc3::IfcProcedureType::PredefinedType() const { return ::Ifc4x3_rc3::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcProcedureType::setPredefinedType(const ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcProcedureType::setPredefinedType(const ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[804]); } -void Ifc4x3_rc3::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc3::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[804]); } +void Ifc4x3_rc3::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc3::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x3_rc3::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -12965,11 +12965,11 @@ void Ifc4x3_rc3::IfcProcess::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_rc3::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc3::IfcRelSequence> Ifc4x3_rc3::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[949], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelSequence> Ifc4x3_rc3::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[949], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelAssignsToProcess> Ifc4x3_rc3::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[911], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelSequence> Ifc4x3_rc3::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[949], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelSequence> Ifc4x3_rc3::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[949], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelAssignsToProcess> Ifc4x3_rc3::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[911], 6)); } -const IfcParse::entity& Ifc4x3_rc3::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[806]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[806]); } void Ifc4x3_rc3::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -12978,19 +12978,19 @@ void Ifc4x3_rc3::IfcProduct::setObjectPlacement(const ::Ifc4x3_rc3::IfcObjectPla ::Ifc4x3_rc3::IfcProductRepresentation Ifc4x3_rc3::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc3::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcProductRepresentation>(); } void Ifc4x3_rc3::IfcProduct::setRepresentation(const ::Ifc4x3_rc3::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_rc3::IfcRelAssignsToProduct> Ifc4x3_rc3::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[912], 6)); } -std::vector<::Ifc4x3_rc3::IfcRelPositions> Ifc4x3_rc3::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[946], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelReferencedInSpatialStructure> Ifc4x3_rc3::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[948], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelAssignsToProduct> Ifc4x3_rc3::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[912], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelPositions> Ifc4x3_rc3::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[946], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelReferencedInSpatialStructure> Ifc4x3_rc3::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[948], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[808]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[808]); } void Ifc4x3_rc3::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x3_rc3::IfcProduct> Ifc4x3_rc3::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[808], 6)); } -std::vector<::Ifc4x3_rc3::IfcShapeAspect> Ifc4x3_rc3::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1009], 4)); } +std::vector<::Ifc4x3_rc3::IfcProduct> Ifc4x3_rc3::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[808], 6)); } +std::vector<::Ifc4x3_rc3::IfcShapeAspect> Ifc4x3_rc3::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1009], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[809]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[809]); } void Ifc4x3_rc3::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -13002,52 +13002,52 @@ std::vector< ::Ifc4x3_rc3::IfcRepresentation > Ifc4x3_rc3::IfcProductRepresentat void Ifc4x3_rc3::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x3_rc3::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[810]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[810]); } void Ifc4x3_rc3::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x3_rc3::IfcProfileTypeEnum::Value Ifc4x3_rc3::IfcProfileDef::ProfileType() const { return ::Ifc4x3_rc3::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc3::IfcProfileDef::setProfileType(const ::Ifc4x3_rc3::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc3::IfcProfileDef::setProfileType(const ::Ifc4x3_rc3::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_rc3::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -std::vector<::Ifc4x3_rc3::IfcProfileProperties> Ifc4x3_rc3::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[814], 3)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcProfileProperties> Ifc4x3_rc3::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[814], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[813]); } -void Ifc4x3_rc3::IfcProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[813]); } +void Ifc4x3_rc3::IfcProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x3_rc3::IfcProfileDef Ifc4x3_rc3::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc3::IfcProfileDef>(); } void Ifc4x3_rc3::IfcProfileProperties::setProfileDefinition(const ::Ifc4x3_rc3::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[814]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[814]); } void Ifc4x3_rc3::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcProperty > v3_Properties, ::Ifc4x3_rc3::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x3_rc3::IfcProject::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[816]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[816]); } void Ifc4x3_rc3::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc3::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x3_rc3::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[821]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[821]); } void Ifc4x3_rc3::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc3::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value > Ifc4x3_rc3::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc3::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc3::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc3::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc3::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc3::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc3::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[822]); } -void Ifc4x3_rc3::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc3::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[822]); } +void Ifc4x3_rc3::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc3::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x3_rc3::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13058,16 +13058,16 @@ void Ifc4x3_rc3::IfcProjectedCRS::setMapZone(const std::optional< std::string >& void Ifc4x3_rc3::IfcProjectedCRS::setMapUnit(const ::Ifc4x3_rc3::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[817]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[817]); } void Ifc4x3_rc3::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_rc3::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value > Ifc4x3_rc3::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[819]); } -void Ifc4x3_rc3::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[819]); } +void Ifc4x3_rc3::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x3_rc3::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -13075,21 +13075,21 @@ void Ifc4x3_rc3::IfcProperty::setName(const std::string& v) { set_attribute_valu std::optional< std::string > Ifc4x3_rc3::IfcProperty::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcProperty::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc3::IfcPropertySet> Ifc4x3_rc3::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[833], 4)); } -std::vector<::Ifc4x3_rc3::IfcPropertyDependencyRelationship> Ifc4x3_rc3::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[828], 2)); } -std::vector<::Ifc4x3_rc3::IfcPropertyDependencyRelationship> Ifc4x3_rc3::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[828], 3)); } -std::vector<::Ifc4x3_rc3::IfcComplexProperty> Ifc4x3_rc3::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[191], 3)); } -std::vector<::Ifc4x3_rc3::IfcResourceConstraintRelationship> Ifc4x3_rc3::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[962], 3)); } -std::vector<::Ifc4x3_rc3::IfcResourceApprovalRelationship> Ifc4x3_rc3::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[961], 2)); } +std::vector<::Ifc4x3_rc3::IfcPropertySet> Ifc4x3_rc3::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[833], 4)); } +std::vector<::Ifc4x3_rc3::IfcPropertyDependencyRelationship> Ifc4x3_rc3::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[828], 2)); } +std::vector<::Ifc4x3_rc3::IfcPropertyDependencyRelationship> Ifc4x3_rc3::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[828], 3)); } +std::vector<::Ifc4x3_rc3::IfcComplexProperty> Ifc4x3_rc3::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[191], 3)); } +std::vector<::Ifc4x3_rc3::IfcResourceConstraintRelationship> Ifc4x3_rc3::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[962], 3)); } +std::vector<::Ifc4x3_rc3::IfcResourceApprovalRelationship> Ifc4x3_rc3::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[961], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[824]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[824]); } void Ifc4x3_rc3::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[825]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[825]); } void Ifc4x3_rc3::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -13103,15 +13103,15 @@ void Ifc4x3_rc3::IfcPropertyBoundedValue::setUnit(const ::Ifc4x3_rc3::IfcUnit& v void Ifc4x3_rc3::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x3_rc3::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[826]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[826]); } void Ifc4x3_rc3::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcValue v3_UpperBoundValue, ::Ifc4x3_rc3::IfcValue v4_LowerBoundValue, ::Ifc4x3_rc3::IfcUnit v5_Unit, ::Ifc4x3_rc3::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x3_rc3::IfcRelDeclares> Ifc4x3_rc3::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[935], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelAssociates> Ifc4x3_rc3::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[914], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelDeclares> Ifc4x3_rc3::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[935], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelAssociates> Ifc4x3_rc3::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[914], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[827]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[827]); } void Ifc4x3_rc3::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -13123,7 +13123,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcPropertyDependencyRelationship::Expr void Ifc4x3_rc3::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[828]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[828]); } void Ifc4x3_rc3::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcProperty v3_DependingProperty, ::Ifc4x3_rc3::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -13133,7 +13133,7 @@ void Ifc4x3_rc3::IfcPropertyEnumeratedValue::setEnumerationValues(const std::opt void Ifc4x3_rc3::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x3_rc3::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[829]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[829]); } void Ifc4x3_rc3::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v3_EnumerationValues, ::Ifc4x3_rc3::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -13145,7 +13145,7 @@ void Ifc4x3_rc3::IfcPropertyEnumeration::setEnumerationValues(const std::vector< void Ifc4x3_rc3::IfcPropertyEnumeration::setUnit(const ::Ifc4x3_rc3::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[830]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[830]); } void Ifc4x3_rc3::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x3_rc3::IfcValue > v2_EnumerationValues, ::Ifc4x3_rc3::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -13155,7 +13155,7 @@ void Ifc4x3_rc3::IfcPropertyListValue::setListValues(const std::optional< std::v void Ifc4x3_rc3::IfcPropertyListValue::setUnit(const ::Ifc4x3_rc3::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[831]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[831]); } void Ifc4x3_rc3::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v3_ListValues, ::Ifc4x3_rc3::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -13165,7 +13165,7 @@ void Ifc4x3_rc3::IfcPropertyReferenceValue::setUsageName(const std::optional< st void Ifc4x3_rc3::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x3_rc3::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[832]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[832]); } void Ifc4x3_rc3::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x3_rc3::IfcObjectReferenceSelect v4_PropertyReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, (v4_PropertyReference)); } // Function implementations for IfcPropertySet @@ -13173,30 +13173,30 @@ std::vector< ::Ifc4x3_rc3::IfcProperty > Ifc4x3_rc3::IfcPropertySet::HasProperti void Ifc4x3_rc3::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x3_rc3::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[833]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[833]); } void Ifc4x3_rc3::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x3_rc3::IfcTypeObject> Ifc4x3_rc3::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1244], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelDefinesByTemplate> Ifc4x3_rc3::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[940], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelDefinesByProperties> Ifc4x3_rc3::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[939], 5)); } +std::vector<::Ifc4x3_rc3::IfcTypeObject> Ifc4x3_rc3::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1244], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelDefinesByTemplate> Ifc4x3_rc3::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[940], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelDefinesByProperties> Ifc4x3_rc3::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[939], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[834]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[834]); } void Ifc4x3_rc3::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3_rc3::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc3::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_rc3::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc3::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > Ifc4x3_rc3::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc3::IfcPropertyTemplate>(es); } void Ifc4x3_rc3::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_rc3::IfcRelDefinesByTemplate> Ifc4x3_rc3::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[940], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelDefinesByTemplate> Ifc4x3_rc3::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[940], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[837]); } -void Ifc4x3_rc3::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc3::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[837]); } +void Ifc4x3_rc3::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x3_rc3::IfcValue Ifc4x3_rc3::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc3::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcValue>(); } @@ -13205,7 +13205,7 @@ void Ifc4x3_rc3::IfcPropertySingleValue::setNominalValue(const ::Ifc4x3_rc3::Ifc void Ifc4x3_rc3::IfcPropertySingleValue::setUnit(const ::Ifc4x3_rc3::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[839]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[839]); } void Ifc4x3_rc3::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcValue v3_NominalValue, ::Ifc4x3_rc3::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -13220,83 +13220,83 @@ void Ifc4x3_rc3::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x3_rc3::IfcU ::Ifc4x3_rc3::IfcUnit Ifc4x3_rc3::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc3::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcUnit>(); } void Ifc4x3_rc3::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x3_rc3::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc3::IfcCurveInterpolationEnum::Value > Ifc4x3_rc3::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_rc3::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc3::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_rc3::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[840]); } -void Ifc4x3_rc3::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc3::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc3::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc3::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[840]); } +void Ifc4x3_rc3::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc3::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc3::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc3::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x3_rc3::IfcComplexPropertyTemplate> Ifc4x3_rc3::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[192], 6)); } -std::vector<::Ifc4x3_rc3::IfcPropertySetTemplate> Ifc4x3_rc3::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[837], 6)); } +std::vector<::Ifc4x3_rc3::IfcComplexPropertyTemplate> Ifc4x3_rc3::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[192], 6)); } +std::vector<::Ifc4x3_rc3::IfcPropertySetTemplate> Ifc4x3_rc3::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[837], 6)); } -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[841]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[841]); } void Ifc4x3_rc3::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x3_rc3::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[842]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[842]); } void Ifc4x3_rc3::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3_rc3::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[843]); } -void Ifc4x3_rc3::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[843]); } +void Ifc4x3_rc3::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[844]); } -void Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[844]); } +void Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[845]); } -void Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[845]); } +void Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_rc3::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[847]); } -void Ifc4x3_rc3::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[847]); } +void Ifc4x3_rc3::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProxy ::Ifc4x3_rc3::IfcObjectTypeEnum::Value Ifc4x3_rc3::IfcProxy::ProxyType() const { return ::Ifc4x3_rc3::IfcObjectTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcProxy::setProxyType(const ::Ifc4x3_rc3::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc3::IfcProxy::setProxyType(const ::Ifc4x3_rc3::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_rc3::IfcProxy::Tag() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcProxy::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcProxy::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[849]); } -void Ifc4x3_rc3::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[849]); } +void Ifc4x3_rc3::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } // Function implementations for IfcPump std::optional< ::Ifc4x3_rc3::IfcPumpTypeEnum::Value > Ifc4x3_rc3::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcPump::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[850]); } -void Ifc4x3_rc3::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[850]); } +void Ifc4x3_rc3::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x3_rc3::IfcPumpTypeEnum::Value Ifc4x3_rc3::IfcPumpType::PredefinedType() const { return ::Ifc4x3_rc3::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcPumpType::setPredefinedType(const ::Ifc4x3_rc3::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcPumpType::setPredefinedType(const ::Ifc4x3_rc3::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[851]); } -void Ifc4x3_rc3::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[851]); } +void Ifc4x3_rc3::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x3_rc3::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -13305,7 +13305,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcQuantityArea::Formula() const { if(g void Ifc4x3_rc3::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[853]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[853]); } void Ifc4x3_rc3::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -13315,7 +13315,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcQuantityCount::Formula() const { if( void Ifc4x3_rc3::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[854]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[854]); } void Ifc4x3_rc3::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -13325,13 +13325,13 @@ std::optional< std::string > Ifc4x3_rc3::IfcQuantityLength::Formula() const { if void Ifc4x3_rc3::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[855]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[855]); } void Ifc4x3_rc3::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x3_rc3::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[856]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[856]); } void Ifc4x3_rc3::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -13341,7 +13341,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcQuantityTime::Formula() const { if(g void Ifc4x3_rc3::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[857]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[857]); } void Ifc4x3_rc3::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -13351,7 +13351,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcQuantityVolume::Formula() const { if void Ifc4x3_rc3::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[858]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[858]); } void Ifc4x3_rc3::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -13361,96 +13361,96 @@ std::optional< std::string > Ifc4x3_rc3::IfcQuantityWeight::Formula() const { if void Ifc4x3_rc3::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[859]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[859]); } void Ifc4x3_rc3::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRail std::optional< ::Ifc4x3_rc3::IfcRailTypeEnum::Value > Ifc4x3_rc3::IfcRail::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcRailTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRail::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[861]); } -void Ifc4x3_rc3::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRail::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[861]); } +void Ifc4x3_rc3::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailType ::Ifc4x3_rc3::IfcRailTypeEnum::Value Ifc4x3_rc3::IfcRailType::PredefinedType() const { return ::Ifc4x3_rc3::IfcRailTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcRailType::setPredefinedType(const ::Ifc4x3_rc3::IfcRailTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcRailType::setPredefinedType(const ::Ifc4x3_rc3::IfcRailTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcRailType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[865]); } -void Ifc4x3_rc3::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRailType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[865]); } +void Ifc4x3_rc3::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailing std::optional< ::Ifc4x3_rc3::IfcRailingTypeEnum::Value > Ifc4x3_rc3::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[862]); } -void Ifc4x3_rc3::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[862]); } +void Ifc4x3_rc3::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x3_rc3::IfcRailingTypeEnum::Value Ifc4x3_rc3::IfcRailingType::PredefinedType() const { return ::Ifc4x3_rc3::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcRailingType::setPredefinedType(const ::Ifc4x3_rc3::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcRailingType::setPredefinedType(const ::Ifc4x3_rc3::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[863]); } -void Ifc4x3_rc3::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[863]); } +void Ifc4x3_rc3::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailway std::optional< ::Ifc4x3_rc3::IfcRailwayTypeEnum::Value > Ifc4x3_rc3::IfcRailway::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcRailwayTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRailway::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[867]); } -void Ifc4x3_rc3::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRailway::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[867]); } +void Ifc4x3_rc3::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRamp std::optional< ::Ifc4x3_rc3::IfcRampTypeEnum::Value > Ifc4x3_rc3::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[870]); } -void Ifc4x3_rc3::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[870]); } +void Ifc4x3_rc3::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value > Ifc4x3_rc3::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[871]); } -void Ifc4x3_rc3::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[871]); } +void Ifc4x3_rc3::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value Ifc4x3_rc3::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3_rc3::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[872]); } -void Ifc4x3_rc3::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[872]); } +void Ifc4x3_rc3::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x3_rc3::IfcRampTypeEnum::Value Ifc4x3_rc3::IfcRampType::PredefinedType() const { return ::Ifc4x3_rc3::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcRampType::setPredefinedType(const ::Ifc4x3_rc3::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcRampType::setPredefinedType(const ::Ifc4x3_rc3::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[874]); } -void Ifc4x3_rc3::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[874]); } +void Ifc4x3_rc3::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[877]); } -void Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::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_rc3::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[877]); } +void Ifc4x3_rc3::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::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, (enumeration_reference(&::Ifc4x3_rc3::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[878]); } -void Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc3::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_rc3::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[878]); } +void Ifc4x3_rc3::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc3::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, (enumeration_reference(&::Ifc4x3_rc3::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_rc3::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13461,8 +13461,8 @@ std::optional< double > Ifc4x3_rc3::IfcRectangleHollowProfileDef::OuterFilletRad void Ifc4x3_rc3::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[880]); } -void Ifc4x3_rc3::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[880]); } +void Ifc4x3_rc3::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x3_rc3::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -13471,8 +13471,8 @@ double Ifc4x3_rc3::IfcRectangleProfileDef::YDim() const { double v = get_attrib void Ifc4x3_rc3::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[881]); } -void Ifc4x3_rc3::IfcRectangleProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[881]); } +void Ifc4x3_rc3::IfcRectangleProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x3_rc3::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -13483,7 +13483,7 @@ double Ifc4x3_rc3::IfcRectangularPyramid::Height() const { double v = get_attri void Ifc4x3_rc3::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[882]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[882]); } void Ifc4x3_rc3::IfcRectangularPyramid::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -13503,12 +13503,12 @@ bool Ifc4x3_rc3::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_at void Ifc4x3_rc3::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[883]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[883]); } void Ifc4x3_rc3::IfcRectangularTrimmedSurface::initialize(::Ifc4x3_rc3::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value Ifc4x3_rc3::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x3_rc3::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc3::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc3::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc3::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc3::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -13525,8 +13525,8 @@ std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > > Ifc4x3_rc3::IfcRecur void Ifc4x3_rc3::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[884]); } -void Ifc4x3_rc3::IfcRecurrencePattern::initialize(::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[884]); } +void Ifc4x3_rc3::IfcRecurrencePattern::initialize(::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x3_rc3::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -13541,18 +13541,18 @@ void Ifc4x3_rc3::IfcReference::setListPositions(const std::optional< std::vector void Ifc4x3_rc3::IfcReference::setInnerReference(const ::Ifc4x3_rc3::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcReference::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[886]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[886]); } void Ifc4x3_rc3::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc3::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x3_rc3::IfcReferentTypeEnum::Value > Ifc4x3_rc3::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc3::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< double > Ifc4x3_rc3::IfcReferent::RestartDistance() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcReferent::setRestartDistance(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[887]); } -void Ifc4x3_rc3::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[887]); } +void Ifc4x3_rc3::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } // Function implementations for IfcRegularTimeSeries double Ifc4x3_rc3::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -13561,16 +13561,16 @@ std::vector< ::Ifc4x3_rc3::IfcTimeSeriesValue > Ifc4x3_rc3::IfcRegularTimeSeries void Ifc4x3_rc3::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x3_rc3::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[890]); } -void Ifc4x3_rc3::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc3::IfcTimeSeriesValue > v10_Values) { 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_rc3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[890]); } +void Ifc4x3_rc3::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc3::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcedSoil std::optional< ::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value > Ifc4x3_rc3::IfcReinforcedSoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcReinforcedSoil::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[891]); } -void Ifc4x3_rc3::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReinforcedSoil::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[891]); } +void Ifc4x3_rc3::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcReinforcementBarProperties double Ifc4x3_rc3::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -13578,7 +13578,7 @@ void Ifc4x3_rc3::IfcReinforcementBarProperties::setTotalCrossSectionArea(const d std::string Ifc4x3_rc3::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc3::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc3::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc3::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x3_rc3::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_rc3::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x3_rc3::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -13587,8 +13587,8 @@ std::optional< double > Ifc4x3_rc3::IfcReinforcementBarProperties::BarCount() co void Ifc4x3_rc3::IfcReinforcementBarProperties::setBarCount(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc3::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[893]); } -void Ifc4x3_rc3::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[893]); } +void Ifc4x3_rc3::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x3_rc3::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13597,7 +13597,7 @@ std::vector< ::Ifc4x3_rc3::IfcSectionReinforcementProperties > Ifc4x3_rc3::IfcRe void Ifc4x3_rc3::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_rc3::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[894]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[894]); } void Ifc4x3_rc3::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_rc3::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -13608,17 +13608,17 @@ void Ifc4x3_rc3::IfcReinforcingBar::setCrossSectionArea(const std::optional< dou std::optional< double > Ifc4x3_rc3::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc3::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value > Ifc4x3_rc3::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc3::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc3::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc3::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc3::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc3::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc3::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[895]); } -void Ifc4x3_rc3::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[895]); } +void Ifc4x3_rc3::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value Ifc4x3_rc3::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc3::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc3::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13626,28 +13626,28 @@ void Ifc4x3_rc3::IfcReinforcingBarType::setCrossSectionArea(const std::optional< std::optional< double > Ifc4x3_rc3::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x3_rc3::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc3::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc3::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc3::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x3_rc3::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_rc3::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > Ifc4x3_rc3::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x3_rc3::IfcBendingParameterSelect>(es); } void Ifc4x3_rc3::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_rc3::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[898]); } -void Ifc4x3_rc3::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::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_rc3::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[898]); } +void Ifc4x3_rc3::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::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, (enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x3_rc3::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[900]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[900]); } void Ifc4x3_rc3::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x3_rc3::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[901]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[901]); } void Ifc4x3_rc3::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -13668,15 +13668,15 @@ void Ifc4x3_rc3::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::option std::optional< double > Ifc4x3_rc3::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x3_rc3::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value > Ifc4x3_rc3::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x3_rc3::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x3_rc3::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_rc3::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[902]); } -void Ifc4x3_rc3::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[902]); } +void Ifc4x3_rc3::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value Ifc4x3_rc3::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc3::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc3::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13699,8 +13699,8 @@ std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > Ifc4x3_r void Ifc4x3_rc3::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_rc3::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[903]); } -void Ifc4x3_rc3::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[903]); } +void Ifc4x3_rc3::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAggregates ::Ifc4x3_rc3::IfcObjectDefinition Ifc4x3_rc3::IfcRelAggregates::RelatingObject() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcObjectDefinition>(); } @@ -13709,18 +13709,18 @@ std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > Ifc4x3_rc3::IfcRelAggregates::R void Ifc4x3_rc3::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x3_rc3::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[905]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[905]); } void Ifc4x3_rc3::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > Ifc4x3_rc3::IfcRelAssigns::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc3::IfcObjectDefinition>(es); } void Ifc4x3_rc3::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc4x3_rc3::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > Ifc4x3_rc3::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcObjectTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc3::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[906]); } -void Ifc4x3_rc3::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[906]); } +void Ifc4x3_rc3::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } // Function implementations for IfcRelAssignsToActor ::Ifc4x3_rc3::IfcActor Ifc4x3_rc3::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcActor>(); } @@ -13729,32 +13729,32 @@ void Ifc4x3_rc3::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x3_rc3::IfcA void Ifc4x3_rc3::IfcRelAssignsToActor::setActingRole(const ::Ifc4x3_rc3::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[907]); } -void Ifc4x3_rc3::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcActor v7_RelatingActor, ::Ifc4x3_rc3::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[907]); } +void Ifc4x3_rc3::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcActor v7_RelatingActor, ::Ifc4x3_rc3::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl ::Ifc4x3_rc3::IfcControl Ifc4x3_rc3::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcControl>(); } void Ifc4x3_rc3::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x3_rc3::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[908]); } -void Ifc4x3_rc3::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[908]); } +void Ifc4x3_rc3::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup ::Ifc4x3_rc3::IfcGroup Ifc4x3_rc3::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcGroup>(); } void Ifc4x3_rc3::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x3_rc3::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[909]); } -void Ifc4x3_rc3::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[909]); } +void Ifc4x3_rc3::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor double Ifc4x3_rc3::IfcRelAssignsToGroupByFactor::Factor() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[910]); } -void Ifc4x3_rc3::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[910]); } +void Ifc4x3_rc3::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess ::Ifc4x3_rc3::IfcProcessSelect Ifc4x3_rc3::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcProcessSelect>(); } @@ -13763,31 +13763,31 @@ void Ifc4x3_rc3::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x3_rc3:: void Ifc4x3_rc3::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x3_rc3::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[911]); } -void Ifc4x3_rc3::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc3::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[911]); } +void Ifc4x3_rc3::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc3::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct ::Ifc4x3_rc3::IfcProductSelect Ifc4x3_rc3::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcProductSelect>(); } void Ifc4x3_rc3::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x3_rc3::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[912]); } -void Ifc4x3_rc3::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[912]); } +void Ifc4x3_rc3::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource ::Ifc4x3_rc3::IfcResourceSelect Ifc4x3_rc3::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcResourceSelect>(); } void Ifc4x3_rc3::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x3_rc3::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[913]); } -void Ifc4x3_rc3::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[913]); } +void Ifc4x3_rc3::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > Ifc4x3_rc3::IfcRelAssociates::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc3::IfcDefinitionSelect>(es); } void Ifc4x3_rc3::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[914]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[914]); } void Ifc4x3_rc3::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -13795,7 +13795,7 @@ void Ifc4x3_rc3::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_ void Ifc4x3_rc3::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x3_rc3::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[915]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[915]); } void Ifc4x3_rc3::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -13803,7 +13803,7 @@ void Ifc4x3_rc3::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, : void Ifc4x3_rc3::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x3_rc3::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[916]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[916]); } void Ifc4x3_rc3::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -13813,7 +13813,7 @@ void Ifc4x3_rc3::IfcRelAssociatesConstraint::setIntent(const std::optional< std: void Ifc4x3_rc3::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x3_rc3::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[917]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[917]); } void Ifc4x3_rc3::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_rc3::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -13821,7 +13821,7 @@ void Ifc4x3_rc3::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, void Ifc4x3_rc3::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x3_rc3::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[918]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[918]); } void Ifc4x3_rc3::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -13829,7 +13829,7 @@ void Ifc4x3_rc3::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, : void Ifc4x3_rc3::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x3_rc3::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[919]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[919]); } void Ifc4x3_rc3::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -13837,7 +13837,7 @@ void Ifc4x3_rc3::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, :: void Ifc4x3_rc3::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x3_rc3::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[920]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[920]); } void Ifc4x3_rc3::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelAssociatesProfileDef @@ -13845,13 +13845,13 @@ void Ifc4x3_rc3::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, : void Ifc4x3_rc3::IfcRelAssociatesProfileDef::setRelatingProfileDef(const ::Ifc4x3_rc3::IfcProfileDef& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelAssociatesProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[921]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelAssociatesProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[921]); } void Ifc4x3_rc3::IfcRelAssociatesProfileDef::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcProfileDef v6_RelatingProfileDef) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileDef)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x3_rc3::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[923]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[923]); } void Ifc4x3_rc3::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -13863,7 +13863,7 @@ void Ifc4x3_rc3::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x3_rc3:: void Ifc4x3_rc3::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x3_rc3::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[924]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[924]); } void Ifc4x3_rc3::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc3::IfcElement v6_RelatingElement, ::Ifc4x3_rc3::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -13872,13 +13872,13 @@ void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatingPriorities(const std::ve std::vector< int > /*[0:?]*/ Ifc4x3_rc3::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value Ifc4x3_rc3::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x3_rc3::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value Ifc4x3_rc3::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x3_rc3::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc3::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[925]); } -void Ifc4x3_rc3::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc3::IfcElement v6_RelatingElement, ::Ifc4x3_rc3::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[925]); } +void Ifc4x3_rc3::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc3::IfcElement v6_RelatingElement, ::Ifc4x3_rc3::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_rc3::IfcPort Ifc4x3_rc3::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcPort>(); } @@ -13887,7 +13887,7 @@ void Ifc4x3_rc3::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x3_rc3 void Ifc4x3_rc3::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x3_rc3::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[927]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[927]); } void Ifc4x3_rc3::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcPort v5_RelatingPort, ::Ifc4x3_rc3::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -13899,7 +13899,7 @@ void Ifc4x3_rc3::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x3_rc3::IfcPort void Ifc4x3_rc3::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x3_rc3::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[926]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[926]); } void Ifc4x3_rc3::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcPort v5_RelatingPort, ::Ifc4x3_rc3::IfcPort v6_RelatedPort, ::Ifc4x3_rc3::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -13909,7 +13909,7 @@ void Ifc4x3_rc3::IfcRelConnectsStructuralActivity::setRelatingElement(const ::If void Ifc4x3_rc3::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x3_rc3::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[928]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[928]); } void Ifc4x3_rc3::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_rc3::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -13927,7 +13927,7 @@ void Ifc4x3_rc3::IfcRelConnectsStructuralMember::setSupportedLength(const std::o void Ifc4x3_rc3::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[929]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[929]); } void Ifc4x3_rc3::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc3::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -13935,7 +13935,7 @@ void Ifc4x3_rc3::IfcRelConnectsStructuralMember::initialize(std::string v1_Globa void Ifc4x3_rc3::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x3_rc3::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[930]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[930]); } void Ifc4x3_rc3::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc3::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_rc3::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -13945,7 +13945,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcRelConnectsWithRealizingElements::Co void Ifc4x3_rc3::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[931]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[931]); } void Ifc4x3_rc3::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc3::IfcElement v6_RelatingElement, ::Ifc4x3_rc3::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_rc3::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -13955,7 +13955,7 @@ void Ifc4x3_rc3::IfcRelContainedInSpatialStructure::setRelatedElements(const std void Ifc4x3_rc3::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_rc3::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[932]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[932]); } void Ifc4x3_rc3::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcProduct > v5_RelatedElements, ::Ifc4x3_rc3::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -13965,7 +13965,7 @@ std::vector< ::Ifc4x3_rc3::IfcCovering > Ifc4x3_rc3::IfcRelCoversBldgElements::R void Ifc4x3_rc3::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x3_rc3::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[933]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[933]); } void Ifc4x3_rc3::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_rc3::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -13975,7 +13975,7 @@ std::vector< ::Ifc4x3_rc3::IfcCovering > Ifc4x3_rc3::IfcRelCoversSpaces::Related void Ifc4x3_rc3::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x3_rc3::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[934]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[934]); } void Ifc4x3_rc3::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_rc3::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -13985,19 +13985,19 @@ std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > Ifc4x3_rc3::IfcRelDeclares::Rel void Ifc4x3_rc3::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[935]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[935]); } void Ifc4x3_rc3::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x3_rc3::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[936]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[936]); } void Ifc4x3_rc3::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x3_rc3::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[937]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[937]); } void Ifc4x3_rc3::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -14007,7 +14007,7 @@ void Ifc4x3_rc3::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::I void Ifc4x3_rc3::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x3_rc3::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[938]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[938]); } void Ifc4x3_rc3::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc3::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -14017,7 +14017,7 @@ void Ifc4x3_rc3::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< void Ifc4x3_rc3::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x3_rc3::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[939]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[939]); } void Ifc4x3_rc3::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_rc3::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -14027,7 +14027,7 @@ void Ifc4x3_rc3::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vect void Ifc4x3_rc3::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x3_rc3::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[940]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[940]); } void Ifc4x3_rc3::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_rc3::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -14037,7 +14037,7 @@ void Ifc4x3_rc3::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc void Ifc4x3_rc3::IfcRelDefinesByType::setRelatingType(const ::Ifc4x3_rc3::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[941]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[941]); } void Ifc4x3_rc3::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc3::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -14047,7 +14047,7 @@ void Ifc4x3_rc3::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x3_rc void Ifc4x3_rc3::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x3_rc3::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[942]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[942]); } void Ifc4x3_rc3::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -14057,7 +14057,7 @@ void Ifc4x3_rc3::IfcRelFlowControlElements::setRelatedControlElements(const std: void Ifc4x3_rc3::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x3_rc3::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[943]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[943]); } void Ifc4x3_rc3::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_rc3::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -14073,7 +14073,7 @@ boost::logic::tribool Ifc4x3_rc3::IfcRelInterferesElements::ImpliedOrder() const void Ifc4x3_rc3::IfcRelInterferesElements::setImpliedOrder(const boost::logic::tribool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[944]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[944]); } void Ifc4x3_rc3::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_rc3::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder)); } // Function implementations for IfcRelNests @@ -14083,7 +14083,7 @@ std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > Ifc4x3_rc3::IfcRelNests::Relate void Ifc4x3_rc3::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x3_rc3::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[945]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[945]); } void Ifc4x3_rc3::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelPositions @@ -14093,7 +14093,7 @@ std::vector< ::Ifc4x3_rc3::IfcProduct > Ifc4x3_rc3::IfcRelPositions::RelatedProd void Ifc4x3_rc3::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x3_rc3::IfcProduct >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[946]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[946]); } void Ifc4x3_rc3::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_rc3::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector(v6_RelatedProducts)); } // Function implementations for IfcRelProjectsElement @@ -14103,7 +14103,7 @@ void Ifc4x3_rc3::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x3_rc3::I void Ifc4x3_rc3::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x3_rc3::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[947]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[947]); } void Ifc4x3_rc3::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcElement v5_RelatingElement, ::Ifc4x3_rc3::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -14113,7 +14113,7 @@ void Ifc4x3_rc3::IfcRelReferencedInSpatialStructure::setRelatedElements(const st void Ifc4x3_rc3::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_rc3::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[948]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[948]); } void Ifc4x3_rc3::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_rc3::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -14124,13 +14124,13 @@ void Ifc4x3_rc3::IfcRelSequence::setRelatedProcess(const ::Ifc4x3_rc3::IfcProces ::Ifc4x3_rc3::IfcLagTime Ifc4x3_rc3::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc3::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcLagTime>(); } void Ifc4x3_rc3::IfcRelSequence::setTimeLag(const ::Ifc4x3_rc3::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc3::IfcSequenceEnum::Value > Ifc4x3_rc3::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_rc3::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc3::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_rc3::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc3::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[949]); } -void Ifc4x3_rc3::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc3::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc3::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc3::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[949]); } +void Ifc4x3_rc3::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc3::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc3::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc3::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x3_rc3::IfcSystem Ifc4x3_rc3::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcSystem>(); } @@ -14139,7 +14139,7 @@ std::vector< ::Ifc4x3_rc3::IfcSpatialElement > Ifc4x3_rc3::IfcRelServicesBuildin void Ifc4x3_rc3::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x3_rc3::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[950]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[950]); } void Ifc4x3_rc3::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_rc3::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -14150,31 +14150,31 @@ void Ifc4x3_rc3::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x3_r ::Ifc4x3_rc3::IfcConnectionGeometry Ifc4x3_rc3::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc3::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcConnectionGeometry>(); } void Ifc4x3_rc3::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x3_rc3::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value Ifc4x3_rc3::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc3::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value Ifc4x3_rc3::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x3_rc3::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[951]); } -void Ifc4x3_rc3::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[951]); } +void Ifc4x3_rc3::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel> Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[952], 9)); } +std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel> Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[952], 9)); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[952]); } -void Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[952]); } +void Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel> Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[953], 10)); } +std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel> Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[953], 10)); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[953]); } -void Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[953]); } +void Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x3_rc3::IfcElement Ifc4x3_rc3::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcElement>(); } @@ -14183,13 +14183,13 @@ void Ifc4x3_rc3::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x3_r void Ifc4x3_rc3::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x3_rc3::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[954]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[954]); } void Ifc4x3_rc3::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_rc3::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x3_rc3::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[922]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[922]); } void Ifc4x3_rc3::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -14197,8 +14197,8 @@ double Ifc4x3_rc3::IfcReparametrisedCompositeCurveSegment::ParamLength() const { void Ifc4x3_rc3::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[955]); } -void Ifc4x3_rc3::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc3::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[955]); } +void Ifc4x3_rc3::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc3::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x3_rc3::IfcRepresentationContext Ifc4x3_rc3::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcRepresentationContext>(); } @@ -14210,11 +14210,11 @@ void Ifc4x3_rc3::IfcRepresentation::setRepresentationType(const std::optional< s std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > Ifc4x3_rc3::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_rc3::IfcRepresentationItem>(es); } void Ifc4x3_rc3::IfcRepresentation::setItems(const std::vector< ::Ifc4x3_rc3::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_rc3::IfcRepresentationMap> Ifc4x3_rc3::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[959], 1)); } -std::vector<::Ifc4x3_rc3::IfcPresentationLayerAssignment> Ifc4x3_rc3::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[799], 2)); } -std::vector<::Ifc4x3_rc3::IfcProductRepresentation> Ifc4x3_rc3::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[810], 2)); } +std::vector<::Ifc4x3_rc3::IfcRepresentationMap> Ifc4x3_rc3::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[959], 1)); } +std::vector<::Ifc4x3_rc3::IfcPresentationLayerAssignment> Ifc4x3_rc3::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[799], 2)); } +std::vector<::Ifc4x3_rc3::IfcProductRepresentation> Ifc4x3_rc3::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[810], 2)); } -const IfcParse::entity& Ifc4x3_rc3::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[956]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[956]); } void Ifc4x3_rc3::IfcRepresentation::initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -14223,17 +14223,17 @@ void Ifc4x3_rc3::IfcRepresentationContext::setContextIdentifier(const std::optio std::optional< std::string > Ifc4x3_rc3::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc3::IfcRepresentation> Ifc4x3_rc3::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[956], 0)); } +std::vector<::Ifc4x3_rc3::IfcRepresentation> Ifc4x3_rc3::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[956], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[957]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[957]); } void Ifc4x3_rc3::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x3_rc3::IfcPresentationLayerAssignment> Ifc4x3_rc3::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[799], 2)); } -std::vector<::Ifc4x3_rc3::IfcStyledItem> Ifc4x3_rc3::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1122], 0)); } +std::vector<::Ifc4x3_rc3::IfcPresentationLayerAssignment> Ifc4x3_rc3::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[799], 2)); } +std::vector<::Ifc4x3_rc3::IfcStyledItem> Ifc4x3_rc3::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1122], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[958]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[958]); } void Ifc4x3_rc3::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -14242,10 +14242,10 @@ void Ifc4x3_rc3::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x3_rc3::IfcA ::Ifc4x3_rc3::IfcRepresentation Ifc4x3_rc3::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcRepresentation>(); } void Ifc4x3_rc3::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x3_rc3::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_rc3::IfcShapeAspect> Ifc4x3_rc3::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1009], 4)); } -std::vector<::Ifc4x3_rc3::IfcMappedItem> Ifc4x3_rc3::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[632], 0)); } +std::vector<::Ifc4x3_rc3::IfcShapeAspect> Ifc4x3_rc3::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1009], 4)); } +std::vector<::Ifc4x3_rc3::IfcMappedItem> Ifc4x3_rc3::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[632], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[959]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[959]); } void Ifc4x3_rc3::IfcRepresentationMap::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_rc3::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -14254,9 +14254,9 @@ void Ifc4x3_rc3::IfcResource::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_rc3::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc3::IfcRelAssignsToResource> Ifc4x3_rc3::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[913], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelAssignsToResource> Ifc4x3_rc3::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[913], 6)); } -const IfcParse::entity& Ifc4x3_rc3::IfcResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[960]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[960]); } void Ifc4x3_rc3::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -14266,7 +14266,7 @@ void Ifc4x3_rc3::IfcResourceApprovalRelationship::setRelatedResourceObjects(cons void Ifc4x3_rc3::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x3_rc3::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[961]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[961]); } void Ifc4x3_rc3::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_rc3::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -14276,7 +14276,7 @@ std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > Ifc4x3_rc3::IfcResourceCons void Ifc4x3_rc3::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[962]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[962]); } void Ifc4x3_rc3::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -14286,7 +14286,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcResourceLevelRelationship::Descripti void Ifc4x3_rc3::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc3::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[963]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[963]); } void Ifc4x3_rc3::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -14322,8 +14322,8 @@ std::optional< double > Ifc4x3_rc3::IfcResourceTime::Completion() const { if(get void Ifc4x3_rc3::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_rc3::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[966]); } -void Ifc4x3_rc3::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[966]); } +void Ifc4x3_rc3::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x3_rc3::IfcAxis1Placement Ifc4x3_rc3::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcAxis1Placement>(); } @@ -14332,7 +14332,7 @@ double Ifc4x3_rc3::IfcRevolvedAreaSolid::Angle() const { double v = get_attribu void Ifc4x3_rc3::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[967]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[967]); } void Ifc4x3_rc3::IfcRevolvedAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -14340,7 +14340,7 @@ void Ifc4x3_rc3::IfcRevolvedAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1 void Ifc4x3_rc3::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_rc3::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[968]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[968]); } void Ifc4x3_rc3::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_rc3::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -14350,7 +14350,7 @@ double Ifc4x3_rc3::IfcRightCircularCone::BottomRadius() const { double v = get_ void Ifc4x3_rc3::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[969]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[969]); } void Ifc4x3_rc3::IfcRightCircularCone::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -14360,32 +14360,32 @@ double Ifc4x3_rc3::IfcRightCircularCylinder::Radius() const { double v = get_at void Ifc4x3_rc3::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[970]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[970]); } void Ifc4x3_rc3::IfcRightCircularCylinder::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoad std::optional< ::Ifc4x3_rc3::IfcRoadTypeEnum::Value > Ifc4x3_rc3::IfcRoad::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcRoadTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRoad::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[971]); } -void Ifc4x3_rc3::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRoad::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[971]); } +void Ifc4x3_rc3::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRoof std::optional< ::Ifc4x3_rc3::IfcRoofTypeEnum::Value > Ifc4x3_rc3::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[975]); } -void Ifc4x3_rc3::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[975]); } +void Ifc4x3_rc3::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x3_rc3::IfcRoofTypeEnum::Value Ifc4x3_rc3::IfcRoofType::PredefinedType() const { return ::Ifc4x3_rc3::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcRoofType::setPredefinedType(const ::Ifc4x3_rc3::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcRoofType::setPredefinedType(const ::Ifc4x3_rc3::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[976]); } -void Ifc4x3_rc3::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[976]); } +void Ifc4x3_rc3::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x3_rc3::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -14398,7 +14398,7 @@ std::optional< std::string > Ifc4x3_rc3::IfcRoot::Description() const { if(get_a void Ifc4x3_rc3::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[978]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[978]); } void Ifc4x3_rc3::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -14406,52 +14406,52 @@ double Ifc4x3_rc3::IfcRoundedRectangleProfileDef::RoundingRadius() const { doub void Ifc4x3_rc3::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[983]); } -void Ifc4x3_rc3::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[983]); } +void Ifc4x3_rc3::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x3_rc3::IfcSIPrefix::Value > Ifc4x3_rc3::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x3_rc3::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_rc3::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc3::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc3::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_rc3::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc3::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x3_rc3::IfcSIUnitName::Value Ifc4x3_rc3::IfcSIUnit::Name() const { return ::Ifc4x3_rc3::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x3_rc3::IfcSIUnit::setName(const ::Ifc4x3_rc3::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc3::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc3::IfcSIUnit::setName(const ::Ifc4x3_rc3::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc3::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1028]); } -void Ifc4x3_rc3::IfcSIUnit::initialize(::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc3::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc3::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc3::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1028]); } +void Ifc4x3_rc3::IfcSIUnit::initialize(::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc3::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc3::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc3::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3_rc3::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[984]); } -void Ifc4x3_rc3::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[984]); } +void Ifc4x3_rc3::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_rc3::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[985]); } -void Ifc4x3_rc3::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[985]); } +void Ifc4x3_rc3::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x3_rc3::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc3::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > Ifc4x3_rc3::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc3::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x3_rc3::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc3::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[987]); } -void Ifc4x3_rc3::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[987]); } +void Ifc4x3_rc3::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x3_rc3::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[988]); } -void Ifc4x3_rc3::IfcSeamCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[988]); } +void Ifc4x3_rc3::IfcSeamCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSecondOrderPolynomialSpiral double Ifc4x3_rc3::IfcSecondOrderPolynomialSpiral::QuadraticTerm() const { double v = get_attribute_value(1); return v; } @@ -14462,20 +14462,20 @@ std::optional< double > Ifc4x3_rc3::IfcSecondOrderPolynomialSpiral::ConstantTerm void Ifc4x3_rc3::IfcSecondOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSecondOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[989]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSecondOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[989]); } void Ifc4x3_rc3::IfcSecondOrderPolynomialSpiral::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_QuadraticTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSectionProperties ::Ifc4x3_rc3::IfcSectionTypeEnum::Value Ifc4x3_rc3::IfcSectionProperties::SectionType() const { return ::Ifc4x3_rc3::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc3::IfcSectionProperties::setSectionType(const ::Ifc4x3_rc3::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc3::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc3::IfcSectionProperties::setSectionType(const ::Ifc4x3_rc3::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc3::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc3::IfcProfileDef Ifc4x3_rc3::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcProfileDef>(); } void Ifc4x3_rc3::IfcSectionProperties::setStartProfile(const ::Ifc4x3_rc3::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc3::IfcProfileDef Ifc4x3_rc3::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc3::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcProfileDef>(); } void Ifc4x3_rc3::IfcSectionProperties::setEndProfile(const ::Ifc4x3_rc3::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[996]); } -void Ifc4x3_rc3::IfcSectionProperties::initialize(::Ifc4x3_rc3::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc3::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc3::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[996]); } +void Ifc4x3_rc3::IfcSectionProperties::initialize(::Ifc4x3_rc3::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc3::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc3::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x3_rc3::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -14485,15 +14485,15 @@ void Ifc4x3_rc3::IfcSectionReinforcementProperties::setLongitudinalEndPosition(c std::optional< double > Ifc4x3_rc3::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_rc3::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value Ifc4x3_rc3::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc3::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc3::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc3::IfcSectionProperties Ifc4x3_rc3::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcSectionProperties>(); } void Ifc4x3_rc3::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x3_rc3::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x3_rc3::IfcReinforcementBarProperties > Ifc4x3_rc3::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_rc3::IfcReinforcementBarProperties>(es); } void Ifc4x3_rc3::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_rc3::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[997]); } -void Ifc4x3_rc3::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc3::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc3::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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_rc3::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[997]); } +void Ifc4x3_rc3::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc3::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc3::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x3_rc3::IfcCurve Ifc4x3_rc3::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcCurve>(); } @@ -14502,7 +14502,7 @@ std::vector< ::Ifc4x3_rc3::IfcProfileDef > Ifc4x3_rc3::IfcSectionedSolid::CrossS void Ifc4x3_rc3::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x3_rc3::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[991]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[991]); } void Ifc4x3_rc3::IfcSectionedSolid::initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -14512,7 +14512,7 @@ bool Ifc4x3_rc3::IfcSectionedSolidHorizontal::FixedAxisVertical() const { bool void Ifc4x3_rc3::IfcSectionedSolidHorizontal::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[992]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[992]); } void Ifc4x3_rc3::IfcSectionedSolidHorizontal::initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc3::IfcAxis2PlacementLinear > v3_CrossSectionPositions, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSectionedSpine @@ -14524,7 +14524,7 @@ std::vector< ::Ifc4x3_rc3::IfcAxis2Placement3D > Ifc4x3_rc3::IfcSectionedSpine:: void Ifc4x3_rc3::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x3_rc3::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[993]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[993]); } void Ifc4x3_rc3::IfcSectionedSpine::initialize(::Ifc4x3_rc3::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc3::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSurface @@ -14538,17 +14538,17 @@ bool Ifc4x3_rc3::IfcSectionedSurface::FixedAxisVertical() const { bool v = get_ void Ifc4x3_rc3::IfcSectionedSurface::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcSectionedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[994]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSectionedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[994]); } void Ifc4x3_rc3::IfcSectionedSurface::initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc3::IfcPointByDistanceExpression > v2_CrossSectionPositions, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v3_CrossSections, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSectionPositions));set_attribute_value(2, cast_vector(v3_CrossSections));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSegment ::Ifc4x3_rc3::IfcTransitionCode::Value Ifc4x3_rc3::IfcSegment::Transition() const { return ::Ifc4x3_rc3::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x3_rc3::IfcSegment::setTransition(const ::Ifc4x3_rc3::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc3::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc3::IfcSegment::setTransition(const ::Ifc4x3_rc3::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc3::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc3::IfcCompositeCurve> Ifc4x3_rc3::IfcSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[194], 0)); } +std::vector<::Ifc4x3_rc3::IfcCompositeCurve> Ifc4x3_rc3::IfcSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[194], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[999]); } -void Ifc4x3_rc3::IfcSegment::initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcTransitionCode::Class(),(size_t)v1_Transition))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[999]); } +void Ifc4x3_rc3::IfcSegment::initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcTransitionCode::Class(),(size_t)v1_Transition))); } // Function implementations for IfcSegmentedReferenceCurve ::Ifc4x3_rc3::IfcBoundedCurve Ifc4x3_rc3::IfcSegmentedReferenceCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcBoundedCurve>(); } @@ -14557,40 +14557,40 @@ void Ifc4x3_rc3::IfcSegmentedReferenceCurve::setBaseCurve(const ::Ifc4x3_rc3::If void Ifc4x3_rc3::IfcSegmentedReferenceCurve::setEndPoint(const ::Ifc4x3_rc3::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcSegmentedReferenceCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1000]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSegmentedReferenceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1000]); } void Ifc4x3_rc3::IfcSegmentedReferenceCurve::initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_rc3::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_rc3::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcSensor std::optional< ::Ifc4x3_rc3::IfcSensorTypeEnum::Value > Ifc4x3_rc3::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1002]); } -void Ifc4x3_rc3::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1002]); } +void Ifc4x3_rc3::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x3_rc3::IfcSensorTypeEnum::Value Ifc4x3_rc3::IfcSensorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSensorType::setPredefinedType(const ::Ifc4x3_rc3::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSensorType::setPredefinedType(const ::Ifc4x3_rc3::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1003]); } -void Ifc4x3_rc3::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1003]); } +void Ifc4x3_rc3::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value > Ifc4x3_rc3::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1006]); } -void Ifc4x3_rc3::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1006]); } +void Ifc4x3_rc3::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value Ifc4x3_rc3::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1007]); } -void Ifc4x3_rc3::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1007]); } +void Ifc4x3_rc3::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x3_rc3::IfcShapeModel > Ifc4x3_rc3::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcShapeModel>(es); } @@ -14604,22 +14604,22 @@ void Ifc4x3_rc3::IfcShapeAspect::setProductDefinitional(const boost::logic::trib ::Ifc4x3_rc3::IfcProductRepresentationSelect Ifc4x3_rc3::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc3::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc3::IfcProductRepresentationSelect>(); } void Ifc4x3_rc3::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x3_rc3::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1009]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1009]); } void Ifc4x3_rc3::IfcShapeAspect::initialize(std::vector< ::Ifc4x3_rc3::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_rc3::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x3_rc3::IfcShapeAspect> Ifc4x3_rc3::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1009], 0)); } +std::vector<::Ifc4x3_rc3::IfcShapeAspect> Ifc4x3_rc3::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1009], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1010]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1010]); } void Ifc4x3_rc3::IfcShapeModel::initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x3_rc3::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1011]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1011]); } void Ifc4x3_rc3::IfcShapeRepresentation::initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -14627,50 +14627,50 @@ std::vector< ::Ifc4x3_rc3::IfcShell > Ifc4x3_rc3::IfcShellBasedSurfaceModel::Sbs void Ifc4x3_rc3::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x3_rc3::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1014]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1014]); } void Ifc4x3_rc3::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_rc3::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSign std::optional< ::Ifc4x3_rc3::IfcSignTypeEnum::Value > Ifc4x3_rc3::IfcSign::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSignTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSign::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1015]); } -void Ifc4x3_rc3::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSign::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1015]); } +void Ifc4x3_rc3::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignType ::Ifc4x3_rc3::IfcSignTypeEnum::Value Ifc4x3_rc3::IfcSignType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSignTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSignType::setPredefinedType(const ::Ifc4x3_rc3::IfcSignTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSignType::setPredefinedType(const ::Ifc4x3_rc3::IfcSignTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcSignType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1019]); } -void Ifc4x3_rc3::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSignType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1019]); } +void Ifc4x3_rc3::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSignal std::optional< ::Ifc4x3_rc3::IfcSignalTypeEnum::Value > Ifc4x3_rc3::IfcSignal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSignalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSignal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1016]); } -void Ifc4x3_rc3::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSignal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1016]); } +void Ifc4x3_rc3::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignalType ::Ifc4x3_rc3::IfcSignalTypeEnum::Value Ifc4x3_rc3::IfcSignalType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSignalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSignalType::setPredefinedType(const ::Ifc4x3_rc3::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSignalType::setPredefinedType(const ::Ifc4x3_rc3::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcSignalType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1017]); } -void Ifc4x3_rc3::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSignalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1017]); } +void Ifc4x3_rc3::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x3_rc3::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1021]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1021]); } void Ifc4x3_rc3::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3_rc3::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc3::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_rc3::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc3::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc3::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -14684,11 +14684,11 @@ void Ifc4x3_rc3::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x3_rc3: std::optional< std::string > Ifc4x3_rc3::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > Ifc4x3_rc3::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc3::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1022]); } -void Ifc4x3_rc3::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc3::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc3::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc3::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc3::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1022]); } +void Ifc4x3_rc3::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc3::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc3::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc3::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc3::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSine double Ifc4x3_rc3::IfcSine::SineTerm() const { double v = get_attribute_value(1); return v; } @@ -14697,7 +14697,7 @@ double Ifc4x3_rc3::IfcSine::LinearTerm() const { double v = get_attribute_value void Ifc4x3_rc3::IfcSine::setLinearTerm(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcSine::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1025]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1025]); } void Ifc4x3_rc3::IfcSine::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_SineTerm, double v3_LinearTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SineTerm));set_attribute_value(2, (v3_LinearTerm)); } // Function implementations for IfcSite @@ -14713,36 +14713,36 @@ void Ifc4x3_rc3::IfcSite::setLandTitleNumber(const std::optional< std::string >& void Ifc4x3_rc3::IfcSite::setSiteAddress(const ::Ifc4x3_rc3::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_rc3::IfcSite::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1027]); } -void Ifc4x3_rc3::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc3::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::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)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1027]); } +void Ifc4x3_rc3::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc3::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > Ifc4x3_rc3::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1031]); } -void Ifc4x3_rc3::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1031]); } +void Ifc4x3_rc3::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabElementedCase -const IfcParse::entity& Ifc4x3_rc3::IfcSlabElementedCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1032]); } -void Ifc4x3_rc3::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSlabElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1032]); } +void Ifc4x3_rc3::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabStandardCase -const IfcParse::entity& Ifc4x3_rc3::IfcSlabStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1033]); } -void Ifc4x3_rc3::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSlabStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1033]); } +void Ifc4x3_rc3::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x3_rc3::IfcSlabTypeEnum::Value Ifc4x3_rc3::IfcSlabType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSlabType::setPredefinedType(const ::Ifc4x3_rc3::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSlabType::setPredefinedType(const ::Ifc4x3_rc3::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1034]); } -void Ifc4x3_rc3::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1034]); } +void Ifc4x3_rc3::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x3_rc3::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -14753,84 +14753,84 @@ std::optional< double > Ifc4x3_rc3::IfcSlippageConnectionCondition::SlippageZ() void Ifc4x3_rc3::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1036]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1036]); } void Ifc4x3_rc3::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value > Ifc4x3_rc3::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1037]); } -void Ifc4x3_rc3::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1037]); } +void Ifc4x3_rc3::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value Ifc4x3_rc3::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1038]); } -void Ifc4x3_rc3::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1038]); } +void Ifc4x3_rc3::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x3_rc3::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1041]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1041]); } void Ifc4x3_rc3::IfcSolidModel::initialize() { } // Function implementations for IfcSolidStratum -const IfcParse::entity& Ifc4x3_rc3::IfcSolidStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1043]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSolidStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1043]); } void Ifc4x3_rc3::IfcSolidStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcSpace std::optional< ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value > Ifc4x3_rc3::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc3::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x3_rc3::IfcRelCoversSpaces> Ifc4x3_rc3::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[934], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary> Ifc4x3_rc3::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[951], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelCoversSpaces> Ifc4x3_rc3::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[934], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelSpaceBoundary> Ifc4x3_rc3::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[951], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1048]); } -void Ifc4x3_rc3::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1048]); } +void Ifc4x3_rc3::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value > Ifc4x3_rc3::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1050]); } -void Ifc4x3_rc3::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1050]); } +void Ifc4x3_rc3::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value Ifc4x3_rc3::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1051]); } -void Ifc4x3_rc3::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1051]); } +void Ifc4x3_rc3::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value Ifc4x3_rc3::IfcSpaceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSpaceType::setPredefinedType(const ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSpaceType::setPredefinedType(const ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc3::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1053]); } -void Ifc4x3_rc3::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1053]); } +void Ifc4x3_rc3::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x3_rc3::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc3::IfcRelContainedInSpatialStructure> Ifc4x3_rc3::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[932], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelServicesBuildings> Ifc4x3_rc3::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[950], 5)); } -std::vector<::Ifc4x3_rc3::IfcRelReferencedInSpatialStructure> Ifc4x3_rc3::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[948], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelContainedInSpatialStructure> Ifc4x3_rc3::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[932], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelServicesBuildings> Ifc4x3_rc3::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[950], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelReferencedInSpatialStructure> Ifc4x3_rc3::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[948], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1055]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1055]); } void Ifc4x3_rc3::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -14838,47 +14838,47 @@ std::optional< std::string > Ifc4x3_rc3::IfcSpatialElementType::ElementType() co void Ifc4x3_rc3::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1056]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1056]); } void Ifc4x3_rc3::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > Ifc4x3_rc3::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1058]); } -void Ifc4x3_rc3::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1058]); } +void Ifc4x3_rc3::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x3_rc3::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1059]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1059]); } void Ifc4x3_rc3::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value > Ifc4x3_rc3::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1060]); } -void Ifc4x3_rc3::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1060]); } +void Ifc4x3_rc3::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value Ifc4x3_rc3::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc3::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1061]); } -void Ifc4x3_rc3::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1061]); } +void Ifc4x3_rc3::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x3_rc3::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_rc3::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1067]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1067]); } void Ifc4x3_rc3::IfcSphere::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -14886,7 +14886,7 @@ double Ifc4x3_rc3::IfcSphericalSurface::Radius() const { double v = get_attribu void Ifc4x3_rc3::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1068]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1068]); } void Ifc4x3_rc3::IfcSphericalSurface::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSpiral @@ -14894,32 +14894,32 @@ void Ifc4x3_rc3::IfcSphericalSurface::initialize(::Ifc4x3_rc3::IfcAxis2Placement void Ifc4x3_rc3::IfcSpiral::setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcSpiral::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1069]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1069]); } void Ifc4x3_rc3::IfcSpiral::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value > Ifc4x3_rc3::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1070]); } -void Ifc4x3_rc3::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1070]); } +void Ifc4x3_rc3::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value Ifc4x3_rc3::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1071]); } -void Ifc4x3_rc3::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1071]); } +void Ifc4x3_rc3::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x3_rc3::IfcStairTypeEnum::Value > Ifc4x3_rc3::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStair::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1073]); } -void Ifc4x3_rc3::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1073]); } +void Ifc4x3_rc3::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x3_rc3::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -14931,50 +14931,50 @@ void Ifc4x3_rc3::IfcStairFlight::setRiserHeight(const std::optional< double >& v std::optional< double > Ifc4x3_rc3::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc3::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value > Ifc4x3_rc3::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc3::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc3::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc3::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc3::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1074]); } -void Ifc4x3_rc3::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1074]); } +void Ifc4x3_rc3::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value Ifc4x3_rc3::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_rc3::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1075]); } -void Ifc4x3_rc3::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1075]); } +void Ifc4x3_rc3::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x3_rc3::IfcStairTypeEnum::Value Ifc4x3_rc3::IfcStairType::PredefinedType() const { return ::Ifc4x3_rc3::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcStairType::setPredefinedType(const ::Ifc4x3_rc3::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcStairType::setPredefinedType(const ::Ifc4x3_rc3::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1077]); } -void Ifc4x3_rc3::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1077]); } +void Ifc4x3_rc3::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x3_rc3::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1080]); } -void Ifc4x3_rc3::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1080]); } +void Ifc4x3_rc3::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x3_rc3::IfcStructuralLoad Ifc4x3_rc3::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc3::IfcStructuralLoad>(); } void Ifc4x3_rc3::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x3_rc3::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value Ifc4x3_rc3::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc3::IfcRelConnectsStructuralActivity> Ifc4x3_rc3::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[928], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsStructuralActivity> Ifc4x3_rc3::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[928], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1081]); } -void Ifc4x3_rc3::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1081]); } +void Ifc4x3_rc3::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value Ifc4x3_rc3::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc3::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc3::IfcAxis2Placement3D Ifc4x3_rc3::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc3::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcAxis2Placement3D>(); } void Ifc4x3_rc3::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_rc3::IfcStructuralLoadGroup > > Ifc4x3_rc3::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc3::IfcStructuralLoadGroup>(es); } @@ -14985,16 +14985,16 @@ void Ifc4x3_rc3::IfcStructuralAnalysisModel::setHasResults(const std::optional< void Ifc4x3_rc3::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x3_rc3::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1083]); } -void Ifc4x3_rc3::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc3::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc3::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc3::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc3::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc3::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1083]); } +void Ifc4x3_rc3::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc3::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc3::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc3::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc3::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x3_rc3::IfcBoundaryCondition Ifc4x3_rc3::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc3::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc3::IfcBoundaryCondition>(); } void Ifc4x3_rc3::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x3_rc3::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc3::IfcRelConnectsStructuralMember> Ifc4x3_rc3::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[929], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsStructuralMember> Ifc4x3_rc3::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[929], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1084]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1084]); } void Ifc4x3_rc3::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -15002,70 +15002,70 @@ std::optional< std::string > Ifc4x3_rc3::IfcStructuralConnectionCondition::Name( void Ifc4x3_rc3::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1085]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1085]); } void Ifc4x3_rc3::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_rc3::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc3::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc3::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1086]); } -void Ifc4x3_rc3::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1086]); } +void Ifc4x3_rc3::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x3_rc3::IfcDirection Ifc4x3_rc3::IfcStructuralCurveConnection::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc3::IfcDirection>(); } void Ifc4x3_rc3::IfcStructuralCurveConnection::setAxis(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1088]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1088]); } void Ifc4x3_rc3::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc3::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_rc3::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc3::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc3::IfcDirection Ifc4x3_rc3::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc3::IfcDirection>(); } void Ifc4x3_rc3::IfcStructuralCurveMember::setAxis(const ::Ifc4x3_rc3::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1089]); } -void Ifc4x3_rc3::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc3::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1089]); } +void Ifc4x3_rc3::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc3::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1091]); } -void Ifc4x3_rc3::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc3::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1091]); } +void Ifc4x3_rc3::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc3::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc3::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1092]); } -void Ifc4x3_rc3::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1092]); } +void Ifc4x3_rc3::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x3_rc3::IfcRelConnectsStructuralActivity> Ifc4x3_rc3::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[928], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsStructuralActivity> Ifc4x3_rc3::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[928], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1093]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1093]); } void Ifc4x3_rc3::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1094]); } -void Ifc4x3_rc3::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1094]); } +void Ifc4x3_rc3::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x3_rc3::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc3::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1095]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1095]); } void Ifc4x3_rc3::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -15073,8 +15073,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x3_rc3::IfcStructuralLoadCa void Ifc4x3_rc3::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1096]); } -void Ifc4x3_rc3::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc3::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1096]); } +void Ifc4x3_rc3::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x3_rc3::IfcStructuralLoadOrResult > Ifc4x3_rc3::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc3::IfcStructuralLoadOrResult>(es); } @@ -15083,26 +15083,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_rc3::IfcStructuralL void Ifc4x3_rc3::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1097]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1097]); } void Ifc4x3_rc3::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc3::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value Ifc4x3_rc3::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc3::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc3::IfcActionTypeEnum::Value Ifc4x3_rc3::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x3_rc3::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc3::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_rc3::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc3::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x3_rc3::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_rc3::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc3::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc3::IfcActionSourceTypeEnum::Value Ifc4x3_rc3::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x3_rc3::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_rc3::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc3::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_rc3::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_rc3::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_rc3::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_rc3::IfcStructuralResultGroup> Ifc4x3_rc3::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1114], 6)); } -std::vector<::Ifc4x3_rc3::IfcStructuralAnalysisModel> Ifc4x3_rc3::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1083], 7)); } +std::vector<::Ifc4x3_rc3::IfcStructuralResultGroup> Ifc4x3_rc3::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1114], 6)); } +std::vector<::Ifc4x3_rc3::IfcStructuralAnalysisModel> Ifc4x3_rc3::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1083], 7)); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1098]); } -void Ifc4x3_rc3::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc3::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1098]); } +void Ifc4x3_rc3::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc3::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x3_rc3::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -15119,13 +15119,13 @@ std::optional< double > Ifc4x3_rc3::IfcStructuralLoadLinearForce::LinearMomentZ( void Ifc4x3_rc3::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1099]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1099]); } void Ifc4x3_rc3::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1100]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1100]); } void Ifc4x3_rc3::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -15137,7 +15137,7 @@ std::optional< double > Ifc4x3_rc3::IfcStructuralLoadPlanarForce::PlanarForceZ() void Ifc4x3_rc3::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1101]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1101]); } void Ifc4x3_rc3::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -15155,7 +15155,7 @@ std::optional< double > Ifc4x3_rc3::IfcStructuralLoadSingleDisplacement::Rotatio void Ifc4x3_rc3::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1102]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1102]); } void Ifc4x3_rc3::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -15163,7 +15163,7 @@ std::optional< double > Ifc4x3_rc3::IfcStructuralLoadSingleDisplacementDistortio void Ifc4x3_rc3::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1103]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1103]); } void Ifc4x3_rc3::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -15181,7 +15181,7 @@ std::optional< double > Ifc4x3_rc3::IfcStructuralLoadSingleForce::MomentZ() cons void Ifc4x3_rc3::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1104]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1104]); } void Ifc4x3_rc3::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -15189,13 +15189,13 @@ std::optional< double > Ifc4x3_rc3::IfcStructuralLoadSingleForceWarping::Warping void Ifc4x3_rc3::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1105]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1105]); } void Ifc4x3_rc3::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1106]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1106]); } void Ifc4x3_rc3::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -15207,105 +15207,105 @@ std::optional< double > Ifc4x3_rc3::IfcStructuralLoadTemperature::DeltaTZ() cons void Ifc4x3_rc3::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1107]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1107]); } void Ifc4x3_rc3::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x3_rc3::IfcRelConnectsStructuralMember> Ifc4x3_rc3::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[929], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelConnectsStructuralMember> Ifc4x3_rc3::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[929], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1108]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1108]); } void Ifc4x3_rc3::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1109]); } -void Ifc4x3_rc3::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1109]); } +void Ifc4x3_rc3::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1110]); } -void Ifc4x3_rc3::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1110]); } +void Ifc4x3_rc3::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x3_rc3::IfcAxis2Placement3D Ifc4x3_rc3::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc3::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc3::IfcAxis2Placement3D>(); } void Ifc4x3_rc3::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1111]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1111]); } void Ifc4x3_rc3::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc3::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1112]); } -void Ifc4x3_rc3::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1112]); } +void Ifc4x3_rc3::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1113]); } -void Ifc4x3_rc3::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1113]); } +void Ifc4x3_rc3::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_rc3::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc3::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc3::IfcStructuralLoadGroup Ifc4x3_rc3::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc3::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc3::IfcStructuralLoadGroup>(); } void Ifc4x3_rc3::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x3_rc3::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x3_rc3::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc3::IfcStructuralAnalysisModel> Ifc4x3_rc3::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1083], 8)); } +std::vector<::Ifc4x3_rc3::IfcStructuralAnalysisModel> Ifc4x3_rc3::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1083], 8)); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1114]); } -void Ifc4x3_rc3::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc3::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc3::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1114]); } +void Ifc4x3_rc3::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc3::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_rc3::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc3::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc3::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1115]); } -void Ifc4x3_rc3::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1115]); } +void Ifc4x3_rc3::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1117]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1117]); } void Ifc4x3_rc3::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_rc3::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc3::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc3::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_rc3::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1118]); } -void Ifc4x3_rc3::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1118]); } +void Ifc4x3_rc3::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1120]); } -void Ifc4x3_rc3::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1120]); } +void Ifc4x3_rc3::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc3::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1121]); } -void Ifc4x3_rc3::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1121]); } +void Ifc4x3_rc3::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x3_rc3::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1124]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1124]); } void Ifc4x3_rc3::IfcStyleModel::initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -15317,43 +15317,43 @@ std::optional< std::string > Ifc4x3_rc3::IfcStyledItem::Name() const { if(get_at void Ifc4x3_rc3::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1122]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1122]); } void Ifc4x3_rc3::IfcStyledItem::initialize(::Ifc4x3_rc3::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_rc3::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x3_rc3::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1123]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1123]); } void Ifc4x3_rc3::IfcStyledRepresentation::initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value > Ifc4x3_rc3::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1125]); } -void Ifc4x3_rc3::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1125]); } +void Ifc4x3_rc3::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value Ifc4x3_rc3::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc3::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1126]); } -void Ifc4x3_rc3::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1126]); } +void Ifc4x3_rc3::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x3_rc3::IfcEdge Ifc4x3_rc3::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcEdge>(); } void Ifc4x3_rc3::IfcSubedge::setParentEdge(const ::Ifc4x3_rc3::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1128]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1128]); } void Ifc4x3_rc3::IfcSubedge::initialize(::Ifc4x3_rc3::IfcVertex v1_EdgeStart, ::Ifc4x3_rc3::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc3::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x3_rc3::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1129]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1129]); } void Ifc4x3_rc3::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -15362,27 +15362,27 @@ void Ifc4x3_rc3::IfcSurfaceCurve::setCurve3D(const ::Ifc4x3_rc3::IfcCurve& v) { std::vector< ::Ifc4x3_rc3::IfcPcurve > Ifc4x3_rc3::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc3::IfcPcurve>(es); } void Ifc4x3_rc3::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x3_rc3::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_rc3::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x3_rc3::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc3::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1130]); } -void Ifc4x3_rc3::IfcSurfaceCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1130]); } +void Ifc4x3_rc3::IfcSurfaceCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x3_rc3::IfcSurface Ifc4x3_rc3::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc3::IfcSurface>(); } void Ifc4x3_rc3::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x3_rc3::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1131]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1131]); } void Ifc4x3_rc3::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc3::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3_rc3::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1132]); } -void Ifc4x3_rc3::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1132]); } +void Ifc4x3_rc3::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x3_rc3::IfcDirection Ifc4x3_rc3::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc3::IfcDirection>(); } @@ -15391,7 +15391,7 @@ double Ifc4x3_rc3::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_ void Ifc4x3_rc3::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1134]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1134]); } void Ifc4x3_rc3::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -15399,7 +15399,7 @@ void Ifc4x3_rc3::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_rc3::IfcProfil void Ifc4x3_rc3::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x3_rc3::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1135]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1135]); } void Ifc4x3_rc3::IfcSurfaceOfRevolution::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -15411,18 +15411,18 @@ std::optional< double > Ifc4x3_rc3::IfcSurfaceReinforcementArea::ShearReinforcem void Ifc4x3_rc3::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1137]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1137]); } void Ifc4x3_rc3::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x3_rc3::IfcSurfaceSide::Value Ifc4x3_rc3::IfcSurfaceStyle::Side() const { return ::Ifc4x3_rc3::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x3_rc3::IfcSurfaceStyle::setSide(const ::Ifc4x3_rc3::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc3::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc3::IfcSurfaceStyle::setSide(const ::Ifc4x3_rc3::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc3::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x3_rc3::IfcSurfaceStyleElementSelect > Ifc4x3_rc3::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc3::IfcSurfaceStyleElementSelect>(es); } void Ifc4x3_rc3::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x3_rc3::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1139]); } -void Ifc4x3_rc3::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc3::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1139]); } +void Ifc4x3_rc3::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc3::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x3_rc3::IfcColourRgb Ifc4x3_rc3::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcColourRgb>(); } @@ -15435,7 +15435,7 @@ void Ifc4x3_rc3::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x3_r void Ifc4x3_rc3::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x3_rc3::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1141]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1141]); } void Ifc4x3_rc3::IfcSurfaceStyleLighting::initialize(::Ifc4x3_rc3::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_rc3::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_rc3::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_rc3::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -15445,7 +15445,7 @@ std::optional< double > Ifc4x3_rc3::IfcSurfaceStyleRefraction::DispersionFactor( void Ifc4x3_rc3::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1142]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1142]); } void Ifc4x3_rc3::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -15462,11 +15462,11 @@ void Ifc4x3_rc3::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x3_rc3: ::Ifc4x3_rc3::IfcSpecularHighlightSelect Ifc4x3_rc3::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc3::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc3::IfcSpecularHighlightSelect>(); } void Ifc4x3_rc3::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x3_rc3::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc3::IfcReflectanceMethodEnum::Value Ifc4x3_rc3::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x3_rc3::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_rc3::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_rc3::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1143]); } -void Ifc4x3_rc3::IfcSurfaceStyleRendering::initialize(::Ifc4x3_rc3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc3::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc3::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc3::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc3::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc3::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc3::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc3::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1143]); } +void Ifc4x3_rc3::IfcSurfaceStyleRendering::initialize(::Ifc4x3_rc3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc3::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc3::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc3::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc3::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc3::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc3::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc3::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x3_rc3::IfcColourRgb Ifc4x3_rc3::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcColourRgb>(); } @@ -15475,7 +15475,7 @@ std::optional< double > Ifc4x3_rc3::IfcSurfaceStyleShading::Transparency() const void Ifc4x3_rc3::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1144]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1144]); } void Ifc4x3_rc3::IfcSurfaceStyleShading::initialize(::Ifc4x3_rc3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -15483,7 +15483,7 @@ std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > Ifc4x3_rc3::IfcSurfaceStyleWithTe void Ifc4x3_rc3::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1145]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1145]); } void Ifc4x3_rc3::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -15498,10 +15498,10 @@ void Ifc4x3_rc3::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x3_rc3::IfcC std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc3::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc3::IfcTextureCoordinate> Ifc4x3_rc3::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1197], 0)); } -std::vector<::Ifc4x3_rc3::IfcSurfaceStyleWithTextures> Ifc4x3_rc3::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[1145], 0)); } +std::vector<::Ifc4x3_rc3::IfcTextureCoordinate> Ifc4x3_rc3::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1197], 0)); } +std::vector<::Ifc4x3_rc3::IfcSurfaceStyleWithTextures> Ifc4x3_rc3::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[1145], 0)); } -const IfcParse::entity& Ifc4x3_rc3::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1146]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1146]); } void Ifc4x3_rc3::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -15511,7 +15511,7 @@ void Ifc4x3_rc3::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x3_rc3::IfcProfileD void Ifc4x3_rc3::IfcSweptAreaSolid::setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1147]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1147]); } void Ifc4x3_rc3::IfcSweptAreaSolid::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -15527,7 +15527,7 @@ std::optional< double > Ifc4x3_rc3::IfcSweptDiskSolid::EndParam() const { if(get void Ifc4x3_rc3::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1148]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1148]); } void Ifc4x3_rc3::IfcSweptDiskSolid::initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -15535,7 +15535,7 @@ std::optional< double > Ifc4x3_rc3::IfcSweptDiskSolidPolygonal::FilletRadius() c void Ifc4x3_rc3::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1149]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1149]); } void Ifc4x3_rc3::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -15545,48 +15545,48 @@ void Ifc4x3_rc3::IfcSweptSurface::setSweptCurve(const ::Ifc4x3_rc3::IfcProfileDe void Ifc4x3_rc3::IfcSweptSurface::setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1150]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1150]); } void Ifc4x3_rc3::IfcSweptSurface::initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3_rc3::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1151]); } -void Ifc4x3_rc3::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1151]); } +void Ifc4x3_rc3::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_rc3::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1152]); } -void Ifc4x3_rc3::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1152]); } +void Ifc4x3_rc3::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x3_rc3::IfcRelServicesBuildings> Ifc4x3_rc3::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[950], 4)); } -std::vector<::Ifc4x3_rc3::IfcRelReferencedInSpatialStructure> Ifc4x3_rc3::IfcSystem::ServicesFacilities() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[948], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelServicesBuildings> Ifc4x3_rc3::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[950], 4)); } +std::vector<::Ifc4x3_rc3::IfcRelReferencedInSpatialStructure> Ifc4x3_rc3::IfcSystem::ServicesFacilities() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[948], 4)); } -const IfcParse::entity& Ifc4x3_rc3::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1154]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1154]); } void Ifc4x3_rc3::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_rc3::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1155]); } -void Ifc4x3_rc3::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1155]); } +void Ifc4x3_rc3::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_rc3::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1156]); } -void Ifc4x3_rc3::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_rc3::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1156]); } +void Ifc4x3_rc3::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x3_rc3::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -15609,8 +15609,8 @@ std::optional< double > Ifc4x3_rc3::IfcTShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc3::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1240]); } -void Ifc4x3_rc3::IfcTShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1240]); } +void Ifc4x3_rc3::IfcTShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x3_rc3::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -15621,7 +15621,7 @@ std::optional< std::vector< ::Ifc4x3_rc3::IfcTableColumn > > Ifc4x3_rc3::IfcTabl void Ifc4x3_rc3::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x3_rc3::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTable::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1158]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1158]); } void Ifc4x3_rc3::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_rc3::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_rc3::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -15637,7 +15637,7 @@ void Ifc4x3_rc3::IfcTableColumn::setUnit(const ::Ifc4x3_rc3::IfcUnit& v) { set_a void Ifc4x3_rc3::IfcTableColumn::setReferencePath(const ::Ifc4x3_rc3::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1159]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1159]); } void Ifc4x3_rc3::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_rc3::IfcUnit v4_Unit, ::Ifc4x3_rc3::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -15647,24 +15647,24 @@ std::optional< bool > Ifc4x3_rc3::IfcTableRow::IsHeading() const { if(get_attrib void Ifc4x3_rc3::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1160]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1160]); } void Ifc4x3_rc3::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x3_rc3::IfcTankTypeEnum::Value > Ifc4x3_rc3::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTank::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1161]); } -void Ifc4x3_rc3::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1161]); } +void Ifc4x3_rc3::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x3_rc3::IfcTankTypeEnum::Value Ifc4x3_rc3::IfcTankType::PredefinedType() const { return ::Ifc4x3_rc3::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTankType::setPredefinedType(const ::Ifc4x3_rc3::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcTankType::setPredefinedType(const ::Ifc4x3_rc3::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1162]); } -void Ifc4x3_rc3::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1162]); } +void Ifc4x3_rc3::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x3_rc3::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -15678,15 +15678,15 @@ void Ifc4x3_rc3::IfcTask::setPriority(const std::optional< int >& v) { if (v) {s ::Ifc4x3_rc3::IfcTaskTime Ifc4x3_rc3::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_rc3::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_rc3::IfcTaskTime>(); } void Ifc4x3_rc3::IfcTask::setTaskTime(const ::Ifc4x3_rc3::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value > Ifc4x3_rc3::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc3::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc3::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc3::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc3::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTask::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1164]); } -void Ifc4x3_rc3::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc3::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_rc3::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1164]); } +void Ifc4x3_rc3::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc3::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x3_rc3::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x3_rc3::IfcTaskDurationEnum::Value > Ifc4x3_rc3::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc3::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_rc3::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc3::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_rc3::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_rc3::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc3::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x3_rc3::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc3::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc3::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -15721,26 +15721,26 @@ std::optional< double > Ifc4x3_rc3::IfcTaskTime::Completion() const { if(get_att void Ifc4x3_rc3::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1166]); } -void Ifc4x3_rc3::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1166]); } +void Ifc4x3_rc3::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x3_rc3::IfcRecurrencePattern Ifc4x3_rc3::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x3_rc3::IfcRecurrencePattern>(); } void Ifc4x3_rc3::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x3_rc3::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x3_rc3::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1167]); } -void Ifc4x3_rc3::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc3::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc3::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)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1167]); } +void Ifc4x3_rc3::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc3::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc3::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)); } // Function implementations for IfcTaskType ::Ifc4x3_rc3::IfcTaskTypeEnum::Value Ifc4x3_rc3::IfcTaskType::PredefinedType() const { return ::Ifc4x3_rc3::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTaskType::setPredefinedType(const ::Ifc4x3_rc3::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcTaskType::setPredefinedType(const ::Ifc4x3_rc3::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc3::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1168]); } -void Ifc4x3_rc3::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc3::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc3::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1168]); } +void Ifc4x3_rc3::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc3::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc3::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc3::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -15757,12 +15757,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc3::IfcTelecomAddr void Ifc4x3_rc3::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1170]); } -void Ifc4x3_rc3::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1170]); } +void Ifc4x3_rc3::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x3_rc3::IfcTendonTypeEnum::Value > Ifc4x3_rc3::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc3::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc3::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15779,44 +15779,44 @@ std::optional< double > Ifc4x3_rc3::IfcTendon::MinCurvatureRadius() const { if(g void Ifc4x3_rc3::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1173]); } -void Ifc4x3_rc3::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc3::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1173]); } +void Ifc4x3_rc3::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc3::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value > Ifc4x3_rc3::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1174]); } -void Ifc4x3_rc3::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1174]); } +void Ifc4x3_rc3::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value Ifc4x3_rc3::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1175]); } -void Ifc4x3_rc3::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1175]); } +void Ifc4x3_rc3::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduit ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value Ifc4x3_rc3::IfcTendonConduit::PredefinedType() const { return ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1177]); } -void Ifc4x3_rc3::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1177]); } +void Ifc4x3_rc3::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduitType ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value Ifc4x3_rc3::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1178]); } -void Ifc4x3_rc3::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1178]); } +void Ifc4x3_rc3::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x3_rc3::IfcTendonTypeEnum::Value Ifc4x3_rc3::IfcTendonType::PredefinedType() const { return ::Ifc4x3_rc3::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTendonType::setPredefinedType(const ::Ifc4x3_rc3::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcTendonType::setPredefinedType(const ::Ifc4x3_rc3::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc3::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc3::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15825,23 +15825,23 @@ std::optional< double > Ifc4x3_rc3::IfcTendonType::SheathDiameter() const { if(g void Ifc4x3_rc3::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1180]); } -void Ifc4x3_rc3::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1180]); } +void Ifc4x3_rc3::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x3_rc3::IfcCartesianPointList3D Ifc4x3_rc3::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcCartesianPointList3D>(); } void Ifc4x3_rc3::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x3_rc3::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc3::IfcIndexedColourMap> Ifc4x3_rc3::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[549], 0)); } -std::vector<::Ifc4x3_rc3::IfcIndexedTextureMap> Ifc4x3_rc3::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[553], 1)); } +std::vector<::Ifc4x3_rc3::IfcIndexedColourMap> Ifc4x3_rc3::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[549], 0)); } +std::vector<::Ifc4x3_rc3::IfcIndexedTextureMap> Ifc4x3_rc3::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[553], 1)); } -const IfcParse::entity& Ifc4x3_rc3::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1182]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1182]); } void Ifc4x3_rc3::IfcTessellatedFaceSet::initialize(::Ifc4x3_rc3::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x3_rc3::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1183]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1183]); } void Ifc4x3_rc3::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -15850,11 +15850,11 @@ void Ifc4x3_rc3::IfcTextLiteral::setLiteral(const std::string& v) { set_attribut ::Ifc4x3_rc3::IfcAxis2Placement Ifc4x3_rc3::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcAxis2Placement>(); } void Ifc4x3_rc3::IfcTextLiteral::setPlacement(const ::Ifc4x3_rc3::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc3::IfcTextPath::Value Ifc4x3_rc3::IfcTextLiteral::Path() const { return ::Ifc4x3_rc3::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x3_rc3::IfcTextLiteral::setPath(const ::Ifc4x3_rc3::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc3::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc3::IfcTextLiteral::setPath(const ::Ifc4x3_rc3::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc3::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1189]); } -void Ifc4x3_rc3::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_rc3::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc3::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1189]); } +void Ifc4x3_rc3::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_rc3::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc3::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x3_rc3::IfcPlanarExtent Ifc4x3_rc3::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc3::IfcPlanarExtent>(); } @@ -15863,8 +15863,8 @@ std::string Ifc4x3_rc3::IfcTextLiteralWithExtent::BoxAlignment() const { std::s void Ifc4x3_rc3::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1190]); } -void Ifc4x3_rc3::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_rc3::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc3::IfcTextPath::Value v3_Path, ::Ifc4x3_rc3::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc3::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1190]); } +void Ifc4x3_rc3::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_rc3::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc3::IfcTextPath::Value v3_Path, ::Ifc4x3_rc3::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc3::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x3_rc3::IfcTextStyleForDefinedFont Ifc4x3_rc3::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc3::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc3::IfcTextStyleForDefinedFont>(); } @@ -15877,7 +15877,7 @@ std::optional< bool > Ifc4x3_rc3::IfcTextStyle::ModelOrDraughting() const { if(g void Ifc4x3_rc3::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1192]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1192]); } void Ifc4x3_rc3::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_rc3::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_rc3::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -15893,7 +15893,7 @@ void Ifc4x3_rc3::IfcTextStyleFontModel::setFontWeight(const std::optional< std:: void Ifc4x3_rc3::IfcTextStyleFontModel::setFontSize(const ::Ifc4x3_rc3::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1193]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1193]); } void Ifc4x3_rc3::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_rc3::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -15903,7 +15903,7 @@ void Ifc4x3_rc3::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x3_rc3::IfcCo void Ifc4x3_rc3::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x3_rc3::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1194]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1194]); } void Ifc4x3_rc3::IfcTextStyleForDefinedFont::initialize(::Ifc4x3_rc3::IfcColour v1_Colour, ::Ifc4x3_rc3::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -15923,7 +15923,7 @@ void Ifc4x3_rc3::IfcTextStyleTextModel::setTextTransform(const std::optional< st void Ifc4x3_rc3::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x3_rc3::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1195]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1195]); } void Ifc4x3_rc3::IfcTextStyleTextModel::initialize(::Ifc4x3_rc3::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_rc3::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_rc3::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_rc3::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -15931,7 +15931,7 @@ std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > Ifc4x3_rc3::IfcTextureCoordinate: void Ifc4x3_rc3::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1197]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1197]); } void Ifc4x3_rc3::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -15941,7 +15941,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x3_rc3::IfcTextureCoordinat void Ifc4x3_rc3::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1198]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1198]); } void Ifc4x3_rc3::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureMap @@ -15951,7 +15951,7 @@ void Ifc4x3_rc3::IfcTextureMap::setVertices(const std::vector< ::Ifc4x3_rc3::Ifc void Ifc4x3_rc3::IfcTextureMap::setMappedTo(const ::Ifc4x3_rc3::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1199]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1199]); } void Ifc4x3_rc3::IfcTextureMap::initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_rc3::IfcTextureVertex > v2_Vertices, ::Ifc4x3_rc3::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -15959,7 +15959,7 @@ std::vector< double > /*[2:2]*/ Ifc4x3_rc3::IfcTextureVertex::Coordinates() cons void Ifc4x3_rc3::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1200]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1200]); } void Ifc4x3_rc3::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -15967,7 +15967,7 @@ std::vector< std::vector< double > > Ifc4x3_rc3::IfcTextureVertexList::TexCoords void Ifc4x3_rc3::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1201]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1201]); } void Ifc4x3_rc3::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcThirdOrderPolynomialSpiral @@ -15981,7 +15981,7 @@ std::optional< double > Ifc4x3_rc3::IfcThirdOrderPolynomialSpiral::ConstantTerm( void Ifc4x3_rc3::IfcThirdOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcThirdOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1208]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcThirdOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1208]); } void Ifc4x3_rc3::IfcThirdOrderPolynomialSpiral::initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_QubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_QubicTerm)); 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)); } } // Function implementations for IfcTimePeriod @@ -15991,7 +15991,7 @@ std::string Ifc4x3_rc3::IfcTimePeriod::EndTime() const { std::string v = get_at void Ifc4x3_rc3::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1212]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1212]); } void Ifc4x3_rc3::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -16004,37 +16004,37 @@ void Ifc4x3_rc3::IfcTimeSeries::setStartTime(const std::string& v) { set_attribu std::string Ifc4x3_rc3::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc3::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_rc3::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc3::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc3::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc3::IfcDataOriginEnum::Value Ifc4x3_rc3::IfcTimeSeries::DataOrigin() const { return ::Ifc4x3_rc3::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_rc3::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc3::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_rc3::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x3_rc3::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_rc3::IfcUnit Ifc4x3_rc3::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc3::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc3::IfcUnit>(); } void Ifc4x3_rc3::IfcTimeSeries::setUnit(const ::Ifc4x3_rc3::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[434], 3)); } +std::vector<::Ifc4x3_rc3::IfcExternalReferenceRelationship> Ifc4x3_rc3::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[434], 3)); } -const IfcParse::entity& Ifc4x3_rc3::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1213]); } -void Ifc4x3_rc3::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcUnit v8_Unit) { 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_rc3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1213]); } +void Ifc4x3_rc3::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x3_rc3::IfcValue > Ifc4x3_rc3::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcValue>(es); } void Ifc4x3_rc3::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_rc3::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1215]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1215]); } void Ifc4x3_rc3::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x3_rc3::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x3_rc3::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1217]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1217]); } void Ifc4x3_rc3::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x3_rc3::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1218]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1218]); } void Ifc4x3_rc3::IfcTopologyRepresentation::initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -16044,47 +16044,47 @@ double Ifc4x3_rc3::IfcToroidalSurface::MinorRadius() const { double v = get_att void Ifc4x3_rc3::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc3::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1219]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1219]); } void Ifc4x3_rc3::IfcToroidalSurface::initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTrackElement std::optional< ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value > Ifc4x3_rc3::IfcTrackElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcTrackElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTrackElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1221]); } -void Ifc4x3_rc3::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTrackElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1221]); } +void Ifc4x3_rc3::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTrackElementType ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value Ifc4x3_rc3::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3_rc3::IfcTrackElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcTrackElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1222]); } -void Ifc4x3_rc3::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTrackElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1222]); } +void Ifc4x3_rc3::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransformer std::optional< ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value > Ifc4x3_rc3::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1224]); } -void Ifc4x3_rc3::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1224]); } +void Ifc4x3_rc3::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value Ifc4x3_rc3::IfcTransformerType::PredefinedType() const { return ::Ifc4x3_rc3::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTransformerType::setPredefinedType(const ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcTransformerType::setPredefinedType(const ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1225]); } -void Ifc4x3_rc3::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1225]); } +void Ifc4x3_rc3::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportElement ::Ifc4x3_rc3::IfcTransportElementTypeSelect Ifc4x3_rc3::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc3::IfcTransportElementTypeSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc3::IfcTransportElementTypeSelect>(); } void Ifc4x3_rc3::IfcTransportElement::setPredefinedType(const ::Ifc4x3_rc3::IfcTransportElementTypeSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1229]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1229]); } void Ifc4x3_rc3::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcTransportElementTypeSelect v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_PredefinedType)); } // Function implementations for IfcTransportElementType @@ -16092,7 +16092,7 @@ void Ifc4x3_rc3::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4 void Ifc4x3_rc3::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcTransportElementTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1232]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1232]); } void Ifc4x3_rc3::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTransportElementTypeSelect v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_PredefinedType)); } // Function implementations for IfcTrapeziumProfileDef @@ -16106,8 +16106,8 @@ double Ifc4x3_rc3::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_ void Ifc4x3_rc3::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc3::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1234]); } -void Ifc4x3_rc3::IfcTrapeziumProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1234]); } +void Ifc4x3_rc3::IfcTrapeziumProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x3_rc3::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -16120,7 +16120,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc3::IfcTriangulatedFaceSet void Ifc4x3_rc3::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1235]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1235]); } void Ifc4x3_rc3::IfcTriangulatedFaceSet::initialize(::Ifc4x3_rc3::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -16128,7 +16128,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::Flags( void Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1236]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1236]); } void Ifc4x3_rc3::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x3_rc3::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); 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)); } // Function implementations for IfcTrimmedCurve @@ -16141,27 +16141,27 @@ void Ifc4x3_rc3::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x3_rc3::IfcT bool Ifc4x3_rc3::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x3_rc3::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc3::IfcTrimmingPreference::Value Ifc4x3_rc3::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x3_rc3::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x3_rc3::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_rc3::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc3::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc3::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_rc3::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc3::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc3::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1237]); } -void Ifc4x3_rc3::IfcTrimmedCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc3::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc3::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc3::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc3::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1237]); } +void Ifc4x3_rc3::IfcTrimmedCurve::initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc3::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc3::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc3::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc3::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value > Ifc4x3_rc3::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1241]); } -void Ifc4x3_rc3::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1241]); } +void Ifc4x3_rc3::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value Ifc4x3_rc3::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1242]); } -void Ifc4x3_rc3::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1242]); } +void Ifc4x3_rc3::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x3_rc3::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -16169,9 +16169,9 @@ void Ifc4x3_rc3::IfcTypeObject::setApplicableOccurrence(const std::optional< std std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > Ifc4x3_rc3::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_rc3::IfcPropertySetDefinition>(es); } void Ifc4x3_rc3::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc3::IfcRelDefinesByType> Ifc4x3_rc3::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[941], 5)); } +std::vector<::Ifc4x3_rc3::IfcRelDefinesByType> Ifc4x3_rc3::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[941], 5)); } -const IfcParse::entity& Ifc4x3_rc3::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1244]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1244]); } void Ifc4x3_rc3::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -16182,9 +16182,9 @@ void Ifc4x3_rc3::IfcTypeProcess::setLongDescription(const std::optional< std::st std::optional< std::string > Ifc4x3_rc3::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc3::IfcRelAssignsToProcess> Ifc4x3_rc3::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[911], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelAssignsToProcess> Ifc4x3_rc3::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[911], 6)); } -const IfcParse::entity& Ifc4x3_rc3::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1245]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1245]); } void Ifc4x3_rc3::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -16193,9 +16193,9 @@ void Ifc4x3_rc3::IfcTypeProduct::setRepresentationMaps(const std::optional< std: std::optional< std::string > Ifc4x3_rc3::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc3::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc3::IfcRelAssignsToProduct> Ifc4x3_rc3::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[912], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelAssignsToProduct> Ifc4x3_rc3::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[912], 6)); } -const IfcParse::entity& Ifc4x3_rc3::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1246]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1246]); } void Ifc4x3_rc3::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -16206,9 +16206,9 @@ void Ifc4x3_rc3::IfcTypeResource::setLongDescription(const std::optional< std::s std::optional< std::string > Ifc4x3_rc3::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc3::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc3::IfcRelAssignsToResource> Ifc4x3_rc3::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC3_types[913], 6)); } +std::vector<::Ifc4x3_rc3::IfcRelAssignsToResource> Ifc4x3_rc3::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC3_types[913], 6)); } -const IfcParse::entity& Ifc4x3_rc3::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1247]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1247]); } void Ifc4x3_rc3::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -16228,64 +16228,64 @@ std::optional< double > Ifc4x3_rc3::IfcUShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc3::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1258]); } -void Ifc4x3_rc3::IfcUShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1258]); } +void Ifc4x3_rc3::IfcUShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x3_rc3::IfcUnit > Ifc4x3_rc3::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc3::IfcUnit>(es); } void Ifc4x3_rc3::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x3_rc3::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1255]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1255]); } void Ifc4x3_rc3::IfcUnitAssignment::initialize(std::vector< ::Ifc4x3_rc3::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3_rc3::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1249]); } -void Ifc4x3_rc3::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1249]); } +void Ifc4x3_rc3::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_rc3::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1250]); } -void Ifc4x3_rc3::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1250]); } +void Ifc4x3_rc3::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3_rc3::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1252]); } -void Ifc4x3_rc3::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1252]); } +void Ifc4x3_rc3::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_rc3::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1253]); } -void Ifc4x3_rc3::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1253]); } +void Ifc4x3_rc3::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x3_rc3::IfcValveTypeEnum::Value > Ifc4x3_rc3::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcValve::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1260]); } -void Ifc4x3_rc3::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1260]); } +void Ifc4x3_rc3::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x3_rc3::IfcValveTypeEnum::Value Ifc4x3_rc3::IfcValveType::PredefinedType() const { return ::Ifc4x3_rc3::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcValveType::setPredefinedType(const ::Ifc4x3_rc3::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcValveType::setPredefinedType(const ::Ifc4x3_rc3::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1261]); } -void Ifc4x3_rc3::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1261]); } +void Ifc4x3_rc3::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x3_rc3::IfcDirection Ifc4x3_rc3::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc3::IfcDirection>(); } @@ -16294,13 +16294,13 @@ double Ifc4x3_rc3::IfcVector::Magnitude() const { double v = get_attribute_valu void Ifc4x3_rc3::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcVector::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1264]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1264]); } void Ifc4x3_rc3::IfcVector::initialize(::Ifc4x3_rc3::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x3_rc3::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1266]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1266]); } void Ifc4x3_rc3::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -16308,7 +16308,7 @@ void Ifc4x3_rc3::IfcVertex::initialize() { } void Ifc4x3_rc3::IfcVertexLoop::setLoopVertex(const ::Ifc4x3_rc3::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1267]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1267]); } void Ifc4x3_rc3::IfcVertexLoop::initialize(::Ifc4x3_rc3::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -16316,40 +16316,40 @@ void Ifc4x3_rc3::IfcVertexLoop::initialize(::Ifc4x3_rc3::IfcVertex v1_LoopVertex void Ifc4x3_rc3::IfcVertexPoint::setVertexGeometry(const ::Ifc4x3_rc3::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc3::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1268]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1268]); } void Ifc4x3_rc3::IfcVertexPoint::initialize(::Ifc4x3_rc3::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationDamper std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > Ifc4x3_rc3::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1269]); } -void Ifc4x3_rc3::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1269]); } +void Ifc4x3_rc3::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationDamperType std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > Ifc4x3_rc3::IfcVibrationDamperType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc3::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc3::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1270]); } -void Ifc4x3_rc3::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_rc3::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1270]); } +void Ifc4x3_rc3::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3_rc3::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1272]); } -void Ifc4x3_rc3::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1272]); } +void Ifc4x3_rc3::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_rc3::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1273]); } -void Ifc4x3_rc3::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1273]); } +void Ifc4x3_rc3::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVienneseBend double Ifc4x3_rc3::IfcVienneseBend::StartCurvature() const { double v = get_attribute_value(0); return v; } @@ -16362,13 +16362,13 @@ double Ifc4x3_rc3::IfcVienneseBend::SegmentLength() const { double v = get_attr void Ifc4x3_rc3::IfcVienneseBend::setSegmentLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc3::IfcVienneseBend::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1275]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVienneseBend::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1275]); } void Ifc4x3_rc3::IfcVienneseBend::initialize(double v1_StartCurvature, double v2_EndCurvature, double v3_GravityCenterHeight, double v4_SegmentLength) { set_attribute_value(0, (v1_StartCurvature));set_attribute_value(1, (v2_EndCurvature));set_attribute_value(2, (v3_GravityCenterHeight));set_attribute_value(3, (v4_SegmentLength)); } // Function implementations for IfcVirtualElement -const IfcParse::entity& Ifc4x3_rc3::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1276]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1276]); } void Ifc4x3_rc3::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVirtualGridIntersection @@ -16378,71 +16378,71 @@ std::vector< double > /*[2:3]*/ Ifc4x3_rc3::IfcVirtualGridIntersection::OffsetDi void Ifc4x3_rc3::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc3::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1277]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1277]); } void Ifc4x3_rc3::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x3_rc3::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidStratum -const IfcParse::entity& Ifc4x3_rc3::IfcVoidStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1280]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVoidStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1280]); } void Ifc4x3_rc3::IfcVoidStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value > Ifc4x3_rc3::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1278]); } -void Ifc4x3_rc3::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1278]); } +void Ifc4x3_rc3::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > Ifc4x3_rc3::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWall::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1283]); } -void Ifc4x3_rc3::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1283]); } +void Ifc4x3_rc3::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallElementedCase -const IfcParse::entity& Ifc4x3_rc3::IfcWallElementedCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1284]); } -void Ifc4x3_rc3::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWallElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1284]); } +void Ifc4x3_rc3::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x3_rc3::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1285]); } -void Ifc4x3_rc3::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1285]); } +void Ifc4x3_rc3::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x3_rc3::IfcWallTypeEnum::Value Ifc4x3_rc3::IfcWallType::PredefinedType() const { return ::Ifc4x3_rc3::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcWallType::setPredefinedType(const ::Ifc4x3_rc3::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcWallType::setPredefinedType(const ::Ifc4x3_rc3::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1286]); } -void Ifc4x3_rc3::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1286]); } +void Ifc4x3_rc3::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value > Ifc4x3_rc3::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1291]); } -void Ifc4x3_rc3::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1291]); } +void Ifc4x3_rc3::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value Ifc4x3_rc3::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc3::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1292]); } -void Ifc4x3_rc3::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1292]); } +void Ifc4x3_rc3::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWaterStratum -const IfcParse::entity& Ifc4x3_rc3::IfcWaterStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1294]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWaterStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1294]); } void Ifc4x3_rc3::IfcWaterStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcWindow @@ -16451,15 +16451,15 @@ void Ifc4x3_rc3::IfcWindow::setOverallHeight(const std::optional< double >& v) { std::optional< double > Ifc4x3_rc3::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc3::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc3::IfcWindowTypeEnum::Value > Ifc4x3_rc3::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc3::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value > Ifc4x3_rc3::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc3::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc3::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc3::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc3::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1295]); } -void Ifc4x3_rc3::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1295]); } +void Ifc4x3_rc3::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x3_rc3::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -16488,14 +16488,14 @@ std::optional< double > Ifc4x3_rc3::IfcWindowLiningProperties::LiningToPanelOffs void Ifc4x3_rc3::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1296]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1296]); } void Ifc4x3_rc3::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_rc3::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value Ifc4x3_rc3::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3_rc3::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc3::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc3::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value Ifc4x3_rc3::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc3::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc3::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc3::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc3::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_rc3::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -16504,42 +16504,42 @@ void Ifc4x3_rc3::IfcWindowPanelProperties::setFrameThickness(const std::optional void Ifc4x3_rc3::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x3_rc3::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc3::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1299]); } -void Ifc4x3_rc3::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc3::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)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1299]); } +void Ifc4x3_rc3::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc3::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc3::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)); } // Function implementations for IfcWindowStandardCase -const IfcParse::entity& Ifc4x3_rc3::IfcWindowStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1300]); } -void Ifc4x3_rc3::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc3::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWindowStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1300]); } +void Ifc4x3_rc3::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowStyle ::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value Ifc4x3_rc3::IfcWindowStyle::ConstructionType() const { return ::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcWindowStyle::setConstructionType(const ::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc3::IfcWindowStyle::setConstructionType(const ::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value Ifc4x3_rc3::IfcWindowStyle::OperationType() const { return ::Ifc4x3_rc3::IfcWindowStyleOperationEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcWindowStyle::setOperationType(const ::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcWindowStyle::setOperationType(const ::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x3_rc3::IfcWindowStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x3_rc3::IfcWindowStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x3_rc3::IfcWindowStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x3_rc3::IfcWindowStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc3::IfcWindowStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1301]); } -void Ifc4x3_rc3::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWindowStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1301]); } +void Ifc4x3_rc3::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcWindowType ::Ifc4x3_rc3::IfcWindowTypeEnum::Value Ifc4x3_rc3::IfcWindowType::PredefinedType() const { return ::Ifc4x3_rc3::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc3::IfcWindowType::setPredefinedType(const ::Ifc4x3_rc3::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc3::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc3::IfcWindowType::setPredefinedType(const ::Ifc4x3_rc3::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value Ifc4x3_rc3::IfcWindowType::PartitioningType() const { return ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc3::IfcWindowType::setPartitioningType(const ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc3::IfcWindowType::setPartitioningType(const ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_rc3::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_rc3::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc3::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc3::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1304]); } -void Ifc4x3_rc3::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc3::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1304]); } +void Ifc4x3_rc3::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x3_rc3::IfcWorkTime > > Ifc4x3_rc3::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc3::IfcWorkTime>(es); } @@ -16547,11 +16547,11 @@ void Ifc4x3_rc3::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vect std::optional< std::vector< ::Ifc4x3_rc3::IfcWorkTime > > Ifc4x3_rc3::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc3::IfcWorkTime>(es); } void Ifc4x3_rc3::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x3_rc3::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value > Ifc4x3_rc3::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc3::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc3::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1307]); } -void Ifc4x3_rc3::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc3::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc3::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1307]); } +void Ifc4x3_rc3::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc3::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc3::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x3_rc3::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -16570,24 +16570,24 @@ std::optional< std::string > Ifc4x3_rc3::IfcWorkControl::FinishTime() const { if void Ifc4x3_rc3::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1309]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1309]); } void Ifc4x3_rc3::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value > Ifc4x3_rc3::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc3::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc3::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1310]); } -void Ifc4x3_rc3::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_rc3::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1310]); } +void Ifc4x3_rc3::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value > Ifc4x3_rc3::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc3::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc3::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1312]); } -void Ifc4x3_rc3::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_rc3::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1312]); } +void Ifc4x3_rc3::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x3_rc3::IfcRecurrencePattern Ifc4x3_rc3::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_rc3::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc3::IfcRecurrencePattern>(); } @@ -16598,8 +16598,8 @@ std::optional< std::string > Ifc4x3_rc3::IfcWorkTime::Finish() const { if(get_at void Ifc4x3_rc3::IfcWorkTime::setFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc3::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1314]); } -void Ifc4x3_rc3::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1314]); } +void Ifc4x3_rc3::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc3::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x3_rc3::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -16616,14 +16616,14 @@ std::optional< double > Ifc4x3_rc3::IfcZShapeProfileDef::EdgeRadius() const { if void Ifc4x3_rc3::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc3::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1316]); } -void Ifc4x3_rc3::IfcZShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc3::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1316]); } +void Ifc4x3_rc3::IfcZShapeProfileDef::initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc3::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x3_rc3::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc3::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc3::IfcZone::Class() { return *((IfcParse::entity*)IFC4X3_RC3_types[1315]); } +const ifcopenshell::entity& Ifc4x3_rc3::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC3_types[1315]); } void Ifc4x3_rc3::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x3_rc3.h b/src/ifcparse/schemas/Ifc4x3_rc3.h index 0cea01ccda..4700a95baf 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc3.h +++ b/src/ifcparse/schemas/Ifc4x3_rc3.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x3_rc3 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveMeasureSelect() {} explicit IfcCurveMeasureSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcNonNegativeLengthMeasure as() const { return express::Base::as(); } @@ -1108,7 +1108,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1141,7 +1141,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1165,7 +1165,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1191,7 +1191,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1284,7 +1284,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1725,7 +1725,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1745,7 +1745,7 @@ public: IfcFacilityPartTypeSelect() {} explicit IfcFacilityPartTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBridgePartTypeEnum as() const { return express::Base::as(); } @@ -1788,7 +1788,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1836,7 +1836,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1869,7 +1869,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1891,7 +1891,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1911,7 +1911,7 @@ public: IfcImpactProtectionDeviceTypeSelect() {} explicit IfcImpactProtectionDeviceTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcImpactProtectionDeviceTypeEnum as() const { return express::Base::as(); } @@ -1937,7 +1937,7 @@ public: IfcInterferenceSelect() {} explicit IfcInterferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -1963,7 +1963,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1992,7 +1992,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -2033,7 +2033,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -2078,7 +2078,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2112,7 +2112,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2269,7 +2269,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2981,7 +2981,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3003,7 +3003,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3025,7 +3025,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3047,7 +3047,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3115,7 +3115,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3144,7 +3144,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3164,7 +3164,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3192,7 +3192,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3212,7 +3212,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3234,7 +3234,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3352,7 +3352,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3374,7 +3374,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3394,7 +3394,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3424,7 +3424,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3462,7 +3462,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3565,7 +3565,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3615,7 +3615,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3646,7 +3646,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3666,7 +3666,7 @@ public: IfcSpatialReferenceSelect() {} explicit IfcSpatialReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcGroup as() const { return express::Base::as(); } @@ -3695,7 +3695,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3723,7 +3723,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3751,7 +3751,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3785,7 +3785,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3829,7 +3829,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3850,7 +3850,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3872,7 +3872,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3892,7 +3892,7 @@ public: IfcTransportElementTypeSelect() {} explicit IfcTransportElementTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcTransportElementFixedTypeEnum as() const { return express::Base::as(); } @@ -3916,7 +3916,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -3948,7 +3948,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -3983,7 +3983,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4664,7 +4664,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4686,7 +4686,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4714,13 +4714,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4733,13 +4733,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_SNOW_S, IfcActionSourceType_WIND_W, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_FIRE, IfcActionSourceType_IMPULSE, IfcActionSourceType_IMPACT, IfcActionSourceType_TRANSPORT, IfcActionSourceType_ERECTION, IfcActionSourceType_PROPPING, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_CREEP, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_BUOYANCY, IfcActionSourceType_ICE, IfcActionSourceType_CURRENT, IfcActionSourceType_WAVE, IfcActionSourceType_RAIN, IfcActionSourceType_BRAKES, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4754,13 +4754,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_EXTRAORDINARY_A, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4784,13 +4784,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4809,13 +4809,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_HOME, IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4834,13 +4834,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4861,13 +4861,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4891,13 +4891,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4919,13 +4919,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_RAILWAYCROCODILE, IfcAlarmType_RAILWAYDETONATOR, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4934,13 +4934,13 @@ public: class IFC_PARSE_API IfcAlignmentCantSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentCantSegmentTypeEnum() {} - explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentCantSegmentType_CONSTANTCANT, IfcAlignmentCantSegmentType_LINEARTRANSITION, IfcAlignmentCantSegmentType_HELMERTCURVE, IfcAlignmentCantSegmentType_BLOSSCURVE, IfcAlignmentCantSegmentType_COSINECURVE, IfcAlignmentCantSegmentType_SINECURVE, IfcAlignmentCantSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4949,13 +4949,13 @@ public: class IFC_PARSE_API IfcAlignmentHorizontalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentHorizontalSegmentTypeEnum() {} - explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentHorizontalSegmentType_LINE, IfcAlignmentHorizontalSegmentType_CIRCULARARC, IfcAlignmentHorizontalSegmentType_CLOTHOID, IfcAlignmentHorizontalSegmentType_CUBIC, IfcAlignmentHorizontalSegmentType_HELMERTCURVE, IfcAlignmentHorizontalSegmentType_BLOSSCURVE, IfcAlignmentHorizontalSegmentType_CUBICSPIRAL, IfcAlignmentHorizontalSegmentType_COSINECURVE, IfcAlignmentHorizontalSegmentType_SINECURVE, IfcAlignmentHorizontalSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4964,13 +4964,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4979,13 +4979,13 @@ public: class IFC_PARSE_API IfcAlignmentVerticalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentVerticalSegmentTypeEnum() {} - explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT, IfcAlignmentVerticalSegmentType_CIRCULARARC, IfcAlignmentVerticalSegmentType_PARABOLICARC, IfcAlignmentVerticalSegmentType_CLOTHOID} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4999,13 +4999,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5020,13 +5020,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5035,13 +5035,13 @@ public: class IFC_PARSE_API IfcAnnotationTypeEnum : public express::DeclaredType { public: IfcAnnotationTypeEnum() {} - explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnnotationType_ASSUMEDPOINT, IfcAnnotationType_ASBUILTAREA, IfcAnnotationType_ASBUILTLINE, IfcAnnotationType_NON_PHYSICAL_SIGNAL, IfcAnnotationType_ASSUMEDLINE, IfcAnnotationType_WIDTHEVENT, IfcAnnotationType_ASSUMEDAREA, IfcAnnotationType_SUPERELEVATIONEVENT, IfcAnnotationType_ASBUILTPOINT, IfcAnnotationType_USERDEFINED, IfcAnnotationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5061,13 +5061,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5087,13 +5087,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_SITE, IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5115,13 +5115,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_RAILWAY_COMMUNICATION_TERMINAL, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5143,13 +5143,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5158,13 +5158,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5211,13 +5211,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_JOIST, IfcBeamType_HOLLOWCORE, IfcBeamType_LINTEL, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_GIRDER_SEGMENT, IfcBeamType_DIAPHRAGM, IfcBeamType_PIERCAP, IfcBeamType_HATSTONE, IfcBeamType_CORNICE, IfcBeamType_EDGEBEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5226,13 +5226,13 @@ public: class IFC_PARSE_API IfcBearingTypeDisplacementEnum : public express::DeclaredType { public: IfcBearingTypeDisplacementEnum() {} - explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingTypeDisplacement_FIXED_MOVEMENT, IfcBearingTypeDisplacement_GUIDED_LONGITUDINAL, IfcBearingTypeDisplacement_GUIDED_TRANSVERSAL, IfcBearingTypeDisplacement_FREE_MOVEMENT, IfcBearingTypeDisplacement_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5241,13 +5241,13 @@ public: class IFC_PARSE_API IfcBearingTypeEnum : public express::DeclaredType { public: IfcBearingTypeEnum() {} - explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingType_CYLINDRICAL, IfcBearingType_SPHERICAL, IfcBearingType_ELASTOMERIC, IfcBearingType_POT, IfcBearingType_GUIDE, IfcBearingType_ROCKER, IfcBearingType_ROLLER, IfcBearingType_DISK, IfcBearingType_USERDEFINED, IfcBearingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5295,13 +5295,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_EQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_INCLUDES, IfcBenchmark_NOTINCLUDES, IfcBenchmark_INCLUDEDIN, IfcBenchmark_NOTINCLUDEDIN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5318,13 +5318,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_WATER, IfcBoilerType_STEAM, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5341,13 +5341,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_UNION, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_DIFFERENCE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5356,13 +5356,13 @@ public: class IFC_PARSE_API IfcBridgePartTypeEnum : public express::DeclaredType { public: IfcBridgePartTypeEnum() {} - explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgePartType_ABUTMENT, IfcBridgePartType_DECK, IfcBridgePartType_DECK_SEGMENT, IfcBridgePartType_FOUNDATION, IfcBridgePartType_PIER, IfcBridgePartType_PIER_SEGMENT, IfcBridgePartType_PYLON, IfcBridgePartType_SUBSTRUCTURE, IfcBridgePartType_SUPERSTRUCTURE, IfcBridgePartType_SURFACESTRUCTURE, IfcBridgePartType_USERDEFINED, IfcBridgePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5371,13 +5371,13 @@ public: class IFC_PARSE_API IfcBridgeTypeEnum : public express::DeclaredType { public: IfcBridgeTypeEnum() {} - explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgeType_ARCHED, IfcBridgeType_CABLE_STAYED, IfcBridgeType_CANTILEVER, IfcBridgeType_CULVERT, IfcBridgeType_FRAMEWORK, IfcBridgeType_GIRDER, IfcBridgeType_SUSPENSION, IfcBridgeType_TRUSS, IfcBridgeType_USERDEFINED, IfcBridgeType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5393,13 +5393,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_APRON, IfcBuildingElementPartType_ARMOURUNIT, IfcBuildingElementPartType_SAFETYCAGE, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5418,13 +5418,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5446,13 +5446,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_REINFORCING, IfcBuildingSystemType_PRESTRESSING, IfcBuildingSystemType_EROSIONPREVENTION, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5461,13 +5461,13 @@ public: class IFC_PARSE_API IfcBuiltSystemTypeEnum : public express::DeclaredType { public: IfcBuiltSystemTypeEnum() {} - explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuiltSystemType_REINFORCING, IfcBuiltSystemType_MOORING, IfcBuiltSystemType_OUTERSHELL, IfcBuiltSystemType_TRACKCIRCUIT, IfcBuiltSystemType_EROSIONPREVENTION, IfcBuiltSystemType_FOUNDATION, IfcBuiltSystemType_LOADBEARING, IfcBuiltSystemType_SHADING, IfcBuiltSystemType_FENESTRATION, IfcBuiltSystemType_MOORINGSYSTEM, IfcBuiltSystemType_TRANSPORT, IfcBuiltSystemType_PRESTRESSING, IfcBuiltSystemType_USERDEFINED, IfcBuiltSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5482,13 +5482,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5506,13 +5506,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5530,13 +5530,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_CABLEBRACKET, IfcCableCarrierSegmentType_CATENARYWIRE, IfcCableCarrierSegmentType_DROPPER, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5555,13 +5555,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_FANOUT, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5581,13 +5581,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_CONTACTWIRESEGMENT, IfcCableSegmentType_FIBERSEGMENT, IfcCableSegmentType_FIBERTUBE, IfcCableSegmentType_OPTICALCABLESEGMENT, IfcCableSegmentType_STITCHWIRE, IfcCableSegmentType_WIREPAIRSEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5596,13 +5596,13 @@ public: class IFC_PARSE_API IfcCaissonFoundationTypeEnum : public express::DeclaredType { public: IfcCaissonFoundationTypeEnum() {} - explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCaissonFoundationType_WELL, IfcCaissonFoundationType_CAISSON, IfcCaissonFoundationType_USERDEFINED, IfcCaissonFoundationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5621,13 +5621,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_NOCHANGE, IfcChangeAction_MODIFIED, IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5645,13 +5645,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_WATERCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5669,13 +5669,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5705,13 +5705,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5733,13 +5733,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PILASTER, IfcColumnType_PIERSTEM, IfcColumnType_PIERSTEM_SEGMENT, IfcColumnType_STANDCOLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5763,13 +5763,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_AUTOMATON, IfcCommunicationsApplianceType_INTELLIGENT_PERIPHERAL, IfcCommunicationsApplianceType_IP_NETWORK_EQUIPMENT, IfcCommunicationsApplianceType_OPTICAL_NETWORK_UNIT, IfcCommunicationsApplianceType_TELECOMMAND, IfcCommunicationsApplianceType_TELEPHONYEXCHANGE, IfcCommunicationsApplianceType_TRANSITIONCOMPONENT, IfcCommunicationsApplianceType_TRANSPONDER, IfcCommunicationsApplianceType_TRANSPORTEQUIPMENT, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5785,13 +5785,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5821,13 +5821,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_DYNAMIC, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROTARY, IfcCompressorType_SCROLL, IfcCompressorType_TROCHOIDAL, IfcCompressorType_SINGLESTAGE, IfcCompressorType_BOOSTER, IfcCompressorType_OPENTYPE, IfcCompressorType_HERMETIC, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARYVANE, IfcCompressorType_SINGLESCREW, IfcCompressorType_TWINSCREW, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5848,13 +5848,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5882,13 +5882,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_ATEND, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5913,13 +5913,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_ADVISORY, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5941,13 +5941,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5970,13 +5970,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_NOTDEFINED, IfcConstructionMaterialResourceType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5992,13 +5992,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6020,13 +6020,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_MULTIPOSITION, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6035,13 +6035,13 @@ public: class IFC_PARSE_API IfcConveyorSegmentTypeEnum : public express::DeclaredType { public: IfcConveyorSegmentTypeEnum() {} - explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConveyorSegmentType_CHUTECONVEYOR, IfcConveyorSegmentType_BELTCONVEYOR, IfcConveyorSegmentType_SCREWCONVEYOR, IfcConveyorSegmentType_BUCKETCONVEYOR, IfcConveyorSegmentType_USERDEFINED, IfcConveyorSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6068,13 +6068,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6094,13 +6094,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6114,13 +6114,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6141,13 +6141,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_TENDER, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6156,13 +6156,13 @@ public: class IFC_PARSE_API IfcCourseTypeEnum : public express::DeclaredType { public: IfcCourseTypeEnum() {} - explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCourseType_ARMOUR, IfcCourseType_FILTER, IfcCourseType_BALLASTBED, IfcCourseType_CORE, IfcCourseType_PAVEMENT, IfcCourseType_PROTECTION, IfcCourseType_USERDEFINED, IfcCourseType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6213,13 +6213,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_FLOORING, IfcCoveringType_CLADDING, IfcCoveringType_ROOFING, IfcCoveringType_MOLDING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_SLEEVING, IfcCoveringType_WRAPPING, IfcCoveringType_COPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6235,13 +6235,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6258,13 +6258,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6289,13 +6289,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6320,13 +6320,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6342,13 +6342,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6413,13 +6413,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6435,13 +6435,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_POSITIVE, IfcDirectionSense_NEGATIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6458,13 +6458,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_EXPANSION_JOINT_DEVICE, IfcDiscreteAccessoryType_CABLEARRANGER, IfcDiscreteAccessoryType_INSULATOR, IfcDiscreteAccessoryType_LOCK, IfcDiscreteAccessoryType_TENSIONINGEQUIPMENT, IfcDiscreteAccessoryType_RAILPAD, IfcDiscreteAccessoryType_SLIDINGCHAIR, IfcDiscreteAccessoryType_RAIL_LUBRICATION, IfcDiscreteAccessoryType_PANEL_STRENGTHENING, IfcDiscreteAccessoryType_RAILBRACE, IfcDiscreteAccessoryType_ELASTIC_CUSHION, IfcDiscreteAccessoryType_SOUNDABSORPTION, IfcDiscreteAccessoryType_POINTMACHINEMOUNTINGDEVICE, IfcDiscreteAccessoryType_POINT_MACHINE_LOCKING_DEVICE, IfcDiscreteAccessoryType_RAIL_MECHANICAL_EQUIPMENT, IfcDiscreteAccessoryType_BIRDPROTECTION, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6473,13 +6473,13 @@ public: class IFC_PARSE_API IfcDistributionBoardTypeEnum : public express::DeclaredType { public: IfcDistributionBoardTypeEnum() {} - explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionBoardType_SWITCHBOARD, IfcDistributionBoardType_CONSUMERUNIT, IfcDistributionBoardType_MOTORCONTROLCENTRE, IfcDistributionBoardType_DISTRIBUTIONFRAME, IfcDistributionBoardType_DISTRIBUTIONBOARD, IfcDistributionBoardType_USERDEFINED, IfcDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6503,13 +6503,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6518,13 +6518,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_WIRELESS, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6579,13 +6579,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_CATENARY_SYSTEM, IfcDistributionSystem_OVERHEAD_CONTACTLINE_SYSTEM, IfcDistributionSystem_RETURN_CIRCUIT, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6605,13 +6605,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6622,13 +6622,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6669,13 +6669,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6690,13 +6690,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6711,13 +6711,13 @@ public: class IFC_PARSE_API IfcDoorStyleConstructionEnum : public express::DeclaredType { public: IfcDoorStyleConstructionEnum() {} - explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleConstruction_ALUMINIUM, IfcDoorStyleConstruction_HIGH_GRADE_STEEL, IfcDoorStyleConstruction_STEEL, IfcDoorStyleConstruction_WOOD, IfcDoorStyleConstruction_ALUMINIUM_WOOD, IfcDoorStyleConstruction_ALUMINIUM_PLASTIC, IfcDoorStyleConstruction_PLASTIC, IfcDoorStyleConstruction_USERDEFINED, IfcDoorStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6894,13 +6894,13 @@ public: class IFC_PARSE_API IfcDoorStyleOperationEnum : public express::DeclaredType { public: IfcDoorStyleOperationEnum() {} - explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleOperation_SINGLE_SWING_LEFT, IfcDoorStyleOperation_SINGLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorStyleOperation_DOUBLE_SWING_LEFT, IfcDoorStyleOperation_DOUBLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorStyleOperation_SLIDING_TO_LEFT, IfcDoorStyleOperation_SLIDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING, IfcDoorStyleOperation_FOLDING_TO_LEFT, IfcDoorStyleOperation_FOLDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING, IfcDoorStyleOperation_REVOLVING, IfcDoorStyleOperation_ROLLINGUP, IfcDoorStyleOperation_USERDEFINED, IfcDoorStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6924,13 +6924,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_BOOM_BARRIER, IfcDoorType_TURNSTILE, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7118,13 +7118,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_DOUBLE_SWING, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_SLIDING, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_FOLDING, IfcDoorTypeOperation_REVOLVING_HORIZONTAL, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_LIFTING_VERTICAL, IfcDoorTypeOperation_LIFTING_HORIZONTAL, IfcDoorTypeOperation_LIFTING_VERTICAL_LEFT, IfcDoorTypeOperation_LIFTING_VERTICAL_RIGHT, IfcDoorTypeOperation_REVOLVING_VERTICAL, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7165,13 +7165,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7194,13 +7194,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7218,13 +7218,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7233,13 +7233,13 @@ public: class IFC_PARSE_API IfcEarthworksCutTypeEnum : public express::DeclaredType { public: IfcEarthworksCutTypeEnum() {} - explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksCutType_TRENCH, IfcEarthworksCutType_DREDGING, IfcEarthworksCutType_EXCAVATION, IfcEarthworksCutType_OVEREXCAVATION, IfcEarthworksCutType_TOPSOILREMOVAL, IfcEarthworksCutType_STEPEXCAVATION, IfcEarthworksCutType_PAVEMENTMILLING, IfcEarthworksCutType_CUT, IfcEarthworksCutType_BASE_EXCAVATION, IfcEarthworksCutType_USERDEFINED, IfcEarthworksCutType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7248,13 +7248,13 @@ public: class IFC_PARSE_API IfcEarthworksFillTypeEnum : public express::DeclaredType { public: IfcEarthworksFillTypeEnum() {} - explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksFillType_BACKFILL, IfcEarthworksFillType_COUNTERWEIGHT, IfcEarthworksFillType_SUBGRADE, IfcEarthworksFillType_EMBANKMENT, IfcEarthworksFillType_TRANSITIONSECTION, IfcEarthworksFillType_SUBGRADEBED, IfcEarthworksFillType_SLOPEFILL, IfcEarthworksFillType_USERDEFINED, IfcEarthworksFillType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7291,13 +7291,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7315,13 +7315,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7339,13 +7339,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_CAPACITOR, IfcElectricFlowStorageDeviceType_COMPENSATOR, IfcElectricFlowStorageDeviceType_INDUCTOR, IfcElectricFlowStorageDeviceType_RECHARGER, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7354,13 +7354,13 @@ public: class IFC_PARSE_API IfcElectricFlowTreatmentDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowTreatmentDeviceTypeEnum() {} - explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowTreatmentDeviceType_ELECTRONICFILTER, IfcElectricFlowTreatmentDeviceType_USERDEFINED, IfcElectricFlowTreatmentDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7378,13 +7378,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7403,13 +7403,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7426,13 +7426,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7459,13 +7459,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_ABUTMENT, IfcElementAssemblyType_PIER, IfcElementAssemblyType_PYLON, IfcElementAssemblyType_CROSS_BRACING, IfcElementAssemblyType_DECK, IfcElementAssemblyType_MAST, IfcElementAssemblyType_SIGNALASSEMBLY, IfcElementAssemblyType_GRID, IfcElementAssemblyType_SHELTER, IfcElementAssemblyType_SUPPORTINGASSEMBLY, IfcElementAssemblyType_SUSPENSIONASSEMBLY, IfcElementAssemblyType_TRACTION_SWITCHING_ASSEMBLY, IfcElementAssemblyType_TRACKPANEL, IfcElementAssemblyType_TURNOUTPANEL, IfcElementAssemblyType_DILATATIONPANEL, IfcElementAssemblyType_RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY, IfcElementAssemblyType_ENTRANCEWORKS, IfcElementAssemblyType_SUMPBUSTER, IfcElementAssemblyType_TRAFFIC_CALMING_DEVICE, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7485,13 +7485,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7507,13 +7507,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7537,13 +7537,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7564,13 +7564,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7590,13 +7590,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7615,13 +7615,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_STARTEVENT, IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7645,13 +7645,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7660,13 +7660,13 @@ public: class IFC_PARSE_API IfcFacilityPartCommonTypeEnum : public express::DeclaredType { public: IfcFacilityPartCommonTypeEnum() {} - explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityPartCommonType_SEGMENT, IfcFacilityPartCommonType_ABOVEGROUND, IfcFacilityPartCommonType_JUNCTION, IfcFacilityPartCommonType_LEVELCROSSING, IfcFacilityPartCommonType_BELOWGROUND, IfcFacilityPartCommonType_SUBSTRUCTURE, IfcFacilityPartCommonType_TERMINAL, IfcFacilityPartCommonType_SUPERSTRUCTURE, IfcFacilityPartCommonType_USERDEFINED, IfcFacilityPartCommonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7675,13 +7675,13 @@ public: class IFC_PARSE_API IfcFacilityUsageEnum : public express::DeclaredType { public: IfcFacilityUsageEnum() {} - explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityUsage_LATERAL, IfcFacilityUsage_REGION, IfcFacilityUsage_VERTICAL, IfcFacilityUsage_LONGITUDINAL, IfcFacilityUsage_USERDEFINED, IfcFacilityUsage_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7703,13 +7703,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7726,13 +7726,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7753,13 +7753,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7780,13 +7780,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_FIREMONITOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7802,13 +7802,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SOURCE, IfcFlowDirection_SINK, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7832,13 +7832,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_COMBINED, IfcFlowInstrumentType_VOLTMETER, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7861,13 +7861,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7889,13 +7889,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7916,13 +7916,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_CHAIR, IfcFurnitureType_TABLE, IfcFurnitureType_DESK, IfcFurnitureType_BED, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_TECHNICALCABINET, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7931,13 +7931,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_TERRAIN, IfcGeographicElementType_SOIL_BORING_POINT, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7986,13 +7986,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8006,13 +8006,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8021,13 +8021,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_RECTANGULAR, IfcGridType_RADIAL, IfcGridType_TRIANGULAR, IfcGridType_IRREGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8044,13 +8044,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_TURNOUTHEATING, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8078,13 +8078,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8093,13 +8093,13 @@ public: class IFC_PARSE_API IfcImpactProtectionDeviceTypeEnum : public express::DeclaredType { public: IfcImpactProtectionDeviceTypeEnum() {} - explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcImpactProtectionDeviceType_CRASHCUSHION, IfcImpactProtectionDeviceType_DAMPINGSYSTEM, IfcImpactProtectionDeviceType_FENDER, IfcImpactProtectionDeviceType_BUMPER, IfcImpactProtectionDeviceType_USERDEFINED, IfcImpactProtectionDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8117,13 +8117,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8186,13 +8186,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8209,13 +8209,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8230,13 +8230,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8245,13 +8245,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_UNIFORM_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8283,13 +8283,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8314,13 +8314,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8337,13 +8337,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8365,13 +8365,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8396,13 +8396,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8421,13 +8421,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8436,13 +8436,13 @@ public: class IFC_PARSE_API IfcLiquidTerminalTypeEnum : public express::DeclaredType { public: IfcLiquidTerminalTypeEnum() {} - explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLiquidTerminalType_LOADINGARM, IfcLiquidTerminalType_HOSEREEL, IfcLiquidTerminalType_USERDEFINED, IfcLiquidTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8471,13 +8471,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8729,13 +8729,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8744,13 +8744,13 @@ public: class IFC_PARSE_API IfcMarineFacilityTypeEnum : public express::DeclaredType { public: IfcMarineFacilityTypeEnum() {} - explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarineFacilityType_CANAL, IfcMarineFacilityType_WATERWAYSHIPLIFT, IfcMarineFacilityType_REVETMENT, IfcMarineFacilityType_LAUNCHRECOVERY, IfcMarineFacilityType_MARINEDEFENCE, IfcMarineFacilityType_HYDROLIFT, IfcMarineFacilityType_SHIPYARD, IfcMarineFacilityType_SHIPLIFT, IfcMarineFacilityType_PORT, IfcMarineFacilityType_QUAY, IfcMarineFacilityType_FLOATINGDOCK, IfcMarineFacilityType_NAVIGATIONALCHANNEL, IfcMarineFacilityType_BREAKWATER, IfcMarineFacilityType_DRYDOCK, IfcMarineFacilityType_JETTY, IfcMarineFacilityType_SHIPLOCK, IfcMarineFacilityType_BARRIERBEACH, IfcMarineFacilityType_SLIPWAY, IfcMarineFacilityType_WATERWAY, IfcMarineFacilityType_USERDEFINED, IfcMarineFacilityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8759,13 +8759,13 @@ public: class IFC_PARSE_API IfcMarinePartTypeEnum : public express::DeclaredType { public: IfcMarinePartTypeEnum() {} - explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarinePartType_CREST, IfcMarinePartType_MANUFACTURING, IfcMarinePartType_LOWWATERLINE, IfcMarinePartType_CORE, IfcMarinePartType_WATERFIELD, IfcMarinePartType_CILL_LEVEL, IfcMarinePartType_BERTHINGSTRUCTURE, IfcMarinePartType_COPELEVEL, IfcMarinePartType_CHAMBER, IfcMarinePartType_STORAGE, IfcMarinePartType_APPROACHCHANNEL, IfcMarinePartType_VEHICLESERVICING, IfcMarinePartType_SHIPTRANSFER, IfcMarinePartType_GATEHEAD, IfcMarinePartType_GUDINGSTRUCTURE, IfcMarinePartType_BELOWWATERLINE, IfcMarinePartType_WEATHERSIDE, IfcMarinePartType_LANDFIELD, IfcMarinePartType_PROTECTION, IfcMarinePartType_LEEWARDSIDE, IfcMarinePartType_ABOVEWATERLINE, IfcMarinePartType_ANCHORAGE, IfcMarinePartType_NAVIGATIONALAREA, IfcMarinePartType_HIGHWATERLINE, IfcMarinePartType_USERDEFINED, IfcMarinePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8790,13 +8790,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_COUPLER, IfcMechanicalFastenerType_RAILJOINT, IfcMechanicalFastenerType_RAILFASTENING, IfcMechanicalFastenerType_CHAIN, IfcMechanicalFastenerType_ROPE, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8817,13 +8817,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8874,13 +8874,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STRINGER, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_STIFFENING_RIB, IfcMemberType_ARCH_SEGMENT, IfcMemberType_SUSPENSION_CABLE, IfcMemberType_SUSPENDER, IfcMemberType_STAY_CABLE, IfcMemberType_STRUCTURALCABLE, IfcMemberType_TIEBAR, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8889,13 +8889,13 @@ public: class IFC_PARSE_API IfcMobileTelecommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcMobileTelecommunicationsApplianceTypeEnum() {} - explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMobileTelecommunicationsApplianceType_E_UTRAN_NODE_B, IfcMobileTelecommunicationsApplianceType_REMOTE_RADIO_UNIT, IfcMobileTelecommunicationsApplianceType_ACCESSPOINT, IfcMobileTelecommunicationsApplianceType_BASETRANSCEIVERSTATION, IfcMobileTelecommunicationsApplianceType_REMOTEUNIT, IfcMobileTelecommunicationsApplianceType_BASEBANDUNIT, IfcMobileTelecommunicationsApplianceType_MASTERUNIT, IfcMobileTelecommunicationsApplianceType_USERDEFINED, IfcMobileTelecommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8904,13 +8904,13 @@ public: class IFC_PARSE_API IfcMooringDeviceTypeEnum : public express::DeclaredType { public: IfcMooringDeviceTypeEnum() {} - explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMooringDeviceType_LINETENSIONER, IfcMooringDeviceType_MAGNETICDEVICE, IfcMooringDeviceType_MOORINGHOOKS, IfcMooringDeviceType_VACUUMDEVICE, IfcMooringDeviceType_BOLLARD, IfcMooringDeviceType_USERDEFINED, IfcMooringDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8927,13 +8927,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8942,13 +8942,13 @@ public: class IFC_PARSE_API IfcNavigationElementTypeEnum : public express::DeclaredType { public: IfcNavigationElementTypeEnum() {} - explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNavigationElementType_BEACON, IfcNavigationElementType_BUOY, IfcNavigationElementType_USERDEFINED, IfcNavigationElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8959,13 +8959,13 @@ public: class IFC_PARSE_API IfcObjectTypeEnum : public express::DeclaredType { public: IfcObjectTypeEnum() {} - explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjectType_PRODUCT, IfcObjectType_PROCESS, IfcObjectType_CONTROL, IfcObjectType_RESOURCE, IfcObjectType_ACTOR, IfcObjectType_GROUP, IfcObjectType_PROJECT, IfcObjectType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9002,13 +9002,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9029,13 +9029,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9063,13 +9063,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9090,13 +9090,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9105,13 +9105,13 @@ public: class IFC_PARSE_API IfcPavementTypeEnum : public express::DeclaredType { public: IfcPavementTypeEnum() {} - explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPavementType_FLEXIBLE, IfcPavementType_RIGID, IfcPavementType_USERDEFINED, IfcPavementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9125,13 +9125,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9161,13 +9161,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9184,13 +9184,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9221,13 +9221,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9257,13 +9257,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9284,13 +9284,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_DRIVEN, IfcPileType_JETGROUTING, IfcPileType_COHESION, IfcPileType_FRICTION, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9329,13 +9329,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9358,13 +9358,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9390,13 +9390,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_CURTAIN_PANEL, IfcPlateType_SHEET, IfcPlateType_FLANGE_PLATE, IfcPlateType_WEB_PLATE, IfcPlateType_STIFFENER_PLATE, IfcPlateType_GUSSET_PLATE, IfcPlateType_COVER_PLATE, IfcPlateType_SPLICE_PLATE, IfcPlateType_BASE_PLATE, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9405,13 +9405,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9433,13 +9433,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9455,13 +9455,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_CURVE, IfcProfileType_AREA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9480,13 +9480,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9500,13 +9500,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9526,13 +9526,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_BLISTER, IfcProjectionElementType_DEVIATOR, IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9578,13 +9578,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9599,13 +9599,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9628,13 +9628,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_ANTI_ARCING_DEVICE, IfcProtectiveDeviceType_SPARKGAP, IfcProtectiveDeviceType_VOLTAGELIMITER, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9670,13 +9670,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9685,13 +9685,13 @@ public: class IFC_PARSE_API IfcRailTypeEnum : public express::DeclaredType { public: IfcRailTypeEnum() {} - explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailType_RACKRAIL, IfcRailType_BLADE, IfcRailType_GUARDRAIL, IfcRailType_STOCKRAIL, IfcRailType_CHECKRAIL, IfcRailType_RAIL, IfcRailType_USERDEFINED, IfcRailType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9719,13 +9719,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_HANDRAIL, IfcRailingType_GUARDRAIL, IfcRailingType_BALUSTRADE, IfcRailingType_FENCE, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9734,13 +9734,13 @@ public: class IFC_PARSE_API IfcRailwayPartTypeEnum : public express::DeclaredType { public: IfcRailwayPartTypeEnum() {} - explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayPartType_TRACKSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTUREPART, IfcRailwayPartType_LINESIDESTRUCTUREPART, IfcRailwayPartType_DILATATIONSUPERSTRUCTURE, IfcRailwayPartType_PLAINTRACKSUPESTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTURE, IfcRailwayPartType_SUPERSTRUCTURE, IfcRailwayPartType_TURNOUTSUPERSTRUCTURE, IfcRailwayPartType_USERDEFINED, IfcRailwayPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9749,13 +9749,13 @@ public: class IFC_PARSE_API IfcRailwayTypeEnum : public express::DeclaredType { public: IfcRailwayTypeEnum() {} - explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayType_USERDEFINED, IfcRailwayType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9774,13 +9774,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_STRAIGHT, IfcRampFlightType_SPIRAL, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9836,13 +9836,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_HALF_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9871,13 +9871,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_DAILY, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9886,13 +9886,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_KILOPOINT, IfcReferentType_MILEPOINT, IfcReferentType_STATION, IfcReferentType_REFERENCEMARKER, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9916,13 +9916,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9931,13 +9931,13 @@ public: class IFC_PARSE_API IfcReinforcedSoilTypeEnum : public express::DeclaredType { public: IfcReinforcedSoilTypeEnum() {} - explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcedSoilType_SURCHARGEPRELOADED, IfcReinforcedSoilType_VERTICALLYDRAINED, IfcReinforcedSoilType_DYNAMICALLYCOMPACTED, IfcReinforcedSoilType_REPLACED, IfcReinforcedSoilType_ROLLERCOMPACTED, IfcReinforcedSoilType_GROUTED, IfcReinforcedSoilType_USERDEFINED, IfcReinforcedSoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9964,13 +9964,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9987,13 +9987,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10002,13 +10002,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_SPACEBAR, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10017,13 +10017,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10032,13 +10032,13 @@ public: class IFC_PARSE_API IfcRoadPartTypeEnum : public express::DeclaredType { public: IfcRoadPartTypeEnum() {} - explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadPartType_ROADSIDEPART, IfcRoadPartType_BUS_STOP, IfcRoadPartType_HARDSHOULDER, IfcRoadPartType_INTERSECTION, IfcRoadPartType_PASSINGBAY, IfcRoadPartType_ROADWAYPLATEAU, IfcRoadPartType_ROADSIDE, IfcRoadPartType_REFUGEISLAND, IfcRoadPartType_TOLLPLAZA, IfcRoadPartType_CENTRALRESERVE, IfcRoadPartType_SIDEWALK, IfcRoadPartType_PARKINGBAY, IfcRoadPartType_RAILWAYCROSSING, IfcRoadPartType_PEDESTRIAN_CROSSING, IfcRoadPartType_SOFTSHOULDER, IfcRoadPartType_BICYCLECROSSING, IfcRoadPartType_CENTRALISLAND, IfcRoadPartType_SHOULDER, IfcRoadPartType_TRAFFICLANE, IfcRoadPartType_ROADSEGMENT, IfcRoadPartType_ROUNDABOUT, IfcRoadPartType_LAYBY, IfcRoadPartType_CARRIAGEWAY, IfcRoadPartType_TRAFFICISLAND, IfcRoadPartType_USERDEFINED, IfcRoadPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10047,13 +10047,13 @@ public: class IFC_PARSE_API IfcRoadTypeEnum : public express::DeclaredType { public: IfcRoadTypeEnum() {} - explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadType_USERDEFINED, IfcRoadType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10090,13 +10090,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_SUPPLIER, IfcRole_MANUFACTURER, IfcRole_CONTRACTOR, IfcRole_SUBCONTRACTOR, IfcRole_ARCHITECT, IfcRole_STRUCTURALENGINEER, IfcRole_COSTENGINEER, IfcRole_CLIENT, IfcRole_BUILDINGOWNER, IfcRole_BUILDINGOPERATOR, IfcRole_MECHANICALENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_PROJECTMANAGER, IfcRole_FACILITIESMANAGER, IfcRole_CIVILENGINEER, IfcRole_COMMISSIONINGENGINEER, IfcRole_ENGINEER, IfcRole_OWNER, IfcRole_CONSULTANT, IfcRole_CONSTRUCTIONMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_RESELLER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10170,13 +10170,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_FLAT_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_BARREL_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FREEFORM, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10211,13 +10211,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_EXA, IfcSIPrefix_PETA, IfcSIPrefix_TERA, IfcSIPrefix_GIGA, IfcSIPrefix_MEGA, IfcSIPrefix_KILO, IfcSIPrefix_HECTO, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_CENTI, IfcSIPrefix_MILLI, IfcSIPrefix_MICRO, IfcSIPrefix_NANO, IfcSIPrefix_PICO, IfcSIPrefix_FEMTO, IfcSIPrefix_ATTO} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10264,13 +10264,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10297,13 +10297,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10321,13 +10321,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_UNIFORM, IfcSectionType_TAPERED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10363,13 +10363,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_COSENSOR, IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_EARTHQUAKESENSOR, IfcSensorType_FOREIGNOBJECTDETECTIONSENSOR, IfcSensorType_OBSTACLESENSOR, IfcSensorType_RAINSENSOR, IfcSensorType_SNOWDEPTHSENSOR, IfcSensorType_TRAINSENSOR, IfcSensorType_TURNOUTCLOSURESENSOR, IfcSensorType_WHEELSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10382,13 +10382,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_START_START, IfcSequence_START_FINISH, IfcSequence_FINISH_START, IfcSequence_FINISH_FINISH, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10406,13 +10406,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_AWNING, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10421,13 +10421,13 @@ public: class IFC_PARSE_API IfcSignTypeEnum : public express::DeclaredType { public: IfcSignTypeEnum() {} - explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignType_MARKER, IfcSignType_PICTORAL, IfcSignType_MIRROR, IfcSignType_USERDEFINED, IfcSignType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10436,13 +10436,13 @@ public: class IFC_PARSE_API IfcSignalTypeEnum : public express::DeclaredType { public: IfcSignalTypeEnum() {} - explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignalType_VISUAL, IfcSignalType_AUDIO, IfcSignalType_MIXED, IfcSignalType_USERDEFINED, IfcSignalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10468,13 +10468,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_WEIGHT, IfcSimplePropertyTemplateType_Q_TIME} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10514,13 +10514,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_FLOOR, IfcSlabType_ROOF, IfcSlabType_LANDING, IfcSlabType_BASESLAB, IfcSlabType_APPROACH_SLAB, IfcSlabType_PAVING, IfcSlabType_WEARING, IfcSlabType_SIDEWALK, IfcSlabType_TRACKSLAB, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10537,13 +10537,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10563,13 +10563,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10612,13 +10612,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_SPACE, IfcSpaceType_PARKING, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_EXTERNAL, IfcSpaceType_BERTH, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10651,13 +10651,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_RESERVATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10674,13 +10674,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10703,13 +10703,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_SPIRAL, IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10810,13 +10810,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_CURVED_RUN_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_LADDER, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10837,13 +10837,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_READWRITE, IfcState_READONLY, IfcState_LOCKED, IfcState_READWRITELOCKED, IfcState_READONLYLOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10866,13 +10866,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10898,13 +10898,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10924,13 +10924,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10952,13 +10952,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10974,13 +10974,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10999,13 +10999,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_DEFECT, IfcSurfaceFeatureType_HATCHMARKING, IfcSurfaceFeatureType_LINEMARKING, IfcSurfaceFeatureType_PAVEMENTSURFACEMARKING, IfcSurfaceFeatureType_SYMBOLMARKING, IfcSurfaceFeatureType_NONSKIDSURFACING, IfcSurfaceFeatureType_RUMBLESTRIP, IfcSurfaceFeatureType_TRANSVERSERUMBLESTRIP, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11024,13 +11024,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_POSITIVE, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_BOTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11054,13 +11054,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_RELAY, IfcSwitchingDeviceType_START_AND_STOP_EQUIPMENT, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11076,13 +11076,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_SUBRACK, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11113,13 +11113,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_OILRETENTIONTRAY, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11134,13 +11134,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11166,13 +11166,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ATTENDANCE, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11181,13 +11181,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11196,13 +11196,13 @@ public: class IFC_PARSE_API IfcTendonConduitTypeEnum : public express::DeclaredType { public: IfcTendonConduitTypeEnum() {} - explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonConduitType_DUCT, IfcTendonConduitType_COUPLER, IfcTendonConduitType_GROUTING_DUCT, IfcTendonConduitType_TRUMPET, IfcTendonConduitType_DIABOLO, IfcTendonConduitType_USERDEFINED, IfcTendonConduitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11211,13 +11211,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11232,13 +11232,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP, IfcTextPath_DOWN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11257,13 +11257,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11272,13 +11272,13 @@ public: class IFC_PARSE_API IfcTrackElementTypeEnum : public express::DeclaredType { public: IfcTrackElementTypeEnum() {} - explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrackElementType_TRACKENDOFALIGNMENT, IfcTrackElementType_BLOCKINGDEVICE, IfcTrackElementType_VEHICLESTOP, IfcTrackElementType_SLEEPER, IfcTrackElementType_HALF_SET_OF_BLADES, IfcTrackElementType_SPEEDREGULATOR, IfcTrackElementType_DERAILER, IfcTrackElementType_FROG, IfcTrackElementType_USERDEFINED, IfcTrackElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11297,13 +11297,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_CHOPPER, IfcTransformerType_COMBINED, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11327,13 +11327,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_DISCONTINUOUS, IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11342,13 +11342,13 @@ public: class IFC_PARSE_API IfcTransportElementFixedTypeEnum : public express::DeclaredType { public: IfcTransportElementFixedTypeEnum() {} - explicit IfcTransportElementFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementFixedType_ELEVATOR, IfcTransportElementFixedType_ESCALATOR, IfcTransportElementFixedType_MOVINGWALKWAY, IfcTransportElementFixedType_CRANEWAY, IfcTransportElementFixedType_LIFTINGGEAR, IfcTransportElementFixedType_HAULINGGEAR, IfcTransportElementFixedType_USERDEFINED, IfcTransportElementFixedType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11357,13 +11357,13 @@ public: class IFC_PARSE_API IfcTransportElementNonFixedTypeEnum : public express::DeclaredType { public: IfcTransportElementNonFixedTypeEnum() {} - explicit IfcTransportElementNonFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementNonFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementNonFixedType_VEHICLE, IfcTransportElementNonFixedType_VEHICLETRACKED, IfcTransportElementNonFixedType_ROLLINGSTOCK, IfcTransportElementNonFixedType_VEHICLEWHEELED, IfcTransportElementNonFixedType_VEHICLEAIR, IfcTransportElementNonFixedType_CARGO, IfcTransportElementNonFixedType_VEHICLEMARINE, IfcTransportElementNonFixedType_USERDEFINED, IfcTransportElementNonFixedType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11382,13 +11382,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11404,13 +11404,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11454,13 +11454,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11484,13 +11484,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_COMBINED, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11510,13 +11510,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11567,13 +11567,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DRAWOFFCOCK, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11582,13 +11582,13 @@ public: class IFC_PARSE_API IfcVibrationDamperTypeEnum : public express::DeclaredType { public: IfcVibrationDamperTypeEnum() {} - explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationDamperType_BENDING_YIELD, IfcVibrationDamperType_SHEAR_YIELD, IfcVibrationDamperType_AXIAL_YIELD, IfcVibrationDamperType_FRICTION, IfcVibrationDamperType_VISCOUS, IfcVibrationDamperType_RUBBER, IfcVibrationDamperType_USERDEFINED, IfcVibrationDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11605,13 +11605,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_BASE, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11633,13 +11633,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11684,13 +11684,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_POLYGONAL, IfcWallType_ELEMENTEDWALL, IfcWallType_RETAININGWALL, IfcWallType_WAVEWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11712,13 +11712,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11810,13 +11810,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11888,13 +11888,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11909,13 +11909,13 @@ public: class IFC_PARSE_API IfcWindowStyleConstructionEnum : public express::DeclaredType { public: IfcWindowStyleConstructionEnum() {} - explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleConstruction_ALUMINIUM, IfcWindowStyleConstruction_HIGH_GRADE_STEEL, IfcWindowStyleConstruction_STEEL, IfcWindowStyleConstruction_WOOD, IfcWindowStyleConstruction_ALUMINIUM_WOOD, IfcWindowStyleConstruction_PLASTIC, IfcWindowStyleConstruction_OTHER_CONSTRUCTION, IfcWindowStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11997,13 +11997,13 @@ public: class IFC_PARSE_API IfcWindowStyleOperationEnum : public express::DeclaredType { public: IfcWindowStyleOperationEnum() {} - explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleOperation_SINGLE_PANEL, IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL, IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL, IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM, IfcWindowStyleOperation_TRIPLE_PANEL_TOP, IfcWindowStyleOperation_TRIPLE_PANEL_LEFT, IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT, IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_USERDEFINED, IfcWindowStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12027,13 +12027,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_WINDOW, IfcWindowType_SKYLIGHT, IfcWindowType_LIGHTDOME, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12112,13 +12112,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12137,13 +12137,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12162,13 +12162,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12187,13 +12187,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12206,9 +12206,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12220,9 +12220,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12237,9 +12237,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12251,9 +12251,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12261,9 +12261,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -12271,9 +12271,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12287,9 +12287,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12297,9 +12297,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -12311,9 +12311,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -12363,9 +12363,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12383,9 +12383,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -12440,9 +12440,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -12455,9 +12455,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12470,9 +12470,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12486,9 +12486,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12501,9 +12501,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12528,9 +12528,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12549,9 +12549,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12592,9 +12592,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12607,9 +12607,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12623,9 +12623,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12637,9 +12637,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12651,9 +12651,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12666,9 +12666,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12680,9 +12680,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12694,9 +12694,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12708,9 +12708,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12724,9 +12724,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12738,9 +12738,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12752,9 +12752,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12766,9 +12766,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12789,9 +12789,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12810,9 +12810,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12842,9 +12842,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12856,9 +12856,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12870,9 +12870,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12892,9 +12892,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12906,9 +12906,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12918,9 +12918,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12941,9 +12941,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12955,9 +12955,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12969,9 +12969,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12985,9 +12985,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13001,9 +13001,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13013,9 +13013,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13027,9 +13027,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13041,9 +13041,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13064,9 +13064,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13083,9 +13083,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13099,9 +13099,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13109,9 +13109,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -13123,9 +13123,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13137,9 +13137,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13151,9 +13151,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13165,9 +13165,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13179,9 +13179,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -13193,9 +13193,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13209,9 +13209,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13225,9 +13225,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13239,9 +13239,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13253,9 +13253,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13267,9 +13267,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13281,9 +13281,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13297,9 +13297,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13313,9 +13313,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13327,9 +13327,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13341,9 +13341,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13355,9 +13355,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13373,9 +13373,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13387,9 +13387,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13401,9 +13401,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13415,9 +13415,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13428,9 +13428,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13493,9 +13493,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13507,9 +13507,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13522,9 +13522,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13534,9 +13534,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13550,9 +13550,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13564,9 +13564,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13584,9 +13584,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13594,9 +13594,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13609,9 +13609,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13624,9 +13624,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13638,9 +13638,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13656,9 +13656,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13670,9 +13670,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13680,9 +13680,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition >() const; }; @@ -13694,9 +13694,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13713,9 +13713,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13729,9 +13729,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13743,9 +13743,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13758,9 +13758,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13772,9 +13772,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13786,9 +13786,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13800,9 +13800,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13814,9 +13814,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13830,9 +13830,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13840,9 +13840,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13854,9 +13854,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13864,9 +13864,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13878,9 +13878,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13892,9 +13892,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13908,9 +13908,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13926,9 +13926,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13940,9 +13940,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13954,9 +13954,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13974,9 +13974,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13993,9 +13993,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14015,9 +14015,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14043,9 +14043,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14062,9 +14062,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14076,9 +14076,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14090,9 +14090,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14103,9 +14103,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14116,9 +14116,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14130,9 +14130,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14146,9 +14146,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14163,9 +14163,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14179,9 +14179,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14192,9 +14192,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -14206,9 +14206,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14222,9 +14222,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14236,9 +14236,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14252,9 +14252,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14266,9 +14266,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14280,9 +14280,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14294,9 +14294,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14328,9 +14328,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14342,9 +14342,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14357,9 +14357,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14378,7 +14378,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -14395,7 +14395,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -14406,7 +14406,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > Purpose() const; @@ -14423,28 +14423,28 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; class IFC_PARSE_API IfcAlignmentParameterSegment : public express::Entity { public: IfcAlignmentParameterSegment() {} - explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > StartTag() const; void setStartTag(const std::optional< std::string >& v); std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag); }; class IFC_PARSE_API IfcAlignmentVerticalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentVerticalSegment() {} - explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -14461,7 +14461,7 @@ public: ::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc3::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -14470,7 +14470,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x3_rc3::IfcOrganization ApplicationDeveloper() const; @@ -14485,7 +14485,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -14505,7 +14505,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -14543,7 +14543,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -14554,7 +14554,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -14595,7 +14595,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_rc3::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_rc3::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -14616,13 +14616,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14638,7 +14638,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc3::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14659,7 +14659,7 @@ public: ::Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_rc3::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_rc3::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_rc3::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14675,7 +14675,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14687,7 +14687,7 @@ public: ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_rc3::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14703,7 +14703,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14724,7 +14724,7 @@ public: ::Ifc4x3_rc3::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x3_rc3::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14739,13 +14739,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x3_rc3::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x3_rc3::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc3::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc3::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_rc3::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14765,10 +14765,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14790,7 +14790,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc3::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14799,7 +14799,7 @@ public: ::Ifc4x3_rc3::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x3_rc3::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc3::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14813,7 +14813,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc3::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14822,7 +14822,7 @@ public: ::Ifc4x3_rc3::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x3_rc3::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_rc3::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14834,7 +14834,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x3_rc3::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14843,7 +14843,7 @@ public: ::Ifc4x3_rc3::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x3_rc3::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_rc3::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14861,7 +14861,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14890,7 +14890,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14942,7 +14942,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x3_rc3::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14951,7 +14951,7 @@ public: ::Ifc4x3_rc3::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x3_rc3::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc3::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14979,7 +14979,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -15003,7 +15003,7 @@ public: void setVerticalDatum(const std::optional< std::string >& v); std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -15051,10 +15051,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc3::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -15067,7 +15067,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x3_rc3::IfcDerivedUnitElement > Elements() const; @@ -15078,7 +15078,7 @@ public: std::optional< std::string > UserDefinedType() const; void setUserDefinedType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc3::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -15093,7 +15093,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x3_rc3::IfcNamedUnit Unit() const; @@ -15102,7 +15102,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -15125,7 +15125,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -15149,7 +15149,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -15161,10 +15161,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -15179,7 +15179,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -15202,7 +15202,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -15216,10 +15216,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -15232,10 +15232,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -15248,10 +15248,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -15280,7 +15280,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -15296,7 +15296,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_rc3::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -15305,7 +15305,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -15314,7 +15314,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_rc3::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_rc3::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -15328,7 +15328,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -15354,7 +15354,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_rc3::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -15367,7 +15367,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -15384,7 +15384,7 @@ public: void setReferencedLibrary(const ::Ifc4x3_rc3::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_rc3::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -15405,7 +15405,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -15419,7 +15419,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -15428,7 +15428,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -15437,7 +15437,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x3_rc3::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc3::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -15454,7 +15454,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -15486,7 +15486,7 @@ public: std::optional< double > ScaleZ() const; void setScaleZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc3::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, std::optional< double > v9_ScaleY, std::optional< double > v10_ScaleZ); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -15497,7 +15497,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x3_rc3::IfcClassificationSelect > MaterialClassifications() const; @@ -15506,7 +15506,7 @@ public: ::Ifc4x3_rc3::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x3_rc3::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_rc3::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -15536,13 +15536,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -15571,7 +15571,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x3_rc3::IfcMaterial Material() const; @@ -15604,7 +15604,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15643,7 +15643,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x3_rc3::IfcMaterialLayer > MaterialLayers() const; @@ -15657,7 +15657,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15706,7 +15706,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15715,7 +15715,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15738,13 +15738,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x3_rc3::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x3_rc3::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15755,7 +15755,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15777,7 +15777,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMaterial v3_Material, ::Ifc4x3_rc3::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15788,7 +15788,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15806,7 +15806,7 @@ public: ::Ifc4x3_rc3::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x3_rc3::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_rc3::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15817,13 +15817,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMaterial v3_Material, ::Ifc4x3_rc3::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15860,11 +15860,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15880,7 +15880,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x3_rc3::IfcValue ValueComponent() const; @@ -15889,7 +15889,7 @@ public: ::Ifc4x3_rc3::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x3_rc3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcValue v1_ValueComponent, ::Ifc4x3_rc3::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15947,7 +15947,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x3_rc3::IfcBenchmarkEnum::Value Benchmark() const; @@ -15961,7 +15961,7 @@ public: ::Ifc4x3_rc3::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_rc3::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc3::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc3::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc3::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15972,13 +15972,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15989,7 +15989,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x3_rc3::IfcDimensionalExponents Dimensions() const; @@ -15998,7 +15998,7 @@ public: ::Ifc4x3_rc3::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x3_rc3::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -16015,13 +16015,13 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc4x3_rc3::IfcObjectPlacement PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x3_rc3::IfcObjectPlacement& v); std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcObjectPlacement v1_PlacementRelTo); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -16036,7 +16036,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x3_rc3::IfcConstraint > > BenchmarkValues() const; @@ -16050,7 +16050,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc3::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc3::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc3::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc3::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -16064,7 +16064,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -16086,7 +16086,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_rc3::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -16102,7 +16102,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x3_rc3::IfcPersonAndOrganization OwningUser() const; @@ -16129,7 +16129,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc3::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc3::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc3::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc3::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -16144,7 +16144,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -16178,7 +16178,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x3_rc3::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_rc3::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -16189,7 +16189,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x3_rc3::IfcPerson ThePerson() const; @@ -16201,7 +16201,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPerson v1_ThePerson, ::Ifc4x3_rc3::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_rc3::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -16212,7 +16212,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -16223,7 +16223,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -16238,13 +16238,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x3_rc3::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_rc3::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -16253,7 +16253,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -16283,17 +16283,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -16314,7 +16314,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -16329,7 +16329,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -16348,7 +16348,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -16367,7 +16367,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x3_rc3::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_rc3::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -16378,13 +16378,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// IfcProductRepresentation defines a representation of a @@ -16407,7 +16407,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -16419,7 +16419,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x3_rc3::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -16595,7 +16595,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x3_rc3::IfcProfileTypeEnum::Value ProfileType() const; @@ -16606,7 +16606,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16635,7 +16635,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} /// Name by which the map projection is identified. /// @@ -16654,18 +16654,18 @@ public: ::Ifc4x3_rc3::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x3_rc3::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_rc3::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16717,7 +16717,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16729,7 +16729,7 @@ public: ::Ifc4x3_rc3::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x3_rc3::IfcValue > v2_EnumerationValues, ::Ifc4x3_rc3::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16740,7 +16740,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16751,7 +16751,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16762,7 +16762,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. double CountValue() const; @@ -16773,7 +16773,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16784,7 +16784,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16795,7 +16795,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16806,7 +16806,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16817,7 +16817,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16828,7 +16828,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16839,7 +16839,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16850,7 +16850,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16861,7 +16861,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16873,7 +16873,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16913,14 +16913,14 @@ public: std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc3::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16933,7 +16933,7 @@ public: ::Ifc4x3_rc3::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_rc3::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc3::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16985,7 +16985,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x3_rc3::IfcRepresentationContext ContextOfItems() const; @@ -17004,7 +17004,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -17020,7 +17020,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -17030,7 +17030,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -17068,12 +17068,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -17090,7 +17090,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -17102,7 +17102,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_rc3::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -17111,7 +17111,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -17120,7 +17120,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -17135,7 +17135,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -17154,7 +17154,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -17167,7 +17167,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x3_rc3::IfcSIPrefix::Value > Prefix() const; @@ -17178,7 +17178,7 @@ public: ::Ifc4x3_rc3::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x3_rc3::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc3::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc3::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -17187,7 +17187,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -17200,7 +17200,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -17243,7 +17243,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -17266,7 +17266,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x3_rc3::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_rc3::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -17290,11 +17290,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -17435,10 +17435,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -17447,13 +17447,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -17462,13 +17462,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -17485,7 +17485,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x3_rc3::IfcStructuralLoadOrResult > Values() const; @@ -17494,7 +17494,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc3::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -17503,10 +17503,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -17515,10 +17515,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -17529,7 +17529,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -17547,7 +17547,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -17558,10 +17558,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -17595,7 +17595,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17614,7 +17614,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_rc3::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17627,10 +17627,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17641,7 +17641,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17653,7 +17653,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17666,7 +17666,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x3_rc3::IfcSurfaceSide::Value Side() const; @@ -17675,7 +17675,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3_rc3::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc3::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17692,7 +17692,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17711,7 +17711,7 @@ public: ::Ifc4x3_rc3::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x3_rc3::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_rc3::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_rc3::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_rc3::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17722,7 +17722,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17731,7 +17731,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17744,7 +17744,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x3_rc3::IfcColourRgb SurfaceColour() const; @@ -17752,7 +17752,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17776,13 +17776,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17880,7 +17880,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17911,7 +17911,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17932,7 +17932,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17944,7 +17944,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc3::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x3_rc3::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_rc3::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_rc3::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17955,7 +17955,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17972,7 +17972,7 @@ public: ::Ifc4x3_rc3::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_rc3::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_rc3::IfcUnit v4_Unit, ::Ifc4x3_rc3::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17991,7 +17991,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > RowCells() const; @@ -18000,7 +18000,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -18014,7 +18014,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -18122,7 +18122,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -18131,12 +18131,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x3_rc3::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x3_rc3::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc3::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc3::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -18148,7 +18148,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -18172,7 +18172,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc3::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -18206,7 +18206,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x3_rc3::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -18226,7 +18226,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_rc3::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_rc3::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -18249,7 +18249,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x3_rc3::IfcColour Colour() const; @@ -18258,7 +18258,7 @@ public: ::Ifc4x3_rc3::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x3_rc3::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcColour v1_Colour, ::Ifc4x3_rc3::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -18271,7 +18271,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -18302,7 +18302,7 @@ public: ::Ifc4x3_rc3::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x3_rc3::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_rc3::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_rc3::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_rc3::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -18319,12 +18319,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -18356,7 +18356,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -18369,7 +18369,7 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; /// An IfcTextureMap provides the mapping of the @@ -18426,7 +18426,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -18436,7 +18436,7 @@ public: ::Ifc4x3_rc3::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x3_rc3::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_rc3::IfcTextureVertex > v2_Vertices, ::Ifc4x3_rc3::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -18469,25 +18469,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -18499,7 +18499,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -18508,7 +18508,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -18519,7 +18519,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -18547,7 +18547,7 @@ public: void setUnit(const ::Ifc4x3_rc3::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -18562,13 +18562,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x3_rc3::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_rc3::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -18579,10 +18579,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18622,10 +18622,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc3::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18636,13 +18636,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x3_rc3::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x3_rc3::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18658,10 +18658,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18676,13 +18676,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x3_rc3::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x3_rc3::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18747,7 +18747,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x3_rc3::IfcGridAxis > IntersectingAxes() const; @@ -18756,7 +18756,7 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18770,7 +18770,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18786,14 +18786,14 @@ public: std::optional< std::string > Finish() const; void setFinish(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish); }; class IFC_PARSE_API IfcAlignmentCantSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentCantSegment() {} - explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -18810,14 +18810,14 @@ public: ::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_rc3::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType); }; class IFC_PARSE_API IfcAlignmentHorizontalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentHorizontalSegment() {} - explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} ::Ifc4x3_rc3::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x3_rc3::IfcCartesianPoint& v); @@ -18834,7 +18834,7 @@ public: ::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_rc3::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_rc3::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType); }; /// An IfcApprovalRelationship associates approvals (one @@ -18847,7 +18847,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x3_rc3::IfcApproval RelatingApproval() const; @@ -18856,7 +18856,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x3_rc3::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_rc3::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18880,13 +18880,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x3_rc3::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x3_rc3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18907,13 +18907,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x3_rc3::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x3_rc3::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18938,13 +18938,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x3_rc3::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x3_rc3::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc3::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18959,7 +18959,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18968,7 +18968,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -19003,13 +19003,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -19030,7 +19030,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -19083,7 +19083,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -19110,7 +19110,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x3_rc3::IfcClassificationReferenceSelect ReferencedSource() const; @@ -19125,19 +19125,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_rc3::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -19148,7 +19148,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -19157,7 +19157,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -19199,7 +19199,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x3_rc3::IfcProfileDef > Profiles() const; @@ -19208,7 +19208,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -19223,13 +19223,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x3_rc3::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x3_rc3::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -19248,7 +19248,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc3::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -19257,7 +19257,7 @@ public: ::Ifc4x3_rc3::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x3_rc3::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_rc3::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -19282,7 +19282,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -19294,7 +19294,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc3::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -19307,14 +19307,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -19367,7 +19367,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -19377,7 +19377,7 @@ public: void setConversionFactor(const ::Ifc4x3_rc3::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -19401,13 +19401,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc3::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc3::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -19424,7 +19424,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x3_rc3::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -19444,7 +19444,7 @@ public: ::Ifc4x3_rc3::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x3_rc3::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_rc3::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_rc3::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -19467,7 +19467,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x3_rc3::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -19481,7 +19481,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_rc3::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_rc3::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -19492,7 +19492,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -19501,7 +19501,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x3_rc3::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc3::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -19518,7 +19518,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -19530,7 +19530,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -19541,7 +19541,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -19554,7 +19554,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -19644,7 +19644,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x3_rc3::IfcProfileDef ParentProfile() const; @@ -19656,7 +19656,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19665,7 +19665,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19736,7 +19736,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc3::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc3::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc3::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc3::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19750,7 +19750,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x3_rc3::IfcDocumentInformation RelatingDocument() const; @@ -19762,7 +19762,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_rc3::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19779,7 +19779,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19791,7 +19791,7 @@ public: void setReferencedDocument(const ::Ifc4x3_rc3::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19846,7 +19846,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x3_rc3::IfcVertex EdgeStart() const; @@ -19855,7 +19855,7 @@ public: ::Ifc4x3_rc3::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x3_rc3::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcVertex v1_EdgeStart, ::Ifc4x3_rc3::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19894,7 +19894,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x3_rc3::IfcCurve EdgeGeometry() const; @@ -19903,7 +19903,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcVertex v1_EdgeStart, ::Ifc4x3_rc3::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc3::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19932,7 +19932,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19949,14 +19949,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19965,7 +19965,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x3_rc3::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19978,7 +19978,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19989,7 +19989,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -20039,14 +20039,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x3_rc3::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x3_rc3::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -20057,7 +20057,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x3_rc3::IfcLoop Bound() const; @@ -20066,7 +20066,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -20077,10 +20077,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -20122,7 +20122,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x3_rc3::IfcSurface FaceSurface() const; @@ -20131,7 +20131,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc3::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -20144,7 +20144,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -20165,7 +20165,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -20205,7 +20205,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x3_rc3::IfcFillStyleSelect > FillStyles() const; @@ -20213,7 +20213,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc3::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -20266,7 +20266,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -20285,7 +20285,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_rc3::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_rc3::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -20310,10 +20310,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -20332,7 +20332,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x3_rc3::IfcGeometricRepresentationContext ParentContext() const; @@ -20357,7 +20357,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc3::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc3::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -20370,13 +20370,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x3_rc3::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x3_rc3::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -20427,7 +20427,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x3_rc3::IfcVirtualGridIntersection PlacementLocation() const; @@ -20438,7 +20438,7 @@ public: ::Ifc4x3_rc3::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x3_rc3::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc3::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_rc3::IfcGridPlacementDirectionSelect v3_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -20459,7 +20459,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x3_rc3::IfcSurface BaseSurface() const; @@ -20468,7 +20468,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -20509,20 +20509,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x3_rc3::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_rc3::IfcTessellatedFaceSet& v); @@ -20533,33 +20533,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc3::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x3_rc3::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_rc3::IfcTessellatedFaceSet& v); ::Ifc4x3_rc3::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x3_rc3::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc3::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc3::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc3::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -20570,13 +20570,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x3_rc3::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_rc3::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc3::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -20619,7 +20619,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -20630,7 +20630,7 @@ public: ::Ifc4x3_rc3::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x3_rc3::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc3::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -20643,7 +20643,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20659,7 +20659,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20672,10 +20672,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20690,14 +20690,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x3_rc3::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc3::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20710,7 +20710,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x3_rc3::IfcAxis2Placement3D Position() const; @@ -20731,7 +20731,7 @@ public: ::Ifc4x3_rc3::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x3_rc3::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc3::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc3::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc3::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc3::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20752,7 +20752,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20772,7 +20772,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20793,7 +20793,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20811,21 +20811,21 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc3::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc3::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_rc3::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x3_rc3::IfcAxis2PlacementLinear RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_rc3::IfcAxis2PlacementLinear& v); ::Ifc4x3_rc3::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc3::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_rc3::IfcAxis2Placement3D v3_CartesianPosition); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20883,13 +20883,13 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system. ::Ifc4x3_rc3::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_rc3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc3::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20921,10 +20921,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20949,7 +20949,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x3_rc3::IfcRepresentationMap MappingSource() const; @@ -20958,7 +20958,7 @@ public: ::Ifc4x3_rc3::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x3_rc3::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_rc3::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20991,7 +20991,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -21016,7 +21016,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -21027,7 +21027,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -21046,7 +21046,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -21066,7 +21066,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -21078,7 +21078,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc3::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_rc3::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -21114,13 +21114,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x3_rc3::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x3_rc3::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcRepresentation > v3_Representations, ::Ifc4x3_rc3::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -21226,7 +21226,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x3_rc3::IfcMaterialLayerSet ForLayerSet() const; @@ -21256,7 +21256,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc3::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc3::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -21269,7 +21269,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_rc3::IfcMaterialProfileSet ForProfileSet() const; @@ -21286,7 +21286,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -21317,7 +21317,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_rc3::IfcMaterialProfileSet ForProfileEndSet() const; @@ -21326,7 +21326,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc3::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -21354,7 +21354,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -21362,7 +21362,7 @@ public: ::Ifc4x3_rc3::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x3_rc3::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcProperty > v3_Properties, ::Ifc4x3_rc3::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -21371,7 +21371,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x3_rc3::IfcMaterial RelatingMaterial() const; @@ -21383,7 +21383,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_rc3::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -21416,10 +21416,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -21475,7 +21475,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -21485,14 +21485,14 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcOpenCrossProfileDef : public IfcProfileDef { public: IfcOpenCrossProfileDef() {} - explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} bool HorizontalWidths() const; void setHorizontalWidths(const bool& v); @@ -21503,7 +21503,7 @@ public: std::optional< std::vector< std::string > /*[2:?]*/ > Tags() const; void setTags(const std::optional< std::vector< std::string > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -21568,10 +21568,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -21583,7 +21583,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x3_rc3::IfcOrganization RelatingOrganization() const; @@ -21592,7 +21592,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x3_rc3::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_rc3::IfcOrganization > v4_RelatedOrganizations); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -21605,7 +21605,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x3_rc3::IfcEdge EdgeElement() const; @@ -21614,7 +21614,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21662,13 +21662,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x3_rc3::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21688,13 +21688,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x3_rc3::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_rc3::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21709,7 +21709,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > HasQuantities() const; @@ -21724,7 +21724,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21748,7 +21748,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21765,7 +21765,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc3::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21780,13 +21780,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x3_rc3::IfcPoint Location() const; void setLocation(const ::Ifc4x3_rc3::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21797,7 +21797,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21806,7 +21806,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21817,17 +21817,17 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcPointByDistanceExpression : public IfcPoint { public: IfcPointByDistanceExpression() {} - explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} ::Ifc4x3_rc3::IfcCurveMeasureSelect DistanceAlong() const; void setDistanceAlong(const ::Ifc4x3_rc3::IfcCurveMeasureSelect& v); @@ -21840,7 +21840,7 @@ public: ::Ifc4x3_rc3::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_rc3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_rc3::IfcCurve v5_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21855,7 +21855,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x3_rc3::IfcCurve BasisCurve() const; @@ -21864,7 +21864,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21879,7 +21879,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x3_rc3::IfcSurface BasisSurface() const; @@ -21891,7 +21891,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21936,13 +21936,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x3_rc3::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -22004,7 +22004,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x3_rc3::IfcAxis2Placement3D Position() const; @@ -22015,7 +22015,7 @@ public: ::Ifc4x3_rc3::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x3_rc3::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc3::IfcAxis2Placement3D v3_Position, ::Ifc4x3_rc3::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -22028,23 +22028,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -22061,10 +22061,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -22082,12 +22082,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -22104,13 +22104,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x3_rc3::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x3_rc3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcProperty > v3_Properties, ::Ifc4x3_rc3::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -22119,7 +22119,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -22134,7 +22134,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// IfcPropertyDefinition defines the generalization of @@ -22190,12 +22190,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -22209,7 +22209,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x3_rc3::IfcProperty DependingProperty() const; @@ -22221,7 +22221,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcProperty v3_DependingProperty, ::Ifc4x3_rc3::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -22269,13 +22269,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -22306,20 +22306,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -22359,7 +22359,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -22368,7 +22368,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -22379,7 +22379,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -22388,7 +22388,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_rc3::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc3::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc3::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc3::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc3::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -22399,7 +22399,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -22420,7 +22420,7 @@ public: std::optional< double > BarCount() const; void setBarCount(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -22434,10 +22434,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -22449,7 +22449,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -22458,7 +22458,7 @@ public: ::Ifc4x3_rc3::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_rc3::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_rc3::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -22484,7 +22484,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x3_rc3::IfcConstraint RelatingConstraint() const; @@ -22493,7 +22493,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_rc3::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -22501,7 +22501,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -22549,7 +22549,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc3::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22592,13 +22592,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -22609,7 +22609,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x3_rc3::IfcSectionTypeEnum::Value SectionType() const; @@ -22621,7 +22621,7 @@ public: ::Ifc4x3_rc3::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x3_rc3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc3::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc3::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -22634,7 +22634,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -22655,7 +22655,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_rc3::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc3::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc3::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc3::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22714,7 +22714,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x3_rc3::IfcCompositeCurve SpineCurve() const; @@ -22726,20 +22726,20 @@ public: std::vector< ::Ifc4x3_rc3::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_rc3::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc3::IfcAxis2Placement3D > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSegment : public IfcGeometricRepresentationItem { public: IfcSegment() {} - explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3_rc3::IfcTransitionCode::Value Transition() const; void setTransition(const ::Ifc4x3_rc3::IfcTransitionCode::Value& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22757,12 +22757,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x3_rc3::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x3_rc3::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22771,10 +22771,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22789,7 +22789,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22801,7 +22801,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22812,10 +22812,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22826,7 +22826,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22847,7 +22847,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22858,7 +22858,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22870,7 +22870,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22881,7 +22881,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22902,7 +22902,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22911,13 +22911,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22929,7 +22929,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22950,7 +22950,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22964,13 +22964,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22986,13 +22986,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x3_rc3::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x3_rc3::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcVertex v1_EdgeStart, ::Ifc4x3_rc3::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc3::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -23008,10 +23008,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -23062,7 +23062,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -23096,7 +23096,7 @@ public: ::Ifc4x3_rc3::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x3_rc3::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc3::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc3::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc3::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc3::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc3::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc3::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc3::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -23120,7 +23120,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x3_rc3::IfcProfileDef SweptArea() const; @@ -23129,7 +23129,7 @@ public: ::Ifc4x3_rc3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -23188,7 +23188,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x3_rc3::IfcCurve Directrix() const; @@ -23210,7 +23210,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -23226,13 +23226,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -23243,7 +23243,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x3_rc3::IfcProfileDef SweptCurve() const; @@ -23252,7 +23252,7 @@ public: ::Ifc4x3_rc3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -23286,7 +23286,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23316,17 +23316,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -23342,7 +23342,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -23355,7 +23355,7 @@ public: ::Ifc4x3_rc3::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x3_rc3::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_rc3::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc3::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -23370,7 +23370,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x3_rc3::IfcPlanarExtent Extent() const; @@ -23379,7 +23379,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_rc3::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc3::IfcTextPath::Value v3_Path, ::Ifc4x3_rc3::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -23450,7 +23450,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -23471,7 +23471,7 @@ public: ::Ifc4x3_rc3::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x3_rc3::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_rc3::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -23515,7 +23515,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -23530,7 +23530,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -23567,7 +23567,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -23585,7 +23585,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -23619,7 +23619,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -23634,7 +23634,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23706,7 +23706,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > RepresentationMaps() const; @@ -23716,7 +23716,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23734,7 +23734,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23749,7 +23749,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23783,7 +23783,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23807,7 +23807,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23820,7 +23820,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x3_rc3::IfcDirection Orientation() const; @@ -23829,7 +23829,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23847,13 +23847,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x3_rc3::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x3_rc3::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcVertex v1_LoopVertex); }; /// Definition: The window style defines a particular style of windows, which may be included into the spatial context of the building model through instances of IfcWindow. A window style defines the overall parameter of the window style and refers to the particular parameter of the lining and one (or several) panels through IfcWindowLiningProperties and IfcWindowPanelProperties. @@ -23877,7 +23877,7 @@ public: class IFC_PARSE_API IfcWindowStyle : public IfcTypeProduct { public: IfcWindowStyle() {} - explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the basic construction and material type of the window. ::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value ConstructionType() const; @@ -23892,7 +23892,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc3::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// IfcZShapeProfileDef defines @@ -23923,7 +23923,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23944,7 +23944,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23963,10 +23963,10 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc3::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -23992,7 +23992,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -24005,7 +24005,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc3::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_rc3::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_rc3::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -24048,7 +24048,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -24078,7 +24078,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -24093,13 +24093,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x3_rc3::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPoint v1_Location, ::Ifc4x3_rc3::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -24116,13 +24116,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x3_rc3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPoint v1_Location, ::Ifc4x3_rc3::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -24141,7 +24141,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x3_rc3::IfcDirection Axis() const; @@ -24150,21 +24150,21 @@ public: ::Ifc4x3_rc3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPoint v1_Location, ::Ifc4x3_rc3::IfcDirection v2_Axis, ::Ifc4x3_rc3::IfcDirection v3_RefDirection); }; class IFC_PARSE_API IfcAxis2PlacementLinear : public IfcPlacement { public: IfcAxis2PlacementLinear() {} - explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} ::Ifc4x3_rc3::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc3::IfcDirection& v); ::Ifc4x3_rc3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPoint v1_Location, ::Ifc4x3_rc3::IfcDirection v2_Axis, ::Ifc4x3_rc3::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -24196,7 +24196,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x3_rc3::IfcBooleanOperator::Value Operator() const; @@ -24208,7 +24208,7 @@ public: ::Ifc4x3_rc3::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x3_rc3::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc3::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -24226,10 +24226,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -24257,7 +24257,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x3_rc3::IfcCartesianPoint Corner() const; @@ -24272,7 +24272,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -24308,13 +24308,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x3_rc3::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x3_rc3::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc3::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -24342,7 +24342,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -24360,7 +24360,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -24373,51 +24373,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -24453,7 +24453,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x3_rc3::IfcDirection Axis1() const; @@ -24468,7 +24468,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24479,10 +24479,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -24498,13 +24498,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24515,13 +24515,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x3_rc3::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc3::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -24538,7 +24538,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -24547,7 +24547,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcDirection v1_Axis1, ::Ifc4x3_rc3::IfcDirection v2_Axis2, ::Ifc4x3_rc3::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc3::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -24565,13 +24565,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -24626,10 +24626,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24643,7 +24643,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24661,7 +24661,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24672,7 +24672,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24682,7 +24682,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_rc3::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x3_rc3::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24695,7 +24695,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcSegment { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} /// An indicator of whether or not the sense of the segment agrees with, or opposes, that of the parent curve. If SameSense is false, the point with highest parameter value is taken as the first point of the segment. /// @@ -24706,7 +24706,7 @@ public: ::Ifc4x3_rc3::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_rc3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc3::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24727,14 +24727,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > >& v); ::Ifc4x3_rc3::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_rc3::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24753,7 +24753,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24777,7 +24777,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc3::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24793,13 +24793,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24810,13 +24810,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x3_rc3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24863,13 +24863,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x3_rc3::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x3_rc3::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24885,10 +24885,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24907,7 +24907,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x3_rc3::IfcPlane BasisSurface() const; @@ -24919,7 +24919,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x3_rc3::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPlane v1_BasisSurface, ::Ifc4x3_rc3::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_rc3::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24946,7 +24946,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x3_rc3::IfcSurface BasisSurface() const; @@ -24957,14 +24957,14 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_rc3::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; class IFC_PARSE_API IfcCurveSegment : public IfcSegment { public: IfcCurveSegment() {} - explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} ::Ifc4x3_rc3::IfcPlacement Placement() const; void setPlacement(const ::Ifc4x3_rc3::IfcPlacement& v); @@ -24975,7 +24975,7 @@ public: ::Ifc4x3_rc3::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_rc3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_rc3::IfcPlacement v2_Placement, ::Ifc4x3_rc3::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_rc3::IfcCurve v5_ParentCurve); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -24988,20 +24988,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDirectrixCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixCurveSweptAreaSolid() {} - explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_rc3::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc3::IfcCurve& v); @@ -25010,14 +25010,14 @@ public: ::Ifc4x3_rc3::IfcCurveMeasureSelect EndParam() const; void setEndParam(const ::Ifc4x3_rc3::IfcCurveMeasureSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc3::IfcCurveMeasureSelect v5_EndParam); }; class IFC_PARSE_API IfcDirectrixDistanceSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixDistanceSweptAreaSolid() {} - explicit IfcDirectrixDistanceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixDistanceSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_rc3::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc3::IfcCurve& v); @@ -25026,7 +25026,7 @@ public: ::Ifc4x3_rc3::IfcPointByDistanceExpression EndDistance() const; void setEndDistance(const ::Ifc4x3_rc3::IfcPointByDistanceExpression& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcPointByDistanceExpression v4_StartDistance, ::Ifc4x3_rc3::IfcPointByDistanceExpression v5_EndDistance); }; /// Definition: The door style, IfcDoorStyle, defines a particular style of doors, which may be included into the spatial context of the building model through instances of IfcDoor. A door style defines the overall parameter of the door style and refers to the particular parameter of the lining and one (or several) panels through the IfcDoorLiningProperties and the IfcDoorPanelProperties. @@ -25058,7 +25058,7 @@ public: class IFC_PARSE_API IfcDoorStyle : public IfcTypeProduct { public: IfcDoorStyle() {} - explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the general layout and operation of the door style. ::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value OperationType() const; @@ -25073,7 +25073,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc3::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -25090,13 +25090,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x3_rc3::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_rc3::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -25179,7 +25179,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -25190,7 +25190,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -25218,13 +25218,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -25235,13 +25235,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x3_rc3::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -25263,7 +25263,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -25272,7 +25272,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -25284,7 +25284,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -25300,7 +25300,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc3::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -25374,7 +25374,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x3_rc3::IfcDirection ExtrudedDirection() const; @@ -25384,7 +25384,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -25488,13 +25488,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x3_rc3::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_rc3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_rc3::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -25512,13 +25512,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x3_rc3::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x3_rc3::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -25571,7 +25571,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x3_rc3::IfcCurveStyle HatchLineAppearance() const; @@ -25597,7 +25597,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_rc3::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_rc3::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_rc3::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -25608,7 +25608,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x3_rc3::IfcVector > TilingPattern() const; @@ -25620,7 +25620,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_rc3::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25684,13 +25684,13 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The direction providing the fixed axis1 (x-axis) direction for orienting the swept area during the sweeping operation along the Directrix. ::Ifc4x3_rc3::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc3::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -25724,10 +25724,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25770,7 +25770,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25778,7 +25778,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25845,13 +25845,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25864,10 +25864,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25936,7 +25936,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25958,44 +25958,44 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcInclinedReferenceSweptAreaSolid : public IfcDirectrixDistanceSweptAreaSolid { public: IfcInclinedReferenceSweptAreaSolid() {} - explicit IfcInclinedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixDistanceSweptAreaSolid(data) {} + explicit IfcInclinedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixDistanceSweptAreaSolid(data) {} std::optional< bool > FixedAxisVertical() const; void setFixedAxisVertical(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcPointByDistanceExpression v4_StartDistance, ::Ifc4x3_rc3::IfcPointByDistanceExpression v5_EndDistance, std::optional< bool > v6_FixedAxisVertical); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef @@ -26052,7 +26052,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -26073,7 +26073,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -26090,13 +26090,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -26115,7 +26115,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x3_rc3::IfcCartesianPoint Pnt() const; @@ -26124,7 +26124,7 @@ public: ::Ifc4x3_rc3::IfcVector Dir() const; void setDir(const ::Ifc4x3_rc3::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCartesianPoint v1_Pnt, ::Ifc4x3_rc3::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -26193,13 +26193,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x3_rc3::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x3_rc3::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -26287,7 +26287,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -26297,19 +26297,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc3::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_rc3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -26326,7 +26326,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -26335,7 +26335,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -26356,7 +26356,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -26368,21 +26368,21 @@ public: ::Ifc4x3_rc3::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_rc3::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x3_rc3::IfcPointByDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x3_rc3::IfcPointByDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc3::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -26395,14 +26395,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc3::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x3_rc3::IfcSurface& v); ::Ifc4x3_rc3::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x3_rc3::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSurface v1_BasisSurface, ::Ifc4x3_rc3::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -26414,14 +26414,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x3_rc3::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x3_rc3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_rc3::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -26463,17 +26463,17 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position); }; class IFC_PARSE_API IfcPolynomialCurve : public IfcCurve { public: IfcPolynomialCurve() {} - explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc3::IfcPlacement Position() const; void setPosition(const ::Ifc4x3_rc3::IfcPlacement& v); @@ -26484,7 +26484,7 @@ public: std::optional< std::vector< double > /*[2:?]*/ > CoefficientsZ() const; void setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -26495,10 +26495,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -26511,10 +26511,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -26540,10 +26540,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -26562,14 +26562,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -26615,7 +26615,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -26632,7 +26632,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26729,7 +26729,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x3_rc3::IfcObjectPlacement ObjectPlacement() const; @@ -26741,7 +26741,7 @@ public: std::vector< IfcRelPositions > PositionedRelativeTo() const; // INVERSE IfcRelPositions::RelatedProducts std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26791,10 +26791,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc3::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26824,10 +26824,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc3::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26937,7 +26937,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x3_rc3::IfcValue UpperBoundValue() const; @@ -26954,7 +26954,7 @@ public: ::Ifc4x3_rc3::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x3_rc3::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcValue v3_UpperBoundValue, ::Ifc4x3_rc3::IfcValue v4_LowerBoundValue, ::Ifc4x3_rc3::IfcUnit v5_Unit, ::Ifc4x3_rc3::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -27037,7 +27037,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -27048,7 +27048,7 @@ public: ::Ifc4x3_rc3::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x3_rc3::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v3_EnumerationValues, ::Ifc4x3_rc3::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -27119,7 +27119,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -27130,7 +27130,7 @@ public: ::Ifc4x3_rc3::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v3_ListValues, ::Ifc4x3_rc3::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -27151,7 +27151,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -27162,7 +27162,7 @@ public: ::Ifc4x3_rc3::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x3_rc3::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x3_rc3::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -27221,13 +27221,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x3_rc3::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_rc3::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -27264,7 +27264,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -27287,7 +27287,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc3::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -27337,7 +27337,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -27350,7 +27350,7 @@ public: ::Ifc4x3_rc3::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc3::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc3::IfcValue v3_NominalValue, ::Ifc4x3_rc3::IfcUnit v4_Unit); }; /// A property with a range value @@ -27472,7 +27472,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -27499,7 +27499,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x3_rc3::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc3::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc3::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc3::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc3::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -27529,12 +27529,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcProxy is intended to be a kind of a container for wrapping objects which are defined by associated properties, which may or may not have a geometric representation and placement in space. A proxy may have a semantic meaning, defined by the Name attribute, and property definitions, attached through the property assignment relationship, which definition may be outside of the definitions given by the current release of IFC. @@ -27556,7 +27556,7 @@ public: class IFC_PARSE_API IfcProxy : public IfcProduct { public: IfcProxy() {} - explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} /// High level (and only) semantic meaning attached to the IfcProxy, defining the basic construct type behind the Proxy, e.g. Product or Process. ::Ifc4x3_rc3::IfcObjectTypeEnum::Value ProxyType() const; @@ -27565,7 +27565,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -27591,7 +27591,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -27603,7 +27603,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27697,7 +27697,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27709,7 +27709,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27730,7 +27730,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x3_rc3::IfcSurface BasisSurface() const; @@ -27754,7 +27754,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27786,7 +27786,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27795,7 +27795,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_rc3::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_rc3::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27812,7 +27812,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > RelatedObjects() const; @@ -27822,7 +27822,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -27837,7 +27837,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x3_rc3::IfcActor RelatingActor() const; @@ -27846,7 +27846,7 @@ public: ::Ifc4x3_rc3::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x3_rc3::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcActor v7_RelatingActor, ::Ifc4x3_rc3::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -27857,13 +27857,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x3_rc3::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x3_rc3::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27882,13 +27882,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x3_rc3::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x3_rc3::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27903,13 +27903,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27937,7 +27937,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27948,7 +27948,7 @@ public: ::Ifc4x3_rc3::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x3_rc3::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc3::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27962,7 +27962,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27970,7 +27970,7 @@ public: ::Ifc4x3_rc3::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x3_rc3::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -27982,7 +27982,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -27990,7 +27990,7 @@ public: ::Ifc4x3_rc3::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x3_rc3::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc3::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc3::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -28037,7 +28037,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -28045,7 +28045,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -28054,13 +28054,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x3_rc3::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_rc3::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -28096,13 +28096,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x3_rc3::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x3_rc3::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -28111,7 +28111,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -28120,7 +28120,7 @@ public: ::Ifc4x3_rc3::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x3_rc3::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_rc3::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -28133,13 +28133,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x3_rc3::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x3_rc3::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -28152,13 +28152,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x3_rc3::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x3_rc3::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -28258,25 +28258,25 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x3_rc3::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x3_rc3::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcMaterialSelect v6_RelatingMaterial); }; class IFC_PARSE_API IfcRelAssociatesProfileDef : public IfcRelAssociates { public: IfcRelAssociatesProfileDef() {} - explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc4x3_rc3::IfcProfileDef RelatingProfileDef() const; void setRelatingProfileDef(const ::Ifc4x3_rc3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc3::IfcProfileDef v6_RelatingProfileDef); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -28285,10 +28285,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -28316,7 +28316,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x3_rc3::IfcConnectionGeometry ConnectionGeometry() const; @@ -28328,7 +28328,7 @@ public: ::Ifc4x3_rc3::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_rc3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc3::IfcElement v6_RelatingElement, ::Ifc4x3_rc3::IfcElement v7_RelatedElement); }; /// The @@ -28364,7 +28364,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -28379,7 +28379,7 @@ public: ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc3::IfcElement v6_RelatingElement, ::Ifc4x3_rc3::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc3::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -28410,7 +28410,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x3_rc3::IfcPort RelatingPort() const; @@ -28421,7 +28421,7 @@ public: ::Ifc4x3_rc3::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_rc3::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcPort v5_RelatingPort, ::Ifc4x3_rc3::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -28440,7 +28440,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x3_rc3::IfcPort RelatingPort() const; @@ -28452,7 +28452,7 @@ public: ::Ifc4x3_rc3::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x3_rc3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcPort v5_RelatingPort, ::Ifc4x3_rc3::IfcPort v6_RelatedPort, ::Ifc4x3_rc3::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -28461,7 +28461,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x3_rc3::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -28470,7 +28470,7 @@ public: ::Ifc4x3_rc3::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x3_rc3::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_rc3::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -28500,7 +28500,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x3_rc3::IfcStructuralMember RelatingStructuralMember() const; @@ -28521,7 +28521,7 @@ public: ::Ifc4x3_rc3::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc3::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -28544,13 +28544,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x3_rc3::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x3_rc3::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc3::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc3::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc3::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc3::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_rc3::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -28579,7 +28579,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x3_rc3::IfcElement > RealizingElements() const; @@ -28588,7 +28588,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc3::IfcElement v6_RelatingElement, ::Ifc4x3_rc3::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_rc3::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -28654,7 +28654,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -28665,7 +28665,7 @@ public: ::Ifc4x3_rc3::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_rc3::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcProduct > v5_RelatedElements, ::Ifc4x3_rc3::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -28687,7 +28687,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28698,7 +28698,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_rc3::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_rc3::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28730,7 +28730,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28741,7 +28741,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_rc3::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_rc3::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28758,7 +28758,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x3_rc3::IfcContext RelatingContext() const; @@ -28767,7 +28767,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_rc3::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28803,10 +28803,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -28839,10 +28839,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -28863,7 +28863,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x3_rc3::IfcObject > RelatedObjects() const; @@ -28872,7 +28872,7 @@ public: ::Ifc4x3_rc3::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x3_rc3::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc3::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28893,7 +28893,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > RelatedObjects() const; @@ -28902,7 +28902,7 @@ public: ::Ifc4x3_rc3::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x3_rc3::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_rc3::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28920,7 +28920,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28929,7 +28929,7 @@ public: ::Ifc4x3_rc3::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x3_rc3::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_rc3::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -29004,7 +29004,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x3_rc3::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc3::IfcObject >& v); @@ -29012,7 +29012,7 @@ public: ::Ifc4x3_rc3::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x3_rc3::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc3::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -29027,7 +29027,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x3_rc3::IfcOpeningElement RelatingOpeningElement() const; @@ -29038,7 +29038,7 @@ public: ::Ifc4x3_rc3::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x3_rc3::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -29051,7 +29051,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x3_rc3::IfcDistributionControlElement > RelatedControlElements() const; @@ -29060,7 +29060,7 @@ public: ::Ifc4x3_rc3::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x3_rc3::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_rc3::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -29113,7 +29113,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x3_rc3::IfcInterferenceSelect RelatingElement() const; @@ -29131,7 +29131,7 @@ public: boost::logic::tribool ImpliedOrder() const; void setImpliedOrder(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_rc3::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder); }; /// The nesting relationship @@ -29162,7 +29162,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -29175,21 +29175,21 @@ public: std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc3::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelPositions : public IfcRelConnects { public: IfcRelPositions() {} - explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc4x3_rc3::IfcPositioningElement RelatingPositioningElement() const; void setRelatingPositioningElement(const ::Ifc4x3_rc3::IfcPositioningElement& v); std::vector< ::Ifc4x3_rc3::IfcProduct > RelatedProducts() const; void setRelatedProducts(const std::vector< ::Ifc4x3_rc3::IfcProduct >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_rc3::IfcProduct > v6_RelatedProducts); }; /// The IfcRelProjectsElement is an objectified relationship @@ -29227,7 +29227,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x3_rc3::IfcElement RelatingElement() const; @@ -29236,7 +29236,7 @@ public: ::Ifc4x3_rc3::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x3_rc3::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcElement v5_RelatingElement, ::Ifc4x3_rc3::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -29291,7 +29291,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -29303,7 +29303,7 @@ public: ::Ifc4x3_rc3::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_rc3::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc3::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_rc3::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -29363,7 +29363,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x3_rc3::IfcProcess RelatingProcess() const; @@ -29391,7 +29391,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc3::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc3::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc3::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -29418,7 +29418,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x3_rc3::IfcSystem RelatingSystem() const; @@ -29431,7 +29431,7 @@ public: std::vector< ::Ifc4x3_rc3::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x3_rc3::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_rc3::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -29599,7 +29599,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x3_rc3::IfcSpaceBoundarySelect RelatingSpace() const; @@ -29623,7 +29623,7 @@ public: ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -29676,14 +29676,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29721,14 +29721,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc3::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc3::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc3::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc3::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc3::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc3::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29741,14 +29741,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_rc3::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x3_rc3::IfcElement& v); ::Ifc4x3_rc3::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x3_rc3::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_rc3::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29777,12 +29777,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc3::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29801,7 +29801,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29816,7 +29816,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -29898,7 +29898,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x3_rc3::IfcAxis1Placement Axis() const; @@ -29907,7 +29907,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29971,12 +29971,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x3_rc3::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_rc3::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_rc3::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -30047,7 +30047,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -30056,7 +30056,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -30143,7 +30143,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -30152,42 +30152,42 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x3_rc3::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc3::IfcCurve& v); std::vector< ::Ifc4x3_rc3::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_rc3::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x3_rc3::IfcAxis2PlacementLinear > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_rc3::IfcAxis2PlacementLinear >& v); bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc3::IfcAxis2PlacementLinear > v3_CrossSectionPositions, bool v4_FixedAxisVertical); }; class IFC_PARSE_API IfcSectionedSurface : public IfcSurface { public: IfcSectionedSurface() {} - explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} ::Ifc4x3_rc3::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc3::IfcCurve& v); @@ -30198,7 +30198,7 @@ public: bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc3::IfcPointByDistanceExpression > v2_CrossSectionPositions, std::vector< ::Ifc4x3_rc3::IfcProfileDef > v3_CrossSections, bool v4_FixedAxisVertical); }; /// The IfcSimplePropertyTemplate defines the template for @@ -30249,7 +30249,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -30299,7 +30299,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc3::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc3::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc3::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc3::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc3::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -30336,7 +30336,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -30347,7 +30347,7 @@ public: std::vector< IfcRelServicesBuildings > ServicedBySystems() const; // INVERSE IfcRelServicesBuildings::RelatedBuildings std::vector< IfcRelReferencedInSpatialStructure > ReferencesElements() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatingStructure - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -30384,13 +30384,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -30470,7 +30470,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -30479,7 +30479,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -30519,10 +30519,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -30577,13 +30577,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -30619,7 +30619,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -30627,7 +30627,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -30683,37 +30683,37 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSpiral : public IfcCurve { public: IfcSpiral() {} - explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc3::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30812,7 +30812,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -30840,7 +30840,7 @@ public: void setGlobalOrLocal(const ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -30933,11 +30933,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -30947,11 +30947,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30977,10 +30977,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -31006,7 +31006,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -31015,7 +31015,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -31039,10 +31039,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -31070,13 +31070,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -31093,20 +31093,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc3::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x3_rc3::IfcCurve& v); @@ -31115,7 +31115,7 @@ public: ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -31183,13 +31183,13 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The surface containing the Directrix. ::Ifc4x3_rc3::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x3_rc3::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc3::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -31208,7 +31208,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x3_rc3::IfcDirection ExtrudedDirection() const; @@ -31217,7 +31217,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -31240,13 +31240,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x3_rc3::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x3_rc3::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -31282,12 +31282,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -31538,7 +31538,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -31580,7 +31580,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc3::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc3::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -31626,7 +31626,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -31636,28 +31636,28 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc3::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x3_rc3::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x3_rc3::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcThirdOrderPolynomialSpiral : public IfcSpiral { public: IfcThirdOrderPolynomialSpiral() {} - explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double QubicTerm() const; void setQubicTerm(const double& v); @@ -31668,21 +31668,21 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_QubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; /// Definition from IAI: The element type @@ -31751,20 +31751,20 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcElementType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc3::IfcTransportElementTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTransportElementTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTransportElementTypeSelect v10_PredefinedType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31775,19 +31775,19 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer @@ -31891,7 +31891,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -31938,7 +31938,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_rc3::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31989,7 +31989,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -32009,7 +32009,7 @@ public: ::Ifc4x3_rc3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc3::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -32030,14 +32030,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x3_rc3::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x3_rc3::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -32076,10 +32076,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -32106,12 +32106,12 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x3_rc3::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_rc3::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc3::IfcClosedShell > v2_Voids); }; /// Definition from IAI: An annotation is a graphical @@ -32290,13 +32290,13 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::optional< ::Ifc4x3_rc3::IfcAnnotationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAnnotationTypeEnum::Value >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcAnnotationTypeEnum::Value > v8_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -32371,7 +32371,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -32395,7 +32395,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc3::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -32408,7 +32408,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -32426,7 +32426,7 @@ public: ::Ifc4x3_rc3::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_rc3::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -32529,7 +32529,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -32541,7 +32541,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -32554,10 +32554,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc3::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc3::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -32573,10 +32573,10 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The building storey has an @@ -32759,23 +32759,23 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; class IFC_PARSE_API IfcBuiltElementType : public IfcElementType { public: IfcBuiltElementType() {} - explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The IfcChimneyType @@ -32806,13 +32806,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuiltElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32836,35 +32836,35 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc3::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcClothoid : public IfcSpiral { public: IfcClothoid() {} - explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} double ClothoidConstant() const; void setClothoidConstant(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_ClothoidConstant); }; /// Definition from IAI: The element type @@ -32968,13 +32968,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuiltElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x3_rc3::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -32988,7 +32988,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -32998,7 +32998,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc3::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -33070,7 +33070,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x3_rc3::IfcSegment > Segments() const; @@ -33079,7 +33079,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -33096,10 +33096,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -33110,13 +33110,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x3_rc3::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_rc3::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -33135,13 +33135,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -33160,13 +33160,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -33185,13 +33185,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -33269,7 +33269,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x3_rc3::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x3_rc3::IfcResourceTime& v); @@ -33278,7 +33278,7 @@ public: ::Ifc4x3_rc3::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_rc3::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -33294,7 +33294,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -33304,21 +33304,21 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; class IFC_PARSE_API IfcCosine : public IfcSpiral { public: IfcCosine() {} - explicit IfcCosine (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcCosine (const std::weak_ptr& data) : IfcSpiral(data) {} double CosineTerm() const; void setCosineTerm(const double& v); double ConstantTerm() const; void setConstantTerm(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_CosineTerm, double v3_ConstantTerm); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -33360,7 +33360,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -33382,7 +33382,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc3::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc3::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -33411,7 +33411,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -33438,19 +33438,19 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; class IFC_PARSE_API IfcCourseType : public IfcBuiltElementType { public: IfcCourseType() {} - explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc3::IfcCourseTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCourseTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCourseTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -33535,13 +33535,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuiltElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -33557,14 +33557,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -33591,13 +33591,13 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuiltElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -33657,33 +33657,33 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcDeepFoundationType : public IfcBuiltElementType { public: IfcDeepFoundationType() {} - explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcDirectrixDerivedReferenceSweptAreaSolid : public IfcFixedReferenceSweptAreaSolid { public: IfcDirectrixDerivedReferenceSweptAreaSolid() {} - explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} + explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc3::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc3::IfcCurve v3_Directrix, ::Ifc4x3_rc3::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc3::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc3::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -33717,10 +33717,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33791,10 +33791,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33895,7 +33895,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -33943,7 +33943,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_rc3::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -33994,7 +33994,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -34014,7 +34014,7 @@ public: ::Ifc4x3_rc3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc3::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc3::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc3::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -34148,7 +34148,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuiltElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x3_rc3::IfcDoorTypeEnum::Value PredefinedType() const; @@ -34161,7 +34161,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -34239,10 +34239,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -34261,10 +34261,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -34323,7 +34323,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -34340,7 +34340,7 @@ public: std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -34440,7 +34440,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -34451,7 +34451,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -34479,13 +34479,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -34568,10 +34568,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -34586,10 +34586,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -34622,7 +34622,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -34631,7 +34631,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -34660,10 +34660,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -34695,12 +34695,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc3::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -34732,13 +34732,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34770,13 +34770,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34859,7 +34859,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34878,7 +34878,7 @@ public: ::Ifc4x3_rc3::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x3_rc3::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc3::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc3::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34889,10 +34889,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -34922,10 +34922,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -34955,37 +34955,37 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x3_rc3::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_rc3::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc3::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcFacility : public IfcSpatialStructureElement { public: IfcFacility() {} - explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType); }; class IFC_PARSE_API IfcFacilityPart : public IfcSpatialStructureElement { public: IfcFacilityPart() {} - explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} ::Ifc4x3_rc3::IfcFacilityPartTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcFacilityPartTypeSelect& v); ::Ifc4x3_rc3::IfcFacilityUsageEnum::Value UsageType() const; void setUsageType(const ::Ifc4x3_rc3::IfcFacilityUsageEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc3::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc3::IfcFacilityUsageEnum::Value v11_UsageType); }; /// Definition from IAI: @@ -34999,13 +34999,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -35034,13 +35034,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -35140,10 +35140,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -35204,11 +35204,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -35264,11 +35264,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -35296,10 +35296,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -35328,10 +35328,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -35369,13 +35369,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -35403,10 +35403,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -35443,10 +35443,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -35459,10 +35459,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -35475,10 +35475,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -35492,10 +35492,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -35510,13 +35510,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuiltElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Subtype of footing. ::Ifc4x3_rc3::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -35626,10 +35626,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -35666,12 +35666,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35817,47 +35817,47 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalElement : public IfcElement { public: IfcGeotechnicalElement() {} - explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeotechnicalStratum : public IfcGeotechnicalElement { public: IfcGeotechnicalStratum() {} - explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGradientCurve : public IfcCompositeCurve { public: IfcGradientCurve() {} - explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_rc3::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_rc3::IfcBoundedCurve& v); ::Ifc4x3_rc3::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_rc3::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_rc3::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_rc3::IfcPlacement v4_EndPoint); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35893,11 +35893,11 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35932,13 +35932,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -35970,44 +35970,44 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDevice : public IfcElementComponent { public: IfcImpactProtectionDevice() {} - explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect v9_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDeviceType : public IfcElementComponentType { public: IfcImpactProtectionDeviceType() {} - explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcImpactProtectionDeviceTypeSelect v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc3::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x3_rc3::IfcCartesianPointList& v); @@ -36016,7 +36016,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_rc3::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -36055,22 +36055,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -36087,7 +36087,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -36112,7 +36112,7 @@ public: ::Ifc4x3_rc3::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x3_rc3::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc3::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc3::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc3::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc3::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -36145,25 +36145,25 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcKerbType : public IfcBuiltElementType { public: IfcKerbType() {} - explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -36193,14 +36193,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -36235,13 +36235,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x3_rc3::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -36278,47 +36278,47 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLinearElement : public IfcProduct { public: IfcLinearElement() {} - explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminalType : public IfcFlowTerminalType { public: IfcLiquidTerminalType() {} - explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMarineFacility : public IfcFacility { public: IfcMarineFacility() {} - explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -36353,7 +36353,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -36363,7 +36363,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -36404,7 +36404,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -36416,7 +36416,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -36448,12 +36448,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -36560,37 +36560,37 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuiltElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x3_rc3::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMemberTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsApplianceType : public IfcFlowTerminalType { public: IfcMobileTelecommunicationsApplianceType() {} - explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMooringDeviceType : public IfcBuiltElementType { public: IfcMooringDeviceType() {} - explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -36623,25 +36623,25 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcNavigationElementType : public IfcBuiltElementType { public: IfcNavigationElementType() {} - explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -36654,7 +36654,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -36662,7 +36662,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc3::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -36870,7 +36870,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36879,7 +36879,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The standard opening, @@ -36978,10 +36978,10 @@ public: class IFC_PARSE_API IfcOpeningStandardCase : public IfcOpeningElement { public: IfcOpeningStandardCase() {} - explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} + explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -37016,25 +37016,25 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x3_rc3::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcOutletTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPavementType : public IfcBuiltElementType { public: IfcPavementType() {} - explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc3::IfcPavementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcPavementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPavementTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -37045,7 +37045,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -37056,7 +37056,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc3::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -37093,7 +37093,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -37111,7 +37111,7 @@ public: ::Ifc4x3_rc3::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc3::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc3::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc3::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -37154,7 +37154,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -37172,7 +37172,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -37185,13 +37185,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcDeepFoundationType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} /// Subtype of pile. ::Ifc4x3_rc3::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -37226,13 +37226,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -37271,23 +37271,23 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPlant : public IfcGeographicElement { public: IfcPlant() {} - explicit IfcPlant (const std::weak_ptr& data) : IfcGeographicElement(data) {} + explicit IfcPlant (const std::weak_ptr& data) : IfcGeographicElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -37370,20 +37370,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuiltElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x3_rc3::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -37392,7 +37392,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc3::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -37412,13 +37412,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x3_rc3::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -37477,25 +37477,25 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelPositions > Positions() const; // INVERSE IfcRelPositions::RelatingPositioningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -37605,14 +37605,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc3::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -37661,7 +37661,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37683,7 +37683,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -37796,7 +37796,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37804,7 +37804,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -37845,13 +37845,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -37885,25 +37885,25 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x3_rc3::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcPumpTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailType : public IfcBuiltElementType { public: IfcRailType() {} - explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc3::IfcRailTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcRailTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRailTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -37929,25 +37929,25 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuiltElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x3_rc3::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRailingTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailway : public IfcFacility { public: IfcRailway() {} - explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc3::IfcRailwayTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRailwayTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcRailwayTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -37973,13 +37973,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuiltElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38018,13 +38018,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuiltElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x3_rc3::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -38043,27 +38043,27 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x3_rc3::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReferentTypeEnum::Value >& v); std::optional< double > RestartDistance() const; void setRestartDistance(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -38077,12 +38077,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -38091,10 +38091,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -38124,7 +38124,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -38146,7 +38146,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -38163,7 +38163,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -38197,7 +38197,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > v20_BendingParameters); }; /// The aggregation relationship @@ -38225,7 +38225,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -38238,19 +38238,19 @@ public: std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc3::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc3::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc3::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRoad : public IfcFacility { public: IfcRoad() {} - explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc3::IfcRoadTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRoadTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcRoadTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38288,13 +38288,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuiltElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x3_rc3::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -38337,30 +38337,30 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc3::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc3::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; class IFC_PARSE_API IfcSecondOrderPolynomialSpiral : public IfcSpiral { public: IfcSecondOrderPolynomialSpiral() {} - explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double QuadraticTerm() const; void setQuadraticTerm(const double& v); @@ -38369,21 +38369,21 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; class IFC_PARSE_API IfcSegmentedReferenceCurve : public IfcCompositeCurve { public: IfcSegmentedReferenceCurve() {} - explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_rc3::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_rc3::IfcBoundedCurve& v); ::Ifc4x3_rc3::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_rc3::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_rc3::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_rc3::IfcPlacement v4_EndPoint); }; /// Definition from IAI: The IfcShadingDeviceType @@ -38410,63 +38410,63 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuiltElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSign : public IfcElementComponent { public: IfcSign() {} - explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc3::IfcSignTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSignTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSignTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignType : public IfcElementComponentType { public: IfcSignType() {} - explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_rc3::IfcSignTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcSignTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSignTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSignalType : public IfcFlowTerminalType { public: IfcSignalType() {} - explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc3::IfcSignalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcSignalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSignalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSine : public IfcSpiral { public: IfcSine() {} - explicit IfcSine (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSine (const std::weak_ptr& data) : IfcSpiral(data) {} double SineTerm() const; void setSineTerm(const double& v); double LinearTerm() const; void setLinearTerm(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_SineTerm, double v3_LinearTerm); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -38661,7 +38661,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -38682,7 +38682,7 @@ public: ::Ifc4x3_rc3::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x3_rc3::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc3::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -38765,13 +38765,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuiltElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x3_rc3::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -38803,22 +38803,22 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSolidStratum : public IfcGeotechnicalStratum { public: IfcSolidStratum() {} - explicit IfcSolidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcSolidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A space represents an area or volume @@ -39074,7 +39074,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -39089,7 +39089,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -39125,13 +39125,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -39218,7 +39218,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -39226,7 +39226,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -39258,13 +39258,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -39290,13 +39290,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuiltElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -39335,13 +39335,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuiltElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x3_rc3::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -39366,13 +39366,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -39381,14 +39381,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x3_rc3::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x3_rc3::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -39450,7 +39450,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39459,7 +39459,7 @@ public: ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -39482,7 +39482,7 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Direction which is used in the definition of the local z axis. Axis is specified relative to the so-called global coordinate system, i.e. the SELF\IfcProduct.ObjectPlacement. /// @@ -39490,7 +39490,7 @@ public: ::Ifc4x3_rc3::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc3::IfcDirection v9_Axis); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -39533,7 +39533,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -39544,7 +39544,7 @@ public: ::Ifc4x3_rc3::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc3::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc3::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -39570,10 +39570,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc3::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -39629,13 +39629,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -39648,10 +39648,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -39690,7 +39690,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -39710,7 +39710,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -39761,10 +39761,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -39783,13 +39783,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x3_rc3::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_rc3::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc3::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -39838,10 +39838,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -39851,7 +39851,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -39864,7 +39864,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc3::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -39922,7 +39922,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39931,7 +39931,7 @@ public: ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -39949,10 +39949,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -39982,14 +39982,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -40027,13 +40027,13 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -40079,13 +40079,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -40108,12 +40108,12 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem std::vector< IfcRelReferencedInSpatialStructure > ServicesFacilities() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -40143,12 +40143,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -40186,20 +40186,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x3_rc3::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_rc3::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTendonTypeEnum::Value >& v); @@ -40218,62 +40218,62 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc3::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduit : public IfcReinforcingElement { public: IfcTendonConduit() {} - explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduitType : public IfcReinforcingElementType { public: IfcTendonConduitType() {} - explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc3::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTendonTypeEnum::Value& v); @@ -40284,19 +40284,19 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; class IFC_PARSE_API IfcTrackElementType : public IfcBuiltElementType { public: IfcTrackElementType() {} - explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -40329,13 +40329,13 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all transport @@ -40457,7 +40457,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcElement { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -40465,7 +40465,7 @@ public: ::Ifc4x3_rc3::IfcTransportElementTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTransportElementTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc3::IfcTransportElementTypeSelect v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: @@ -40549,7 +40549,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x3_rc3::IfcCurve BasisCurve() const; @@ -40567,7 +40567,7 @@ public: ::Ifc4x3_rc3::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_rc3::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc3::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc3::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc3::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -40602,13 +40602,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -40642,13 +40642,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -40692,37 +40692,37 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x3_rc3::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcValveTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamper : public IfcElementComponent { public: IfcVibrationDamper() {} - explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamperType : public IfcElementComponentType { public: IfcVibrationDamperType() {} - explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc3::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -40762,12 +40762,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -40795,20 +40795,20 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVienneseBend : public IfcBoundedCurve { public: IfcVienneseBend() {} - explicit IfcVienneseBend (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcVienneseBend (const std::weak_ptr& data) : IfcBoundedCurve(data) {} double StartCurvature() const; void setStartCurvature(const double& v); @@ -40819,7 +40819,7 @@ public: double SegmentLength() const; void setSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_StartCurvature, double v2_EndCurvature, double v3_GravityCenterHeight, double v4_SegmentLength); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -40911,20 +40911,20 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcVoidStratum : public IfcGeotechnicalStratum { public: IfcVoidStratum() {} - explicit IfcVoidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcVoidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -40962,13 +40962,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -41058,13 +41058,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuiltElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x3_rc3::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -41106,23 +41106,23 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcWaterStratum : public IfcGeotechnicalStratum { public: IfcWaterStratum() {} - explicit IfcWaterStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcWaterStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The element type @@ -41249,7 +41249,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuiltElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x3_rc3::IfcWindowTypeEnum::Value PredefinedType() const; @@ -41262,7 +41262,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -41281,7 +41281,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -41300,7 +41300,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc3::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc3::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc3::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -41350,7 +41350,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -41374,7 +41374,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -41405,14 +41405,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc3::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -41458,14 +41458,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc3::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc3::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -41556,7 +41556,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -41566,7 +41566,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -41610,7 +41610,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -41632,7 +41632,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc3::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -41664,13 +41664,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -41702,12 +41702,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -41739,57 +41739,57 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentCant : public IfcLinearElement { public: IfcAlignmentCant() {} - explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} double RailHeadDistance() const; void setRailHeadDistance(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance); }; class IFC_PARSE_API IfcAlignmentHorizontal : public IfcLinearElement { public: IfcAlignmentHorizontal() {} - explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcAlignmentSegment : public IfcLinearElement { public: IfcAlignmentSegment() {} - explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} ::Ifc4x3_rc3::IfcAlignmentParameterSegment DesignParameters() const; void setDesignParameters(const ::Ifc4x3_rc3::IfcAlignmentParameterSegment& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcAlignmentParameterSegment v8_DesignParameters); }; class IFC_PARSE_API IfcAlignmentVertical : public IfcLinearElement { public: IfcAlignmentVertical() {} - explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -41819,7 +41819,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -41854,7 +41854,7 @@ public: ::Ifc4x3_rc3::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x3_rc3::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_rc3::IfcCostValue v7_OriginalValue, ::Ifc4x3_rc3::IfcCostValue v8_CurrentValue, ::Ifc4x3_rc3::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_rc3::IfcActorSelect v10_Owner, ::Ifc4x3_rc3::IfcActorSelect v11_User, ::Ifc4x3_rc3::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_rc3::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -41902,13 +41902,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -41963,7 +41963,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -41981,7 +41981,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc3::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -42004,7 +42004,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -42016,7 +42016,7 @@ public: ::Ifc4x3_rc3::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_rc3::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -42120,25 +42120,25 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuiltElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x3_rc3::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBearingType : public IfcBuiltElementType { public: IfcBearingType() {} - explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc3::IfcBearingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcBearingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBearingTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -42173,13 +42173,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -42192,22 +42192,22 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; class IFC_PARSE_API IfcBridge : public IfcFacility { public: IfcBridge() {} - explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc3::IfcBridgeTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBridgeTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc3::IfcBridgeTypeEnum::Value > v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -42387,7 +42387,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcFacility { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -42399,7 +42399,7 @@ public: ::Ifc4x3_rc3::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x3_rc3::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc3::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: Layers or major components as subordinate @@ -42422,13 +42422,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -42438,13 +42438,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: @@ -42484,13 +42484,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuiltElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -42532,7 +42532,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -42540,31 +42540,31 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc3::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; class IFC_PARSE_API IfcBuiltElement : public IfcElement { public: IfcBuiltElement() {} - explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcBuiltSystem : public IfcSystem { public: IfcBuiltSystem() {} - explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} std::optional< ::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value >& v); std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc3::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42597,12 +42597,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42634,13 +42634,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42678,13 +42678,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42718,13 +42718,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42771,25 +42771,25 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundationType : public IfcDeepFoundationType { public: IfcCaissonFoundationType() {} - explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -42827,13 +42827,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x3_rc3::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42880,14 +42880,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuiltElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42920,23 +42920,23 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc3::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -42969,13 +42969,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x3_rc3::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -43252,7 +43252,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuiltElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -43261,7 +43261,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The standard column, @@ -43512,10 +43512,10 @@ public: class IFC_PARSE_API IfcColumnStandardCase : public IfcColumn { public: IfcColumnStandardCase() {} - explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} + explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -43553,13 +43553,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -43592,13 +43592,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -43631,13 +43631,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -43665,14 +43665,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -43704,14 +43704,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -43732,26 +43732,26 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc3::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc3::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc3::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc3::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegmentType : public IfcFlowSegmentType { public: IfcConveyorSegmentType() {} - explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -43786,13 +43786,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -43831,25 +43831,25 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCourse : public IfcBuiltElement { public: IfcCourse() {} - explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc3::IfcCourseTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCourseTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCourseTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -44079,7 +44079,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuiltElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -44087,7 +44087,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -44231,7 +44231,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuiltElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -44240,7 +44240,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -44280,23 +44280,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x3_rc3::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDeepFoundation : public IfcBuiltElement { public: IfcDeepFoundation() {} - explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Representation of different kinds of @@ -44475,13 +44475,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -44675,25 +44675,25 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoardType : public IfcFlowControllerType { public: IfcDistributionBoardType() {} - explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -44736,13 +44736,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -44802,10 +44802,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -44973,11 +44973,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -45051,11 +45051,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -45143,7 +45143,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x3_rc3::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -45154,7 +45154,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc3::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -45200,7 +45200,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -45211,7 +45211,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -45573,7 +45573,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuiltElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -45601,7 +45601,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The standard door, @@ -45711,10 +45711,10 @@ public: class IFC_PARSE_API IfcDoorStandardCase : public IfcDoor { public: IfcDoorStandardCase() {} - explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} + explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -45749,13 +45749,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -45790,13 +45790,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -45828,47 +45828,47 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcEarthworksCut : public IfcFeatureElementSubtraction { public: IfcEarthworksCut() {} - explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::optional< ::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcEarthworksElement : public IfcBuiltElement { public: IfcEarthworksElement() {} - explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcEarthworksFill : public IfcEarthworksElement { public: IfcEarthworksFill() {} - explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -45903,13 +45903,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -45942,13 +45942,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -45981,25 +45981,25 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDeviceType : public IfcFlowTreatmentDeviceType { public: IfcElectricFlowTreatmentDeviceType() {} - explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -46037,13 +46037,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -46076,13 +46076,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -46115,13 +46115,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -46136,10 +46136,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -46186,12 +46186,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -46241,12 +46241,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -46316,12 +46316,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -46342,14 +46342,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc3::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -46383,13 +46383,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x3_rc3::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -46424,13 +46424,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x3_rc3::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -46469,13 +46469,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -46490,10 +46490,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -46504,10 +46504,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -46543,13 +46543,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -46635,12 +46635,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -46651,10 +46651,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -46683,10 +46683,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -46701,10 +46701,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -46721,10 +46721,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -46735,10 +46735,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -46766,7 +46766,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuiltElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// The generic type of the footing. /// @@ -46774,17 +46774,17 @@ public: std::optional< ::Ifc4x3_rc3::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFootingTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalAssembly : public IfcGeotechnicalElement { public: IfcGeotechnicalAssembly() {} - explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// IfcGrid ia a planar design @@ -46886,7 +46886,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x3_rc3::IfcGridAxis > UAxes() const; @@ -46900,7 +46900,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc3::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc3::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc3::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc3::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -46956,12 +46956,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -47010,12 +47010,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -47078,12 +47078,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -47155,24 +47155,24 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcKerb : public IfcBuiltElement { public: IfcKerb() {} - explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -47225,12 +47225,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -47302,34 +47302,34 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminal : public IfcFlowTerminal { public: IfcLiquidTerminal() {} - explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -47379,12 +47379,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -47640,7 +47640,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuiltElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -47649,7 +47649,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// The standard member, @@ -47894,34 +47894,34 @@ public: class IFC_PARSE_API IfcMemberStandardCase : public IfcMember { public: IfcMemberStandardCase() {} - explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} + explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMemberTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsAppliance : public IfcFlowTerminal { public: IfcMobileTelecommunicationsAppliance() {} - explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMooringDevice : public IfcBuiltElement { public: IfcMooringDevice() {} - explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -47968,24 +47968,24 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcNavigationElement : public IfcBuiltElement { public: IfcNavigationElement() {} - explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcNavigationElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -47996,10 +47996,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc3::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -48071,24 +48071,24 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcOutletTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcPavement : public IfcBuiltElement { public: IfcPavement() {} - explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc3::IfcPavementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPavementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPavementTypeEnum::Value > v9_PredefinedType); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -48112,7 +48112,7 @@ public: class IFC_PARSE_API IfcPile : public IfcDeepFoundation { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} /// The predefined generic type of the pile according to function. /// @@ -48125,7 +48125,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x3_rc3::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -48216,12 +48216,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -48287,12 +48287,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -48526,7 +48526,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuiltElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -48535,7 +48535,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// The standard plate, @@ -48694,10 +48694,10 @@ public: class IFC_PARSE_API IfcPlateStandardCase : public IfcPlate { public: IfcPlateStandardCase() {} - explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} + explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -48779,12 +48779,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -48830,13 +48830,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -48891,24 +48891,24 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcPumpTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcRail : public IfcBuiltElement { public: IfcRail() {} - explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc3::IfcRailTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRailTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRailTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -49046,7 +49046,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuiltElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -49054,7 +49054,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -49193,7 +49193,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuiltElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -49203,7 +49203,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -49397,7 +49397,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuiltElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -49406,7 +49406,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -49448,25 +49448,25 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc3::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc3::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_rc3::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_PARSE_API IfcReinforcedSoil : public IfcEarthworksElement { public: IfcReinforcedSoil() {} - explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -49500,7 +49500,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -49514,7 +49514,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -49536,7 +49536,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -49558,7 +49558,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc3::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc3::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -49709,7 +49709,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuiltElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -49717,7 +49717,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -49849,12 +49849,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -49908,13 +49908,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x3_rc3::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -49934,26 +49934,26 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuiltElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignal : public IfcFlowTerminal { public: IfcSignal() {} - explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcSignalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSignalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSignalTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -50219,7 +50219,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuiltElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -50228,7 +50228,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The IfcSlabElementedCase @@ -50317,10 +50317,10 @@ public: class IFC_PARSE_API IfcSlabElementedCase : public IfcSlab { public: IfcSlabElementedCase() {} - explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The standard slab, @@ -50485,10 +50485,10 @@ public: class IFC_PARSE_API IfcSlabStandardCase : public IfcSlab { public: IfcSlabStandardCase() {} - explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -50541,12 +50541,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -50614,12 +50614,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -50675,12 +50675,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -50851,7 +50851,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuiltElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -50859,7 +50859,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -51032,7 +51032,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuiltElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -51058,7 +51058,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc3::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -51087,7 +51087,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -51118,7 +51118,7 @@ public: ::Ifc4x3_rc3::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x3_rc3::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc3::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc3::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc3::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc3::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -51127,7 +51127,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -51137,7 +51137,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc3::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc3::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -51150,10 +51150,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc3::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc3::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc3::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc3::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -51247,12 +51247,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -51318,24 +51318,24 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTankTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcTrackElement : public IfcBuiltElement { public: IfcTrackElement() {} - explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTrackElementTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -51383,12 +51383,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -51441,12 +51441,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -51478,13 +51478,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -51562,12 +51562,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -51759,12 +51759,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc3::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -52012,7 +52012,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuiltElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -52021,7 +52021,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallElementedCase @@ -52125,10 +52125,10 @@ public: class IFC_PARSE_API IfcWallElementedCase : public IfcWall { public: IfcWallElementedCase() {} - explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -52336,10 +52336,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -52449,12 +52449,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -52818,7 +52818,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuiltElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -52846,7 +52846,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The standard window, @@ -52966,10 +52966,10 @@ public: class IFC_PARSE_API IfcWindowStandardCase : public IfcWindow { public: IfcWindowStandardCase() {} - explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} + explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc3::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc3::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -53006,13 +53006,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -53075,12 +53075,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -53128,12 +53128,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -53184,12 +53184,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -53221,25 +53221,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x3_rc3::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc3::IfcAlignmentTypeEnum::Value > v8_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -53423,12 +53423,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -53671,7 +53671,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuiltElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -53680,7 +53680,7 @@ public: std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value > v9_PredefinedType); }; /// The standard beam, @@ -53937,22 +53937,22 @@ public: class IFC_PARSE_API IfcBeamStandardCase : public IfcBeam { public: IfcBeamStandardCase() {} - explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} + explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBeamTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBearing : public IfcBuiltElement { public: IfcBearing() {} - explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc3::IfcBearingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBearingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBearingTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -54027,22 +54027,22 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBorehole : public IfcGeotechnicalAssembly { public: IfcBorehole() {} - explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -54238,12 +54238,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuiltElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -54290,12 +54290,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -54362,13 +54362,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -54433,13 +54433,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -54519,13 +54519,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -54618,25 +54618,25 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundation : public IfcDeepFoundation { public: IfcCaissonFoundation() {} - explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} std::optional< ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -54711,12 +54711,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -54788,12 +54788,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -54901,12 +54901,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -54958,12 +54958,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -55035,12 +55035,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -55082,25 +55082,25 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x3_rc3::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc3::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc3::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc3::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc3::IfcControllerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegment : public IfcFlowSegment { public: IfcConveyorSegment() {} - explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -55155,12 +55155,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -55223,12 +55223,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -55305,24 +55305,24 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc3::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoard : public IfcFlowController { public: IfcDistributionBoard() {} - explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -55359,22 +55359,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc3::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -55458,11 +55458,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -55543,12 +55543,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -55603,12 +55603,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -55656,12 +55656,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -55765,12 +55765,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -55833,12 +55833,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -55885,24 +55885,24 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDevice : public IfcFlowTreatmentDevice { public: IfcElectricFlowTreatmentDevice() {} - explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -55955,12 +55955,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -56007,12 +56007,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -56059,12 +56059,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -56124,12 +56124,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -56222,12 +56222,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc3::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -56299,12 +56299,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -56362,32 +56362,32 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeomodel : public IfcGeotechnicalAssembly { public: IfcGeomodel() {} - explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeoslice : public IfcGeotechnicalAssembly { public: IfcGeoslice() {} - explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Entity Definition @@ -56445,12 +56445,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -56590,12 +56590,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc3::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -56656,12 +56656,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -56729,12 +56729,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -56782,12 +56782,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -56899,12 +56899,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc3::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc3::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc3::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc3::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc3::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc3::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x3_rc4-schema.cpp b/src/ifcparse/schemas/Ifc4x3_rc4-schema.cpp index e78dd7ae2b..78ff122366 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc4-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc4-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x3_rc4.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X3_RC4_types[1316] = {nullptr}; -IfcParse::schema_definition* IFC4X3_RC4_populate_schema() { +ifcopenshell::schema_definition* IFC4X3_RC4_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"DEAD_LOAD_G"s,"COMPLETION_G1"s,"LIVE_LOAD_Q"s,"SNOW_S"s,"WIND_W"s,"PRESTRESSING_P"s,"SETTLEMENT_U"s,"TEMPERATURE_T"s,"EARTHQUAKE_E"s,"FIRE"s,"IMPULSE"s,"IMPACT"s,"TRANSPORT"s,"ERECTION"s,"PROPPING"s,"SYSTEM_IMPERFECTION"s,"SHRINKAGE"s,"CREEP"s,"LACK_OF_FIT"s,"BUOYANCY"s,"ICE"s,"CURRENT"s,"WAVE"s,"RAIN"s,"BRAKES"s,"IfcActionTypeEnum"s,"PERMANENT_G"s,"VARIABLE_Q"s,"EXTRAORDINARY_A"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"OFFICE"s,"SITE"s,"HOME"s,"DISTRIBUTIONPOINT"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"HEATPIPE"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"SIREN"s,"WHISTLE"s,"RAILWAYCROCODILE"s,"RAILWAYDETONATOR"s,"IfcAlignmentCantSegmentTypeEnum"s,"BLOSSCURVE"s,"CONSTANTCANT"s,"COSINECURVE"s,"HELMERTCURVE"s,"LINEARTRANSITION"s,"SINECURVE"s,"VIENNESEBEND"s,"IfcAlignmentHorizontalSegmentTypeEnum"s,"LINE"s,"CIRCULARARC"s,"CLOTHOID"s,"CUBIC"s,"IfcAlignmentTypeEnum"s,"IfcAlignmentVerticalSegmentTypeEnum"s,"CONSTANTGRADIENT"s,"PARABOLICARC"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"OUT_PLANE_LOADING_2D"s,"LOADING_3D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAnnotationTypeEnum"s,"ASSUMEDPOINT"s,"ASBUILTAREA"s,"ASBUILTLINE"s,"NON_PHYSICAL_SIGNAL"s,"ASSUMEDLINE"s,"WIDTHEVENT"s,"ASSUMEDAREA"s,"SUPERELEVATIONEVENT"s,"ASBUILTPOINT"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"COMMUNICATIONTERMINAL"s,"RECORDINGEQUIPMENT"s,"IfcBSplineCurveForm"s,"POLYLINE_FORM"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"PARABOLIC_ARC"s,"HYPERBOLIC_ARC"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"PLANE_SURF"s,"CYLINDRICAL_SURF"s,"CONICAL_SURF"s,"SPHERICAL_SURF"s,"TOROIDAL_SURF"s,"SURF_OF_REVOLUTION"s,"RULED_SURF"s,"GENERALISED_CONE"s,"QUADRIC_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"IfcBeamTypeEnum"s,"BEAM"s,"JOIST"s,"HOLLOWCORE"s,"LINTEL"s,"SPANDREL"s,"T_BEAM"s,"GIRDER_SEGMENT"s,"DIAPHRAGM"s,"PIERCAP"s,"HATSTONE"s,"CORNICE"s,"EDGEBEAM"s,"IfcBearingTypeDisplacementEnum"s,"FIXED_MOVEMENT"s,"GUIDED_LONGITUDINAL"s,"GUIDED_TRANSVERSAL"s,"FREE_MOVEMENT"s,"IfcBearingTypeEnum"s,"CYLINDRICAL"s,"SPHERICAL"s,"ELASTOMERIC"s,"POT"s,"GUIDE"s,"ROCKER"s,"ROLLER"s,"DISK"s,"IfcBenchmarkEnum"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"EQUALTO"s,"NOTEQUALTO"s,"INCLUDES"s,"NOTINCLUDES"s,"INCLUDEDIN"s,"NOTINCLUDEDIN"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"WATER"s,"STEAM"s,"IfcBoolean"s,"IfcBooleanOperator"s,"UNION"s,"INTERSECTION"s,"DIFFERENCE"s,"IfcBridgePartTypeEnum"s,"ABUTMENT"s,"DECK"s,"DECK_SEGMENT"s,"FOUNDATION"s,"PIER"s,"PIER_SEGMENT"s,"PYLON"s,"SUBSTRUCTURE"s,"SUPERSTRUCTURE"s,"SURFACESTRUCTURE"s,"IfcBridgeTypeEnum"s,"ARCHED"s,"CABLE_STAYED"s,"CANTILEVER"s,"CULVERT"s,"FRAMEWORK"s,"GIRDER"s,"SUSPENSION"s,"TRUSS"s,"IfcBuildingElementPartTypeEnum"s,"INSULATION"s,"PRECASTPANEL"s,"APRON"s,"ARMOURUNIT"s,"SAFETYCAGE"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORVOID"s,"PROVISIONFORSPACE"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"REINFORCING"s,"PRESTRESSING"s,"EROSIONPREVENTION"s,"IfcBuiltSystemTypeEnum"s,"MOORING"s,"TRACKCIRCUIT"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CROSS"s,"REDUCER"s,"TEE"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CONDUITSEGMENT"s,"CABLEBRACKET"s,"CATENARYWIRE"s,"DROPPER"s,"IfcCableFittingTypeEnum"s,"CONNECTOR"s,"ENTRY"s,"EXIT"s,"JUNCTION"s,"TRANSITION"s,"FANOUT"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CORESEGMENT"s,"CONTACTWIRESEGMENT"s,"FIBERSEGMENT"s,"FIBERTUBE"s,"OPTICALCABLESEGMENT"s,"STITCHWIRE"s,"WIREPAIRSEGMENT"s,"IfcCaissonFoundationTypeEnum"s,"WELL"s,"CAISSON"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"NOCHANGE"s,"MODIFIED"s,"ADDED"s,"DELETED"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"WATERCOOLED"s,"HEATRECOVERY"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PILASTER"s,"PIERSTEM"s,"PIERSTEM_SEGMENT"s,"STANDCOLUMN"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"COMPUTER"s,"GATEWAY"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"PRINTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"AUTOMATON"s,"INTELLIGENTPERIPHERAL"s,"IPNETWORKEQUIPMENT"s,"OPTICALNETWORKUNIT"s,"TELECOMMAND"s,"TELEPHONYEXCHANGE"s,"TRANSITIONCOMPONENT"s,"TRANSPONDER"s,"TRANSPORTEQUIPMENT"s,"OPTICALLINETERMINAL"s,"LINESIDEELECTRONICUNIT"s,"RADIOBLOCKCENTER"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"DYNAMIC"s,"RECIPROCATING"s,"ROTARY"s,"SCROLL"s,"TROCHOIDAL"s,"SINGLESTAGE"s,"BOOSTER"s,"OPENTYPE"s,"HERMETIC"s,"SEMIHERMETIC"s,"WELDEDSHELLHERMETIC"s,"ROLLINGPISTON"s,"ROTARYVANE"s,"SINGLESCREW"s,"TWINSCREW"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATPATH"s,"ATSTART"s,"ATEND"s,"IfcConstraintEnum"s,"HARD"s,"SOFT"s,"ADVISORY"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"MULTIPOSITION"s,"TWOPOSITION"s,"IfcConveyorSegmentTypeEnum"s,"CHUTECONVEYOR"s,"BELTCONVEYOR"s,"SCREWCONVEYOR"s,"BUCKETCONVEYOR"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"NATURALDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"MECHANICALFORCEDDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"TENDER"s,"PRICEDBILLOFQUANTITIES"s,"UNPRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"IfcCountMeasure"s,"IfcCourseTypeEnum"s,"ARMOUR"s,"FILTER"s,"BALLASTBED"s,"CORE"s,"PAVEMENT"s,"PROTECTION"s,"IfcCoveringTypeEnum"s,"CEILING"s,"FLOORING"s,"CLADDING"s,"ROOFING"s,"MOLDING"s,"SKIRTINGBOARD"s,"MEMBRANE"s,"SLEEVING"s,"WRAPPING"s,"COPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"INTEGERCOUNTRATEUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARVELOCITYUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"TORQUEUNIT"s,"MOMENTOFINERTIAUNIT"s,"LINEARMOMENTUNIT"s,"LINEARFORCEUNIT"s,"PLANARFORCEUNIT"s,"MODULUSOFELASTICITYUNIT"s,"SHEARMODULUSUNIT"s,"LINEARSTIFFNESSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"ACCELERATIONUNIT"s,"CURVATUREUNIT"s,"HEATINGVALUEUNIT"s,"IONCONCENTRATIONUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"PHUNIT"s,"ROTATIONALMASSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"POSITIVE"s,"NEGATIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BRACKET"s,"SHOE"s,"EXPANSION_JOINT_DEVICE"s,"CABLEARRANGER"s,"INSULATOR"s,"LOCK"s,"TENSIONINGEQUIPMENT"s,"RAILPAD"s,"SLIDINGCHAIR"s,"RAIL_LUBRICATION"s,"PANEL_STRENGTHENING"s,"RAILBRACE"s,"ELASTIC_CUSHION"s,"SOUNDABSORPTION"s,"POINTMACHINEMOUNTINGDEVICE"s,"POINT_MACHINE_LOCKING_DEVICE"s,"RAIL_MECHANICAL_EQUIPMENT"s,"BIRDPROTECTION"s,"IfcDistributionBoardTypeEnum"s,"SWITCHBOARD"s,"CONSUMERUNIT"s,"MOTORCONTROLCENTRE"s,"DISTRIBUTIONFRAME"s,"DISTRIBUTIONBOARD"s,"DISPATCHINGBOARD"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"WIRELESS"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"CATENARY_SYSTEM"s,"OVERHEAD_CONTACTLINE_SYSTEM"s,"RETURN_CIRCUIT"s,"FIXEDTRANSMISSIONNETWORK"s,"OPERATIONALTELEPHONYSYSTEM"s,"MOBILENETWORK"s,"MONITORINGSYSTEM"s,"IfcDocumentConfidentialityEnum"s,"PUBLIC"s,"RESTRICTED"s,"CONFIDENTIAL"s,"PERSONAL"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINALDRAFT"s,"FINAL"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"SWINGING"s,"DOUBLE_ACTING"s,"SLIDING"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"FIXEDPANEL"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorStyleConstructionEnum"s,"ALUMINIUM"s,"HIGH_GRADE_STEEL"s,"STEEL"s,"ALUMINIUM_WOOD"s,"ALUMINIUM_PLASTIC"s,"IfcDoorStyleOperationEnum"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"DOUBLE_DOOR_FOLDING"s,"IfcDoorTypeEnum"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"BOOM_BARRIER"s,"TURNSTILE"s,"IfcDoorTypeOperationEnum"s,"DOUBLE_PANEL_SINGLE_SWING"s,"DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_PANEL_DOUBLE_SWING"s,"DOUBLE_PANEL_SLIDING"s,"DOUBLE_PANEL_FOLDING"s,"REVOLVING_HORIZONTAL"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"DOUBLE_PANEL_LIFTING_VERTICAL"s,"LIFTING_HORIZONTAL"s,"LIFTING_VERTICAL_LEFT"s,"LIFTING_VERTICAL_RIGHT"s,"REVOLVING_VERTICAL"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"RIGIDSEGMENT"s,"FLEXIBLESEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcEarthworksCutTypeEnum"s,"DREDGING"s,"EXCAVATION"s,"OVEREXCAVATION"s,"TOPSOILREMOVAL"s,"STEPEXCAVATION"s,"PAVEMENTMILLING"s,"CUT"s,"BASE_EXCAVATION"s,"IfcEarthworksFillTypeEnum"s,"BACKFILL"s,"COUNTERWEIGHT"s,"SUBGRADE"s,"EMBANKMENT"s,"TRANSITIONSECTION"s,"SUBGRADEBED"s,"SLOPEFILL"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERHEATER"s,"FREESTANDINGWATERCOOLER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITORBANK"s,"HARMONICFILTER"s,"INDUCTORBANK"s,"UPS"s,"CAPACITOR"s,"COMPENSATOR"s,"INDUCTOR"s,"RECHARGER"s,"IfcElectricFlowTreatmentDeviceTypeEnum"s,"ELECTRONICFILTER"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"TIMECLOCK"s,"TIMEDELAY"s,"RELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SLAB_FIELD"s,"CROSS_BRACING"s,"MAST"s,"SIGNALASSEMBLY"s,"GRID"s,"SHELTER"s,"SUPPORTINGASSEMBLY"s,"SUSPENSIONASSEMBLY"s,"TRACTION_SWITCHING_ASSEMBLY"s,"TRACKPANEL"s,"TURNOUTPANEL"s,"DILATATIONPANEL"s,"RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY"s,"ENTRANCEWORKS"s,"SUMPBUSTER"s,"TRAFFIC_CALMING_DEVICE"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVEAIRWASHER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTRULE"s,"EVENTMESSAGE"s,"EVENTTIME"s,"EVENTCOMPLEX"s,"IfcEventTypeEnum"s,"STARTEVENT"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_WATER"s,"EXTERNAL_FIRE"s,"IfcFacilityPartCommonTypeEnum"s,"SEGMENT"s,"ABOVEGROUND"s,"LEVELCROSSING"s,"BELOWGROUND"s,"TERMINAL"s,"IfcFacilityUsageEnum"s,"LATERAL"s,"REGION"s,"VERTICAL"s,"LONGITUDINAL"s,"IfcFanTypeEnum"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALAIRFOIL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"PROPELLORAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"FIREMONITOR"s,"IfcFlowDirectionEnum"s,"SOURCE"s,"SINK"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"AMMETER"s,"FREQUENCYMETER"s,"POWERFACTORMETER"s,"PHASEANGLEMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"COMBINED"s,"VOLTMETER"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"CHAIR"s,"TABLE"s,"DESK"s,"BED"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"TECHNICALCABINET"s,"IfcGeographicElementTypeEnum"s,"TERRAIN"s,"SOIL_BORING_POINT"s,"IfcGeometricProjectionEnum"s,"GRAPH_VIEW"s,"SKETCH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"ELEVATION_VIEW"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"RADIAL"s,"TRIANGULAR"s,"IRREGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"TURNOUTHEATING"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"STEAMINJECTION"s,"ADIABATICAIRWASHER"s,"ADIABATICPAN"s,"ADIABATICWETTEDELEMENT"s,"ADIABATICATOMIZING"s,"ADIABATICULTRASONIC"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDBUTANE"s,"ASSISTEDSTEAM"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcImpactProtectionDeviceTypeEnum"s,"CRASHCUSHION"s,"DAMPINGSYSTEM"s,"FENDER"s,"BUMPER"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"SPACEINVENTORY"s,"FURNITUREINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"UNIFORM_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"PIECEWISE_BEZIER_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"POINTSOURCE"s,"DIRECTIONSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLiquidTerminalTypeEnum"s,"LOADINGARM"s,"IfcLoadGroupTypeEnum"s,"LOAD_GROUP"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALOR"s,"LOGICALXOR"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMarineFacilityTypeEnum"s,"CANAL"s,"WATERWAYSHIPLIFT"s,"REVETMENT"s,"LAUNCHRECOVERY"s,"MARINEDEFENCE"s,"HYDROLIFT"s,"SHIPYARD"s,"SHIPLIFT"s,"PORT"s,"QUAY"s,"FLOATINGDOCK"s,"NAVIGATIONALCHANNEL"s,"BREAKWATER"s,"DRYDOCK"s,"JETTY"s,"SHIPLOCK"s,"BARRIERBEACH"s,"SLIPWAY"s,"WATERWAY"s,"IfcMarinePartTypeEnum"s,"CREST"s,"MANUFACTURING"s,"LOWWATERLINE"s,"WATERFIELD"s,"CILL_LEVEL"s,"BERTHINGSTRUCTURE"s,"COPELEVEL"s,"CHAMBER"s,"STORAGEAREA"s,"APPROACHCHANNEL"s,"VEHICLESERVICING"s,"SHIPTRANSFER"s,"GATEHEAD"s,"GUDINGSTRUCTURE"s,"BELOWWATERLINE"s,"WEATHERSIDE"s,"LANDFIELD"s,"LEEWARDSIDE"s,"ABOVEWATERLINE"s,"ANCHORAGE"s,"NAVIGATIONALAREA"s,"HIGHWATERLINE"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RIVET"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"COUPLER"s,"RAILJOINT"s,"RAILFASTENING"s,"CHAIN"s,"ROPE"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STRINGER"s,"STRUT"s,"STUD"s,"STIFFENING_RIB"s,"ARCH_SEGMENT"s,"SUSPENSION_CABLE"s,"SUSPENDER"s,"STAY_CABLE"s,"STRUCTURALCABLE"s,"TIEBAR"s,"IfcMobileTelecommunicationsApplianceTypeEnum"s,"E_UTRAN_NODE_B"s,"REMOTERADIOUNIT"s,"ACCESSPOINT"s,"BASETRANSCEIVERSTATION"s,"REMOTEUNIT"s,"BASEBANDUNIT"s,"MASTERUNIT"s,"GATEWAY_GPRS_SUPPORT_NODE"s,"SUBSCRIBERSERVER"s,"MOBILESWITCHINGCENTER"s,"MSCSERVER"s,"PACKETCONTROLUNIT"s,"SERVICE_GPRS_SUPPORT_NODE"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMooringDeviceTypeEnum"s,"LINETENSIONER"s,"MAGNETICDEVICE"s,"MOORINGHOOKS"s,"VACUUMDEVICE"s,"BOLLARD"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNavigationElementTypeEnum"s,"BEACON"s,"BUOY"s,"IfcNonNegativeLengthMeasure"s,"IfcNumericMeasure"s,"IfcObjectTypeEnum"s,"PRODUCT"s,"PROCESS"s,"RESOURCE"s,"ACTOR"s,"GROUP"s,"PROJECT"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"POWEROUTLET"s,"DATAOUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPavementTypeEnum"s,"FLEXIBLE"s,"RIGID"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"DRIVEN"s,"JETGROUTING"s,"COHESION"s,"FRICTION"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"CURTAIN_PANEL"s,"SHEET"s,"FLANGE_PLATE"s,"WEB_PLATE"s,"STIFFENER_PLATE"s,"GUSSET_PLATE"s,"COVER_PLATE"s,"SPLICE_PLATE"s,"BASE_PLATE"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"CURVE"s,"AREA"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"BLISTER"s,"DEVIATOR"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTRONIC"s,"ELECTROMAGNETIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"CIRCUITBREAKER"s,"EARTHLEAKAGECIRCUITBREAKER"s,"EARTHINGSWITCH"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"VARISTOR"s,"ANTI_ARCING_DEVICE"s,"SPARKGAP"s,"VOLTAGELIMITER"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailTypeEnum"s,"RACKRAIL"s,"BLADE"s,"GUARDRAIL"s,"STOCKRAIL"s,"CHECKRAIL"s,"RAIL"s,"IfcRailingTypeEnum"s,"HANDRAIL"s,"BALUSTRADE"s,"FENCE"s,"IfcRailwayPartTypeEnum"s,"TRACKSTRUCTURE"s,"TRACKSTRUCTUREPART"s,"LINESIDESTRUCTUREPART"s,"DILATATIONSUPERSTRUCTURE"s,"PLAINTRACKSUPESTRUCTURE"s,"LINESIDESTRUCTURE"s,"TURNOUTSUPERSTRUCTURE"s,"IfcRailwayTypeEnum"s,"IfcRampFlightTypeEnum"s,"STRAIGHT"s,"SPIRAL"s,"IfcRampTypeEnum"s,"STRAIGHT_RUN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"QUARTER_TURN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"HALF_TURN_RAMP"s,"SPIRAL_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"DAILY"s,"WEEKLY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"KILOPOINT"s,"MILEPOINT"s,"STATION"s,"REFERENCEMARKER"s,"LANDMARK"s,"BOUNDARY"s,"POSITION"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcedSoilTypeEnum"s,"SURCHARGEPRELOADED"s,"VERTICALLYDRAINED"s,"DYNAMICALLYCOMPACTED"s,"REPLACED"s,"ROLLERCOMPACTED"s,"GROUTED"s,"IfcReinforcingBarRoleEnum"s,"MAIN"s,"SHEAR"s,"LIGATURE"s,"PUNCHING"s,"EDGE"s,"RING"s,"ANCHORING"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"SPACEBAR"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoadPartTypeEnum"s,"ROADSIDEPART"s,"BUS_STOP"s,"HARDSHOULDER"s,"PASSINGBAY"s,"ROADWAYPLATEAU"s,"ROADSIDE"s,"REFUGEISLAND"s,"TOLLPLAZA"s,"CENTRALRESERVE"s,"SIDEWALK"s,"PARKINGBAY"s,"RAILWAYCROSSING"s,"PEDESTRIAN_CROSSING"s,"SOFTSHOULDER"s,"BICYCLECROSSING"s,"CENTRALISLAND"s,"SHOULDER"s,"TRAFFICLANE"s,"ROADSEGMENT"s,"ROUNDABOUT"s,"LAYBY"s,"CARRIAGEWAY"s,"TRAFFICISLAND"s,"IfcRoadTypeEnum"s,"IfcRoleEnum"s,"SUPPLIER"s,"MANUFACTURER"s,"CONTRACTOR"s,"SUBCONTRACTOR"s,"ARCHITECT"s,"STRUCTURALENGINEER"s,"COSTENGINEER"s,"CLIENT"s,"BUILDINGOWNER"s,"BUILDINGOPERATOR"s,"MECHANICALENGINEER"s,"ELECTRICALENGINEER"s,"PROJECTMANAGER"s,"FACILITIESMANAGER"s,"CIVILENGINEER"s,"COMMISSIONINGENGINEER"s,"ENGINEER"s,"CONSULTANT"s,"CONSTRUCTIONMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"RESELLER"s,"IfcRoofTypeEnum"s,"FLAT_ROOF"s,"SHED_ROOF"s,"GABLE_ROOF"s,"HIP_ROOF"s,"HIPPED_GABLE_ROOF"s,"GAMBREL_ROOF"s,"MANSARD_ROOF"s,"BARREL_ROOF"s,"RAINBOW_ROOF"s,"BUTTERFLY_ROOF"s,"PAVILION_ROOF"s,"DOME_ROOF"s,"FREEFORM"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"EXA"s,"PETA"s,"TERA"s,"GIGA"s,"MEGA"s,"KILO"s,"HECTO"s,"DECA"s,"DECI"s,"CENTI"s,"MILLI"s,"MICRO"s,"NANO"s,"PICO"s,"FEMTO"s,"ATTO"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SHOWER"s,"SANITARYFOUNTAIN"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"UNIFORM"s,"TAPERED"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"COSENSOR"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"SMOKESENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"WINDSENSOR"s,"EARTHQUAKESENSOR"s,"FOREIGNOBJECTDETECTIONSENSOR"s,"OBSTACLESENSOR"s,"RAINSENSOR"s,"SNOWDEPTHSENSOR"s,"TRAINSENSOR"s,"TURNOUTCLOSURESENSOR"s,"WHEELSENSOR"s,"IfcSequenceEnum"s,"START_START"s,"START_FINISH"s,"FINISH_START"s,"FINISH_FINISH"s,"IfcShadingDeviceTypeEnum"s,"JALOUSIE"s,"SHUTTER"s,"AWNING"s,"IfcShearModulusMeasure"s,"IfcSignTypeEnum"s,"MARKER"s,"PICTORAL"s,"IfcSignalTypeEnum"s,"VISUAL"s,"AUDIO"s,"MIXED"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_SINGLEVALUE"s,"P_ENUMERATEDVALUE"s,"P_BOUNDEDVALUE"s,"P_LISTVALUE"s,"P_TABLEVALUE"s,"P_REFERENCEVALUE"s,"Q_LENGTH"s,"Q_AREA"s,"Q_VOLUME"s,"Q_COUNT"s,"Q_WEIGHT"s,"Q_TIME"s,"IfcSlabTypeEnum"s,"FLOOR"s,"ROOF"s,"LANDING"s,"BASESLAB"s,"APPROACH_SLAB"s,"WEARING"s,"TRACKSLAB"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"SPACE"s,"PARKING"s,"GFA"s,"BERTH"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"OCCUPANCY"s,"RESERVATION"s,"INTERFERENCE"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"WINDER"s,"CURVED"s,"IfcStairTypeEnum"s,"STRAIGHT_RUN_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"QUARTER_WINDING_STAIR"s,"QUARTER_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"HALF_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"SPIRAL_STAIR"s,"DOUBLE_RETURN_STAIR"s,"CURVED_RUN_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"LADDER"s,"IfcStateEnum"s,"READWRITE"s,"READONLY"s,"LOCKED"s,"READWRITELOCKED"s,"READONLYLOCKED"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"POLYGONAL"s,"EQUIDISTANT"s,"SINUS"s,"PARABOLA"s,"DISCRETE"s,"IfcStructuralCurveMemberTypeEnum"s,"RIGID_JOINED_MEMBER"s,"PIN_JOINED_MEMBER"s,"TENSION_MEMBER"s,"COMPRESSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"MARK"s,"TAG"s,"TREATMENT"s,"DEFECT"s,"HATCHMARKING"s,"LINEMARKING"s,"PAVEMENTSURFACEMARKING"s,"SYMBOLMARKING"s,"NONSKIDSURFACING"s,"RUMBLESTRIP"s,"TRANSVERSERUMBLESTRIP"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"START_AND_STOP_EQUIPMENT"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"WORKSURFACE"s,"SUBRACK"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"PRESSUREVESSEL"s,"STORAGE"s,"VESSEL"s,"OILRETENTIONTRAY"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonConduitTypeEnum"s,"GROUTING_DUCT"s,"TRUMPET"s,"DIABOLO"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"UP"s,"DOWN"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTrackElementTypeEnum"s,"TRACKENDOFALIGNMENT"s,"BLOCKINGDEVICE"s,"VEHICLESTOP"s,"SLEEPER"s,"HALF_SET_OF_BLADES"s,"SPEEDREGULATOR"s,"DERAILER"s,"FROG"s,"IfcTransformerTypeEnum"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"CHOPPER"s,"IfcTransitionCode"s,"DISCONTINUOUS"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementFixedTypeEnum"s,"ELEVATOR"s,"ESCALATOR"s,"MOVINGWALKWAY"s,"CRANEWAY"s,"LIFTINGGEAR"s,"HAULINGGEAR"s,"IfcTransportElementNonFixedTypeEnum"s,"VEHICLE"s,"VEHICLETRACKED"s,"ROLLINGSTOCK"s,"VEHICLEWHEELED"s,"VEHICLEAIR"s,"CARGO"s,"VEHICLEMARINE"s,"IfcTransportElementTypeSelect"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"INDICATORPANEL"s,"MIMICPANEL"s,"HUMIDISTAT"s,"THERMOSTAT"s,"WEATHERSTATION"s,"BASESTATIONCONTROLLER"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRHANDLER"s,"AIRCONDITIONINGUNIT"s,"DEHUMIDIFIER"s,"SPLITSYSTEM"s,"ROOFTOPUNIT"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DRAWOFFCOCK"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVibrationDamperTypeEnum"s,"BENDING_YIELD"s,"SHEAR_YIELD"s,"AXIAL_YIELD"s,"VISCOUS"s,"RUBBER"s,"IfcVibrationIsolatorTypeEnum"s,"COMPRESSION"s,"SPRING"s,"BASE"s,"IfcVoidingFeatureTypeEnum"s,"CUTOUT"s,"NOTCH"s,"HOLE"s,"MITER"s,"CHAMFER"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"SOLIDWALL"s,"STANDARD"s,"ELEMENTEDWALL"s,"RETAININGWALL"s,"WAVEWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"SIDEHUNGRIGHTHAND"s,"SIDEHUNGLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TILTANDTURNLEFTHAND"s,"TOPHUNG"s,"BOTTOMHUNG"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"REMOVABLECASEMENT"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowStyleConstructionEnum"s,"OTHER_CONSTRUCTION"s,"IfcWindowStyleOperationEnum"s,"SINGLE_PANEL"s,"DOUBLE_PANEL_VERTICAL"s,"DOUBLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_VERTICAL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_HORIZONTAL"s,"IfcWindowTypeEnum"s,"WINDOW"s,"SKYLIGHT"s,"LIGHTDOME"s,"IfcWindowTypePartitioningEnum"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcAlignmentParameterSegment"s,"IfcAlignmentVerticalSegment"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcCurveMeasureSelect"s,"IfcDerivedMeasureValue"s,"IfcFacilityPartTypeSelect"s,"IfcImpactProtectionDeviceTypeSelect"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcAlignmentCantSegment"s,"IfcAlignmentHorizontalSegment"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenCrossProfileDef"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointByDistanceExpression"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcSegment"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcWindowStyle"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcAxis2PlacementLinear"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcCurveSegment"s,"IfcDirection"s,"IfcDirectrixCurveSweptAreaSolid"s,"IfcDoorStyle"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPolynomialCurve"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcProxy"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelAssociatesProfileDef"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelPositions"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSectionedSurface"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcSpiral"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcThirdOrderPolynomialSpiral"s,"IfcToroidalSurface"s,"IfcTransportElementType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuildingStorey"s,"IfcBuiltElementType"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcClothoid"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCosine"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCourseType"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCylindricalSurface"s,"IfcDeepFoundationType"s,"IfcDirectrixDerivedReferenceSweptAreaSolid"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFacility"s,"IfcFacilityPart"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGeotechnicalElement"s,"IfcGeotechnicalStratum"s,"IfcGradientCurve"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcImpactProtectionDevice"s,"IfcImpactProtectionDeviceType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcKerbType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLinearElement"s,"IfcLiquidTerminalType"s,"IfcMarineFacility"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMobileTelecommunicationsApplianceType"s,"IfcMooringDeviceType"s,"IfcMotorConnectionType"s,"IfcNavigationElementType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOpeningStandardCase"s,"IfcOutletType"s,"IfcPavementType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlant"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailType"s,"IfcRailingType"s,"IfcRailway"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAdheresToElement"s,"IfcRelAggregates"s,"IfcRoad"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcSecondOrderPolynomialSpiral"s,"IfcSegmentedReferenceCurve"s,"IfcSeventhOrderPolynomialSpiral"s,"IfcShadingDeviceType"s,"IfcSign"s,"IfcSignType"s,"IfcSignalType"s,"IfcSine"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSolidStratum"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonConduit"s,"IfcTendonConduitType"s,"IfcTendonType"s,"IfcTrackElementType"s,"IfcTransformerType"s,"IfcTransportElement"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVibrationDamper"s,"IfcVibrationDamperType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidStratum"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWaterStratum"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcInterferenceSelect"s,"IfcSpatialReferenceSelect"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignmentCant"s,"IfcAlignmentHorizontal"s,"IfcAlignmentSegment"s,"IfcAlignmentVertical"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBearingType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBridge"s,"IfcBuilding"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBuiltElement"s,"IfcBuiltSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcCaissonFoundationType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcColumnStandardCase"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcConveyorSegmentType"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCourse"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDeepFoundation"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionBoardType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDoorStandardCase"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcEarthworksCut"s,"IfcEarthworksElement"s,"IfcEarthworksFill"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricFlowTreatmentDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGeotechnicalAssembly"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcKerb"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcLiquidTerminal"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMemberStandardCase"s,"IfcMobileTelecommunicationsAppliance"s,"IfcMooringDevice"s,"IfcMotorConnection"s,"IfcNavigationElement"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPavement"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcPlateStandardCase"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRail"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcedSoil"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSignal"s,"IfcSlab"s,"IfcSlabElementedCase"s,"IfcSlabStandardCase"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTrackElement"s,"IfcTransformer"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallElementedCase"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcWindowStandardCase"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBeamStandardCase"s,"IfcBearing"s,"IfcBoiler"s,"IfcBorehole"s,"IfcBuildingElementProxy"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcCaissonFoundation"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcConveyorSegment"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionBoard"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricFlowTreatmentDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcGeomodel"s,"IfcGeoslice"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"RailHeadDistance"s,"StartDistAlong"s,"HorizontalLength"s,"StartCantLeft"s,"EndCantLeft"s,"StartCantRight"s,"EndCantRight"s,"StartPoint"s,"StartDirection"s,"StartRadiusOfCurvature"s,"EndRadiusOfCurvature"s,"SegmentLength"s,"GravityCenterLineHeight"s,"StartTag"s,"EndTag"s,"DesignParameters"s,"StartHeight"s,"StartGradient"s,"EndGradient"s,"RadiusOfCurvature"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"Radius"s,"Source"s,"Edition"s,"EditionDate"s,"Location"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"ClothoidConstant"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Segments"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"VerticalDatum"s,"CosineTerm"s,"ConstantTerm"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"Placement"s,"SegmentStart"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"Directrix"s,"StartParam"s,"EndParam"s,"FlowDirection"s,"SystemType"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ConstructionType"s,"ParameterTakesPrecedence"s,"Sizeable"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"Tag"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"UsageType"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"FixedReference"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"BaseCurve"s,"EndPoint"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"Mountable"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"RelativePlacement"s,"CartesianPosition"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"ScaleY"s,"ScaleZ"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"Expression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"PlacementRelTo"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Distance"s,"HorizontalWidths"s,"Widths"s,"Slopes"s,"Tags"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"Height"s,"ColourComponents"s,"Pixel"s,"SizeInX"s,"SizeInY"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"CoefficientsX"s,"CoefficientsY"s,"CoefficientsZ"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"ProxyType"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"RestartDistance"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingElement"s,"RelatedSurfaceFeatures"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"RelatingProfileDef"s,"ConnectionGeometry"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceSpace"s,"InterferenceType"s,"ImpliedOrder"s,"RelatingPositioningElement"s,"RelatedProducts"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"QuadraticTerm"s,"LinearTerm"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"FixedAxisVertical"s,"SpineCurve"s,"Transition"s,"SepticTerm"s,"SexticTerm"s,"QuinticTerm"s,"QuarticTerm"s,"CubicTerm"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"SineTerm"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"Styles"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"Start"s,"Finish"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"HasSurfaceFeatures"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ToFaceSet"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"Positions"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"PositionedRelativeTo"s,"ReferencedInStructures"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"UsingCurves"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"AdheresToElement"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"ServicesFacilities"s,"HasColours"s,"HasTextures"s,"Types"s,"IFC4X3_RC4"s}; diff --git a/src/ifcparse/schemas/Ifc4x3_rc4.cpp b/src/ifcparse/schemas/Ifc4x3_rc4.cpp index 85a85511aa..ae2af37bf0 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc4.cpp +++ b/src/ifcparse/schemas/Ifc4x3_rc4.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x3_rc4.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x3_rc4::Identifier = "IFC4X3_RC4"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X3_RC4_types[1316]; -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[3]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[3]); } /* -Ifc4x3_rc4::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x3_rc4::IfcActionRequestTypeEnum::Value Ifc4x3_rc4::IfcActionRequestTypeEnum } Ifc4x3_rc4::IfcActionRequestTypeEnum::operator Ifc4x3_rc4::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[4]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[4]); } /* -Ifc4x3_rc4::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x3_rc4::IfcActionSourceTypeEnum::Value Ifc4x3_rc4::IfcActionSourceTypeEnum:: } Ifc4x3_rc4::IfcActionSourceTypeEnum::operator Ifc4x3_rc4::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[5]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[5]); } /* -Ifc4x3_rc4::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x3_rc4::IfcActionTypeEnum::Value Ifc4x3_rc4::IfcActionTypeEnum::FromString(c } Ifc4x3_rc4::IfcActionTypeEnum::operator Ifc4x3_rc4::IfcActionTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[11]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[11]); } /* -Ifc4x3_rc4::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x3_rc4::IfcActuatorTypeEnum::Value Ifc4x3_rc4::IfcActuatorTypeEnum::FromStri } Ifc4x3_rc4::IfcActuatorTypeEnum::operator Ifc4x3_rc4::IfcActuatorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[13]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[13]); } /* -Ifc4x3_rc4::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x3_rc4::IfcAddressTypeEnum::Value Ifc4x3_rc4::IfcAddressTypeEnum::FromString } Ifc4x3_rc4::IfcAddressTypeEnum::operator Ifc4x3_rc4::IfcAddressTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[20]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[20]); } /* -Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_rc4::IfcAirTerminalBoxTypeEn } Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::operator Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[22]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[22]); } /* -Ifc4x3_rc4::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value Ifc4x3_rc4::IfcAirTerminalTypeEnum::Fr } Ifc4x3_rc4::IfcAirTerminalTypeEnum::operator Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[25]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[25]); } /* -Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_rc4::IfcAirToAirHeatRe } Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[28]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[28]); } /* -Ifc4x3_rc4::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x3_rc4::IfcAlarmTypeEnum::Value Ifc4x3_rc4::IfcAlarmTypeEnum::FromString(con } Ifc4x3_rc4::IfcAlarmTypeEnum::operator Ifc4x3_rc4::IfcAlarmTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[32]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[32]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[32]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[32]); } /* -Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_rc4::IfcAlignmentCantS } Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::operator Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[35]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[35]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[35]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[35]); } /* -Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_rc4::IfcAlignmen } Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::operator Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[38]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[38]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[38]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[38]); } /* -Ifc4x3_rc4::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x3_rc4::IfcAlignmentTypeEnum::Value Ifc4x3_rc4::IfcAlignmentTypeEnum::FromSt } Ifc4x3_rc4::IfcAlignmentTypeEnum::operator Ifc4x3_rc4::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[41]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[41]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[41]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[41]); } /* -Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_rc4::IfcAlignmentV } Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::operator Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[43]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[43]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[43]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[43]); } /* -Ifc4x3_rc4::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value Ifc4x3_rc4::IfcAnalysisModelTypeEnum } Ifc4x3_rc4::IfcAnalysisModelTypeEnum::operator Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[44]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[44]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[44]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[44]); } /* -Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_rc4::IfcAnalysisTheoryTypeEn } Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::operator Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAnnotationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[48]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAnnotationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[48]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAnnotationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[48]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAnnotationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[48]); } /* -Ifc4x3_rc4::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x3_rc4::IfcAnnotationTypeEnum::Value Ifc4x3_rc4::IfcAnnotationTypeEnum::From } Ifc4x3_rc4::IfcAnnotationTypeEnum::operator Ifc4x3_rc4::IfcAnnotationTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAnnotationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAnnotationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[60]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[60]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[60]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[60]); } /* -Ifc4x3_rc4::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value Ifc4x3_rc4::IfcArithmeticOperatorEn } Ifc4x3_rc4::IfcArithmeticOperatorEnum::operator Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[61]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[61]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[61]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[61]); } /* -Ifc4x3_rc4::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value Ifc4x3_rc4::IfcAssemblyPlaceEnum::FromSt } Ifc4x3_rc4::IfcAssemblyPlaceEnum::operator Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[66]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[66]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[66]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[66]); } /* -Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_rc4::IfcAudioVisualApp } Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::operator Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[109]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[109]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[109]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[109]); } /* -Ifc4x3_rc4::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x3_rc4::IfcBSplineCurveForm::Value Ifc4x3_rc4::IfcBSplineCurveForm::FromStri } Ifc4x3_rc4::IfcBSplineCurveForm::operator Ifc4x3_rc4::IfcBSplineCurveForm::Value() const { - return (Ifc4x3_rc4::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[112]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[112]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[112]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[112]); } /* -Ifc4x3_rc4::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x3_rc4::IfcBSplineSurfaceForm::Value Ifc4x3_rc4::IfcBSplineSurfaceForm::From } Ifc4x3_rc4::IfcBSplineSurfaceForm::operator Ifc4x3_rc4::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x3_rc4::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[75]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[75]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[75]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[75]); } /* -Ifc4x3_rc4::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x3_rc4::IfcBeamTypeEnum::Value Ifc4x3_rc4::IfcBeamTypeEnum::FromString(const } Ifc4x3_rc4::IfcBeamTypeEnum::operator Ifc4x3_rc4::IfcBeamTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[78]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[78]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[78]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[78]); } /* -Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::IfcBearingTypeDisplacementEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::Value Ifc4x3_rc4::IfcBearingTypeDisp } Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::operator Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::Value() const { - return (Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBearingTypeDisplacementEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBearingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[79]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBearingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[79]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[79]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[79]); } /* -Ifc4x3_rc4::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x3_rc4::IfcBearingTypeEnum::Value Ifc4x3_rc4::IfcBearingTypeEnum::FromString } Ifc4x3_rc4::IfcBearingTypeEnum::operator Ifc4x3_rc4::IfcBearingTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBearingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[80]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[80]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[80]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[80]); } /* -Ifc4x3_rc4::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x3_rc4::IfcBenchmarkEnum::Value Ifc4x3_rc4::IfcBenchmarkEnum::FromString(con } Ifc4x3_rc4::IfcBenchmarkEnum::operator Ifc4x3_rc4::IfcBenchmarkEnum::Value() const { - return (Ifc4x3_rc4::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[87]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[87]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[87]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[87]); } /* -Ifc4x3_rc4::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x3_rc4::IfcBoilerTypeEnum::Value Ifc4x3_rc4::IfcBoilerTypeEnum::FromString(c } Ifc4x3_rc4::IfcBoilerTypeEnum::operator Ifc4x3_rc4::IfcBoilerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[91]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[91]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[91]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[91]); } /* -Ifc4x3_rc4::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x3_rc4::IfcBooleanOperator::Value Ifc4x3_rc4::IfcBooleanOperator::FromString } Ifc4x3_rc4::IfcBooleanOperator::operator Ifc4x3_rc4::IfcBooleanOperator::Value() const { - return (Ifc4x3_rc4::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBridgePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[106]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBridgePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[106]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[106]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[106]); } /* -Ifc4x3_rc4::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x3_rc4::IfcBridgePartTypeEnum::Value Ifc4x3_rc4::IfcBridgePartTypeEnum::From } Ifc4x3_rc4::IfcBridgePartTypeEnum::operator Ifc4x3_rc4::IfcBridgePartTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBridgePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBridgeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[107]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBridgeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[107]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[107]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[107]); } /* -Ifc4x3_rc4::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x3_rc4::IfcBridgeTypeEnum::Value Ifc4x3_rc4::IfcBridgeTypeEnum::FromString(c } Ifc4x3_rc4::IfcBridgeTypeEnum::operator Ifc4x3_rc4::IfcBridgeTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBridgeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[117]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[117]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[117]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[117]); } /* -Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value Ifc4x3_rc4::IfcBuildingElement } Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::operator Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[120]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[120]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[120]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[120]); } /* -Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_rc4::IfcBuildingElemen } Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::operator Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[123]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[123]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[123]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[123]); } /* -Ifc4x3_rc4::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value Ifc4x3_rc4::IfcBuildingSystemTypeEn } Ifc4x3_rc4::IfcBuildingSystemTypeEnum::operator Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBuiltSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[127]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[127]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBuiltSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[127]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[127]); } /* -Ifc4x3_rc4::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Fr } Ifc4x3_rc4::IfcBuiltSystemTypeEnum::operator Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[130]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[130]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[130]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[130]); } /* -Ifc4x3_rc4::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x3_rc4::IfcBurnerTypeEnum::Value Ifc4x3_rc4::IfcBurnerTypeEnum::FromString(c } Ifc4x3_rc4::IfcBurnerTypeEnum::operator Ifc4x3_rc4::IfcBurnerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[133]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[133]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[133]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[133]); } /* -Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_rc4::IfcCableCarrierFit } Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::operator Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[136]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[136]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[136]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[136]); } /* -Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_rc4::IfcCableCarrierSeg } Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::operator Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[139]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[139]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[139]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[139]); } /* -Ifc4x3_rc4::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x3_rc4::IfcCableFittingTypeEnum::Value Ifc4x3_rc4::IfcCableFittingTypeEnum:: } Ifc4x3_rc4::IfcCableFittingTypeEnum::operator Ifc4x3_rc4::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[142]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[142]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[142]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[142]); } /* -Ifc4x3_rc4::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value Ifc4x3_rc4::IfcCableSegmentTypeEnum:: } Ifc4x3_rc4::IfcCableSegmentTypeEnum::operator Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[145]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[145]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[145]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[145]); } /* -Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value Ifc4x3_rc4::IfcCaissonFoundation } Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::operator Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[157]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[157]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[157]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[157]); } /* -Ifc4x3_rc4::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x3_rc4::IfcChangeActionEnum::Value Ifc4x3_rc4::IfcChangeActionEnum::FromStri } Ifc4x3_rc4::IfcChangeActionEnum::operator Ifc4x3_rc4::IfcChangeActionEnum::Value() const { - return (Ifc4x3_rc4::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[160]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[160]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[160]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[160]); } /* -Ifc4x3_rc4::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x3_rc4::IfcChillerTypeEnum::Value Ifc4x3_rc4::IfcChillerTypeEnum::FromString } Ifc4x3_rc4::IfcChillerTypeEnum::operator Ifc4x3_rc4::IfcChillerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[163]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[163]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[163]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[163]); } /* -Ifc4x3_rc4::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x3_rc4::IfcChimneyTypeEnum::Value Ifc4x3_rc4::IfcChimneyTypeEnum::FromString } Ifc4x3_rc4::IfcChimneyTypeEnum::operator Ifc4x3_rc4::IfcChimneyTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[177]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[177]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[177]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[177]); } /* -Ifc4x3_rc4::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x3_rc4::IfcCoilTypeEnum::Value Ifc4x3_rc4::IfcCoilTypeEnum::FromString(const } Ifc4x3_rc4::IfcCoilTypeEnum::operator Ifc4x3_rc4::IfcCoilTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[186]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[186]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[186]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[186]); } /* -Ifc4x3_rc4::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x3_rc4::IfcColumnTypeEnum::Value Ifc4x3_rc4::IfcColumnTypeEnum::FromString(c } Ifc4x3_rc4::IfcColumnTypeEnum::operator Ifc4x3_rc4::IfcColumnTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[189]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[189]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[189]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[189]); } /* -Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_rc4::IfcCommunicati } Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::operator Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[193]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[193]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[193]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[193]); } /* -Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x3_rc4::IfcComplexProp } Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[201]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[201]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[201]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[201]); } /* -Ifc4x3_rc4::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x3_rc4::IfcCompressorTypeEnum::Value Ifc4x3_rc4::IfcCompressorTypeEnum::From } Ifc4x3_rc4::IfcCompressorTypeEnum::operator Ifc4x3_rc4::IfcCompressorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[204]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[204]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[204]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[204]); } /* -Ifc4x3_rc4::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x3_rc4::IfcCondenserTypeEnum::Value Ifc4x3_rc4::IfcCondenserTypeEnum::FromSt } Ifc4x3_rc4::IfcCondenserTypeEnum::operator Ifc4x3_rc4::IfcCondenserTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[212]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[212]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[212]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[212]); } /* -Ifc4x3_rc4::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x3_rc4::IfcConnectionTypeEnum::Value Ifc4x3_rc4::IfcConnectionTypeEnum::From } Ifc4x3_rc4::IfcConnectionTypeEnum::operator Ifc4x3_rc4::IfcConnectionTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[215]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[215]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[215]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[215]); } /* -Ifc4x3_rc4::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x3_rc4::IfcConstraintEnum::Value Ifc4x3_rc4::IfcConstraintEnum::FromString(c } Ifc4x3_rc4::IfcConstraintEnum::operator Ifc4x3_rc4::IfcConstraintEnum::Value() const { - return (Ifc4x3_rc4::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[218]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[218]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[218]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[218]); } /* -Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_rc4::IfcConst } Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[221]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[221]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[221]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[221]); } /* -Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_rc4::IfcConstr } Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[224]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[224]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[224]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[224]); } /* -Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_rc4::IfcConstru } Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::operator Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[233]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[233]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[233]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[233]); } /* -Ifc4x3_rc4::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x3_rc4::IfcControllerTypeEnum::Value Ifc4x3_rc4::IfcControllerTypeEnum::From } Ifc4x3_rc4::IfcControllerTypeEnum::operator Ifc4x3_rc4::IfcControllerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[238]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[238]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[238]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[238]); } /* -Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value Ifc4x3_rc4::IfcConveyorSegmentType } Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::operator Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[241]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[241]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[241]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[241]); } /* -Ifc4x3_rc4::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value Ifc4x3_rc4::IfcCooledBeamTypeEnum::From } Ifc4x3_rc4::IfcCooledBeamTypeEnum::operator Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[244]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[244]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[244]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[244]); } /* -Ifc4x3_rc4::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value Ifc4x3_rc4::IfcCoolingTowerTypeEnum:: } Ifc4x3_rc4::IfcCoolingTowerTypeEnum::operator Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[250]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[250]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[250]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[250]); } /* -Ifc4x3_rc4::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x3_rc4::IfcCostItemTypeEnum::Value Ifc4x3_rc4::IfcCostItemTypeEnum::FromStri } Ifc4x3_rc4::IfcCostItemTypeEnum::operator Ifc4x3_rc4::IfcCostItemTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[252]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[252]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[252]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[252]); } /* -Ifc4x3_rc4::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value Ifc4x3_rc4::IfcCostScheduleTypeEnum:: } Ifc4x3_rc4::IfcCostScheduleTypeEnum::operator Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCourseTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[257]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCourseTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[257]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCourseTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[257]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCourseTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[257]); } /* -Ifc4x3_rc4::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCourseTypeEnum::IfcCourseTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x3_rc4::IfcCourseTypeEnum::Value Ifc4x3_rc4::IfcCourseTypeEnum::FromString(c } Ifc4x3_rc4::IfcCourseTypeEnum::operator Ifc4x3_rc4::IfcCourseTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCourseTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCourseTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[260]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[260]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[260]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[260]); } /* -Ifc4x3_rc4::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x3_rc4::IfcCoveringTypeEnum::Value Ifc4x3_rc4::IfcCoveringTypeEnum::FromStri } Ifc4x3_rc4::IfcCoveringTypeEnum::operator Ifc4x3_rc4::IfcCoveringTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[263]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[263]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[263]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[263]); } /* -Ifc4x3_rc4::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value Ifc4x3_rc4::IfcCrewResourceTypeEnum:: } Ifc4x3_rc4::IfcCrewResourceTypeEnum::operator Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[271]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[271]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[271]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[271]); } /* -Ifc4x3_rc4::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value Ifc4x3_rc4::IfcCurtainWallTypeEnum::Fr } Ifc4x3_rc4::IfcCurtainWallTypeEnum::operator Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[277]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[277]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[277]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[277]); } /* -Ifc4x3_rc4::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x3_rc4::IfcCurveInterpolationEnum::Value Ifc4x3_rc4::IfcCurveInterpolationEn } Ifc4x3_rc4::IfcCurveInterpolationEnum::operator Ifc4x3_rc4::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x3_rc4::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[290]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[290]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[290]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[290]); } /* -Ifc4x3_rc4::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x3_rc4::IfcDamperTypeEnum::Value Ifc4x3_rc4::IfcDamperTypeEnum::FromString(c } Ifc4x3_rc4::IfcDamperTypeEnum::operator Ifc4x3_rc4::IfcDamperTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[291]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[291]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[291]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[291]); } /* -Ifc4x3_rc4::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x3_rc4::IfcDataOriginEnum::Value Ifc4x3_rc4::IfcDataOriginEnum::FromString(c } Ifc4x3_rc4::IfcDataOriginEnum::operator Ifc4x3_rc4::IfcDataOriginEnum::Value() const { - return (Ifc4x3_rc4::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[303]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[303]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[303]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[303]); } /* -Ifc4x3_rc4::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x3_rc4::IfcDerivedUnitEnum::Value Ifc4x3_rc4::IfcDerivedUnitEnum::FromString } Ifc4x3_rc4::IfcDerivedUnitEnum::operator Ifc4x3_rc4::IfcDerivedUnitEnum::Value() const { - return (Ifc4x3_rc4::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[308]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[308]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[308]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[308]); } /* -Ifc4x3_rc4::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x3_rc4::IfcDirectionSenseEnum::Value Ifc4x3_rc4::IfcDirectionSenseEnum::From } Ifc4x3_rc4::IfcDirectionSenseEnum::operator Ifc4x3_rc4::IfcDirectionSenseEnum::Value() const { - return (Ifc4x3_rc4::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[313]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[313]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[313]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[313]); } /* -Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_rc4::IfcDiscreteAccessory } Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::operator Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[316]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[316]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[316]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[316]); } /* -Ifc4x3_rc4::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value Ifc4x3_rc4::IfcDistributionBoard } Ifc4x3_rc4::IfcDistributionBoardTypeEnum::operator Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[319]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[319]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[319]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[319]); } /* -Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_rc4::IfcDistribu } Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::operator Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[328]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[328]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[328]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[328]); } /* -Ifc4x3_rc4::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value Ifc4x3_rc4::IfcDistributionPortTy } Ifc4x3_rc4::IfcDistributionPortTypeEnum::operator Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[330]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[330]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[330]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[330]); } /* -Ifc4x3_rc4::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x3_rc4::IfcDistributionSystemEnum::Value Ifc4x3_rc4::IfcDistributionSystemEn } Ifc4x3_rc4::IfcDistributionSystemEnum::operator Ifc4x3_rc4::IfcDistributionSystemEnum::Value() const { - return (Ifc4x3_rc4::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[331]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[331]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[331]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[331]); } /* -Ifc4x3_rc4::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value Ifc4x3_rc4::IfcDocumentConfide } Ifc4x3_rc4::IfcDocumentConfidentialityEnum::operator Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[336]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[336]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[336]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[336]); } /* -Ifc4x3_rc4::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x3_rc4::IfcDocumentStatusEnum::Value Ifc4x3_rc4::IfcDocumentStatusEnum::From } Ifc4x3_rc4::IfcDocumentStatusEnum::operator Ifc4x3_rc4::IfcDocumentStatusEnum::Value() const { - return (Ifc4x3_rc4::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[339]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[339]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[339]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[339]); } /* -Ifc4x3_rc4::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value Ifc4x3_rc4::IfcDoorPanelOperationEn } Ifc4x3_rc4::IfcDoorPanelOperationEnum::operator Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[340]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[340]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[340]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[340]); } /* -Ifc4x3_rc4::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value Ifc4x3_rc4::IfcDoorPanelPositionEnum } Ifc4x3_rc4::IfcDoorPanelPositionEnum::operator Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[344]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[344]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[344]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[344]); } /* -Ifc4x3_rc4::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDoorStyleConstructionEnum::IfcDoorStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value Ifc4x3_rc4::IfcDoorStyleConstruc } Ifc4x3_rc4::IfcDoorStyleConstructionEnum::operator Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value() const { - return (Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[345]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[345]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[345]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[345]); } /* -Ifc4x3_rc4::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDoorStyleOperationEnum::IfcDoorStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value Ifc4x3_rc4::IfcDoorStyleOperationEn } Ifc4x3_rc4::IfcDoorStyleOperationEnum::operator Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value() const { - return (Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[347]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[347]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[347]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[347]); } /* -Ifc4x3_rc4::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x3_rc4::IfcDoorTypeEnum::Value Ifc4x3_rc4::IfcDoorTypeEnum::FromString(const } Ifc4x3_rc4::IfcDoorTypeEnum::operator Ifc4x3_rc4::IfcDoorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[348]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[348]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[348]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[348]); } /* -Ifc4x3_rc4::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value Ifc4x3_rc4::IfcDoorTypeOperationEnum } Ifc4x3_rc4::IfcDoorTypeOperationEnum::operator Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[354]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[354]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[354]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[354]); } /* -Ifc4x3_rc4::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value Ifc4x3_rc4::IfcDuctFittingTypeEnum::Fr } Ifc4x3_rc4::IfcDuctFittingTypeEnum::operator Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[357]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[357]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[357]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[357]); } /* -Ifc4x3_rc4::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Fr } Ifc4x3_rc4::IfcDuctSegmentTypeEnum::operator Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[360]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[360]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[360]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[360]); } /* -Ifc4x3_rc4::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value Ifc4x3_rc4::IfcDuctSilencerTypeEnum:: } Ifc4x3_rc4::IfcDuctSilencerTypeEnum::operator Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEarthworksCutTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[364]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[364]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEarthworksCutTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[364]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[364]); } /* -Ifc4x3_rc4::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value Ifc4x3_rc4::IfcEarthworksCutTypeEnum } Ifc4x3_rc4::IfcEarthworksCutTypeEnum::operator Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEarthworksFillTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[367]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[367]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEarthworksFillTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[367]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[367]); } /* -Ifc4x3_rc4::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value Ifc4x3_rc4::IfcEarthworksFillTypeEn } Ifc4x3_rc4::IfcEarthworksFillTypeEnum::operator Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[373]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[373]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[373]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[373]); } /* -Ifc4x3_rc4::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value Ifc4x3_rc4::IfcElectricAppliance } Ifc4x3_rc4::IfcElectricApplianceTypeEnum::operator Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[380]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[380]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[380]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[380]); } /* -Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_rc4::IfcElectricD } Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::operator Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[383]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[383]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[383]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[383]); } /* -Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_rc4::IfcElectricF } Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[386]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[386]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[386]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[386]); } /* -Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_rc4::IfcElectri } Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::operator Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[389]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[389]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[389]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[389]); } /* -Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value Ifc4x3_rc4::IfcElectricGenerator } Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::operator Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[392]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[392]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[392]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[392]); } /* -Ifc4x3_rc4::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value Ifc4x3_rc4::IfcElectricMotorTypeEnum } Ifc4x3_rc4::IfcElectricMotorTypeEnum::operator Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[396]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[396]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[396]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[396]); } /* -Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value Ifc4x3_rc4::IfcElectricTimeCon } Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::operator Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[402]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[402]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[402]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[402]); } /* -Ifc4x3_rc4::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value Ifc4x3_rc4::IfcElementAssemblyType } Ifc4x3_rc4::IfcElementAssemblyTypeEnum::operator Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[405]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[405]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[405]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[405]); } /* -Ifc4x3_rc4::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x3_rc4::IfcElementCompositionEnum::Value Ifc4x3_rc4::IfcElementCompositionEn } Ifc4x3_rc4::IfcElementCompositionEnum::operator Ifc4x3_rc4::IfcElementCompositionEnum::Value() const { - return (Ifc4x3_rc4::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[415]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[415]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[415]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[415]); } /* -Ifc4x3_rc4::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x3_rc4::IfcEngineTypeEnum::Value Ifc4x3_rc4::IfcEngineTypeEnum::FromString(c } Ifc4x3_rc4::IfcEngineTypeEnum::operator Ifc4x3_rc4::IfcEngineTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[418]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[418]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[418]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[418]); } /* -Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_rc4::IfcEvaporativeCooler } Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::operator Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[421]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[421]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[421]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[421]); } /* -Ifc4x3_rc4::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value Ifc4x3_rc4::IfcEvaporatorTypeEnum::From } Ifc4x3_rc4::IfcEvaporatorTypeEnum::operator Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[424]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[424]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[424]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[424]); } /* -Ifc4x3_rc4::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value Ifc4x3_rc4::IfcEventTriggerTypeEnum:: } Ifc4x3_rc4::IfcEventTriggerTypeEnum::operator Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[426]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[426]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[426]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[426]); } /* -Ifc4x3_rc4::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x3_rc4::IfcEventTypeEnum::Value Ifc4x3_rc4::IfcEventTypeEnum::FromString(con } Ifc4x3_rc4::IfcEventTypeEnum::operator Ifc4x3_rc4::IfcEventTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[435]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[435]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[435]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[435]); } /* -Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value Ifc4x3_rc4::IfcExternalSpat } Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::operator Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[448]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[448]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[448]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[448]); } /* -Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::Value Ifc4x3_rc4::IfcFacilityPartComm } Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::operator Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFacilityPartCommonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFacilityUsageEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[450]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFacilityUsageEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[450]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFacilityUsageEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[450]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFacilityUsageEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[450]); } /* -Ifc4x3_rc4::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFacilityUsageEnum::IfcFacilityUsageEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x3_rc4::IfcFacilityUsageEnum::Value Ifc4x3_rc4::IfcFacilityUsageEnum::FromSt } Ifc4x3_rc4::IfcFacilityUsageEnum::operator Ifc4x3_rc4::IfcFacilityUsageEnum::Value() const { - return (Ifc4x3_rc4::IfcFacilityUsageEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFacilityUsageEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[454]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[454]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[454]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[454]); } /* -Ifc4x3_rc4::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x3_rc4::IfcFanTypeEnum::Value Ifc4x3_rc4::IfcFanTypeEnum::FromString(const s } Ifc4x3_rc4::IfcFanTypeEnum::operator Ifc4x3_rc4::IfcFanTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[457]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[457]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[457]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[457]); } /* -Ifc4x3_rc4::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x3_rc4::IfcFastenerTypeEnum::Value Ifc4x3_rc4::IfcFastenerTypeEnum::FromStri } Ifc4x3_rc4::IfcFastenerTypeEnum::operator Ifc4x3_rc4::IfcFastenerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[467]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[467]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[467]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[467]); } /* -Ifc4x3_rc4::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x3_rc4::IfcFilterTypeEnum::Value Ifc4x3_rc4::IfcFilterTypeEnum::FromString(c } Ifc4x3_rc4::IfcFilterTypeEnum::operator Ifc4x3_rc4::IfcFilterTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[470]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[470]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[470]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[470]); } /* -Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_rc4::IfcFireSuppres } Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[474]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[474]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[474]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[474]); } /* -Ifc4x3_rc4::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x3_rc4::IfcFlowDirectionEnum::Value Ifc4x3_rc4::IfcFlowDirectionEnum::FromSt } Ifc4x3_rc4::IfcFlowDirectionEnum::operator Ifc4x3_rc4::IfcFlowDirectionEnum::Value() const { - return (Ifc4x3_rc4::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[479]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[479]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[479]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[479]); } /* -Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value Ifc4x3_rc4::IfcFlowInstrumentTypeEn } Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::operator Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[482]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[482]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[482]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[482]); } /* -Ifc4x3_rc4::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value Ifc4x3_rc4::IfcFlowMeterTypeEnum::FromSt } Ifc4x3_rc4::IfcFlowMeterTypeEnum::operator Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[498]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[498]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[498]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[498]); } /* -Ifc4x3_rc4::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x3_rc4::IfcFootingTypeEnum::Value Ifc4x3_rc4::IfcFootingTypeEnum::FromString } Ifc4x3_rc4::IfcFootingTypeEnum::operator Ifc4x3_rc4::IfcFootingTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[505]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[505]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[505]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[505]); } /* -Ifc4x3_rc4::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x3_rc4::IfcFurnitureTypeEnum::Value Ifc4x3_rc4::IfcFurnitureTypeEnum::FromSt } Ifc4x3_rc4::IfcFurnitureTypeEnum::operator Ifc4x3_rc4::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[508]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[508]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[508]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[508]); } /* -Ifc4x3_rc4::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value Ifc4x3_rc4::IfcGeographicElement } Ifc4x3_rc4::IfcGeographicElementTypeEnum::operator Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[510]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[510]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[510]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[510]); } /* -Ifc4x3_rc4::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x3_rc4::IfcGeometricProjectionEnum::Value Ifc4x3_rc4::IfcGeometricProjection } Ifc4x3_rc4::IfcGeometricProjectionEnum::operator Ifc4x3_rc4::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x3_rc4::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[522]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[522]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[522]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[522]); } /* -Ifc4x3_rc4::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value Ifc4x3_rc4::IfcGlobalOrLocalEnum::FromSt } Ifc4x3_rc4::IfcGlobalOrLocalEnum::operator Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[528]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[528]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[528]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[528]); } /* -Ifc4x3_rc4::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x3_rc4::IfcGridTypeEnum::Value Ifc4x3_rc4::IfcGridTypeEnum::FromString(const } Ifc4x3_rc4::IfcGridTypeEnum::operator Ifc4x3_rc4::IfcGridTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[534]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[534]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[534]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[534]); } /* -Ifc4x3_rc4::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value Ifc4x3_rc4::IfcHeatExchangerTypeEnum } Ifc4x3_rc4::IfcHeatExchangerTypeEnum::operator Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[539]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[539]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[539]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[539]); } /* -Ifc4x3_rc4::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x3_rc4::IfcHumidifierTypeEnum::Value Ifc4x3_rc4::IfcHumidifierTypeEnum::From } Ifc4x3_rc4::IfcHumidifierTypeEnum::operator Ifc4x3_rc4::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[545]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[545]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[545]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[545]); } /* -Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_rc4::IfcImpactProtec } Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::operator Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcImpactProtectionDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[558]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[558]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[558]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[558]); } /* -Ifc4x3_rc4::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x3_rc4::IfcInterceptorTypeEnum::Value Ifc4x3_rc4::IfcInterceptorTypeEnum::Fr } Ifc4x3_rc4::IfcInterceptorTypeEnum::operator Ifc4x3_rc4::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[560]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[560]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[560]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[560]); } /* -Ifc4x3_rc4::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x3_rc4::IfcInternalOrExternalEnum::Value Ifc4x3_rc4::IfcInternalOrExternalEn } Ifc4x3_rc4::IfcInternalOrExternalEnum::operator Ifc4x3_rc4::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x3_rc4::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[563]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[563]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[563]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[563]); } /* -Ifc4x3_rc4::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x3_rc4::IfcInventoryTypeEnum::Value Ifc4x3_rc4::IfcInventoryTypeEnum::FromSt } Ifc4x3_rc4::IfcInventoryTypeEnum::operator Ifc4x3_rc4::IfcInventoryTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[571]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[571]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[571]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[571]); } /* -Ifc4x3_rc4::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Fr } Ifc4x3_rc4::IfcJunctionBoxTypeEnum::operator Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[575]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[575]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[575]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[575]); } /* -Ifc4x3_rc4::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x3_rc4::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x3_rc4::IfcKnotType::Value Ifc4x3_rc4::IfcKnotType::FromString(const std::st } Ifc4x3_rc4::IfcKnotType::operator Ifc4x3_rc4::IfcKnotType::Value() const { - return (Ifc4x3_rc4::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[579]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[579]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[579]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[579]); } /* -Ifc4x3_rc4::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value Ifc4x3_rc4::IfcLaborResourceTypeEnum } Ifc4x3_rc4::IfcLaborResourceTypeEnum::operator Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[583]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[583]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[583]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[583]); } /* -Ifc4x3_rc4::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x3_rc4::IfcLampTypeEnum::Value Ifc4x3_rc4::IfcLampTypeEnum::FromString(const } Ifc4x3_rc4::IfcLampTypeEnum::operator Ifc4x3_rc4::IfcLampTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[586]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[586]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[586]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[586]); } /* -Ifc4x3_rc4::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value Ifc4x3_rc4::IfcLayerSetDirectionEnum } Ifc4x3_rc4::IfcLayerSetDirectionEnum::operator Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[591]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[591]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[591]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[591]); } /* -Ifc4x3_rc4::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value Ifc4x3_rc4::IfcLightDistributio } Ifc4x3_rc4::IfcLightDistributionCurveEnum::operator Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[594]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[594]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[594]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[594]); } /* -Ifc4x3_rc4::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value Ifc4x3_rc4::IfcLightEmissionSource } Ifc4x3_rc4::IfcLightEmissionSourceEnum::operator Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[597]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[597]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[597]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[597]); } /* -Ifc4x3_rc4::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value Ifc4x3_rc4::IfcLightFixtureTypeEnum:: } Ifc4x3_rc4::IfcLightFixtureTypeEnum::operator Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[616]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[616]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[616]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[616]); } /* -Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value Ifc4x3_rc4::IfcLiquidTerminalTypeEn } Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::operator Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[617]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[617]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[617]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[617]); } /* -Ifc4x3_rc4::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value Ifc4x3_rc4::IfcLoadGroupTypeEnum::FromSt } Ifc4x3_rc4::IfcLoadGroupTypeEnum::operator Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[620]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[620]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[620]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[620]); } /* -Ifc4x3_rc4::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x3_rc4::IfcLogicalOperatorEnum::Value Ifc4x3_rc4::IfcLogicalOperatorEnum::Fr } Ifc4x3_rc4::IfcLogicalOperatorEnum::operator Ifc4x3_rc4::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x3_rc4::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMarineFacilityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[632]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[632]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMarineFacilityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[632]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[632]); } /* -Ifc4x3_rc4::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value Ifc4x3_rc4::IfcMarineFacilityTypeEn } Ifc4x3_rc4::IfcMarineFacilityTypeEnum::operator Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMarinePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[633]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMarinePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[633]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMarinePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[633]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMarinePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[633]); } /* -Ifc4x3_rc4::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x3_rc4::IfcMarinePartTypeEnum::Value Ifc4x3_rc4::IfcMarinePartTypeEnum::From } Ifc4x3_rc4::IfcMarinePartTypeEnum::operator Ifc4x3_rc4::IfcMarinePartTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcMarinePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcMarinePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[662]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[662]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[662]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[662]); } /* -Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_rc4::IfcMechanicalFasten } Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::operator Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[665]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[665]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[665]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[665]); } /* -Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value Ifc4x3_rc4::IfcMedicalDeviceTypeEnum } Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::operator Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[669]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[669]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[669]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[669]); } /* -Ifc4x3_rc4::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x3_rc4::IfcMemberTypeEnum::Value Ifc4x3_rc4::IfcMemberTypeEnum::FromString(c } Ifc4x3_rc4::IfcMemberTypeEnum::operator Ifc4x3_rc4::IfcMemberTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[675]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[675]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[675]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[675]); } /* -Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_rc4::IfcM } Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::operator Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMooringDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[691]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[691]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMooringDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[691]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[691]); } /* -Ifc4x3_rc4::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value Ifc4x3_rc4::IfcMooringDeviceTypeEnum } Ifc4x3_rc4::IfcMooringDeviceTypeEnum::operator Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[694]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[694]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[694]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[694]); } /* -Ifc4x3_rc4::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value Ifc4x3_rc4::IfcMotorConnectionType } Ifc4x3_rc4::IfcMotorConnectionTypeEnum::operator Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcNavigationElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[698]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[698]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcNavigationElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[698]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[698]); } /* -Ifc4x3_rc4::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value Ifc4x3_rc4::IfcNavigationElement } Ifc4x3_rc4::IfcNavigationElementTypeEnum::operator Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcObjectTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[708]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcObjectTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[708]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcObjectTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[708]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcObjectTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[708]); } /* -Ifc4x3_rc4::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcObjectTypeEnum::IfcObjectTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcObjectTypeEnum::IfcObjectTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x3_rc4::IfcObjectTypeEnum::Value Ifc4x3_rc4::IfcObjectTypeEnum::FromString(c } Ifc4x3_rc4::IfcObjectTypeEnum::operator Ifc4x3_rc4::IfcObjectTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcObjectTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcObjectTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[705]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[705]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[705]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[705]); } /* -Ifc4x3_rc4::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x3_rc4::IfcObjectiveEnum::Value Ifc4x3_rc4::IfcObjectiveEnum::FromString(con } Ifc4x3_rc4::IfcObjectiveEnum::operator Ifc4x3_rc4::IfcObjectiveEnum::Value() const { - return (Ifc4x3_rc4::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[710]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[710]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[710]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[710]); } /* -Ifc4x3_rc4::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x3_rc4::IfcOccupantTypeEnum::Value Ifc4x3_rc4::IfcOccupantTypeEnum::FromStri } Ifc4x3_rc4::IfcOccupantTypeEnum::operator Ifc4x3_rc4::IfcOccupantTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[717]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[717]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[717]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[717]); } /* -Ifc4x3_rc4::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value Ifc4x3_rc4::IfcOpeningElementTypeEn } Ifc4x3_rc4::IfcOpeningElementTypeEnum::operator Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[726]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[726]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[726]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[726]); } /* -Ifc4x3_rc4::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x3_rc4::IfcOutletTypeEnum::Value Ifc4x3_rc4::IfcOutletTypeEnum::FromString(c } Ifc4x3_rc4::IfcOutletTypeEnum::operator Ifc4x3_rc4::IfcOutletTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPavementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[733]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPavementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[733]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPavementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[733]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPavementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[733]); } /* -Ifc4x3_rc4::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPavementTypeEnum::IfcPavementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x3_rc4::IfcPavementTypeEnum::Value Ifc4x3_rc4::IfcPavementTypeEnum::FromStri } Ifc4x3_rc4::IfcPavementTypeEnum::operator Ifc4x3_rc4::IfcPavementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcPavementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPavementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[736]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[736]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[736]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[736]); } /* -Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value Ifc4x3_rc4::IfcPerformanceHisto } Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::operator Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[737]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[737]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[737]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[737]); } /* -Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value Ifc4x3_rc4::IfcPermeableCov } Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::operator Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[740]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[740]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[740]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[740]); } /* -Ifc4x3_rc4::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x3_rc4::IfcPermitTypeEnum::Value Ifc4x3_rc4::IfcPermitTypeEnum::FromString(c } Ifc4x3_rc4::IfcPermitTypeEnum::operator Ifc4x3_rc4::IfcPermitTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[745]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[745]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[745]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[745]); } /* -Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value Ifc4x3_rc4::IfcPhysicalOrVirtualEnum } Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::operator Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[749]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[749]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[749]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[749]); } /* -Ifc4x3_rc4::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x3_rc4::IfcPileConstructionEnum::Value Ifc4x3_rc4::IfcPileConstructionEnum:: } Ifc4x3_rc4::IfcPileConstructionEnum::operator Ifc4x3_rc4::IfcPileConstructionEnum::Value() const { - return (Ifc4x3_rc4::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[751]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[751]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[751]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[751]); } /* -Ifc4x3_rc4::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x3_rc4::IfcPileTypeEnum::Value Ifc4x3_rc4::IfcPileTypeEnum::FromString(const } Ifc4x3_rc4::IfcPileTypeEnum::operator Ifc4x3_rc4::IfcPileTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[754]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[754]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[754]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[754]); } /* -Ifc4x3_rc4::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value Ifc4x3_rc4::IfcPipeFittingTypeEnum::Fr } Ifc4x3_rc4::IfcPipeFittingTypeEnum::operator Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[757]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[757]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[757]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[757]); } /* -Ifc4x3_rc4::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Fr } Ifc4x3_rc4::IfcPipeSegmentTypeEnum::operator Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[769]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[769]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[769]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[769]); } /* -Ifc4x3_rc4::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x3_rc4::IfcPlateTypeEnum::Value Ifc4x3_rc4::IfcPlateTypeEnum::FromString(con } Ifc4x3_rc4::IfcPlateTypeEnum::operator Ifc4x3_rc4::IfcPlateTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[794]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[794]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[794]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[794]); } /* -Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_rc4::IfcPreferr } Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[803]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[803]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[803]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[803]); } /* -Ifc4x3_rc4::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x3_rc4::IfcProcedureTypeEnum::Value Ifc4x3_rc4::IfcProcedureTypeEnum::FromSt } Ifc4x3_rc4::IfcProcedureTypeEnum::operator Ifc4x3_rc4::IfcProcedureTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[813]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[813]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[813]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[813]); } /* -Ifc4x3_rc4::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x3_rc4::IfcProfileTypeEnum::Value Ifc4x3_rc4::IfcProfileTypeEnum::FromString } Ifc4x3_rc4::IfcProfileTypeEnum::operator Ifc4x3_rc4::IfcProfileTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[821]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[821]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[821]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[821]); } /* -Ifc4x3_rc4::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value Ifc4x3_rc4::IfcProjectOrderTypeEnum:: } Ifc4x3_rc4::IfcProjectOrderTypeEnum::operator Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[816]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[816]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[816]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[816]); } /* -Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value Ifc4x3_rc4::IfcProjectedOrTrueLe } Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::operator Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[818]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[818]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[818]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[818]); } /* -Ifc4x3_rc4::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value Ifc4x3_rc4::IfcProjectionElement } Ifc4x3_rc4::IfcProjectionElementTypeEnum::operator Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[836]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[836]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[836]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[836]); } /* -Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value Ifc4x3_rc4::IfcPropertySetTemp } Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::operator Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[844]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[844]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[844]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[844]); } /* -Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_rc4::IfcProtec } Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[846]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[846]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[846]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[846]); } /* -Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_rc4::IfcProtectiveDeviceTy } Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::operator Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[850]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[850]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[850]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[850]); } /* -Ifc4x3_rc4::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x3_rc4::IfcPumpTypeEnum::Value Ifc4x3_rc4::IfcPumpTypeEnum::FromString(const } Ifc4x3_rc4::IfcPumpTypeEnum::operator Ifc4x3_rc4::IfcPumpTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRailTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[864]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRailTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[864]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRailTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[864]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRailTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[864]); } /* -Ifc4x3_rc4::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRailTypeEnum::IfcRailTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRailTypeEnum::IfcRailTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x3_rc4::IfcRailTypeEnum::Value Ifc4x3_rc4::IfcRailTypeEnum::FromString(const } Ifc4x3_rc4::IfcRailTypeEnum::operator Ifc4x3_rc4::IfcRailTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRailTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRailTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[862]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[862]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[862]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[862]); } /* -Ifc4x3_rc4::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x3_rc4::IfcRailingTypeEnum::Value Ifc4x3_rc4::IfcRailingTypeEnum::FromString } Ifc4x3_rc4::IfcRailingTypeEnum::operator Ifc4x3_rc4::IfcRailingTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRailwayPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[866]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRailwayPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[866]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRailwayPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[866]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRailwayPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[866]); } /* -Ifc4x3_rc4::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x3_rc4::IfcRailwayPartTypeEnum::Value Ifc4x3_rc4::IfcRailwayPartTypeEnum::Fr } Ifc4x3_rc4::IfcRailwayPartTypeEnum::operator Ifc4x3_rc4::IfcRailwayPartTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRailwayPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRailwayPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRailwayTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[867]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRailwayTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[867]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRailwayTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[867]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRailwayTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[867]); } /* -Ifc4x3_rc4::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRailwayTypeEnum::IfcRailwayTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x3_rc4::IfcRailwayTypeEnum::Value Ifc4x3_rc4::IfcRailwayTypeEnum::FromString } Ifc4x3_rc4::IfcRailwayTypeEnum::operator Ifc4x3_rc4::IfcRailwayTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRailwayTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRailwayTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[871]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[871]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[871]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[871]); } /* -Ifc4x3_rc4::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x3_rc4::IfcRampFlightTypeEnum::Value Ifc4x3_rc4::IfcRampFlightTypeEnum::From } Ifc4x3_rc4::IfcRampFlightTypeEnum::operator Ifc4x3_rc4::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[873]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[873]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[873]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[873]); } /* -Ifc4x3_rc4::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x3_rc4::IfcRampTypeEnum::Value Ifc4x3_rc4::IfcRampTypeEnum::FromString(const } Ifc4x3_rc4::IfcRampTypeEnum::operator Ifc4x3_rc4::IfcRampTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[883]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[883]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[883]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[883]); } /* -Ifc4x3_rc4::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value Ifc4x3_rc4::IfcRecurrenceTypeEnum::From } Ifc4x3_rc4::IfcRecurrenceTypeEnum::operator Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[886]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[886]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[886]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[886]); } /* -Ifc4x3_rc4::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x3_rc4::IfcReferentTypeEnum::Value Ifc4x3_rc4::IfcReferentTypeEnum::FromStri } Ifc4x3_rc4::IfcReferentTypeEnum::operator Ifc4x3_rc4::IfcReferentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[887]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[887]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[887]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[887]); } /* -Ifc4x3_rc4::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x3_rc4::IfcReflectanceMethodEnum::Value Ifc4x3_rc4::IfcReflectanceMethodEnum } Ifc4x3_rc4::IfcReflectanceMethodEnum::operator Ifc4x3_rc4::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x3_rc4::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[890]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[890]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[890]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[890]); } /* -Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value Ifc4x3_rc4::IfcReinforcedSoilTypeEn } Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::operator Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[894]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[894]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[894]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[894]); } /* -Ifc4x3_rc4::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value Ifc4x3_rc4::IfcReinforcingBarRoleEn } Ifc4x3_rc4::IfcReinforcingBarRoleEnum::operator Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[895]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[895]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[895]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[895]); } /* -Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value Ifc4x3_rc4::IfcReinforcingBarSur } Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::operator Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[897]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[897]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[897]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[897]); } /* -Ifc4x3_rc4::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value Ifc4x3_rc4::IfcReinforcingBarTypeEn } Ifc4x3_rc4::IfcReinforcingBarTypeEnum::operator Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[902]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[902]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[902]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[902]); } /* -Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value Ifc4x3_rc4::IfcReinforcingMeshType } Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::operator Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRoadPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[971]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRoadPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[971]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRoadPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[971]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRoadPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[971]); } /* -Ifc4x3_rc4::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x3_rc4::IfcRoadPartTypeEnum::Value Ifc4x3_rc4::IfcRoadPartTypeEnum::FromStri } Ifc4x3_rc4::IfcRoadPartTypeEnum::operator Ifc4x3_rc4::IfcRoadPartTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRoadPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRoadPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRoadTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[972]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRoadTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[972]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRoadTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[972]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRoadTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[972]); } /* -Ifc4x3_rc4::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRoadTypeEnum::IfcRoadTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x3_rc4::IfcRoadTypeEnum::Value Ifc4x3_rc4::IfcRoadTypeEnum::FromString(const } Ifc4x3_rc4::IfcRoadTypeEnum::operator Ifc4x3_rc4::IfcRoadTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRoadTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRoadTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[973]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[973]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[973]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[973]); } /* -Ifc4x3_rc4::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x3_rc4::IfcRoleEnum::Value Ifc4x3_rc4::IfcRoleEnum::FromString(const std::st } Ifc4x3_rc4::IfcRoleEnum::operator Ifc4x3_rc4::IfcRoleEnum::Value() const { - return (Ifc4x3_rc4::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[976]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[976]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[976]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[976]); } /* -Ifc4x3_rc4::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x3_rc4::IfcRoofTypeEnum::Value Ifc4x3_rc4::IfcRoofTypeEnum::FromString(const } Ifc4x3_rc4::IfcRoofTypeEnum::operator Ifc4x3_rc4::IfcRoofTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1026]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1026]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1026]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1026]); } /* -Ifc4x3_rc4::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x3_rc4::IfcSIPrefix::Value Ifc4x3_rc4::IfcSIPrefix::FromString(const std::st } Ifc4x3_rc4::IfcSIPrefix::operator Ifc4x3_rc4::IfcSIPrefix::Value() const { - return (Ifc4x3_rc4::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1029]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1029]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1029]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1029]); } /* -Ifc4x3_rc4::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x3_rc4::IfcSIUnitName::Value Ifc4x3_rc4::IfcSIUnitName::FromString(const std } Ifc4x3_rc4::IfcSIUnitName::operator Ifc4x3_rc4::IfcSIUnitName::Value() const { - return (Ifc4x3_rc4::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[985]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[985]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[985]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[985]); } /* -Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_rc4::IfcSanitaryTerminalTy } Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::operator Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[997]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[997]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[997]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[997]); } /* -Ifc4x3_rc4::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x3_rc4::IfcSectionTypeEnum::Value Ifc4x3_rc4::IfcSectionTypeEnum::FromString } Ifc4x3_rc4::IfcSectionTypeEnum::operator Ifc4x3_rc4::IfcSectionTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1003]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1003]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1003]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1003]); } /* -Ifc4x3_rc4::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x3_rc4::IfcSensorTypeEnum::Value Ifc4x3_rc4::IfcSensorTypeEnum::FromString(c } Ifc4x3_rc4::IfcSensorTypeEnum::operator Ifc4x3_rc4::IfcSensorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1004]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1004]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1004]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1004]); } /* -Ifc4x3_rc4::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x3_rc4::IfcSequenceEnum::Value Ifc4x3_rc4::IfcSequenceEnum::FromString(const } Ifc4x3_rc4::IfcSequenceEnum::operator Ifc4x3_rc4::IfcSequenceEnum::Value() const { - return (Ifc4x3_rc4::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1008]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1008]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1008]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1008]); } /* -Ifc4x3_rc4::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value Ifc4x3_rc4::IfcShadingDeviceTypeEnum } Ifc4x3_rc4::IfcShadingDeviceTypeEnum::operator Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSignTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1020]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSignTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1020]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSignTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1020]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSignTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1020]); } /* -Ifc4x3_rc4::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSignTypeEnum::IfcSignTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSignTypeEnum::IfcSignTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x3_rc4::IfcSignTypeEnum::Value Ifc4x3_rc4::IfcSignTypeEnum::FromString(const } Ifc4x3_rc4::IfcSignTypeEnum::operator Ifc4x3_rc4::IfcSignTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSignTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSignTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSignalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1018]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSignalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1018]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSignalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1018]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSignalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1018]); } /* -Ifc4x3_rc4::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSignalTypeEnum::IfcSignalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x3_rc4::IfcSignalTypeEnum::Value Ifc4x3_rc4::IfcSignalTypeEnum::FromString(c } Ifc4x3_rc4::IfcSignalTypeEnum::operator Ifc4x3_rc4::IfcSignalTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSignalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSignalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1023]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1023]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1023]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1023]); } /* -Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x3_rc4::IfcSimpleProper } Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1035]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1035]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1035]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1035]); } /* -Ifc4x3_rc4::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x3_rc4::IfcSlabTypeEnum::Value Ifc4x3_rc4::IfcSlabTypeEnum::FromString(const } Ifc4x3_rc4::IfcSlabTypeEnum::operator Ifc4x3_rc4::IfcSlabTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1039]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1039]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1039]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1039]); } /* -Ifc4x3_rc4::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Fr } Ifc4x3_rc4::IfcSolarDeviceTypeEnum::operator Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1052]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1052]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1052]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1052]); } /* -Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Fr } Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::operator Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1054]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1054]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1054]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1054]); } /* -Ifc4x3_rc4::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x3_rc4::IfcSpaceTypeEnum::Value Ifc4x3_rc4::IfcSpaceTypeEnum::FromString(con } Ifc4x3_rc4::IfcSpaceTypeEnum::operator Ifc4x3_rc4::IfcSpaceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1062]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1062]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1062]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1062]); } /* -Ifc4x3_rc4::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Fr } Ifc4x3_rc4::IfcSpatialZoneTypeEnum::operator Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1072]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1072]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1072]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1072]); } /* -Ifc4x3_rc4::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value Ifc4x3_rc4::IfcStackTerminalTypeEnum } Ifc4x3_rc4::IfcStackTerminalTypeEnum::operator Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1076]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1076]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1076]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1076]); } /* -Ifc4x3_rc4::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x3_rc4::IfcStairFlightTypeEnum::Value Ifc4x3_rc4::IfcStairFlightTypeEnum::Fr } Ifc4x3_rc4::IfcStairFlightTypeEnum::operator Ifc4x3_rc4::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1078]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1078]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1078]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1078]); } /* -Ifc4x3_rc4::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x3_rc4::IfcStairTypeEnum::Value Ifc4x3_rc4::IfcStairTypeEnum::FromString(con } Ifc4x3_rc4::IfcStairTypeEnum::operator Ifc4x3_rc4::IfcStairTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1079]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1079]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1079]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1079]); } /* -Ifc4x3_rc4::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x3_rc4::IfcStateEnum::Value Ifc4x3_rc4::IfcStateEnum::FromString(const std:: } Ifc4x3_rc4::IfcStateEnum::operator Ifc4x3_rc4::IfcStateEnum::Value() const { - return (Ifc4x3_rc4::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1087]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1087]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1087]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1087]); } /* -Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc4::IfcStructuralC } Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::operator Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1090]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1090]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1090]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1090]); } /* -Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_rc4::IfcStructuralCur } Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::operator Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1116]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1116]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1116]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1116]); } /* -Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc4::IfcStructura } Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1119]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1119]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1119]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1119]); } /* -Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_rc4::IfcStructuralS } Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1127]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1127]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1127]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1127]); } /* -Ifc4x3_rc4::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value Ifc4x3_rc4::IfcSubContractReso } Ifc4x3_rc4::IfcSubContractResourceTypeEnum::operator Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1133]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1133]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1133]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1133]); } /* -Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,23 +6126,23 @@ Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value Ifc4x3_rc4::IfcSurfaceFeatureTypeEn } Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::operator Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1138]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1138]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1138]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1138]); } /* -Ifc4x3_rc4::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6155,23 +6155,23 @@ Ifc4x3_rc4::IfcSurfaceSide::Value Ifc4x3_rc4::IfcSurfaceSide::FromString(const s } Ifc4x3_rc4::IfcSurfaceSide::operator Ifc4x3_rc4::IfcSurfaceSide::Value() const { - return (Ifc4x3_rc4::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1153]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1153]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1153]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1153]); } /* -Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6184,23 +6184,23 @@ Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_rc4::IfcSwitchingDeviceType } Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::operator Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1157]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1157]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1157]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1157]); } /* -Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6213,23 +6213,23 @@ Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value Ifc4x3_rc4::IfcSystemFurnit } Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::operator Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1163]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1163]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1163]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1163]); } /* -Ifc4x3_rc4::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6242,23 +6242,23 @@ Ifc4x3_rc4::IfcTankTypeEnum::Value Ifc4x3_rc4::IfcTankTypeEnum::FromString(const } Ifc4x3_rc4::IfcTankTypeEnum::operator Ifc4x3_rc4::IfcTankTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1165]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1165]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1165]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1165]); } /* -Ifc4x3_rc4::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6271,23 +6271,23 @@ Ifc4x3_rc4::IfcTaskDurationEnum::Value Ifc4x3_rc4::IfcTaskDurationEnum::FromStri } Ifc4x3_rc4::IfcTaskDurationEnum::operator Ifc4x3_rc4::IfcTaskDurationEnum::Value() const { - return (Ifc4x3_rc4::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1169]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1169]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1169]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1169]); } /* -Ifc4x3_rc4::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6300,23 +6300,23 @@ Ifc4x3_rc4::IfcTaskTypeEnum::Value Ifc4x3_rc4::IfcTaskTypeEnum::FromString(const } Ifc4x3_rc4::IfcTaskTypeEnum::operator Ifc4x3_rc4::IfcTaskTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1176]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1176]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1176]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1176]); } /* -Ifc4x3_rc4::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6329,23 +6329,23 @@ Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value Ifc4x3_rc4::IfcTendonAnchorTypeEnum:: } Ifc4x3_rc4::IfcTendonAnchorTypeEnum::operator Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTendonConduitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1179]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1179]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1179]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1179]); } /* -Ifc4x3_rc4::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6358,23 +6358,23 @@ Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value Ifc4x3_rc4::IfcTendonConduitTypeEnum } Ifc4x3_rc4::IfcTendonConduitTypeEnum::operator Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1181]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1181]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1181]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1181]); } /* -Ifc4x3_rc4::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6387,23 +6387,23 @@ Ifc4x3_rc4::IfcTendonTypeEnum::Value Ifc4x3_rc4::IfcTendonTypeEnum::FromString(c } Ifc4x3_rc4::IfcTendonTypeEnum::operator Ifc4x3_rc4::IfcTendonTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1191]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1191]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1191]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1191]); } /* -Ifc4x3_rc4::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6416,23 +6416,23 @@ Ifc4x3_rc4::IfcTextPath::Value Ifc4x3_rc4::IfcTextPath::FromString(const std::st } Ifc4x3_rc4::IfcTextPath::operator Ifc4x3_rc4::IfcTextPath::Value() const { - return (Ifc4x3_rc4::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1214]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1214]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1214]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1214]); } /* -Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6445,23 +6445,23 @@ Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_rc4::IfcTimeSeriesDataTypeEn } Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::operator Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTrackElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1223]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTrackElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1223]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTrackElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1223]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTrackElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1223]); } /* -Ifc4x3_rc4::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6474,23 +6474,23 @@ Ifc4x3_rc4::IfcTrackElementTypeEnum::Value Ifc4x3_rc4::IfcTrackElementTypeEnum:: } Ifc4x3_rc4::IfcTrackElementTypeEnum::operator Ifc4x3_rc4::IfcTrackElementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTrackElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTrackElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1226]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1226]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1226]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1226]); } /* -Ifc4x3_rc4::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6503,23 +6503,23 @@ Ifc4x3_rc4::IfcTransformerTypeEnum::Value Ifc4x3_rc4::IfcTransformerTypeEnum::Fr } Ifc4x3_rc4::IfcTransformerTypeEnum::operator Ifc4x3_rc4::IfcTransformerTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1227]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1227]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1227]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1227]); } /* -Ifc4x3_rc4::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6532,23 +6532,23 @@ Ifc4x3_rc4::IfcTransitionCode::Value Ifc4x3_rc4::IfcTransitionCode::FromString(c } Ifc4x3_rc4::IfcTransitionCode::operator Ifc4x3_rc4::IfcTransitionCode::Value() const { - return (Ifc4x3_rc4::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1230]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1230]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1230]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1230]); } /* -Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::IfcTransportElementFixedTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6561,23 +6561,23 @@ Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::Value Ifc4x3_rc4::IfcTransportElem } Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::operator Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTransportElementFixedTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1231]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1231]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1231]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1231]); } /* -Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::IfcTransportElementNonFixedTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6590,23 +6590,23 @@ Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::Value Ifc4x3_rc4::IfcTransportE } Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::operator Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTransportElementNonFixedTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1238]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1238]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1238]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1238]); } /* -Ifc4x3_rc4::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6619,23 +6619,23 @@ Ifc4x3_rc4::IfcTrimmingPreference::Value Ifc4x3_rc4::IfcTrimmingPreference::From } Ifc4x3_rc4::IfcTrimmingPreference::operator Ifc4x3_rc4::IfcTrimmingPreference::Value() const { - return (Ifc4x3_rc4::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1243]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1243]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1243]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1243]); } /* -Ifc4x3_rc4::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6648,23 +6648,23 @@ Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value Ifc4x3_rc4::IfcTubeBundleTypeEnum::From } Ifc4x3_rc4::IfcTubeBundleTypeEnum::operator Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1256]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1256]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1256]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1256]); } /* -Ifc4x3_rc4::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6677,23 +6677,23 @@ Ifc4x3_rc4::IfcUnitEnum::Value Ifc4x3_rc4::IfcUnitEnum::FromString(const std::st } Ifc4x3_rc4::IfcUnitEnum::operator Ifc4x3_rc4::IfcUnitEnum::Value() const { - return (Ifc4x3_rc4::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1251]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1251]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1251]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1251]); } /* -Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6706,23 +6706,23 @@ Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_rc4::IfcUnitaryContro } Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::operator Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1254]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1254]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1254]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1254]); } /* -Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6735,23 +6735,23 @@ Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_rc4::IfcUnitaryEquipmentTy } Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::operator Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1262]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1262]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1262]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1262]); } /* -Ifc4x3_rc4::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6764,23 +6764,23 @@ Ifc4x3_rc4::IfcValveTypeEnum::Value Ifc4x3_rc4::IfcValveTypeEnum::FromString(con } Ifc4x3_rc4::IfcValveTypeEnum::operator Ifc4x3_rc4::IfcValveTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcVibrationDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1271]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1271]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1271]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1271]); } /* -Ifc4x3_rc4::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6793,23 +6793,23 @@ Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value Ifc4x3_rc4::IfcVibrationDamperType } Ifc4x3_rc4::IfcVibrationDamperTypeEnum::operator Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1274]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1274]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1274]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1274]); } /* -Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6822,23 +6822,23 @@ Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_rc4::IfcVibrationIsolator } Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::operator Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1278]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1278]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1278]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1278]); } /* -Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6851,23 +6851,23 @@ Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value Ifc4x3_rc4::IfcVoidingFeatureTypeEn } Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::operator Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1286]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1286]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1286]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1286]); } /* -Ifc4x3_rc4::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6880,23 +6880,23 @@ Ifc4x3_rc4::IfcWallTypeEnum::Value Ifc4x3_rc4::IfcWallTypeEnum::FromString(const } Ifc4x3_rc4::IfcWallTypeEnum::operator Ifc4x3_rc4::IfcWallTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1292]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1292]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1292]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1292]); } /* -Ifc4x3_rc4::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6909,23 +6909,23 @@ Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value Ifc4x3_rc4::IfcWasteTerminalTypeEnum } Ifc4x3_rc4::IfcWasteTerminalTypeEnum::operator Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1296]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1296]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1296]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1296]); } /* -Ifc4x3_rc4::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6938,23 +6938,23 @@ Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value Ifc4x3_rc4::IfcWindowPanelOperati } Ifc4x3_rc4::IfcWindowPanelOperationEnum::operator Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1297]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1297]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1297]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1297]); } /* -Ifc4x3_rc4::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6967,23 +6967,23 @@ Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value Ifc4x3_rc4::IfcWindowPanelPosition } Ifc4x3_rc4::IfcWindowPanelPositionEnum::operator Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowStyleConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1301]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1301]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowStyleConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1301]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1301]); } /* -Ifc4x3_rc4::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWindowStyleConstructionEnum::IfcWindowStyleConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6996,23 +6996,23 @@ Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value Ifc4x3_rc4::IfcWindowStyleCons } Ifc4x3_rc4::IfcWindowStyleConstructionEnum::operator Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value() const { - return (Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowStyleOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1302]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowStyleOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1302]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowStyleOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1302]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowStyleOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1302]); } /* -Ifc4x3_rc4::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWindowStyleOperationEnum::IfcWindowStyleOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7025,23 +7025,23 @@ Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value Ifc4x3_rc4::IfcWindowStyleOperati } Ifc4x3_rc4::IfcWindowStyleOperationEnum::operator Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value() const { - return (Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1304]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1304]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1304]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1304]); } /* -Ifc4x3_rc4::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7054,23 +7054,23 @@ Ifc4x3_rc4::IfcWindowTypeEnum::Value Ifc4x3_rc4::IfcWindowTypeEnum::FromString(c } Ifc4x3_rc4::IfcWindowTypeEnum::operator Ifc4x3_rc4::IfcWindowTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1305]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1305]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1305]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1305]); } /* -Ifc4x3_rc4::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7083,23 +7083,23 @@ Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value Ifc4x3_rc4::IfcWindowTypePartit } Ifc4x3_rc4::IfcWindowTypePartitioningEnum::operator Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1307]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1307]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1307]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1307]); } /* -Ifc4x3_rc4::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7112,23 +7112,23 @@ Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value Ifc4x3_rc4::IfcWorkCalendarTypeEnum:: } Ifc4x3_rc4::IfcWorkCalendarTypeEnum::operator Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1310]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1310]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1310]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1310]); } /* -Ifc4x3_rc4::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7141,23 +7141,23 @@ Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value Ifc4x3_rc4::IfcWorkPlanTypeEnum::FromStri } Ifc4x3_rc4::IfcWorkPlanTypeEnum::operator Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1312]); } -const IfcParse::enumeration_type& Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_RC4_types[1312]); } +// const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1312]); } +const ifcopenshell::enumeration_type& Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_RC4_types[1312]); } /* -Ifc4x3_rc4::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_rc4::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_rc4::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_rc4::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7170,857 +7170,857 @@ Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value Ifc4x3_rc4::IfcWorkScheduleTypeEnum:: } Ifc4x3_rc4::IfcWorkScheduleTypeEnum::operator Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x3_rc4::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[8]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[8]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[51]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[51]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[68]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[68]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[81]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[81]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[90]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[90]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[171]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[171]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[172]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[172]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[178]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[178]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[179]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[179]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[247]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[247]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[265]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[265]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[276]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[276]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcCurveMeasureSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[278]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcCurveMeasureSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[278]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[279]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[279]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[280]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[280]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[286]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[286]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[298]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[298]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[299]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[299]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[335]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[335]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcFacilityPartTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[449]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcFacilityPartTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[449]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[464]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[464]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[515]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[515]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[527]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[527]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[531]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[531]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[546]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[546]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcInterferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[559]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcInterferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[559]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[585]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[585]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[590]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[590]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[593]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[593]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[656]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[656]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[658]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[658]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[671]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[671]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[679]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[679]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[681]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[681]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[682]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[682]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[707]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[707]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[774]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[774]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[805]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[805]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[809]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[809]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[810]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[810]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[833]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[833]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[963]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[963]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[964]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[964]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[981]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[981]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1000]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1000]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1013]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1013]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1024]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1024]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1030]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1030]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1042]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1042]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1049]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1049]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcSpatialReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1057]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcSpatialReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1057]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1065]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1065]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1082]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1082]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1136]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1136]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1140]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1140]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1188]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1188]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1211]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1211]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1228]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1228]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcTransportElementTypeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1233]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcTransportElementTypeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1233]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1239]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1239]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1248]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1248]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1259]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1259]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1265]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1265]); } -const IfcParse::select_type& Ifc4x3_rc4::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_RC4_types[1289]); } +const ifcopenshell::select_type& Ifc4x3_rc4::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_RC4_types[1289]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[0]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[0]); } void Ifc4x3_rc4::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1]); } void Ifc4x3_rc4::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[42]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[42]); } void Ifc4x3_rc4::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[45]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[45]); } void Ifc4x3_rc4::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x3_rc4::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[57]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[57]); } void Ifc4x3_rc4::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[58]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[58]); } void Ifc4x3_rc4::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[59]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[59]); } void Ifc4x3_rc4::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x3_rc4::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[82]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[82]); } void Ifc4x3_rc4::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x3_rc4::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[88]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[88]); } void Ifc4x3_rc4::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x3_rc4::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[103]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[103]); } void Ifc4x3_rc4::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x3_rc4::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[146]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[146]); } void Ifc4x3_rc4::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x3_rc4::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[190]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[190]); } void Ifc4x3_rc4::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[198]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[198]); } void Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[228]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[228]); } void Ifc4x3_rc4::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[254]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[254]); } void Ifc4x3_rc4::IfcCountMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcCountMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[272]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[272]); } void Ifc4x3_rc4::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x3_rc4::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[292]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[292]); } void Ifc4x3_rc4::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x3_rc4::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[293]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[293]); } void Ifc4x3_rc4::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x3_rc4::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[294]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[294]); } void Ifc4x3_rc4::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x3_rc4::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[295]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[295]); } void Ifc4x3_rc4::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[304]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[304]); } void Ifc4x3_rc4::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x3_rc4::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[306]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[306]); } void Ifc4x3_rc4::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[349]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[349]); } void Ifc4x3_rc4::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x3_rc4::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[361]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[361]); } void Ifc4x3_rc4::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[362]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[362]); } void Ifc4x3_rc4::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[374]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[374]); } void Ifc4x3_rc4::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[375]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[375]); } void Ifc4x3_rc4::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[376]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[376]); } void Ifc4x3_rc4::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[377]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[377]); } void Ifc4x3_rc4::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[393]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[393]); } void Ifc4x3_rc4::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[397]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[397]); } void Ifc4x3_rc4::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[412]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[412]); } void Ifc4x3_rc4::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x3_rc4::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[493]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[493]); } void Ifc4x3_rc4::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x3_rc4::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[494]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[494]); } void Ifc4x3_rc4::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x3_rc4::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[495]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[495]); } void Ifc4x3_rc4::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[499]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[499]); } void Ifc4x3_rc4::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[500]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[500]); } void Ifc4x3_rc4::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x3_rc4::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[521]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[521]); } void Ifc4x3_rc4::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[535]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[535]); } void Ifc4x3_rc4::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[536]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[536]); } void Ifc4x3_rc4::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x3_rc4::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[540]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[540]); } void Ifc4x3_rc4::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[541]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[541]); } void Ifc4x3_rc4::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[553]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[553]); } void Ifc4x3_rc4::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x3_rc4::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[554]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[554]); } void Ifc4x3_rc4::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[555]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[555]); } void Ifc4x3_rc4::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[564]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[564]); } void Ifc4x3_rc4::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[568]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[568]); } void Ifc4x3_rc4::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[574]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[574]); } void Ifc4x3_rc4::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[576]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[576]); } void Ifc4x3_rc4::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[584]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[584]); } void Ifc4x3_rc4::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[587]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[587]); } void Ifc4x3_rc4::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[613]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[613]); } void Ifc4x3_rc4::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[607]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[607]); } void Ifc4x3_rc4::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[608]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[608]); } void Ifc4x3_rc4::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[611]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[611]); } void Ifc4x3_rc4::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[612]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[612]); } void Ifc4x3_rc4::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[619]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[619]); } void Ifc4x3_rc4::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[623]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[623]); } void Ifc4x3_rc4::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[624]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[624]); } void Ifc4x3_rc4::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[625]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[625]); } void Ifc4x3_rc4::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[626]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[626]); } void Ifc4x3_rc4::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[627]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[627]); } void Ifc4x3_rc4::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[634]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[634]); } void Ifc4x3_rc4::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[635]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[635]); } void Ifc4x3_rc4::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[636]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[636]); } void Ifc4x3_rc4::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[637]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[637]); } void Ifc4x3_rc4::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[676]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[676]); } void Ifc4x3_rc4::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[677]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[677]); } void Ifc4x3_rc4::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[678]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[678]); } void Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[680]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[680]); } void Ifc4x3_rc4::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[683]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[683]); } void Ifc4x3_rc4::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[684]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[684]); } void Ifc4x3_rc4::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[685]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[685]); } void Ifc4x3_rc4::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[686]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[686]); } void Ifc4x3_rc4::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x3_rc4::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[688]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[688]); } void Ifc4x3_rc4::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[699]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[699]); } void Ifc4x3_rc4::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[700]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[700]); } void Ifc4x3_rc4::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[701]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[701]); } void Ifc4x3_rc4::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[743]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[743]); } void Ifc4x3_rc4::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x3_rc4::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[729]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[729]); } void Ifc4x3_rc4::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[762]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[762]); } void Ifc4x3_rc4::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[764]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[764]); } void Ifc4x3_rc4::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[782]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[782]); } void Ifc4x3_rc4::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[783]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[783]); } void Ifc4x3_rc4::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[784]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[784]); } void Ifc4x3_rc4::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[785]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[785]); } void Ifc4x3_rc4::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[787]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[787]); } void Ifc4x3_rc4::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[795]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[795]); } void Ifc4x3_rc4::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[800]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[800]); } void Ifc4x3_rc4::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x3_rc4::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[834]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[834]); } void Ifc4x3_rc4::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x3_rc4::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[858]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[858]); } void Ifc4x3_rc4::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[874]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[874]); } void Ifc4x3_rc4::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x3_rc4::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[877]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[877]); } void Ifc4x3_rc4::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[978]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[978]); } void Ifc4x3_rc4::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[979]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[979]); } void Ifc4x3_rc4::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[980]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[980]); } void Ifc4x3_rc4::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[994]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[994]); } void Ifc4x3_rc4::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[989]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[989]); } void Ifc4x3_rc4::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1012]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1012]); } void Ifc4x3_rc4::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1040]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1040]); } void Ifc4x3_rc4::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1044]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1044]); } void Ifc4x3_rc4::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1045]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1045]); } void Ifc4x3_rc4::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1046]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1046]); } void Ifc4x3_rc4::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1047]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1047]); } void Ifc4x3_rc4::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1063]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1063]); } void Ifc4x3_rc4::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1064]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1064]); } void Ifc4x3_rc4::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x3_rc4::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1066]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1066]); } void Ifc4x3_rc4::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1171]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1171]); } void Ifc4x3_rc4::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1172]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1172]); } void Ifc4x3_rc4::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x3_rc4::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1184]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1184]); } void Ifc4x3_rc4::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1185]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1185]); } void Ifc4x3_rc4::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1186]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1186]); } void Ifc4x3_rc4::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1187]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1187]); } void Ifc4x3_rc4::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1196]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1196]); } void Ifc4x3_rc4::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1202]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1202]); } void Ifc4x3_rc4::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1203]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1203]); } void Ifc4x3_rc4::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1204]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1204]); } void Ifc4x3_rc4::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1205]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1205]); } void Ifc4x3_rc4::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1206]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1206]); } void Ifc4x3_rc4::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1207]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1207]); } void Ifc4x3_rc4::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1209]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1209]); } void Ifc4x3_rc4::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1210]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1210]); } void Ifc4x3_rc4::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1216]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1216]); } void Ifc4x3_rc4::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1220]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1220]); } void Ifc4x3_rc4::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x3_rc4::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1257]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1257]); } void Ifc4x3_rc4::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1263]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1263]); } void Ifc4x3_rc4::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1280]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1280]); } void Ifc4x3_rc4::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1281]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1281]); } void Ifc4x3_rc4::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1287]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1287]); } void Ifc4x3_rc4::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x3_rc4::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_RC4_types[1288]); } +const ifcopenshell::type_declaration& Ifc4x3_rc4::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_RC4_types[1288]); } void Ifc4x3_rc4::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_rc4::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x3_rc4::IfcActionRequestTypeEnum::Value > Ifc4x3_rc4::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc4::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc4::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc4::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc4::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc4::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc4::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[2]); } -void Ifc4x3_rc4::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[2]); } +void Ifc4x3_rc4::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4x3_rc4::IfcActorSelect Ifc4x3_rc4::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc4::IfcActorSelect>(); } void Ifc4x3_rc4::IfcActor::setTheActor(const ::Ifc4x3_rc4::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc4::IfcRelAssignsToActor> Ifc4x3_rc4::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[906], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelAssignsToActor> Ifc4x3_rc4::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[906], 6)); } -const IfcParse::entity& Ifc4x3_rc4::IfcActor::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[6]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[6]); } void Ifc4x3_rc4::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x3_rc4::IfcRoleEnum::Value Ifc4x3_rc4::IfcActorRole::Role() const { return ::Ifc4x3_rc4::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc4::IfcActorRole::setRole(const ::Ifc4x3_rc4::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc4::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc4::IfcActorRole::setRole(const ::Ifc4x3_rc4::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc4::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_rc4::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc4::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[7]); } -void Ifc4x3_rc4::IfcActorRole::initialize(::Ifc4x3_rc4::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[7]); } +void Ifc4x3_rc4::IfcActorRole::initialize(::Ifc4x3_rc4::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value > Ifc4x3_rc4::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[9]); } -void Ifc4x3_rc4::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[9]); } +void Ifc4x3_rc4::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value Ifc4x3_rc4::IfcActuatorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcActuatorType::setPredefinedType(const ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcActuatorType::setPredefinedType(const ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[10]); } -void Ifc4x3_rc4::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[10]); } +void Ifc4x3_rc4::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > Ifc4x3_rc4::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc4::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc4::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x3_rc4::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc4::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x3_rc4::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc4::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc4::IfcPerson> Ifc4x3_rc4::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[741], 7)); } -std::vector<::Ifc4x3_rc4::IfcOrganization> Ifc4x3_rc4::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[720], 4)); } +std::vector<::Ifc4x3_rc4::IfcPerson> Ifc4x3_rc4::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[741], 7)); } +std::vector<::Ifc4x3_rc4::IfcOrganization> Ifc4x3_rc4::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[720], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[12]); } -void Ifc4x3_rc4::IfcAddress::initialize(std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[12]); } +void Ifc4x3_rc4::IfcAddress::initialize(std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x3_rc4::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[14]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[14]); } void Ifc4x3_rc4::IfcAdvancedBrep::initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -8028,93 +8028,93 @@ std::vector< ::Ifc4x3_rc4::IfcClosedShell > Ifc4x3_rc4::IfcAdvancedBrepWithVoids void Ifc4x3_rc4::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_rc4::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[15]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[15]); } void Ifc4x3_rc4::IfcAdvancedBrepWithVoids::initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc4::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x3_rc4::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[16]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[16]); } void Ifc4x3_rc4::IfcAdvancedFace::initialize(std::vector< ::Ifc4x3_rc4::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc4::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value > Ifc4x3_rc4::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[17]); } -void Ifc4x3_rc4::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[17]); } +void Ifc4x3_rc4::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3_rc4::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[18]); } -void Ifc4x3_rc4::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[18]); } +void Ifc4x3_rc4::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_rc4::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[19]); } -void Ifc4x3_rc4::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[19]); } +void Ifc4x3_rc4::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value Ifc4x3_rc4::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[21]); } -void Ifc4x3_rc4::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[21]); } +void Ifc4x3_rc4::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3_rc4::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[23]); } -void Ifc4x3_rc4::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[23]); } +void Ifc4x3_rc4::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_rc4::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[24]); } -void Ifc4x3_rc4::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[24]); } +void Ifc4x3_rc4::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value > Ifc4x3_rc4::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[26]); } -void Ifc4x3_rc4::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[26]); } +void Ifc4x3_rc4::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value Ifc4x3_rc4::IfcAlarmType::PredefinedType() const { return ::Ifc4x3_rc4::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcAlarmType::setPredefinedType(const ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcAlarmType::setPredefinedType(const ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[27]); } -void Ifc4x3_rc4::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[27]); } +void Ifc4x3_rc4::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x3_rc4::IfcAlignmentTypeEnum::Value > Ifc4x3_rc4::IfcAlignment::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcAlignmentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc4::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc4::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[29]); } -void Ifc4x3_rc4::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[29]); } +void Ifc4x3_rc4::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAlignmentCant double Ifc4x3_rc4::IfcAlignmentCant::RailHeadDistance() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcAlignmentCant::setRailHeadDistance(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc4::IfcAlignmentCant::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[30]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlignmentCant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[30]); } void Ifc4x3_rc4::IfcAlignmentCant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_RailHeadDistance)); } // Function implementations for IfcAlignmentCantSegment @@ -8131,16 +8131,16 @@ void Ifc4x3_rc4::IfcAlignmentCantSegment::setStartCantRight(const double& v) { s std::optional< double > Ifc4x3_rc4::IfcAlignmentCantSegment::EndCantRight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcAlignmentCantSegment::setEndCantRight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_rc4::IfcAlignmentCantSegment::PredefinedType() const { return ::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcAlignmentCantSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[31]); } -void Ifc4x3_rc4::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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_rc4::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlignmentCantSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[31]); } +void Ifc4x3_rc4::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentHorizontal -const IfcParse::entity& Ifc4x3_rc4::IfcAlignmentHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[33]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlignmentHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[33]); } void Ifc4x3_rc4::IfcAlignmentHorizontal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentHorizontalSegment @@ -8157,11 +8157,11 @@ void Ifc4x3_rc4::IfcAlignmentHorizontalSegment::setSegmentLength(const double& v std::optional< double > Ifc4x3_rc4::IfcAlignmentHorizontalSegment::GravityCenterLineHeight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcAlignmentHorizontalSegment::setGravityCenterLineHeight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_rc4::IfcAlignmentHorizontalSegment::PredefinedType() const { return ::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcAlignmentHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[34]); } -void Ifc4x3_rc4::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_rc4::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlignmentHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[34]); } +void Ifc4x3_rc4::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_rc4::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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, (enumeration_reference(&::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentParameterSegment std::optional< std::string > Ifc4x3_rc4::IfcAlignmentParameterSegment::StartTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8170,7 +8170,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcAlignmentParameterSegment::EndTag() void Ifc4x3_rc4::IfcAlignmentParameterSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc4::IfcAlignmentParameterSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[36]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlignmentParameterSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[36]); } void Ifc4x3_rc4::IfcAlignmentParameterSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); } } // Function implementations for IfcAlignmentSegment @@ -8178,13 +8178,13 @@ void Ifc4x3_rc4::IfcAlignmentParameterSegment::initialize(std::optional< std::st void Ifc4x3_rc4::IfcAlignmentSegment::setDesignParameters(const ::Ifc4x3_rc4::IfcAlignmentParameterSegment& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc4::IfcAlignmentSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[37]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlignmentSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[37]); } void Ifc4x3_rc4::IfcAlignmentSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcAlignmentParameterSegment v8_DesignParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_DesignParameters)); } // Function implementations for IfcAlignmentVertical -const IfcParse::entity& Ifc4x3_rc4::IfcAlignmentVertical::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[39]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlignmentVertical::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[39]); } void Ifc4x3_rc4::IfcAlignmentVertical::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentVerticalSegment @@ -8201,20 +8201,20 @@ void Ifc4x3_rc4::IfcAlignmentVerticalSegment::setEndGradient(const double& v) { std::optional< double > Ifc4x3_rc4::IfcAlignmentVerticalSegment::RadiusOfCurvature() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcAlignmentVerticalSegment::setRadiusOfCurvature(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_rc4::IfcAlignmentVerticalSegment::PredefinedType() const { return ::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcAlignmentVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[40]); } -void Ifc4x3_rc4::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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_rc4::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAlignmentVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[40]); } +void Ifc4x3_rc4::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAnnotation std::optional< ::Ifc4x3_rc4::IfcAnnotationTypeEnum::Value > Ifc4x3_rc4::IfcAnnotation::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcAnnotationTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc4::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc4::IfcRelContainedInSpatialStructure> Ifc4x3_rc4::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[931], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelContainedInSpatialStructure> Ifc4x3_rc4::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[931], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[46]); } -void Ifc4x3_rc4::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[46]); } +void Ifc4x3_rc4::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAnnotationFillArea ::Ifc4x3_rc4::IfcCurve Ifc4x3_rc4::IfcAnnotationFillArea::OuterBoundary() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcCurve>(); } @@ -8223,7 +8223,7 @@ std::optional< std::vector< ::Ifc4x3_rc4::IfcCurve > > Ifc4x3_rc4::IfcAnnotation void Ifc4x3_rc4::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_rc4::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc4::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[47]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[47]); } void Ifc4x3_rc4::IfcAnnotationFillArea::initialize(::Ifc4x3_rc4::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_rc4::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -8237,7 +8237,7 @@ std::string Ifc4x3_rc4::IfcApplication::ApplicationIdentifier() const { std::st void Ifc4x3_rc4::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[49]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[49]); } void Ifc4x3_rc4::IfcApplication::initialize(::Ifc4x3_rc4::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -8258,14 +8258,14 @@ void Ifc4x3_rc4::IfcAppliedValue::setCategory(const std::optional< std::string > std::optional< std::string > Ifc4x3_rc4::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value > Ifc4x3_rc4::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > Ifc4x3_rc4::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_rc4::IfcAppliedValue>(es); } void Ifc4x3_rc4::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[50]); } -void Ifc4x3_rc4::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_rc4::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[50]); } +void Ifc4x3_rc4::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x3_rc4::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8287,13 +8287,13 @@ void Ifc4x3_rc4::IfcApproval::setRequestingApproval(const ::Ifc4x3_rc4::IfcActor ::Ifc4x3_rc4::IfcActorSelect Ifc4x3_rc4::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc4::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc4::IfcActorSelect>(); } void Ifc4x3_rc4::IfcApproval::setGivingApproval(const ::Ifc4x3_rc4::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -std::vector<::Ifc4x3_rc4::IfcRelAssociatesApproval> Ifc4x3_rc4::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[914], 5)); } -std::vector<::Ifc4x3_rc4::IfcResourceApprovalRelationship> Ifc4x3_rc4::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[960], 3)); } -std::vector<::Ifc4x3_rc4::IfcApprovalRelationship> Ifc4x3_rc4::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[53], 3)); } -std::vector<::Ifc4x3_rc4::IfcApprovalRelationship> Ifc4x3_rc4::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[53], 2)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociatesApproval> Ifc4x3_rc4::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[914], 5)); } +std::vector<::Ifc4x3_rc4::IfcResourceApprovalRelationship> Ifc4x3_rc4::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[960], 3)); } +std::vector<::Ifc4x3_rc4::IfcApprovalRelationship> Ifc4x3_rc4::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[53], 3)); } +std::vector<::Ifc4x3_rc4::IfcApprovalRelationship> Ifc4x3_rc4::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[53], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[52]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[52]); } void Ifc4x3_rc4::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_rc4::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_rc4::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -8303,7 +8303,7 @@ std::vector< ::Ifc4x3_rc4::IfcApproval > Ifc4x3_rc4::IfcApprovalRelationship::Re void Ifc4x3_rc4::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x3_rc4::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[53]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[53]); } void Ifc4x3_rc4::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_rc4::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -8311,24 +8311,24 @@ void Ifc4x3_rc4::IfcApprovalRelationship::initialize(std::optional< std::string void Ifc4x3_rc4::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x3_rc4::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[54]); } -void Ifc4x3_rc4::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[54]); } +void Ifc4x3_rc4::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x3_rc4::IfcBoundedCurve Ifc4x3_rc4::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcBoundedCurve>(); } void Ifc4x3_rc4::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x3_rc4::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[55]); } -void Ifc4x3_rc4::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[55]); } +void Ifc4x3_rc4::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x3_rc4::IfcCurve > Ifc4x3_rc4::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_rc4::IfcCurve>(es); } void Ifc4x3_rc4::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x3_rc4::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[56]); } -void Ifc4x3_rc4::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc4::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[56]); } +void Ifc4x3_rc4::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc4::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x3_rc4::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -8351,7 +8351,7 @@ void Ifc4x3_rc4::IfcAsset::setIncorporationDate(const std::optional< std::string void Ifc4x3_rc4::IfcAsset::setDepreciatedValue(const ::Ifc4x3_rc4::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_rc4::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[62]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[62]); } void Ifc4x3_rc4::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_rc4::IfcCostValue v7_OriginalValue, ::Ifc4x3_rc4::IfcCostValue v8_CurrentValue, ::Ifc4x3_rc4::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_rc4::IfcActorSelect v10_Owner, ::Ifc4x3_rc4::IfcActorSelect v11_User, ::Ifc4x3_rc4::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_rc4::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -8381,31 +8381,31 @@ std::optional< double > Ifc4x3_rc4::IfcAsymmetricIShapeProfileDef::TopFlangeSlop void Ifc4x3_rc4::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x3_rc4::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[63]); } -void Ifc4x3_rc4::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[63]); } +void Ifc4x3_rc4::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3_rc4::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[64]); } -void Ifc4x3_rc4::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[64]); } +void Ifc4x3_rc4::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_rc4::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[65]); } -void Ifc4x3_rc4::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[65]); } +void Ifc4x3_rc4::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x3_rc4::IfcDirection Ifc4x3_rc4::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc4::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcDirection>(); } void Ifc4x3_rc4::IfcAxis1Placement::setAxis(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[67]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[67]); } void Ifc4x3_rc4::IfcAxis1Placement::initialize(::Ifc4x3_rc4::IfcPoint v1_Location, ::Ifc4x3_rc4::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -8413,7 +8413,7 @@ void Ifc4x3_rc4::IfcAxis1Placement::initialize(::Ifc4x3_rc4::IfcPoint v1_Locatio void Ifc4x3_rc4::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[69]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[69]); } void Ifc4x3_rc4::IfcAxis2Placement2D::initialize(::Ifc4x3_rc4::IfcPoint v1_Location, ::Ifc4x3_rc4::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -8423,7 +8423,7 @@ void Ifc4x3_rc4::IfcAxis2Placement3D::setAxis(const ::Ifc4x3_rc4::IfcDirection& void Ifc4x3_rc4::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[70]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[70]); } void Ifc4x3_rc4::IfcAxis2Placement3D::initialize(::Ifc4x3_rc4::IfcPoint v1_Location, ::Ifc4x3_rc4::IfcDirection v2_Axis, ::Ifc4x3_rc4::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcAxis2PlacementLinear @@ -8433,7 +8433,7 @@ void Ifc4x3_rc4::IfcAxis2PlacementLinear::setAxis(const ::Ifc4x3_rc4::IfcDirecti void Ifc4x3_rc4::IfcAxis2PlacementLinear::setRefDirection(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcAxis2PlacementLinear::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[71]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcAxis2PlacementLinear::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[71]); } void Ifc4x3_rc4::IfcAxis2PlacementLinear::initialize(::Ifc4x3_rc4::IfcPoint v1_Location, ::Ifc4x3_rc4::IfcDirection v2_Axis, ::Ifc4x3_rc4::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -8442,15 +8442,15 @@ void Ifc4x3_rc4::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value( std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > Ifc4x3_rc4::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc4::IfcCartesianPoint>(es); } void Ifc4x3_rc4::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x3_rc4::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc4::IfcBSplineCurveForm::Value Ifc4x3_rc4::IfcBSplineCurve::CurveForm() const { return ::Ifc4x3_rc4::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x3_rc4::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_rc4::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc4::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc4::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_rc4::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc4::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x3_rc4::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x3_rc4::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_rc4::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[108]); } -void Ifc4x3_rc4::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc4::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[108]); } +void Ifc4x3_rc4::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc4::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -8458,11 +8458,11 @@ void Ifc4x3_rc4::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vect std::vector< double > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc4::IfcKnotType::Value Ifc4x3_rc4::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x3_rc4::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc4::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc4::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_rc4::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc4::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[110]); } -void Ifc4x3_rc4::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::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_rc4::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[110]); } +void Ifc4x3_rc4::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::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, (enumeration_reference(&::Ifc4x3_rc4::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x3_rc4::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -8472,7 +8472,7 @@ void Ifc4x3_rc4::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_val std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > Ifc4x3_rc4::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc4::IfcCartesianPoint>(es); } void Ifc4x3_rc4::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_rc4::IfcBSplineSurfaceForm::Value Ifc4x3_rc4::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x3_rc4::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x3_rc4::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_rc4::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc4::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc4::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_rc4::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc4::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_rc4::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x3_rc4::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -8481,8 +8481,8 @@ boost::logic::tribool Ifc4x3_rc4::IfcBSplineSurface::SelfIntersect() const { bo void Ifc4x3_rc4::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[111]); } -void Ifc4x3_rc4::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc4::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc4::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[111]); } +void Ifc4x3_rc4::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc4::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc4::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -8494,49 +8494,49 @@ void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double std::vector< double > /*[2:?]*/ Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x3_rc4::IfcKnotType::Value Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x3_rc4::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc4::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_rc4::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[113]); } -void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc4::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_rc4::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[113]); } +void Ifc4x3_rc4::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc4::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, (enumeration_reference(&::Ifc4x3_rc4::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value > Ifc4x3_rc4::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[72]); } -void Ifc4x3_rc4::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[72]); } +void Ifc4x3_rc4::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamStandardCase -const IfcParse::entity& Ifc4x3_rc4::IfcBeamStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[73]); } -void Ifc4x3_rc4::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBeamStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[73]); } +void Ifc4x3_rc4::IfcBeamStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x3_rc4::IfcBeamTypeEnum::Value Ifc4x3_rc4::IfcBeamType::PredefinedType() const { return ::Ifc4x3_rc4::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcBeamType::setPredefinedType(const ::Ifc4x3_rc4::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcBeamType::setPredefinedType(const ::Ifc4x3_rc4::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[74]); } -void Ifc4x3_rc4::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[74]); } +void Ifc4x3_rc4::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBearing std::optional< ::Ifc4x3_rc4::IfcBearingTypeEnum::Value > Ifc4x3_rc4::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcBearingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[76]); } -void Ifc4x3_rc4::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[76]); } +void Ifc4x3_rc4::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBearingType ::Ifc4x3_rc4::IfcBearingTypeEnum::Value Ifc4x3_rc4::IfcBearingType::PredefinedType() const { return ::Ifc4x3_rc4::IfcBearingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcBearingType::setPredefinedType(const ::Ifc4x3_rc4::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcBearingType::setPredefinedType(const ::Ifc4x3_rc4::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[77]); } -void Ifc4x3_rc4::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[77]); } +void Ifc4x3_rc4::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x3_rc4::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -8545,7 +8545,7 @@ boost::dynamic_bitset<> Ifc4x3_rc4::IfcBlobTexture::RasterCode() const { boost: void Ifc4x3_rc4::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[83]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[83]); } void Ifc4x3_rc4::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -8557,47 +8557,47 @@ double Ifc4x3_rc4::IfcBlock::ZLength() const { double v = get_attribute_value(3 void Ifc4x3_rc4::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[84]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[84]); } void Ifc4x3_rc4::IfcBlock::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value > Ifc4x3_rc4::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[85]); } -void Ifc4x3_rc4::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[85]); } +void Ifc4x3_rc4::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value Ifc4x3_rc4::IfcBoilerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcBoilerType::setPredefinedType(const ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcBoilerType::setPredefinedType(const ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[86]); } -void Ifc4x3_rc4::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[86]); } +void Ifc4x3_rc4::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x3_rc4::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[89]); } -void Ifc4x3_rc4::IfcBooleanClippingResult::initialize(::Ifc4x3_rc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc4::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[89]); } +void Ifc4x3_rc4::IfcBooleanClippingResult::initialize(::Ifc4x3_rc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc4::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x3_rc4::IfcBooleanOperator::Value Ifc4x3_rc4::IfcBooleanResult::Operator() const { return ::Ifc4x3_rc4::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x3_rc4::IfcBooleanResult::setOperator(const ::Ifc4x3_rc4::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc4::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc4::IfcBooleanResult::setOperator(const ::Ifc4x3_rc4::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc4::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc4::IfcBooleanOperand Ifc4x3_rc4::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcBooleanOperand>(); } void Ifc4x3_rc4::IfcBooleanResult::setFirstOperand(const ::Ifc4x3_rc4::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc4::IfcBooleanOperand Ifc4x3_rc4::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcBooleanOperand>(); } void Ifc4x3_rc4::IfcBooleanResult::setSecondOperand(const ::Ifc4x3_rc4::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[92]); } -void Ifc4x3_rc4::IfcBooleanResult::initialize(::Ifc4x3_rc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc4::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[92]); } +void Ifc4x3_rc4::IfcBooleanResult::initialize(::Ifc4x3_rc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc4::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBorehole -const IfcParse::entity& Ifc4x3_rc4::IfcBorehole::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[93]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBorehole::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[93]); } void Ifc4x3_rc4::IfcBorehole::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBoundaryCondition @@ -8605,13 +8605,13 @@ std::optional< std::string > Ifc4x3_rc4::IfcBoundaryCondition::Name() const { if void Ifc4x3_rc4::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[94]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[94]); } void Ifc4x3_rc4::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x3_rc4::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[95]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[95]); } void Ifc4x3_rc4::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -8629,7 +8629,7 @@ void Ifc4x3_rc4::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const void Ifc4x3_rc4::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[96]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[96]); } void Ifc4x3_rc4::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_rc4::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_rc4::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -8641,7 +8641,7 @@ void Ifc4x3_rc4::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(cons void Ifc4x3_rc4::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[97]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[97]); } void Ifc4x3_rc4::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -8659,7 +8659,7 @@ void Ifc4x3_rc4::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4x void Ifc4x3_rc4::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x3_rc4::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[98]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[98]); } void Ifc4x3_rc4::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -8667,19 +8667,19 @@ void Ifc4x3_rc4::IfcBoundaryNodeCondition::initialize(std::optional< std::string void Ifc4x3_rc4::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x3_rc4::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc4::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[99]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[99]); } void Ifc4x3_rc4::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_rc4::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -const IfcParse::entity& Ifc4x3_rc4::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[100]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[100]); } void Ifc4x3_rc4::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x3_rc4::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[101]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[101]); } void Ifc4x3_rc4::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -8693,7 +8693,7 @@ double Ifc4x3_rc4::IfcBoundingBox::ZDim() const { double v = get_attribute_valu void Ifc4x3_rc4::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[102]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[102]); } void Ifc4x3_rc4::IfcBoundingBox::initialize(::Ifc4x3_rc4::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -8701,16 +8701,16 @@ void Ifc4x3_rc4::IfcBoundingBox::initialize(::Ifc4x3_rc4::IfcCartesianPoint v1_C void Ifc4x3_rc4::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x3_rc4::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[104]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[104]); } void Ifc4x3_rc4::IfcBoxedHalfSpace::initialize(::Ifc4x3_rc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc4::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBridge std::optional< ::Ifc4x3_rc4::IfcBridgeTypeEnum::Value > Ifc4x3_rc4::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[105]); } -void Ifc4x3_rc4::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[105]); } +void Ifc4x3_rc4::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBuilding std::optional< double > Ifc4x3_rc4::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -8721,96 +8721,96 @@ void Ifc4x3_rc4::IfcBuilding::setElevationOfTerrain(const std::optional< double void Ifc4x3_rc4::IfcBuilding::setBuildingAddress(const ::Ifc4x3_rc4::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[114]); } -void Ifc4x3_rc4::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc4::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::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)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[114]); } +void Ifc4x3_rc4::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc4::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::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)); } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value > Ifc4x3_rc4::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[115]); } -void Ifc4x3_rc4::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[115]); } +void Ifc4x3_rc4::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value Ifc4x3_rc4::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[116]); } -void Ifc4x3_rc4::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[116]); } +void Ifc4x3_rc4::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3_rc4::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[118]); } -void Ifc4x3_rc4::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[118]); } +void Ifc4x3_rc4::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_rc4::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[119]); } -void Ifc4x3_rc4::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[119]); } +void Ifc4x3_rc4::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingStorey std::optional< double > Ifc4x3_rc4::IfcBuildingStorey::Elevation() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[121]); } -void Ifc4x3_rc4::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[121]); } +void Ifc4x3_rc4::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value > Ifc4x3_rc4::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc4::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc4::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[122]); } -void Ifc4x3_rc4::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[122]); } +void Ifc4x3_rc4::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBuiltElement -const IfcParse::entity& Ifc4x3_rc4::IfcBuiltElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[124]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuiltElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[124]); } void Ifc4x3_rc4::IfcBuiltElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuiltElementType -const IfcParse::entity& Ifc4x3_rc4::IfcBuiltElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[125]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuiltElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[125]); } void Ifc4x3_rc4::IfcBuiltElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuiltSystem std::optional< ::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value > Ifc4x3_rc4::IfcBuiltSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc4::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc4::IfcBuiltSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcBuiltSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBuiltSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[126]); } -void Ifc4x3_rc4::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBuiltSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[126]); } +void Ifc4x3_rc4::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value > Ifc4x3_rc4::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[128]); } -void Ifc4x3_rc4::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[128]); } +void Ifc4x3_rc4::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value Ifc4x3_rc4::IfcBurnerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcBurnerType::setPredefinedType(const ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcBurnerType::setPredefinedType(const ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[129]); } -void Ifc4x3_rc4::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[129]); } +void Ifc4x3_rc4::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x3_rc4::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -8825,101 +8825,101 @@ std::optional< double > Ifc4x3_rc4::IfcCShapeProfileDef::InternalFilletRadius() void Ifc4x3_rc4::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[267]); } -void Ifc4x3_rc4::IfcCShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[267]); } +void Ifc4x3_rc4::IfcCShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3_rc4::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[131]); } -void Ifc4x3_rc4::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[131]); } +void Ifc4x3_rc4::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_rc4::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[132]); } -void Ifc4x3_rc4::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[132]); } +void Ifc4x3_rc4::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3_rc4::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[134]); } -void Ifc4x3_rc4::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[134]); } +void Ifc4x3_rc4::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_rc4::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[135]); } -void Ifc4x3_rc4::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[135]); } +void Ifc4x3_rc4::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value > Ifc4x3_rc4::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[137]); } -void Ifc4x3_rc4::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[137]); } +void Ifc4x3_rc4::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value Ifc4x3_rc4::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[138]); } -void Ifc4x3_rc4::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[138]); } +void Ifc4x3_rc4::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value > Ifc4x3_rc4::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[140]); } -void Ifc4x3_rc4::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[140]); } +void Ifc4x3_rc4::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value Ifc4x3_rc4::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[141]); } -void Ifc4x3_rc4::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[141]); } +void Ifc4x3_rc4::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCaissonFoundation std::optional< ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value > Ifc4x3_rc4::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[143]); } -void Ifc4x3_rc4::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[143]); } +void Ifc4x3_rc4::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCaissonFoundationType ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value Ifc4x3_rc4::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[144]); } -void Ifc4x3_rc4::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[144]); } +void Ifc4x3_rc4::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x3_rc4::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x3_rc4::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[147]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[147]); } void Ifc4x3_rc4::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x3_rc4::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[148]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[148]); } void Ifc4x3_rc4::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -8929,7 +8929,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc4::IfcCartesianPo void Ifc4x3_rc4::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[149]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[149]); } void Ifc4x3_rc4::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -8939,7 +8939,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc4::IfcCartesianPo void Ifc4x3_rc4::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[150]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[150]); } void Ifc4x3_rc4::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -8953,13 +8953,13 @@ std::optional< double > Ifc4x3_rc4::IfcCartesianTransformationOperator::Scale() void Ifc4x3_rc4::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[151]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[151]); } void Ifc4x3_rc4::IfcCartesianTransformationOperator::initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[152]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[152]); } void Ifc4x3_rc4::IfcCartesianTransformationOperator2D::initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -8967,7 +8967,7 @@ std::optional< double > Ifc4x3_rc4::IfcCartesianTransformationOperator2DnonUnifo void Ifc4x3_rc4::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[153]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[153]); } void Ifc4x3_rc4::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -8975,7 +8975,7 @@ void Ifc4x3_rc4::IfcCartesianTransformationOperator2DnonUniform::initialize(::If void Ifc4x3_rc4::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[154]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[154]); } void Ifc4x3_rc4::IfcCartesianTransformationOperator3D::initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc4::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -8985,7 +8985,7 @@ std::optional< double > Ifc4x3_rc4::IfcCartesianTransformationOperator3DnonUnifo void Ifc4x3_rc4::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[155]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[155]); } void Ifc4x3_rc4::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc4::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -8993,47 +8993,47 @@ double Ifc4x3_rc4::IfcCenterLineProfileDef::Thickness() const { double v = get_ void Ifc4x3_rc4::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[156]); } -void Ifc4x3_rc4::IfcCenterLineProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[156]); } +void Ifc4x3_rc4::IfcCenterLineProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x3_rc4::IfcChillerTypeEnum::Value > Ifc4x3_rc4::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[158]); } -void Ifc4x3_rc4::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[158]); } +void Ifc4x3_rc4::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x3_rc4::IfcChillerTypeEnum::Value Ifc4x3_rc4::IfcChillerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcChillerType::setPredefinedType(const ::Ifc4x3_rc4::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcChillerType::setPredefinedType(const ::Ifc4x3_rc4::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[159]); } -void Ifc4x3_rc4::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[159]); } +void Ifc4x3_rc4::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value > Ifc4x3_rc4::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[161]); } -void Ifc4x3_rc4::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[161]); } +void Ifc4x3_rc4::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value Ifc4x3_rc4::IfcChimneyType::PredefinedType() const { return ::Ifc4x3_rc4::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcChimneyType::setPredefinedType(const ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcChimneyType::setPredefinedType(const ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[162]); } -void Ifc4x3_rc4::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[162]); } +void Ifc4x3_rc4::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x3_rc4::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[164]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[164]); } void Ifc4x3_rc4::IfcCircle::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -9041,27 +9041,27 @@ double Ifc4x3_rc4::IfcCircleHollowProfileDef::WallThickness() const { double v void Ifc4x3_rc4::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[165]); } -void Ifc4x3_rc4::IfcCircleHollowProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[165]); } +void Ifc4x3_rc4::IfcCircleHollowProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x3_rc4::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x3_rc4::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[166]); } -void Ifc4x3_rc4::IfcCircleProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[166]); } +void Ifc4x3_rc4::IfcCircleProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x3_rc4::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[167]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[167]); } void Ifc4x3_rc4::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x3_rc4::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[168]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[168]); } void Ifc4x3_rc4::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -9080,10 +9080,10 @@ void Ifc4x3_rc4::IfcClassification::setLocation(const std::optional< std::string std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc4::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc4::IfcRelAssociatesClassification> Ifc4x3_rc4::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[915], 5)); } -std::vector<::Ifc4x3_rc4::IfcClassificationReference> Ifc4x3_rc4::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[170], 3)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociatesClassification> Ifc4x3_rc4::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[915], 5)); } +std::vector<::Ifc4x3_rc4::IfcClassificationReference> Ifc4x3_rc4::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[170], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[169]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[169]); } void Ifc4x3_rc4::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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_Location) {set_attribute_value(5, (*v6_Location)); } if (v7_ReferenceTokens) {set_attribute_value(6, (*v7_ReferenceTokens)); } } // Function implementations for IfcClassificationReference @@ -9094,16 +9094,16 @@ void Ifc4x3_rc4::IfcClassificationReference::setDescription(const std::optional< std::optional< std::string > Ifc4x3_rc4::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc4::IfcRelAssociatesClassification> Ifc4x3_rc4::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[915], 5)); } -std::vector<::Ifc4x3_rc4::IfcClassificationReference> Ifc4x3_rc4::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[170], 3)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociatesClassification> Ifc4x3_rc4::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[915], 5)); } +std::vector<::Ifc4x3_rc4::IfcClassificationReference> Ifc4x3_rc4::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[170], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[170]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[170]); } void Ifc4x3_rc4::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_rc4::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x3_rc4::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[173]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[173]); } void Ifc4x3_rc4::IfcClosedShell::initialize(std::vector< ::Ifc4x3_rc4::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcClothoid @@ -9111,24 +9111,24 @@ double Ifc4x3_rc4::IfcClothoid::ClothoidConstant() const { double v = get_attri void Ifc4x3_rc4::IfcClothoid::setClothoidConstant(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcClothoid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[174]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcClothoid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[174]); } void Ifc4x3_rc4::IfcClothoid::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_ClothoidConstant) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_ClothoidConstant)); } // Function implementations for IfcCoil std::optional< ::Ifc4x3_rc4::IfcCoilTypeEnum::Value > Ifc4x3_rc4::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[175]); } -void Ifc4x3_rc4::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[175]); } +void Ifc4x3_rc4::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x3_rc4::IfcCoilTypeEnum::Value Ifc4x3_rc4::IfcCoilType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCoilType::setPredefinedType(const ::Ifc4x3_rc4::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCoilType::setPredefinedType(const ::Ifc4x3_rc4::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[176]); } -void Ifc4x3_rc4::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[176]); } +void Ifc4x3_rc4::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x3_rc4::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -9139,7 +9139,7 @@ double Ifc4x3_rc4::IfcColourRgb::Blue() const { double v = get_attribute_value( void Ifc4x3_rc4::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[180]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[180]); } void Ifc4x3_rc4::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -9147,7 +9147,7 @@ std::vector< std::vector< double > > Ifc4x3_rc4::IfcColourRgbList::ColourList() void Ifc4x3_rc4::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[181]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[181]); } void Ifc4x3_rc4::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -9155,46 +9155,46 @@ std::optional< std::string > Ifc4x3_rc4::IfcColourSpecification::Name() const { void Ifc4x3_rc4::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc4::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[182]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[182]); } void Ifc4x3_rc4::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value > Ifc4x3_rc4::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[183]); } -void Ifc4x3_rc4::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[183]); } +void Ifc4x3_rc4::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnStandardCase -const IfcParse::entity& Ifc4x3_rc4::IfcColumnStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[184]); } -void Ifc4x3_rc4::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcColumnStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[184]); } +void Ifc4x3_rc4::IfcColumnStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x3_rc4::IfcColumnTypeEnum::Value Ifc4x3_rc4::IfcColumnType::PredefinedType() const { return ::Ifc4x3_rc4::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcColumnType::setPredefinedType(const ::Ifc4x3_rc4::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcColumnType::setPredefinedType(const ::Ifc4x3_rc4::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[185]); } -void Ifc4x3_rc4::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[185]); } +void Ifc4x3_rc4::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3_rc4::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[187]); } -void Ifc4x3_rc4::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[187]); } +void Ifc4x3_rc4::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_rc4::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[188]); } -void Ifc4x3_rc4::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[188]); } +void Ifc4x3_rc4::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x3_rc4::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -9203,20 +9203,20 @@ std::vector< ::Ifc4x3_rc4::IfcProperty > Ifc4x3_rc4::IfcComplexProperty::HasProp void Ifc4x3_rc4::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x3_rc4::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[191]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[191]); } void Ifc4x3_rc4::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x3_rc4::IfcProperty > v4_HasProperties) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UsageName));set_attribute_value(3, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x3_rc4::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x3_rc4::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc4::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > > Ifc4x3_rc4::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc4::IfcPropertyTemplate>(es); } void Ifc4x3_rc4::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[192]); } -void Ifc4x3_rc4::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc4::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[192]); } +void Ifc4x3_rc4::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x3_rc4::IfcSegment > Ifc4x3_rc4::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcSegment>(es); } @@ -9225,13 +9225,13 @@ boost::logic::tribool Ifc4x3_rc4::IfcCompositeCurve::SelfIntersect() const { bo void Ifc4x3_rc4::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[194]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[194]); } void Ifc4x3_rc4::IfcCompositeCurve::initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x3_rc4::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[195]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[195]); } void Ifc4x3_rc4::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment @@ -9241,8 +9241,8 @@ void Ifc4x3_rc4::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_att void Ifc4x3_rc4::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x3_rc4::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[196]); } -void Ifc4x3_rc4::IfcCompositeCurveSegment::initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc4::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[196]); } +void Ifc4x3_rc4::IfcCompositeCurveSegment::initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc4::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x3_rc4::IfcProfileDef > Ifc4x3_rc4::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc4::IfcProfileDef>(es); } @@ -9251,47 +9251,47 @@ std::optional< std::string > Ifc4x3_rc4::IfcCompositeProfileDef::Label() const { void Ifc4x3_rc4::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[197]); } -void Ifc4x3_rc4::IfcCompositeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[197]); } +void Ifc4x3_rc4::IfcCompositeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value > Ifc4x3_rc4::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[199]); } -void Ifc4x3_rc4::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[199]); } +void Ifc4x3_rc4::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value Ifc4x3_rc4::IfcCompressorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCompressorType::setPredefinedType(const ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCompressorType::setPredefinedType(const ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[200]); } -void Ifc4x3_rc4::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[200]); } +void Ifc4x3_rc4::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value > Ifc4x3_rc4::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[202]); } -void Ifc4x3_rc4::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[202]); } +void Ifc4x3_rc4::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value Ifc4x3_rc4::IfcCondenserType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCondenserType::setPredefinedType(const ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCondenserType::setPredefinedType(const ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[203]); } -void Ifc4x3_rc4::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[203]); } +void Ifc4x3_rc4::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x3_rc4::IfcAxis2Placement Ifc4x3_rc4::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcAxis2Placement>(); } void Ifc4x3_rc4::IfcConic::setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcConic::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[205]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[205]); } void Ifc4x3_rc4::IfcConic::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -9299,7 +9299,7 @@ std::vector< ::Ifc4x3_rc4::IfcFace > Ifc4x3_rc4::IfcConnectedFaceSet::CfsFaces() void Ifc4x3_rc4::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x3_rc4::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[206]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[206]); } void Ifc4x3_rc4::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x3_rc4::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -9309,13 +9309,13 @@ void Ifc4x3_rc4::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::I void Ifc4x3_rc4::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x3_rc4::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[207]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[207]); } void Ifc4x3_rc4::IfcConnectionCurveGeometry::initialize(::Ifc4x3_rc4::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_rc4::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x3_rc4::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[208]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[208]); } void Ifc4x3_rc4::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -9327,7 +9327,7 @@ std::optional< double > Ifc4x3_rc4::IfcConnectionPointEccentricity::Eccentricity void Ifc4x3_rc4::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[209]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[209]); } void Ifc4x3_rc4::IfcConnectionPointEccentricity::initialize(::Ifc4x3_rc4::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc4::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -9337,7 +9337,7 @@ void Ifc4x3_rc4::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::I void Ifc4x3_rc4::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x3_rc4::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[210]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[210]); } void Ifc4x3_rc4::IfcConnectionPointGeometry::initialize(::Ifc4x3_rc4::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc4::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -9347,7 +9347,7 @@ void Ifc4x3_rc4::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const void Ifc4x3_rc4::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x3_rc4::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[211]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[211]); } void Ifc4x3_rc4::IfcConnectionSurfaceGeometry::initialize(::Ifc4x3_rc4::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_rc4::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -9357,7 +9357,7 @@ void Ifc4x3_rc4::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const : void Ifc4x3_rc4::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x3_rc4::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[213]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[213]); } void Ifc4x3_rc4::IfcConnectionVolumeGeometry::initialize(::Ifc4x3_rc4::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_rc4::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -9366,7 +9366,7 @@ void Ifc4x3_rc4::IfcConstraint::setName(const std::string& v) { set_attribute_va std::optional< std::string > Ifc4x3_rc4::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_rc4::IfcConstraintEnum::Value Ifc4x3_rc4::IfcConstraint::ConstraintGrade() const { return ::Ifc4x3_rc4::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc4::IfcConstraint::setConstraintGrade(const ::Ifc4x3_rc4::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc4::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc4::IfcConstraint::setConstraintGrade(const ::Ifc4x3_rc4::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc4::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x3_rc4::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc4::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_rc4::IfcActorSelect Ifc4x3_rc4::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc4::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcActorSelect>(); } @@ -9376,59 +9376,59 @@ void Ifc4x3_rc4::IfcConstraint::setCreationTime(const std::optional< std::string std::optional< std::string > Ifc4x3_rc4::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -std::vector<::Ifc4x3_rc4::IfcResourceConstraintRelationship> Ifc4x3_rc4::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[961], 2)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcResourceConstraintRelationship> Ifc4x3_rc4::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[961], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[214]); } -void Ifc4x3_rc4::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[214]); } +void Ifc4x3_rc4::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3_rc4::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[216]); } -void Ifc4x3_rc4::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[216]); } +void Ifc4x3_rc4::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_rc4::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc4::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[217]); } -void Ifc4x3_rc4::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[217]); } +void Ifc4x3_rc4::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3_rc4::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[219]); } -void Ifc4x3_rc4::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[219]); } +void Ifc4x3_rc4::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_rc4::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc4::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[220]); } -void Ifc4x3_rc4::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[220]); } +void Ifc4x3_rc4::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3_rc4::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[222]); } -void Ifc4x3_rc4::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[222]); } +void Ifc4x3_rc4::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_rc4::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc4::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[223]); } -void Ifc4x3_rc4::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[223]); } +void Ifc4x3_rc4::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x3_rc4::IfcResourceTime Ifc4x3_rc4::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc4::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc4::IfcResourceTime>(); } @@ -9439,7 +9439,7 @@ void Ifc4x3_rc4::IfcConstructionResource::setBaseCosts(const std::optional< std: void Ifc4x3_rc4::IfcConstructionResource::setBaseQuantity(const ::Ifc4x3_rc4::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[225]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[225]); } void Ifc4x3_rc4::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -9449,7 +9449,7 @@ void Ifc4x3_rc4::IfcConstructionResourceType::setBaseCosts(const std::optional< void Ifc4x3_rc4::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x3_rc4::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc4::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[226]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[226]); } void Ifc4x3_rc4::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -9464,45 +9464,45 @@ void Ifc4x3_rc4::IfcContext::setRepresentationContexts(const std::optional< std: ::Ifc4x3_rc4::IfcUnitAssignment Ifc4x3_rc4::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc4::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc4::IfcUnitAssignment>(); } void Ifc4x3_rc4::IfcContext::setUnitsInContext(const ::Ifc4x3_rc4::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc4::IfcRelDefinesByProperties> Ifc4x3_rc4::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[938], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelDeclares> Ifc4x3_rc4::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[934], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelDefinesByProperties> Ifc4x3_rc4::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[938], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelDeclares> Ifc4x3_rc4::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[934], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcContext::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[227]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[227]); } void Ifc4x3_rc4::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc4::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x3_rc4::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[229]); } -void Ifc4x3_rc4::IfcContextDependentUnit::initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[229]); } +void Ifc4x3_rc4::IfcContextDependentUnit::initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x3_rc4::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc4::IfcRelAssignsToControl> Ifc4x3_rc4::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[907], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelAssignsToControl> Ifc4x3_rc4::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[907], 6)); } -const IfcParse::entity& Ifc4x3_rc4::IfcControl::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[230]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[230]); } void Ifc4x3_rc4::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x3_rc4::IfcControllerTypeEnum::Value > Ifc4x3_rc4::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcController::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[231]); } -void Ifc4x3_rc4::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[231]); } +void Ifc4x3_rc4::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x3_rc4::IfcControllerTypeEnum::Value Ifc4x3_rc4::IfcControllerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcControllerType::setPredefinedType(const ::Ifc4x3_rc4::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcControllerType::setPredefinedType(const ::Ifc4x3_rc4::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[232]); } -void Ifc4x3_rc4::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[232]); } +void Ifc4x3_rc4::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x3_rc4::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -9510,66 +9510,66 @@ void Ifc4x3_rc4::IfcConversionBasedUnit::setName(const std::string& v) { set_att ::Ifc4x3_rc4::IfcMeasureWithUnit Ifc4x3_rc4::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc4::IfcMeasureWithUnit>(); } void Ifc4x3_rc4::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x3_rc4::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[234]); } -void Ifc4x3_rc4::IfcConversionBasedUnit::initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[234]); } +void Ifc4x3_rc4::IfcConversionBasedUnit::initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x3_rc4::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[235]); } -void Ifc4x3_rc4::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[235]); } +void Ifc4x3_rc4::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcConveyorSegment std::optional< ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value > Ifc4x3_rc4::IfcConveyorSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcConveyorSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[236]); } -void Ifc4x3_rc4::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConveyorSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[236]); } +void Ifc4x3_rc4::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcConveyorSegmentType ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value Ifc4x3_rc4::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcConveyorSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[237]); } -void Ifc4x3_rc4::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcConveyorSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[237]); } +void Ifc4x3_rc4::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value > Ifc4x3_rc4::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[239]); } -void Ifc4x3_rc4::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[239]); } +void Ifc4x3_rc4::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value Ifc4x3_rc4::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[240]); } -void Ifc4x3_rc4::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[240]); } +void Ifc4x3_rc4::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value > Ifc4x3_rc4::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[242]); } -void Ifc4x3_rc4::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[242]); } +void Ifc4x3_rc4::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value Ifc4x3_rc4::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[243]); } -void Ifc4x3_rc4::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[243]); } +void Ifc4x3_rc4::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x3_rc4::IfcCoordinateReferenceSystemSelect Ifc4x3_rc4::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcCoordinateReferenceSystemSelect>(); } @@ -9578,7 +9578,7 @@ void Ifc4x3_rc4::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x3_rc4::IfcCoo void Ifc4x3_rc4::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x3_rc4::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[245]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[245]); } void Ifc4x3_rc4::IfcCoordinateOperation::initialize(::Ifc4x3_rc4::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc4::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -9591,9 +9591,9 @@ void Ifc4x3_rc4::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optio std::optional< std::string > Ifc4x3_rc4::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc4::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::vector<::Ifc4x3_rc4::IfcCoordinateOperation> Ifc4x3_rc4::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[245], 0)); } +std::vector<::Ifc4x3_rc4::IfcCoordinateOperation> Ifc4x3_rc4::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[245], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[246]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[246]); } void Ifc4x3_rc4::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { 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)); } } // Function implementations for IfcCosine @@ -9603,24 +9603,24 @@ std::optional< double > Ifc4x3_rc4::IfcCosine::ConstantTerm() const { if(get_att void Ifc4x3_rc4::IfcCosine::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCosine::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[248]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCosine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[248]); } void Ifc4x3_rc4::IfcCosine::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CosineTerm)); if (v3_ConstantTerm) {set_attribute_value(2, (*v3_ConstantTerm)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4x3_rc4::IfcCostItemTypeEnum::Value > Ifc4x3_rc4::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc4::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc4::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc4::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc4::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_rc4::IfcCostValue > > Ifc4x3_rc4::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc4::IfcCostValue>(es); } void Ifc4x3_rc4::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x3_rc4::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > > Ifc4x3_rc4::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_rc4::IfcPhysicalQuantity>(es); } void Ifc4x3_rc4::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[249]); } -void Ifc4x3_rc4::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc4::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[249]); } +void Ifc4x3_rc4::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc4::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value > Ifc4x3_rc4::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc4::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc4::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc4::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc4::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc4::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc4::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -9629,71 +9629,71 @@ std::optional< std::string > Ifc4x3_rc4::IfcCostSchedule::UpdateDate() const { i void Ifc4x3_rc4::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[251]); } -void Ifc4x3_rc4::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[251]); } +void Ifc4x3_rc4::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x3_rc4::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[253]); } -void Ifc4x3_rc4::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_rc4::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[253]); } +void Ifc4x3_rc4::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCourse std::optional< ::Ifc4x3_rc4::IfcCourseTypeEnum::Value > Ifc4x3_rc4::IfcCourse::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCourseTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCourse::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[255]); } -void Ifc4x3_rc4::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCourse::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[255]); } +void Ifc4x3_rc4::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCourseType ::Ifc4x3_rc4::IfcCourseTypeEnum::Value Ifc4x3_rc4::IfcCourseType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCourseTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCourseType::setPredefinedType(const ::Ifc4x3_rc4::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCourseType::setPredefinedType(const ::Ifc4x3_rc4::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCourseType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[256]); } -void Ifc4x3_rc4::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCourseType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[256]); } +void Ifc4x3_rc4::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCovering std::optional< ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value > Ifc4x3_rc4::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc4::IfcRelCoversSpaces> Ifc4x3_rc4::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[933], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelCoversBldgElements> Ifc4x3_rc4::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[932], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelCoversSpaces> Ifc4x3_rc4::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[933], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelCoversBldgElements> Ifc4x3_rc4::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[932], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[258]); } -void Ifc4x3_rc4::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[258]); } +void Ifc4x3_rc4::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value Ifc4x3_rc4::IfcCoveringType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCoveringType::setPredefinedType(const ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCoveringType::setPredefinedType(const ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[259]); } -void Ifc4x3_rc4::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[259]); } +void Ifc4x3_rc4::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value > Ifc4x3_rc4::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[261]); } -void Ifc4x3_rc4::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[261]); } +void Ifc4x3_rc4::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value Ifc4x3_rc4::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc4::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[262]); } -void Ifc4x3_rc4::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[262]); } +void Ifc4x3_rc4::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x3_rc4::IfcAxis2Placement3D Ifc4x3_rc4::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcAxis2Placement3D>(); } void Ifc4x3_rc4::IfcCsgPrimitive3D::setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[264]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[264]); } void Ifc4x3_rc4::IfcCsgPrimitive3D::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -9701,7 +9701,7 @@ void Ifc4x3_rc4::IfcCsgPrimitive3D::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D void Ifc4x3_rc4::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x3_rc4::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[266]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[266]); } void Ifc4x3_rc4::IfcCsgSolid::initialize(::Ifc4x3_rc4::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -9717,29 +9717,29 @@ void Ifc4x3_rc4::IfcCurrencyRelationship::setRateDateTime(const std::optional< s void Ifc4x3_rc4::IfcCurrencyRelationship::setRateSource(const ::Ifc4x3_rc4::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[268]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[268]); } void Ifc4x3_rc4::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_rc4::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_rc4::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value > Ifc4x3_rc4::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[269]); } -void Ifc4x3_rc4::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[269]); } +void Ifc4x3_rc4::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value Ifc4x3_rc4::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[270]); } -void Ifc4x3_rc4::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[270]); } +void Ifc4x3_rc4::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x3_rc4::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[273]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[273]); } void Ifc4x3_rc4::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -9751,7 +9751,7 @@ std::vector< ::Ifc4x3_rc4::IfcCurve > Ifc4x3_rc4::IfcCurveBoundedPlane::InnerBou void Ifc4x3_rc4::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x3_rc4::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[274]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[274]); } void Ifc4x3_rc4::IfcCurveBoundedPlane::initialize(::Ifc4x3_rc4::IfcPlane v1_BasisSurface, ::Ifc4x3_rc4::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_rc4::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -9763,7 +9763,7 @@ bool Ifc4x3_rc4::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_a void Ifc4x3_rc4::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[275]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[275]); } void Ifc4x3_rc4::IfcCurveBoundedSurface::initialize(::Ifc4x3_rc4::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_rc4::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment @@ -9777,8 +9777,8 @@ void Ifc4x3_rc4::IfcCurveSegment::setSegmentLength(const ::Ifc4x3_rc4::IfcCurveM void Ifc4x3_rc4::IfcCurveSegment::setParentCurve(const ::Ifc4x3_rc4::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[281]); } -void Ifc4x3_rc4::IfcCurveSegment::initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_rc4::IfcPlacement v2_Placement, ::Ifc4x3_rc4::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_rc4::IfcCurve v5_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[281]); } +void Ifc4x3_rc4::IfcCurveSegment::initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_rc4::IfcPlacement v2_Placement, ::Ifc4x3_rc4::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_rc4::IfcCurve v5_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } // Function implementations for IfcCurveStyle ::Ifc4x3_rc4::IfcCurveFontOrScaledCurveFontSelect Ifc4x3_rc4::IfcCurveStyle::CurveFont() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc4::IfcCurveFontOrScaledCurveFontSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcCurveFontOrScaledCurveFontSelect>(); } @@ -9791,7 +9791,7 @@ std::optional< bool > Ifc4x3_rc4::IfcCurveStyle::ModelOrDraughting() const { if( void Ifc4x3_rc4::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[282]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[282]); } void Ifc4x3_rc4::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_rc4::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_rc4::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -9801,7 +9801,7 @@ std::vector< ::Ifc4x3_rc4::IfcCurveStyleFontPattern > Ifc4x3_rc4::IfcCurveStyleF void Ifc4x3_rc4::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x3_rc4::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[283]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[283]); } void Ifc4x3_rc4::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc4::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -9813,7 +9813,7 @@ double Ifc4x3_rc4::IfcCurveStyleFontAndScaling::CurveFontScaling() const { doub void Ifc4x3_rc4::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[284]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[284]); } void Ifc4x3_rc4::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -9823,7 +9823,7 @@ double Ifc4x3_rc4::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { d void Ifc4x3_rc4::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[285]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[285]); } void Ifc4x3_rc4::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -9831,35 +9831,35 @@ double Ifc4x3_rc4::IfcCylindricalSurface::Radius() const { double v = get_attri void Ifc4x3_rc4::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[287]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[287]); } void Ifc4x3_rc4::IfcCylindricalSurface::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x3_rc4::IfcDamperTypeEnum::Value > Ifc4x3_rc4::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[288]); } -void Ifc4x3_rc4::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[288]); } +void Ifc4x3_rc4::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x3_rc4::IfcDamperTypeEnum::Value Ifc4x3_rc4::IfcDamperType::PredefinedType() const { return ::Ifc4x3_rc4::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDamperType::setPredefinedType(const ::Ifc4x3_rc4::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcDamperType::setPredefinedType(const ::Ifc4x3_rc4::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[289]); } -void Ifc4x3_rc4::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[289]); } +void Ifc4x3_rc4::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDeepFoundation -const IfcParse::entity& Ifc4x3_rc4::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[296]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[296]); } void Ifc4x3_rc4::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDeepFoundationType -const IfcParse::entity& Ifc4x3_rc4::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[297]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[297]); } void Ifc4x3_rc4::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDerivedProfileDef @@ -9871,20 +9871,20 @@ std::optional< std::string > Ifc4x3_rc4::IfcDerivedProfileDef::Label() const { i void Ifc4x3_rc4::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[300]); } -void Ifc4x3_rc4::IfcDerivedProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[300]); } +void Ifc4x3_rc4::IfcDerivedProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x3_rc4::IfcDerivedUnitElement > Ifc4x3_rc4::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcDerivedUnitElement>(es); } void Ifc4x3_rc4::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x3_rc4::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc4::IfcDerivedUnitEnum::Value Ifc4x3_rc4::IfcDerivedUnit::UnitType() const { return ::Ifc4x3_rc4::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc4::IfcDerivedUnit::setUnitType(const ::Ifc4x3_rc4::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc4::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc4::IfcDerivedUnit::setUnitType(const ::Ifc4x3_rc4::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc4::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x3_rc4::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[301]); } -void Ifc4x3_rc4::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_rc4::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc4::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[301]); } +void Ifc4x3_rc4::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_rc4::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc4::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x3_rc4::IfcNamedUnit Ifc4x3_rc4::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcNamedUnit>(); } @@ -9893,7 +9893,7 @@ int Ifc4x3_rc4::IfcDerivedUnitElement::Exponent() const { int v = get_attribute void Ifc4x3_rc4::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[302]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[302]); } void Ifc4x3_rc4::IfcDerivedUnitElement::initialize(::Ifc4x3_rc4::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -9913,7 +9913,7 @@ int Ifc4x3_rc4::IfcDimensionalExponents::LuminousIntensityExponent() const { in void Ifc4x3_rc4::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[305]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[305]); } void Ifc4x3_rc4::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -9921,7 +9921,7 @@ std::vector< double > /*[2:3]*/ Ifc4x3_rc4::IfcDirection::DirectionRatios() cons void Ifc4x3_rc4::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[307]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[307]); } void Ifc4x3_rc4::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDirectrixCurveSweptAreaSolid @@ -9933,129 +9933,129 @@ void Ifc4x3_rc4::IfcDirectrixCurveSweptAreaSolid::setStartParam(const ::Ifc4x3_r void Ifc4x3_rc4::IfcDirectrixCurveSweptAreaSolid::setEndParam(const ::Ifc4x3_rc4::IfcCurveMeasureSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcDirectrixCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[309]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDirectrixCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[309]); } void Ifc4x3_rc4::IfcDirectrixCurveSweptAreaSolid::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcCurve v3_Directrix, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc4::IfcCurveMeasureSelect v5_EndParam) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam)); } // Function implementations for IfcDirectrixDerivedReferenceSweptAreaSolid -const IfcParse::entity& Ifc4x3_rc4::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[310]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[310]); } void Ifc4x3_rc4::IfcDirectrixDerivedReferenceSweptAreaSolid::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcCurve v3_Directrix, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc4::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc4::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3_rc4::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[311]); } -void Ifc4x3_rc4::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[311]); } +void Ifc4x3_rc4::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_rc4::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[312]); } -void Ifc4x3_rc4::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[312]); } +void Ifc4x3_rc4::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionBoard std::optional< ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value > Ifc4x3_rc4::IfcDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[314]); } -void Ifc4x3_rc4::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[314]); } +void Ifc4x3_rc4::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionBoardType ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value Ifc4x3_rc4::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[315]); } -void Ifc4x3_rc4::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[315]); } +void Ifc4x3_rc4::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3_rc4::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[317]); } -void Ifc4x3_rc4::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[317]); } +void Ifc4x3_rc4::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_rc4::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[318]); } -void Ifc4x3_rc4::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[318]); } +void Ifc4x3_rc4::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[320]); } -void Ifc4x3_rc4::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[320]); } +void Ifc4x3_rc4::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x3_rc4::IfcRelFlowControlElements> Ifc4x3_rc4::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[942], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelFlowControlElements> Ifc4x3_rc4::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[942], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[321]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[321]); } void Ifc4x3_rc4::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[322]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[322]); } void Ifc4x3_rc4::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x3_rc4::IfcRelConnectsPortToElement> Ifc4x3_rc4::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[926], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsPortToElement> Ifc4x3_rc4::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[926], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[323]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[323]); } void Ifc4x3_rc4::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[324]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[324]); } void Ifc4x3_rc4::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x3_rc4::IfcRelFlowControlElements> Ifc4x3_rc4::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[942], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelFlowControlElements> Ifc4x3_rc4::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[942], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[325]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[325]); } void Ifc4x3_rc4::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[326]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[326]); } void Ifc4x3_rc4::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x3_rc4::IfcFlowDirectionEnum::Value > Ifc4x3_rc4::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_rc4::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc4::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_rc4::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value > Ifc4x3_rc4::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > Ifc4x3_rc4::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[327]); } -void Ifc4x3_rc4::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[327]); } +void Ifc4x3_rc4::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x3_rc4::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > Ifc4x3_rc4::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc4::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc4::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc4::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc4::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[329]); } -void Ifc4x3_rc4::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[329]); } +void Ifc4x3_rc4::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x3_rc4::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -10089,17 +10089,17 @@ void Ifc4x3_rc4::IfcDocumentInformation::setValidFrom(const std::optional< std:: std::optional< std::string > Ifc4x3_rc4::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_rc4::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value > Ifc4x3_rc4::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x3_rc4::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x3_rc4::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x3_rc4::IfcDocumentStatusEnum::Value > Ifc4x3_rc4::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x3_rc4::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_rc4::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x3_rc4::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x3_rc4::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_rc4::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x3_rc4::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x3_rc4::IfcRelAssociatesDocument> Ifc4x3_rc4::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[917], 5)); } -std::vector<::Ifc4x3_rc4::IfcDocumentReference> Ifc4x3_rc4::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[334], 4)); } -std::vector<::Ifc4x3_rc4::IfcDocumentInformationRelationship> Ifc4x3_rc4::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[333], 3)); } -std::vector<::Ifc4x3_rc4::IfcDocumentInformationRelationship> Ifc4x3_rc4::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[333], 2)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociatesDocument> Ifc4x3_rc4::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[917], 5)); } +std::vector<::Ifc4x3_rc4::IfcDocumentReference> Ifc4x3_rc4::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[334], 4)); } +std::vector<::Ifc4x3_rc4::IfcDocumentInformationRelationship> Ifc4x3_rc4::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[333], 3)); } +std::vector<::Ifc4x3_rc4::IfcDocumentInformationRelationship> Ifc4x3_rc4::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[333], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[332]); } -void Ifc4x3_rc4::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc4::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc4::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc4::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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_rc4::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x3_rc4::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[332]); } +void Ifc4x3_rc4::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc4::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc4::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc4::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x3_rc4::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x3_rc4::IfcDocumentInformation Ifc4x3_rc4::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcDocumentInformation>(); } @@ -10110,7 +10110,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcDocumentInformationRelationship::Rel void Ifc4x3_rc4::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[333]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[333]); } void Ifc4x3_rc4::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_rc4::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -10119,9 +10119,9 @@ void Ifc4x3_rc4::IfcDocumentReference::setDescription(const std::optional< std:: ::Ifc4x3_rc4::IfcDocumentInformation Ifc4x3_rc4::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc4::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcDocumentInformation>(); } void Ifc4x3_rc4::IfcDocumentReference::setReferencedDocument(const ::Ifc4x3_rc4::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_rc4::IfcRelAssociatesDocument> Ifc4x3_rc4::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[917], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociatesDocument> Ifc4x3_rc4::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[917], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[334]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[334]); } void Ifc4x3_rc4::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -10130,15 +10130,15 @@ void Ifc4x3_rc4::IfcDoor::setOverallHeight(const std::optional< double >& v) { i std::optional< double > Ifc4x3_rc4::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc4::IfcDoorTypeEnum::Value > Ifc4x3_rc4::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value > Ifc4x3_rc4::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc4::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc4::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc4::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[337]); } -void Ifc4x3_rc4::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[337]); } +void Ifc4x3_rc4::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x3_rc4::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -10169,140 +10169,140 @@ std::optional< double > Ifc4x3_rc4::IfcDoorLiningProperties::LiningToPanelOffset void Ifc4x3_rc4::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[338]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[338]); } void Ifc4x3_rc4::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_rc4::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x3_rc4::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value Ifc4x3_rc4::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x3_rc4::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc4::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc4::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value Ifc4x3_rc4::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x3_rc4::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc4::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc4::IfcShapeAspect Ifc4x3_rc4::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc4::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc4::IfcShapeAspect>(); } void Ifc4x3_rc4::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x3_rc4::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[341]); } -void Ifc4x3_rc4::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc4::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[341]); } +void Ifc4x3_rc4::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorStandardCase -const IfcParse::entity& Ifc4x3_rc4::IfcDoorStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[342]); } -void Ifc4x3_rc4::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDoorStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[342]); } +void Ifc4x3_rc4::IfcDoorStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorStyle ::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value Ifc4x3_rc4::IfcDoorStyle::OperationType() const { return ::Ifc4x3_rc4::IfcDoorStyleOperationEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcDoorStyle::setOperationType(const ::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcDoorStyle::setOperationType(const ::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value Ifc4x3_rc4::IfcDoorStyle::ConstructionType() const { return ::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDoorStyle::setConstructionType(const ::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcDoorStyle::setConstructionType(const ::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x3_rc4::IfcDoorStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcDoorStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x3_rc4::IfcDoorStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x3_rc4::IfcDoorStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcDoorStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[343]); } -void Ifc4x3_rc4::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDoorStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[343]); } +void Ifc4x3_rc4::IfcDoorStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Class(),(size_t)v9_OperationType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Class(),(size_t)v10_ConstructionType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcDoorType ::Ifc4x3_rc4::IfcDoorTypeEnum::Value Ifc4x3_rc4::IfcDoorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDoorType::setPredefinedType(const ::Ifc4x3_rc4::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcDoorType::setPredefinedType(const ::Ifc4x3_rc4::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value Ifc4x3_rc4::IfcDoorType::OperationType() const { return ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcDoorType::setOperationType(const ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc4::IfcDoorType::setOperationType(const ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_rc4::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_rc4::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc4::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc4::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[346]); } -void Ifc4x3_rc4::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[346]); } +void Ifc4x3_rc4::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x3_rc4::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[350]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[350]); } void Ifc4x3_rc4::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_rc4::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[351]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[351]); } void Ifc4x3_rc4::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value > Ifc4x3_rc4::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[352]); } -void Ifc4x3_rc4::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[352]); } +void Ifc4x3_rc4::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value Ifc4x3_rc4::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[353]); } -void Ifc4x3_rc4::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[353]); } +void Ifc4x3_rc4::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value > Ifc4x3_rc4::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[355]); } -void Ifc4x3_rc4::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[355]); } +void Ifc4x3_rc4::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value Ifc4x3_rc4::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[356]); } -void Ifc4x3_rc4::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[356]); } +void Ifc4x3_rc4::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value > Ifc4x3_rc4::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[358]); } -void Ifc4x3_rc4::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[358]); } +void Ifc4x3_rc4::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value Ifc4x3_rc4::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[359]); } -void Ifc4x3_rc4::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[359]); } +void Ifc4x3_rc4::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEarthworksCut std::optional< ::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value > Ifc4x3_rc4::IfcEarthworksCut::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcEarthworksCut::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[363]); } -void Ifc4x3_rc4::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEarthworksCut::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[363]); } +void Ifc4x3_rc4::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEarthworksElement -const IfcParse::entity& Ifc4x3_rc4::IfcEarthworksElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[365]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEarthworksElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[365]); } void Ifc4x3_rc4::IfcEarthworksElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEarthworksFill std::optional< ::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value > Ifc4x3_rc4::IfcEarthworksFill::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcEarthworksFill::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[366]); } -void Ifc4x3_rc4::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEarthworksFill::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[366]); } +void Ifc4x3_rc4::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEdge ::Ifc4x3_rc4::IfcVertex Ifc4x3_rc4::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcVertex>(); } @@ -10311,7 +10311,7 @@ void Ifc4x3_rc4::IfcEdge::setEdgeStart(const ::Ifc4x3_rc4::IfcVertex& v) { set_a void Ifc4x3_rc4::IfcEdge::setEdgeEnd(const ::Ifc4x3_rc4::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[368]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[368]); } void Ifc4x3_rc4::IfcEdge::initialize(::Ifc4x3_rc4::IfcVertex v1_EdgeStart, ::Ifc4x3_rc4::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -10321,7 +10321,7 @@ bool Ifc4x3_rc4::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value void Ifc4x3_rc4::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[369]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[369]); } void Ifc4x3_rc4::IfcEdgeCurve::initialize(::Ifc4x3_rc4::IfcVertex v1_EdgeStart, ::Ifc4x3_rc4::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc4::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -10329,169 +10329,169 @@ std::vector< ::Ifc4x3_rc4::IfcOrientedEdge > Ifc4x3_rc4::IfcEdgeLoop::EdgeList() void Ifc4x3_rc4::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x3_rc4::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[370]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[370]); } void Ifc4x3_rc4::IfcEdgeLoop::initialize(std::vector< ::Ifc4x3_rc4::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value > Ifc4x3_rc4::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[371]); } -void Ifc4x3_rc4::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[371]); } +void Ifc4x3_rc4::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value Ifc4x3_rc4::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[372]); } -void Ifc4x3_rc4::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[372]); } +void Ifc4x3_rc4::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3_rc4::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[378]); } -void Ifc4x3_rc4::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[378]); } +void Ifc4x3_rc4::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_rc4::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[379]); } -void Ifc4x3_rc4::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[379]); } +void Ifc4x3_rc4::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3_rc4::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[381]); } -void Ifc4x3_rc4::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[381]); } +void Ifc4x3_rc4::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_rc4::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[382]); } -void Ifc4x3_rc4::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[382]); } +void Ifc4x3_rc4::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowTreatmentDevice std::optional< ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3_rc4::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[384]); } -void Ifc4x3_rc4::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[384]); } +void Ifc4x3_rc4::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowTreatmentDeviceType ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[385]); } -void Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[385]); } +void Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value > Ifc4x3_rc4::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[387]); } -void Ifc4x3_rc4::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[387]); } +void Ifc4x3_rc4::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value Ifc4x3_rc4::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[388]); } -void Ifc4x3_rc4::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[388]); } +void Ifc4x3_rc4::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value > Ifc4x3_rc4::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[390]); } -void Ifc4x3_rc4::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[390]); } +void Ifc4x3_rc4::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value Ifc4x3_rc4::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[391]); } -void Ifc4x3_rc4::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[391]); } +void Ifc4x3_rc4::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value > Ifc4x3_rc4::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[394]); } -void Ifc4x3_rc4::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[394]); } +void Ifc4x3_rc4::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value Ifc4x3_rc4::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[395]); } -void Ifc4x3_rc4::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[395]); } +void Ifc4x3_rc4::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x3_rc4::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc4::IfcRelFillsElement> Ifc4x3_rc4::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[941], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelConnectsElements> Ifc4x3_rc4::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[923], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelInterferesElements> Ifc4x3_rc4::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[943], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelInterferesElements> Ifc4x3_rc4::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[943], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelProjectsElement> Ifc4x3_rc4::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[946], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelVoidsElement> Ifc4x3_rc4::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[953], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelConnectsWithRealizingElements> Ifc4x3_rc4::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[930], 7)); } -std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary> Ifc4x3_rc4::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[950], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelConnectsElements> Ifc4x3_rc4::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[923], 6)); } -std::vector<::Ifc4x3_rc4::IfcRelContainedInSpatialStructure> Ifc4x3_rc4::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[931], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelCoversBldgElements> Ifc4x3_rc4::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[932], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelAdheresToElement> Ifc4x3_rc4::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[903], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelFillsElement> Ifc4x3_rc4::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[941], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsElements> Ifc4x3_rc4::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[923], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelInterferesElements> Ifc4x3_rc4::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[943], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelInterferesElements> Ifc4x3_rc4::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[943], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelProjectsElement> Ifc4x3_rc4::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[946], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelVoidsElement> Ifc4x3_rc4::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[953], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsWithRealizingElements> Ifc4x3_rc4::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[930], 7)); } +std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary> Ifc4x3_rc4::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[950], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsElements> Ifc4x3_rc4::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[923], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelContainedInSpatialStructure> Ifc4x3_rc4::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[931], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelCoversBldgElements> Ifc4x3_rc4::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[932], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelAdheresToElement> Ifc4x3_rc4::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[903], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[398]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[398]); } void Ifc4x3_rc4::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value > Ifc4x3_rc4::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value > Ifc4x3_rc4::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[400]); } -void Ifc4x3_rc4::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[400]); } +void Ifc4x3_rc4::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value Ifc4x3_rc4::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[401]); } -void Ifc4x3_rc4::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[401]); } +void Ifc4x3_rc4::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x3_rc4::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[403]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[403]); } void Ifc4x3_rc4::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x3_rc4::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[404]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[404]); } void Ifc4x3_rc4::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -10501,7 +10501,7 @@ std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > Ifc4x3_rc4::IfcElementQuantity: void Ifc4x3_rc4::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[406]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[406]); } void Ifc4x3_rc4::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -10509,7 +10509,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcElementType::ElementType() const { i void Ifc4x3_rc4::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[407]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[407]); } void Ifc4x3_rc4::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -10517,7 +10517,7 @@ void Ifc4x3_rc4::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc void Ifc4x3_rc4::IfcElementarySurface::setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[399]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[399]); } void Ifc4x3_rc4::IfcElementarySurface::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -10527,7 +10527,7 @@ double Ifc4x3_rc4::IfcEllipse::SemiAxis2() const { double v = get_attribute_val void Ifc4x3_rc4::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[408]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[408]); } void Ifc4x3_rc4::IfcEllipse::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -10537,82 +10537,82 @@ double Ifc4x3_rc4::IfcEllipseProfileDef::SemiAxis2() const { double v = get_att void Ifc4x3_rc4::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[409]); } -void Ifc4x3_rc4::IfcEllipseProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[409]); } +void Ifc4x3_rc4::IfcEllipseProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x3_rc4::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[410]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[410]); } void Ifc4x3_rc4::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x3_rc4::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[411]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[411]); } void Ifc4x3_rc4::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x3_rc4::IfcEngineTypeEnum::Value > Ifc4x3_rc4::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[413]); } -void Ifc4x3_rc4::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[413]); } +void Ifc4x3_rc4::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x3_rc4::IfcEngineTypeEnum::Value Ifc4x3_rc4::IfcEngineType::PredefinedType() const { return ::Ifc4x3_rc4::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcEngineType::setPredefinedType(const ::Ifc4x3_rc4::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcEngineType::setPredefinedType(const ::Ifc4x3_rc4::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[414]); } -void Ifc4x3_rc4::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[414]); } +void Ifc4x3_rc4::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3_rc4::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[416]); } -void Ifc4x3_rc4::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[416]); } +void Ifc4x3_rc4::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_rc4::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[417]); } -void Ifc4x3_rc4::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[417]); } +void Ifc4x3_rc4::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value > Ifc4x3_rc4::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[419]); } -void Ifc4x3_rc4::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[419]); } +void Ifc4x3_rc4::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value Ifc4x3_rc4::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[420]); } -void Ifc4x3_rc4::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[420]); } +void Ifc4x3_rc4::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x3_rc4::IfcEventTypeEnum::Value > Ifc4x3_rc4::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc4::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value > Ifc4x3_rc4::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_rc4::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x3_rc4::IfcEventTime Ifc4x3_rc4::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_rc4::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_rc4::IfcEventTime>(); } void Ifc4x3_rc4::IfcEvent::setEventOccurenceTime(const ::Ifc4x3_rc4::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc4::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[422]); } -void Ifc4x3_rc4::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc4::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc4::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[422]); } +void Ifc4x3_rc4::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc4::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc4::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x3_rc4::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -10625,20 +10625,20 @@ std::optional< std::string > Ifc4x3_rc4::IfcEventTime::ScheduleDate() const { if void Ifc4x3_rc4::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[423]); } -void Ifc4x3_rc4::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[423]); } +void Ifc4x3_rc4::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcEventType ::Ifc4x3_rc4::IfcEventTypeEnum::Value Ifc4x3_rc4::IfcEventType::PredefinedType() const { return ::Ifc4x3_rc4::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcEventType::setPredefinedType(const ::Ifc4x3_rc4::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcEventType::setPredefinedType(const ::Ifc4x3_rc4::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value Ifc4x3_rc4::IfcEventType::EventTriggerType() const { return ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcEventType::setEventTriggerType(const ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc4::IfcEventType::setEventTriggerType(const ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x3_rc4::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x3_rc4::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc4::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[425]); } -void Ifc4x3_rc4::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc4::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc4::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[425]); } +void Ifc4x3_rc4::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc4::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc4::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x3_rc4::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10649,13 +10649,13 @@ std::vector< ::Ifc4x3_rc4::IfcProperty > Ifc4x3_rc4::IfcExtendedProperties::Prop void Ifc4x3_rc4::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x3_rc4::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[427]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[427]); } void Ifc4x3_rc4::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x3_rc4::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[428]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[428]); } void Ifc4x3_rc4::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -10666,9 +10666,9 @@ void Ifc4x3_rc4::IfcExternalReference::setIdentification(const std::optional< st std::optional< std::string > Ifc4x3_rc4::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 2)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[432]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[432]); } void Ifc4x3_rc4::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -10678,40 +10678,40 @@ std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > Ifc4x3_rc4::IfcExternalRefe void Ifc4x3_rc4::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[433]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[433]); } void Ifc4x3_rc4::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3_rc4::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary> Ifc4x3_rc4::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[950], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary> Ifc4x3_rc4::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[950], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[434]); } -void Ifc4x3_rc4::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[434]); } +void Ifc4x3_rc4::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x3_rc4::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[436]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[436]); } void Ifc4x3_rc4::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x3_rc4::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[429]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[429]); } void Ifc4x3_rc4::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x3_rc4::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[430]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[430]); } void Ifc4x3_rc4::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x3_rc4::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[431]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[431]); } void Ifc4x3_rc4::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -10721,7 +10721,7 @@ double Ifc4x3_rc4::IfcExtrudedAreaSolid::Depth() const { double v = get_attribu void Ifc4x3_rc4::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[437]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[437]); } void Ifc4x3_rc4::IfcExtrudedAreaSolid::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -10729,16 +10729,16 @@ void Ifc4x3_rc4::IfcExtrudedAreaSolid::initialize(::Ifc4x3_rc4::IfcProfileDef v1 void Ifc4x3_rc4::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_rc4::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[438]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[438]); } void Ifc4x3_rc4::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_rc4::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x3_rc4::IfcFaceBound > Ifc4x3_rc4::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcFaceBound>(es); } void Ifc4x3_rc4::IfcFace::setBounds(const std::vector< ::Ifc4x3_rc4::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc4::IfcTextureMap> Ifc4x3_rc4::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1199], 2)); } +std::vector<::Ifc4x3_rc4::IfcTextureMap> Ifc4x3_rc4::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1199], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcFace::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[439]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[439]); } void Ifc4x3_rc4::IfcFace::initialize(std::vector< ::Ifc4x3_rc4::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -10746,7 +10746,7 @@ std::vector< ::Ifc4x3_rc4::IfcConnectedFaceSet > Ifc4x3_rc4::IfcFaceBasedSurface void Ifc4x3_rc4::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x3_rc4::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[440]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[440]); } void Ifc4x3_rc4::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_rc4::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -10756,13 +10756,13 @@ bool Ifc4x3_rc4::IfcFaceBound::Orientation() const { bool v = get_attribute_val void Ifc4x3_rc4::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[441]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[441]); } void Ifc4x3_rc4::IfcFaceBound::initialize(::Ifc4x3_rc4::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x3_rc4::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[442]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[442]); } void Ifc4x3_rc4::IfcFaceOuterBound::initialize(::Ifc4x3_rc4::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -10772,13 +10772,13 @@ bool Ifc4x3_rc4::IfcFaceSurface::SameSense() const { bool v = get_attribute_val void Ifc4x3_rc4::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[443]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[443]); } void Ifc4x3_rc4::IfcFaceSurface::initialize(std::vector< ::Ifc4x3_rc4::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc4::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x3_rc4::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[444]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[444]); } void Ifc4x3_rc4::IfcFacetedBrep::initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -10786,24 +10786,24 @@ std::vector< ::Ifc4x3_rc4::IfcClosedShell > Ifc4x3_rc4::IfcFacetedBrepWithVoids: void Ifc4x3_rc4::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_rc4::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[445]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[445]); } void Ifc4x3_rc4::IfcFacetedBrepWithVoids::initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc4::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFacility -const IfcParse::entity& Ifc4x3_rc4::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[446]); } -void Ifc4x3_rc4::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[446]); } +void Ifc4x3_rc4::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFacilityPart ::Ifc4x3_rc4::IfcFacilityPartTypeSelect Ifc4x3_rc4::IfcFacilityPart::PredefinedType() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc4::IfcFacilityPartTypeSelect>(); } void Ifc4x3_rc4::IfcFacilityPart::setPredefinedType(const ::Ifc4x3_rc4::IfcFacilityPartTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc4::IfcFacilityUsageEnum::Value Ifc4x3_rc4::IfcFacilityPart::UsageType() const { return ::Ifc4x3_rc4::IfcFacilityUsageEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcFacilityPart::setUsageType(const ::Ifc4x3_rc4::IfcFacilityUsageEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc4::IfcFacilityPart::setUsageType(const ::Ifc4x3_rc4::IfcFacilityUsageEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc4::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[447]); } -void Ifc4x3_rc4::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc4::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc4::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[447]); } +void Ifc4x3_rc4::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc4::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc4::IfcFacilityUsageEnum::Value v11_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (v10_PredefinedType));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcFacilityUsageEnum::Class(),(size_t)v11_UsageType))); } // Function implementations for IfcFailureConnectionCondition std::optional< double > Ifc4x3_rc4::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10820,59 +10820,59 @@ std::optional< double > Ifc4x3_rc4::IfcFailureConnectionCondition::CompressionFa void Ifc4x3_rc4::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[451]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[451]); } void Ifc4x3_rc4::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x3_rc4::IfcFanTypeEnum::Value > Ifc4x3_rc4::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFan::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[452]); } -void Ifc4x3_rc4::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[452]); } +void Ifc4x3_rc4::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x3_rc4::IfcFanTypeEnum::Value Ifc4x3_rc4::IfcFanType::PredefinedType() const { return ::Ifc4x3_rc4::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcFanType::setPredefinedType(const ::Ifc4x3_rc4::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcFanType::setPredefinedType(const ::Ifc4x3_rc4::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[453]); } -void Ifc4x3_rc4::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[453]); } +void Ifc4x3_rc4::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value > Ifc4x3_rc4::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[455]); } -void Ifc4x3_rc4::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[455]); } +void Ifc4x3_rc4::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value Ifc4x3_rc4::IfcFastenerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcFastenerType::setPredefinedType(const ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcFastenerType::setPredefinedType(const ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[456]); } -void Ifc4x3_rc4::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[456]); } +void Ifc4x3_rc4::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x3_rc4::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[458]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[458]); } void Ifc4x3_rc4::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x3_rc4::IfcRelProjectsElement> Ifc4x3_rc4::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[946], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelProjectsElement> Ifc4x3_rc4::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[946], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[459]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[459]); } void Ifc4x3_rc4::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x3_rc4::IfcRelVoidsElement> Ifc4x3_rc4::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[953], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelVoidsElement> Ifc4x3_rc4::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[953], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[460]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[460]); } void Ifc4x3_rc4::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -10882,7 +10882,7 @@ std::optional< bool > Ifc4x3_rc4::IfcFillAreaStyle::ModelOrDraughting() const { void Ifc4x3_rc4::IfcFillAreaStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[461]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[461]); } void Ifc4x3_rc4::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc4::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -10898,7 +10898,7 @@ double Ifc4x3_rc4::IfcFillAreaStyleHatching::HatchLineAngle() const { double v void Ifc4x3_rc4::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[462]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[462]); } void Ifc4x3_rc4::IfcFillAreaStyleHatching::initialize(::Ifc4x3_rc4::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_rc4::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_rc4::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_rc4::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -10910,231 +10910,231 @@ double Ifc4x3_rc4::IfcFillAreaStyleTiles::TilingScale() const { double v = get_ void Ifc4x3_rc4::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[463]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[463]); } void Ifc4x3_rc4::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x3_rc4::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_rc4::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x3_rc4::IfcFilterTypeEnum::Value > Ifc4x3_rc4::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[465]); } -void Ifc4x3_rc4::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[465]); } +void Ifc4x3_rc4::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x3_rc4::IfcFilterTypeEnum::Value Ifc4x3_rc4::IfcFilterType::PredefinedType() const { return ::Ifc4x3_rc4::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcFilterType::setPredefinedType(const ::Ifc4x3_rc4::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcFilterType::setPredefinedType(const ::Ifc4x3_rc4::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[466]); } -void Ifc4x3_rc4::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[466]); } +void Ifc4x3_rc4::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3_rc4::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[468]); } -void Ifc4x3_rc4::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[468]); } +void Ifc4x3_rc4::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_rc4::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[469]); } -void Ifc4x3_rc4::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[469]); } +void Ifc4x3_rc4::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x3_rc4::IfcDirection Ifc4x3_rc4::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc4::IfcDirection>(); } void Ifc4x3_rc4::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[471]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[471]); } void Ifc4x3_rc4::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcCurve v3_Directrix, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc4::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc4::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x3_rc4::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[472]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[472]); } void Ifc4x3_rc4::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x3_rc4::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[473]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[473]); } void Ifc4x3_rc4::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x3_rc4::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[475]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[475]); } void Ifc4x3_rc4::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x3_rc4::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[476]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[476]); } void Ifc4x3_rc4::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value > Ifc4x3_rc4::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[477]); } -void Ifc4x3_rc4::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[477]); } +void Ifc4x3_rc4::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value Ifc4x3_rc4::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[478]); } -void Ifc4x3_rc4::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[478]); } +void Ifc4x3_rc4::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value > Ifc4x3_rc4::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[480]); } -void Ifc4x3_rc4::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[480]); } +void Ifc4x3_rc4::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value Ifc4x3_rc4::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[481]); } -void Ifc4x3_rc4::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[481]); } +void Ifc4x3_rc4::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x3_rc4::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[483]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[483]); } void Ifc4x3_rc4::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x3_rc4::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[484]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[484]); } void Ifc4x3_rc4::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x3_rc4::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[485]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[485]); } void Ifc4x3_rc4::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x3_rc4::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[486]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[486]); } void Ifc4x3_rc4::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x3_rc4::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[487]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[487]); } void Ifc4x3_rc4::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x3_rc4::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[488]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[488]); } void Ifc4x3_rc4::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x3_rc4::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[489]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[489]); } void Ifc4x3_rc4::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x3_rc4::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[490]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[490]); } void Ifc4x3_rc4::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x3_rc4::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[491]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[491]); } void Ifc4x3_rc4::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x3_rc4::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[492]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[492]); } void Ifc4x3_rc4::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x3_rc4::IfcFootingTypeEnum::Value > Ifc4x3_rc4::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[496]); } -void Ifc4x3_rc4::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[496]); } +void Ifc4x3_rc4::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x3_rc4::IfcFootingTypeEnum::Value Ifc4x3_rc4::IfcFootingType::PredefinedType() const { return ::Ifc4x3_rc4::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcFootingType::setPredefinedType(const ::Ifc4x3_rc4::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcFootingType::setPredefinedType(const ::Ifc4x3_rc4::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[497]); } -void Ifc4x3_rc4::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[497]); } +void Ifc4x3_rc4::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x3_rc4::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[501]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[501]); } void Ifc4x3_rc4::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x3_rc4::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[502]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[502]); } void Ifc4x3_rc4::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > Ifc4x3_rc4::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[503]); } -void Ifc4x3_rc4::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[503]); } +void Ifc4x3_rc4::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value Ifc4x3_rc4::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > Ifc4x3_rc4::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[504]); } -void Ifc4x3_rc4::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[504]); } +void Ifc4x3_rc4::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value > Ifc4x3_rc4::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[506]); } -void Ifc4x3_rc4::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[506]); } +void Ifc4x3_rc4::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value Ifc4x3_rc4::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[507]); } -void Ifc4x3_rc4::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[507]); } +void Ifc4x3_rc4::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x3_rc4::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[509]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[509]); } void Ifc4x3_rc4::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_rc4::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -11147,16 +11147,16 @@ void Ifc4x3_rc4::IfcGeometricRepresentationContext::setWorldCoordinateSystem(con ::Ifc4x3_rc4::IfcDirection Ifc4x3_rc4::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc4::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc4::IfcDirection>(); } void Ifc4x3_rc4::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc4::IfcGeometricRepresentationSubContext> Ifc4x3_rc4::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[513], 6)); } -std::vector<::Ifc4x3_rc4::IfcCoordinateOperation> Ifc4x3_rc4::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[245], 0)); } +std::vector<::Ifc4x3_rc4::IfcGeometricRepresentationSubContext> Ifc4x3_rc4::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[513], 6)); } +std::vector<::Ifc4x3_rc4::IfcCoordinateOperation> Ifc4x3_rc4::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[245], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[511]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[511]); } void Ifc4x3_rc4::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_rc4::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_rc4::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x3_rc4::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[512]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[512]); } void Ifc4x3_rc4::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -11165,50 +11165,50 @@ void Ifc4x3_rc4::IfcGeometricRepresentationSubContext::setParentContext(const :: std::optional< double > Ifc4x3_rc4::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_rc4::IfcGeometricProjectionEnum::Value Ifc4x3_rc4::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x3_rc4::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_rc4::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_rc4::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x3_rc4::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[513]); } -void Ifc4x3_rc4::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc4::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc4::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[513]); } +void Ifc4x3_rc4::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc4::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc4::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x3_rc4::IfcGeometricSetSelect > Ifc4x3_rc4::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcGeometricSetSelect>(es); } void Ifc4x3_rc4::IfcGeometricSet::setElements(const std::vector< ::Ifc4x3_rc4::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[514]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[514]); } void Ifc4x3_rc4::IfcGeometricSet::initialize(std::vector< ::Ifc4x3_rc4::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeomodel -const IfcParse::entity& Ifc4x3_rc4::IfcGeomodel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[516]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeomodel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[516]); } void Ifc4x3_rc4::IfcGeomodel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeoslice -const IfcParse::entity& Ifc4x3_rc4::IfcGeoslice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[517]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeoslice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[517]); } void Ifc4x3_rc4::IfcGeoslice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalAssembly -const IfcParse::entity& Ifc4x3_rc4::IfcGeotechnicalAssembly::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[518]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeotechnicalAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[518]); } void Ifc4x3_rc4::IfcGeotechnicalAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalElement -const IfcParse::entity& Ifc4x3_rc4::IfcGeotechnicalElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[519]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeotechnicalElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[519]); } void Ifc4x3_rc4::IfcGeotechnicalElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalStratum -const IfcParse::entity& Ifc4x3_rc4::IfcGeotechnicalStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[520]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGeotechnicalStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[520]); } void Ifc4x3_rc4::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGradientCurve @@ -11218,7 +11218,7 @@ void Ifc4x3_rc4::IfcGradientCurve::setBaseCurve(const ::Ifc4x3_rc4::IfcBoundedCu void Ifc4x3_rc4::IfcGradientCurve::setEndPoint(const ::Ifc4x3_rc4::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcGradientCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[523]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGradientCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[523]); } void Ifc4x3_rc4::IfcGradientCurve::initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_rc4::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_rc4::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcGrid @@ -11229,11 +11229,11 @@ void Ifc4x3_rc4::IfcGrid::setVAxes(const std::vector< ::Ifc4x3_rc4::IfcGridAxis std::optional< std::vector< ::Ifc4x3_rc4::IfcGridAxis > > Ifc4x3_rc4::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_rc4::IfcGridAxis>(es); } void Ifc4x3_rc4::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x3_rc4::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc4::IfcGridTypeEnum::Value > Ifc4x3_rc4::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[524]); } -void Ifc4x3_rc4::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc4::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc4::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc4::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc4::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[524]); } +void Ifc4x3_rc4::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc4::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc4::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc4::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc4::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x3_rc4::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11243,12 +11243,12 @@ void Ifc4x3_rc4::IfcGridAxis::setAxisCurve(const ::Ifc4x3_rc4::IfcCurve& v) { se bool Ifc4x3_rc4::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_rc4::IfcGrid> Ifc4x3_rc4::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[524], 9)); } -std::vector<::Ifc4x3_rc4::IfcGrid> Ifc4x3_rc4::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[524], 8)); } -std::vector<::Ifc4x3_rc4::IfcGrid> Ifc4x3_rc4::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[524], 7)); } -std::vector<::Ifc4x3_rc4::IfcVirtualGridIntersection> Ifc4x3_rc4::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1276], 0)); } +std::vector<::Ifc4x3_rc4::IfcGrid> Ifc4x3_rc4::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[524], 9)); } +std::vector<::Ifc4x3_rc4::IfcGrid> Ifc4x3_rc4::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[524], 8)); } +std::vector<::Ifc4x3_rc4::IfcGrid> Ifc4x3_rc4::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[524], 7)); } +std::vector<::Ifc4x3_rc4::IfcVirtualGridIntersection> Ifc4x3_rc4::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1276], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[525]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[525]); } void Ifc4x3_rc4::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_rc4::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -11258,14 +11258,14 @@ void Ifc4x3_rc4::IfcGridPlacement::setPlacementLocation(const ::Ifc4x3_rc4::IfcV void Ifc4x3_rc4::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x3_rc4::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[526]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[526]); } void Ifc4x3_rc4::IfcGridPlacement::initialize(::Ifc4x3_rc4::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc4::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_rc4::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x3_rc4::IfcRelAssignsToGroup> Ifc4x3_rc4::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[908], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelAssignsToGroup> Ifc4x3_rc4::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[908], 6)); } -const IfcParse::entity& Ifc4x3_rc4::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[529]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[529]); } void Ifc4x3_rc4::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -11275,40 +11275,40 @@ bool Ifc4x3_rc4::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attrib void Ifc4x3_rc4::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[530]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[530]); } void Ifc4x3_rc4::IfcHalfSpaceSolid::initialize(::Ifc4x3_rc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value > Ifc4x3_rc4::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[532]); } -void Ifc4x3_rc4::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[532]); } +void Ifc4x3_rc4::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value Ifc4x3_rc4::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[533]); } -void Ifc4x3_rc4::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[533]); } +void Ifc4x3_rc4::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value > Ifc4x3_rc4::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[537]); } -void Ifc4x3_rc4::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[537]); } +void Ifc4x3_rc4::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value Ifc4x3_rc4::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3_rc4::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[538]); } -void Ifc4x3_rc4::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[538]); } +void Ifc4x3_rc4::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x3_rc4::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -11327,15 +11327,15 @@ std::optional< double > Ifc4x3_rc4::IfcIShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc4::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[567]); } -void Ifc4x3_rc4::IfcIShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[567]); } +void Ifc4x3_rc4::IfcIShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x3_rc4::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[542]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[542]); } void Ifc4x3_rc4::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcImpactProtectionDevice @@ -11343,7 +11343,7 @@ void Ifc4x3_rc4::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, s void Ifc4x3_rc4::IfcImpactProtectionDevice::setPredefinedType(const ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcImpactProtectionDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[543]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcImpactProtectionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[543]); } void Ifc4x3_rc4::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_PredefinedType)); } // Function implementations for IfcImpactProtectionDeviceType @@ -11351,7 +11351,7 @@ void Ifc4x3_rc4::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, void Ifc4x3_rc4::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcImpactProtectionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[544]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcImpactProtectionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[544]); } void Ifc4x3_rc4::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_PredefinedType)); } // Function implementations for IfcIndexedColourMap @@ -11365,7 +11365,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_rc4::IfcIndexedColourMap::ColourIndex() cons void Ifc4x3_rc4::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[547]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[547]); } void Ifc4x3_rc4::IfcIndexedColourMap::initialize(::Ifc4x3_rc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc4::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -11377,16 +11377,16 @@ std::optional< bool > Ifc4x3_rc4::IfcIndexedPolyCurve::SelfIntersect() const { i void Ifc4x3_rc4::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[548]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[548]); } void Ifc4x3_rc4::IfcIndexedPolyCurve::initialize(::Ifc4x3_rc4::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_rc4::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x3_rc4::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x3_rc4::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc4::IfcPolygonalFaceSet> Ifc4x3_rc4::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[776], 2)); } +std::vector<::Ifc4x3_rc4::IfcPolygonalFaceSet> Ifc4x3_rc4::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[776], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[549]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[549]); } void Ifc4x3_rc4::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -11394,7 +11394,7 @@ std::vector< std::vector< int > > Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids:: void Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[550]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[550]); } void Ifc4x3_rc4::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -11404,7 +11404,7 @@ void Ifc4x3_rc4::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x3_rc4::IfcTessel void Ifc4x3_rc4::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x3_rc4::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[551]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[551]); } void Ifc4x3_rc4::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc4::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -11412,34 +11412,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x3_rc4::IfcIndexedTriangl void Ifc4x3_rc4::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[552]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[552]); } void Ifc4x3_rc4::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc4::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value > Ifc4x3_rc4::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[556]); } -void Ifc4x3_rc4::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[556]); } +void Ifc4x3_rc4::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value Ifc4x3_rc4::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[557]); } -void Ifc4x3_rc4::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[557]); } +void Ifc4x3_rc4::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x3_rc4::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[561]); } -void Ifc4x3_rc4::IfcIntersectionCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[561]); } +void Ifc4x3_rc4::IfcIntersectionCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x3_rc4::IfcInventoryTypeEnum::Value > Ifc4x3_rc4::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc4::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x3_rc4::IfcActorSelect Ifc4x3_rc4::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc4::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcActorSelect>(); } void Ifc4x3_rc4::IfcInventory::setJurisdiction(const ::Ifc4x3_rc4::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > Ifc4x3_rc4::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc4::IfcPerson>(es); } @@ -11452,16 +11452,16 @@ void Ifc4x3_rc4::IfcInventory::setCurrentValue(const ::Ifc4x3_rc4::IfcCostValue& void Ifc4x3_rc4::IfcInventory::setOriginalValue(const ::Ifc4x3_rc4::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc4::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[562]); } -void Ifc4x3_rc4::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc4::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc4::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc4::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc4::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[562]); } +void Ifc4x3_rc4::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc4::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc4::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc4::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc4::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x3_rc4::IfcIrregularTimeSeriesValue > Ifc4x3_rc4::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_rc4::IfcIrregularTimeSeriesValue>(es); } void Ifc4x3_rc4::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x3_rc4::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[565]); } -void Ifc4x3_rc4::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc4::IfcIrregularTimeSeriesValue > v9_Values) { 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_rc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[565]); } +void Ifc4x3_rc4::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc4::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x3_rc4::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -11470,31 +11470,31 @@ std::vector< ::Ifc4x3_rc4::IfcValue > Ifc4x3_rc4::IfcIrregularTimeSeriesValue::L void Ifc4x3_rc4::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_rc4::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[566]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[566]); } void Ifc4x3_rc4::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_rc4::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value > Ifc4x3_rc4::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[569]); } -void Ifc4x3_rc4::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[569]); } +void Ifc4x3_rc4::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value Ifc4x3_rc4::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[570]); } -void Ifc4x3_rc4::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[570]); } +void Ifc4x3_rc4::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcKerb bool Ifc4x3_rc4::IfcKerb::Mountable() const { bool v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcKerb::setMountable(const bool& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcKerb::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[572]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcKerb::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[572]); } void Ifc4x3_rc4::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_Mountable)); } // Function implementations for IfcKerbType @@ -11502,7 +11502,7 @@ bool Ifc4x3_rc4::IfcKerbType::Mountable() const { bool v = get_attribute_value( void Ifc4x3_rc4::IfcKerbType::setMountable(const bool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcKerbType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[573]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcKerbType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[573]); } void Ifc4x3_rc4::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_Mountable)); } // Function implementations for IfcLShapeProfileDef @@ -11520,50 +11520,50 @@ std::optional< double > Ifc4x3_rc4::IfcLShapeProfileDef::LegSlope() const { if(g void Ifc4x3_rc4::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[622]); } -void Ifc4x3_rc4::IfcLShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[622]); } +void Ifc4x3_rc4::IfcLShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value > Ifc4x3_rc4::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[577]); } -void Ifc4x3_rc4::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[577]); } +void Ifc4x3_rc4::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value Ifc4x3_rc4::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc4::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[578]); } -void Ifc4x3_rc4::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[578]); } +void Ifc4x3_rc4::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x3_rc4::IfcTimeOrRatioSelect Ifc4x3_rc4::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc4::IfcTimeOrRatioSelect>(); } void Ifc4x3_rc4::IfcLagTime::setLagValue(const ::Ifc4x3_rc4::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc4::IfcTaskDurationEnum::Value Ifc4x3_rc4::IfcLagTime::DurationType() const { return ::Ifc4x3_rc4::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc4::IfcLagTime::setDurationType(const ::Ifc4x3_rc4::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc4::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc4::IfcLagTime::setDurationType(const ::Ifc4x3_rc4::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc4::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[580]); } -void Ifc4x3_rc4::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc4::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc4::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[580]); } +void Ifc4x3_rc4::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc4::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc4::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x3_rc4::IfcLampTypeEnum::Value > Ifc4x3_rc4::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[581]); } -void Ifc4x3_rc4::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[581]); } +void Ifc4x3_rc4::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x3_rc4::IfcLampTypeEnum::Value Ifc4x3_rc4::IfcLampType::PredefinedType() const { return ::Ifc4x3_rc4::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcLampType::setPredefinedType(const ::Ifc4x3_rc4::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcLampType::setPredefinedType(const ::Ifc4x3_rc4::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[582]); } -void Ifc4x3_rc4::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[582]); } +void Ifc4x3_rc4::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x3_rc4::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11579,10 +11579,10 @@ void Ifc4x3_rc4::IfcLibraryInformation::setLocation(const std::optional< std::st std::optional< std::string > Ifc4x3_rc4::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc4::IfcRelAssociatesLibrary> Ifc4x3_rc4::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[918], 5)); } -std::vector<::Ifc4x3_rc4::IfcLibraryReference> Ifc4x3_rc4::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[589], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociatesLibrary> Ifc4x3_rc4::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[918], 5)); } +std::vector<::Ifc4x3_rc4::IfcLibraryReference> Ifc4x3_rc4::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[589], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[588]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[588]); } void Ifc4x3_rc4::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_rc4::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -11593,9 +11593,9 @@ void Ifc4x3_rc4::IfcLibraryReference::setLanguage(const std::optional< std::stri ::Ifc4x3_rc4::IfcLibraryInformation Ifc4x3_rc4::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc4::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc4::IfcLibraryInformation>(); } void Ifc4x3_rc4::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x3_rc4::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_rc4::IfcRelAssociatesLibrary> Ifc4x3_rc4::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[918], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociatesLibrary> Ifc4x3_rc4::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[918], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[589]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[589]); } void Ifc4x3_rc4::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_rc4::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -11607,34 +11607,34 @@ std::vector< double > /*[1:?]*/ Ifc4x3_rc4::IfcLightDistributionData::LuminousIn void Ifc4x3_rc4::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[592]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[592]); } void Ifc4x3_rc4::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value > Ifc4x3_rc4::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[595]); } -void Ifc4x3_rc4::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[595]); } +void Ifc4x3_rc4::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value Ifc4x3_rc4::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[596]); } -void Ifc4x3_rc4::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[596]); } +void Ifc4x3_rc4::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value Ifc4x3_rc4::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3_rc4::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc4::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc4::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x3_rc4::IfcLightDistributionData > Ifc4x3_rc4::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc4::IfcLightDistributionData>(es); } void Ifc4x3_rc4::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x3_rc4::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[598]); } -void Ifc4x3_rc4::IfcLightIntensityDistribution::initialize(::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc4::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[598]); } +void Ifc4x3_rc4::IfcLightIntensityDistribution::initialize(::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc4::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x3_rc4::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11647,13 +11647,13 @@ std::optional< double > Ifc4x3_rc4::IfcLightSource::Intensity() const { if(get_a void Ifc4x3_rc4::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[599]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[599]); } void Ifc4x3_rc4::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x3_rc4::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[600]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[600]); } void Ifc4x3_rc4::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -11661,7 +11661,7 @@ void Ifc4x3_rc4::IfcLightSourceAmbient::initialize(std::optional< std::string > void Ifc4x3_rc4::IfcLightSourceDirectional::setOrientation(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[601]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[601]); } void Ifc4x3_rc4::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc4::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -11674,13 +11674,13 @@ void Ifc4x3_rc4::IfcLightSourceGoniometric::setColourTemperature(const double& v double Ifc4x3_rc4::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value Ifc4x3_rc4::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x3_rc4::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc4::IfcLightDistributionDataSourceSelect Ifc4x3_rc4::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc4::IfcLightDistributionDataSourceSelect>(); } void Ifc4x3_rc4::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x3_rc4::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[602]); } -void Ifc4x3_rc4::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc4::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc4::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc4::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[602]); } +void Ifc4x3_rc4::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc4::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc4::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc4::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x3_rc4::IfcCartesianPoint Ifc4x3_rc4::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcCartesianPoint>(); } @@ -11695,7 +11695,7 @@ double Ifc4x3_rc4::IfcLightSourcePositional::QuadricAttenuation() const { doubl void Ifc4x3_rc4::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[603]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[603]); } void Ifc4x3_rc4::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc4::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -11709,7 +11709,7 @@ double Ifc4x3_rc4::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_ void Ifc4x3_rc4::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_rc4::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[604]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[604]); } void Ifc4x3_rc4::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc4::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_rc4::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -11719,13 +11719,13 @@ void Ifc4x3_rc4::IfcLine::setPnt(const ::Ifc4x3_rc4::IfcCartesianPoint& v) { set void Ifc4x3_rc4::IfcLine::setDir(const ::Ifc4x3_rc4::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcLine::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[605]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[605]); } void Ifc4x3_rc4::IfcLine::initialize(::Ifc4x3_rc4::IfcCartesianPoint v1_Pnt, ::Ifc4x3_rc4::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLinearElement -const IfcParse::entity& Ifc4x3_rc4::IfcLinearElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[606]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLinearElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[606]); } void Ifc4x3_rc4::IfcLinearElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLinearPlacement @@ -11735,43 +11735,43 @@ void Ifc4x3_rc4::IfcLinearPlacement::setRelativePlacement(const ::Ifc4x3_rc4::If void Ifc4x3_rc4::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[609]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[609]); } void Ifc4x3_rc4::IfcLinearPlacement::initialize(::Ifc4x3_rc4::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc4::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_rc4::IfcAxis2Placement3D v3_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement));set_attribute_value(2, (v3_CartesianPosition)); } // Function implementations for IfcLinearPositioningElement -const IfcParse::entity& Ifc4x3_rc4::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[610]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[610]); } void Ifc4x3_rc4::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLiquidTerminal std::optional< ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value > Ifc4x3_rc4::IfcLiquidTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcLiquidTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[614]); } -void Ifc4x3_rc4::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLiquidTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[614]); } +void Ifc4x3_rc4::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLiquidTerminalType ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value Ifc4x3_rc4::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcLiquidTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[615]); } -void Ifc4x3_rc4::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLiquidTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[615]); } +void Ifc4x3_rc4::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLocalPlacement ::Ifc4x3_rc4::IfcAxis2Placement Ifc4x3_rc4::IfcLocalPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcAxis2Placement>(); } void Ifc4x3_rc4::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x3_rc4::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[618]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[618]); } void Ifc4x3_rc4::IfcLocalPlacement::initialize(::Ifc4x3_rc4::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc4::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x3_rc4::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[621]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[621]); } void Ifc4x3_rc4::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -11779,7 +11779,7 @@ void Ifc4x3_rc4::IfcLoop::initialize() { } void Ifc4x3_rc4::IfcManifoldSolidBrep::setOuter(const ::Ifc4x3_rc4::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[628]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[628]); } void Ifc4x3_rc4::IfcManifoldSolidBrep::initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -11801,7 +11801,7 @@ std::optional< double > Ifc4x3_rc4::IfcMapConversion::ScaleZ() const { if(get_at void Ifc4x3_rc4::IfcMapConversion::setScaleZ(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[629]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[629]); } void Ifc4x3_rc4::IfcMapConversion::initialize(::Ifc4x3_rc4::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc4::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, std::optional< double > v9_ScaleY, std::optional< double > v10_ScaleZ) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } if (v9_ScaleY) {set_attribute_value(8, (*v9_ScaleY)); } if (v10_ScaleZ) {set_attribute_value(9, (*v10_ScaleZ)); } } // Function implementations for IfcMappedItem @@ -11811,16 +11811,16 @@ void Ifc4x3_rc4::IfcMappedItem::setMappingSource(const ::Ifc4x3_rc4::IfcRepresen void Ifc4x3_rc4::IfcMappedItem::setMappingTarget(const ::Ifc4x3_rc4::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[630]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[630]); } void Ifc4x3_rc4::IfcMappedItem::initialize(::Ifc4x3_rc4::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_rc4::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMarineFacility std::optional< ::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value > Ifc4x3_rc4::IfcMarineFacility::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMarineFacility::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[631]); } -void Ifc4x3_rc4::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMarineFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[631]); } +void Ifc4x3_rc4::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcMaterial std::string Ifc4x3_rc4::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11830,11 +11830,11 @@ void Ifc4x3_rc4::IfcMaterial::setDescription(const std::optional< std::string >& std::optional< std::string > Ifc4x3_rc4::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_rc4::IfcMaterialDefinitionRepresentation> Ifc4x3_rc4::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[643], 3)); } -std::vector<::Ifc4x3_rc4::IfcMaterialRelationship> Ifc4x3_rc4::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[655], 3)); } -std::vector<::Ifc4x3_rc4::IfcMaterialRelationship> Ifc4x3_rc4::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[655], 2)); } +std::vector<::Ifc4x3_rc4::IfcMaterialDefinitionRepresentation> Ifc4x3_rc4::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[643], 3)); } +std::vector<::Ifc4x3_rc4::IfcMaterialRelationship> Ifc4x3_rc4::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[655], 3)); } +std::vector<::Ifc4x3_rc4::IfcMaterialRelationship> Ifc4x3_rc4::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[655], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[638]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[638]); } void Ifc4x3_rc4::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -11844,7 +11844,7 @@ void Ifc4x3_rc4::IfcMaterialClassificationRelationship::setMaterialClassificatio void Ifc4x3_rc4::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x3_rc4::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[639]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[639]); } void Ifc4x3_rc4::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x3_rc4::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_rc4::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -11859,9 +11859,9 @@ void Ifc4x3_rc4::IfcMaterialConstituent::setFraction(const std::optional< double std::optional< std::string > Ifc4x3_rc4::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc4::IfcMaterialConstituentSet> Ifc4x3_rc4::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[641], 2)); } +std::vector<::Ifc4x3_rc4::IfcMaterialConstituentSet> Ifc4x3_rc4::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[641], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[640]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[640]); } void Ifc4x3_rc4::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -11873,16 +11873,16 @@ std::optional< std::vector< ::Ifc4x3_rc4::IfcMaterialConstituent > > Ifc4x3_rc4: void Ifc4x3_rc4::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_rc4::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[641]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[641]); } void Ifc4x3_rc4::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x3_rc4::IfcRelAssociatesMaterial> Ifc4x3_rc4::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[919], 5)); } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -std::vector<::Ifc4x3_rc4::IfcMaterialProperties> Ifc4x3_rc4::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[654], 3)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociatesMaterial> Ifc4x3_rc4::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[919], 5)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcMaterialProperties> Ifc4x3_rc4::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[654], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[642]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[642]); } void Ifc4x3_rc4::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -11890,7 +11890,7 @@ void Ifc4x3_rc4::IfcMaterialDefinition::initialize() { } void Ifc4x3_rc4::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x3_rc4::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[643]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[643]); } void Ifc4x3_rc4::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcRepresentation > v3_Representations, ::Ifc4x3_rc4::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -11909,9 +11909,9 @@ void Ifc4x3_rc4::IfcMaterialLayer::setCategory(const std::optional< std::string std::optional< int > Ifc4x3_rc4::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc4::IfcMaterialLayerSet> Ifc4x3_rc4::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[645], 0)); } +std::vector<::Ifc4x3_rc4::IfcMaterialLayerSet> Ifc4x3_rc4::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[645], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[644]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[644]); } void Ifc4x3_rc4::IfcMaterialLayer::initialize(::Ifc4x3_rc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -11923,41 +11923,41 @@ std::optional< std::string > Ifc4x3_rc4::IfcMaterialLayerSet::Description() cons void Ifc4x3_rc4::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[645]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[645]); } void Ifc4x3_rc4::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x3_rc4::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x3_rc4::IfcMaterialLayerSet Ifc4x3_rc4::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcMaterialLayerSet>(); } void Ifc4x3_rc4::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x3_rc4::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value Ifc4x3_rc4::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc4::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc4::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc4::IfcDirectionSenseEnum::Value Ifc4x3_rc4::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x3_rc4::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc4::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_rc4::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc4::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc4::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_rc4::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc4::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x3_rc4::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x3_rc4::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x3_rc4::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[646]); } -void Ifc4x3_rc4::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_rc4::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc4::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[646]); } +void Ifc4x3_rc4::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_rc4::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc4::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value Ifc4x3_rc4::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc4::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x3_rc4::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[647]); } -void Ifc4x3_rc4::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_rc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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_rc4::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[647]); } +void Ifc4x3_rc4::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_rc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x3_rc4::IfcMaterial > Ifc4x3_rc4::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcMaterial>(es); } void Ifc4x3_rc4::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x3_rc4::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[648]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[648]); } void Ifc4x3_rc4::IfcMaterialList::initialize(std::vector< ::Ifc4x3_rc4::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -11974,9 +11974,9 @@ void Ifc4x3_rc4::IfcMaterialProfile::setPriority(const std::optional< int >& v) std::optional< std::string > Ifc4x3_rc4::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc4::IfcMaterialProfileSet> Ifc4x3_rc4::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[650], 2)); } +std::vector<::Ifc4x3_rc4::IfcMaterialProfileSet> Ifc4x3_rc4::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[650], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[649]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[649]); } void Ifc4x3_rc4::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMaterial v3_Material, ::Ifc4x3_rc4::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -11990,7 +11990,7 @@ void Ifc4x3_rc4::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< : void Ifc4x3_rc4::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x3_rc4::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[650]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[650]); } void Ifc4x3_rc4::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_rc4::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -12002,7 +12002,7 @@ std::optional< double > Ifc4x3_rc4::IfcMaterialProfileSetUsage::ReferenceExtent( void Ifc4x3_rc4::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[651]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[651]); } void Ifc4x3_rc4::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_rc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -12012,7 +12012,7 @@ std::optional< int > Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::CardinalEnd void Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[652]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[652]); } void Ifc4x3_rc4::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_rc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc4::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -12020,7 +12020,7 @@ std::vector< double > /*[1:2]*/ Ifc4x3_rc4::IfcMaterialProfileWithOffsets::Offse void Ifc4x3_rc4::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[653]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[653]); } void Ifc4x3_rc4::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMaterial v3_Material, ::Ifc4x3_rc4::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -12028,7 +12028,7 @@ void Ifc4x3_rc4::IfcMaterialProfileWithOffsets::initialize(std::optional< std::s void Ifc4x3_rc4::IfcMaterialProperties::setMaterial(const ::Ifc4x3_rc4::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[654]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[654]); } void Ifc4x3_rc4::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcProperty > v3_Properties, ::Ifc4x3_rc4::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -12040,14 +12040,14 @@ std::optional< std::string > Ifc4x3_rc4::IfcMaterialRelationship::Expression() c void Ifc4x3_rc4::IfcMaterialRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[655]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[655]); } void Ifc4x3_rc4::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_rc4::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x3_rc4::IfcRelAssociatesMaterial> Ifc4x3_rc4::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[919], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociatesMaterial> Ifc4x3_rc4::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[919], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[657]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[657]); } void Ifc4x3_rc4::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -12057,7 +12057,7 @@ void Ifc4x3_rc4::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x3_rc4::IfcVa void Ifc4x3_rc4::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x3_rc4::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[659]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[659]); } void Ifc4x3_rc4::IfcMeasureWithUnit::initialize(::Ifc4x3_rc4::IfcValue v1_ValueComponent, ::Ifc4x3_rc4::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -12066,65 +12066,65 @@ void Ifc4x3_rc4::IfcMechanicalFastener::setNominalDiameter(const std::optional< std::optional< double > Ifc4x3_rc4::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value > Ifc4x3_rc4::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[660]); } -void Ifc4x3_rc4::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[660]); } +void Ifc4x3_rc4::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_rc4::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc4::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc4::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc4::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[661]); } -void Ifc4x3_rc4::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[661]); } +void Ifc4x3_rc4::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value > Ifc4x3_rc4::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[663]); } -void Ifc4x3_rc4::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[663]); } +void Ifc4x3_rc4::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value Ifc4x3_rc4::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[664]); } -void Ifc4x3_rc4::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[664]); } +void Ifc4x3_rc4::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value > Ifc4x3_rc4::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMember::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[666]); } -void Ifc4x3_rc4::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[666]); } +void Ifc4x3_rc4::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberStandardCase -const IfcParse::entity& Ifc4x3_rc4::IfcMemberStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[667]); } -void Ifc4x3_rc4::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMemberStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[667]); } +void Ifc4x3_rc4::IfcMemberStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x3_rc4::IfcMemberTypeEnum::Value Ifc4x3_rc4::IfcMemberType::PredefinedType() const { return ::Ifc4x3_rc4::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcMemberType::setPredefinedType(const ::Ifc4x3_rc4::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcMemberType::setPredefinedType(const ::Ifc4x3_rc4::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[668]); } -void Ifc4x3_rc4::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[668]); } +void Ifc4x3_rc4::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x3_rc4::IfcBenchmarkEnum::Value Ifc4x3_rc4::IfcMetric::Benchmark() const { return ::Ifc4x3_rc4::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcMetric::setBenchmark(const ::Ifc4x3_rc4::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc4::IfcMetric::setBenchmark(const ::Ifc4x3_rc4::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_rc4::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x3_rc4::IfcMetricValueSelect Ifc4x3_rc4::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_rc4::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc4::IfcMetricValueSelect>(); } @@ -12133,159 +12133,159 @@ void Ifc4x3_rc4::IfcMetric::setDataValue(const ::Ifc4x3_rc4::IfcMetricValueSelec void Ifc4x3_rc4::IfcMetric::setReferencePath(const ::Ifc4x3_rc4::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc4::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[670]); } -void Ifc4x3_rc4::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc4::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc4::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc4::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[670]); } +void Ifc4x3_rc4::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc4::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc4::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc4::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x3_rc4::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[672]); } -void Ifc4x3_rc4::IfcMirroredProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[672]); } +void Ifc4x3_rc4::IfcMirroredProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMobileTelecommunicationsAppliance std::optional< ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3_rc4::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMobileTelecommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[673]); } -void Ifc4x3_rc4::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMobileTelecommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[673]); } +void Ifc4x3_rc4::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMobileTelecommunicationsApplianceType ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[674]); } -void Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[674]); } +void Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMonetaryUnit std::string Ifc4x3_rc4::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc4::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[687]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[687]); } void Ifc4x3_rc4::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMooringDevice std::optional< ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value > Ifc4x3_rc4::IfcMooringDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMooringDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[689]); } -void Ifc4x3_rc4::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMooringDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[689]); } +void Ifc4x3_rc4::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMooringDeviceType ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value Ifc4x3_rc4::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcMooringDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[690]); } -void Ifc4x3_rc4::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMooringDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[690]); } +void Ifc4x3_rc4::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value > Ifc4x3_rc4::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[692]); } -void Ifc4x3_rc4::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[692]); } +void Ifc4x3_rc4::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value Ifc4x3_rc4::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[693]); } -void Ifc4x3_rc4::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[693]); } +void Ifc4x3_rc4::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x3_rc4::IfcDimensionalExponents Ifc4x3_rc4::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcDimensionalExponents>(); } void Ifc4x3_rc4::IfcNamedUnit::setDimensions(const ::Ifc4x3_rc4::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc4::IfcUnitEnum::Value Ifc4x3_rc4::IfcNamedUnit::UnitType() const { return ::Ifc4x3_rc4::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc4::IfcNamedUnit::setUnitType(const ::Ifc4x3_rc4::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc4::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc4::IfcNamedUnit::setUnitType(const ::Ifc4x3_rc4::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc4::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[695]); } -void Ifc4x3_rc4::IfcNamedUnit::initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[695]); } +void Ifc4x3_rc4::IfcNamedUnit::initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcNavigationElement std::optional< ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value > Ifc4x3_rc4::IfcNavigationElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcNavigationElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[696]); } -void Ifc4x3_rc4::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcNavigationElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[696]); } +void Ifc4x3_rc4::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcNavigationElementType ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value Ifc4x3_rc4::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcNavigationElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[697]); } -void Ifc4x3_rc4::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcNavigationElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[697]); } +void Ifc4x3_rc4::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x3_rc4::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc4::IfcRelDefinesByObject> Ifc4x3_rc4::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[937], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelDefinesByObject> Ifc4x3_rc4::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[937], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelDefinesByType> Ifc4x3_rc4::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[940], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelDefinesByProperties> Ifc4x3_rc4::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[938], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelDefinesByObject> Ifc4x3_rc4::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[937], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelDefinesByObject> Ifc4x3_rc4::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[937], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelDefinesByType> Ifc4x3_rc4::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[940], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelDefinesByProperties> Ifc4x3_rc4::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[938], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcObject::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[702]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[702]); } void Ifc4x3_rc4::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x3_rc4::IfcRelAssigns> Ifc4x3_rc4::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[905], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelNests> Ifc4x3_rc4::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[944], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelNests> Ifc4x3_rc4::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[944], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelDeclares> Ifc4x3_rc4::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[934], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelAggregates> Ifc4x3_rc4::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[904], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelAggregates> Ifc4x3_rc4::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[904], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelAssociates> Ifc4x3_rc4::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[913], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelAssigns> Ifc4x3_rc4::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[905], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelNests> Ifc4x3_rc4::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[944], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelNests> Ifc4x3_rc4::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[944], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelDeclares> Ifc4x3_rc4::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[934], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelAggregates> Ifc4x3_rc4::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[904], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelAggregates> Ifc4x3_rc4::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[904], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociates> Ifc4x3_rc4::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[913], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[703]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[703]); } void Ifc4x3_rc4::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement ::Ifc4x3_rc4::IfcObjectPlacement Ifc4x3_rc4::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_rc4::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcObjectPlacement>(); } void Ifc4x3_rc4::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x3_rc4::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc4::IfcProduct> Ifc4x3_rc4::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[806], 5)); } +std::vector<::Ifc4x3_rc4::IfcProduct> Ifc4x3_rc4::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[806], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[706]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[706]); } void Ifc4x3_rc4::IfcObjectPlacement::initialize(::Ifc4x3_rc4::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo)); } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x3_rc4::IfcConstraint > > Ifc4x3_rc4::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc4::IfcConstraint>(es); } void Ifc4x3_rc4::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x3_rc4::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc4::IfcLogicalOperatorEnum::Value > Ifc4x3_rc4::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_rc4::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_rc4::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x3_rc4::IfcObjectiveEnum::Value Ifc4x3_rc4::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x3_rc4::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_rc4::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_rc4::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc4::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[704]); } -void Ifc4x3_rc4::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc4::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc4::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc4::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[704]); } +void Ifc4x3_rc4::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc4::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc4::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc4::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x3_rc4::IfcOccupantTypeEnum::Value > Ifc4x3_rc4::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc4::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc4::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc4::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc4::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[709]); } -void Ifc4x3_rc4::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc4::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc4::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[709]); } +void Ifc4x3_rc4::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc4::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc4::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x3_rc4::IfcCurve Ifc4x3_rc4::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcCurve>(); } void Ifc4x3_rc4::IfcOffsetCurve::setBasisCurve(const ::Ifc4x3_rc4::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[711]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[711]); } void Ifc4x3_rc4::IfcOffsetCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -12295,7 +12295,7 @@ boost::logic::tribool Ifc4x3_rc4::IfcOffsetCurve2D::SelfIntersect() const { boo void Ifc4x3_rc4::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[712]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[712]); } void Ifc4x3_rc4::IfcOffsetCurve2D::initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -12307,7 +12307,7 @@ void Ifc4x3_rc4::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& void Ifc4x3_rc4::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[713]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[713]); } void Ifc4x3_rc4::IfcOffsetCurve3D::initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_rc4::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -12317,7 +12317,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcOffsetCurveByDistances::Tag() const void Ifc4x3_rc4::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[714]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[714]); } void Ifc4x3_rc4::IfcOffsetCurveByDistances::initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc4::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenCrossProfileDef @@ -12331,29 +12331,29 @@ std::optional< std::vector< std::string > /*[2:?]*/ > Ifc4x3_rc4::IfcOpenCrossPr void Ifc4x3_rc4::IfcOpenCrossProfileDef::setTags(const std::optional< std::vector< std::string > /*[2:?]*/ >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc4::IfcOpenCrossProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[715]); } -void Ifc4x3_rc4::IfcOpenCrossProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOpenCrossProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[715]); } +void Ifc4x3_rc4::IfcOpenCrossProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x3_rc4::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[719]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[719]); } void Ifc4x3_rc4::IfcOpenShell::initialize(std::vector< ::Ifc4x3_rc4::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value > Ifc4x3_rc4::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc4::IfcRelFillsElement> Ifc4x3_rc4::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[941], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelFillsElement> Ifc4x3_rc4::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[941], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[716]); } -void Ifc4x3_rc4::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[716]); } +void Ifc4x3_rc4::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOpeningStandardCase -const IfcParse::entity& Ifc4x3_rc4::IfcOpeningStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[718]); } -void Ifc4x3_rc4::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOpeningStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[718]); } +void Ifc4x3_rc4::IfcOpeningStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x3_rc4::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12367,11 +12367,11 @@ void Ifc4x3_rc4::IfcOrganization::setRoles(const std::optional< std::vector< ::I std::optional< std::vector< ::Ifc4x3_rc4::IfcAddress > > Ifc4x3_rc4::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc4::IfcAddress>(es); } void Ifc4x3_rc4::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x3_rc4::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc4::IfcOrganizationRelationship> Ifc4x3_rc4::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[721], 3)); } -std::vector<::Ifc4x3_rc4::IfcOrganizationRelationship> Ifc4x3_rc4::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[721], 2)); } -std::vector<::Ifc4x3_rc4::IfcPersonAndOrganization> Ifc4x3_rc4::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[742], 1)); } +std::vector<::Ifc4x3_rc4::IfcOrganizationRelationship> Ifc4x3_rc4::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[721], 3)); } +std::vector<::Ifc4x3_rc4::IfcOrganizationRelationship> Ifc4x3_rc4::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[721], 2)); } +std::vector<::Ifc4x3_rc4::IfcPersonAndOrganization> Ifc4x3_rc4::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[742], 1)); } -const IfcParse::entity& Ifc4x3_rc4::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[720]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[720]); } void Ifc4x3_rc4::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_rc4::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -12381,7 +12381,7 @@ std::vector< ::Ifc4x3_rc4::IfcOrganization > Ifc4x3_rc4::IfcOrganizationRelation void Ifc4x3_rc4::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x3_rc4::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[721]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[721]); } void Ifc4x3_rc4::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_rc4::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientedEdge @@ -12391,30 +12391,30 @@ bool Ifc4x3_rc4::IfcOrientedEdge::Orientation() const { bool v = get_attribute_ void Ifc4x3_rc4::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[722]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[722]); } void Ifc4x3_rc4::IfcOrientedEdge::initialize(::Ifc4x3_rc4::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x3_rc4::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[723]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[723]); } void Ifc4x3_rc4::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x3_rc4::IfcOutletTypeEnum::Value > Ifc4x3_rc4::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[724]); } -void Ifc4x3_rc4::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[724]); } +void Ifc4x3_rc4::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x3_rc4::IfcOutletTypeEnum::Value Ifc4x3_rc4::IfcOutletType::PredefinedType() const { return ::Ifc4x3_rc4::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcOutletType::setPredefinedType(const ::Ifc4x3_rc4::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcOutletType::setPredefinedType(const ::Ifc4x3_rc4::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[725]); } -void Ifc4x3_rc4::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[725]); } +void Ifc4x3_rc4::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x3_rc4::IfcPersonAndOrganization Ifc4x3_rc4::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcPersonAndOrganization>(); } @@ -12422,9 +12422,9 @@ void Ifc4x3_rc4::IfcOwnerHistory::setOwningUser(const ::Ifc4x3_rc4::IfcPersonAnd ::Ifc4x3_rc4::IfcApplication Ifc4x3_rc4::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcApplication>(); } void Ifc4x3_rc4::IfcOwnerHistory::setOwningApplication(const ::Ifc4x3_rc4::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > Ifc4x3_rc4::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc4::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc4::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc4::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc4::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x3_rc4::IfcChangeActionEnum::Value > Ifc4x3_rc4::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc4::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_rc4::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc4::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_rc4::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_rc4::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc4::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x3_rc4::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_rc4::IfcPersonAndOrganization Ifc4x3_rc4::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_rc4::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc4::IfcPersonAndOrganization>(); } @@ -12435,40 +12435,40 @@ int Ifc4x3_rc4::IfcOwnerHistory::CreationDate() const { int v = get_attribute_v void Ifc4x3_rc4::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc4::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[727]); } -void Ifc4x3_rc4::IfcOwnerHistory::initialize(::Ifc4x3_rc4::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc4::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc4::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc4::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc4::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[727]); } +void Ifc4x3_rc4::IfcOwnerHistory::initialize(::Ifc4x3_rc4::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc4::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc4::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc4::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc4::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x3_rc4::IfcAxis2Placement2D Ifc4x3_rc4::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc4::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcAxis2Placement2D>(); } void Ifc4x3_rc4::IfcParameterizedProfileDef::setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[728]); } -void Ifc4x3_rc4::IfcParameterizedProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[728]); } +void Ifc4x3_rc4::IfcParameterizedProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x3_rc4::IfcOrientedEdge > Ifc4x3_rc4::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcOrientedEdge>(es); } void Ifc4x3_rc4::IfcPath::setEdgeList(const std::vector< ::Ifc4x3_rc4::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcPath::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[730]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[730]); } void Ifc4x3_rc4::IfcPath::initialize(std::vector< ::Ifc4x3_rc4::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPavement std::optional< ::Ifc4x3_rc4::IfcPavementTypeEnum::Value > Ifc4x3_rc4::IfcPavement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPavementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPavement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[731]); } -void Ifc4x3_rc4::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPavement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[731]); } +void Ifc4x3_rc4::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPavementType ::Ifc4x3_rc4::IfcPavementTypeEnum::Value Ifc4x3_rc4::IfcPavementType::PredefinedType() const { return ::Ifc4x3_rc4::IfcPavementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcPavementType::setPredefinedType(const ::Ifc4x3_rc4::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcPavementType::setPredefinedType(const ::Ifc4x3_rc4::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcPavementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[732]); } -void Ifc4x3_rc4::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPavementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[732]); } +void Ifc4x3_rc4::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPcurve ::Ifc4x3_rc4::IfcSurface Ifc4x3_rc4::IfcPcurve::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcSurface>(); } @@ -12477,24 +12477,24 @@ void Ifc4x3_rc4::IfcPcurve::setBasisSurface(const ::Ifc4x3_rc4::IfcSurface& v) { void Ifc4x3_rc4::IfcPcurve::setReferenceCurve(const ::Ifc4x3_rc4::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[734]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[734]); } void Ifc4x3_rc4::IfcPcurve::initialize(::Ifc4x3_rc4::IfcSurface v1_BasisSurface, ::Ifc4x3_rc4::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x3_rc4::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value > Ifc4x3_rc4::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc4::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[735]); } -void Ifc4x3_rc4::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[735]); } +void Ifc4x3_rc4::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value Ifc4x3_rc4::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc4::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc4::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value Ifc4x3_rc4::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc4::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc4::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_rc4::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -12503,20 +12503,20 @@ void Ifc4x3_rc4::IfcPermeableCoveringProperties::setFrameThickness(const std::op void Ifc4x3_rc4::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x3_rc4::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[738]); } -void Ifc4x3_rc4::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::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)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[738]); } +void Ifc4x3_rc4::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x3_rc4::IfcPermitTypeEnum::Value > Ifc4x3_rc4::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc4::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc4::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc4::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc4::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc4::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc4::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[739]); } -void Ifc4x3_rc4::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[739]); } +void Ifc4x3_rc4::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x3_rc4::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12536,9 +12536,9 @@ void Ifc4x3_rc4::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x3_ std::optional< std::vector< ::Ifc4x3_rc4::IfcAddress > > Ifc4x3_rc4::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc4::IfcAddress>(es); } void Ifc4x3_rc4::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x3_rc4::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc4::IfcPersonAndOrganization> Ifc4x3_rc4::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[742], 0)); } +std::vector<::Ifc4x3_rc4::IfcPersonAndOrganization> Ifc4x3_rc4::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[742], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[741]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[741]); } void Ifc4x3_rc4::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_rc4::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -12550,7 +12550,7 @@ std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > > Ifc4x3_rc4::IfcPerson void Ifc4x3_rc4::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[742]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[742]); } void Ifc4x3_rc4::IfcPersonAndOrganization::initialize(::Ifc4x3_rc4::IfcPerson v1_ThePerson, ::Ifc4x3_rc4::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -12564,7 +12564,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcPhysicalComplexQuantity::Usage() con void Ifc4x3_rc4::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[744]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[744]); } void Ifc4x3_rc4::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -12573,10 +12573,10 @@ void Ifc4x3_rc4::IfcPhysicalQuantity::setName(const std::string& v) { set_attrib std::optional< std::string > Ifc4x3_rc4::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -std::vector<::Ifc4x3_rc4::IfcPhysicalComplexQuantity> Ifc4x3_rc4::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[744], 2)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcPhysicalComplexQuantity> Ifc4x3_rc4::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[744], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[746]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[746]); } void Ifc4x3_rc4::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -12584,58 +12584,58 @@ void Ifc4x3_rc4::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optio void Ifc4x3_rc4::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x3_rc4::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[747]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[747]); } void Ifc4x3_rc4::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x3_rc4::IfcPileTypeEnum::Value > Ifc4x3_rc4::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_rc4::IfcPileConstructionEnum::Value > Ifc4x3_rc4::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_rc4::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_rc4::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPile::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[748]); } -void Ifc4x3_rc4::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[748]); } +void Ifc4x3_rc4::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x3_rc4::IfcPileTypeEnum::Value Ifc4x3_rc4::IfcPileType::PredefinedType() const { return ::Ifc4x3_rc4::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcPileType::setPredefinedType(const ::Ifc4x3_rc4::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcPileType::setPredefinedType(const ::Ifc4x3_rc4::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[750]); } -void Ifc4x3_rc4::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[750]); } +void Ifc4x3_rc4::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value > Ifc4x3_rc4::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[752]); } -void Ifc4x3_rc4::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[752]); } +void Ifc4x3_rc4::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value Ifc4x3_rc4::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[753]); } -void Ifc4x3_rc4::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[753]); } +void Ifc4x3_rc4::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value > Ifc4x3_rc4::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[755]); } -void Ifc4x3_rc4::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[755]); } +void Ifc4x3_rc4::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value Ifc4x3_rc4::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[756]); } -void Ifc4x3_rc4::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[756]); } +void Ifc4x3_rc4::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x3_rc4::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -12648,7 +12648,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_rc4::IfcPixelTexture::Pi void Ifc4x3_rc4::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[758]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[758]); } void Ifc4x3_rc4::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -12656,7 +12656,7 @@ void Ifc4x3_rc4::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, s void Ifc4x3_rc4::IfcPlacement::setLocation(const ::Ifc4x3_rc4::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[759]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[759]); } void Ifc4x3_rc4::IfcPlacement::initialize(::Ifc4x3_rc4::IfcPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -12664,7 +12664,7 @@ void Ifc4x3_rc4::IfcPlacement::initialize(::Ifc4x3_rc4::IfcPoint v1_Location) { void Ifc4x3_rc4::IfcPlanarBox::setPlacement(const ::Ifc4x3_rc4::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[760]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[760]); } void Ifc4x3_rc4::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_rc4::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -12674,47 +12674,47 @@ double Ifc4x3_rc4::IfcPlanarExtent::SizeInY() const { double v = get_attribute_ void Ifc4x3_rc4::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[761]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[761]); } void Ifc4x3_rc4::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x3_rc4::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[763]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[763]); } void Ifc4x3_rc4::IfcPlane::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlant -const IfcParse::entity& Ifc4x3_rc4::IfcPlant::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[765]); } -void Ifc4x3_rc4::IfcPlant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPlant::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[765]); } +void Ifc4x3_rc4::IfcPlant::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlate std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value > Ifc4x3_rc4::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[766]); } -void Ifc4x3_rc4::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[766]); } +void Ifc4x3_rc4::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateStandardCase -const IfcParse::entity& Ifc4x3_rc4::IfcPlateStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[767]); } -void Ifc4x3_rc4::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPlateStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[767]); } +void Ifc4x3_rc4::IfcPlateStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x3_rc4::IfcPlateTypeEnum::Value Ifc4x3_rc4::IfcPlateType::PredefinedType() const { return ::Ifc4x3_rc4::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcPlateType::setPredefinedType(const ::Ifc4x3_rc4::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcPlateType::setPredefinedType(const ::Ifc4x3_rc4::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[768]); } -void Ifc4x3_rc4::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[768]); } +void Ifc4x3_rc4::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x3_rc4::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[770]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[770]); } void Ifc4x3_rc4::IfcPoint::initialize() { } // Function implementations for IfcPointByDistanceExpression @@ -12730,7 +12730,7 @@ void Ifc4x3_rc4::IfcPointByDistanceExpression::setOffsetLongitudinal(const std:: void Ifc4x3_rc4::IfcPointByDistanceExpression::setBasisCurve(const ::Ifc4x3_rc4::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcPointByDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[771]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPointByDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[771]); } void Ifc4x3_rc4::IfcPointByDistanceExpression::initialize(::Ifc4x3_rc4::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_rc4::IfcCurve v5_BasisCurve) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } // Function implementations for IfcPointOnCurve @@ -12740,7 +12740,7 @@ double Ifc4x3_rc4::IfcPointOnCurve::PointParameter() const { double v = get_att void Ifc4x3_rc4::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[772]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[772]); } void Ifc4x3_rc4::IfcPointOnCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -12752,7 +12752,7 @@ double Ifc4x3_rc4::IfcPointOnSurface::PointParameterV() const { double v = get_ void Ifc4x3_rc4::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[773]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[773]); } void Ifc4x3_rc4::IfcPointOnSurface::initialize(::Ifc4x3_rc4::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -12760,7 +12760,7 @@ std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > Ifc4x3_rc4::IfcPolyLoop::Polygon( void Ifc4x3_rc4::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x3_rc4::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[778]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[778]); } void Ifc4x3_rc4::IfcPolyLoop::initialize(std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -12770,7 +12770,7 @@ void Ifc4x3_rc4::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x3_rc4::I void Ifc4x3_rc4::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x3_rc4::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[775]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[775]); } void Ifc4x3_rc4::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x3_rc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc4::IfcAxis2Placement3D v3_Position, ::Ifc4x3_rc4::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -12782,7 +12782,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc4::IfcPolygonalFaceSet::P void Ifc4x3_rc4::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[776]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[776]); } void Ifc4x3_rc4::IfcPolygonalFaceSet::initialize(::Ifc4x3_rc4::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc4::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -12790,7 +12790,7 @@ std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > Ifc4x3_rc4::IfcPolyline::Points() void Ifc4x3_rc4::IfcPolyline::setPoints(const std::vector< ::Ifc4x3_rc4::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[777]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[777]); } void Ifc4x3_rc4::IfcPolyline::initialize(std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPolynomialCurve @@ -12804,24 +12804,24 @@ std::optional< std::vector< double > /*[2:?]*/ > Ifc4x3_rc4::IfcPolynomialCurve: void Ifc4x3_rc4::IfcPolynomialCurve::setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPolynomialCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[779]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPolynomialCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[779]); } void Ifc4x3_rc4::IfcPolynomialCurve::initialize(::Ifc4x3_rc4::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ) { set_attribute_value(0, (v1_Position)); 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)); } } // Function implementations for IfcPort -std::vector<::Ifc4x3_rc4::IfcRelConnectsPortToElement> Ifc4x3_rc4::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[926], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelConnectsPorts> Ifc4x3_rc4::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[925], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelConnectsPorts> Ifc4x3_rc4::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[925], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsPortToElement> Ifc4x3_rc4::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[926], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsPorts> Ifc4x3_rc4::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[925], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsPorts> Ifc4x3_rc4::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[925], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcPort::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[780]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[780]); } void Ifc4x3_rc4::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x3_rc4::IfcRelContainedInSpatialStructure> Ifc4x3_rc4::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[931], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelPositions> Ifc4x3_rc4::IfcPositioningElement::Positions() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[945], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelContainedInSpatialStructure> Ifc4x3_rc4::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[931], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelPositions> Ifc4x3_rc4::IfcPositioningElement::Positions() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[945], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[781]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[781]); } void Ifc4x3_rc4::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -12841,19 +12841,19 @@ std::optional< std::string > Ifc4x3_rc4::IfcPostalAddress::Country() const { if( void Ifc4x3_rc4::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[786]); } -void Ifc4x3_rc4::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[786]); } +void Ifc4x3_rc4::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x3_rc4::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[788]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[788]); } void Ifc4x3_rc4::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_rc4::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[789]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[789]); } void Ifc4x3_rc4::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -12861,31 +12861,31 @@ std::string Ifc4x3_rc4::IfcPreDefinedItem::Name() const { std::string v = get_a void Ifc4x3_rc4::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[790]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[790]); } void Ifc4x3_rc4::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x3_rc4::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[791]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[791]); } void Ifc4x3_rc4::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x3_rc4::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[792]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[792]); } void Ifc4x3_rc4::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x3_rc4::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[793]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[793]); } void Ifc4x3_rc4::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x3_rc4::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[796]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[796]); } void Ifc4x3_rc4::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -12899,7 +12899,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcPresentationLayerAssignment::Identif void Ifc4x3_rc4::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[797]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[797]); } void Ifc4x3_rc4::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -12913,7 +12913,7 @@ std::vector< ::Ifc4x3_rc4::IfcPresentationStyle > Ifc4x3_rc4::IfcPresentationLay void Ifc4x3_rc4::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x3_rc4::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc4::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[798]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[798]); } void Ifc4x3_rc4::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_rc4::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -12921,24 +12921,24 @@ std::optional< std::string > Ifc4x3_rc4::IfcPresentationStyle::Name() const { if void Ifc4x3_rc4::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[799]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[799]); } void Ifc4x3_rc4::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcProcedure std::optional< ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value > Ifc4x3_rc4::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc4::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc4::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[801]); } -void Ifc4x3_rc4::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[801]); } +void Ifc4x3_rc4::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value Ifc4x3_rc4::IfcProcedureType::PredefinedType() const { return ::Ifc4x3_rc4::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcProcedureType::setPredefinedType(const ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcProcedureType::setPredefinedType(const ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[802]); } -void Ifc4x3_rc4::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc4::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[802]); } +void Ifc4x3_rc4::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc4::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x3_rc4::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -12946,11 +12946,11 @@ void Ifc4x3_rc4::IfcProcess::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_rc4::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc4::IfcRelSequence> Ifc4x3_rc4::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[948], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelSequence> Ifc4x3_rc4::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[948], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelAssignsToProcess> Ifc4x3_rc4::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[910], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelSequence> Ifc4x3_rc4::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[948], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelSequence> Ifc4x3_rc4::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[948], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelAssignsToProcess> Ifc4x3_rc4::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[910], 6)); } -const IfcParse::entity& Ifc4x3_rc4::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[804]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[804]); } void Ifc4x3_rc4::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -12959,19 +12959,19 @@ void Ifc4x3_rc4::IfcProduct::setObjectPlacement(const ::Ifc4x3_rc4::IfcObjectPla ::Ifc4x3_rc4::IfcProductRepresentation Ifc4x3_rc4::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc4::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcProductRepresentation>(); } void Ifc4x3_rc4::IfcProduct::setRepresentation(const ::Ifc4x3_rc4::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_rc4::IfcRelAssignsToProduct> Ifc4x3_rc4::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[911], 6)); } -std::vector<::Ifc4x3_rc4::IfcRelPositions> Ifc4x3_rc4::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[945], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelReferencedInSpatialStructure> Ifc4x3_rc4::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[947], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelAssignsToProduct> Ifc4x3_rc4::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[911], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelPositions> Ifc4x3_rc4::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[945], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelReferencedInSpatialStructure> Ifc4x3_rc4::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[947], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[806]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[806]); } void Ifc4x3_rc4::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x3_rc4::IfcProduct> Ifc4x3_rc4::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[806], 6)); } -std::vector<::Ifc4x3_rc4::IfcShapeAspect> Ifc4x3_rc4::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1009], 4)); } +std::vector<::Ifc4x3_rc4::IfcProduct> Ifc4x3_rc4::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[806], 6)); } +std::vector<::Ifc4x3_rc4::IfcShapeAspect> Ifc4x3_rc4::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1009], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[807]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[807]); } void Ifc4x3_rc4::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -12983,52 +12983,52 @@ std::vector< ::Ifc4x3_rc4::IfcRepresentation > Ifc4x3_rc4::IfcProductRepresentat void Ifc4x3_rc4::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x3_rc4::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[808]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[808]); } void Ifc4x3_rc4::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x3_rc4::IfcProfileTypeEnum::Value Ifc4x3_rc4::IfcProfileDef::ProfileType() const { return ::Ifc4x3_rc4::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc4::IfcProfileDef::setProfileType(const ::Ifc4x3_rc4::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc4::IfcProfileDef::setProfileType(const ::Ifc4x3_rc4::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_rc4::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -std::vector<::Ifc4x3_rc4::IfcProfileProperties> Ifc4x3_rc4::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[812], 3)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcProfileProperties> Ifc4x3_rc4::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[812], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[811]); } -void Ifc4x3_rc4::IfcProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[811]); } +void Ifc4x3_rc4::IfcProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x3_rc4::IfcProfileDef Ifc4x3_rc4::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc4::IfcProfileDef>(); } void Ifc4x3_rc4::IfcProfileProperties::setProfileDefinition(const ::Ifc4x3_rc4::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[812]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[812]); } void Ifc4x3_rc4::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcProperty > v3_Properties, ::Ifc4x3_rc4::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x3_rc4::IfcProject::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[814]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[814]); } void Ifc4x3_rc4::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc4::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x3_rc4::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[819]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[819]); } void Ifc4x3_rc4::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc4::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value > Ifc4x3_rc4::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc4::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc4::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_rc4::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc4::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_rc4::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc4::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[820]); } -void Ifc4x3_rc4::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_rc4::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[820]); } +void Ifc4x3_rc4::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_rc4::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x3_rc4::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13039,16 +13039,16 @@ void Ifc4x3_rc4::IfcProjectedCRS::setMapZone(const std::optional< std::string >& void Ifc4x3_rc4::IfcProjectedCRS::setMapUnit(const ::Ifc4x3_rc4::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[815]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[815]); } void Ifc4x3_rc4::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_rc4::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value > Ifc4x3_rc4::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[817]); } -void Ifc4x3_rc4::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[817]); } +void Ifc4x3_rc4::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x3_rc4::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -13056,21 +13056,21 @@ void Ifc4x3_rc4::IfcProperty::setName(const std::string& v) { set_attribute_valu std::optional< std::string > Ifc4x3_rc4::IfcProperty::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcProperty::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc4::IfcPropertySet> Ifc4x3_rc4::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[831], 4)); } -std::vector<::Ifc4x3_rc4::IfcPropertyDependencyRelationship> Ifc4x3_rc4::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[826], 2)); } -std::vector<::Ifc4x3_rc4::IfcPropertyDependencyRelationship> Ifc4x3_rc4::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[826], 3)); } -std::vector<::Ifc4x3_rc4::IfcComplexProperty> Ifc4x3_rc4::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[191], 3)); } -std::vector<::Ifc4x3_rc4::IfcResourceConstraintRelationship> Ifc4x3_rc4::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[961], 3)); } -std::vector<::Ifc4x3_rc4::IfcResourceApprovalRelationship> Ifc4x3_rc4::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[960], 2)); } +std::vector<::Ifc4x3_rc4::IfcPropertySet> Ifc4x3_rc4::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[831], 4)); } +std::vector<::Ifc4x3_rc4::IfcPropertyDependencyRelationship> Ifc4x3_rc4::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[826], 2)); } +std::vector<::Ifc4x3_rc4::IfcPropertyDependencyRelationship> Ifc4x3_rc4::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[826], 3)); } +std::vector<::Ifc4x3_rc4::IfcComplexProperty> Ifc4x3_rc4::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[191], 3)); } +std::vector<::Ifc4x3_rc4::IfcResourceConstraintRelationship> Ifc4x3_rc4::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[961], 3)); } +std::vector<::Ifc4x3_rc4::IfcResourceApprovalRelationship> Ifc4x3_rc4::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[960], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[822]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[822]); } void Ifc4x3_rc4::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[823]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[823]); } void Ifc4x3_rc4::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -13084,15 +13084,15 @@ void Ifc4x3_rc4::IfcPropertyBoundedValue::setUnit(const ::Ifc4x3_rc4::IfcUnit& v void Ifc4x3_rc4::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x3_rc4::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[824]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[824]); } void Ifc4x3_rc4::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcValue v3_UpperBoundValue, ::Ifc4x3_rc4::IfcValue v4_LowerBoundValue, ::Ifc4x3_rc4::IfcUnit v5_Unit, ::Ifc4x3_rc4::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x3_rc4::IfcRelDeclares> Ifc4x3_rc4::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[934], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelAssociates> Ifc4x3_rc4::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[913], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelDeclares> Ifc4x3_rc4::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[934], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelAssociates> Ifc4x3_rc4::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[913], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[825]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[825]); } void Ifc4x3_rc4::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -13104,7 +13104,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcPropertyDependencyRelationship::Expr void Ifc4x3_rc4::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[826]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[826]); } void Ifc4x3_rc4::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcProperty v3_DependingProperty, ::Ifc4x3_rc4::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -13114,7 +13114,7 @@ void Ifc4x3_rc4::IfcPropertyEnumeratedValue::setEnumerationValues(const std::opt void Ifc4x3_rc4::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x3_rc4::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[827]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[827]); } void Ifc4x3_rc4::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v3_EnumerationValues, ::Ifc4x3_rc4::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -13126,7 +13126,7 @@ void Ifc4x3_rc4::IfcPropertyEnumeration::setEnumerationValues(const std::vector< void Ifc4x3_rc4::IfcPropertyEnumeration::setUnit(const ::Ifc4x3_rc4::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[828]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[828]); } void Ifc4x3_rc4::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x3_rc4::IfcValue > v2_EnumerationValues, ::Ifc4x3_rc4::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -13136,7 +13136,7 @@ void Ifc4x3_rc4::IfcPropertyListValue::setListValues(const std::optional< std::v void Ifc4x3_rc4::IfcPropertyListValue::setUnit(const ::Ifc4x3_rc4::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[829]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[829]); } void Ifc4x3_rc4::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v3_ListValues, ::Ifc4x3_rc4::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -13146,7 +13146,7 @@ void Ifc4x3_rc4::IfcPropertyReferenceValue::setUsageName(const std::optional< st void Ifc4x3_rc4::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x3_rc4::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[830]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[830]); } void Ifc4x3_rc4::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x3_rc4::IfcObjectReferenceSelect v4_PropertyReference) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UsageName) {set_attribute_value(2, (*v3_UsageName)); }set_attribute_value(3, (v4_PropertyReference)); } // Function implementations for IfcPropertySet @@ -13154,30 +13154,30 @@ std::vector< ::Ifc4x3_rc4::IfcProperty > Ifc4x3_rc4::IfcPropertySet::HasProperti void Ifc4x3_rc4::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x3_rc4::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[831]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[831]); } void Ifc4x3_rc4::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x3_rc4::IfcTypeObject> Ifc4x3_rc4::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1244], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelDefinesByTemplate> Ifc4x3_rc4::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[939], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelDefinesByProperties> Ifc4x3_rc4::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[938], 5)); } +std::vector<::Ifc4x3_rc4::IfcTypeObject> Ifc4x3_rc4::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1244], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelDefinesByTemplate> Ifc4x3_rc4::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[939], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelDefinesByProperties> Ifc4x3_rc4::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[938], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[832]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[832]); } void Ifc4x3_rc4::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3_rc4::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc4::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_rc4::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc4::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > Ifc4x3_rc4::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc4::IfcPropertyTemplate>(es); } void Ifc4x3_rc4::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_rc4::IfcRelDefinesByTemplate> Ifc4x3_rc4::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[939], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelDefinesByTemplate> Ifc4x3_rc4::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[939], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[835]); } -void Ifc4x3_rc4::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc4::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[835]); } +void Ifc4x3_rc4::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x3_rc4::IfcValue Ifc4x3_rc4::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc4::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcValue>(); } @@ -13186,7 +13186,7 @@ void Ifc4x3_rc4::IfcPropertySingleValue::setNominalValue(const ::Ifc4x3_rc4::Ifc void Ifc4x3_rc4::IfcPropertySingleValue::setUnit(const ::Ifc4x3_rc4::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[837]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[837]); } void Ifc4x3_rc4::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcValue v3_NominalValue, ::Ifc4x3_rc4::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -13201,83 +13201,83 @@ void Ifc4x3_rc4::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x3_rc4::IfcU ::Ifc4x3_rc4::IfcUnit Ifc4x3_rc4::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc4::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcUnit>(); } void Ifc4x3_rc4::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x3_rc4::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc4::IfcCurveInterpolationEnum::Value > Ifc4x3_rc4::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_rc4::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc4::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_rc4::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[838]); } -void Ifc4x3_rc4::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc4::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc4::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc4::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[838]); } +void Ifc4x3_rc4::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc4::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc4::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc4::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x3_rc4::IfcComplexPropertyTemplate> Ifc4x3_rc4::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[192], 6)); } -std::vector<::Ifc4x3_rc4::IfcPropertySetTemplate> Ifc4x3_rc4::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[835], 6)); } +std::vector<::Ifc4x3_rc4::IfcComplexPropertyTemplate> Ifc4x3_rc4::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[192], 6)); } +std::vector<::Ifc4x3_rc4::IfcPropertySetTemplate> Ifc4x3_rc4::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[835], 6)); } -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[839]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[839]); } void Ifc4x3_rc4::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x3_rc4::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[840]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[840]); } void Ifc4x3_rc4::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3_rc4::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[841]); } -void Ifc4x3_rc4::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[841]); } +void Ifc4x3_rc4::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[842]); } -void Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[842]); } +void Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[843]); } -void Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[843]); } +void Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_rc4::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[845]); } -void Ifc4x3_rc4::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[845]); } +void Ifc4x3_rc4::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProxy ::Ifc4x3_rc4::IfcObjectTypeEnum::Value Ifc4x3_rc4::IfcProxy::ProxyType() const { return ::Ifc4x3_rc4::IfcObjectTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcProxy::setProxyType(const ::Ifc4x3_rc4::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc4::IfcProxy::setProxyType(const ::Ifc4x3_rc4::IfcObjectTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_rc4::IfcProxy::Tag() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcProxy::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcProxy::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[847]); } -void Ifc4x3_rc4::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[847]); } +void Ifc4x3_rc4::IfcProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)v8_ProxyType))); if (v9_Tag) {set_attribute_value(8, (*v9_Tag)); } } // Function implementations for IfcPump std::optional< ::Ifc4x3_rc4::IfcPumpTypeEnum::Value > Ifc4x3_rc4::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcPump::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[848]); } -void Ifc4x3_rc4::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[848]); } +void Ifc4x3_rc4::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x3_rc4::IfcPumpTypeEnum::Value Ifc4x3_rc4::IfcPumpType::PredefinedType() const { return ::Ifc4x3_rc4::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcPumpType::setPredefinedType(const ::Ifc4x3_rc4::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcPumpType::setPredefinedType(const ::Ifc4x3_rc4::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[849]); } -void Ifc4x3_rc4::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[849]); } +void Ifc4x3_rc4::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x3_rc4::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -13286,7 +13286,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcQuantityArea::Formula() const { if(g void Ifc4x3_rc4::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[851]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[851]); } void Ifc4x3_rc4::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -13296,7 +13296,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcQuantityCount::Formula() const { if( void Ifc4x3_rc4::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[852]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[852]); } void Ifc4x3_rc4::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -13306,13 +13306,13 @@ std::optional< std::string > Ifc4x3_rc4::IfcQuantityLength::Formula() const { if void Ifc4x3_rc4::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[853]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[853]); } void Ifc4x3_rc4::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x3_rc4::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[854]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[854]); } void Ifc4x3_rc4::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -13322,7 +13322,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcQuantityTime::Formula() const { if(g void Ifc4x3_rc4::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[855]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[855]); } void Ifc4x3_rc4::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -13332,7 +13332,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcQuantityVolume::Formula() const { if void Ifc4x3_rc4::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[856]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[856]); } void Ifc4x3_rc4::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -13342,96 +13342,96 @@ std::optional< std::string > Ifc4x3_rc4::IfcQuantityWeight::Formula() const { if void Ifc4x3_rc4::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[857]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[857]); } void Ifc4x3_rc4::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRail std::optional< ::Ifc4x3_rc4::IfcRailTypeEnum::Value > Ifc4x3_rc4::IfcRail::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcRailTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRail::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[859]); } -void Ifc4x3_rc4::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRail::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[859]); } +void Ifc4x3_rc4::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailType ::Ifc4x3_rc4::IfcRailTypeEnum::Value Ifc4x3_rc4::IfcRailType::PredefinedType() const { return ::Ifc4x3_rc4::IfcRailTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcRailType::setPredefinedType(const ::Ifc4x3_rc4::IfcRailTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcRailType::setPredefinedType(const ::Ifc4x3_rc4::IfcRailTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcRailType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[863]); } -void Ifc4x3_rc4::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRailType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[863]); } +void Ifc4x3_rc4::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailing std::optional< ::Ifc4x3_rc4::IfcRailingTypeEnum::Value > Ifc4x3_rc4::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[860]); } -void Ifc4x3_rc4::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[860]); } +void Ifc4x3_rc4::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x3_rc4::IfcRailingTypeEnum::Value Ifc4x3_rc4::IfcRailingType::PredefinedType() const { return ::Ifc4x3_rc4::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcRailingType::setPredefinedType(const ::Ifc4x3_rc4::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcRailingType::setPredefinedType(const ::Ifc4x3_rc4::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[861]); } -void Ifc4x3_rc4::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[861]); } +void Ifc4x3_rc4::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailway std::optional< ::Ifc4x3_rc4::IfcRailwayTypeEnum::Value > Ifc4x3_rc4::IfcRailway::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcRailwayTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRailway::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[865]); } -void Ifc4x3_rc4::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRailway::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[865]); } +void Ifc4x3_rc4::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRamp std::optional< ::Ifc4x3_rc4::IfcRampTypeEnum::Value > Ifc4x3_rc4::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[868]); } -void Ifc4x3_rc4::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[868]); } +void Ifc4x3_rc4::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value > Ifc4x3_rc4::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[869]); } -void Ifc4x3_rc4::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[869]); } +void Ifc4x3_rc4::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value Ifc4x3_rc4::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3_rc4::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[870]); } -void Ifc4x3_rc4::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[870]); } +void Ifc4x3_rc4::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x3_rc4::IfcRampTypeEnum::Value Ifc4x3_rc4::IfcRampType::PredefinedType() const { return ::Ifc4x3_rc4::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcRampType::setPredefinedType(const ::Ifc4x3_rc4::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcRampType::setPredefinedType(const ::Ifc4x3_rc4::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[872]); } -void Ifc4x3_rc4::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[872]); } +void Ifc4x3_rc4::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[875]); } -void Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::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_rc4::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[875]); } +void Ifc4x3_rc4::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::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, (enumeration_reference(&::Ifc4x3_rc4::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[876]); } -void Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc4::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_rc4::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[876]); } +void Ifc4x3_rc4::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc4::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, (enumeration_reference(&::Ifc4x3_rc4::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_rc4::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13442,8 +13442,8 @@ std::optional< double > Ifc4x3_rc4::IfcRectangleHollowProfileDef::OuterFilletRad void Ifc4x3_rc4::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[878]); } -void Ifc4x3_rc4::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[878]); } +void Ifc4x3_rc4::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x3_rc4::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -13452,8 +13452,8 @@ double Ifc4x3_rc4::IfcRectangleProfileDef::YDim() const { double v = get_attrib void Ifc4x3_rc4::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[879]); } -void Ifc4x3_rc4::IfcRectangleProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[879]); } +void Ifc4x3_rc4::IfcRectangleProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x3_rc4::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -13464,7 +13464,7 @@ double Ifc4x3_rc4::IfcRectangularPyramid::Height() const { double v = get_attri void Ifc4x3_rc4::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[880]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[880]); } void Ifc4x3_rc4::IfcRectangularPyramid::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -13484,12 +13484,12 @@ bool Ifc4x3_rc4::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_at void Ifc4x3_rc4::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[881]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[881]); } void Ifc4x3_rc4::IfcRectangularTrimmedSurface::initialize(::Ifc4x3_rc4::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value Ifc4x3_rc4::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x3_rc4::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc4::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc4::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc4::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc4::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -13506,8 +13506,8 @@ std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > > Ifc4x3_rc4::IfcRecur void Ifc4x3_rc4::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[882]); } -void Ifc4x3_rc4::IfcRecurrencePattern::initialize(::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[882]); } +void Ifc4x3_rc4::IfcRecurrencePattern::initialize(::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x3_rc4::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -13522,18 +13522,18 @@ void Ifc4x3_rc4::IfcReference::setListPositions(const std::optional< std::vector void Ifc4x3_rc4::IfcReference::setInnerReference(const ::Ifc4x3_rc4::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcReference::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[884]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[884]); } void Ifc4x3_rc4::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc4::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x3_rc4::IfcReferentTypeEnum::Value > Ifc4x3_rc4::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc4::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< double > Ifc4x3_rc4::IfcReferent::RestartDistance() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcReferent::setRestartDistance(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[885]); } -void Ifc4x3_rc4::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[885]); } +void Ifc4x3_rc4::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_RestartDistance) {set_attribute_value(8, (*v9_RestartDistance)); } } // Function implementations for IfcRegularTimeSeries double Ifc4x3_rc4::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -13542,16 +13542,16 @@ std::vector< ::Ifc4x3_rc4::IfcTimeSeriesValue > Ifc4x3_rc4::IfcRegularTimeSeries void Ifc4x3_rc4::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x3_rc4::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[888]); } -void Ifc4x3_rc4::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc4::IfcTimeSeriesValue > v10_Values) { 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_rc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[888]); } +void Ifc4x3_rc4::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc4::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcedSoil std::optional< ::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value > Ifc4x3_rc4::IfcReinforcedSoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcReinforcedSoil::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[889]); } -void Ifc4x3_rc4::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReinforcedSoil::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[889]); } +void Ifc4x3_rc4::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcReinforcementBarProperties double Ifc4x3_rc4::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -13559,7 +13559,7 @@ void Ifc4x3_rc4::IfcReinforcementBarProperties::setTotalCrossSectionArea(const d std::string Ifc4x3_rc4::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc4::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_rc4::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc4::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x3_rc4::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_rc4::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x3_rc4::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -13568,8 +13568,8 @@ std::optional< double > Ifc4x3_rc4::IfcReinforcementBarProperties::BarCount() co void Ifc4x3_rc4::IfcReinforcementBarProperties::setBarCount(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc4::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[891]); } -void Ifc4x3_rc4::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[891]); } +void Ifc4x3_rc4::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x3_rc4::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13578,7 +13578,7 @@ std::vector< ::Ifc4x3_rc4::IfcSectionReinforcementProperties > Ifc4x3_rc4::IfcRe void Ifc4x3_rc4::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_rc4::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[892]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[892]); } void Ifc4x3_rc4::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_rc4::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -13589,17 +13589,17 @@ void Ifc4x3_rc4::IfcReinforcingBar::setCrossSectionArea(const std::optional< dou std::optional< double > Ifc4x3_rc4::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc4::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value > Ifc4x3_rc4::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc4::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc4::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc4::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc4::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc4::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc4::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[893]); } -void Ifc4x3_rc4::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[893]); } +void Ifc4x3_rc4::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value Ifc4x3_rc4::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc4::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc4::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13607,28 +13607,28 @@ void Ifc4x3_rc4::IfcReinforcingBarType::setCrossSectionArea(const std::optional< std::optional< double > Ifc4x3_rc4::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x3_rc4::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_rc4::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc4::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc4::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x3_rc4::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_rc4::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > Ifc4x3_rc4::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x3_rc4::IfcBendingParameterSelect>(es); } void Ifc4x3_rc4::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_rc4::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[896]); } -void Ifc4x3_rc4::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::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_rc4::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[896]); } +void Ifc4x3_rc4::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::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, (enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x3_rc4::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[898]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[898]); } void Ifc4x3_rc4::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x3_rc4::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[899]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[899]); } void Ifc4x3_rc4::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -13649,15 +13649,15 @@ void Ifc4x3_rc4::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::option std::optional< double > Ifc4x3_rc4::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x3_rc4::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value > Ifc4x3_rc4::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x3_rc4::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x3_rc4::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_rc4::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[900]); } -void Ifc4x3_rc4::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[900]); } +void Ifc4x3_rc4::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value Ifc4x3_rc4::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc4::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc4::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13680,8 +13680,8 @@ std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > Ifc4x3_r void Ifc4x3_rc4::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_rc4::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[901]); } -void Ifc4x3_rc4::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[901]); } +void Ifc4x3_rc4::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAdheresToElement ::Ifc4x3_rc4::IfcElement Ifc4x3_rc4::IfcRelAdheresToElement::RelatingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcElement>(); } @@ -13690,7 +13690,7 @@ std::vector< ::Ifc4x3_rc4::IfcSurfaceFeature > Ifc4x3_rc4::IfcRelAdheresToElemen void Ifc4x3_rc4::IfcRelAdheresToElement::setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3_rc4::IfcSurfaceFeature >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAdheresToElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[903]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAdheresToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[903]); } void Ifc4x3_rc4::IfcRelAdheresToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3_rc4::IfcSurfaceFeature > v6_RelatedSurfaceFeatures) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, cast_vector(v6_RelatedSurfaceFeatures)); } // Function implementations for IfcRelAggregates @@ -13700,18 +13700,18 @@ std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > Ifc4x3_rc4::IfcRelAggregates::R void Ifc4x3_rc4::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x3_rc4::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[904]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[904]); } void Ifc4x3_rc4::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > Ifc4x3_rc4::IfcRelAssigns::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc4::IfcObjectDefinition>(es); } void Ifc4x3_rc4::IfcRelAssigns::setRelatedObjects(const std::vector< ::Ifc4x3_rc4::IfcObjectDefinition >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > Ifc4x3_rc4::IfcRelAssigns::RelatedObjectsType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcObjectTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_rc4::IfcRelAssigns::setRelatedObjectsType(const std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[905]); } -void Ifc4x3_rc4::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[905]); } +void Ifc4x3_rc4::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); } } // Function implementations for IfcRelAssignsToActor ::Ifc4x3_rc4::IfcActor Ifc4x3_rc4::IfcRelAssignsToActor::RelatingActor() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcActor>(); } @@ -13720,32 +13720,32 @@ void Ifc4x3_rc4::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x3_rc4::IfcA void Ifc4x3_rc4::IfcRelAssignsToActor::setActingRole(const ::Ifc4x3_rc4::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[906]); } -void Ifc4x3_rc4::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcActor v7_RelatingActor, ::Ifc4x3_rc4::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[906]); } +void Ifc4x3_rc4::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcActor v7_RelatingActor, ::Ifc4x3_rc4::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl ::Ifc4x3_rc4::IfcControl Ifc4x3_rc4::IfcRelAssignsToControl::RelatingControl() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcControl>(); } void Ifc4x3_rc4::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x3_rc4::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[907]); } -void Ifc4x3_rc4::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[907]); } +void Ifc4x3_rc4::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup ::Ifc4x3_rc4::IfcGroup Ifc4x3_rc4::IfcRelAssignsToGroup::RelatingGroup() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcGroup>(); } void Ifc4x3_rc4::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x3_rc4::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[908]); } -void Ifc4x3_rc4::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[908]); } +void Ifc4x3_rc4::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor double Ifc4x3_rc4::IfcRelAssignsToGroupByFactor::Factor() const { double v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[909]); } -void Ifc4x3_rc4::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[909]); } +void Ifc4x3_rc4::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess ::Ifc4x3_rc4::IfcProcessSelect Ifc4x3_rc4::IfcRelAssignsToProcess::RelatingProcess() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcProcessSelect>(); } @@ -13754,31 +13754,31 @@ void Ifc4x3_rc4::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x3_rc4:: void Ifc4x3_rc4::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x3_rc4::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[910]); } -void Ifc4x3_rc4::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc4::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[910]); } +void Ifc4x3_rc4::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc4::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct ::Ifc4x3_rc4::IfcProductSelect Ifc4x3_rc4::IfcRelAssignsToProduct::RelatingProduct() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcProductSelect>(); } void Ifc4x3_rc4::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x3_rc4::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[911]); } -void Ifc4x3_rc4::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[911]); } +void Ifc4x3_rc4::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource ::Ifc4x3_rc4::IfcResourceSelect Ifc4x3_rc4::IfcRelAssignsToResource::RelatingResource() const { return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcResourceSelect>(); } void Ifc4x3_rc4::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x3_rc4::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[912]); } -void Ifc4x3_rc4::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[912]); } +void Ifc4x3_rc4::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcObjectTypeEnum::Class(),(size_t)*v6_RelatedObjectsType))); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > Ifc4x3_rc4::IfcRelAssociates::RelatedObjects() const { std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_rc4::IfcDefinitionSelect>(es); } void Ifc4x3_rc4::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[913]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[913]); } void Ifc4x3_rc4::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -13786,7 +13786,7 @@ void Ifc4x3_rc4::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_ void Ifc4x3_rc4::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x3_rc4::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[914]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[914]); } void Ifc4x3_rc4::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -13794,7 +13794,7 @@ void Ifc4x3_rc4::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, : void Ifc4x3_rc4::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x3_rc4::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[915]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[915]); } void Ifc4x3_rc4::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -13804,7 +13804,7 @@ void Ifc4x3_rc4::IfcRelAssociatesConstraint::setIntent(const std::optional< std: void Ifc4x3_rc4::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x3_rc4::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[916]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[916]); } void Ifc4x3_rc4::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_rc4::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -13812,7 +13812,7 @@ void Ifc4x3_rc4::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, void Ifc4x3_rc4::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x3_rc4::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[917]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[917]); } void Ifc4x3_rc4::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -13820,7 +13820,7 @@ void Ifc4x3_rc4::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, : void Ifc4x3_rc4::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x3_rc4::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[918]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[918]); } void Ifc4x3_rc4::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -13828,7 +13828,7 @@ void Ifc4x3_rc4::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, :: void Ifc4x3_rc4::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x3_rc4::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[919]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[919]); } void Ifc4x3_rc4::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelAssociatesProfileDef @@ -13836,13 +13836,13 @@ void Ifc4x3_rc4::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, : void Ifc4x3_rc4::IfcRelAssociatesProfileDef::setRelatingProfileDef(const ::Ifc4x3_rc4::IfcProfileDef& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelAssociatesProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[920]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelAssociatesProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[920]); } void Ifc4x3_rc4::IfcRelAssociatesProfileDef::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcProfileDef v6_RelatingProfileDef) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileDef)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x3_rc4::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[922]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[922]); } void Ifc4x3_rc4::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -13854,7 +13854,7 @@ void Ifc4x3_rc4::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x3_rc4:: void Ifc4x3_rc4::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x3_rc4::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[923]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[923]); } void Ifc4x3_rc4::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc4::IfcElement v6_RelatingElement, ::Ifc4x3_rc4::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -13863,13 +13863,13 @@ void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatingPriorities(const std::ve std::vector< int > /*[0:?]*/ Ifc4x3_rc4::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value Ifc4x3_rc4::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x3_rc4::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value Ifc4x3_rc4::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x3_rc4::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc4::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[924]); } -void Ifc4x3_rc4::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc4::IfcElement v6_RelatingElement, ::Ifc4x3_rc4::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[924]); } +void Ifc4x3_rc4::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc4::IfcElement v6_RelatingElement, ::Ifc4x3_rc4::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_rc4::IfcPort Ifc4x3_rc4::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcPort>(); } @@ -13878,7 +13878,7 @@ void Ifc4x3_rc4::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x3_rc4 void Ifc4x3_rc4::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x3_rc4::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[926]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[926]); } void Ifc4x3_rc4::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcPort v5_RelatingPort, ::Ifc4x3_rc4::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -13890,7 +13890,7 @@ void Ifc4x3_rc4::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x3_rc4::IfcPort void Ifc4x3_rc4::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x3_rc4::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[925]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[925]); } void Ifc4x3_rc4::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcPort v5_RelatingPort, ::Ifc4x3_rc4::IfcPort v6_RelatedPort, ::Ifc4x3_rc4::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -13900,7 +13900,7 @@ void Ifc4x3_rc4::IfcRelConnectsStructuralActivity::setRelatingElement(const ::If void Ifc4x3_rc4::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x3_rc4::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[927]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[927]); } void Ifc4x3_rc4::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_rc4::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -13918,7 +13918,7 @@ void Ifc4x3_rc4::IfcRelConnectsStructuralMember::setSupportedLength(const std::o void Ifc4x3_rc4::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[928]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[928]); } void Ifc4x3_rc4::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc4::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc4::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc4::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc4::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -13926,7 +13926,7 @@ void Ifc4x3_rc4::IfcRelConnectsStructuralMember::initialize(std::string v1_Globa void Ifc4x3_rc4::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x3_rc4::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[929]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[929]); } void Ifc4x3_rc4::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc4::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc4::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc4::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc4::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_rc4::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -13936,7 +13936,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcRelConnectsWithRealizingElements::Co void Ifc4x3_rc4::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[930]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[930]); } void Ifc4x3_rc4::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc4::IfcElement v6_RelatingElement, ::Ifc4x3_rc4::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_rc4::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -13946,7 +13946,7 @@ void Ifc4x3_rc4::IfcRelContainedInSpatialStructure::setRelatedElements(const std void Ifc4x3_rc4::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_rc4::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[931]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[931]); } void Ifc4x3_rc4::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcProduct > v5_RelatedElements, ::Ifc4x3_rc4::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -13956,7 +13956,7 @@ std::vector< ::Ifc4x3_rc4::IfcCovering > Ifc4x3_rc4::IfcRelCoversBldgElements::R void Ifc4x3_rc4::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x3_rc4::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[932]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[932]); } void Ifc4x3_rc4::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_rc4::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -13966,7 +13966,7 @@ std::vector< ::Ifc4x3_rc4::IfcCovering > Ifc4x3_rc4::IfcRelCoversSpaces::Related void Ifc4x3_rc4::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x3_rc4::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[933]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[933]); } void Ifc4x3_rc4::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_rc4::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -13976,19 +13976,19 @@ std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > Ifc4x3_rc4::IfcRelDeclares::Rel void Ifc4x3_rc4::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[934]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[934]); } void Ifc4x3_rc4::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x3_rc4::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[935]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[935]); } void Ifc4x3_rc4::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x3_rc4::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[936]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[936]); } void Ifc4x3_rc4::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -13998,7 +13998,7 @@ void Ifc4x3_rc4::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::I void Ifc4x3_rc4::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x3_rc4::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[937]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[937]); } void Ifc4x3_rc4::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc4::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -14008,7 +14008,7 @@ void Ifc4x3_rc4::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< void Ifc4x3_rc4::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x3_rc4::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[938]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[938]); } void Ifc4x3_rc4::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_rc4::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -14018,7 +14018,7 @@ void Ifc4x3_rc4::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vect void Ifc4x3_rc4::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x3_rc4::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[939]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[939]); } void Ifc4x3_rc4::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_rc4::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -14028,7 +14028,7 @@ void Ifc4x3_rc4::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc void Ifc4x3_rc4::IfcRelDefinesByType::setRelatingType(const ::Ifc4x3_rc4::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[940]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[940]); } void Ifc4x3_rc4::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc4::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -14038,7 +14038,7 @@ void Ifc4x3_rc4::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x3_rc void Ifc4x3_rc4::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x3_rc4::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[941]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[941]); } void Ifc4x3_rc4::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -14048,7 +14048,7 @@ void Ifc4x3_rc4::IfcRelFlowControlElements::setRelatedControlElements(const std: void Ifc4x3_rc4::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x3_rc4::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[942]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[942]); } void Ifc4x3_rc4::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_rc4::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -14066,7 +14066,7 @@ boost::logic::tribool Ifc4x3_rc4::IfcRelInterferesElements::ImpliedOrder() const void Ifc4x3_rc4::IfcRelInterferesElements::setImpliedOrder(const boost::logic::tribool& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[943]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[943]); } void Ifc4x3_rc4::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_rc4::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_InterferenceGeometry, ::Ifc4x3_rc4::IfcSpatialZone v8_InterferenceSpace, std::optional< std::string > v9_InterferenceType, boost::logic::tribool v10_ImpliedOrder) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry));set_attribute_value(7, (v8_InterferenceSpace)); if (v9_InterferenceType) {set_attribute_value(8, (*v9_InterferenceType)); }set_attribute_value(9, (v10_ImpliedOrder)); } // Function implementations for IfcRelNests @@ -14076,7 +14076,7 @@ std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > Ifc4x3_rc4::IfcRelNests::Relate void Ifc4x3_rc4::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x3_rc4::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[944]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[944]); } void Ifc4x3_rc4::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelPositions @@ -14086,7 +14086,7 @@ std::vector< ::Ifc4x3_rc4::IfcProduct > Ifc4x3_rc4::IfcRelPositions::RelatedProd void Ifc4x3_rc4::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x3_rc4::IfcProduct >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[945]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[945]); } void Ifc4x3_rc4::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_rc4::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector(v6_RelatedProducts)); } // Function implementations for IfcRelProjectsElement @@ -14096,7 +14096,7 @@ void Ifc4x3_rc4::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x3_rc4::I void Ifc4x3_rc4::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x3_rc4::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[946]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[946]); } void Ifc4x3_rc4::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcElement v5_RelatingElement, ::Ifc4x3_rc4::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -14106,7 +14106,7 @@ void Ifc4x3_rc4::IfcRelReferencedInSpatialStructure::setRelatedElements(const st void Ifc4x3_rc4::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_rc4::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[947]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[947]); } void Ifc4x3_rc4::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_rc4::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -14117,13 +14117,13 @@ void Ifc4x3_rc4::IfcRelSequence::setRelatedProcess(const ::Ifc4x3_rc4::IfcProces ::Ifc4x3_rc4::IfcLagTime Ifc4x3_rc4::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc4::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcLagTime>(); } void Ifc4x3_rc4::IfcRelSequence::setTimeLag(const ::Ifc4x3_rc4::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_rc4::IfcSequenceEnum::Value > Ifc4x3_rc4::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_rc4::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_rc4::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_rc4::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_rc4::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[948]); } -void Ifc4x3_rc4::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc4::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc4::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc4::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[948]); } +void Ifc4x3_rc4::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc4::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc4::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc4::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x3_rc4::IfcSystem Ifc4x3_rc4::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcSystem>(); } @@ -14132,7 +14132,7 @@ std::vector< ::Ifc4x3_rc4::IfcSpatialElement > Ifc4x3_rc4::IfcRelServicesBuildin void Ifc4x3_rc4::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x3_rc4::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[949]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[949]); } void Ifc4x3_rc4::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_rc4::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -14143,31 +14143,31 @@ void Ifc4x3_rc4::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x3_r ::Ifc4x3_rc4::IfcConnectionGeometry Ifc4x3_rc4::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc4::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcConnectionGeometry>(); } void Ifc4x3_rc4::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x3_rc4::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value Ifc4x3_rc4::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc4::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value Ifc4x3_rc4::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x3_rc4::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[950]); } -void Ifc4x3_rc4::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[950]); } +void Ifc4x3_rc4::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel> Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[951], 9)); } +std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel> Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[951], 9)); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[951]); } -void Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[951]); } +void Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel> Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[952], 10)); } +std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel> Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[952], 10)); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[952]); } -void Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[952]); } +void Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x3_rc4::IfcElement Ifc4x3_rc4::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcElement>(); } @@ -14176,13 +14176,13 @@ void Ifc4x3_rc4::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x3_r void Ifc4x3_rc4::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x3_rc4::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[953]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[953]); } void Ifc4x3_rc4::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_rc4::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x3_rc4::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[921]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[921]); } void Ifc4x3_rc4::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -14190,8 +14190,8 @@ double Ifc4x3_rc4::IfcReparametrisedCompositeCurveSegment::ParamLength() const { void Ifc4x3_rc4::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[954]); } -void Ifc4x3_rc4::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc4::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[954]); } +void Ifc4x3_rc4::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc4::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x3_rc4::IfcRepresentationContext Ifc4x3_rc4::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcRepresentationContext>(); } @@ -14203,11 +14203,11 @@ void Ifc4x3_rc4::IfcRepresentation::setRepresentationType(const std::optional< s std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > Ifc4x3_rc4::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_rc4::IfcRepresentationItem>(es); } void Ifc4x3_rc4::IfcRepresentation::setItems(const std::vector< ::Ifc4x3_rc4::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_rc4::IfcRepresentationMap> Ifc4x3_rc4::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[958], 1)); } -std::vector<::Ifc4x3_rc4::IfcPresentationLayerAssignment> Ifc4x3_rc4::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[797], 2)); } -std::vector<::Ifc4x3_rc4::IfcProductRepresentation> Ifc4x3_rc4::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[808], 2)); } +std::vector<::Ifc4x3_rc4::IfcRepresentationMap> Ifc4x3_rc4::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[958], 1)); } +std::vector<::Ifc4x3_rc4::IfcPresentationLayerAssignment> Ifc4x3_rc4::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[797], 2)); } +std::vector<::Ifc4x3_rc4::IfcProductRepresentation> Ifc4x3_rc4::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[808], 2)); } -const IfcParse::entity& Ifc4x3_rc4::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[955]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[955]); } void Ifc4x3_rc4::IfcRepresentation::initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -14216,17 +14216,17 @@ void Ifc4x3_rc4::IfcRepresentationContext::setContextIdentifier(const std::optio std::optional< std::string > Ifc4x3_rc4::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_rc4::IfcRepresentation> Ifc4x3_rc4::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[955], 0)); } +std::vector<::Ifc4x3_rc4::IfcRepresentation> Ifc4x3_rc4::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[955], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[956]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[956]); } void Ifc4x3_rc4::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x3_rc4::IfcPresentationLayerAssignment> Ifc4x3_rc4::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[797], 2)); } -std::vector<::Ifc4x3_rc4::IfcStyledItem> Ifc4x3_rc4::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1122], 0)); } +std::vector<::Ifc4x3_rc4::IfcPresentationLayerAssignment> Ifc4x3_rc4::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[797], 2)); } +std::vector<::Ifc4x3_rc4::IfcStyledItem> Ifc4x3_rc4::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1122], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[957]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[957]); } void Ifc4x3_rc4::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -14235,10 +14235,10 @@ void Ifc4x3_rc4::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x3_rc4::IfcA ::Ifc4x3_rc4::IfcRepresentation Ifc4x3_rc4::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcRepresentation>(); } void Ifc4x3_rc4::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x3_rc4::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_rc4::IfcShapeAspect> Ifc4x3_rc4::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1009], 4)); } -std::vector<::Ifc4x3_rc4::IfcMappedItem> Ifc4x3_rc4::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[630], 0)); } +std::vector<::Ifc4x3_rc4::IfcShapeAspect> Ifc4x3_rc4::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1009], 4)); } +std::vector<::Ifc4x3_rc4::IfcMappedItem> Ifc4x3_rc4::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[630], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[958]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[958]); } void Ifc4x3_rc4::IfcRepresentationMap::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_rc4::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -14247,9 +14247,9 @@ void Ifc4x3_rc4::IfcResource::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_rc4::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_rc4::IfcRelAssignsToResource> Ifc4x3_rc4::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[912], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelAssignsToResource> Ifc4x3_rc4::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[912], 6)); } -const IfcParse::entity& Ifc4x3_rc4::IfcResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[959]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[959]); } void Ifc4x3_rc4::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -14259,7 +14259,7 @@ void Ifc4x3_rc4::IfcResourceApprovalRelationship::setRelatedResourceObjects(cons void Ifc4x3_rc4::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x3_rc4::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[960]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[960]); } void Ifc4x3_rc4::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_rc4::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -14269,7 +14269,7 @@ std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > Ifc4x3_rc4::IfcResourceCons void Ifc4x3_rc4::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[961]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[961]); } void Ifc4x3_rc4::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -14279,7 +14279,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcResourceLevelRelationship::Descripti void Ifc4x3_rc4::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc4::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[962]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[962]); } void Ifc4x3_rc4::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -14315,8 +14315,8 @@ std::optional< double > Ifc4x3_rc4::IfcResourceTime::Completion() const { if(get void Ifc4x3_rc4::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_rc4::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[965]); } -void Ifc4x3_rc4::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[965]); } +void Ifc4x3_rc4::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x3_rc4::IfcAxis1Placement Ifc4x3_rc4::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcAxis1Placement>(); } @@ -14325,7 +14325,7 @@ double Ifc4x3_rc4::IfcRevolvedAreaSolid::Angle() const { double v = get_attribu void Ifc4x3_rc4::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[966]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[966]); } void Ifc4x3_rc4::IfcRevolvedAreaSolid::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -14333,7 +14333,7 @@ void Ifc4x3_rc4::IfcRevolvedAreaSolid::initialize(::Ifc4x3_rc4::IfcProfileDef v1 void Ifc4x3_rc4::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_rc4::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[967]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[967]); } void Ifc4x3_rc4::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_rc4::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -14343,7 +14343,7 @@ double Ifc4x3_rc4::IfcRightCircularCone::BottomRadius() const { double v = get_ void Ifc4x3_rc4::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[968]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[968]); } void Ifc4x3_rc4::IfcRightCircularCone::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -14353,32 +14353,32 @@ double Ifc4x3_rc4::IfcRightCircularCylinder::Radius() const { double v = get_at void Ifc4x3_rc4::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[969]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[969]); } void Ifc4x3_rc4::IfcRightCircularCylinder::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoad std::optional< ::Ifc4x3_rc4::IfcRoadTypeEnum::Value > Ifc4x3_rc4::IfcRoad::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcRoadTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRoad::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[970]); } -void Ifc4x3_rc4::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRoad::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[970]); } +void Ifc4x3_rc4::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRoof std::optional< ::Ifc4x3_rc4::IfcRoofTypeEnum::Value > Ifc4x3_rc4::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[974]); } -void Ifc4x3_rc4::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[974]); } +void Ifc4x3_rc4::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x3_rc4::IfcRoofTypeEnum::Value Ifc4x3_rc4::IfcRoofType::PredefinedType() const { return ::Ifc4x3_rc4::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcRoofType::setPredefinedType(const ::Ifc4x3_rc4::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcRoofType::setPredefinedType(const ::Ifc4x3_rc4::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[975]); } -void Ifc4x3_rc4::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[975]); } +void Ifc4x3_rc4::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x3_rc4::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -14391,7 +14391,7 @@ std::optional< std::string > Ifc4x3_rc4::IfcRoot::Description() const { if(get_a void Ifc4x3_rc4::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[977]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[977]); } void Ifc4x3_rc4::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -14399,52 +14399,52 @@ double Ifc4x3_rc4::IfcRoundedRectangleProfileDef::RoundingRadius() const { doub void Ifc4x3_rc4::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[982]); } -void Ifc4x3_rc4::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[982]); } +void Ifc4x3_rc4::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x3_rc4::IfcSIPrefix::Value > Ifc4x3_rc4::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x3_rc4::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_rc4::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc4::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_rc4::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_rc4::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc4::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x3_rc4::IfcSIUnitName::Value Ifc4x3_rc4::IfcSIUnit::Name() const { return ::Ifc4x3_rc4::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x3_rc4::IfcSIUnit::setName(const ::Ifc4x3_rc4::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc4::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc4::IfcSIUnit::setName(const ::Ifc4x3_rc4::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc4::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1028]); } -void Ifc4x3_rc4::IfcSIUnit::initialize(::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc4::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc4::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc4::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1028]); } +void Ifc4x3_rc4::IfcSIUnit::initialize(::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc4::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc4::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc4::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3_rc4::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[983]); } -void Ifc4x3_rc4::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[983]); } +void Ifc4x3_rc4::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_rc4::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[984]); } -void Ifc4x3_rc4::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[984]); } +void Ifc4x3_rc4::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x3_rc4::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc4::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > Ifc4x3_rc4::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_rc4::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x3_rc4::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_rc4::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[986]); } -void Ifc4x3_rc4::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[986]); } +void Ifc4x3_rc4::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x3_rc4::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[987]); } -void Ifc4x3_rc4::IfcSeamCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[987]); } +void Ifc4x3_rc4::IfcSeamCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSecondOrderPolynomialSpiral double Ifc4x3_rc4::IfcSecondOrderPolynomialSpiral::QuadraticTerm() const { double v = get_attribute_value(1); return v; } @@ -14455,20 +14455,20 @@ std::optional< double > Ifc4x3_rc4::IfcSecondOrderPolynomialSpiral::ConstantTerm void Ifc4x3_rc4::IfcSecondOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSecondOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[988]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSecondOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[988]); } void Ifc4x3_rc4::IfcSecondOrderPolynomialSpiral::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_QuadraticTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSectionProperties ::Ifc4x3_rc4::IfcSectionTypeEnum::Value Ifc4x3_rc4::IfcSectionProperties::SectionType() const { return ::Ifc4x3_rc4::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_rc4::IfcSectionProperties::setSectionType(const ::Ifc4x3_rc4::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc4::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc4::IfcSectionProperties::setSectionType(const ::Ifc4x3_rc4::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc4::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_rc4::IfcProfileDef Ifc4x3_rc4::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcProfileDef>(); } void Ifc4x3_rc4::IfcSectionProperties::setStartProfile(const ::Ifc4x3_rc4::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc4::IfcProfileDef Ifc4x3_rc4::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_rc4::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcProfileDef>(); } void Ifc4x3_rc4::IfcSectionProperties::setEndProfile(const ::Ifc4x3_rc4::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[995]); } -void Ifc4x3_rc4::IfcSectionProperties::initialize(::Ifc4x3_rc4::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc4::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc4::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[995]); } +void Ifc4x3_rc4::IfcSectionProperties::initialize(::Ifc4x3_rc4::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc4::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc4::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x3_rc4::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -14478,15 +14478,15 @@ void Ifc4x3_rc4::IfcSectionReinforcementProperties::setLongitudinalEndPosition(c std::optional< double > Ifc4x3_rc4::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_rc4::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value Ifc4x3_rc4::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc4::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_rc4::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc4::IfcSectionProperties Ifc4x3_rc4::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcSectionProperties>(); } void Ifc4x3_rc4::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x3_rc4::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x3_rc4::IfcReinforcementBarProperties > Ifc4x3_rc4::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_rc4::IfcReinforcementBarProperties>(es); } void Ifc4x3_rc4::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_rc4::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[996]); } -void Ifc4x3_rc4::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc4::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc4::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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_rc4::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[996]); } +void Ifc4x3_rc4::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc4::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc4::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x3_rc4::IfcCurve Ifc4x3_rc4::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcCurve>(); } @@ -14495,7 +14495,7 @@ std::vector< ::Ifc4x3_rc4::IfcProfileDef > Ifc4x3_rc4::IfcSectionedSolid::CrossS void Ifc4x3_rc4::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x3_rc4::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[990]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[990]); } void Ifc4x3_rc4::IfcSectionedSolid::initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -14505,7 +14505,7 @@ bool Ifc4x3_rc4::IfcSectionedSolidHorizontal::FixedAxisVertical() const { bool void Ifc4x3_rc4::IfcSectionedSolidHorizontal::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[991]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[991]); } void Ifc4x3_rc4::IfcSectionedSolidHorizontal::initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc4::IfcAxis2PlacementLinear > v3_CrossSectionPositions, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSectionedSpine @@ -14517,7 +14517,7 @@ std::vector< ::Ifc4x3_rc4::IfcAxis2Placement3D > Ifc4x3_rc4::IfcSectionedSpine:: void Ifc4x3_rc4::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x3_rc4::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[992]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[992]); } void Ifc4x3_rc4::IfcSectionedSpine::initialize(::Ifc4x3_rc4::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc4::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSurface @@ -14531,17 +14531,17 @@ bool Ifc4x3_rc4::IfcSectionedSurface::FixedAxisVertical() const { bool v = get_ void Ifc4x3_rc4::IfcSectionedSurface::setFixedAxisVertical(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcSectionedSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[993]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSectionedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[993]); } void Ifc4x3_rc4::IfcSectionedSurface::initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc4::IfcPointByDistanceExpression > v2_CrossSectionPositions, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v3_CrossSections, bool v4_FixedAxisVertical) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSectionPositions));set_attribute_value(2, cast_vector(v3_CrossSections));set_attribute_value(3, (v4_FixedAxisVertical)); } // Function implementations for IfcSegment ::Ifc4x3_rc4::IfcTransitionCode::Value Ifc4x3_rc4::IfcSegment::Transition() const { return ::Ifc4x3_rc4::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x3_rc4::IfcSegment::setTransition(const ::Ifc4x3_rc4::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_rc4::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_rc4::IfcSegment::setTransition(const ::Ifc4x3_rc4::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_rc4::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc4::IfcCompositeCurve> Ifc4x3_rc4::IfcSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[194], 0)); } +std::vector<::Ifc4x3_rc4::IfcCompositeCurve> Ifc4x3_rc4::IfcSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[194], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcSegment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[998]); } -void Ifc4x3_rc4::IfcSegment::initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcTransitionCode::Class(),(size_t)v1_Transition))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[998]); } +void Ifc4x3_rc4::IfcSegment::initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcTransitionCode::Class(),(size_t)v1_Transition))); } // Function implementations for IfcSegmentedReferenceCurve ::Ifc4x3_rc4::IfcBoundedCurve Ifc4x3_rc4::IfcSegmentedReferenceCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcBoundedCurve>(); } @@ -14550,24 +14550,24 @@ void Ifc4x3_rc4::IfcSegmentedReferenceCurve::setBaseCurve(const ::Ifc4x3_rc4::If void Ifc4x3_rc4::IfcSegmentedReferenceCurve::setEndPoint(const ::Ifc4x3_rc4::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcSegmentedReferenceCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[999]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSegmentedReferenceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[999]); } void Ifc4x3_rc4::IfcSegmentedReferenceCurve::initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_rc4::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_rc4::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcSensor std::optional< ::Ifc4x3_rc4::IfcSensorTypeEnum::Value > Ifc4x3_rc4::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1001]); } -void Ifc4x3_rc4::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1001]); } +void Ifc4x3_rc4::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x3_rc4::IfcSensorTypeEnum::Value Ifc4x3_rc4::IfcSensorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSensorType::setPredefinedType(const ::Ifc4x3_rc4::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSensorType::setPredefinedType(const ::Ifc4x3_rc4::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1002]); } -void Ifc4x3_rc4::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1002]); } +void Ifc4x3_rc4::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSeventhOrderPolynomialSpiral double Ifc4x3_rc4::IfcSeventhOrderPolynomialSpiral::SepticTerm() const { double v = get_attribute_value(1); return v; } @@ -14588,24 +14588,24 @@ std::optional< double > Ifc4x3_rc4::IfcSeventhOrderPolynomialSpiral::ConstantTer void Ifc4x3_rc4::IfcSeventhOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSeventhOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1005]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSeventhOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1005]); } void Ifc4x3_rc4::IfcSeventhOrderPolynomialSpiral::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value > Ifc4x3_rc4::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1006]); } -void Ifc4x3_rc4::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1006]); } +void Ifc4x3_rc4::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value Ifc4x3_rc4::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1007]); } -void Ifc4x3_rc4::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1007]); } +void Ifc4x3_rc4::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x3_rc4::IfcShapeModel > Ifc4x3_rc4::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcShapeModel>(es); } @@ -14619,22 +14619,22 @@ void Ifc4x3_rc4::IfcShapeAspect::setProductDefinitional(const boost::logic::trib ::Ifc4x3_rc4::IfcProductRepresentationSelect Ifc4x3_rc4::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_rc4::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_rc4::IfcProductRepresentationSelect>(); } void Ifc4x3_rc4::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x3_rc4::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1009]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1009]); } void Ifc4x3_rc4::IfcShapeAspect::initialize(std::vector< ::Ifc4x3_rc4::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_rc4::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x3_rc4::IfcShapeAspect> Ifc4x3_rc4::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1009], 0)); } +std::vector<::Ifc4x3_rc4::IfcShapeAspect> Ifc4x3_rc4::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1009], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1010]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1010]); } void Ifc4x3_rc4::IfcShapeModel::initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x3_rc4::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1011]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1011]); } void Ifc4x3_rc4::IfcShapeRepresentation::initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -14642,50 +14642,50 @@ std::vector< ::Ifc4x3_rc4::IfcShell > Ifc4x3_rc4::IfcShellBasedSurfaceModel::Sbs void Ifc4x3_rc4::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x3_rc4::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1014]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1014]); } void Ifc4x3_rc4::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_rc4::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSign std::optional< ::Ifc4x3_rc4::IfcSignTypeEnum::Value > Ifc4x3_rc4::IfcSign::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSignTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSign::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1015]); } -void Ifc4x3_rc4::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSign::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1015]); } +void Ifc4x3_rc4::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignType ::Ifc4x3_rc4::IfcSignTypeEnum::Value Ifc4x3_rc4::IfcSignType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSignTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSignType::setPredefinedType(const ::Ifc4x3_rc4::IfcSignTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSignType::setPredefinedType(const ::Ifc4x3_rc4::IfcSignTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcSignType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1019]); } -void Ifc4x3_rc4::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSignType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1019]); } +void Ifc4x3_rc4::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSignal std::optional< ::Ifc4x3_rc4::IfcSignalTypeEnum::Value > Ifc4x3_rc4::IfcSignal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSignalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSignal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1016]); } -void Ifc4x3_rc4::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSignal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1016]); } +void Ifc4x3_rc4::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignalType ::Ifc4x3_rc4::IfcSignalTypeEnum::Value Ifc4x3_rc4::IfcSignalType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSignalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSignalType::setPredefinedType(const ::Ifc4x3_rc4::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSignalType::setPredefinedType(const ::Ifc4x3_rc4::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcSignalType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1017]); } -void Ifc4x3_rc4::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSignalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1017]); } +void Ifc4x3_rc4::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x3_rc4::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1021]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1021]); } void Ifc4x3_rc4::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3_rc4::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc4::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_rc4::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc4::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_rc4::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -14699,11 +14699,11 @@ void Ifc4x3_rc4::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x3_rc4: std::optional< std::string > Ifc4x3_rc4::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > Ifc4x3_rc4::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc4::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1022]); } -void Ifc4x3_rc4::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc4::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc4::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc4::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_rc4::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1022]); } +void Ifc4x3_rc4::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc4::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc4::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc4::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_rc4::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSine double Ifc4x3_rc4::IfcSine::SineTerm() const { double v = get_attribute_value(1); return v; } @@ -14714,7 +14714,7 @@ std::optional< double > Ifc4x3_rc4::IfcSine::ConstantTerm() const { if(get_attri void Ifc4x3_rc4::IfcSine::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSine::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1025]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSine::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1025]); } void Ifc4x3_rc4::IfcSine::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SineTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSite @@ -14730,36 +14730,36 @@ void Ifc4x3_rc4::IfcSite::setLandTitleNumber(const std::optional< std::string >& void Ifc4x3_rc4::IfcSite::setSiteAddress(const ::Ifc4x3_rc4::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_rc4::IfcSite::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1027]); } -void Ifc4x3_rc4::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc4::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::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)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1027]); } +void Ifc4x3_rc4::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc4::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > Ifc4x3_rc4::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1031]); } -void Ifc4x3_rc4::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1031]); } +void Ifc4x3_rc4::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabElementedCase -const IfcParse::entity& Ifc4x3_rc4::IfcSlabElementedCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1032]); } -void Ifc4x3_rc4::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSlabElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1032]); } +void Ifc4x3_rc4::IfcSlabElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabStandardCase -const IfcParse::entity& Ifc4x3_rc4::IfcSlabStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1033]); } -void Ifc4x3_rc4::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSlabStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1033]); } +void Ifc4x3_rc4::IfcSlabStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x3_rc4::IfcSlabTypeEnum::Value Ifc4x3_rc4::IfcSlabType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSlabType::setPredefinedType(const ::Ifc4x3_rc4::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSlabType::setPredefinedType(const ::Ifc4x3_rc4::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1034]); } -void Ifc4x3_rc4::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1034]); } +void Ifc4x3_rc4::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x3_rc4::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -14770,84 +14770,84 @@ std::optional< double > Ifc4x3_rc4::IfcSlippageConnectionCondition::SlippageZ() void Ifc4x3_rc4::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1036]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1036]); } void Ifc4x3_rc4::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value > Ifc4x3_rc4::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1037]); } -void Ifc4x3_rc4::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1037]); } +void Ifc4x3_rc4::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value Ifc4x3_rc4::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1038]); } -void Ifc4x3_rc4::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1038]); } +void Ifc4x3_rc4::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x3_rc4::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1041]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1041]); } void Ifc4x3_rc4::IfcSolidModel::initialize() { } // Function implementations for IfcSolidStratum -const IfcParse::entity& Ifc4x3_rc4::IfcSolidStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1043]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSolidStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1043]); } void Ifc4x3_rc4::IfcSolidStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcSpace std::optional< ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value > Ifc4x3_rc4::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc4::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x3_rc4::IfcRelCoversSpaces> Ifc4x3_rc4::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[933], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary> Ifc4x3_rc4::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[950], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelCoversSpaces> Ifc4x3_rc4::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[933], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelSpaceBoundary> Ifc4x3_rc4::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[950], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1048]); } -void Ifc4x3_rc4::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1048]); } +void Ifc4x3_rc4::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value > Ifc4x3_rc4::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1050]); } -void Ifc4x3_rc4::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1050]); } +void Ifc4x3_rc4::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value Ifc4x3_rc4::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1051]); } -void Ifc4x3_rc4::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1051]); } +void Ifc4x3_rc4::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value Ifc4x3_rc4::IfcSpaceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSpaceType::setPredefinedType(const ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSpaceType::setPredefinedType(const ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc4::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1053]); } -void Ifc4x3_rc4::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1053]); } +void Ifc4x3_rc4::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x3_rc4::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc4::IfcRelContainedInSpatialStructure> Ifc4x3_rc4::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[931], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelServicesBuildings> Ifc4x3_rc4::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[949], 5)); } -std::vector<::Ifc4x3_rc4::IfcRelReferencedInSpatialStructure> Ifc4x3_rc4::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[947], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelContainedInSpatialStructure> Ifc4x3_rc4::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[931], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelServicesBuildings> Ifc4x3_rc4::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[949], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelReferencedInSpatialStructure> Ifc4x3_rc4::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[947], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1055]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1055]); } void Ifc4x3_rc4::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -14855,47 +14855,47 @@ std::optional< std::string > Ifc4x3_rc4::IfcSpatialElementType::ElementType() co void Ifc4x3_rc4::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1056]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1056]); } void Ifc4x3_rc4::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > Ifc4x3_rc4::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1058]); } -void Ifc4x3_rc4::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1058]); } +void Ifc4x3_rc4::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x3_rc4::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1059]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1059]); } void Ifc4x3_rc4::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value > Ifc4x3_rc4::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1060]); } -void Ifc4x3_rc4::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1060]); } +void Ifc4x3_rc4::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value Ifc4x3_rc4::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc4::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1061]); } -void Ifc4x3_rc4::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1061]); } +void Ifc4x3_rc4::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x3_rc4::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_rc4::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1067]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1067]); } void Ifc4x3_rc4::IfcSphere::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -14903,7 +14903,7 @@ double Ifc4x3_rc4::IfcSphericalSurface::Radius() const { double v = get_attribu void Ifc4x3_rc4::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1068]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1068]); } void Ifc4x3_rc4::IfcSphericalSurface::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSpiral @@ -14911,32 +14911,32 @@ void Ifc4x3_rc4::IfcSphericalSurface::initialize(::Ifc4x3_rc4::IfcAxis2Placement void Ifc4x3_rc4::IfcSpiral::setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcSpiral::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1069]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1069]); } void Ifc4x3_rc4::IfcSpiral::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value > Ifc4x3_rc4::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1070]); } -void Ifc4x3_rc4::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1070]); } +void Ifc4x3_rc4::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value Ifc4x3_rc4::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1071]); } -void Ifc4x3_rc4::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1071]); } +void Ifc4x3_rc4::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x3_rc4::IfcStairTypeEnum::Value > Ifc4x3_rc4::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStair::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1073]); } -void Ifc4x3_rc4::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1073]); } +void Ifc4x3_rc4::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x3_rc4::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -14948,50 +14948,50 @@ void Ifc4x3_rc4::IfcStairFlight::setRiserHeight(const std::optional< double >& v std::optional< double > Ifc4x3_rc4::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_rc4::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value > Ifc4x3_rc4::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc4::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc4::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc4::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc4::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1074]); } -void Ifc4x3_rc4::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1074]); } +void Ifc4x3_rc4::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value Ifc4x3_rc4::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_rc4::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1075]); } -void Ifc4x3_rc4::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1075]); } +void Ifc4x3_rc4::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x3_rc4::IfcStairTypeEnum::Value Ifc4x3_rc4::IfcStairType::PredefinedType() const { return ::Ifc4x3_rc4::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcStairType::setPredefinedType(const ::Ifc4x3_rc4::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcStairType::setPredefinedType(const ::Ifc4x3_rc4::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1077]); } -void Ifc4x3_rc4::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1077]); } +void Ifc4x3_rc4::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x3_rc4::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1080]); } -void Ifc4x3_rc4::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1080]); } +void Ifc4x3_rc4::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x3_rc4::IfcStructuralLoad Ifc4x3_rc4::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc4::IfcStructuralLoad>(); } void Ifc4x3_rc4::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x3_rc4::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value Ifc4x3_rc4::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_rc4::IfcRelConnectsStructuralActivity> Ifc4x3_rc4::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[927], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsStructuralActivity> Ifc4x3_rc4::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[927], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1081]); } -void Ifc4x3_rc4::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1081]); } +void Ifc4x3_rc4::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value Ifc4x3_rc4::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc4::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc4::IfcAxis2Placement3D Ifc4x3_rc4::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc4::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcAxis2Placement3D>(); } void Ifc4x3_rc4::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_rc4::IfcStructuralLoadGroup > > Ifc4x3_rc4::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc4::IfcStructuralLoadGroup>(es); } @@ -15002,16 +15002,16 @@ void Ifc4x3_rc4::IfcStructuralAnalysisModel::setHasResults(const std::optional< void Ifc4x3_rc4::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x3_rc4::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1083]); } -void Ifc4x3_rc4::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc4::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc4::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc4::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc4::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc4::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1083]); } +void Ifc4x3_rc4::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc4::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc4::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc4::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc4::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x3_rc4::IfcBoundaryCondition Ifc4x3_rc4::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc4::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc4::IfcBoundaryCondition>(); } void Ifc4x3_rc4::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x3_rc4::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc4::IfcRelConnectsStructuralMember> Ifc4x3_rc4::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[928], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsStructuralMember> Ifc4x3_rc4::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[928], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1084]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1084]); } void Ifc4x3_rc4::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -15019,70 +15019,70 @@ std::optional< std::string > Ifc4x3_rc4::IfcStructuralConnectionCondition::Name( void Ifc4x3_rc4::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1085]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1085]); } void Ifc4x3_rc4::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_rc4::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc4::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc4::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1086]); } -void Ifc4x3_rc4::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1086]); } +void Ifc4x3_rc4::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x3_rc4::IfcDirection Ifc4x3_rc4::IfcStructuralCurveConnection::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc4::IfcDirection>(); } void Ifc4x3_rc4::IfcStructuralCurveConnection::setAxis(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1088]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1088]); } void Ifc4x3_rc4::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_rc4::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc4::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc4::IfcDirection Ifc4x3_rc4::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc4::IfcDirection>(); } void Ifc4x3_rc4::IfcStructuralCurveMember::setAxis(const ::Ifc4x3_rc4::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1089]); } -void Ifc4x3_rc4::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1089]); } +void Ifc4x3_rc4::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1091]); } -void Ifc4x3_rc4::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1091]); } +void Ifc4x3_rc4::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc4::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_rc4::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1092]); } -void Ifc4x3_rc4::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1092]); } +void Ifc4x3_rc4::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x3_rc4::IfcRelConnectsStructuralActivity> Ifc4x3_rc4::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[927], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsStructuralActivity> Ifc4x3_rc4::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[927], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1093]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1093]); } void Ifc4x3_rc4::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1094]); } -void Ifc4x3_rc4::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1094]); } +void Ifc4x3_rc4::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x3_rc4::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_rc4::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1095]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1095]); } void Ifc4x3_rc4::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -15090,8 +15090,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x3_rc4::IfcStructuralLoadCa void Ifc4x3_rc4::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1096]); } -void Ifc4x3_rc4::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc4::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc4::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1096]); } +void Ifc4x3_rc4::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc4::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x3_rc4::IfcStructuralLoadOrResult > Ifc4x3_rc4::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc4::IfcStructuralLoadOrResult>(es); } @@ -15100,26 +15100,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_rc4::IfcStructuralL void Ifc4x3_rc4::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1097]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1097]); } void Ifc4x3_rc4::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc4::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value Ifc4x3_rc4::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc4::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc4::IfcActionTypeEnum::Value Ifc4x3_rc4::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x3_rc4::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_rc4::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_rc4::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x3_rc4::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x3_rc4::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_rc4::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x3_rc4::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_rc4::IfcActionSourceTypeEnum::Value Ifc4x3_rc4::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x3_rc4::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_rc4::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc4::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_rc4::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_rc4::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_rc4::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_rc4::IfcStructuralResultGroup> Ifc4x3_rc4::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1114], 6)); } -std::vector<::Ifc4x3_rc4::IfcStructuralAnalysisModel> Ifc4x3_rc4::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1083], 7)); } +std::vector<::Ifc4x3_rc4::IfcStructuralResultGroup> Ifc4x3_rc4::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1114], 6)); } +std::vector<::Ifc4x3_rc4::IfcStructuralAnalysisModel> Ifc4x3_rc4::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1083], 7)); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1098]); } -void Ifc4x3_rc4::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc4::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_rc4::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1098]); } +void Ifc4x3_rc4::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_rc4::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x3_rc4::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -15136,13 +15136,13 @@ std::optional< double > Ifc4x3_rc4::IfcStructuralLoadLinearForce::LinearMomentZ( void Ifc4x3_rc4::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1099]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1099]); } void Ifc4x3_rc4::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1100]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1100]); } void Ifc4x3_rc4::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -15154,7 +15154,7 @@ std::optional< double > Ifc4x3_rc4::IfcStructuralLoadPlanarForce::PlanarForceZ() void Ifc4x3_rc4::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1101]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1101]); } void Ifc4x3_rc4::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -15172,7 +15172,7 @@ std::optional< double > Ifc4x3_rc4::IfcStructuralLoadSingleDisplacement::Rotatio void Ifc4x3_rc4::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1102]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1102]); } void Ifc4x3_rc4::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -15180,7 +15180,7 @@ std::optional< double > Ifc4x3_rc4::IfcStructuralLoadSingleDisplacementDistortio void Ifc4x3_rc4::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1103]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1103]); } void Ifc4x3_rc4::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -15198,7 +15198,7 @@ std::optional< double > Ifc4x3_rc4::IfcStructuralLoadSingleForce::MomentZ() cons void Ifc4x3_rc4::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1104]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1104]); } void Ifc4x3_rc4::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -15206,13 +15206,13 @@ std::optional< double > Ifc4x3_rc4::IfcStructuralLoadSingleForceWarping::Warping void Ifc4x3_rc4::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1105]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1105]); } void Ifc4x3_rc4::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1106]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1106]); } void Ifc4x3_rc4::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -15224,105 +15224,105 @@ std::optional< double > Ifc4x3_rc4::IfcStructuralLoadTemperature::DeltaTZ() cons void Ifc4x3_rc4::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1107]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1107]); } void Ifc4x3_rc4::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x3_rc4::IfcRelConnectsStructuralMember> Ifc4x3_rc4::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[928], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelConnectsStructuralMember> Ifc4x3_rc4::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[928], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1108]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1108]); } void Ifc4x3_rc4::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1109]); } -void Ifc4x3_rc4::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1109]); } +void Ifc4x3_rc4::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1110]); } -void Ifc4x3_rc4::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1110]); } +void Ifc4x3_rc4::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x3_rc4::IfcAxis2Placement3D Ifc4x3_rc4::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc4::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc4::IfcAxis2Placement3D>(); } void Ifc4x3_rc4::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1111]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1111]); } void Ifc4x3_rc4::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc4::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1112]); } -void Ifc4x3_rc4::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1112]); } +void Ifc4x3_rc4::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1113]); } -void Ifc4x3_rc4::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1113]); } +void Ifc4x3_rc4::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_rc4::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc4::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_rc4::IfcStructuralLoadGroup Ifc4x3_rc4::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_rc4::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_rc4::IfcStructuralLoadGroup>(); } void Ifc4x3_rc4::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x3_rc4::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x3_rc4::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc4::IfcStructuralAnalysisModel> Ifc4x3_rc4::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1083], 8)); } +std::vector<::Ifc4x3_rc4::IfcStructuralAnalysisModel> Ifc4x3_rc4::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1083], 8)); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1114]); } -void Ifc4x3_rc4::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc4::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_rc4::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1114]); } +void Ifc4x3_rc4::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc4::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_rc4::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc4::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc4::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1115]); } -void Ifc4x3_rc4::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1115]); } +void Ifc4x3_rc4::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1117]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1117]); } void Ifc4x3_rc4::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_rc4::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_rc4::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_rc4::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_rc4::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1118]); } -void Ifc4x3_rc4::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1118]); } +void Ifc4x3_rc4::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1120]); } -void Ifc4x3_rc4::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1120]); } +void Ifc4x3_rc4::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_rc4::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1121]); } -void Ifc4x3_rc4::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1121]); } +void Ifc4x3_rc4::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x3_rc4::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1124]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1124]); } void Ifc4x3_rc4::IfcStyleModel::initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -15334,43 +15334,43 @@ std::optional< std::string > Ifc4x3_rc4::IfcStyledItem::Name() const { if(get_at void Ifc4x3_rc4::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1122]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1122]); } void Ifc4x3_rc4::IfcStyledItem::initialize(::Ifc4x3_rc4::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_rc4::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x3_rc4::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1123]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1123]); } void Ifc4x3_rc4::IfcStyledRepresentation::initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value > Ifc4x3_rc4::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1125]); } -void Ifc4x3_rc4::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1125]); } +void Ifc4x3_rc4::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value Ifc4x3_rc4::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_rc4::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1126]); } -void Ifc4x3_rc4::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1126]); } +void Ifc4x3_rc4::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x3_rc4::IfcEdge Ifc4x3_rc4::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcEdge>(); } void Ifc4x3_rc4::IfcSubedge::setParentEdge(const ::Ifc4x3_rc4::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1128]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1128]); } void Ifc4x3_rc4::IfcSubedge::initialize(::Ifc4x3_rc4::IfcVertex v1_EdgeStart, ::Ifc4x3_rc4::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc4::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x3_rc4::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1129]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1129]); } void Ifc4x3_rc4::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -15379,28 +15379,28 @@ void Ifc4x3_rc4::IfcSurfaceCurve::setCurve3D(const ::Ifc4x3_rc4::IfcCurve& v) { std::vector< ::Ifc4x3_rc4::IfcPcurve > Ifc4x3_rc4::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_rc4::IfcPcurve>(es); } void Ifc4x3_rc4::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x3_rc4::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_rc4::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x3_rc4::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc4::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1130]); } -void Ifc4x3_rc4::IfcSurfaceCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1130]); } +void Ifc4x3_rc4::IfcSurfaceCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x3_rc4::IfcSurface Ifc4x3_rc4::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_rc4::IfcSurface>(); } void Ifc4x3_rc4::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x3_rc4::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1131]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1131]); } void Ifc4x3_rc4::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcCurve v3_Directrix, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc4::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc4::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3_rc4::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc4::IfcRelAdheresToElement> Ifc4x3_rc4::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[903], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelAdheresToElement> Ifc4x3_rc4::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[903], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1132]); } -void Ifc4x3_rc4::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1132]); } +void Ifc4x3_rc4::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x3_rc4::IfcDirection Ifc4x3_rc4::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_rc4::IfcDirection>(); } @@ -15409,7 +15409,7 @@ double Ifc4x3_rc4::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_ void Ifc4x3_rc4::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1134]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1134]); } void Ifc4x3_rc4::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -15417,7 +15417,7 @@ void Ifc4x3_rc4::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_rc4::IfcProfil void Ifc4x3_rc4::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x3_rc4::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1135]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1135]); } void Ifc4x3_rc4::IfcSurfaceOfRevolution::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -15429,18 +15429,18 @@ std::optional< double > Ifc4x3_rc4::IfcSurfaceReinforcementArea::ShearReinforcem void Ifc4x3_rc4::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1137]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1137]); } void Ifc4x3_rc4::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x3_rc4::IfcSurfaceSide::Value Ifc4x3_rc4::IfcSurfaceStyle::Side() const { return ::Ifc4x3_rc4::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x3_rc4::IfcSurfaceStyle::setSide(const ::Ifc4x3_rc4::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_rc4::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_rc4::IfcSurfaceStyle::setSide(const ::Ifc4x3_rc4::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_rc4::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x3_rc4::IfcSurfaceStyleElementSelect > Ifc4x3_rc4::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_rc4::IfcSurfaceStyleElementSelect>(es); } void Ifc4x3_rc4::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x3_rc4::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1139]); } -void Ifc4x3_rc4::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc4::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1139]); } +void Ifc4x3_rc4::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc4::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x3_rc4::IfcColourRgb Ifc4x3_rc4::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcColourRgb>(); } @@ -15453,7 +15453,7 @@ void Ifc4x3_rc4::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x3_r void Ifc4x3_rc4::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x3_rc4::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1141]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1141]); } void Ifc4x3_rc4::IfcSurfaceStyleLighting::initialize(::Ifc4x3_rc4::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_rc4::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_rc4::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_rc4::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -15463,7 +15463,7 @@ std::optional< double > Ifc4x3_rc4::IfcSurfaceStyleRefraction::DispersionFactor( void Ifc4x3_rc4::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1142]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1142]); } void Ifc4x3_rc4::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -15480,11 +15480,11 @@ void Ifc4x3_rc4::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x3_rc4: ::Ifc4x3_rc4::IfcSpecularHighlightSelect Ifc4x3_rc4::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc4::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc4::IfcSpecularHighlightSelect>(); } void Ifc4x3_rc4::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x3_rc4::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_rc4::IfcReflectanceMethodEnum::Value Ifc4x3_rc4::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x3_rc4::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_rc4::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_rc4::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1143]); } -void Ifc4x3_rc4::IfcSurfaceStyleRendering::initialize(::Ifc4x3_rc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc4::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc4::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc4::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc4::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc4::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc4::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc4::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1143]); } +void Ifc4x3_rc4::IfcSurfaceStyleRendering::initialize(::Ifc4x3_rc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc4::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc4::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc4::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc4::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc4::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc4::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc4::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x3_rc4::IfcColourRgb Ifc4x3_rc4::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcColourRgb>(); } @@ -15493,7 +15493,7 @@ std::optional< double > Ifc4x3_rc4::IfcSurfaceStyleShading::Transparency() const void Ifc4x3_rc4::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1144]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1144]); } void Ifc4x3_rc4::IfcSurfaceStyleShading::initialize(::Ifc4x3_rc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -15501,7 +15501,7 @@ std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > Ifc4x3_rc4::IfcSurfaceStyleWithTe void Ifc4x3_rc4::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1145]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1145]); } void Ifc4x3_rc4::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -15516,10 +15516,10 @@ void Ifc4x3_rc4::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x3_rc4::IfcC std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc4::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_rc4::IfcTextureCoordinate> Ifc4x3_rc4::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1197], 0)); } -std::vector<::Ifc4x3_rc4::IfcSurfaceStyleWithTextures> Ifc4x3_rc4::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[1145], 0)); } +std::vector<::Ifc4x3_rc4::IfcTextureCoordinate> Ifc4x3_rc4::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1197], 0)); } +std::vector<::Ifc4x3_rc4::IfcSurfaceStyleWithTextures> Ifc4x3_rc4::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[1145], 0)); } -const IfcParse::entity& Ifc4x3_rc4::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1146]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1146]); } void Ifc4x3_rc4::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -15529,7 +15529,7 @@ void Ifc4x3_rc4::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x3_rc4::IfcProfileD void Ifc4x3_rc4::IfcSweptAreaSolid::setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1147]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1147]); } void Ifc4x3_rc4::IfcSweptAreaSolid::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -15545,7 +15545,7 @@ std::optional< double > Ifc4x3_rc4::IfcSweptDiskSolid::EndParam() const { if(get void Ifc4x3_rc4::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1148]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1148]); } void Ifc4x3_rc4::IfcSweptDiskSolid::initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -15553,7 +15553,7 @@ std::optional< double > Ifc4x3_rc4::IfcSweptDiskSolidPolygonal::FilletRadius() c void Ifc4x3_rc4::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1149]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1149]); } void Ifc4x3_rc4::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -15563,48 +15563,48 @@ void Ifc4x3_rc4::IfcSweptSurface::setSweptCurve(const ::Ifc4x3_rc4::IfcProfileDe void Ifc4x3_rc4::IfcSweptSurface::setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1150]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1150]); } void Ifc4x3_rc4::IfcSweptSurface::initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3_rc4::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1151]); } -void Ifc4x3_rc4::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1151]); } +void Ifc4x3_rc4::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_rc4::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1152]); } -void Ifc4x3_rc4::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1152]); } +void Ifc4x3_rc4::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x3_rc4::IfcRelServicesBuildings> Ifc4x3_rc4::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[949], 4)); } -std::vector<::Ifc4x3_rc4::IfcRelReferencedInSpatialStructure> Ifc4x3_rc4::IfcSystem::ServicesFacilities() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[947], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelServicesBuildings> Ifc4x3_rc4::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[949], 4)); } +std::vector<::Ifc4x3_rc4::IfcRelReferencedInSpatialStructure> Ifc4x3_rc4::IfcSystem::ServicesFacilities() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[947], 4)); } -const IfcParse::entity& Ifc4x3_rc4::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1154]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1154]); } void Ifc4x3_rc4::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_rc4::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1155]); } -void Ifc4x3_rc4::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1155]); } +void Ifc4x3_rc4::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_rc4::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1156]); } -void Ifc4x3_rc4::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_rc4::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1156]); } +void Ifc4x3_rc4::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x3_rc4::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -15627,8 +15627,8 @@ std::optional< double > Ifc4x3_rc4::IfcTShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc4::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1240]); } -void Ifc4x3_rc4::IfcTShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1240]); } +void Ifc4x3_rc4::IfcTShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x3_rc4::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -15639,7 +15639,7 @@ std::optional< std::vector< ::Ifc4x3_rc4::IfcTableColumn > > Ifc4x3_rc4::IfcTabl void Ifc4x3_rc4::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x3_rc4::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTable::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1158]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1158]); } void Ifc4x3_rc4::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_rc4::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_rc4::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -15655,7 +15655,7 @@ void Ifc4x3_rc4::IfcTableColumn::setUnit(const ::Ifc4x3_rc4::IfcUnit& v) { set_a void Ifc4x3_rc4::IfcTableColumn::setReferencePath(const ::Ifc4x3_rc4::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1159]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1159]); } void Ifc4x3_rc4::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_rc4::IfcUnit v4_Unit, ::Ifc4x3_rc4::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -15665,24 +15665,24 @@ std::optional< bool > Ifc4x3_rc4::IfcTableRow::IsHeading() const { if(get_attrib void Ifc4x3_rc4::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1160]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1160]); } void Ifc4x3_rc4::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x3_rc4::IfcTankTypeEnum::Value > Ifc4x3_rc4::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTank::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1161]); } -void Ifc4x3_rc4::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1161]); } +void Ifc4x3_rc4::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x3_rc4::IfcTankTypeEnum::Value Ifc4x3_rc4::IfcTankType::PredefinedType() const { return ::Ifc4x3_rc4::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTankType::setPredefinedType(const ::Ifc4x3_rc4::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcTankType::setPredefinedType(const ::Ifc4x3_rc4::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1162]); } -void Ifc4x3_rc4::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1162]); } +void Ifc4x3_rc4::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x3_rc4::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -15696,15 +15696,15 @@ void Ifc4x3_rc4::IfcTask::setPriority(const std::optional< int >& v) { if (v) {s ::Ifc4x3_rc4::IfcTaskTime Ifc4x3_rc4::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_rc4::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_rc4::IfcTaskTime>(); } void Ifc4x3_rc4::IfcTask::setTaskTime(const ::Ifc4x3_rc4::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value > Ifc4x3_rc4::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_rc4::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_rc4::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_rc4::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_rc4::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTask::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1164]); } -void Ifc4x3_rc4::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc4::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_rc4::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1164]); } +void Ifc4x3_rc4::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc4::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x3_rc4::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x3_rc4::IfcTaskDurationEnum::Value > Ifc4x3_rc4::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_rc4::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_rc4::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_rc4::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_rc4::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_rc4::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_rc4::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x3_rc4::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_rc4::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_rc4::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -15739,26 +15739,26 @@ std::optional< double > Ifc4x3_rc4::IfcTaskTime::Completion() const { if(get_att void Ifc4x3_rc4::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1166]); } -void Ifc4x3_rc4::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1166]); } +void Ifc4x3_rc4::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x3_rc4::IfcRecurrencePattern Ifc4x3_rc4::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x3_rc4::IfcRecurrencePattern>(); } void Ifc4x3_rc4::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x3_rc4::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x3_rc4::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1167]); } -void Ifc4x3_rc4::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc4::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_rc4::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)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1167]); } +void Ifc4x3_rc4::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc4::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_rc4::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)); } // Function implementations for IfcTaskType ::Ifc4x3_rc4::IfcTaskTypeEnum::Value Ifc4x3_rc4::IfcTaskType::PredefinedType() const { return ::Ifc4x3_rc4::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTaskType::setPredefinedType(const ::Ifc4x3_rc4::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcTaskType::setPredefinedType(const ::Ifc4x3_rc4::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_rc4::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1168]); } -void Ifc4x3_rc4::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc4::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_rc4::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1168]); } +void Ifc4x3_rc4::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc4::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_rc4::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc4::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -15775,12 +15775,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_rc4::IfcTelecomAddr void Ifc4x3_rc4::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1170]); } -void Ifc4x3_rc4::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1170]); } +void Ifc4x3_rc4::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x3_rc4::IfcTendonTypeEnum::Value > Ifc4x3_rc4::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_rc4::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc4::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15797,44 +15797,44 @@ std::optional< double > Ifc4x3_rc4::IfcTendon::MinCurvatureRadius() const { if(g void Ifc4x3_rc4::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1173]); } -void Ifc4x3_rc4::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc4::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1173]); } +void Ifc4x3_rc4::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc4::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value > Ifc4x3_rc4::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1174]); } -void Ifc4x3_rc4::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1174]); } +void Ifc4x3_rc4::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value Ifc4x3_rc4::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1175]); } -void Ifc4x3_rc4::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1175]); } +void Ifc4x3_rc4::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduit ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value Ifc4x3_rc4::IfcTendonConduit::PredefinedType() const { return ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1177]); } -void Ifc4x3_rc4::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1177]); } +void Ifc4x3_rc4::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduitType ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value Ifc4x3_rc4::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1178]); } -void Ifc4x3_rc4::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1178]); } +void Ifc4x3_rc4::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x3_rc4::IfcTendonTypeEnum::Value Ifc4x3_rc4::IfcTendonType::PredefinedType() const { return ::Ifc4x3_rc4::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTendonType::setPredefinedType(const ::Ifc4x3_rc4::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcTendonType::setPredefinedType(const ::Ifc4x3_rc4::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_rc4::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_rc4::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15843,23 +15843,23 @@ std::optional< double > Ifc4x3_rc4::IfcTendonType::SheathDiameter() const { if(g void Ifc4x3_rc4::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1180]); } -void Ifc4x3_rc4::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1180]); } +void Ifc4x3_rc4::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x3_rc4::IfcCartesianPointList3D Ifc4x3_rc4::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcCartesianPointList3D>(); } void Ifc4x3_rc4::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x3_rc4::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_rc4::IfcIndexedColourMap> Ifc4x3_rc4::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[547], 0)); } -std::vector<::Ifc4x3_rc4::IfcIndexedTextureMap> Ifc4x3_rc4::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[551], 1)); } +std::vector<::Ifc4x3_rc4::IfcIndexedColourMap> Ifc4x3_rc4::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[547], 0)); } +std::vector<::Ifc4x3_rc4::IfcIndexedTextureMap> Ifc4x3_rc4::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[551], 1)); } -const IfcParse::entity& Ifc4x3_rc4::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1182]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1182]); } void Ifc4x3_rc4::IfcTessellatedFaceSet::initialize(::Ifc4x3_rc4::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x3_rc4::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1183]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1183]); } void Ifc4x3_rc4::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -15868,11 +15868,11 @@ void Ifc4x3_rc4::IfcTextLiteral::setLiteral(const std::string& v) { set_attribut ::Ifc4x3_rc4::IfcAxis2Placement Ifc4x3_rc4::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcAxis2Placement>(); } void Ifc4x3_rc4::IfcTextLiteral::setPlacement(const ::Ifc4x3_rc4::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_rc4::IfcTextPath::Value Ifc4x3_rc4::IfcTextLiteral::Path() const { return ::Ifc4x3_rc4::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x3_rc4::IfcTextLiteral::setPath(const ::Ifc4x3_rc4::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_rc4::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_rc4::IfcTextLiteral::setPath(const ::Ifc4x3_rc4::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_rc4::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1189]); } -void Ifc4x3_rc4::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_rc4::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc4::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1189]); } +void Ifc4x3_rc4::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_rc4::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc4::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x3_rc4::IfcPlanarExtent Ifc4x3_rc4::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc4::IfcPlanarExtent>(); } @@ -15881,8 +15881,8 @@ std::string Ifc4x3_rc4::IfcTextLiteralWithExtent::BoxAlignment() const { std::s void Ifc4x3_rc4::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1190]); } -void Ifc4x3_rc4::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_rc4::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc4::IfcTextPath::Value v3_Path, ::Ifc4x3_rc4::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_rc4::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1190]); } +void Ifc4x3_rc4::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_rc4::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc4::IfcTextPath::Value v3_Path, ::Ifc4x3_rc4::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_rc4::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x3_rc4::IfcTextStyleForDefinedFont Ifc4x3_rc4::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_rc4::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_rc4::IfcTextStyleForDefinedFont>(); } @@ -15895,7 +15895,7 @@ std::optional< bool > Ifc4x3_rc4::IfcTextStyle::ModelOrDraughting() const { if(g void Ifc4x3_rc4::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1192]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1192]); } void Ifc4x3_rc4::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_rc4::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_rc4::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -15911,7 +15911,7 @@ void Ifc4x3_rc4::IfcTextStyleFontModel::setFontWeight(const std::optional< std:: void Ifc4x3_rc4::IfcTextStyleFontModel::setFontSize(const ::Ifc4x3_rc4::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1193]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1193]); } void Ifc4x3_rc4::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_rc4::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -15921,7 +15921,7 @@ void Ifc4x3_rc4::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x3_rc4::IfcCo void Ifc4x3_rc4::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x3_rc4::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1194]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1194]); } void Ifc4x3_rc4::IfcTextStyleForDefinedFont::initialize(::Ifc4x3_rc4::IfcColour v1_Colour, ::Ifc4x3_rc4::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -15941,7 +15941,7 @@ void Ifc4x3_rc4::IfcTextStyleTextModel::setTextTransform(const std::optional< st void Ifc4x3_rc4::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x3_rc4::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1195]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1195]); } void Ifc4x3_rc4::IfcTextStyleTextModel::initialize(::Ifc4x3_rc4::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_rc4::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_rc4::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_rc4::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -15949,7 +15949,7 @@ std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > Ifc4x3_rc4::IfcTextureCoordinate: void Ifc4x3_rc4::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1197]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1197]); } void Ifc4x3_rc4::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -15959,7 +15959,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x3_rc4::IfcTextureCoordinat void Ifc4x3_rc4::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1198]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1198]); } void Ifc4x3_rc4::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureMap @@ -15969,7 +15969,7 @@ void Ifc4x3_rc4::IfcTextureMap::setVertices(const std::vector< ::Ifc4x3_rc4::Ifc void Ifc4x3_rc4::IfcTextureMap::setMappedTo(const ::Ifc4x3_rc4::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1199]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1199]); } void Ifc4x3_rc4::IfcTextureMap::initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_rc4::IfcTextureVertex > v2_Vertices, ::Ifc4x3_rc4::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -15977,7 +15977,7 @@ std::vector< double > /*[2:2]*/ Ifc4x3_rc4::IfcTextureVertex::Coordinates() cons void Ifc4x3_rc4::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1200]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1200]); } void Ifc4x3_rc4::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -15985,7 +15985,7 @@ std::vector< std::vector< double > > Ifc4x3_rc4::IfcTextureVertexList::TexCoords void Ifc4x3_rc4::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1201]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1201]); } void Ifc4x3_rc4::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcThirdOrderPolynomialSpiral @@ -15999,7 +15999,7 @@ std::optional< double > Ifc4x3_rc4::IfcThirdOrderPolynomialSpiral::ConstantTerm( void Ifc4x3_rc4::IfcThirdOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcThirdOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1208]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcThirdOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1208]); } void Ifc4x3_rc4::IfcThirdOrderPolynomialSpiral::initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcTimePeriod @@ -16009,7 +16009,7 @@ std::string Ifc4x3_rc4::IfcTimePeriod::EndTime() const { std::string v = get_at void Ifc4x3_rc4::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1212]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1212]); } void Ifc4x3_rc4::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -16022,37 +16022,37 @@ void Ifc4x3_rc4::IfcTimeSeries::setStartTime(const std::string& v) { set_attribu std::string Ifc4x3_rc4::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x3_rc4::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_rc4::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc4::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc4::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc4::IfcDataOriginEnum::Value Ifc4x3_rc4::IfcTimeSeries::DataOrigin() const { return ::Ifc4x3_rc4::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_rc4::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc4::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_rc4::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x3_rc4::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_rc4::IfcUnit Ifc4x3_rc4::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_rc4::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_rc4::IfcUnit>(); } void Ifc4x3_rc4::IfcTimeSeries::setUnit(const ::Ifc4x3_rc4::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[433], 3)); } +std::vector<::Ifc4x3_rc4::IfcExternalReferenceRelationship> Ifc4x3_rc4::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[433], 3)); } -const IfcParse::entity& Ifc4x3_rc4::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1213]); } -void Ifc4x3_rc4::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcUnit v8_Unit) { 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_rc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1213]); } +void Ifc4x3_rc4::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x3_rc4::IfcValue > Ifc4x3_rc4::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcValue>(es); } void Ifc4x3_rc4::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_rc4::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1215]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1215]); } void Ifc4x3_rc4::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x3_rc4::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x3_rc4::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1217]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1217]); } void Ifc4x3_rc4::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x3_rc4::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1218]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1218]); } void Ifc4x3_rc4::IfcTopologyRepresentation::initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -16062,47 +16062,47 @@ double Ifc4x3_rc4::IfcToroidalSurface::MinorRadius() const { double v = get_att void Ifc4x3_rc4::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_rc4::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1219]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1219]); } void Ifc4x3_rc4::IfcToroidalSurface::initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTrackElement std::optional< ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value > Ifc4x3_rc4::IfcTrackElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcTrackElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTrackElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1221]); } -void Ifc4x3_rc4::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTrackElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1221]); } +void Ifc4x3_rc4::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTrackElementType ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value Ifc4x3_rc4::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3_rc4::IfcTrackElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcTrackElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1222]); } -void Ifc4x3_rc4::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTrackElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1222]); } +void Ifc4x3_rc4::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransformer std::optional< ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value > Ifc4x3_rc4::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1224]); } -void Ifc4x3_rc4::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1224]); } +void Ifc4x3_rc4::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value Ifc4x3_rc4::IfcTransformerType::PredefinedType() const { return ::Ifc4x3_rc4::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTransformerType::setPredefinedType(const ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcTransformerType::setPredefinedType(const ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1225]); } -void Ifc4x3_rc4::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1225]); } +void Ifc4x3_rc4::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportElement ::Ifc4x3_rc4::IfcTransportElementTypeSelect Ifc4x3_rc4::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_rc4::IfcTransportElementTypeSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_rc4::IfcTransportElementTypeSelect>(); } void Ifc4x3_rc4::IfcTransportElement::setPredefinedType(const ::Ifc4x3_rc4::IfcTransportElementTypeSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1229]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1229]); } void Ifc4x3_rc4::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcTransportElementTypeSelect v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (v9_PredefinedType)); } // Function implementations for IfcTransportElementType @@ -16110,7 +16110,7 @@ void Ifc4x3_rc4::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4 void Ifc4x3_rc4::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcTransportElementTypeSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1232]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1232]); } void Ifc4x3_rc4::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTransportElementTypeSelect v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (v10_PredefinedType)); } // Function implementations for IfcTrapeziumProfileDef @@ -16124,8 +16124,8 @@ double Ifc4x3_rc4::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_ void Ifc4x3_rc4::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_rc4::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1234]); } -void Ifc4x3_rc4::IfcTrapeziumProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1234]); } +void Ifc4x3_rc4::IfcTrapeziumProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x3_rc4::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -16138,7 +16138,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_rc4::IfcTriangulatedFaceSet void Ifc4x3_rc4::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1235]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1235]); } void Ifc4x3_rc4::IfcTriangulatedFaceSet::initialize(::Ifc4x3_rc4::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -16146,7 +16146,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::Flags( void Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1236]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1236]); } void Ifc4x3_rc4::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x3_rc4::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); 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)); } // Function implementations for IfcTrimmedCurve @@ -16159,27 +16159,27 @@ void Ifc4x3_rc4::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x3_rc4::IfcT bool Ifc4x3_rc4::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x3_rc4::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_rc4::IfcTrimmingPreference::Value Ifc4x3_rc4::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x3_rc4::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x3_rc4::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_rc4::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc4::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc4::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_rc4::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc4::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_rc4::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1237]); } -void Ifc4x3_rc4::IfcTrimmedCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc4::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc4::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc4::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc4::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1237]); } +void Ifc4x3_rc4::IfcTrimmedCurve::initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc4::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc4::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc4::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc4::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value > Ifc4x3_rc4::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1241]); } -void Ifc4x3_rc4::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1241]); } +void Ifc4x3_rc4::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value Ifc4x3_rc4::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1242]); } -void Ifc4x3_rc4::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1242]); } +void Ifc4x3_rc4::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x3_rc4::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -16187,9 +16187,9 @@ void Ifc4x3_rc4::IfcTypeObject::setApplicableOccurrence(const std::optional< std std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > Ifc4x3_rc4::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_rc4::IfcPropertySetDefinition>(es); } void Ifc4x3_rc4::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_rc4::IfcRelDefinesByType> Ifc4x3_rc4::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[940], 5)); } +std::vector<::Ifc4x3_rc4::IfcRelDefinesByType> Ifc4x3_rc4::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[940], 5)); } -const IfcParse::entity& Ifc4x3_rc4::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1244]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1244]); } void Ifc4x3_rc4::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -16200,9 +16200,9 @@ void Ifc4x3_rc4::IfcTypeProcess::setLongDescription(const std::optional< std::st std::optional< std::string > Ifc4x3_rc4::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc4::IfcRelAssignsToProcess> Ifc4x3_rc4::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[910], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelAssignsToProcess> Ifc4x3_rc4::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[910], 6)); } -const IfcParse::entity& Ifc4x3_rc4::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1245]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1245]); } void Ifc4x3_rc4::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -16211,9 +16211,9 @@ void Ifc4x3_rc4::IfcTypeProduct::setRepresentationMaps(const std::optional< std: std::optional< std::string > Ifc4x3_rc4::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_rc4::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_rc4::IfcRelAssignsToProduct> Ifc4x3_rc4::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[911], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelAssignsToProduct> Ifc4x3_rc4::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[911], 6)); } -const IfcParse::entity& Ifc4x3_rc4::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1246]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1246]); } void Ifc4x3_rc4::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -16224,9 +16224,9 @@ void Ifc4x3_rc4::IfcTypeResource::setLongDescription(const std::optional< std::s std::optional< std::string > Ifc4x3_rc4::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_rc4::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_rc4::IfcRelAssignsToResource> Ifc4x3_rc4::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_RC4_types[912], 6)); } +std::vector<::Ifc4x3_rc4::IfcRelAssignsToResource> Ifc4x3_rc4::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_RC4_types[912], 6)); } -const IfcParse::entity& Ifc4x3_rc4::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1247]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1247]); } void Ifc4x3_rc4::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -16246,64 +16246,64 @@ std::optional< double > Ifc4x3_rc4::IfcUShapeProfileDef::FlangeSlope() const { i void Ifc4x3_rc4::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1258]); } -void Ifc4x3_rc4::IfcUShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1258]); } +void Ifc4x3_rc4::IfcUShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x3_rc4::IfcUnit > Ifc4x3_rc4::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_rc4::IfcUnit>(es); } void Ifc4x3_rc4::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x3_rc4::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1255]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1255]); } void Ifc4x3_rc4::IfcUnitAssignment::initialize(std::vector< ::Ifc4x3_rc4::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3_rc4::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1249]); } -void Ifc4x3_rc4::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1249]); } +void Ifc4x3_rc4::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_rc4::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1250]); } -void Ifc4x3_rc4::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1250]); } +void Ifc4x3_rc4::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3_rc4::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1252]); } -void Ifc4x3_rc4::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1252]); } +void Ifc4x3_rc4::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_rc4::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1253]); } -void Ifc4x3_rc4::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1253]); } +void Ifc4x3_rc4::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x3_rc4::IfcValveTypeEnum::Value > Ifc4x3_rc4::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcValve::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1260]); } -void Ifc4x3_rc4::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1260]); } +void Ifc4x3_rc4::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x3_rc4::IfcValveTypeEnum::Value Ifc4x3_rc4::IfcValveType::PredefinedType() const { return ::Ifc4x3_rc4::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcValveType::setPredefinedType(const ::Ifc4x3_rc4::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcValveType::setPredefinedType(const ::Ifc4x3_rc4::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1261]); } -void Ifc4x3_rc4::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1261]); } +void Ifc4x3_rc4::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x3_rc4::IfcDirection Ifc4x3_rc4::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_rc4::IfcDirection>(); } @@ -16312,13 +16312,13 @@ double Ifc4x3_rc4::IfcVector::Magnitude() const { double v = get_attribute_valu void Ifc4x3_rc4::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcVector::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1264]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1264]); } void Ifc4x3_rc4::IfcVector::initialize(::Ifc4x3_rc4::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x3_rc4::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1266]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1266]); } void Ifc4x3_rc4::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -16326,7 +16326,7 @@ void Ifc4x3_rc4::IfcVertex::initialize() { } void Ifc4x3_rc4::IfcVertexLoop::setLoopVertex(const ::Ifc4x3_rc4::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1267]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1267]); } void Ifc4x3_rc4::IfcVertexLoop::initialize(::Ifc4x3_rc4::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -16334,45 +16334,45 @@ void Ifc4x3_rc4::IfcVertexLoop::initialize(::Ifc4x3_rc4::IfcVertex v1_LoopVertex void Ifc4x3_rc4::IfcVertexPoint::setVertexGeometry(const ::Ifc4x3_rc4::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_rc4::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1268]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1268]); } void Ifc4x3_rc4::IfcVertexPoint::initialize(::Ifc4x3_rc4::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationDamper std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > Ifc4x3_rc4::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1269]); } -void Ifc4x3_rc4::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1269]); } +void Ifc4x3_rc4::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationDamperType std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > Ifc4x3_rc4::IfcVibrationDamperType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_rc4::IfcVibrationDamperType::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_rc4::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1270]); } -void Ifc4x3_rc4::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_rc4::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1270]); } +void Ifc4x3_rc4::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3_rc4::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1272]); } -void Ifc4x3_rc4::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1272]); } +void Ifc4x3_rc4::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_rc4::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1273]); } -void Ifc4x3_rc4::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1273]); } +void Ifc4x3_rc4::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement -const IfcParse::entity& Ifc4x3_rc4::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1275]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1275]); } void Ifc4x3_rc4::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVirtualGridIntersection @@ -16382,71 +16382,71 @@ std::vector< double > /*[2:3]*/ Ifc4x3_rc4::IfcVirtualGridIntersection::OffsetDi void Ifc4x3_rc4::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_rc4::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1276]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1276]); } void Ifc4x3_rc4::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x3_rc4::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidStratum -const IfcParse::entity& Ifc4x3_rc4::IfcVoidStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1279]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVoidStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1279]); } void Ifc4x3_rc4::IfcVoidStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value > Ifc4x3_rc4::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1277]); } -void Ifc4x3_rc4::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1277]); } +void Ifc4x3_rc4::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > Ifc4x3_rc4::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWall::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1282]); } -void Ifc4x3_rc4::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1282]); } +void Ifc4x3_rc4::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallElementedCase -const IfcParse::entity& Ifc4x3_rc4::IfcWallElementedCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1283]); } -void Ifc4x3_rc4::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWallElementedCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1283]); } +void Ifc4x3_rc4::IfcWallElementedCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x3_rc4::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1284]); } -void Ifc4x3_rc4::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1284]); } +void Ifc4x3_rc4::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x3_rc4::IfcWallTypeEnum::Value Ifc4x3_rc4::IfcWallType::PredefinedType() const { return ::Ifc4x3_rc4::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcWallType::setPredefinedType(const ::Ifc4x3_rc4::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcWallType::setPredefinedType(const ::Ifc4x3_rc4::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1285]); } -void Ifc4x3_rc4::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1285]); } +void Ifc4x3_rc4::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value > Ifc4x3_rc4::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1290]); } -void Ifc4x3_rc4::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1290]); } +void Ifc4x3_rc4::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value Ifc4x3_rc4::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_rc4::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1291]); } -void Ifc4x3_rc4::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1291]); } +void Ifc4x3_rc4::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWaterStratum -const IfcParse::entity& Ifc4x3_rc4::IfcWaterStratum::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1293]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWaterStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1293]); } void Ifc4x3_rc4::IfcWaterStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcWindow @@ -16455,15 +16455,15 @@ void Ifc4x3_rc4::IfcWindow::setOverallHeight(const std::optional< double >& v) { std::optional< double > Ifc4x3_rc4::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_rc4::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_rc4::IfcWindowTypeEnum::Value > Ifc4x3_rc4::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_rc4::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value > Ifc4x3_rc4::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_rc4::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_rc4::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc4::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc4::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1294]); } -void Ifc4x3_rc4::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1294]); } +void Ifc4x3_rc4::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x3_rc4::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -16492,14 +16492,14 @@ std::optional< double > Ifc4x3_rc4::IfcWindowLiningProperties::LiningToPanelOffs void Ifc4x3_rc4::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1295]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1295]); } void Ifc4x3_rc4::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_rc4::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value Ifc4x3_rc4::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3_rc4::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_rc4::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_rc4::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value Ifc4x3_rc4::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_rc4::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_rc4::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_rc4::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_rc4::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_rc4::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -16508,42 +16508,42 @@ void Ifc4x3_rc4::IfcWindowPanelProperties::setFrameThickness(const std::optional void Ifc4x3_rc4::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x3_rc4::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_rc4::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1298]); } -void Ifc4x3_rc4::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_rc4::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)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1298]); } +void Ifc4x3_rc4::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc4::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_rc4::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)); } // Function implementations for IfcWindowStandardCase -const IfcParse::entity& Ifc4x3_rc4::IfcWindowStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1299]); } -void Ifc4x3_rc4::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_rc4::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWindowStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1299]); } +void Ifc4x3_rc4::IfcWindowStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowStyle ::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value Ifc4x3_rc4::IfcWindowStyle::ConstructionType() const { return ::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcWindowStyle::setConstructionType(const ::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_rc4::IfcWindowStyle::setConstructionType(const ::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value Ifc4x3_rc4::IfcWindowStyle::OperationType() const { return ::Ifc4x3_rc4::IfcWindowStyleOperationEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcWindowStyle::setOperationType(const ::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcWindowStyle::setOperationType(const ::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } bool Ifc4x3_rc4::IfcWindowStyle::ParameterTakesPrecedence() const { bool v = get_attribute_value(10); return v; } void Ifc4x3_rc4::IfcWindowStyle::setParameterTakesPrecedence(const bool& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } bool Ifc4x3_rc4::IfcWindowStyle::Sizeable() const { bool v = get_attribute_value(11); return v; } void Ifc4x3_rc4::IfcWindowStyle::setSizeable(const bool& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_rc4::IfcWindowStyle::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1300]); } -void Ifc4x3_rc4::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWindowStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1300]); } +void Ifc4x3_rc4::IfcWindowStyle::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Class(),(size_t)v9_ConstructionType)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Class(),(size_t)v10_OperationType)));set_attribute_value(10, (v11_ParameterTakesPrecedence));set_attribute_value(11, (v12_Sizeable)); } // Function implementations for IfcWindowType ::Ifc4x3_rc4::IfcWindowTypeEnum::Value Ifc4x3_rc4::IfcWindowType::PredefinedType() const { return ::Ifc4x3_rc4::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_rc4::IfcWindowType::setPredefinedType(const ::Ifc4x3_rc4::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_rc4::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_rc4::IfcWindowType::setPredefinedType(const ::Ifc4x3_rc4::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value Ifc4x3_rc4::IfcWindowType::PartitioningType() const { return ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_rc4::IfcWindowType::setPartitioningType(const ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_rc4::IfcWindowType::setPartitioningType(const ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_rc4::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_rc4::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_rc4::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_rc4::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1303]); } -void Ifc4x3_rc4::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_rc4::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1303]); } +void Ifc4x3_rc4::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x3_rc4::IfcWorkTime > > Ifc4x3_rc4::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_rc4::IfcWorkTime>(es); } @@ -16551,11 +16551,11 @@ void Ifc4x3_rc4::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vect std::optional< std::vector< ::Ifc4x3_rc4::IfcWorkTime > > Ifc4x3_rc4::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_rc4::IfcWorkTime>(es); } void Ifc4x3_rc4::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x3_rc4::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value > Ifc4x3_rc4::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_rc4::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_rc4::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1306]); } -void Ifc4x3_rc4::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc4::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc4::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1306]); } +void Ifc4x3_rc4::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc4::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc4::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x3_rc4::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -16574,24 +16574,24 @@ std::optional< std::string > Ifc4x3_rc4::IfcWorkControl::FinishTime() const { if void Ifc4x3_rc4::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1308]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1308]); } void Ifc4x3_rc4::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value > Ifc4x3_rc4::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc4::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc4::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1309]); } -void Ifc4x3_rc4::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_rc4::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1309]); } +void Ifc4x3_rc4::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value > Ifc4x3_rc4::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_rc4::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_rc4::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1311]); } -void Ifc4x3_rc4::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_rc4::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1311]); } +void Ifc4x3_rc4::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x3_rc4::IfcRecurrencePattern Ifc4x3_rc4::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_rc4::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_rc4::IfcRecurrencePattern>(); } @@ -16602,8 +16602,8 @@ std::optional< std::string > Ifc4x3_rc4::IfcWorkTime::Finish() const { if(get_at void Ifc4x3_rc4::IfcWorkTime::setFinish(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc4::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1313]); } -void Ifc4x3_rc4::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1313]); } +void Ifc4x3_rc4::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_rc4::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_Start) {set_attribute_value(4, (*v5_Start)); } if (v6_Finish) {set_attribute_value(5, (*v6_Finish)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x3_rc4::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -16620,14 +16620,14 @@ std::optional< double > Ifc4x3_rc4::IfcZShapeProfileDef::EdgeRadius() const { if void Ifc4x3_rc4::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_rc4::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1315]); } -void Ifc4x3_rc4::IfcZShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_rc4::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1315]); } +void Ifc4x3_rc4::IfcZShapeProfileDef::initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_rc4::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x3_rc4::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_rc4::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_rc4::IfcZone::Class() { return *((IfcParse::entity*)IFC4X3_RC4_types[1314]); } +const ifcopenshell::entity& Ifc4x3_rc4::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X3_RC4_types[1314]); } void Ifc4x3_rc4::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x3_rc4.h b/src/ifcparse/schemas/Ifc4x3_rc4.h index de833231eb..7eeafb42c5 100644 --- a/src/ifcparse/schemas/Ifc4x3_rc4.h +++ b/src/ifcparse/schemas/Ifc4x3_rc4.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x3_rc4 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveMeasureSelect() {} explicit IfcCurveMeasureSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcNonNegativeLengthMeasure as() const { return express::Base::as(); } @@ -1108,7 +1108,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1141,7 +1141,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1165,7 +1165,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1191,7 +1191,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1284,7 +1284,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1725,7 +1725,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1745,7 +1745,7 @@ public: IfcFacilityPartTypeSelect() {} explicit IfcFacilityPartTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBridgePartTypeEnum as() const { return express::Base::as(); } @@ -1788,7 +1788,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1836,7 +1836,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1869,7 +1869,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1891,7 +1891,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1911,7 +1911,7 @@ public: IfcImpactProtectionDeviceTypeSelect() {} explicit IfcImpactProtectionDeviceTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcImpactProtectionDeviceTypeEnum as() const { return express::Base::as(); } @@ -1937,7 +1937,7 @@ public: IfcInterferenceSelect() {} explicit IfcInterferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -1963,7 +1963,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1992,7 +1992,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -2033,7 +2033,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -2078,7 +2078,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2112,7 +2112,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2269,7 +2269,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2981,7 +2981,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3003,7 +3003,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3025,7 +3025,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3047,7 +3047,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3115,7 +3115,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3144,7 +3144,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3164,7 +3164,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3192,7 +3192,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3212,7 +3212,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3234,7 +3234,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3352,7 +3352,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3374,7 +3374,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3394,7 +3394,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3424,7 +3424,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3462,7 +3462,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3565,7 +3565,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3615,7 +3615,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3646,7 +3646,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3666,7 +3666,7 @@ public: IfcSpatialReferenceSelect() {} explicit IfcSpatialReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcGroup as() const { return express::Base::as(); } @@ -3695,7 +3695,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3723,7 +3723,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3751,7 +3751,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3785,7 +3785,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3829,7 +3829,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3850,7 +3850,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3872,7 +3872,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3892,7 +3892,7 @@ public: IfcTransportElementTypeSelect() {} explicit IfcTransportElementTypeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcTransportElementFixedTypeEnum as() const { return express::Base::as(); } @@ -3916,7 +3916,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -3948,7 +3948,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -3983,7 +3983,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4664,7 +4664,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4686,7 +4686,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4714,13 +4714,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4733,13 +4733,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_SNOW_S, IfcActionSourceType_WIND_W, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_FIRE, IfcActionSourceType_IMPULSE, IfcActionSourceType_IMPACT, IfcActionSourceType_TRANSPORT, IfcActionSourceType_ERECTION, IfcActionSourceType_PROPPING, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_CREEP, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_BUOYANCY, IfcActionSourceType_ICE, IfcActionSourceType_CURRENT, IfcActionSourceType_WAVE, IfcActionSourceType_RAIN, IfcActionSourceType_BRAKES, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4754,13 +4754,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_EXTRAORDINARY_A, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4784,13 +4784,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4809,13 +4809,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_HOME, IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4834,13 +4834,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4861,13 +4861,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4891,13 +4891,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4919,13 +4919,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_RAILWAYCROCODILE, IfcAlarmType_RAILWAYDETONATOR, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4934,13 +4934,13 @@ public: class IFC_PARSE_API IfcAlignmentCantSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentCantSegmentTypeEnum() {} - explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentCantSegmentType_BLOSSCURVE, IfcAlignmentCantSegmentType_CONSTANTCANT, IfcAlignmentCantSegmentType_COSINECURVE, IfcAlignmentCantSegmentType_HELMERTCURVE, IfcAlignmentCantSegmentType_LINEARTRANSITION, IfcAlignmentCantSegmentType_SINECURVE, IfcAlignmentCantSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4949,13 +4949,13 @@ public: class IFC_PARSE_API IfcAlignmentHorizontalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentHorizontalSegmentTypeEnum() {} - explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentHorizontalSegmentType_LINE, IfcAlignmentHorizontalSegmentType_CIRCULARARC, IfcAlignmentHorizontalSegmentType_CLOTHOID, IfcAlignmentHorizontalSegmentType_CUBIC, IfcAlignmentHorizontalSegmentType_HELMERTCURVE, IfcAlignmentHorizontalSegmentType_BLOSSCURVE, IfcAlignmentHorizontalSegmentType_COSINECURVE, IfcAlignmentHorizontalSegmentType_SINECURVE, IfcAlignmentHorizontalSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4964,13 +4964,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4979,13 +4979,13 @@ public: class IFC_PARSE_API IfcAlignmentVerticalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentVerticalSegmentTypeEnum() {} - explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT, IfcAlignmentVerticalSegmentType_CIRCULARARC, IfcAlignmentVerticalSegmentType_PARABOLICARC, IfcAlignmentVerticalSegmentType_CLOTHOID} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4999,13 +4999,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5020,13 +5020,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5035,13 +5035,13 @@ public: class IFC_PARSE_API IfcAnnotationTypeEnum : public express::DeclaredType { public: IfcAnnotationTypeEnum() {} - explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnnotationType_ASSUMEDPOINT, IfcAnnotationType_ASBUILTAREA, IfcAnnotationType_ASBUILTLINE, IfcAnnotationType_NON_PHYSICAL_SIGNAL, IfcAnnotationType_ASSUMEDLINE, IfcAnnotationType_WIDTHEVENT, IfcAnnotationType_ASSUMEDAREA, IfcAnnotationType_SUPERELEVATIONEVENT, IfcAnnotationType_ASBUILTPOINT, IfcAnnotationType_USERDEFINED, IfcAnnotationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5061,13 +5061,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5087,13 +5087,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_SITE, IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5115,13 +5115,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_COMMUNICATIONTERMINAL, IfcAudioVisualApplianceType_RECORDINGEQUIPMENT, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5143,13 +5143,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5158,13 +5158,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5211,13 +5211,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_JOIST, IfcBeamType_HOLLOWCORE, IfcBeamType_LINTEL, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_GIRDER_SEGMENT, IfcBeamType_DIAPHRAGM, IfcBeamType_PIERCAP, IfcBeamType_HATSTONE, IfcBeamType_CORNICE, IfcBeamType_EDGEBEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5226,13 +5226,13 @@ public: class IFC_PARSE_API IfcBearingTypeDisplacementEnum : public express::DeclaredType { public: IfcBearingTypeDisplacementEnum() {} - explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeDisplacementEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingTypeDisplacement_FIXED_MOVEMENT, IfcBearingTypeDisplacement_GUIDED_LONGITUDINAL, IfcBearingTypeDisplacement_GUIDED_TRANSVERSAL, IfcBearingTypeDisplacement_FREE_MOVEMENT, IfcBearingTypeDisplacement_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5241,13 +5241,13 @@ public: class IFC_PARSE_API IfcBearingTypeEnum : public express::DeclaredType { public: IfcBearingTypeEnum() {} - explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingType_CYLINDRICAL, IfcBearingType_SPHERICAL, IfcBearingType_ELASTOMERIC, IfcBearingType_POT, IfcBearingType_GUIDE, IfcBearingType_ROCKER, IfcBearingType_ROLLER, IfcBearingType_DISK, IfcBearingType_USERDEFINED, IfcBearingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5295,13 +5295,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_EQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_INCLUDES, IfcBenchmark_NOTINCLUDES, IfcBenchmark_INCLUDEDIN, IfcBenchmark_NOTINCLUDEDIN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5318,13 +5318,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_WATER, IfcBoilerType_STEAM, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5341,13 +5341,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_UNION, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_DIFFERENCE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5356,13 +5356,13 @@ public: class IFC_PARSE_API IfcBridgePartTypeEnum : public express::DeclaredType { public: IfcBridgePartTypeEnum() {} - explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgePartType_ABUTMENT, IfcBridgePartType_DECK, IfcBridgePartType_DECK_SEGMENT, IfcBridgePartType_FOUNDATION, IfcBridgePartType_PIER, IfcBridgePartType_PIER_SEGMENT, IfcBridgePartType_PYLON, IfcBridgePartType_SUBSTRUCTURE, IfcBridgePartType_SUPERSTRUCTURE, IfcBridgePartType_SURFACESTRUCTURE, IfcBridgePartType_USERDEFINED, IfcBridgePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5371,13 +5371,13 @@ public: class IFC_PARSE_API IfcBridgeTypeEnum : public express::DeclaredType { public: IfcBridgeTypeEnum() {} - explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgeType_ARCHED, IfcBridgeType_CABLE_STAYED, IfcBridgeType_CANTILEVER, IfcBridgeType_CULVERT, IfcBridgeType_FRAMEWORK, IfcBridgeType_GIRDER, IfcBridgeType_SUSPENSION, IfcBridgeType_TRUSS, IfcBridgeType_USERDEFINED, IfcBridgeType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5393,13 +5393,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_APRON, IfcBuildingElementPartType_ARMOURUNIT, IfcBuildingElementPartType_SAFETYCAGE, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5418,13 +5418,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5446,13 +5446,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_REINFORCING, IfcBuildingSystemType_PRESTRESSING, IfcBuildingSystemType_EROSIONPREVENTION, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5461,13 +5461,13 @@ public: class IFC_PARSE_API IfcBuiltSystemTypeEnum : public express::DeclaredType { public: IfcBuiltSystemTypeEnum() {} - explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuiltSystemType_REINFORCING, IfcBuiltSystemType_MOORING, IfcBuiltSystemType_OUTERSHELL, IfcBuiltSystemType_TRACKCIRCUIT, IfcBuiltSystemType_EROSIONPREVENTION, IfcBuiltSystemType_FOUNDATION, IfcBuiltSystemType_LOADBEARING, IfcBuiltSystemType_SHADING, IfcBuiltSystemType_FENESTRATION, IfcBuiltSystemType_TRANSPORT, IfcBuiltSystemType_PRESTRESSING, IfcBuiltSystemType_USERDEFINED, IfcBuiltSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5482,13 +5482,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5506,13 +5506,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5530,13 +5530,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_CABLEBRACKET, IfcCableCarrierSegmentType_CATENARYWIRE, IfcCableCarrierSegmentType_DROPPER, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5555,13 +5555,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_FANOUT, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5581,13 +5581,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_CONTACTWIRESEGMENT, IfcCableSegmentType_FIBERSEGMENT, IfcCableSegmentType_FIBERTUBE, IfcCableSegmentType_OPTICALCABLESEGMENT, IfcCableSegmentType_STITCHWIRE, IfcCableSegmentType_WIREPAIRSEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5596,13 +5596,13 @@ public: class IFC_PARSE_API IfcCaissonFoundationTypeEnum : public express::DeclaredType { public: IfcCaissonFoundationTypeEnum() {} - explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCaissonFoundationType_WELL, IfcCaissonFoundationType_CAISSON, IfcCaissonFoundationType_USERDEFINED, IfcCaissonFoundationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5621,13 +5621,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_NOCHANGE, IfcChangeAction_MODIFIED, IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5645,13 +5645,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_WATERCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5669,13 +5669,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5705,13 +5705,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5733,13 +5733,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PILASTER, IfcColumnType_PIERSTEM, IfcColumnType_PIERSTEM_SEGMENT, IfcColumnType_STANDCOLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5763,13 +5763,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_AUTOMATON, IfcCommunicationsApplianceType_INTELLIGENTPERIPHERAL, IfcCommunicationsApplianceType_IPNETWORKEQUIPMENT, IfcCommunicationsApplianceType_OPTICALNETWORKUNIT, IfcCommunicationsApplianceType_TELECOMMAND, IfcCommunicationsApplianceType_TELEPHONYEXCHANGE, IfcCommunicationsApplianceType_TRANSITIONCOMPONENT, IfcCommunicationsApplianceType_TRANSPONDER, IfcCommunicationsApplianceType_TRANSPORTEQUIPMENT, IfcCommunicationsApplianceType_OPTICALLINETERMINAL, IfcCommunicationsApplianceType_LINESIDEELECTRONICUNIT, IfcCommunicationsApplianceType_RADIOBLOCKCENTER, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5785,13 +5785,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5821,13 +5821,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_DYNAMIC, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROTARY, IfcCompressorType_SCROLL, IfcCompressorType_TROCHOIDAL, IfcCompressorType_SINGLESTAGE, IfcCompressorType_BOOSTER, IfcCompressorType_OPENTYPE, IfcCompressorType_HERMETIC, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARYVANE, IfcCompressorType_SINGLESCREW, IfcCompressorType_TWINSCREW, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5848,13 +5848,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5882,13 +5882,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_ATEND, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5913,13 +5913,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_ADVISORY, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5941,13 +5941,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5970,13 +5970,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_NOTDEFINED, IfcConstructionMaterialResourceType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5992,13 +5992,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6020,13 +6020,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_MULTIPOSITION, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6035,13 +6035,13 @@ public: class IFC_PARSE_API IfcConveyorSegmentTypeEnum : public express::DeclaredType { public: IfcConveyorSegmentTypeEnum() {} - explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConveyorSegmentType_CHUTECONVEYOR, IfcConveyorSegmentType_BELTCONVEYOR, IfcConveyorSegmentType_SCREWCONVEYOR, IfcConveyorSegmentType_BUCKETCONVEYOR, IfcConveyorSegmentType_USERDEFINED, IfcConveyorSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6068,13 +6068,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6094,13 +6094,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6114,13 +6114,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6141,13 +6141,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_TENDER, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6156,13 +6156,13 @@ public: class IFC_PARSE_API IfcCourseTypeEnum : public express::DeclaredType { public: IfcCourseTypeEnum() {} - explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCourseType_ARMOUR, IfcCourseType_FILTER, IfcCourseType_BALLASTBED, IfcCourseType_CORE, IfcCourseType_PAVEMENT, IfcCourseType_PROTECTION, IfcCourseType_USERDEFINED, IfcCourseType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6213,13 +6213,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_FLOORING, IfcCoveringType_CLADDING, IfcCoveringType_ROOFING, IfcCoveringType_MOLDING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_SLEEVING, IfcCoveringType_WRAPPING, IfcCoveringType_COPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6235,13 +6235,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6258,13 +6258,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6289,13 +6289,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6320,13 +6320,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6342,13 +6342,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6413,13 +6413,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6435,13 +6435,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_POSITIVE, IfcDirectionSense_NEGATIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6458,13 +6458,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_EXPANSION_JOINT_DEVICE, IfcDiscreteAccessoryType_CABLEARRANGER, IfcDiscreteAccessoryType_INSULATOR, IfcDiscreteAccessoryType_LOCK, IfcDiscreteAccessoryType_TENSIONINGEQUIPMENT, IfcDiscreteAccessoryType_RAILPAD, IfcDiscreteAccessoryType_SLIDINGCHAIR, IfcDiscreteAccessoryType_RAIL_LUBRICATION, IfcDiscreteAccessoryType_PANEL_STRENGTHENING, IfcDiscreteAccessoryType_RAILBRACE, IfcDiscreteAccessoryType_ELASTIC_CUSHION, IfcDiscreteAccessoryType_SOUNDABSORPTION, IfcDiscreteAccessoryType_POINTMACHINEMOUNTINGDEVICE, IfcDiscreteAccessoryType_POINT_MACHINE_LOCKING_DEVICE, IfcDiscreteAccessoryType_RAIL_MECHANICAL_EQUIPMENT, IfcDiscreteAccessoryType_BIRDPROTECTION, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6473,13 +6473,13 @@ public: class IFC_PARSE_API IfcDistributionBoardTypeEnum : public express::DeclaredType { public: IfcDistributionBoardTypeEnum() {} - explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionBoardType_SWITCHBOARD, IfcDistributionBoardType_CONSUMERUNIT, IfcDistributionBoardType_MOTORCONTROLCENTRE, IfcDistributionBoardType_DISTRIBUTIONFRAME, IfcDistributionBoardType_DISTRIBUTIONBOARD, IfcDistributionBoardType_DISPATCHINGBOARD, IfcDistributionBoardType_USERDEFINED, IfcDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6503,13 +6503,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6518,13 +6518,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_WIRELESS, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6579,13 +6579,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_CATENARY_SYSTEM, IfcDistributionSystem_OVERHEAD_CONTACTLINE_SYSTEM, IfcDistributionSystem_RETURN_CIRCUIT, IfcDistributionSystem_FIXEDTRANSMISSIONNETWORK, IfcDistributionSystem_OPERATIONALTELEPHONYSYSTEM, IfcDistributionSystem_MOBILENETWORK, IfcDistributionSystem_MONITORINGSYSTEM, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6605,13 +6605,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6622,13 +6622,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6669,13 +6669,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6690,13 +6690,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6711,13 +6711,13 @@ public: class IFC_PARSE_API IfcDoorStyleConstructionEnum : public express::DeclaredType { public: IfcDoorStyleConstructionEnum() {} - explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleConstruction_ALUMINIUM, IfcDoorStyleConstruction_HIGH_GRADE_STEEL, IfcDoorStyleConstruction_STEEL, IfcDoorStyleConstruction_WOOD, IfcDoorStyleConstruction_ALUMINIUM_WOOD, IfcDoorStyleConstruction_ALUMINIUM_PLASTIC, IfcDoorStyleConstruction_PLASTIC, IfcDoorStyleConstruction_USERDEFINED, IfcDoorStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6894,13 +6894,13 @@ public: class IFC_PARSE_API IfcDoorStyleOperationEnum : public express::DeclaredType { public: IfcDoorStyleOperationEnum() {} - explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorStyleOperation_SINGLE_SWING_LEFT, IfcDoorStyleOperation_SINGLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorStyleOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorStyleOperation_DOUBLE_SWING_LEFT, IfcDoorStyleOperation_DOUBLE_SWING_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorStyleOperation_SLIDING_TO_LEFT, IfcDoorStyleOperation_SLIDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_SLIDING, IfcDoorStyleOperation_FOLDING_TO_LEFT, IfcDoorStyleOperation_FOLDING_TO_RIGHT, IfcDoorStyleOperation_DOUBLE_DOOR_FOLDING, IfcDoorStyleOperation_REVOLVING, IfcDoorStyleOperation_ROLLINGUP, IfcDoorStyleOperation_USERDEFINED, IfcDoorStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6924,13 +6924,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_BOOM_BARRIER, IfcDoorType_TURNSTILE, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7118,13 +7118,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_PANEL_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_DOUBLE_SWING, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_SLIDING, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_FOLDING, IfcDoorTypeOperation_REVOLVING_HORIZONTAL, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_DOUBLE_PANEL_LIFTING_VERTICAL, IfcDoorTypeOperation_LIFTING_HORIZONTAL, IfcDoorTypeOperation_LIFTING_VERTICAL_LEFT, IfcDoorTypeOperation_LIFTING_VERTICAL_RIGHT, IfcDoorTypeOperation_REVOLVING_VERTICAL, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7165,13 +7165,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7194,13 +7194,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7218,13 +7218,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7233,13 +7233,13 @@ public: class IFC_PARSE_API IfcEarthworksCutTypeEnum : public express::DeclaredType { public: IfcEarthworksCutTypeEnum() {} - explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksCutType_TRENCH, IfcEarthworksCutType_DREDGING, IfcEarthworksCutType_EXCAVATION, IfcEarthworksCutType_OVEREXCAVATION, IfcEarthworksCutType_TOPSOILREMOVAL, IfcEarthworksCutType_STEPEXCAVATION, IfcEarthworksCutType_PAVEMENTMILLING, IfcEarthworksCutType_CUT, IfcEarthworksCutType_BASE_EXCAVATION, IfcEarthworksCutType_USERDEFINED, IfcEarthworksCutType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7248,13 +7248,13 @@ public: class IFC_PARSE_API IfcEarthworksFillTypeEnum : public express::DeclaredType { public: IfcEarthworksFillTypeEnum() {} - explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksFillType_BACKFILL, IfcEarthworksFillType_COUNTERWEIGHT, IfcEarthworksFillType_SUBGRADE, IfcEarthworksFillType_EMBANKMENT, IfcEarthworksFillType_TRANSITIONSECTION, IfcEarthworksFillType_SUBGRADEBED, IfcEarthworksFillType_SLOPEFILL, IfcEarthworksFillType_USERDEFINED, IfcEarthworksFillType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7291,13 +7291,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7315,13 +7315,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7339,13 +7339,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_CAPACITOR, IfcElectricFlowStorageDeviceType_COMPENSATOR, IfcElectricFlowStorageDeviceType_INDUCTOR, IfcElectricFlowStorageDeviceType_RECHARGER, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7354,13 +7354,13 @@ public: class IFC_PARSE_API IfcElectricFlowTreatmentDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowTreatmentDeviceTypeEnum() {} - explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowTreatmentDeviceType_ELECTRONICFILTER, IfcElectricFlowTreatmentDeviceType_USERDEFINED, IfcElectricFlowTreatmentDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7378,13 +7378,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7403,13 +7403,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7426,13 +7426,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7459,13 +7459,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_ABUTMENT, IfcElementAssemblyType_PIER, IfcElementAssemblyType_PYLON, IfcElementAssemblyType_CROSS_BRACING, IfcElementAssemblyType_DECK, IfcElementAssemblyType_MAST, IfcElementAssemblyType_SIGNALASSEMBLY, IfcElementAssemblyType_GRID, IfcElementAssemblyType_SHELTER, IfcElementAssemblyType_SUPPORTINGASSEMBLY, IfcElementAssemblyType_SUSPENSIONASSEMBLY, IfcElementAssemblyType_TRACTION_SWITCHING_ASSEMBLY, IfcElementAssemblyType_TRACKPANEL, IfcElementAssemblyType_TURNOUTPANEL, IfcElementAssemblyType_DILATATIONPANEL, IfcElementAssemblyType_RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY, IfcElementAssemblyType_ENTRANCEWORKS, IfcElementAssemblyType_SUMPBUSTER, IfcElementAssemblyType_TRAFFIC_CALMING_DEVICE, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7485,13 +7485,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7507,13 +7507,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7537,13 +7537,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7564,13 +7564,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7590,13 +7590,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7615,13 +7615,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_STARTEVENT, IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7645,13 +7645,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7660,13 +7660,13 @@ public: class IFC_PARSE_API IfcFacilityPartCommonTypeEnum : public express::DeclaredType { public: IfcFacilityPartCommonTypeEnum() {} - explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityPartCommonType_SEGMENT, IfcFacilityPartCommonType_ABOVEGROUND, IfcFacilityPartCommonType_JUNCTION, IfcFacilityPartCommonType_LEVELCROSSING, IfcFacilityPartCommonType_BELOWGROUND, IfcFacilityPartCommonType_SUBSTRUCTURE, IfcFacilityPartCommonType_TERMINAL, IfcFacilityPartCommonType_SUPERSTRUCTURE, IfcFacilityPartCommonType_USERDEFINED, IfcFacilityPartCommonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7675,13 +7675,13 @@ public: class IFC_PARSE_API IfcFacilityUsageEnum : public express::DeclaredType { public: IfcFacilityUsageEnum() {} - explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityUsage_LATERAL, IfcFacilityUsage_REGION, IfcFacilityUsage_VERTICAL, IfcFacilityUsage_LONGITUDINAL, IfcFacilityUsage_USERDEFINED, IfcFacilityUsage_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7703,13 +7703,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7726,13 +7726,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7753,13 +7753,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7780,13 +7780,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_FIREMONITOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7802,13 +7802,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SOURCE, IfcFlowDirection_SINK, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7832,13 +7832,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_COMBINED, IfcFlowInstrumentType_VOLTMETER, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7861,13 +7861,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7889,13 +7889,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7916,13 +7916,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_CHAIR, IfcFurnitureType_TABLE, IfcFurnitureType_DESK, IfcFurnitureType_BED, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_TECHNICALCABINET, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7931,13 +7931,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_TERRAIN, IfcGeographicElementType_SOIL_BORING_POINT, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7986,13 +7986,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8006,13 +8006,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8021,13 +8021,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_RECTANGULAR, IfcGridType_RADIAL, IfcGridType_TRIANGULAR, IfcGridType_IRREGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8044,13 +8044,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_TURNOUTHEATING, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8078,13 +8078,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8093,13 +8093,13 @@ public: class IFC_PARSE_API IfcImpactProtectionDeviceTypeEnum : public express::DeclaredType { public: IfcImpactProtectionDeviceTypeEnum() {} - explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcImpactProtectionDeviceType_CRASHCUSHION, IfcImpactProtectionDeviceType_DAMPINGSYSTEM, IfcImpactProtectionDeviceType_FENDER, IfcImpactProtectionDeviceType_BUMPER, IfcImpactProtectionDeviceType_USERDEFINED, IfcImpactProtectionDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8117,13 +8117,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8186,13 +8186,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8209,13 +8209,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8230,13 +8230,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8245,13 +8245,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_UNIFORM_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8283,13 +8283,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8314,13 +8314,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8337,13 +8337,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8365,13 +8365,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8396,13 +8396,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8421,13 +8421,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8436,13 +8436,13 @@ public: class IFC_PARSE_API IfcLiquidTerminalTypeEnum : public express::DeclaredType { public: IfcLiquidTerminalTypeEnum() {} - explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLiquidTerminalType_LOADINGARM, IfcLiquidTerminalType_HOSEREEL, IfcLiquidTerminalType_USERDEFINED, IfcLiquidTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8471,13 +8471,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8729,13 +8729,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8744,13 +8744,13 @@ public: class IFC_PARSE_API IfcMarineFacilityTypeEnum : public express::DeclaredType { public: IfcMarineFacilityTypeEnum() {} - explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarineFacilityType_CANAL, IfcMarineFacilityType_WATERWAYSHIPLIFT, IfcMarineFacilityType_REVETMENT, IfcMarineFacilityType_LAUNCHRECOVERY, IfcMarineFacilityType_MARINEDEFENCE, IfcMarineFacilityType_HYDROLIFT, IfcMarineFacilityType_SHIPYARD, IfcMarineFacilityType_SHIPLIFT, IfcMarineFacilityType_PORT, IfcMarineFacilityType_QUAY, IfcMarineFacilityType_FLOATINGDOCK, IfcMarineFacilityType_NAVIGATIONALCHANNEL, IfcMarineFacilityType_BREAKWATER, IfcMarineFacilityType_DRYDOCK, IfcMarineFacilityType_JETTY, IfcMarineFacilityType_SHIPLOCK, IfcMarineFacilityType_BARRIERBEACH, IfcMarineFacilityType_SLIPWAY, IfcMarineFacilityType_WATERWAY, IfcMarineFacilityType_USERDEFINED, IfcMarineFacilityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8759,13 +8759,13 @@ public: class IFC_PARSE_API IfcMarinePartTypeEnum : public express::DeclaredType { public: IfcMarinePartTypeEnum() {} - explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarinePartType_CREST, IfcMarinePartType_MANUFACTURING, IfcMarinePartType_LOWWATERLINE, IfcMarinePartType_CORE, IfcMarinePartType_WATERFIELD, IfcMarinePartType_CILL_LEVEL, IfcMarinePartType_BERTHINGSTRUCTURE, IfcMarinePartType_COPELEVEL, IfcMarinePartType_CHAMBER, IfcMarinePartType_STORAGEAREA, IfcMarinePartType_APPROACHCHANNEL, IfcMarinePartType_VEHICLESERVICING, IfcMarinePartType_SHIPTRANSFER, IfcMarinePartType_GATEHEAD, IfcMarinePartType_GUDINGSTRUCTURE, IfcMarinePartType_BELOWWATERLINE, IfcMarinePartType_WEATHERSIDE, IfcMarinePartType_LANDFIELD, IfcMarinePartType_PROTECTION, IfcMarinePartType_LEEWARDSIDE, IfcMarinePartType_ABOVEWATERLINE, IfcMarinePartType_ANCHORAGE, IfcMarinePartType_NAVIGATIONALAREA, IfcMarinePartType_HIGHWATERLINE, IfcMarinePartType_USERDEFINED, IfcMarinePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8790,13 +8790,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_COUPLER, IfcMechanicalFastenerType_RAILJOINT, IfcMechanicalFastenerType_RAILFASTENING, IfcMechanicalFastenerType_CHAIN, IfcMechanicalFastenerType_ROPE, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8817,13 +8817,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8874,13 +8874,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STRINGER, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_STIFFENING_RIB, IfcMemberType_ARCH_SEGMENT, IfcMemberType_SUSPENSION_CABLE, IfcMemberType_SUSPENDER, IfcMemberType_STAY_CABLE, IfcMemberType_STRUCTURALCABLE, IfcMemberType_TIEBAR, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8889,13 +8889,13 @@ public: class IFC_PARSE_API IfcMobileTelecommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcMobileTelecommunicationsApplianceTypeEnum() {} - explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMobileTelecommunicationsApplianceType_E_UTRAN_NODE_B, IfcMobileTelecommunicationsApplianceType_REMOTERADIOUNIT, IfcMobileTelecommunicationsApplianceType_ACCESSPOINT, IfcMobileTelecommunicationsApplianceType_BASETRANSCEIVERSTATION, IfcMobileTelecommunicationsApplianceType_REMOTEUNIT, IfcMobileTelecommunicationsApplianceType_BASEBANDUNIT, IfcMobileTelecommunicationsApplianceType_MASTERUNIT, IfcMobileTelecommunicationsApplianceType_GATEWAY_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_SUBSCRIBERSERVER, IfcMobileTelecommunicationsApplianceType_MOBILESWITCHINGCENTER, IfcMobileTelecommunicationsApplianceType_MSCSERVER, IfcMobileTelecommunicationsApplianceType_PACKETCONTROLUNIT, IfcMobileTelecommunicationsApplianceType_SERVICE_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_USERDEFINED, IfcMobileTelecommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8904,13 +8904,13 @@ public: class IFC_PARSE_API IfcMooringDeviceTypeEnum : public express::DeclaredType { public: IfcMooringDeviceTypeEnum() {} - explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMooringDeviceType_LINETENSIONER, IfcMooringDeviceType_MAGNETICDEVICE, IfcMooringDeviceType_MOORINGHOOKS, IfcMooringDeviceType_VACUUMDEVICE, IfcMooringDeviceType_BOLLARD, IfcMooringDeviceType_USERDEFINED, IfcMooringDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8927,13 +8927,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8942,13 +8942,13 @@ public: class IFC_PARSE_API IfcNavigationElementTypeEnum : public express::DeclaredType { public: IfcNavigationElementTypeEnum() {} - explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNavigationElementType_BEACON, IfcNavigationElementType_BUOY, IfcNavigationElementType_USERDEFINED, IfcNavigationElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8959,13 +8959,13 @@ public: class IFC_PARSE_API IfcObjectTypeEnum : public express::DeclaredType { public: IfcObjectTypeEnum() {} - explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjectType_PRODUCT, IfcObjectType_PROCESS, IfcObjectType_CONTROL, IfcObjectType_RESOURCE, IfcObjectType_ACTOR, IfcObjectType_GROUP, IfcObjectType_PROJECT, IfcObjectType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9002,13 +9002,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9029,13 +9029,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9063,13 +9063,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9090,13 +9090,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9105,13 +9105,13 @@ public: class IFC_PARSE_API IfcPavementTypeEnum : public express::DeclaredType { public: IfcPavementTypeEnum() {} - explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPavementType_FLEXIBLE, IfcPavementType_RIGID, IfcPavementType_USERDEFINED, IfcPavementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9125,13 +9125,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9161,13 +9161,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9184,13 +9184,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9221,13 +9221,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9257,13 +9257,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9284,13 +9284,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_DRIVEN, IfcPileType_JETGROUTING, IfcPileType_COHESION, IfcPileType_FRICTION, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9329,13 +9329,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9358,13 +9358,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9390,13 +9390,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_CURTAIN_PANEL, IfcPlateType_SHEET, IfcPlateType_FLANGE_PLATE, IfcPlateType_WEB_PLATE, IfcPlateType_STIFFENER_PLATE, IfcPlateType_GUSSET_PLATE, IfcPlateType_COVER_PLATE, IfcPlateType_SPLICE_PLATE, IfcPlateType_BASE_PLATE, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9405,13 +9405,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9433,13 +9433,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9455,13 +9455,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_CURVE, IfcProfileType_AREA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9480,13 +9480,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9500,13 +9500,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9526,13 +9526,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_BLISTER, IfcProjectionElementType_DEVIATOR, IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9578,13 +9578,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9599,13 +9599,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9628,13 +9628,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_ANTI_ARCING_DEVICE, IfcProtectiveDeviceType_SPARKGAP, IfcProtectiveDeviceType_VOLTAGELIMITER, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9670,13 +9670,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9685,13 +9685,13 @@ public: class IFC_PARSE_API IfcRailTypeEnum : public express::DeclaredType { public: IfcRailTypeEnum() {} - explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailType_RACKRAIL, IfcRailType_BLADE, IfcRailType_GUARDRAIL, IfcRailType_STOCKRAIL, IfcRailType_CHECKRAIL, IfcRailType_RAIL, IfcRailType_USERDEFINED, IfcRailType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9719,13 +9719,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_HANDRAIL, IfcRailingType_GUARDRAIL, IfcRailingType_BALUSTRADE, IfcRailingType_FENCE, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9734,13 +9734,13 @@ public: class IFC_PARSE_API IfcRailwayPartTypeEnum : public express::DeclaredType { public: IfcRailwayPartTypeEnum() {} - explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayPartType_TRACKSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTUREPART, IfcRailwayPartType_LINESIDESTRUCTUREPART, IfcRailwayPartType_DILATATIONSUPERSTRUCTURE, IfcRailwayPartType_PLAINTRACKSUPESTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTURE, IfcRailwayPartType_SUPERSTRUCTURE, IfcRailwayPartType_TURNOUTSUPERSTRUCTURE, IfcRailwayPartType_USERDEFINED, IfcRailwayPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9749,13 +9749,13 @@ public: class IFC_PARSE_API IfcRailwayTypeEnum : public express::DeclaredType { public: IfcRailwayTypeEnum() {} - explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayType_USERDEFINED, IfcRailwayType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9774,13 +9774,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_STRAIGHT, IfcRampFlightType_SPIRAL, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9836,13 +9836,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_HALF_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9871,13 +9871,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_DAILY, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9886,13 +9886,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_KILOPOINT, IfcReferentType_MILEPOINT, IfcReferentType_STATION, IfcReferentType_REFERENCEMARKER, IfcReferentType_LANDMARK, IfcReferentType_BOUNDARY, IfcReferentType_INTERSECTION, IfcReferentType_POSITION, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9916,13 +9916,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9931,13 +9931,13 @@ public: class IFC_PARSE_API IfcReinforcedSoilTypeEnum : public express::DeclaredType { public: IfcReinforcedSoilTypeEnum() {} - explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcedSoilType_SURCHARGEPRELOADED, IfcReinforcedSoilType_VERTICALLYDRAINED, IfcReinforcedSoilType_DYNAMICALLYCOMPACTED, IfcReinforcedSoilType_REPLACED, IfcReinforcedSoilType_ROLLERCOMPACTED, IfcReinforcedSoilType_GROUTED, IfcReinforcedSoilType_USERDEFINED, IfcReinforcedSoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9964,13 +9964,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9987,13 +9987,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10002,13 +10002,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_SPACEBAR, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10017,13 +10017,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10032,13 +10032,13 @@ public: class IFC_PARSE_API IfcRoadPartTypeEnum : public express::DeclaredType { public: IfcRoadPartTypeEnum() {} - explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadPartType_ROADSIDEPART, IfcRoadPartType_BUS_STOP, IfcRoadPartType_HARDSHOULDER, IfcRoadPartType_INTERSECTION, IfcRoadPartType_PASSINGBAY, IfcRoadPartType_ROADWAYPLATEAU, IfcRoadPartType_ROADSIDE, IfcRoadPartType_REFUGEISLAND, IfcRoadPartType_TOLLPLAZA, IfcRoadPartType_CENTRALRESERVE, IfcRoadPartType_SIDEWALK, IfcRoadPartType_PARKINGBAY, IfcRoadPartType_RAILWAYCROSSING, IfcRoadPartType_PEDESTRIAN_CROSSING, IfcRoadPartType_SOFTSHOULDER, IfcRoadPartType_BICYCLECROSSING, IfcRoadPartType_CENTRALISLAND, IfcRoadPartType_SHOULDER, IfcRoadPartType_TRAFFICLANE, IfcRoadPartType_ROADSEGMENT, IfcRoadPartType_ROUNDABOUT, IfcRoadPartType_LAYBY, IfcRoadPartType_CARRIAGEWAY, IfcRoadPartType_TRAFFICISLAND, IfcRoadPartType_USERDEFINED, IfcRoadPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10047,13 +10047,13 @@ public: class IFC_PARSE_API IfcRoadTypeEnum : public express::DeclaredType { public: IfcRoadTypeEnum() {} - explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadType_USERDEFINED, IfcRoadType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10090,13 +10090,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_SUPPLIER, IfcRole_MANUFACTURER, IfcRole_CONTRACTOR, IfcRole_SUBCONTRACTOR, IfcRole_ARCHITECT, IfcRole_STRUCTURALENGINEER, IfcRole_COSTENGINEER, IfcRole_CLIENT, IfcRole_BUILDINGOWNER, IfcRole_BUILDINGOPERATOR, IfcRole_MECHANICALENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_PROJECTMANAGER, IfcRole_FACILITIESMANAGER, IfcRole_CIVILENGINEER, IfcRole_COMMISSIONINGENGINEER, IfcRole_ENGINEER, IfcRole_OWNER, IfcRole_CONSULTANT, IfcRole_CONSTRUCTIONMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_RESELLER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10170,13 +10170,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_FLAT_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_BARREL_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FREEFORM, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10211,13 +10211,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_EXA, IfcSIPrefix_PETA, IfcSIPrefix_TERA, IfcSIPrefix_GIGA, IfcSIPrefix_MEGA, IfcSIPrefix_KILO, IfcSIPrefix_HECTO, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_CENTI, IfcSIPrefix_MILLI, IfcSIPrefix_MICRO, IfcSIPrefix_NANO, IfcSIPrefix_PICO, IfcSIPrefix_FEMTO, IfcSIPrefix_ATTO} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10264,13 +10264,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10297,13 +10297,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10321,13 +10321,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_UNIFORM, IfcSectionType_TAPERED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10363,13 +10363,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_COSENSOR, IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_EARTHQUAKESENSOR, IfcSensorType_FOREIGNOBJECTDETECTIONSENSOR, IfcSensorType_OBSTACLESENSOR, IfcSensorType_RAINSENSOR, IfcSensorType_SNOWDEPTHSENSOR, IfcSensorType_TRAINSENSOR, IfcSensorType_TURNOUTCLOSURESENSOR, IfcSensorType_WHEELSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10382,13 +10382,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_START_START, IfcSequence_START_FINISH, IfcSequence_FINISH_START, IfcSequence_FINISH_FINISH, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10406,13 +10406,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_AWNING, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10421,13 +10421,13 @@ public: class IFC_PARSE_API IfcSignTypeEnum : public express::DeclaredType { public: IfcSignTypeEnum() {} - explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignType_MARKER, IfcSignType_PICTORAL, IfcSignType_MIRROR, IfcSignType_USERDEFINED, IfcSignType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10436,13 +10436,13 @@ public: class IFC_PARSE_API IfcSignalTypeEnum : public express::DeclaredType { public: IfcSignalTypeEnum() {} - explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignalType_VISUAL, IfcSignalType_AUDIO, IfcSignalType_MIXED, IfcSignalType_USERDEFINED, IfcSignalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10468,13 +10468,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_WEIGHT, IfcSimplePropertyTemplateType_Q_TIME} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10514,13 +10514,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_FLOOR, IfcSlabType_ROOF, IfcSlabType_LANDING, IfcSlabType_BASESLAB, IfcSlabType_APPROACH_SLAB, IfcSlabType_PAVING, IfcSlabType_WEARING, IfcSlabType_SIDEWALK, IfcSlabType_TRACKSLAB, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10537,13 +10537,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10563,13 +10563,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10612,13 +10612,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_SPACE, IfcSpaceType_PARKING, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_EXTERNAL, IfcSpaceType_BERTH, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10651,13 +10651,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_RESERVATION, IfcSpatialZoneType_INTERFERENCE, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10674,13 +10674,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10703,13 +10703,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_SPIRAL, IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10810,13 +10810,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_CURVED_RUN_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_LADDER, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10837,13 +10837,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_READWRITE, IfcState_READONLY, IfcState_LOCKED, IfcState_READWRITELOCKED, IfcState_READONLYLOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10866,13 +10866,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10898,13 +10898,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10924,13 +10924,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10952,13 +10952,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10974,13 +10974,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10999,13 +10999,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_DEFECT, IfcSurfaceFeatureType_HATCHMARKING, IfcSurfaceFeatureType_LINEMARKING, IfcSurfaceFeatureType_PAVEMENTSURFACEMARKING, IfcSurfaceFeatureType_SYMBOLMARKING, IfcSurfaceFeatureType_NONSKIDSURFACING, IfcSurfaceFeatureType_RUMBLESTRIP, IfcSurfaceFeatureType_TRANSVERSERUMBLESTRIP, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11024,13 +11024,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_POSITIVE, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_BOTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11054,13 +11054,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_RELAY, IfcSwitchingDeviceType_START_AND_STOP_EQUIPMENT, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11076,13 +11076,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_SUBRACK, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11113,13 +11113,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_OILRETENTIONTRAY, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11134,13 +11134,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11166,13 +11166,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ATTENDANCE, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11181,13 +11181,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11196,13 +11196,13 @@ public: class IFC_PARSE_API IfcTendonConduitTypeEnum : public express::DeclaredType { public: IfcTendonConduitTypeEnum() {} - explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonConduitType_DUCT, IfcTendonConduitType_COUPLER, IfcTendonConduitType_GROUTING_DUCT, IfcTendonConduitType_TRUMPET, IfcTendonConduitType_DIABOLO, IfcTendonConduitType_USERDEFINED, IfcTendonConduitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11211,13 +11211,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11232,13 +11232,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP, IfcTextPath_DOWN} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11257,13 +11257,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11272,13 +11272,13 @@ public: class IFC_PARSE_API IfcTrackElementTypeEnum : public express::DeclaredType { public: IfcTrackElementTypeEnum() {} - explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrackElementType_TRACKENDOFALIGNMENT, IfcTrackElementType_BLOCKINGDEVICE, IfcTrackElementType_VEHICLESTOP, IfcTrackElementType_SLEEPER, IfcTrackElementType_HALF_SET_OF_BLADES, IfcTrackElementType_SPEEDREGULATOR, IfcTrackElementType_DERAILER, IfcTrackElementType_FROG, IfcTrackElementType_USERDEFINED, IfcTrackElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11297,13 +11297,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_CHOPPER, IfcTransformerType_COMBINED, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11327,13 +11327,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_DISCONTINUOUS, IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11342,13 +11342,13 @@ public: class IFC_PARSE_API IfcTransportElementFixedTypeEnum : public express::DeclaredType { public: IfcTransportElementFixedTypeEnum() {} - explicit IfcTransportElementFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementFixedType_ELEVATOR, IfcTransportElementFixedType_ESCALATOR, IfcTransportElementFixedType_MOVINGWALKWAY, IfcTransportElementFixedType_CRANEWAY, IfcTransportElementFixedType_LIFTINGGEAR, IfcTransportElementFixedType_HAULINGGEAR, IfcTransportElementFixedType_USERDEFINED, IfcTransportElementFixedType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11357,13 +11357,13 @@ public: class IFC_PARSE_API IfcTransportElementNonFixedTypeEnum : public express::DeclaredType { public: IfcTransportElementNonFixedTypeEnum() {} - explicit IfcTransportElementNonFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementNonFixedTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementNonFixedType_VEHICLE, IfcTransportElementNonFixedType_VEHICLETRACKED, IfcTransportElementNonFixedType_ROLLINGSTOCK, IfcTransportElementNonFixedType_VEHICLEWHEELED, IfcTransportElementNonFixedType_VEHICLEAIR, IfcTransportElementNonFixedType_CARGO, IfcTransportElementNonFixedType_VEHICLEMARINE, IfcTransportElementNonFixedType_USERDEFINED, IfcTransportElementNonFixedType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11382,13 +11382,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11404,13 +11404,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11454,13 +11454,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11484,13 +11484,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_COMBINED, IfcUnitaryControlElementType_BASESTATIONCONTROLLER, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11510,13 +11510,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11567,13 +11567,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DRAWOFFCOCK, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11582,13 +11582,13 @@ public: class IFC_PARSE_API IfcVibrationDamperTypeEnum : public express::DeclaredType { public: IfcVibrationDamperTypeEnum() {} - explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationDamperType_BENDING_YIELD, IfcVibrationDamperType_SHEAR_YIELD, IfcVibrationDamperType_AXIAL_YIELD, IfcVibrationDamperType_FRICTION, IfcVibrationDamperType_VISCOUS, IfcVibrationDamperType_RUBBER, IfcVibrationDamperType_USERDEFINED, IfcVibrationDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11605,13 +11605,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_BASE, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11633,13 +11633,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11684,13 +11684,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_POLYGONAL, IfcWallType_ELEMENTEDWALL, IfcWallType_RETAININGWALL, IfcWallType_WAVEWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11712,13 +11712,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11810,13 +11810,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11888,13 +11888,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11909,13 +11909,13 @@ public: class IFC_PARSE_API IfcWindowStyleConstructionEnum : public express::DeclaredType { public: IfcWindowStyleConstructionEnum() {} - explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleConstruction_ALUMINIUM, IfcWindowStyleConstruction_HIGH_GRADE_STEEL, IfcWindowStyleConstruction_STEEL, IfcWindowStyleConstruction_WOOD, IfcWindowStyleConstruction_ALUMINIUM_WOOD, IfcWindowStyleConstruction_PLASTIC, IfcWindowStyleConstruction_OTHER_CONSTRUCTION, IfcWindowStyleConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11997,13 +11997,13 @@ public: class IFC_PARSE_API IfcWindowStyleOperationEnum : public express::DeclaredType { public: IfcWindowStyleOperationEnum() {} - explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowStyleOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowStyleOperation_SINGLE_PANEL, IfcWindowStyleOperation_DOUBLE_PANEL_VERTICAL, IfcWindowStyleOperation_DOUBLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_TRIPLE_PANEL_VERTICAL, IfcWindowStyleOperation_TRIPLE_PANEL_BOTTOM, IfcWindowStyleOperation_TRIPLE_PANEL_TOP, IfcWindowStyleOperation_TRIPLE_PANEL_LEFT, IfcWindowStyleOperation_TRIPLE_PANEL_RIGHT, IfcWindowStyleOperation_TRIPLE_PANEL_HORIZONTAL, IfcWindowStyleOperation_USERDEFINED, IfcWindowStyleOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12027,13 +12027,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_WINDOW, IfcWindowType_SKYLIGHT, IfcWindowType_LIGHTDOME, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12112,13 +12112,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12137,13 +12137,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12162,13 +12162,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12187,13 +12187,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -12206,9 +12206,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12220,9 +12220,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12237,9 +12237,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12251,9 +12251,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12261,9 +12261,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -12271,9 +12271,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12287,9 +12287,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12297,9 +12297,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -12311,9 +12311,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -12363,9 +12363,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12383,9 +12383,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -12440,9 +12440,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -12455,9 +12455,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12470,9 +12470,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12486,9 +12486,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12501,9 +12501,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12528,9 +12528,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12549,9 +12549,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12592,9 +12592,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12607,9 +12607,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12623,9 +12623,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12637,9 +12637,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12651,9 +12651,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12666,9 +12666,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12680,9 +12680,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12694,9 +12694,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12708,9 +12708,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12724,9 +12724,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12738,9 +12738,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12752,9 +12752,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12766,9 +12766,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12789,9 +12789,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12810,9 +12810,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12842,9 +12842,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12856,9 +12856,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12870,9 +12870,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12892,9 +12892,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12906,9 +12906,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12918,9 +12918,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12941,9 +12941,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12955,9 +12955,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12969,9 +12969,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12985,9 +12985,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13001,9 +13001,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13013,9 +13013,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13027,9 +13027,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13041,9 +13041,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13064,9 +13064,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13083,9 +13083,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13099,9 +13099,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13109,9 +13109,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -13123,9 +13123,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13137,9 +13137,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13151,9 +13151,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13165,9 +13165,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13179,9 +13179,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -13193,9 +13193,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13209,9 +13209,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13225,9 +13225,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13239,9 +13239,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13253,9 +13253,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13267,9 +13267,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13281,9 +13281,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13297,9 +13297,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13313,9 +13313,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13327,9 +13327,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13341,9 +13341,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13355,9 +13355,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13373,9 +13373,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13387,9 +13387,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13401,9 +13401,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13415,9 +13415,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13428,9 +13428,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13493,9 +13493,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13507,9 +13507,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13522,9 +13522,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13534,9 +13534,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13550,9 +13550,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13564,9 +13564,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13584,9 +13584,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13594,9 +13594,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13609,9 +13609,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13624,9 +13624,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13638,9 +13638,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13656,9 +13656,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13670,9 +13670,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13680,9 +13680,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition >() const; }; @@ -13694,9 +13694,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13713,9 +13713,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13729,9 +13729,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13743,9 +13743,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13758,9 +13758,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13772,9 +13772,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13786,9 +13786,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13800,9 +13800,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13814,9 +13814,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13830,9 +13830,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13840,9 +13840,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13854,9 +13854,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13864,9 +13864,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13878,9 +13878,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13892,9 +13892,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13908,9 +13908,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13926,9 +13926,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13940,9 +13940,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13954,9 +13954,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13974,9 +13974,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13993,9 +13993,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14015,9 +14015,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14043,9 +14043,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14062,9 +14062,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14076,9 +14076,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14090,9 +14090,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14103,9 +14103,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14116,9 +14116,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14130,9 +14130,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14146,9 +14146,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14163,9 +14163,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14179,9 +14179,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14192,9 +14192,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -14206,9 +14206,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14222,9 +14222,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14236,9 +14236,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14252,9 +14252,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14266,9 +14266,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14280,9 +14280,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14294,9 +14294,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14328,9 +14328,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -14342,9 +14342,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14357,9 +14357,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14378,7 +14378,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -14395,7 +14395,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -14406,7 +14406,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > Purpose() const; @@ -14423,28 +14423,28 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; class IFC_PARSE_API IfcAlignmentParameterSegment : public express::Entity { public: IfcAlignmentParameterSegment() {} - explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > StartTag() const; void setStartTag(const std::optional< std::string >& v); std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag); }; class IFC_PARSE_API IfcAlignmentVerticalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentVerticalSegment() {} - explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -14461,7 +14461,7 @@ public: ::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_rc4::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -14470,7 +14470,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x3_rc4::IfcOrganization ApplicationDeveloper() const; @@ -14485,7 +14485,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -14505,7 +14505,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -14543,7 +14543,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -14554,7 +14554,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -14595,7 +14595,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_rc4::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_rc4::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -14616,13 +14616,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14638,7 +14638,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc4::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14659,7 +14659,7 @@ public: ::Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_rc4::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_rc4::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_rc4::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14675,7 +14675,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14687,7 +14687,7 @@ public: ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_rc4::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14703,7 +14703,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14724,7 +14724,7 @@ public: ::Ifc4x3_rc4::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x3_rc4::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14739,13 +14739,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x3_rc4::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x3_rc4::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_rc4::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_rc4::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_rc4::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14765,10 +14765,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14790,7 +14790,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc4::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14799,7 +14799,7 @@ public: ::Ifc4x3_rc4::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x3_rc4::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc4::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14813,7 +14813,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc4::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14822,7 +14822,7 @@ public: ::Ifc4x3_rc4::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x3_rc4::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_rc4::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14834,7 +14834,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x3_rc4::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14843,7 +14843,7 @@ public: ::Ifc4x3_rc4::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x3_rc4::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_rc4::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14861,7 +14861,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14890,7 +14890,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14942,7 +14942,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x3_rc4::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14951,7 +14951,7 @@ public: ::Ifc4x3_rc4::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x3_rc4::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc4::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14979,7 +14979,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -15003,7 +15003,7 @@ public: void setVerticalDatum(const std::optional< std::string >& v); std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -15051,10 +15051,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_rc4::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -15067,7 +15067,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x3_rc4::IfcDerivedUnitElement > Elements() const; @@ -15078,7 +15078,7 @@ public: std::optional< std::string > UserDefinedType() const; void setUserDefinedType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_rc4::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -15093,7 +15093,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x3_rc4::IfcNamedUnit Unit() const; @@ -15102,7 +15102,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -15125,7 +15125,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -15149,7 +15149,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -15161,10 +15161,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -15179,7 +15179,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -15202,7 +15202,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -15216,10 +15216,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -15232,10 +15232,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -15248,10 +15248,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -15280,7 +15280,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -15296,7 +15296,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_rc4::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -15305,7 +15305,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -15314,7 +15314,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_rc4::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_rc4::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -15328,7 +15328,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -15354,7 +15354,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_rc4::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -15367,7 +15367,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -15384,7 +15384,7 @@ public: void setReferencedLibrary(const ::Ifc4x3_rc4::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_rc4::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -15405,7 +15405,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -15419,7 +15419,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -15428,7 +15428,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -15437,7 +15437,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x3_rc4::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_rc4::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -15454,7 +15454,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -15486,7 +15486,7 @@ public: std::optional< double > ScaleZ() const; void setScaleZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_rc4::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, std::optional< double > v9_ScaleY, std::optional< double > v10_ScaleZ); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -15497,7 +15497,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x3_rc4::IfcClassificationSelect > MaterialClassifications() const; @@ -15506,7 +15506,7 @@ public: ::Ifc4x3_rc4::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x3_rc4::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_rc4::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -15536,13 +15536,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -15571,7 +15571,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x3_rc4::IfcMaterial Material() const; @@ -15604,7 +15604,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15643,7 +15643,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x3_rc4::IfcMaterialLayer > MaterialLayers() const; @@ -15657,7 +15657,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15706,7 +15706,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15715,7 +15715,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15738,13 +15738,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x3_rc4::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x3_rc4::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15755,7 +15755,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15777,7 +15777,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMaterial v3_Material, ::Ifc4x3_rc4::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15788,7 +15788,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15806,7 +15806,7 @@ public: ::Ifc4x3_rc4::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x3_rc4::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_rc4::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15817,13 +15817,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMaterial v3_Material, ::Ifc4x3_rc4::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15860,11 +15860,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15880,7 +15880,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x3_rc4::IfcValue ValueComponent() const; @@ -15889,7 +15889,7 @@ public: ::Ifc4x3_rc4::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x3_rc4::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcValue v1_ValueComponent, ::Ifc4x3_rc4::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15947,7 +15947,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x3_rc4::IfcBenchmarkEnum::Value Benchmark() const; @@ -15961,7 +15961,7 @@ public: ::Ifc4x3_rc4::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_rc4::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_rc4::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_rc4::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_rc4::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15972,13 +15972,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15989,7 +15989,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x3_rc4::IfcDimensionalExponents Dimensions() const; @@ -15998,7 +15998,7 @@ public: ::Ifc4x3_rc4::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x3_rc4::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -16015,13 +16015,13 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc4x3_rc4::IfcObjectPlacement PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x3_rc4::IfcObjectPlacement& v); std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcObjectPlacement v1_PlacementRelTo); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -16036,7 +16036,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x3_rc4::IfcConstraint > > BenchmarkValues() const; @@ -16050,7 +16050,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_rc4::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_rc4::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_rc4::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_rc4::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -16064,7 +16064,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -16086,7 +16086,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_rc4::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -16102,7 +16102,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x3_rc4::IfcPersonAndOrganization OwningUser() const; @@ -16129,7 +16129,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_rc4::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_rc4::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_rc4::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_rc4::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -16144,7 +16144,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -16178,7 +16178,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x3_rc4::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_rc4::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -16189,7 +16189,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x3_rc4::IfcPerson ThePerson() const; @@ -16201,7 +16201,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPerson v1_ThePerson, ::Ifc4x3_rc4::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_rc4::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -16212,7 +16212,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -16223,7 +16223,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -16238,13 +16238,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x3_rc4::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_rc4::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -16253,7 +16253,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -16283,17 +16283,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -16314,7 +16314,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -16329,7 +16329,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -16348,7 +16348,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -16367,7 +16367,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x3_rc4::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_rc4::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -16378,13 +16378,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// IfcProductRepresentation defines a representation of a @@ -16407,7 +16407,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -16419,7 +16419,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x3_rc4::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -16595,7 +16595,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x3_rc4::IfcProfileTypeEnum::Value ProfileType() const; @@ -16606,7 +16606,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16635,7 +16635,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} /// Name by which the map projection is identified. /// @@ -16654,18 +16654,18 @@ public: ::Ifc4x3_rc4::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x3_rc4::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_rc4::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16717,7 +16717,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16729,7 +16729,7 @@ public: ::Ifc4x3_rc4::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc4::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x3_rc4::IfcValue > v2_EnumerationValues, ::Ifc4x3_rc4::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16740,7 +16740,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16751,7 +16751,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16762,7 +16762,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. double CountValue() const; @@ -16773,7 +16773,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16784,7 +16784,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16795,7 +16795,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16806,7 +16806,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16817,7 +16817,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16828,7 +16828,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16839,7 +16839,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16850,7 +16850,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16861,7 +16861,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16873,7 +16873,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16913,14 +16913,14 @@ public: std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_rc4::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16933,7 +16933,7 @@ public: ::Ifc4x3_rc4::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_rc4::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_rc4::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16985,7 +16985,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x3_rc4::IfcRepresentationContext ContextOfItems() const; @@ -17004,7 +17004,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -17020,7 +17020,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -17030,7 +17030,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -17068,12 +17068,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -17090,7 +17090,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -17102,7 +17102,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_rc4::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -17111,7 +17111,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -17120,7 +17120,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -17135,7 +17135,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -17154,7 +17154,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -17167,7 +17167,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x3_rc4::IfcSIPrefix::Value > Prefix() const; @@ -17178,7 +17178,7 @@ public: ::Ifc4x3_rc4::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x3_rc4::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_rc4::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_rc4::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -17187,7 +17187,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -17200,7 +17200,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -17243,7 +17243,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -17266,7 +17266,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x3_rc4::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_rc4::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -17290,11 +17290,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -17435,10 +17435,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -17447,13 +17447,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -17462,13 +17462,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -17485,7 +17485,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x3_rc4::IfcStructuralLoadOrResult > Values() const; @@ -17494,7 +17494,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc4::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -17503,10 +17503,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -17515,10 +17515,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -17529,7 +17529,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -17547,7 +17547,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -17558,10 +17558,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -17595,7 +17595,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17614,7 +17614,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_rc4::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17627,10 +17627,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17641,7 +17641,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17653,7 +17653,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17666,7 +17666,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x3_rc4::IfcSurfaceSide::Value Side() const; @@ -17675,7 +17675,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3_rc4::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_rc4::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17692,7 +17692,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17711,7 +17711,7 @@ public: ::Ifc4x3_rc4::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x3_rc4::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_rc4::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_rc4::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_rc4::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17722,7 +17722,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17731,7 +17731,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17744,7 +17744,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x3_rc4::IfcColourRgb SurfaceColour() const; @@ -17752,7 +17752,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17776,13 +17776,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17880,7 +17880,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17911,7 +17911,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17932,7 +17932,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17944,7 +17944,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc4::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x3_rc4::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_rc4::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_rc4::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17955,7 +17955,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17972,7 +17972,7 @@ public: ::Ifc4x3_rc4::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_rc4::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_rc4::IfcUnit v4_Unit, ::Ifc4x3_rc4::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17991,7 +17991,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > RowCells() const; @@ -18000,7 +18000,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -18014,7 +18014,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -18122,7 +18122,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -18131,12 +18131,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x3_rc4::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x3_rc4::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_rc4::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_rc4::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -18148,7 +18148,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -18172,7 +18172,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_rc4::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -18206,7 +18206,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x3_rc4::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -18226,7 +18226,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_rc4::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_rc4::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -18249,7 +18249,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x3_rc4::IfcColour Colour() const; @@ -18258,7 +18258,7 @@ public: ::Ifc4x3_rc4::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x3_rc4::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcColour v1_Colour, ::Ifc4x3_rc4::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -18271,7 +18271,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -18302,7 +18302,7 @@ public: ::Ifc4x3_rc4::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x3_rc4::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_rc4::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_rc4::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_rc4::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -18319,12 +18319,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -18356,7 +18356,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -18369,7 +18369,7 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; /// An IfcTextureMap provides the mapping of the @@ -18426,7 +18426,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -18436,7 +18436,7 @@ public: ::Ifc4x3_rc4::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x3_rc4::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_rc4::IfcTextureVertex > v2_Vertices, ::Ifc4x3_rc4::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -18469,25 +18469,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -18499,7 +18499,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -18508,7 +18508,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -18519,7 +18519,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -18547,7 +18547,7 @@ public: void setUnit(const ::Ifc4x3_rc4::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -18562,13 +18562,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x3_rc4::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_rc4::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -18579,10 +18579,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18622,10 +18622,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_rc4::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18636,13 +18636,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x3_rc4::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x3_rc4::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18658,10 +18658,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18676,13 +18676,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x3_rc4::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x3_rc4::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18747,7 +18747,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x3_rc4::IfcGridAxis > IntersectingAxes() const; @@ -18756,7 +18756,7 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18770,7 +18770,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18786,14 +18786,14 @@ public: std::optional< std::string > Finish() const; void setFinish(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_Start, std::optional< std::string > v6_Finish); }; class IFC_PARSE_API IfcAlignmentCantSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentCantSegment() {} - explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -18810,14 +18810,14 @@ public: ::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_rc4::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType); }; class IFC_PARSE_API IfcAlignmentHorizontalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentHorizontalSegment() {} - explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} ::Ifc4x3_rc4::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x3_rc4::IfcCartesianPoint& v); @@ -18834,7 +18834,7 @@ public: ::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_rc4::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_rc4::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType); }; /// An IfcApprovalRelationship associates approvals (one @@ -18847,7 +18847,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x3_rc4::IfcApproval RelatingApproval() const; @@ -18856,7 +18856,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x3_rc4::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_rc4::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18880,13 +18880,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x3_rc4::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x3_rc4::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18907,13 +18907,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x3_rc4::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x3_rc4::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18938,13 +18938,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x3_rc4::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x3_rc4::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_rc4::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18959,7 +18959,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18968,7 +18968,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -19003,13 +19003,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -19030,7 +19030,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -19083,7 +19083,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Location, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -19110,7 +19110,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x3_rc4::IfcClassificationReferenceSelect ReferencedSource() const; @@ -19125,19 +19125,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_rc4::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -19148,7 +19148,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -19157,7 +19157,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -19199,7 +19199,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x3_rc4::IfcProfileDef > Profiles() const; @@ -19208,7 +19208,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -19223,13 +19223,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x3_rc4::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x3_rc4::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -19248,7 +19248,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_rc4::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -19257,7 +19257,7 @@ public: ::Ifc4x3_rc4::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x3_rc4::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_rc4::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -19282,7 +19282,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -19294,7 +19294,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_rc4::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -19307,14 +19307,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -19367,7 +19367,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -19377,7 +19377,7 @@ public: void setConversionFactor(const ::Ifc4x3_rc4::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -19401,13 +19401,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_rc4::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_rc4::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -19424,7 +19424,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x3_rc4::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -19444,7 +19444,7 @@ public: ::Ifc4x3_rc4::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x3_rc4::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_rc4::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_rc4::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -19467,7 +19467,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x3_rc4::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -19481,7 +19481,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_rc4::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_rc4::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -19492,7 +19492,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -19501,7 +19501,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x3_rc4::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc4::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -19518,7 +19518,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -19530,7 +19530,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcCurveStyleFontSelect v2_CurveFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -19541,7 +19541,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -19554,7 +19554,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -19644,7 +19644,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x3_rc4::IfcProfileDef ParentProfile() const; @@ -19656,7 +19656,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcProfileDef v3_ParentProfile, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19665,7 +19665,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19736,7 +19736,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_rc4::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_rc4::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_rc4::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_rc4::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19750,7 +19750,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x3_rc4::IfcDocumentInformation RelatingDocument() const; @@ -19762,7 +19762,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_rc4::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19779,7 +19779,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19791,7 +19791,7 @@ public: void setReferencedDocument(const ::Ifc4x3_rc4::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19846,7 +19846,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x3_rc4::IfcVertex EdgeStart() const; @@ -19855,7 +19855,7 @@ public: ::Ifc4x3_rc4::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x3_rc4::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcVertex v1_EdgeStart, ::Ifc4x3_rc4::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19894,7 +19894,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x3_rc4::IfcCurve EdgeGeometry() const; @@ -19903,7 +19903,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcVertex v1_EdgeStart, ::Ifc4x3_rc4::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc4::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19932,7 +19932,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19949,14 +19949,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19965,7 +19965,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x3_rc4::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19978,7 +19978,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19989,7 +19989,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -20039,14 +20039,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x3_rc4::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x3_rc4::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -20057,7 +20057,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x3_rc4::IfcLoop Bound() const; @@ -20066,7 +20066,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -20077,10 +20077,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -20122,7 +20122,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x3_rc4::IfcSurface FaceSurface() const; @@ -20131,7 +20131,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc4::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -20144,7 +20144,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -20165,7 +20165,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -20205,7 +20205,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x3_rc4::IfcFillStyleSelect > FillStyles() const; @@ -20213,7 +20213,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_rc4::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -20266,7 +20266,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -20285,7 +20285,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_rc4::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_rc4::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -20310,10 +20310,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -20332,7 +20332,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x3_rc4::IfcGeometricRepresentationContext ParentContext() const; @@ -20357,7 +20357,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_rc4::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_rc4::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -20370,13 +20370,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x3_rc4::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x3_rc4::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -20427,7 +20427,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x3_rc4::IfcVirtualGridIntersection PlacementLocation() const; @@ -20438,7 +20438,7 @@ public: ::Ifc4x3_rc4::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x3_rc4::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc4::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_rc4::IfcGridPlacementDirectionSelect v3_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -20459,7 +20459,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x3_rc4::IfcSurface BaseSurface() const; @@ -20468,7 +20468,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -20509,20 +20509,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x3_rc4::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_rc4::IfcTessellatedFaceSet& v); @@ -20533,33 +20533,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_rc4::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x3_rc4::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_rc4::IfcTessellatedFaceSet& v); ::Ifc4x3_rc4::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x3_rc4::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc4::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_rc4::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_rc4::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -20570,13 +20570,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x3_rc4::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_rc4::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcUnit v8_Unit, std::vector< ::Ifc4x3_rc4::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -20619,7 +20619,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -20630,7 +20630,7 @@ public: ::Ifc4x3_rc4::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x3_rc4::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_rc4::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -20643,7 +20643,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20659,7 +20659,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20672,10 +20672,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20690,14 +20690,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x3_rc4::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc4::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20710,7 +20710,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x3_rc4::IfcAxis2Placement3D Position() const; @@ -20731,7 +20731,7 @@ public: ::Ifc4x3_rc4::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x3_rc4::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc4::IfcAxis2Placement3D v5_Position, ::Ifc4x3_rc4::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_rc4::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_rc4::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20752,7 +20752,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20772,7 +20772,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc4::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20793,7 +20793,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20811,21 +20811,21 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_rc4::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_rc4::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_rc4::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x3_rc4::IfcAxis2PlacementLinear RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_rc4::IfcAxis2PlacementLinear& v); ::Ifc4x3_rc4::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc4::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_rc4::IfcAxis2Placement3D v3_CartesianPosition); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20883,13 +20883,13 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system. ::Ifc4x3_rc4::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_rc4::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_rc4::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20921,10 +20921,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20949,7 +20949,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x3_rc4::IfcRepresentationMap MappingSource() const; @@ -20958,7 +20958,7 @@ public: ::Ifc4x3_rc4::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x3_rc4::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_rc4::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20991,7 +20991,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -21016,7 +21016,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -21027,7 +21027,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -21046,7 +21046,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -21066,7 +21066,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -21078,7 +21078,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc4::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_rc4::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -21114,13 +21114,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x3_rc4::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x3_rc4::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcRepresentation > v3_Representations, ::Ifc4x3_rc4::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -21226,7 +21226,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x3_rc4::IfcMaterialLayerSet ForLayerSet() const; @@ -21256,7 +21256,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_rc4::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_rc4::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -21269,7 +21269,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_rc4::IfcMaterialProfileSet ForProfileSet() const; @@ -21286,7 +21286,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -21317,7 +21317,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_rc4::IfcMaterialProfileSet ForProfileEndSet() const; @@ -21326,7 +21326,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_rc4::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -21354,7 +21354,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -21362,7 +21362,7 @@ public: ::Ifc4x3_rc4::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x3_rc4::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcProperty > v3_Properties, ::Ifc4x3_rc4::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -21371,7 +21371,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x3_rc4::IfcMaterial RelatingMaterial() const; @@ -21383,7 +21383,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_rc4::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_Expression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -21416,10 +21416,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -21475,7 +21475,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -21485,14 +21485,14 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcOpenCrossProfileDef : public IfcProfileDef { public: IfcOpenCrossProfileDef() {} - explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} bool HorizontalWidths() const; void setHorizontalWidths(const bool& v); @@ -21503,7 +21503,7 @@ public: std::optional< std::vector< std::string > /*[2:?]*/ > Tags() const; void setTags(const std::optional< std::vector< std::string > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -21568,10 +21568,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -21583,7 +21583,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x3_rc4::IfcOrganization RelatingOrganization() const; @@ -21592,7 +21592,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x3_rc4::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_rc4::IfcOrganization > v4_RelatedOrganizations); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -21605,7 +21605,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x3_rc4::IfcEdge EdgeElement() const; @@ -21614,7 +21614,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21662,13 +21662,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x3_rc4::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21688,13 +21688,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x3_rc4::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_rc4::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21709,7 +21709,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > HasQuantities() const; @@ -21724,7 +21724,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21748,7 +21748,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21765,7 +21765,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_rc4::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21780,13 +21780,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x3_rc4::IfcPoint Location() const; void setLocation(const ::Ifc4x3_rc4::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21797,7 +21797,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21806,7 +21806,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21817,17 +21817,17 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcPointByDistanceExpression : public IfcPoint { public: IfcPointByDistanceExpression() {} - explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} ::Ifc4x3_rc4::IfcCurveMeasureSelect DistanceAlong() const; void setDistanceAlong(const ::Ifc4x3_rc4::IfcCurveMeasureSelect& v); @@ -21840,7 +21840,7 @@ public: ::Ifc4x3_rc4::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_rc4::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_rc4::IfcCurve v5_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21855,7 +21855,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x3_rc4::IfcCurve BasisCurve() const; @@ -21864,7 +21864,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21879,7 +21879,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x3_rc4::IfcSurface BasisSurface() const; @@ -21891,7 +21891,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21936,13 +21936,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x3_rc4::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -22004,7 +22004,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x3_rc4::IfcAxis2Placement3D Position() const; @@ -22015,7 +22015,7 @@ public: ::Ifc4x3_rc4::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x3_rc4::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc4::IfcAxis2Placement3D v3_Position, ::Ifc4x3_rc4::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -22028,23 +22028,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -22061,10 +22061,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -22082,12 +22082,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -22104,13 +22104,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x3_rc4::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x3_rc4::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcProperty > v3_Properties, ::Ifc4x3_rc4::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -22119,7 +22119,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -22134,7 +22134,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// IfcPropertyDefinition defines the generalization of @@ -22190,12 +22190,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -22209,7 +22209,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x3_rc4::IfcProperty DependingProperty() const; @@ -22221,7 +22221,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcProperty v3_DependingProperty, ::Ifc4x3_rc4::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -22269,13 +22269,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -22306,20 +22306,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -22359,7 +22359,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -22368,7 +22368,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -22379,7 +22379,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -22388,7 +22388,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_rc4::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_rc4::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_rc4::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_rc4::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_rc4::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -22399,7 +22399,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -22420,7 +22420,7 @@ public: std::optional< double > BarCount() const; void setBarCount(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< double > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -22434,10 +22434,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -22449,7 +22449,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -22458,7 +22458,7 @@ public: ::Ifc4x3_rc4::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_rc4::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_rc4::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -22484,7 +22484,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x3_rc4::IfcConstraint RelatingConstraint() const; @@ -22493,7 +22493,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_rc4::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -22501,7 +22501,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -22549,7 +22549,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_rc4::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22592,13 +22592,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -22609,7 +22609,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x3_rc4::IfcSectionTypeEnum::Value SectionType() const; @@ -22621,7 +22621,7 @@ public: ::Ifc4x3_rc4::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x3_rc4::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_rc4::IfcProfileDef v2_StartProfile, ::Ifc4x3_rc4::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -22634,7 +22634,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -22655,7 +22655,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_rc4::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_rc4::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_rc4::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_rc4::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22714,7 +22714,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x3_rc4::IfcCompositeCurve SpineCurve() const; @@ -22726,20 +22726,20 @@ public: std::vector< ::Ifc4x3_rc4::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_rc4::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc4::IfcAxis2Placement3D > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSegment : public IfcGeometricRepresentationItem { public: IfcSegment() {} - explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3_rc4::IfcTransitionCode::Value Transition() const; void setTransition(const ::Ifc4x3_rc4::IfcTransitionCode::Value& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22757,12 +22757,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x3_rc4::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x3_rc4::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22771,10 +22771,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22789,7 +22789,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22801,7 +22801,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22812,10 +22812,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22826,7 +22826,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22847,7 +22847,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22858,7 +22858,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22870,7 +22870,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22881,7 +22881,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22902,7 +22902,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22911,13 +22911,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22929,7 +22929,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22950,7 +22950,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22964,13 +22964,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22986,13 +22986,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x3_rc4::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x3_rc4::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcVertex v1_EdgeStart, ::Ifc4x3_rc4::IfcVertex v2_EdgeEnd, ::Ifc4x3_rc4::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -23008,10 +23008,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -23062,7 +23062,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -23096,7 +23096,7 @@ public: ::Ifc4x3_rc4::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x3_rc4::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_rc4::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_rc4::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_rc4::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_rc4::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_rc4::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_rc4::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_rc4::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -23120,7 +23120,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x3_rc4::IfcProfileDef SweptArea() const; @@ -23129,7 +23129,7 @@ public: ::Ifc4x3_rc4::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -23188,7 +23188,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x3_rc4::IfcCurve Directrix() const; @@ -23210,7 +23210,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -23226,13 +23226,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -23243,7 +23243,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x3_rc4::IfcProfileDef SweptCurve() const; @@ -23252,7 +23252,7 @@ public: ::Ifc4x3_rc4::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -23286,7 +23286,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23316,17 +23316,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -23342,7 +23342,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -23355,7 +23355,7 @@ public: ::Ifc4x3_rc4::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x3_rc4::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_rc4::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc4::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -23370,7 +23370,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x3_rc4::IfcPlanarExtent Extent() const; @@ -23379,7 +23379,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_rc4::IfcAxis2Placement v2_Placement, ::Ifc4x3_rc4::IfcTextPath::Value v3_Path, ::Ifc4x3_rc4::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -23450,7 +23450,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -23471,7 +23471,7 @@ public: ::Ifc4x3_rc4::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x3_rc4::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_rc4::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -23515,7 +23515,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -23530,7 +23530,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -23567,7 +23567,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -23585,7 +23585,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -23619,7 +23619,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -23634,7 +23634,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23706,7 +23706,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > RepresentationMaps() const; @@ -23716,7 +23716,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23734,7 +23734,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23749,7 +23749,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23783,7 +23783,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23807,7 +23807,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23820,7 +23820,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x3_rc4::IfcDirection Orientation() const; @@ -23829,7 +23829,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23847,13 +23847,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x3_rc4::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x3_rc4::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcVertex v1_LoopVertex); }; /// Definition: The window style defines a particular style of windows, which may be included into the spatial context of the building model through instances of IfcWindow. A window style defines the overall parameter of the window style and refers to the particular parameter of the lining and one (or several) panels through IfcWindowLiningProperties and IfcWindowPanelProperties. @@ -23877,7 +23877,7 @@ public: class IFC_PARSE_API IfcWindowStyle : public IfcTypeProduct { public: IfcWindowStyle() {} - explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcWindowStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the basic construction and material type of the window. ::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value ConstructionType() const; @@ -23892,7 +23892,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcWindowStyleConstructionEnum::Value v9_ConstructionType, ::Ifc4x3_rc4::IfcWindowStyleOperationEnum::Value v10_OperationType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// IfcZShapeProfileDef defines @@ -23923,7 +23923,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23944,7 +23944,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23963,10 +23963,10 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcFaceBound > v1_Bounds, ::Ifc4x3_rc4::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -23992,7 +23992,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -24005,7 +24005,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc4::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_rc4::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_rc4::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -24048,7 +24048,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -24078,7 +24078,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -24093,13 +24093,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x3_rc4::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPoint v1_Location, ::Ifc4x3_rc4::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -24116,13 +24116,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x3_rc4::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPoint v1_Location, ::Ifc4x3_rc4::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -24141,7 +24141,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x3_rc4::IfcDirection Axis() const; @@ -24150,21 +24150,21 @@ public: ::Ifc4x3_rc4::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPoint v1_Location, ::Ifc4x3_rc4::IfcDirection v2_Axis, ::Ifc4x3_rc4::IfcDirection v3_RefDirection); }; class IFC_PARSE_API IfcAxis2PlacementLinear : public IfcPlacement { public: IfcAxis2PlacementLinear() {} - explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} ::Ifc4x3_rc4::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc4::IfcDirection& v); ::Ifc4x3_rc4::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPoint v1_Location, ::Ifc4x3_rc4::IfcDirection v2_Axis, ::Ifc4x3_rc4::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -24196,7 +24196,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x3_rc4::IfcBooleanOperator::Value Operator() const; @@ -24208,7 +24208,7 @@ public: ::Ifc4x3_rc4::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x3_rc4::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc4::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -24226,10 +24226,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -24257,7 +24257,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x3_rc4::IfcCartesianPoint Corner() const; @@ -24272,7 +24272,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -24308,13 +24308,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x3_rc4::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x3_rc4::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_rc4::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -24342,7 +24342,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -24360,7 +24360,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -24373,51 +24373,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -24453,7 +24453,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x3_rc4::IfcDirection Axis1() const; @@ -24468,7 +24468,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24479,10 +24479,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -24498,13 +24498,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24515,13 +24515,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x3_rc4::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc4::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -24538,7 +24538,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -24547,7 +24547,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcDirection v1_Axis1, ::Ifc4x3_rc4::IfcDirection v2_Axis2, ::Ifc4x3_rc4::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_rc4::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -24565,13 +24565,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -24626,10 +24626,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24643,7 +24643,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24661,7 +24661,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24672,7 +24672,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24682,7 +24682,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_rc4::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_UsageName, std::vector< ::Ifc4x3_rc4::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24695,7 +24695,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcSegment { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} /// An indicator of whether or not the sense of the segment agrees with, or opposes, that of the parent curve. If SameSense is false, the point with highest parameter value is taken as the first point of the segment. /// @@ -24706,7 +24706,7 @@ public: ::Ifc4x3_rc4::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_rc4::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc4::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24727,14 +24727,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > >& v); ::Ifc4x3_rc4::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_rc4::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24753,7 +24753,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24777,7 +24777,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc4::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24793,13 +24793,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24810,13 +24810,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x3_rc4::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24863,13 +24863,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x3_rc4::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x3_rc4::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24885,10 +24885,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24907,7 +24907,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x3_rc4::IfcPlane BasisSurface() const; @@ -24919,7 +24919,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x3_rc4::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPlane v1_BasisSurface, ::Ifc4x3_rc4::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_rc4::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24946,7 +24946,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x3_rc4::IfcSurface BasisSurface() const; @@ -24957,14 +24957,14 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_rc4::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; class IFC_PARSE_API IfcCurveSegment : public IfcSegment { public: IfcCurveSegment() {} - explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} ::Ifc4x3_rc4::IfcPlacement Placement() const; void setPlacement(const ::Ifc4x3_rc4::IfcPlacement& v); @@ -24975,7 +24975,7 @@ public: ::Ifc4x3_rc4::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_rc4::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_rc4::IfcPlacement v2_Placement, ::Ifc4x3_rc4::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_rc4::IfcCurve v5_ParentCurve); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -24988,20 +24988,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDirectrixCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixCurveSweptAreaSolid() {} - explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_rc4::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc4::IfcCurve& v); @@ -25010,7 +25010,7 @@ public: ::Ifc4x3_rc4::IfcCurveMeasureSelect EndParam() const; void setEndParam(const ::Ifc4x3_rc4::IfcCurveMeasureSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcCurve v3_Directrix, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc4::IfcCurveMeasureSelect v5_EndParam); }; /// Definition: The door style, IfcDoorStyle, defines a particular style of doors, which may be included into the spatial context of the building model through instances of IfcDoor. A door style defines the overall parameter of the door style and refers to the particular parameter of the lining and one (or several) panels through the IfcDoorLiningProperties and the IfcDoorPanelProperties. @@ -25042,7 +25042,7 @@ public: class IFC_PARSE_API IfcDoorStyle : public IfcTypeProduct { public: IfcDoorStyle() {} - explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcDoorStyle (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// Type defining the general layout and operation of the door style. ::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value OperationType() const; @@ -25057,7 +25057,7 @@ public: bool Sizeable() const; void setSizeable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcDoorStyleOperationEnum::Value v9_OperationType, ::Ifc4x3_rc4::IfcDoorStyleConstructionEnum::Value v10_ConstructionType, bool v11_ParameterTakesPrecedence, bool v12_Sizeable); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -25074,13 +25074,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x3_rc4::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_rc4::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -25163,7 +25163,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -25174,7 +25174,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -25202,13 +25202,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -25219,13 +25219,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x3_rc4::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -25247,7 +25247,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -25256,7 +25256,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -25268,7 +25268,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -25284,7 +25284,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc4::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -25358,7 +25358,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x3_rc4::IfcDirection ExtrudedDirection() const; @@ -25368,7 +25368,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -25472,13 +25472,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x3_rc4::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_rc4::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_rc4::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -25496,13 +25496,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x3_rc4::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x3_rc4::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -25555,7 +25555,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x3_rc4::IfcCurveStyle HatchLineAppearance() const; @@ -25581,7 +25581,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_rc4::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_rc4::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_rc4::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -25592,7 +25592,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x3_rc4::IfcVector > TilingPattern() const; @@ -25604,7 +25604,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_rc4::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25668,13 +25668,13 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The direction providing the fixed axis1 (x-axis) direction for orienting the swept area during the sweeping operation along the Directrix. ::Ifc4x3_rc4::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcCurve v3_Directrix, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc4::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc4::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -25708,10 +25708,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25754,7 +25754,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25762,7 +25762,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25829,13 +25829,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25848,10 +25848,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25920,7 +25920,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25942,32 +25942,32 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; /// IfcLShapeProfileDef @@ -26024,7 +26024,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -26045,7 +26045,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -26062,13 +26062,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -26087,7 +26087,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x3_rc4::IfcCartesianPoint Pnt() const; @@ -26096,7 +26096,7 @@ public: ::Ifc4x3_rc4::IfcVector Dir() const; void setDir(const ::Ifc4x3_rc4::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCartesianPoint v1_Pnt, ::Ifc4x3_rc4::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -26165,13 +26165,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x3_rc4::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x3_rc4::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -26259,7 +26259,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -26269,19 +26269,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc4::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_rc4::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -26298,7 +26298,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -26307,7 +26307,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -26328,7 +26328,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -26340,21 +26340,21 @@ public: ::Ifc4x3_rc4::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_rc4::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x3_rc4::IfcPointByDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x3_rc4::IfcPointByDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc4::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -26367,14 +26367,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc4::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x3_rc4::IfcSurface& v); ::Ifc4x3_rc4::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x3_rc4::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSurface v1_BasisSurface, ::Ifc4x3_rc4::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -26386,14 +26386,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x3_rc4::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x3_rc4::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_rc4::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -26435,17 +26435,17 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position); }; class IFC_PARSE_API IfcPolynomialCurve : public IfcCurve { public: IfcPolynomialCurve() {} - explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc4::IfcPlacement Position() const; void setPosition(const ::Ifc4x3_rc4::IfcPlacement& v); @@ -26456,7 +26456,7 @@ public: std::optional< std::vector< double > /*[2:?]*/ > CoefficientsZ() const; void setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -26467,10 +26467,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -26483,10 +26483,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -26512,10 +26512,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -26534,14 +26534,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -26587,7 +26587,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -26604,7 +26604,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26701,7 +26701,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x3_rc4::IfcObjectPlacement ObjectPlacement() const; @@ -26713,7 +26713,7 @@ public: std::vector< IfcRelPositions > PositionedRelativeTo() const; // INVERSE IfcRelPositions::RelatedProducts std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26763,10 +26763,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc4::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26796,10 +26796,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_rc4::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26909,7 +26909,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x3_rc4::IfcValue UpperBoundValue() const; @@ -26926,7 +26926,7 @@ public: ::Ifc4x3_rc4::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x3_rc4::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcValue v3_UpperBoundValue, ::Ifc4x3_rc4::IfcValue v4_LowerBoundValue, ::Ifc4x3_rc4::IfcUnit v5_Unit, ::Ifc4x3_rc4::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -27009,7 +27009,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -27020,7 +27020,7 @@ public: ::Ifc4x3_rc4::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x3_rc4::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v3_EnumerationValues, ::Ifc4x3_rc4::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -27091,7 +27091,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -27102,7 +27102,7 @@ public: ::Ifc4x3_rc4::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc4::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v3_ListValues, ::Ifc4x3_rc4::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -27123,7 +27123,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -27134,7 +27134,7 @@ public: ::Ifc4x3_rc4::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x3_rc4::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_UsageName, ::Ifc4x3_rc4::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -27193,13 +27193,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x3_rc4::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_rc4::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -27236,7 +27236,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -27259,7 +27259,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc4::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -27309,7 +27309,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -27322,7 +27322,7 @@ public: ::Ifc4x3_rc4::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_rc4::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_rc4::IfcValue v3_NominalValue, ::Ifc4x3_rc4::IfcUnit v4_Unit); }; /// A property with a range value @@ -27444,7 +27444,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -27471,7 +27471,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x3_rc4::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_rc4::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_rc4::IfcUnit v6_DefiningUnit, ::Ifc4x3_rc4::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_rc4::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -27501,12 +27501,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcProxy is intended to be a kind of a container for wrapping objects which are defined by associated properties, which may or may not have a geometric representation and placement in space. A proxy may have a semantic meaning, defined by the Name attribute, and property definitions, attached through the property assignment relationship, which definition may be outside of the definitions given by the current release of IFC. @@ -27528,7 +27528,7 @@ public: class IFC_PARSE_API IfcProxy : public IfcProduct { public: IfcProxy() {} - explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcProxy (const std::weak_ptr& data) : IfcProduct(data) {} /// High level (and only) semantic meaning attached to the IfcProxy, defining the basic construct type behind the Proxy, e.g. Product or Process. ::Ifc4x3_rc4::IfcObjectTypeEnum::Value ProxyType() const; @@ -27537,7 +27537,7 @@ public: std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcObjectTypeEnum::Value v8_ProxyType, std::optional< std::string > v9_Tag); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -27563,7 +27563,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -27575,7 +27575,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27669,7 +27669,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27681,7 +27681,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27702,7 +27702,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x3_rc4::IfcSurface BasisSurface() const; @@ -27726,7 +27726,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27758,7 +27758,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27767,7 +27767,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_rc4::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_rc4::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27784,7 +27784,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > RelatedObjects() const; @@ -27794,7 +27794,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -27809,7 +27809,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x3_rc4::IfcActor RelatingActor() const; @@ -27818,7 +27818,7 @@ public: ::Ifc4x3_rc4::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x3_rc4::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcActor v7_RelatingActor, ::Ifc4x3_rc4::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -27829,13 +27829,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x3_rc4::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x3_rc4::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27854,13 +27854,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x3_rc4::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x3_rc4::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27875,13 +27875,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27909,7 +27909,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27920,7 +27920,7 @@ public: ::Ifc4x3_rc4::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x3_rc4::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_rc4::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27934,7 +27934,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27942,7 +27942,7 @@ public: ::Ifc4x3_rc4::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x3_rc4::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -27954,7 +27954,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -27962,7 +27962,7 @@ public: ::Ifc4x3_rc4::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x3_rc4::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, std::optional< ::Ifc4x3_rc4::IfcObjectTypeEnum::Value > v6_RelatedObjectsType, ::Ifc4x3_rc4::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -28009,7 +28009,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -28017,7 +28017,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -28026,13 +28026,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x3_rc4::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_rc4::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -28068,13 +28068,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x3_rc4::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x3_rc4::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -28083,7 +28083,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -28092,7 +28092,7 @@ public: ::Ifc4x3_rc4::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x3_rc4::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_rc4::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -28105,13 +28105,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x3_rc4::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x3_rc4::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -28124,13 +28124,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x3_rc4::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x3_rc4::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -28230,25 +28230,25 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x3_rc4::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x3_rc4::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcMaterialSelect v6_RelatingMaterial); }; class IFC_PARSE_API IfcRelAssociatesProfileDef : public IfcRelAssociates { public: IfcRelAssociatesProfileDef() {} - explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc4x3_rc4::IfcProfileDef RelatingProfileDef() const; void setRelatingProfileDef(const ::Ifc4x3_rc4::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_rc4::IfcProfileDef v6_RelatingProfileDef); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -28257,10 +28257,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -28288,7 +28288,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x3_rc4::IfcConnectionGeometry ConnectionGeometry() const; @@ -28300,7 +28300,7 @@ public: ::Ifc4x3_rc4::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_rc4::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc4::IfcElement v6_RelatingElement, ::Ifc4x3_rc4::IfcElement v7_RelatedElement); }; /// The @@ -28336,7 +28336,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -28351,7 +28351,7 @@ public: ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc4::IfcElement v6_RelatingElement, ::Ifc4x3_rc4::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_rc4::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -28382,7 +28382,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x3_rc4::IfcPort RelatingPort() const; @@ -28393,7 +28393,7 @@ public: ::Ifc4x3_rc4::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_rc4::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcPort v5_RelatingPort, ::Ifc4x3_rc4::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -28412,7 +28412,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x3_rc4::IfcPort RelatingPort() const; @@ -28424,7 +28424,7 @@ public: ::Ifc4x3_rc4::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x3_rc4::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcPort v5_RelatingPort, ::Ifc4x3_rc4::IfcPort v6_RelatedPort, ::Ifc4x3_rc4::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -28433,7 +28433,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x3_rc4::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -28442,7 +28442,7 @@ public: ::Ifc4x3_rc4::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x3_rc4::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_rc4::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -28472,7 +28472,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x3_rc4::IfcStructuralMember RelatingStructuralMember() const; @@ -28493,7 +28493,7 @@ public: ::Ifc4x3_rc4::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc4::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc4::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc4::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc4::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -28516,13 +28516,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x3_rc4::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x3_rc4::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_rc4::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_rc4::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_rc4::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_rc4::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_rc4::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -28551,7 +28551,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x3_rc4::IfcElement > RealizingElements() const; @@ -28560,7 +28560,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_rc4::IfcElement v6_RelatingElement, ::Ifc4x3_rc4::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_rc4::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -28626,7 +28626,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -28637,7 +28637,7 @@ public: ::Ifc4x3_rc4::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_rc4::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcProduct > v5_RelatedElements, ::Ifc4x3_rc4::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -28659,7 +28659,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28670,7 +28670,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_rc4::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_rc4::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28702,7 +28702,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28713,7 +28713,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_rc4::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_rc4::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28730,7 +28730,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x3_rc4::IfcContext RelatingContext() const; @@ -28739,7 +28739,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_rc4::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28775,10 +28775,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -28811,10 +28811,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -28835,7 +28835,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x3_rc4::IfcObject > RelatedObjects() const; @@ -28844,7 +28844,7 @@ public: ::Ifc4x3_rc4::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x3_rc4::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc4::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28865,7 +28865,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > RelatedObjects() const; @@ -28874,7 +28874,7 @@ public: ::Ifc4x3_rc4::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x3_rc4::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_rc4::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28892,7 +28892,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28901,7 +28901,7 @@ public: ::Ifc4x3_rc4::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x3_rc4::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_rc4::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -28976,7 +28976,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x3_rc4::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc4::IfcObject >& v); @@ -28984,7 +28984,7 @@ public: ::Ifc4x3_rc4::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x3_rc4::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcObject > v5_RelatedObjects, ::Ifc4x3_rc4::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -28999,7 +28999,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x3_rc4::IfcOpeningElement RelatingOpeningElement() const; @@ -29010,7 +29010,7 @@ public: ::Ifc4x3_rc4::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x3_rc4::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -29023,7 +29023,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x3_rc4::IfcDistributionControlElement > RelatedControlElements() const; @@ -29032,7 +29032,7 @@ public: ::Ifc4x3_rc4::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x3_rc4::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_rc4::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -29085,7 +29085,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x3_rc4::IfcInterferenceSelect RelatingElement() const; @@ -29105,7 +29105,7 @@ public: boost::logic::tribool ImpliedOrder() const; void setImpliedOrder(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_rc4::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_InterferenceGeometry, ::Ifc4x3_rc4::IfcSpatialZone v8_InterferenceSpace, std::optional< std::string > v9_InterferenceType, boost::logic::tribool v10_ImpliedOrder); }; /// The nesting relationship @@ -29136,7 +29136,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -29149,21 +29149,21 @@ public: std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc4::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelPositions : public IfcRelConnects { public: IfcRelPositions() {} - explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc4x3_rc4::IfcPositioningElement RelatingPositioningElement() const; void setRelatingPositioningElement(const ::Ifc4x3_rc4::IfcPositioningElement& v); std::vector< ::Ifc4x3_rc4::IfcProduct > RelatedProducts() const; void setRelatedProducts(const std::vector< ::Ifc4x3_rc4::IfcProduct >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_rc4::IfcProduct > v6_RelatedProducts); }; /// The IfcRelProjectsElement is an objectified relationship @@ -29201,7 +29201,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x3_rc4::IfcElement RelatingElement() const; @@ -29210,7 +29210,7 @@ public: ::Ifc4x3_rc4::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x3_rc4::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcElement v5_RelatingElement, ::Ifc4x3_rc4::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -29265,7 +29265,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -29277,7 +29277,7 @@ public: ::Ifc4x3_rc4::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_rc4::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_rc4::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_rc4::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -29337,7 +29337,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x3_rc4::IfcProcess RelatingProcess() const; @@ -29365,7 +29365,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcProcess v5_RelatingProcess, ::Ifc4x3_rc4::IfcProcess v6_RelatedProcess, ::Ifc4x3_rc4::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_rc4::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -29392,7 +29392,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x3_rc4::IfcSystem RelatingSystem() const; @@ -29405,7 +29405,7 @@ public: std::vector< ::Ifc4x3_rc4::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x3_rc4::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_rc4::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -29573,7 +29573,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x3_rc4::IfcSpaceBoundarySelect RelatingSpace() const; @@ -29597,7 +29597,7 @@ public: ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -29650,14 +29650,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29695,14 +29695,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_rc4::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_rc4::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_rc4::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_rc4::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_rc4::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_rc4::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29715,14 +29715,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_rc4::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x3_rc4::IfcElement& v); ::Ifc4x3_rc4::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x3_rc4::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_rc4::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29751,12 +29751,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_rc4::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29775,7 +29775,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29790,7 +29790,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -29872,7 +29872,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x3_rc4::IfcAxis1Placement Axis() const; @@ -29881,7 +29881,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29945,12 +29945,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x3_rc4::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_rc4::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_rc4::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -30021,7 +30021,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -30030,7 +30030,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -30117,7 +30117,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -30126,42 +30126,42 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x3_rc4::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc4::IfcCurve& v); std::vector< ::Ifc4x3_rc4::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_rc4::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x3_rc4::IfcAxis2PlacementLinear > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_rc4::IfcAxis2PlacementLinear >& v); bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_rc4::IfcAxis2PlacementLinear > v3_CrossSectionPositions, bool v4_FixedAxisVertical); }; class IFC_PARSE_API IfcSectionedSurface : public IfcSurface { public: IfcSectionedSurface() {} - explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} ::Ifc4x3_rc4::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_rc4::IfcCurve& v); @@ -30172,7 +30172,7 @@ public: bool FixedAxisVertical() const; void setFixedAxisVertical(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_rc4::IfcPointByDistanceExpression > v2_CrossSectionPositions, std::vector< ::Ifc4x3_rc4::IfcProfileDef > v3_CrossSections, bool v4_FixedAxisVertical); }; /// The IfcSimplePropertyTemplate defines the template for @@ -30223,7 +30223,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -30273,7 +30273,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_rc4::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_rc4::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_rc4::IfcUnit v9_PrimaryUnit, ::Ifc4x3_rc4::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_rc4::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -30310,7 +30310,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -30321,7 +30321,7 @@ public: std::vector< IfcRelServicesBuildings > ServicedBySystems() const; // INVERSE IfcRelServicesBuildings::RelatedBuildings std::vector< IfcRelReferencedInSpatialStructure > ReferencesElements() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatingStructure - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -30358,13 +30358,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -30444,7 +30444,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -30453,7 +30453,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -30493,10 +30493,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -30551,13 +30551,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -30593,7 +30593,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -30601,7 +30601,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -30657,37 +30657,37 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSpiral : public IfcCurve { public: IfcSpiral() {} - explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc4::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30786,7 +30786,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -30814,7 +30814,7 @@ public: void setGlobalOrLocal(const ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -30907,11 +30907,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -30921,11 +30921,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30951,10 +30951,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -30980,7 +30980,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -30989,7 +30989,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -31013,10 +31013,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -31044,13 +31044,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -31067,20 +31067,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_rc4::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x3_rc4::IfcCurve& v); @@ -31089,7 +31089,7 @@ public: ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -31157,13 +31157,13 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The surface containing the Directrix. ::Ifc4x3_rc4::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x3_rc4::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcCurve v3_Directrix, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc4::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc4::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -31182,7 +31182,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x3_rc4::IfcDirection ExtrudedDirection() const; @@ -31191,7 +31191,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -31214,13 +31214,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x3_rc4::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x3_rc4::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptCurve, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -31256,12 +31256,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -31512,7 +31512,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -31554,7 +31554,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_rc4::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_rc4::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -31600,7 +31600,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -31610,28 +31610,28 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_rc4::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x3_rc4::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x3_rc4::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcThirdOrderPolynomialSpiral : public IfcSpiral { public: IfcThirdOrderPolynomialSpiral() {} - explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double CubicTerm() const; void setCubicTerm(const double& v); @@ -31642,21 +31642,21 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; /// Definition from IAI: The element type @@ -31725,20 +31725,20 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcElementType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc4::IfcTransportElementTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTransportElementTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTransportElementTypeSelect v10_PredefinedType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31749,19 +31749,19 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; /// The window lining is the outer @@ -31865,7 +31865,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -31912,7 +31912,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_rc4::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31963,7 +31963,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -31983,7 +31983,7 @@ public: ::Ifc4x3_rc4::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc4::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc4::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -32004,14 +32004,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x3_rc4::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x3_rc4::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -32050,10 +32050,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -32080,12 +32080,12 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x3_rc4::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_rc4::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc4::IfcClosedShell > v2_Voids); }; /// Definition from IAI: An annotation is a graphical @@ -32264,13 +32264,13 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::optional< ::Ifc4x3_rc4::IfcAnnotationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAnnotationTypeEnum::Value >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcAnnotationTypeEnum::Value > v8_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -32345,7 +32345,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -32369,7 +32369,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc4::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -32382,7 +32382,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -32400,7 +32400,7 @@ public: ::Ifc4x3_rc4::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_rc4::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -32503,7 +32503,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -32515,7 +32515,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -32528,10 +32528,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_rc4::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_rc4::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -32547,10 +32547,10 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The building storey has an @@ -32733,23 +32733,23 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; class IFC_PARSE_API IfcBuiltElementType : public IfcElementType { public: IfcBuiltElementType() {} - explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The IfcChimneyType @@ -32780,13 +32780,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuiltElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32810,35 +32810,35 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_rc4::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcClothoid : public IfcSpiral { public: IfcClothoid() {} - explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} double ClothoidConstant() const; void setClothoidConstant(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_ClothoidConstant); }; /// Definition from IAI: The element type @@ -32942,13 +32942,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuiltElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x3_rc4::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -32962,7 +32962,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -32972,7 +32972,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_rc4::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -33044,7 +33044,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x3_rc4::IfcSegment > Segments() const; @@ -33053,7 +33053,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -33070,10 +33070,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -33084,13 +33084,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x3_rc4::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_rc4::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -33109,13 +33109,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -33134,13 +33134,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -33159,13 +33159,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -33243,7 +33243,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x3_rc4::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x3_rc4::IfcResourceTime& v); @@ -33252,7 +33252,7 @@ public: ::Ifc4x3_rc4::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_rc4::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -33268,7 +33268,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -33278,21 +33278,21 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; class IFC_PARSE_API IfcCosine : public IfcSpiral { public: IfcCosine() {} - explicit IfcCosine (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcCosine (const std::weak_ptr& data) : IfcSpiral(data) {} double CosineTerm() const; void setCosineTerm(const double& v); std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -33334,7 +33334,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -33356,7 +33356,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_rc4::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_rc4::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -33385,7 +33385,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -33412,19 +33412,19 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; class IFC_PARSE_API IfcCourseType : public IfcBuiltElementType { public: IfcCourseType() {} - explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc4::IfcCourseTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCourseTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCourseTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -33509,13 +33509,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuiltElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -33531,14 +33531,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -33565,13 +33565,13 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuiltElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -33631,33 +33631,33 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcDeepFoundationType : public IfcBuiltElementType { public: IfcDeepFoundationType() {} - explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcDirectrixDerivedReferenceSweptAreaSolid : public IfcFixedReferenceSweptAreaSolid { public: IfcDirectrixDerivedReferenceSweptAreaSolid() {} - explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} + explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcProfileDef v1_SweptArea, ::Ifc4x3_rc4::IfcAxis2Placement3D v2_Position, ::Ifc4x3_rc4::IfcCurve v3_Directrix, ::Ifc4x3_rc4::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_rc4::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_rc4::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -33691,10 +33691,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33765,10 +33765,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33869,7 +33869,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -33917,7 +33917,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_rc4::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -33968,7 +33968,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -33988,7 +33988,7 @@ public: ::Ifc4x3_rc4::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc4::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_rc4::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_rc4::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_rc4::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -34122,7 +34122,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuiltElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x3_rc4::IfcDoorTypeEnum::Value PredefinedType() const; @@ -34135,7 +34135,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -34213,10 +34213,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -34235,10 +34235,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -34297,7 +34297,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -34315,7 +34315,7 @@ public: std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement std::vector< IfcRelAdheresToElement > HasSurfaceFeatures() const; // INVERSE IfcRelAdheresToElement::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -34415,7 +34415,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -34426,7 +34426,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -34454,13 +34454,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -34543,10 +34543,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -34561,10 +34561,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -34597,7 +34597,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -34606,7 +34606,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -34635,10 +34635,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -34670,12 +34670,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc4::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -34707,13 +34707,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34745,13 +34745,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34834,7 +34834,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34853,7 +34853,7 @@ public: ::Ifc4x3_rc4::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x3_rc4::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc4::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_rc4::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34864,10 +34864,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -34897,10 +34897,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -34930,37 +34930,37 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x3_rc4::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_rc4::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_rc4::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcFacility : public IfcSpatialStructureElement { public: IfcFacility() {} - explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType); }; class IFC_PARSE_API IfcFacilityPart : public IfcSpatialStructureElement { public: IfcFacilityPart() {} - explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} ::Ifc4x3_rc4::IfcFacilityPartTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcFacilityPartTypeSelect& v); ::Ifc4x3_rc4::IfcFacilityUsageEnum::Value UsageType() const; void setUsageType(const ::Ifc4x3_rc4::IfcFacilityUsageEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_rc4::IfcFacilityPartTypeSelect v10_PredefinedType, ::Ifc4x3_rc4::IfcFacilityUsageEnum::Value v11_UsageType); }; /// Definition from IAI: @@ -34974,13 +34974,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -35009,13 +35009,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -35115,10 +35115,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -35179,11 +35179,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -35239,11 +35239,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -35271,10 +35271,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -35303,10 +35303,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -35344,13 +35344,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -35378,10 +35378,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -35418,10 +35418,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -35434,10 +35434,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -35450,10 +35450,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -35467,10 +35467,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -35485,13 +35485,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuiltElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Subtype of footing. ::Ifc4x3_rc4::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -35601,10 +35601,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -35641,12 +35641,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35792,47 +35792,47 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalElement : public IfcElement { public: IfcGeotechnicalElement() {} - explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeotechnicalStratum : public IfcGeotechnicalElement { public: IfcGeotechnicalStratum() {} - explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGradientCurve : public IfcCompositeCurve { public: IfcGradientCurve() {} - explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_rc4::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_rc4::IfcBoundedCurve& v); ::Ifc4x3_rc4::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_rc4::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_rc4::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_rc4::IfcPlacement v4_EndPoint); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35868,11 +35868,11 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35907,13 +35907,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -35945,44 +35945,44 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDevice : public IfcElementComponent { public: IfcImpactProtectionDevice() {} - explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect v9_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDeviceType : public IfcElementComponentType { public: IfcImpactProtectionDeviceType() {} - explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcImpactProtectionDeviceTypeSelect v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_rc4::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x3_rc4::IfcCartesianPointList& v); @@ -35991,7 +35991,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_rc4::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -36030,22 +36030,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -36062,7 +36062,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -36087,7 +36087,7 @@ public: ::Ifc4x3_rc4::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x3_rc4::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc4::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_rc4::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_rc4::IfcCostValue v10_CurrentValue, ::Ifc4x3_rc4::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -36120,25 +36120,25 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcKerbType : public IfcBuiltElementType { public: IfcKerbType() {} - explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, bool v10_Mountable); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -36168,14 +36168,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -36210,13 +36210,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x3_rc4::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -36253,47 +36253,47 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLinearElement : public IfcProduct { public: IfcLinearElement() {} - explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminalType : public IfcFlowTerminalType { public: IfcLiquidTerminalType() {} - explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMarineFacility : public IfcFacility { public: IfcMarineFacility() {} - explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -36328,7 +36328,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -36338,7 +36338,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -36379,7 +36379,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -36391,7 +36391,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -36423,12 +36423,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -36535,37 +36535,37 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuiltElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x3_rc4::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMemberTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsApplianceType : public IfcFlowTerminalType { public: IfcMobileTelecommunicationsApplianceType() {} - explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMooringDeviceType : public IfcBuiltElementType { public: IfcMooringDeviceType() {} - explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -36598,25 +36598,25 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcNavigationElementType : public IfcBuiltElementType { public: IfcNavigationElementType() {} - explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -36629,7 +36629,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -36637,7 +36637,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_rc4::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -36845,7 +36845,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36854,7 +36854,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The standard opening, @@ -36953,10 +36953,10 @@ public: class IFC_PARSE_API IfcOpeningStandardCase : public IfcOpeningElement { public: IfcOpeningStandardCase() {} - explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} + explicit IfcOpeningStandardCase (const std::weak_ptr& data) : IfcOpeningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -36991,25 +36991,25 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x3_rc4::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcOutletTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPavementType : public IfcBuiltElementType { public: IfcPavementType() {} - explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc4::IfcPavementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcPavementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPavementTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -37020,7 +37020,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -37031,7 +37031,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_rc4::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -37068,7 +37068,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -37086,7 +37086,7 @@ public: ::Ifc4x3_rc4::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_rc4::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_rc4::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_rc4::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -37129,7 +37129,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -37147,7 +37147,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -37160,13 +37160,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcDeepFoundationType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} /// Subtype of pile. ::Ifc4x3_rc4::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -37201,13 +37201,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -37246,23 +37246,23 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPlant : public IfcGeographicElement { public: IfcPlant() {} - explicit IfcPlant (const std::weak_ptr& data) : IfcGeographicElement(data) {} + explicit IfcPlant (const std::weak_ptr& data) : IfcGeographicElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -37345,20 +37345,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuiltElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x3_rc4::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -37367,7 +37367,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_rc4::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -37387,13 +37387,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x3_rc4::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -37452,25 +37452,25 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelPositions > Positions() const; // INVERSE IfcRelPositions::RelatingPositioningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -37580,14 +37580,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_rc4::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -37636,7 +37636,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37658,7 +37658,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -37771,7 +37771,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37779,7 +37779,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -37820,13 +37820,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -37860,25 +37860,25 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x3_rc4::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcPumpTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailType : public IfcBuiltElementType { public: IfcRailType() {} - explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc4::IfcRailTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcRailTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRailTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -37904,25 +37904,25 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuiltElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x3_rc4::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRailingTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailway : public IfcFacility { public: IfcRailway() {} - explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc4::IfcRailwayTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRailwayTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcRailwayTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -37948,13 +37948,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuiltElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -37993,13 +37993,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuiltElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x3_rc4::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -38018,27 +38018,27 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x3_rc4::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReferentTypeEnum::Value >& v); std::optional< double > RestartDistance() const; void setRestartDistance(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcReferentTypeEnum::Value > v8_PredefinedType, std::optional< double > v9_RestartDistance); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -38052,12 +38052,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -38066,10 +38066,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -38099,7 +38099,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -38121,7 +38121,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -38138,7 +38138,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -38172,21 +38172,21 @@ public: std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > v20_BendingParameters); }; class IFC_PARSE_API IfcRelAdheresToElement : public IfcRelDecomposes { public: IfcRelAdheresToElement() {} - explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_rc4::IfcElement RelatingElement() const; void setRelatingElement(const ::Ifc4x3_rc4::IfcElement& v); std::vector< ::Ifc4x3_rc4::IfcSurfaceFeature > RelatedSurfaceFeatures() const; void setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3_rc4::IfcSurfaceFeature >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3_rc4::IfcSurfaceFeature > v6_RelatedSurfaceFeatures); }; /// The aggregation relationship @@ -38214,7 +38214,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -38227,19 +38227,19 @@ public: std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_rc4::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_rc4::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_rc4::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRoad : public IfcFacility { public: IfcRoad() {} - explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc4::IfcRoadTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRoadTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcRoadTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38277,13 +38277,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuiltElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x3_rc4::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -38326,30 +38326,30 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_rc4::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_rc4::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; class IFC_PARSE_API IfcSecondOrderPolynomialSpiral : public IfcSpiral { public: IfcSecondOrderPolynomialSpiral() {} - explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double QuadraticTerm() const; void setQuadraticTerm(const double& v); @@ -38358,28 +38358,28 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; class IFC_PARSE_API IfcSegmentedReferenceCurve : public IfcCompositeCurve { public: IfcSegmentedReferenceCurve() {} - explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_rc4::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_rc4::IfcBoundedCurve& v); ::Ifc4x3_rc4::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_rc4::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_rc4::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_rc4::IfcPlacement v4_EndPoint); }; class IFC_PARSE_API IfcSeventhOrderPolynomialSpiral : public IfcSpiral { public: IfcSeventhOrderPolynomialSpiral() {} - explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double SepticTerm() const; void setSepticTerm(const double& v); @@ -38398,7 +38398,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm); }; /// Definition from IAI: The IfcShadingDeviceType @@ -38425,56 +38425,56 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuiltElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSign : public IfcElementComponent { public: IfcSign() {} - explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc4::IfcSignTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSignTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSignTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignType : public IfcElementComponentType { public: IfcSignType() {} - explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_rc4::IfcSignTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcSignTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSignTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSignalType : public IfcFlowTerminalType { public: IfcSignalType() {} - explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc4::IfcSignalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcSignalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSignalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSine : public IfcSpiral { public: IfcSine() {} - explicit IfcSine (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSine (const std::weak_ptr& data) : IfcSpiral(data) {} double SineTerm() const; void setSineTerm(const double& v); @@ -38483,7 +38483,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -38678,7 +38678,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -38699,7 +38699,7 @@ public: ::Ifc4x3_rc4::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x3_rc4::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_rc4::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -38782,13 +38782,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuiltElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x3_rc4::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -38820,22 +38820,22 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSolidStratum : public IfcGeotechnicalStratum { public: IfcSolidStratum() {} - explicit IfcSolidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcSolidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A space represents an area or volume @@ -39091,7 +39091,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -39106,7 +39106,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -39142,13 +39142,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -39235,7 +39235,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -39243,7 +39243,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -39275,13 +39275,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -39307,13 +39307,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuiltElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -39352,13 +39352,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuiltElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x3_rc4::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -39383,13 +39383,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -39398,14 +39398,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x3_rc4::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x3_rc4::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -39467,7 +39467,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39476,7 +39476,7 @@ public: ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -39499,7 +39499,7 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Direction which is used in the definition of the local z axis. Axis is specified relative to the so-called global coordinate system, i.e. the SELF\IfcProduct.ObjectPlacement. /// @@ -39507,7 +39507,7 @@ public: ::Ifc4x3_rc4::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc4::IfcDirection v9_Axis); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -39550,7 +39550,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -39561,7 +39561,7 @@ public: ::Ifc4x3_rc4::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_rc4::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc4::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -39587,10 +39587,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_rc4::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -39646,13 +39646,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -39665,10 +39665,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -39707,7 +39707,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -39727,7 +39727,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -39778,10 +39778,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -39800,13 +39800,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x3_rc4::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_rc4::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_rc4::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -39855,10 +39855,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -39868,7 +39868,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -39881,7 +39881,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_rc4::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -39939,7 +39939,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39948,7 +39948,7 @@ public: ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -39966,10 +39966,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -39999,14 +39999,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -40044,14 +40044,14 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value >& v); std::vector< IfcRelAdheresToElement > AdheresToElement() const; // INVERSE IfcRelAdheresToElement::RelatedSurfaceFeatures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -40097,13 +40097,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -40126,12 +40126,12 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem std::vector< IfcRelReferencedInSpatialStructure > ServicesFacilities() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -40161,12 +40161,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -40204,20 +40204,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x3_rc4::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_rc4::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTendonTypeEnum::Value >& v); @@ -40236,62 +40236,62 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc4::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduit : public IfcReinforcingElement { public: IfcTendonConduit() {} - explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduitType : public IfcReinforcingElementType { public: IfcTendonConduitType() {} - explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_rc4::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTendonTypeEnum::Value& v); @@ -40302,19 +40302,19 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; class IFC_PARSE_API IfcTrackElementType : public IfcBuiltElementType { public: IfcTrackElementType() {} - explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -40347,13 +40347,13 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all transport @@ -40475,7 +40475,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcElement { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -40483,7 +40483,7 @@ public: ::Ifc4x3_rc4::IfcTransportElementTypeSelect PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTransportElementTypeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, ::Ifc4x3_rc4::IfcTransportElementTypeSelect v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: @@ -40567,7 +40567,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x3_rc4::IfcCurve BasisCurve() const; @@ -40585,7 +40585,7 @@ public: ::Ifc4x3_rc4::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_rc4::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_rc4::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_rc4::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_rc4::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -40620,13 +40620,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -40660,13 +40660,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -40710,37 +40710,37 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x3_rc4::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcValveTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamper : public IfcElementComponent { public: IfcVibrationDamper() {} - explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamperType : public IfcElementComponentType { public: IfcVibrationDamperType() {} - explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_rc4::IfcVibrationDamperTypeEnum::Value > v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -40780,12 +40780,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -40813,13 +40813,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -40911,20 +40911,20 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcVoidStratum : public IfcGeotechnicalStratum { public: IfcVoidStratum() {} - explicit IfcVoidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcVoidStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -40962,13 +40962,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -41058,13 +41058,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuiltElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x3_rc4::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -41106,23 +41106,23 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcWaterStratum : public IfcGeotechnicalStratum { public: IfcWaterStratum() {} - explicit IfcWaterStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} + explicit IfcWaterStratum (const std::weak_ptr& data) : IfcGeotechnicalStratum(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The element type @@ -41249,7 +41249,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuiltElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x3_rc4::IfcWindowTypeEnum::Value PredefinedType() const; @@ -41262,7 +41262,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -41281,7 +41281,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -41300,7 +41300,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_rc4::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_rc4::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_rc4::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -41350,7 +41350,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -41374,7 +41374,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -41405,14 +41405,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc4::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -41458,14 +41458,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_rc4::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_rc4::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -41556,7 +41556,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -41566,7 +41566,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -41610,7 +41610,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -41632,7 +41632,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_rc4::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -41664,13 +41664,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -41702,12 +41702,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -41739,57 +41739,57 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentCant : public IfcLinearElement { public: IfcAlignmentCant() {} - explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} double RailHeadDistance() const; void setRailHeadDistance(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance); }; class IFC_PARSE_API IfcAlignmentHorizontal : public IfcLinearElement { public: IfcAlignmentHorizontal() {} - explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcAlignmentSegment : public IfcLinearElement { public: IfcAlignmentSegment() {} - explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} ::Ifc4x3_rc4::IfcAlignmentParameterSegment DesignParameters() const; void setDesignParameters(const ::Ifc4x3_rc4::IfcAlignmentParameterSegment& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcAlignmentParameterSegment v8_DesignParameters); }; class IFC_PARSE_API IfcAlignmentVertical : public IfcLinearElement { public: IfcAlignmentVertical() {} - explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -41819,7 +41819,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -41854,7 +41854,7 @@ public: ::Ifc4x3_rc4::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x3_rc4::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_rc4::IfcCostValue v7_OriginalValue, ::Ifc4x3_rc4::IfcCostValue v8_CurrentValue, ::Ifc4x3_rc4::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_rc4::IfcActorSelect v10_Owner, ::Ifc4x3_rc4::IfcActorSelect v11_User, ::Ifc4x3_rc4::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_rc4::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -41902,13 +41902,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -41963,7 +41963,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -41981,7 +41981,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc4::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -42004,7 +42004,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -42016,7 +42016,7 @@ public: ::Ifc4x3_rc4::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_rc4::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -42120,25 +42120,25 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuiltElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x3_rc4::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBearingType : public IfcBuiltElementType { public: IfcBearingType() {} - explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_rc4::IfcBearingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcBearingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBearingTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -42173,13 +42173,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -42192,22 +42192,22 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; class IFC_PARSE_API IfcBridge : public IfcFacility { public: IfcBridge() {} - explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_rc4::IfcBridgeTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBridgeTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_rc4::IfcBridgeTypeEnum::Value > v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -42387,7 +42387,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcFacility { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -42399,7 +42399,7 @@ public: ::Ifc4x3_rc4::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x3_rc4::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_rc4::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: Layers or major components as subordinate @@ -42422,13 +42422,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -42438,13 +42438,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: @@ -42484,13 +42484,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuiltElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -42532,7 +42532,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -42540,31 +42540,31 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc4::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; class IFC_PARSE_API IfcBuiltElement : public IfcElement { public: IfcBuiltElement() {} - explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcBuiltSystem : public IfcSystem { public: IfcBuiltSystem() {} - explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} std::optional< ::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value >& v); std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_rc4::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42597,12 +42597,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42634,13 +42634,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42678,13 +42678,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42718,13 +42718,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42771,25 +42771,25 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundationType : public IfcDeepFoundationType { public: IfcCaissonFoundationType() {} - explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -42827,13 +42827,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x3_rc4::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42880,14 +42880,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuiltElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42920,23 +42920,23 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_rc4::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -42969,13 +42969,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x3_rc4::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -43252,7 +43252,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuiltElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -43261,7 +43261,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The standard column, @@ -43512,10 +43512,10 @@ public: class IFC_PARSE_API IfcColumnStandardCase : public IfcColumn { public: IfcColumnStandardCase() {} - explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} + explicit IfcColumnStandardCase (const std::weak_ptr& data) : IfcColumn(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -43553,13 +43553,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -43592,13 +43592,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -43631,13 +43631,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -43665,14 +43665,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -43704,14 +43704,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -43732,26 +43732,26 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_rc4::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_rc4::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_rc4::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_rc4::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegmentType : public IfcFlowSegmentType { public: IfcConveyorSegmentType() {} - explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -43786,13 +43786,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -43831,25 +43831,25 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCourse : public IfcBuiltElement { public: IfcCourse() {} - explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc4::IfcCourseTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCourseTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCourseTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -44079,7 +44079,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuiltElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -44087,7 +44087,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -44231,7 +44231,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuiltElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -44240,7 +44240,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -44280,23 +44280,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x3_rc4::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDeepFoundation : public IfcBuiltElement { public: IfcDeepFoundation() {} - explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Representation of different kinds of @@ -44475,13 +44475,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -44675,25 +44675,25 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoardType : public IfcFlowControllerType { public: IfcDistributionBoardType() {} - explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -44736,13 +44736,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -44802,10 +44802,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -44973,11 +44973,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -45051,11 +45051,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -45143,7 +45143,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x3_rc4::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -45154,7 +45154,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_rc4::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -45200,7 +45200,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -45211,7 +45211,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -45573,7 +45573,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuiltElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -45601,7 +45601,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The standard door, @@ -45711,10 +45711,10 @@ public: class IFC_PARSE_API IfcDoorStandardCase : public IfcDoor { public: IfcDoorStandardCase() {} - explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} + explicit IfcDoorStandardCase (const std::weak_ptr& data) : IfcDoor(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -45749,13 +45749,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -45790,13 +45790,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -45828,47 +45828,47 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcEarthworksCut : public IfcFeatureElementSubtraction { public: IfcEarthworksCut() {} - explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::optional< ::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcEarthworksElement : public IfcBuiltElement { public: IfcEarthworksElement() {} - explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcEarthworksFill : public IfcEarthworksElement { public: IfcEarthworksFill() {} - explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -45903,13 +45903,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -45942,13 +45942,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -45981,25 +45981,25 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDeviceType : public IfcFlowTreatmentDeviceType { public: IfcElectricFlowTreatmentDeviceType() {} - explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -46037,13 +46037,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -46076,13 +46076,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -46115,13 +46115,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -46136,10 +46136,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -46186,12 +46186,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -46241,12 +46241,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -46316,12 +46316,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -46342,14 +46342,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_rc4::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -46383,13 +46383,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x3_rc4::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -46424,13 +46424,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x3_rc4::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -46469,13 +46469,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -46490,10 +46490,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -46504,10 +46504,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -46543,13 +46543,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -46635,12 +46635,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -46651,10 +46651,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -46683,10 +46683,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -46701,10 +46701,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -46721,10 +46721,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -46735,10 +46735,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -46766,7 +46766,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuiltElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// The generic type of the footing. /// @@ -46774,17 +46774,17 @@ public: std::optional< ::Ifc4x3_rc4::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFootingTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalAssembly : public IfcGeotechnicalElement { public: IfcGeotechnicalAssembly() {} - explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// IfcGrid ia a planar design @@ -46886,7 +46886,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x3_rc4::IfcGridAxis > UAxes() const; @@ -46900,7 +46900,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_rc4::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_rc4::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_rc4::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_rc4::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -46956,12 +46956,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -47010,12 +47010,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -47078,12 +47078,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -47155,24 +47155,24 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcKerb : public IfcBuiltElement { public: IfcKerb() {} - explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} bool Mountable() const; void setMountable(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, bool v9_Mountable); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -47225,12 +47225,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -47302,34 +47302,34 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminal : public IfcFlowTerminal { public: IfcLiquidTerminal() {} - explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -47379,12 +47379,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -47640,7 +47640,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuiltElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -47649,7 +47649,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value > v9_PredefinedType); }; /// The standard member, @@ -47894,34 +47894,34 @@ public: class IFC_PARSE_API IfcMemberStandardCase : public IfcMember { public: IfcMemberStandardCase() {} - explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} + explicit IfcMemberStandardCase (const std::weak_ptr& data) : IfcMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMemberTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsAppliance : public IfcFlowTerminal { public: IfcMobileTelecommunicationsAppliance() {} - explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMooringDevice : public IfcBuiltElement { public: IfcMooringDevice() {} - explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -47968,24 +47968,24 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcNavigationElement : public IfcBuiltElement { public: IfcNavigationElement() {} - explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcNavigationElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -47996,10 +47996,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_rc4::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -48071,24 +48071,24 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcOutletTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcPavement : public IfcBuiltElement { public: IfcPavement() {} - explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc4::IfcPavementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPavementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPavementTypeEnum::Value > v9_PredefinedType); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -48112,7 +48112,7 @@ public: class IFC_PARSE_API IfcPile : public IfcDeepFoundation { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} /// The predefined generic type of the pile according to function. /// @@ -48125,7 +48125,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x3_rc4::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -48216,12 +48216,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -48287,12 +48287,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -48526,7 +48526,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuiltElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -48535,7 +48535,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// The standard plate, @@ -48694,10 +48694,10 @@ public: class IFC_PARSE_API IfcPlateStandardCase : public IfcPlate { public: IfcPlateStandardCase() {} - explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} + explicit IfcPlateStandardCase (const std::weak_ptr& data) : IfcPlate(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -48779,12 +48779,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -48830,13 +48830,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -48891,24 +48891,24 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcPumpTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcRail : public IfcBuiltElement { public: IfcRail() {} - explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc4::IfcRailTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRailTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRailTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -49046,7 +49046,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuiltElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -49054,7 +49054,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -49193,7 +49193,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuiltElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -49203,7 +49203,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -49397,7 +49397,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuiltElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -49406,7 +49406,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -49448,25 +49448,25 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_rc4::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_rc4::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_rc4::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_PARSE_API IfcReinforcedSoil : public IfcEarthworksElement { public: IfcReinforcedSoil() {} - explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -49500,7 +49500,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -49514,7 +49514,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -49536,7 +49536,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -49558,7 +49558,7 @@ public: std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_rc4::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_rc4::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -49709,7 +49709,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuiltElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -49717,7 +49717,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -49849,12 +49849,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -49908,13 +49908,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x3_rc4::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -49934,26 +49934,26 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuiltElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignal : public IfcFlowTerminal { public: IfcSignal() {} - explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcSignalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSignalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSignalTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -50219,7 +50219,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuiltElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -50228,7 +50228,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The IfcSlabElementedCase @@ -50317,10 +50317,10 @@ public: class IFC_PARSE_API IfcSlabElementedCase : public IfcSlab { public: IfcSlabElementedCase() {} - explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabElementedCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// The standard slab, @@ -50485,10 +50485,10 @@ public: class IFC_PARSE_API IfcSlabStandardCase : public IfcSlab { public: IfcSlabStandardCase() {} - explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} + explicit IfcSlabStandardCase (const std::weak_ptr& data) : IfcSlab(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -50541,12 +50541,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -50614,12 +50614,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -50675,12 +50675,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -50851,7 +50851,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuiltElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -50859,7 +50859,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -51032,7 +51032,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuiltElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -51058,7 +51058,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_rc4::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -51087,7 +51087,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -51118,7 +51118,7 @@ public: ::Ifc4x3_rc4::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x3_rc4::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc4::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_rc4::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_rc4::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_rc4::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -51127,7 +51127,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -51137,7 +51137,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_rc4::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_rc4::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -51150,10 +51150,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, ::Ifc4x3_rc4::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_rc4::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_rc4::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_rc4::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -51247,12 +51247,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -51318,24 +51318,24 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTankTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcTrackElement : public IfcBuiltElement { public: IfcTrackElement() {} - explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTrackElementTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -51383,12 +51383,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -51441,12 +51441,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -51478,13 +51478,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -51562,12 +51562,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -51759,12 +51759,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc4::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -52012,7 +52012,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuiltElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -52021,7 +52021,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallElementedCase @@ -52125,10 +52125,10 @@ public: class IFC_PARSE_API IfcWallElementedCase : public IfcWall { public: IfcWallElementedCase() {} - explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallElementedCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -52336,10 +52336,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -52449,12 +52449,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -52818,7 +52818,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuiltElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -52846,7 +52846,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The standard window, @@ -52966,10 +52966,10 @@ public: class IFC_PARSE_API IfcWindowStandardCase : public IfcWindow { public: IfcWindowStandardCase() {} - explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} + explicit IfcWindowStandardCase (const std::weak_ptr& data) : IfcWindow(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_rc4::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_rc4::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -53006,13 +53006,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -53075,12 +53075,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -53128,12 +53128,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -53184,12 +53184,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -53221,25 +53221,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x3_rc4::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_rc4::IfcAlignmentTypeEnum::Value > v8_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -53423,12 +53423,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -53671,7 +53671,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuiltElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -53680,7 +53680,7 @@ public: std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value > v9_PredefinedType); }; /// The standard beam, @@ -53937,22 +53937,22 @@ public: class IFC_PARSE_API IfcBeamStandardCase : public IfcBeam { public: IfcBeamStandardCase() {} - explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} + explicit IfcBeamStandardCase (const std::weak_ptr& data) : IfcBeam(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBeamTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBearing : public IfcBuiltElement { public: IfcBearing() {} - explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc4::IfcBearingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBearingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBearingTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -54027,22 +54027,22 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBorehole : public IfcGeotechnicalAssembly { public: IfcBorehole() {} - explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -54238,12 +54238,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuiltElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -54290,12 +54290,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -54362,13 +54362,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -54433,13 +54433,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -54519,13 +54519,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -54618,25 +54618,25 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundation : public IfcDeepFoundation { public: IfcCaissonFoundation() {} - explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} std::optional< ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -54711,12 +54711,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -54788,12 +54788,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -54901,12 +54901,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -54958,12 +54958,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -55035,12 +55035,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -55082,25 +55082,25 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x3_rc4::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_rc4::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_rc4::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_rc4::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_rc4::IfcControllerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegment : public IfcFlowSegment { public: IfcConveyorSegment() {} - explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -55155,12 +55155,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -55223,12 +55223,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -55305,24 +55305,24 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc4::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoard : public IfcFlowController { public: IfcDistributionBoard() {} - explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -55359,22 +55359,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_rc4::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -55458,11 +55458,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -55543,12 +55543,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -55603,12 +55603,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -55656,12 +55656,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -55765,12 +55765,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -55833,12 +55833,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -55885,24 +55885,24 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDevice : public IfcFlowTreatmentDevice { public: IfcElectricFlowTreatmentDevice() {} - explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -55955,12 +55955,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -56007,12 +56007,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -56059,12 +56059,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -56124,12 +56124,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -56222,12 +56222,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_rc4::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -56299,12 +56299,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -56362,32 +56362,32 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeomodel : public IfcGeotechnicalAssembly { public: IfcGeomodel() {} - explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeoslice : public IfcGeotechnicalAssembly { public: IfcGeoslice() {} - explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Entity Definition @@ -56445,12 +56445,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -56590,12 +56590,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc4::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -56656,12 +56656,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -56729,12 +56729,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -56782,12 +56782,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -56899,12 +56899,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_rc4::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_rc4::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_rc4::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_rc4::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_rc4::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_rc4::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/schemas/Ifc4x3_tc1-schema.cpp b/src/ifcparse/schemas/Ifc4x3_tc1-schema.cpp index 0bf53cb251..ac284a6e9f 100644 --- a/src/ifcparse/schemas/Ifc4x3_tc1-schema.cpp +++ b/src/ifcparse/schemas/Ifc4x3_tc1-schema.cpp @@ -24,15 +24,15 @@ * * ********************************************************************************/ -#include "../../ifcparse/IfcSchema.h" +#include "../../ifcparse/schema.h" #include "../../ifcparse/schemas/Ifc4x3_tc1.h" #include using namespace std::string_literals; -using namespace IfcParse; +using namespace ifcopenshell; declaration* IFC4X3_TC1_types[1307] = {nullptr}; -IfcParse::schema_definition* IFC4X3_TC1_populate_schema() { +ifcopenshell::schema_definition* IFC4X3_TC1_populate_schema() { const std::string strings[] = {"IfcAbsorbedDoseMeasure"s,"IfcAccelerationMeasure"s,"IfcActionRequestTypeEnum"s,"EMAIL"s,"FAX"s,"PHONE"s,"POST"s,"VERBAL"s,"USERDEFINED"s,"NOTDEFINED"s,"IfcActionSourceTypeEnum"s,"BRAKES"s,"BUOYANCY"s,"COMPLETION_G1"s,"CREEP"s,"CURRENT"s,"DEAD_LOAD_G"s,"EARTHQUAKE_E"s,"ERECTION"s,"FIRE"s,"ICE"s,"IMPACT"s,"IMPULSE"s,"LACK_OF_FIT"s,"LIVE_LOAD_Q"s,"PRESTRESSING_P"s,"PROPPING"s,"RAIN"s,"SETTLEMENT_U"s,"SHRINKAGE"s,"SNOW_S"s,"SYSTEM_IMPERFECTION"s,"TEMPERATURE_T"s,"TRANSPORT"s,"WAVE"s,"WIND_W"s,"IfcActionTypeEnum"s,"EXTRAORDINARY_A"s,"PERMANENT_G"s,"VARIABLE_Q"s,"IfcActuatorTypeEnum"s,"ELECTRICACTUATOR"s,"HANDOPERATEDACTUATOR"s,"HYDRAULICACTUATOR"s,"PNEUMATICACTUATOR"s,"THERMOSTATICACTUATOR"s,"IfcAddressTypeEnum"s,"DISTRIBUTIONPOINT"s,"HOME"s,"OFFICE"s,"SITE"s,"IfcAirTerminalBoxTypeEnum"s,"CONSTANTFLOW"s,"VARIABLEFLOWPRESSUREDEPENDANT"s,"VARIABLEFLOWPRESSUREINDEPENDANT"s,"IfcAirTerminalTypeEnum"s,"DIFFUSER"s,"GRILLE"s,"LOUVRE"s,"REGISTER"s,"IfcAirToAirHeatRecoveryTypeEnum"s,"FIXEDPLATECOUNTERFLOWEXCHANGER"s,"FIXEDPLATECROSSFLOWEXCHANGER"s,"FIXEDPLATEPARALLELFLOWEXCHANGER"s,"HEATPIPE"s,"ROTARYWHEEL"s,"RUNAROUNDCOILLOOP"s,"THERMOSIPHONCOILTYPEHEATEXCHANGERS"s,"THERMOSIPHONSEALEDTUBEHEATEXCHANGERS"s,"TWINTOWERENTHALPYRECOVERYLOOPS"s,"IfcAlarmTypeEnum"s,"BELL"s,"BREAKGLASSBUTTON"s,"LIGHT"s,"MANUALPULLBOX"s,"RAILWAYCROCODILE"s,"RAILWAYDETONATOR"s,"SIREN"s,"WHISTLE"s,"IfcAlignmentCantSegmentTypeEnum"s,"BLOSSCURVE"s,"CONSTANTCANT"s,"COSINECURVE"s,"HELMERTCURVE"s,"LINEARTRANSITION"s,"SINECURVE"s,"VIENNESEBEND"s,"IfcAlignmentHorizontalSegmentTypeEnum"s,"CIRCULARARC"s,"CLOTHOID"s,"CUBIC"s,"LINE"s,"IfcAlignmentTypeEnum"s,"IfcAlignmentVerticalSegmentTypeEnum"s,"CONSTANTGRADIENT"s,"PARABOLICARC"s,"IfcAmountOfSubstanceMeasure"s,"IfcAnalysisModelTypeEnum"s,"IN_PLANE_LOADING_2D"s,"LOADING_3D"s,"OUT_PLANE_LOADING_2D"s,"IfcAnalysisTheoryTypeEnum"s,"FIRST_ORDER_THEORY"s,"FULL_NONLINEAR_THEORY"s,"SECOND_ORDER_THEORY"s,"THIRD_ORDER_THEORY"s,"IfcAngularVelocityMeasure"s,"IfcAnnotationTypeEnum"s,"ASBUILTAREA"s,"ASBUILTLINE"s,"ASBUILTPOINT"s,"ASSUMEDAREA"s,"ASSUMEDLINE"s,"ASSUMEDPOINT"s,"NON_PHYSICAL_SIGNAL"s,"SUPERELEVATIONEVENT"s,"WIDTHEVENT"s,"IfcAreaDensityMeasure"s,"IfcAreaMeasure"s,"IfcArithmeticOperatorEnum"s,"ADD"s,"DIVIDE"s,"MULTIPLY"s,"SUBTRACT"s,"IfcAssemblyPlaceEnum"s,"FACTORY"s,"IfcAudioVisualApplianceTypeEnum"s,"AMPLIFIER"s,"CAMERA"s,"COMMUNICATIONTERMINAL"s,"DISPLAY"s,"MICROPHONE"s,"PLAYER"s,"PROJECTOR"s,"RECEIVER"s,"RECORDINGEQUIPMENT"s,"SPEAKER"s,"SWITCHER"s,"TELEPHONE"s,"TUNER"s,"IfcBSplineCurveForm"s,"CIRCULAR_ARC"s,"ELLIPTIC_ARC"s,"HYPERBOLIC_ARC"s,"PARABOLIC_ARC"s,"POLYLINE_FORM"s,"UNSPECIFIED"s,"IfcBSplineSurfaceForm"s,"CONICAL_SURF"s,"CYLINDRICAL_SURF"s,"GENERALISED_CONE"s,"PLANE_SURF"s,"QUADRIC_SURF"s,"RULED_SURF"s,"SPHERICAL_SURF"s,"SURF_OF_LINEAR_EXTRUSION"s,"SURF_OF_REVOLUTION"s,"TOROIDAL_SURF"s,"IfcBeamTypeEnum"s,"BEAM"s,"CORNICE"s,"DIAPHRAGM"s,"EDGEBEAM"s,"GIRDER_SEGMENT"s,"HATSTONE"s,"HOLLOWCORE"s,"JOIST"s,"LINTEL"s,"PIERCAP"s,"SPANDREL"s,"T_BEAM"s,"IfcBearingTypeEnum"s,"CYLINDRICAL"s,"DISK"s,"ELASTOMERIC"s,"GUIDE"s,"POT"s,"ROCKER"s,"ROLLER"s,"SPHERICAL"s,"IfcBenchmarkEnum"s,"EQUALTO"s,"GREATERTHAN"s,"GREATERTHANOREQUALTO"s,"INCLUDEDIN"s,"INCLUDES"s,"LESSTHAN"s,"LESSTHANOREQUALTO"s,"NOTEQUALTO"s,"NOTINCLUDEDIN"s,"NOTINCLUDES"s,"IfcBinary"s,"IfcBoilerTypeEnum"s,"STEAM"s,"WATER"s,"IfcBoolean"s,"IfcBooleanOperator"s,"DIFFERENCE"s,"INTERSECTION"s,"UNION"s,"IfcBridgePartTypeEnum"s,"ABUTMENT"s,"DECK"s,"DECK_SEGMENT"s,"FOUNDATION"s,"PIER"s,"PIER_SEGMENT"s,"PYLON"s,"SUBSTRUCTURE"s,"SUPERSTRUCTURE"s,"SURFACESTRUCTURE"s,"IfcBridgeTypeEnum"s,"ARCHED"s,"CABLE_STAYED"s,"CANTILEVER"s,"CULVERT"s,"FRAMEWORK"s,"GIRDER"s,"SUSPENSION"s,"TRUSS"s,"IfcBuildingElementPartTypeEnum"s,"APRON"s,"ARMOURUNIT"s,"INSULATION"s,"PRECASTPANEL"s,"SAFETYCAGE"s,"IfcBuildingElementProxyTypeEnum"s,"COMPLEX"s,"ELEMENT"s,"PARTIAL"s,"PROVISIONFORSPACE"s,"PROVISIONFORVOID"s,"IfcBuildingSystemTypeEnum"s,"FENESTRATION"s,"LOADBEARING"s,"OUTERSHELL"s,"SHADING"s,"IfcBuiltSystemTypeEnum"s,"EROSIONPREVENTION"s,"MOORING"s,"PRESTRESSING"s,"RAILWAYLINE"s,"RAILWAYTRACK"s,"REINFORCING"s,"TRACKCIRCUIT"s,"IfcBurnerTypeEnum"s,"IfcCableCarrierFittingTypeEnum"s,"BEND"s,"CONNECTOR"s,"CROSS"s,"JUNCTION"s,"REDUCER"s,"TEE"s,"TRANSITION"s,"IfcCableCarrierSegmentTypeEnum"s,"CABLEBRACKET"s,"CABLELADDERSEGMENT"s,"CABLETRAYSEGMENT"s,"CABLETRUNKINGSEGMENT"s,"CATENARYWIRE"s,"CONDUITSEGMENT"s,"DROPPER"s,"IfcCableFittingTypeEnum"s,"ENTRY"s,"EXIT"s,"FANOUT"s,"IfcCableSegmentTypeEnum"s,"BUSBARSEGMENT"s,"CABLESEGMENT"s,"CONDUCTORSEGMENT"s,"CONTACTWIRESEGMENT"s,"CORESEGMENT"s,"FIBERSEGMENT"s,"FIBERTUBE"s,"OPTICALCABLESEGMENT"s,"STITCHWIRE"s,"WIREPAIRSEGMENT"s,"IfcCaissonFoundationTypeEnum"s,"CAISSON"s,"WELL"s,"IfcCardinalPointReference"s,"IfcChangeActionEnum"s,"ADDED"s,"DELETED"s,"MODIFIED"s,"NOCHANGE"s,"IfcChillerTypeEnum"s,"AIRCOOLED"s,"HEATRECOVERY"s,"WATERCOOLED"s,"IfcChimneyTypeEnum"s,"IfcCoilTypeEnum"s,"DXCOOLINGCOIL"s,"ELECTRICHEATINGCOIL"s,"GASHEATINGCOIL"s,"HYDRONICCOIL"s,"STEAMHEATINGCOIL"s,"WATERCOOLINGCOIL"s,"WATERHEATINGCOIL"s,"IfcColumnTypeEnum"s,"COLUMN"s,"PIERSTEM"s,"PIERSTEM_SEGMENT"s,"PILASTER"s,"STANDCOLUMN"s,"IfcCommunicationsApplianceTypeEnum"s,"ANTENNA"s,"AUTOMATON"s,"COMPUTER"s,"GATEWAY"s,"INTELLIGENTPERIPHERAL"s,"IPNETWORKEQUIPMENT"s,"LINESIDEELECTRONICUNIT"s,"MODEM"s,"NETWORKAPPLIANCE"s,"NETWORKBRIDGE"s,"NETWORKHUB"s,"OPTICALLINETERMINAL"s,"OPTICALNETWORKUNIT"s,"PRINTER"s,"RADIOBLOCKCENTER"s,"REPEATER"s,"ROUTER"s,"SCANNER"s,"TELECOMMAND"s,"TELEPHONYEXCHANGE"s,"TRANSITIONCOMPONENT"s,"TRANSPONDER"s,"TRANSPORTEQUIPMENT"s,"IfcComplexNumber"s,"IfcComplexPropertyTemplateTypeEnum"s,"P_COMPLEX"s,"Q_COMPLEX"s,"IfcCompoundPlaneAngleMeasure"s,"IfcCompressorTypeEnum"s,"BOOSTER"s,"DYNAMIC"s,"HERMETIC"s,"OPENTYPE"s,"RECIPROCATING"s,"ROLLINGPISTON"s,"ROTARY"s,"ROTARYVANE"s,"SCROLL"s,"SEMIHERMETIC"s,"SINGLESCREW"s,"SINGLESTAGE"s,"TROCHOIDAL"s,"TWINSCREW"s,"WELDEDSHELLHERMETIC"s,"IfcCondenserTypeEnum"s,"EVAPORATIVECOOLED"s,"WATERCOOLEDBRAZEDPLATE"s,"WATERCOOLEDSHELLCOIL"s,"WATERCOOLEDSHELLTUBE"s,"WATERCOOLEDTUBEINTUBE"s,"IfcConnectionTypeEnum"s,"ATEND"s,"ATPATH"s,"ATSTART"s,"IfcConstraintEnum"s,"ADVISORY"s,"HARD"s,"SOFT"s,"IfcConstructionEquipmentResourceTypeEnum"s,"DEMOLISHING"s,"EARTHMOVING"s,"ERECTING"s,"HEATING"s,"LIGHTING"s,"PAVING"s,"PUMPING"s,"TRANSPORTING"s,"IfcConstructionMaterialResourceTypeEnum"s,"AGGREGATES"s,"CONCRETE"s,"DRYWALL"s,"FUEL"s,"GYPSUM"s,"MASONRY"s,"METAL"s,"PLASTIC"s,"WOOD"s,"IfcConstructionProductResourceTypeEnum"s,"ASSEMBLY"s,"FORMWORK"s,"IfcContextDependentMeasure"s,"IfcControllerTypeEnum"s,"FLOATING"s,"MULTIPOSITION"s,"PROGRAMMABLE"s,"PROPORTIONAL"s,"TWOPOSITION"s,"IfcConveyorSegmentTypeEnum"s,"BELTCONVEYOR"s,"BUCKETCONVEYOR"s,"CHUTECONVEYOR"s,"SCREWCONVEYOR"s,"IfcCooledBeamTypeEnum"s,"ACTIVE"s,"PASSIVE"s,"IfcCoolingTowerTypeEnum"s,"MECHANICALFORCEDDRAFT"s,"MECHANICALINDUCEDDRAFT"s,"NATURALDRAFT"s,"IfcCostItemTypeEnum"s,"IfcCostScheduleTypeEnum"s,"BUDGET"s,"COSTPLAN"s,"ESTIMATE"s,"PRICEDBILLOFQUANTITIES"s,"SCHEDULEOFRATES"s,"TENDER"s,"UNPRICEDBILLOFQUANTITIES"s,"IfcCountMeasure"s,"IfcCourseTypeEnum"s,"ARMOUR"s,"BALLASTBED"s,"CORE"s,"FILTER"s,"PAVEMENT"s,"PROTECTION"s,"IfcCoveringTypeEnum"s,"CEILING"s,"CLADDING"s,"COPING"s,"FLOORING"s,"MEMBRANE"s,"MOLDING"s,"ROOFING"s,"SKIRTINGBOARD"s,"SLEEVING"s,"TOPPING"s,"WRAPPING"s,"IfcCrewResourceTypeEnum"s,"IfcCurtainWallTypeEnum"s,"IfcCurvatureMeasure"s,"IfcCurveInterpolationEnum"s,"LINEAR"s,"LOG_LINEAR"s,"LOG_LOG"s,"IfcDamperTypeEnum"s,"BACKDRAFTDAMPER"s,"BALANCINGDAMPER"s,"BLASTDAMPER"s,"CONTROLDAMPER"s,"FIREDAMPER"s,"FIRESMOKEDAMPER"s,"FUMEHOODEXHAUST"s,"GRAVITYDAMPER"s,"GRAVITYRELIEFDAMPER"s,"RELIEFDAMPER"s,"SMOKEDAMPER"s,"IfcDataOriginEnum"s,"MEASURED"s,"PREDICTED"s,"SIMULATED"s,"IfcDate"s,"IfcDateTime"s,"IfcDayInMonthNumber"s,"IfcDayInWeekNumber"s,"IfcDerivedUnitEnum"s,"ACCELERATIONUNIT"s,"ANGULARVELOCITYUNIT"s,"AREADENSITYUNIT"s,"COMPOUNDPLANEANGLEUNIT"s,"CURVATUREUNIT"s,"DYNAMICVISCOSITYUNIT"s,"HEATFLUXDENSITYUNIT"s,"HEATINGVALUEUNIT"s,"INTEGERCOUNTRATEUNIT"s,"IONCONCENTRATIONUNIT"s,"ISOTHERMALMOISTURECAPACITYUNIT"s,"KINEMATICVISCOSITYUNIT"s,"LINEARFORCEUNIT"s,"LINEARMOMENTUNIT"s,"LINEARSTIFFNESSUNIT"s,"LINEARVELOCITYUNIT"s,"LUMINOUSINTENSITYDISTRIBUTIONUNIT"s,"MASSDENSITYUNIT"s,"MASSFLOWRATEUNIT"s,"MASSPERLENGTHUNIT"s,"MODULUSOFELASTICITYUNIT"s,"MODULUSOFLINEARSUBGRADEREACTIONUNIT"s,"MODULUSOFROTATIONALSUBGRADEREACTIONUNIT"s,"MODULUSOFSUBGRADEREACTIONUNIT"s,"MOISTUREDIFFUSIVITYUNIT"s,"MOLECULARWEIGHTUNIT"s,"MOMENTOFINERTIAUNIT"s,"PHUNIT"s,"PLANARFORCEUNIT"s,"ROTATIONALFREQUENCYUNIT"s,"ROTATIONALMASSUNIT"s,"ROTATIONALSTIFFNESSUNIT"s,"SECTIONAREAINTEGRALUNIT"s,"SECTIONMODULUSUNIT"s,"SHEARMODULUSUNIT"s,"SOUNDPOWERLEVELUNIT"s,"SOUNDPOWERUNIT"s,"SOUNDPRESSURELEVELUNIT"s,"SOUNDPRESSUREUNIT"s,"SPECIFICHEATCAPACITYUNIT"s,"TEMPERATUREGRADIENTUNIT"s,"TEMPERATURERATEOFCHANGEUNIT"s,"THERMALADMITTANCEUNIT"s,"THERMALCONDUCTANCEUNIT"s,"THERMALEXPANSIONCOEFFICIENTUNIT"s,"THERMALRESISTANCEUNIT"s,"THERMALTRANSMITTANCEUNIT"s,"TORQUEUNIT"s,"VAPORPERMEABILITYUNIT"s,"VOLUMETRICFLOWRATEUNIT"s,"WARPINGCONSTANTUNIT"s,"WARPINGMOMENTUNIT"s,"IfcDescriptiveMeasure"s,"IfcDimensionCount"s,"IfcDirectionSenseEnum"s,"NEGATIVE"s,"POSITIVE"s,"IfcDiscreteAccessoryTypeEnum"s,"ANCHORPLATE"s,"BIRDPROTECTION"s,"BRACKET"s,"CABLEARRANGER"s,"ELASTIC_CUSHION"s,"EXPANSION_JOINT_DEVICE"s,"FILLER"s,"FLASHING"s,"INSULATOR"s,"LOCK"s,"PANEL_STRENGTHENING"s,"POINTMACHINEMOUNTINGDEVICE"s,"POINT_MACHINE_LOCKING_DEVICE"s,"RAILBRACE"s,"RAILPAD"s,"RAIL_LUBRICATION"s,"RAIL_MECHANICAL_EQUIPMENT"s,"SHOE"s,"SLIDINGCHAIR"s,"SOUNDABSORPTION"s,"TENSIONINGEQUIPMENT"s,"IfcDistributionBoardTypeEnum"s,"CONSUMERUNIT"s,"DISPATCHINGBOARD"s,"DISTRIBUTIONBOARD"s,"DISTRIBUTIONFRAME"s,"MOTORCONTROLCENTRE"s,"SWITCHBOARD"s,"IfcDistributionChamberElementTypeEnum"s,"FORMEDDUCT"s,"INSPECTIONCHAMBER"s,"INSPECTIONPIT"s,"MANHOLE"s,"METERCHAMBER"s,"SUMP"s,"TRENCH"s,"VALVECHAMBER"s,"IfcDistributionPortTypeEnum"s,"CABLE"s,"CABLECARRIER"s,"DUCT"s,"PIPE"s,"WIRELESS"s,"IfcDistributionSystemEnum"s,"AIRCONDITIONING"s,"AUDIOVISUAL"s,"CATENARY_SYSTEM"s,"CHEMICAL"s,"CHILLEDWATER"s,"COMMUNICATION"s,"COMPRESSEDAIR"s,"CONDENSERWATER"s,"CONTROL"s,"CONVEYING"s,"DATA"s,"DISPOSAL"s,"DOMESTICCOLDWATER"s,"DOMESTICHOTWATER"s,"DRAINAGE"s,"EARTHING"s,"ELECTRICAL"s,"ELECTROACOUSTIC"s,"EXHAUST"s,"FIREPROTECTION"s,"FIXEDTRANSMISSIONNETWORK"s,"GAS"s,"HAZARDOUS"s,"LIGHTNINGPROTECTION"s,"MOBILENETWORK"s,"MONITORINGSYSTEM"s,"MUNICIPALSOLIDWASTE"s,"OIL"s,"OPERATIONAL"s,"OPERATIONALTELEPHONYSYSTEM"s,"OVERHEAD_CONTACTLINE_SYSTEM"s,"POWERGENERATION"s,"RAINWATER"s,"REFRIGERATION"s,"RETURN_CIRCUIT"s,"SECURITY"s,"SEWAGE"s,"SIGNAL"s,"STORMWATER"s,"TV"s,"VACUUM"s,"VENT"s,"VENTILATION"s,"WASTEWATER"s,"WATERSUPPLY"s,"IfcDocumentConfidentialityEnum"s,"CONFIDENTIAL"s,"PERSONAL"s,"PUBLIC"s,"RESTRICTED"s,"IfcDocumentStatusEnum"s,"DRAFT"s,"FINAL"s,"FINALDRAFT"s,"REVISION"s,"IfcDoorPanelOperationEnum"s,"DOUBLE_ACTING"s,"FIXEDPANEL"s,"FOLDING"s,"REVOLVING"s,"ROLLINGUP"s,"SLIDING"s,"SWINGING"s,"IfcDoorPanelPositionEnum"s,"LEFT"s,"MIDDLE"s,"RIGHT"s,"IfcDoorTypeEnum"s,"BOOM_BARRIER"s,"DOOR"s,"GATE"s,"TRAPDOOR"s,"TURNSTILE"s,"IfcDoorTypeOperationEnum"s,"DOUBLE_DOOR_DOUBLE_SWING"s,"DOUBLE_DOOR_FOLDING"s,"DOUBLE_DOOR_LIFTING_VERTICAL"s,"DOUBLE_DOOR_SINGLE_SWING"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT"s,"DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT"s,"DOUBLE_DOOR_SLIDING"s,"DOUBLE_SWING_LEFT"s,"DOUBLE_SWING_RIGHT"s,"FOLDING_TO_LEFT"s,"FOLDING_TO_RIGHT"s,"LIFTING_HORIZONTAL"s,"LIFTING_VERTICAL_LEFT"s,"LIFTING_VERTICAL_RIGHT"s,"REVOLVING_VERTICAL"s,"SINGLE_SWING_LEFT"s,"SINGLE_SWING_RIGHT"s,"SLIDING_TO_LEFT"s,"SLIDING_TO_RIGHT"s,"SWING_FIXED_LEFT"s,"SWING_FIXED_RIGHT"s,"IfcDoseEquivalentMeasure"s,"IfcDuctFittingTypeEnum"s,"OBSTRUCTION"s,"IfcDuctSegmentTypeEnum"s,"FLEXIBLESEGMENT"s,"RIGIDSEGMENT"s,"IfcDuctSilencerTypeEnum"s,"FLATOVAL"s,"RECTANGULAR"s,"ROUND"s,"IfcDuration"s,"IfcDynamicViscosityMeasure"s,"IfcEarthworksCutTypeEnum"s,"BASE_EXCAVATION"s,"CUT"s,"DREDGING"s,"EXCAVATION"s,"OVEREXCAVATION"s,"PAVEMENTMILLING"s,"STEPEXCAVATION"s,"TOPSOILREMOVAL"s,"IfcEarthworksFillTypeEnum"s,"BACKFILL"s,"COUNTERWEIGHT"s,"EMBANKMENT"s,"SLOPEFILL"s,"SUBGRADE"s,"SUBGRADEBED"s,"TRANSITIONSECTION"s,"IfcElectricApplianceTypeEnum"s,"DISHWASHER"s,"ELECTRICCOOKER"s,"FREESTANDINGELECTRICHEATER"s,"FREESTANDINGFAN"s,"FREESTANDINGWATERCOOLER"s,"FREESTANDINGWATERHEATER"s,"FREEZER"s,"FRIDGE_FREEZER"s,"HANDDRYER"s,"KITCHENMACHINE"s,"MICROWAVE"s,"PHOTOCOPIER"s,"REFRIGERATOR"s,"TUMBLEDRYER"s,"VENDINGMACHINE"s,"WASHINGMACHINE"s,"IfcElectricCapacitanceMeasure"s,"IfcElectricChargeMeasure"s,"IfcElectricConductanceMeasure"s,"IfcElectricCurrentMeasure"s,"IfcElectricDistributionBoardTypeEnum"s,"IfcElectricFlowStorageDeviceTypeEnum"s,"BATTERY"s,"CAPACITOR"s,"CAPACITORBANK"s,"COMPENSATOR"s,"HARMONICFILTER"s,"INDUCTOR"s,"INDUCTORBANK"s,"RECHARGER"s,"UPS"s,"IfcElectricFlowTreatmentDeviceTypeEnum"s,"ELECTRONICFILTER"s,"IfcElectricGeneratorTypeEnum"s,"CHP"s,"ENGINEGENERATOR"s,"STANDALONE"s,"IfcElectricMotorTypeEnum"s,"DC"s,"INDUCTION"s,"POLYPHASE"s,"RELUCTANCESYNCHRONOUS"s,"SYNCHRONOUS"s,"IfcElectricResistanceMeasure"s,"IfcElectricTimeControlTypeEnum"s,"RELAY"s,"TIMECLOCK"s,"TIMEDELAY"s,"IfcElectricVoltageMeasure"s,"IfcElementAssemblyTypeEnum"s,"ACCESSORY_ASSEMBLY"s,"ARCH"s,"BEAM_GRID"s,"BRACED_FRAME"s,"CROSS_BRACING"s,"DILATATIONPANEL"s,"ENTRANCEWORKS"s,"GRID"s,"MAST"s,"RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY"s,"REINFORCEMENT_UNIT"s,"RIGID_FRAME"s,"SHELTER"s,"SIGNALASSEMBLY"s,"SLAB_FIELD"s,"SUMPBUSTER"s,"SUPPORTINGASSEMBLY"s,"SUSPENSIONASSEMBLY"s,"TRACKPANEL"s,"TRACTION_SWITCHING_ASSEMBLY"s,"TRAFFIC_CALMING_DEVICE"s,"TURNOUTPANEL"s,"IfcElementCompositionEnum"s,"IfcEnergyMeasure"s,"IfcEngineTypeEnum"s,"EXTERNALCOMBUSTION"s,"INTERNALCOMBUSTION"s,"IfcEvaporativeCoolerTypeEnum"s,"DIRECTEVAPORATIVEAIRWASHER"s,"DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER"s,"DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER"s,"DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER"s,"INDIRECTDIRECTCOMBINATION"s,"INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER"s,"INDIRECTEVAPORATIVEPACKAGEAIRCOOLER"s,"INDIRECTEVAPORATIVEWETCOIL"s,"IfcEvaporatorTypeEnum"s,"DIRECTEXPANSION"s,"DIRECTEXPANSIONBRAZEDPLATE"s,"DIRECTEXPANSIONSHELLANDTUBE"s,"DIRECTEXPANSIONTUBEINTUBE"s,"FLOODEDSHELLANDTUBE"s,"SHELLANDCOIL"s,"IfcEventTriggerTypeEnum"s,"EVENTCOMPLEX"s,"EVENTMESSAGE"s,"EVENTRULE"s,"EVENTTIME"s,"IfcEventTypeEnum"s,"ENDEVENT"s,"INTERMEDIATEEVENT"s,"STARTEVENT"s,"IfcExternalSpatialElementTypeEnum"s,"EXTERNAL"s,"EXTERNAL_EARTH"s,"EXTERNAL_FIRE"s,"EXTERNAL_WATER"s,"IfcFacilityPartCommonTypeEnum"s,"ABOVEGROUND"s,"BELOWGROUND"s,"LEVELCROSSING"s,"SEGMENT"s,"TERMINAL"s,"IfcFacilityUsageEnum"s,"LATERAL"s,"LONGITUDINAL"s,"REGION"s,"VERTICAL"s,"IfcFanTypeEnum"s,"CENTRIFUGALAIRFOIL"s,"CENTRIFUGALBACKWARDINCLINEDCURVED"s,"CENTRIFUGALFORWARDCURVED"s,"CENTRIFUGALRADIAL"s,"PROPELLORAXIAL"s,"TUBEAXIAL"s,"VANEAXIAL"s,"IfcFastenerTypeEnum"s,"GLUE"s,"MORTAR"s,"WELD"s,"IfcFilterTypeEnum"s,"AIRPARTICLEFILTER"s,"COMPRESSEDAIRFILTER"s,"ODORFILTER"s,"OILFILTER"s,"STRAINER"s,"WATERFILTER"s,"IfcFireSuppressionTerminalTypeEnum"s,"BREECHINGINLET"s,"FIREHYDRANT"s,"FIREMONITOR"s,"HOSEREEL"s,"SPRINKLER"s,"SPRINKLERDEFLECTOR"s,"IfcFlowDirectionEnum"s,"SINK"s,"SOURCE"s,"SOURCEANDSINK"s,"IfcFlowInstrumentTypeEnum"s,"AMMETER"s,"COMBINED"s,"FREQUENCYMETER"s,"PHASEANGLEMETER"s,"POWERFACTORMETER"s,"PRESSUREGAUGE"s,"THERMOMETER"s,"VOLTMETER"s,"VOLTMETER_PEAK"s,"VOLTMETER_RMS"s,"IfcFlowMeterTypeEnum"s,"ENERGYMETER"s,"GASMETER"s,"OILMETER"s,"WATERMETER"s,"IfcFontStyle"s,"IfcFontVariant"s,"IfcFontWeight"s,"IfcFootingTypeEnum"s,"CAISSON_FOUNDATION"s,"FOOTING_BEAM"s,"PAD_FOOTING"s,"PILE_CAP"s,"STRIP_FOOTING"s,"IfcForceMeasure"s,"IfcFrequencyMeasure"s,"IfcFurnitureTypeEnum"s,"BED"s,"CHAIR"s,"DESK"s,"FILECABINET"s,"SHELF"s,"SOFA"s,"TABLE"s,"TECHNICALCABINET"s,"IfcGeographicElementTypeEnum"s,"SOIL_BORING_POINT"s,"TERRAIN"s,"VEGETATION"s,"IfcGeometricProjectionEnum"s,"ELEVATION_VIEW"s,"GRAPH_VIEW"s,"MODEL_VIEW"s,"PLAN_VIEW"s,"REFLECTED_PLAN_VIEW"s,"SECTION_VIEW"s,"SKETCH_VIEW"s,"IfcGeotechnicalStratumTypeEnum"s,"SOLID"s,"VOID"s,"IfcGlobalOrLocalEnum"s,"GLOBAL_COORDS"s,"LOCAL_COORDS"s,"IfcGloballyUniqueId"s,"IfcGridTypeEnum"s,"IRREGULAR"s,"RADIAL"s,"TRIANGULAR"s,"IfcHeatExchangerTypeEnum"s,"PLATE"s,"SHELLANDTUBE"s,"TURNOUTHEATING"s,"IfcHeatFluxDensityMeasure"s,"IfcHeatingValueMeasure"s,"IfcHumidifierTypeEnum"s,"ADIABATICAIRWASHER"s,"ADIABATICATOMIZING"s,"ADIABATICCOMPRESSEDAIRNOZZLE"s,"ADIABATICPAN"s,"ADIABATICRIGIDMEDIA"s,"ADIABATICULTRASONIC"s,"ADIABATICWETTEDELEMENT"s,"ASSISTEDBUTANE"s,"ASSISTEDELECTRIC"s,"ASSISTEDNATURALGAS"s,"ASSISTEDPROPANE"s,"ASSISTEDSTEAM"s,"STEAMINJECTION"s,"IfcIdentifier"s,"IfcIlluminanceMeasure"s,"IfcImpactProtectionDeviceTypeEnum"s,"BUMPER"s,"CRASHCUSHION"s,"DAMPINGSYSTEM"s,"FENDER"s,"IfcInductanceMeasure"s,"IfcInteger"s,"IfcIntegerCountRateMeasure"s,"IfcInterceptorTypeEnum"s,"CYCLONIC"s,"GREASE"s,"PETROL"s,"IfcInternalOrExternalEnum"s,"INTERNAL"s,"IfcInventoryTypeEnum"s,"ASSETINVENTORY"s,"FURNITUREINVENTORY"s,"SPACEINVENTORY"s,"IfcIonConcentrationMeasure"s,"IfcIsothermalMoistureCapacityMeasure"s,"IfcJunctionBoxTypeEnum"s,"POWER"s,"IfcKerbTypeEnum"s,"IfcKinematicViscosityMeasure"s,"IfcKnotType"s,"PIECEWISE_BEZIER_KNOTS"s,"QUASI_UNIFORM_KNOTS"s,"UNIFORM_KNOTS"s,"IfcLabel"s,"IfcLaborResourceTypeEnum"s,"ADMINISTRATION"s,"CARPENTRY"s,"CLEANING"s,"ELECTRIC"s,"FINISHING"s,"GENERAL"s,"HVAC"s,"LANDSCAPING"s,"PAINTING"s,"PLUMBING"s,"SITEGRADING"s,"STEELWORK"s,"SURVEYING"s,"IfcLampTypeEnum"s,"COMPACTFLUORESCENT"s,"FLUORESCENT"s,"HALOGEN"s,"HIGHPRESSUREMERCURY"s,"HIGHPRESSURESODIUM"s,"LED"s,"METALHALIDE"s,"OLED"s,"TUNGSTENFILAMENT"s,"IfcLanguageId"s,"IfcLayerSetDirectionEnum"s,"AXIS1"s,"AXIS2"s,"AXIS3"s,"IfcLengthMeasure"s,"IfcLightDistributionCurveEnum"s,"TYPE_A"s,"TYPE_B"s,"TYPE_C"s,"IfcLightEmissionSourceEnum"s,"LIGHTEMITTINGDIODE"s,"LOWPRESSURESODIUM"s,"LOWVOLTAGEHALOGEN"s,"MAINVOLTAGEHALOGEN"s,"IfcLightFixtureTypeEnum"s,"DIRECTIONSOURCE"s,"POINTSOURCE"s,"SECURITYLIGHTING"s,"IfcLinearForceMeasure"s,"IfcLinearMomentMeasure"s,"IfcLinearStiffnessMeasure"s,"IfcLinearVelocityMeasure"s,"IfcLiquidTerminalTypeEnum"s,"LOADINGARM"s,"IfcLoadGroupTypeEnum"s,"LOAD_CASE"s,"LOAD_COMBINATION"s,"LOAD_GROUP"s,"IfcLogical"s,"IfcLogicalOperatorEnum"s,"LOGICALAND"s,"LOGICALNOTAND"s,"LOGICALNOTOR"s,"LOGICALOR"s,"LOGICALXOR"s,"IfcLuminousFluxMeasure"s,"IfcLuminousIntensityDistributionMeasure"s,"IfcLuminousIntensityMeasure"s,"IfcMagneticFluxDensityMeasure"s,"IfcMagneticFluxMeasure"s,"IfcMarineFacilityTypeEnum"s,"BARRIERBEACH"s,"BREAKWATER"s,"CANAL"s,"DRYDOCK"s,"FLOATINGDOCK"s,"HYDROLIFT"s,"JETTY"s,"LAUNCHRECOVERY"s,"MARINEDEFENCE"s,"NAVIGATIONALCHANNEL"s,"PORT"s,"QUAY"s,"REVETMENT"s,"SHIPLIFT"s,"SHIPLOCK"s,"SHIPYARD"s,"SLIPWAY"s,"WATERWAY"s,"WATERWAYSHIPLIFT"s,"IfcMarinePartTypeEnum"s,"ABOVEWATERLINE"s,"ANCHORAGE"s,"APPROACHCHANNEL"s,"BELOWWATERLINE"s,"BERTHINGSTRUCTURE"s,"CHAMBER"s,"CILL_LEVEL"s,"COPELEVEL"s,"CREST"s,"GATEHEAD"s,"GUDINGSTRUCTURE"s,"HIGHWATERLINE"s,"LANDFIELD"s,"LEEWARDSIDE"s,"LOWWATERLINE"s,"MANUFACTURING"s,"NAVIGATIONALAREA"s,"SHIPTRANSFER"s,"STORAGEAREA"s,"VEHICLESERVICING"s,"WATERFIELD"s,"WEATHERSIDE"s,"IfcMassDensityMeasure"s,"IfcMassFlowRateMeasure"s,"IfcMassMeasure"s,"IfcMassPerLengthMeasure"s,"IfcMechanicalFastenerTypeEnum"s,"ANCHORBOLT"s,"BOLT"s,"CHAIN"s,"COUPLER"s,"DOWEL"s,"NAIL"s,"NAILPLATE"s,"RAILFASTENING"s,"RAILJOINT"s,"RIVET"s,"ROPE"s,"SCREW"s,"SHEARCONNECTOR"s,"STAPLE"s,"STUDSHEARCONNECTOR"s,"IfcMedicalDeviceTypeEnum"s,"AIRSTATION"s,"FEEDAIRUNIT"s,"OXYGENGENERATOR"s,"OXYGENPLANT"s,"VACUUMSTATION"s,"IfcMemberTypeEnum"s,"ARCH_SEGMENT"s,"BRACE"s,"CHORD"s,"COLLAR"s,"MEMBER"s,"MULLION"s,"PURLIN"s,"RAFTER"s,"STAY_CABLE"s,"STIFFENING_RIB"s,"STRINGER"s,"STRUCTURALCABLE"s,"STRUT"s,"STUD"s,"SUSPENDER"s,"SUSPENSION_CABLE"s,"TIEBAR"s,"IfcMobileTelecommunicationsApplianceTypeEnum"s,"ACCESSPOINT"s,"BASEBANDUNIT"s,"BASETRANSCEIVERSTATION"s,"E_UTRAN_NODE_B"s,"GATEWAY_GPRS_SUPPORT_NODE"s,"MASTERUNIT"s,"MOBILESWITCHINGCENTER"s,"MSCSERVER"s,"PACKETCONTROLUNIT"s,"REMOTERADIOUNIT"s,"REMOTEUNIT"s,"SERVICE_GPRS_SUPPORT_NODE"s,"SUBSCRIBERSERVER"s,"IfcModulusOfElasticityMeasure"s,"IfcModulusOfLinearSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionMeasure"s,"IfcModulusOfRotationalSubgradeReactionSelect"s,"IfcModulusOfSubgradeReactionMeasure"s,"IfcModulusOfSubgradeReactionSelect"s,"IfcModulusOfTranslationalSubgradeReactionSelect"s,"IfcMoistureDiffusivityMeasure"s,"IfcMolecularWeightMeasure"s,"IfcMomentOfInertiaMeasure"s,"IfcMonetaryMeasure"s,"IfcMonthInYearNumber"s,"IfcMooringDeviceTypeEnum"s,"BOLLARD"s,"LINETENSIONER"s,"MAGNETICDEVICE"s,"MOORINGHOOKS"s,"VACUUMDEVICE"s,"IfcMotorConnectionTypeEnum"s,"BELTDRIVE"s,"COUPLING"s,"DIRECTDRIVE"s,"IfcNavigationElementTypeEnum"s,"BEACON"s,"BUOY"s,"IfcNonNegativeLengthMeasure"s,"IfcNumericMeasure"s,"IfcObjectiveEnum"s,"CODECOMPLIANCE"s,"CODEWAIVER"s,"DESIGNINTENT"s,"HEALTHANDSAFETY"s,"MERGECONFLICT"s,"MODELVIEW"s,"PARAMETER"s,"REQUIREMENT"s,"SPECIFICATION"s,"TRIGGERCONDITION"s,"IfcOccupantTypeEnum"s,"ASSIGNEE"s,"ASSIGNOR"s,"LESSEE"s,"LESSOR"s,"LETTINGAGENT"s,"OWNER"s,"TENANT"s,"IfcOpeningElementTypeEnum"s,"OPENING"s,"RECESS"s,"IfcOutletTypeEnum"s,"AUDIOVISUALOUTLET"s,"COMMUNICATIONSOUTLET"s,"DATAOUTLET"s,"POWEROUTLET"s,"TELEPHONEOUTLET"s,"IfcPHMeasure"s,"IfcParameterValue"s,"IfcPavementTypeEnum"s,"FLEXIBLE"s,"RIGID"s,"IfcPerformanceHistoryTypeEnum"s,"IfcPermeableCoveringOperationEnum"s,"GRILL"s,"LOUVER"s,"SCREEN"s,"IfcPermitTypeEnum"s,"ACCESS"s,"BUILDING"s,"WORK"s,"IfcPhysicalOrVirtualEnum"s,"PHYSICAL"s,"VIRTUAL"s,"IfcPileConstructionEnum"s,"CAST_IN_PLACE"s,"COMPOSITE"s,"PRECAST_CONCRETE"s,"PREFAB_STEEL"s,"IfcPileTypeEnum"s,"BORED"s,"COHESION"s,"DRIVEN"s,"FRICTION"s,"JETGROUTING"s,"SUPPORT"s,"IfcPipeFittingTypeEnum"s,"IfcPipeSegmentTypeEnum"s,"GUTTER"s,"SPOOL"s,"IfcPlanarForceMeasure"s,"IfcPlaneAngleMeasure"s,"IfcPlateTypeEnum"s,"BASE_PLATE"s,"COVER_PLATE"s,"CURTAIN_PANEL"s,"FLANGE_PLATE"s,"GUSSET_PLATE"s,"SHEET"s,"SPLICE_PLATE"s,"STIFFENER_PLATE"s,"WEB_PLATE"s,"IfcPositiveInteger"s,"IfcPositiveLengthMeasure"s,"IfcPositivePlaneAngleMeasure"s,"IfcPowerMeasure"s,"IfcPreferredSurfaceCurveRepresentation"s,"CURVE3D"s,"PCURVE_S1"s,"PCURVE_S2"s,"IfcPresentableText"s,"IfcPressureMeasure"s,"IfcProcedureTypeEnum"s,"ADVICE_CAUTION"s,"ADVICE_NOTE"s,"ADVICE_WARNING"s,"CALIBRATION"s,"DIAGNOSTIC"s,"SHUTDOWN"s,"STARTUP"s,"IfcProfileTypeEnum"s,"AREA"s,"CURVE"s,"IfcProjectOrderTypeEnum"s,"CHANGEORDER"s,"MAINTENANCEWORKORDER"s,"MOVEORDER"s,"PURCHASEORDER"s,"WORKORDER"s,"IfcProjectedOrTrueLengthEnum"s,"PROJECTED_LENGTH"s,"TRUE_LENGTH"s,"IfcProjectionElementTypeEnum"s,"BLISTER"s,"DEVIATOR"s,"IfcPropertySetTemplateTypeEnum"s,"PSET_MATERIALDRIVEN"s,"PSET_OCCURRENCEDRIVEN"s,"PSET_PERFORMANCEDRIVEN"s,"PSET_PROFILEDRIVEN"s,"PSET_TYPEDRIVENONLY"s,"PSET_TYPEDRIVENOVERRIDE"s,"QTO_OCCURRENCEDRIVEN"s,"QTO_TYPEDRIVENONLY"s,"QTO_TYPEDRIVENOVERRIDE"s,"IfcProtectiveDeviceTrippingUnitTypeEnum"s,"ELECTROMAGNETIC"s,"ELECTRONIC"s,"RESIDUALCURRENT"s,"THERMAL"s,"IfcProtectiveDeviceTypeEnum"s,"ANTI_ARCING_DEVICE"s,"CIRCUITBREAKER"s,"EARTHINGSWITCH"s,"EARTHLEAKAGECIRCUITBREAKER"s,"FUSEDISCONNECTOR"s,"RESIDUALCURRENTCIRCUITBREAKER"s,"RESIDUALCURRENTSWITCH"s,"SPARKGAP"s,"VARISTOR"s,"VOLTAGELIMITER"s,"IfcPumpTypeEnum"s,"CIRCULATOR"s,"ENDSUCTION"s,"SPLITCASE"s,"SUBMERSIBLEPUMP"s,"SUMPPUMP"s,"VERTICALINLINE"s,"VERTICALTURBINE"s,"IfcRadioActivityMeasure"s,"IfcRailTypeEnum"s,"BLADE"s,"CHECKRAIL"s,"GUARDRAIL"s,"RACKRAIL"s,"RAIL"s,"STOCKRAIL"s,"IfcRailingTypeEnum"s,"BALUSTRADE"s,"FENCE"s,"HANDRAIL"s,"IfcRailwayPartTypeEnum"s,"DILATATIONSUPERSTRUCTURE"s,"LINESIDESTRUCTURE"s,"LINESIDESTRUCTUREPART"s,"PLAINTRACKSUPERSTRUCTURE"s,"TRACKSTRUCTURE"s,"TRACKSTRUCTUREPART"s,"TURNOUTSUPERSTRUCTURE"s,"IfcRailwayTypeEnum"s,"IfcRampFlightTypeEnum"s,"SPIRAL"s,"STRAIGHT"s,"IfcRampTypeEnum"s,"HALF_TURN_RAMP"s,"QUARTER_TURN_RAMP"s,"SPIRAL_RAMP"s,"STRAIGHT_RUN_RAMP"s,"TWO_QUARTER_TURN_RAMP"s,"TWO_STRAIGHT_RUN_RAMP"s,"IfcRatioMeasure"s,"IfcReal"s,"IfcRecurrenceTypeEnum"s,"BY_DAY_COUNT"s,"BY_WEEKDAY_COUNT"s,"DAILY"s,"MONTHLY_BY_DAY_OF_MONTH"s,"MONTHLY_BY_POSITION"s,"WEEKLY"s,"YEARLY_BY_DAY_OF_MONTH"s,"YEARLY_BY_POSITION"s,"IfcReferentTypeEnum"s,"BOUNDARY"s,"KILOPOINT"s,"LANDMARK"s,"MILEPOINT"s,"POSITION"s,"REFERENCEMARKER"s,"STATION"s,"IfcReflectanceMethodEnum"s,"BLINN"s,"FLAT"s,"GLASS"s,"MATT"s,"MIRROR"s,"PHONG"s,"STRAUSS"s,"IfcReinforcedSoilTypeEnum"s,"DYNAMICALLYCOMPACTED"s,"GROUTED"s,"REPLACED"s,"ROLLERCOMPACTED"s,"SURCHARGEPRELOADED"s,"VERTICALLYDRAINED"s,"IfcReinforcingBarRoleEnum"s,"ANCHORING"s,"EDGE"s,"LIGATURE"s,"MAIN"s,"PUNCHING"s,"RING"s,"SHEAR"s,"IfcReinforcingBarSurfaceEnum"s,"PLAIN"s,"TEXTURED"s,"IfcReinforcingBarTypeEnum"s,"SPACEBAR"s,"IfcReinforcingMeshTypeEnum"s,"IfcRoadPartTypeEnum"s,"BICYCLECROSSING"s,"BUS_STOP"s,"CARRIAGEWAY"s,"CENTRALISLAND"s,"CENTRALRESERVE"s,"HARDSHOULDER"s,"LAYBY"s,"PARKINGBAY"s,"PASSINGBAY"s,"PEDESTRIAN_CROSSING"s,"RAILWAYCROSSING"s,"REFUGEISLAND"s,"ROADSEGMENT"s,"ROADSIDE"s,"ROADSIDEPART"s,"ROADWAYPLATEAU"s,"ROUNDABOUT"s,"SHOULDER"s,"SIDEWALK"s,"SOFTSHOULDER"s,"TOLLPLAZA"s,"TRAFFICISLAND"s,"TRAFFICLANE"s,"IfcRoadTypeEnum"s,"IfcRoleEnum"s,"ARCHITECT"s,"BUILDINGOPERATOR"s,"BUILDINGOWNER"s,"CIVILENGINEER"s,"CLIENT"s,"COMMISSIONINGENGINEER"s,"CONSTRUCTIONMANAGER"s,"CONSULTANT"s,"CONTRACTOR"s,"COSTENGINEER"s,"ELECTRICALENGINEER"s,"ENGINEER"s,"FACILITIESMANAGER"s,"FIELDCONSTRUCTIONMANAGER"s,"MANUFACTURER"s,"MECHANICALENGINEER"s,"PROJECTMANAGER"s,"RESELLER"s,"STRUCTURALENGINEER"s,"SUBCONTRACTOR"s,"SUPPLIER"s,"IfcRoofTypeEnum"s,"BARREL_ROOF"s,"BUTTERFLY_ROOF"s,"DOME_ROOF"s,"FLAT_ROOF"s,"FREEFORM"s,"GABLE_ROOF"s,"GAMBREL_ROOF"s,"HIPPED_GABLE_ROOF"s,"HIP_ROOF"s,"MANSARD_ROOF"s,"PAVILION_ROOF"s,"RAINBOW_ROOF"s,"SHED_ROOF"s,"IfcRotationalFrequencyMeasure"s,"IfcRotationalMassMeasure"s,"IfcRotationalStiffnessMeasure"s,"IfcRotationalStiffnessSelect"s,"IfcSIPrefix"s,"ATTO"s,"CENTI"s,"DECA"s,"DECI"s,"EXA"s,"FEMTO"s,"GIGA"s,"HECTO"s,"KILO"s,"MEGA"s,"MICRO"s,"MILLI"s,"NANO"s,"PETA"s,"PICO"s,"TERA"s,"IfcSIUnitName"s,"AMPERE"s,"BECQUEREL"s,"CANDELA"s,"COULOMB"s,"CUBIC_METRE"s,"DEGREE_CELSIUS"s,"FARAD"s,"GRAM"s,"GRAY"s,"HENRY"s,"HERTZ"s,"JOULE"s,"KELVIN"s,"LUMEN"s,"LUX"s,"METRE"s,"MOLE"s,"NEWTON"s,"OHM"s,"PASCAL"s,"RADIAN"s,"SECOND"s,"SIEMENS"s,"SIEVERT"s,"SQUARE_METRE"s,"STERADIAN"s,"TESLA"s,"VOLT"s,"WATT"s,"WEBER"s,"IfcSanitaryTerminalTypeEnum"s,"BATH"s,"BIDET"s,"CISTERN"s,"SANITARYFOUNTAIN"s,"SHOWER"s,"TOILETPAN"s,"URINAL"s,"WASHHANDBASIN"s,"WCSEAT"s,"IfcSectionModulusMeasure"s,"IfcSectionTypeEnum"s,"TAPERED"s,"UNIFORM"s,"IfcSectionalAreaIntegralMeasure"s,"IfcSensorTypeEnum"s,"CO2SENSOR"s,"CONDUCTANCESENSOR"s,"CONTACTSENSOR"s,"COSENSOR"s,"EARTHQUAKESENSOR"s,"FIRESENSOR"s,"FLOWSENSOR"s,"FOREIGNOBJECTDETECTIONSENSOR"s,"FROSTSENSOR"s,"GASSENSOR"s,"HEATSENSOR"s,"HUMIDITYSENSOR"s,"IDENTIFIERSENSOR"s,"IONCONCENTRATIONSENSOR"s,"LEVELSENSOR"s,"LIGHTSENSOR"s,"MOISTURESENSOR"s,"MOVEMENTSENSOR"s,"OBSTACLESENSOR"s,"PHSENSOR"s,"PRESSURESENSOR"s,"RADIATIONSENSOR"s,"RADIOACTIVITYSENSOR"s,"RAINSENSOR"s,"SMOKESENSOR"s,"SNOWDEPTHSENSOR"s,"SOUNDSENSOR"s,"TEMPERATURESENSOR"s,"TRAINSENSOR"s,"TURNOUTCLOSURESENSOR"s,"WHEELSENSOR"s,"WINDSENSOR"s,"IfcSequenceEnum"s,"FINISH_FINISH"s,"FINISH_START"s,"START_FINISH"s,"START_START"s,"IfcShadingDeviceTypeEnum"s,"AWNING"s,"JALOUSIE"s,"SHUTTER"s,"IfcShearModulusMeasure"s,"IfcSignTypeEnum"s,"MARKER"s,"PICTORAL"s,"IfcSignalTypeEnum"s,"AUDIO"s,"MIXED"s,"VISUAL"s,"IfcSimplePropertyTemplateTypeEnum"s,"P_BOUNDEDVALUE"s,"P_ENUMERATEDVALUE"s,"P_LISTVALUE"s,"P_REFERENCEVALUE"s,"P_SINGLEVALUE"s,"P_TABLEVALUE"s,"Q_AREA"s,"Q_COUNT"s,"Q_LENGTH"s,"Q_NUMBER"s,"Q_TIME"s,"Q_VOLUME"s,"Q_WEIGHT"s,"IfcSlabTypeEnum"s,"APPROACH_SLAB"s,"BASESLAB"s,"FLOOR"s,"LANDING"s,"ROOF"s,"TRACKSLAB"s,"WEARING"s,"IfcSolarDeviceTypeEnum"s,"SOLARCOLLECTOR"s,"SOLARPANEL"s,"IfcSolidAngleMeasure"s,"IfcSoundPowerLevelMeasure"s,"IfcSoundPowerMeasure"s,"IfcSoundPressureLevelMeasure"s,"IfcSoundPressureMeasure"s,"IfcSpaceHeaterTypeEnum"s,"CONVECTOR"s,"RADIATOR"s,"IfcSpaceTypeEnum"s,"BERTH"s,"GFA"s,"PARKING"s,"SPACE"s,"IfcSpatialZoneTypeEnum"s,"CONSTRUCTION"s,"FIRESAFETY"s,"INTERFERENCE"s,"OCCUPANCY"s,"RESERVATION"s,"IfcSpecificHeatCapacityMeasure"s,"IfcSpecularExponent"s,"IfcSpecularRoughness"s,"IfcStackTerminalTypeEnum"s,"BIRDCAGE"s,"COWL"s,"RAINWATERHOPPER"s,"IfcStairFlightTypeEnum"s,"CURVED"s,"WINDER"s,"IfcStairTypeEnum"s,"CURVED_RUN_STAIR"s,"DOUBLE_RETURN_STAIR"s,"HALF_TURN_STAIR"s,"HALF_WINDING_STAIR"s,"LADDER"s,"QUARTER_TURN_STAIR"s,"QUARTER_WINDING_STAIR"s,"SPIRAL_STAIR"s,"STRAIGHT_RUN_STAIR"s,"THREE_QUARTER_TURN_STAIR"s,"THREE_QUARTER_WINDING_STAIR"s,"TWO_CURVED_RUN_STAIR"s,"TWO_QUARTER_TURN_STAIR"s,"TWO_QUARTER_WINDING_STAIR"s,"TWO_STRAIGHT_RUN_STAIR"s,"IfcStateEnum"s,"LOCKED"s,"READONLY"s,"READONLYLOCKED"s,"READWRITE"s,"READWRITELOCKED"s,"IfcStrippedOptional"s,"IfcStructuralCurveActivityTypeEnum"s,"CONST"s,"DISCRETE"s,"EQUIDISTANT"s,"PARABOLA"s,"POLYGONAL"s,"SINUS"s,"IfcStructuralCurveMemberTypeEnum"s,"COMPRESSION_MEMBER"s,"PIN_JOINED_MEMBER"s,"RIGID_JOINED_MEMBER"s,"TENSION_MEMBER"s,"IfcStructuralSurfaceActivityTypeEnum"s,"BILINEAR"s,"ISOCONTOUR"s,"IfcStructuralSurfaceMemberTypeEnum"s,"BENDING_ELEMENT"s,"MEMBRANE_ELEMENT"s,"SHELL"s,"IfcSubContractResourceTypeEnum"s,"PURCHASE"s,"IfcSurfaceFeatureTypeEnum"s,"DEFECT"s,"HATCHMARKING"s,"LINEMARKING"s,"MARK"s,"NONSKIDSURFACING"s,"PAVEMENTSURFACEMARKING"s,"RUMBLESTRIP"s,"SYMBOLMARKING"s,"TAG"s,"TRANSVERSERUMBLESTRIP"s,"TREATMENT"s,"IfcSurfaceSide"s,"BOTH"s,"IfcSwitchingDeviceTypeEnum"s,"CONTACTOR"s,"DIMMERSWITCH"s,"EMERGENCYSTOP"s,"KEYPAD"s,"MOMENTARYSWITCH"s,"SELECTORSWITCH"s,"STARTER"s,"START_AND_STOP_EQUIPMENT"s,"SWITCHDISCONNECTOR"s,"TOGGLESWITCH"s,"IfcSystemFurnitureElementTypeEnum"s,"PANEL"s,"SUBRACK"s,"WORKSURFACE"s,"IfcTankTypeEnum"s,"BASIN"s,"BREAKPRESSURE"s,"EXPANSION"s,"FEEDANDEXPANSION"s,"OILRETENTIONTRAY"s,"PRESSUREVESSEL"s,"STORAGE"s,"VESSEL"s,"IfcTaskDurationEnum"s,"ELAPSEDTIME"s,"WORKTIME"s,"IfcTaskTypeEnum"s,"ADJUSTMENT"s,"ATTENDANCE"s,"DEMOLITION"s,"DISMANTLE"s,"EMERGENCY"s,"INSPECTION"s,"INSTALLATION"s,"LOGISTIC"s,"MAINTENANCE"s,"MOVE"s,"OPERATION"s,"REMOVAL"s,"RENOVATION"s,"SAFETY"s,"TESTING"s,"TROUBLESHOOTING"s,"IfcTemperatureGradientMeasure"s,"IfcTemperatureRateOfChangeMeasure"s,"IfcTendonAnchorTypeEnum"s,"FIXED_END"s,"TENSIONING_END"s,"IfcTendonConduitTypeEnum"s,"DIABOLO"s,"GROUTING_DUCT"s,"TRUMPET"s,"IfcTendonTypeEnum"s,"BAR"s,"COATED"s,"STRAND"s,"WIRE"s,"IfcText"s,"IfcTextAlignment"s,"IfcTextDecoration"s,"IfcTextFontName"s,"IfcTextPath"s,"DOWN"s,"UP"s,"IfcTextTransformation"s,"IfcThermalAdmittanceMeasure"s,"IfcThermalConductivityMeasure"s,"IfcThermalExpansionCoefficientMeasure"s,"IfcThermalResistanceMeasure"s,"IfcThermalTransmittanceMeasure"s,"IfcThermodynamicTemperatureMeasure"s,"IfcTime"s,"IfcTimeMeasure"s,"IfcTimeOrRatioSelect"s,"IfcTimeSeriesDataTypeEnum"s,"CONTINUOUS"s,"DISCRETEBINARY"s,"PIECEWISEBINARY"s,"PIECEWISECONSTANT"s,"PIECEWISECONTINUOUS"s,"IfcTimeStamp"s,"IfcTorqueMeasure"s,"IfcTrackElementTypeEnum"s,"BLOCKINGDEVICE"s,"DERAILER"s,"FROG"s,"HALF_SET_OF_BLADES"s,"SLEEPER"s,"SPEEDREGULATOR"s,"TRACKENDOFALIGNMENT"s,"VEHICLESTOP"s,"IfcTransformerTypeEnum"s,"CHOPPER"s,"FREQUENCY"s,"INVERTER"s,"RECTIFIER"s,"VOLTAGE"s,"IfcTransitionCode"s,"CONTSAMEGRADIENT"s,"CONTSAMEGRADIENTSAMECURVATURE"s,"DISCONTINUOUS"s,"IfcTranslationalStiffnessSelect"s,"IfcTransportElementTypeEnum"s,"CRANEWAY"s,"ELEVATOR"s,"ESCALATOR"s,"HAULINGGEAR"s,"LIFTINGGEAR"s,"MOVINGWALKWAY"s,"IfcTrimmingPreference"s,"CARTESIAN"s,"IfcTubeBundleTypeEnum"s,"FINNED"s,"IfcURIReference"s,"IfcUnitEnum"s,"ABSORBEDDOSEUNIT"s,"AMOUNTOFSUBSTANCEUNIT"s,"AREAUNIT"s,"DOSEEQUIVALENTUNIT"s,"ELECTRICCAPACITANCEUNIT"s,"ELECTRICCHARGEUNIT"s,"ELECTRICCONDUCTANCEUNIT"s,"ELECTRICCURRENTUNIT"s,"ELECTRICRESISTANCEUNIT"s,"ELECTRICVOLTAGEUNIT"s,"ENERGYUNIT"s,"FORCEUNIT"s,"FREQUENCYUNIT"s,"ILLUMINANCEUNIT"s,"INDUCTANCEUNIT"s,"LENGTHUNIT"s,"LUMINOUSFLUXUNIT"s,"LUMINOUSINTENSITYUNIT"s,"MAGNETICFLUXDENSITYUNIT"s,"MAGNETICFLUXUNIT"s,"MASSUNIT"s,"PLANEANGLEUNIT"s,"POWERUNIT"s,"PRESSUREUNIT"s,"RADIOACTIVITYUNIT"s,"SOLIDANGLEUNIT"s,"THERMODYNAMICTEMPERATUREUNIT"s,"TIMEUNIT"s,"VOLUMEUNIT"s,"IfcUnitaryControlElementTypeEnum"s,"ALARMPANEL"s,"BASESTATIONCONTROLLER"s,"CONTROLPANEL"s,"GASDETECTIONPANEL"s,"HUMIDISTAT"s,"INDICATORPANEL"s,"MIMICPANEL"s,"THERMOSTAT"s,"WEATHERSTATION"s,"IfcUnitaryEquipmentTypeEnum"s,"AIRCONDITIONINGUNIT"s,"AIRHANDLER"s,"DEHUMIDIFIER"s,"ROOFTOPUNIT"s,"SPLITSYSTEM"s,"IfcValveTypeEnum"s,"AIRRELEASE"s,"ANTIVACUUM"s,"CHANGEOVER"s,"CHECK"s,"COMMISSIONING"s,"DIVERTING"s,"DOUBLECHECK"s,"DOUBLEREGULATING"s,"DRAWOFFCOCK"s,"FAUCET"s,"FLUSHING"s,"GASCOCK"s,"GASTAP"s,"ISOLATING"s,"MIXING"s,"PRESSUREREDUCING"s,"PRESSURERELIEF"s,"REGULATING"s,"SAFETYCUTOFF"s,"STEAMTRAP"s,"STOPCOCK"s,"IfcVaporPermeabilityMeasure"s,"IfcVehicleTypeEnum"s,"CARGO"s,"ROLLINGSTOCK"s,"VEHICLE"s,"VEHICLEAIR"s,"VEHICLEMARINE"s,"VEHICLETRACKED"s,"VEHICLEWHEELED"s,"IfcVibrationDamperTypeEnum"s,"AXIAL_YIELD"s,"BENDING_YIELD"s,"RUBBER"s,"SHEAR_YIELD"s,"VISCOUS"s,"IfcVibrationIsolatorTypeEnum"s,"BASE"s,"COMPRESSION"s,"SPRING"s,"IfcVirtualElementTypeEnum"s,"CLEARANCE"s,"IfcVoidingFeatureTypeEnum"s,"CHAMFER"s,"CUTOUT"s,"HOLE"s,"MITER"s,"NOTCH"s,"IfcVolumeMeasure"s,"IfcVolumetricFlowRateMeasure"s,"IfcWallTypeEnum"s,"ELEMENTEDWALL"s,"MOVABLE"s,"PARAPET"s,"PARTITIONING"s,"PLUMBINGWALL"s,"RETAININGWALL"s,"SOLIDWALL"s,"STANDARD"s,"WAVEWALL"s,"IfcWarpingConstantMeasure"s,"IfcWarpingMomentMeasure"s,"IfcWarpingStiffnessSelect"s,"IfcWasteTerminalTypeEnum"s,"FLOORTRAP"s,"FLOORWASTE"s,"GULLYSUMP"s,"GULLYTRAP"s,"ROOFDRAIN"s,"WASTEDISPOSALUNIT"s,"WASTETRAP"s,"IfcWindowPanelOperationEnum"s,"BOTTOMHUNG"s,"FIXEDCASEMENT"s,"OTHEROPERATION"s,"PIVOTHORIZONTAL"s,"PIVOTVERTICAL"s,"REMOVABLECASEMENT"s,"SIDEHUNGLEFTHAND"s,"SIDEHUNGRIGHTHAND"s,"SLIDINGHORIZONTAL"s,"SLIDINGVERTICAL"s,"TILTANDTURNLEFTHAND"s,"TILTANDTURNRIGHTHAND"s,"TOPHUNG"s,"IfcWindowPanelPositionEnum"s,"BOTTOM"s,"TOP"s,"IfcWindowTypeEnum"s,"LIGHTDOME"s,"SKYLIGHT"s,"WINDOW"s,"IfcWindowTypePartitioningEnum"s,"DOUBLE_PANEL_HORIZONTAL"s,"DOUBLE_PANEL_VERTICAL"s,"SINGLE_PANEL"s,"TRIPLE_PANEL_BOTTOM"s,"TRIPLE_PANEL_HORIZONTAL"s,"TRIPLE_PANEL_LEFT"s,"TRIPLE_PANEL_RIGHT"s,"TRIPLE_PANEL_TOP"s,"TRIPLE_PANEL_VERTICAL"s,"IfcWorkCalendarTypeEnum"s,"FIRSTSHIFT"s,"SECONDSHIFT"s,"THIRDSHIFT"s,"IfcWorkPlanTypeEnum"s,"ACTUAL"s,"BASELINE"s,"PLANNED"s,"IfcWorkScheduleTypeEnum"s,"IfcActorRole"s,"IfcAddress"s,"IfcAlignmentParameterSegment"s,"IfcAlignmentVerticalSegment"s,"IfcApplication"s,"IfcAppliedValue"s,"IfcApproval"s,"IfcBoundaryCondition"s,"IfcBoundaryEdgeCondition"s,"IfcBoundaryFaceCondition"s,"IfcBoundaryNodeCondition"s,"IfcBoundaryNodeConditionWarping"s,"IfcConnectionGeometry"s,"IfcConnectionPointGeometry"s,"IfcConnectionSurfaceGeometry"s,"IfcConnectionVolumeGeometry"s,"IfcConstraint"s,"IfcCoordinateOperation"s,"IfcCoordinateReferenceSystem"s,"IfcCostValue"s,"IfcDerivedUnit"s,"IfcDerivedUnitElement"s,"IfcDimensionalExponents"s,"IfcExternalInformation"s,"IfcExternalReference"s,"IfcExternallyDefinedHatchStyle"s,"IfcExternallyDefinedSurfaceStyle"s,"IfcExternallyDefinedTextFont"s,"IfcGridAxis"s,"IfcIrregularTimeSeriesValue"s,"IfcLibraryInformation"s,"IfcLibraryReference"s,"IfcLightDistributionData"s,"IfcLightIntensityDistribution"s,"IfcMapConversion"s,"IfcMaterialClassificationRelationship"s,"IfcMaterialDefinition"s,"IfcMaterialLayer"s,"IfcMaterialLayerSet"s,"IfcMaterialLayerWithOffsets"s,"IfcMaterialList"s,"IfcMaterialProfile"s,"IfcMaterialProfileSet"s,"IfcMaterialProfileWithOffsets"s,"IfcMaterialUsageDefinition"s,"IfcMeasureWithUnit"s,"IfcMetric"s,"IfcMonetaryUnit"s,"IfcNamedUnit"s,"IfcObjectPlacement"s,"IfcObjective"s,"IfcOrganization"s,"IfcOwnerHistory"s,"IfcPerson"s,"IfcPersonAndOrganization"s,"IfcPhysicalQuantity"s,"IfcPhysicalSimpleQuantity"s,"IfcPostalAddress"s,"IfcPresentationItem"s,"IfcPresentationLayerAssignment"s,"IfcPresentationLayerWithStyle"s,"IfcPresentationStyle"s,"IfcProductRepresentation"s,"IfcProfileDef"s,"IfcProjectedCRS"s,"IfcPropertyAbstraction"s,"IfcPropertyEnumeration"s,"IfcQuantityArea"s,"IfcQuantityCount"s,"IfcQuantityLength"s,"IfcQuantityNumber"s,"IfcQuantityTime"s,"IfcQuantityVolume"s,"IfcQuantityWeight"s,"IfcRecurrencePattern"s,"IfcReference"s,"IfcRepresentation"s,"IfcRepresentationContext"s,"IfcRepresentationItem"s,"IfcRepresentationMap"s,"IfcResourceLevelRelationship"s,"IfcRoot"s,"IfcSIUnit"s,"IfcSchedulingTime"s,"IfcShapeAspect"s,"IfcShapeModel"s,"IfcShapeRepresentation"s,"IfcStructuralConnectionCondition"s,"IfcStructuralLoad"s,"IfcStructuralLoadConfiguration"s,"IfcStructuralLoadOrResult"s,"IfcStructuralLoadStatic"s,"IfcStructuralLoadTemperature"s,"IfcStyleModel"s,"IfcStyledItem"s,"IfcStyledRepresentation"s,"IfcSurfaceReinforcementArea"s,"IfcSurfaceStyle"s,"IfcSurfaceStyleLighting"s,"IfcSurfaceStyleRefraction"s,"IfcSurfaceStyleShading"s,"IfcSurfaceStyleWithTextures"s,"IfcSurfaceTexture"s,"IfcTable"s,"IfcTableColumn"s,"IfcTableRow"s,"IfcTaskTime"s,"IfcTaskTimeRecurring"s,"IfcTelecomAddress"s,"IfcTextStyle"s,"IfcTextStyleForDefinedFont"s,"IfcTextStyleTextModel"s,"IfcTextureCoordinate"s,"IfcTextureCoordinateGenerator"s,"IfcTextureCoordinateIndices"s,"IfcTextureCoordinateIndicesWithVoids"s,"IfcTextureMap"s,"IfcTextureVertex"s,"IfcTextureVertexList"s,"IfcTimePeriod"s,"IfcTimeSeries"s,"IfcTimeSeriesValue"s,"IfcTopologicalRepresentationItem"s,"IfcTopologyRepresentation"s,"IfcUnitAssignment"s,"IfcVertex"s,"IfcVertexPoint"s,"IfcVirtualGridIntersection"s,"IfcWorkTime"s,"IfcActorSelect"s,"IfcArcIndex"s,"IfcBendingParameterSelect"s,"IfcBoxAlignment"s,"IfcCurveMeasureSelect"s,"IfcDerivedMeasureValue"s,"IfcLayeredItem"s,"IfcLibrarySelect"s,"IfcLightDistributionDataSourceSelect"s,"IfcLineIndex"s,"IfcMaterialSelect"s,"IfcNormalisedRatioMeasure"s,"IfcObjectReferenceSelect"s,"IfcPositiveRatioMeasure"s,"IfcSegmentIndexSelect"s,"IfcSimpleValue"s,"IfcSizeSelect"s,"IfcSpecularHighlightSelect"s,"IfcSurfaceStyleElementSelect"s,"IfcUnit"s,"IfcAlignmentCantSegment"s,"IfcAlignmentHorizontalSegment"s,"IfcApprovalRelationship"s,"IfcArbitraryClosedProfileDef"s,"IfcArbitraryOpenProfileDef"s,"IfcArbitraryProfileDefWithVoids"s,"IfcBlobTexture"s,"IfcCenterLineProfileDef"s,"IfcClassification"s,"IfcClassificationReference"s,"IfcColourRgbList"s,"IfcColourSpecification"s,"IfcCompositeProfileDef"s,"IfcConnectedFaceSet"s,"IfcConnectionCurveGeometry"s,"IfcConnectionPointEccentricity"s,"IfcContextDependentUnit"s,"IfcConversionBasedUnit"s,"IfcConversionBasedUnitWithOffset"s,"IfcCurrencyRelationship"s,"IfcCurveStyle"s,"IfcCurveStyleFont"s,"IfcCurveStyleFontAndScaling"s,"IfcCurveStyleFontPattern"s,"IfcDerivedProfileDef"s,"IfcDocumentInformation"s,"IfcDocumentInformationRelationship"s,"IfcDocumentReference"s,"IfcEdge"s,"IfcEdgeCurve"s,"IfcEventTime"s,"IfcExtendedProperties"s,"IfcExternalReferenceRelationship"s,"IfcFace"s,"IfcFaceBound"s,"IfcFaceOuterBound"s,"IfcFaceSurface"s,"IfcFailureConnectionCondition"s,"IfcFillAreaStyle"s,"IfcGeometricRepresentationContext"s,"IfcGeometricRepresentationItem"s,"IfcGeometricRepresentationSubContext"s,"IfcGeometricSet"s,"IfcGridPlacement"s,"IfcHalfSpaceSolid"s,"IfcImageTexture"s,"IfcIndexedColourMap"s,"IfcIndexedTextureMap"s,"IfcIndexedTriangleTextureMap"s,"IfcIrregularTimeSeries"s,"IfcLagTime"s,"IfcLightSource"s,"IfcLightSourceAmbient"s,"IfcLightSourceDirectional"s,"IfcLightSourceGoniometric"s,"IfcLightSourcePositional"s,"IfcLightSourceSpot"s,"IfcLinearPlacement"s,"IfcLocalPlacement"s,"IfcLoop"s,"IfcMappedItem"s,"IfcMaterial"s,"IfcMaterialConstituent"s,"IfcMaterialConstituentSet"s,"IfcMaterialDefinitionRepresentation"s,"IfcMaterialLayerSetUsage"s,"IfcMaterialProfileSetUsage"s,"IfcMaterialProfileSetUsageTapering"s,"IfcMaterialProperties"s,"IfcMaterialRelationship"s,"IfcMirroredProfileDef"s,"IfcObjectDefinition"s,"IfcOpenCrossProfileDef"s,"IfcOpenShell"s,"IfcOrganizationRelationship"s,"IfcOrientedEdge"s,"IfcParameterizedProfileDef"s,"IfcPath"s,"IfcPhysicalComplexQuantity"s,"IfcPixelTexture"s,"IfcPlacement"s,"IfcPlanarExtent"s,"IfcPoint"s,"IfcPointByDistanceExpression"s,"IfcPointOnCurve"s,"IfcPointOnSurface"s,"IfcPolyLoop"s,"IfcPolygonalBoundedHalfSpace"s,"IfcPreDefinedItem"s,"IfcPreDefinedProperties"s,"IfcPreDefinedTextFont"s,"IfcProductDefinitionShape"s,"IfcProfileProperties"s,"IfcProperty"s,"IfcPropertyDefinition"s,"IfcPropertyDependencyRelationship"s,"IfcPropertySetDefinition"s,"IfcPropertyTemplateDefinition"s,"IfcQuantitySet"s,"IfcRectangleProfileDef"s,"IfcRegularTimeSeries"s,"IfcReinforcementBarProperties"s,"IfcRelationship"s,"IfcResourceApprovalRelationship"s,"IfcResourceConstraintRelationship"s,"IfcResourceTime"s,"IfcRoundedRectangleProfileDef"s,"IfcSectionProperties"s,"IfcSectionReinforcementProperties"s,"IfcSectionedSpine"s,"IfcSegment"s,"IfcShellBasedSurfaceModel"s,"IfcSimpleProperty"s,"IfcSlippageConnectionCondition"s,"IfcSolidModel"s,"IfcStructuralLoadLinearForce"s,"IfcStructuralLoadPlanarForce"s,"IfcStructuralLoadSingleDisplacement"s,"IfcStructuralLoadSingleDisplacementDistortion"s,"IfcStructuralLoadSingleForce"s,"IfcStructuralLoadSingleForceWarping"s,"IfcSubedge"s,"IfcSurface"s,"IfcSurfaceStyleRendering"s,"IfcSweptAreaSolid"s,"IfcSweptDiskSolid"s,"IfcSweptDiskSolidPolygonal"s,"IfcSweptSurface"s,"IfcTShapeProfileDef"s,"IfcTessellatedItem"s,"IfcTextLiteral"s,"IfcTextLiteralWithExtent"s,"IfcTextStyleFontModel"s,"IfcTrapeziumProfileDef"s,"IfcTypeObject"s,"IfcTypeProcess"s,"IfcTypeProduct"s,"IfcTypeResource"s,"IfcUShapeProfileDef"s,"IfcVector"s,"IfcVertexLoop"s,"IfcZShapeProfileDef"s,"IfcClassificationReferenceSelect"s,"IfcClassificationSelect"s,"IfcCoordinateReferenceSystemSelect"s,"IfcDefinitionSelect"s,"IfcDocumentSelect"s,"IfcHatchLineDistanceSelect"s,"IfcMeasureValue"s,"IfcPointOrVertexPoint"s,"IfcProductRepresentationSelect"s,"IfcPropertySetDefinitionSet"s,"IfcResourceObjectSelect"s,"IfcTextFontSelect"s,"IfcValue"s,"IfcAdvancedFace"s,"IfcAnnotationFillArea"s,"IfcAsymmetricIShapeProfileDef"s,"IfcAxis1Placement"s,"IfcAxis2Placement2D"s,"IfcAxis2Placement3D"s,"IfcAxis2PlacementLinear"s,"IfcBooleanResult"s,"IfcBoundedSurface"s,"IfcBoundingBox"s,"IfcBoxedHalfSpace"s,"IfcCShapeProfileDef"s,"IfcCartesianPoint"s,"IfcCartesianPointList"s,"IfcCartesianPointList2D"s,"IfcCartesianPointList3D"s,"IfcCartesianTransformationOperator"s,"IfcCartesianTransformationOperator2D"s,"IfcCartesianTransformationOperator2DnonUniform"s,"IfcCartesianTransformationOperator3D"s,"IfcCartesianTransformationOperator3DnonUniform"s,"IfcCircleProfileDef"s,"IfcClosedShell"s,"IfcColourRgb"s,"IfcComplexProperty"s,"IfcCompositeCurveSegment"s,"IfcConstructionResourceType"s,"IfcContext"s,"IfcCrewResourceType"s,"IfcCsgPrimitive3D"s,"IfcCsgSolid"s,"IfcCurve"s,"IfcCurveBoundedPlane"s,"IfcCurveBoundedSurface"s,"IfcCurveSegment"s,"IfcDirection"s,"IfcDirectrixCurveSweptAreaSolid"s,"IfcEdgeLoop"s,"IfcElementQuantity"s,"IfcElementType"s,"IfcElementarySurface"s,"IfcEllipseProfileDef"s,"IfcEventType"s,"IfcExtrudedAreaSolid"s,"IfcExtrudedAreaSolidTapered"s,"IfcFaceBasedSurfaceModel"s,"IfcFillAreaStyleHatching"s,"IfcFillAreaStyleTiles"s,"IfcFixedReferenceSweptAreaSolid"s,"IfcFurnishingElementType"s,"IfcFurnitureType"s,"IfcGeographicElementType"s,"IfcGeometricCurveSet"s,"IfcIShapeProfileDef"s,"IfcIndexedPolygonalFace"s,"IfcIndexedPolygonalFaceWithVoids"s,"IfcIndexedPolygonalTextureMap"s,"IfcLShapeProfileDef"s,"IfcLaborResourceType"s,"IfcLine"s,"IfcManifoldSolidBrep"s,"IfcObject"s,"IfcOffsetCurve"s,"IfcOffsetCurve2D"s,"IfcOffsetCurve3D"s,"IfcOffsetCurveByDistances"s,"IfcPcurve"s,"IfcPlanarBox"s,"IfcPlane"s,"IfcPolynomialCurve"s,"IfcPreDefinedColour"s,"IfcPreDefinedCurveFont"s,"IfcPreDefinedPropertySet"s,"IfcProcedureType"s,"IfcProcess"s,"IfcProduct"s,"IfcProject"s,"IfcProjectLibrary"s,"IfcPropertyBoundedValue"s,"IfcPropertyEnumeratedValue"s,"IfcPropertyListValue"s,"IfcPropertyReferenceValue"s,"IfcPropertySet"s,"IfcPropertySetTemplate"s,"IfcPropertySingleValue"s,"IfcPropertyTableValue"s,"IfcPropertyTemplate"s,"IfcRectangleHollowProfileDef"s,"IfcRectangularPyramid"s,"IfcRectangularTrimmedSurface"s,"IfcReinforcementDefinitionProperties"s,"IfcRelAssigns"s,"IfcRelAssignsToActor"s,"IfcRelAssignsToControl"s,"IfcRelAssignsToGroup"s,"IfcRelAssignsToGroupByFactor"s,"IfcRelAssignsToProcess"s,"IfcRelAssignsToProduct"s,"IfcRelAssignsToResource"s,"IfcRelAssociates"s,"IfcRelAssociatesApproval"s,"IfcRelAssociatesClassification"s,"IfcRelAssociatesConstraint"s,"IfcRelAssociatesDocument"s,"IfcRelAssociatesLibrary"s,"IfcRelAssociatesMaterial"s,"IfcRelAssociatesProfileDef"s,"IfcRelConnects"s,"IfcRelConnectsElements"s,"IfcRelConnectsPathElements"s,"IfcRelConnectsPortToElement"s,"IfcRelConnectsPorts"s,"IfcRelConnectsStructuralActivity"s,"IfcRelConnectsStructuralMember"s,"IfcRelConnectsWithEccentricity"s,"IfcRelConnectsWithRealizingElements"s,"IfcRelContainedInSpatialStructure"s,"IfcRelCoversBldgElements"s,"IfcRelCoversSpaces"s,"IfcRelDeclares"s,"IfcRelDecomposes"s,"IfcRelDefines"s,"IfcRelDefinesByObject"s,"IfcRelDefinesByProperties"s,"IfcRelDefinesByTemplate"s,"IfcRelDefinesByType"s,"IfcRelFillsElement"s,"IfcRelFlowControlElements"s,"IfcRelInterferesElements"s,"IfcRelNests"s,"IfcRelPositions"s,"IfcRelProjectsElement"s,"IfcRelReferencedInSpatialStructure"s,"IfcRelSequence"s,"IfcRelServicesBuildings"s,"IfcRelSpaceBoundary"s,"IfcRelSpaceBoundary1stLevel"s,"IfcRelSpaceBoundary2ndLevel"s,"IfcRelVoidsElement"s,"IfcReparametrisedCompositeCurveSegment"s,"IfcResource"s,"IfcRevolvedAreaSolid"s,"IfcRevolvedAreaSolidTapered"s,"IfcRightCircularCone"s,"IfcRightCircularCylinder"s,"IfcSectionedSolid"s,"IfcSectionedSolidHorizontal"s,"IfcSectionedSurface"s,"IfcSimplePropertyTemplate"s,"IfcSpatialElement"s,"IfcSpatialElementType"s,"IfcSpatialStructureElement"s,"IfcSpatialStructureElementType"s,"IfcSpatialZone"s,"IfcSpatialZoneType"s,"IfcSphere"s,"IfcSphericalSurface"s,"IfcSpiral"s,"IfcStructuralActivity"s,"IfcStructuralItem"s,"IfcStructuralMember"s,"IfcStructuralReaction"s,"IfcStructuralSurfaceMember"s,"IfcStructuralSurfaceMemberVarying"s,"IfcStructuralSurfaceReaction"s,"IfcSubContractResourceType"s,"IfcSurfaceCurve"s,"IfcSurfaceCurveSweptAreaSolid"s,"IfcSurfaceOfLinearExtrusion"s,"IfcSurfaceOfRevolution"s,"IfcSystemFurnitureElementType"s,"IfcTask"s,"IfcTaskType"s,"IfcTessellatedFaceSet"s,"IfcThirdOrderPolynomialSpiral"s,"IfcToroidalSurface"s,"IfcTransportationDeviceType"s,"IfcTriangulatedFaceSet"s,"IfcTriangulatedIrregularNetwork"s,"IfcVehicleType"s,"IfcWindowLiningProperties"s,"IfcWindowPanelProperties"s,"IfcAppliedValueSelect"s,"IfcAxis2Placement"s,"IfcBooleanOperand"s,"IfcColour"s,"IfcColourOrFactor"s,"IfcCsgSelect"s,"IfcCurveStyleFontSelect"s,"IfcFillStyleSelect"s,"IfcGeometricSetSelect"s,"IfcGridPlacementDirectionSelect"s,"IfcMetricValueSelect"s,"IfcProcessSelect"s,"IfcProductSelect"s,"IfcPropertySetDefinitionSelect"s,"IfcResourceSelect"s,"IfcShell"s,"IfcSolidOrShell"s,"IfcSurfaceOrFaceSurface"s,"IfcTrimmingSelect"s,"IfcVectorOrDirection"s,"IfcActor"s,"IfcAdvancedBrep"s,"IfcAdvancedBrepWithVoids"s,"IfcAnnotation"s,"IfcBSplineSurface"s,"IfcBSplineSurfaceWithKnots"s,"IfcBlock"s,"IfcBooleanClippingResult"s,"IfcBoundedCurve"s,"IfcBuildingStorey"s,"IfcBuiltElementType"s,"IfcChimneyType"s,"IfcCircleHollowProfileDef"s,"IfcCivilElementType"s,"IfcClothoid"s,"IfcColumnType"s,"IfcComplexPropertyTemplate"s,"IfcCompositeCurve"s,"IfcCompositeCurveOnSurface"s,"IfcConic"s,"IfcConstructionEquipmentResourceType"s,"IfcConstructionMaterialResourceType"s,"IfcConstructionProductResourceType"s,"IfcConstructionResource"s,"IfcControl"s,"IfcCosineSpiral"s,"IfcCostItem"s,"IfcCostSchedule"s,"IfcCourseType"s,"IfcCoveringType"s,"IfcCrewResource"s,"IfcCurtainWallType"s,"IfcCylindricalSurface"s,"IfcDeepFoundationType"s,"IfcDirectrixDerivedReferenceSweptAreaSolid"s,"IfcDistributionElementType"s,"IfcDistributionFlowElementType"s,"IfcDoorLiningProperties"s,"IfcDoorPanelProperties"s,"IfcDoorType"s,"IfcDraughtingPreDefinedColour"s,"IfcDraughtingPreDefinedCurveFont"s,"IfcElement"s,"IfcElementAssembly"s,"IfcElementAssemblyType"s,"IfcElementComponent"s,"IfcElementComponentType"s,"IfcEllipse"s,"IfcEnergyConversionDeviceType"s,"IfcEngineType"s,"IfcEvaporativeCoolerType"s,"IfcEvaporatorType"s,"IfcEvent"s,"IfcExternalSpatialStructureElement"s,"IfcFacetedBrep"s,"IfcFacetedBrepWithVoids"s,"IfcFacility"s,"IfcFacilityPart"s,"IfcFacilityPartCommon"s,"IfcFastener"s,"IfcFastenerType"s,"IfcFeatureElement"s,"IfcFeatureElementAddition"s,"IfcFeatureElementSubtraction"s,"IfcFlowControllerType"s,"IfcFlowFittingType"s,"IfcFlowMeterType"s,"IfcFlowMovingDeviceType"s,"IfcFlowSegmentType"s,"IfcFlowStorageDeviceType"s,"IfcFlowTerminalType"s,"IfcFlowTreatmentDeviceType"s,"IfcFootingType"s,"IfcFurnishingElement"s,"IfcFurniture"s,"IfcGeographicElement"s,"IfcGeotechnicalElement"s,"IfcGeotechnicalStratum"s,"IfcGradientCurve"s,"IfcGroup"s,"IfcHeatExchangerType"s,"IfcHumidifierType"s,"IfcImpactProtectionDevice"s,"IfcImpactProtectionDeviceType"s,"IfcIndexedPolyCurve"s,"IfcInterceptorType"s,"IfcIntersectionCurve"s,"IfcInventory"s,"IfcJunctionBoxType"s,"IfcKerbType"s,"IfcLaborResource"s,"IfcLampType"s,"IfcLightFixtureType"s,"IfcLinearElement"s,"IfcLiquidTerminalType"s,"IfcMarineFacility"s,"IfcMarinePart"s,"IfcMechanicalFastener"s,"IfcMechanicalFastenerType"s,"IfcMedicalDeviceType"s,"IfcMemberType"s,"IfcMobileTelecommunicationsApplianceType"s,"IfcMooringDeviceType"s,"IfcMotorConnectionType"s,"IfcNavigationElementType"s,"IfcOccupant"s,"IfcOpeningElement"s,"IfcOutletType"s,"IfcPavementType"s,"IfcPerformanceHistory"s,"IfcPermeableCoveringProperties"s,"IfcPermit"s,"IfcPileType"s,"IfcPipeFittingType"s,"IfcPipeSegmentType"s,"IfcPlateType"s,"IfcPolygonalFaceSet"s,"IfcPolyline"s,"IfcPort"s,"IfcPositioningElement"s,"IfcProcedure"s,"IfcProjectOrder"s,"IfcProjectionElement"s,"IfcProtectiveDeviceType"s,"IfcPumpType"s,"IfcRailType"s,"IfcRailingType"s,"IfcRailway"s,"IfcRailwayPart"s,"IfcRampFlightType"s,"IfcRampType"s,"IfcRationalBSplineSurfaceWithKnots"s,"IfcReferent"s,"IfcReinforcingElement"s,"IfcReinforcingElementType"s,"IfcReinforcingMesh"s,"IfcReinforcingMeshType"s,"IfcRelAdheresToElement"s,"IfcRelAggregates"s,"IfcRoad"s,"IfcRoadPart"s,"IfcRoofType"s,"IfcSanitaryTerminalType"s,"IfcSeamCurve"s,"IfcSecondOrderPolynomialSpiral"s,"IfcSegmentedReferenceCurve"s,"IfcSeventhOrderPolynomialSpiral"s,"IfcShadingDeviceType"s,"IfcSign"s,"IfcSignType"s,"IfcSignalType"s,"IfcSineSpiral"s,"IfcSite"s,"IfcSlabType"s,"IfcSolarDeviceType"s,"IfcSpace"s,"IfcSpaceHeaterType"s,"IfcSpaceType"s,"IfcStackTerminalType"s,"IfcStairFlightType"s,"IfcStairType"s,"IfcStructuralAction"s,"IfcStructuralConnection"s,"IfcStructuralCurveAction"s,"IfcStructuralCurveConnection"s,"IfcStructuralCurveMember"s,"IfcStructuralCurveMemberVarying"s,"IfcStructuralCurveReaction"s,"IfcStructuralLinearAction"s,"IfcStructuralLoadGroup"s,"IfcStructuralPointAction"s,"IfcStructuralPointConnection"s,"IfcStructuralPointReaction"s,"IfcStructuralResultGroup"s,"IfcStructuralSurfaceAction"s,"IfcStructuralSurfaceConnection"s,"IfcSubContractResource"s,"IfcSurfaceFeature"s,"IfcSwitchingDeviceType"s,"IfcSystem"s,"IfcSystemFurnitureElement"s,"IfcTankType"s,"IfcTendon"s,"IfcTendonAnchor"s,"IfcTendonAnchorType"s,"IfcTendonConduit"s,"IfcTendonConduitType"s,"IfcTendonType"s,"IfcTrackElementType"s,"IfcTransformerType"s,"IfcTransportElementType"s,"IfcTransportationDevice"s,"IfcTrimmedCurve"s,"IfcTubeBundleType"s,"IfcUnitaryEquipmentType"s,"IfcValveType"s,"IfcVehicle"s,"IfcVibrationDamper"s,"IfcVibrationDamperType"s,"IfcVibrationIsolator"s,"IfcVibrationIsolatorType"s,"IfcVirtualElement"s,"IfcVoidingFeature"s,"IfcWallType"s,"IfcWasteTerminalType"s,"IfcWindowType"s,"IfcWorkCalendar"s,"IfcWorkControl"s,"IfcWorkPlan"s,"IfcWorkSchedule"s,"IfcZone"s,"IfcCurveFontOrScaledCurveFontSelect"s,"IfcCurveOnSurface"s,"IfcCurveOrEdgeCurve"s,"IfcInterferenceSelect"s,"IfcSpatialReferenceSelect"s,"IfcStructuralActivityAssignmentSelect"s,"IfcActionRequest"s,"IfcAirTerminalBoxType"s,"IfcAirTerminalType"s,"IfcAirToAirHeatRecoveryType"s,"IfcAlignmentCant"s,"IfcAlignmentHorizontal"s,"IfcAlignmentSegment"s,"IfcAlignmentVertical"s,"IfcAsset"s,"IfcAudioVisualApplianceType"s,"IfcBSplineCurve"s,"IfcBSplineCurveWithKnots"s,"IfcBeamType"s,"IfcBearingType"s,"IfcBoilerType"s,"IfcBoundaryCurve"s,"IfcBridge"s,"IfcBridgePart"s,"IfcBuilding"s,"IfcBuildingElementPart"s,"IfcBuildingElementPartType"s,"IfcBuildingElementProxyType"s,"IfcBuildingSystem"s,"IfcBuiltElement"s,"IfcBuiltSystem"s,"IfcBurnerType"s,"IfcCableCarrierFittingType"s,"IfcCableCarrierSegmentType"s,"IfcCableFittingType"s,"IfcCableSegmentType"s,"IfcCaissonFoundationType"s,"IfcChillerType"s,"IfcChimney"s,"IfcCircle"s,"IfcCivilElement"s,"IfcCoilType"s,"IfcColumn"s,"IfcCommunicationsApplianceType"s,"IfcCompressorType"s,"IfcCondenserType"s,"IfcConstructionEquipmentResource"s,"IfcConstructionMaterialResource"s,"IfcConstructionProductResource"s,"IfcConveyorSegmentType"s,"IfcCooledBeamType"s,"IfcCoolingTowerType"s,"IfcCourse"s,"IfcCovering"s,"IfcCurtainWall"s,"IfcDamperType"s,"IfcDeepFoundation"s,"IfcDiscreteAccessory"s,"IfcDiscreteAccessoryType"s,"IfcDistributionBoardType"s,"IfcDistributionChamberElementType"s,"IfcDistributionControlElementType"s,"IfcDistributionElement"s,"IfcDistributionFlowElement"s,"IfcDistributionPort"s,"IfcDistributionSystem"s,"IfcDoor"s,"IfcDuctFittingType"s,"IfcDuctSegmentType"s,"IfcDuctSilencerType"s,"IfcEarthworksCut"s,"IfcEarthworksElement"s,"IfcEarthworksFill"s,"IfcElectricApplianceType"s,"IfcElectricDistributionBoardType"s,"IfcElectricFlowStorageDeviceType"s,"IfcElectricFlowTreatmentDeviceType"s,"IfcElectricGeneratorType"s,"IfcElectricMotorType"s,"IfcElectricTimeControlType"s,"IfcEnergyConversionDevice"s,"IfcEngine"s,"IfcEvaporativeCooler"s,"IfcEvaporator"s,"IfcExternalSpatialElement"s,"IfcFanType"s,"IfcFilterType"s,"IfcFireSuppressionTerminalType"s,"IfcFlowController"s,"IfcFlowFitting"s,"IfcFlowInstrumentType"s,"IfcFlowMeter"s,"IfcFlowMovingDevice"s,"IfcFlowSegment"s,"IfcFlowStorageDevice"s,"IfcFlowTerminal"s,"IfcFlowTreatmentDevice"s,"IfcFooting"s,"IfcGeotechnicalAssembly"s,"IfcGrid"s,"IfcHeatExchanger"s,"IfcHumidifier"s,"IfcInterceptor"s,"IfcJunctionBox"s,"IfcKerb"s,"IfcLamp"s,"IfcLightFixture"s,"IfcLinearPositioningElement"s,"IfcLiquidTerminal"s,"IfcMedicalDevice"s,"IfcMember"s,"IfcMobileTelecommunicationsAppliance"s,"IfcMooringDevice"s,"IfcMotorConnection"s,"IfcNavigationElement"s,"IfcOuterBoundaryCurve"s,"IfcOutlet"s,"IfcPavement"s,"IfcPile"s,"IfcPipeFitting"s,"IfcPipeSegment"s,"IfcPlate"s,"IfcProtectiveDevice"s,"IfcProtectiveDeviceTrippingUnitType"s,"IfcPump"s,"IfcRail"s,"IfcRailing"s,"IfcRamp"s,"IfcRampFlight"s,"IfcRationalBSplineCurveWithKnots"s,"IfcReinforcedSoil"s,"IfcReinforcingBar"s,"IfcReinforcingBarType"s,"IfcRoof"s,"IfcSanitaryTerminal"s,"IfcSensorType"s,"IfcShadingDevice"s,"IfcSignal"s,"IfcSlab"s,"IfcSolarDevice"s,"IfcSpaceHeater"s,"IfcStackTerminal"s,"IfcStair"s,"IfcStairFlight"s,"IfcStructuralAnalysisModel"s,"IfcStructuralLoadCase"s,"IfcStructuralPlanarAction"s,"IfcSwitchingDevice"s,"IfcTank"s,"IfcTrackElement"s,"IfcTransformer"s,"IfcTransportElement"s,"IfcTubeBundle"s,"IfcUnitaryControlElementType"s,"IfcUnitaryEquipment"s,"IfcValve"s,"IfcWall"s,"IfcWallStandardCase"s,"IfcWasteTerminal"s,"IfcWindow"s,"IfcSpaceBoundarySelect"s,"IfcActuatorType"s,"IfcAirTerminal"s,"IfcAirTerminalBox"s,"IfcAirToAirHeatRecovery"s,"IfcAlarmType"s,"IfcAlignment"s,"IfcAudioVisualAppliance"s,"IfcBeam"s,"IfcBearing"s,"IfcBoiler"s,"IfcBorehole"s,"IfcBuildingElementProxy"s,"IfcBurner"s,"IfcCableCarrierFitting"s,"IfcCableCarrierSegment"s,"IfcCableFitting"s,"IfcCableSegment"s,"IfcCaissonFoundation"s,"IfcChiller"s,"IfcCoil"s,"IfcCommunicationsAppliance"s,"IfcCompressor"s,"IfcCondenser"s,"IfcControllerType"s,"IfcConveyorSegment"s,"IfcCooledBeam"s,"IfcCoolingTower"s,"IfcDamper"s,"IfcDistributionBoard"s,"IfcDistributionChamberElement"s,"IfcDistributionCircuit"s,"IfcDistributionControlElement"s,"IfcDuctFitting"s,"IfcDuctSegment"s,"IfcDuctSilencer"s,"IfcElectricAppliance"s,"IfcElectricDistributionBoard"s,"IfcElectricFlowStorageDevice"s,"IfcElectricFlowTreatmentDevice"s,"IfcElectricGenerator"s,"IfcElectricMotor"s,"IfcElectricTimeControl"s,"IfcFan"s,"IfcFilter"s,"IfcFireSuppressionTerminal"s,"IfcFlowInstrument"s,"IfcGeomodel"s,"IfcGeoslice"s,"IfcProtectiveDeviceTrippingUnit"s,"IfcSensor"s,"IfcUnitaryControlElement"s,"IfcActuator"s,"IfcAlarm"s,"IfcController"s,"PredefinedType"s,"Status"s,"LongDescription"s,"TheActor"s,"Role"s,"UserDefinedRole"s,"Description"s,"Purpose"s,"UserDefinedPurpose"s,"Voids"s,"RailHeadDistance"s,"StartDistAlong"s,"HorizontalLength"s,"StartCantLeft"s,"EndCantLeft"s,"StartCantRight"s,"EndCantRight"s,"StartPoint"s,"StartDirection"s,"StartRadiusOfCurvature"s,"EndRadiusOfCurvature"s,"SegmentLength"s,"GravityCenterLineHeight"s,"StartTag"s,"EndTag"s,"DesignParameters"s,"StartHeight"s,"StartGradient"s,"EndGradient"s,"RadiusOfCurvature"s,"OuterBoundary"s,"InnerBoundaries"s,"ApplicationDeveloper"s,"Version"s,"ApplicationFullName"s,"ApplicationIdentifier"s,"Name"s,"AppliedValue"s,"UnitBasis"s,"ApplicableDate"s,"FixedUntilDate"s,"Category"s,"Condition"s,"ArithmeticOperator"s,"Components"s,"Identifier"s,"TimeOfApproval"s,"Level"s,"Qualifier"s,"RequestingApproval"s,"GivingApproval"s,"RelatingApproval"s,"RelatedApprovals"s,"OuterCurve"s,"Curve"s,"InnerCurves"s,"Identification"s,"OriginalValue"s,"CurrentValue"s,"TotalReplacementCost"s,"Owner"s,"User"s,"ResponsiblePerson"s,"IncorporationDate"s,"DepreciatedValue"s,"BottomFlangeWidth"s,"OverallDepth"s,"WebThickness"s,"BottomFlangeThickness"s,"BottomFlangeFilletRadius"s,"TopFlangeWidth"s,"TopFlangeThickness"s,"TopFlangeFilletRadius"s,"BottomFlangeEdgeRadius"s,"BottomFlangeSlope"s,"TopFlangeEdgeRadius"s,"TopFlangeSlope"s,"Axis"s,"RefDirection"s,"Degree"s,"ControlPointsList"s,"CurveForm"s,"ClosedCurve"s,"SelfIntersect"s,"KnotMultiplicities"s,"Knots"s,"KnotSpec"s,"UDegree"s,"VDegree"s,"SurfaceForm"s,"UClosed"s,"VClosed"s,"UMultiplicities"s,"VMultiplicities"s,"UKnots"s,"VKnots"s,"RasterFormat"s,"RasterCode"s,"XLength"s,"YLength"s,"ZLength"s,"Operator"s,"FirstOperand"s,"SecondOperand"s,"TranslationalStiffnessByLengthX"s,"TranslationalStiffnessByLengthY"s,"TranslationalStiffnessByLengthZ"s,"RotationalStiffnessByLengthX"s,"RotationalStiffnessByLengthY"s,"RotationalStiffnessByLengthZ"s,"TranslationalStiffnessByAreaX"s,"TranslationalStiffnessByAreaY"s,"TranslationalStiffnessByAreaZ"s,"TranslationalStiffnessX"s,"TranslationalStiffnessY"s,"TranslationalStiffnessZ"s,"RotationalStiffnessX"s,"RotationalStiffnessY"s,"RotationalStiffnessZ"s,"WarpingStiffness"s,"Corner"s,"XDim"s,"YDim"s,"ZDim"s,"Enclosure"s,"ElevationOfRefHeight"s,"ElevationOfTerrain"s,"BuildingAddress"s,"Elevation"s,"LongName"s,"Depth"s,"Width"s,"WallThickness"s,"Girth"s,"InternalFilletRadius"s,"Coordinates"s,"CoordList"s,"TagList"s,"Axis1"s,"Axis2"s,"LocalOrigin"s,"Scale"s,"Scale2"s,"Axis3"s,"Scale3"s,"Thickness"s,"Radius"s,"Source"s,"Edition"s,"EditionDate"s,"Specification"s,"ReferenceTokens"s,"ReferencedSource"s,"Sort"s,"ClothoidConstant"s,"Red"s,"Green"s,"Blue"s,"ColourList"s,"UsageName"s,"HasProperties"s,"TemplateType"s,"HasPropertyTemplates"s,"Segments"s,"SameSense"s,"ParentCurve"s,"Profiles"s,"Label"s,"Position"s,"CfsFaces"s,"CurveOnRelatingElement"s,"CurveOnRelatedElement"s,"EccentricityInX"s,"EccentricityInY"s,"EccentricityInZ"s,"PointOnRelatingElement"s,"PointOnRelatedElement"s,"SurfaceOnRelatingElement"s,"SurfaceOnRelatedElement"s,"VolumeOnRelatingElement"s,"VolumeOnRelatedElement"s,"ConstraintGrade"s,"ConstraintSource"s,"CreatingActor"s,"CreationTime"s,"UserDefinedGrade"s,"Usage"s,"BaseCosts"s,"BaseQuantity"s,"ObjectType"s,"Phase"s,"RepresentationContexts"s,"UnitsInContext"s,"ConversionFactor"s,"ConversionOffset"s,"SourceCRS"s,"TargetCRS"s,"GeodeticDatum"s,"VerticalDatum"s,"CosineTerm"s,"ConstantTerm"s,"CostValues"s,"CostQuantities"s,"SubmittedOn"s,"UpdateDate"s,"TreeRootExpression"s,"RelatingMonetaryUnit"s,"RelatedMonetaryUnit"s,"ExchangeRate"s,"RateDateTime"s,"RateSource"s,"BasisSurface"s,"Boundaries"s,"ImplicitOuter"s,"Placement"s,"SegmentStart"s,"CurveFont"s,"CurveWidth"s,"CurveColour"s,"ModelOrDraughting"s,"PatternList"s,"CurveStyleFont"s,"CurveFontScaling"s,"VisibleSegmentLength"s,"InvisibleSegmentLength"s,"ParentProfile"s,"Elements"s,"UnitType"s,"UserDefinedType"s,"Unit"s,"Exponent"s,"LengthExponent"s,"MassExponent"s,"TimeExponent"s,"ElectricCurrentExponent"s,"ThermodynamicTemperatureExponent"s,"AmountOfSubstanceExponent"s,"LuminousIntensityExponent"s,"DirectionRatios"s,"Directrix"s,"StartParam"s,"EndParam"s,"FlowDirection"s,"SystemType"s,"Location"s,"IntendedUse"s,"Scope"s,"Revision"s,"DocumentOwner"s,"Editors"s,"LastRevisionTime"s,"ElectronicFormat"s,"ValidFrom"s,"ValidUntil"s,"Confidentiality"s,"RelatingDocument"s,"RelatedDocuments"s,"RelationshipType"s,"ReferencedDocument"s,"OverallHeight"s,"OverallWidth"s,"OperationType"s,"UserDefinedOperationType"s,"LiningDepth"s,"LiningThickness"s,"ThresholdDepth"s,"ThresholdThickness"s,"TransomThickness"s,"TransomOffset"s,"LiningOffset"s,"ThresholdOffset"s,"CasingThickness"s,"CasingDepth"s,"ShapeAspectStyle"s,"LiningToPanelOffsetX"s,"LiningToPanelOffsetY"s,"PanelDepth"s,"PanelOperation"s,"PanelWidth"s,"PanelPosition"s,"ParameterTakesPrecedence"s,"EdgeStart"s,"EdgeEnd"s,"EdgeGeometry"s,"EdgeList"s,"Tag"s,"AssemblyPlace"s,"MethodOfMeasurement"s,"Quantities"s,"ElementType"s,"SemiAxis1"s,"SemiAxis2"s,"EventTriggerType"s,"UserDefinedEventTriggerType"s,"EventOccurenceTime"s,"ActualDate"s,"EarlyDate"s,"LateDate"s,"ScheduleDate"s,"Properties"s,"RelatingReference"s,"RelatedResourceObjects"s,"ExtrudedDirection"s,"EndSweptArea"s,"Bounds"s,"FbsmFaces"s,"Bound"s,"Orientation"s,"FaceSurface"s,"UsageType"s,"TensionFailureX"s,"TensionFailureY"s,"TensionFailureZ"s,"CompressionFailureX"s,"CompressionFailureY"s,"CompressionFailureZ"s,"FillStyles"s,"HatchLineAppearance"s,"StartOfNextHatchLine"s,"PointOfReferenceHatchLine"s,"PatternStart"s,"HatchLineAngle"s,"TilingPattern"s,"Tiles"s,"TilingScale"s,"FixedReference"s,"CoordinateSpaceDimension"s,"Precision"s,"WorldCoordinateSystem"s,"TrueNorth"s,"ParentContext"s,"TargetScale"s,"TargetView"s,"UserDefinedTargetView"s,"BaseCurve"s,"EndPoint"s,"UAxes"s,"VAxes"s,"WAxes"s,"AxisTag"s,"AxisCurve"s,"PlacementLocation"s,"PlacementRefDirection"s,"BaseSurface"s,"AgreementFlag"s,"FlangeThickness"s,"FilletRadius"s,"FlangeEdgeRadius"s,"FlangeSlope"s,"URLReference"s,"MappedTo"s,"Opacity"s,"Colours"s,"ColourIndex"s,"Points"s,"CoordIndex"s,"InnerCoordIndices"s,"TexCoordIndices"s,"TexCoords"s,"TexCoordIndex"s,"Jurisdiction"s,"ResponsiblePersons"s,"LastUpdateDate"s,"Values"s,"TimeStamp"s,"ListValues"s,"EdgeRadius"s,"LegSlope"s,"LagValue"s,"DurationType"s,"Publisher"s,"VersionDate"s,"Language"s,"ReferencedLibrary"s,"MainPlaneAngle"s,"SecondaryPlaneAngle"s,"LuminousIntensity"s,"LightDistributionCurve"s,"DistributionData"s,"LightColour"s,"AmbientIntensity"s,"Intensity"s,"ColourAppearance"s,"ColourTemperature"s,"LuminousFlux"s,"LightEmissionSource"s,"LightDistributionDataSource"s,"ConstantAttenuation"s,"DistanceAttenuation"s,"QuadricAttenuation"s,"ConcentrationExponent"s,"SpreadAngle"s,"BeamWidthAngle"s,"Pnt"s,"Dir"s,"RelativePlacement"s,"CartesianPosition"s,"Outer"s,"Eastings"s,"Northings"s,"OrthogonalHeight"s,"XAxisAbscissa"s,"XAxisOrdinate"s,"ScaleY"s,"ScaleZ"s,"MappingSource"s,"MappingTarget"s,"MaterialClassifications"s,"ClassifiedMaterial"s,"Material"s,"Fraction"s,"MaterialConstituents"s,"RepresentedMaterial"s,"LayerThickness"s,"IsVentilated"s,"Priority"s,"MaterialLayers"s,"LayerSetName"s,"ForLayerSet"s,"LayerSetDirection"s,"DirectionSense"s,"OffsetFromReferenceLine"s,"ReferenceExtent"s,"OffsetDirection"s,"OffsetValues"s,"Materials"s,"Profile"s,"MaterialProfiles"s,"CompositeProfile"s,"ForProfileSet"s,"CardinalPoint"s,"ForProfileEndSet"s,"CardinalEndPoint"s,"RelatingMaterial"s,"RelatedMaterials"s,"MaterialExpression"s,"ValueComponent"s,"UnitComponent"s,"NominalDiameter"s,"NominalLength"s,"Benchmark"s,"ValueSource"s,"DataValue"s,"ReferencePath"s,"Currency"s,"Dimensions"s,"PlacementRelTo"s,"BenchmarkValues"s,"LogicalAggregator"s,"ObjectiveQualifier"s,"UserDefinedQualifier"s,"BasisCurve"s,"Distance"s,"HorizontalWidths"s,"Widths"s,"Slopes"s,"Tags"s,"OffsetPoint"s,"Roles"s,"Addresses"s,"RelatingOrganization"s,"RelatedOrganizations"s,"EdgeElement"s,"OwningUser"s,"OwningApplication"s,"State"s,"ChangeAction"s,"LastModifiedDate"s,"LastModifyingUser"s,"LastModifyingApplication"s,"CreationDate"s,"ReferenceCurve"s,"LifeCyclePhase"s,"FrameDepth"s,"FrameThickness"s,"FamilyName"s,"GivenName"s,"MiddleNames"s,"PrefixTitles"s,"SuffixTitles"s,"ThePerson"s,"TheOrganization"s,"HasQuantities"s,"Discrimination"s,"Quality"s,"ConstructionType"s,"Height"s,"ColourComponents"s,"Pixel"s,"SizeInX"s,"SizeInY"s,"DistanceAlong"s,"OffsetLateral"s,"OffsetVertical"s,"OffsetLongitudinal"s,"PointParameter"s,"PointParameterU"s,"PointParameterV"s,"Polygon"s,"PolygonalBoundary"s,"Closed"s,"Faces"s,"PnIndex"s,"CoefficientsX"s,"CoefficientsY"s,"CoefficientsZ"s,"InternalLocation"s,"AddressLines"s,"PostalBox"s,"Town"s,"Region"s,"PostalCode"s,"Country"s,"AssignedItems"s,"LayerOn"s,"LayerFrozen"s,"LayerBlocked"s,"LayerStyles"s,"ObjectPlacement"s,"Representation"s,"Representations"s,"ProfileType"s,"ProfileName"s,"ProfileDefinition"s,"MapProjection"s,"MapZone"s,"MapUnit"s,"UpperBoundValue"s,"LowerBoundValue"s,"SetPointValue"s,"DependingProperty"s,"DependantProperty"s,"Expression"s,"EnumerationValues"s,"EnumerationReference"s,"PropertyReference"s,"ApplicableEntity"s,"NominalValue"s,"DefiningValues"s,"DefinedValues"s,"DefiningUnit"s,"DefinedUnit"s,"CurveInterpolation"s,"AreaValue"s,"Formula"s,"CountValue"s,"LengthValue"s,"NumberValue"s,"TimeValue"s,"VolumeValue"s,"WeightValue"s,"WeightsData"s,"InnerFilletRadius"s,"OuterFilletRadius"s,"U1"s,"V1"s,"U2"s,"V2"s,"Usense"s,"Vsense"s,"RecurrenceType"s,"DayComponent"s,"WeekdayComponent"s,"MonthComponent"s,"Interval"s,"Occurrences"s,"TimePeriods"s,"TypeIdentifier"s,"AttributeIdentifier"s,"InstanceName"s,"ListPositions"s,"InnerReference"s,"TimeStep"s,"TotalCrossSectionArea"s,"SteelGrade"s,"BarSurface"s,"EffectiveDepth"s,"NominalBarDiameter"s,"BarCount"s,"DefinitionType"s,"ReinforcementSectionDefinitions"s,"CrossSectionArea"s,"BarLength"s,"BendingShapeCode"s,"BendingParameters"s,"MeshLength"s,"MeshWidth"s,"LongitudinalBarNominalDiameter"s,"TransverseBarNominalDiameter"s,"LongitudinalBarCrossSectionArea"s,"TransverseBarCrossSectionArea"s,"LongitudinalBarSpacing"s,"TransverseBarSpacing"s,"RelatingElement"s,"RelatedSurfaceFeatures"s,"RelatingObject"s,"RelatedObjects"s,"RelatedObjectsType"s,"RelatingActor"s,"ActingRole"s,"RelatingControl"s,"RelatingGroup"s,"Factor"s,"RelatingProcess"s,"QuantityInProcess"s,"RelatingProduct"s,"RelatingResource"s,"RelatingClassification"s,"Intent"s,"RelatingConstraint"s,"RelatingLibrary"s,"RelatingProfileDef"s,"ConnectionGeometry"s,"RelatedElement"s,"RelatingPriorities"s,"RelatedPriorities"s,"RelatedConnectionType"s,"RelatingConnectionType"s,"RelatingPort"s,"RelatedPort"s,"RealizingElement"s,"RelatedStructuralActivity"s,"RelatingStructuralMember"s,"RelatedStructuralConnection"s,"AppliedCondition"s,"AdditionalConditions"s,"SupportedLength"s,"ConditionCoordinateSystem"s,"ConnectionConstraint"s,"RealizingElements"s,"ConnectionType"s,"RelatedElements"s,"RelatingStructure"s,"RelatingBuildingElement"s,"RelatedCoverings"s,"RelatingSpace"s,"RelatingContext"s,"RelatedDefinitions"s,"RelatingPropertyDefinition"s,"RelatedPropertySets"s,"RelatingTemplate"s,"RelatingType"s,"RelatingOpeningElement"s,"RelatedBuildingElement"s,"RelatedControlElements"s,"RelatingFlowElement"s,"InterferenceGeometry"s,"InterferenceType"s,"ImpliedOrder"s,"InterferenceSpace"s,"RelatingPositioningElement"s,"RelatedProducts"s,"RelatedFeatureElement"s,"RelatedProcess"s,"TimeLag"s,"SequenceType"s,"UserDefinedSequenceType"s,"RelatingSystem"s,"RelatedBuildings"s,"PhysicalOrVirtualBoundary"s,"InternalOrExternalBoundary"s,"ParentBoundary"s,"CorrespondingBoundary"s,"RelatedOpeningElement"s,"ParamLength"s,"ContextOfItems"s,"RepresentationIdentifier"s,"RepresentationType"s,"Items"s,"ContextIdentifier"s,"ContextType"s,"MappingOrigin"s,"MappedRepresentation"s,"ScheduleWork"s,"ScheduleUsage"s,"ScheduleStart"s,"ScheduleFinish"s,"ScheduleContour"s,"LevelingDelay"s,"IsOverAllocated"s,"StatusTime"s,"ActualWork"s,"ActualUsage"s,"ActualStart"s,"ActualFinish"s,"RemainingWork"s,"RemainingUsage"s,"Completion"s,"Angle"s,"BottomRadius"s,"GlobalId"s,"OwnerHistory"s,"RoundingRadius"s,"Prefix"s,"DataOrigin"s,"UserDefinedDataOrigin"s,"QuadraticTerm"s,"LinearTerm"s,"SectionType"s,"StartProfile"s,"EndProfile"s,"LongitudinalStartPosition"s,"LongitudinalEndPosition"s,"TransversePosition"s,"ReinforcementRole"s,"SectionDefinition"s,"CrossSectionReinforcementDefinitions"s,"CrossSections"s,"CrossSectionPositions"s,"SpineCurve"s,"Transition"s,"SepticTerm"s,"SexticTerm"s,"QuinticTerm"s,"QuarticTerm"s,"CubicTerm"s,"ShapeRepresentations"s,"ProductDefinitional"s,"PartOfProductDefinitionShape"s,"SbsmBoundary"s,"PrimaryMeasureType"s,"SecondaryMeasureType"s,"Enumerators"s,"PrimaryUnit"s,"SecondaryUnit"s,"AccessState"s,"SineTerm"s,"RefLatitude"s,"RefLongitude"s,"RefElevation"s,"LandTitleNumber"s,"SiteAddress"s,"SlippageX"s,"SlippageY"s,"SlippageZ"s,"ElevationWithFlooring"s,"CompositionType"s,"NumberOfRisers"s,"NumberOfTreads"s,"RiserHeight"s,"TreadLength"s,"DestabilizingLoad"s,"AppliedLoad"s,"GlobalOrLocal"s,"OrientationOf2DPlane"s,"LoadedBy"s,"HasResults"s,"SharedPlacement"s,"ProjectedOrTrue"s,"AxisDirection"s,"SelfWeightCoefficients"s,"Locations"s,"ActionType"s,"ActionSource"s,"Coefficient"s,"LinearForceX"s,"LinearForceY"s,"LinearForceZ"s,"LinearMomentX"s,"LinearMomentY"s,"LinearMomentZ"s,"PlanarForceX"s,"PlanarForceY"s,"PlanarForceZ"s,"DisplacementX"s,"DisplacementY"s,"DisplacementZ"s,"RotationalDisplacementRX"s,"RotationalDisplacementRY"s,"RotationalDisplacementRZ"s,"Distortion"s,"ForceX"s,"ForceY"s,"ForceZ"s,"MomentX"s,"MomentY"s,"MomentZ"s,"WarpingMoment"s,"DeltaTConstant"s,"DeltaTY"s,"DeltaTZ"s,"TheoryType"s,"ResultForLoadGroup"s,"IsLinear"s,"Item"s,"Styles"s,"ParentEdge"s,"Curve3D"s,"AssociatedGeometry"s,"MasterRepresentation"s,"ReferenceSurface"s,"AxisPosition"s,"SurfaceReinforcement1"s,"SurfaceReinforcement2"s,"ShearReinforcement"s,"Side"s,"DiffuseTransmissionColour"s,"DiffuseReflectionColour"s,"TransmissionColour"s,"ReflectanceColour"s,"RefractionIndex"s,"DispersionFactor"s,"DiffuseColour"s,"ReflectionColour"s,"SpecularColour"s,"SpecularHighlight"s,"ReflectanceMethod"s,"SurfaceColour"s,"Transparency"s,"Textures"s,"RepeatS"s,"RepeatT"s,"Mode"s,"TextureTransform"s,"Parameter"s,"SweptArea"s,"InnerRadius"s,"SweptCurve"s,"FlangeWidth"s,"WebEdgeRadius"s,"WebSlope"s,"Rows"s,"Columns"s,"RowCells"s,"IsHeading"s,"WorkMethod"s,"IsMilestone"s,"TaskTime"s,"ScheduleDuration"s,"EarlyStart"s,"EarlyFinish"s,"LateStart"s,"LateFinish"s,"FreeFloat"s,"TotalFloat"s,"IsCritical"s,"ActualDuration"s,"RemainingTime"s,"Recurrence"s,"TelephoneNumbers"s,"FacsimileNumbers"s,"PagerNumber"s,"ElectronicMailAddresses"s,"WWWHomePageURL"s,"MessagingIDs"s,"TensionForce"s,"PreStress"s,"FrictionCoefficient"s,"AnchorageSlip"s,"MinCurvatureRadius"s,"SheathDiameter"s,"Literal"s,"Path"s,"Extent"s,"BoxAlignment"s,"TextCharacterAppearance"s,"TextStyle"s,"TextFontStyle"s,"FontFamily"s,"FontStyle"s,"FontVariant"s,"FontWeight"s,"FontSize"s,"Colour"s,"BackgroundColour"s,"TextIndent"s,"TextAlign"s,"TextDecoration"s,"LetterSpacing"s,"WordSpacing"s,"TextTransform"s,"LineHeight"s,"Maps"s,"TexCoordsOf"s,"InnerTexCoordIndices"s,"Vertices"s,"TexCoordsList"s,"StartTime"s,"EndTime"s,"TimeSeriesDataType"s,"MajorRadius"s,"MinorRadius"s,"BottomXDim"s,"TopXDim"s,"TopXOffset"s,"Normals"s,"Flags"s,"Trim1"s,"Trim2"s,"SenseAgreement"s,"ApplicableOccurrence"s,"HasPropertySets"s,"ProcessType"s,"RepresentationMaps"s,"ResourceType"s,"Units"s,"Magnitude"s,"LoopVertex"s,"VertexGeometry"s,"IntersectingAxes"s,"OffsetDistances"s,"PartitioningType"s,"UserDefinedPartitioningType"s,"MullionThickness"s,"FirstTransomOffset"s,"SecondTransomOffset"s,"FirstMullionOffset"s,"SecondMullionOffset"s,"WorkingTimes"s,"ExceptionTimes"s,"Creators"s,"Duration"s,"FinishTime"s,"RecurrencePattern"s,"StartDate"s,"FinishDate"s,"IsActingUpon"s,"HasExternalReference"s,"OfPerson"s,"OfOrganization"s,"ContainedInStructure"s,"HasExternalReferences"s,"ApprovedObjects"s,"ApprovedResources"s,"IsRelatedWith"s,"Relates"s,"ClassificationForObjects"s,"HasReferences"s,"ClassificationRefForObjects"s,"PropertiesForConstraint"s,"IsDefinedBy"s,"Declares"s,"Controls"s,"HasCoordinateOperation"s,"CoversSpaces"s,"CoversElements"s,"AssignedToFlowElement"s,"HasPorts"s,"HasControlElements"s,"DocumentInfoForObjects"s,"HasDocumentReferences"s,"IsPointedTo"s,"IsPointer"s,"DocumentRefForObjects"s,"FillsVoids"s,"ConnectedTo"s,"IsInterferedByElements"s,"InterferesElements"s,"HasProjections"s,"HasOpenings"s,"IsConnectionRealization"s,"ProvidesBoundaries"s,"ConnectedFrom"s,"HasCoverings"s,"HasSurfaceFeatures"s,"ExternalReferenceForResources"s,"BoundedBy"s,"HasTextureMaps"s,"ProjectsElements"s,"VoidsElements"s,"HasSubContexts"s,"PartOfW"s,"PartOfV"s,"PartOfU"s,"HasIntersections"s,"IsGroupedBy"s,"ReferencedInStructures"s,"ToFaceSet"s,"HasTexCoords"s,"LibraryInfoForObjects"s,"HasLibraryReferences"s,"LibraryRefForObjects"s,"HasRepresentation"s,"RelatesTo"s,"ToMaterialConstituentSet"s,"AssociatedTo"s,"ToMaterialLayerSet"s,"ToMaterialProfileSet"s,"IsDeclaredBy"s,"IsTypedBy"s,"HasAssignments"s,"Nests"s,"IsNestedBy"s,"HasContext"s,"IsDecomposedBy"s,"Decomposes"s,"HasAssociations"s,"PlacesObject"s,"ReferencedByPlacements"s,"HasFillings"s,"IsRelatedBy"s,"Engages"s,"EngagedIn"s,"PartOfComplex"s,"ContainedIn"s,"Positions"s,"IsPredecessorTo"s,"IsSuccessorFrom"s,"OperatesOn"s,"ReferencedBy"s,"PositionedRelativeTo"s,"ShapeOfProduct"s,"HasShapeAspects"s,"PartOfPset"s,"PropertyForDependance"s,"PropertyDependsOn"s,"HasConstraints"s,"HasApprovals"s,"DefinesType"s,"DefinesOccurrence"s,"Defines"s,"PartOfComplexTemplate"s,"PartOfPsetTemplate"s,"Corresponds"s,"RepresentationMap"s,"LayerAssignments"s,"OfProductRepresentation"s,"RepresentationsInContext"s,"LayerAssignment"s,"StyledByItem"s,"MapUsage"s,"ResourceOf"s,"UsingCurves"s,"OfShapeAspect"s,"ContainsElements"s,"ServicedBySystems"s,"ReferencesElements"s,"AssignedToStructuralItem"s,"ConnectsStructuralMembers"s,"AssignedStructuralActivity"s,"SourceOfResultGroup"s,"LoadGroupFor"s,"ConnectedBy"s,"ResultGroupFor"s,"AdheresToElement"s,"IsMappedBy"s,"UsedInStyles"s,"ServicesBuildings"s,"ServicesFacilities"s,"HasColours"s,"HasTextures"s,"ToTexMap"s,"Types"s,"IFC4X3_TC1"s}; diff --git a/src/ifcparse/schemas/Ifc4x3_tc1.cpp b/src/ifcparse/schemas/Ifc4x3_tc1.cpp index 33f38f3afa..c23275f8f1 100644 --- a/src/ifcparse/schemas/Ifc4x3_tc1.cpp +++ b/src/ifcparse/schemas/Ifc4x3_tc1.cpp @@ -25,34 +25,34 @@ ********************************************************************************/ #include "../../ifcparse/schemas/Ifc4x3_tc1.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/IfcFile.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/file.h" #include const char* const Ifc4x3_tc1::Identifier = "IFC4X3_TC1"; -using namespace IfcParse; +using namespace ifcopenshell; // External definitions extern declaration* IFC4X3_TC1_types[1307]; -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcActionRequestTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[3]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcActionRequestTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[3]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionRequestTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[3]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionRequestTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[3]); } /* -Ifc4x3_tc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcActionRequestTypeEnum::IfcActionRequestTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -65,23 +65,23 @@ Ifc4x3_tc1::IfcActionRequestTypeEnum::Value Ifc4x3_tc1::IfcActionRequestTypeEnum } Ifc4x3_tc1::IfcActionRequestTypeEnum::operator Ifc4x3_tc1::IfcActionRequestTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcActionRequestTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcActionRequestTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcActionSourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[4]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcActionSourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[4]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionSourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[4]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionSourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[4]); } /* -Ifc4x3_tc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcActionSourceTypeEnum::IfcActionSourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -94,23 +94,23 @@ Ifc4x3_tc1::IfcActionSourceTypeEnum::Value Ifc4x3_tc1::IfcActionSourceTypeEnum:: } Ifc4x3_tc1::IfcActionSourceTypeEnum::operator Ifc4x3_tc1::IfcActionSourceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcActionSourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcActionSourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcActionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[5]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcActionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[5]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[5]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[5]); } /* -Ifc4x3_tc1::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcActionTypeEnum::IfcActionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcActionTypeEnum::IfcActionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcActionTypeEnum::IfcActionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -123,23 +123,23 @@ Ifc4x3_tc1::IfcActionTypeEnum::Value Ifc4x3_tc1::IfcActionTypeEnum::FromString(c } Ifc4x3_tc1::IfcActionTypeEnum::operator Ifc4x3_tc1::IfcActionTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcActionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcActionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcActuatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[11]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcActuatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[11]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActuatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[11]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcActuatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[11]); } /* -Ifc4x3_tc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcActuatorTypeEnum::IfcActuatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -152,23 +152,23 @@ Ifc4x3_tc1::IfcActuatorTypeEnum::Value Ifc4x3_tc1::IfcActuatorTypeEnum::FromStri } Ifc4x3_tc1::IfcActuatorTypeEnum::operator Ifc4x3_tc1::IfcActuatorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcActuatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcActuatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAddressTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[13]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAddressTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[13]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAddressTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[13]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAddressTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[13]); } /* -Ifc4x3_tc1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAddressTypeEnum::IfcAddressTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAddressTypeEnum::IfcAddressTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -181,23 +181,23 @@ Ifc4x3_tc1::IfcAddressTypeEnum::Value Ifc4x3_tc1::IfcAddressTypeEnum::FromString } Ifc4x3_tc1::IfcAddressTypeEnum::operator Ifc4x3_tc1::IfcAddressTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAddressTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAddressTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[20]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[20]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[20]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[20]); } /* -Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::IfcAirTerminalBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -210,23 +210,23 @@ Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_tc1::IfcAirTerminalBoxTypeEn } Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::operator Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAirTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[22]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[22]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[22]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[22]); } /* -Ifc4x3_tc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAirTerminalTypeEnum::IfcAirTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -239,23 +239,23 @@ Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value Ifc4x3_tc1::IfcAirTerminalTypeEnum::Fr } Ifc4x3_tc1::IfcAirTerminalTypeEnum::operator Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[25]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[25]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[25]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[25]); } /* -Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::IfcAirToAirHeatRecoveryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -268,23 +268,23 @@ Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_tc1::IfcAirToAirHeatRe } Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::operator Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlarmTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[28]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlarmTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[28]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlarmTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[28]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlarmTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[28]); } /* -Ifc4x3_tc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAlarmTypeEnum::IfcAlarmTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -297,23 +297,23 @@ Ifc4x3_tc1::IfcAlarmTypeEnum::Value Ifc4x3_tc1::IfcAlarmTypeEnum::FromString(con } Ifc4x3_tc1::IfcAlarmTypeEnum::operator Ifc4x3_tc1::IfcAlarmTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAlarmTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAlarmTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[32]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[32]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[32]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[32]); } /* -Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::IfcAlignmentCantSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -326,23 +326,23 @@ Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentCantS } Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::operator Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[35]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[35]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[35]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[35]); } /* -Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::IfcAlignmentHorizontalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -355,23 +355,23 @@ Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmen } Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::operator Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlignmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[38]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlignmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[38]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[38]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[38]); } /* -Ifc4x3_tc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAlignmentTypeEnum::IfcAlignmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -384,23 +384,23 @@ Ifc4x3_tc1::IfcAlignmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentTypeEnum::FromSt } Ifc4x3_tc1::IfcAlignmentTypeEnum::operator Ifc4x3_tc1::IfcAlignmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAlignmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAlignmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[41]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[41]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[41]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[41]); } /* -Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::IfcAlignmentVerticalSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -413,23 +413,23 @@ Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentV } Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::operator Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAnalysisModelTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[43]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[43]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnalysisModelTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[43]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[43]); } /* -Ifc4x3_tc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAnalysisModelTypeEnum::IfcAnalysisModelTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -442,23 +442,23 @@ Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value Ifc4x3_tc1::IfcAnalysisModelTypeEnum } Ifc4x3_tc1::IfcAnalysisModelTypeEnum::operator Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[44]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[44]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[44]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[44]); } /* -Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::IfcAnalysisTheoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -471,23 +471,23 @@ Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_tc1::IfcAnalysisTheoryTypeEn } Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::operator Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAnnotationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[48]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAnnotationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[48]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnnotationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[48]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAnnotationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[48]); } /* -Ifc4x3_tc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAnnotationTypeEnum::IfcAnnotationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -500,23 +500,23 @@ Ifc4x3_tc1::IfcAnnotationTypeEnum::Value Ifc4x3_tc1::IfcAnnotationTypeEnum::From } Ifc4x3_tc1::IfcAnnotationTypeEnum::operator Ifc4x3_tc1::IfcAnnotationTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAnnotationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAnnotationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcArithmeticOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[60]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[60]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcArithmeticOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[60]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[60]); } /* -Ifc4x3_tc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcArithmeticOperatorEnum::IfcArithmeticOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -529,23 +529,23 @@ Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value Ifc4x3_tc1::IfcArithmeticOperatorEn } Ifc4x3_tc1::IfcArithmeticOperatorEnum::operator Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value() const { - return (Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAssemblyPlaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[61]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[61]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAssemblyPlaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[61]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[61]); } /* -Ifc4x3_tc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAssemblyPlaceEnum::IfcAssemblyPlaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -558,23 +558,23 @@ Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value Ifc4x3_tc1::IfcAssemblyPlaceEnum::FromSt } Ifc4x3_tc1::IfcAssemblyPlaceEnum::operator Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value() const { - return (Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[66]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[66]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[66]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[66]); } /* -Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::IfcAudioVisualApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -587,23 +587,23 @@ Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_tc1::IfcAudioVisualApp } Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::operator Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBSplineCurveForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[108]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBSplineCurveForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[108]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBSplineCurveForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[108]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBSplineCurveForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[108]); } /* -Ifc4x3_tc1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBSplineCurveForm::IfcBSplineCurveForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBSplineCurveForm::IfcBSplineCurveForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -616,23 +616,23 @@ Ifc4x3_tc1::IfcBSplineCurveForm::Value Ifc4x3_tc1::IfcBSplineCurveForm::FromStri } Ifc4x3_tc1::IfcBSplineCurveForm::operator Ifc4x3_tc1::IfcBSplineCurveForm::Value() const { - return (Ifc4x3_tc1::IfcBSplineCurveForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBSplineCurveForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBSplineSurfaceForm::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[111]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBSplineSurfaceForm::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[111]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBSplineSurfaceForm::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[111]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBSplineSurfaceForm::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[111]); } /* -Ifc4x3_tc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBSplineSurfaceForm::IfcBSplineSurfaceForm(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -645,23 +645,23 @@ Ifc4x3_tc1::IfcBSplineSurfaceForm::Value Ifc4x3_tc1::IfcBSplineSurfaceForm::From } Ifc4x3_tc1::IfcBSplineSurfaceForm::operator Ifc4x3_tc1::IfcBSplineSurfaceForm::Value() const { - return (Ifc4x3_tc1::IfcBSplineSurfaceForm::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBSplineSurfaceForm::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[74]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[74]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[74]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[74]); } /* -Ifc4x3_tc1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBeamTypeEnum::IfcBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBeamTypeEnum::IfcBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -674,23 +674,23 @@ Ifc4x3_tc1::IfcBeamTypeEnum::Value Ifc4x3_tc1::IfcBeamTypeEnum::FromString(const } Ifc4x3_tc1::IfcBeamTypeEnum::operator Ifc4x3_tc1::IfcBeamTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBearingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[77]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBearingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[77]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBearingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[77]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBearingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[77]); } /* -Ifc4x3_tc1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBearingTypeEnum::IfcBearingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBearingTypeEnum::IfcBearingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -703,23 +703,23 @@ Ifc4x3_tc1::IfcBearingTypeEnum::Value Ifc4x3_tc1::IfcBearingTypeEnum::FromString } Ifc4x3_tc1::IfcBearingTypeEnum::operator Ifc4x3_tc1::IfcBearingTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBearingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBearingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBenchmarkEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[78]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBenchmarkEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[78]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBenchmarkEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[78]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBenchmarkEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[78]); } /* -Ifc4x3_tc1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBenchmarkEnum::IfcBenchmarkEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBenchmarkEnum::IfcBenchmarkEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -732,23 +732,23 @@ Ifc4x3_tc1::IfcBenchmarkEnum::Value Ifc4x3_tc1::IfcBenchmarkEnum::FromString(con } Ifc4x3_tc1::IfcBenchmarkEnum::operator Ifc4x3_tc1::IfcBenchmarkEnum::Value() const { - return (Ifc4x3_tc1::IfcBenchmarkEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBenchmarkEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBoilerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[85]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBoilerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[85]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBoilerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[85]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBoilerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[85]); } /* -Ifc4x3_tc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBoilerTypeEnum::IfcBoilerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -761,23 +761,23 @@ Ifc4x3_tc1::IfcBoilerTypeEnum::Value Ifc4x3_tc1::IfcBoilerTypeEnum::FromString(c } Ifc4x3_tc1::IfcBoilerTypeEnum::operator Ifc4x3_tc1::IfcBoilerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBoilerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBoilerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBooleanOperator::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[89]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBooleanOperator::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[89]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBooleanOperator::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[89]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBooleanOperator::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[89]); } /* -Ifc4x3_tc1::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBooleanOperator::IfcBooleanOperator(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBooleanOperator::IfcBooleanOperator(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBooleanOperator::IfcBooleanOperator(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -790,23 +790,23 @@ Ifc4x3_tc1::IfcBooleanOperator::Value Ifc4x3_tc1::IfcBooleanOperator::FromString } Ifc4x3_tc1::IfcBooleanOperator::operator Ifc4x3_tc1::IfcBooleanOperator::Value() const { - return (Ifc4x3_tc1::IfcBooleanOperator::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBooleanOperator::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBridgePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[105]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBridgePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[105]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBridgePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[105]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBridgePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[105]); } /* -Ifc4x3_tc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBridgePartTypeEnum::IfcBridgePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -819,23 +819,23 @@ Ifc4x3_tc1::IfcBridgePartTypeEnum::Value Ifc4x3_tc1::IfcBridgePartTypeEnum::From } Ifc4x3_tc1::IfcBridgePartTypeEnum::operator Ifc4x3_tc1::IfcBridgePartTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBridgePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBridgePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBridgeTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[106]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBridgeTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[106]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBridgeTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[106]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBridgeTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[106]); } /* -Ifc4x3_tc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBridgeTypeEnum::IfcBridgeTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -848,23 +848,23 @@ Ifc4x3_tc1::IfcBridgeTypeEnum::Value Ifc4x3_tc1::IfcBridgeTypeEnum::FromString(c } Ifc4x3_tc1::IfcBridgeTypeEnum::operator Ifc4x3_tc1::IfcBridgeTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBridgeTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBridgeTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[116]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[116]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[116]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[116]); } /* -Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::IfcBuildingElementPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -877,23 +877,23 @@ Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value Ifc4x3_tc1::IfcBuildingElement } Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::operator Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[119]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[119]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[119]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[119]); } /* -Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::IfcBuildingElementProxyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -906,23 +906,23 @@ Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_tc1::IfcBuildingElemen } Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::operator Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBuildingSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[122]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[122]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[122]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[122]); } /* -Ifc4x3_tc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBuildingSystemTypeEnum::IfcBuildingSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -935,23 +935,23 @@ Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value Ifc4x3_tc1::IfcBuildingSystemTypeEn } Ifc4x3_tc1::IfcBuildingSystemTypeEnum::operator Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBuiltSystemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[126]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[126]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuiltSystemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[126]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[126]); } /* -Ifc4x3_tc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBuiltSystemTypeEnum::IfcBuiltSystemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -964,23 +964,23 @@ Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Fr } Ifc4x3_tc1::IfcBuiltSystemTypeEnum::operator Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBurnerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[129]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcBurnerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[129]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBurnerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[129]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcBurnerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[129]); } /* -Ifc4x3_tc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcBurnerTypeEnum::IfcBurnerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -993,23 +993,23 @@ Ifc4x3_tc1::IfcBurnerTypeEnum::Value Ifc4x3_tc1::IfcBurnerTypeEnum::FromString(c } Ifc4x3_tc1::IfcBurnerTypeEnum::operator Ifc4x3_tc1::IfcBurnerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcBurnerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcBurnerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[132]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[132]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[132]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[132]); } /* -Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::IfcCableCarrierFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1022,23 +1022,23 @@ Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_tc1::IfcCableCarrierFit } Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::operator Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[135]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[135]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[135]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[135]); } /* -Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::IfcCableCarrierSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1051,23 +1051,23 @@ Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_tc1::IfcCableCarrierSeg } Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::operator Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCableFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[138]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCableFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[138]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[138]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[138]); } /* -Ifc4x3_tc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCableFittingTypeEnum::IfcCableFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1080,23 +1080,23 @@ Ifc4x3_tc1::IfcCableFittingTypeEnum::Value Ifc4x3_tc1::IfcCableFittingTypeEnum:: } Ifc4x3_tc1::IfcCableFittingTypeEnum::operator Ifc4x3_tc1::IfcCableFittingTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCableFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCableFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCableSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[141]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[141]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[141]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[141]); } /* -Ifc4x3_tc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCableSegmentTypeEnum::IfcCableSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1109,23 +1109,23 @@ Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value Ifc4x3_tc1::IfcCableSegmentTypeEnum:: } Ifc4x3_tc1::IfcCableSegmentTypeEnum::operator Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[144]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[144]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[144]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[144]); } /* -Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::IfcCaissonFoundationTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1138,23 +1138,23 @@ Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value Ifc4x3_tc1::IfcCaissonFoundation } Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::operator Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcChangeActionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[156]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcChangeActionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[156]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChangeActionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[156]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChangeActionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[156]); } /* -Ifc4x3_tc1::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcChangeActionEnum::IfcChangeActionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcChangeActionEnum::IfcChangeActionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcChangeActionEnum::IfcChangeActionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1167,23 +1167,23 @@ Ifc4x3_tc1::IfcChangeActionEnum::Value Ifc4x3_tc1::IfcChangeActionEnum::FromStri } Ifc4x3_tc1::IfcChangeActionEnum::operator Ifc4x3_tc1::IfcChangeActionEnum::Value() const { - return (Ifc4x3_tc1::IfcChangeActionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcChangeActionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcChillerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[159]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcChillerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[159]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChillerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[159]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChillerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[159]); } /* -Ifc4x3_tc1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcChillerTypeEnum::IfcChillerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcChillerTypeEnum::IfcChillerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1196,23 +1196,23 @@ Ifc4x3_tc1::IfcChillerTypeEnum::Value Ifc4x3_tc1::IfcChillerTypeEnum::FromString } Ifc4x3_tc1::IfcChillerTypeEnum::operator Ifc4x3_tc1::IfcChillerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcChillerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcChillerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcChimneyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[162]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcChimneyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[162]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChimneyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[162]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcChimneyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[162]); } /* -Ifc4x3_tc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcChimneyTypeEnum::IfcChimneyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1225,23 +1225,23 @@ Ifc4x3_tc1::IfcChimneyTypeEnum::Value Ifc4x3_tc1::IfcChimneyTypeEnum::FromString } Ifc4x3_tc1::IfcChimneyTypeEnum::operator Ifc4x3_tc1::IfcChimneyTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcChimneyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcChimneyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[176]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[176]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[176]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[176]); } /* -Ifc4x3_tc1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCoilTypeEnum::IfcCoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCoilTypeEnum::IfcCoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1254,23 +1254,23 @@ Ifc4x3_tc1::IfcCoilTypeEnum::Value Ifc4x3_tc1::IfcCoilTypeEnum::FromString(const } Ifc4x3_tc1::IfcCoilTypeEnum::operator Ifc4x3_tc1::IfcCoilTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcColumnTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[184]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcColumnTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[184]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcColumnTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[184]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcColumnTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[184]); } /* -Ifc4x3_tc1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcColumnTypeEnum::IfcColumnTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcColumnTypeEnum::IfcColumnTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1283,23 +1283,23 @@ Ifc4x3_tc1::IfcColumnTypeEnum::Value Ifc4x3_tc1::IfcColumnTypeEnum::FromString(c } Ifc4x3_tc1::IfcColumnTypeEnum::operator Ifc4x3_tc1::IfcColumnTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcColumnTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcColumnTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[187]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[187]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[187]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[187]); } /* -Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::IfcCommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1312,23 +1312,23 @@ Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_tc1::IfcCommunicati } Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::operator Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[191]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[191]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[191]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[191]); } /* -Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::IfcComplexPropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1341,23 +1341,23 @@ Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value Ifc4x3_tc1::IfcComplexProp } Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::operator Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCompressorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[199]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCompressorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[199]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCompressorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[199]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCompressorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[199]); } /* -Ifc4x3_tc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCompressorTypeEnum::IfcCompressorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1370,23 +1370,23 @@ Ifc4x3_tc1::IfcCompressorTypeEnum::Value Ifc4x3_tc1::IfcCompressorTypeEnum::From } Ifc4x3_tc1::IfcCompressorTypeEnum::operator Ifc4x3_tc1::IfcCompressorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCompressorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCompressorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCondenserTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[202]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCondenserTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[202]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCondenserTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[202]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCondenserTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[202]); } /* -Ifc4x3_tc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCondenserTypeEnum::IfcCondenserTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1399,23 +1399,23 @@ Ifc4x3_tc1::IfcCondenserTypeEnum::Value Ifc4x3_tc1::IfcCondenserTypeEnum::FromSt } Ifc4x3_tc1::IfcCondenserTypeEnum::operator Ifc4x3_tc1::IfcCondenserTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCondenserTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCondenserTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[210]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[210]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[210]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[210]); } /* -Ifc4x3_tc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcConnectionTypeEnum::IfcConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1428,23 +1428,23 @@ Ifc4x3_tc1::IfcConnectionTypeEnum::Value Ifc4x3_tc1::IfcConnectionTypeEnum::From } Ifc4x3_tc1::IfcConnectionTypeEnum::operator Ifc4x3_tc1::IfcConnectionTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConstraintEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[213]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConstraintEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[213]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstraintEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[213]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstraintEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[213]); } /* -Ifc4x3_tc1::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcConstraintEnum::IfcConstraintEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcConstraintEnum::IfcConstraintEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcConstraintEnum::IfcConstraintEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1457,23 +1457,23 @@ Ifc4x3_tc1::IfcConstraintEnum::Value Ifc4x3_tc1::IfcConstraintEnum::FromString(c } Ifc4x3_tc1::IfcConstraintEnum::operator Ifc4x3_tc1::IfcConstraintEnum::Value() const { - return (Ifc4x3_tc1::IfcConstraintEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcConstraintEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[216]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[216]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[216]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[216]); } /* -Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::IfcConstructionEquipmentResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1486,23 +1486,23 @@ Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_tc1::IfcConst } Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::operator Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[219]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[219]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[219]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[219]); } /* -Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::IfcConstructionMaterialResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1515,23 +1515,23 @@ Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_tc1::IfcConstr } Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::operator Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[222]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[222]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[222]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[222]); } /* -Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::IfcConstructionProductResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1544,23 +1544,23 @@ Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_tc1::IfcConstru } Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::operator Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcControllerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[231]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcControllerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[231]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcControllerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[231]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcControllerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[231]); } /* -Ifc4x3_tc1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcControllerTypeEnum::IfcControllerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcControllerTypeEnum::IfcControllerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1573,23 +1573,23 @@ Ifc4x3_tc1::IfcControllerTypeEnum::Value Ifc4x3_tc1::IfcControllerTypeEnum::From } Ifc4x3_tc1::IfcControllerTypeEnum::operator Ifc4x3_tc1::IfcControllerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcControllerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcControllerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[236]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[236]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[236]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[236]); } /* -Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::IfcConveyorSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1602,23 +1602,23 @@ Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value Ifc4x3_tc1::IfcConveyorSegmentType } Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::operator Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCooledBeamTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[239]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[239]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCooledBeamTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[239]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[239]); } /* -Ifc4x3_tc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCooledBeamTypeEnum::IfcCooledBeamTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1631,23 +1631,23 @@ Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value Ifc4x3_tc1::IfcCooledBeamTypeEnum::From } Ifc4x3_tc1::IfcCooledBeamTypeEnum::operator Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCoolingTowerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[242]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[242]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoolingTowerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[242]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[242]); } /* -Ifc4x3_tc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCoolingTowerTypeEnum::IfcCoolingTowerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1660,23 +1660,23 @@ Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value Ifc4x3_tc1::IfcCoolingTowerTypeEnum:: } Ifc4x3_tc1::IfcCoolingTowerTypeEnum::operator Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCostItemTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[248]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCostItemTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[248]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCostItemTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[248]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCostItemTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[248]); } /* -Ifc4x3_tc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCostItemTypeEnum::IfcCostItemTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1689,23 +1689,23 @@ Ifc4x3_tc1::IfcCostItemTypeEnum::Value Ifc4x3_tc1::IfcCostItemTypeEnum::FromStri } Ifc4x3_tc1::IfcCostItemTypeEnum::operator Ifc4x3_tc1::IfcCostItemTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCostItemTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCostItemTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCostScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[250]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCostScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[250]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCostScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[250]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCostScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[250]); } /* -Ifc4x3_tc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCostScheduleTypeEnum::IfcCostScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1718,23 +1718,23 @@ Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value Ifc4x3_tc1::IfcCostScheduleTypeEnum:: } Ifc4x3_tc1::IfcCostScheduleTypeEnum::operator Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCourseTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[255]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCourseTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[255]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCourseTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[255]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCourseTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[255]); } /* -Ifc4x3_tc1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCourseTypeEnum::IfcCourseTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCourseTypeEnum::IfcCourseTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1747,23 +1747,23 @@ Ifc4x3_tc1::IfcCourseTypeEnum::Value Ifc4x3_tc1::IfcCourseTypeEnum::FromString(c } Ifc4x3_tc1::IfcCourseTypeEnum::operator Ifc4x3_tc1::IfcCourseTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCourseTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCourseTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCoveringTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[258]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCoveringTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[258]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoveringTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[258]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCoveringTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[258]); } /* -Ifc4x3_tc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCoveringTypeEnum::IfcCoveringTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1776,23 +1776,23 @@ Ifc4x3_tc1::IfcCoveringTypeEnum::Value Ifc4x3_tc1::IfcCoveringTypeEnum::FromStri } Ifc4x3_tc1::IfcCoveringTypeEnum::operator Ifc4x3_tc1::IfcCoveringTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCoveringTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCoveringTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCrewResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[261]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[261]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCrewResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[261]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[261]); } /* -Ifc4x3_tc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCrewResourceTypeEnum::IfcCrewResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1805,23 +1805,23 @@ Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value Ifc4x3_tc1::IfcCrewResourceTypeEnum:: } Ifc4x3_tc1::IfcCrewResourceTypeEnum::operator Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCurtainWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[269]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[269]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCurtainWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[269]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[269]); } /* -Ifc4x3_tc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCurtainWallTypeEnum::IfcCurtainWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1834,23 +1834,23 @@ Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value Ifc4x3_tc1::IfcCurtainWallTypeEnum::Fr } Ifc4x3_tc1::IfcCurtainWallTypeEnum::operator Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCurveInterpolationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[275]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcCurveInterpolationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[275]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCurveInterpolationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[275]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcCurveInterpolationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[275]); } /* -Ifc4x3_tc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcCurveInterpolationEnum::IfcCurveInterpolationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1863,23 +1863,23 @@ Ifc4x3_tc1::IfcCurveInterpolationEnum::Value Ifc4x3_tc1::IfcCurveInterpolationEn } Ifc4x3_tc1::IfcCurveInterpolationEnum::operator Ifc4x3_tc1::IfcCurveInterpolationEnum::Value() const { - return (Ifc4x3_tc1::IfcCurveInterpolationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcCurveInterpolationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[288]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[288]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[288]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[288]); } /* -Ifc4x3_tc1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDamperTypeEnum::IfcDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDamperTypeEnum::IfcDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1892,23 +1892,23 @@ Ifc4x3_tc1::IfcDamperTypeEnum::Value Ifc4x3_tc1::IfcDamperTypeEnum::FromString(c } Ifc4x3_tc1::IfcDamperTypeEnum::operator Ifc4x3_tc1::IfcDamperTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDataOriginEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[289]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDataOriginEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[289]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDataOriginEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[289]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDataOriginEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[289]); } /* -Ifc4x3_tc1::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDataOriginEnum::IfcDataOriginEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDataOriginEnum::IfcDataOriginEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDataOriginEnum::IfcDataOriginEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1921,23 +1921,23 @@ Ifc4x3_tc1::IfcDataOriginEnum::Value Ifc4x3_tc1::IfcDataOriginEnum::FromString(c } Ifc4x3_tc1::IfcDataOriginEnum::operator Ifc4x3_tc1::IfcDataOriginEnum::Value() const { - return (Ifc4x3_tc1::IfcDataOriginEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDataOriginEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDerivedUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[301]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDerivedUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[301]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDerivedUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[301]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDerivedUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[301]); } /* -Ifc4x3_tc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDerivedUnitEnum::IfcDerivedUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1950,23 +1950,23 @@ Ifc4x3_tc1::IfcDerivedUnitEnum::Value Ifc4x3_tc1::IfcDerivedUnitEnum::FromString } Ifc4x3_tc1::IfcDerivedUnitEnum::operator Ifc4x3_tc1::IfcDerivedUnitEnum::Value() const { - return (Ifc4x3_tc1::IfcDerivedUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDerivedUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDirectionSenseEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[306]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDirectionSenseEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[306]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDirectionSenseEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[306]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDirectionSenseEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[306]); } /* -Ifc4x3_tc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDirectionSenseEnum::IfcDirectionSenseEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -1979,23 +1979,23 @@ Ifc4x3_tc1::IfcDirectionSenseEnum::Value Ifc4x3_tc1::IfcDirectionSenseEnum::From } Ifc4x3_tc1::IfcDirectionSenseEnum::operator Ifc4x3_tc1::IfcDirectionSenseEnum::Value() const { - return (Ifc4x3_tc1::IfcDirectionSenseEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDirectionSenseEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[311]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[311]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[311]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[311]); } /* -Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::IfcDiscreteAccessoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2008,23 +2008,23 @@ Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_tc1::IfcDiscreteAccessory } Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::operator Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[314]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[314]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[314]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[314]); } /* -Ifc4x3_tc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDistributionBoardTypeEnum::IfcDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2037,23 +2037,23 @@ Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value Ifc4x3_tc1::IfcDistributionBoard } Ifc4x3_tc1::IfcDistributionBoardTypeEnum::operator Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[317]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[317]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[317]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[317]); } /* -Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::IfcDistributionChamberElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2066,23 +2066,23 @@ Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_tc1::IfcDistribu } Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::operator Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDistributionPortTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[326]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDistributionPortTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[326]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionPortTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[326]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionPortTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[326]); } /* -Ifc4x3_tc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDistributionPortTypeEnum::IfcDistributionPortTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2095,23 +2095,23 @@ Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value Ifc4x3_tc1::IfcDistributionPortTy } Ifc4x3_tc1::IfcDistributionPortTypeEnum::operator Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDistributionSystemEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[328]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDistributionSystemEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[328]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionSystemEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[328]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDistributionSystemEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[328]); } /* -Ifc4x3_tc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDistributionSystemEnum::IfcDistributionSystemEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2124,23 +2124,23 @@ Ifc4x3_tc1::IfcDistributionSystemEnum::Value Ifc4x3_tc1::IfcDistributionSystemEn } Ifc4x3_tc1::IfcDistributionSystemEnum::operator Ifc4x3_tc1::IfcDistributionSystemEnum::Value() const { - return (Ifc4x3_tc1::IfcDistributionSystemEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDistributionSystemEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDocumentConfidentialityEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[329]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[329]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDocumentConfidentialityEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[329]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[329]); } /* -Ifc4x3_tc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDocumentConfidentialityEnum::IfcDocumentConfidentialityEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2153,23 +2153,23 @@ Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value Ifc4x3_tc1::IfcDocumentConfide } Ifc4x3_tc1::IfcDocumentConfidentialityEnum::operator Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value() const { - return (Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDocumentStatusEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[334]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDocumentStatusEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[334]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDocumentStatusEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[334]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDocumentStatusEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[334]); } /* -Ifc4x3_tc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDocumentStatusEnum::IfcDocumentStatusEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2182,23 +2182,23 @@ Ifc4x3_tc1::IfcDocumentStatusEnum::Value Ifc4x3_tc1::IfcDocumentStatusEnum::From } Ifc4x3_tc1::IfcDocumentStatusEnum::operator Ifc4x3_tc1::IfcDocumentStatusEnum::Value() const { - return (Ifc4x3_tc1::IfcDocumentStatusEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDocumentStatusEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDoorPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[337]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDoorPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[337]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[337]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[337]); } /* -Ifc4x3_tc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDoorPanelOperationEnum::IfcDoorPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2211,23 +2211,23 @@ Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value Ifc4x3_tc1::IfcDoorPanelOperationEn } Ifc4x3_tc1::IfcDoorPanelOperationEnum::operator Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value() const { - return (Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDoorPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[338]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDoorPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[338]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[338]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[338]); } /* -Ifc4x3_tc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDoorPanelPositionEnum::IfcDoorPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2240,23 +2240,23 @@ Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value Ifc4x3_tc1::IfcDoorPanelPositionEnum } Ifc4x3_tc1::IfcDoorPanelPositionEnum::operator Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value() const { - return (Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDoorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[341]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDoorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[341]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[341]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[341]); } /* -Ifc4x3_tc1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDoorTypeEnum::IfcDoorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDoorTypeEnum::IfcDoorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2269,23 +2269,23 @@ Ifc4x3_tc1::IfcDoorTypeEnum::Value Ifc4x3_tc1::IfcDoorTypeEnum::FromString(const } Ifc4x3_tc1::IfcDoorTypeEnum::operator Ifc4x3_tc1::IfcDoorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcDoorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDoorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDoorTypeOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[342]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[342]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorTypeOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[342]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[342]); } /* -Ifc4x3_tc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDoorTypeOperationEnum::IfcDoorTypeOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2298,23 +2298,23 @@ Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value Ifc4x3_tc1::IfcDoorTypeOperationEnum } Ifc4x3_tc1::IfcDoorTypeOperationEnum::operator Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value() const { - return (Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDuctFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[348]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[348]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[348]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[348]); } /* -Ifc4x3_tc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDuctFittingTypeEnum::IfcDuctFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2327,23 +2327,23 @@ Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value Ifc4x3_tc1::IfcDuctFittingTypeEnum::Fr } Ifc4x3_tc1::IfcDuctFittingTypeEnum::operator Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDuctSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[351]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[351]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[351]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[351]); } /* -Ifc4x3_tc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDuctSegmentTypeEnum::IfcDuctSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2356,23 +2356,23 @@ Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Fr } Ifc4x3_tc1::IfcDuctSegmentTypeEnum::operator Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDuctSilencerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[354]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[354]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctSilencerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[354]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[354]); } /* -Ifc4x3_tc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcDuctSilencerTypeEnum::IfcDuctSilencerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2385,23 +2385,23 @@ Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value Ifc4x3_tc1::IfcDuctSilencerTypeEnum:: } Ifc4x3_tc1::IfcDuctSilencerTypeEnum::operator Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEarthworksCutTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[358]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[358]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEarthworksCutTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[358]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[358]); } /* -Ifc4x3_tc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcEarthworksCutTypeEnum::IfcEarthworksCutTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2414,23 +2414,23 @@ Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value Ifc4x3_tc1::IfcEarthworksCutTypeEnum } Ifc4x3_tc1::IfcEarthworksCutTypeEnum::operator Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEarthworksFillTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[361]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[361]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEarthworksFillTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[361]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[361]); } /* -Ifc4x3_tc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcEarthworksFillTypeEnum::IfcEarthworksFillTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2443,23 +2443,23 @@ Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value Ifc4x3_tc1::IfcEarthworksFillTypeEn } Ifc4x3_tc1::IfcEarthworksFillTypeEnum::operator Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[367]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[367]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[367]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[367]); } /* -Ifc4x3_tc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcElectricApplianceTypeEnum::IfcElectricApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2472,23 +2472,23 @@ Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value Ifc4x3_tc1::IfcElectricAppliance } Ifc4x3_tc1::IfcElectricApplianceTypeEnum::operator Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[374]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[374]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[374]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[374]); } /* -Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::IfcElectricDistributionBoardTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2501,23 +2501,23 @@ Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_tc1::IfcElectricD } Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::operator Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[377]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[377]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[377]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[377]); } /* -Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::IfcElectricFlowStorageDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2530,23 +2530,23 @@ Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_tc1::IfcElectricF } Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::operator Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[380]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[380]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[380]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[380]); } /* -Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::IfcElectricFlowTreatmentDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2559,23 +2559,23 @@ Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_tc1::IfcElectri } Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::operator Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[383]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[383]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[383]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[383]); } /* -Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::IfcElectricGeneratorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2588,23 +2588,23 @@ Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value Ifc4x3_tc1::IfcElectricGenerator } Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::operator Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricMotorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[386]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[386]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricMotorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[386]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[386]); } /* -Ifc4x3_tc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcElectricMotorTypeEnum::IfcElectricMotorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2617,23 +2617,23 @@ Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value Ifc4x3_tc1::IfcElectricMotorTypeEnum } Ifc4x3_tc1::IfcElectricMotorTypeEnum::operator Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[390]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[390]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[390]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[390]); } /* -Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::IfcElectricTimeControlTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2646,23 +2646,23 @@ Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value Ifc4x3_tc1::IfcElectricTimeCon } Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::operator Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElementAssemblyTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[396]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[396]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElementAssemblyTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[396]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[396]); } /* -Ifc4x3_tc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcElementAssemblyTypeEnum::IfcElementAssemblyTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2675,23 +2675,23 @@ Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value Ifc4x3_tc1::IfcElementAssemblyType } Ifc4x3_tc1::IfcElementAssemblyTypeEnum::operator Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElementCompositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[399]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcElementCompositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[399]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElementCompositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[399]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcElementCompositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[399]); } /* -Ifc4x3_tc1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcElementCompositionEnum::IfcElementCompositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcElementCompositionEnum::IfcElementCompositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2704,23 +2704,23 @@ Ifc4x3_tc1::IfcElementCompositionEnum::Value Ifc4x3_tc1::IfcElementCompositionEn } Ifc4x3_tc1::IfcElementCompositionEnum::operator Ifc4x3_tc1::IfcElementCompositionEnum::Value() const { - return (Ifc4x3_tc1::IfcElementCompositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcElementCompositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEngineTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[409]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEngineTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[409]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEngineTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[409]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEngineTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[409]); } /* -Ifc4x3_tc1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcEngineTypeEnum::IfcEngineTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcEngineTypeEnum::IfcEngineTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2733,23 +2733,23 @@ Ifc4x3_tc1::IfcEngineTypeEnum::Value Ifc4x3_tc1::IfcEngineTypeEnum::FromString(c } Ifc4x3_tc1::IfcEngineTypeEnum::operator Ifc4x3_tc1::IfcEngineTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcEngineTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcEngineTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[412]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[412]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[412]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[412]); } /* -Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::IfcEvaporativeCoolerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2762,23 +2762,23 @@ Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_tc1::IfcEvaporativeCooler } Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::operator Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEvaporatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[415]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[415]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEvaporatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[415]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[415]); } /* -Ifc4x3_tc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcEvaporatorTypeEnum::IfcEvaporatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2791,23 +2791,23 @@ Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value Ifc4x3_tc1::IfcEvaporatorTypeEnum::From } Ifc4x3_tc1::IfcEvaporatorTypeEnum::operator Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEventTriggerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[418]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[418]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEventTriggerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[418]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[418]); } /* -Ifc4x3_tc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcEventTriggerTypeEnum::IfcEventTriggerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2820,23 +2820,23 @@ Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value Ifc4x3_tc1::IfcEventTriggerTypeEnum:: } Ifc4x3_tc1::IfcEventTriggerTypeEnum::operator Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEventTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[420]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcEventTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[420]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEventTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[420]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcEventTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[420]); } /* -Ifc4x3_tc1::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcEventTypeEnum::IfcEventTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcEventTypeEnum::IfcEventTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcEventTypeEnum::IfcEventTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2849,23 +2849,23 @@ Ifc4x3_tc1::IfcEventTypeEnum::Value Ifc4x3_tc1::IfcEventTypeEnum::FromString(con } Ifc4x3_tc1::IfcEventTypeEnum::operator Ifc4x3_tc1::IfcEventTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcEventTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcEventTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[429]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[429]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[429]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[429]); } /* -Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::IfcExternalSpatialElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2878,23 +2878,23 @@ Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value Ifc4x3_tc1::IfcExternalSpat } Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::operator Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[443]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[443]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[443]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[443]); } /* -Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::IfcFacilityPartCommonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2907,23 +2907,23 @@ Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value Ifc4x3_tc1::IfcFacilityPartComm } Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::operator Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFacilityUsageEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[444]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFacilityUsageEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[444]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFacilityUsageEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[444]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFacilityUsageEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[444]); } /* -Ifc4x3_tc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFacilityUsageEnum::IfcFacilityUsageEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2936,23 +2936,23 @@ Ifc4x3_tc1::IfcFacilityUsageEnum::Value Ifc4x3_tc1::IfcFacilityUsageEnum::FromSt } Ifc4x3_tc1::IfcFacilityUsageEnum::operator Ifc4x3_tc1::IfcFacilityUsageEnum::Value() const { - return (Ifc4x3_tc1::IfcFacilityUsageEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFacilityUsageEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[448]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[448]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[448]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[448]); } /* -Ifc4x3_tc1::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFanTypeEnum::IfcFanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFanTypeEnum::IfcFanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFanTypeEnum::IfcFanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2965,23 +2965,23 @@ Ifc4x3_tc1::IfcFanTypeEnum::Value Ifc4x3_tc1::IfcFanTypeEnum::FromString(const s } Ifc4x3_tc1::IfcFanTypeEnum::operator Ifc4x3_tc1::IfcFanTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcFanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[451]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[451]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[451]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[451]); } /* -Ifc4x3_tc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFastenerTypeEnum::IfcFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -2994,23 +2994,23 @@ Ifc4x3_tc1::IfcFastenerTypeEnum::Value Ifc4x3_tc1::IfcFastenerTypeEnum::FromStri } Ifc4x3_tc1::IfcFastenerTypeEnum::operator Ifc4x3_tc1::IfcFastenerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFilterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[461]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFilterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[461]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFilterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[461]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFilterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[461]); } /* -Ifc4x3_tc1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFilterTypeEnum::IfcFilterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFilterTypeEnum::IfcFilterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3023,23 +3023,23 @@ Ifc4x3_tc1::IfcFilterTypeEnum::Value Ifc4x3_tc1::IfcFilterTypeEnum::FromString(c } Ifc4x3_tc1::IfcFilterTypeEnum::operator Ifc4x3_tc1::IfcFilterTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcFilterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFilterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[464]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[464]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[464]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[464]); } /* -Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::IfcFireSuppressionTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3052,23 +3052,23 @@ Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_tc1::IfcFireSuppres } Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::operator Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFlowDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[468]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFlowDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[468]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[468]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[468]); } /* -Ifc4x3_tc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFlowDirectionEnum::IfcFlowDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3081,23 +3081,23 @@ Ifc4x3_tc1::IfcFlowDirectionEnum::Value Ifc4x3_tc1::IfcFlowDirectionEnum::FromSt } Ifc4x3_tc1::IfcFlowDirectionEnum::operator Ifc4x3_tc1::IfcFlowDirectionEnum::Value() const { - return (Ifc4x3_tc1::IfcFlowDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFlowDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[473]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[473]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[473]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[473]); } /* -Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::IfcFlowInstrumentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3110,23 +3110,23 @@ Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value Ifc4x3_tc1::IfcFlowInstrumentTypeEn } Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::operator Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFlowMeterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[476]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[476]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowMeterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[476]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[476]); } /* -Ifc4x3_tc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFlowMeterTypeEnum::IfcFlowMeterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3139,23 +3139,23 @@ Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value Ifc4x3_tc1::IfcFlowMeterTypeEnum::FromSt } Ifc4x3_tc1::IfcFlowMeterTypeEnum::operator Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFootingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[492]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFootingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[492]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFootingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[492]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFootingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[492]); } /* -Ifc4x3_tc1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFootingTypeEnum::IfcFootingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFootingTypeEnum::IfcFootingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3168,23 +3168,23 @@ Ifc4x3_tc1::IfcFootingTypeEnum::Value Ifc4x3_tc1::IfcFootingTypeEnum::FromString } Ifc4x3_tc1::IfcFootingTypeEnum::operator Ifc4x3_tc1::IfcFootingTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcFootingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFootingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFurnitureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[499]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcFurnitureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[499]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFurnitureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[499]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcFurnitureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[499]); } /* -Ifc4x3_tc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcFurnitureTypeEnum::IfcFurnitureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3197,23 +3197,23 @@ Ifc4x3_tc1::IfcFurnitureTypeEnum::Value Ifc4x3_tc1::IfcFurnitureTypeEnum::FromSt } Ifc4x3_tc1::IfcFurnitureTypeEnum::operator Ifc4x3_tc1::IfcFurnitureTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcFurnitureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcFurnitureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGeographicElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[502]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[502]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeographicElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[502]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[502]); } /* -Ifc4x3_tc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcGeographicElementTypeEnum::IfcGeographicElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3226,23 +3226,23 @@ Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value Ifc4x3_tc1::IfcGeographicElement } Ifc4x3_tc1::IfcGeographicElementTypeEnum::operator Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGeometricProjectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[504]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGeometricProjectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[504]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeometricProjectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[504]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeometricProjectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[504]); } /* -Ifc4x3_tc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcGeometricProjectionEnum::IfcGeometricProjectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3255,23 +3255,23 @@ Ifc4x3_tc1::IfcGeometricProjectionEnum::Value Ifc4x3_tc1::IfcGeometricProjection } Ifc4x3_tc1::IfcGeometricProjectionEnum::operator Ifc4x3_tc1::IfcGeometricProjectionEnum::Value() const { - return (Ifc4x3_tc1::IfcGeometricProjectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcGeometricProjectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[515]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[515]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[515]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[515]); } /* -Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::IfcGeotechnicalStratumTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3284,23 +3284,23 @@ Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value Ifc4x3_tc1::IfcGeotechnicalStr } Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::operator Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGlobalOrLocalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[517]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[517]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGlobalOrLocalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[517]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[517]); } /* -Ifc4x3_tc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcGlobalOrLocalEnum::IfcGlobalOrLocalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3313,23 +3313,23 @@ Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value Ifc4x3_tc1::IfcGlobalOrLocalEnum::FromSt } Ifc4x3_tc1::IfcGlobalOrLocalEnum::operator Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value() const { - return (Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGridTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[523]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcGridTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[523]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGridTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[523]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcGridTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[523]); } /* -Ifc4x3_tc1::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcGridTypeEnum::IfcGridTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcGridTypeEnum::IfcGridTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcGridTypeEnum::IfcGridTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3342,23 +3342,23 @@ Ifc4x3_tc1::IfcGridTypeEnum::Value Ifc4x3_tc1::IfcGridTypeEnum::FromString(const } Ifc4x3_tc1::IfcGridTypeEnum::operator Ifc4x3_tc1::IfcGridTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcGridTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcGridTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcHeatExchangerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[529]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[529]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcHeatExchangerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[529]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[529]); } /* -Ifc4x3_tc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcHeatExchangerTypeEnum::IfcHeatExchangerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3371,23 +3371,23 @@ Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value Ifc4x3_tc1::IfcHeatExchangerTypeEnum } Ifc4x3_tc1::IfcHeatExchangerTypeEnum::operator Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcHumidifierTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[534]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcHumidifierTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[534]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcHumidifierTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[534]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcHumidifierTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[534]); } /* -Ifc4x3_tc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcHumidifierTypeEnum::IfcHumidifierTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3400,23 +3400,23 @@ Ifc4x3_tc1::IfcHumidifierTypeEnum::Value Ifc4x3_tc1::IfcHumidifierTypeEnum::From } Ifc4x3_tc1::IfcHumidifierTypeEnum::operator Ifc4x3_tc1::IfcHumidifierTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcHumidifierTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcHumidifierTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[540]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[540]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[540]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[540]); } /* -Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::IfcImpactProtectionDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3429,23 +3429,23 @@ Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_tc1::IfcImpactProtec } Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::operator Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcInterceptorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[553]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcInterceptorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[553]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInterceptorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[553]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInterceptorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[553]); } /* -Ifc4x3_tc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcInterceptorTypeEnum::IfcInterceptorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3458,23 +3458,23 @@ Ifc4x3_tc1::IfcInterceptorTypeEnum::Value Ifc4x3_tc1::IfcInterceptorTypeEnum::Fr } Ifc4x3_tc1::IfcInterceptorTypeEnum::operator Ifc4x3_tc1::IfcInterceptorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcInterceptorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcInterceptorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcInternalOrExternalEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[555]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcInternalOrExternalEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[555]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInternalOrExternalEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[555]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInternalOrExternalEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[555]); } /* -Ifc4x3_tc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcInternalOrExternalEnum::IfcInternalOrExternalEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3487,23 +3487,23 @@ Ifc4x3_tc1::IfcInternalOrExternalEnum::Value Ifc4x3_tc1::IfcInternalOrExternalEn } Ifc4x3_tc1::IfcInternalOrExternalEnum::operator Ifc4x3_tc1::IfcInternalOrExternalEnum::Value() const { - return (Ifc4x3_tc1::IfcInternalOrExternalEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcInternalOrExternalEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcInventoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[558]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcInventoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[558]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInventoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[558]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcInventoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[558]); } /* -Ifc4x3_tc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcInventoryTypeEnum::IfcInventoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3516,23 +3516,23 @@ Ifc4x3_tc1::IfcInventoryTypeEnum::Value Ifc4x3_tc1::IfcInventoryTypeEnum::FromSt } Ifc4x3_tc1::IfcInventoryTypeEnum::operator Ifc4x3_tc1::IfcInventoryTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcInventoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcInventoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcJunctionBoxTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[566]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[566]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcJunctionBoxTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[566]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[566]); } /* -Ifc4x3_tc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcJunctionBoxTypeEnum::IfcJunctionBoxTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3545,23 +3545,23 @@ Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Fr } Ifc4x3_tc1::IfcJunctionBoxTypeEnum::operator Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcKerbTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[569]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcKerbTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[569]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcKerbTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[569]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcKerbTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[569]); } /* -Ifc4x3_tc1::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcKerbTypeEnum::IfcKerbTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcKerbTypeEnum::IfcKerbTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3574,23 +3574,23 @@ Ifc4x3_tc1::IfcKerbTypeEnum::Value Ifc4x3_tc1::IfcKerbTypeEnum::FromString(const } Ifc4x3_tc1::IfcKerbTypeEnum::operator Ifc4x3_tc1::IfcKerbTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcKerbTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcKerbTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcKnotType::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[571]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcKnotType::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[571]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcKnotType::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[571]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcKnotType::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[571]); } /* -Ifc4x3_tc1::IfcKnotType::IfcKnotType(const std::weak_ptr& e) +Ifc4x3_tc1::IfcKnotType::IfcKnotType(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcKnotType::IfcKnotType(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcKnotType::IfcKnotType(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3603,23 +3603,23 @@ Ifc4x3_tc1::IfcKnotType::Value Ifc4x3_tc1::IfcKnotType::FromString(const std::st } Ifc4x3_tc1::IfcKnotType::operator Ifc4x3_tc1::IfcKnotType::Value() const { - return (Ifc4x3_tc1::IfcKnotType::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcKnotType::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLaborResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[575]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[575]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLaborResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[575]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[575]); } /* -Ifc4x3_tc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcLaborResourceTypeEnum::IfcLaborResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3632,23 +3632,23 @@ Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value Ifc4x3_tc1::IfcLaborResourceTypeEnum } Ifc4x3_tc1::IfcLaborResourceTypeEnum::operator Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[579]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[579]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[579]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[579]); } /* -Ifc4x3_tc1::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcLampTypeEnum::IfcLampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcLampTypeEnum::IfcLampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcLampTypeEnum::IfcLampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3661,23 +3661,23 @@ Ifc4x3_tc1::IfcLampTypeEnum::Value Ifc4x3_tc1::IfcLampTypeEnum::FromString(const } Ifc4x3_tc1::IfcLampTypeEnum::operator Ifc4x3_tc1::IfcLampTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcLampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcLampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLayerSetDirectionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[582]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[582]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLayerSetDirectionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[582]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[582]); } /* -Ifc4x3_tc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcLayerSetDirectionEnum::IfcLayerSetDirectionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3690,23 +3690,23 @@ Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value Ifc4x3_tc1::IfcLayerSetDirectionEnum } Ifc4x3_tc1::IfcLayerSetDirectionEnum::operator Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value() const { - return (Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLightDistributionCurveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[587]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLightDistributionCurveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[587]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightDistributionCurveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[587]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightDistributionCurveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[587]); } /* -Ifc4x3_tc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcLightDistributionCurveEnum::IfcLightDistributionCurveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3719,23 +3719,23 @@ Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value Ifc4x3_tc1::IfcLightDistributio } Ifc4x3_tc1::IfcLightDistributionCurveEnum::operator Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value() const { - return (Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLightEmissionSourceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[590]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLightEmissionSourceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[590]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightEmissionSourceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[590]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightEmissionSourceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[590]); } /* -Ifc4x3_tc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcLightEmissionSourceEnum::IfcLightEmissionSourceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3748,23 +3748,23 @@ Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value Ifc4x3_tc1::IfcLightEmissionSource } Ifc4x3_tc1::IfcLightEmissionSourceEnum::operator Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value() const { - return (Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLightFixtureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[593]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[593]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightFixtureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[593]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[593]); } /* -Ifc4x3_tc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcLightFixtureTypeEnum::IfcLightFixtureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3777,23 +3777,23 @@ Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value Ifc4x3_tc1::IfcLightFixtureTypeEnum:: } Ifc4x3_tc1::IfcLightFixtureTypeEnum::operator Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[612]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[612]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[612]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[612]); } /* -Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::IfcLiquidTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3806,23 +3806,23 @@ Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value Ifc4x3_tc1::IfcLiquidTerminalTypeEn } Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::operator Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLoadGroupTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[613]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[613]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLoadGroupTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[613]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[613]); } /* -Ifc4x3_tc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcLoadGroupTypeEnum::IfcLoadGroupTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3835,23 +3835,23 @@ Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value Ifc4x3_tc1::IfcLoadGroupTypeEnum::FromSt } Ifc4x3_tc1::IfcLoadGroupTypeEnum::operator Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLogicalOperatorEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[616]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcLogicalOperatorEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[616]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLogicalOperatorEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[616]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcLogicalOperatorEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[616]); } /* -Ifc4x3_tc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcLogicalOperatorEnum::IfcLogicalOperatorEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3864,23 +3864,23 @@ Ifc4x3_tc1::IfcLogicalOperatorEnum::Value Ifc4x3_tc1::IfcLogicalOperatorEnum::Fr } Ifc4x3_tc1::IfcLogicalOperatorEnum::operator Ifc4x3_tc1::IfcLogicalOperatorEnum::Value() const { - return (Ifc4x3_tc1::IfcLogicalOperatorEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcLogicalOperatorEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMarineFacilityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[628]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[628]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMarineFacilityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[628]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[628]); } /* -Ifc4x3_tc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcMarineFacilityTypeEnum::IfcMarineFacilityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3893,23 +3893,23 @@ Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value Ifc4x3_tc1::IfcMarineFacilityTypeEn } Ifc4x3_tc1::IfcMarineFacilityTypeEnum::operator Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMarinePartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[630]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMarinePartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[630]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMarinePartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[630]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMarinePartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[630]); } /* -Ifc4x3_tc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcMarinePartTypeEnum::IfcMarinePartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3922,23 +3922,23 @@ Ifc4x3_tc1::IfcMarinePartTypeEnum::Value Ifc4x3_tc1::IfcMarinePartTypeEnum::From } Ifc4x3_tc1::IfcMarinePartTypeEnum::operator Ifc4x3_tc1::IfcMarinePartTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcMarinePartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcMarinePartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[659]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[659]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[659]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[659]); } /* -Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::IfcMechanicalFastenerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3951,23 +3951,23 @@ Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_tc1::IfcMechanicalFasten } Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::operator Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[662]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[662]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[662]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[662]); } /* -Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::IfcMedicalDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -3980,23 +3980,23 @@ Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value Ifc4x3_tc1::IfcMedicalDeviceTypeEnum } Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::operator Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[665]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[665]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[665]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[665]); } /* -Ifc4x3_tc1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcMemberTypeEnum::IfcMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcMemberTypeEnum::IfcMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4009,23 +4009,23 @@ Ifc4x3_tc1::IfcMemberTypeEnum::Value Ifc4x3_tc1::IfcMemberTypeEnum::FromString(c } Ifc4x3_tc1::IfcMemberTypeEnum::operator Ifc4x3_tc1::IfcMemberTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[671]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[671]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[671]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[671]); } /* -Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::IfcMobileTelecommunicationsApplianceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4038,23 +4038,23 @@ Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_tc1::IfcM } Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::operator Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMooringDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[687]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[687]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMooringDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[687]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[687]); } /* -Ifc4x3_tc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcMooringDeviceTypeEnum::IfcMooringDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4067,23 +4067,23 @@ Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value Ifc4x3_tc1::IfcMooringDeviceTypeEnum } Ifc4x3_tc1::IfcMooringDeviceTypeEnum::operator Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMotorConnectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[690]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[690]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMotorConnectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[690]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[690]); } /* -Ifc4x3_tc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcMotorConnectionTypeEnum::IfcMotorConnectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4096,23 +4096,23 @@ Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value Ifc4x3_tc1::IfcMotorConnectionType } Ifc4x3_tc1::IfcMotorConnectionTypeEnum::operator Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcNavigationElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[694]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[694]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcNavigationElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[694]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[694]); } /* -Ifc4x3_tc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcNavigationElementTypeEnum::IfcNavigationElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4125,23 +4125,23 @@ Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value Ifc4x3_tc1::IfcNavigationElement } Ifc4x3_tc1::IfcNavigationElementTypeEnum::operator Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcObjectiveEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[701]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcObjectiveEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[701]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcObjectiveEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[701]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcObjectiveEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[701]); } /* -Ifc4x3_tc1::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcObjectiveEnum::IfcObjectiveEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcObjectiveEnum::IfcObjectiveEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcObjectiveEnum::IfcObjectiveEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4154,23 +4154,23 @@ Ifc4x3_tc1::IfcObjectiveEnum::Value Ifc4x3_tc1::IfcObjectiveEnum::FromString(con } Ifc4x3_tc1::IfcObjectiveEnum::operator Ifc4x3_tc1::IfcObjectiveEnum::Value() const { - return (Ifc4x3_tc1::IfcObjectiveEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcObjectiveEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcOccupantTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[705]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcOccupantTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[705]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOccupantTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[705]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOccupantTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[705]); } /* -Ifc4x3_tc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcOccupantTypeEnum::IfcOccupantTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4183,23 +4183,23 @@ Ifc4x3_tc1::IfcOccupantTypeEnum::Value Ifc4x3_tc1::IfcOccupantTypeEnum::FromStri } Ifc4x3_tc1::IfcOccupantTypeEnum::operator Ifc4x3_tc1::IfcOccupantTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcOccupantTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcOccupantTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcOpeningElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[712]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcOpeningElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[712]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOpeningElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[712]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOpeningElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[712]); } /* -Ifc4x3_tc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcOpeningElementTypeEnum::IfcOpeningElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4212,23 +4212,23 @@ Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value Ifc4x3_tc1::IfcOpeningElementTypeEn } Ifc4x3_tc1::IfcOpeningElementTypeEnum::operator Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcOutletTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[720]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcOutletTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[720]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOutletTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[720]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcOutletTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[720]); } /* -Ifc4x3_tc1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcOutletTypeEnum::IfcOutletTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcOutletTypeEnum::IfcOutletTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4241,23 +4241,23 @@ Ifc4x3_tc1::IfcOutletTypeEnum::Value Ifc4x3_tc1::IfcOutletTypeEnum::FromString(c } Ifc4x3_tc1::IfcOutletTypeEnum::operator Ifc4x3_tc1::IfcOutletTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcOutletTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcOutletTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPavementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[727]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPavementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[727]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPavementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[727]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPavementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[727]); } /* -Ifc4x3_tc1::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPavementTypeEnum::IfcPavementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPavementTypeEnum::IfcPavementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4270,23 +4270,23 @@ Ifc4x3_tc1::IfcPavementTypeEnum::Value Ifc4x3_tc1::IfcPavementTypeEnum::FromStri } Ifc4x3_tc1::IfcPavementTypeEnum::operator Ifc4x3_tc1::IfcPavementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcPavementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPavementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[730]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[730]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[730]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[730]); } /* -Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::IfcPerformanceHistoryTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4299,23 +4299,23 @@ Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value Ifc4x3_tc1::IfcPerformanceHisto } Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::operator Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[731]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[731]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[731]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[731]); } /* -Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::IfcPermeableCoveringOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4328,23 +4328,23 @@ Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value Ifc4x3_tc1::IfcPermeableCov } Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::operator Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value() const { - return (Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPermitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[734]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPermitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[734]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPermitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[734]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPermitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[734]); } /* -Ifc4x3_tc1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPermitTypeEnum::IfcPermitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPermitTypeEnum::IfcPermitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4357,23 +4357,23 @@ Ifc4x3_tc1::IfcPermitTypeEnum::Value Ifc4x3_tc1::IfcPermitTypeEnum::FromString(c } Ifc4x3_tc1::IfcPermitTypeEnum::operator Ifc4x3_tc1::IfcPermitTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcPermitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPermitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[739]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[739]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[739]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[739]); } /* -Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::IfcPhysicalOrVirtualEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4386,23 +4386,23 @@ Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value Ifc4x3_tc1::IfcPhysicalOrVirtualEnum } Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::operator Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value() const { - return (Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPileConstructionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[743]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPileConstructionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[743]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPileConstructionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[743]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPileConstructionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[743]); } /* -Ifc4x3_tc1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPileConstructionEnum::IfcPileConstructionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPileConstructionEnum::IfcPileConstructionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4415,23 +4415,23 @@ Ifc4x3_tc1::IfcPileConstructionEnum::Value Ifc4x3_tc1::IfcPileConstructionEnum:: } Ifc4x3_tc1::IfcPileConstructionEnum::operator Ifc4x3_tc1::IfcPileConstructionEnum::Value() const { - return (Ifc4x3_tc1::IfcPileConstructionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPileConstructionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[745]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[745]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[745]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[745]); } /* -Ifc4x3_tc1::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPileTypeEnum::IfcPileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPileTypeEnum::IfcPileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPileTypeEnum::IfcPileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4444,23 +4444,23 @@ Ifc4x3_tc1::IfcPileTypeEnum::Value Ifc4x3_tc1::IfcPileTypeEnum::FromString(const } Ifc4x3_tc1::IfcPileTypeEnum::operator Ifc4x3_tc1::IfcPileTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcPileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPipeFittingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[748]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[748]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPipeFittingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[748]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[748]); } /* -Ifc4x3_tc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPipeFittingTypeEnum::IfcPipeFittingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4473,23 +4473,23 @@ Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value Ifc4x3_tc1::IfcPipeFittingTypeEnum::Fr } Ifc4x3_tc1::IfcPipeFittingTypeEnum::operator Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPipeSegmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[751]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[751]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPipeSegmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[751]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[751]); } /* -Ifc4x3_tc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPipeSegmentTypeEnum::IfcPipeSegmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4502,23 +4502,23 @@ Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Fr } Ifc4x3_tc1::IfcPipeSegmentTypeEnum::operator Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPlateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[761]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPlateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[761]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPlateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[761]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPlateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[761]); } /* -Ifc4x3_tc1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPlateTypeEnum::IfcPlateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPlateTypeEnum::IfcPlateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4531,23 +4531,23 @@ Ifc4x3_tc1::IfcPlateTypeEnum::Value Ifc4x3_tc1::IfcPlateTypeEnum::FromString(con } Ifc4x3_tc1::IfcPlateTypeEnum::operator Ifc4x3_tc1::IfcPlateTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcPlateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPlateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[786]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[786]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[786]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[786]); } /* -Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::IfcPreferredSurfaceCurveRepresentation(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4560,23 +4560,23 @@ Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_tc1::IfcPreferr } Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::operator Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value() const { - return (Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProcedureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[795]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProcedureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[795]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProcedureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[795]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProcedureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[795]); } /* -Ifc4x3_tc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcProcedureTypeEnum::IfcProcedureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4589,23 +4589,23 @@ Ifc4x3_tc1::IfcProcedureTypeEnum::Value Ifc4x3_tc1::IfcProcedureTypeEnum::FromSt } Ifc4x3_tc1::IfcProcedureTypeEnum::operator Ifc4x3_tc1::IfcProcedureTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcProcedureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcProcedureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProfileTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[805]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProfileTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[805]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProfileTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[805]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProfileTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[805]); } /* -Ifc4x3_tc1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcProfileTypeEnum::IfcProfileTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcProfileTypeEnum::IfcProfileTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4618,23 +4618,23 @@ Ifc4x3_tc1::IfcProfileTypeEnum::Value Ifc4x3_tc1::IfcProfileTypeEnum::FromString } Ifc4x3_tc1::IfcProfileTypeEnum::operator Ifc4x3_tc1::IfcProfileTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcProfileTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcProfileTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProjectOrderTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[813]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProjectOrderTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[813]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectOrderTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[813]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectOrderTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[813]); } /* -Ifc4x3_tc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcProjectOrderTypeEnum::IfcProjectOrderTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4647,23 +4647,23 @@ Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value Ifc4x3_tc1::IfcProjectOrderTypeEnum:: } Ifc4x3_tc1::IfcProjectOrderTypeEnum::operator Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[808]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[808]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[808]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[808]); } /* -Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::IfcProjectedOrTrueLengthEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4676,23 +4676,23 @@ Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value Ifc4x3_tc1::IfcProjectedOrTrueLe } Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::operator Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value() const { - return (Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProjectionElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[810]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProjectionElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[810]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectionElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[810]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProjectionElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[810]); } /* -Ifc4x3_tc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcProjectionElementTypeEnum::IfcProjectionElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4705,23 +4705,23 @@ Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value Ifc4x3_tc1::IfcProjectionElement } Ifc4x3_tc1::IfcProjectionElementTypeEnum::operator Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[828]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[828]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[828]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[828]); } /* -Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::IfcPropertySetTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4734,23 +4734,23 @@ Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value Ifc4x3_tc1::IfcPropertySetTemp } Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::operator Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[836]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[836]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[836]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[836]); } /* -Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::IfcProtectiveDeviceTrippingUnitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4763,23 +4763,23 @@ Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_tc1::IfcProtec } Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::operator Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[838]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[838]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[838]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[838]); } /* -Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::IfcProtectiveDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4792,23 +4792,23 @@ Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_tc1::IfcProtectiveDeviceTy } Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::operator Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPumpTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[841]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcPumpTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[841]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPumpTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[841]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcPumpTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[841]); } /* -Ifc4x3_tc1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcPumpTypeEnum::IfcPumpTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcPumpTypeEnum::IfcPumpTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4821,23 +4821,23 @@ Ifc4x3_tc1::IfcPumpTypeEnum::Value Ifc4x3_tc1::IfcPumpTypeEnum::FromString(const } Ifc4x3_tc1::IfcPumpTypeEnum::operator Ifc4x3_tc1::IfcPumpTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcPumpTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcPumpTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRailTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[856]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRailTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[856]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[856]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[856]); } /* -Ifc4x3_tc1::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRailTypeEnum::IfcRailTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRailTypeEnum::IfcRailTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRailTypeEnum::IfcRailTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4850,23 +4850,23 @@ Ifc4x3_tc1::IfcRailTypeEnum::Value Ifc4x3_tc1::IfcRailTypeEnum::FromString(const } Ifc4x3_tc1::IfcRailTypeEnum::operator Ifc4x3_tc1::IfcRailTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRailTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRailTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRailingTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[854]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRailingTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[854]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailingTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[854]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailingTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[854]); } /* -Ifc4x3_tc1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRailingTypeEnum::IfcRailingTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRailingTypeEnum::IfcRailingTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4879,23 +4879,23 @@ Ifc4x3_tc1::IfcRailingTypeEnum::Value Ifc4x3_tc1::IfcRailingTypeEnum::FromString } Ifc4x3_tc1::IfcRailingTypeEnum::operator Ifc4x3_tc1::IfcRailingTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRailingTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRailingTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRailwayPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[859]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRailwayPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[859]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailwayPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[859]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailwayPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[859]); } /* -Ifc4x3_tc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRailwayPartTypeEnum::IfcRailwayPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4908,23 +4908,23 @@ Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value Ifc4x3_tc1::IfcRailwayPartTypeEnum::Fr } Ifc4x3_tc1::IfcRailwayPartTypeEnum::operator Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRailwayTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[860]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRailwayTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[860]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailwayTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[860]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRailwayTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[860]); } /* -Ifc4x3_tc1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRailwayTypeEnum::IfcRailwayTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4937,23 +4937,23 @@ Ifc4x3_tc1::IfcRailwayTypeEnum::Value Ifc4x3_tc1::IfcRailwayTypeEnum::FromString } Ifc4x3_tc1::IfcRailwayTypeEnum::operator Ifc4x3_tc1::IfcRailwayTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRailwayTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRailwayTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRampFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[864]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRampFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[864]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRampFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[864]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRampFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[864]); } /* -Ifc4x3_tc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRampFlightTypeEnum::IfcRampFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4966,23 +4966,23 @@ Ifc4x3_tc1::IfcRampFlightTypeEnum::Value Ifc4x3_tc1::IfcRampFlightTypeEnum::From } Ifc4x3_tc1::IfcRampFlightTypeEnum::operator Ifc4x3_tc1::IfcRampFlightTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRampFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRampFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRampTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[866]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRampTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[866]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRampTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[866]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRampTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[866]); } /* -Ifc4x3_tc1::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRampTypeEnum::IfcRampTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRampTypeEnum::IfcRampTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRampTypeEnum::IfcRampTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -4995,23 +4995,23 @@ Ifc4x3_tc1::IfcRampTypeEnum::Value Ifc4x3_tc1::IfcRampTypeEnum::FromString(const } Ifc4x3_tc1::IfcRampTypeEnum::operator Ifc4x3_tc1::IfcRampTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRampTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRampTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRecurrenceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[876]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRecurrenceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[876]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRecurrenceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[876]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRecurrenceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[876]); } /* -Ifc4x3_tc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRecurrenceTypeEnum::IfcRecurrenceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5024,23 +5024,23 @@ Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value Ifc4x3_tc1::IfcRecurrenceTypeEnum::From } Ifc4x3_tc1::IfcRecurrenceTypeEnum::operator Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReferentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[879]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReferentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[879]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReferentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[879]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReferentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[879]); } /* -Ifc4x3_tc1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcReferentTypeEnum::IfcReferentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcReferentTypeEnum::IfcReferentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5053,23 +5053,23 @@ Ifc4x3_tc1::IfcReferentTypeEnum::Value Ifc4x3_tc1::IfcReferentTypeEnum::FromStri } Ifc4x3_tc1::IfcReferentTypeEnum::operator Ifc4x3_tc1::IfcReferentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcReferentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcReferentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReflectanceMethodEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[880]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReflectanceMethodEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[880]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReflectanceMethodEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[880]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReflectanceMethodEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[880]); } /* -Ifc4x3_tc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcReflectanceMethodEnum::IfcReflectanceMethodEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5082,23 +5082,23 @@ Ifc4x3_tc1::IfcReflectanceMethodEnum::Value Ifc4x3_tc1::IfcReflectanceMethodEnum } Ifc4x3_tc1::IfcReflectanceMethodEnum::operator Ifc4x3_tc1::IfcReflectanceMethodEnum::Value() const { - return (Ifc4x3_tc1::IfcReflectanceMethodEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcReflectanceMethodEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[883]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[883]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[883]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[883]); } /* -Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::IfcReinforcedSoilTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5111,23 +5111,23 @@ Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value Ifc4x3_tc1::IfcReinforcedSoilTypeEn } Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::operator Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[887]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[887]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[887]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[887]); } /* -Ifc4x3_tc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcReinforcingBarRoleEnum::IfcReinforcingBarRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5140,23 +5140,23 @@ Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value Ifc4x3_tc1::IfcReinforcingBarRoleEn } Ifc4x3_tc1::IfcReinforcingBarRoleEnum::operator Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value() const { - return (Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[888]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[888]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[888]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[888]); } /* -Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::IfcReinforcingBarSurfaceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5169,23 +5169,23 @@ Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value Ifc4x3_tc1::IfcReinforcingBarSur } Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::operator Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value() const { - return (Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[890]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[890]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[890]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[890]); } /* -Ifc4x3_tc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcReinforcingBarTypeEnum::IfcReinforcingBarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5198,23 +5198,23 @@ Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value Ifc4x3_tc1::IfcReinforcingBarTypeEn } Ifc4x3_tc1::IfcReinforcingBarTypeEnum::operator Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[895]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[895]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[895]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[895]); } /* -Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::IfcReinforcingMeshTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5227,23 +5227,23 @@ Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value Ifc4x3_tc1::IfcReinforcingMeshType } Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::operator Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRoadPartTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[965]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRoadPartTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[965]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoadPartTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[965]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoadPartTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[965]); } /* -Ifc4x3_tc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRoadPartTypeEnum::IfcRoadPartTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5256,23 +5256,23 @@ Ifc4x3_tc1::IfcRoadPartTypeEnum::Value Ifc4x3_tc1::IfcRoadPartTypeEnum::FromStri } Ifc4x3_tc1::IfcRoadPartTypeEnum::operator Ifc4x3_tc1::IfcRoadPartTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRoadPartTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRoadPartTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRoadTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[966]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRoadTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[966]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoadTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[966]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoadTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[966]); } /* -Ifc4x3_tc1::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRoadTypeEnum::IfcRoadTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRoadTypeEnum::IfcRoadTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5285,23 +5285,23 @@ Ifc4x3_tc1::IfcRoadTypeEnum::Value Ifc4x3_tc1::IfcRoadTypeEnum::FromString(const } Ifc4x3_tc1::IfcRoadTypeEnum::operator Ifc4x3_tc1::IfcRoadTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRoadTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRoadTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRoleEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[967]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRoleEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[967]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoleEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[967]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoleEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[967]); } /* -Ifc4x3_tc1::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRoleEnum::IfcRoleEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRoleEnum::IfcRoleEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRoleEnum::IfcRoleEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5314,23 +5314,23 @@ Ifc4x3_tc1::IfcRoleEnum::Value Ifc4x3_tc1::IfcRoleEnum::FromString(const std::st } Ifc4x3_tc1::IfcRoleEnum::operator Ifc4x3_tc1::IfcRoleEnum::Value() const { - return (Ifc4x3_tc1::IfcRoleEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRoleEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRoofTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[970]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcRoofTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[970]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoofTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[970]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcRoofTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[970]); } /* -Ifc4x3_tc1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcRoofTypeEnum::IfcRoofTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcRoofTypeEnum::IfcRoofTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5343,23 +5343,23 @@ Ifc4x3_tc1::IfcRoofTypeEnum::Value Ifc4x3_tc1::IfcRoofTypeEnum::FromString(const } Ifc4x3_tc1::IfcRoofTypeEnum::operator Ifc4x3_tc1::IfcRoofTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcRoofTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcRoofTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSIPrefix::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1020]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSIPrefix::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1020]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSIPrefix::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1020]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSIPrefix::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1020]); } /* -Ifc4x3_tc1::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSIPrefix::IfcSIPrefix(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSIPrefix::IfcSIPrefix(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSIPrefix::IfcSIPrefix(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5372,23 +5372,23 @@ Ifc4x3_tc1::IfcSIPrefix::Value Ifc4x3_tc1::IfcSIPrefix::FromString(const std::st } Ifc4x3_tc1::IfcSIPrefix::operator Ifc4x3_tc1::IfcSIPrefix::Value() const { - return (Ifc4x3_tc1::IfcSIPrefix::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSIPrefix::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSIUnitName::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1023]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSIUnitName::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1023]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSIUnitName::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1023]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSIUnitName::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1023]); } /* -Ifc4x3_tc1::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSIUnitName::IfcSIUnitName(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSIUnitName::IfcSIUnitName(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSIUnitName::IfcSIUnitName(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5401,23 +5401,23 @@ Ifc4x3_tc1::IfcSIUnitName::Value Ifc4x3_tc1::IfcSIUnitName::FromString(const std } Ifc4x3_tc1::IfcSIUnitName::operator Ifc4x3_tc1::IfcSIUnitName::Value() const { - return (Ifc4x3_tc1::IfcSIUnitName::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSIUnitName::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[979]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[979]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[979]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[979]); } /* -Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::IfcSanitaryTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5430,23 +5430,23 @@ Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_tc1::IfcSanitaryTerminalTy } Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::operator Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSectionTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[991]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSectionTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[991]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSectionTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[991]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSectionTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[991]); } /* -Ifc4x3_tc1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSectionTypeEnum::IfcSectionTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSectionTypeEnum::IfcSectionTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5459,23 +5459,23 @@ Ifc4x3_tc1::IfcSectionTypeEnum::Value Ifc4x3_tc1::IfcSectionTypeEnum::FromString } Ifc4x3_tc1::IfcSectionTypeEnum::operator Ifc4x3_tc1::IfcSectionTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSectionTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSectionTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSensorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[997]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSensorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[997]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSensorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[997]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSensorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[997]); } /* -Ifc4x3_tc1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSensorTypeEnum::IfcSensorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSensorTypeEnum::IfcSensorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5488,23 +5488,23 @@ Ifc4x3_tc1::IfcSensorTypeEnum::Value Ifc4x3_tc1::IfcSensorTypeEnum::FromString(c } Ifc4x3_tc1::IfcSensorTypeEnum::operator Ifc4x3_tc1::IfcSensorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSensorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSensorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSequenceEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[998]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSequenceEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[998]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSequenceEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[998]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSequenceEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[998]); } /* -Ifc4x3_tc1::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSequenceEnum::IfcSequenceEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSequenceEnum::IfcSequenceEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSequenceEnum::IfcSequenceEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5517,23 +5517,23 @@ Ifc4x3_tc1::IfcSequenceEnum::Value Ifc4x3_tc1::IfcSequenceEnum::FromString(const } Ifc4x3_tc1::IfcSequenceEnum::operator Ifc4x3_tc1::IfcSequenceEnum::Value() const { - return (Ifc4x3_tc1::IfcSequenceEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSequenceEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcShadingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1002]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1002]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcShadingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1002]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1002]); } /* -Ifc4x3_tc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcShadingDeviceTypeEnum::IfcShadingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5546,23 +5546,23 @@ Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value Ifc4x3_tc1::IfcShadingDeviceTypeEnum } Ifc4x3_tc1::IfcShadingDeviceTypeEnum::operator Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSignTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1014]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSignTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1014]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSignTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1014]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSignTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1014]); } /* -Ifc4x3_tc1::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSignTypeEnum::IfcSignTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSignTypeEnum::IfcSignTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSignTypeEnum::IfcSignTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5575,23 +5575,23 @@ Ifc4x3_tc1::IfcSignTypeEnum::Value Ifc4x3_tc1::IfcSignTypeEnum::FromString(const } Ifc4x3_tc1::IfcSignTypeEnum::operator Ifc4x3_tc1::IfcSignTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSignTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSignTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSignalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1012]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSignalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1012]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSignalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1012]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSignalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1012]); } /* -Ifc4x3_tc1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSignalTypeEnum::IfcSignalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSignalTypeEnum::IfcSignalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5604,23 +5604,23 @@ Ifc4x3_tc1::IfcSignalTypeEnum::Value Ifc4x3_tc1::IfcSignalTypeEnum::FromString(c } Ifc4x3_tc1::IfcSignalTypeEnum::operator Ifc4x3_tc1::IfcSignalTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSignalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSignalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1017]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1017]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1017]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1017]); } /* -Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::IfcSimplePropertyTemplateTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5633,23 +5633,23 @@ Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value Ifc4x3_tc1::IfcSimpleProper } Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::operator Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSlabTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1027]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSlabTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1027]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSlabTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1027]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSlabTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1027]); } /* -Ifc4x3_tc1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSlabTypeEnum::IfcSlabTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSlabTypeEnum::IfcSlabTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5662,23 +5662,23 @@ Ifc4x3_tc1::IfcSlabTypeEnum::Value Ifc4x3_tc1::IfcSlabTypeEnum::FromString(const } Ifc4x3_tc1::IfcSlabTypeEnum::operator Ifc4x3_tc1::IfcSlabTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSlabTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSlabTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSolarDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1031]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1031]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSolarDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1031]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1031]); } /* -Ifc4x3_tc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSolarDeviceTypeEnum::IfcSolarDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5691,23 +5691,23 @@ Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Fr } Ifc4x3_tc1::IfcSolarDeviceTypeEnum::operator Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1043]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1043]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1043]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1043]); } /* -Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::IfcSpaceHeaterTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5720,23 +5720,23 @@ Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Fr } Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::operator Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSpaceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1045]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSpaceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1045]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpaceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1045]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpaceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1045]); } /* -Ifc4x3_tc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSpaceTypeEnum::IfcSpaceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5749,23 +5749,23 @@ Ifc4x3_tc1::IfcSpaceTypeEnum::Value Ifc4x3_tc1::IfcSpaceTypeEnum::FromString(con } Ifc4x3_tc1::IfcSpaceTypeEnum::operator Ifc4x3_tc1::IfcSpaceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSpaceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSpaceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSpatialZoneTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1053]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1053]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpatialZoneTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1053]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1053]); } /* -Ifc4x3_tc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSpatialZoneTypeEnum::IfcSpatialZoneTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5778,23 +5778,23 @@ Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Fr } Ifc4x3_tc1::IfcSpatialZoneTypeEnum::operator Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStackTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1063]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1063]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStackTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1063]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1063]); } /* -Ifc4x3_tc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcStackTerminalTypeEnum::IfcStackTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5807,23 +5807,23 @@ Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value Ifc4x3_tc1::IfcStackTerminalTypeEnum } Ifc4x3_tc1::IfcStackTerminalTypeEnum::operator Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStairFlightTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1067]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStairFlightTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1067]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStairFlightTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1067]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStairFlightTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1067]); } /* -Ifc4x3_tc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcStairFlightTypeEnum::IfcStairFlightTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5836,23 +5836,23 @@ Ifc4x3_tc1::IfcStairFlightTypeEnum::Value Ifc4x3_tc1::IfcStairFlightTypeEnum::Fr } Ifc4x3_tc1::IfcStairFlightTypeEnum::operator Ifc4x3_tc1::IfcStairFlightTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcStairFlightTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcStairFlightTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStairTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1069]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStairTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1069]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStairTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1069]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStairTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1069]); } /* -Ifc4x3_tc1::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcStairTypeEnum::IfcStairTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcStairTypeEnum::IfcStairTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcStairTypeEnum::IfcStairTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5865,23 +5865,23 @@ Ifc4x3_tc1::IfcStairTypeEnum::Value Ifc4x3_tc1::IfcStairTypeEnum::FromString(con } Ifc4x3_tc1::IfcStairTypeEnum::operator Ifc4x3_tc1::IfcStairTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcStairTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcStairTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStateEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1070]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStateEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1070]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStateEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1070]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStateEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1070]); } /* -Ifc4x3_tc1::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcStateEnum::IfcStateEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcStateEnum::IfcStateEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcStateEnum::IfcStateEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5894,23 +5894,23 @@ Ifc4x3_tc1::IfcStateEnum::Value Ifc4x3_tc1::IfcStateEnum::FromString(const std:: } Ifc4x3_tc1::IfcStateEnum::operator Ifc4x3_tc1::IfcStateEnum::Value() const { - return (Ifc4x3_tc1::IfcStateEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcStateEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1079]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1079]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1079]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1079]); } /* -Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::IfcStructuralCurveActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5923,23 +5923,23 @@ Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralC } Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::operator Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1082]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1082]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1082]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1082]); } /* -Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::IfcStructuralCurveMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5952,23 +5952,23 @@ Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_tc1::IfcStructuralCur } Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::operator Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1108]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1108]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1108]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1108]); } /* -Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::IfcStructuralSurfaceActivityTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -5981,23 +5981,23 @@ Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_tc1::IfcStructura } Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::operator Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1111]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1111]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1111]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1111]); } /* -Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::IfcStructuralSurfaceMemberTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6010,23 +6010,23 @@ Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_tc1::IfcStructuralS } Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::operator Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSubContractResourceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1119]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1119]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSubContractResourceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1119]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1119]); } /* -Ifc4x3_tc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSubContractResourceTypeEnum::IfcSubContractResourceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6039,23 +6039,23 @@ Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value Ifc4x3_tc1::IfcSubContractReso } Ifc4x3_tc1::IfcSubContractResourceTypeEnum::operator Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1125]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1125]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1125]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1125]); } /* -Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::IfcSurfaceFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6068,23 +6068,23 @@ Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value Ifc4x3_tc1::IfcSurfaceFeatureTypeEn } Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::operator Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSurfaceSide::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1130]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSurfaceSide::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1130]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSurfaceSide::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1130]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSurfaceSide::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1130]); } /* -Ifc4x3_tc1::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSurfaceSide::IfcSurfaceSide(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSurfaceSide::IfcSurfaceSide(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSurfaceSide::IfcSurfaceSide(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6097,23 +6097,23 @@ Ifc4x3_tc1::IfcSurfaceSide::Value Ifc4x3_tc1::IfcSurfaceSide::FromString(const s } Ifc4x3_tc1::IfcSurfaceSide::operator Ifc4x3_tc1::IfcSurfaceSide::Value() const { - return (Ifc4x3_tc1::IfcSurfaceSide::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSurfaceSide::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1145]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1145]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1145]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1145]); } /* -Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::IfcSwitchingDeviceTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6126,23 +6126,23 @@ Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_tc1::IfcSwitchingDeviceType } Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::operator Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1149]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1149]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1149]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1149]); } /* -Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::IfcSystemFurnitureElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6155,23 +6155,23 @@ Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value Ifc4x3_tc1::IfcSystemFurnit } Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::operator Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTankTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1155]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTankTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1155]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTankTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1155]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTankTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1155]); } /* -Ifc4x3_tc1::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTankTypeEnum::IfcTankTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTankTypeEnum::IfcTankTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTankTypeEnum::IfcTankTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6184,23 +6184,23 @@ Ifc4x3_tc1::IfcTankTypeEnum::Value Ifc4x3_tc1::IfcTankTypeEnum::FromString(const } Ifc4x3_tc1::IfcTankTypeEnum::operator Ifc4x3_tc1::IfcTankTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTankTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTankTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTaskDurationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1157]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTaskDurationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1157]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTaskDurationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1157]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTaskDurationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1157]); } /* -Ifc4x3_tc1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTaskDurationEnum::IfcTaskDurationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTaskDurationEnum::IfcTaskDurationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6213,23 +6213,23 @@ Ifc4x3_tc1::IfcTaskDurationEnum::Value Ifc4x3_tc1::IfcTaskDurationEnum::FromStri } Ifc4x3_tc1::IfcTaskDurationEnum::operator Ifc4x3_tc1::IfcTaskDurationEnum::Value() const { - return (Ifc4x3_tc1::IfcTaskDurationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTaskDurationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTaskTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1161]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTaskTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1161]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTaskTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1161]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTaskTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1161]); } /* -Ifc4x3_tc1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTaskTypeEnum::IfcTaskTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTaskTypeEnum::IfcTaskTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6242,23 +6242,23 @@ Ifc4x3_tc1::IfcTaskTypeEnum::Value Ifc4x3_tc1::IfcTaskTypeEnum::FromString(const } Ifc4x3_tc1::IfcTaskTypeEnum::operator Ifc4x3_tc1::IfcTaskTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTaskTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTaskTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTendonAnchorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1168]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1168]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonAnchorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1168]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1168]); } /* -Ifc4x3_tc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTendonAnchorTypeEnum::IfcTendonAnchorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6271,23 +6271,23 @@ Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value Ifc4x3_tc1::IfcTendonAnchorTypeEnum:: } Ifc4x3_tc1::IfcTendonAnchorTypeEnum::operator Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTendonConduitTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1171]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1171]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonConduitTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1171]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1171]); } /* -Ifc4x3_tc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTendonConduitTypeEnum::IfcTendonConduitTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6300,23 +6300,23 @@ Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value Ifc4x3_tc1::IfcTendonConduitTypeEnum } Ifc4x3_tc1::IfcTendonConduitTypeEnum::operator Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTendonTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1173]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTendonTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1173]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1173]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTendonTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1173]); } /* -Ifc4x3_tc1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTendonTypeEnum::IfcTendonTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTendonTypeEnum::IfcTendonTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6329,23 +6329,23 @@ Ifc4x3_tc1::IfcTendonTypeEnum::Value Ifc4x3_tc1::IfcTendonTypeEnum::FromString(c } Ifc4x3_tc1::IfcTendonTypeEnum::operator Ifc4x3_tc1::IfcTendonTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTendonTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTendonTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTextPath::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1183]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTextPath::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1183]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTextPath::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1183]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTextPath::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1183]); } /* -Ifc4x3_tc1::IfcTextPath::IfcTextPath(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTextPath::IfcTextPath(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTextPath::IfcTextPath(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTextPath::IfcTextPath(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6358,23 +6358,23 @@ Ifc4x3_tc1::IfcTextPath::Value Ifc4x3_tc1::IfcTextPath::FromString(const std::st } Ifc4x3_tc1::IfcTextPath::operator Ifc4x3_tc1::IfcTextPath::Value() const { - return (Ifc4x3_tc1::IfcTextPath::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTextPath::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1208]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1208]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1208]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1208]); } /* -Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::IfcTimeSeriesDataTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6387,23 +6387,23 @@ Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_tc1::IfcTimeSeriesDataTypeEn } Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::operator Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTrackElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1217]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTrackElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1217]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTrackElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1217]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTrackElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1217]); } /* -Ifc4x3_tc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTrackElementTypeEnum::IfcTrackElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6416,23 +6416,23 @@ Ifc4x3_tc1::IfcTrackElementTypeEnum::Value Ifc4x3_tc1::IfcTrackElementTypeEnum:: } Ifc4x3_tc1::IfcTrackElementTypeEnum::operator Ifc4x3_tc1::IfcTrackElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTrackElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTrackElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTransformerTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1220]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTransformerTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1220]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransformerTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1220]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransformerTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1220]); } /* -Ifc4x3_tc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTransformerTypeEnum::IfcTransformerTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6445,23 +6445,23 @@ Ifc4x3_tc1::IfcTransformerTypeEnum::Value Ifc4x3_tc1::IfcTransformerTypeEnum::Fr } Ifc4x3_tc1::IfcTransformerTypeEnum::operator Ifc4x3_tc1::IfcTransformerTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTransformerTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTransformerTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTransitionCode::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1221]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTransitionCode::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1221]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransitionCode::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1221]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransitionCode::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1221]); } /* -Ifc4x3_tc1::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTransitionCode::IfcTransitionCode(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTransitionCode::IfcTransitionCode(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTransitionCode::IfcTransitionCode(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6474,23 +6474,23 @@ Ifc4x3_tc1::IfcTransitionCode::Value Ifc4x3_tc1::IfcTransitionCode::FromString(c } Ifc4x3_tc1::IfcTransitionCode::operator Ifc4x3_tc1::IfcTransitionCode::Value() const { - return (Ifc4x3_tc1::IfcTransitionCode::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTransitionCode::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTransportElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1227]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTransportElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1227]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransportElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1227]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTransportElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1227]); } /* -Ifc4x3_tc1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTransportElementTypeEnum::IfcTransportElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6503,23 +6503,23 @@ Ifc4x3_tc1::IfcTransportElementTypeEnum::Value Ifc4x3_tc1::IfcTransportElementTy } Ifc4x3_tc1::IfcTransportElementTypeEnum::operator Ifc4x3_tc1::IfcTransportElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTransportElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTransportElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTrimmingPreference::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1232]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTrimmingPreference::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1232]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTrimmingPreference::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1232]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTrimmingPreference::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1232]); } /* -Ifc4x3_tc1::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTrimmingPreference::IfcTrimmingPreference(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTrimmingPreference::IfcTrimmingPreference(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTrimmingPreference::IfcTrimmingPreference(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6532,23 +6532,23 @@ Ifc4x3_tc1::IfcTrimmingPreference::Value Ifc4x3_tc1::IfcTrimmingPreference::From } Ifc4x3_tc1::IfcTrimmingPreference::operator Ifc4x3_tc1::IfcTrimmingPreference::Value() const { - return (Ifc4x3_tc1::IfcTrimmingPreference::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTrimmingPreference::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTubeBundleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1237]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1237]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTubeBundleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1237]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1237]); } /* -Ifc4x3_tc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcTubeBundleTypeEnum::IfcTubeBundleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6561,23 +6561,23 @@ Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value Ifc4x3_tc1::IfcTubeBundleTypeEnum::From } Ifc4x3_tc1::IfcTubeBundleTypeEnum::operator Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcUnitEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1250]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcUnitEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1250]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1250]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1250]); } /* -Ifc4x3_tc1::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcUnitEnum::IfcUnitEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcUnitEnum::IfcUnitEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcUnitEnum::IfcUnitEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6590,23 +6590,23 @@ Ifc4x3_tc1::IfcUnitEnum::Value Ifc4x3_tc1::IfcUnitEnum::FromString(const std::st } Ifc4x3_tc1::IfcUnitEnum::operator Ifc4x3_tc1::IfcUnitEnum::Value() const { - return (Ifc4x3_tc1::IfcUnitEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcUnitEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1245]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1245]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1245]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1245]); } /* -Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::IfcUnitaryControlElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6619,23 +6619,23 @@ Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_tc1::IfcUnitaryContro } Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::operator Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1248]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1248]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1248]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1248]); } /* -Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::IfcUnitaryEquipmentTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6648,23 +6648,23 @@ Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_tc1::IfcUnitaryEquipmentTy } Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::operator Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcValveTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1256]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcValveTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1256]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcValveTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1256]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcValveTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1256]); } /* -Ifc4x3_tc1::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcValveTypeEnum::IfcValveTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcValveTypeEnum::IfcValveTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcValveTypeEnum::IfcValveTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6677,23 +6677,23 @@ Ifc4x3_tc1::IfcValveTypeEnum::Value Ifc4x3_tc1::IfcValveTypeEnum::FromString(con } Ifc4x3_tc1::IfcValveTypeEnum::operator Ifc4x3_tc1::IfcValveTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcValveTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcValveTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVehicleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1262]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVehicleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1262]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVehicleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1262]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVehicleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1262]); } /* -Ifc4x3_tc1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcVehicleTypeEnum::IfcVehicleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6706,23 +6706,23 @@ Ifc4x3_tc1::IfcVehicleTypeEnum::Value Ifc4x3_tc1::IfcVehicleTypeEnum::FromString } Ifc4x3_tc1::IfcVehicleTypeEnum::operator Ifc4x3_tc1::IfcVehicleTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcVehicleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcVehicleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVibrationDamperTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1268]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1268]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVibrationDamperTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1268]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1268]); } /* -Ifc4x3_tc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcVibrationDamperTypeEnum::IfcVibrationDamperTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6735,23 +6735,23 @@ Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value Ifc4x3_tc1::IfcVibrationDamperType } Ifc4x3_tc1::IfcVibrationDamperTypeEnum::operator Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1271]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1271]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1271]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1271]); } /* -Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::IfcVibrationIsolatorTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6764,23 +6764,23 @@ Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_tc1::IfcVibrationIsolator } Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::operator Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVirtualElementTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1273]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVirtualElementTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1273]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVirtualElementTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1273]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVirtualElementTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1273]); } /* -Ifc4x3_tc1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcVirtualElementTypeEnum::IfcVirtualElementTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6793,23 +6793,23 @@ Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value Ifc4x3_tc1::IfcVirtualElementTypeEn } Ifc4x3_tc1::IfcVirtualElementTypeEnum::operator Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1276]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1276]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1276]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1276]); } /* -Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::IfcVoidingFeatureTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6822,23 +6822,23 @@ Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value Ifc4x3_tc1::IfcVoidingFeatureTypeEn } Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::operator Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWallTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1282]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWallTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1282]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWallTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1282]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWallTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1282]); } /* -Ifc4x3_tc1::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcWallTypeEnum::IfcWallTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcWallTypeEnum::IfcWallTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcWallTypeEnum::IfcWallTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6851,23 +6851,23 @@ Ifc4x3_tc1::IfcWallTypeEnum::Value Ifc4x3_tc1::IfcWallTypeEnum::FromString(const } Ifc4x3_tc1::IfcWallTypeEnum::operator Ifc4x3_tc1::IfcWallTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcWallTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcWallTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWasteTerminalTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1288]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1288]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWasteTerminalTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1288]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1288]); } /* -Ifc4x3_tc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcWasteTerminalTypeEnum::IfcWasteTerminalTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6880,23 +6880,23 @@ Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value Ifc4x3_tc1::IfcWasteTerminalTypeEnum } Ifc4x3_tc1::IfcWasteTerminalTypeEnum::operator Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWindowPanelOperationEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1291]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWindowPanelOperationEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1291]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowPanelOperationEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1291]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowPanelOperationEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1291]); } /* -Ifc4x3_tc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcWindowPanelOperationEnum::IfcWindowPanelOperationEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6909,23 +6909,23 @@ Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value Ifc4x3_tc1::IfcWindowPanelOperati } Ifc4x3_tc1::IfcWindowPanelOperationEnum::operator Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value() const { - return (Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWindowPanelPositionEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1292]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1292]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowPanelPositionEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1292]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1292]); } /* -Ifc4x3_tc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcWindowPanelPositionEnum::IfcWindowPanelPositionEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6938,23 +6938,23 @@ Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value Ifc4x3_tc1::IfcWindowPanelPosition } Ifc4x3_tc1::IfcWindowPanelPositionEnum::operator Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value() const { - return (Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWindowTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1295]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWindowTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1295]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1295]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1295]); } /* -Ifc4x3_tc1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcWindowTypeEnum::IfcWindowTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcWindowTypeEnum::IfcWindowTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6967,23 +6967,23 @@ Ifc4x3_tc1::IfcWindowTypeEnum::Value Ifc4x3_tc1::IfcWindowTypeEnum::FromString(c } Ifc4x3_tc1::IfcWindowTypeEnum::operator Ifc4x3_tc1::IfcWindowTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcWindowTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcWindowTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWindowTypePartitioningEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1296]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1296]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowTypePartitioningEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1296]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1296]); } /* -Ifc4x3_tc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcWindowTypePartitioningEnum::IfcWindowTypePartitioningEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -6996,23 +6996,23 @@ Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value Ifc4x3_tc1::IfcWindowTypePartit } Ifc4x3_tc1::IfcWindowTypePartitioningEnum::operator Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value() const { - return (Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWorkCalendarTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1298]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1298]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkCalendarTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1298]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1298]); } /* -Ifc4x3_tc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcWorkCalendarTypeEnum::IfcWorkCalendarTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7025,23 +7025,23 @@ Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value Ifc4x3_tc1::IfcWorkCalendarTypeEnum:: } Ifc4x3_tc1::IfcWorkCalendarTypeEnum::operator Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWorkPlanTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1301]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWorkPlanTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1301]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkPlanTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1301]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkPlanTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1301]); } /* -Ifc4x3_tc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcWorkPlanTypeEnum::IfcWorkPlanTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7054,23 +7054,23 @@ Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value Ifc4x3_tc1::IfcWorkPlanTypeEnum::FromStri } Ifc4x3_tc1::IfcWorkPlanTypeEnum::operator Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -// const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWorkScheduleTypeEnum::declaration() const { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1303]); } -const IfcParse::enumeration_type& Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Class() { return *((IfcParse::enumeration_type*)IFC4X3_TC1_types[1303]); } +// const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkScheduleTypeEnum::declaration() const { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1303]); } +const ifcopenshell::enumeration_type& Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Class() { return *((ifcopenshell::enumeration_type*)IFC4X3_TC1_types[1303]); } /* -Ifc4x3_tc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) +Ifc4x3_tc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::weak_ptr& e) : express::DeclaredType(e) {} Ifc4x3_tc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(Value v) { - set_attribute_value(0, EnumerationReference(&Class(), static_cast(v))); + set_attribute_value(0, enumeration_reference(&Class(), static_cast(v))); } Ifc4x3_tc1::IfcWorkScheduleTypeEnum::IfcWorkScheduleTypeEnum(const std::string& v) { - set_attribute_value(0, EnumerationReference(&Class(), Class().lookup_enum_offset(v))); + set_attribute_value(0, enumeration_reference(&Class(), Class().lookup_enum_offset(v))); } */ @@ -7083,856 +7083,856 @@ Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value Ifc4x3_tc1::IfcWorkScheduleTypeEnum:: } Ifc4x3_tc1::IfcWorkScheduleTypeEnum::operator Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value() const { - return (Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value) ((EnumerationReference) get_attribute_value(0)).index(); + return (Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value) ((enumeration_reference) get_attribute_value(0)).index(); } -const IfcParse::select_type& Ifc4x3_tc1::IfcActorSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[8]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcActorSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[8]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcAppliedValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[51]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcAppliedValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[51]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcAxis2Placement::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[68]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcAxis2Placement::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[68]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcBendingParameterSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[79]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcBendingParameterSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[79]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcBooleanOperand::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[88]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcBooleanOperand::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[88]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcClassificationReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[170]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcClassificationReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[170]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcClassificationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[171]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcClassificationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[171]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcColour::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[177]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcColour::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[177]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcColourOrFactor::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[178]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcColourOrFactor::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[178]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[245]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[245]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcCsgSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[263]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcCsgSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[263]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[274]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[274]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcCurveMeasureSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[276]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveMeasureSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[276]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcCurveOnSurface::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[277]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveOnSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[277]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcCurveOrEdgeCurve::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[278]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveOrEdgeCurve::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[278]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcCurveStyleFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[284]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcCurveStyleFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[284]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[296]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[296]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcDerivedMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[297]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcDerivedMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[297]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcDocumentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[333]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcDocumentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[333]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcFillStyleSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[458]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcFillStyleSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[458]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcGeometricSetSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[509]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcGeometricSetSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[509]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcGridPlacementDirectionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[522]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcGridPlacementDirectionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[522]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcHatchLineDistanceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[526]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcHatchLineDistanceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[526]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcInterferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[554]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcInterferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[554]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcLayeredItem::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[581]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcLayeredItem::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[581]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcLibrarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[586]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcLibrarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[586]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcLightDistributionDataSourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[589]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcLightDistributionDataSourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[589]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcMaterialSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[653]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcMaterialSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[653]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcMeasureValue::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[655]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcMeasureValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[655]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcMetricValueSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[667]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcMetricValueSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[667]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[675]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[675]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[677]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[677]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[678]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[678]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcObjectReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[703]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcObjectReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[703]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcPointOrVertexPoint::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[766]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcPointOrVertexPoint::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[766]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcProcessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[797]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcProcessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[797]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcProductRepresentationSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[801]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcProductRepresentationSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[801]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcProductSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[802]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcProductSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[802]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcPropertySetDefinitionSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[825]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcPropertySetDefinitionSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[825]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcResourceObjectSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[956]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcResourceObjectSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[956]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcResourceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[957]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcResourceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[957]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcRotationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[975]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcRotationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[975]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcSegmentIndexSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[994]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcSegmentIndexSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[994]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcShell::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1007]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1007]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcSimpleValue::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1018]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcSimpleValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1018]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcSizeSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1024]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcSizeSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1024]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcSolidOrShell::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1034]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcSolidOrShell::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1034]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcSpaceBoundarySelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1040]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcSpaceBoundarySelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1040]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcSpatialReferenceSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1048]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcSpatialReferenceSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1048]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcSpecularHighlightSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1056]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcSpecularHighlightSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1056]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1074]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1074]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcSurfaceOrFaceSurface::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1128]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcSurfaceOrFaceSurface::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1128]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcSurfaceStyleElementSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1132]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcSurfaceStyleElementSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1132]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcTextFontSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1180]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcTextFontSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1180]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcTimeOrRatioSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1205]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcTimeOrRatioSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1205]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcTranslationalStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1222]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcTranslationalStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1222]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcTrimmingSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1233]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcTrimmingSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1233]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcUnit::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1242]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcUnit::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1242]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcValue::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1253]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcValue::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1253]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcVectorOrDirection::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1259]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcVectorOrDirection::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1259]); } -const IfcParse::select_type& Ifc4x3_tc1::IfcWarpingStiffnessSelect::Class() { return *((IfcParse::select_type*)IFC4X3_TC1_types[1285]); } +const ifcopenshell::select_type& Ifc4x3_tc1::IfcWarpingStiffnessSelect::Class() { return *((ifcopenshell::select_type*)IFC4X3_TC1_types[1285]); } // Function implementations for IfcAbsorbedDoseMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcAbsorbedDoseMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[0]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAbsorbedDoseMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[0]); } void Ifc4x3_tc1::IfcAbsorbedDoseMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcAbsorbedDoseMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAccelerationMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcAccelerationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAccelerationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1]); } void Ifc4x3_tc1::IfcAccelerationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcAccelerationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAmountOfSubstanceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcAmountOfSubstanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[42]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAmountOfSubstanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[42]); } void Ifc4x3_tc1::IfcAmountOfSubstanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcAmountOfSubstanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAngularVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcAngularVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[45]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAngularVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[45]); } void Ifc4x3_tc1::IfcAngularVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcAngularVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcArcIndex -const IfcParse::type_declaration& Ifc4x3_tc1::IfcArcIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[57]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcArcIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[57]); } void Ifc4x3_tc1::IfcArcIndex::initialize(std::vector< int > /*[3:3]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcArcIndex::operator std::vector< int > /*[3:3]*/() const { return get_attribute_value(0); } // Function implementations for IfcAreaDensityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcAreaDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[58]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAreaDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[58]); } void Ifc4x3_tc1::IfcAreaDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcAreaDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcAreaMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcAreaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[59]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcAreaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[59]); } void Ifc4x3_tc1::IfcAreaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcAreaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcBinary -const IfcParse::type_declaration& Ifc4x3_tc1::IfcBinary::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[80]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcBinary::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[80]); } void Ifc4x3_tc1::IfcBinary::initialize(boost::dynamic_bitset<> v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcBinary::operator boost::dynamic_bitset<>() const { return get_attribute_value(0); } // Function implementations for IfcBoolean -const IfcParse::type_declaration& Ifc4x3_tc1::IfcBoolean::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[86]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcBoolean::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[86]); } void Ifc4x3_tc1::IfcBoolean::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcBoolean::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcBoxAlignment -const IfcParse::type_declaration& Ifc4x3_tc1::IfcBoxAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[101]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcBoxAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[101]); } void Ifc4x3_tc1::IfcBoxAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcBoxAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcCardinalPointReference -const IfcParse::type_declaration& Ifc4x3_tc1::IfcCardinalPointReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[145]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcCardinalPointReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[145]); } void Ifc4x3_tc1::IfcCardinalPointReference::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcCardinalPointReference::operator int() const { return get_attribute_value(0); } // Function implementations for IfcComplexNumber -const IfcParse::type_declaration& Ifc4x3_tc1::IfcComplexNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[188]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcComplexNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[188]); } void Ifc4x3_tc1::IfcComplexNumber::initialize(std::vector< double > /*[1:2]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcComplexNumber::operator std::vector< double > /*[1:2]*/() const { return get_attribute_value(0); } // Function implementations for IfcCompoundPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[196]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[196]); } void Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure::initialize(std::vector< int > /*[3:4]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcCompoundPlaneAngleMeasure::operator std::vector< int > /*[3:4]*/() const { return get_attribute_value(0); } // Function implementations for IfcContextDependentMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcContextDependentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[226]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcContextDependentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[226]); } void Ifc4x3_tc1::IfcContextDependentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcContextDependentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcCountMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcCountMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[252]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcCountMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[252]); } void Ifc4x3_tc1::IfcCountMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcCountMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcCurvatureMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcCurvatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[270]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcCurvatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[270]); } void Ifc4x3_tc1::IfcCurvatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcCurvatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDate -const IfcParse::type_declaration& Ifc4x3_tc1::IfcDate::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[290]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDate::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[290]); } void Ifc4x3_tc1::IfcDate::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcDate::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDateTime -const IfcParse::type_declaration& Ifc4x3_tc1::IfcDateTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[291]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDateTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[291]); } void Ifc4x3_tc1::IfcDateTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcDateTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDayInMonthNumber -const IfcParse::type_declaration& Ifc4x3_tc1::IfcDayInMonthNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[292]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDayInMonthNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[292]); } void Ifc4x3_tc1::IfcDayInMonthNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcDayInMonthNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDayInWeekNumber -const IfcParse::type_declaration& Ifc4x3_tc1::IfcDayInWeekNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[293]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDayInWeekNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[293]); } void Ifc4x3_tc1::IfcDayInWeekNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcDayInWeekNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDescriptiveMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcDescriptiveMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[302]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDescriptiveMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[302]); } void Ifc4x3_tc1::IfcDescriptiveMeasure::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcDescriptiveMeasure::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDimensionCount -const IfcParse::type_declaration& Ifc4x3_tc1::IfcDimensionCount::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[304]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDimensionCount::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[304]); } void Ifc4x3_tc1::IfcDimensionCount::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcDimensionCount::operator int() const { return get_attribute_value(0); } // Function implementations for IfcDoseEquivalentMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcDoseEquivalentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[343]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDoseEquivalentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[343]); } void Ifc4x3_tc1::IfcDoseEquivalentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcDoseEquivalentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcDuration -const IfcParse::type_declaration& Ifc4x3_tc1::IfcDuration::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[355]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDuration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[355]); } void Ifc4x3_tc1::IfcDuration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcDuration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcDynamicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcDynamicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[356]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcDynamicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[356]); } void Ifc4x3_tc1::IfcDynamicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcDynamicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCapacitanceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcElectricCapacitanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[368]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricCapacitanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[368]); } void Ifc4x3_tc1::IfcElectricCapacitanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcElectricCapacitanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricChargeMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcElectricChargeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[369]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricChargeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[369]); } void Ifc4x3_tc1::IfcElectricChargeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcElectricChargeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricConductanceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcElectricConductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[370]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricConductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[370]); } void Ifc4x3_tc1::IfcElectricConductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcElectricConductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricCurrentMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcElectricCurrentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[371]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricCurrentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[371]); } void Ifc4x3_tc1::IfcElectricCurrentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcElectricCurrentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcElectricResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[387]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[387]); } void Ifc4x3_tc1::IfcElectricResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcElectricResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcElectricVoltageMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcElectricVoltageMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[391]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcElectricVoltageMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[391]); } void Ifc4x3_tc1::IfcElectricVoltageMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcElectricVoltageMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcEnergyMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcEnergyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[406]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcEnergyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[406]); } void Ifc4x3_tc1::IfcEnergyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcEnergyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFontStyle -const IfcParse::type_declaration& Ifc4x3_tc1::IfcFontStyle::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[487]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcFontStyle::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[487]); } void Ifc4x3_tc1::IfcFontStyle::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcFontStyle::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontVariant -const IfcParse::type_declaration& Ifc4x3_tc1::IfcFontVariant::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[488]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcFontVariant::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[488]); } void Ifc4x3_tc1::IfcFontVariant::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcFontVariant::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcFontWeight -const IfcParse::type_declaration& Ifc4x3_tc1::IfcFontWeight::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[489]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcFontWeight::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[489]); } void Ifc4x3_tc1::IfcFontWeight::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcFontWeight::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcForceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[493]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[493]); } void Ifc4x3_tc1::IfcForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[494]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[494]); } void Ifc4x3_tc1::IfcFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcGloballyUniqueId -const IfcParse::type_declaration& Ifc4x3_tc1::IfcGloballyUniqueId::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[516]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcGloballyUniqueId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[516]); } void Ifc4x3_tc1::IfcGloballyUniqueId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcGloballyUniqueId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcHeatFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcHeatFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[530]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcHeatFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[530]); } void Ifc4x3_tc1::IfcHeatFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcHeatFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcHeatingValueMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcHeatingValueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[531]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcHeatingValueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[531]); } void Ifc4x3_tc1::IfcHeatingValueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcHeatingValueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIdentifier -const IfcParse::type_declaration& Ifc4x3_tc1::IfcIdentifier::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[535]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIdentifier::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[535]); } void Ifc4x3_tc1::IfcIdentifier::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcIdentifier::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcIlluminanceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcIlluminanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[536]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIlluminanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[536]); } void Ifc4x3_tc1::IfcIlluminanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcIlluminanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInductanceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcInductanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[548]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcInductanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[548]); } void Ifc4x3_tc1::IfcInductanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcInductanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcInteger -const IfcParse::type_declaration& Ifc4x3_tc1::IfcInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[549]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[549]); } void Ifc4x3_tc1::IfcInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIntegerCountRateMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcIntegerCountRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[550]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIntegerCountRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[550]); } void Ifc4x3_tc1::IfcIntegerCountRateMeasure::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcIntegerCountRateMeasure::operator int() const { return get_attribute_value(0); } // Function implementations for IfcIonConcentrationMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcIonConcentrationMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[559]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIonConcentrationMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[559]); } void Ifc4x3_tc1::IfcIonConcentrationMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcIonConcentrationMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcIsothermalMoistureCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcIsothermalMoistureCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[563]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcIsothermalMoistureCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[563]); } void Ifc4x3_tc1::IfcIsothermalMoistureCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcIsothermalMoistureCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcKinematicViscosityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcKinematicViscosityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[570]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcKinematicViscosityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[570]); } void Ifc4x3_tc1::IfcKinematicViscosityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcKinematicViscosityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLabel -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLabel::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[572]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLabel::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[572]); } void Ifc4x3_tc1::IfcLabel::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLabel::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLanguageId -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLanguageId::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[580]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLanguageId::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[580]); } void Ifc4x3_tc1::IfcLanguageId::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLanguageId::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcLengthMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[583]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[583]); } void Ifc4x3_tc1::IfcLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLineIndex -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLineIndex::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[609]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLineIndex::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[609]); } void Ifc4x3_tc1::IfcLineIndex::initialize(std::vector< int > /*[2:?]*/ v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLineIndex::operator std::vector< int > /*[2:?]*/() const { return get_attribute_value(0); } // Function implementations for IfcLinearForceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLinearForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[603]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLinearForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[603]); } void Ifc4x3_tc1::IfcLinearForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLinearForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearMomentMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLinearMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[604]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLinearMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[604]); } void Ifc4x3_tc1::IfcLinearMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLinearMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLinearStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[607]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLinearStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[607]); } void Ifc4x3_tc1::IfcLinearStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLinearStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLinearVelocityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLinearVelocityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[608]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLinearVelocityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[608]); } void Ifc4x3_tc1::IfcLinearVelocityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLinearVelocityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLogical -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLogical::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[615]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLogical::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[615]); } void Ifc4x3_tc1::IfcLogical::initialize(boost::logic::tribool v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLogical::operator boost::logic::tribool() const { return get_attribute_value(0); } // Function implementations for IfcLuminousFluxMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLuminousFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[619]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLuminousFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[619]); } void Ifc4x3_tc1::IfcLuminousFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLuminousFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityDistributionMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLuminousIntensityDistributionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[620]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLuminousIntensityDistributionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[620]); } void Ifc4x3_tc1::IfcLuminousIntensityDistributionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLuminousIntensityDistributionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcLuminousIntensityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcLuminousIntensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[621]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcLuminousIntensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[621]); } void Ifc4x3_tc1::IfcLuminousIntensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcLuminousIntensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxDensityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMagneticFluxDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[622]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMagneticFluxDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[622]); } void Ifc4x3_tc1::IfcMagneticFluxDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMagneticFluxDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMagneticFluxMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMagneticFluxMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[623]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMagneticFluxMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[623]); } void Ifc4x3_tc1::IfcMagneticFluxMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMagneticFluxMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassDensityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMassDensityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[631]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMassDensityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[631]); } void Ifc4x3_tc1::IfcMassDensityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMassDensityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMassFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[632]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMassFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[632]); } void Ifc4x3_tc1::IfcMassFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMassFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[633]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[633]); } void Ifc4x3_tc1::IfcMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMassPerLengthMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMassPerLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[634]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMassPerLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[634]); } void Ifc4x3_tc1::IfcMassPerLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMassPerLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfElasticityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcModulusOfElasticityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[672]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcModulusOfElasticityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[672]); } void Ifc4x3_tc1::IfcModulusOfElasticityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcModulusOfElasticityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfLinearSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[673]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcModulusOfLinearSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[673]); } void Ifc4x3_tc1::IfcModulusOfLinearSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcModulusOfLinearSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfRotationalSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[674]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[674]); } void Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcModulusOfSubgradeReactionMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcModulusOfSubgradeReactionMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[676]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcModulusOfSubgradeReactionMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[676]); } void Ifc4x3_tc1::IfcModulusOfSubgradeReactionMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcModulusOfSubgradeReactionMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMoistureDiffusivityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMoistureDiffusivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[679]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMoistureDiffusivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[679]); } void Ifc4x3_tc1::IfcMoistureDiffusivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMoistureDiffusivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMolecularWeightMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMolecularWeightMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[680]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMolecularWeightMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[680]); } void Ifc4x3_tc1::IfcMolecularWeightMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMolecularWeightMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMomentOfInertiaMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMomentOfInertiaMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[681]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMomentOfInertiaMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[681]); } void Ifc4x3_tc1::IfcMomentOfInertiaMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMomentOfInertiaMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonetaryMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMonetaryMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[682]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMonetaryMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[682]); } void Ifc4x3_tc1::IfcMonetaryMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMonetaryMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcMonthInYearNumber -const IfcParse::type_declaration& Ifc4x3_tc1::IfcMonthInYearNumber::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[684]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcMonthInYearNumber::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[684]); } void Ifc4x3_tc1::IfcMonthInYearNumber::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcMonthInYearNumber::operator int() const { return get_attribute_value(0); } // Function implementations for IfcNonNegativeLengthMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcNonNegativeLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[695]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcNonNegativeLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[695]); } void Ifc4x3_tc1::IfcNonNegativeLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcNonNegativeLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNormalisedRatioMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcNormalisedRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[696]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcNormalisedRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[696]); } void Ifc4x3_tc1::IfcNormalisedRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcNormalisedRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcNumericMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcNumericMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[697]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcNumericMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[697]); } void Ifc4x3_tc1::IfcNumericMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcNumericMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPHMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPHMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[737]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPHMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[737]); } void Ifc4x3_tc1::IfcPHMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPHMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcParameterValue -const IfcParse::type_declaration& Ifc4x3_tc1::IfcParameterValue::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[723]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcParameterValue::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[723]); } void Ifc4x3_tc1::IfcParameterValue::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcParameterValue::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlanarForceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPlanarForceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[756]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPlanarForceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[756]); } void Ifc4x3_tc1::IfcPlanarForceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPlanarForceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[758]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[758]); } void Ifc4x3_tc1::IfcPlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveInteger -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPositiveInteger::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[774]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPositiveInteger::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[774]); } void Ifc4x3_tc1::IfcPositiveInteger::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPositiveInteger::operator int() const { return get_attribute_value(0); } // Function implementations for IfcPositiveLengthMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPositiveLengthMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[775]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPositiveLengthMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[775]); } void Ifc4x3_tc1::IfcPositiveLengthMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPositiveLengthMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositivePlaneAngleMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPositivePlaneAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[776]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPositivePlaneAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[776]); } void Ifc4x3_tc1::IfcPositivePlaneAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPositivePlaneAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPositiveRatioMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPositiveRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[777]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPositiveRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[777]); } void Ifc4x3_tc1::IfcPositiveRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPositiveRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPowerMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[779]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[779]); } void Ifc4x3_tc1::IfcPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPresentableText -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPresentableText::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[787]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPresentableText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[787]); } void Ifc4x3_tc1::IfcPresentableText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPresentableText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcPressureMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[792]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[792]); } void Ifc4x3_tc1::IfcPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcPropertySetDefinitionSet -const IfcParse::type_declaration& Ifc4x3_tc1::IfcPropertySetDefinitionSet::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[826]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcPropertySetDefinitionSet::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[826]); } void Ifc4x3_tc1::IfcPropertySetDefinitionSet::initialize(std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > v) { set_attribute_value(0, cast_vector(v)); } Ifc4x3_tc1::IfcPropertySetDefinitionSet::operator std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition >() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcPropertySetDefinition>(es); } // Function implementations for IfcRadioActivityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcRadioActivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[850]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRadioActivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[850]); } void Ifc4x3_tc1::IfcRadioActivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcRadioActivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRatioMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcRatioMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[867]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRatioMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[867]); } void Ifc4x3_tc1::IfcRatioMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcRatioMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcReal -const IfcParse::type_declaration& Ifc4x3_tc1::IfcReal::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[870]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcReal::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[870]); } void Ifc4x3_tc1::IfcReal::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcReal::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalFrequencyMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcRotationalFrequencyMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[972]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRotationalFrequencyMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[972]); } void Ifc4x3_tc1::IfcRotationalFrequencyMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcRotationalFrequencyMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalMassMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcRotationalMassMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[973]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRotationalMassMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[973]); } void Ifc4x3_tc1::IfcRotationalMassMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcRotationalMassMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcRotationalStiffnessMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcRotationalStiffnessMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[974]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcRotationalStiffnessMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[974]); } void Ifc4x3_tc1::IfcRotationalStiffnessMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcRotationalStiffnessMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionModulusMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSectionModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[988]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSectionModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[988]); } void Ifc4x3_tc1::IfcSectionModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSectionModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSectionalAreaIntegralMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSectionalAreaIntegralMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[983]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSectionalAreaIntegralMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[983]); } void Ifc4x3_tc1::IfcSectionalAreaIntegralMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSectionalAreaIntegralMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcShearModulusMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcShearModulusMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1006]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcShearModulusMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1006]); } void Ifc4x3_tc1::IfcShearModulusMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcShearModulusMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSolidAngleMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSolidAngleMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1032]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSolidAngleMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1032]); } void Ifc4x3_tc1::IfcSolidAngleMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSolidAngleMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerLevelMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSoundPowerLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1035]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSoundPowerLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1035]); } void Ifc4x3_tc1::IfcSoundPowerLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSoundPowerLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPowerMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSoundPowerMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1036]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSoundPowerMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1036]); } void Ifc4x3_tc1::IfcSoundPowerMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSoundPowerMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureLevelMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSoundPressureLevelMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1037]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSoundPressureLevelMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1037]); } void Ifc4x3_tc1::IfcSoundPressureLevelMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSoundPressureLevelMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSoundPressureMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSoundPressureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1038]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSoundPressureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1038]); } void Ifc4x3_tc1::IfcSoundPressureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSoundPressureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecificHeatCapacityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSpecificHeatCapacityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1054]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSpecificHeatCapacityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1054]); } void Ifc4x3_tc1::IfcSpecificHeatCapacityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSpecificHeatCapacityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularExponent -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSpecularExponent::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1055]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSpecularExponent::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1055]); } void Ifc4x3_tc1::IfcSpecularExponent::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSpecularExponent::operator double() const { return get_attribute_value(0); } // Function implementations for IfcSpecularRoughness -const IfcParse::type_declaration& Ifc4x3_tc1::IfcSpecularRoughness::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1057]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcSpecularRoughness::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1057]); } void Ifc4x3_tc1::IfcSpecularRoughness::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcSpecularRoughness::operator double() const { return get_attribute_value(0); } // Function implementations for IfcStrippedOptional -const IfcParse::type_declaration& Ifc4x3_tc1::IfcStrippedOptional::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1071]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcStrippedOptional::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1071]); } void Ifc4x3_tc1::IfcStrippedOptional::initialize(bool v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcStrippedOptional::operator bool() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureGradientMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTemperatureGradientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1163]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTemperatureGradientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1163]); } void Ifc4x3_tc1::IfcTemperatureGradientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTemperatureGradientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTemperatureRateOfChangeMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTemperatureRateOfChangeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1164]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTemperatureRateOfChangeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1164]); } void Ifc4x3_tc1::IfcTemperatureRateOfChangeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTemperatureRateOfChangeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcText -const IfcParse::type_declaration& Ifc4x3_tc1::IfcText::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1176]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcText::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1176]); } void Ifc4x3_tc1::IfcText::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcText::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextAlignment -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTextAlignment::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1177]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTextAlignment::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1177]); } void Ifc4x3_tc1::IfcTextAlignment::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTextAlignment::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextDecoration -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTextDecoration::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1178]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTextDecoration::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1178]); } void Ifc4x3_tc1::IfcTextDecoration::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTextDecoration::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextFontName -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTextFontName::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1179]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTextFontName::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1179]); } void Ifc4x3_tc1::IfcTextFontName::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTextFontName::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTextTransformation -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTextTransformation::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1188]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTextTransformation::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1188]); } void Ifc4x3_tc1::IfcTextTransformation::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTextTransformation::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcThermalAdmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcThermalAdmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1196]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalAdmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1196]); } void Ifc4x3_tc1::IfcThermalAdmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcThermalAdmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalConductivityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcThermalConductivityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1197]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalConductivityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1197]); } void Ifc4x3_tc1::IfcThermalConductivityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcThermalConductivityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalExpansionCoefficientMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcThermalExpansionCoefficientMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1198]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalExpansionCoefficientMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1198]); } void Ifc4x3_tc1::IfcThermalExpansionCoefficientMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcThermalExpansionCoefficientMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalResistanceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcThermalResistanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1199]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalResistanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1199]); } void Ifc4x3_tc1::IfcThermalResistanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcThermalResistanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermalTransmittanceMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcThermalTransmittanceMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1200]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermalTransmittanceMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1200]); } void Ifc4x3_tc1::IfcThermalTransmittanceMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcThermalTransmittanceMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcThermodynamicTemperatureMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcThermodynamicTemperatureMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1201]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcThermodynamicTemperatureMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1201]); } void Ifc4x3_tc1::IfcThermodynamicTemperatureMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcThermodynamicTemperatureMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTime -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTime::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1203]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTime::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1203]); } void Ifc4x3_tc1::IfcTime::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTime::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcTimeMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTimeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1204]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTimeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1204]); } void Ifc4x3_tc1::IfcTimeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTimeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcTimeStamp -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTimeStamp::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1210]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTimeStamp::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1210]); } void Ifc4x3_tc1::IfcTimeStamp::initialize(int v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTimeStamp::operator int() const { return get_attribute_value(0); } // Function implementations for IfcTorqueMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcTorqueMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1214]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcTorqueMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1214]); } void Ifc4x3_tc1::IfcTorqueMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcTorqueMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcURIReference -const IfcParse::type_declaration& Ifc4x3_tc1::IfcURIReference::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1251]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcURIReference::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1251]); } void Ifc4x3_tc1::IfcURIReference::initialize(std::string v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcURIReference::operator std::string() const { return get_attribute_value(0); } // Function implementations for IfcVaporPermeabilityMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcVaporPermeabilityMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1257]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcVaporPermeabilityMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1257]); } void Ifc4x3_tc1::IfcVaporPermeabilityMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcVaporPermeabilityMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumeMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcVolumeMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1277]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcVolumeMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1277]); } void Ifc4x3_tc1::IfcVolumeMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcVolumeMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcVolumetricFlowRateMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcVolumetricFlowRateMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1278]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcVolumetricFlowRateMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1278]); } void Ifc4x3_tc1::IfcVolumetricFlowRateMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcVolumetricFlowRateMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingConstantMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcWarpingConstantMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1283]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcWarpingConstantMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1283]); } void Ifc4x3_tc1::IfcWarpingConstantMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcWarpingConstantMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcWarpingMomentMeasure -const IfcParse::type_declaration& Ifc4x3_tc1::IfcWarpingMomentMeasure::Class() { return *((IfcParse::type_declaration*)IFC4X3_TC1_types[1284]); } +const ifcopenshell::type_declaration& Ifc4x3_tc1::IfcWarpingMomentMeasure::Class() { return *((ifcopenshell::type_declaration*)IFC4X3_TC1_types[1284]); } void Ifc4x3_tc1::IfcWarpingMomentMeasure::initialize(double v) { set_attribute_value(0, (v)); } Ifc4x3_tc1::IfcWarpingMomentMeasure::operator double() const { return get_attribute_value(0); } // Function implementations for IfcActionRequest std::optional< ::Ifc4x3_tc1::IfcActionRequestTypeEnum::Value > Ifc4x3_tc1::IfcActionRequest::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcActionRequestTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_tc1::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_tc1::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_tc1::IfcActionRequest::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcActionRequestTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcActionRequestTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_tc1::IfcActionRequest::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcActionRequest::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_tc1::IfcActionRequest::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcActionRequest::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcActionRequest::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[2]); } -void Ifc4x3_tc1::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcActionRequest::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[2]); } +void Ifc4x3_tc1::IfcActionRequest::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcActionRequestTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcActor ::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcActor::TheActor() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcActorSelect>(); } void Ifc4x3_tc1::IfcActor::setTheActor(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_tc1::IfcRelAssignsToActor> Ifc4x3_tc1::IfcActor::IsActingUpon() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[899], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelAssignsToActor> Ifc4x3_tc1::IfcActor::IsActingUpon() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[899], 6)); } -const IfcParse::entity& Ifc4x3_tc1::IfcActor::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[6]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcActor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[6]); } void Ifc4x3_tc1::IfcActor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcActorSelect v6_TheActor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); } // Function implementations for IfcActorRole ::Ifc4x3_tc1::IfcRoleEnum::Value Ifc4x3_tc1::IfcActorRole::Role() const { return ::Ifc4x3_tc1::IfcRoleEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_tc1::IfcActorRole::setRole(const ::Ifc4x3_tc1::IfcRoleEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_tc1::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_tc1::IfcActorRole::setRole(const ::Ifc4x3_tc1::IfcRoleEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_tc1::IfcActorRole::UserDefinedRole() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcActorRole::setUserDefinedRole(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_tc1::IfcActorRole::Description() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcActorRole::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcActorRole::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcActorRole::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcActorRole::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[7]); } -void Ifc4x3_tc1::IfcActorRole::initialize(::Ifc4x3_tc1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcActorRole::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[7]); } +void Ifc4x3_tc1::IfcActorRole::initialize(::Ifc4x3_tc1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcRoleEnum::Class(),(size_t)v1_Role))); if (v2_UserDefinedRole) {set_attribute_value(1, (*v2_UserDefinedRole)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcActuator std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value > Ifc4x3_tc1::IfcActuator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcActuatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcActuator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcActuator::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[9]); } -void Ifc4x3_tc1::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcActuator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[9]); } +void Ifc4x3_tc1::IfcActuator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcActuatorType ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value Ifc4x3_tc1::IfcActuatorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcActuatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcActuatorType::setPredefinedType(const ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcActuatorType::setPredefinedType(const ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcActuatorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[10]); } -void Ifc4x3_tc1::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcActuatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[10]); } +void Ifc4x3_tc1::IfcActuatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcActuatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAddress std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > Ifc4x3_tc1::IfcAddress::Purpose() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAddressTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_tc1::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, EnumerationReference(&::Ifc4x3_tc1::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } +void Ifc4x3_tc1::IfcAddress::setPurpose(const std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value >& v) { if (v) {set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcAddressTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(0);} } std::optional< std::string > Ifc4x3_tc1::IfcAddress::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcAddress::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_tc1::IfcAddress::UserDefinedPurpose() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcAddress::setUserDefinedPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_tc1::IfcPerson> Ifc4x3_tc1::IfcAddress::OfPerson() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[735], 7)); } -std::vector<::Ifc4x3_tc1::IfcOrganization> Ifc4x3_tc1::IfcAddress::OfOrganization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[714], 4)); } +std::vector<::Ifc4x3_tc1::IfcPerson> Ifc4x3_tc1::IfcAddress::OfPerson() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[735], 7)); } +std::vector<::Ifc4x3_tc1::IfcOrganization> Ifc4x3_tc1::IfcAddress::OfOrganization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[714], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcAddress::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[12]); } -void Ifc4x3_tc1::IfcAddress::initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[12]); } +void Ifc4x3_tc1::IfcAddress::initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcAddressTypeEnum::Class(),(size_t)*v1_Purpose))); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_UserDefinedPurpose) {set_attribute_value(2, (*v3_UserDefinedPurpose)); } } // Function implementations for IfcAdvancedBrep -const IfcParse::entity& Ifc4x3_tc1::IfcAdvancedBrep::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[14]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAdvancedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[14]); } void Ifc4x3_tc1::IfcAdvancedBrep::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcAdvancedBrepWithVoids @@ -7940,93 +7940,93 @@ std::vector< ::Ifc4x3_tc1::IfcClosedShell > Ifc4x3_tc1::IfcAdvancedBrepWithVoids void Ifc4x3_tc1::IfcAdvancedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_tc1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcAdvancedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[15]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAdvancedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[15]); } void Ifc4x3_tc1::IfcAdvancedBrepWithVoids::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_tc1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcAdvancedFace -const IfcParse::entity& Ifc4x3_tc1::IfcAdvancedFace::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[16]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAdvancedFace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[16]); } void Ifc4x3_tc1::IfcAdvancedFace::initialize(std::vector< ::Ifc4x3_tc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_tc1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcAirTerminal std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value > Ifc4x3_tc1::IfcAirTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcAirTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcAirTerminal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[17]); } -void Ifc4x3_tc1::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAirTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[17]); } +void Ifc4x3_tc1::IfcAirTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBox std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value > Ifc4x3_tc1::IfcAirTerminalBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcAirTerminalBox::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcAirTerminalBox::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[18]); } -void Ifc4x3_tc1::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAirTerminalBox::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[18]); } +void Ifc4x3_tc1::IfcAirTerminalBox::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirTerminalBoxType ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value Ifc4x3_tc1::IfcAirTerminalBoxType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcAirTerminalBoxType::setPredefinedType(const ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcAirTerminalBoxType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[19]); } -void Ifc4x3_tc1::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAirTerminalBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[19]); } +void Ifc4x3_tc1::IfcAirTerminalBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirTerminalType ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value Ifc4x3_tc1::IfcAirTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcAirTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcAirTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[21]); } -void Ifc4x3_tc1::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAirTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[21]); } +void Ifc4x3_tc1::IfcAirTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAirToAirHeatRecovery std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value > Ifc4x3_tc1::IfcAirToAirHeatRecovery::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcAirToAirHeatRecovery::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcAirToAirHeatRecovery::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[23]); } -void Ifc4x3_tc1::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAirToAirHeatRecovery::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[23]); } +void Ifc4x3_tc1::IfcAirToAirHeatRecovery::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAirToAirHeatRecoveryType ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::setPredefinedType(const ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[24]); } -void Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[24]); } +void Ifc4x3_tc1::IfcAirToAirHeatRecoveryType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlarm std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value > Ifc4x3_tc1::IfcAlarm::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAlarmTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcAlarm::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcAlarm::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[26]); } -void Ifc4x3_tc1::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlarm::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[26]); } +void Ifc4x3_tc1::IfcAlarm::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAlarmType ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value Ifc4x3_tc1::IfcAlarmType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAlarmTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcAlarmType::setPredefinedType(const ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcAlarmType::setPredefinedType(const ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcAlarmType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[27]); } -void Ifc4x3_tc1::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlarmType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[27]); } +void Ifc4x3_tc1::IfcAlarmType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAlarmTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAlignment std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value > Ifc4x3_tc1::IfcAlignment::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAlignmentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_tc1::IfcAlignment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcAlignment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[29]); } -void Ifc4x3_tc1::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[29]); } +void Ifc4x3_tc1::IfcAlignment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAlignmentCant double Ifc4x3_tc1::IfcAlignmentCant::RailHeadDistance() const { double v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcAlignmentCant::setRailHeadDistance(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_tc1::IfcAlignmentCant::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[30]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentCant::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[30]); } void Ifc4x3_tc1::IfcAlignmentCant::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_RailHeadDistance)); } // Function implementations for IfcAlignmentCantSegment @@ -8043,16 +8043,16 @@ void Ifc4x3_tc1::IfcAlignmentCantSegment::setStartCantRight(const double& v) { s std::optional< double > Ifc4x3_tc1::IfcAlignmentCantSegment::EndCantRight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcAlignmentCantSegment::setEndCantRight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentCantSegment::PredefinedType() const { return ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_tc1::IfcAlignmentCantSegment::setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcAlignmentCantSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[31]); } -void Ifc4x3_tc1::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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_tc1::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentCantSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[31]); } +void Ifc4x3_tc1::IfcAlignmentCantSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentHorizontal -const IfcParse::entity& Ifc4x3_tc1::IfcAlignmentHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[33]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[33]); } void Ifc4x3_tc1::IfcAlignmentHorizontal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentHorizontalSegment @@ -8069,11 +8069,11 @@ void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setSegmentLength(const double& v std::optional< double > Ifc4x3_tc1::IfcAlignmentHorizontalSegment::GravityCenterLineHeight() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setGravityCenterLineHeight(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentHorizontalSegment::PredefinedType() const { return ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcAlignmentHorizontalSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[34]); } -void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_tc1::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentHorizontalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[34]); } +void Ifc4x3_tc1::IfcAlignmentHorizontalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_tc1::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); }set_attribute_value(2, (v3_StartPoint));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, (enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAlignmentParameterSegment std::optional< std::string > Ifc4x3_tc1::IfcAlignmentParameterSegment::StartTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8082,7 +8082,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcAlignmentParameterSegment::EndTag() void Ifc4x3_tc1::IfcAlignmentParameterSegment::setEndTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_tc1::IfcAlignmentParameterSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[36]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentParameterSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[36]); } void Ifc4x3_tc1::IfcAlignmentParameterSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag) { if (v1_StartTag) {set_attribute_value(0, (*v1_StartTag)); } if (v2_EndTag) {set_attribute_value(1, (*v2_EndTag)); } } // Function implementations for IfcAlignmentSegment @@ -8090,13 +8090,13 @@ void Ifc4x3_tc1::IfcAlignmentParameterSegment::initialize(std::optional< std::st void Ifc4x3_tc1::IfcAlignmentSegment::setDesignParameters(const ::Ifc4x3_tc1::IfcAlignmentParameterSegment& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_tc1::IfcAlignmentSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[37]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[37]); } void Ifc4x3_tc1::IfcAlignmentSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcAlignmentParameterSegment v8_DesignParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_DesignParameters)); } // Function implementations for IfcAlignmentVertical -const IfcParse::entity& Ifc4x3_tc1::IfcAlignmentVertical::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[39]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentVertical::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[39]); } void Ifc4x3_tc1::IfcAlignmentVertical::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcAlignmentVerticalSegment @@ -8113,20 +8113,20 @@ void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setEndGradient(const double& v) { std::optional< double > Ifc4x3_tc1::IfcAlignmentVerticalSegment::RadiusOfCurvature() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setRadiusOfCurvature(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value Ifc4x3_tc1::IfcAlignmentVerticalSegment::PredefinedType() const { return ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_tc1::IfcAlignmentVerticalSegment::setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcAlignmentVerticalSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[40]); } -void Ifc4x3_tc1::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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_tc1::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAlignmentVerticalSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[40]); } +void Ifc4x3_tc1::IfcAlignmentVerticalSegment::initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType) { 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, (enumeration_reference(&::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Class(),(size_t)v9_PredefinedType))); } // Function implementations for IfcAnnotation std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value > Ifc4x3_tc1::IfcAnnotation::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAnnotationTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_tc1::IfcAnnotation::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcAnnotationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[924], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcAnnotation::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[924], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcAnnotation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[46]); } -void Ifc4x3_tc1::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAnnotation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[46]); } +void Ifc4x3_tc1::IfcAnnotation::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcAnnotationTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcAnnotationFillArea ::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcAnnotationFillArea::OuterBoundary() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); } @@ -8135,7 +8135,7 @@ std::optional< std::vector< ::Ifc4x3_tc1::IfcCurve > > Ifc4x3_tc1::IfcAnnotation void Ifc4x3_tc1::IfcAnnotationFillArea::setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_tc1::IfcCurve > >& v) { if (v) {set_attribute_value(1, cast_vector(*v));} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_tc1::IfcAnnotationFillArea::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[47]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAnnotationFillArea::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[47]); } void Ifc4x3_tc1::IfcAnnotationFillArea::initialize(::Ifc4x3_tc1::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_tc1::IfcCurve > > v2_InnerBoundaries) { set_attribute_value(0, (v1_OuterBoundary)); if (v2_InnerBoundaries) {set_attribute_value(1, cast_vector(*v2_InnerBoundaries)); } } // Function implementations for IfcApplication @@ -8149,7 +8149,7 @@ std::string Ifc4x3_tc1::IfcApplication::ApplicationIdentifier() const { std::st void Ifc4x3_tc1::IfcApplication::setApplicationIdentifier(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcApplication::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[49]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcApplication::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[49]); } void Ifc4x3_tc1::IfcApplication::initialize(::Ifc4x3_tc1::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier) { set_attribute_value(0, (v1_ApplicationDeveloper));set_attribute_value(1, (v2_Version));set_attribute_value(2, (v3_ApplicationFullName));set_attribute_value(3, (v4_ApplicationIdentifier)); } // Function implementations for IfcAppliedValue @@ -8170,14 +8170,14 @@ void Ifc4x3_tc1::IfcAppliedValue::setCategory(const std::optional< std::string > std::optional< std::string > Ifc4x3_tc1::IfcAppliedValue::Condition() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcAppliedValue::setCondition(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > Ifc4x3_tc1::IfcAppliedValue::ArithmeticOperator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcAppliedValue::setArithmeticOperator(const std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > Ifc4x3_tc1::IfcAppliedValue::Components() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_tc1::IfcAppliedValue>(es); } void Ifc4x3_tc1::IfcAppliedValue::setComponents(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcAppliedValue::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcAppliedValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[50]); } -void Ifc4x3_tc1::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_tc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAppliedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[50]); } +void Ifc4x3_tc1::IfcAppliedValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcApproval std::optional< std::string > Ifc4x3_tc1::IfcApproval::Identifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -8199,13 +8199,13 @@ void Ifc4x3_tc1::IfcApproval::setRequestingApproval(const ::Ifc4x3_tc1::IfcActor ::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcApproval::GivingApproval() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcActorSelect>(); } void Ifc4x3_tc1::IfcApproval::setGivingApproval(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcApproval::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -std::vector<::Ifc4x3_tc1::IfcRelAssociatesApproval> Ifc4x3_tc1::IfcApproval::ApprovedObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[907], 5)); } -std::vector<::Ifc4x3_tc1::IfcResourceApprovalRelationship> Ifc4x3_tc1::IfcApproval::ApprovedResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[953], 3)); } -std::vector<::Ifc4x3_tc1::IfcApprovalRelationship> Ifc4x3_tc1::IfcApproval::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[53], 3)); } -std::vector<::Ifc4x3_tc1::IfcApprovalRelationship> Ifc4x3_tc1::IfcApproval::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[53], 2)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcApproval::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociatesApproval> Ifc4x3_tc1::IfcApproval::ApprovedObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[907], 5)); } +std::vector<::Ifc4x3_tc1::IfcResourceApprovalRelationship> Ifc4x3_tc1::IfcApproval::ApprovedResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[953], 3)); } +std::vector<::Ifc4x3_tc1::IfcApprovalRelationship> Ifc4x3_tc1::IfcApproval::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[53], 3)); } +std::vector<::Ifc4x3_tc1::IfcApprovalRelationship> Ifc4x3_tc1::IfcApproval::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[53], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcApproval::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[52]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[52]); } void Ifc4x3_tc1::IfcApproval::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_tc1::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_tc1::IfcActorSelect v9_GivingApproval) { 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));set_attribute_value(8, (v9_GivingApproval)); } // Function implementations for IfcApprovalRelationship @@ -8215,7 +8215,7 @@ std::vector< ::Ifc4x3_tc1::IfcApproval > Ifc4x3_tc1::IfcApprovalRelationship::Re void Ifc4x3_tc1::IfcApprovalRelationship::setRelatedApprovals(const std::vector< ::Ifc4x3_tc1::IfcApproval >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[53]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[53]); } void Ifc4x3_tc1::IfcApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_tc1::IfcApproval > v4_RelatedApprovals) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingApproval));set_attribute_value(3, cast_vector(v4_RelatedApprovals)); } // Function implementations for IfcArbitraryClosedProfileDef @@ -8223,24 +8223,24 @@ void Ifc4x3_tc1::IfcApprovalRelationship::initialize(std::optional< std::string void Ifc4x3_tc1::IfcArbitraryClosedProfileDef::setOuterCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcArbitraryClosedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[54]); } -void Ifc4x3_tc1::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcCurve v3_OuterCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcArbitraryClosedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[54]); } +void Ifc4x3_tc1::IfcArbitraryClosedProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcCurve v3_OuterCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve)); } // Function implementations for IfcArbitraryOpenProfileDef ::Ifc4x3_tc1::IfcBoundedCurve Ifc4x3_tc1::IfcArbitraryOpenProfileDef::Curve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcBoundedCurve>(); } void Ifc4x3_tc1::IfcArbitraryOpenProfileDef::setCurve(const ::Ifc4x3_tc1::IfcBoundedCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcArbitraryOpenProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[55]); } -void Ifc4x3_tc1::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcArbitraryOpenProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[55]); } +void Ifc4x3_tc1::IfcArbitraryOpenProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcBoundedCurve v3_Curve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve)); } // Function implementations for IfcArbitraryProfileDefWithVoids std::vector< ::Ifc4x3_tc1::IfcCurve > Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::InnerCurves() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcCurve>(es); } void Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::setInnerCurves(const std::vector< ::Ifc4x3_tc1::IfcCurve >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[56]); } -void Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_tc1::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[56]); } +void Ifc4x3_tc1::IfcArbitraryProfileDefWithVoids::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_tc1::IfcCurve > v4_InnerCurves) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_OuterCurve));set_attribute_value(3, cast_vector(v4_InnerCurves)); } // Function implementations for IfcAsset std::optional< std::string > Ifc4x3_tc1::IfcAsset::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -8263,7 +8263,7 @@ void Ifc4x3_tc1::IfcAsset::setIncorporationDate(const std::optional< std::string void Ifc4x3_tc1::IfcAsset::setDepreciatedValue(const ::Ifc4x3_tc1::IfcCostValue& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_tc1::IfcAsset::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[62]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAsset::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[62]); } void Ifc4x3_tc1::IfcAsset::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_tc1::IfcCostValue v7_OriginalValue, ::Ifc4x3_tc1::IfcCostValue v8_CurrentValue, ::Ifc4x3_tc1::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_tc1::IfcActorSelect v10_Owner, ::Ifc4x3_tc1::IfcActorSelect v11_User, ::Ifc4x3_tc1::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_tc1::IfcCostValue v14_DepreciatedValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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));set_attribute_value(7, (v8_CurrentValue));set_attribute_value(8, (v9_TotalReplacementCost));set_attribute_value(9, (v10_Owner));set_attribute_value(10, (v11_User));set_attribute_value(11, (v12_ResponsiblePerson)); if (v13_IncorporationDate) {set_attribute_value(12, (*v13_IncorporationDate)); }set_attribute_value(13, (v14_DepreciatedValue)); } // Function implementations for IfcAsymmetricIShapeProfileDef @@ -8293,31 +8293,31 @@ std::optional< double > Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::TopFlangeSlop void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::setTopFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } -const IfcParse::entity& Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[63]); } -void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[63]); } +void Ifc4x3_tc1::IfcAsymmetricIShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcAudioVisualAppliance std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value > Ifc4x3_tc1::IfcAudioVisualAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcAudioVisualAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcAudioVisualAppliance::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[64]); } -void Ifc4x3_tc1::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAudioVisualAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[64]); } +void Ifc4x3_tc1::IfcAudioVisualAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcAudioVisualApplianceType ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value Ifc4x3_tc1::IfcAudioVisualApplianceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcAudioVisualApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcAudioVisualApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[65]); } -void Ifc4x3_tc1::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAudioVisualApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[65]); } +void Ifc4x3_tc1::IfcAudioVisualApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcAxis1Placement ::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcAxis1Placement::Axis() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcDirection>(); } void Ifc4x3_tc1::IfcAxis1Placement::setAxis(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcAxis1Placement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[67]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAxis1Placement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[67]); } void Ifc4x3_tc1::IfcAxis1Placement::initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_Axis) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis)); } // Function implementations for IfcAxis2Placement2D @@ -8325,7 +8325,7 @@ void Ifc4x3_tc1::IfcAxis1Placement::initialize(::Ifc4x3_tc1::IfcPoint v1_Locatio void Ifc4x3_tc1::IfcAxis2Placement2D::setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcAxis2Placement2D::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[69]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAxis2Placement2D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[69]); } void Ifc4x3_tc1::IfcAxis2Placement2D::initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_RefDirection)); } // Function implementations for IfcAxis2Placement3D @@ -8335,7 +8335,7 @@ void Ifc4x3_tc1::IfcAxis2Placement3D::setAxis(const ::Ifc4x3_tc1::IfcDirection& void Ifc4x3_tc1::IfcAxis2Placement3D::setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcAxis2Placement3D::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[70]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAxis2Placement3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[70]); } void Ifc4x3_tc1::IfcAxis2Placement3D::initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_Axis, ::Ifc4x3_tc1::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcAxis2PlacementLinear @@ -8345,7 +8345,7 @@ void Ifc4x3_tc1::IfcAxis2PlacementLinear::setAxis(const ::Ifc4x3_tc1::IfcDirecti void Ifc4x3_tc1::IfcAxis2PlacementLinear::setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcAxis2PlacementLinear::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[71]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcAxis2PlacementLinear::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[71]); } void Ifc4x3_tc1::IfcAxis2PlacementLinear::initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_Axis, ::Ifc4x3_tc1::IfcDirection v3_RefDirection) { set_attribute_value(0, (v1_Location));set_attribute_value(1, (v2_Axis));set_attribute_value(2, (v3_RefDirection)); } // Function implementations for IfcBSplineCurve @@ -8354,15 +8354,15 @@ void Ifc4x3_tc1::IfcBSplineCurve::setDegree(const int& v) { set_attribute_value( std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > Ifc4x3_tc1::IfcBSplineCurve::ControlPointsList() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcCartesianPoint>(es); } void Ifc4x3_tc1::IfcBSplineCurve::setControlPointsList(const std::vector< ::Ifc4x3_tc1::IfcCartesianPoint >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_tc1::IfcBSplineCurveForm::Value Ifc4x3_tc1::IfcBSplineCurve::CurveForm() const { return ::Ifc4x3_tc1::IfcBSplineCurveForm::FromString(get_attribute_value(2)); } -void Ifc4x3_tc1::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_tc1::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_tc1::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_tc1::IfcBSplineCurve::setCurveForm(const ::Ifc4x3_tc1::IfcBSplineCurveForm::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcBSplineCurveForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } boost::logic::tribool Ifc4x3_tc1::IfcBSplineCurve::ClosedCurve() const { boost::logic::tribool v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcBSplineCurve::setClosedCurve(const boost::logic::tribool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_tc1::IfcBSplineCurve::SelfIntersect() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcBSplineCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcBSplineCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[107]); } -void Ifc4x3_tc1::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_tc1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBSplineCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[107]); } +void Ifc4x3_tc1::IfcBSplineCurve::initialize(int v1_Degree, std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_tc1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcBSplineCurveForm::Class(),(size_t)v3_CurveForm)));set_attribute_value(3, (v4_ClosedCurve));set_attribute_value(4, (v5_SelfIntersect)); } // Function implementations for IfcBSplineCurveWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineCurveWithKnots::KnotMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(5); return v; } @@ -8370,11 +8370,11 @@ void Ifc4x3_tc1::IfcBSplineCurveWithKnots::setKnotMultiplicities(const std::vect std::vector< double > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineCurveWithKnots::Knots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcBSplineCurveWithKnots::setKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_tc1::IfcKnotType::Value Ifc4x3_tc1::IfcBSplineCurveWithKnots::KnotSpec() const { return ::Ifc4x3_tc1::IfcKnotType::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_tc1::IfcBSplineCurveWithKnots::setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_tc1::IfcBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[109]); } -void Ifc4x3_tc1::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::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_tc1::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[109]); } +void Ifc4x3_tc1::IfcBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v8_KnotSpec) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::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, (enumeration_reference(&::Ifc4x3_tc1::IfcKnotType::Class(),(size_t)v8_KnotSpec))); } // Function implementations for IfcBSplineSurface int Ifc4x3_tc1::IfcBSplineSurface::UDegree() const { int v = get_attribute_value(0); return v; } @@ -8384,7 +8384,7 @@ void Ifc4x3_tc1::IfcBSplineSurface::setVDegree(const int& v) { set_attribute_val std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > Ifc4x3_tc1::IfcBSplineSurface::ControlPointsList() const { std::vector> es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcCartesianPoint>(es); } void Ifc4x3_tc1::IfcBSplineSurface::setControlPointsList(const std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } ::Ifc4x3_tc1::IfcBSplineSurfaceForm::Value Ifc4x3_tc1::IfcBSplineSurface::SurfaceForm() const { return ::Ifc4x3_tc1::IfcBSplineSurfaceForm::FromString(get_attribute_value(3)); } -void Ifc4x3_tc1::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_tc1::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_tc1::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_tc1::IfcBSplineSurface::setSurfaceForm(const ::Ifc4x3_tc1::IfcBSplineSurfaceForm::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_tc1::IfcBSplineSurfaceForm::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } boost::logic::tribool Ifc4x3_tc1::IfcBSplineSurface::UClosed() const { boost::logic::tribool v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcBSplineSurface::setUClosed(const boost::logic::tribool& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } boost::logic::tribool Ifc4x3_tc1::IfcBSplineSurface::VClosed() const { boost::logic::tribool v = get_attribute_value(5); return v; } @@ -8393,8 +8393,8 @@ boost::logic::tribool Ifc4x3_tc1::IfcBSplineSurface::SelfIntersect() const { bo void Ifc4x3_tc1::IfcBSplineSurface::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcBSplineSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[110]); } -void Ifc4x3_tc1::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_tc1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_tc1::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBSplineSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[110]); } +void Ifc4x3_tc1::IfcBSplineSurface::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_tc1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::IfcBSplineSurfaceForm::Class(),(size_t)v4_SurfaceForm)));set_attribute_value(4, (v5_UClosed));set_attribute_value(5, (v6_VClosed));set_attribute_value(6, (v7_SelfIntersect)); } // Function implementations for IfcBSplineSurfaceWithKnots std::vector< int > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::UMultiplicities() const { std::vector< int > /*[2:?]*/ v = get_attribute_value(7); return v; } @@ -8406,43 +8406,43 @@ void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setUKnots(const std::vector< double std::vector< double > /*[2:?]*/ Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::VKnots() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setVKnots(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } ::Ifc4x3_tc1::IfcKnotType::Value Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::KnotSpec() const { return ::Ifc4x3_tc1::IfcKnotType::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcKnotType::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[112]); } -void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_tc1::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_tc1::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[112]); } +void Ifc4x3_tc1::IfcBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v12_KnotSpec) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::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, (enumeration_reference(&::Ifc4x3_tc1::IfcKnotType::Class(),(size_t)v12_KnotSpec))); } // Function implementations for IfcBeam std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value > Ifc4x3_tc1::IfcBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcBeam::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBeam::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[72]); } -void Ifc4x3_tc1::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[72]); } +void Ifc4x3_tc1::IfcBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBeamType ::Ifc4x3_tc1::IfcBeamTypeEnum::Value Ifc4x3_tc1::IfcBeamType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcBeamType::setPredefinedType(const ::Ifc4x3_tc1::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcBeamType::setPredefinedType(const ::Ifc4x3_tc1::IfcBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcBeamType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[73]); } -void Ifc4x3_tc1::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[73]); } +void Ifc4x3_tc1::IfcBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBearing std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value > Ifc4x3_tc1::IfcBearing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBearingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcBearing::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBearing::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[75]); } -void Ifc4x3_tc1::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBearing::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[75]); } +void Ifc4x3_tc1::IfcBearing::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBearingType ::Ifc4x3_tc1::IfcBearingTypeEnum::Value Ifc4x3_tc1::IfcBearingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBearingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcBearingType::setPredefinedType(const ::Ifc4x3_tc1::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcBearingType::setPredefinedType(const ::Ifc4x3_tc1::IfcBearingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcBearingType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[76]); } -void Ifc4x3_tc1::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBearingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[76]); } +void Ifc4x3_tc1::IfcBearingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBearingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBearingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBlobTexture std::string Ifc4x3_tc1::IfcBlobTexture::RasterFormat() const { std::string v = get_attribute_value(5); return v; } @@ -8451,7 +8451,7 @@ boost::dynamic_bitset<> Ifc4x3_tc1::IfcBlobTexture::RasterCode() const { boost: void Ifc4x3_tc1::IfcBlobTexture::setRasterCode(const boost::dynamic_bitset<>& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcBlobTexture::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[81]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBlobTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[81]); } void Ifc4x3_tc1::IfcBlobTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_RasterFormat));set_attribute_value(6, (v7_RasterCode)); } // Function implementations for IfcBlock @@ -8463,47 +8463,47 @@ double Ifc4x3_tc1::IfcBlock::ZLength() const { double v = get_attribute_value(3 void Ifc4x3_tc1::IfcBlock::setZLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcBlock::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[82]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBlock::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[82]); } void Ifc4x3_tc1::IfcBlock::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_ZLength)); } // Function implementations for IfcBoiler std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value > Ifc4x3_tc1::IfcBoiler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBoilerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcBoiler::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBoiler::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[83]); } -void Ifc4x3_tc1::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoiler::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[83]); } +void Ifc4x3_tc1::IfcBoiler::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBoilerType ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value Ifc4x3_tc1::IfcBoilerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBoilerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcBoilerType::setPredefinedType(const ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcBoilerType::setPredefinedType(const ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcBoilerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[84]); } -void Ifc4x3_tc1::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoilerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[84]); } +void Ifc4x3_tc1::IfcBoilerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBoilerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBooleanClippingResult -const IfcParse::entity& Ifc4x3_tc1::IfcBooleanClippingResult::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[87]); } -void Ifc4x3_tc1::IfcBooleanClippingResult::initialize(::Ifc4x3_tc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_tc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_tc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBooleanClippingResult::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[87]); } +void Ifc4x3_tc1::IfcBooleanClippingResult::initialize(::Ifc4x3_tc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_tc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_tc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBooleanResult ::Ifc4x3_tc1::IfcBooleanOperator::Value Ifc4x3_tc1::IfcBooleanResult::Operator() const { return ::Ifc4x3_tc1::IfcBooleanOperator::FromString(get_attribute_value(0)); } -void Ifc4x3_tc1::IfcBooleanResult::setOperator(const ::Ifc4x3_tc1::IfcBooleanOperator::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_tc1::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_tc1::IfcBooleanResult::setOperator(const ::Ifc4x3_tc1::IfcBooleanOperator::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcBooleanOperator::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_tc1::IfcBooleanOperand Ifc4x3_tc1::IfcBooleanResult::FirstOperand() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcBooleanOperand>(); } void Ifc4x3_tc1::IfcBooleanResult::setFirstOperand(const ::Ifc4x3_tc1::IfcBooleanOperand& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_tc1::IfcBooleanOperand Ifc4x3_tc1::IfcBooleanResult::SecondOperand() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcBooleanOperand>(); } void Ifc4x3_tc1::IfcBooleanResult::setSecondOperand(const ::Ifc4x3_tc1::IfcBooleanOperand& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcBooleanResult::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[90]); } -void Ifc4x3_tc1::IfcBooleanResult::initialize(::Ifc4x3_tc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_tc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_tc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBooleanResult::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[90]); } +void Ifc4x3_tc1::IfcBooleanResult::initialize(::Ifc4x3_tc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_tc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_tc1::IfcBooleanOperand v3_SecondOperand) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcBooleanOperator::Class(),(size_t)v1_Operator)));set_attribute_value(1, (v2_FirstOperand));set_attribute_value(2, (v3_SecondOperand)); } // Function implementations for IfcBorehole -const IfcParse::entity& Ifc4x3_tc1::IfcBorehole::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[91]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBorehole::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[91]); } void Ifc4x3_tc1::IfcBorehole::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBoundaryCondition @@ -8511,13 +8511,13 @@ std::optional< std::string > Ifc4x3_tc1::IfcBoundaryCondition::Name() const { if void Ifc4x3_tc1::IfcBoundaryCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBoundaryCondition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[92]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[92]); } void Ifc4x3_tc1::IfcBoundaryCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcBoundaryCurve -const IfcParse::entity& Ifc4x3_tc1::IfcBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[93]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[93]); } void Ifc4x3_tc1::IfcBoundaryCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcBoundaryEdgeCondition @@ -8535,7 +8535,7 @@ void Ifc4x3_tc1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthY(const void Ifc4x3_tc1::IfcBoundaryEdgeCondition::setRotationalStiffnessByLengthZ(const ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcBoundaryEdgeCondition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[94]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryEdgeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[94]); } void Ifc4x3_tc1::IfcBoundaryEdgeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByLengthX));set_attribute_value(2, (v3_TranslationalStiffnessByLengthY));set_attribute_value(3, (v4_TranslationalStiffnessByLengthZ));set_attribute_value(4, (v5_RotationalStiffnessByLengthX));set_attribute_value(5, (v6_RotationalStiffnessByLengthY));set_attribute_value(6, (v7_RotationalStiffnessByLengthZ)); } // Function implementations for IfcBoundaryFaceCondition @@ -8547,7 +8547,7 @@ void Ifc4x3_tc1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaY(cons void Ifc4x3_tc1::IfcBoundaryFaceCondition::setTranslationalStiffnessByAreaZ(const ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcBoundaryFaceCondition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[95]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryFaceCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[95]); } void Ifc4x3_tc1::IfcBoundaryFaceCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessByAreaX));set_attribute_value(2, (v3_TranslationalStiffnessByAreaY));set_attribute_value(3, (v4_TranslationalStiffnessByAreaZ)); } // Function implementations for IfcBoundaryNodeCondition @@ -8565,7 +8565,7 @@ void Ifc4x3_tc1::IfcBoundaryNodeCondition::setRotationalStiffnessY(const ::Ifc4x void Ifc4x3_tc1::IfcBoundaryNodeCondition::setRotationalStiffnessZ(const ::Ifc4x3_tc1::IfcRotationalStiffnessSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcBoundaryNodeCondition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[96]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryNodeCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[96]); } void Ifc4x3_tc1::IfcBoundaryNodeCondition::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ)); } // Function implementations for IfcBoundaryNodeConditionWarping @@ -8573,19 +8573,19 @@ void Ifc4x3_tc1::IfcBoundaryNodeCondition::initialize(std::optional< std::string void Ifc4x3_tc1::IfcBoundaryNodeConditionWarping::setWarpingStiffness(const ::Ifc4x3_tc1::IfcWarpingStiffnessSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_tc1::IfcBoundaryNodeConditionWarping::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[97]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundaryNodeConditionWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[97]); } void Ifc4x3_tc1::IfcBoundaryNodeConditionWarping::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_tc1::IfcWarpingStiffnessSelect v8_WarpingStiffness) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TranslationalStiffnessX));set_attribute_value(2, (v3_TranslationalStiffnessY));set_attribute_value(3, (v4_TranslationalStiffnessZ));set_attribute_value(4, (v5_RotationalStiffnessX));set_attribute_value(5, (v6_RotationalStiffnessY));set_attribute_value(6, (v7_RotationalStiffnessZ));set_attribute_value(7, (v8_WarpingStiffness)); } // Function implementations for IfcBoundedCurve -const IfcParse::entity& Ifc4x3_tc1::IfcBoundedCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[98]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[98]); } void Ifc4x3_tc1::IfcBoundedCurve::initialize() { } // Function implementations for IfcBoundedSurface -const IfcParse::entity& Ifc4x3_tc1::IfcBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[99]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[99]); } void Ifc4x3_tc1::IfcBoundedSurface::initialize() { } // Function implementations for IfcBoundingBox @@ -8599,7 +8599,7 @@ double Ifc4x3_tc1::IfcBoundingBox::ZDim() const { double v = get_attribute_valu void Ifc4x3_tc1::IfcBoundingBox::setZDim(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcBoundingBox::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[100]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoundingBox::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[100]); } void Ifc4x3_tc1::IfcBoundingBox::initialize(::Ifc4x3_tc1::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim) { set_attribute_value(0, (v1_Corner));set_attribute_value(1, (v2_XDim));set_attribute_value(2, (v3_YDim));set_attribute_value(3, (v4_ZDim)); } // Function implementations for IfcBoxedHalfSpace @@ -8607,24 +8607,24 @@ void Ifc4x3_tc1::IfcBoundingBox::initialize(::Ifc4x3_tc1::IfcCartesianPoint v1_C void Ifc4x3_tc1::IfcBoxedHalfSpace::setEnclosure(const ::Ifc4x3_tc1::IfcBoundingBox& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcBoxedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[102]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBoxedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[102]); } void Ifc4x3_tc1::IfcBoxedHalfSpace::initialize(::Ifc4x3_tc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_tc1::IfcBoundingBox v3_Enclosure) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Enclosure)); } // Function implementations for IfcBridge std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value > Ifc4x3_tc1::IfcBridge::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBridgeTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcBridge::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBridgeTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBridge::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[103]); } -void Ifc4x3_tc1::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBridge::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[103]); } +void Ifc4x3_tc1::IfcBridge::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBridgeTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcBridgePart std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value > Ifc4x3_tc1::IfcBridgePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBridgePartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcBridgePart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcBridgePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBridgePart::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[104]); } -void Ifc4x3_tc1::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBridgePart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[104]); } +void Ifc4x3_tc1::IfcBridgePart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcBridgePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcBuilding std::optional< double > Ifc4x3_tc1::IfcBuilding::ElevationOfRefHeight() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } @@ -8635,96 +8635,96 @@ void Ifc4x3_tc1::IfcBuilding::setElevationOfTerrain(const std::optional< double void Ifc4x3_tc1::IfcBuilding::setBuildingAddress(const ::Ifc4x3_tc1::IfcPostalAddress& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcBuilding::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[113]); } -void Ifc4x3_tc1::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_tc1::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::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)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuilding::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[113]); } +void Ifc4x3_tc1::IfcBuilding::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_tc1::IfcPostalAddress v12_BuildingAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::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)); } // Function implementations for IfcBuildingElementPart std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value > Ifc4x3_tc1::IfcBuildingElementPart::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcBuildingElementPart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBuildingElementPart::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[114]); } -void Ifc4x3_tc1::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingElementPart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[114]); } +void Ifc4x3_tc1::IfcBuildingElementPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementPartType ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value Ifc4x3_tc1::IfcBuildingElementPartType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcBuildingElementPartType::setPredefinedType(const ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcBuildingElementPartType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[115]); } -void Ifc4x3_tc1::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingElementPartType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[115]); } +void Ifc4x3_tc1::IfcBuildingElementPartType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingElementProxy std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value > Ifc4x3_tc1::IfcBuildingElementProxy::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcBuildingElementProxy::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBuildingElementProxy::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[117]); } -void Ifc4x3_tc1::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingElementProxy::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[117]); } +void Ifc4x3_tc1::IfcBuildingElementProxy::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBuildingElementProxyType ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value Ifc4x3_tc1::IfcBuildingElementProxyType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcBuildingElementProxyType::setPredefinedType(const ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcBuildingElementProxyType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[118]); } -void Ifc4x3_tc1::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingElementProxyType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[118]); } +void Ifc4x3_tc1::IfcBuildingElementProxyType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcBuildingStorey std::optional< double > Ifc4x3_tc1::IfcBuildingStorey::Elevation() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcBuildingStorey::setElevation(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBuildingStorey::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[120]); } -void Ifc4x3_tc1::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingStorey::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[120]); } +void Ifc4x3_tc1::IfcBuildingStorey::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_Elevation) {set_attribute_value(9, (*v10_Elevation)); } } // Function implementations for IfcBuildingSystem std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value > Ifc4x3_tc1::IfcBuildingSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_tc1::IfcBuildingSystem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_tc1::IfcBuildingSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcBuildingSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBuildingSystem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[121]); } -void Ifc4x3_tc1::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuildingSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[121]); } +void Ifc4x3_tc1::IfcBuildingSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBuiltElement -const IfcParse::entity& Ifc4x3_tc1::IfcBuiltElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[123]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuiltElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[123]); } void Ifc4x3_tc1::IfcBuiltElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcBuiltElementType -const IfcParse::entity& Ifc4x3_tc1::IfcBuiltElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[124]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuiltElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[124]); } void Ifc4x3_tc1::IfcBuiltElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcBuiltSystem std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value > Ifc4x3_tc1::IfcBuiltSystem::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_tc1::IfcBuiltSystem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_tc1::IfcBuiltSystem::LongName() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcBuiltSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBuiltSystem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[125]); } -void Ifc4x3_tc1::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBuiltSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[125]); } +void Ifc4x3_tc1::IfcBuiltSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Class(),(size_t)*v6_PredefinedType))); } if (v7_LongName) {set_attribute_value(6, (*v7_LongName)); } } // Function implementations for IfcBurner std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value > Ifc4x3_tc1::IfcBurner::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcBurnerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcBurner::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcBurner::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[127]); } -void Ifc4x3_tc1::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBurner::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[127]); } +void Ifc4x3_tc1::IfcBurner::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcBurnerType ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value Ifc4x3_tc1::IfcBurnerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcBurnerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcBurnerType::setPredefinedType(const ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcBurnerType::setPredefinedType(const ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcBurnerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[128]); } -void Ifc4x3_tc1::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcBurnerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[128]); } +void Ifc4x3_tc1::IfcBurnerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcBurnerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCShapeProfileDef double Ifc4x3_tc1::IfcCShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -8739,101 +8739,101 @@ std::optional< double > Ifc4x3_tc1::IfcCShapeProfileDef::InternalFilletRadius() void Ifc4x3_tc1::IfcCShapeProfileDef::setInternalFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[265]); } -void Ifc4x3_tc1::IfcCShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[265]); } +void Ifc4x3_tc1::IfcCShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcCableCarrierFitting std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value > Ifc4x3_tc1::IfcCableCarrierFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCableCarrierFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCableCarrierFitting::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[130]); } -void Ifc4x3_tc1::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCableCarrierFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[130]); } +void Ifc4x3_tc1::IfcCableCarrierFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierFittingType ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value Ifc4x3_tc1::IfcCableCarrierFittingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCableCarrierFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCableCarrierFittingType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[131]); } -void Ifc4x3_tc1::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCableCarrierFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[131]); } +void Ifc4x3_tc1::IfcCableCarrierFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableCarrierSegment std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value > Ifc4x3_tc1::IfcCableCarrierSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCableCarrierSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCableCarrierSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[133]); } -void Ifc4x3_tc1::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCableCarrierSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[133]); } +void Ifc4x3_tc1::IfcCableCarrierSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableCarrierSegmentType ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value Ifc4x3_tc1::IfcCableCarrierSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCableCarrierSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCableCarrierSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[134]); } -void Ifc4x3_tc1::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCableCarrierSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[134]); } +void Ifc4x3_tc1::IfcCableCarrierSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableFitting std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value > Ifc4x3_tc1::IfcCableFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCableFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCableFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCableFitting::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[136]); } -void Ifc4x3_tc1::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCableFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[136]); } +void Ifc4x3_tc1::IfcCableFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableFittingType ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value Ifc4x3_tc1::IfcCableFittingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCableFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCableFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCableFittingType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[137]); } -void Ifc4x3_tc1::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCableFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[137]); } +void Ifc4x3_tc1::IfcCableFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCableFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCableSegment std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value > Ifc4x3_tc1::IfcCableSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCableSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCableSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[139]); } -void Ifc4x3_tc1::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCableSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[139]); } +void Ifc4x3_tc1::IfcCableSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCableSegmentType ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value Ifc4x3_tc1::IfcCableSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCableSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCableSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[140]); } -void Ifc4x3_tc1::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCableSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[140]); } +void Ifc4x3_tc1::IfcCableSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCaissonFoundation std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value > Ifc4x3_tc1::IfcCaissonFoundation::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCaissonFoundation::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCaissonFoundation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[142]); } -void Ifc4x3_tc1::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCaissonFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[142]); } +void Ifc4x3_tc1::IfcCaissonFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCaissonFoundationType ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value Ifc4x3_tc1::IfcCaissonFoundationType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCaissonFoundationType::setPredefinedType(const ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCaissonFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[143]); } -void Ifc4x3_tc1::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCaissonFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[143]); } +void Ifc4x3_tc1::IfcCaissonFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCartesianPoint std::vector< double > /*[1:3]*/ Ifc4x3_tc1::IfcCartesianPoint::Coordinates() const { std::vector< double > /*[1:3]*/ v = get_attribute_value(0); return v; } void Ifc4x3_tc1::IfcCartesianPoint::setCoordinates(const std::vector< double > /*[1:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcCartesianPoint::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[146]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[146]); } void Ifc4x3_tc1::IfcCartesianPoint::initialize(std::vector< double > /*[1:3]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcCartesianPointList -const IfcParse::entity& Ifc4x3_tc1::IfcCartesianPointList::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[147]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianPointList::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[147]); } void Ifc4x3_tc1::IfcCartesianPointList::initialize() { } // Function implementations for IfcCartesianPointList2D @@ -8843,7 +8843,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcCartesianPo void Ifc4x3_tc1::IfcCartesianPointList2D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCartesianPointList2D::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[148]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianPointList2D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[148]); } void Ifc4x3_tc1::IfcCartesianPointList2D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianPointList3D @@ -8853,7 +8853,7 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcCartesianPo void Ifc4x3_tc1::IfcCartesianPointList3D::setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCartesianPointList3D::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[149]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianPointList3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[149]); } void Ifc4x3_tc1::IfcCartesianPointList3D::initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList) { set_attribute_value(0, (v1_CoordList)); if (v2_TagList) {set_attribute_value(1, (*v2_TagList)); } } // Function implementations for IfcCartesianTransformationOperator @@ -8867,13 +8867,13 @@ std::optional< double > Ifc4x3_tc1::IfcCartesianTransformationOperator::Scale() void Ifc4x3_tc1::IfcCartesianTransformationOperator::setScale(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[150]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[150]); } void Ifc4x3_tc1::IfcCartesianTransformationOperator::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2D -const IfcParse::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator2D::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[151]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator2D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[151]); } void Ifc4x3_tc1::IfcCartesianTransformationOperator2D::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } } // Function implementations for IfcCartesianTransformationOperator2DnonUniform @@ -8881,7 +8881,7 @@ std::optional< double > Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUnifo void Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform::setScale2(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[152]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[152]); } void Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); } if (v5_Scale2) {set_attribute_value(4, (*v5_Scale2)); } } // Function implementations for IfcCartesianTransformationOperator3D @@ -8889,7 +8889,7 @@ void Ifc4x3_tc1::IfcCartesianTransformationOperator2DnonUniform::initialize(::If void Ifc4x3_tc1::IfcCartesianTransformationOperator3D::setAxis3(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator3D::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[153]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[153]); } void Ifc4x3_tc1::IfcCartesianTransformationOperator3D::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_tc1::IfcDirection v5_Axis3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); } // Function implementations for IfcCartesianTransformationOperator3DnonUniform @@ -8899,7 +8899,7 @@ std::optional< double > Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUnifo void Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::setScale3(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[154]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[154]); } void Ifc4x3_tc1::IfcCartesianTransformationOperator3DnonUniform::initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_tc1::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3) { set_attribute_value(0, (v1_Axis1));set_attribute_value(1, (v2_Axis2));set_attribute_value(2, (v3_LocalOrigin)); if (v4_Scale) {set_attribute_value(3, (*v4_Scale)); }set_attribute_value(4, (v5_Axis3)); if (v6_Scale2) {set_attribute_value(5, (*v6_Scale2)); } if (v7_Scale3) {set_attribute_value(6, (*v7_Scale3)); } } // Function implementations for IfcCenterLineProfileDef @@ -8907,47 +8907,47 @@ double Ifc4x3_tc1::IfcCenterLineProfileDef::Thickness() const { double v = get_ void Ifc4x3_tc1::IfcCenterLineProfileDef::setThickness(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcCenterLineProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[155]); } -void Ifc4x3_tc1::IfcCenterLineProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCenterLineProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[155]); } +void Ifc4x3_tc1::IfcCenterLineProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcBoundedCurve v3_Curve, double v4_Thickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Curve));set_attribute_value(3, (v4_Thickness)); } // Function implementations for IfcChiller std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value > Ifc4x3_tc1::IfcChiller::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcChillerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcChiller::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcChiller::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[157]); } -void Ifc4x3_tc1::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcChiller::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[157]); } +void Ifc4x3_tc1::IfcChiller::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChillerType ::Ifc4x3_tc1::IfcChillerTypeEnum::Value Ifc4x3_tc1::IfcChillerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcChillerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcChillerType::setPredefinedType(const ::Ifc4x3_tc1::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcChillerType::setPredefinedType(const ::Ifc4x3_tc1::IfcChillerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcChillerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[158]); } -void Ifc4x3_tc1::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcChillerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[158]); } +void Ifc4x3_tc1::IfcChillerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcChillerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcChillerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcChimney std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value > Ifc4x3_tc1::IfcChimney::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcChimneyTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcChimney::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcChimney::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[160]); } -void Ifc4x3_tc1::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcChimney::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[160]); } +void Ifc4x3_tc1::IfcChimney::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcChimneyType ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value Ifc4x3_tc1::IfcChimneyType::PredefinedType() const { return ::Ifc4x3_tc1::IfcChimneyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcChimneyType::setPredefinedType(const ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcChimneyType::setPredefinedType(const ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcChimneyType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[161]); } -void Ifc4x3_tc1::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcChimneyType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[161]); } +void Ifc4x3_tc1::IfcChimneyType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcChimneyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCircle double Ifc4x3_tc1::IfcCircle::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcCircle::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcCircle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[163]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCircle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[163]); } void Ifc4x3_tc1::IfcCircle::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcCircleHollowProfileDef @@ -8955,27 +8955,27 @@ double Ifc4x3_tc1::IfcCircleHollowProfileDef::WallThickness() const { double v void Ifc4x3_tc1::IfcCircleHollowProfileDef::setWallThickness(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcCircleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[164]); } -void Ifc4x3_tc1::IfcCircleHollowProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCircleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[164]); } +void Ifc4x3_tc1::IfcCircleHollowProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius));set_attribute_value(4, (v5_WallThickness)); } // Function implementations for IfcCircleProfileDef double Ifc4x3_tc1::IfcCircleProfileDef::Radius() const { double v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcCircleProfileDef::setRadius(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcCircleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[165]); } -void Ifc4x3_tc1::IfcCircleProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCircleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[165]); } +void Ifc4x3_tc1::IfcCircleProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Radius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_Radius)); } // Function implementations for IfcCivilElement -const IfcParse::entity& Ifc4x3_tc1::IfcCivilElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[166]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCivilElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[166]); } void Ifc4x3_tc1::IfcCivilElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcCivilElementType -const IfcParse::entity& Ifc4x3_tc1::IfcCivilElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[167]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCivilElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[167]); } void Ifc4x3_tc1::IfcCivilElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcClassification @@ -8994,10 +8994,10 @@ void Ifc4x3_tc1::IfcClassification::setSpecification(const std::optional< std::s std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcClassification::ReferenceTokens() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcClassification::setReferenceTokens(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_tc1::IfcRelAssociatesClassification> Ifc4x3_tc1::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[908], 5)); } -std::vector<::Ifc4x3_tc1::IfcClassificationReference> Ifc4x3_tc1::IfcClassification::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[169], 3)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociatesClassification> Ifc4x3_tc1::IfcClassification::ClassificationForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[908], 5)); } +std::vector<::Ifc4x3_tc1::IfcClassificationReference> Ifc4x3_tc1::IfcClassification::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[169], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcClassification::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[168]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[168]); } void Ifc4x3_tc1::IfcClassification::initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Specification, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens) { 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)); } } // Function implementations for IfcClassificationReference @@ -9008,16 +9008,16 @@ void Ifc4x3_tc1::IfcClassificationReference::setDescription(const std::optional< std::optional< std::string > Ifc4x3_tc1::IfcClassificationReference::Sort() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcClassificationReference::setSort(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_tc1::IfcRelAssociatesClassification> Ifc4x3_tc1::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[908], 5)); } -std::vector<::Ifc4x3_tc1::IfcClassificationReference> Ifc4x3_tc1::IfcClassificationReference::HasReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[169], 3)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociatesClassification> Ifc4x3_tc1::IfcClassificationReference::ClassificationRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[908], 5)); } +std::vector<::Ifc4x3_tc1::IfcClassificationReference> Ifc4x3_tc1::IfcClassificationReference::HasReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[169], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcClassificationReference::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[169]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcClassificationReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[169]); } void Ifc4x3_tc1::IfcClassificationReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_tc1::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort) { 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)); if (v5_Description) {set_attribute_value(4, (*v5_Description)); } if (v6_Sort) {set_attribute_value(5, (*v6_Sort)); } } // Function implementations for IfcClosedShell -const IfcParse::entity& Ifc4x3_tc1::IfcClosedShell::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[172]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcClosedShell::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[172]); } void Ifc4x3_tc1::IfcClosedShell::initialize(std::vector< ::Ifc4x3_tc1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcClothoid @@ -9025,24 +9025,24 @@ double Ifc4x3_tc1::IfcClothoid::ClothoidConstant() const { double v = get_attri void Ifc4x3_tc1::IfcClothoid::setClothoidConstant(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcClothoid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[173]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcClothoid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[173]); } void Ifc4x3_tc1::IfcClothoid::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_ClothoidConstant) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_ClothoidConstant)); } // Function implementations for IfcCoil std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value > Ifc4x3_tc1::IfcCoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCoil::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCoil::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[174]); } -void Ifc4x3_tc1::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCoil::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[174]); } +void Ifc4x3_tc1::IfcCoil::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoilType ::Ifc4x3_tc1::IfcCoilTypeEnum::Value Ifc4x3_tc1::IfcCoilType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCoilTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCoilType::setPredefinedType(const ::Ifc4x3_tc1::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCoilType::setPredefinedType(const ::Ifc4x3_tc1::IfcCoilTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCoilType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[175]); } -void Ifc4x3_tc1::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCoilType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[175]); } +void Ifc4x3_tc1::IfcCoilType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoilTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCoilTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcColourRgb double Ifc4x3_tc1::IfcColourRgb::Red() const { double v = get_attribute_value(1); return v; } @@ -9053,7 +9053,7 @@ double Ifc4x3_tc1::IfcColourRgb::Blue() const { double v = get_attribute_value( void Ifc4x3_tc1::IfcColourRgb::setBlue(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcColourRgb::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[179]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcColourRgb::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[179]); } void Ifc4x3_tc1::IfcColourRgb::initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue) { 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)); } // Function implementations for IfcColourRgbList @@ -9061,7 +9061,7 @@ std::vector< std::vector< double > > Ifc4x3_tc1::IfcColourRgbList::ColourList() void Ifc4x3_tc1::IfcColourRgbList::setColourList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcColourRgbList::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[180]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcColourRgbList::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[180]); } void Ifc4x3_tc1::IfcColourRgbList::initialize(std::vector< std::vector< double > > v1_ColourList) { set_attribute_value(0, (v1_ColourList)); } // Function implementations for IfcColourSpecification @@ -9069,40 +9069,40 @@ std::optional< std::string > Ifc4x3_tc1::IfcColourSpecification::Name() const { void Ifc4x3_tc1::IfcColourSpecification::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_tc1::IfcColourSpecification::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[181]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcColourSpecification::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[181]); } void Ifc4x3_tc1::IfcColourSpecification::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcColumn std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value > Ifc4x3_tc1::IfcColumn::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcColumnTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcColumn::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcColumn::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[182]); } -void Ifc4x3_tc1::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[182]); } +void Ifc4x3_tc1::IfcColumn::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcColumnType ::Ifc4x3_tc1::IfcColumnTypeEnum::Value Ifc4x3_tc1::IfcColumnType::PredefinedType() const { return ::Ifc4x3_tc1::IfcColumnTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcColumnType::setPredefinedType(const ::Ifc4x3_tc1::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcColumnType::setPredefinedType(const ::Ifc4x3_tc1::IfcColumnTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcColumnType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[183]); } -void Ifc4x3_tc1::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcColumnType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[183]); } +void Ifc4x3_tc1::IfcColumnType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcColumnTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcColumnTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCommunicationsAppliance std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value > Ifc4x3_tc1::IfcCommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[185]); } -void Ifc4x3_tc1::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[185]); } +void Ifc4x3_tc1::IfcCommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCommunicationsApplianceType ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value Ifc4x3_tc1::IfcCommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[186]); } -void Ifc4x3_tc1::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[186]); } +void Ifc4x3_tc1::IfcCommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcComplexProperty std::string Ifc4x3_tc1::IfcComplexProperty::UsageName() const { std::string v = get_attribute_value(2); return v; } @@ -9111,20 +9111,20 @@ std::vector< ::Ifc4x3_tc1::IfcProperty > Ifc4x3_tc1::IfcComplexProperty::HasProp void Ifc4x3_tc1::IfcComplexProperty::setHasProperties(const std::vector< ::Ifc4x3_tc1::IfcProperty >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcComplexProperty::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[189]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcComplexProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[189]); } void Ifc4x3_tc1::IfcComplexProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::string v3_UsageName, std::vector< ::Ifc4x3_tc1::IfcProperty > v4_HasProperties) { 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, cast_vector(v4_HasProperties)); } // Function implementations for IfcComplexPropertyTemplate std::optional< std::string > Ifc4x3_tc1::IfcComplexPropertyTemplate::UsageName() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcComplexPropertyTemplate::setUsageName(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value > Ifc4x3_tc1::IfcComplexPropertyTemplate::TemplateType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_tc1::IfcComplexPropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > > Ifc4x3_tc1::IfcComplexPropertyTemplate::HasPropertyTemplates() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_tc1::IfcPropertyTemplate>(es); } void Ifc4x3_tc1::IfcComplexPropertyTemplate::setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > >& v) { if (v) {set_attribute_value(6, cast_vector(*v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcComplexPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[190]); } -void Ifc4x3_tc1::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_tc1::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcComplexPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[190]); } +void Ifc4x3_tc1::IfcComplexPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Class(),(size_t)*v6_TemplateType))); } if (v7_HasPropertyTemplates) {set_attribute_value(6, cast_vector(*v7_HasPropertyTemplates)); } } // Function implementations for IfcCompositeCurve std::vector< ::Ifc4x3_tc1::IfcSegment > Ifc4x3_tc1::IfcCompositeCurve::Segments() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcSegment>(es); } @@ -9133,13 +9133,13 @@ boost::logic::tribool Ifc4x3_tc1::IfcCompositeCurve::SelfIntersect() const { bo void Ifc4x3_tc1::IfcCompositeCurve::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcCompositeCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[192]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCompositeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[192]); } void Ifc4x3_tc1::IfcCompositeCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveOnSurface -const IfcParse::entity& Ifc4x3_tc1::IfcCompositeCurveOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[193]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCompositeCurveOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[193]); } void Ifc4x3_tc1::IfcCompositeCurveOnSurface::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcCompositeCurveSegment @@ -9149,8 +9149,8 @@ void Ifc4x3_tc1::IfcCompositeCurveSegment::setSameSense(const bool& v) { set_att void Ifc4x3_tc1::IfcCompositeCurveSegment::setParentCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[194]); } -void Ifc4x3_tc1::IfcCompositeCurveSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_tc1::IfcCurve v3_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[194]); } +void Ifc4x3_tc1::IfcCompositeCurveSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_tc1::IfcCurve v3_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve)); } // Function implementations for IfcCompositeProfileDef std::vector< ::Ifc4x3_tc1::IfcProfileDef > Ifc4x3_tc1::IfcCompositeProfileDef::Profiles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcProfileDef>(es); } @@ -9159,47 +9159,47 @@ std::optional< std::string > Ifc4x3_tc1::IfcCompositeProfileDef::Label() const { void Ifc4x3_tc1::IfcCompositeProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCompositeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[195]); } -void Ifc4x3_tc1::IfcCompositeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCompositeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[195]); } +void Ifc4x3_tc1::IfcCompositeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, cast_vector(v3_Profiles)); if (v4_Label) {set_attribute_value(3, (*v4_Label)); } } // Function implementations for IfcCompressor std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value > Ifc4x3_tc1::IfcCompressor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCompressorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCompressor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCompressor::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[197]); } -void Ifc4x3_tc1::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCompressor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[197]); } +void Ifc4x3_tc1::IfcCompressor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCompressorType ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value Ifc4x3_tc1::IfcCompressorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCompressorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCompressorType::setPredefinedType(const ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCompressorType::setPredefinedType(const ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCompressorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[198]); } -void Ifc4x3_tc1::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCompressorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[198]); } +void Ifc4x3_tc1::IfcCompressorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCompressorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCondenser std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value > Ifc4x3_tc1::IfcCondenser::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCondenserTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCondenser::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCondenser::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[200]); } -void Ifc4x3_tc1::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCondenser::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[200]); } +void Ifc4x3_tc1::IfcCondenser::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCondenserType ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value Ifc4x3_tc1::IfcCondenserType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCondenserTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCondenserType::setPredefinedType(const ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCondenserType::setPredefinedType(const ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCondenserType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[201]); } -void Ifc4x3_tc1::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCondenserType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[201]); } +void Ifc4x3_tc1::IfcCondenserType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCondenserTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConic ::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcConic::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); } void Ifc4x3_tc1::IfcConic::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcConic::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[203]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConic::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[203]); } void Ifc4x3_tc1::IfcConic::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcConnectedFaceSet @@ -9207,7 +9207,7 @@ std::vector< ::Ifc4x3_tc1::IfcFace > Ifc4x3_tc1::IfcConnectedFaceSet::CfsFaces() void Ifc4x3_tc1::IfcConnectedFaceSet::setCfsFaces(const std::vector< ::Ifc4x3_tc1::IfcFace >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcConnectedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[204]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[204]); } void Ifc4x3_tc1::IfcConnectedFaceSet::initialize(std::vector< ::Ifc4x3_tc1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcConnectionCurveGeometry @@ -9217,13 +9217,13 @@ void Ifc4x3_tc1::IfcConnectionCurveGeometry::setCurveOnRelatingElement(const ::I void Ifc4x3_tc1::IfcConnectionCurveGeometry::setCurveOnRelatedElement(const ::Ifc4x3_tc1::IfcCurveOrEdgeCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcConnectionCurveGeometry::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[205]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionCurveGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[205]); } void Ifc4x3_tc1::IfcConnectionCurveGeometry::initialize(::Ifc4x3_tc1::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_tc1::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement) { set_attribute_value(0, (v1_CurveOnRelatingElement));set_attribute_value(1, (v2_CurveOnRelatedElement)); } // Function implementations for IfcConnectionGeometry -const IfcParse::entity& Ifc4x3_tc1::IfcConnectionGeometry::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[206]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[206]); } void Ifc4x3_tc1::IfcConnectionGeometry::initialize() { } // Function implementations for IfcConnectionPointEccentricity @@ -9235,7 +9235,7 @@ std::optional< double > Ifc4x3_tc1::IfcConnectionPointEccentricity::Eccentricity void Ifc4x3_tc1::IfcConnectionPointEccentricity::setEccentricityInZ(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcConnectionPointEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[207]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionPointEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[207]); } void Ifc4x3_tc1::IfcConnectionPointEccentricity::initialize(::Ifc4x3_tc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_tc1::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); 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)); } } // Function implementations for IfcConnectionPointGeometry @@ -9245,7 +9245,7 @@ void Ifc4x3_tc1::IfcConnectionPointGeometry::setPointOnRelatingElement(const ::I void Ifc4x3_tc1::IfcConnectionPointGeometry::setPointOnRelatedElement(const ::Ifc4x3_tc1::IfcPointOrVertexPoint& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcConnectionPointGeometry::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[208]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionPointGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[208]); } void Ifc4x3_tc1::IfcConnectionPointGeometry::initialize(::Ifc4x3_tc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_tc1::IfcPointOrVertexPoint v2_PointOnRelatedElement) { set_attribute_value(0, (v1_PointOnRelatingElement));set_attribute_value(1, (v2_PointOnRelatedElement)); } // Function implementations for IfcConnectionSurfaceGeometry @@ -9255,7 +9255,7 @@ void Ifc4x3_tc1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatingElement(const void Ifc4x3_tc1::IfcConnectionSurfaceGeometry::setSurfaceOnRelatedElement(const ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcConnectionSurfaceGeometry::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[209]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionSurfaceGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[209]); } void Ifc4x3_tc1::IfcConnectionSurfaceGeometry::initialize(::Ifc4x3_tc1::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement) { set_attribute_value(0, (v1_SurfaceOnRelatingElement));set_attribute_value(1, (v2_SurfaceOnRelatedElement)); } // Function implementations for IfcConnectionVolumeGeometry @@ -9265,7 +9265,7 @@ void Ifc4x3_tc1::IfcConnectionVolumeGeometry::setVolumeOnRelatingElement(const : void Ifc4x3_tc1::IfcConnectionVolumeGeometry::setVolumeOnRelatedElement(const ::Ifc4x3_tc1::IfcSolidOrShell& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcConnectionVolumeGeometry::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[211]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConnectionVolumeGeometry::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[211]); } void Ifc4x3_tc1::IfcConnectionVolumeGeometry::initialize(::Ifc4x3_tc1::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_tc1::IfcSolidOrShell v2_VolumeOnRelatedElement) { set_attribute_value(0, (v1_VolumeOnRelatingElement));set_attribute_value(1, (v2_VolumeOnRelatedElement)); } // Function implementations for IfcConstraint @@ -9274,7 +9274,7 @@ void Ifc4x3_tc1::IfcConstraint::setName(const std::string& v) { set_attribute_va std::optional< std::string > Ifc4x3_tc1::IfcConstraint::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcConstraint::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } ::Ifc4x3_tc1::IfcConstraintEnum::Value Ifc4x3_tc1::IfcConstraint::ConstraintGrade() const { return ::Ifc4x3_tc1::IfcConstraintEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_tc1::IfcConstraint::setConstraintGrade(const ::Ifc4x3_tc1::IfcConstraintEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_tc1::IfcConstraint::setConstraintGrade(const ::Ifc4x3_tc1::IfcConstraintEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } std::optional< std::string > Ifc4x3_tc1::IfcConstraint::ConstraintSource() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcConstraint::setConstraintSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } ::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcConstraint::CreatingActor() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcActorSelect>(); } @@ -9284,59 +9284,59 @@ void Ifc4x3_tc1::IfcConstraint::setCreationTime(const std::optional< std::string std::optional< std::string > Ifc4x3_tc1::IfcConstraint::UserDefinedGrade() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcConstraint::setUserDefinedGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -std::vector<::Ifc4x3_tc1::IfcResourceConstraintRelationship> Ifc4x3_tc1::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[954], 2)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcConstraint::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcResourceConstraintRelationship> Ifc4x3_tc1::IfcConstraint::PropertiesForConstraint() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[954], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcConstraint::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[212]); } -void Ifc4x3_tc1::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[212]); } +void Ifc4x3_tc1::IfcConstraint::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); } } // Function implementations for IfcConstructionEquipmentResource std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value > Ifc4x3_tc1::IfcConstructionEquipmentResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcConstructionEquipmentResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcConstructionEquipmentResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[214]); } -void Ifc4x3_tc1::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionEquipmentResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[214]); } +void Ifc4x3_tc1::IfcConstructionEquipmentResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionEquipmentResourceType ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value Ifc4x3_tc1::IfcConstructionEquipmentResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_tc1::IfcConstructionEquipmentResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcConstructionEquipmentResourceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[215]); } -void Ifc4x3_tc1::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionEquipmentResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[215]); } +void Ifc4x3_tc1::IfcConstructionEquipmentResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionMaterialResource std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value > Ifc4x3_tc1::IfcConstructionMaterialResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcConstructionMaterialResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcConstructionMaterialResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[217]); } -void Ifc4x3_tc1::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionMaterialResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[217]); } +void Ifc4x3_tc1::IfcConstructionMaterialResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionMaterialResourceType ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value Ifc4x3_tc1::IfcConstructionMaterialResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_tc1::IfcConstructionMaterialResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcConstructionMaterialResourceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[218]); } -void Ifc4x3_tc1::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionMaterialResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[218]); } +void Ifc4x3_tc1::IfcConstructionMaterialResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionProductResource std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value > Ifc4x3_tc1::IfcConstructionProductResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcConstructionProductResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcConstructionProductResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[220]); } -void Ifc4x3_tc1::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionProductResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[220]); } +void Ifc4x3_tc1::IfcConstructionProductResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcConstructionProductResourceType ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value Ifc4x3_tc1::IfcConstructionProductResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_tc1::IfcConstructionProductResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcConstructionProductResourceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[221]); } -void Ifc4x3_tc1::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionProductResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[221]); } +void Ifc4x3_tc1::IfcConstructionProductResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcConstructionResource ::Ifc4x3_tc1::IfcResourceTime Ifc4x3_tc1::IfcConstructionResource::Usage() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcResourceTime{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcResourceTime>(); } @@ -9347,7 +9347,7 @@ void Ifc4x3_tc1::IfcConstructionResource::setBaseCosts(const std::optional< std: void Ifc4x3_tc1::IfcConstructionResource::setBaseQuantity(const ::Ifc4x3_tc1::IfcPhysicalQuantity& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcConstructionResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[223]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[223]); } void Ifc4x3_tc1::IfcConstructionResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); } // Function implementations for IfcConstructionResourceType @@ -9357,7 +9357,7 @@ void Ifc4x3_tc1::IfcConstructionResourceType::setBaseCosts(const std::optional< void Ifc4x3_tc1::IfcConstructionResourceType::setBaseQuantity(const ::Ifc4x3_tc1::IfcPhysicalQuantity& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_tc1::IfcConstructionResourceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[224]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConstructionResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[224]); } void Ifc4x3_tc1::IfcConstructionResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity)); } // Function implementations for IfcContext @@ -9372,45 +9372,45 @@ void Ifc4x3_tc1::IfcContext::setRepresentationContexts(const std::optional< std: ::Ifc4x3_tc1::IfcUnitAssignment Ifc4x3_tc1::IfcContext::UnitsInContext() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcUnitAssignment{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcUnitAssignment>(); } void Ifc4x3_tc1::IfcContext::setUnitsInContext(const ::Ifc4x3_tc1::IfcUnitAssignment& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_tc1::IfcRelDefinesByProperties> Ifc4x3_tc1::IfcContext::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[931], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelDeclares> Ifc4x3_tc1::IfcContext::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[927], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelDefinesByProperties> Ifc4x3_tc1::IfcContext::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[931], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelDeclares> Ifc4x3_tc1::IfcContext::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[927], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcContext::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[225]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcContext::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[225]); } void Ifc4x3_tc1::IfcContext::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_tc1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcContextDependentUnit std::string Ifc4x3_tc1::IfcContextDependentUnit::Name() const { std::string v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcContextDependentUnit::setName(const std::string& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcContextDependentUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcContextDependentUnit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[227]); } -void Ifc4x3_tc1::IfcContextDependentUnit::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcContextDependentUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[227]); } +void Ifc4x3_tc1::IfcContextDependentUnit::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name)); } // Function implementations for IfcControl std::optional< std::string > Ifc4x3_tc1::IfcControl::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcControl::setIdentification(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_tc1::IfcRelAssignsToControl> Ifc4x3_tc1::IfcControl::Controls() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[900], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelAssignsToControl> Ifc4x3_tc1::IfcControl::Controls() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[900], 6)); } -const IfcParse::entity& Ifc4x3_tc1::IfcControl::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[228]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcControl::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[228]); } void Ifc4x3_tc1::IfcControl::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcController std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value > Ifc4x3_tc1::IfcController::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcControllerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcController::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcController::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[229]); } -void Ifc4x3_tc1::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcController::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[229]); } +void Ifc4x3_tc1::IfcController::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcControllerType ::Ifc4x3_tc1::IfcControllerTypeEnum::Value Ifc4x3_tc1::IfcControllerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcControllerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcControllerType::setPredefinedType(const ::Ifc4x3_tc1::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcControllerType::setPredefinedType(const ::Ifc4x3_tc1::IfcControllerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcControllerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[230]); } -void Ifc4x3_tc1::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[230]); } +void Ifc4x3_tc1::IfcControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcControllerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcControllerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcConversionBasedUnit std::string Ifc4x3_tc1::IfcConversionBasedUnit::Name() const { std::string v = get_attribute_value(2); return v; } @@ -9418,66 +9418,66 @@ void Ifc4x3_tc1::IfcConversionBasedUnit::setName(const std::string& v) { set_att ::Ifc4x3_tc1::IfcMeasureWithUnit Ifc4x3_tc1::IfcConversionBasedUnit::ConversionFactor() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcMeasureWithUnit>(); } void Ifc4x3_tc1::IfcConversionBasedUnit::setConversionFactor(const ::Ifc4x3_tc1::IfcMeasureWithUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcConversionBasedUnit::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcConversionBasedUnit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[232]); } -void Ifc4x3_tc1::IfcConversionBasedUnit::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConversionBasedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[232]); } +void Ifc4x3_tc1::IfcConversionBasedUnit::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_ConversionFactor) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor)); } // Function implementations for IfcConversionBasedUnitWithOffset double Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::ConversionOffset() const { double v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::setConversionOffset(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[233]); } -void Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[233]); } +void Ifc4x3_tc1::IfcConversionBasedUnitWithOffset::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType)));set_attribute_value(2, (v3_Name));set_attribute_value(3, (v4_ConversionFactor));set_attribute_value(4, (v5_ConversionOffset)); } // Function implementations for IfcConveyorSegment std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value > Ifc4x3_tc1::IfcConveyorSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcConveyorSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcConveyorSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[234]); } -void Ifc4x3_tc1::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConveyorSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[234]); } +void Ifc4x3_tc1::IfcConveyorSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcConveyorSegmentType ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value Ifc4x3_tc1::IfcConveyorSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcConveyorSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcConveyorSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[235]); } -void Ifc4x3_tc1::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcConveyorSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[235]); } +void Ifc4x3_tc1::IfcConveyorSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCooledBeam std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value > Ifc4x3_tc1::IfcCooledBeam::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCooledBeam::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCooledBeam::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[237]); } -void Ifc4x3_tc1::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCooledBeam::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[237]); } +void Ifc4x3_tc1::IfcCooledBeam::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCooledBeamType ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value Ifc4x3_tc1::IfcCooledBeamType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCooledBeamType::setPredefinedType(const ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCooledBeamType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[238]); } -void Ifc4x3_tc1::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCooledBeamType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[238]); } +void Ifc4x3_tc1::IfcCooledBeamType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoolingTower std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value > Ifc4x3_tc1::IfcCoolingTower::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCoolingTower::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCoolingTower::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[240]); } -void Ifc4x3_tc1::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCoolingTower::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[240]); } +void Ifc4x3_tc1::IfcCoolingTower::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoolingTowerType ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value Ifc4x3_tc1::IfcCoolingTowerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCoolingTowerType::setPredefinedType(const ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCoolingTowerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[241]); } -void Ifc4x3_tc1::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCoolingTowerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[241]); } +void Ifc4x3_tc1::IfcCoolingTowerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCoordinateOperation ::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect Ifc4x3_tc1::IfcCoordinateOperation::SourceCRS() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect>(); } @@ -9486,7 +9486,7 @@ void Ifc4x3_tc1::IfcCoordinateOperation::setSourceCRS(const ::Ifc4x3_tc1::IfcCoo void Ifc4x3_tc1::IfcCoordinateOperation::setTargetCRS(const ::Ifc4x3_tc1::IfcCoordinateReferenceSystem& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcCoordinateOperation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[243]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCoordinateOperation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[243]); } void Ifc4x3_tc1::IfcCoordinateOperation::initialize(::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_tc1::IfcCoordinateReferenceSystem v2_TargetCRS) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS)); } // Function implementations for IfcCoordinateReferenceSystem @@ -9499,9 +9499,9 @@ void Ifc4x3_tc1::IfcCoordinateReferenceSystem::setGeodeticDatum(const std::optio std::optional< std::string > Ifc4x3_tc1::IfcCoordinateReferenceSystem::VerticalDatum() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcCoordinateReferenceSystem::setVerticalDatum(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -std::vector<::Ifc4x3_tc1::IfcCoordinateOperation> Ifc4x3_tc1::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[243], 0)); } +std::vector<::Ifc4x3_tc1::IfcCoordinateOperation> Ifc4x3_tc1::IfcCoordinateReferenceSystem::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[243], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcCoordinateReferenceSystem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[244]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCoordinateReferenceSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[244]); } void Ifc4x3_tc1::IfcCoordinateReferenceSystem::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum) { 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)); } } // Function implementations for IfcCosineSpiral @@ -9511,24 +9511,24 @@ std::optional< double > Ifc4x3_tc1::IfcCosineSpiral::ConstantTerm() const { if(g void Ifc4x3_tc1::IfcCosineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCosineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[246]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCosineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[246]); } void Ifc4x3_tc1::IfcCosineSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_CosineTerm)); if (v3_ConstantTerm) {set_attribute_value(2, (*v3_ConstantTerm)); } } // Function implementations for IfcCostItem std::optional< ::Ifc4x3_tc1::IfcCostItemTypeEnum::Value > Ifc4x3_tc1::IfcCostItem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCostItemTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_tc1::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_tc1::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_tc1::IfcCostItem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCostItemTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcCostItemTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::vector< ::Ifc4x3_tc1::IfcCostValue > > Ifc4x3_tc1::IfcCostItem::CostValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcCostValue>(es); } void Ifc4x3_tc1::IfcCostItem::setCostValues(const std::optional< std::vector< ::Ifc4x3_tc1::IfcCostValue > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > > Ifc4x3_tc1::IfcCostItem::CostQuantities() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_tc1::IfcPhysicalQuantity>(es); } void Ifc4x3_tc1::IfcCostItem::setCostQuantities(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > >& v) { if (v) {set_attribute_value(8, cast_vector(*v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCostItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[247]); } -void Ifc4x3_tc1::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_tc1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCostItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[247]); } +void Ifc4x3_tc1::IfcCostItem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_tc1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > > v9_CostQuantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcCostItemTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_CostValues) {set_attribute_value(7, cast_vector(*v8_CostValues)); } if (v9_CostQuantities) {set_attribute_value(8, cast_vector(*v9_CostQuantities)); } } // Function implementations for IfcCostSchedule std::optional< ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value > Ifc4x3_tc1::IfcCostSchedule::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_tc1::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_tc1::IfcCostSchedule::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_tc1::IfcCostSchedule::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcCostSchedule::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_tc1::IfcCostSchedule::SubmittedOn() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } @@ -9537,71 +9537,71 @@ std::optional< std::string > Ifc4x3_tc1::IfcCostSchedule::UpdateDate() const { i void Ifc4x3_tc1::IfcCostSchedule::setUpdateDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCostSchedule::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[249]); } -void Ifc4x3_tc1::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCostSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[249]); } +void Ifc4x3_tc1::IfcCostSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcCostValue -const IfcParse::entity& Ifc4x3_tc1::IfcCostValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[251]); } -void Ifc4x3_tc1::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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_tc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCostValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[251]); } +void Ifc4x3_tc1::IfcCostValue::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_Components) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_AppliedValue));set_attribute_value(3, (v4_UnitBasis)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Class(),(size_t)*v9_ArithmeticOperator))); } if (v10_Components) {set_attribute_value(9, cast_vector(*v10_Components)); } } // Function implementations for IfcCourse std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value > Ifc4x3_tc1::IfcCourse::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCourseTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCourse::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCourse::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[253]); } -void Ifc4x3_tc1::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCourse::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[253]); } +void Ifc4x3_tc1::IfcCourse::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCourseType ::Ifc4x3_tc1::IfcCourseTypeEnum::Value Ifc4x3_tc1::IfcCourseType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCourseTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCourseType::setPredefinedType(const ::Ifc4x3_tc1::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCourseType::setPredefinedType(const ::Ifc4x3_tc1::IfcCourseTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCourseType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[254]); } -void Ifc4x3_tc1::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCourseType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[254]); } +void Ifc4x3_tc1::IfcCourseType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCourseTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCourseTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCovering std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value > Ifc4x3_tc1::IfcCovering::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCoveringTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCovering::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_tc1::IfcRelCoversSpaces> Ifc4x3_tc1::IfcCovering::CoversSpaces() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[926], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelCoversBldgElements> Ifc4x3_tc1::IfcCovering::CoversElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[925], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelCoversSpaces> Ifc4x3_tc1::IfcCovering::CoversSpaces() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[926], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelCoversBldgElements> Ifc4x3_tc1::IfcCovering::CoversElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[925], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcCovering::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[256]); } -void Ifc4x3_tc1::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCovering::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[256]); } +void Ifc4x3_tc1::IfcCovering::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCoveringType ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value Ifc4x3_tc1::IfcCoveringType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCoveringTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCoveringType::setPredefinedType(const ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCoveringType::setPredefinedType(const ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCoveringType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[257]); } -void Ifc4x3_tc1::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCoveringType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[257]); } +void Ifc4x3_tc1::IfcCoveringType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCoveringTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCrewResource std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value > Ifc4x3_tc1::IfcCrewResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcCrewResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCrewResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[259]); } -void Ifc4x3_tc1::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCrewResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[259]); } +void Ifc4x3_tc1::IfcCrewResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcCrewResourceType ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value Ifc4x3_tc1::IfcCrewResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_tc1::IfcCrewResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcCrewResourceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[260]); } -void Ifc4x3_tc1::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCrewResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[260]); } +void Ifc4x3_tc1::IfcCrewResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcCsgPrimitive3D ::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcCsgPrimitive3D::Position() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); } void Ifc4x3_tc1::IfcCsgPrimitive3D::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcCsgPrimitive3D::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[262]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCsgPrimitive3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[262]); } void Ifc4x3_tc1::IfcCsgPrimitive3D::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcCsgSolid @@ -9609,7 +9609,7 @@ void Ifc4x3_tc1::IfcCsgPrimitive3D::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D void Ifc4x3_tc1::IfcCsgSolid::setTreeRootExpression(const ::Ifc4x3_tc1::IfcCsgSelect& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcCsgSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[264]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCsgSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[264]); } void Ifc4x3_tc1::IfcCsgSolid::initialize(::Ifc4x3_tc1::IfcCsgSelect v1_TreeRootExpression) { set_attribute_value(0, (v1_TreeRootExpression)); } // Function implementations for IfcCurrencyRelationship @@ -9625,29 +9625,29 @@ void Ifc4x3_tc1::IfcCurrencyRelationship::setRateDateTime(const std::optional< s void Ifc4x3_tc1::IfcCurrencyRelationship::setRateSource(const ::Ifc4x3_tc1::IfcLibraryInformation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcCurrencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[266]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurrencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[266]); } void Ifc4x3_tc1::IfcCurrencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_tc1::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_tc1::IfcLibraryInformation v7_RateSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMonetaryUnit));set_attribute_value(3, (v4_RelatedMonetaryUnit));set_attribute_value(4, (v5_ExchangeRate)); if (v6_RateDateTime) {set_attribute_value(5, (*v6_RateDateTime)); }set_attribute_value(6, (v7_RateSource)); } // Function implementations for IfcCurtainWall std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value > Ifc4x3_tc1::IfcCurtainWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcCurtainWall::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCurtainWall::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[267]); } -void Ifc4x3_tc1::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurtainWall::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[267]); } +void Ifc4x3_tc1::IfcCurtainWall::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcCurtainWallType ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value Ifc4x3_tc1::IfcCurtainWallType::PredefinedType() const { return ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcCurtainWallType::setPredefinedType(const ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcCurtainWallType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[268]); } -void Ifc4x3_tc1::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurtainWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[268]); } +void Ifc4x3_tc1::IfcCurtainWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcCurve -const IfcParse::entity& Ifc4x3_tc1::IfcCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[271]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[271]); } void Ifc4x3_tc1::IfcCurve::initialize() { } // Function implementations for IfcCurveBoundedPlane @@ -9659,7 +9659,7 @@ std::vector< ::Ifc4x3_tc1::IfcCurve > Ifc4x3_tc1::IfcCurveBoundedPlane::InnerBou void Ifc4x3_tc1::IfcCurveBoundedPlane::setInnerBoundaries(const std::vector< ::Ifc4x3_tc1::IfcCurve >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcCurveBoundedPlane::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[272]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveBoundedPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[272]); } void Ifc4x3_tc1::IfcCurveBoundedPlane::initialize(::Ifc4x3_tc1::IfcPlane v1_BasisSurface, ::Ifc4x3_tc1::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_tc1::IfcCurve > v3_InnerBoundaries) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_OuterBoundary));set_attribute_value(2, cast_vector(v3_InnerBoundaries)); } // Function implementations for IfcCurveBoundedSurface @@ -9671,7 +9671,7 @@ bool Ifc4x3_tc1::IfcCurveBoundedSurface::ImplicitOuter() const { bool v = get_a void Ifc4x3_tc1::IfcCurveBoundedSurface::setImplicitOuter(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcCurveBoundedSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[273]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveBoundedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[273]); } void Ifc4x3_tc1::IfcCurveBoundedSurface::initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_tc1::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, cast_vector(v2_Boundaries));set_attribute_value(2, (v3_ImplicitOuter)); } // Function implementations for IfcCurveSegment @@ -9685,8 +9685,8 @@ void Ifc4x3_tc1::IfcCurveSegment::setSegmentLength(const ::Ifc4x3_tc1::IfcCurveM void Ifc4x3_tc1::IfcCurveSegment::setParentCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[279]); } -void Ifc4x3_tc1::IfcCurveSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_tc1::IfcPlacement v2_Placement, ::Ifc4x3_tc1::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_tc1::IfcCurve v5_ParentCurve) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[279]); } +void Ifc4x3_tc1::IfcCurveSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_tc1::IfcPlacement v2_Placement, ::Ifc4x3_tc1::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_tc1::IfcCurve v5_ParentCurve) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (v3_SegmentStart));set_attribute_value(3, (v4_SegmentLength));set_attribute_value(4, (v5_ParentCurve)); } // Function implementations for IfcCurveStyle ::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect Ifc4x3_tc1::IfcCurveStyle::CurveFont() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect>(); } @@ -9699,7 +9699,7 @@ std::optional< bool > Ifc4x3_tc1::IfcCurveStyle::ModelOrDraughting() const { if( void Ifc4x3_tc1::IfcCurveStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcCurveStyle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[280]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[280]); } void Ifc4x3_tc1::IfcCurveStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_tc1::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_tc1::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveFont));set_attribute_value(2, (v3_CurveWidth));set_attribute_value(3, (v4_CurveColour)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcCurveStyleFont @@ -9709,7 +9709,7 @@ std::vector< ::Ifc4x3_tc1::IfcCurveStyleFontPattern > Ifc4x3_tc1::IfcCurveStyleF void Ifc4x3_tc1::IfcCurveStyleFont::setPatternList(const std::vector< ::Ifc4x3_tc1::IfcCurveStyleFontPattern >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcCurveStyleFont::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[281]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveStyleFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[281]); } void Ifc4x3_tc1::IfcCurveStyleFont::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_tc1::IfcCurveStyleFontPattern > v2_PatternList) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_PatternList)); } // Function implementations for IfcCurveStyleFontAndScaling @@ -9721,7 +9721,7 @@ double Ifc4x3_tc1::IfcCurveStyleFontAndScaling::CurveFontScaling() const { doub void Ifc4x3_tc1::IfcCurveStyleFontAndScaling::setCurveFontScaling(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcCurveStyleFontAndScaling::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[282]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveStyleFontAndScaling::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[282]); } void Ifc4x3_tc1::IfcCurveStyleFontAndScaling::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcCurveStyleFontSelect v2_CurveStyleFont, double v3_CurveFontScaling) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_CurveStyleFont));set_attribute_value(2, (v3_CurveFontScaling)); } // Function implementations for IfcCurveStyleFontPattern @@ -9731,7 +9731,7 @@ double Ifc4x3_tc1::IfcCurveStyleFontPattern::InvisibleSegmentLength() const { d void Ifc4x3_tc1::IfcCurveStyleFontPattern::setInvisibleSegmentLength(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcCurveStyleFontPattern::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[283]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCurveStyleFontPattern::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[283]); } void Ifc4x3_tc1::IfcCurveStyleFontPattern::initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength) { set_attribute_value(0, (v1_VisibleSegmentLength));set_attribute_value(1, (v2_InvisibleSegmentLength)); } // Function implementations for IfcCylindricalSurface @@ -9739,35 +9739,35 @@ double Ifc4x3_tc1::IfcCylindricalSurface::Radius() const { double v = get_attri void Ifc4x3_tc1::IfcCylindricalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcCylindricalSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[285]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcCylindricalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[285]); } void Ifc4x3_tc1::IfcCylindricalSurface::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcDamper std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value > Ifc4x3_tc1::IfcDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcDamper::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDamper::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[286]); } -void Ifc4x3_tc1::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[286]); } +void Ifc4x3_tc1::IfcDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDamperType ::Ifc4x3_tc1::IfcDamperTypeEnum::Value Ifc4x3_tc1::IfcDamperType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcDamperType::setPredefinedType(const ::Ifc4x3_tc1::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcDamperType::setPredefinedType(const ::Ifc4x3_tc1::IfcDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcDamperType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[287]); } -void Ifc4x3_tc1::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[287]); } +void Ifc4x3_tc1::IfcDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDeepFoundation -const IfcParse::entity& Ifc4x3_tc1::IfcDeepFoundation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[294]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDeepFoundation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[294]); } void Ifc4x3_tc1::IfcDeepFoundation::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDeepFoundationType -const IfcParse::entity& Ifc4x3_tc1::IfcDeepFoundationType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[295]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDeepFoundationType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[295]); } void Ifc4x3_tc1::IfcDeepFoundationType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDerivedProfileDef @@ -9779,22 +9779,22 @@ std::optional< std::string > Ifc4x3_tc1::IfcDerivedProfileDef::Label() const { i void Ifc4x3_tc1::IfcDerivedProfileDef::setLabel(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDerivedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[298]); } -void Ifc4x3_tc1::IfcDerivedProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDerivedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[298]); } +void Ifc4x3_tc1::IfcDerivedProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile));set_attribute_value(3, (v4_Operator)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcDerivedUnit std::vector< ::Ifc4x3_tc1::IfcDerivedUnitElement > Ifc4x3_tc1::IfcDerivedUnit::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcDerivedUnitElement>(es); } void Ifc4x3_tc1::IfcDerivedUnit::setElements(const std::vector< ::Ifc4x3_tc1::IfcDerivedUnitElement >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_tc1::IfcDerivedUnitEnum::Value Ifc4x3_tc1::IfcDerivedUnit::UnitType() const { return ::Ifc4x3_tc1::IfcDerivedUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_tc1::IfcDerivedUnit::setUnitType(const ::Ifc4x3_tc1::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_tc1::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_tc1::IfcDerivedUnit::setUnitType(const ::Ifc4x3_tc1::IfcDerivedUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcDerivedUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::optional< std::string > Ifc4x3_tc1::IfcDerivedUnit::UserDefinedType() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcDerivedUnit::setUserDefinedType(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } std::optional< std::string > Ifc4x3_tc1::IfcDerivedUnit::Name() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcDerivedUnit::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDerivedUnit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[299]); } -void Ifc4x3_tc1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_tc1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_tc1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDerivedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[299]); } +void Ifc4x3_tc1::IfcDerivedUnit::initialize(std::vector< ::Ifc4x3_tc1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_tc1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name) { set_attribute_value(0, cast_vector(v1_Elements));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDerivedUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_UserDefinedType) {set_attribute_value(2, (*v3_UserDefinedType)); } if (v4_Name) {set_attribute_value(3, (*v4_Name)); } } // Function implementations for IfcDerivedUnitElement ::Ifc4x3_tc1::IfcNamedUnit Ifc4x3_tc1::IfcDerivedUnitElement::Unit() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcNamedUnit>(); } @@ -9803,7 +9803,7 @@ int Ifc4x3_tc1::IfcDerivedUnitElement::Exponent() const { int v = get_attribute void Ifc4x3_tc1::IfcDerivedUnitElement::setExponent(const int& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcDerivedUnitElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[300]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDerivedUnitElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[300]); } void Ifc4x3_tc1::IfcDerivedUnitElement::initialize(::Ifc4x3_tc1::IfcNamedUnit v1_Unit, int v2_Exponent) { set_attribute_value(0, (v1_Unit));set_attribute_value(1, (v2_Exponent)); } // Function implementations for IfcDimensionalExponents @@ -9823,7 +9823,7 @@ int Ifc4x3_tc1::IfcDimensionalExponents::LuminousIntensityExponent() const { in void Ifc4x3_tc1::IfcDimensionalExponents::setLuminousIntensityExponent(const int& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcDimensionalExponents::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[303]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDimensionalExponents::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[303]); } void Ifc4x3_tc1::IfcDimensionalExponents::initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent) { 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)); } // Function implementations for IfcDirection @@ -9831,7 +9831,7 @@ std::vector< double > /*[2:3]*/ Ifc4x3_tc1::IfcDirection::DirectionRatios() cons void Ifc4x3_tc1::IfcDirection::setDirectionRatios(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcDirection::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[305]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDirection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[305]); } void Ifc4x3_tc1::IfcDirection::initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios) { set_attribute_value(0, (v1_DirectionRatios)); } // Function implementations for IfcDirectrixCurveSweptAreaSolid @@ -9843,129 +9843,129 @@ void Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::setStartParam(const ::Ifc4x3_t void Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::setEndParam(const ::Ifc4x3_tc1::IfcCurveMeasureSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[307]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[307]); } void Ifc4x3_tc1::IfcDirectrixCurveSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam)); } // Function implementations for IfcDirectrixDerivedReferenceSweptAreaSolid -const IfcParse::entity& Ifc4x3_tc1::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[308]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDirectrixDerivedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[308]); } void Ifc4x3_tc1::IfcDirectrixDerivedReferenceSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_tc1::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcDiscreteAccessory std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value > Ifc4x3_tc1::IfcDiscreteAccessory::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcDiscreteAccessory::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDiscreteAccessory::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[309]); } -void Ifc4x3_tc1::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDiscreteAccessory::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[309]); } +void Ifc4x3_tc1::IfcDiscreteAccessory::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDiscreteAccessoryType ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value Ifc4x3_tc1::IfcDiscreteAccessoryType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcDiscreteAccessoryType::setPredefinedType(const ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcDiscreteAccessoryType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[310]); } -void Ifc4x3_tc1::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDiscreteAccessoryType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[310]); } +void Ifc4x3_tc1::IfcDiscreteAccessoryType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionBoard std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value > Ifc4x3_tc1::IfcDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[312]); } -void Ifc4x3_tc1::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[312]); } +void Ifc4x3_tc1::IfcDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionBoardType ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value Ifc4x3_tc1::IfcDistributionBoardType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcDistributionBoardType::setPredefinedType(const ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[313]); } -void Ifc4x3_tc1::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[313]); } +void Ifc4x3_tc1::IfcDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionChamberElement std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value > Ifc4x3_tc1::IfcDistributionChamberElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcDistributionChamberElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionChamberElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[315]); } -void Ifc4x3_tc1::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionChamberElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[315]); } +void Ifc4x3_tc1::IfcDistributionChamberElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDistributionChamberElementType ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value Ifc4x3_tc1::IfcDistributionChamberElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcDistributionChamberElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionChamberElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[316]); } -void Ifc4x3_tc1::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionChamberElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[316]); } +void Ifc4x3_tc1::IfcDistributionChamberElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDistributionCircuit -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionCircuit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[318]); } -void Ifc4x3_tc1::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionCircuit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[318]); } +void Ifc4x3_tc1::IfcDistributionCircuit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDistributionControlElement -std::vector<::Ifc4x3_tc1::IfcRelFlowControlElements> Ifc4x3_tc1::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[935], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelFlowControlElements> Ifc4x3_tc1::IfcDistributionControlElement::AssignedToFlowElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[935], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionControlElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[319]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[319]); } void Ifc4x3_tc1::IfcDistributionControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionControlElementType -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[320]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[320]); } void Ifc4x3_tc1::IfcDistributionControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionElement -std::vector<::Ifc4x3_tc1::IfcRelConnectsPortToElement> Ifc4x3_tc1::IfcDistributionElement::HasPorts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[919], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsPortToElement> Ifc4x3_tc1::IfcDistributionElement::HasPorts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[919], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[321]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[321]); } void Ifc4x3_tc1::IfcDistributionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionElementType -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[322]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[322]); } void Ifc4x3_tc1::IfcDistributionElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionFlowElement -std::vector<::Ifc4x3_tc1::IfcRelFlowControlElements> Ifc4x3_tc1::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[935], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelFlowControlElements> Ifc4x3_tc1::IfcDistributionFlowElement::HasControlElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[935], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionFlowElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[323]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionFlowElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[323]); } void Ifc4x3_tc1::IfcDistributionFlowElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcDistributionFlowElementType -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionFlowElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[324]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionFlowElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[324]); } void Ifc4x3_tc1::IfcDistributionFlowElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcDistributionPort std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value > Ifc4x3_tc1::IfcDistributionPort::FlowDirection() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFlowDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_tc1::IfcDistributionPort::setFlowDirection(const std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcFlowDirectionEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value > Ifc4x3_tc1::IfcDistributionPort::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcDistributionPort::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > Ifc4x3_tc1::IfcDistributionPort::SystemType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionSystemEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcDistributionPort::setSystemType(const std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionPort::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[325]); } -void Ifc4x3_tc1::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionPort::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[325]); } +void Ifc4x3_tc1::IfcDistributionPort::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v10_SystemType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_FlowDirection) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowDirectionEnum::Class(),(size_t)*v8_FlowDirection))); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_SystemType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(),(size_t)*v10_SystemType))); } } // Function implementations for IfcDistributionSystem std::optional< std::string > Ifc4x3_tc1::IfcDistributionSystem::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcDistributionSystem::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > Ifc4x3_tc1::IfcDistributionSystem::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDistributionSystemEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_tc1::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_tc1::IfcDistributionSystem::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDistributionSystem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[327]); } -void Ifc4x3_tc1::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDistributionSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[327]); } +void Ifc4x3_tc1::IfcDistributionSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcDistributionSystemEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcDocumentInformation std::string Ifc4x3_tc1::IfcDocumentInformation::Identification() const { std::string v = get_attribute_value(0); return v; } @@ -9999,17 +9999,17 @@ void Ifc4x3_tc1::IfcDocumentInformation::setValidFrom(const std::optional< std:: std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformation::ValidUntil() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_tc1::IfcDocumentInformation::setValidUntil(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value > Ifc4x3_tc1::IfcDocumentInformation::Confidentiality() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::FromString(get_attribute_value(15)); } -void Ifc4x3_tc1::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, EnumerationReference(&::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } +void Ifc4x3_tc1::IfcDocumentInformation::setConfidentiality(const std::optional< ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value >& v) { if (v) {set_attribute_value(15, enumeration_reference(&::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Class(), (size_t) *v));} else {unset_attribute_value(15);} } std::optional< ::Ifc4x3_tc1::IfcDocumentStatusEnum::Value > Ifc4x3_tc1::IfcDocumentInformation::Status() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDocumentStatusEnum::FromString(get_attribute_value(16)); } -void Ifc4x3_tc1::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_tc1::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, EnumerationReference(&::Ifc4x3_tc1::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } +void Ifc4x3_tc1::IfcDocumentInformation::setStatus(const std::optional< ::Ifc4x3_tc1::IfcDocumentStatusEnum::Value >& v) { if (v) {set_attribute_value(16, enumeration_reference(&::Ifc4x3_tc1::IfcDocumentStatusEnum::Class(), (size_t) *v));} else {unset_attribute_value(16);} } -std::vector<::Ifc4x3_tc1::IfcRelAssociatesDocument> Ifc4x3_tc1::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[910], 5)); } -std::vector<::Ifc4x3_tc1::IfcDocumentReference> Ifc4x3_tc1::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[332], 4)); } -std::vector<::Ifc4x3_tc1::IfcDocumentInformationRelationship> Ifc4x3_tc1::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[331], 3)); } -std::vector<::Ifc4x3_tc1::IfcDocumentInformationRelationship> Ifc4x3_tc1::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[331], 2)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociatesDocument> Ifc4x3_tc1::IfcDocumentInformation::DocumentInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[910], 5)); } +std::vector<::Ifc4x3_tc1::IfcDocumentReference> Ifc4x3_tc1::IfcDocumentInformation::HasDocumentReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[332], 4)); } +std::vector<::Ifc4x3_tc1::IfcDocumentInformationRelationship> Ifc4x3_tc1::IfcDocumentInformation::IsPointedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[331], 3)); } +std::vector<::Ifc4x3_tc1::IfcDocumentInformationRelationship> Ifc4x3_tc1::IfcDocumentInformation::IsPointer() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[331], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcDocumentInformation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[330]); } -void Ifc4x3_tc1::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_tc1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_tc1::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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_tc1::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (EnumerationReference(&::Ifc4x3_tc1::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDocumentInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[330]); } +void Ifc4x3_tc1::IfcDocumentInformation::initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_tc1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_tc1::IfcDocumentStatusEnum::Value > v17_Status) { 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)); if (v10_Editors) {set_attribute_value(9, cast_vector(*v10_Editors)); } 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, (enumeration_reference(&::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Class(),(size_t)*v16_Confidentiality))); } if (v17_Status) {set_attribute_value(16, (enumeration_reference(&::Ifc4x3_tc1::IfcDocumentStatusEnum::Class(),(size_t)*v17_Status))); } } // Function implementations for IfcDocumentInformationRelationship ::Ifc4x3_tc1::IfcDocumentInformation Ifc4x3_tc1::IfcDocumentInformationRelationship::RelatingDocument() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcDocumentInformation>(); } @@ -10020,7 +10020,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcDocumentInformationRelationship::Rel void Ifc4x3_tc1::IfcDocumentInformationRelationship::setRelationshipType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDocumentInformationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[331]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDocumentInformationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[331]); } void Ifc4x3_tc1::IfcDocumentInformationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_tc1::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingDocument));set_attribute_value(3, cast_vector(v4_RelatedDocuments)); if (v5_RelationshipType) {set_attribute_value(4, (*v5_RelationshipType)); } } // Function implementations for IfcDocumentReference @@ -10029,9 +10029,9 @@ void Ifc4x3_tc1::IfcDocumentReference::setDescription(const std::optional< std:: ::Ifc4x3_tc1::IfcDocumentInformation Ifc4x3_tc1::IfcDocumentReference::ReferencedDocument() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcDocumentInformation{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcDocumentInformation>(); } void Ifc4x3_tc1::IfcDocumentReference::setReferencedDocument(const ::Ifc4x3_tc1::IfcDocumentInformation& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_tc1::IfcRelAssociatesDocument> Ifc4x3_tc1::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[910], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociatesDocument> Ifc4x3_tc1::IfcDocumentReference::DocumentRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[910], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcDocumentReference::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[332]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDocumentReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[332]); } void Ifc4x3_tc1::IfcDocumentReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcDocumentInformation v5_ReferencedDocument) { 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)); } // Function implementations for IfcDoor @@ -10040,15 +10040,15 @@ void Ifc4x3_tc1::IfcDoor::setOverallHeight(const std::optional< double >& v) { i std::optional< double > Ifc4x3_tc1::IfcDoor::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcDoor::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_tc1::IfcDoorTypeEnum::Value > Ifc4x3_tc1::IfcDoor::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDoorTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcDoor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDoorTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value > Ifc4x3_tc1::IfcDoor::OperationType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_tc1::IfcDoor::setOperationType(const std::optional< ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_tc1::IfcDoor::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_tc1::IfcDoor::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDoor::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[335]); } -void Ifc4x3_tc1::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_tc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_tc1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDoor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[335]); } +void Ifc4x3_tc1::IfcDoor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_tc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_OperationType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(),(size_t)*v12_OperationType))); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDoorLiningProperties std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -10079,120 +10079,120 @@ std::optional< double > Ifc4x3_tc1::IfcDoorLiningProperties::LiningToPanelOffset void Ifc4x3_tc1::IfcDoorLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDoorLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[336]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDoorLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[336]); } void Ifc4x3_tc1::IfcDoorLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_tc1::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); if (v16_LiningToPanelOffsetX) {set_attribute_value(15, (*v16_LiningToPanelOffsetX)); } if (v17_LiningToPanelOffsetY) {set_attribute_value(16, (*v17_LiningToPanelOffsetY)); } } // Function implementations for IfcDoorPanelProperties std::optional< double > Ifc4x3_tc1::IfcDoorPanelProperties::PanelDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelDepth(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value Ifc4x3_tc1::IfcDoorPanelProperties::PanelOperation() const { return ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelOperation(const ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_tc1::IfcDoorPanelProperties::PanelWidth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelWidth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value Ifc4x3_tc1::IfcDoorPanelProperties::PanelPosition() const { return ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_tc1::IfcDoorPanelProperties::setPanelPosition(const ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_tc1::IfcShapeAspect Ifc4x3_tc1::IfcDoorPanelProperties::ShapeAspectStyle() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcShapeAspect{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcShapeAspect>(); } void Ifc4x3_tc1::IfcDoorPanelProperties::setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcDoorPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[339]); } -void Ifc4x3_tc1::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_tc1::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDoorPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[339]); } +void Ifc4x3_tc1::IfcDoorPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Class(),(size_t)v6_PanelOperation))); if (v7_PanelWidth) {set_attribute_value(6, (*v7_PanelWidth)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Class(),(size_t)v8_PanelPosition)));set_attribute_value(8, (v9_ShapeAspectStyle)); } // Function implementations for IfcDoorType ::Ifc4x3_tc1::IfcDoorTypeEnum::Value Ifc4x3_tc1::IfcDoorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDoorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcDoorType::setPredefinedType(const ::Ifc4x3_tc1::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcDoorType::setPredefinedType(const ::Ifc4x3_tc1::IfcDoorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value Ifc4x3_tc1::IfcDoorType::OperationType() const { return ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcDoorType::setOperationType(const ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_tc1::IfcDoorType::setOperationType(const ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_tc1::IfcDoorType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_tc1::IfcDoorType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_tc1::IfcDoorType::UserDefinedOperationType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_tc1::IfcDoorType::setUserDefinedOperationType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDoorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[340]); } -void Ifc4x3_tc1::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDoorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[340]); } +void Ifc4x3_tc1::IfcDoorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Class(),(size_t)v11_OperationType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedOperationType) {set_attribute_value(12, (*v13_UserDefinedOperationType)); } } // Function implementations for IfcDraughtingPreDefinedColour -const IfcParse::entity& Ifc4x3_tc1::IfcDraughtingPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[344]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDraughtingPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[344]); } void Ifc4x3_tc1::IfcDraughtingPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDraughtingPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_tc1::IfcDraughtingPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[345]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDraughtingPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[345]); } void Ifc4x3_tc1::IfcDraughtingPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcDuctFitting std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value > Ifc4x3_tc1::IfcDuctFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcDuctFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDuctFitting::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[346]); } -void Ifc4x3_tc1::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[346]); } +void Ifc4x3_tc1::IfcDuctFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctFittingType ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value Ifc4x3_tc1::IfcDuctFittingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcDuctFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcDuctFittingType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[347]); } -void Ifc4x3_tc1::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[347]); } +void Ifc4x3_tc1::IfcDuctFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSegment std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value > Ifc4x3_tc1::IfcDuctSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcDuctSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDuctSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[349]); } -void Ifc4x3_tc1::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[349]); } +void Ifc4x3_tc1::IfcDuctSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSegmentType ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value Ifc4x3_tc1::IfcDuctSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcDuctSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcDuctSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[350]); } -void Ifc4x3_tc1::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[350]); } +void Ifc4x3_tc1::IfcDuctSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcDuctSilencer std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value > Ifc4x3_tc1::IfcDuctSilencer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcDuctSilencer::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcDuctSilencer::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[352]); } -void Ifc4x3_tc1::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctSilencer::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[352]); } +void Ifc4x3_tc1::IfcDuctSilencer::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcDuctSilencerType ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value Ifc4x3_tc1::IfcDuctSilencerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcDuctSilencerType::setPredefinedType(const ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcDuctSilencerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[353]); } -void Ifc4x3_tc1::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcDuctSilencerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[353]); } +void Ifc4x3_tc1::IfcDuctSilencerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEarthworksCut std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value > Ifc4x3_tc1::IfcEarthworksCut::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcEarthworksCut::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcEarthworksCut::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[357]); } -void Ifc4x3_tc1::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEarthworksCut::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[357]); } +void Ifc4x3_tc1::IfcEarthworksCut::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEarthworksElement -const IfcParse::entity& Ifc4x3_tc1::IfcEarthworksElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[359]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEarthworksElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[359]); } void Ifc4x3_tc1::IfcEarthworksElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEarthworksFill std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value > Ifc4x3_tc1::IfcEarthworksFill::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcEarthworksFill::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcEarthworksFill::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[360]); } -void Ifc4x3_tc1::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEarthworksFill::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[360]); } +void Ifc4x3_tc1::IfcEarthworksFill::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEdge ::Ifc4x3_tc1::IfcVertex Ifc4x3_tc1::IfcEdge::EdgeStart() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcVertex>(); } @@ -10201,7 +10201,7 @@ void Ifc4x3_tc1::IfcEdge::setEdgeStart(const ::Ifc4x3_tc1::IfcVertex& v) { set_a void Ifc4x3_tc1::IfcEdge::setEdgeEnd(const ::Ifc4x3_tc1::IfcVertex& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcEdge::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[362]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[362]); } void Ifc4x3_tc1::IfcEdge::initialize(::Ifc4x3_tc1::IfcVertex v1_EdgeStart, ::Ifc4x3_tc1::IfcVertex v2_EdgeEnd) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd)); } // Function implementations for IfcEdgeCurve @@ -10211,7 +10211,7 @@ bool Ifc4x3_tc1::IfcEdgeCurve::SameSense() const { bool v = get_attribute_value void Ifc4x3_tc1::IfcEdgeCurve::setSameSense(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcEdgeCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[363]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEdgeCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[363]); } void Ifc4x3_tc1::IfcEdgeCurve::initialize(::Ifc4x3_tc1::IfcVertex v1_EdgeStart, ::Ifc4x3_tc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_tc1::IfcCurve v3_EdgeGeometry, bool v4_SameSense) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_EdgeGeometry));set_attribute_value(3, (v4_SameSense)); } // Function implementations for IfcEdgeLoop @@ -10219,169 +10219,169 @@ std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > Ifc4x3_tc1::IfcEdgeLoop::EdgeList() void Ifc4x3_tc1::IfcEdgeLoop::setEdgeList(const std::vector< ::Ifc4x3_tc1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcEdgeLoop::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[364]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEdgeLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[364]); } void Ifc4x3_tc1::IfcEdgeLoop::initialize(std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcElectricAppliance std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value > Ifc4x3_tc1::IfcElectricAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcElectricAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricAppliance::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[365]); } -void Ifc4x3_tc1::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[365]); } +void Ifc4x3_tc1::IfcElectricAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricApplianceType ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value Ifc4x3_tc1::IfcElectricApplianceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcElectricApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[366]); } -void Ifc4x3_tc1::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[366]); } +void Ifc4x3_tc1::IfcElectricApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricDistributionBoard std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value > Ifc4x3_tc1::IfcElectricDistributionBoard::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcElectricDistributionBoard::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricDistributionBoard::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[372]); } -void Ifc4x3_tc1::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricDistributionBoard::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[372]); } +void Ifc4x3_tc1::IfcElectricDistributionBoard::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricDistributionBoardType ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value Ifc4x3_tc1::IfcElectricDistributionBoardType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcElectricDistributionBoardType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricDistributionBoardType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[373]); } -void Ifc4x3_tc1::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricDistributionBoardType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[373]); } +void Ifc4x3_tc1::IfcElectricDistributionBoardType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowStorageDevice std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value > Ifc4x3_tc1::IfcElectricFlowStorageDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcElectricFlowStorageDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[375]); } -void Ifc4x3_tc1::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[375]); } +void Ifc4x3_tc1::IfcElectricFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowStorageDeviceType ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[376]); } -void Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[376]); } +void Ifc4x3_tc1::IfcElectricFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricFlowTreatmentDevice std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[378]); } -void Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[378]); } +void Ifc4x3_tc1::IfcElectricFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricFlowTreatmentDeviceType ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[379]); } -void Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[379]); } +void Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricGenerator std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value > Ifc4x3_tc1::IfcElectricGenerator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcElectricGenerator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricGenerator::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[381]); } -void Ifc4x3_tc1::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[381]); } +void Ifc4x3_tc1::IfcElectricGenerator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricGeneratorType ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value Ifc4x3_tc1::IfcElectricGeneratorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcElectricGeneratorType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricGeneratorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[382]); } -void Ifc4x3_tc1::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricGeneratorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[382]); } +void Ifc4x3_tc1::IfcElectricGeneratorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricMotor std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value > Ifc4x3_tc1::IfcElectricMotor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcElectricMotor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricMotor::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[384]); } -void Ifc4x3_tc1::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricMotor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[384]); } +void Ifc4x3_tc1::IfcElectricMotor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricMotorType ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value Ifc4x3_tc1::IfcElectricMotorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcElectricMotorType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricMotorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[385]); } -void Ifc4x3_tc1::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricMotorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[385]); } +void Ifc4x3_tc1::IfcElectricMotorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElectricTimeControl std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value > Ifc4x3_tc1::IfcElectricTimeControl::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcElectricTimeControl::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricTimeControl::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[388]); } -void Ifc4x3_tc1::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricTimeControl::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[388]); } +void Ifc4x3_tc1::IfcElectricTimeControl::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcElectricTimeControlType ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value Ifc4x3_tc1::IfcElectricTimeControlType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcElectricTimeControlType::setPredefinedType(const ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcElectricTimeControlType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[389]); } -void Ifc4x3_tc1::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElectricTimeControlType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[389]); } +void Ifc4x3_tc1::IfcElectricTimeControlType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElement std::optional< std::string > Ifc4x3_tc1::IfcElement::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcElement::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_tc1::IfcRelFillsElement> Ifc4x3_tc1::IfcElement::FillsVoids() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[934], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelConnectsElements> Ifc4x3_tc1::IfcElement::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[916], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[936], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[936], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelProjectsElement> Ifc4x3_tc1::IfcElement::HasProjections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[939], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelVoidsElement> Ifc4x3_tc1::IfcElement::HasOpenings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[946], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelConnectsWithRealizingElements> Ifc4x3_tc1::IfcElement::IsConnectionRealization() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[923], 7)); } -std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary> Ifc4x3_tc1::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[943], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelConnectsElements> Ifc4x3_tc1::IfcElement::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[916], 6)); } -std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[924], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelCoversBldgElements> Ifc4x3_tc1::IfcElement::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[925], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelAdheresToElement> Ifc4x3_tc1::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[896], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelFillsElement> Ifc4x3_tc1::IfcElement::FillsVoids() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[934], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsElements> Ifc4x3_tc1::IfcElement::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[916], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[936], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[936], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelProjectsElement> Ifc4x3_tc1::IfcElement::HasProjections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[939], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelVoidsElement> Ifc4x3_tc1::IfcElement::HasOpenings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[946], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsWithRealizingElements> Ifc4x3_tc1::IfcElement::IsConnectionRealization() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[923], 7)); } +std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary> Ifc4x3_tc1::IfcElement::ProvidesBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[943], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsElements> Ifc4x3_tc1::IfcElement::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[916], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[924], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelCoversBldgElements> Ifc4x3_tc1::IfcElement::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[925], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelAdheresToElement> Ifc4x3_tc1::IfcElement::HasSurfaceFeatures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[896], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[392]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[392]); } void Ifc4x3_tc1::IfcElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementAssembly std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value > Ifc4x3_tc1::IfcElementAssembly::AssemblyPlace() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcElementAssembly::setAssemblyPlace(const std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value > Ifc4x3_tc1::IfcElementAssembly::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcElementAssembly::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcElementAssembly::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[394]); } -void Ifc4x3_tc1::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElementAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[394]); } +void Ifc4x3_tc1::IfcElementAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_AssemblyPlace) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(),(size_t)*v9_AssemblyPlace))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcElementAssemblyType ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value Ifc4x3_tc1::IfcElementAssemblyType::PredefinedType() const { return ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcElementAssemblyType::setPredefinedType(const ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcElementAssemblyType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[395]); } -void Ifc4x3_tc1::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElementAssemblyType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[395]); } +void Ifc4x3_tc1::IfcElementAssemblyType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcElementComponent -const IfcParse::entity& Ifc4x3_tc1::IfcElementComponent::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[397]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElementComponent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[397]); } void Ifc4x3_tc1::IfcElementComponent::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcElementComponentType -const IfcParse::entity& Ifc4x3_tc1::IfcElementComponentType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[398]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElementComponentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[398]); } void Ifc4x3_tc1::IfcElementComponentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementQuantity @@ -10391,7 +10391,7 @@ std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > Ifc4x3_tc1::IfcElementQuantity: void Ifc4x3_tc1::IfcElementQuantity::setQuantities(const std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcElementQuantity::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[400]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElementQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[400]); } void Ifc4x3_tc1::IfcElementQuantity::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > v6_Quantities) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_Quantities)); } // Function implementations for IfcElementType @@ -10399,7 +10399,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcElementType::ElementType() const { i void Ifc4x3_tc1::IfcElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[401]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[401]); } void Ifc4x3_tc1::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcElementarySurface @@ -10407,7 +10407,7 @@ void Ifc4x3_tc1::IfcElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc void Ifc4x3_tc1::IfcElementarySurface::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcElementarySurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[393]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcElementarySurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[393]); } void Ifc4x3_tc1::IfcElementarySurface::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcEllipse @@ -10417,7 +10417,7 @@ double Ifc4x3_tc1::IfcEllipse::SemiAxis2() const { double v = get_attribute_val void Ifc4x3_tc1::IfcEllipse::setSemiAxis2(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcEllipse::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[402]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEllipse::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[402]); } void Ifc4x3_tc1::IfcEllipse::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SemiAxis1));set_attribute_value(2, (v3_SemiAxis2)); } // Function implementations for IfcEllipseProfileDef @@ -10427,82 +10427,82 @@ double Ifc4x3_tc1::IfcEllipseProfileDef::SemiAxis2() const { double v = get_att void Ifc4x3_tc1::IfcEllipseProfileDef::setSemiAxis2(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcEllipseProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[403]); } -void Ifc4x3_tc1::IfcEllipseProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEllipseProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[403]); } +void Ifc4x3_tc1::IfcEllipseProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_SemiAxis1));set_attribute_value(4, (v5_SemiAxis2)); } // Function implementations for IfcEnergyConversionDevice -const IfcParse::entity& Ifc4x3_tc1::IfcEnergyConversionDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[404]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEnergyConversionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[404]); } void Ifc4x3_tc1::IfcEnergyConversionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcEnergyConversionDeviceType -const IfcParse::entity& Ifc4x3_tc1::IfcEnergyConversionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[405]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEnergyConversionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[405]); } void Ifc4x3_tc1::IfcEnergyConversionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcEngine std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value > Ifc4x3_tc1::IfcEngine::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEngineTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcEngine::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcEngine::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[407]); } -void Ifc4x3_tc1::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEngine::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[407]); } +void Ifc4x3_tc1::IfcEngine::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEngineType ::Ifc4x3_tc1::IfcEngineTypeEnum::Value Ifc4x3_tc1::IfcEngineType::PredefinedType() const { return ::Ifc4x3_tc1::IfcEngineTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcEngineType::setPredefinedType(const ::Ifc4x3_tc1::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcEngineType::setPredefinedType(const ::Ifc4x3_tc1::IfcEngineTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcEngineType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[408]); } -void Ifc4x3_tc1::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEngineType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[408]); } +void Ifc4x3_tc1::IfcEngineType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEngineTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcEngineTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporativeCooler std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value > Ifc4x3_tc1::IfcEvaporativeCooler::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcEvaporativeCooler::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcEvaporativeCooler::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[410]); } -void Ifc4x3_tc1::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEvaporativeCooler::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[410]); } +void Ifc4x3_tc1::IfcEvaporativeCooler::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporativeCoolerType ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value Ifc4x3_tc1::IfcEvaporativeCoolerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcEvaporativeCoolerType::setPredefinedType(const ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcEvaporativeCoolerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[411]); } -void Ifc4x3_tc1::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEvaporativeCoolerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[411]); } +void Ifc4x3_tc1::IfcEvaporativeCoolerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvaporator std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value > Ifc4x3_tc1::IfcEvaporator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcEvaporator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcEvaporator::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[413]); } -void Ifc4x3_tc1::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEvaporator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[413]); } +void Ifc4x3_tc1::IfcEvaporator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcEvaporatorType ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value Ifc4x3_tc1::IfcEvaporatorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcEvaporatorType::setPredefinedType(const ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcEvaporatorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[414]); } -void Ifc4x3_tc1::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEvaporatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[414]); } +void Ifc4x3_tc1::IfcEvaporatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcEvent std::optional< ::Ifc4x3_tc1::IfcEventTypeEnum::Value > Ifc4x3_tc1::IfcEvent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEventTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_tc1::IfcEvent::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEventTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value > Ifc4x3_tc1::IfcEvent::EventTriggerType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcEvent::setEventTriggerType(const std::optional< ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_tc1::IfcEvent::UserDefinedEventTriggerType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcEvent::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } ::Ifc4x3_tc1::IfcEventTime Ifc4x3_tc1::IfcEvent::EventOccurenceTime() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_tc1::IfcEventTime{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_tc1::IfcEventTime>(); } void Ifc4x3_tc1::IfcEvent::setEventOccurenceTime(const ::Ifc4x3_tc1::IfcEventTime& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_tc1::IfcEvent::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[416]); } -void Ifc4x3_tc1::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_tc1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_tc1::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEvent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[416]); } +void Ifc4x3_tc1::IfcEvent::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_tc1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_tc1::IfcEventTime v11_EventOccurenceTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(),(size_t)*v8_PredefinedType))); } if (v9_EventTriggerType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(),(size_t)*v9_EventTriggerType))); } if (v10_UserDefinedEventTriggerType) {set_attribute_value(9, (*v10_UserDefinedEventTriggerType)); }set_attribute_value(10, (v11_EventOccurenceTime)); } // Function implementations for IfcEventTime std::optional< std::string > Ifc4x3_tc1::IfcEventTime::ActualDate() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::string v = get_attribute_value(3); return v; } @@ -10515,20 +10515,20 @@ std::optional< std::string > Ifc4x3_tc1::IfcEventTime::ScheduleDate() const { if void Ifc4x3_tc1::IfcEventTime::setScheduleDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcEventTime::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[417]); } -void Ifc4x3_tc1::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEventTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[417]); } +void Ifc4x3_tc1::IfcEventTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcEventType ::Ifc4x3_tc1::IfcEventTypeEnum::Value Ifc4x3_tc1::IfcEventType::PredefinedType() const { return ::Ifc4x3_tc1::IfcEventTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcEventType::setPredefinedType(const ::Ifc4x3_tc1::IfcEventTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcEventType::setPredefinedType(const ::Ifc4x3_tc1::IfcEventTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value Ifc4x3_tc1::IfcEventType::EventTriggerType() const { return ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcEventType::setEventTriggerType(const ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_tc1::IfcEventType::setEventTriggerType(const ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< std::string > Ifc4x3_tc1::IfcEventType::UserDefinedEventTriggerType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } std::string v = get_attribute_value(11); return v; } void Ifc4x3_tc1::IfcEventType::setUserDefinedEventTriggerType(const std::optional< std::string >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_tc1::IfcEventType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[419]); } -void Ifc4x3_tc1::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_tc1::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcEventType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[419]); } +void Ifc4x3_tc1::IfcEventType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_tc1::IfcEventTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Class(),(size_t)v11_EventTriggerType))); if (v12_UserDefinedEventTriggerType) {set_attribute_value(11, (*v12_UserDefinedEventTriggerType)); } } // Function implementations for IfcExtendedProperties std::optional< std::string > Ifc4x3_tc1::IfcExtendedProperties::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -10539,13 +10539,13 @@ std::vector< ::Ifc4x3_tc1::IfcProperty > Ifc4x3_tc1::IfcExtendedProperties::Prop void Ifc4x3_tc1::IfcExtendedProperties::setProperties(const std::vector< ::Ifc4x3_tc1::IfcProperty >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcExtendedProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[421]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExtendedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[421]); } void Ifc4x3_tc1::IfcExtendedProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v3_Properties) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties)); } // Function implementations for IfcExternalInformation -const IfcParse::entity& Ifc4x3_tc1::IfcExternalInformation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[422]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[422]); } void Ifc4x3_tc1::IfcExternalInformation::initialize() { } // Function implementations for IfcExternalReference @@ -10556,9 +10556,9 @@ void Ifc4x3_tc1::IfcExternalReference::setIdentification(const std::optional< st std::optional< std::string > Ifc4x3_tc1::IfcExternalReference::Name() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcExternalReference::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 2)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcExternalReference::ExternalReferenceForResources() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcExternalReference::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[426]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[426]); } void Ifc4x3_tc1::IfcExternalReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternalReferenceRelationship @@ -10568,40 +10568,40 @@ std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > Ifc4x3_tc1::IfcExternalRefe void Ifc4x3_tc1::IfcExternalReferenceRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcExternalReferenceRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[427]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalReferenceRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[427]); } void Ifc4x3_tc1::IfcExternalReferenceRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingReference));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcExternalSpatialElement std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value > Ifc4x3_tc1::IfcExternalSpatialElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcExternalSpatialElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary> Ifc4x3_tc1::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[943], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary> Ifc4x3_tc1::IfcExternalSpatialElement::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[943], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcExternalSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[428]); } -void Ifc4x3_tc1::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[428]); } +void Ifc4x3_tc1::IfcExternalSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcExternalSpatialStructureElement -const IfcParse::entity& Ifc4x3_tc1::IfcExternalSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[430]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExternalSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[430]); } void Ifc4x3_tc1::IfcExternalSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcExternallyDefinedHatchStyle -const IfcParse::entity& Ifc4x3_tc1::IfcExternallyDefinedHatchStyle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[423]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExternallyDefinedHatchStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[423]); } void Ifc4x3_tc1::IfcExternallyDefinedHatchStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedSurfaceStyle -const IfcParse::entity& Ifc4x3_tc1::IfcExternallyDefinedSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[424]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExternallyDefinedSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[424]); } void Ifc4x3_tc1::IfcExternallyDefinedSurfaceStyle::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExternallyDefinedTextFont -const IfcParse::entity& Ifc4x3_tc1::IfcExternallyDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[425]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExternallyDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[425]); } void Ifc4x3_tc1::IfcExternallyDefinedTextFont::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name) { 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)); } } // Function implementations for IfcExtrudedAreaSolid @@ -10611,7 +10611,7 @@ double Ifc4x3_tc1::IfcExtrudedAreaSolid::Depth() const { double v = get_attribu void Ifc4x3_tc1::IfcExtrudedAreaSolid::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcExtrudedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[431]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExtrudedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[431]); } void Ifc4x3_tc1::IfcExtrudedAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcExtrudedAreaSolidTapered @@ -10619,16 +10619,16 @@ void Ifc4x3_tc1::IfcExtrudedAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1 void Ifc4x3_tc1::IfcExtrudedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcExtrudedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[432]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcExtrudedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[432]); } void Ifc4x3_tc1::IfcExtrudedAreaSolidTapered::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_tc1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcFace std::vector< ::Ifc4x3_tc1::IfcFaceBound > Ifc4x3_tc1::IfcFace::Bounds() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcFaceBound>(es); } void Ifc4x3_tc1::IfcFace::setBounds(const std::vector< ::Ifc4x3_tc1::IfcFaceBound >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_tc1::IfcTextureMap> Ifc4x3_tc1::IfcFace::HasTextureMaps() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1193], 2)); } +std::vector<::Ifc4x3_tc1::IfcTextureMap> Ifc4x3_tc1::IfcFace::HasTextureMaps() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1193], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcFace::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[433]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[433]); } void Ifc4x3_tc1::IfcFace::initialize(std::vector< ::Ifc4x3_tc1::IfcFaceBound > v1_Bounds) { set_attribute_value(0, cast_vector(v1_Bounds)); } // Function implementations for IfcFaceBasedSurfaceModel @@ -10636,7 +10636,7 @@ std::vector< ::Ifc4x3_tc1::IfcConnectedFaceSet > Ifc4x3_tc1::IfcFaceBasedSurface void Ifc4x3_tc1::IfcFaceBasedSurfaceModel::setFbsmFaces(const std::vector< ::Ifc4x3_tc1::IfcConnectedFaceSet >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcFaceBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[434]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFaceBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[434]); } void Ifc4x3_tc1::IfcFaceBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_tc1::IfcConnectedFaceSet > v1_FbsmFaces) { set_attribute_value(0, cast_vector(v1_FbsmFaces)); } // Function implementations for IfcFaceBound @@ -10646,13 +10646,13 @@ bool Ifc4x3_tc1::IfcFaceBound::Orientation() const { bool v = get_attribute_val void Ifc4x3_tc1::IfcFaceBound::setOrientation(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcFaceBound::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[435]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFaceBound::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[435]); } void Ifc4x3_tc1::IfcFaceBound::initialize(::Ifc4x3_tc1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceOuterBound -const IfcParse::entity& Ifc4x3_tc1::IfcFaceOuterBound::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[436]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFaceOuterBound::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[436]); } void Ifc4x3_tc1::IfcFaceOuterBound::initialize(::Ifc4x3_tc1::IfcLoop v1_Bound, bool v2_Orientation) { set_attribute_value(0, (v1_Bound));set_attribute_value(1, (v2_Orientation)); } // Function implementations for IfcFaceSurface @@ -10662,13 +10662,13 @@ bool Ifc4x3_tc1::IfcFaceSurface::SameSense() const { bool v = get_attribute_val void Ifc4x3_tc1::IfcFaceSurface::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcFaceSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[437]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFaceSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[437]); } void Ifc4x3_tc1::IfcFaceSurface::initialize(std::vector< ::Ifc4x3_tc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_tc1::IfcSurface v2_FaceSurface, bool v3_SameSense) { set_attribute_value(0, cast_vector(v1_Bounds));set_attribute_value(1, (v2_FaceSurface));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcFacetedBrep -const IfcParse::entity& Ifc4x3_tc1::IfcFacetedBrep::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[438]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFacetedBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[438]); } void Ifc4x3_tc1::IfcFacetedBrep::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcFacetedBrepWithVoids @@ -10676,30 +10676,30 @@ std::vector< ::Ifc4x3_tc1::IfcClosedShell > Ifc4x3_tc1::IfcFacetedBrepWithVoids: void Ifc4x3_tc1::IfcFacetedBrepWithVoids::setVoids(const std::vector< ::Ifc4x3_tc1::IfcClosedShell >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcFacetedBrepWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[439]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFacetedBrepWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[439]); } void Ifc4x3_tc1::IfcFacetedBrepWithVoids::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_tc1::IfcClosedShell > v2_Voids) { set_attribute_value(0, (v1_Outer));set_attribute_value(1, cast_vector(v2_Voids)); } // Function implementations for IfcFacility -const IfcParse::entity& Ifc4x3_tc1::IfcFacility::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[440]); } -void Ifc4x3_tc1::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[440]); } +void Ifc4x3_tc1::IfcFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcFacilityPart ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value Ifc4x3_tc1::IfcFacilityPart::UsageType() const { return ::Ifc4x3_tc1::IfcFacilityUsageEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcFacilityPart::setUsageType(const ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcFacilityPart::setUsageType(const ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcFacilityPart::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[441]); } -void Ifc4x3_tc1::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFacilityPart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[441]); } +void Ifc4x3_tc1::IfcFacilityPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); } // Function implementations for IfcFacilityPartCommon std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value > Ifc4x3_tc1::IfcFacilityPartCommon::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcFacilityPartCommon::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcFacilityPartCommon::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFacilityPartCommon::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[442]); } -void Ifc4x3_tc1::IfcFacilityPartCommon::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFacilityPartCommon::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[442]); } +void Ifc4x3_tc1::IfcFacilityPartCommon::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcFailureConnectionCondition std::optional< double > Ifc4x3_tc1::IfcFailureConnectionCondition::TensionFailureX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -10716,59 +10716,59 @@ std::optional< double > Ifc4x3_tc1::IfcFailureConnectionCondition::CompressionFa void Ifc4x3_tc1::IfcFailureConnectionCondition::setCompressionFailureZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFailureConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[445]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFailureConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[445]); } void Ifc4x3_tc1::IfcFailureConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ) { 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)); } } // Function implementations for IfcFan std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value > Ifc4x3_tc1::IfcFan::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFanTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcFan::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFan::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[446]); } -void Ifc4x3_tc1::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFan::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[446]); } +void Ifc4x3_tc1::IfcFan::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFanType ::Ifc4x3_tc1::IfcFanTypeEnum::Value Ifc4x3_tc1::IfcFanType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFanTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcFanType::setPredefinedType(const ::Ifc4x3_tc1::IfcFanTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcFanType::setPredefinedType(const ::Ifc4x3_tc1::IfcFanTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcFanType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[447]); } -void Ifc4x3_tc1::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFanType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[447]); } +void Ifc4x3_tc1::IfcFanType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFanTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFanTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFastener std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value > Ifc4x3_tc1::IfcFastener::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFastenerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcFastener::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFastener::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[449]); } -void Ifc4x3_tc1::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[449]); } +void Ifc4x3_tc1::IfcFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFastenerType ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value Ifc4x3_tc1::IfcFastenerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcFastenerType::setPredefinedType(const ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcFastenerType::setPredefinedType(const ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[450]); } -void Ifc4x3_tc1::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[450]); } +void Ifc4x3_tc1::IfcFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFeatureElement -const IfcParse::entity& Ifc4x3_tc1::IfcFeatureElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[452]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFeatureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[452]); } void Ifc4x3_tc1::IfcFeatureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementAddition -std::vector<::Ifc4x3_tc1::IfcRelProjectsElement> Ifc4x3_tc1::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[939], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelProjectsElement> Ifc4x3_tc1::IfcFeatureElementAddition::ProjectsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[939], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcFeatureElementAddition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[453]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFeatureElementAddition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[453]); } void Ifc4x3_tc1::IfcFeatureElementAddition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFeatureElementSubtraction -std::vector<::Ifc4x3_tc1::IfcRelVoidsElement> Ifc4x3_tc1::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[946], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelVoidsElement> Ifc4x3_tc1::IfcFeatureElementSubtraction::VoidsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[946], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcFeatureElementSubtraction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[454]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFeatureElementSubtraction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[454]); } void Ifc4x3_tc1::IfcFeatureElementSubtraction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFillAreaStyle @@ -10778,7 +10778,7 @@ std::optional< bool > Ifc4x3_tc1::IfcFillAreaStyle::ModelOrDraughting() const { void Ifc4x3_tc1::IfcFillAreaStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFillAreaStyle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[455]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFillAreaStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[455]); } void Ifc4x3_tc1::IfcFillAreaStyle::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_tc1::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_FillStyles)); if (v3_ModelOrDraughting) {set_attribute_value(2, (*v3_ModelOrDraughting)); } } // Function implementations for IfcFillAreaStyleHatching @@ -10794,7 +10794,7 @@ double Ifc4x3_tc1::IfcFillAreaStyleHatching::HatchLineAngle() const { double v void Ifc4x3_tc1::IfcFillAreaStyleHatching::setHatchLineAngle(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcFillAreaStyleHatching::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[456]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFillAreaStyleHatching::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[456]); } void Ifc4x3_tc1::IfcFillAreaStyleHatching::initialize(::Ifc4x3_tc1::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_tc1::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_tc1::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_tc1::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle) { set_attribute_value(0, (v1_HatchLineAppearance));set_attribute_value(1, (v2_StartOfNextHatchLine));set_attribute_value(2, (v3_PointOfReferenceHatchLine));set_attribute_value(3, (v4_PatternStart));set_attribute_value(4, (v5_HatchLineAngle)); } // Function implementations for IfcFillAreaStyleTiles @@ -10806,231 +10806,231 @@ double Ifc4x3_tc1::IfcFillAreaStyleTiles::TilingScale() const { double v = get_ void Ifc4x3_tc1::IfcFillAreaStyleTiles::setTilingScale(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcFillAreaStyleTiles::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[457]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFillAreaStyleTiles::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[457]); } void Ifc4x3_tc1::IfcFillAreaStyleTiles::initialize(std::vector< ::Ifc4x3_tc1::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_tc1::IfcStyledItem > v2_Tiles, double v3_TilingScale) { set_attribute_value(0, cast_vector(v1_TilingPattern));set_attribute_value(1, cast_vector(v2_Tiles));set_attribute_value(2, (v3_TilingScale)); } // Function implementations for IfcFilter std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value > Ifc4x3_tc1::IfcFilter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFilterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcFilter::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFilter::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[459]); } -void Ifc4x3_tc1::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFilter::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[459]); } +void Ifc4x3_tc1::IfcFilter::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFilterType ::Ifc4x3_tc1::IfcFilterTypeEnum::Value Ifc4x3_tc1::IfcFilterType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFilterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcFilterType::setPredefinedType(const ::Ifc4x3_tc1::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcFilterType::setPredefinedType(const ::Ifc4x3_tc1::IfcFilterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcFilterType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[460]); } -void Ifc4x3_tc1::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFilterType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[460]); } +void Ifc4x3_tc1::IfcFilterType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFilterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFilterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFireSuppressionTerminal std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value > Ifc4x3_tc1::IfcFireSuppressionTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcFireSuppressionTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFireSuppressionTerminal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[462]); } -void Ifc4x3_tc1::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFireSuppressionTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[462]); } +void Ifc4x3_tc1::IfcFireSuppressionTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFireSuppressionTerminalType ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value Ifc4x3_tc1::IfcFireSuppressionTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcFireSuppressionTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcFireSuppressionTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[463]); } -void Ifc4x3_tc1::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFireSuppressionTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[463]); } +void Ifc4x3_tc1::IfcFireSuppressionTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFixedReferenceSweptAreaSolid ::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid::FixedReference() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcDirection>(); } void Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid::setFixedReference(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[465]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[465]); } void Ifc4x3_tc1::IfcFixedReferenceSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_tc1::IfcDirection v6_FixedReference) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_FixedReference)); } // Function implementations for IfcFlowController -const IfcParse::entity& Ifc4x3_tc1::IfcFlowController::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[466]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowController::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[466]); } void Ifc4x3_tc1::IfcFlowController::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowControllerType -const IfcParse::entity& Ifc4x3_tc1::IfcFlowControllerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[467]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowControllerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[467]); } void Ifc4x3_tc1::IfcFlowControllerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowFitting -const IfcParse::entity& Ifc4x3_tc1::IfcFlowFitting::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[469]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[469]); } void Ifc4x3_tc1::IfcFlowFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowFittingType -const IfcParse::entity& Ifc4x3_tc1::IfcFlowFittingType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[470]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[470]); } void Ifc4x3_tc1::IfcFlowFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowInstrument std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value > Ifc4x3_tc1::IfcFlowInstrument::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcFlowInstrument::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFlowInstrument::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[471]); } -void Ifc4x3_tc1::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowInstrument::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[471]); } +void Ifc4x3_tc1::IfcFlowInstrument::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowInstrumentType ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value Ifc4x3_tc1::IfcFlowInstrumentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcFlowInstrumentType::setPredefinedType(const ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcFlowInstrumentType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[472]); } -void Ifc4x3_tc1::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowInstrumentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[472]); } +void Ifc4x3_tc1::IfcFlowInstrumentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMeter std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value > Ifc4x3_tc1::IfcFlowMeter::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcFlowMeter::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFlowMeter::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[474]); } -void Ifc4x3_tc1::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowMeter::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[474]); } +void Ifc4x3_tc1::IfcFlowMeter::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFlowMeterType ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value Ifc4x3_tc1::IfcFlowMeterType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcFlowMeterType::setPredefinedType(const ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcFlowMeterType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[475]); } -void Ifc4x3_tc1::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowMeterType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[475]); } +void Ifc4x3_tc1::IfcFlowMeterType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFlowMovingDevice -const IfcParse::entity& Ifc4x3_tc1::IfcFlowMovingDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[477]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowMovingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[477]); } void Ifc4x3_tc1::IfcFlowMovingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowMovingDeviceType -const IfcParse::entity& Ifc4x3_tc1::IfcFlowMovingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[478]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowMovingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[478]); } void Ifc4x3_tc1::IfcFlowMovingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowSegment -const IfcParse::entity& Ifc4x3_tc1::IfcFlowSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[479]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[479]); } void Ifc4x3_tc1::IfcFlowSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowSegmentType -const IfcParse::entity& Ifc4x3_tc1::IfcFlowSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[480]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[480]); } void Ifc4x3_tc1::IfcFlowSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowStorageDevice -const IfcParse::entity& Ifc4x3_tc1::IfcFlowStorageDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[481]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowStorageDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[481]); } void Ifc4x3_tc1::IfcFlowStorageDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowStorageDeviceType -const IfcParse::entity& Ifc4x3_tc1::IfcFlowStorageDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[482]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowStorageDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[482]); } void Ifc4x3_tc1::IfcFlowStorageDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTerminal -const IfcParse::entity& Ifc4x3_tc1::IfcFlowTerminal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[483]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[483]); } void Ifc4x3_tc1::IfcFlowTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTerminalType -const IfcParse::entity& Ifc4x3_tc1::IfcFlowTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[484]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[484]); } void Ifc4x3_tc1::IfcFlowTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFlowTreatmentDevice -const IfcParse::entity& Ifc4x3_tc1::IfcFlowTreatmentDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[485]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowTreatmentDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[485]); } void Ifc4x3_tc1::IfcFlowTreatmentDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFlowTreatmentDeviceType -const IfcParse::entity& Ifc4x3_tc1::IfcFlowTreatmentDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[486]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFlowTreatmentDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[486]); } void Ifc4x3_tc1::IfcFlowTreatmentDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFooting std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value > Ifc4x3_tc1::IfcFooting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFootingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcFooting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFooting::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[490]); } -void Ifc4x3_tc1::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFooting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[490]); } +void Ifc4x3_tc1::IfcFooting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFootingType ::Ifc4x3_tc1::IfcFootingTypeEnum::Value Ifc4x3_tc1::IfcFootingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcFootingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcFootingType::setPredefinedType(const ::Ifc4x3_tc1::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcFootingType::setPredefinedType(const ::Ifc4x3_tc1::IfcFootingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcFootingType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[491]); } -void Ifc4x3_tc1::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFootingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[491]); } +void Ifc4x3_tc1::IfcFootingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFootingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFootingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcFurnishingElement -const IfcParse::entity& Ifc4x3_tc1::IfcFurnishingElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[495]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFurnishingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[495]); } void Ifc4x3_tc1::IfcFurnishingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcFurnishingElementType -const IfcParse::entity& Ifc4x3_tc1::IfcFurnishingElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[496]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFurnishingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[496]); } void Ifc4x3_tc1::IfcFurnishingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcFurniture std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > Ifc4x3_tc1::IfcFurniture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFurnitureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcFurniture::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFurniture::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[497]); } -void Ifc4x3_tc1::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFurniture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[497]); } +void Ifc4x3_tc1::IfcFurniture::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcFurnitureType ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value Ifc4x3_tc1::IfcFurnitureType::AssemblyPlace() const { return ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcFurnitureType::setAssemblyPlace(const ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > Ifc4x3_tc1::IfcFurnitureType::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcFurnitureTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcFurnitureType::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcFurnitureType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[498]); } -void Ifc4x3_tc1::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcFurnitureType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[498]); } +void Ifc4x3_tc1::IfcFurnitureType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Class(),(size_t)v10_AssemblyPlace))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcFurnitureTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGeographicElement std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value > Ifc4x3_tc1::IfcGeographicElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcGeographicElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcGeographicElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[500]); } -void Ifc4x3_tc1::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeographicElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[500]); } +void Ifc4x3_tc1::IfcGeographicElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGeographicElementType ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value Ifc4x3_tc1::IfcGeographicElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcGeographicElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcGeographicElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[501]); } -void Ifc4x3_tc1::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeographicElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[501]); } +void Ifc4x3_tc1::IfcGeographicElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcGeometricCurveSet -const IfcParse::entity& Ifc4x3_tc1::IfcGeometricCurveSet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[503]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricCurveSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[503]); } void Ifc4x3_tc1::IfcGeometricCurveSet::initialize(std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeometricRepresentationContext @@ -11043,16 +11043,16 @@ void Ifc4x3_tc1::IfcGeometricRepresentationContext::setWorldCoordinateSystem(con ::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcGeometricRepresentationContext::TrueNorth() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcDirection{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcDirection>(); } void Ifc4x3_tc1::IfcGeometricRepresentationContext::setTrueNorth(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_tc1::IfcGeometricRepresentationSubContext> Ifc4x3_tc1::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[507], 6)); } -std::vector<::Ifc4x3_tc1::IfcCoordinateOperation> Ifc4x3_tc1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[243], 0)); } +std::vector<::Ifc4x3_tc1::IfcGeometricRepresentationSubContext> Ifc4x3_tc1::IfcGeometricRepresentationContext::HasSubContexts() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[507], 6)); } +std::vector<::Ifc4x3_tc1::IfcCoordinateOperation> Ifc4x3_tc1::IfcGeometricRepresentationContext::HasCoordinateOperation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[243], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcGeometricRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[505]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[505]); } void Ifc4x3_tc1::IfcGeometricRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_tc1::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_tc1::IfcDirection v6_TrueNorth) { 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));set_attribute_value(5, (v6_TrueNorth)); } // Function implementations for IfcGeometricRepresentationItem -const IfcParse::entity& Ifc4x3_tc1::IfcGeometricRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[506]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[506]); } void Ifc4x3_tc1::IfcGeometricRepresentationItem::initialize() { } // Function implementations for IfcGeometricRepresentationSubContext @@ -11061,53 +11061,53 @@ void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::setParentContext(const :: std::optional< double > Ifc4x3_tc1::IfcGeometricRepresentationSubContext::TargetScale() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::setTargetScale(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } ::Ifc4x3_tc1::IfcGeometricProjectionEnum::Value Ifc4x3_tc1::IfcGeometricRepresentationSubContext::TargetView() const { return ::Ifc4x3_tc1::IfcGeometricProjectionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_tc1::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::setTargetView(const ::Ifc4x3_tc1::IfcGeometricProjectionEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcGeometricProjectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } std::optional< std::string > Ifc4x3_tc1::IfcGeometricRepresentationSubContext::UserDefinedTargetView() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::setUserDefinedTargetView(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcGeometricRepresentationSubContext::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[507]); } -void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_tc1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_tc1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricRepresentationSubContext::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[507]); } +void Ifc4x3_tc1::IfcGeometricRepresentationSubContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_tc1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_tc1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); }set_attribute_value(6, (v7_ParentContext)); if (v8_TargetScale) {set_attribute_value(7, (*v8_TargetScale)); }set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGeometricProjectionEnum::Class(),(size_t)v9_TargetView))); if (v10_UserDefinedTargetView) {set_attribute_value(9, (*v10_UserDefinedTargetView)); } } // Function implementations for IfcGeometricSet std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > Ifc4x3_tc1::IfcGeometricSet::Elements() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcGeometricSetSelect>(es); } void Ifc4x3_tc1::IfcGeometricSet::setElements(const std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcGeometricSet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[508]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeometricSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[508]); } void Ifc4x3_tc1::IfcGeometricSet::initialize(std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > v1_Elements) { set_attribute_value(0, cast_vector(v1_Elements)); } // Function implementations for IfcGeomodel -const IfcParse::entity& Ifc4x3_tc1::IfcGeomodel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[510]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeomodel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[510]); } void Ifc4x3_tc1::IfcGeomodel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeoslice -const IfcParse::entity& Ifc4x3_tc1::IfcGeoslice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[511]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeoslice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[511]); } void Ifc4x3_tc1::IfcGeoslice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalAssembly -const IfcParse::entity& Ifc4x3_tc1::IfcGeotechnicalAssembly::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[512]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeotechnicalAssembly::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[512]); } void Ifc4x3_tc1::IfcGeotechnicalAssembly::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalElement -const IfcParse::entity& Ifc4x3_tc1::IfcGeotechnicalElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[513]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeotechnicalElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[513]); } void Ifc4x3_tc1::IfcGeotechnicalElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcGeotechnicalStratum std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value > Ifc4x3_tc1::IfcGeotechnicalStratum::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcGeotechnicalStratum::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcGeotechnicalStratum::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcGeotechnicalStratum::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[514]); } -void Ifc4x3_tc1::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGeotechnicalStratum::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[514]); } +void Ifc4x3_tc1::IfcGeotechnicalStratum::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcGradientCurve ::Ifc4x3_tc1::IfcBoundedCurve Ifc4x3_tc1::IfcGradientCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcBoundedCurve>(); } @@ -11116,7 +11116,7 @@ void Ifc4x3_tc1::IfcGradientCurve::setBaseCurve(const ::Ifc4x3_tc1::IfcBoundedCu void Ifc4x3_tc1::IfcGradientCurve::setEndPoint(const ::Ifc4x3_tc1::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcGradientCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[518]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGradientCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[518]); } void Ifc4x3_tc1::IfcGradientCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_tc1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_tc1::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcGrid @@ -11127,11 +11127,11 @@ void Ifc4x3_tc1::IfcGrid::setVAxes(const std::vector< ::Ifc4x3_tc1::IfcGridAxis std::optional< std::vector< ::Ifc4x3_tc1::IfcGridAxis > > Ifc4x3_tc1::IfcGrid::WAxes() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(9); return cast_vector<::Ifc4x3_tc1::IfcGridAxis>(es); } void Ifc4x3_tc1::IfcGrid::setWAxes(const std::optional< std::vector< ::Ifc4x3_tc1::IfcGridAxis > >& v) { if (v) {set_attribute_value(9, cast_vector(*v));} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value > Ifc4x3_tc1::IfcGrid::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcGridTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcGrid::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcGridTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcGrid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[519]); } -void Ifc4x3_tc1::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_tc1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_tc1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_tc1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGrid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[519]); } +void Ifc4x3_tc1::IfcGrid::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_tc1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_tc1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_tc1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, cast_vector(v8_UAxes));set_attribute_value(8, cast_vector(v9_VAxes)); if (v10_WAxes) {set_attribute_value(9, cast_vector(*v10_WAxes)); } if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcGridTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcGridAxis std::optional< std::string > Ifc4x3_tc1::IfcGridAxis::AxisTag() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11141,12 +11141,12 @@ void Ifc4x3_tc1::IfcGridAxis::setAxisCurve(const ::Ifc4x3_tc1::IfcCurve& v) { se bool Ifc4x3_tc1::IfcGridAxis::SameSense() const { bool v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcGridAxis::setSameSense(const bool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -std::vector<::Ifc4x3_tc1::IfcGrid> Ifc4x3_tc1::IfcGridAxis::PartOfW() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[519], 9)); } -std::vector<::Ifc4x3_tc1::IfcGrid> Ifc4x3_tc1::IfcGridAxis::PartOfV() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[519], 8)); } -std::vector<::Ifc4x3_tc1::IfcGrid> Ifc4x3_tc1::IfcGridAxis::PartOfU() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[519], 7)); } -std::vector<::Ifc4x3_tc1::IfcVirtualGridIntersection> Ifc4x3_tc1::IfcGridAxis::HasIntersections() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1274], 0)); } +std::vector<::Ifc4x3_tc1::IfcGrid> Ifc4x3_tc1::IfcGridAxis::PartOfW() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[519], 9)); } +std::vector<::Ifc4x3_tc1::IfcGrid> Ifc4x3_tc1::IfcGridAxis::PartOfV() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[519], 8)); } +std::vector<::Ifc4x3_tc1::IfcGrid> Ifc4x3_tc1::IfcGridAxis::PartOfU() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[519], 7)); } +std::vector<::Ifc4x3_tc1::IfcVirtualGridIntersection> Ifc4x3_tc1::IfcGridAxis::HasIntersections() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1274], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcGridAxis::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[520]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGridAxis::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[520]); } void Ifc4x3_tc1::IfcGridAxis::initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_tc1::IfcCurve v2_AxisCurve, bool v3_SameSense) { if (v1_AxisTag) {set_attribute_value(0, (*v1_AxisTag)); }set_attribute_value(1, (v2_AxisCurve));set_attribute_value(2, (v3_SameSense)); } // Function implementations for IfcGridPlacement @@ -11156,15 +11156,15 @@ void Ifc4x3_tc1::IfcGridPlacement::setPlacementLocation(const ::Ifc4x3_tc1::IfcV void Ifc4x3_tc1::IfcGridPlacement::setPlacementRefDirection(const ::Ifc4x3_tc1::IfcGridPlacementDirectionSelect& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcGridPlacement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[521]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGridPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[521]); } void Ifc4x3_tc1::IfcGridPlacement::initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_tc1::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_tc1::IfcGridPlacementDirectionSelect v3_PlacementRefDirection) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_PlacementLocation));set_attribute_value(2, (v3_PlacementRefDirection)); } // Function implementations for IfcGroup -std::vector<::Ifc4x3_tc1::IfcRelAssignsToGroup> Ifc4x3_tc1::IfcGroup::IsGroupedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[901], 6)); } -std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcGroup::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[940], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelAssignsToGroup> Ifc4x3_tc1::IfcGroup::IsGroupedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[901], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcGroup::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[940], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcGroup::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[524]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[524]); } void Ifc4x3_tc1::IfcGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcHalfSpaceSolid @@ -11174,40 +11174,40 @@ bool Ifc4x3_tc1::IfcHalfSpaceSolid::AgreementFlag() const { bool v = get_attrib void Ifc4x3_tc1::IfcHalfSpaceSolid::setAgreementFlag(const bool& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcHalfSpaceSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[525]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcHalfSpaceSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[525]); } void Ifc4x3_tc1::IfcHalfSpaceSolid::initialize(::Ifc4x3_tc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag)); } // Function implementations for IfcHeatExchanger std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value > Ifc4x3_tc1::IfcHeatExchanger::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcHeatExchanger::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcHeatExchanger::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[527]); } -void Ifc4x3_tc1::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcHeatExchanger::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[527]); } +void Ifc4x3_tc1::IfcHeatExchanger::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHeatExchangerType ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value Ifc4x3_tc1::IfcHeatExchangerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcHeatExchangerType::setPredefinedType(const ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcHeatExchangerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[528]); } -void Ifc4x3_tc1::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcHeatExchangerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[528]); } +void Ifc4x3_tc1::IfcHeatExchangerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcHumidifier std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value > Ifc4x3_tc1::IfcHumidifier::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcHumidifierTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcHumidifier::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcHumidifier::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[532]); } -void Ifc4x3_tc1::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcHumidifier::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[532]); } +void Ifc4x3_tc1::IfcHumidifier::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcHumidifierType ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value Ifc4x3_tc1::IfcHumidifierType::PredefinedType() const { return ::Ifc4x3_tc1::IfcHumidifierTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcHumidifierType::setPredefinedType(const ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcHumidifierType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[533]); } -void Ifc4x3_tc1::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcHumidifierType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[533]); } +void Ifc4x3_tc1::IfcHumidifierType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcHumidifierTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIShapeProfileDef double Ifc4x3_tc1::IfcIShapeProfileDef::OverallWidth() const { double v = get_attribute_value(3); return v; } @@ -11226,32 +11226,32 @@ std::optional< double > Ifc4x3_tc1::IfcIShapeProfileDef::FlangeSlope() const { i void Ifc4x3_tc1::IfcIShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcIShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[562]); } -void Ifc4x3_tc1::IfcIShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[562]); } +void Ifc4x3_tc1::IfcIShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcImageTexture std::string Ifc4x3_tc1::IfcImageTexture::URLReference() const { std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcImageTexture::setURLReference(const std::string& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcImageTexture::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[537]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcImageTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[537]); } void Ifc4x3_tc1::IfcImageTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); }set_attribute_value(5, (v6_URLReference)); } // Function implementations for IfcImpactProtectionDevice std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value > Ifc4x3_tc1::IfcImpactProtectionDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcImpactProtectionDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcImpactProtectionDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcImpactProtectionDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[538]); } -void Ifc4x3_tc1::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcImpactProtectionDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[538]); } +void Ifc4x3_tc1::IfcImpactProtectionDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcImpactProtectionDeviceType ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value Ifc4x3_tc1::IfcImpactProtectionDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcImpactProtectionDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcImpactProtectionDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[539]); } -void Ifc4x3_tc1::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcImpactProtectionDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[539]); } +void Ifc4x3_tc1::IfcImpactProtectionDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIndexedColourMap ::Ifc4x3_tc1::IfcTessellatedFaceSet Ifc4x3_tc1::IfcIndexedColourMap::MappedTo() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcTessellatedFaceSet>(); } @@ -11264,7 +11264,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_tc1::IfcIndexedColourMap::ColourIndex() cons void Ifc4x3_tc1::IfcIndexedColourMap::setColourIndex(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcIndexedColourMap::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[541]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedColourMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[541]); } void Ifc4x3_tc1::IfcIndexedColourMap::initialize(::Ifc4x3_tc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_tc1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex) { set_attribute_value(0, (v1_MappedTo)); if (v2_Opacity) {set_attribute_value(1, (*v2_Opacity)); }set_attribute_value(2, (v3_Colours));set_attribute_value(3, (v4_ColourIndex)); } // Function implementations for IfcIndexedPolyCurve @@ -11276,17 +11276,17 @@ std::optional< bool > Ifc4x3_tc1::IfcIndexedPolyCurve::SelfIntersect() const { i void Ifc4x3_tc1::IfcIndexedPolyCurve::setSelfIntersect(const std::optional< bool >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcIndexedPolyCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[542]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedPolyCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[542]); } void Ifc4x3_tc1::IfcIndexedPolyCurve::initialize(::Ifc4x3_tc1::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_tc1::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect) { set_attribute_value(0, (v1_Points)); if (v2_Segments) {set_attribute_value(1, cast_vector(*v2_Segments)); } if (v3_SelfIntersect) {set_attribute_value(2, (*v3_SelfIntersect)); } } // Function implementations for IfcIndexedPolygonalFace std::vector< int > /*[3:?]*/ Ifc4x3_tc1::IfcIndexedPolygonalFace::CoordIndex() const { std::vector< int > /*[3:?]*/ v = get_attribute_value(0); return v; } void Ifc4x3_tc1::IfcIndexedPolygonalFace::setCoordIndex(const std::vector< int > /*[3:?]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_tc1::IfcPolygonalFaceSet> Ifc4x3_tc1::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[768], 2)); } -std::vector<::Ifc4x3_tc1::IfcTextureCoordinateIndices> Ifc4x3_tc1::IfcIndexedPolygonalFace::HasTexCoords() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1191], 1)); } +std::vector<::Ifc4x3_tc1::IfcPolygonalFaceSet> Ifc4x3_tc1::IfcIndexedPolygonalFace::ToFaceSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[768], 2)); } +std::vector<::Ifc4x3_tc1::IfcTextureCoordinateIndices> Ifc4x3_tc1::IfcIndexedPolygonalFace::HasTexCoords() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1191], 1)); } -const IfcParse::entity& Ifc4x3_tc1::IfcIndexedPolygonalFace::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[543]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedPolygonalFace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[543]); } void Ifc4x3_tc1::IfcIndexedPolygonalFace::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex) { set_attribute_value(0, (v1_CoordIndex)); } // Function implementations for IfcIndexedPolygonalFaceWithVoids @@ -11294,7 +11294,7 @@ std::vector< std::vector< int > > Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids:: void Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::setInnerCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[544]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[544]); } void Ifc4x3_tc1::IfcIndexedPolygonalFaceWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices) { set_attribute_value(0, (v1_CoordIndex));set_attribute_value(1, (v2_InnerCoordIndices)); } // Function implementations for IfcIndexedPolygonalTextureMap @@ -11302,7 +11302,7 @@ std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices > Ifc4x3_tc1::IfcIndexedP void Ifc4x3_tc1::IfcIndexedPolygonalTextureMap::setTexCoordIndices(const std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcIndexedPolygonalTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[545]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedPolygonalTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[545]); } void Ifc4x3_tc1::IfcIndexedPolygonalTextureMap::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_tc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_tc1::IfcTextureVertexList v3_TexCoords, std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices > v4_TexCoordIndices) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords));set_attribute_value(3, cast_vector(v4_TexCoordIndices)); } // Function implementations for IfcIndexedTextureMap @@ -11312,7 +11312,7 @@ void Ifc4x3_tc1::IfcIndexedTextureMap::setMappedTo(const ::Ifc4x3_tc1::IfcTessel void Ifc4x3_tc1::IfcIndexedTextureMap::setTexCoords(const ::Ifc4x3_tc1::IfcTextureVertexList& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcIndexedTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[546]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[546]); } void Ifc4x3_tc1::IfcIndexedTextureMap::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_tc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_tc1::IfcTextureVertexList v3_TexCoords) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); } // Function implementations for IfcIndexedTriangleTextureMap @@ -11320,34 +11320,34 @@ std::optional< std::vector< std::vector< int > > > Ifc4x3_tc1::IfcIndexedTriangl void Ifc4x3_tc1::IfcIndexedTriangleTextureMap::setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcIndexedTriangleTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[547]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIndexedTriangleTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[547]); } void Ifc4x3_tc1::IfcIndexedTriangleTextureMap::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_tc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_tc1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_MappedTo));set_attribute_value(2, (v3_TexCoords)); if (v4_TexCoordIndex) {set_attribute_value(3, (*v4_TexCoordIndex)); } } // Function implementations for IfcInterceptor std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value > Ifc4x3_tc1::IfcInterceptor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcInterceptorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcInterceptor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcInterceptor::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[551]); } -void Ifc4x3_tc1::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcInterceptor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[551]); } +void Ifc4x3_tc1::IfcInterceptor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcInterceptorType ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value Ifc4x3_tc1::IfcInterceptorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcInterceptorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcInterceptorType::setPredefinedType(const ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcInterceptorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[552]); } -void Ifc4x3_tc1::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcInterceptorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[552]); } +void Ifc4x3_tc1::IfcInterceptorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcInterceptorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcIntersectionCurve -const IfcParse::entity& Ifc4x3_tc1::IfcIntersectionCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[556]); } -void Ifc4x3_tc1::IfcIntersectionCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIntersectionCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[556]); } +void Ifc4x3_tc1::IfcIntersectionCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcInventory std::optional< ::Ifc4x3_tc1::IfcInventoryTypeEnum::Value > Ifc4x3_tc1::IfcInventory::PredefinedType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcInventoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } +void Ifc4x3_tc1::IfcInventory::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcInventoryTypeEnum::Value >& v) { if (v) {set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcInventoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(5);} } ::Ifc4x3_tc1::IfcActorSelect Ifc4x3_tc1::IfcInventory::Jurisdiction() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcActorSelect{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcActorSelect>(); } void Ifc4x3_tc1::IfcInventory::setJurisdiction(const ::Ifc4x3_tc1::IfcActorSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > Ifc4x3_tc1::IfcInventory::ResponsiblePersons() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcPerson>(es); } @@ -11360,16 +11360,16 @@ void Ifc4x3_tc1::IfcInventory::setCurrentValue(const ::Ifc4x3_tc1::IfcCostValue& void Ifc4x3_tc1::IfcInventory::setOriginalValue(const ::Ifc4x3_tc1::IfcCostValue& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_tc1::IfcInventory::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[557]); } -void Ifc4x3_tc1::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_tc1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_tc1::IfcCostValue v10_CurrentValue, ::Ifc4x3_tc1::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcInventory::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[557]); } +void Ifc4x3_tc1::IfcInventory::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_tc1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_tc1::IfcCostValue v10_CurrentValue, ::Ifc4x3_tc1::IfcCostValue v11_OriginalValue) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcInventoryTypeEnum::Class(),(size_t)*v6_PredefinedType))); }set_attribute_value(6, (v7_Jurisdiction)); if (v8_ResponsiblePersons) {set_attribute_value(7, cast_vector(*v8_ResponsiblePersons)); } if (v9_LastUpdateDate) {set_attribute_value(8, (*v9_LastUpdateDate)); }set_attribute_value(9, (v10_CurrentValue));set_attribute_value(10, (v11_OriginalValue)); } // Function implementations for IfcIrregularTimeSeries std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue > Ifc4x3_tc1::IfcIrregularTimeSeries::Values() const { std::vector es = get_attribute_value(8); return cast_vector<::Ifc4x3_tc1::IfcIrregularTimeSeriesValue>(es); } void Ifc4x3_tc1::IfcIrregularTimeSeries::setValues(const std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue >& v) { set_attribute_value(8, cast_vector(v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcIrregularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[560]); } -void Ifc4x3_tc1::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue > v9_Values) { 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_tc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIrregularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[560]); } +void Ifc4x3_tc1::IfcIrregularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue > v9_Values) { 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, (enumeration_reference(&::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, cast_vector(v9_Values)); } // Function implementations for IfcIrregularTimeSeriesValue std::string Ifc4x3_tc1::IfcIrregularTimeSeriesValue::TimeStamp() const { std::string v = get_attribute_value(0); return v; } @@ -11378,40 +11378,40 @@ std::vector< ::Ifc4x3_tc1::IfcValue > Ifc4x3_tc1::IfcIrregularTimeSeriesValue::L void Ifc4x3_tc1::IfcIrregularTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_tc1::IfcValue >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcIrregularTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[561]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcIrregularTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[561]); } void Ifc4x3_tc1::IfcIrregularTimeSeriesValue::initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_tc1::IfcValue > v2_ListValues) { set_attribute_value(0, (v1_TimeStamp));set_attribute_value(1, cast_vector(v2_ListValues)); } // Function implementations for IfcJunctionBox std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value > Ifc4x3_tc1::IfcJunctionBox::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcJunctionBox::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcJunctionBox::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[564]); } -void Ifc4x3_tc1::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcJunctionBox::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[564]); } +void Ifc4x3_tc1::IfcJunctionBox::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcJunctionBoxType ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value Ifc4x3_tc1::IfcJunctionBoxType::PredefinedType() const { return ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcJunctionBoxType::setPredefinedType(const ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcJunctionBoxType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[565]); } -void Ifc4x3_tc1::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcJunctionBoxType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[565]); } +void Ifc4x3_tc1::IfcJunctionBoxType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcKerb std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value > Ifc4x3_tc1::IfcKerb::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcKerbTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcKerb::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcKerb::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcKerb::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[567]); } -void Ifc4x3_tc1::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcKerb::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[567]); } +void Ifc4x3_tc1::IfcKerb::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcKerbType ::Ifc4x3_tc1::IfcKerbTypeEnum::Value Ifc4x3_tc1::IfcKerbType::PredefinedType() const { return ::Ifc4x3_tc1::IfcKerbTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcKerbType::setPredefinedType(const ::Ifc4x3_tc1::IfcKerbTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcKerbType::setPredefinedType(const ::Ifc4x3_tc1::IfcKerbTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcKerbType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[568]); } -void Ifc4x3_tc1::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcKerbTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcKerbType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[568]); } +void Ifc4x3_tc1::IfcKerbType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcKerbTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcKerbTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLShapeProfileDef double Ifc4x3_tc1::IfcLShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -11428,50 +11428,50 @@ std::optional< double > Ifc4x3_tc1::IfcLShapeProfileDef::LegSlope() const { if(g void Ifc4x3_tc1::IfcLShapeProfileDef::setLegSlope(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcLShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[618]); } -void Ifc4x3_tc1::IfcLShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[618]); } +void Ifc4x3_tc1::IfcLShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcLaborResource std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value > Ifc4x3_tc1::IfcLaborResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcLaborResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcLaborResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[573]); } -void Ifc4x3_tc1::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLaborResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[573]); } +void Ifc4x3_tc1::IfcLaborResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcLaborResourceType ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value Ifc4x3_tc1::IfcLaborResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_tc1::IfcLaborResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcLaborResourceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[574]); } -void Ifc4x3_tc1::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLaborResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[574]); } +void Ifc4x3_tc1::IfcLaborResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcLagTime ::Ifc4x3_tc1::IfcTimeOrRatioSelect Ifc4x3_tc1::IfcLagTime::LagValue() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcTimeOrRatioSelect>(); } void Ifc4x3_tc1::IfcLagTime::setLagValue(const ::Ifc4x3_tc1::IfcTimeOrRatioSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_tc1::IfcTaskDurationEnum::Value Ifc4x3_tc1::IfcLagTime::DurationType() const { return ::Ifc4x3_tc1::IfcTaskDurationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_tc1::IfcLagTime::setDurationType(const ::Ifc4x3_tc1::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_tc1::IfcLagTime::setDurationType(const ::Ifc4x3_tc1::IfcTaskDurationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcLagTime::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[576]); } -void Ifc4x3_tc1::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_tc1::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLagTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[576]); } +void Ifc4x3_tc1::IfcLagTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_tc1::IfcTaskDurationEnum::Value v5_DurationType) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_LagValue));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(),(size_t)v5_DurationType))); } // Function implementations for IfcLamp std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value > Ifc4x3_tc1::IfcLamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcLamp::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcLamp::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[577]); } -void Ifc4x3_tc1::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLamp::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[577]); } +void Ifc4x3_tc1::IfcLamp::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLampType ::Ifc4x3_tc1::IfcLampTypeEnum::Value Ifc4x3_tc1::IfcLampType::PredefinedType() const { return ::Ifc4x3_tc1::IfcLampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcLampType::setPredefinedType(const ::Ifc4x3_tc1::IfcLampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcLampType::setPredefinedType(const ::Ifc4x3_tc1::IfcLampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcLampType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[578]); } -void Ifc4x3_tc1::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLampType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[578]); } +void Ifc4x3_tc1::IfcLampType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcLampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLibraryInformation std::string Ifc4x3_tc1::IfcLibraryInformation::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11487,10 +11487,10 @@ void Ifc4x3_tc1::IfcLibraryInformation::setLocation(const std::optional< std::st std::optional< std::string > Ifc4x3_tc1::IfcLibraryInformation::Description() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcLibraryInformation::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_tc1::IfcRelAssociatesLibrary> Ifc4x3_tc1::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[911], 5)); } -std::vector<::Ifc4x3_tc1::IfcLibraryReference> Ifc4x3_tc1::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[585], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociatesLibrary> Ifc4x3_tc1::IfcLibraryInformation::LibraryInfoForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[911], 5)); } +std::vector<::Ifc4x3_tc1::IfcLibraryReference> Ifc4x3_tc1::IfcLibraryInformation::HasLibraryReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[585], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcLibraryInformation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[584]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLibraryInformation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[584]); } void Ifc4x3_tc1::IfcLibraryInformation::initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_tc1::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description) { set_attribute_value(0, (v1_Name)); if (v2_Version) {set_attribute_value(1, (*v2_Version)); }set_attribute_value(2, (v3_Publisher)); 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)); } } // Function implementations for IfcLibraryReference @@ -11501,9 +11501,9 @@ void Ifc4x3_tc1::IfcLibraryReference::setLanguage(const std::optional< std::stri ::Ifc4x3_tc1::IfcLibraryInformation Ifc4x3_tc1::IfcLibraryReference::ReferencedLibrary() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcLibraryInformation{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcLibraryInformation>(); } void Ifc4x3_tc1::IfcLibraryReference::setReferencedLibrary(const ::Ifc4x3_tc1::IfcLibraryInformation& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -std::vector<::Ifc4x3_tc1::IfcRelAssociatesLibrary> Ifc4x3_tc1::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[911], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociatesLibrary> Ifc4x3_tc1::IfcLibraryReference::LibraryRefForObjects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[911], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcLibraryReference::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[585]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLibraryReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[585]); } void Ifc4x3_tc1::IfcLibraryReference::initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_tc1::IfcLibraryInformation v6_ReferencedLibrary) { 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)); } // Function implementations for IfcLightDistributionData @@ -11515,34 +11515,34 @@ std::vector< double > /*[1:?]*/ Ifc4x3_tc1::IfcLightDistributionData::LuminousIn void Ifc4x3_tc1::IfcLightDistributionData::setLuminousIntensity(const std::vector< double > /*[1:?]*/& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcLightDistributionData::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[588]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightDistributionData::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[588]); } void Ifc4x3_tc1::IfcLightDistributionData::initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity) { set_attribute_value(0, (v1_MainPlaneAngle));set_attribute_value(1, (v2_SecondaryPlaneAngle));set_attribute_value(2, (v3_LuminousIntensity)); } // Function implementations for IfcLightFixture std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value > Ifc4x3_tc1::IfcLightFixture::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcLightFixture::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcLightFixture::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[591]); } -void Ifc4x3_tc1::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightFixture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[591]); } +void Ifc4x3_tc1::IfcLightFixture::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLightFixtureType ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value Ifc4x3_tc1::IfcLightFixtureType::PredefinedType() const { return ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcLightFixtureType::setPredefinedType(const ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcLightFixtureType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[592]); } -void Ifc4x3_tc1::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightFixtureType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[592]); } +void Ifc4x3_tc1::IfcLightFixtureType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLightIntensityDistribution ::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value Ifc4x3_tc1::IfcLightIntensityDistribution::LightDistributionCurve() const { return ::Ifc4x3_tc1::IfcLightDistributionCurveEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_tc1::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_tc1::IfcLightIntensityDistribution::setLightDistributionCurve(const ::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::vector< ::Ifc4x3_tc1::IfcLightDistributionData > Ifc4x3_tc1::IfcLightIntensityDistribution::DistributionData() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcLightDistributionData>(es); } void Ifc4x3_tc1::IfcLightIntensityDistribution::setDistributionData(const std::vector< ::Ifc4x3_tc1::IfcLightDistributionData >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcLightIntensityDistribution::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[594]); } -void Ifc4x3_tc1::IfcLightIntensityDistribution::initialize(::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_tc1::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightIntensityDistribution::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[594]); } +void Ifc4x3_tc1::IfcLightIntensityDistribution::initialize(::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_tc1::IfcLightDistributionData > v2_DistributionData) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Class(),(size_t)v1_LightDistributionCurve)));set_attribute_value(1, cast_vector(v2_DistributionData)); } // Function implementations for IfcLightSource std::optional< std::string > Ifc4x3_tc1::IfcLightSource::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -11555,13 +11555,13 @@ std::optional< double > Ifc4x3_tc1::IfcLightSource::Intensity() const { if(get_a void Ifc4x3_tc1::IfcLightSource::setIntensity(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcLightSource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[595]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[595]); } void Ifc4x3_tc1::IfcLightSource::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceAmbient -const IfcParse::entity& Ifc4x3_tc1::IfcLightSourceAmbient::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[596]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourceAmbient::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[596]); } void Ifc4x3_tc1::IfcLightSourceAmbient::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); } } // Function implementations for IfcLightSourceDirectional @@ -11569,7 +11569,7 @@ void Ifc4x3_tc1::IfcLightSourceAmbient::initialize(std::optional< std::string > void Ifc4x3_tc1::IfcLightSourceDirectional::setOrientation(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcLightSourceDirectional::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[597]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourceDirectional::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[597]); } void Ifc4x3_tc1::IfcLightSourceDirectional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcDirection v5_Orientation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Orientation)); } // Function implementations for IfcLightSourceGoniometric @@ -11582,13 +11582,13 @@ void Ifc4x3_tc1::IfcLightSourceGoniometric::setColourTemperature(const double& v double Ifc4x3_tc1::IfcLightSourceGoniometric::LuminousFlux() const { double v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcLightSourceGoniometric::setLuminousFlux(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value Ifc4x3_tc1::IfcLightSourceGoniometric::LightEmissionSource() const { return ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_tc1::IfcLightSourceGoniometric::setLightEmissionSource(const ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect Ifc4x3_tc1::IfcLightSourceGoniometric::LightDistributionDataSource() const { return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect>(); } void Ifc4x3_tc1::IfcLightSourceGoniometric::setLightDistributionDataSource(const ::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcLightSourceGoniometric::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[598]); } -void Ifc4x3_tc1::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_tc1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourceGoniometric::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[598]); } +void Ifc4x3_tc1::IfcLightSourceGoniometric::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_tc1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_ColourAppearance));set_attribute_value(6, (v7_ColourTemperature));set_attribute_value(7, (v8_LuminousFlux));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Class(),(size_t)v9_LightEmissionSource)));set_attribute_value(9, (v10_LightDistributionDataSource)); } // Function implementations for IfcLightSourcePositional ::Ifc4x3_tc1::IfcCartesianPoint Ifc4x3_tc1::IfcLightSourcePositional::Position() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcCartesianPoint>(); } @@ -11603,7 +11603,7 @@ double Ifc4x3_tc1::IfcLightSourcePositional::QuadricAttenuation() const { doubl void Ifc4x3_tc1::IfcLightSourcePositional::setQuadricAttenuation(const double& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcLightSourcePositional::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[599]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourcePositional::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[599]); } void Ifc4x3_tc1::IfcLightSourcePositional::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));set_attribute_value(5, (v6_Radius));set_attribute_value(6, (v7_ConstantAttenuation));set_attribute_value(7, (v8_DistanceAttenuation));set_attribute_value(8, (v9_QuadricAttenuation)); } // Function implementations for IfcLightSourceSpot @@ -11617,7 +11617,7 @@ double Ifc4x3_tc1::IfcLightSourceSpot::BeamWidthAngle() const { double v = get_ void Ifc4x3_tc1::IfcLightSourceSpot::setBeamWidthAngle(const double& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_tc1::IfcLightSourceSpot::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[600]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLightSourceSpot::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[600]); } void Ifc4x3_tc1::IfcLightSourceSpot::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_tc1::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_LightColour)); if (v3_AmbientIntensity) {set_attribute_value(2, (*v3_AmbientIntensity)); } if (v4_Intensity) {set_attribute_value(3, (*v4_Intensity)); }set_attribute_value(4, (v5_Position));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)); if (v11_ConcentrationExponent) {set_attribute_value(10, (*v11_ConcentrationExponent)); }set_attribute_value(11, (v12_SpreadAngle));set_attribute_value(12, (v13_BeamWidthAngle)); } // Function implementations for IfcLine @@ -11627,13 +11627,13 @@ void Ifc4x3_tc1::IfcLine::setPnt(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set void Ifc4x3_tc1::IfcLine::setDir(const ::Ifc4x3_tc1::IfcVector& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcLine::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[601]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLine::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[601]); } void Ifc4x3_tc1::IfcLine::initialize(::Ifc4x3_tc1::IfcCartesianPoint v1_Pnt, ::Ifc4x3_tc1::IfcVector v2_Dir) { set_attribute_value(0, (v1_Pnt));set_attribute_value(1, (v2_Dir)); } // Function implementations for IfcLinearElement -const IfcParse::entity& Ifc4x3_tc1::IfcLinearElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[602]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLinearElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[602]); } void Ifc4x3_tc1::IfcLinearElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLinearPlacement @@ -11643,43 +11643,43 @@ void Ifc4x3_tc1::IfcLinearPlacement::setRelativePlacement(const ::Ifc4x3_tc1::If void Ifc4x3_tc1::IfcLinearPlacement::setCartesianPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcLinearPlacement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[605]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLinearPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[605]); } void Ifc4x3_tc1::IfcLinearPlacement::initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_tc1::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_tc1::IfcAxis2Placement3D v3_CartesianPosition) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement));set_attribute_value(2, (v3_CartesianPosition)); } // Function implementations for IfcLinearPositioningElement -const IfcParse::entity& Ifc4x3_tc1::IfcLinearPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[606]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLinearPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[606]); } void Ifc4x3_tc1::IfcLinearPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcLiquidTerminal std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value > Ifc4x3_tc1::IfcLiquidTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcLiquidTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcLiquidTerminal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[610]); } -void Ifc4x3_tc1::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLiquidTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[610]); } +void Ifc4x3_tc1::IfcLiquidTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcLiquidTerminalType ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value Ifc4x3_tc1::IfcLiquidTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcLiquidTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcLiquidTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[611]); } -void Ifc4x3_tc1::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLiquidTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[611]); } +void Ifc4x3_tc1::IfcLiquidTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcLocalPlacement ::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcLocalPlacement::RelativePlacement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); } void Ifc4x3_tc1::IfcLocalPlacement::setRelativePlacement(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcLocalPlacement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[614]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLocalPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[614]); } void Ifc4x3_tc1::IfcLocalPlacement::initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_tc1::IfcAxis2Placement v2_RelativePlacement) { set_attribute_value(0, (v1_PlacementRelTo));set_attribute_value(1, (v2_RelativePlacement)); } // Function implementations for IfcLoop -const IfcParse::entity& Ifc4x3_tc1::IfcLoop::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[617]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[617]); } void Ifc4x3_tc1::IfcLoop::initialize() { } // Function implementations for IfcManifoldSolidBrep @@ -11687,7 +11687,7 @@ void Ifc4x3_tc1::IfcLoop::initialize() { } void Ifc4x3_tc1::IfcManifoldSolidBrep::setOuter(const ::Ifc4x3_tc1::IfcClosedShell& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcManifoldSolidBrep::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[624]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcManifoldSolidBrep::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[624]); } void Ifc4x3_tc1::IfcManifoldSolidBrep::initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer) { set_attribute_value(0, (v1_Outer)); } // Function implementations for IfcMapConversion @@ -11709,7 +11709,7 @@ std::optional< double > Ifc4x3_tc1::IfcMapConversion::ScaleZ() const { if(get_at void Ifc4x3_tc1::IfcMapConversion::setScaleZ(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMapConversion::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[625]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMapConversion::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[625]); } void Ifc4x3_tc1::IfcMapConversion::initialize(::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_tc1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, std::optional< double > v9_ScaleY, std::optional< double > v10_ScaleZ) { set_attribute_value(0, (v1_SourceCRS));set_attribute_value(1, (v2_TargetCRS));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)); } if (v9_ScaleY) {set_attribute_value(8, (*v9_ScaleY)); } if (v10_ScaleZ) {set_attribute_value(9, (*v10_ScaleZ)); } } // Function implementations for IfcMappedItem @@ -11719,24 +11719,24 @@ void Ifc4x3_tc1::IfcMappedItem::setMappingSource(const ::Ifc4x3_tc1::IfcRepresen void Ifc4x3_tc1::IfcMappedItem::setMappingTarget(const ::Ifc4x3_tc1::IfcCartesianTransformationOperator& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcMappedItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[626]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMappedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[626]); } void Ifc4x3_tc1::IfcMappedItem::initialize(::Ifc4x3_tc1::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_tc1::IfcCartesianTransformationOperator v2_MappingTarget) { set_attribute_value(0, (v1_MappingSource));set_attribute_value(1, (v2_MappingTarget)); } // Function implementations for IfcMarineFacility std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value > Ifc4x3_tc1::IfcMarineFacility::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcMarineFacility::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMarineFacility::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[627]); } -void Ifc4x3_tc1::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMarineFacility::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[627]); } +void Ifc4x3_tc1::IfcMarineFacility::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcMarinePart std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value > Ifc4x3_tc1::IfcMarinePart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMarinePartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcMarinePart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcMarinePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcMarinePart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcMarinePartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMarinePart::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[629]); } -void Ifc4x3_tc1::IfcMarinePart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMarinePart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[629]); } +void Ifc4x3_tc1::IfcMarinePart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcMarinePartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMaterial std::string Ifc4x3_tc1::IfcMaterial::Name() const { std::string v = get_attribute_value(0); return v; } @@ -11746,11 +11746,11 @@ void Ifc4x3_tc1::IfcMaterial::setDescription(const std::optional< std::string >& std::optional< std::string > Ifc4x3_tc1::IfcMaterial::Category() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcMaterial::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -std::vector<::Ifc4x3_tc1::IfcMaterialDefinitionRepresentation> Ifc4x3_tc1::IfcMaterial::HasRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[640], 3)); } -std::vector<::Ifc4x3_tc1::IfcMaterialRelationship> Ifc4x3_tc1::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[652], 3)); } -std::vector<::Ifc4x3_tc1::IfcMaterialRelationship> Ifc4x3_tc1::IfcMaterial::RelatesTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[652], 2)); } +std::vector<::Ifc4x3_tc1::IfcMaterialDefinitionRepresentation> Ifc4x3_tc1::IfcMaterial::HasRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[640], 3)); } +std::vector<::Ifc4x3_tc1::IfcMaterialRelationship> Ifc4x3_tc1::IfcMaterial::IsRelatedWith() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[652], 3)); } +std::vector<::Ifc4x3_tc1::IfcMaterialRelationship> Ifc4x3_tc1::IfcMaterial::RelatesTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[652], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterial::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[635]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[635]); } void Ifc4x3_tc1::IfcMaterial::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } if (v3_Category) {set_attribute_value(2, (*v3_Category)); } } // Function implementations for IfcMaterialClassificationRelationship @@ -11760,7 +11760,7 @@ void Ifc4x3_tc1::IfcMaterialClassificationRelationship::setMaterialClassificatio void Ifc4x3_tc1::IfcMaterialClassificationRelationship::setClassifiedMaterial(const ::Ifc4x3_tc1::IfcMaterial& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialClassificationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[636]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialClassificationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[636]); } void Ifc4x3_tc1::IfcMaterialClassificationRelationship::initialize(std::vector< ::Ifc4x3_tc1::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_tc1::IfcMaterial v2_ClassifiedMaterial) { set_attribute_value(0, cast_vector(v1_MaterialClassifications));set_attribute_value(1, (v2_ClassifiedMaterial)); } // Function implementations for IfcMaterialConstituent @@ -11775,9 +11775,9 @@ void Ifc4x3_tc1::IfcMaterialConstituent::setFraction(const std::optional< double std::optional< std::string > Ifc4x3_tc1::IfcMaterialConstituent::Category() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcMaterialConstituent::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_tc1::IfcMaterialConstituentSet> Ifc4x3_tc1::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[638], 2)); } +std::vector<::Ifc4x3_tc1::IfcMaterialConstituentSet> Ifc4x3_tc1::IfcMaterialConstituent::ToMaterialConstituentSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[638], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialConstituent::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[637]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialConstituent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[637]); } void Ifc4x3_tc1::IfcMaterialConstituent::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material)); if (v4_Fraction) {set_attribute_value(3, (*v4_Fraction)); } if (v5_Category) {set_attribute_value(4, (*v5_Category)); } } // Function implementations for IfcMaterialConstituentSet @@ -11789,16 +11789,16 @@ std::optional< std::vector< ::Ifc4x3_tc1::IfcMaterialConstituent > > Ifc4x3_tc1: void Ifc4x3_tc1::IfcMaterialConstituentSet::setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_tc1::IfcMaterialConstituent > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialConstituentSet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[638]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialConstituentSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[638]); } void Ifc4x3_tc1::IfcMaterialConstituentSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_tc1::IfcMaterialConstituent > > v3_MaterialConstituents) { 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, cast_vector(*v3_MaterialConstituents)); } } // Function implementations for IfcMaterialDefinition -std::vector<::Ifc4x3_tc1::IfcRelAssociatesMaterial> Ifc4x3_tc1::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[912], 5)); } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -std::vector<::Ifc4x3_tc1::IfcMaterialProperties> Ifc4x3_tc1::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[651], 3)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociatesMaterial> Ifc4x3_tc1::IfcMaterialDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[912], 5)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcMaterialDefinition::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcMaterialProperties> Ifc4x3_tc1::IfcMaterialDefinition::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[651], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialDefinition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[639]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[639]); } void Ifc4x3_tc1::IfcMaterialDefinition::initialize() { } // Function implementations for IfcMaterialDefinitionRepresentation @@ -11806,7 +11806,7 @@ void Ifc4x3_tc1::IfcMaterialDefinition::initialize() { } void Ifc4x3_tc1::IfcMaterialDefinitionRepresentation::setRepresentedMaterial(const ::Ifc4x3_tc1::IfcMaterial& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialDefinitionRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[640]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialDefinitionRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[640]); } void Ifc4x3_tc1::IfcMaterialDefinitionRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcRepresentation > v3_Representations, ::Ifc4x3_tc1::IfcMaterial v4_RepresentedMaterial) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations));set_attribute_value(3, (v4_RepresentedMaterial)); } // Function implementations for IfcMaterialLayer @@ -11825,9 +11825,9 @@ void Ifc4x3_tc1::IfcMaterialLayer::setCategory(const std::optional< std::string std::optional< int > Ifc4x3_tc1::IfcMaterialLayer::Priority() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } int v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcMaterialLayer::setPriority(const std::optional< int >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_tc1::IfcMaterialLayerSet> Ifc4x3_tc1::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[642], 0)); } +std::vector<::Ifc4x3_tc1::IfcMaterialLayerSet> Ifc4x3_tc1::IfcMaterialLayer::ToMaterialLayerSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[642], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialLayer::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[641]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialLayer::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[641]); } void Ifc4x3_tc1::IfcMaterialLayer::initialize(::Ifc4x3_tc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority) { set_attribute_value(0, (v1_Material));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)); } } // Function implementations for IfcMaterialLayerSet @@ -11839,41 +11839,41 @@ std::optional< std::string > Ifc4x3_tc1::IfcMaterialLayerSet::Description() cons void Ifc4x3_tc1::IfcMaterialLayerSet::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialLayerSet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[642]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialLayerSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[642]); } void Ifc4x3_tc1::IfcMaterialLayerSet::initialize(std::vector< ::Ifc4x3_tc1::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description) { set_attribute_value(0, cast_vector(v1_MaterialLayers)); if (v2_LayerSetName) {set_attribute_value(1, (*v2_LayerSetName)); } if (v3_Description) {set_attribute_value(2, (*v3_Description)); } } // Function implementations for IfcMaterialLayerSetUsage ::Ifc4x3_tc1::IfcMaterialLayerSet Ifc4x3_tc1::IfcMaterialLayerSetUsage::ForLayerSet() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcMaterialLayerSet>(); } void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setForLayerSet(const ::Ifc4x3_tc1::IfcMaterialLayerSet& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value Ifc4x3_tc1::IfcMaterialLayerSetUsage::LayerSetDirection() const { return ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setLayerSetDirection(const ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_tc1::IfcDirectionSenseEnum::Value Ifc4x3_tc1::IfcMaterialLayerSetUsage::DirectionSense() const { return ::Ifc4x3_tc1::IfcDirectionSenseEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_tc1::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_tc1::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setDirectionSense(const ::Ifc4x3_tc1::IfcDirectionSenseEnum::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcDirectionSenseEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } double Ifc4x3_tc1::IfcMaterialLayerSetUsage::OffsetFromReferenceLine() const { double v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setOffsetFromReferenceLine(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } std::optional< double > Ifc4x3_tc1::IfcMaterialLayerSetUsage::ReferenceExtent() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcMaterialLayerSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialLayerSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[643]); } -void Ifc4x3_tc1::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_tc1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_tc1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialLayerSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[643]); } +void Ifc4x3_tc1::IfcMaterialLayerSetUsage::initialize(::Ifc4x3_tc1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_tc1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent) { set_attribute_value(0, (v1_ForLayerSet));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(),(size_t)v2_LayerSetDirection)));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcDirectionSenseEnum::Class(),(size_t)v3_DirectionSense)));set_attribute_value(3, (v4_OffsetFromReferenceLine)); if (v5_ReferenceExtent) {set_attribute_value(4, (*v5_ReferenceExtent)); } } // Function implementations for IfcMaterialLayerWithOffsets ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value Ifc4x3_tc1::IfcMaterialLayerWithOffsets::OffsetDirection() const { return ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_tc1::IfcMaterialLayerWithOffsets::setOffsetDirection(const ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::vector< double > /*[1:2]*/ Ifc4x3_tc1::IfcMaterialLayerWithOffsets::OffsetValues() const { std::vector< double > /*[1:2]*/ v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcMaterialLayerWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialLayerWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[644]); } -void Ifc4x3_tc1::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_tc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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_tc1::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialLayerWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[644]); } +void Ifc4x3_tc1::IfcMaterialLayerWithOffsets::initialize(::Ifc4x3_tc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues) { set_attribute_value(0, (v1_Material));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, (enumeration_reference(&::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Class(),(size_t)v8_OffsetDirection)));set_attribute_value(8, (v9_OffsetValues)); } // Function implementations for IfcMaterialList std::vector< ::Ifc4x3_tc1::IfcMaterial > Ifc4x3_tc1::IfcMaterialList::Materials() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcMaterial>(es); } void Ifc4x3_tc1::IfcMaterialList::setMaterials(const std::vector< ::Ifc4x3_tc1::IfcMaterial >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialList::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[645]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialList::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[645]); } void Ifc4x3_tc1::IfcMaterialList::initialize(std::vector< ::Ifc4x3_tc1::IfcMaterial > v1_Materials) { set_attribute_value(0, cast_vector(v1_Materials)); } // Function implementations for IfcMaterialProfile @@ -11890,9 +11890,9 @@ void Ifc4x3_tc1::IfcMaterialProfile::setPriority(const std::optional< int >& v) std::optional< std::string > Ifc4x3_tc1::IfcMaterialProfile::Category() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcMaterialProfile::setCategory(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_tc1::IfcMaterialProfileSet> Ifc4x3_tc1::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[647], 2)); } +std::vector<::Ifc4x3_tc1::IfcMaterialProfileSet> Ifc4x3_tc1::IfcMaterialProfile::ToMaterialProfileSet() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[647], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialProfile::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[646]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfile::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[646]); } void Ifc4x3_tc1::IfcMaterialProfile::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_Material, ::Ifc4x3_tc1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); } } // Function implementations for IfcMaterialProfileSet @@ -11906,7 +11906,7 @@ void Ifc4x3_tc1::IfcMaterialProfileSet::setMaterialProfiles(const std::vector< : void Ifc4x3_tc1::IfcMaterialProfileSet::setCompositeProfile(const ::Ifc4x3_tc1::IfcCompositeProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialProfileSet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[647]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfileSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[647]); } void Ifc4x3_tc1::IfcMaterialProfileSet::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_tc1::IfcCompositeProfileDef v4_CompositeProfile) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_MaterialProfiles));set_attribute_value(3, (v4_CompositeProfile)); } // Function implementations for IfcMaterialProfileSetUsage @@ -11918,7 +11918,7 @@ std::optional< double > Ifc4x3_tc1::IfcMaterialProfileSetUsage::ReferenceExtent( void Ifc4x3_tc1::IfcMaterialProfileSetUsage::setReferenceExtent(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialProfileSetUsage::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[648]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfileSetUsage::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[648]); } void Ifc4x3_tc1::IfcMaterialProfileSetUsage::initialize(::Ifc4x3_tc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); } } // Function implementations for IfcMaterialProfileSetUsageTapering @@ -11928,7 +11928,7 @@ std::optional< int > Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::CardinalEnd void Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::setCardinalEndPoint(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[649]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[649]); } void Ifc4x3_tc1::IfcMaterialProfileSetUsageTapering::initialize(::Ifc4x3_tc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_tc1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint) { set_attribute_value(0, (v1_ForProfileSet)); if (v2_CardinalPoint) {set_attribute_value(1, (*v2_CardinalPoint)); } if (v3_ReferenceExtent) {set_attribute_value(2, (*v3_ReferenceExtent)); }set_attribute_value(3, (v4_ForProfileEndSet)); if (v5_CardinalEndPoint) {set_attribute_value(4, (*v5_CardinalEndPoint)); } } // Function implementations for IfcMaterialProfileWithOffsets @@ -11936,7 +11936,7 @@ std::vector< double > /*[1:2]*/ Ifc4x3_tc1::IfcMaterialProfileWithOffsets::Offse void Ifc4x3_tc1::IfcMaterialProfileWithOffsets::setOffsetValues(const std::vector< double > /*[1:2]*/& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialProfileWithOffsets::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[650]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProfileWithOffsets::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[650]); } void Ifc4x3_tc1::IfcMaterialProfileWithOffsets::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_Material, ::Ifc4x3_tc1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Material));set_attribute_value(3, (v4_Profile)); if (v5_Priority) {set_attribute_value(4, (*v5_Priority)); } if (v6_Category) {set_attribute_value(5, (*v6_Category)); }set_attribute_value(6, (v7_OffsetValues)); } // Function implementations for IfcMaterialProperties @@ -11944,7 +11944,7 @@ void Ifc4x3_tc1::IfcMaterialProfileWithOffsets::initialize(std::optional< std::s void Ifc4x3_tc1::IfcMaterialProperties::setMaterial(const ::Ifc4x3_tc1::IfcMaterialDefinition& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[651]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[651]); } void Ifc4x3_tc1::IfcMaterialProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v3_Properties, ::Ifc4x3_tc1::IfcMaterialDefinition v4_Material) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_Material)); } // Function implementations for IfcMaterialRelationship @@ -11956,14 +11956,14 @@ std::optional< std::string > Ifc4x3_tc1::IfcMaterialRelationship::MaterialExpres void Ifc4x3_tc1::IfcMaterialRelationship::setMaterialExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[652]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[652]); } void Ifc4x3_tc1::IfcMaterialRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_tc1::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_MaterialExpression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingMaterial));set_attribute_value(3, cast_vector(v4_RelatedMaterials)); if (v5_MaterialExpression) {set_attribute_value(4, (*v5_MaterialExpression)); } } // Function implementations for IfcMaterialUsageDefinition -std::vector<::Ifc4x3_tc1::IfcRelAssociatesMaterial> Ifc4x3_tc1::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[912], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociatesMaterial> Ifc4x3_tc1::IfcMaterialUsageDefinition::AssociatedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[912], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcMaterialUsageDefinition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[654]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMaterialUsageDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[654]); } void Ifc4x3_tc1::IfcMaterialUsageDefinition::initialize() { } // Function implementations for IfcMeasureWithUnit @@ -11973,7 +11973,7 @@ void Ifc4x3_tc1::IfcMeasureWithUnit::setValueComponent(const ::Ifc4x3_tc1::IfcVa void Ifc4x3_tc1::IfcMeasureWithUnit::setUnitComponent(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcMeasureWithUnit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[656]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMeasureWithUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[656]); } void Ifc4x3_tc1::IfcMeasureWithUnit::initialize(::Ifc4x3_tc1::IfcValue v1_ValueComponent, ::Ifc4x3_tc1::IfcUnit v2_UnitComponent) { set_attribute_value(0, (v1_ValueComponent));set_attribute_value(1, (v2_UnitComponent)); } // Function implementations for IfcMechanicalFastener @@ -11982,59 +11982,59 @@ void Ifc4x3_tc1::IfcMechanicalFastener::setNominalDiameter(const std::optional< std::optional< double > Ifc4x3_tc1::IfcMechanicalFastener::NominalLength() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcMechanicalFastener::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value > Ifc4x3_tc1::IfcMechanicalFastener::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcMechanicalFastener::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMechanicalFastener::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[657]); } -void Ifc4x3_tc1::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_tc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMechanicalFastener::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[657]); } +void Ifc4x3_tc1::IfcMechanicalFastener::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcMechanicalFastenerType ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value Ifc4x3_tc1::IfcMechanicalFastenerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcMechanicalFastenerType::setPredefinedType(const ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_tc1::IfcMechanicalFastenerType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcMechanicalFastenerType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_tc1::IfcMechanicalFastenerType::NominalLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_tc1::IfcMechanicalFastenerType::setNominalLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMechanicalFastenerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[658]); } -void Ifc4x3_tc1::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMechanicalFastenerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[658]); } +void Ifc4x3_tc1::IfcMechanicalFastenerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_NominalDiameter) {set_attribute_value(10, (*v11_NominalDiameter)); } if (v12_NominalLength) {set_attribute_value(11, (*v12_NominalLength)); } } // Function implementations for IfcMedicalDevice std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value > Ifc4x3_tc1::IfcMedicalDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcMedicalDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMedicalDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[660]); } -void Ifc4x3_tc1::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMedicalDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[660]); } +void Ifc4x3_tc1::IfcMedicalDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMedicalDeviceType ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value Ifc4x3_tc1::IfcMedicalDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcMedicalDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcMedicalDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[661]); } -void Ifc4x3_tc1::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMedicalDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[661]); } +void Ifc4x3_tc1::IfcMedicalDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMember std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value > Ifc4x3_tc1::IfcMember::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMemberTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcMember::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMember::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[663]); } -void Ifc4x3_tc1::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[663]); } +void Ifc4x3_tc1::IfcMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMemberType ::Ifc4x3_tc1::IfcMemberTypeEnum::Value Ifc4x3_tc1::IfcMemberType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMemberTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcMemberType::setPredefinedType(const ::Ifc4x3_tc1::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcMemberType::setPredefinedType(const ::Ifc4x3_tc1::IfcMemberTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcMemberType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[664]); } -void Ifc4x3_tc1::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMemberType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[664]); } +void Ifc4x3_tc1::IfcMemberType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMemberTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMemberTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMetric ::Ifc4x3_tc1::IfcBenchmarkEnum::Value Ifc4x3_tc1::IfcMetric::Benchmark() const { return ::Ifc4x3_tc1::IfcBenchmarkEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcMetric::setBenchmark(const ::Ifc4x3_tc1::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_tc1::IfcMetric::setBenchmark(const ::Ifc4x3_tc1::IfcBenchmarkEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcBenchmarkEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< std::string > Ifc4x3_tc1::IfcMetric::ValueSource() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcMetric::setValueSource(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } ::Ifc4x3_tc1::IfcMetricValueSelect Ifc4x3_tc1::IfcMetric::DataValue() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcMetricValueSelect{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcMetricValueSelect>(); } @@ -12043,160 +12043,160 @@ void Ifc4x3_tc1::IfcMetric::setDataValue(const ::Ifc4x3_tc1::IfcMetricValueSelec void Ifc4x3_tc1::IfcMetric::setReferencePath(const ::Ifc4x3_tc1::IfcReference& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_tc1::IfcMetric::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[666]); } -void Ifc4x3_tc1::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_tc1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_tc1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_tc1::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMetric::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[666]); } +void Ifc4x3_tc1::IfcMetric::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_tc1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_tc1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_tc1::IfcReference v11_ReferencePath) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); if (v6_CreationTime) {set_attribute_value(5, (*v6_CreationTime)); } if (v7_UserDefinedGrade) {set_attribute_value(6, (*v7_UserDefinedGrade)); }set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcBenchmarkEnum::Class(),(size_t)v8_Benchmark))); if (v9_ValueSource) {set_attribute_value(8, (*v9_ValueSource)); }set_attribute_value(9, (v10_DataValue));set_attribute_value(10, (v11_ReferencePath)); } // Function implementations for IfcMirroredProfileDef -const IfcParse::entity& Ifc4x3_tc1::IfcMirroredProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[668]); } -void Ifc4x3_tc1::IfcMirroredProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMirroredProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[668]); } +void Ifc4x3_tc1::IfcMirroredProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_ParentProfile)); if (v5_Label) {set_attribute_value(4, (*v5_Label)); } } // Function implementations for IfcMobileTelecommunicationsAppliance std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[669]); } -void Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[669]); } +void Ifc4x3_tc1::IfcMobileTelecommunicationsAppliance::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMobileTelecommunicationsApplianceType ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::setPredefinedType(const ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[670]); } -void Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[670]); } +void Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMonetaryUnit std::string Ifc4x3_tc1::IfcMonetaryUnit::Currency() const { std::string v = get_attribute_value(0); return v; } void Ifc4x3_tc1::IfcMonetaryUnit::setCurrency(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcMonetaryUnit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[683]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMonetaryUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[683]); } void Ifc4x3_tc1::IfcMonetaryUnit::initialize(std::string v1_Currency) { set_attribute_value(0, (v1_Currency)); } // Function implementations for IfcMooringDevice std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value > Ifc4x3_tc1::IfcMooringDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcMooringDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMooringDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[685]); } -void Ifc4x3_tc1::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMooringDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[685]); } +void Ifc4x3_tc1::IfcMooringDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMooringDeviceType ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value Ifc4x3_tc1::IfcMooringDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcMooringDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcMooringDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[686]); } -void Ifc4x3_tc1::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMooringDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[686]); } +void Ifc4x3_tc1::IfcMooringDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcMotorConnection std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value > Ifc4x3_tc1::IfcMotorConnection::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcMotorConnection::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcMotorConnection::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[688]); } -void Ifc4x3_tc1::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMotorConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[688]); } +void Ifc4x3_tc1::IfcMotorConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcMotorConnectionType ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value Ifc4x3_tc1::IfcMotorConnectionType::PredefinedType() const { return ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcMotorConnectionType::setPredefinedType(const ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcMotorConnectionType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[689]); } -void Ifc4x3_tc1::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcMotorConnectionType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[689]); } +void Ifc4x3_tc1::IfcMotorConnectionType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcNamedUnit ::Ifc4x3_tc1::IfcDimensionalExponents Ifc4x3_tc1::IfcNamedUnit::Dimensions() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcDimensionalExponents>(); } void Ifc4x3_tc1::IfcNamedUnit::setDimensions(const ::Ifc4x3_tc1::IfcDimensionalExponents& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_tc1::IfcUnitEnum::Value Ifc4x3_tc1::IfcNamedUnit::UnitType() const { return ::Ifc4x3_tc1::IfcUnitEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_tc1::IfcNamedUnit::setUnitType(const ::Ifc4x3_tc1::IfcUnitEnum::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_tc1::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_tc1::IfcNamedUnit::setUnitType(const ::Ifc4x3_tc1::IfcUnitEnum::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcNamedUnit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[691]); } -void Ifc4x3_tc1::IfcNamedUnit::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcNamedUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[691]); } +void Ifc4x3_tc1::IfcNamedUnit::initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType) { set_attribute_value(0, (v1_Dimensions));set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); } // Function implementations for IfcNavigationElement std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value > Ifc4x3_tc1::IfcNavigationElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcNavigationElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcNavigationElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[692]); } -void Ifc4x3_tc1::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcNavigationElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[692]); } +void Ifc4x3_tc1::IfcNavigationElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcNavigationElementType ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value Ifc4x3_tc1::IfcNavigationElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcNavigationElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcNavigationElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[693]); } -void Ifc4x3_tc1::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcNavigationElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[693]); } +void Ifc4x3_tc1::IfcNavigationElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcObject std::optional< std::string > Ifc4x3_tc1::IfcObject::ObjectType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcObject::setObjectType(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_tc1::IfcRelDefinesByObject> Ifc4x3_tc1::IfcObject::IsDeclaredBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[930], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelDefinesByObject> Ifc4x3_tc1::IfcObject::Declares() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[930], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelDefinesByType> Ifc4x3_tc1::IfcObject::IsTypedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[933], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelDefinesByProperties> Ifc4x3_tc1::IfcObject::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[931], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelDefinesByObject> Ifc4x3_tc1::IfcObject::IsDeclaredBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[930], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelDefinesByObject> Ifc4x3_tc1::IfcObject::Declares() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[930], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelDefinesByType> Ifc4x3_tc1::IfcObject::IsTypedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[933], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelDefinesByProperties> Ifc4x3_tc1::IfcObject::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[931], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcObject::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[698]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcObject::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[698]); } void Ifc4x3_tc1::IfcObject::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcObjectDefinition -std::vector<::Ifc4x3_tc1::IfcRelAssigns> Ifc4x3_tc1::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[898], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelNests> Ifc4x3_tc1::IfcObjectDefinition::Nests() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[937], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelNests> Ifc4x3_tc1::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[937], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelDeclares> Ifc4x3_tc1::IfcObjectDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[927], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelAggregates> Ifc4x3_tc1::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[897], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelAggregates> Ifc4x3_tc1::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[897], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelAssociates> Ifc4x3_tc1::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[906], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelAssigns> Ifc4x3_tc1::IfcObjectDefinition::HasAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[898], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelNests> Ifc4x3_tc1::IfcObjectDefinition::Nests() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[937], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelNests> Ifc4x3_tc1::IfcObjectDefinition::IsNestedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[937], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelDeclares> Ifc4x3_tc1::IfcObjectDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[927], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelAggregates> Ifc4x3_tc1::IfcObjectDefinition::IsDecomposedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[897], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelAggregates> Ifc4x3_tc1::IfcObjectDefinition::Decomposes() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[897], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociates> Ifc4x3_tc1::IfcObjectDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[906], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcObjectDefinition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[699]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcObjectDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[699]); } void Ifc4x3_tc1::IfcObjectDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcObjectPlacement ::Ifc4x3_tc1::IfcObjectPlacement Ifc4x3_tc1::IfcObjectPlacement::PlacementRelTo() const { if(get_attribute_value(0).isNull()) { return ::Ifc4x3_tc1::IfcObjectPlacement{}; } return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcObjectPlacement>(); } void Ifc4x3_tc1::IfcObjectPlacement::setPlacementRelTo(const ::Ifc4x3_tc1::IfcObjectPlacement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_tc1::IfcProduct> Ifc4x3_tc1::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[798], 5)); } -std::vector<::Ifc4x3_tc1::IfcObjectPlacement> Ifc4x3_tc1::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[702], 0)); } +std::vector<::Ifc4x3_tc1::IfcProduct> Ifc4x3_tc1::IfcObjectPlacement::PlacesObject() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[798], 5)); } +std::vector<::Ifc4x3_tc1::IfcObjectPlacement> Ifc4x3_tc1::IfcObjectPlacement::ReferencedByPlacements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[702], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcObjectPlacement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[702]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcObjectPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[702]); } void Ifc4x3_tc1::IfcObjectPlacement::initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo) { set_attribute_value(0, (v1_PlacementRelTo)); } // Function implementations for IfcObjective std::optional< std::vector< ::Ifc4x3_tc1::IfcConstraint > > Ifc4x3_tc1::IfcObjective::BenchmarkValues() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcConstraint>(es); } void Ifc4x3_tc1::IfcObjective::setBenchmarkValues(const std::optional< std::vector< ::Ifc4x3_tc1::IfcConstraint > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_tc1::IfcLogicalOperatorEnum::Value > Ifc4x3_tc1::IfcObjective::LogicalAggregator() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcLogicalOperatorEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_tc1::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcObjective::setLogicalAggregator(const std::optional< ::Ifc4x3_tc1::IfcLogicalOperatorEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcLogicalOperatorEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } ::Ifc4x3_tc1::IfcObjectiveEnum::Value Ifc4x3_tc1::IfcObjective::ObjectiveQualifier() const { return ::Ifc4x3_tc1::IfcObjectiveEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_tc1::IfcObjectiveEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcObjective::setObjectiveQualifier(const ::Ifc4x3_tc1::IfcObjectiveEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcObjectiveEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_tc1::IfcObjective::UserDefinedQualifier() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcObjective::setUserDefinedQualifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcObjective::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[700]); } -void Ifc4x3_tc1::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_tc1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_tc1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_tc1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcObjective::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[700]); } +void Ifc4x3_tc1::IfcObjective::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_tc1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_tc1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_tc1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcConstraintEnum::Class(),(size_t)v3_ConstraintGrade))); if (v4_ConstraintSource) {set_attribute_value(3, (*v4_ConstraintSource)); }set_attribute_value(4, (v5_CreatingActor)); 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, cast_vector(*v8_BenchmarkValues)); } if (v9_LogicalAggregator) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcLogicalOperatorEnum::Class(),(size_t)*v9_LogicalAggregator))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcObjectiveEnum::Class(),(size_t)v10_ObjectiveQualifier))); if (v11_UserDefinedQualifier) {set_attribute_value(10, (*v11_UserDefinedQualifier)); } } // Function implementations for IfcOccupant std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value > Ifc4x3_tc1::IfcOccupant::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcOccupantTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_tc1::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_tc1::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_tc1::IfcOccupant::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcOccupantTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcOccupant::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[704]); } -void Ifc4x3_tc1::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (EnumerationReference(&::Ifc4x3_tc1::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOccupant::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[704]); } +void Ifc4x3_tc1::IfcOccupant::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value > v7_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_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)); if (v7_PredefinedType) {set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcOccupantTypeEnum::Class(),(size_t)*v7_PredefinedType))); } } // Function implementations for IfcOffsetCurve ::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcOffsetCurve::BasisCurve() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); } void Ifc4x3_tc1::IfcOffsetCurve::setBasisCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcOffsetCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[706]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOffsetCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[706]); } void Ifc4x3_tc1::IfcOffsetCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve) { set_attribute_value(0, (v1_BasisCurve)); } // Function implementations for IfcOffsetCurve2D @@ -12206,7 +12206,7 @@ boost::logic::tribool Ifc4x3_tc1::IfcOffsetCurve2D::SelfIntersect() const { boo void Ifc4x3_tc1::IfcOffsetCurve2D::setSelfIntersect(const boost::logic::tribool& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcOffsetCurve2D::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[707]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOffsetCurve2D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[707]); } void Ifc4x3_tc1::IfcOffsetCurve2D::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect)); } // Function implementations for IfcOffsetCurve3D @@ -12218,7 +12218,7 @@ void Ifc4x3_tc1::IfcOffsetCurve3D::setSelfIntersect(const boost::logic::tribool& void Ifc4x3_tc1::IfcOffsetCurve3D::setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcOffsetCurve3D::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[708]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOffsetCurve3D::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[708]); } void Ifc4x3_tc1::IfcOffsetCurve3D::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_tc1::IfcDirection v4_RefDirection) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_Distance));set_attribute_value(2, (v3_SelfIntersect));set_attribute_value(3, (v4_RefDirection)); } // Function implementations for IfcOffsetCurveByDistances @@ -12228,7 +12228,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcOffsetCurveByDistances::Tag() const void Ifc4x3_tc1::IfcOffsetCurveByDistances::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcOffsetCurveByDistances::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[709]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOffsetCurveByDistances::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[709]); } void Ifc4x3_tc1::IfcOffsetCurveByDistances::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_tc1::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_OffsetValues)); if (v3_Tag) {set_attribute_value(2, (*v3_Tag)); } } // Function implementations for IfcOpenCrossProfileDef @@ -12244,23 +12244,23 @@ void Ifc4x3_tc1::IfcOpenCrossProfileDef::setTags(const std::optional< std::vecto void Ifc4x3_tc1::IfcOpenCrossProfileDef::setOffsetPoint(const ::Ifc4x3_tc1::IfcCartesianPoint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcOpenCrossProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[710]); } -void Ifc4x3_tc1::IfcOpenCrossProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_tc1::IfcCartesianPoint v7_OffsetPoint) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::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)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOpenCrossProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[710]); } +void Ifc4x3_tc1::IfcOpenCrossProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_tc1::IfcCartesianPoint v7_OffsetPoint) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::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)); } // Function implementations for IfcOpenShell -const IfcParse::entity& Ifc4x3_tc1::IfcOpenShell::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[713]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOpenShell::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[713]); } void Ifc4x3_tc1::IfcOpenShell::initialize(std::vector< ::Ifc4x3_tc1::IfcFace > v1_CfsFaces) { set_attribute_value(0, cast_vector(v1_CfsFaces)); } // Function implementations for IfcOpeningElement std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value > Ifc4x3_tc1::IfcOpeningElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcOpeningElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_tc1::IfcRelFillsElement> Ifc4x3_tc1::IfcOpeningElement::HasFillings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[934], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelFillsElement> Ifc4x3_tc1::IfcOpeningElement::HasFillings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[934], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcOpeningElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[711]); } -void Ifc4x3_tc1::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOpeningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[711]); } +void Ifc4x3_tc1::IfcOpeningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOrganization std::optional< std::string > Ifc4x3_tc1::IfcOrganization::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12274,11 +12274,11 @@ void Ifc4x3_tc1::IfcOrganization::setRoles(const std::optional< std::vector< ::I std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > Ifc4x3_tc1::IfcOrganization::Addresses() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(4); return cast_vector<::Ifc4x3_tc1::IfcAddress>(es); } void Ifc4x3_tc1::IfcOrganization::setAddresses(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > >& v) { if (v) {set_attribute_value(4, cast_vector(*v));} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_tc1::IfcOrganizationRelationship> Ifc4x3_tc1::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[715], 3)); } -std::vector<::Ifc4x3_tc1::IfcOrganizationRelationship> Ifc4x3_tc1::IfcOrganization::Relates() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[715], 2)); } -std::vector<::Ifc4x3_tc1::IfcPersonAndOrganization> Ifc4x3_tc1::IfcOrganization::Engages() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[736], 1)); } +std::vector<::Ifc4x3_tc1::IfcOrganizationRelationship> Ifc4x3_tc1::IfcOrganization::IsRelatedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[715], 3)); } +std::vector<::Ifc4x3_tc1::IfcOrganizationRelationship> Ifc4x3_tc1::IfcOrganization::Relates() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[715], 2)); } +std::vector<::Ifc4x3_tc1::IfcPersonAndOrganization> Ifc4x3_tc1::IfcOrganization::Engages() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[736], 1)); } -const IfcParse::entity& Ifc4x3_tc1::IfcOrganization::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[714]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[714]); } void Ifc4x3_tc1::IfcOrganization::initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > v5_Addresses) { 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, cast_vector(*v4_Roles)); } if (v5_Addresses) {set_attribute_value(4, cast_vector(*v5_Addresses)); } } // Function implementations for IfcOrganizationRelationship @@ -12288,7 +12288,7 @@ std::vector< ::Ifc4x3_tc1::IfcOrganization > Ifc4x3_tc1::IfcOrganizationRelation void Ifc4x3_tc1::IfcOrganizationRelationship::setRelatedOrganizations(const std::vector< ::Ifc4x3_tc1::IfcOrganization >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcOrganizationRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[715]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOrganizationRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[715]); } void Ifc4x3_tc1::IfcOrganizationRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_tc1::IfcOrganization > v4_RelatedOrganizations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingOrganization));set_attribute_value(3, cast_vector(v4_RelatedOrganizations)); } // Function implementations for IfcOrientedEdge @@ -12298,30 +12298,30 @@ bool Ifc4x3_tc1::IfcOrientedEdge::Orientation() const { bool v = get_attribute_ void Ifc4x3_tc1::IfcOrientedEdge::setOrientation(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcOrientedEdge::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[716]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOrientedEdge::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[716]); } void Ifc4x3_tc1::IfcOrientedEdge::initialize(::Ifc4x3_tc1::IfcEdge v3_EdgeElement, bool v4_Orientation) { set_attribute_value(2, (v3_EdgeElement));set_attribute_value(3, (v4_Orientation)); } // Function implementations for IfcOuterBoundaryCurve -const IfcParse::entity& Ifc4x3_tc1::IfcOuterBoundaryCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[717]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOuterBoundaryCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[717]); } void Ifc4x3_tc1::IfcOuterBoundaryCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect)); } // Function implementations for IfcOutlet std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value > Ifc4x3_tc1::IfcOutlet::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcOutletTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcOutlet::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcOutlet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[718]); } -void Ifc4x3_tc1::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOutlet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[718]); } +void Ifc4x3_tc1::IfcOutlet::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcOutletType ::Ifc4x3_tc1::IfcOutletTypeEnum::Value Ifc4x3_tc1::IfcOutletType::PredefinedType() const { return ::Ifc4x3_tc1::IfcOutletTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcOutletType::setPredefinedType(const ::Ifc4x3_tc1::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcOutletType::setPredefinedType(const ::Ifc4x3_tc1::IfcOutletTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcOutletType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[719]); } -void Ifc4x3_tc1::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOutletType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[719]); } +void Ifc4x3_tc1::IfcOutletType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcOutletTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcOutletTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcOwnerHistory ::Ifc4x3_tc1::IfcPersonAndOrganization Ifc4x3_tc1::IfcOwnerHistory::OwningUser() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcPersonAndOrganization>(); } @@ -12329,9 +12329,9 @@ void Ifc4x3_tc1::IfcOwnerHistory::setOwningUser(const ::Ifc4x3_tc1::IfcPersonAnd ::Ifc4x3_tc1::IfcApplication Ifc4x3_tc1::IfcOwnerHistory::OwningApplication() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcApplication>(); } void Ifc4x3_tc1::IfcOwnerHistory::setOwningApplication(const ::Ifc4x3_tc1::IfcApplication& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > Ifc4x3_tc1::IfcOwnerHistory::State() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStateEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_tc1::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_tc1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_tc1::IfcOwnerHistory::setState(const std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< ::Ifc4x3_tc1::IfcChangeActionEnum::Value > Ifc4x3_tc1::IfcOwnerHistory::ChangeAction() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcChangeActionEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_tc1::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_tc1::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_tc1::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_tc1::IfcOwnerHistory::setChangeAction(const std::optional< ::Ifc4x3_tc1::IfcChangeActionEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_tc1::IfcChangeActionEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< int > Ifc4x3_tc1::IfcOwnerHistory::LastModifiedDate() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } int v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcOwnerHistory::setLastModifiedDate(const std::optional< int >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } ::Ifc4x3_tc1::IfcPersonAndOrganization Ifc4x3_tc1::IfcOwnerHistory::LastModifyingUser() const { if(get_attribute_value(5).isNull()) { return ::Ifc4x3_tc1::IfcPersonAndOrganization{}; } return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcPersonAndOrganization>(); } @@ -12342,40 +12342,40 @@ int Ifc4x3_tc1::IfcOwnerHistory::CreationDate() const { int v = get_attribute_v void Ifc4x3_tc1::IfcOwnerHistory::setCreationDate(const int& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_tc1::IfcOwnerHistory::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[721]); } -void Ifc4x3_tc1::IfcOwnerHistory::initialize(::Ifc4x3_tc1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_tc1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_tc1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_tc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_tc1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_tc1::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcOwnerHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[721]); } +void Ifc4x3_tc1::IfcOwnerHistory::initialize(::Ifc4x3_tc1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_tc1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_tc1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_tc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_tc1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate) { set_attribute_value(0, (v1_OwningUser));set_attribute_value(1, (v2_OwningApplication)); if (v3_State) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcStateEnum::Class(),(size_t)*v3_State))); } if (v4_ChangeAction) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::IfcChangeActionEnum::Class(),(size_t)*v4_ChangeAction))); } if (v5_LastModifiedDate) {set_attribute_value(4, (*v5_LastModifiedDate)); }set_attribute_value(5, (v6_LastModifyingUser));set_attribute_value(6, (v7_LastModifyingApplication));set_attribute_value(7, (v8_CreationDate)); } // Function implementations for IfcParameterizedProfileDef ::Ifc4x3_tc1::IfcAxis2Placement2D Ifc4x3_tc1::IfcParameterizedProfileDef::Position() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement2D{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcAxis2Placement2D>(); } void Ifc4x3_tc1::IfcParameterizedProfileDef::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement2D& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcParameterizedProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[722]); } -void Ifc4x3_tc1::IfcParameterizedProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcParameterizedProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[722]); } +void Ifc4x3_tc1::IfcParameterizedProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position)); } // Function implementations for IfcPath std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > Ifc4x3_tc1::IfcPath::EdgeList() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcOrientedEdge>(es); } void Ifc4x3_tc1::IfcPath::setEdgeList(const std::vector< ::Ifc4x3_tc1::IfcOrientedEdge >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcPath::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[724]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPath::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[724]); } void Ifc4x3_tc1::IfcPath::initialize(std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > v1_EdgeList) { set_attribute_value(0, cast_vector(v1_EdgeList)); } // Function implementations for IfcPavement std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value > Ifc4x3_tc1::IfcPavement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPavementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcPavement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPavement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[725]); } -void Ifc4x3_tc1::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPavement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[725]); } +void Ifc4x3_tc1::IfcPavement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPavementType ::Ifc4x3_tc1::IfcPavementTypeEnum::Value Ifc4x3_tc1::IfcPavementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPavementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcPavementType::setPredefinedType(const ::Ifc4x3_tc1::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcPavementType::setPredefinedType(const ::Ifc4x3_tc1::IfcPavementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcPavementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[726]); } -void Ifc4x3_tc1::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPavementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[726]); } +void Ifc4x3_tc1::IfcPavementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPavementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPavementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPcurve ::Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcPcurve::BasisSurface() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcSurface>(); } @@ -12384,24 +12384,24 @@ void Ifc4x3_tc1::IfcPcurve::setBasisSurface(const ::Ifc4x3_tc1::IfcSurface& v) { void Ifc4x3_tc1::IfcPcurve::setReferenceCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcPcurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[728]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPcurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[728]); } void Ifc4x3_tc1::IfcPcurve::initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, ::Ifc4x3_tc1::IfcCurve v2_ReferenceCurve) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_ReferenceCurve)); } // Function implementations for IfcPerformanceHistory std::string Ifc4x3_tc1::IfcPerformanceHistory::LifeCyclePhase() const { std::string v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcPerformanceHistory::setLifeCyclePhase(const std::string& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value > Ifc4x3_tc1::IfcPerformanceHistory::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_tc1::IfcPerformanceHistory::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPerformanceHistory::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[729]); } -void Ifc4x3_tc1::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPerformanceHistory::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[729]); } +void Ifc4x3_tc1::IfcPerformanceHistory::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcPermeableCoveringProperties ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value Ifc4x3_tc1::IfcPermeableCoveringProperties::OperationType() const { return ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_tc1::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_tc1::IfcPermeableCoveringProperties::setOperationType(const ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value Ifc4x3_tc1::IfcPermeableCoveringProperties::PanelPosition() const { return ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_tc1::IfcPermeableCoveringProperties::setPanelPosition(const ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_tc1::IfcPermeableCoveringProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcPermeableCoveringProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_tc1::IfcPermeableCoveringProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -12410,20 +12410,20 @@ void Ifc4x3_tc1::IfcPermeableCoveringProperties::setFrameThickness(const std::op void Ifc4x3_tc1::IfcPermeableCoveringProperties::setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcPermeableCoveringProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[732]); } -void Ifc4x3_tc1::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_tc1::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)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPermeableCoveringProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[732]); } +void Ifc4x3_tc1::IfcPermeableCoveringProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::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)); } // Function implementations for IfcPermit std::optional< ::Ifc4x3_tc1::IfcPermitTypeEnum::Value > Ifc4x3_tc1::IfcPermit::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPermitTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_tc1::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_tc1::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_tc1::IfcPermit::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPermitTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcPermitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_tc1::IfcPermit::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcPermit::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_tc1::IfcPermit::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcPermit::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPermit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[733]); } -void Ifc4x3_tc1::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPermit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[733]); } +void Ifc4x3_tc1::IfcPermit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcPermitTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcPerson std::optional< std::string > Ifc4x3_tc1::IfcPerson::Identification() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -12443,9 +12443,9 @@ void Ifc4x3_tc1::IfcPerson::setRoles(const std::optional< std::vector< ::Ifc4x3_ std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > Ifc4x3_tc1::IfcPerson::Addresses() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcAddress>(es); } void Ifc4x3_tc1::IfcPerson::setAddresses(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_tc1::IfcPersonAndOrganization> Ifc4x3_tc1::IfcPerson::EngagedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[736], 0)); } +std::vector<::Ifc4x3_tc1::IfcPersonAndOrganization> Ifc4x3_tc1::IfcPerson::EngagedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[736], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcPerson::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[735]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPerson::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[735]); } void Ifc4x3_tc1::IfcPerson::initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > v8_Addresses) { 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, cast_vector(*v7_Roles)); } if (v8_Addresses) {set_attribute_value(7, cast_vector(*v8_Addresses)); } } // Function implementations for IfcPersonAndOrganization @@ -12457,7 +12457,7 @@ std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > Ifc4x3_tc1::IfcPerson void Ifc4x3_tc1::IfcPersonAndOrganization::setRoles(const std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPersonAndOrganization::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[736]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPersonAndOrganization::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[736]); } void Ifc4x3_tc1::IfcPersonAndOrganization::initialize(::Ifc4x3_tc1::IfcPerson v1_ThePerson, ::Ifc4x3_tc1::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > v3_Roles) { set_attribute_value(0, (v1_ThePerson));set_attribute_value(1, (v2_TheOrganization)); if (v3_Roles) {set_attribute_value(2, cast_vector(*v3_Roles)); } } // Function implementations for IfcPhysicalComplexQuantity @@ -12471,7 +12471,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcPhysicalComplexQuantity::Usage() con void Ifc4x3_tc1::IfcPhysicalComplexQuantity::setUsage(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPhysicalComplexQuantity::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[738]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPhysicalComplexQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[738]); } void Ifc4x3_tc1::IfcPhysicalComplexQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_HasQuantities));set_attribute_value(3, (v4_Discrimination)); if (v5_Quality) {set_attribute_value(4, (*v5_Quality)); } if (v6_Usage) {set_attribute_value(5, (*v6_Usage)); } } // Function implementations for IfcPhysicalQuantity @@ -12480,10 +12480,10 @@ void Ifc4x3_tc1::IfcPhysicalQuantity::setName(const std::string& v) { set_attrib std::optional< std::string > Ifc4x3_tc1::IfcPhysicalQuantity::Description() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcPhysicalQuantity::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -std::vector<::Ifc4x3_tc1::IfcPhysicalComplexQuantity> Ifc4x3_tc1::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[738], 2)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcPhysicalQuantity::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcPhysicalComplexQuantity> Ifc4x3_tc1::IfcPhysicalQuantity::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[738], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcPhysicalQuantity::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[740]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPhysicalQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[740]); } void Ifc4x3_tc1::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcPhysicalSimpleQuantity @@ -12491,58 +12491,58 @@ void Ifc4x3_tc1::IfcPhysicalQuantity::initialize(std::string v1_Name, std::optio void Ifc4x3_tc1::IfcPhysicalSimpleQuantity::setUnit(const ::Ifc4x3_tc1::IfcNamedUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcPhysicalSimpleQuantity::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[741]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPhysicalSimpleQuantity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[741]); } void Ifc4x3_tc1::IfcPhysicalSimpleQuantity::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPile std::optional< ::Ifc4x3_tc1::IfcPileTypeEnum::Value > Ifc4x3_tc1::IfcPile::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPileTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcPile::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPileTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value > Ifc4x3_tc1::IfcPile::ConstructionType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPileConstructionEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcPile::setConstructionType(const std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPileConstructionEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPile::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[742]); } -void Ifc4x3_tc1::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPile::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[742]); } +void Ifc4x3_tc1::IfcPile::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value > v10_ConstructionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(),(size_t)*v9_PredefinedType))); } if (v10_ConstructionType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPileConstructionEnum::Class(),(size_t)*v10_ConstructionType))); } } // Function implementations for IfcPileType ::Ifc4x3_tc1::IfcPileTypeEnum::Value Ifc4x3_tc1::IfcPileType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPileTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcPileType::setPredefinedType(const ::Ifc4x3_tc1::IfcPileTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcPileType::setPredefinedType(const ::Ifc4x3_tc1::IfcPileTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcPileType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[744]); } -void Ifc4x3_tc1::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPileType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[744]); } +void Ifc4x3_tc1::IfcPileType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPileTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPileTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeFitting std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value > Ifc4x3_tc1::IfcPipeFitting::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcPipeFitting::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPipeFitting::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[746]); } -void Ifc4x3_tc1::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPipeFitting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[746]); } +void Ifc4x3_tc1::IfcPipeFitting::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeFittingType ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value Ifc4x3_tc1::IfcPipeFittingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcPipeFittingType::setPredefinedType(const ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcPipeFittingType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[747]); } -void Ifc4x3_tc1::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPipeFittingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[747]); } +void Ifc4x3_tc1::IfcPipeFittingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPipeSegment std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value > Ifc4x3_tc1::IfcPipeSegment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcPipeSegment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPipeSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[749]); } -void Ifc4x3_tc1::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPipeSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[749]); } +void Ifc4x3_tc1::IfcPipeSegment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPipeSegmentType ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value Ifc4x3_tc1::IfcPipeSegmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcPipeSegmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcPipeSegmentType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[750]); } -void Ifc4x3_tc1::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPipeSegmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[750]); } +void Ifc4x3_tc1::IfcPipeSegmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPixelTexture int Ifc4x3_tc1::IfcPixelTexture::Width() const { int v = get_attribute_value(5); return v; } @@ -12555,7 +12555,7 @@ std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Ifc4x3_tc1::IfcPixelTexture::Pi void Ifc4x3_tc1::IfcPixelTexture::setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcPixelTexture::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[752]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPixelTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[752]); } void Ifc4x3_tc1::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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) { 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)); 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)); } // Function implementations for IfcPlacement @@ -12563,7 +12563,7 @@ void Ifc4x3_tc1::IfcPixelTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, s void Ifc4x3_tc1::IfcPlacement::setLocation(const ::Ifc4x3_tc1::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcPlacement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[753]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPlacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[753]); } void Ifc4x3_tc1::IfcPlacement::initialize(::Ifc4x3_tc1::IfcPoint v1_Location) { set_attribute_value(0, (v1_Location)); } // Function implementations for IfcPlanarBox @@ -12571,7 +12571,7 @@ void Ifc4x3_tc1::IfcPlacement::initialize(::Ifc4x3_tc1::IfcPoint v1_Location) { void Ifc4x3_tc1::IfcPlanarBox::setPlacement(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcPlanarBox::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[754]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPlanarBox::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[754]); } void Ifc4x3_tc1::IfcPlanarBox::initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_tc1::IfcAxis2Placement v3_Placement) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY));set_attribute_value(2, (v3_Placement)); } // Function implementations for IfcPlanarExtent @@ -12581,35 +12581,35 @@ double Ifc4x3_tc1::IfcPlanarExtent::SizeInY() const { double v = get_attribute_ void Ifc4x3_tc1::IfcPlanarExtent::setSizeInY(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcPlanarExtent::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[755]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPlanarExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[755]); } void Ifc4x3_tc1::IfcPlanarExtent::initialize(double v1_SizeInX, double v2_SizeInY) { set_attribute_value(0, (v1_SizeInX));set_attribute_value(1, (v2_SizeInY)); } // Function implementations for IfcPlane -const IfcParse::entity& Ifc4x3_tc1::IfcPlane::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[757]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPlane::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[757]); } void Ifc4x3_tc1::IfcPlane::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcPlate std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value > Ifc4x3_tc1::IfcPlate::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPlateTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcPlate::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPlate::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[759]); } -void Ifc4x3_tc1::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPlate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[759]); } +void Ifc4x3_tc1::IfcPlate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPlateType ::Ifc4x3_tc1::IfcPlateTypeEnum::Value Ifc4x3_tc1::IfcPlateType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPlateTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcPlateType::setPredefinedType(const ::Ifc4x3_tc1::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcPlateType::setPredefinedType(const ::Ifc4x3_tc1::IfcPlateTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcPlateType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[760]); } -void Ifc4x3_tc1::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPlateType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[760]); } +void Ifc4x3_tc1::IfcPlateType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPlateTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPlateTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPoint -const IfcParse::entity& Ifc4x3_tc1::IfcPoint::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[762]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[762]); } void Ifc4x3_tc1::IfcPoint::initialize() { } // Function implementations for IfcPointByDistanceExpression @@ -12625,7 +12625,7 @@ void Ifc4x3_tc1::IfcPointByDistanceExpression::setOffsetLongitudinal(const std:: void Ifc4x3_tc1::IfcPointByDistanceExpression::setBasisCurve(const ::Ifc4x3_tc1::IfcCurve& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcPointByDistanceExpression::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[763]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPointByDistanceExpression::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[763]); } void Ifc4x3_tc1::IfcPointByDistanceExpression::initialize(::Ifc4x3_tc1::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_tc1::IfcCurve v5_BasisCurve) { set_attribute_value(0, (v1_DistanceAlong)); 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)); } // Function implementations for IfcPointOnCurve @@ -12635,7 +12635,7 @@ double Ifc4x3_tc1::IfcPointOnCurve::PointParameter() const { double v = get_att void Ifc4x3_tc1::IfcPointOnCurve::setPointParameter(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcPointOnCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[764]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPointOnCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[764]); } void Ifc4x3_tc1::IfcPointOnCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, double v2_PointParameter) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, (v2_PointParameter)); } // Function implementations for IfcPointOnSurface @@ -12647,7 +12647,7 @@ double Ifc4x3_tc1::IfcPointOnSurface::PointParameterV() const { double v = get_ void Ifc4x3_tc1::IfcPointOnSurface::setPointParameterV(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcPointOnSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[765]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPointOnSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[765]); } void Ifc4x3_tc1::IfcPointOnSurface::initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV) { set_attribute_value(0, (v1_BasisSurface));set_attribute_value(1, (v2_PointParameterU));set_attribute_value(2, (v3_PointParameterV)); } // Function implementations for IfcPolyLoop @@ -12655,7 +12655,7 @@ std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > Ifc4x3_tc1::IfcPolyLoop::Polygon( void Ifc4x3_tc1::IfcPolyLoop::setPolygon(const std::vector< ::Ifc4x3_tc1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcPolyLoop::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[770]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPolyLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[770]); } void Ifc4x3_tc1::IfcPolyLoop::initialize(std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v1_Polygon) { set_attribute_value(0, cast_vector(v1_Polygon)); } // Function implementations for IfcPolygonalBoundedHalfSpace @@ -12665,7 +12665,7 @@ void Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::setPosition(const ::Ifc4x3_tc1::I void Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::setPolygonalBoundary(const ::Ifc4x3_tc1::IfcBoundedCurve& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[767]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[767]); } void Ifc4x3_tc1::IfcPolygonalBoundedHalfSpace::initialize(::Ifc4x3_tc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_tc1::IfcAxis2Placement3D v3_Position, ::Ifc4x3_tc1::IfcBoundedCurve v4_PolygonalBoundary) { set_attribute_value(0, (v1_BaseSurface));set_attribute_value(1, (v2_AgreementFlag));set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_PolygonalBoundary)); } // Function implementations for IfcPolygonalFaceSet @@ -12677,7 +12677,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_tc1::IfcPolygonalFaceSet::P void Ifc4x3_tc1::IfcPolygonalFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPolygonalFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[768]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPolygonalFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[768]); } void Ifc4x3_tc1::IfcPolygonalFaceSet::initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_tc1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex) { set_attribute_value(0, (v1_Coordinates)); if (v2_Closed) {set_attribute_value(1, (*v2_Closed)); }set_attribute_value(2, cast_vector(v3_Faces)); if (v4_PnIndex) {set_attribute_value(3, (*v4_PnIndex)); } } // Function implementations for IfcPolyline @@ -12685,7 +12685,7 @@ std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > Ifc4x3_tc1::IfcPolyline::Points() void Ifc4x3_tc1::IfcPolyline::setPoints(const std::vector< ::Ifc4x3_tc1::IfcCartesianPoint >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcPolyline::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[769]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPolyline::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[769]); } void Ifc4x3_tc1::IfcPolyline::initialize(std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v1_Points) { set_attribute_value(0, cast_vector(v1_Points)); } // Function implementations for IfcPolynomialCurve @@ -12699,24 +12699,24 @@ std::optional< std::vector< double > /*[2:?]*/ > Ifc4x3_tc1::IfcPolynomialCurve: void Ifc4x3_tc1::IfcPolynomialCurve::setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPolynomialCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[771]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPolynomialCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[771]); } void Ifc4x3_tc1::IfcPolynomialCurve::initialize(::Ifc4x3_tc1::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ) { set_attribute_value(0, (v1_Position)); 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)); } } // Function implementations for IfcPort -std::vector<::Ifc4x3_tc1::IfcRelConnectsPortToElement> Ifc4x3_tc1::IfcPort::ContainedIn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[919], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelConnectsPorts> Ifc4x3_tc1::IfcPort::ConnectedFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[918], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelConnectsPorts> Ifc4x3_tc1::IfcPort::ConnectedTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[918], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsPortToElement> Ifc4x3_tc1::IfcPort::ContainedIn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[919], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsPorts> Ifc4x3_tc1::IfcPort::ConnectedFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[918], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsPorts> Ifc4x3_tc1::IfcPort::ConnectedTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[918], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcPort::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[772]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPort::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[772]); } void Ifc4x3_tc1::IfcPort::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPositioningElement -std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[924], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelPositions> Ifc4x3_tc1::IfcPositioningElement::Positions() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[938], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcPositioningElement::ContainedInStructure() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[924], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelPositions> Ifc4x3_tc1::IfcPositioningElement::Positions() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[938], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcPositioningElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[773]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPositioningElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[773]); } void Ifc4x3_tc1::IfcPositioningElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcPostalAddress @@ -12736,19 +12736,19 @@ std::optional< std::string > Ifc4x3_tc1::IfcPostalAddress::Country() const { if( void Ifc4x3_tc1::IfcPostalAddress::setCountry(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPostalAddress::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[778]); } -void Ifc4x3_tc1::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPostalAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[778]); } +void Ifc4x3_tc1::IfcPostalAddress::initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcPreDefinedColour -const IfcParse::entity& Ifc4x3_tc1::IfcPreDefinedColour::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[780]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedColour::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[780]); } void Ifc4x3_tc1::IfcPreDefinedColour::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedCurveFont -const IfcParse::entity& Ifc4x3_tc1::IfcPreDefinedCurveFont::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[781]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedCurveFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[781]); } void Ifc4x3_tc1::IfcPreDefinedCurveFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedItem @@ -12756,31 +12756,31 @@ std::string Ifc4x3_tc1::IfcPreDefinedItem::Name() const { std::string v = get_a void Ifc4x3_tc1::IfcPreDefinedItem::setName(const std::string& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcPreDefinedItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[782]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[782]); } void Ifc4x3_tc1::IfcPreDefinedItem::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPreDefinedProperties -const IfcParse::entity& Ifc4x3_tc1::IfcPreDefinedProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[783]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[783]); } void Ifc4x3_tc1::IfcPreDefinedProperties::initialize() { } // Function implementations for IfcPreDefinedPropertySet -const IfcParse::entity& Ifc4x3_tc1::IfcPreDefinedPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[784]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[784]); } void Ifc4x3_tc1::IfcPreDefinedPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPreDefinedTextFont -const IfcParse::entity& Ifc4x3_tc1::IfcPreDefinedTextFont::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[785]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPreDefinedTextFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[785]); } void Ifc4x3_tc1::IfcPreDefinedTextFont::initialize(std::string v1_Name) { set_attribute_value(0, (v1_Name)); } // Function implementations for IfcPresentationItem -const IfcParse::entity& Ifc4x3_tc1::IfcPresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[788]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[788]); } void Ifc4x3_tc1::IfcPresentationItem::initialize() { } // Function implementations for IfcPresentationLayerAssignment @@ -12794,7 +12794,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcPresentationLayerAssignment::Identif void Ifc4x3_tc1::IfcPresentationLayerAssignment::setIdentifier(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPresentationLayerAssignment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[789]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPresentationLayerAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[789]); } void Ifc4x3_tc1::IfcPresentationLayerAssignment::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); if (v4_Identifier) {set_attribute_value(3, (*v4_Identifier)); } } // Function implementations for IfcPresentationLayerWithStyle @@ -12808,7 +12808,7 @@ std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > Ifc4x3_tc1::IfcPresentationLay void Ifc4x3_tc1::IfcPresentationLayerWithStyle::setLayerStyles(const std::vector< ::Ifc4x3_tc1::IfcPresentationStyle >& v) { set_attribute_value(7, cast_vector(v));if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_tc1::IfcPresentationLayerWithStyle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[790]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPresentationLayerWithStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[790]); } void Ifc4x3_tc1::IfcPresentationLayerWithStyle::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > v8_LayerStyles) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_AssignedItems)); 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, cast_vector(v8_LayerStyles)); } // Function implementations for IfcPresentationStyle @@ -12816,24 +12816,24 @@ std::optional< std::string > Ifc4x3_tc1::IfcPresentationStyle::Name() const { if void Ifc4x3_tc1::IfcPresentationStyle::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPresentationStyle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[791]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPresentationStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[791]); } void Ifc4x3_tc1::IfcPresentationStyle::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcProcedure std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value > Ifc4x3_tc1::IfcProcedure::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProcedureTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_tc1::IfcProcedure::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcProcedure::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[793]); } -void Ifc4x3_tc1::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProcedure::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[793]); } +void Ifc4x3_tc1::IfcProcedure::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcProcedureType ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value Ifc4x3_tc1::IfcProcedureType::PredefinedType() const { return ::Ifc4x3_tc1::IfcProcedureTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcProcedureType::setPredefinedType(const ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcProcedureType::setPredefinedType(const ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcProcedureType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[794]); } -void Ifc4x3_tc1::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_tc1::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProcedureType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[794]); } +void Ifc4x3_tc1::IfcProcedureType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_tc1::IfcProcedureTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProcess std::optional< std::string > Ifc4x3_tc1::IfcProcess::Identification() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -12841,11 +12841,11 @@ void Ifc4x3_tc1::IfcProcess::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_tc1::IfcProcess::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcProcess::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_tc1::IfcRelSequence> Ifc4x3_tc1::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[941], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelSequence> Ifc4x3_tc1::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[941], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelAssignsToProcess> Ifc4x3_tc1::IfcProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[903], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelSequence> Ifc4x3_tc1::IfcProcess::IsPredecessorTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[941], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelSequence> Ifc4x3_tc1::IfcProcess::IsSuccessorFrom() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[941], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelAssignsToProcess> Ifc4x3_tc1::IfcProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[903], 6)); } -const IfcParse::entity& Ifc4x3_tc1::IfcProcess::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[796]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[796]); } void Ifc4x3_tc1::IfcProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcProduct @@ -12854,19 +12854,19 @@ void Ifc4x3_tc1::IfcProduct::setObjectPlacement(const ::Ifc4x3_tc1::IfcObjectPla ::Ifc4x3_tc1::IfcProductRepresentation Ifc4x3_tc1::IfcProduct::Representation() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcProductRepresentation{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcProductRepresentation>(); } void Ifc4x3_tc1::IfcProduct::setRepresentation(const ::Ifc4x3_tc1::IfcProductRepresentation& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_tc1::IfcRelAssignsToProduct> Ifc4x3_tc1::IfcProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[904], 6)); } -std::vector<::Ifc4x3_tc1::IfcRelPositions> Ifc4x3_tc1::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[938], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[940], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelAssignsToProduct> Ifc4x3_tc1::IfcProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[904], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelPositions> Ifc4x3_tc1::IfcProduct::PositionedRelativeTo() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[938], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcProduct::ReferencedInStructures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[940], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcProduct::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[798]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[798]); } void Ifc4x3_tc1::IfcProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcProductDefinitionShape -std::vector<::Ifc4x3_tc1::IfcProduct> Ifc4x3_tc1::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[798], 6)); } -std::vector<::Ifc4x3_tc1::IfcShapeAspect> Ifc4x3_tc1::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1003], 4)); } +std::vector<::Ifc4x3_tc1::IfcProduct> Ifc4x3_tc1::IfcProductDefinitionShape::ShapeOfProduct() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[798], 6)); } +std::vector<::Ifc4x3_tc1::IfcShapeAspect> Ifc4x3_tc1::IfcProductDefinitionShape::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1003], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcProductDefinitionShape::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[799]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProductDefinitionShape::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[799]); } void Ifc4x3_tc1::IfcProductDefinitionShape::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProductRepresentation @@ -12878,52 +12878,52 @@ std::vector< ::Ifc4x3_tc1::IfcRepresentation > Ifc4x3_tc1::IfcProductRepresentat void Ifc4x3_tc1::IfcProductRepresentation::setRepresentations(const std::vector< ::Ifc4x3_tc1::IfcRepresentation >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcProductRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[800]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProductRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[800]); } void Ifc4x3_tc1::IfcProductRepresentation::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcRepresentation > v3_Representations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Representations)); } // Function implementations for IfcProfileDef ::Ifc4x3_tc1::IfcProfileTypeEnum::Value Ifc4x3_tc1::IfcProfileDef::ProfileType() const { return ::Ifc4x3_tc1::IfcProfileTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_tc1::IfcProfileDef::setProfileType(const ::Ifc4x3_tc1::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_tc1::IfcProfileDef::setProfileType(const ::Ifc4x3_tc1::IfcProfileTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::string > Ifc4x3_tc1::IfcProfileDef::ProfileName() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcProfileDef::setProfileName(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -std::vector<::Ifc4x3_tc1::IfcProfileProperties> Ifc4x3_tc1::IfcProfileDef::HasProperties() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[804], 3)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcProfileDef::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcProfileProperties> Ifc4x3_tc1::IfcProfileDef::HasProperties() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[804], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[803]); } -void Ifc4x3_tc1::IfcProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[803]); } +void Ifc4x3_tc1::IfcProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); } } // Function implementations for IfcProfileProperties ::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcProfileProperties::ProfileDefinition() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcProfileDef>(); } void Ifc4x3_tc1::IfcProfileProperties::setProfileDefinition(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcProfileProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[804]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProfileProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[804]); } void Ifc4x3_tc1::IfcProfileProperties::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v3_Properties, ::Ifc4x3_tc1::IfcProfileDef v4_ProfileDefinition) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_Properties));set_attribute_value(3, (v4_ProfileDefinition)); } // Function implementations for IfcProject -const IfcParse::entity& Ifc4x3_tc1::IfcProject::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[806]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProject::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[806]); } void Ifc4x3_tc1::IfcProject::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_tc1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectLibrary -const IfcParse::entity& Ifc4x3_tc1::IfcProjectLibrary::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[811]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProjectLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[811]); } void Ifc4x3_tc1::IfcProjectLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_tc1::IfcUnitAssignment v9_UnitsInContext) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_RepresentationContexts)); }set_attribute_value(8, (v9_UnitsInContext)); } // Function implementations for IfcProjectOrder std::optional< ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value > Ifc4x3_tc1::IfcProjectOrder::PredefinedType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_tc1::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, EnumerationReference(&::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } +void Ifc4x3_tc1::IfcProjectOrder::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value >& v) { if (v) {set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(6);} } std::optional< std::string > Ifc4x3_tc1::IfcProjectOrder::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcProjectOrder::setStatus(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_tc1::IfcProjectOrder::LongDescription() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcProjectOrder::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcProjectOrder::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[812]); } -void Ifc4x3_tc1::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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_tc1::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProjectOrder::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[812]); } +void Ifc4x3_tc1::IfcProjectOrder::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Class(),(size_t)*v7_PredefinedType))); } if (v8_Status) {set_attribute_value(7, (*v8_Status)); } if (v9_LongDescription) {set_attribute_value(8, (*v9_LongDescription)); } } // Function implementations for IfcProjectedCRS std::optional< std::string > Ifc4x3_tc1::IfcProjectedCRS::MapProjection() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -12934,16 +12934,16 @@ void Ifc4x3_tc1::IfcProjectedCRS::setMapZone(const std::optional< std::string >& void Ifc4x3_tc1::IfcProjectedCRS::setMapUnit(const ::Ifc4x3_tc1::IfcNamedUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcProjectedCRS::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[807]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProjectedCRS::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[807]); } void Ifc4x3_tc1::IfcProjectedCRS::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_tc1::IfcNamedUnit v7_MapUnit) { 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)); } // Function implementations for IfcProjectionElement std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value > Ifc4x3_tc1::IfcProjectionElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcProjectionElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcProjectionElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[809]); } -void Ifc4x3_tc1::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProjectionElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[809]); } +void Ifc4x3_tc1::IfcProjectionElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProperty std::string Ifc4x3_tc1::IfcProperty::Name() const { std::string v = get_attribute_value(0); return v; } @@ -12951,21 +12951,21 @@ void Ifc4x3_tc1::IfcProperty::setName(const std::string& v) { set_attribute_valu std::optional< std::string > Ifc4x3_tc1::IfcProperty::Specification() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcProperty::setSpecification(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_tc1::IfcPropertySet> Ifc4x3_tc1::IfcProperty::PartOfPset() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[823], 4)); } -std::vector<::Ifc4x3_tc1::IfcPropertyDependencyRelationship> Ifc4x3_tc1::IfcProperty::PropertyForDependance() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[818], 2)); } -std::vector<::Ifc4x3_tc1::IfcPropertyDependencyRelationship> Ifc4x3_tc1::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[818], 3)); } -std::vector<::Ifc4x3_tc1::IfcComplexProperty> Ifc4x3_tc1::IfcProperty::PartOfComplex() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[189], 3)); } -std::vector<::Ifc4x3_tc1::IfcResourceConstraintRelationship> Ifc4x3_tc1::IfcProperty::HasConstraints() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[954], 3)); } -std::vector<::Ifc4x3_tc1::IfcResourceApprovalRelationship> Ifc4x3_tc1::IfcProperty::HasApprovals() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[953], 2)); } +std::vector<::Ifc4x3_tc1::IfcPropertySet> Ifc4x3_tc1::IfcProperty::PartOfPset() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[823], 4)); } +std::vector<::Ifc4x3_tc1::IfcPropertyDependencyRelationship> Ifc4x3_tc1::IfcProperty::PropertyForDependance() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[818], 2)); } +std::vector<::Ifc4x3_tc1::IfcPropertyDependencyRelationship> Ifc4x3_tc1::IfcProperty::PropertyDependsOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[818], 3)); } +std::vector<::Ifc4x3_tc1::IfcComplexProperty> Ifc4x3_tc1::IfcProperty::PartOfComplex() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[189], 3)); } +std::vector<::Ifc4x3_tc1::IfcResourceConstraintRelationship> Ifc4x3_tc1::IfcProperty::HasConstraints() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[954], 3)); } +std::vector<::Ifc4x3_tc1::IfcResourceApprovalRelationship> Ifc4x3_tc1::IfcProperty::HasApprovals() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[953], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcProperty::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[814]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[814]); } void Ifc4x3_tc1::IfcProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } // Function implementations for IfcPropertyAbstraction -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcPropertyAbstraction::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyAbstraction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[815]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyAbstraction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[815]); } void Ifc4x3_tc1::IfcPropertyAbstraction::initialize() { } // Function implementations for IfcPropertyBoundedValue @@ -12979,15 +12979,15 @@ void Ifc4x3_tc1::IfcPropertyBoundedValue::setUnit(const ::Ifc4x3_tc1::IfcUnit& v void Ifc4x3_tc1::IfcPropertyBoundedValue::setSetPointValue(const ::Ifc4x3_tc1::IfcValue& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyBoundedValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[816]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyBoundedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[816]); } void Ifc4x3_tc1::IfcPropertyBoundedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_tc1::IfcValue v3_UpperBoundValue, ::Ifc4x3_tc1::IfcValue v4_LowerBoundValue, ::Ifc4x3_tc1::IfcUnit v5_Unit, ::Ifc4x3_tc1::IfcValue v6_SetPointValue) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_UpperBoundValue));set_attribute_value(3, (v4_LowerBoundValue));set_attribute_value(4, (v5_Unit));set_attribute_value(5, (v6_SetPointValue)); } // Function implementations for IfcPropertyDefinition -std::vector<::Ifc4x3_tc1::IfcRelDeclares> Ifc4x3_tc1::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[927], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelAssociates> Ifc4x3_tc1::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[906], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelDeclares> Ifc4x3_tc1::IfcPropertyDefinition::HasContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[927], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelAssociates> Ifc4x3_tc1::IfcPropertyDefinition::HasAssociations() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[906], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyDefinition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[817]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[817]); } void Ifc4x3_tc1::IfcPropertyDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyDependencyRelationship @@ -12999,7 +12999,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcPropertyDependencyRelationship::Expr void Ifc4x3_tc1::IfcPropertyDependencyRelationship::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyDependencyRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[818]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyDependencyRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[818]); } void Ifc4x3_tc1::IfcPropertyDependencyRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcProperty v3_DependingProperty, ::Ifc4x3_tc1::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_DependingProperty));set_attribute_value(3, (v4_DependantProperty)); if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); } } // Function implementations for IfcPropertyEnumeratedValue @@ -13009,7 +13009,7 @@ void Ifc4x3_tc1::IfcPropertyEnumeratedValue::setEnumerationValues(const std::opt void Ifc4x3_tc1::IfcPropertyEnumeratedValue::setEnumerationReference(const ::Ifc4x3_tc1::IfcPropertyEnumeration& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyEnumeratedValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[819]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyEnumeratedValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[819]); } void Ifc4x3_tc1::IfcPropertyEnumeratedValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_EnumerationValues, ::Ifc4x3_tc1::IfcPropertyEnumeration v4_EnumerationReference) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_EnumerationValues) {set_attribute_value(2, cast_vector(*v3_EnumerationValues)); }set_attribute_value(3, (v4_EnumerationReference)); } // Function implementations for IfcPropertyEnumeration @@ -13021,7 +13021,7 @@ void Ifc4x3_tc1::IfcPropertyEnumeration::setEnumerationValues(const std::vector< void Ifc4x3_tc1::IfcPropertyEnumeration::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyEnumeration::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[820]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyEnumeration::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[820]); } void Ifc4x3_tc1::IfcPropertyEnumeration::initialize(std::string v1_Name, std::vector< ::Ifc4x3_tc1::IfcValue > v2_EnumerationValues, ::Ifc4x3_tc1::IfcUnit v3_Unit) { set_attribute_value(0, (v1_Name));set_attribute_value(1, cast_vector(v2_EnumerationValues));set_attribute_value(2, (v3_Unit)); } // Function implementations for IfcPropertyListValue @@ -13031,7 +13031,7 @@ void Ifc4x3_tc1::IfcPropertyListValue::setListValues(const std::optional< std::v void Ifc4x3_tc1::IfcPropertyListValue::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyListValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[821]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyListValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[821]); } void Ifc4x3_tc1::IfcPropertyListValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_ListValues, ::Ifc4x3_tc1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_ListValues) {set_attribute_value(2, cast_vector(*v3_ListValues)); }set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyReferenceValue @@ -13041,7 +13041,7 @@ void Ifc4x3_tc1::IfcPropertyReferenceValue::setUsageName(const std::optional< st void Ifc4x3_tc1::IfcPropertyReferenceValue::setPropertyReference(const ::Ifc4x3_tc1::IfcObjectReferenceSelect& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyReferenceValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[822]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyReferenceValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[822]); } void Ifc4x3_tc1::IfcPropertyReferenceValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::string > v3_UsageName, ::Ifc4x3_tc1::IfcObjectReferenceSelect v4_PropertyReference) { 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)); } // Function implementations for IfcPropertySet @@ -13049,30 +13049,30 @@ std::vector< ::Ifc4x3_tc1::IfcProperty > Ifc4x3_tc1::IfcPropertySet::HasProperti void Ifc4x3_tc1::IfcPropertySet::setHasProperties(const std::vector< ::Ifc4x3_tc1::IfcProperty >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertySet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[823]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertySet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[823]); } void Ifc4x3_tc1::IfcPropertySet::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v5_HasProperties) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_HasProperties)); } // Function implementations for IfcPropertySetDefinition -std::vector<::Ifc4x3_tc1::IfcTypeObject> Ifc4x3_tc1::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1238], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelDefinesByTemplate> Ifc4x3_tc1::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[932], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelDefinesByProperties> Ifc4x3_tc1::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[931], 5)); } +std::vector<::Ifc4x3_tc1::IfcTypeObject> Ifc4x3_tc1::IfcPropertySetDefinition::DefinesType() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1238], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelDefinesByTemplate> Ifc4x3_tc1::IfcPropertySetDefinition::IsDefinedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[932], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelDefinesByProperties> Ifc4x3_tc1::IfcPropertySetDefinition::DefinesOccurrence() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[931], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertySetDefinition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[824]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertySetDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[824]); } void Ifc4x3_tc1::IfcPropertySetDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertySetTemplate std::optional< ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value > Ifc4x3_tc1::IfcPropertySetTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_tc1::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_tc1::IfcPropertySetTemplate::setTemplateType(const std::optional< ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_tc1::IfcPropertySetTemplate::ApplicableEntity() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcPropertySetTemplate::setApplicableEntity(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > Ifc4x3_tc1::IfcPropertySetTemplate::HasPropertyTemplates() const { std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_tc1::IfcPropertyTemplate>(es); } void Ifc4x3_tc1::IfcPropertySetTemplate::setHasPropertyTemplates(const std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate >& v) { set_attribute_value(6, cast_vector(v));if constexpr (false)unset_attribute_value(6); } -std::vector<::Ifc4x3_tc1::IfcRelDefinesByTemplate> Ifc4x3_tc1::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[932], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelDefinesByTemplate> Ifc4x3_tc1::IfcPropertySetTemplate::Defines() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[932], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertySetTemplate::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[827]); } -void Ifc4x3_tc1::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_tc1::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertySetTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[827]); } +void Ifc4x3_tc1::IfcPropertySetTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > v7_HasPropertyTemplates) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Class(),(size_t)*v5_TemplateType))); } if (v6_ApplicableEntity) {set_attribute_value(5, (*v6_ApplicableEntity)); }set_attribute_value(6, cast_vector(v7_HasPropertyTemplates)); } // Function implementations for IfcPropertySingleValue ::Ifc4x3_tc1::IfcValue Ifc4x3_tc1::IfcPropertySingleValue::NominalValue() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcValue{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcValue>(); } @@ -13081,7 +13081,7 @@ void Ifc4x3_tc1::IfcPropertySingleValue::setNominalValue(const ::Ifc4x3_tc1::Ifc void Ifc4x3_tc1::IfcPropertySingleValue::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertySingleValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[829]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertySingleValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[829]); } void Ifc4x3_tc1::IfcPropertySingleValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_tc1::IfcValue v3_NominalValue, ::Ifc4x3_tc1::IfcUnit v4_Unit) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); }set_attribute_value(2, (v3_NominalValue));set_attribute_value(3, (v4_Unit)); } // Function implementations for IfcPropertyTableValue @@ -13096,73 +13096,73 @@ void Ifc4x3_tc1::IfcPropertyTableValue::setDefiningUnit(const ::Ifc4x3_tc1::IfcU ::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcPropertyTableValue::DefinedUnit() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcUnit>(); } void Ifc4x3_tc1::IfcPropertyTableValue::setDefinedUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value > Ifc4x3_tc1::IfcPropertyTableValue::CurveInterpolation() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcCurveInterpolationEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_tc1::IfcPropertyTableValue::setCurveInterpolation(const std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcCurveInterpolationEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyTableValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[830]); } -void Ifc4x3_tc1::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_tc1::IfcUnit v6_DefiningUnit, ::Ifc4x3_tc1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyTableValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[830]); } +void Ifc4x3_tc1::IfcPropertyTableValue::initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_tc1::IfcUnit v6_DefiningUnit, ::Ifc4x3_tc1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } if (v3_DefiningValues) {set_attribute_value(2, cast_vector(*v3_DefiningValues)); } if (v4_DefinedValues) {set_attribute_value(3, cast_vector(*v4_DefinedValues)); } if (v5_Expression) {set_attribute_value(4, (*v5_Expression)); }set_attribute_value(5, (v6_DefiningUnit));set_attribute_value(6, (v7_DefinedUnit)); if (v8_CurveInterpolation) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcCurveInterpolationEnum::Class(),(size_t)*v8_CurveInterpolation))); } } // Function implementations for IfcPropertyTemplate -std::vector<::Ifc4x3_tc1::IfcComplexPropertyTemplate> Ifc4x3_tc1::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[190], 6)); } -std::vector<::Ifc4x3_tc1::IfcPropertySetTemplate> Ifc4x3_tc1::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[827], 6)); } +std::vector<::Ifc4x3_tc1::IfcComplexPropertyTemplate> Ifc4x3_tc1::IfcPropertyTemplate::PartOfComplexTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[190], 6)); } +std::vector<::Ifc4x3_tc1::IfcPropertySetTemplate> Ifc4x3_tc1::IfcPropertyTemplate::PartOfPsetTemplate() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[827], 6)); } -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[831]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[831]); } void Ifc4x3_tc1::IfcPropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcPropertyTemplateDefinition -const IfcParse::entity& Ifc4x3_tc1::IfcPropertyTemplateDefinition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[832]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPropertyTemplateDefinition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[832]); } void Ifc4x3_tc1::IfcPropertyTemplateDefinition::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcProtectiveDevice std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value > Ifc4x3_tc1::IfcProtectiveDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcProtectiveDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcProtectiveDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[833]); } -void Ifc4x3_tc1::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProtectiveDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[833]); } +void Ifc4x3_tc1::IfcProtectiveDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnit std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[834]); } -void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[834]); } +void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcProtectiveDeviceTrippingUnitType ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::PredefinedType() const { return ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::setPredefinedType(const ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[835]); } -void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[835]); } +void Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcProtectiveDeviceType ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value Ifc4x3_tc1::IfcProtectiveDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcProtectiveDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcProtectiveDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[837]); } -void Ifc4x3_tc1::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcProtectiveDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[837]); } +void Ifc4x3_tc1::IfcProtectiveDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcPump std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value > Ifc4x3_tc1::IfcPump::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcPumpTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcPump::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcPump::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[839]); } -void Ifc4x3_tc1::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPump::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[839]); } +void Ifc4x3_tc1::IfcPump::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcPumpType ::Ifc4x3_tc1::IfcPumpTypeEnum::Value Ifc4x3_tc1::IfcPumpType::PredefinedType() const { return ::Ifc4x3_tc1::IfcPumpTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcPumpType::setPredefinedType(const ::Ifc4x3_tc1::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcPumpType::setPredefinedType(const ::Ifc4x3_tc1::IfcPumpTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcPumpType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[840]); } -void Ifc4x3_tc1::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcPumpType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[840]); } +void Ifc4x3_tc1::IfcPumpType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPumpTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcPumpTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcQuantityArea double Ifc4x3_tc1::IfcQuantityArea::AreaValue() const { double v = get_attribute_value(3); return v; } @@ -13171,7 +13171,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcQuantityArea::Formula() const { if(g void Ifc4x3_tc1::IfcQuantityArea::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcQuantityArea::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[842]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityArea::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[842]); } void Ifc4x3_tc1::IfcQuantityArea::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_AreaValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityCount @@ -13181,7 +13181,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcQuantityCount::Formula() const { if( void Ifc4x3_tc1::IfcQuantityCount::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcQuantityCount::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[843]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityCount::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[843]); } void Ifc4x3_tc1::IfcQuantityCount::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, int v4_CountValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_CountValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityLength @@ -13191,7 +13191,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcQuantityLength::Formula() const { if void Ifc4x3_tc1::IfcQuantityLength::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcQuantityLength::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[844]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityLength::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[844]); } void Ifc4x3_tc1::IfcQuantityLength::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_LengthValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityNumber @@ -13201,13 +13201,13 @@ std::optional< std::string > Ifc4x3_tc1::IfcQuantityNumber::Formula() const { if void Ifc4x3_tc1::IfcQuantityNumber::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcQuantityNumber::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[845]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityNumber::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[845]); } void Ifc4x3_tc1::IfcQuantityNumber::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_NumberValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_NumberValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantitySet -const IfcParse::entity& Ifc4x3_tc1::IfcQuantitySet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[846]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantitySet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[846]); } void Ifc4x3_tc1::IfcQuantitySet::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcQuantityTime @@ -13217,7 +13217,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcQuantityTime::Formula() const { if(g void Ifc4x3_tc1::IfcQuantityTime::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcQuantityTime::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[847]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[847]); } void Ifc4x3_tc1::IfcQuantityTime::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_TimeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityVolume @@ -13227,7 +13227,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcQuantityVolume::Formula() const { if void Ifc4x3_tc1::IfcQuantityVolume::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcQuantityVolume::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[848]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityVolume::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[848]); } void Ifc4x3_tc1::IfcQuantityVolume::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_VolumeValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcQuantityWeight @@ -13237,104 +13237,104 @@ std::optional< std::string > Ifc4x3_tc1::IfcQuantityWeight::Formula() const { if void Ifc4x3_tc1::IfcQuantityWeight::setFormula(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcQuantityWeight::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[849]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcQuantityWeight::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[849]); } void Ifc4x3_tc1::IfcQuantityWeight::initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula) { set_attribute_value(0, (v1_Name)); if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_Unit));set_attribute_value(3, (v4_WeightValue)); if (v5_Formula) {set_attribute_value(4, (*v5_Formula)); } } // Function implementations for IfcRail std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value > Ifc4x3_tc1::IfcRail::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRailTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcRail::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRail::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[851]); } -void Ifc4x3_tc1::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRail::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[851]); } +void Ifc4x3_tc1::IfcRail::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailType ::Ifc4x3_tc1::IfcRailTypeEnum::Value Ifc4x3_tc1::IfcRailType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRailTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcRailType::setPredefinedType(const ::Ifc4x3_tc1::IfcRailTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcRailType::setPredefinedType(const ::Ifc4x3_tc1::IfcRailTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcRailType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[855]); } -void Ifc4x3_tc1::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRailType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[855]); } +void Ifc4x3_tc1::IfcRailType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRailTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRailTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailing std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value > Ifc4x3_tc1::IfcRailing::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRailingTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcRailing::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRailing::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[852]); } -void Ifc4x3_tc1::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRailing::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[852]); } +void Ifc4x3_tc1::IfcRailing::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRailingType ::Ifc4x3_tc1::IfcRailingTypeEnum::Value Ifc4x3_tc1::IfcRailingType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRailingTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcRailingType::setPredefinedType(const ::Ifc4x3_tc1::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcRailingType::setPredefinedType(const ::Ifc4x3_tc1::IfcRailingTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcRailingType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[853]); } -void Ifc4x3_tc1::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRailingType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[853]); } +void Ifc4x3_tc1::IfcRailingType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRailingTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRailingTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRailway std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value > Ifc4x3_tc1::IfcRailway::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRailwayTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcRailway::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRailwayTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRailway::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[857]); } -void Ifc4x3_tc1::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRailway::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[857]); } +void Ifc4x3_tc1::IfcRailway::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRailwayTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRailwayPart std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value > Ifc4x3_tc1::IfcRailwayPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcRailwayPart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcRailwayPart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRailwayPart::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[858]); } -void Ifc4x3_tc1::IfcRailwayPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRailwayPart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[858]); } +void Ifc4x3_tc1::IfcRailwayPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcRamp std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value > Ifc4x3_tc1::IfcRamp::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRampTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcRamp::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRamp::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[861]); } -void Ifc4x3_tc1::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRamp::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[861]); } +void Ifc4x3_tc1::IfcRamp::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlight std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value > Ifc4x3_tc1::IfcRampFlight::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRampFlightTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcRampFlight::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRampFlight::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[862]); } -void Ifc4x3_tc1::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRampFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[862]); } +void Ifc4x3_tc1::IfcRampFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRampFlightType ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value Ifc4x3_tc1::IfcRampFlightType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRampFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcRampFlightType::setPredefinedType(const ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcRampFlightType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[863]); } -void Ifc4x3_tc1::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRampFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[863]); } +void Ifc4x3_tc1::IfcRampFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRampFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRampType ::Ifc4x3_tc1::IfcRampTypeEnum::Value Ifc4x3_tc1::IfcRampType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRampTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcRampType::setPredefinedType(const ::Ifc4x3_tc1::IfcRampTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcRampType::setPredefinedType(const ::Ifc4x3_tc1::IfcRampTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcRampType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[865]); } -void Ifc4x3_tc1::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRampType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[865]); } +void Ifc4x3_tc1::IfcRampType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRampTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRampTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRationalBSplineCurveWithKnots std::vector< double > /*[2:?]*/ Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::WeightsData() const { std::vector< double > /*[2:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::setWeightsData(const std::vector< double > /*[2:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[868]); } -void Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::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_tc1::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[868]); } +void Ifc4x3_tc1::IfcRationalBSplineCurveWithKnots::initialize(int v1_Degree, std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData) { set_attribute_value(0, (v1_Degree));set_attribute_value(1, cast_vector(v2_ControlPointsList));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::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, (enumeration_reference(&::Ifc4x3_tc1::IfcKnotType::Class(),(size_t)v8_KnotSpec)));set_attribute_value(8, (v9_WeightsData)); } // Function implementations for IfcRationalBSplineSurfaceWithKnots std::vector< std::vector< double > > Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::WeightsData() const { std::vector< std::vector< double > > v = get_attribute_value(12); return v; } void Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::setWeightsData(const std::vector< std::vector< double > >& v) { set_attribute_value(12, v);if constexpr (false)unset_attribute_value(12); } -const IfcParse::entity& Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[869]); } -void Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (EnumerationReference(&::Ifc4x3_tc1::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_tc1::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[869]); } +void Ifc4x3_tc1::IfcRationalBSplineSurfaceWithKnots::initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData) { set_attribute_value(0, (v1_UDegree));set_attribute_value(1, (v2_VDegree));set_attribute_value(2, cast_vector(v3_ControlPointsList));set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::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, (enumeration_reference(&::Ifc4x3_tc1::IfcKnotType::Class(),(size_t)v12_KnotSpec)));set_attribute_value(12, (v13_WeightsData)); } // Function implementations for IfcRectangleHollowProfileDef double Ifc4x3_tc1::IfcRectangleHollowProfileDef::WallThickness() const { double v = get_attribute_value(5); return v; } @@ -13345,8 +13345,8 @@ std::optional< double > Ifc4x3_tc1::IfcRectangleHollowProfileDef::OuterFilletRad void Ifc4x3_tc1::IfcRectangleHollowProfileDef::setOuterFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRectangleHollowProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[871]); } -void Ifc4x3_tc1::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRectangleHollowProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[871]); } +void Ifc4x3_tc1::IfcRectangleHollowProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcRectangleProfileDef double Ifc4x3_tc1::IfcRectangleProfileDef::XDim() const { double v = get_attribute_value(3); return v; } @@ -13355,8 +13355,8 @@ double Ifc4x3_tc1::IfcRectangleProfileDef::YDim() const { double v = get_attrib void Ifc4x3_tc1::IfcRectangleProfileDef::setYDim(const double& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[872]); } -void Ifc4x3_tc1::IfcRectangleProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[872]); } +void Ifc4x3_tc1::IfcRectangleProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim)); } // Function implementations for IfcRectangularPyramid double Ifc4x3_tc1::IfcRectangularPyramid::XLength() const { double v = get_attribute_value(1); return v; } @@ -13367,7 +13367,7 @@ double Ifc4x3_tc1::IfcRectangularPyramid::Height() const { double v = get_attri void Ifc4x3_tc1::IfcRectangularPyramid::setHeight(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcRectangularPyramid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[873]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRectangularPyramid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[873]); } void Ifc4x3_tc1::IfcRectangularPyramid::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_XLength));set_attribute_value(2, (v3_YLength));set_attribute_value(3, (v4_Height)); } // Function implementations for IfcRectangularTrimmedSurface @@ -13387,12 +13387,12 @@ bool Ifc4x3_tc1::IfcRectangularTrimmedSurface::Vsense() const { bool v = get_at void Ifc4x3_tc1::IfcRectangularTrimmedSurface::setVsense(const bool& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcRectangularTrimmedSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[874]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRectangularTrimmedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[874]); } void Ifc4x3_tc1::IfcRectangularTrimmedSurface::initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense) { set_attribute_value(0, (v1_BasisSurface));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)); } // Function implementations for IfcRecurrencePattern ::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value Ifc4x3_tc1::IfcRecurrencePattern::RecurrenceType() const { return ::Ifc4x3_tc1::IfcRecurrenceTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_tc1::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_tc1::IfcRecurrencePattern::setRecurrenceType(const ::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_tc1::IfcRecurrencePattern::DayComponent() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcRecurrencePattern::setDayComponent(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_tc1::IfcRecurrencePattern::WeekdayComponent() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::vector< int > /*[1:?]*/ v = get_attribute_value(2); return v; } @@ -13409,8 +13409,8 @@ std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > > Ifc4x3_tc1::IfcRecur void Ifc4x3_tc1::IfcRecurrencePattern::setTimePeriods(const std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRecurrencePattern::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[875]); } -void Ifc4x3_tc1::IfcRecurrencePattern::initialize(::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::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, cast_vector(*v8_TimePeriods)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRecurrencePattern::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[875]); } +void Ifc4x3_tc1::IfcRecurrencePattern::initialize(::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > > v8_TimePeriods) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::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, cast_vector(*v8_TimePeriods)); } } // Function implementations for IfcReference std::optional< std::string > Ifc4x3_tc1::IfcReference::TypeIdentifier() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -13425,16 +13425,16 @@ void Ifc4x3_tc1::IfcReference::setListPositions(const std::optional< std::vector void Ifc4x3_tc1::IfcReference::setInnerReference(const ::Ifc4x3_tc1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcReference::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[877]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReference::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[877]); } void Ifc4x3_tc1::IfcReference::initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_tc1::IfcReference v5_InnerReference) { 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)); } // Function implementations for IfcReferent std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value > Ifc4x3_tc1::IfcReferent::PredefinedType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReferentTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_tc1::IfcReferent::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcReferentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcReferent::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[878]); } -void Ifc4x3_tc1::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReferent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[878]); } +void Ifc4x3_tc1::IfcReferent::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value > v8_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_PredefinedType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcReferentTypeEnum::Class(),(size_t)*v8_PredefinedType))); } } // Function implementations for IfcRegularTimeSeries double Ifc4x3_tc1::IfcRegularTimeSeries::TimeStep() const { double v = get_attribute_value(8); return v; } @@ -13443,16 +13443,16 @@ std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue > Ifc4x3_tc1::IfcRegularTimeSeries void Ifc4x3_tc1::IfcRegularTimeSeries::setValues(const std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue >& v) { set_attribute_value(9, cast_vector(v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcRegularTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[881]); } -void Ifc4x3_tc1::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue > v10_Values) { 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_tc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRegularTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[881]); } +void Ifc4x3_tc1::IfcRegularTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue > v10_Values) { 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, (enumeration_reference(&::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit));set_attribute_value(8, (v9_TimeStep));set_attribute_value(9, cast_vector(v10_Values)); } // Function implementations for IfcReinforcedSoil std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value > Ifc4x3_tc1::IfcReinforcedSoil::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcReinforcedSoil::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcReinforcedSoil::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[882]); } -void Ifc4x3_tc1::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcedSoil::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[882]); } +void Ifc4x3_tc1::IfcReinforcedSoil::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcReinforcementBarProperties double Ifc4x3_tc1::IfcReinforcementBarProperties::TotalCrossSectionArea() const { double v = get_attribute_value(0); return v; } @@ -13460,7 +13460,7 @@ void Ifc4x3_tc1::IfcReinforcementBarProperties::setTotalCrossSectionArea(const d std::string Ifc4x3_tc1::IfcReinforcementBarProperties::SteelGrade() const { std::string v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcReinforcementBarProperties::setSteelGrade(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_tc1::IfcReinforcementBarProperties::BarSurface() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(2)); } -void Ifc4x3_tc1::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_tc1::IfcReinforcementBarProperties::setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(2);} } std::optional< double > Ifc4x3_tc1::IfcReinforcementBarProperties::EffectiveDepth() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } double v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcReinforcementBarProperties::setEffectiveDepth(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } std::optional< double > Ifc4x3_tc1::IfcReinforcementBarProperties::NominalBarDiameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -13469,8 +13469,8 @@ std::optional< int > Ifc4x3_tc1::IfcReinforcementBarProperties::BarCount() const void Ifc4x3_tc1::IfcReinforcementBarProperties::setBarCount(const std::optional< int >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_tc1::IfcReinforcementBarProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[884]); } -void Ifc4x3_tc1::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcementBarProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[884]); } +void Ifc4x3_tc1::IfcReinforcementBarProperties::initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount) { set_attribute_value(0, (v1_TotalCrossSectionArea));set_attribute_value(1, (v2_SteelGrade)); if (v3_BarSurface) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcReinforcementDefinitionProperties std::optional< std::string > Ifc4x3_tc1::IfcReinforcementDefinitionProperties::DefinitionType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -13479,7 +13479,7 @@ std::vector< ::Ifc4x3_tc1::IfcSectionReinforcementProperties > Ifc4x3_tc1::IfcRe void Ifc4x3_tc1::IfcReinforcementDefinitionProperties::setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_tc1::IfcSectionReinforcementProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcReinforcementDefinitionProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[885]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcementDefinitionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[885]); } void Ifc4x3_tc1::IfcReinforcementDefinitionProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_tc1::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, cast_vector(v6_ReinforcementSectionDefinitions)); } // Function implementations for IfcReinforcingBar @@ -13490,17 +13490,17 @@ void Ifc4x3_tc1::IfcReinforcingBar::setCrossSectionArea(const std::optional< dou std::optional< double > Ifc4x3_tc1::IfcReinforcingBar::BarLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_tc1::IfcReinforcingBar::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value > Ifc4x3_tc1::IfcReinforcingBar::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_tc1::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_tc1::IfcReinforcingBar::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_tc1::IfcReinforcingBar::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_tc1::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_tc1::IfcReinforcingBar::setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_tc1::IfcReinforcingBar::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[886]); } -void Ifc4x3_tc1::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_tc1::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (EnumerationReference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingBar::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[886]); } +void Ifc4x3_tc1::IfcReinforcingBar::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class(),(size_t)*v13_PredefinedType))); } if (v14_BarSurface) {set_attribute_value(13, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } } // Function implementations for IfcReinforcingBarType ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value Ifc4x3_tc1::IfcReinforcingBarType::PredefinedType() const { return ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcReinforcingBarType::setPredefinedType(const ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_tc1::IfcReinforcingBarType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcReinforcingBarType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_tc1::IfcReinforcingBarType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13508,28 +13508,28 @@ void Ifc4x3_tc1::IfcReinforcingBarType::setCrossSectionArea(const std::optional< std::optional< double > Ifc4x3_tc1::IfcReinforcingBarType::BarLength() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } double v = get_attribute_value(12); return v; } void Ifc4x3_tc1::IfcReinforcingBarType::setBarLength(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > Ifc4x3_tc1::IfcReinforcingBarType::BarSurface() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_tc1::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_tc1::IfcReinforcingBarType::setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } std::optional< std::string > Ifc4x3_tc1::IfcReinforcingBarType::BendingShapeCode() const { if(get_attribute_value(14).isNull()) { return std::nullopt; } std::string v = get_attribute_value(14); return v; } void Ifc4x3_tc1::IfcReinforcingBarType::setBendingShapeCode(const std::optional< std::string >& v) { if (v) {set_attribute_value(14, *v);} else {unset_attribute_value(14);} } std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > Ifc4x3_tc1::IfcReinforcingBarType::BendingParameters() const { if(get_attribute_value(15).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(15); return cast_vector<::Ifc4x3_tc1::IfcBendingParameterSelect>(es); } void Ifc4x3_tc1::IfcReinforcingBarType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(15, cast_vector(*v));} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_tc1::IfcReinforcingBarType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[889]); } -void Ifc4x3_tc1::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::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_tc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingBarType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[889]); } +void Ifc4x3_tc1::IfcReinforcingBarType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > v16_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::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, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Class(),(size_t)*v14_BarSurface))); } if (v15_BendingShapeCode) {set_attribute_value(14, (*v15_BendingShapeCode)); } if (v16_BendingParameters) {set_attribute_value(15, cast_vector(*v16_BendingParameters)); } } // Function implementations for IfcReinforcingElement std::optional< std::string > Ifc4x3_tc1::IfcReinforcingElement::SteelGrade() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcReinforcingElement::setSteelGrade(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcReinforcingElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[891]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[891]); } void Ifc4x3_tc1::IfcReinforcingElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); } } // Function implementations for IfcReinforcingElementType -const IfcParse::entity& Ifc4x3_tc1::IfcReinforcingElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[892]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[892]); } void Ifc4x3_tc1::IfcReinforcingElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcReinforcingMesh @@ -13550,15 +13550,15 @@ void Ifc4x3_tc1::IfcReinforcingMesh::setLongitudinalBarSpacing(const std::option std::optional< double > Ifc4x3_tc1::IfcReinforcingMesh::TransverseBarSpacing() const { if(get_attribute_value(16).isNull()) { return std::nullopt; } double v = get_attribute_value(16); return v; } void Ifc4x3_tc1::IfcReinforcingMesh::setTransverseBarSpacing(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value > Ifc4x3_tc1::IfcReinforcingMesh::PredefinedType() const { if(get_attribute_value(17).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(17)); } -void Ifc4x3_tc1::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, EnumerationReference(&::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } +void Ifc4x3_tc1::IfcReinforcingMesh::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value >& v) { if (v) {set_attribute_value(17, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_tc1::IfcReinforcingMesh::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[893]); } -void Ifc4x3_tc1::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_tc1::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingMesh::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[893]); } +void Ifc4x3_tc1::IfcReinforcingMesh::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class(),(size_t)*v18_PredefinedType))); } } // Function implementations for IfcReinforcingMeshType ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value Ifc4x3_tc1::IfcReinforcingMeshType::PredefinedType() const { return ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcReinforcingMeshType::setPredefinedType(const ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::MeshLength() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcReinforcingMeshType::setMeshLength(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_tc1::IfcReinforcingMeshType::MeshWidth() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -13581,8 +13581,8 @@ std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > Ifc4x3_t void Ifc4x3_tc1::IfcReinforcingMeshType::setBendingParameters(const std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > >& v) { if (v) {set_attribute_value(19, cast_vector(*v));} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_tc1::IfcReinforcingMeshType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[894]); } -void Ifc4x3_tc1::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::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, cast_vector(*v20_BendingParameters)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReinforcingMeshType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[894]); } +void Ifc4x3_tc1::IfcReinforcingMeshType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > v20_BendingParameters) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::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, cast_vector(*v20_BendingParameters)); } } // Function implementations for IfcRelAdheresToElement ::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelAdheresToElement::RelatingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcElement>(); } @@ -13591,7 +13591,7 @@ std::vector< ::Ifc4x3_tc1::IfcSurfaceFeature > Ifc4x3_tc1::IfcRelAdheresToElemen void Ifc4x3_tc1::IfcRelAdheresToElement::setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3_tc1::IfcSurfaceFeature >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAdheresToElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[896]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAdheresToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[896]); } void Ifc4x3_tc1::IfcRelAdheresToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3_tc1::IfcSurfaceFeature > v6_RelatedSurfaceFeatures) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, cast_vector(v6_RelatedSurfaceFeatures)); } // Function implementations for IfcRelAggregates @@ -13601,7 +13601,7 @@ std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > Ifc4x3_tc1::IfcRelAggregates::R void Ifc4x3_tc1::IfcRelAggregates::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAggregates::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[897]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAggregates::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[897]); } void Ifc4x3_tc1::IfcRelAggregates::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelAssigns @@ -13611,7 +13611,7 @@ std::optional< bool > Ifc4x3_tc1::IfcRelAssigns::RelatedObjectsType() const { if void Ifc4x3_tc1::IfcRelAssigns::setRelatedObjectsType(const std::optional< bool >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssigns::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[898]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssigns::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[898]); } void Ifc4x3_tc1::IfcRelAssigns::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); } } // Function implementations for IfcRelAssignsToActor @@ -13621,7 +13621,7 @@ void Ifc4x3_tc1::IfcRelAssignsToActor::setRelatingActor(const ::Ifc4x3_tc1::IfcA void Ifc4x3_tc1::IfcRelAssignsToActor::setActingRole(const ::Ifc4x3_tc1::IfcActorRole& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssignsToActor::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[899]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToActor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[899]); } void Ifc4x3_tc1::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcActor v7_RelatingActor, ::Ifc4x3_tc1::IfcActorRole v8_ActingRole) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingActor));set_attribute_value(7, (v8_ActingRole)); } // Function implementations for IfcRelAssignsToControl @@ -13629,7 +13629,7 @@ void Ifc4x3_tc1::IfcRelAssignsToActor::initialize(std::string v1_GlobalId, ::Ifc void Ifc4x3_tc1::IfcRelAssignsToControl::setRelatingControl(const ::Ifc4x3_tc1::IfcControl& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssignsToControl::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[900]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToControl::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[900]); } void Ifc4x3_tc1::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcControl v7_RelatingControl) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingControl)); } // Function implementations for IfcRelAssignsToGroup @@ -13637,7 +13637,7 @@ void Ifc4x3_tc1::IfcRelAssignsToControl::initialize(std::string v1_GlobalId, ::I void Ifc4x3_tc1::IfcRelAssignsToGroup::setRelatingGroup(const ::Ifc4x3_tc1::IfcGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssignsToGroup::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[901]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[901]); } void Ifc4x3_tc1::IfcRelAssignsToGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcGroup v7_RelatingGroup) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingGroup)); } // Function implementations for IfcRelAssignsToGroupByFactor @@ -13645,7 +13645,7 @@ double Ifc4x3_tc1::IfcRelAssignsToGroupByFactor::Factor() const { double v = ge void Ifc4x3_tc1::IfcRelAssignsToGroupByFactor::setFactor(const double& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssignsToGroupByFactor::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[902]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToGroupByFactor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[902]); } void Ifc4x3_tc1::IfcRelAssignsToGroupByFactor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcGroup v7_RelatingGroup, double v8_Factor) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingGroup));set_attribute_value(7, (v8_Factor)); } // Function implementations for IfcRelAssignsToProcess @@ -13655,7 +13655,7 @@ void Ifc4x3_tc1::IfcRelAssignsToProcess::setRelatingProcess(const ::Ifc4x3_tc1:: void Ifc4x3_tc1::IfcRelAssignsToProcess::setQuantityInProcess(const ::Ifc4x3_tc1::IfcMeasureWithUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssignsToProcess::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[903]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[903]); } void Ifc4x3_tc1::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_tc1::IfcMeasureWithUnit v8_QuantityInProcess) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingProcess));set_attribute_value(7, (v8_QuantityInProcess)); } // Function implementations for IfcRelAssignsToProduct @@ -13663,7 +13663,7 @@ void Ifc4x3_tc1::IfcRelAssignsToProcess::initialize(std::string v1_GlobalId, ::I void Ifc4x3_tc1::IfcRelAssignsToProduct::setRelatingProduct(const ::Ifc4x3_tc1::IfcProductSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssignsToProduct::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[904]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[904]); } void Ifc4x3_tc1::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcProductSelect v7_RelatingProduct) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingProduct)); } // Function implementations for IfcRelAssignsToResource @@ -13671,7 +13671,7 @@ void Ifc4x3_tc1::IfcRelAssignsToProduct::initialize(std::string v1_GlobalId, ::I void Ifc4x3_tc1::IfcRelAssignsToResource::setRelatingResource(const ::Ifc4x3_tc1::IfcResourceSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssignsToResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[905]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssignsToResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[905]); } void Ifc4x3_tc1::IfcRelAssignsToResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcResourceSelect v7_RelatingResource) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_RelatedObjectsType) {set_attribute_value(5, (*v6_RelatedObjectsType)); }set_attribute_value(6, (v7_RelatingResource)); } // Function implementations for IfcRelAssociates @@ -13679,7 +13679,7 @@ std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > Ifc4x3_tc1::IfcRelAssociates::R void Ifc4x3_tc1::IfcRelAssociates::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect >& v) { set_attribute_value(4, cast_vector(v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssociates::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[906]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociates::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[906]); } void Ifc4x3_tc1::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); } // Function implementations for IfcRelAssociatesApproval @@ -13687,7 +13687,7 @@ void Ifc4x3_tc1::IfcRelAssociates::initialize(std::string v1_GlobalId, ::Ifc4x3_ void Ifc4x3_tc1::IfcRelAssociatesApproval::setRelatingApproval(const ::Ifc4x3_tc1::IfcApproval& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssociatesApproval::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[907]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesApproval::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[907]); } void Ifc4x3_tc1::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcApproval v6_RelatingApproval) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingApproval)); } // Function implementations for IfcRelAssociatesClassification @@ -13695,7 +13695,7 @@ void Ifc4x3_tc1::IfcRelAssociatesApproval::initialize(std::string v1_GlobalId, : void Ifc4x3_tc1::IfcRelAssociatesClassification::setRelatingClassification(const ::Ifc4x3_tc1::IfcClassificationSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssociatesClassification::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[908]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesClassification::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[908]); } void Ifc4x3_tc1::IfcRelAssociatesClassification::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcClassificationSelect v6_RelatingClassification) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingClassification)); } // Function implementations for IfcRelAssociatesConstraint @@ -13705,7 +13705,7 @@ void Ifc4x3_tc1::IfcRelAssociatesConstraint::setIntent(const std::optional< std: void Ifc4x3_tc1::IfcRelAssociatesConstraint::setRelatingConstraint(const ::Ifc4x3_tc1::IfcConstraint& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssociatesConstraint::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[909]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesConstraint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[909]); } void Ifc4x3_tc1::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_tc1::IfcConstraint v7_RelatingConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects)); if (v6_Intent) {set_attribute_value(5, (*v6_Intent)); }set_attribute_value(6, (v7_RelatingConstraint)); } // Function implementations for IfcRelAssociatesDocument @@ -13713,7 +13713,7 @@ void Ifc4x3_tc1::IfcRelAssociatesConstraint::initialize(std::string v1_GlobalId, void Ifc4x3_tc1::IfcRelAssociatesDocument::setRelatingDocument(const ::Ifc4x3_tc1::IfcDocumentSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssociatesDocument::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[910]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesDocument::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[910]); } void Ifc4x3_tc1::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcDocumentSelect v6_RelatingDocument) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingDocument)); } // Function implementations for IfcRelAssociatesLibrary @@ -13721,7 +13721,7 @@ void Ifc4x3_tc1::IfcRelAssociatesDocument::initialize(std::string v1_GlobalId, : void Ifc4x3_tc1::IfcRelAssociatesLibrary::setRelatingLibrary(const ::Ifc4x3_tc1::IfcLibrarySelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssociatesLibrary::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[911]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesLibrary::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[911]); } void Ifc4x3_tc1::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcLibrarySelect v6_RelatingLibrary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingLibrary)); } // Function implementations for IfcRelAssociatesMaterial @@ -13729,7 +13729,7 @@ void Ifc4x3_tc1::IfcRelAssociatesLibrary::initialize(std::string v1_GlobalId, :: void Ifc4x3_tc1::IfcRelAssociatesMaterial::setRelatingMaterial(const ::Ifc4x3_tc1::IfcMaterialSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssociatesMaterial::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[912]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesMaterial::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[912]); } void Ifc4x3_tc1::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcMaterialSelect v6_RelatingMaterial) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingMaterial)); } // Function implementations for IfcRelAssociatesProfileDef @@ -13737,13 +13737,13 @@ void Ifc4x3_tc1::IfcRelAssociatesMaterial::initialize(std::string v1_GlobalId, : void Ifc4x3_tc1::IfcRelAssociatesProfileDef::setRelatingProfileDef(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelAssociatesProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[913]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelAssociatesProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[913]); } void Ifc4x3_tc1::IfcRelAssociatesProfileDef::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcProfileDef v6_RelatingProfileDef) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingProfileDef)); } // Function implementations for IfcRelConnects -const IfcParse::entity& Ifc4x3_tc1::IfcRelConnects::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[915]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnects::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[915]); } void Ifc4x3_tc1::IfcRelConnects::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelConnectsElements @@ -13755,7 +13755,7 @@ void Ifc4x3_tc1::IfcRelConnectsElements::setRelatingElement(const ::Ifc4x3_tc1:: void Ifc4x3_tc1::IfcRelConnectsElements::setRelatedElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelConnectsElements::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[916]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[916]); } void Ifc4x3_tc1::IfcRelConnectsElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_tc1::IfcElement v6_RelatingElement, ::Ifc4x3_tc1::IfcElement v7_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement)); } // Function implementations for IfcRelConnectsPathElements @@ -13764,13 +13764,13 @@ void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatingPriorities(const std::ve std::vector< int > /*[0:?]*/ Ifc4x3_tc1::IfcRelConnectsPathElements::RelatedPriorities() const { std::vector< int > /*[0:?]*/ v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatedPriorities(const std::vector< int > /*[0:?]*/& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value Ifc4x3_tc1::IfcRelConnectsPathElements::RelatedConnectionType() const { return ::Ifc4x3_tc1::IfcConnectionTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatedConnectionType(const ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value Ifc4x3_tc1::IfcRelConnectsPathElements::RelatingConnectionType() const { return ::Ifc4x3_tc1::IfcConnectionTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_tc1::IfcRelConnectsPathElements::setRelatingConnectionType(const ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcConnectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelConnectsPathElements::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[917]); } -void Ifc4x3_tc1::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_tc1::IfcElement v6_RelatingElement, ::Ifc4x3_tc1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsPathElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[917]); } +void Ifc4x3_tc1::IfcRelConnectsPathElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_tc1::IfcElement v6_RelatingElement, ::Ifc4x3_tc1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, (v8_RelatingPriorities));set_attribute_value(8, (v9_RelatedPriorities));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcConnectionTypeEnum::Class(),(size_t)v10_RelatedConnectionType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcConnectionTypeEnum::Class(),(size_t)v11_RelatingConnectionType))); } // Function implementations for IfcRelConnectsPortToElement ::Ifc4x3_tc1::IfcPort Ifc4x3_tc1::IfcRelConnectsPortToElement::RelatingPort() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcPort>(); } @@ -13779,7 +13779,7 @@ void Ifc4x3_tc1::IfcRelConnectsPortToElement::setRelatingPort(const ::Ifc4x3_tc1 void Ifc4x3_tc1::IfcRelConnectsPortToElement::setRelatedElement(const ::Ifc4x3_tc1::IfcDistributionElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelConnectsPortToElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[919]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsPortToElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[919]); } void Ifc4x3_tc1::IfcRelConnectsPortToElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPort v5_RelatingPort, ::Ifc4x3_tc1::IfcDistributionElement v6_RelatedElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedElement)); } // Function implementations for IfcRelConnectsPorts @@ -13791,7 +13791,7 @@ void Ifc4x3_tc1::IfcRelConnectsPorts::setRelatedPort(const ::Ifc4x3_tc1::IfcPort void Ifc4x3_tc1::IfcRelConnectsPorts::setRealizingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelConnectsPorts::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[918]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsPorts::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[918]); } void Ifc4x3_tc1::IfcRelConnectsPorts::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPort v5_RelatingPort, ::Ifc4x3_tc1::IfcPort v6_RelatedPort, ::Ifc4x3_tc1::IfcElement v7_RealizingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPort));set_attribute_value(5, (v6_RelatedPort));set_attribute_value(6, (v7_RealizingElement)); } // Function implementations for IfcRelConnectsStructuralActivity @@ -13801,7 +13801,7 @@ void Ifc4x3_tc1::IfcRelConnectsStructuralActivity::setRelatingElement(const ::If void Ifc4x3_tc1::IfcRelConnectsStructuralActivity::setRelatedStructuralActivity(const ::Ifc4x3_tc1::IfcStructuralActivity& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelConnectsStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[920]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[920]); } void Ifc4x3_tc1::IfcRelConnectsStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_tc1::IfcStructuralActivity v6_RelatedStructuralActivity) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedStructuralActivity)); } // Function implementations for IfcRelConnectsStructuralMember @@ -13819,7 +13819,7 @@ void Ifc4x3_tc1::IfcRelConnectsStructuralMember::setSupportedLength(const std::o void Ifc4x3_tc1::IfcRelConnectsStructuralMember::setConditionCoordinateSystem(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelConnectsStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[921]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[921]); } void Ifc4x3_tc1::IfcRelConnectsStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_tc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_tc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_tc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_tc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem)); } // Function implementations for IfcRelConnectsWithEccentricity @@ -13827,7 +13827,7 @@ void Ifc4x3_tc1::IfcRelConnectsStructuralMember::initialize(std::string v1_Globa void Ifc4x3_tc1::IfcRelConnectsWithEccentricity::setConnectionConstraint(const ::Ifc4x3_tc1::IfcConnectionGeometry& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelConnectsWithEccentricity::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[922]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsWithEccentricity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[922]); } void Ifc4x3_tc1::IfcRelConnectsWithEccentricity::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_tc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_tc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_tc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_tc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_tc1::IfcConnectionGeometry v11_ConnectionConstraint) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingStructuralMember));set_attribute_value(5, (v6_RelatedStructuralConnection));set_attribute_value(6, (v7_AppliedCondition));set_attribute_value(7, (v8_AdditionalConditions)); if (v9_SupportedLength) {set_attribute_value(8, (*v9_SupportedLength)); }set_attribute_value(9, (v10_ConditionCoordinateSystem));set_attribute_value(10, (v11_ConnectionConstraint)); } // Function implementations for IfcRelConnectsWithRealizingElements @@ -13837,7 +13837,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::Co void Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::setConnectionType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[923]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[923]); } void Ifc4x3_tc1::IfcRelConnectsWithRealizingElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_tc1::IfcElement v6_RelatingElement, ::Ifc4x3_tc1::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_tc1::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_ConnectionGeometry));set_attribute_value(5, (v6_RelatingElement));set_attribute_value(6, (v7_RelatedElement));set_attribute_value(7, cast_vector(v8_RealizingElements)); if (v9_ConnectionType) {set_attribute_value(8, (*v9_ConnectionType)); } } // Function implementations for IfcRelContainedInSpatialStructure @@ -13847,7 +13847,7 @@ void Ifc4x3_tc1::IfcRelContainedInSpatialStructure::setRelatedElements(const std void Ifc4x3_tc1::IfcRelContainedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_tc1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelContainedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[924]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelContainedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[924]); } void Ifc4x3_tc1::IfcRelContainedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcProduct > v5_RelatedElements, ::Ifc4x3_tc1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelCoversBldgElements @@ -13857,7 +13857,7 @@ std::vector< ::Ifc4x3_tc1::IfcCovering > Ifc4x3_tc1::IfcRelCoversBldgElements::R void Ifc4x3_tc1::IfcRelCoversBldgElements::setRelatedCoverings(const std::vector< ::Ifc4x3_tc1::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelCoversBldgElements::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[925]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelCoversBldgElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[925]); } void Ifc4x3_tc1::IfcRelCoversBldgElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_tc1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelCoversSpaces @@ -13867,7 +13867,7 @@ std::vector< ::Ifc4x3_tc1::IfcCovering > Ifc4x3_tc1::IfcRelCoversSpaces::Related void Ifc4x3_tc1::IfcRelCoversSpaces::setRelatedCoverings(const std::vector< ::Ifc4x3_tc1::IfcCovering >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelCoversSpaces::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[926]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelCoversSpaces::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[926]); } void Ifc4x3_tc1::IfcRelCoversSpaces::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_tc1::IfcCovering > v6_RelatedCoverings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, cast_vector(v6_RelatedCoverings)); } // Function implementations for IfcRelDeclares @@ -13877,19 +13877,19 @@ std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > Ifc4x3_tc1::IfcRelDeclares::Rel void Ifc4x3_tc1::IfcRelDeclares::setRelatedDefinitions(const std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelDeclares::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[927]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDeclares::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[927]); } void Ifc4x3_tc1::IfcRelDeclares::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v6_RelatedDefinitions) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingContext));set_attribute_value(5, cast_vector(v6_RelatedDefinitions)); } // Function implementations for IfcRelDecomposes -const IfcParse::entity& Ifc4x3_tc1::IfcRelDecomposes::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[928]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDecomposes::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[928]); } void Ifc4x3_tc1::IfcRelDecomposes::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefines -const IfcParse::entity& Ifc4x3_tc1::IfcRelDefines::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[929]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefines::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[929]); } void Ifc4x3_tc1::IfcRelDefines::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRelDefinesByObject @@ -13899,7 +13899,7 @@ void Ifc4x3_tc1::IfcRelDefinesByObject::setRelatedObjects(const std::vector< ::I void Ifc4x3_tc1::IfcRelDefinesByObject::setRelatingObject(const ::Ifc4x3_tc1::IfcObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelDefinesByObject::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[930]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefinesByObject::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[930]); } void Ifc4x3_tc1::IfcRelDefinesByObject::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_tc1::IfcObject v6_RelatingObject) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingObject)); } // Function implementations for IfcRelDefinesByProperties @@ -13909,7 +13909,7 @@ void Ifc4x3_tc1::IfcRelDefinesByProperties::setRelatedObjects(const std::vector< void Ifc4x3_tc1::IfcRelDefinesByProperties::setRelatingPropertyDefinition(const ::Ifc4x3_tc1::IfcPropertySetDefinitionSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelDefinesByProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[931]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefinesByProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[931]); } void Ifc4x3_tc1::IfcRelDefinesByProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_tc1::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingPropertyDefinition)); } // Function implementations for IfcRelDefinesByTemplate @@ -13919,7 +13919,7 @@ void Ifc4x3_tc1::IfcRelDefinesByTemplate::setRelatedPropertySets(const std::vect void Ifc4x3_tc1::IfcRelDefinesByTemplate::setRelatingTemplate(const ::Ifc4x3_tc1::IfcPropertySetTemplate& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelDefinesByTemplate::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[932]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefinesByTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[932]); } void Ifc4x3_tc1::IfcRelDefinesByTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_tc1::IfcPropertySetTemplate v6_RelatingTemplate) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedPropertySets));set_attribute_value(5, (v6_RelatingTemplate)); } // Function implementations for IfcRelDefinesByType @@ -13929,7 +13929,7 @@ void Ifc4x3_tc1::IfcRelDefinesByType::setRelatedObjects(const std::vector< ::Ifc void Ifc4x3_tc1::IfcRelDefinesByType::setRelatingType(const ::Ifc4x3_tc1::IfcTypeObject& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelDefinesByType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[933]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelDefinesByType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[933]); } void Ifc4x3_tc1::IfcRelDefinesByType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_tc1::IfcTypeObject v6_RelatingType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedObjects));set_attribute_value(5, (v6_RelatingType)); } // Function implementations for IfcRelFillsElement @@ -13939,7 +13939,7 @@ void Ifc4x3_tc1::IfcRelFillsElement::setRelatingOpeningElement(const ::Ifc4x3_tc void Ifc4x3_tc1::IfcRelFillsElement::setRelatedBuildingElement(const ::Ifc4x3_tc1::IfcElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelFillsElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[934]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelFillsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[934]); } void Ifc4x3_tc1::IfcRelFillsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingOpeningElement));set_attribute_value(5, (v6_RelatedBuildingElement)); } // Function implementations for IfcRelFlowControlElements @@ -13949,7 +13949,7 @@ void Ifc4x3_tc1::IfcRelFlowControlElements::setRelatedControlElements(const std: void Ifc4x3_tc1::IfcRelFlowControlElements::setRelatingFlowElement(const ::Ifc4x3_tc1::IfcDistributionFlowElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelFlowControlElements::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[935]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelFlowControlElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[935]); } void Ifc4x3_tc1::IfcRelFlowControlElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_tc1::IfcDistributionFlowElement v6_RelatingFlowElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedControlElements));set_attribute_value(5, (v6_RelatingFlowElement)); } // Function implementations for IfcRelInterferesElements @@ -13967,7 +13967,7 @@ void Ifc4x3_tc1::IfcRelInterferesElements::setImpliedOrder(const boost::logic::t void Ifc4x3_tc1::IfcRelInterferesElements::setInterferenceSpace(const ::Ifc4x3_tc1::IfcSpatialZone& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelInterferesElements::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[936]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelInterferesElements::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[936]); } void Ifc4x3_tc1::IfcRelInterferesElements::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_tc1::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder, ::Ifc4x3_tc1::IfcSpatialZone v10_InterferenceSpace) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedElement));set_attribute_value(6, (v7_InterferenceGeometry)); if (v8_InterferenceType) {set_attribute_value(7, (*v8_InterferenceType)); }set_attribute_value(8, (v9_ImpliedOrder));set_attribute_value(9, (v10_InterferenceSpace)); } // Function implementations for IfcRelNests @@ -13977,7 +13977,7 @@ std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > Ifc4x3_tc1::IfcRelNests::Relate void Ifc4x3_tc1::IfcRelNests::setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObjectDefinition >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelNests::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[937]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelNests::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[937]); } void Ifc4x3_tc1::IfcRelNests::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v6_RelatedObjects) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingObject));set_attribute_value(5, cast_vector(v6_RelatedObjects)); } // Function implementations for IfcRelPositions @@ -13987,7 +13987,7 @@ std::vector< ::Ifc4x3_tc1::IfcProduct > Ifc4x3_tc1::IfcRelPositions::RelatedProd void Ifc4x3_tc1::IfcRelPositions::setRelatedProducts(const std::vector< ::Ifc4x3_tc1::IfcProduct >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelPositions::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[938]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelPositions::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[938]); } void Ifc4x3_tc1::IfcRelPositions::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_tc1::IfcProduct > v6_RelatedProducts) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingPositioningElement));set_attribute_value(5, cast_vector(v6_RelatedProducts)); } // Function implementations for IfcRelProjectsElement @@ -13997,7 +13997,7 @@ void Ifc4x3_tc1::IfcRelProjectsElement::setRelatingElement(const ::Ifc4x3_tc1::I void Ifc4x3_tc1::IfcRelProjectsElement::setRelatedFeatureElement(const ::Ifc4x3_tc1::IfcFeatureElementAddition& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelProjectsElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[939]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelProjectsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[939]); } void Ifc4x3_tc1::IfcRelProjectsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingElement, ::Ifc4x3_tc1::IfcFeatureElementAddition v6_RelatedFeatureElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingElement));set_attribute_value(5, (v6_RelatedFeatureElement)); } // Function implementations for IfcRelReferencedInSpatialStructure @@ -14007,7 +14007,7 @@ void Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::setRelatedElements(const st void Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::setRelatingStructure(const ::Ifc4x3_tc1::IfcSpatialElement& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[940]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[940]); } void Ifc4x3_tc1::IfcRelReferencedInSpatialStructure::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_tc1::IfcSpatialElement v6_RelatingStructure) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, cast_vector(v5_RelatedElements));set_attribute_value(5, (v6_RelatingStructure)); } // Function implementations for IfcRelSequence @@ -14018,13 +14018,13 @@ void Ifc4x3_tc1::IfcRelSequence::setRelatedProcess(const ::Ifc4x3_tc1::IfcProces ::Ifc4x3_tc1::IfcLagTime Ifc4x3_tc1::IfcRelSequence::TimeLag() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcLagTime{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcLagTime>(); } void Ifc4x3_tc1::IfcRelSequence::setTimeLag(const ::Ifc4x3_tc1::IfcLagTime& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< ::Ifc4x3_tc1::IfcSequenceEnum::Value > Ifc4x3_tc1::IfcRelSequence::SequenceType() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSequenceEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_tc1::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } +void Ifc4x3_tc1::IfcRelSequence::setSequenceType(const std::optional< ::Ifc4x3_tc1::IfcSequenceEnum::Value >& v) { if (v) {set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcSequenceEnum::Class(), (size_t) *v));} else {unset_attribute_value(7);} } std::optional< std::string > Ifc4x3_tc1::IfcRelSequence::UserDefinedSequenceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcRelSequence::setUserDefinedSequenceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRelSequence::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[941]); } -void Ifc4x3_tc1::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcProcess v5_RelatingProcess, ::Ifc4x3_tc1::IfcProcess v6_RelatedProcess, ::Ifc4x3_tc1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_tc1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelSequence::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[941]); } +void Ifc4x3_tc1::IfcRelSequence::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcProcess v5_RelatingProcess, ::Ifc4x3_tc1::IfcProcess v6_RelatedProcess, ::Ifc4x3_tc1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_tc1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingProcess));set_attribute_value(5, (v6_RelatedProcess));set_attribute_value(6, (v7_TimeLag)); if (v8_SequenceType) {set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcSequenceEnum::Class(),(size_t)*v8_SequenceType))); } if (v9_UserDefinedSequenceType) {set_attribute_value(8, (*v9_UserDefinedSequenceType)); } } // Function implementations for IfcRelServicesBuildings ::Ifc4x3_tc1::IfcSystem Ifc4x3_tc1::IfcRelServicesBuildings::RelatingSystem() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcSystem>(); } @@ -14033,7 +14033,7 @@ std::vector< ::Ifc4x3_tc1::IfcSpatialElement > Ifc4x3_tc1::IfcRelServicesBuildin void Ifc4x3_tc1::IfcRelServicesBuildings::setRelatedBuildings(const std::vector< ::Ifc4x3_tc1::IfcSpatialElement >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelServicesBuildings::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[942]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelServicesBuildings::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[942]); } void Ifc4x3_tc1::IfcRelServicesBuildings::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_tc1::IfcSpatialElement > v6_RelatedBuildings) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSystem));set_attribute_value(5, cast_vector(v6_RelatedBuildings)); } // Function implementations for IfcRelSpaceBoundary @@ -14044,31 +14044,31 @@ void Ifc4x3_tc1::IfcRelSpaceBoundary::setRelatedBuildingElement(const ::Ifc4x3_t ::Ifc4x3_tc1::IfcConnectionGeometry Ifc4x3_tc1::IfcRelSpaceBoundary::ConnectionGeometry() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcConnectionGeometry{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcConnectionGeometry>(); } void Ifc4x3_tc1::IfcRelSpaceBoundary::setConnectionGeometry(const ::Ifc4x3_tc1::IfcConnectionGeometry& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value Ifc4x3_tc1::IfcRelSpaceBoundary::PhysicalOrVirtualBoundary() const { return ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_tc1::IfcRelSpaceBoundary::setPhysicalOrVirtualBoundary(const ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value Ifc4x3_tc1::IfcRelSpaceBoundary::InternalOrExternalBoundary() const { return ::Ifc4x3_tc1::IfcInternalOrExternalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_tc1::IfcRelSpaceBoundary::setInternalOrExternalBoundary(const ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelSpaceBoundary::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[943]); } -void Ifc4x3_tc1::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelSpaceBoundary::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[943]); } +void Ifc4x3_tc1::IfcRelSpaceBoundary::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary))); } // Function implementations for IfcRelSpaceBoundary1stLevel ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::ParentBoundary() const { if(get_attribute_value(9).isNull()) { return ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel{}; } return ((express::Base)(get_attribute_value(9))).as<::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel>(); } void Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::setParentBoundary(const ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel> Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[944], 9)); } +std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel> Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::InnerBoundaries() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[944], 9)); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[944]); } -void Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[944]); } +void Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary)); } // Function implementations for IfcRelSpaceBoundary2ndLevel ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary() const { if(get_attribute_value(10).isNull()) { return ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel{}; } return ((express::Base)(get_attribute_value(10))).as<::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel>(); } void Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::setCorrespondingBoundary(const ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel& v) { set_attribute_value(10, v);if constexpr (false)unset_attribute_value(10); } -std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel> Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[945], 10)); } +std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel> Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::Corresponds() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[945], 10)); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[945]); } -void Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[945]); } +void Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingSpace));set_attribute_value(5, (v6_RelatedBuildingElement));set_attribute_value(6, (v7_ConnectionGeometry));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Class(),(size_t)v8_PhysicalOrVirtualBoundary)));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcInternalOrExternalEnum::Class(),(size_t)v9_InternalOrExternalBoundary)));set_attribute_value(9, (v10_ParentBoundary));set_attribute_value(10, (v11_CorrespondingBoundary)); } // Function implementations for IfcRelVoidsElement ::Ifc4x3_tc1::IfcElement Ifc4x3_tc1::IfcRelVoidsElement::RelatingBuildingElement() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcElement>(); } @@ -14077,13 +14077,13 @@ void Ifc4x3_tc1::IfcRelVoidsElement::setRelatingBuildingElement(const ::Ifc4x3_t void Ifc4x3_tc1::IfcRelVoidsElement::setRelatedOpeningElement(const ::Ifc4x3_tc1::IfcFeatureElementSubtraction& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRelVoidsElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[946]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelVoidsElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[946]); } void Ifc4x3_tc1::IfcRelVoidsElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_tc1::IfcFeatureElementSubtraction v6_RelatedOpeningElement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (v5_RelatingBuildingElement));set_attribute_value(5, (v6_RelatedOpeningElement)); } // Function implementations for IfcRelationship -const IfcParse::entity& Ifc4x3_tc1::IfcRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[914]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[914]); } void Ifc4x3_tc1::IfcRelationship::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcReparametrisedCompositeCurveSegment @@ -14091,8 +14091,8 @@ double Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::ParamLength() const { void Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::setParamLength(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[947]); } -void Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_tc1::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[947]); } +void Ifc4x3_tc1::IfcReparametrisedCompositeCurveSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_tc1::IfcCurve v3_ParentCurve, double v4_ParamLength) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition)));set_attribute_value(1, (v2_SameSense));set_attribute_value(2, (v3_ParentCurve));set_attribute_value(3, (v4_ParamLength)); } // Function implementations for IfcRepresentation ::Ifc4x3_tc1::IfcRepresentationContext Ifc4x3_tc1::IfcRepresentation::ContextOfItems() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcRepresentationContext>(); } @@ -14104,11 +14104,11 @@ void Ifc4x3_tc1::IfcRepresentation::setRepresentationType(const std::optional< s std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > Ifc4x3_tc1::IfcRepresentation::Items() const { std::vector es = get_attribute_value(3); return cast_vector<::Ifc4x3_tc1::IfcRepresentationItem>(es); } void Ifc4x3_tc1::IfcRepresentation::setItems(const std::vector< ::Ifc4x3_tc1::IfcRepresentationItem >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -std::vector<::Ifc4x3_tc1::IfcRepresentationMap> Ifc4x3_tc1::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[951], 1)); } -std::vector<::Ifc4x3_tc1::IfcPresentationLayerAssignment> Ifc4x3_tc1::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[789], 2)); } -std::vector<::Ifc4x3_tc1::IfcProductRepresentation> Ifc4x3_tc1::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[800], 2)); } +std::vector<::Ifc4x3_tc1::IfcRepresentationMap> Ifc4x3_tc1::IfcRepresentation::RepresentationMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[951], 1)); } +std::vector<::Ifc4x3_tc1::IfcPresentationLayerAssignment> Ifc4x3_tc1::IfcRepresentation::LayerAssignments() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[789], 2)); } +std::vector<::Ifc4x3_tc1::IfcProductRepresentation> Ifc4x3_tc1::IfcRepresentation::OfProductRepresentation() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[800], 2)); } -const IfcParse::entity& Ifc4x3_tc1::IfcRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[948]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[948]); } void Ifc4x3_tc1::IfcRepresentation::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcRepresentationContext @@ -14117,17 +14117,17 @@ void Ifc4x3_tc1::IfcRepresentationContext::setContextIdentifier(const std::optio std::optional< std::string > Ifc4x3_tc1::IfcRepresentationContext::ContextType() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::string v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcRepresentationContext::setContextType(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -std::vector<::Ifc4x3_tc1::IfcRepresentation> Ifc4x3_tc1::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[948], 0)); } +std::vector<::Ifc4x3_tc1::IfcRepresentation> Ifc4x3_tc1::IfcRepresentationContext::RepresentationsInContext() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[948], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcRepresentationContext::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[949]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRepresentationContext::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[949]); } void Ifc4x3_tc1::IfcRepresentationContext::initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType) { if (v1_ContextIdentifier) {set_attribute_value(0, (*v1_ContextIdentifier)); } if (v2_ContextType) {set_attribute_value(1, (*v2_ContextType)); } } // Function implementations for IfcRepresentationItem -std::vector<::Ifc4x3_tc1::IfcPresentationLayerAssignment> Ifc4x3_tc1::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[789], 2)); } -std::vector<::Ifc4x3_tc1::IfcStyledItem> Ifc4x3_tc1::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1114], 0)); } +std::vector<::Ifc4x3_tc1::IfcPresentationLayerAssignment> Ifc4x3_tc1::IfcRepresentationItem::LayerAssignment() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[789], 2)); } +std::vector<::Ifc4x3_tc1::IfcStyledItem> Ifc4x3_tc1::IfcRepresentationItem::StyledByItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1114], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[950]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[950]); } void Ifc4x3_tc1::IfcRepresentationItem::initialize() { } // Function implementations for IfcRepresentationMap @@ -14136,10 +14136,10 @@ void Ifc4x3_tc1::IfcRepresentationMap::setMappingOrigin(const ::Ifc4x3_tc1::IfcA ::Ifc4x3_tc1::IfcRepresentation Ifc4x3_tc1::IfcRepresentationMap::MappedRepresentation() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcRepresentation>(); } void Ifc4x3_tc1::IfcRepresentationMap::setMappedRepresentation(const ::Ifc4x3_tc1::IfcRepresentation& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_tc1::IfcShapeAspect> Ifc4x3_tc1::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1003], 4)); } -std::vector<::Ifc4x3_tc1::IfcMappedItem> Ifc4x3_tc1::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[626], 0)); } +std::vector<::Ifc4x3_tc1::IfcShapeAspect> Ifc4x3_tc1::IfcRepresentationMap::HasShapeAspects() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1003], 4)); } +std::vector<::Ifc4x3_tc1::IfcMappedItem> Ifc4x3_tc1::IfcRepresentationMap::MapUsage() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[626], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcRepresentationMap::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[951]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRepresentationMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[951]); } void Ifc4x3_tc1::IfcRepresentationMap::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_tc1::IfcRepresentation v2_MappedRepresentation) { set_attribute_value(0, (v1_MappingOrigin));set_attribute_value(1, (v2_MappedRepresentation)); } // Function implementations for IfcResource @@ -14148,9 +14148,9 @@ void Ifc4x3_tc1::IfcResource::setIdentification(const std::optional< std::string std::optional< std::string > Ifc4x3_tc1::IfcResource::LongDescription() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcResource::setLongDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -std::vector<::Ifc4x3_tc1::IfcRelAssignsToResource> Ifc4x3_tc1::IfcResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[905], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelAssignsToResource> Ifc4x3_tc1::IfcResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[905], 6)); } -const IfcParse::entity& Ifc4x3_tc1::IfcResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[952]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[952]); } void Ifc4x3_tc1::IfcResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } // Function implementations for IfcResourceApprovalRelationship @@ -14160,7 +14160,7 @@ void Ifc4x3_tc1::IfcResourceApprovalRelationship::setRelatedResourceObjects(cons void Ifc4x3_tc1::IfcResourceApprovalRelationship::setRelatingApproval(const ::Ifc4x3_tc1::IfcApproval& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcResourceApprovalRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[953]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcResourceApprovalRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[953]); } void Ifc4x3_tc1::IfcResourceApprovalRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_tc1::IfcApproval v4_RelatingApproval) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, cast_vector(v3_RelatedResourceObjects));set_attribute_value(3, (v4_RelatingApproval)); } // Function implementations for IfcResourceConstraintRelationship @@ -14170,7 +14170,7 @@ std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > Ifc4x3_tc1::IfcResourceCons void Ifc4x3_tc1::IfcResourceConstraintRelationship::setRelatedResourceObjects(const std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect >& v) { set_attribute_value(3, cast_vector(v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcResourceConstraintRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[954]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcResourceConstraintRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[954]); } void Ifc4x3_tc1::IfcResourceConstraintRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > v4_RelatedResourceObjects) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); }set_attribute_value(2, (v3_RelatingConstraint));set_attribute_value(3, cast_vector(v4_RelatedResourceObjects)); } // Function implementations for IfcResourceLevelRelationship @@ -14180,7 +14180,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcResourceLevelRelationship::Descripti void Ifc4x3_tc1::IfcResourceLevelRelationship::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_tc1::IfcResourceLevelRelationship::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[955]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcResourceLevelRelationship::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[955]); } void Ifc4x3_tc1::IfcResourceLevelRelationship::initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Description) {set_attribute_value(1, (*v2_Description)); } } // Function implementations for IfcResourceTime @@ -14216,8 +14216,8 @@ std::optional< double > Ifc4x3_tc1::IfcResourceTime::Completion() const { if(get void Ifc4x3_tc1::IfcResourceTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(17, *v);} else {unset_attribute_value(17);} } -const IfcParse::entity& Ifc4x3_tc1::IfcResourceTime::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[958]); } -void Ifc4x3_tc1::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcResourceTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[958]); } +void Ifc4x3_tc1::IfcResourceTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcRevolvedAreaSolid ::Ifc4x3_tc1::IfcAxis1Placement Ifc4x3_tc1::IfcRevolvedAreaSolid::Axis() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcAxis1Placement>(); } @@ -14226,7 +14226,7 @@ double Ifc4x3_tc1::IfcRevolvedAreaSolid::Angle() const { double v = get_attribu void Ifc4x3_tc1::IfcRevolvedAreaSolid::setAngle(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcRevolvedAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[959]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRevolvedAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[959]); } void Ifc4x3_tc1::IfcRevolvedAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcAxis1Placement v3_Axis, double v4_Angle) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle)); } // Function implementations for IfcRevolvedAreaSolidTapered @@ -14234,7 +14234,7 @@ void Ifc4x3_tc1::IfcRevolvedAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1 void Ifc4x3_tc1::IfcRevolvedAreaSolidTapered::setEndSweptArea(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcRevolvedAreaSolidTapered::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[960]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRevolvedAreaSolidTapered::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[960]); } void Ifc4x3_tc1::IfcRevolvedAreaSolidTapered::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_tc1::IfcProfileDef v5_EndSweptArea) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Axis));set_attribute_value(3, (v4_Angle));set_attribute_value(4, (v5_EndSweptArea)); } // Function implementations for IfcRightCircularCone @@ -14244,7 +14244,7 @@ double Ifc4x3_tc1::IfcRightCircularCone::BottomRadius() const { double v = get_ void Ifc4x3_tc1::IfcRightCircularCone::setBottomRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcRightCircularCone::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[961]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRightCircularCone::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[961]); } void Ifc4x3_tc1::IfcRightCircularCone::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_BottomRadius)); } // Function implementations for IfcRightCircularCylinder @@ -14254,40 +14254,40 @@ double Ifc4x3_tc1::IfcRightCircularCylinder::Radius() const { double v = get_at void Ifc4x3_tc1::IfcRightCircularCylinder::setRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcRightCircularCylinder::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[962]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRightCircularCylinder::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[962]); } void Ifc4x3_tc1::IfcRightCircularCylinder::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Height));set_attribute_value(2, (v3_Radius)); } // Function implementations for IfcRoad std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value > Ifc4x3_tc1::IfcRoad::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRoadTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcRoad::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRoadTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRoad::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[963]); } -void Ifc4x3_tc1::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRoad::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[963]); } +void Ifc4x3_tc1::IfcRoad::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRoadTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcRoadPart std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value > Ifc4x3_tc1::IfcRoadPart::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRoadPartTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcRoadPart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcRoadPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcRoadPart::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcRoadPartTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRoadPart::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[964]); } -void Ifc4x3_tc1::IfcRoadPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRoadPart::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[964]); } +void Ifc4x3_tc1::IfcRoadPart::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcFacilityUsageEnum::Class(),(size_t)v10_UsageType))); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcRoadPartTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcRoof std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value > Ifc4x3_tc1::IfcRoof::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcRoofTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcRoof::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRoof::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[968]); } -void Ifc4x3_tc1::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRoof::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[968]); } +void Ifc4x3_tc1::IfcRoof::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcRoofType ::Ifc4x3_tc1::IfcRoofTypeEnum::Value Ifc4x3_tc1::IfcRoofType::PredefinedType() const { return ::Ifc4x3_tc1::IfcRoofTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcRoofType::setPredefinedType(const ::Ifc4x3_tc1::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcRoofType::setPredefinedType(const ::Ifc4x3_tc1::IfcRoofTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcRoofType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[969]); } -void Ifc4x3_tc1::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRoofType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[969]); } +void Ifc4x3_tc1::IfcRoofType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRoofTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcRoofTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcRoot std::string Ifc4x3_tc1::IfcRoot::GlobalId() const { std::string v = get_attribute_value(0); return v; } @@ -14300,7 +14300,7 @@ std::optional< std::string > Ifc4x3_tc1::IfcRoot::Description() const { if(get_a void Ifc4x3_tc1::IfcRoot::setDescription(const std::optional< std::string >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcRoot::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[971]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRoot::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[971]); } void Ifc4x3_tc1::IfcRoot::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } } // Function implementations for IfcRoundedRectangleProfileDef @@ -14308,52 +14308,52 @@ double Ifc4x3_tc1::IfcRoundedRectangleProfileDef::RoundingRadius() const { doub void Ifc4x3_tc1::IfcRoundedRectangleProfileDef::setRoundingRadius(const double& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcRoundedRectangleProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[976]); } -void Ifc4x3_tc1::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcRoundedRectangleProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[976]); } +void Ifc4x3_tc1::IfcRoundedRectangleProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_XDim));set_attribute_value(4, (v5_YDim));set_attribute_value(5, (v6_RoundingRadius)); } // Function implementations for IfcSIUnit std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value > Ifc4x3_tc1::IfcSIUnit::Prefix() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSIPrefix::FromString(get_attribute_value(2)); } -void Ifc4x3_tc1::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, EnumerationReference(&::Ifc4x3_tc1::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } +void Ifc4x3_tc1::IfcSIUnit::setPrefix(const std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value >& v) { if (v) {set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcSIPrefix::Class(), (size_t) *v));} else {unset_attribute_value(2);} } ::Ifc4x3_tc1::IfcSIUnitName::Value Ifc4x3_tc1::IfcSIUnit::Name() const { return ::Ifc4x3_tc1::IfcSIUnitName::FromString(get_attribute_value(3)); } -void Ifc4x3_tc1::IfcSIUnit::setName(const ::Ifc4x3_tc1::IfcSIUnitName::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_tc1::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_tc1::IfcSIUnit::setName(const ::Ifc4x3_tc1::IfcSIUnitName::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_tc1::IfcSIUnitName::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcSIUnit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1022]); } -void Ifc4x3_tc1::IfcSIUnit::initialize(::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_tc1::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (EnumerationReference(&::Ifc4x3_tc1::IfcSIUnitName::Class(),(size_t)v4_Name))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSIUnit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1022]); } +void Ifc4x3_tc1::IfcSIUnit::initialize(::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_tc1::IfcSIUnitName::Value v4_Name) { set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitEnum::Class(),(size_t)v2_UnitType))); if (v3_Prefix) {set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcSIPrefix::Class(),(size_t)*v3_Prefix))); }set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::IfcSIUnitName::Class(),(size_t)v4_Name))); } // Function implementations for IfcSanitaryTerminal std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value > Ifc4x3_tc1::IfcSanitaryTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSanitaryTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSanitaryTerminal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[977]); } -void Ifc4x3_tc1::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSanitaryTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[977]); } +void Ifc4x3_tc1::IfcSanitaryTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSanitaryTerminalType ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value Ifc4x3_tc1::IfcSanitaryTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSanitaryTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcSanitaryTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[978]); } -void Ifc4x3_tc1::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSanitaryTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[978]); } +void Ifc4x3_tc1::IfcSanitaryTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSchedulingTime std::optional< std::string > Ifc4x3_tc1::IfcSchedulingTime::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_tc1::IfcSchedulingTime::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > Ifc4x3_tc1::IfcSchedulingTime::DataOrigin() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcDataOriginEnum::FromString(get_attribute_value(1)); } -void Ifc4x3_tc1::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } +void Ifc4x3_tc1::IfcSchedulingTime::setDataOrigin(const std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value >& v) { if (v) {set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(), (size_t) *v));} else {unset_attribute_value(1);} } std::optional< std::string > Ifc4x3_tc1::IfcSchedulingTime::UserDefinedDataOrigin() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } std::string v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcSchedulingTime::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSchedulingTime::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[980]); } -void Ifc4x3_tc1::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSchedulingTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[980]); } +void Ifc4x3_tc1::IfcSchedulingTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } } // Function implementations for IfcSeamCurve -const IfcParse::entity& Ifc4x3_tc1::IfcSeamCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[981]); } -void Ifc4x3_tc1::IfcSeamCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSeamCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[981]); } +void Ifc4x3_tc1::IfcSeamCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSecondOrderPolynomialSpiral double Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::QuadraticTerm() const { double v = get_attribute_value(1); return v; } @@ -14364,20 +14364,20 @@ std::optional< double > Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::ConstantTerm void Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[982]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[982]); } void Ifc4x3_tc1::IfcSecondOrderPolynomialSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_QuadraticTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSectionProperties ::Ifc4x3_tc1::IfcSectionTypeEnum::Value Ifc4x3_tc1::IfcSectionProperties::SectionType() const { return ::Ifc4x3_tc1::IfcSectionTypeEnum::FromString(get_attribute_value(0)); } -void Ifc4x3_tc1::IfcSectionProperties::setSectionType(const ::Ifc4x3_tc1::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_tc1::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_tc1::IfcSectionProperties::setSectionType(const ::Ifc4x3_tc1::IfcSectionTypeEnum::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcSectionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } ::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcSectionProperties::StartProfile() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcProfileDef>(); } void Ifc4x3_tc1::IfcSectionProperties::setStartProfile(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_tc1::IfcProfileDef Ifc4x3_tc1::IfcSectionProperties::EndProfile() const { if(get_attribute_value(2).isNull()) { return ::Ifc4x3_tc1::IfcProfileDef{}; } return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcProfileDef>(); } void Ifc4x3_tc1::IfcSectionProperties::setEndProfile(const ::Ifc4x3_tc1::IfcProfileDef& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcSectionProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[989]); } -void Ifc4x3_tc1::IfcSectionProperties::initialize(::Ifc4x3_tc1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_tc1::IfcProfileDef v2_StartProfile, ::Ifc4x3_tc1::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[989]); } +void Ifc4x3_tc1::IfcSectionProperties::initialize(::Ifc4x3_tc1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_tc1::IfcProfileDef v2_StartProfile, ::Ifc4x3_tc1::IfcProfileDef v3_EndProfile) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcSectionTypeEnum::Class(),(size_t)v1_SectionType)));set_attribute_value(1, (v2_StartProfile));set_attribute_value(2, (v3_EndProfile)); } // Function implementations for IfcSectionReinforcementProperties double Ifc4x3_tc1::IfcSectionReinforcementProperties::LongitudinalStartPosition() const { double v = get_attribute_value(0); return v; } @@ -14387,15 +14387,15 @@ void Ifc4x3_tc1::IfcSectionReinforcementProperties::setLongitudinalEndPosition(c std::optional< double > Ifc4x3_tc1::IfcSectionReinforcementProperties::TransversePosition() const { if(get_attribute_value(2).isNull()) { return std::nullopt; } double v = get_attribute_value(2); return v; } void Ifc4x3_tc1::IfcSectionReinforcementProperties::setTransversePosition(const std::optional< double >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value Ifc4x3_tc1::IfcSectionReinforcementProperties::ReinforcementRole() const { return ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_tc1::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, EnumerationReference(&::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } +void Ifc4x3_tc1::IfcSectionReinforcementProperties::setReinforcementRole(const ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value& v) { set_attribute_value(3, enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_tc1::IfcSectionProperties Ifc4x3_tc1::IfcSectionReinforcementProperties::SectionDefinition() const { return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcSectionProperties>(); } void Ifc4x3_tc1::IfcSectionReinforcementProperties::setSectionDefinition(const ::Ifc4x3_tc1::IfcSectionProperties& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties > Ifc4x3_tc1::IfcSectionReinforcementProperties::CrossSectionReinforcementDefinitions() const { std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcReinforcementBarProperties>(es); } void Ifc4x3_tc1::IfcSectionReinforcementProperties::setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties >& v) { set_attribute_value(5, cast_vector(v));if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcSectionReinforcementProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[990]); } -void Ifc4x3_tc1::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_tc1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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_tc1::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionReinforcementProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[990]); } +void Ifc4x3_tc1::IfcSectionReinforcementProperties::initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_tc1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions) { 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, (enumeration_reference(&::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Class(),(size_t)v4_ReinforcementRole)));set_attribute_value(4, (v5_SectionDefinition));set_attribute_value(5, cast_vector(v6_CrossSectionReinforcementDefinitions)); } // Function implementations for IfcSectionedSolid ::Ifc4x3_tc1::IfcCurve Ifc4x3_tc1::IfcSectionedSolid::Directrix() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCurve>(); } @@ -14404,7 +14404,7 @@ std::vector< ::Ifc4x3_tc1::IfcProfileDef > Ifc4x3_tc1::IfcSectionedSolid::CrossS void Ifc4x3_tc1::IfcSectionedSolid::setCrossSections(const std::vector< ::Ifc4x3_tc1::IfcProfileDef >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcSectionedSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[984]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionedSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[984]); } void Ifc4x3_tc1::IfcSectionedSolid::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v2_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections)); } // Function implementations for IfcSectionedSolidHorizontal @@ -14412,7 +14412,7 @@ std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > Ifc4x3_tc1::IfcSectionedSol void Ifc4x3_tc1::IfcSectionedSolidHorizontal::setCrossSectionPositions(const std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcSectionedSolidHorizontal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[985]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionedSolidHorizontal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[985]); } void Ifc4x3_tc1::IfcSectionedSolidHorizontal::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > v3_CrossSectionPositions) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSpine @@ -14424,7 +14424,7 @@ std::vector< ::Ifc4x3_tc1::IfcAxis2Placement3D > Ifc4x3_tc1::IfcSectionedSpine:: void Ifc4x3_tc1::IfcSectionedSpine::setCrossSectionPositions(const std::vector< ::Ifc4x3_tc1::IfcAxis2Placement3D >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcSectionedSpine::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[986]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionedSpine::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[986]); } void Ifc4x3_tc1::IfcSectionedSpine::initialize(::Ifc4x3_tc1::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_tc1::IfcAxis2Placement3D > v3_CrossSectionPositions) { set_attribute_value(0, (v1_SpineCurve));set_attribute_value(1, cast_vector(v2_CrossSections));set_attribute_value(2, cast_vector(v3_CrossSectionPositions)); } // Function implementations for IfcSectionedSurface @@ -14436,17 +14436,17 @@ std::vector< ::Ifc4x3_tc1::IfcProfileDef > Ifc4x3_tc1::IfcSectionedSurface::Cros void Ifc4x3_tc1::IfcSectionedSurface::setCrossSections(const std::vector< ::Ifc4x3_tc1::IfcProfileDef >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcSectionedSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[987]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSectionedSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[987]); } void Ifc4x3_tc1::IfcSectionedSurface::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > v2_CrossSectionPositions, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v3_CrossSections) { set_attribute_value(0, (v1_Directrix));set_attribute_value(1, cast_vector(v2_CrossSectionPositions));set_attribute_value(2, cast_vector(v3_CrossSections)); } // Function implementations for IfcSegment ::Ifc4x3_tc1::IfcTransitionCode::Value Ifc4x3_tc1::IfcSegment::Transition() const { return ::Ifc4x3_tc1::IfcTransitionCode::FromString(get_attribute_value(0)); } -void Ifc4x3_tc1::IfcSegment::setTransition(const ::Ifc4x3_tc1::IfcTransitionCode::Value& v) { set_attribute_value(0, EnumerationReference(&::Ifc4x3_tc1::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } +void Ifc4x3_tc1::IfcSegment::setTransition(const ::Ifc4x3_tc1::IfcTransitionCode::Value& v) { set_attribute_value(0, enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(), (size_t) v));if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_tc1::IfcCompositeCurve> Ifc4x3_tc1::IfcSegment::UsingCurves() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[192], 0)); } +std::vector<::Ifc4x3_tc1::IfcCompositeCurve> Ifc4x3_tc1::IfcSegment::UsingCurves() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[192], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcSegment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[992]); } -void Ifc4x3_tc1::IfcSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSegment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[992]); } +void Ifc4x3_tc1::IfcSegment::initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcTransitionCode::Class(),(size_t)v1_Transition))); } // Function implementations for IfcSegmentedReferenceCurve ::Ifc4x3_tc1::IfcBoundedCurve Ifc4x3_tc1::IfcSegmentedReferenceCurve::BaseCurve() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcBoundedCurve>(); } @@ -14455,24 +14455,24 @@ void Ifc4x3_tc1::IfcSegmentedReferenceCurve::setBaseCurve(const ::Ifc4x3_tc1::If void Ifc4x3_tc1::IfcSegmentedReferenceCurve::setEndPoint(const ::Ifc4x3_tc1::IfcPlacement& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcSegmentedReferenceCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[993]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSegmentedReferenceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[993]); } void Ifc4x3_tc1::IfcSegmentedReferenceCurve::initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_tc1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_tc1::IfcPlacement v4_EndPoint) { set_attribute_value(0, cast_vector(v1_Segments));set_attribute_value(1, (v2_SelfIntersect));set_attribute_value(2, (v3_BaseCurve));set_attribute_value(3, (v4_EndPoint)); } // Function implementations for IfcSensor std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value > Ifc4x3_tc1::IfcSensor::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSensorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSensor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSensor::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[995]); } -void Ifc4x3_tc1::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSensor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[995]); } +void Ifc4x3_tc1::IfcSensor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSensorType ::Ifc4x3_tc1::IfcSensorTypeEnum::Value Ifc4x3_tc1::IfcSensorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSensorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSensorType::setPredefinedType(const ::Ifc4x3_tc1::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSensorType::setPredefinedType(const ::Ifc4x3_tc1::IfcSensorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcSensorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[996]); } -void Ifc4x3_tc1::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSensorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[996]); } +void Ifc4x3_tc1::IfcSensorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSensorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSensorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSeventhOrderPolynomialSpiral double Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::SepticTerm() const { double v = get_attribute_value(1); return v; } @@ -14493,24 +14493,24 @@ std::optional< double > Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::ConstantTer void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[999]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[999]); } void Ifc4x3_tc1::IfcSeventhOrderPolynomialSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcShadingDevice std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value > Ifc4x3_tc1::IfcShadingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcShadingDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcShadingDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1000]); } -void Ifc4x3_tc1::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcShadingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1000]); } +void Ifc4x3_tc1::IfcShadingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcShadingDeviceType ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value Ifc4x3_tc1::IfcShadingDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcShadingDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcShadingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1001]); } -void Ifc4x3_tc1::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcShadingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1001]); } +void Ifc4x3_tc1::IfcShadingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcShapeAspect std::vector< ::Ifc4x3_tc1::IfcShapeModel > Ifc4x3_tc1::IfcShapeAspect::ShapeRepresentations() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcShapeModel>(es); } @@ -14524,22 +14524,22 @@ void Ifc4x3_tc1::IfcShapeAspect::setProductDefinitional(const boost::logic::trib ::Ifc4x3_tc1::IfcProductRepresentationSelect Ifc4x3_tc1::IfcShapeAspect::PartOfProductDefinitionShape() const { if(get_attribute_value(4).isNull()) { return ::Ifc4x3_tc1::IfcProductRepresentationSelect{}; } return ((express::Base)(get_attribute_value(4))).as<::Ifc4x3_tc1::IfcProductRepresentationSelect>(); } void Ifc4x3_tc1::IfcShapeAspect::setPartOfProductDefinitionShape(const ::Ifc4x3_tc1::IfcProductRepresentationSelect& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcShapeAspect::HasExternalReferences() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcShapeAspect::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1003]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcShapeAspect::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1003]); } void Ifc4x3_tc1::IfcShapeAspect::initialize(std::vector< ::Ifc4x3_tc1::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_tc1::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape) { set_attribute_value(0, cast_vector(v1_ShapeRepresentations)); 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)); } // Function implementations for IfcShapeModel -std::vector<::Ifc4x3_tc1::IfcShapeAspect> Ifc4x3_tc1::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1003], 0)); } +std::vector<::Ifc4x3_tc1::IfcShapeAspect> Ifc4x3_tc1::IfcShapeModel::OfShapeAspect() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1003], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcShapeModel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1004]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcShapeModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1004]); } void Ifc4x3_tc1::IfcShapeModel::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShapeRepresentation -const IfcParse::entity& Ifc4x3_tc1::IfcShapeRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1005]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcShapeRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1005]); } void Ifc4x3_tc1::IfcShapeRepresentation::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcShellBasedSurfaceModel @@ -14547,50 +14547,50 @@ std::vector< ::Ifc4x3_tc1::IfcShell > Ifc4x3_tc1::IfcShellBasedSurfaceModel::Sbs void Ifc4x3_tc1::IfcShellBasedSurfaceModel::setSbsmBoundary(const std::vector< ::Ifc4x3_tc1::IfcShell >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcShellBasedSurfaceModel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1008]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcShellBasedSurfaceModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1008]); } void Ifc4x3_tc1::IfcShellBasedSurfaceModel::initialize(std::vector< ::Ifc4x3_tc1::IfcShell > v1_SbsmBoundary) { set_attribute_value(0, cast_vector(v1_SbsmBoundary)); } // Function implementations for IfcSign std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value > Ifc4x3_tc1::IfcSign::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSignTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSign::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSign::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1009]); } -void Ifc4x3_tc1::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSign::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1009]); } +void Ifc4x3_tc1::IfcSign::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignType ::Ifc4x3_tc1::IfcSignTypeEnum::Value Ifc4x3_tc1::IfcSignType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSignTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSignType::setPredefinedType(const ::Ifc4x3_tc1::IfcSignTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSignType::setPredefinedType(const ::Ifc4x3_tc1::IfcSignTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcSignType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1013]); } -void Ifc4x3_tc1::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSignType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1013]); } +void Ifc4x3_tc1::IfcSignType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSignTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSignTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSignal std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value > Ifc4x3_tc1::IfcSignal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSignalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSignal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSignal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1010]); } -void Ifc4x3_tc1::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSignal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1010]); } +void Ifc4x3_tc1::IfcSignal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSignalType ::Ifc4x3_tc1::IfcSignalTypeEnum::Value Ifc4x3_tc1::IfcSignalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSignalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSignalType::setPredefinedType(const ::Ifc4x3_tc1::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSignalType::setPredefinedType(const ::Ifc4x3_tc1::IfcSignalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcSignalType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1011]); } -void Ifc4x3_tc1::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSignalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1011]); } +void Ifc4x3_tc1::IfcSignalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSignalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSignalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSimpleProperty -const IfcParse::entity& Ifc4x3_tc1::IfcSimpleProperty::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1015]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSimpleProperty::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1015]); } void Ifc4x3_tc1::IfcSimpleProperty::initialize(std::string v1_Name, std::optional< std::string > v2_Specification) { set_attribute_value(0, (v1_Name)); if (v2_Specification) {set_attribute_value(1, (*v2_Specification)); } } // Function implementations for IfcSimplePropertyTemplate std::optional< ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value > Ifc4x3_tc1::IfcSimplePropertyTemplate::TemplateType() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_tc1::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, EnumerationReference(&::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } +void Ifc4x3_tc1::IfcSimplePropertyTemplate::setTemplateType(const std::optional< ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value >& v) { if (v) {set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_tc1::IfcSimplePropertyTemplate::PrimaryMeasureType() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcSimplePropertyTemplate::setPrimaryMeasureType(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } std::optional< std::string > Ifc4x3_tc1::IfcSimplePropertyTemplate::SecondaryMeasureType() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } @@ -14604,11 +14604,11 @@ void Ifc4x3_tc1::IfcSimplePropertyTemplate::setSecondaryUnit(const ::Ifc4x3_tc1: std::optional< std::string > Ifc4x3_tc1::IfcSimplePropertyTemplate::Expression() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcSimplePropertyTemplate::setExpression(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > Ifc4x3_tc1::IfcSimplePropertyTemplate::AccessState() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStateEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_tc1::IfcSimplePropertyTemplate::setAccessState(const std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcStateEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSimplePropertyTemplate::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1016]); } -void Ifc4x3_tc1::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_tc1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_tc1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_tc1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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_tc1::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSimplePropertyTemplate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1016]); } +void Ifc4x3_tc1::IfcSimplePropertyTemplate::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_tc1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_tc1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_tc1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > v12_AccessState) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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, (enumeration_reference(&::Ifc4x3_tc1::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));set_attribute_value(8, (v9_PrimaryUnit));set_attribute_value(9, (v10_SecondaryUnit)); if (v11_Expression) {set_attribute_value(10, (*v11_Expression)); } if (v12_AccessState) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStateEnum::Class(),(size_t)*v12_AccessState))); } } // Function implementations for IfcSineSpiral double Ifc4x3_tc1::IfcSineSpiral::SineTerm() const { double v = get_attribute_value(1); return v; } @@ -14619,7 +14619,7 @@ std::optional< double > Ifc4x3_tc1::IfcSineSpiral::ConstantTerm() const { if(get void Ifc4x3_tc1::IfcSineSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSineSpiral::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1019]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSineSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1019]); } void Ifc4x3_tc1::IfcSineSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_SineTerm)); if (v3_LinearTerm) {set_attribute_value(2, (*v3_LinearTerm)); } if (v4_ConstantTerm) {set_attribute_value(3, (*v4_ConstantTerm)); } } // Function implementations for IfcSite @@ -14635,24 +14635,24 @@ void Ifc4x3_tc1::IfcSite::setLandTitleNumber(const std::optional< std::string >& void Ifc4x3_tc1::IfcSite::setSiteAddress(const ::Ifc4x3_tc1::IfcPostalAddress& v) { set_attribute_value(13, v);if constexpr (false)unset_attribute_value(13); } -const IfcParse::entity& Ifc4x3_tc1::IfcSite::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1021]); } -void Ifc4x3_tc1::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_tc1::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::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)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSite::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1021]); } +void Ifc4x3_tc1::IfcSite::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_tc1::IfcPostalAddress v14_SiteAddress) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::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)); } // Function implementations for IfcSlab std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value > Ifc4x3_tc1::IfcSlab::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSlabTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSlab::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSlab::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1025]); } -void Ifc4x3_tc1::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSlab::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1025]); } +void Ifc4x3_tc1::IfcSlab::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSlabType ::Ifc4x3_tc1::IfcSlabTypeEnum::Value Ifc4x3_tc1::IfcSlabType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSlabTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSlabType::setPredefinedType(const ::Ifc4x3_tc1::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSlabType::setPredefinedType(const ::Ifc4x3_tc1::IfcSlabTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcSlabType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1026]); } -void Ifc4x3_tc1::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSlabType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1026]); } +void Ifc4x3_tc1::IfcSlabType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSlabTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSlabTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSlippageConnectionCondition std::optional< double > Ifc4x3_tc1::IfcSlippageConnectionCondition::SlippageX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -14663,80 +14663,80 @@ std::optional< double > Ifc4x3_tc1::IfcSlippageConnectionCondition::SlippageZ() void Ifc4x3_tc1::IfcSlippageConnectionCondition::setSlippageZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSlippageConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1028]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSlippageConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1028]); } void Ifc4x3_tc1::IfcSlippageConnectionCondition::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ) { 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)); } } // Function implementations for IfcSolarDevice std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value > Ifc4x3_tc1::IfcSolarDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSolarDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSolarDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1029]); } -void Ifc4x3_tc1::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSolarDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1029]); } +void Ifc4x3_tc1::IfcSolarDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSolarDeviceType ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value Ifc4x3_tc1::IfcSolarDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSolarDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcSolarDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1030]); } -void Ifc4x3_tc1::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSolarDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1030]); } +void Ifc4x3_tc1::IfcSolarDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSolidModel -const IfcParse::entity& Ifc4x3_tc1::IfcSolidModel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1033]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSolidModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1033]); } void Ifc4x3_tc1::IfcSolidModel::initialize() { } // Function implementations for IfcSpace std::optional< ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value > Ifc4x3_tc1::IfcSpace::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcSpace::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_tc1::IfcSpace::ElevationWithFlooring() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcSpace::setElevationWithFlooring(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -std::vector<::Ifc4x3_tc1::IfcRelCoversSpaces> Ifc4x3_tc1::IfcSpace::HasCoverings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[926], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary> Ifc4x3_tc1::IfcSpace::BoundedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[943], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelCoversSpaces> Ifc4x3_tc1::IfcSpace::HasCoverings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[926], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelSpaceBoundary> Ifc4x3_tc1::IfcSpace::BoundedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[943], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcSpace::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1039]); } -void Ifc4x3_tc1::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpace::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1039]); } +void Ifc4x3_tc1::IfcSpace::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } if (v10_PredefinedType) {set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(),(size_t)*v10_PredefinedType))); } if (v11_ElevationWithFlooring) {set_attribute_value(10, (*v11_ElevationWithFlooring)); } } // Function implementations for IfcSpaceHeater std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value > Ifc4x3_tc1::IfcSpaceHeater::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSpaceHeater::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSpaceHeater::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1041]); } -void Ifc4x3_tc1::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpaceHeater::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1041]); } +void Ifc4x3_tc1::IfcSpaceHeater::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpaceHeaterType ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value Ifc4x3_tc1::IfcSpaceHeaterType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSpaceHeaterType::setPredefinedType(const ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcSpaceHeaterType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1042]); } -void Ifc4x3_tc1::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpaceHeaterType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1042]); } +void Ifc4x3_tc1::IfcSpaceHeaterType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSpaceType ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value Ifc4x3_tc1::IfcSpaceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSpaceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSpaceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSpaceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_tc1::IfcSpaceType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcSpaceType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSpaceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1044]); } -void Ifc4x3_tc1::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpaceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1044]); } +void Ifc4x3_tc1::IfcSpaceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSpaceTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSpatialElement std::optional< std::string > Ifc4x3_tc1::IfcSpatialElement::LongName() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcSpatialElement::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[924], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelServicesBuildings> Ifc4x3_tc1::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[942], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[940], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcSpatialElement::IsInterferedByElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[936], 5)); } -std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcSpatialElement::InterferesElements() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[936], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelContainedInSpatialStructure> Ifc4x3_tc1::IfcSpatialElement::ContainsElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[924], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelServicesBuildings> Ifc4x3_tc1::IfcSpatialElement::ServicedBySystems() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[942], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcSpatialElement::ReferencesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[940], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcSpatialElement::IsInterferedByElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[936], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelInterferesElements> Ifc4x3_tc1::IfcSpatialElement::InterferesElements() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[936], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcSpatialElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1046]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1046]); } void Ifc4x3_tc1::IfcSpatialElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } } // Function implementations for IfcSpatialElementType @@ -14744,47 +14744,47 @@ std::optional< std::string > Ifc4x3_tc1::IfcSpatialElementType::ElementType() co void Ifc4x3_tc1::IfcSpatialElementType::setElementType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSpatialElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1047]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1047]); } void Ifc4x3_tc1::IfcSpatialElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialStructureElement std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > Ifc4x3_tc1::IfcSpatialStructureElement::CompositionType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcElementCompositionEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSpatialStructureElement::setCompositionType(const std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSpatialStructureElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1049]); } -void Ifc4x3_tc1::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialStructureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1049]); } +void Ifc4x3_tc1::IfcSpatialStructureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_CompositionType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcElementCompositionEnum::Class(),(size_t)*v9_CompositionType))); } } // Function implementations for IfcSpatialStructureElementType -const IfcParse::entity& Ifc4x3_tc1::IfcSpatialStructureElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1050]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialStructureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1050]); } void Ifc4x3_tc1::IfcSpatialStructureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcSpatialZone std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value > Ifc4x3_tc1::IfcSpatialZone::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSpatialZone::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSpatialZone::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1051]); } -void Ifc4x3_tc1::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialZone::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1051]); } +void Ifc4x3_tc1::IfcSpatialZone::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_LongName) {set_attribute_value(7, (*v8_LongName)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSpatialZoneType ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value Ifc4x3_tc1::IfcSpatialZoneType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSpatialZoneType::setPredefinedType(const ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_tc1::IfcSpatialZoneType::LongName() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcSpatialZoneType::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSpatialZoneType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1052]); } -void Ifc4x3_tc1::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpatialZoneType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1052]); } +void Ifc4x3_tc1::IfcSpatialZoneType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_LongName) {set_attribute_value(10, (*v11_LongName)); } } // Function implementations for IfcSphere double Ifc4x3_tc1::IfcSphere::Radius() const { double v = get_attribute_value(1); return v; } void Ifc4x3_tc1::IfcSphere::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcSphere::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1058]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSphere::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1058]); } void Ifc4x3_tc1::IfcSphere::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSphericalSurface @@ -14792,7 +14792,7 @@ double Ifc4x3_tc1::IfcSphericalSurface::Radius() const { double v = get_attribu void Ifc4x3_tc1::IfcSphericalSurface::setRadius(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcSphericalSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1059]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSphericalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1059]); } void Ifc4x3_tc1::IfcSphericalSurface::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Radius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_Radius)); } // Function implementations for IfcSpiral @@ -14800,32 +14800,32 @@ void Ifc4x3_tc1::IfcSphericalSurface::initialize(::Ifc4x3_tc1::IfcAxis2Placement void Ifc4x3_tc1::IfcSpiral::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcSpiral::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1060]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1060]); } void Ifc4x3_tc1::IfcSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position) { set_attribute_value(0, (v1_Position)); } // Function implementations for IfcStackTerminal std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value > Ifc4x3_tc1::IfcStackTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcStackTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStackTerminal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1061]); } -void Ifc4x3_tc1::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStackTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1061]); } +void Ifc4x3_tc1::IfcStackTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStackTerminalType ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value Ifc4x3_tc1::IfcStackTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcStackTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcStackTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1062]); } -void Ifc4x3_tc1::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStackTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1062]); } +void Ifc4x3_tc1::IfcStackTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStair std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value > Ifc4x3_tc1::IfcStair::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStairTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcStair::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStair::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1064]); } -void Ifc4x3_tc1::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStair::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1064]); } +void Ifc4x3_tc1::IfcStair::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcStairFlight std::optional< int > Ifc4x3_tc1::IfcStairFlight::NumberOfRisers() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } int v = get_attribute_value(8); return v; } @@ -14837,50 +14837,50 @@ void Ifc4x3_tc1::IfcStairFlight::setRiserHeight(const std::optional< double >& v std::optional< double > Ifc4x3_tc1::IfcStairFlight::TreadLength() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } void Ifc4x3_tc1::IfcStairFlight::setTreadLength(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value > Ifc4x3_tc1::IfcStairFlight::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcStairFlightTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_tc1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_tc1::IfcStairFlight::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStairFlight::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1065]); } -void Ifc4x3_tc1::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_tc1::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStairFlight::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1065]); } +void Ifc4x3_tc1::IfcStairFlight::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcStairFlightType ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value Ifc4x3_tc1::IfcStairFlightType::PredefinedType() const { return ::Ifc4x3_tc1::IfcStairFlightTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcStairFlightType::setPredefinedType(const ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcStairFlightType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1066]); } -void Ifc4x3_tc1::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStairFlightType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1066]); } +void Ifc4x3_tc1::IfcStairFlightType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStairFlightTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStairType ::Ifc4x3_tc1::IfcStairTypeEnum::Value Ifc4x3_tc1::IfcStairType::PredefinedType() const { return ::Ifc4x3_tc1::IfcStairTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcStairType::setPredefinedType(const ::Ifc4x3_tc1::IfcStairTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcStairType::setPredefinedType(const ::Ifc4x3_tc1::IfcStairTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcStairType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1068]); } -void Ifc4x3_tc1::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStairType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1068]); } +void Ifc4x3_tc1::IfcStairType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStairTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStairTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralAction std::optional< bool > Ifc4x3_tc1::IfcStructuralAction::DestabilizingLoad() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } bool v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcStructuralAction::setDestabilizingLoad(const std::optional< bool >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralAction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1072]); } -void Ifc4x3_tc1::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1072]); } +void Ifc4x3_tc1::IfcStructuralAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralActivity ::Ifc4x3_tc1::IfcStructuralLoad Ifc4x3_tc1::IfcStructuralActivity::AppliedLoad() const { return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcStructuralLoad>(); } void Ifc4x3_tc1::IfcStructuralActivity::setAppliedLoad(const ::Ifc4x3_tc1::IfcStructuralLoad& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value Ifc4x3_tc1::IfcStructuralActivity::GlobalOrLocal() const { return ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_tc1::IfcStructuralActivity::setGlobalOrLocal(const ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralActivity> Ifc4x3_tc1::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[920], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralActivity> Ifc4x3_tc1::IfcStructuralActivity::AssignedToStructuralItem() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[920], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralActivity::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1073]); } -void Ifc4x3_tc1::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralActivity::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1073]); } +void Ifc4x3_tc1::IfcStructuralActivity::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralAnalysisModel ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value Ifc4x3_tc1::IfcStructuralAnalysisModel::PredefinedType() const { return ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_tc1::IfcStructuralAnalysisModel::setPredefinedType(const ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcStructuralAnalysisModel::OrientationOf2DPlane() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); } void Ifc4x3_tc1::IfcStructuralAnalysisModel::setOrientationOf2DPlane(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralLoadGroup > > Ifc4x3_tc1::IfcStructuralAnalysisModel::LoadedBy() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcStructuralLoadGroup>(es); } @@ -14891,16 +14891,16 @@ void Ifc4x3_tc1::IfcStructuralAnalysisModel::setHasResults(const std::optional< void Ifc4x3_tc1::IfcStructuralAnalysisModel::setSharedPlacement(const ::Ifc4x3_tc1::IfcObjectPlacement& v) { set_attribute_value(9, v);if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralAnalysisModel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1075]); } -void Ifc4x3_tc1::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_tc1::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_tc1::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralAnalysisModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1075]); } +void Ifc4x3_tc1::IfcStructuralAnalysisModel::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_tc1::IfcObjectPlacement v10_SharedPlacement) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (v7_OrientationOf2DPlane)); if (v8_LoadedBy) {set_attribute_value(7, cast_vector(*v8_LoadedBy)); } if (v9_HasResults) {set_attribute_value(8, cast_vector(*v9_HasResults)); }set_attribute_value(9, (v10_SharedPlacement)); } // Function implementations for IfcStructuralConnection ::Ifc4x3_tc1::IfcBoundaryCondition Ifc4x3_tc1::IfcStructuralConnection::AppliedCondition() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcBoundaryCondition{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcBoundaryCondition>(); } void Ifc4x3_tc1::IfcStructuralConnection::setAppliedCondition(const ::Ifc4x3_tc1::IfcBoundaryCondition& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralMember> Ifc4x3_tc1::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[921], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralMember> Ifc4x3_tc1::IfcStructuralConnection::ConnectsStructuralMembers() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[921], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralConnection::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1076]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1076]); } void Ifc4x3_tc1::IfcStructuralConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralConnectionCondition @@ -14908,70 +14908,70 @@ std::optional< std::string > Ifc4x3_tc1::IfcStructuralConnectionCondition::Name( void Ifc4x3_tc1::IfcStructuralConnectionCondition::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralConnectionCondition::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1077]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralConnectionCondition::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1077]); } void Ifc4x3_tc1::IfcStructuralConnectionCondition::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralCurveAction std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_tc1::IfcStructuralCurveAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcStructuralCurveAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralCurveAction::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_tc1::IfcStructuralCurveAction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralCurveAction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1078]); } -void Ifc4x3_tc1::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1078]); } +void Ifc4x3_tc1::IfcStructuralCurveAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralCurveConnection ::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcStructuralCurveConnection::AxisDirection() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcDirection>(); } void Ifc4x3_tc1::IfcStructuralCurveConnection::setAxisDirection(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralCurveConnection::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1080]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1080]); } void Ifc4x3_tc1::IfcStructuralCurveConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_tc1::IfcDirection v9_AxisDirection) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_AxisDirection)); } // Function implementations for IfcStructuralCurveMember ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value Ifc4x3_tc1::IfcStructuralCurveMember::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_tc1::IfcStructuralCurveMember::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcStructuralCurveMember::Axis() const { return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcDirection>(); } void Ifc4x3_tc1::IfcStructuralCurveMember::setAxis(const ::Ifc4x3_tc1::IfcDirection& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralCurveMember::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1081]); } -void Ifc4x3_tc1::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_tc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1081]); } +void Ifc4x3_tc1::IfcStructuralCurveMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_tc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveMemberVarying -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralCurveMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1083]); } -void Ifc4x3_tc1::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_tc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1083]); } +void Ifc4x3_tc1::IfcStructuralCurveMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_tc1::IfcDirection v9_Axis) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Class(),(size_t)v8_PredefinedType)));set_attribute_value(8, (v9_Axis)); } // Function implementations for IfcStructuralCurveReaction ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralCurveReaction::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcStructuralCurveReaction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralCurveReaction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1084]); } -void Ifc4x3_tc1::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralCurveReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1084]); } +void Ifc4x3_tc1::IfcStructuralCurveReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStructuralItem -std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralActivity> Ifc4x3_tc1::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[920], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralActivity> Ifc4x3_tc1::IfcStructuralItem::AssignedStructuralActivity() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[920], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1085]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1085]); } void Ifc4x3_tc1::IfcStructuralItem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralLinearAction -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLinearAction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1086]); } -void Ifc4x3_tc1::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLinearAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1086]); } +void Ifc4x3_tc1::IfcStructuralLinearAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralLoad std::optional< std::string > Ifc4x3_tc1::IfcStructuralLoad::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } void Ifc4x3_tc1::IfcStructuralLoad::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(0, *v);} else {unset_attribute_value(0);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoad::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1087]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoad::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1087]); } void Ifc4x3_tc1::IfcStructuralLoad::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadCase @@ -14979,8 +14979,8 @@ std::optional< std::vector< double > /*[3:3]*/ > Ifc4x3_tc1::IfcStructuralLoadCa void Ifc4x3_tc1::IfcStructuralLoadCase::setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadCase::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1088]); } -void Ifc4x3_tc1::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_tc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_tc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadCase::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1088]); } +void Ifc4x3_tc1::IfcStructuralLoadCase::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcStructuralLoadConfiguration std::vector< ::Ifc4x3_tc1::IfcStructuralLoadOrResult > Ifc4x3_tc1::IfcStructuralLoadConfiguration::Values() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcStructuralLoadOrResult>(es); } @@ -14989,26 +14989,26 @@ std::optional< std::vector< std::vector< double > > > Ifc4x3_tc1::IfcStructuralL void Ifc4x3_tc1::IfcStructuralLoadConfiguration::setLocations(const std::optional< std::vector< std::vector< double > > >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadConfiguration::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1089]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadConfiguration::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1089]); } void Ifc4x3_tc1::IfcStructuralLoadConfiguration::initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_tc1::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, cast_vector(v2_Values)); if (v3_Locations) {set_attribute_value(2, (*v3_Locations)); } } // Function implementations for IfcStructuralLoadGroup ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value Ifc4x3_tc1::IfcStructuralLoadGroup::PredefinedType() const { return ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_tc1::IfcStructuralLoadGroup::setPredefinedType(const ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_tc1::IfcActionTypeEnum::Value Ifc4x3_tc1::IfcStructuralLoadGroup::ActionType() const { return ::Ifc4x3_tc1::IfcActionTypeEnum::FromString(get_attribute_value(6)); } -void Ifc4x3_tc1::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_tc1::IfcActionTypeEnum::Value& v) { set_attribute_value(6, EnumerationReference(&::Ifc4x3_tc1::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } +void Ifc4x3_tc1::IfcStructuralLoadGroup::setActionType(const ::Ifc4x3_tc1::IfcActionTypeEnum::Value& v) { set_attribute_value(6, enumeration_reference(&::Ifc4x3_tc1::IfcActionTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(6); } ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value Ifc4x3_tc1::IfcStructuralLoadGroup::ActionSource() const { return ::Ifc4x3_tc1::IfcActionSourceTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_tc1::IfcStructuralLoadGroup::setActionSource(const ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcActionSourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_tc1::IfcStructuralLoadGroup::Coefficient() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcStructuralLoadGroup::setCoefficient(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } std::optional< std::string > Ifc4x3_tc1::IfcStructuralLoadGroup::Purpose() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } std::string v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcStructuralLoadGroup::setPurpose(const std::optional< std::string >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -std::vector<::Ifc4x3_tc1::IfcStructuralResultGroup> Ifc4x3_tc1::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1106], 6)); } -std::vector<::Ifc4x3_tc1::IfcStructuralAnalysisModel> Ifc4x3_tc1::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1075], 7)); } +std::vector<::Ifc4x3_tc1::IfcStructuralResultGroup> Ifc4x3_tc1::IfcStructuralLoadGroup::SourceOfResultGroup() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1106], 6)); } +std::vector<::Ifc4x3_tc1::IfcStructuralAnalysisModel> Ifc4x3_tc1::IfcStructuralLoadGroup::LoadGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1075], 7)); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadGroup::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1090]); } -void Ifc4x3_tc1::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_tc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (EnumerationReference(&::Ifc4x3_tc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1090]); } +void Ifc4x3_tc1::IfcStructuralLoadGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Class(),(size_t)v6_PredefinedType)));set_attribute_value(6, (enumeration_reference(&::Ifc4x3_tc1::IfcActionTypeEnum::Class(),(size_t)v7_ActionType)));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcActionSourceTypeEnum::Class(),(size_t)v8_ActionSource))); if (v9_Coefficient) {set_attribute_value(8, (*v9_Coefficient)); } if (v10_Purpose) {set_attribute_value(9, (*v10_Purpose)); } } // Function implementations for IfcStructuralLoadLinearForce std::optional< double > Ifc4x3_tc1::IfcStructuralLoadLinearForce::LinearForceX() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } double v = get_attribute_value(1); return v; } @@ -15025,13 +15025,13 @@ std::optional< double > Ifc4x3_tc1::IfcStructuralLoadLinearForce::LinearMomentZ( void Ifc4x3_tc1::IfcStructuralLoadLinearForce::setLinearMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadLinearForce::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1091]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadLinearForce::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1091]); } void Ifc4x3_tc1::IfcStructuralLoadLinearForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ) { 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)); } } // Function implementations for IfcStructuralLoadOrResult -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadOrResult::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1092]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadOrResult::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1092]); } void Ifc4x3_tc1::IfcStructuralLoadOrResult::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadPlanarForce @@ -15043,7 +15043,7 @@ std::optional< double > Ifc4x3_tc1::IfcStructuralLoadPlanarForce::PlanarForceZ() void Ifc4x3_tc1::IfcStructuralLoadPlanarForce::setPlanarForceZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadPlanarForce::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1093]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadPlanarForce::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1093]); } void Ifc4x3_tc1::IfcStructuralLoadPlanarForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacement @@ -15061,7 +15061,7 @@ std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::Rotatio void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::setRotationalDisplacementRZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1094]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1094]); } void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacement::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleDisplacementDistortion @@ -15069,7 +15069,7 @@ std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortio void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortion::setDistortion(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1095]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortion::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1095]); } void Ifc4x3_tc1::IfcStructuralLoadSingleDisplacementDistortion::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion) { 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)); } } // Function implementations for IfcStructuralLoadSingleForce @@ -15087,7 +15087,7 @@ std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleForce::MomentZ() cons void Ifc4x3_tc1::IfcStructuralLoadSingleForce::setMomentZ(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadSingleForce::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1096]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadSingleForce::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1096]); } void Ifc4x3_tc1::IfcStructuralLoadSingleForce::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ) { 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)); } } // Function implementations for IfcStructuralLoadSingleForceWarping @@ -15095,13 +15095,13 @@ std::optional< double > Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping::Warping void Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping::setWarpingMoment(const std::optional< double >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1097]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1097]); } void Ifc4x3_tc1::IfcStructuralLoadSingleForceWarping::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment) { 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)); } } // Function implementations for IfcStructuralLoadStatic -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadStatic::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1098]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadStatic::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1098]); } void Ifc4x3_tc1::IfcStructuralLoadStatic::initialize(std::optional< std::string > v1_Name) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } } // Function implementations for IfcStructuralLoadTemperature @@ -15113,105 +15113,105 @@ std::optional< double > Ifc4x3_tc1::IfcStructuralLoadTemperature::DeltaTZ() cons void Ifc4x3_tc1::IfcStructuralLoadTemperature::setDeltaTZ(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralLoadTemperature::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1099]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralLoadTemperature::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1099]); } void Ifc4x3_tc1::IfcStructuralLoadTemperature::initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ) { 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)); } } // Function implementations for IfcStructuralMember -std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralMember> Ifc4x3_tc1::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[921], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelConnectsStructuralMember> Ifc4x3_tc1::IfcStructuralMember::ConnectedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[921], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralMember::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1100]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1100]); } void Ifc4x3_tc1::IfcStructuralMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); } // Function implementations for IfcStructuralPlanarAction -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralPlanarAction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1101]); } -void Ifc4x3_tc1::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralPlanarAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1101]); } +void Ifc4x3_tc1::IfcStructuralPlanarAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralPointAction -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralPointAction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1102]); } -void Ifc4x3_tc1::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralPointAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1102]); } +void Ifc4x3_tc1::IfcStructuralPointAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } } // Function implementations for IfcStructuralPointConnection ::Ifc4x3_tc1::IfcAxis2Placement3D Ifc4x3_tc1::IfcStructuralPointConnection::ConditionCoordinateSystem() const { if(get_attribute_value(8).isNull()) { return ::Ifc4x3_tc1::IfcAxis2Placement3D{}; } return ((express::Base)(get_attribute_value(8))).as<::Ifc4x3_tc1::IfcAxis2Placement3D>(); } void Ifc4x3_tc1::IfcStructuralPointConnection::setConditionCoordinateSystem(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralPointConnection::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1103]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralPointConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1103]); } void Ifc4x3_tc1::IfcStructuralPointConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_tc1::IfcAxis2Placement3D v9_ConditionCoordinateSystem) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition));set_attribute_value(8, (v9_ConditionCoordinateSystem)); } // Function implementations for IfcStructuralPointReaction -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralPointReaction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1104]); } -void Ifc4x3_tc1::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralPointReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1104]); } +void Ifc4x3_tc1::IfcStructuralPointReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralReaction -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralReaction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1105]); } -void Ifc4x3_tc1::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1105]); } +void Ifc4x3_tc1::IfcStructuralReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); } // Function implementations for IfcStructuralResultGroup ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value Ifc4x3_tc1::IfcStructuralResultGroup::TheoryType() const { return ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_tc1::IfcStructuralResultGroup::setTheoryType(const ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } ::Ifc4x3_tc1::IfcStructuralLoadGroup Ifc4x3_tc1::IfcStructuralResultGroup::ResultForLoadGroup() const { if(get_attribute_value(6).isNull()) { return ::Ifc4x3_tc1::IfcStructuralLoadGroup{}; } return ((express::Base)(get_attribute_value(6))).as<::Ifc4x3_tc1::IfcStructuralLoadGroup>(); } void Ifc4x3_tc1::IfcStructuralResultGroup::setResultForLoadGroup(const ::Ifc4x3_tc1::IfcStructuralLoadGroup& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } bool Ifc4x3_tc1::IfcStructuralResultGroup::IsLinear() const { bool v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcStructuralResultGroup::setIsLinear(const bool& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_tc1::IfcStructuralAnalysisModel> Ifc4x3_tc1::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1075], 8)); } +std::vector<::Ifc4x3_tc1::IfcStructuralAnalysisModel> Ifc4x3_tc1::IfcStructuralResultGroup::ResultGroupFor() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1075], 8)); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralResultGroup::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1106]); } -void Ifc4x3_tc1::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_tc1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*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_tc1::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralResultGroup::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1106]); } +void Ifc4x3_tc1::IfcStructuralResultGroup::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_tc1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Class(),(size_t)v6_TheoryType)));set_attribute_value(6, (v7_ResultForLoadGroup));set_attribute_value(7, (v8_IsLinear)); } // Function implementations for IfcStructuralSurfaceAction std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > Ifc4x3_tc1::IfcStructuralSurfaceAction::ProjectedOrTrue() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcStructuralSurfaceAction::setProjectedOrTrue(const std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralSurfaceAction::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_tc1::IfcStructuralSurfaceAction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralSurfaceAction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1107]); } -void Ifc4x3_tc1::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceAction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1107]); } +void Ifc4x3_tc1::IfcStructuralSurfaceAction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal))); if (v10_DestabilizingLoad) {set_attribute_value(9, (*v10_DestabilizingLoad)); } if (v11_ProjectedOrTrue) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Class(),(size_t)*v11_ProjectedOrTrue))); }set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcStructuralSurfaceConnection -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralSurfaceConnection::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1109]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceConnection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1109]); } void Ifc4x3_tc1::IfcStructuralSurfaceConnection::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedCondition)); } // Function implementations for IfcStructuralSurfaceMember ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value Ifc4x3_tc1::IfcStructuralSurfaceMember::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::FromString(get_attribute_value(7)); } -void Ifc4x3_tc1::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, EnumerationReference(&::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } +void Ifc4x3_tc1::IfcStructuralSurfaceMember::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value& v) { set_attribute_value(7, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(7); } std::optional< double > Ifc4x3_tc1::IfcStructuralSurfaceMember::Thickness() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcStructuralSurfaceMember::setThickness(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralSurfaceMember::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1110]); } -void Ifc4x3_tc1::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceMember::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1110]); } +void Ifc4x3_tc1::IfcStructuralSurfaceMember::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceMemberVarying -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralSurfaceMemberVarying::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1112]); } -void Ifc4x3_tc1::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceMemberVarying::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1112]); } +void Ifc4x3_tc1::IfcStructuralSurfaceMemberVarying::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Class(),(size_t)v8_PredefinedType))); if (v9_Thickness) {set_attribute_value(8, (*v9_Thickness)); } } // Function implementations for IfcStructuralSurfaceReaction ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value Ifc4x3_tc1::IfcStructuralSurfaceReaction::PredefinedType() const { return ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcStructuralSurfaceReaction::setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcStructuralSurfaceReaction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1113]); } -void Ifc4x3_tc1::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStructuralSurfaceReaction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1113]); } +void Ifc4x3_tc1::IfcStructuralSurfaceReaction::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation));set_attribute_value(7, (v8_AppliedLoad));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Class(),(size_t)v9_GlobalOrLocal)));set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcStyleModel -const IfcParse::entity& Ifc4x3_tc1::IfcStyleModel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1116]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStyleModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1116]); } void Ifc4x3_tc1::IfcStyleModel::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcStyledItem @@ -15223,43 +15223,43 @@ std::optional< std::string > Ifc4x3_tc1::IfcStyledItem::Name() const { if(get_at void Ifc4x3_tc1::IfcStyledItem::setName(const std::optional< std::string >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcStyledItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1114]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStyledItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1114]); } void Ifc4x3_tc1::IfcStyledItem::initialize(::Ifc4x3_tc1::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name) { set_attribute_value(0, (v1_Item));set_attribute_value(1, cast_vector(v2_Styles)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } } // Function implementations for IfcStyledRepresentation -const IfcParse::entity& Ifc4x3_tc1::IfcStyledRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1115]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcStyledRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1115]); } void Ifc4x3_tc1::IfcStyledRepresentation::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcSubContractResource std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value > Ifc4x3_tc1::IfcSubContractResource::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcSubContractResource::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSubContractResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1117]); } -void Ifc4x3_tc1::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSubContractResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1117]); } +void Ifc4x3_tc1::IfcSubContractResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v9_BaseCosts) {set_attribute_value(8, cast_vector(*v9_BaseCosts)); }set_attribute_value(9, (v10_BaseQuantity)); if (v11_PredefinedType) {set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(),(size_t)*v11_PredefinedType))); } } // Function implementations for IfcSubContractResourceType ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value Ifc4x3_tc1::IfcSubContractResourceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } +void Ifc4x3_tc1::IfcSubContractResourceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value& v) { set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(11); } -const IfcParse::entity& Ifc4x3_tc1::IfcSubContractResourceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1118]); } -void Ifc4x3_tc1::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSubContractResourceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1118]); } +void Ifc4x3_tc1::IfcSubContractResourceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, cast_vector(*v10_BaseCosts)); }set_attribute_value(10, (v11_BaseQuantity));set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Class(),(size_t)v12_PredefinedType))); } // Function implementations for IfcSubedge ::Ifc4x3_tc1::IfcEdge Ifc4x3_tc1::IfcSubedge::ParentEdge() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcEdge>(); } void Ifc4x3_tc1::IfcSubedge::setParentEdge(const ::Ifc4x3_tc1::IfcEdge& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcSubedge::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1120]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSubedge::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1120]); } void Ifc4x3_tc1::IfcSubedge::initialize(::Ifc4x3_tc1::IfcVertex v1_EdgeStart, ::Ifc4x3_tc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_tc1::IfcEdge v3_ParentEdge) { set_attribute_value(0, (v1_EdgeStart));set_attribute_value(1, (v2_EdgeEnd));set_attribute_value(2, (v3_ParentEdge)); } // Function implementations for IfcSurface -const IfcParse::entity& Ifc4x3_tc1::IfcSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1121]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1121]); } void Ifc4x3_tc1::IfcSurface::initialize() { } // Function implementations for IfcSurfaceCurve @@ -15268,28 +15268,28 @@ void Ifc4x3_tc1::IfcSurfaceCurve::setCurve3D(const ::Ifc4x3_tc1::IfcCurve& v) { std::vector< ::Ifc4x3_tc1::IfcPcurve > Ifc4x3_tc1::IfcSurfaceCurve::AssociatedGeometry() const { std::vector es = get_attribute_value(1); return cast_vector<::Ifc4x3_tc1::IfcPcurve>(es); } void Ifc4x3_tc1::IfcSurfaceCurve::setAssociatedGeometry(const std::vector< ::Ifc4x3_tc1::IfcPcurve >& v) { set_attribute_value(1, cast_vector(v));if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value Ifc4x3_tc1::IfcSurfaceCurve::MasterRepresentation() const { return ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::FromString(get_attribute_value(2)); } -void Ifc4x3_tc1::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_tc1::IfcSurfaceCurve::setMasterRepresentation(const ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1122]); } -void Ifc4x3_tc1::IfcSurfaceCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1122]); } +void Ifc4x3_tc1::IfcSurfaceCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation) { set_attribute_value(0, (v1_Curve3D));set_attribute_value(1, cast_vector(v2_AssociatedGeometry));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Class(),(size_t)v3_MasterRepresentation))); } // Function implementations for IfcSurfaceCurveSweptAreaSolid ::Ifc4x3_tc1::IfcSurface Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid::ReferenceSurface() const { return ((express::Base)(get_attribute_value(5))).as<::Ifc4x3_tc1::IfcSurface>(); } void Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid::setReferenceSurface(const ::Ifc4x3_tc1::IfcSurface& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1123]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1123]); } void Ifc4x3_tc1::IfcSurfaceCurveSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_tc1::IfcSurface v6_ReferenceSurface) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_Directrix));set_attribute_value(3, (v4_StartParam));set_attribute_value(4, (v5_EndParam));set_attribute_value(5, (v6_ReferenceSurface)); } // Function implementations for IfcSurfaceFeature std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value > Ifc4x3_tc1::IfcSurfaceFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSurfaceFeature::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_tc1::IfcRelAdheresToElement> Ifc4x3_tc1::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[896], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelAdheresToElement> Ifc4x3_tc1::IfcSurfaceFeature::AdheresToElement() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[896], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceFeature::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1124]); } -void Ifc4x3_tc1::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1124]); } +void Ifc4x3_tc1::IfcSurfaceFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSurfaceOfLinearExtrusion ::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::ExtrudedDirection() const { return ((express::Base)(get_attribute_value(2))).as<::Ifc4x3_tc1::IfcDirection>(); } @@ -15298,7 +15298,7 @@ double Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::Depth() const { double v = get_ void Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::setDepth(const double& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1126]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1126]); } void Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcDirection v3_ExtrudedDirection, double v4_Depth) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_ExtrudedDirection));set_attribute_value(3, (v4_Depth)); } // Function implementations for IfcSurfaceOfRevolution @@ -15306,7 +15306,7 @@ void Ifc4x3_tc1::IfcSurfaceOfLinearExtrusion::initialize(::Ifc4x3_tc1::IfcProfil void Ifc4x3_tc1::IfcSurfaceOfRevolution::setAxisPosition(const ::Ifc4x3_tc1::IfcAxis1Placement& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceOfRevolution::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1127]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceOfRevolution::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1127]); } void Ifc4x3_tc1::IfcSurfaceOfRevolution::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcAxis1Placement v3_AxisPosition) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position));set_attribute_value(2, (v3_AxisPosition)); } // Function implementations for IfcSurfaceReinforcementArea @@ -15318,18 +15318,18 @@ std::optional< double > Ifc4x3_tc1::IfcSurfaceReinforcementArea::ShearReinforcem void Ifc4x3_tc1::IfcSurfaceReinforcementArea::setShearReinforcement(const std::optional< double >& v) { if (v) {set_attribute_value(3, *v);} else {unset_attribute_value(3);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceReinforcementArea::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1129]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceReinforcementArea::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1129]); } void Ifc4x3_tc1::IfcSurfaceReinforcementArea::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement) { 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)); } } // Function implementations for IfcSurfaceStyle ::Ifc4x3_tc1::IfcSurfaceSide::Value Ifc4x3_tc1::IfcSurfaceStyle::Side() const { return ::Ifc4x3_tc1::IfcSurfaceSide::FromString(get_attribute_value(1)); } -void Ifc4x3_tc1::IfcSurfaceStyle::setSide(const ::Ifc4x3_tc1::IfcSurfaceSide::Value& v) { set_attribute_value(1, EnumerationReference(&::Ifc4x3_tc1::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } +void Ifc4x3_tc1::IfcSurfaceStyle::setSide(const ::Ifc4x3_tc1::IfcSurfaceSide::Value& v) { set_attribute_value(1, enumeration_reference(&::Ifc4x3_tc1::IfcSurfaceSide::Class(), (size_t) v));if constexpr (false)unset_attribute_value(1); } std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect > Ifc4x3_tc1::IfcSurfaceStyle::Styles() const { std::vector es = get_attribute_value(2); return cast_vector<::Ifc4x3_tc1::IfcSurfaceStyleElementSelect>(es); } void Ifc4x3_tc1::IfcSurfaceStyle::setStyles(const std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect >& v) { set_attribute_value(2, cast_vector(v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceStyle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1131]); } -void Ifc4x3_tc1::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1131]); } +void Ifc4x3_tc1::IfcSurfaceStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect > v3_Styles) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcSurfaceSide::Class(),(size_t)v2_Side)));set_attribute_value(2, cast_vector(v3_Styles)); } // Function implementations for IfcSurfaceStyleLighting ::Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcSurfaceStyleLighting::DiffuseTransmissionColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcColourRgb>(); } @@ -15342,7 +15342,7 @@ void Ifc4x3_tc1::IfcSurfaceStyleLighting::setTransmissionColour(const ::Ifc4x3_t void Ifc4x3_tc1::IfcSurfaceStyleLighting::setReflectanceColour(const ::Ifc4x3_tc1::IfcColourRgb& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceStyleLighting::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1133]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleLighting::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1133]); } void Ifc4x3_tc1::IfcSurfaceStyleLighting::initialize(::Ifc4x3_tc1::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_tc1::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_tc1::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_tc1::IfcColourRgb v4_ReflectanceColour) { set_attribute_value(0, (v1_DiffuseTransmissionColour));set_attribute_value(1, (v2_DiffuseReflectionColour));set_attribute_value(2, (v3_TransmissionColour));set_attribute_value(3, (v4_ReflectanceColour)); } // Function implementations for IfcSurfaceStyleRefraction @@ -15352,7 +15352,7 @@ std::optional< double > Ifc4x3_tc1::IfcSurfaceStyleRefraction::DispersionFactor( void Ifc4x3_tc1::IfcSurfaceStyleRefraction::setDispersionFactor(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceStyleRefraction::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1134]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleRefraction::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1134]); } void Ifc4x3_tc1::IfcSurfaceStyleRefraction::initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor) { if (v1_RefractionIndex) {set_attribute_value(0, (*v1_RefractionIndex)); } if (v2_DispersionFactor) {set_attribute_value(1, (*v2_DispersionFactor)); } } // Function implementations for IfcSurfaceStyleRendering @@ -15369,11 +15369,11 @@ void Ifc4x3_tc1::IfcSurfaceStyleRendering::setSpecularColour(const ::Ifc4x3_tc1: ::Ifc4x3_tc1::IfcSpecularHighlightSelect Ifc4x3_tc1::IfcSurfaceStyleRendering::SpecularHighlight() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcSpecularHighlightSelect{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcSpecularHighlightSelect>(); } void Ifc4x3_tc1::IfcSurfaceStyleRendering::setSpecularHighlight(const ::Ifc4x3_tc1::IfcSpecularHighlightSelect& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value Ifc4x3_tc1::IfcSurfaceStyleRendering::ReflectanceMethod() const { return ::Ifc4x3_tc1::IfcReflectanceMethodEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } +void Ifc4x3_tc1::IfcSurfaceStyleRendering::setReflectanceMethod(const ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value& v) { set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcReflectanceMethodEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceStyleRendering::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1135]); } -void Ifc4x3_tc1::IfcSurfaceStyleRendering::initialize(::Ifc4x3_tc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_tc1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_tc1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_tc1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_tc1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_tc1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_tc1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleRendering::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1135]); } +void Ifc4x3_tc1::IfcSurfaceStyleRendering::initialize(::Ifc4x3_tc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_tc1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_tc1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_tc1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_tc1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_tc1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_tc1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); }set_attribute_value(2, (v3_DiffuseColour));set_attribute_value(3, (v4_TransmissionColour));set_attribute_value(4, (v5_DiffuseTransmissionColour));set_attribute_value(5, (v6_ReflectionColour));set_attribute_value(6, (v7_SpecularColour));set_attribute_value(7, (v8_SpecularHighlight));set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcReflectanceMethodEnum::Class(),(size_t)v9_ReflectanceMethod))); } // Function implementations for IfcSurfaceStyleShading ::Ifc4x3_tc1::IfcColourRgb Ifc4x3_tc1::IfcSurfaceStyleShading::SurfaceColour() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcColourRgb>(); } @@ -15382,7 +15382,7 @@ std::optional< double > Ifc4x3_tc1::IfcSurfaceStyleShading::Transparency() const void Ifc4x3_tc1::IfcSurfaceStyleShading::setTransparency(const std::optional< double >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceStyleShading::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1136]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleShading::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1136]); } void Ifc4x3_tc1::IfcSurfaceStyleShading::initialize(::Ifc4x3_tc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency) { set_attribute_value(0, (v1_SurfaceColour)); if (v2_Transparency) {set_attribute_value(1, (*v2_Transparency)); } } // Function implementations for IfcSurfaceStyleWithTextures @@ -15390,7 +15390,7 @@ std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > Ifc4x3_tc1::IfcSurfaceStyleWithTe void Ifc4x3_tc1::IfcSurfaceStyleWithTextures::setTextures(const std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceStyleWithTextures::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1137]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceStyleWithTextures::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1137]); } void Ifc4x3_tc1::IfcSurfaceStyleWithTextures::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Textures) { set_attribute_value(0, cast_vector(v1_Textures)); } // Function implementations for IfcSurfaceTexture @@ -15405,10 +15405,10 @@ void Ifc4x3_tc1::IfcSurfaceTexture::setTextureTransform(const ::Ifc4x3_tc1::IfcC std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcSurfaceTexture::Parameter() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcSurfaceTexture::setParameter(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -std::vector<::Ifc4x3_tc1::IfcTextureCoordinate> Ifc4x3_tc1::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1189], 0)); } -std::vector<::Ifc4x3_tc1::IfcSurfaceStyleWithTextures> Ifc4x3_tc1::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[1137], 0)); } +std::vector<::Ifc4x3_tc1::IfcTextureCoordinate> Ifc4x3_tc1::IfcSurfaceTexture::IsMappedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1189], 0)); } +std::vector<::Ifc4x3_tc1::IfcSurfaceStyleWithTextures> Ifc4x3_tc1::IfcSurfaceTexture::UsedInStyles() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[1137], 0)); } -const IfcParse::entity& Ifc4x3_tc1::IfcSurfaceTexture::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1138]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSurfaceTexture::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1138]); } void Ifc4x3_tc1::IfcSurfaceTexture::initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter) { 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)); if (v5_Parameter) {set_attribute_value(4, (*v5_Parameter)); } } // Function implementations for IfcSweptAreaSolid @@ -15418,7 +15418,7 @@ void Ifc4x3_tc1::IfcSweptAreaSolid::setSweptArea(const ::Ifc4x3_tc1::IfcProfileD void Ifc4x3_tc1::IfcSweptAreaSolid::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcSweptAreaSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1139]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSweptAreaSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1139]); } void Ifc4x3_tc1::IfcSweptAreaSolid::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptArea));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSweptDiskSolid @@ -15434,7 +15434,7 @@ std::optional< double > Ifc4x3_tc1::IfcSweptDiskSolid::EndParam() const { if(get void Ifc4x3_tc1::IfcSweptDiskSolid::setEndParam(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSweptDiskSolid::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1140]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSweptDiskSolid::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1140]); } void Ifc4x3_tc1::IfcSweptDiskSolid::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptDiskSolidPolygonal @@ -15442,7 +15442,7 @@ std::optional< double > Ifc4x3_tc1::IfcSweptDiskSolidPolygonal::FilletRadius() c void Ifc4x3_tc1::IfcSweptDiskSolidPolygonal::setFilletRadius(const std::optional< double >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSweptDiskSolidPolygonal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1141]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSweptDiskSolidPolygonal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1141]); } void Ifc4x3_tc1::IfcSweptDiskSolidPolygonal::initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius) { set_attribute_value(0, (v1_Directrix));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)); } } // Function implementations for IfcSweptSurface @@ -15452,48 +15452,48 @@ void Ifc4x3_tc1::IfcSweptSurface::setSweptCurve(const ::Ifc4x3_tc1::IfcProfileDe void Ifc4x3_tc1::IfcSweptSurface::setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcSweptSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1142]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSweptSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1142]); } void Ifc4x3_tc1::IfcSweptSurface::initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position) { set_attribute_value(0, (v1_SweptCurve));set_attribute_value(1, (v2_Position)); } // Function implementations for IfcSwitchingDevice std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value > Ifc4x3_tc1::IfcSwitchingDevice::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSwitchingDevice::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSwitchingDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1143]); } -void Ifc4x3_tc1::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSwitchingDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1143]); } +void Ifc4x3_tc1::IfcSwitchingDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSwitchingDeviceType ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value Ifc4x3_tc1::IfcSwitchingDeviceType::PredefinedType() const { return ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcSwitchingDeviceType::setPredefinedType(const ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcSwitchingDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1144]); } -void Ifc4x3_tc1::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSwitchingDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1144]); } +void Ifc4x3_tc1::IfcSwitchingDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcSystem -std::vector<::Ifc4x3_tc1::IfcRelServicesBuildings> Ifc4x3_tc1::IfcSystem::ServicesBuildings() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[942], 4)); } -std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcSystem::ServicesFacilities() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[940], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelServicesBuildings> Ifc4x3_tc1::IfcSystem::ServicesBuildings() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[942], 4)); } +std::vector<::Ifc4x3_tc1::IfcRelReferencedInSpatialStructure> Ifc4x3_tc1::IfcSystem::ServicesFacilities() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[940], 4)); } -const IfcParse::entity& Ifc4x3_tc1::IfcSystem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1146]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSystem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1146]); } void Ifc4x3_tc1::IfcSystem::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); } } // Function implementations for IfcSystemFurnitureElement std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_tc1::IfcSystemFurnitureElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcSystemFurnitureElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSystemFurnitureElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1147]); } -void Ifc4x3_tc1::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSystemFurnitureElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1147]); } +void Ifc4x3_tc1::IfcSystemFurnitureElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcSystemFurnitureElementType std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > Ifc4x3_tc1::IfcSystemFurnitureElementType::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcSystemFurnitureElementType::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcSystemFurnitureElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1148]); } -void Ifc4x3_tc1::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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_tc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcSystemFurnitureElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1148]); } +void Ifc4x3_tc1::IfcSystemFurnitureElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } 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, (enumeration_reference(&::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTShapeProfileDef double Ifc4x3_tc1::IfcTShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -15516,8 +15516,8 @@ std::optional< double > Ifc4x3_tc1::IfcTShapeProfileDef::FlangeSlope() const { i void Ifc4x3_tc1::IfcTShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1234]); } -void Ifc4x3_tc1::IfcTShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1234]); } +void Ifc4x3_tc1::IfcTShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcTable std::optional< std::string > Ifc4x3_tc1::IfcTable::Name() const { if(get_attribute_value(0).isNull()) { return std::nullopt; } std::string v = get_attribute_value(0); return v; } @@ -15528,7 +15528,7 @@ std::optional< std::vector< ::Ifc4x3_tc1::IfcTableColumn > > Ifc4x3_tc1::IfcTabl void Ifc4x3_tc1::IfcTable::setColumns(const std::optional< std::vector< ::Ifc4x3_tc1::IfcTableColumn > >& v) { if (v) {set_attribute_value(2, cast_vector(*v));} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTable::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1150]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTable::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1150]); } void Ifc4x3_tc1::IfcTable::initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_tc1::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_tc1::IfcTableColumn > > v3_Columns) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_Rows) {set_attribute_value(1, cast_vector(*v2_Rows)); } if (v3_Columns) {set_attribute_value(2, cast_vector(*v3_Columns)); } } // Function implementations for IfcTableColumn @@ -15544,7 +15544,7 @@ void Ifc4x3_tc1::IfcTableColumn::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_a void Ifc4x3_tc1::IfcTableColumn::setReferencePath(const ::Ifc4x3_tc1::IfcReference& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcTableColumn::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1151]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTableColumn::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1151]); } void Ifc4x3_tc1::IfcTableColumn::initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_tc1::IfcUnit v4_Unit, ::Ifc4x3_tc1::IfcReference v5_ReferencePath) { 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));set_attribute_value(4, (v5_ReferencePath)); } // Function implementations for IfcTableRow @@ -15554,24 +15554,24 @@ std::optional< bool > Ifc4x3_tc1::IfcTableRow::IsHeading() const { if(get_attrib void Ifc4x3_tc1::IfcTableRow::setIsHeading(const std::optional< bool >& v) { if (v) {set_attribute_value(1, *v);} else {unset_attribute_value(1);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTableRow::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1152]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTableRow::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1152]); } void Ifc4x3_tc1::IfcTableRow::initialize(std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading) { if (v1_RowCells) {set_attribute_value(0, cast_vector(*v1_RowCells)); } if (v2_IsHeading) {set_attribute_value(1, (*v2_IsHeading)); } } // Function implementations for IfcTank std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value > Ifc4x3_tc1::IfcTank::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTankTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcTank::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTank::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1153]); } -void Ifc4x3_tc1::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTank::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1153]); } +void Ifc4x3_tc1::IfcTank::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTankType ::Ifc4x3_tc1::IfcTankTypeEnum::Value Ifc4x3_tc1::IfcTankType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTankTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTankType::setPredefinedType(const ::Ifc4x3_tc1::IfcTankTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTankType::setPredefinedType(const ::Ifc4x3_tc1::IfcTankTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcTankType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1154]); } -void Ifc4x3_tc1::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTankType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1154]); } +void Ifc4x3_tc1::IfcTankType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTankTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTankTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTask std::optional< std::string > Ifc4x3_tc1::IfcTask::Status() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } @@ -15585,15 +15585,15 @@ void Ifc4x3_tc1::IfcTask::setPriority(const std::optional< int >& v) { if (v) {s ::Ifc4x3_tc1::IfcTaskTime Ifc4x3_tc1::IfcTask::TaskTime() const { if(get_attribute_value(11).isNull()) { return ::Ifc4x3_tc1::IfcTaskTime{}; } return ((express::Base)(get_attribute_value(11))).as<::Ifc4x3_tc1::IfcTaskTime>(); } void Ifc4x3_tc1::IfcTask::setTaskTime(const ::Ifc4x3_tc1::IfcTaskTime& v) { set_attribute_value(11, v);if constexpr (false)unset_attribute_value(11); } std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value > Ifc4x3_tc1::IfcTask::PredefinedType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTaskTypeEnum::FromString(get_attribute_value(12)); } -void Ifc4x3_tc1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, EnumerationReference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } +void Ifc4x3_tc1::IfcTask::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value >& v) { if (v) {set_attribute_value(12, enumeration_reference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTask::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1156]); } -void Ifc4x3_tc1::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_tc1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (EnumerationReference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTask::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1156]); } +void Ifc4x3_tc1::IfcTask::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_tc1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value > v13_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); if (v13_PredefinedType) {set_attribute_value(12, (enumeration_reference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(),(size_t)*v13_PredefinedType))); } } // Function implementations for IfcTaskTime std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > Ifc4x3_tc1::IfcTaskTime::DurationType() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTaskDurationEnum::FromString(get_attribute_value(3)); } -void Ifc4x3_tc1::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, EnumerationReference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } +void Ifc4x3_tc1::IfcTaskTime::setDurationType(const std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value >& v) { if (v) {set_attribute_value(3, enumeration_reference(&::Ifc4x3_tc1::IfcTaskDurationEnum::Class(), (size_t) *v));} else {unset_attribute_value(3);} } std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::ScheduleDuration() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } void Ifc4x3_tc1::IfcTaskTime::setScheduleDuration(const std::optional< std::string >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } std::optional< std::string > Ifc4x3_tc1::IfcTaskTime::ScheduleStart() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } @@ -15628,26 +15628,26 @@ std::optional< double > Ifc4x3_tc1::IfcTaskTime::Completion() const { if(get_att void Ifc4x3_tc1::IfcTaskTime::setCompletion(const std::optional< double >& v) { if (v) {set_attribute_value(19, *v);} else {unset_attribute_value(19);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTaskTime::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1158]); } -void Ifc4x3_tc1::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTaskTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1158]); } +void Ifc4x3_tc1::IfcTaskTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcTaskTimeRecurring ::Ifc4x3_tc1::IfcRecurrencePattern Ifc4x3_tc1::IfcTaskTimeRecurring::Recurrence() const { return ((express::Base)(get_attribute_value(20))).as<::Ifc4x3_tc1::IfcRecurrencePattern>(); } void Ifc4x3_tc1::IfcTaskTimeRecurring::setRecurrence(const ::Ifc4x3_tc1::IfcRecurrencePattern& v) { set_attribute_value(20, v);if constexpr (false)unset_attribute_value(20); } -const IfcParse::entity& Ifc4x3_tc1::IfcTaskTimeRecurring::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1159]); } -void Ifc4x3_tc1::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_tc1::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (EnumerationReference(&::Ifc4x3_tc1::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)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTaskTimeRecurring::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1159]); } +void Ifc4x3_tc1::IfcTaskTimeRecurring::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_tc1::IfcRecurrencePattern v21_Recurrence) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); } if (v4_DurationType) {set_attribute_value(3, (enumeration_reference(&::Ifc4x3_tc1::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)); } // Function implementations for IfcTaskType ::Ifc4x3_tc1::IfcTaskTypeEnum::Value Ifc4x3_tc1::IfcTaskType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTaskTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTaskType::setPredefinedType(const ::Ifc4x3_tc1::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTaskType::setPredefinedType(const ::Ifc4x3_tc1::IfcTaskTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< std::string > Ifc4x3_tc1::IfcTaskType::WorkMethod() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } std::string v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcTaskType::setWorkMethod(const std::optional< std::string >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTaskType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1160]); } -void Ifc4x3_tc1::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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_tc1::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTaskType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1160]); } +void Ifc4x3_tc1::IfcTaskType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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, (enumeration_reference(&::Ifc4x3_tc1::IfcTaskTypeEnum::Class(),(size_t)v10_PredefinedType))); if (v11_WorkMethod) {set_attribute_value(10, (*v11_WorkMethod)); } } // Function implementations for IfcTelecomAddress std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcTelecomAddress::TelephoneNumbers() const { if(get_attribute_value(3).isNull()) { return std::nullopt; } std::vector< std::string > /*[1:?]*/ v = get_attribute_value(3); return v; } @@ -15664,12 +15664,12 @@ std::optional< std::vector< std::string > /*[1:?]*/ > Ifc4x3_tc1::IfcTelecomAddr void Ifc4x3_tc1::IfcTelecomAddress::setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTelecomAddress::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1162]); } -void Ifc4x3_tc1::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTelecomAddress::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1162]); } +void Ifc4x3_tc1::IfcTelecomAddress::initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs) { if (v1_Purpose) {set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcTendon std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value > Ifc4x3_tc1::IfcTendon::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcTendon::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } std::optional< double > Ifc4x3_tc1::IfcTendon::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcTendon::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_tc1::IfcTendon::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15686,44 +15686,44 @@ std::optional< double > Ifc4x3_tc1::IfcTendon::MinCurvatureRadius() const { if(g void Ifc4x3_tc1::IfcTendon::setMinCurvatureRadius(const std::optional< double >& v) { if (v) {set_attribute_value(16, *v);} else {unset_attribute_value(16);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTendon::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1165]); } -void Ifc4x3_tc1::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTendon::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1165]); } +void Ifc4x3_tc1::IfcTendon::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcTendonAnchor std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value > Ifc4x3_tc1::IfcTendonAnchor::PredefinedType() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } +void Ifc4x3_tc1::IfcTendonAnchor::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value >& v) { if (v) {set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTendonAnchor::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1166]); } -void Ifc4x3_tc1::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_tc1::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonAnchor::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1166]); } +void Ifc4x3_tc1::IfcTendonAnchor::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(),(size_t)*v10_PredefinedType))); } } // Function implementations for IfcTendonAnchorType ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value Ifc4x3_tc1::IfcTendonAnchorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTendonAnchorType::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcTendonAnchorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1167]); } -void Ifc4x3_tc1::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonAnchorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1167]); } +void Ifc4x3_tc1::IfcTendonAnchorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduit ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value Ifc4x3_tc1::IfcTendonConduit::PredefinedType() const { return ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTendonConduit::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcTendonConduit::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1169]); } -void Ifc4x3_tc1::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonConduit::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1169]); } +void Ifc4x3_tc1::IfcTendonConduit::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_SteelGrade) {set_attribute_value(8, (*v9_SteelGrade)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonConduitType ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value Ifc4x3_tc1::IfcTendonConduitType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTendonConduitType::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcTendonConduitType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1170]); } -void Ifc4x3_tc1::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonConduitType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1170]); } +void Ifc4x3_tc1::IfcTendonConduitType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTendonType ::Ifc4x3_tc1::IfcTendonTypeEnum::Value Ifc4x3_tc1::IfcTendonType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTendonTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTendonType::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTendonType::setPredefinedType(const ::Ifc4x3_tc1::IfcTendonTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTendonTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } std::optional< double > Ifc4x3_tc1::IfcTendonType::NominalDiameter() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } double v = get_attribute_value(10); return v; } void Ifc4x3_tc1::IfcTendonType::setNominalDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(10, *v);} else {unset_attribute_value(10);} } std::optional< double > Ifc4x3_tc1::IfcTendonType::CrossSectionArea() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } double v = get_attribute_value(11); return v; } @@ -15732,23 +15732,23 @@ std::optional< double > Ifc4x3_tc1::IfcTendonType::SheathDiameter() const { if(g void Ifc4x3_tc1::IfcTendonType::setSheathDiameter(const std::optional< double >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTendonType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1172]); } -void Ifc4x3_tc1::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTendonType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1172]); } +void Ifc4x3_tc1::IfcTendonType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::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)); } } // Function implementations for IfcTessellatedFaceSet ::Ifc4x3_tc1::IfcCartesianPointList3D Ifc4x3_tc1::IfcTessellatedFaceSet::Coordinates() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcCartesianPointList3D>(); } void Ifc4x3_tc1::IfcTessellatedFaceSet::setCoordinates(const ::Ifc4x3_tc1::IfcCartesianPointList3D& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -std::vector<::Ifc4x3_tc1::IfcIndexedColourMap> Ifc4x3_tc1::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[541], 0)); } -std::vector<::Ifc4x3_tc1::IfcIndexedTextureMap> Ifc4x3_tc1::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[546], 1)); } +std::vector<::Ifc4x3_tc1::IfcIndexedColourMap> Ifc4x3_tc1::IfcTessellatedFaceSet::HasColours() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[541], 0)); } +std::vector<::Ifc4x3_tc1::IfcIndexedTextureMap> Ifc4x3_tc1::IfcTessellatedFaceSet::HasTextures() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[546], 1)); } -const IfcParse::entity& Ifc4x3_tc1::IfcTessellatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1174]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTessellatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1174]); } void Ifc4x3_tc1::IfcTessellatedFaceSet::initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTessellatedItem -const IfcParse::entity& Ifc4x3_tc1::IfcTessellatedItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1175]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTessellatedItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1175]); } void Ifc4x3_tc1::IfcTessellatedItem::initialize() { } // Function implementations for IfcTextLiteral @@ -15757,11 +15757,11 @@ void Ifc4x3_tc1::IfcTextLiteral::setLiteral(const std::string& v) { set_attribut ::Ifc4x3_tc1::IfcAxis2Placement Ifc4x3_tc1::IfcTextLiteral::Placement() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcAxis2Placement>(); } void Ifc4x3_tc1::IfcTextLiteral::setPlacement(const ::Ifc4x3_tc1::IfcAxis2Placement& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } ::Ifc4x3_tc1::IfcTextPath::Value Ifc4x3_tc1::IfcTextLiteral::Path() const { return ::Ifc4x3_tc1::IfcTextPath::FromString(get_attribute_value(2)); } -void Ifc4x3_tc1::IfcTextLiteral::setPath(const ::Ifc4x3_tc1::IfcTextPath::Value& v) { set_attribute_value(2, EnumerationReference(&::Ifc4x3_tc1::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } +void Ifc4x3_tc1::IfcTextLiteral::setPath(const ::Ifc4x3_tc1::IfcTextPath::Value& v) { set_attribute_value(2, enumeration_reference(&::Ifc4x3_tc1::IfcTextPath::Class(), (size_t) v));if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextLiteral::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1181]); } -void Ifc4x3_tc1::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_tc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_tc1::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcTextPath::Class(),(size_t)v3_Path))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextLiteral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1181]); } +void Ifc4x3_tc1::IfcTextLiteral::initialize(std::string v1_Literal, ::Ifc4x3_tc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_tc1::IfcTextPath::Value v3_Path) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcTextPath::Class(),(size_t)v3_Path))); } // Function implementations for IfcTextLiteralWithExtent ::Ifc4x3_tc1::IfcPlanarExtent Ifc4x3_tc1::IfcTextLiteralWithExtent::Extent() const { return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcPlanarExtent>(); } @@ -15770,8 +15770,8 @@ std::string Ifc4x3_tc1::IfcTextLiteralWithExtent::BoxAlignment() const { std::s void Ifc4x3_tc1::IfcTextLiteralWithExtent::setBoxAlignment(const std::string& v) { set_attribute_value(4, v);if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextLiteralWithExtent::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1182]); } -void Ifc4x3_tc1::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_tc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_tc1::IfcTextPath::Value v3_Path, ::Ifc4x3_tc1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (EnumerationReference(&::Ifc4x3_tc1::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextLiteralWithExtent::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1182]); } +void Ifc4x3_tc1::IfcTextLiteralWithExtent::initialize(std::string v1_Literal, ::Ifc4x3_tc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_tc1::IfcTextPath::Value v3_Path, ::Ifc4x3_tc1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment) { set_attribute_value(0, (v1_Literal));set_attribute_value(1, (v2_Placement));set_attribute_value(2, (enumeration_reference(&::Ifc4x3_tc1::IfcTextPath::Class(),(size_t)v3_Path)));set_attribute_value(3, (v4_Extent));set_attribute_value(4, (v5_BoxAlignment)); } // Function implementations for IfcTextStyle ::Ifc4x3_tc1::IfcTextStyleForDefinedFont Ifc4x3_tc1::IfcTextStyle::TextCharacterAppearance() const { if(get_attribute_value(1).isNull()) { return ::Ifc4x3_tc1::IfcTextStyleForDefinedFont{}; } return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcTextStyleForDefinedFont>(); } @@ -15784,7 +15784,7 @@ std::optional< bool > Ifc4x3_tc1::IfcTextStyle::ModelOrDraughting() const { if(g void Ifc4x3_tc1::IfcTextStyle::setModelOrDraughting(const std::optional< bool >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTextStyle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1184]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextStyle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1184]); } void Ifc4x3_tc1::IfcTextStyle::initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_tc1::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_tc1::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); }set_attribute_value(1, (v2_TextCharacterAppearance));set_attribute_value(2, (v3_TextStyle));set_attribute_value(3, (v4_TextFontStyle)); if (v5_ModelOrDraughting) {set_attribute_value(4, (*v5_ModelOrDraughting)); } } // Function implementations for IfcTextStyleFontModel @@ -15800,7 +15800,7 @@ void Ifc4x3_tc1::IfcTextStyleFontModel::setFontWeight(const std::optional< std:: void Ifc4x3_tc1::IfcTextStyleFontModel::setFontSize(const ::Ifc4x3_tc1::IfcSizeSelect& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextStyleFontModel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1185]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextStyleFontModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1185]); } void Ifc4x3_tc1::IfcTextStyleFontModel::initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_tc1::IfcSizeSelect v6_FontSize) { 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)); } // Function implementations for IfcTextStyleForDefinedFont @@ -15810,7 +15810,7 @@ void Ifc4x3_tc1::IfcTextStyleForDefinedFont::setColour(const ::Ifc4x3_tc1::IfcCo void Ifc4x3_tc1::IfcTextStyleForDefinedFont::setBackgroundColour(const ::Ifc4x3_tc1::IfcColour& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextStyleForDefinedFont::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1186]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextStyleForDefinedFont::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1186]); } void Ifc4x3_tc1::IfcTextStyleForDefinedFont::initialize(::Ifc4x3_tc1::IfcColour v1_Colour, ::Ifc4x3_tc1::IfcColour v2_BackgroundColour) { set_attribute_value(0, (v1_Colour));set_attribute_value(1, (v2_BackgroundColour)); } // Function implementations for IfcTextStyleTextModel @@ -15830,7 +15830,7 @@ void Ifc4x3_tc1::IfcTextStyleTextModel::setTextTransform(const std::optional< st void Ifc4x3_tc1::IfcTextStyleTextModel::setLineHeight(const ::Ifc4x3_tc1::IfcSizeSelect& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextStyleTextModel::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1187]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextStyleTextModel::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1187]); } void Ifc4x3_tc1::IfcTextStyleTextModel::initialize(::Ifc4x3_tc1::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_tc1::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_tc1::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_tc1::IfcSizeSelect v7_LineHeight) { set_attribute_value(0, (v1_TextIndent)); if (v2_TextAlign) {set_attribute_value(1, (*v2_TextAlign)); } if (v3_TextDecoration) {set_attribute_value(2, (*v3_TextDecoration)); }set_attribute_value(3, (v4_LetterSpacing));set_attribute_value(4, (v5_WordSpacing)); if (v6_TextTransform) {set_attribute_value(5, (*v6_TextTransform)); }set_attribute_value(6, (v7_LineHeight)); } // Function implementations for IfcTextureCoordinate @@ -15838,7 +15838,7 @@ std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > Ifc4x3_tc1::IfcTextureCoordinate: void Ifc4x3_tc1::IfcTextureCoordinate::setMaps(const std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextureCoordinate::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1189]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureCoordinate::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1189]); } void Ifc4x3_tc1::IfcTextureCoordinate::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps) { set_attribute_value(0, cast_vector(v1_Maps)); } // Function implementations for IfcTextureCoordinateGenerator @@ -15848,7 +15848,7 @@ std::optional< std::vector< double > /*[1:?]*/ > Ifc4x3_tc1::IfcTextureCoordinat void Ifc4x3_tc1::IfcTextureCoordinateGenerator::setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v) { if (v) {set_attribute_value(2, *v);} else {unset_attribute_value(2);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTextureCoordinateGenerator::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1190]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureCoordinateGenerator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1190]); } void Ifc4x3_tc1::IfcTextureCoordinateGenerator::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, (v2_Mode)); if (v3_Parameter) {set_attribute_value(2, (*v3_Parameter)); } } // Function implementations for IfcTextureCoordinateIndices @@ -15857,9 +15857,9 @@ void Ifc4x3_tc1::IfcTextureCoordinateIndices::setTexCoordIndex(const std::vector ::Ifc4x3_tc1::IfcIndexedPolygonalFace Ifc4x3_tc1::IfcTextureCoordinateIndices::TexCoordsOf() const { return ((express::Base)(get_attribute_value(1))).as<::Ifc4x3_tc1::IfcIndexedPolygonalFace>(); } void Ifc4x3_tc1::IfcTextureCoordinateIndices::setTexCoordsOf(const ::Ifc4x3_tc1::IfcIndexedPolygonalFace& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -std::vector<::Ifc4x3_tc1::IfcIndexedPolygonalTextureMap> Ifc4x3_tc1::IfcTextureCoordinateIndices::ToTexMap() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[545], 3)); } +std::vector<::Ifc4x3_tc1::IfcIndexedPolygonalTextureMap> Ifc4x3_tc1::IfcTextureCoordinateIndices::ToTexMap() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[545], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextureCoordinateIndices::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1191]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureCoordinateIndices::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1191]); } void Ifc4x3_tc1::IfcTextureCoordinateIndices::initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf)); } // Function implementations for IfcTextureCoordinateIndicesWithVoids @@ -15867,7 +15867,7 @@ std::vector< std::vector< int > > Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoi void Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::setInnerTexCoordIndices(const std::vector< std::vector< int > >& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1192]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1192]); } void Ifc4x3_tc1::IfcTextureCoordinateIndicesWithVoids::initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices) { set_attribute_value(0, (v1_TexCoordIndex));set_attribute_value(1, (v2_TexCoordsOf));set_attribute_value(2, (v3_InnerTexCoordIndices)); } // Function implementations for IfcTextureMap @@ -15877,7 +15877,7 @@ void Ifc4x3_tc1::IfcTextureMap::setVertices(const std::vector< ::Ifc4x3_tc1::Ifc void Ifc4x3_tc1::IfcTextureMap::setMappedTo(const ::Ifc4x3_tc1::IfcFace& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextureMap::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1193]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureMap::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1193]); } void Ifc4x3_tc1::IfcTextureMap::initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_tc1::IfcTextureVertex > v2_Vertices, ::Ifc4x3_tc1::IfcFace v3_MappedTo) { set_attribute_value(0, cast_vector(v1_Maps));set_attribute_value(1, cast_vector(v2_Vertices));set_attribute_value(2, (v3_MappedTo)); } // Function implementations for IfcTextureVertex @@ -15885,7 +15885,7 @@ std::vector< double > /*[2:2]*/ Ifc4x3_tc1::IfcTextureVertex::Coordinates() cons void Ifc4x3_tc1::IfcTextureVertex::setCoordinates(const std::vector< double > /*[2:2]*/& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextureVertex::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1194]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1194]); } void Ifc4x3_tc1::IfcTextureVertex::initialize(std::vector< double > /*[2:2]*/ v1_Coordinates) { set_attribute_value(0, (v1_Coordinates)); } // Function implementations for IfcTextureVertexList @@ -15893,7 +15893,7 @@ std::vector< std::vector< double > > Ifc4x3_tc1::IfcTextureVertexList::TexCoords void Ifc4x3_tc1::IfcTextureVertexList::setTexCoordsList(const std::vector< std::vector< double > >& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcTextureVertexList::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1195]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTextureVertexList::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1195]); } void Ifc4x3_tc1::IfcTextureVertexList::initialize(std::vector< std::vector< double > > v1_TexCoordsList) { set_attribute_value(0, (v1_TexCoordsList)); } // Function implementations for IfcThirdOrderPolynomialSpiral @@ -15907,7 +15907,7 @@ std::optional< double > Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::ConstantTerm( void Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::setConstantTerm(const std::optional< double >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1202]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1202]); } void Ifc4x3_tc1::IfcThirdOrderPolynomialSpiral::initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm) { set_attribute_value(0, (v1_Position));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)); } } // Function implementations for IfcTimePeriod @@ -15917,7 +15917,7 @@ std::string Ifc4x3_tc1::IfcTimePeriod::EndTime() const { std::string v = get_at void Ifc4x3_tc1::IfcTimePeriod::setEndTime(const std::string& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcTimePeriod::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1206]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTimePeriod::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1206]); } void Ifc4x3_tc1::IfcTimePeriod::initialize(std::string v1_StartTime, std::string v2_EndTime) { set_attribute_value(0, (v1_StartTime));set_attribute_value(1, (v2_EndTime)); } // Function implementations for IfcTimeSeries @@ -15930,37 +15930,37 @@ void Ifc4x3_tc1::IfcTimeSeries::setStartTime(const std::string& v) { set_attribu std::string Ifc4x3_tc1::IfcTimeSeries::EndTime() const { std::string v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcTimeSeries::setEndTime(const std::string& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value Ifc4x3_tc1::IfcTimeSeries::TimeSeriesDataType() const { return ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_tc1::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_tc1::IfcTimeSeries::setTimeSeriesDataType(const ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_tc1::IfcDataOriginEnum::Value Ifc4x3_tc1::IfcTimeSeries::DataOrigin() const { return ::Ifc4x3_tc1::IfcDataOriginEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_tc1::IfcDataOriginEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_tc1::IfcTimeSeries::setDataOrigin(const ::Ifc4x3_tc1::IfcDataOriginEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< std::string > Ifc4x3_tc1::IfcTimeSeries::UserDefinedDataOrigin() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::string v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcTimeSeries::setUserDefinedDataOrigin(const std::optional< std::string >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } ::Ifc4x3_tc1::IfcUnit Ifc4x3_tc1::IfcTimeSeries::Unit() const { if(get_attribute_value(7).isNull()) { return ::Ifc4x3_tc1::IfcUnit{}; } return ((express::Base)(get_attribute_value(7))).as<::Ifc4x3_tc1::IfcUnit>(); } void Ifc4x3_tc1::IfcTimeSeries::setUnit(const ::Ifc4x3_tc1::IfcUnit& v) { set_attribute_value(7, v);if constexpr (false)unset_attribute_value(7); } -std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[427], 3)); } +std::vector<::Ifc4x3_tc1::IfcExternalReferenceRelationship> Ifc4x3_tc1::IfcTimeSeries::HasExternalReference() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[427], 3)); } -const IfcParse::entity& Ifc4x3_tc1::IfcTimeSeries::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1207]); } -void Ifc4x3_tc1::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit) { 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_tc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTimeSeries::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1207]); } +void Ifc4x3_tc1::IfcTimeSeries::initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit) { 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, (enumeration_reference(&::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Class(),(size_t)v5_TimeSeriesDataType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)v6_DataOrigin))); if (v7_UserDefinedDataOrigin) {set_attribute_value(6, (*v7_UserDefinedDataOrigin)); }set_attribute_value(7, (v8_Unit)); } // Function implementations for IfcTimeSeriesValue std::vector< ::Ifc4x3_tc1::IfcValue > Ifc4x3_tc1::IfcTimeSeriesValue::ListValues() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcValue>(es); } void Ifc4x3_tc1::IfcTimeSeriesValue::setListValues(const std::vector< ::Ifc4x3_tc1::IfcValue >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcTimeSeriesValue::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1209]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTimeSeriesValue::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1209]); } void Ifc4x3_tc1::IfcTimeSeriesValue::initialize(std::vector< ::Ifc4x3_tc1::IfcValue > v1_ListValues) { set_attribute_value(0, cast_vector(v1_ListValues)); } // Function implementations for IfcTopologicalRepresentationItem -const IfcParse::entity& Ifc4x3_tc1::IfcTopologicalRepresentationItem::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1211]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTopologicalRepresentationItem::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1211]); } void Ifc4x3_tc1::IfcTopologicalRepresentationItem::initialize() { } // Function implementations for IfcTopologyRepresentation -const IfcParse::entity& Ifc4x3_tc1::IfcTopologyRepresentation::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1212]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTopologyRepresentation::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1212]); } void Ifc4x3_tc1::IfcTopologyRepresentation::initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items) { set_attribute_value(0, (v1_ContextOfItems)); if (v2_RepresentationIdentifier) {set_attribute_value(1, (*v2_RepresentationIdentifier)); } if (v3_RepresentationType) {set_attribute_value(2, (*v3_RepresentationType)); }set_attribute_value(3, cast_vector(v4_Items)); } // Function implementations for IfcToroidalSurface @@ -15970,67 +15970,67 @@ double Ifc4x3_tc1::IfcToroidalSurface::MinorRadius() const { double v = get_att void Ifc4x3_tc1::IfcToroidalSurface::setMinorRadius(const double& v) { set_attribute_value(2, v);if constexpr (false)unset_attribute_value(2); } -const IfcParse::entity& Ifc4x3_tc1::IfcToroidalSurface::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1213]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcToroidalSurface::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1213]); } void Ifc4x3_tc1::IfcToroidalSurface::initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius) { set_attribute_value(0, (v1_Position));set_attribute_value(1, (v2_MajorRadius));set_attribute_value(2, (v3_MinorRadius)); } // Function implementations for IfcTrackElement std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value > Ifc4x3_tc1::IfcTrackElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTrackElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcTrackElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTrackElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1215]); } -void Ifc4x3_tc1::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTrackElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1215]); } +void Ifc4x3_tc1::IfcTrackElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTrackElementType ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value Ifc4x3_tc1::IfcTrackElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTrackElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTrackElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcTrackElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1216]); } -void Ifc4x3_tc1::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTrackElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1216]); } +void Ifc4x3_tc1::IfcTrackElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTrackElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransformer std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value > Ifc4x3_tc1::IfcTransformer::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTransformerTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcTransformer::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTransformer::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1218]); } -void Ifc4x3_tc1::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTransformer::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1218]); } +void Ifc4x3_tc1::IfcTransformer::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransformerType ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value Ifc4x3_tc1::IfcTransformerType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTransformerTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTransformerType::setPredefinedType(const ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTransformerType::setPredefinedType(const ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcTransformerType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1219]); } -void Ifc4x3_tc1::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTransformerType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1219]); } +void Ifc4x3_tc1::IfcTransformerType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTransformerTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportElement std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value > Ifc4x3_tc1::IfcTransportElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTransportElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcTransportElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTransportElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1225]); } -void Ifc4x3_tc1::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTransportElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1225]); } +void Ifc4x3_tc1::IfcTransportElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTransportElementType ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value Ifc4x3_tc1::IfcTransportElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTransportElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTransportElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcTransportElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1226]); } -void Ifc4x3_tc1::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTransportElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1226]); } +void Ifc4x3_tc1::IfcTransportElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTransportElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTransportationDevice -const IfcParse::entity& Ifc4x3_tc1::IfcTransportationDevice::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1223]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTransportationDevice::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1223]); } void Ifc4x3_tc1::IfcTransportationDevice::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTransportationDeviceType -const IfcParse::entity& Ifc4x3_tc1::IfcTransportationDeviceType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1224]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTransportationDeviceType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1224]); } void Ifc4x3_tc1::IfcTransportationDeviceType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); } } // Function implementations for IfcTrapeziumProfileDef @@ -16044,8 +16044,8 @@ double Ifc4x3_tc1::IfcTrapeziumProfileDef::TopXOffset() const { double v = get_ void Ifc4x3_tc1::IfcTrapeziumProfileDef::setTopXOffset(const double& v) { set_attribute_value(6, v);if constexpr (false)unset_attribute_value(6); } -const IfcParse::entity& Ifc4x3_tc1::IfcTrapeziumProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1228]); } -void Ifc4x3_tc1::IfcTrapeziumProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTrapeziumProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1228]); } +void Ifc4x3_tc1::IfcTrapeziumProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));set_attribute_value(3, (v4_BottomXDim));set_attribute_value(4, (v5_TopXDim));set_attribute_value(5, (v6_YDim));set_attribute_value(6, (v7_TopXOffset)); } // Function implementations for IfcTriangulatedFaceSet std::optional< std::vector< std::vector< double > > > Ifc4x3_tc1::IfcTriangulatedFaceSet::Normals() const { if(get_attribute_value(1).isNull()) { return std::nullopt; } std::vector< std::vector< double > > v = get_attribute_value(1); return v; } @@ -16058,7 +16058,7 @@ std::optional< std::vector< int > /*[1:?]*/ > Ifc4x3_tc1::IfcTriangulatedFaceSet void Ifc4x3_tc1::IfcTriangulatedFaceSet::setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v) { if (v) {set_attribute_value(4, *v);} else {unset_attribute_value(4);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTriangulatedFaceSet::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1229]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTriangulatedFaceSet::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1229]); } void Ifc4x3_tc1::IfcTriangulatedFaceSet::initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex) { set_attribute_value(0, (v1_Coordinates)); 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)); } } // Function implementations for IfcTriangulatedIrregularNetwork @@ -16066,7 +16066,7 @@ std::vector< int > /*[1:?]*/ Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::Flags( void Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::setFlags(const std::vector< int > /*[1:?]*/& v) { set_attribute_value(5, v);if constexpr (false)unset_attribute_value(5); } -const IfcParse::entity& Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1230]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1230]); } void Ifc4x3_tc1::IfcTriangulatedIrregularNetwork::initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags) { set_attribute_value(0, (v1_Coordinates)); 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)); } // Function implementations for IfcTrimmedCurve @@ -16079,27 +16079,27 @@ void Ifc4x3_tc1::IfcTrimmedCurve::setTrim2(const std::vector< ::Ifc4x3_tc1::IfcT bool Ifc4x3_tc1::IfcTrimmedCurve::SenseAgreement() const { bool v = get_attribute_value(3); return v; } void Ifc4x3_tc1::IfcTrimmedCurve::setSenseAgreement(const bool& v) { set_attribute_value(3, v);if constexpr (false)unset_attribute_value(3); } ::Ifc4x3_tc1::IfcTrimmingPreference::Value Ifc4x3_tc1::IfcTrimmedCurve::MasterRepresentation() const { return ::Ifc4x3_tc1::IfcTrimmingPreference::FromString(get_attribute_value(4)); } -void Ifc4x3_tc1::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_tc1::IfcTrimmingPreference::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_tc1::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_tc1::IfcTrimmedCurve::setMasterRepresentation(const ::Ifc4x3_tc1::IfcTrimmingPreference::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcTrimmingPreference::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } -const IfcParse::entity& Ifc4x3_tc1::IfcTrimmedCurve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1231]); } -void Ifc4x3_tc1::IfcTrimmedCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_tc1::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (EnumerationReference(&::Ifc4x3_tc1::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTrimmedCurve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1231]); } +void Ifc4x3_tc1::IfcTrimmedCurve::initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_tc1::IfcTrimmingPreference::Value v5_MasterRepresentation) { set_attribute_value(0, (v1_BasisCurve));set_attribute_value(1, cast_vector(v2_Trim1));set_attribute_value(2, cast_vector(v3_Trim2));set_attribute_value(3, (v4_SenseAgreement));set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcTrimmingPreference::Class(),(size_t)v5_MasterRepresentation))); } // Function implementations for IfcTubeBundle std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value > Ifc4x3_tc1::IfcTubeBundle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcTubeBundle::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcTubeBundle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1235]); } -void Ifc4x3_tc1::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTubeBundle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1235]); } +void Ifc4x3_tc1::IfcTubeBundle::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcTubeBundleType ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value Ifc4x3_tc1::IfcTubeBundleType::PredefinedType() const { return ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcTubeBundleType::setPredefinedType(const ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcTubeBundleType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1236]); } -void Ifc4x3_tc1::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTubeBundleType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1236]); } +void Ifc4x3_tc1::IfcTubeBundleType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcTypeObject std::optional< std::string > Ifc4x3_tc1::IfcTypeObject::ApplicableOccurrence() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } std::string v = get_attribute_value(4); return v; } @@ -16107,9 +16107,9 @@ void Ifc4x3_tc1::IfcTypeObject::setApplicableOccurrence(const std::optional< std std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > Ifc4x3_tc1::IfcTypeObject::HasPropertySets() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(5); return cast_vector<::Ifc4x3_tc1::IfcPropertySetDefinition>(es); } void Ifc4x3_tc1::IfcTypeObject::setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > >& v) { if (v) {set_attribute_value(5, cast_vector(*v));} else {unset_attribute_value(5);} } -std::vector<::Ifc4x3_tc1::IfcRelDefinesByType> Ifc4x3_tc1::IfcTypeObject::Types() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[933], 5)); } +std::vector<::Ifc4x3_tc1::IfcRelDefinesByType> Ifc4x3_tc1::IfcTypeObject::Types() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[933], 5)); } -const IfcParse::entity& Ifc4x3_tc1::IfcTypeObject::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1238]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTypeObject::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1238]); } void Ifc4x3_tc1::IfcTypeObject::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } } // Function implementations for IfcTypeProcess @@ -16120,9 +16120,9 @@ void Ifc4x3_tc1::IfcTypeProcess::setLongDescription(const std::optional< std::st std::optional< std::string > Ifc4x3_tc1::IfcTypeProcess::ProcessType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcTypeProcess::setProcessType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_tc1::IfcRelAssignsToProcess> Ifc4x3_tc1::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[903], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelAssignsToProcess> Ifc4x3_tc1::IfcTypeProcess::OperatesOn() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[903], 6)); } -const IfcParse::entity& Ifc4x3_tc1::IfcTypeProcess::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1239]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTypeProcess::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1239]); } void Ifc4x3_tc1::IfcTypeProcess::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcTypeProduct @@ -16131,9 +16131,9 @@ void Ifc4x3_tc1::IfcTypeProduct::setRepresentationMaps(const std::optional< std: std::optional< std::string > Ifc4x3_tc1::IfcTypeProduct::Tag() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::string v = get_attribute_value(7); return v; } void Ifc4x3_tc1::IfcTypeProduct::setTag(const std::optional< std::string >& v) { if (v) {set_attribute_value(7, *v);} else {unset_attribute_value(7);} } -std::vector<::Ifc4x3_tc1::IfcRelAssignsToProduct> Ifc4x3_tc1::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[904], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelAssignsToProduct> Ifc4x3_tc1::IfcTypeProduct::ReferencedBy() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[904], 6)); } -const IfcParse::entity& Ifc4x3_tc1::IfcTypeProduct::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1240]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTypeProduct::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1240]); } void Ifc4x3_tc1::IfcTypeProduct::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } } // Function implementations for IfcTypeResource @@ -16144,9 +16144,9 @@ void Ifc4x3_tc1::IfcTypeResource::setLongDescription(const std::optional< std::s std::optional< std::string > Ifc4x3_tc1::IfcTypeResource::ResourceType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } std::string v = get_attribute_value(8); return v; } void Ifc4x3_tc1::IfcTypeResource::setResourceType(const std::optional< std::string >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -std::vector<::Ifc4x3_tc1::IfcRelAssignsToResource> Ifc4x3_tc1::IfcTypeResource::ResourceOf() const { return cast_vector(file()->getInverse(data()->id(), IFC4X3_TC1_types[905], 6)); } +std::vector<::Ifc4x3_tc1::IfcRelAssignsToResource> Ifc4x3_tc1::IfcTypeResource::ResourceOf() const { return cast_vector(file()->get_inverse(data()->id(), IFC4X3_TC1_types[905], 6)); } -const IfcParse::entity& Ifc4x3_tc1::IfcTypeResource::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1241]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcTypeResource::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1241]); } void Ifc4x3_tc1::IfcTypeResource::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } 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)); } } // Function implementations for IfcUShapeProfileDef @@ -16166,64 +16166,64 @@ std::optional< double > Ifc4x3_tc1::IfcUShapeProfileDef::FlangeSlope() const { i void Ifc4x3_tc1::IfcUShapeProfileDef::setFlangeSlope(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } -const IfcParse::entity& Ifc4x3_tc1::IfcUShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1252]); } -void Ifc4x3_tc1::IfcUShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcUShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1252]); } +void Ifc4x3_tc1::IfcUShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcUnitAssignment std::vector< ::Ifc4x3_tc1::IfcUnit > Ifc4x3_tc1::IfcUnitAssignment::Units() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcUnit>(es); } void Ifc4x3_tc1::IfcUnitAssignment::setUnits(const std::vector< ::Ifc4x3_tc1::IfcUnit >& v) { set_attribute_value(0, cast_vector(v));if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcUnitAssignment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1249]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitAssignment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1249]); } void Ifc4x3_tc1::IfcUnitAssignment::initialize(std::vector< ::Ifc4x3_tc1::IfcUnit > v1_Units) { set_attribute_value(0, cast_vector(v1_Units)); } // Function implementations for IfcUnitaryControlElement std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value > Ifc4x3_tc1::IfcUnitaryControlElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcUnitaryControlElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcUnitaryControlElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1243]); } -void Ifc4x3_tc1::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitaryControlElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1243]); } +void Ifc4x3_tc1::IfcUnitaryControlElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryControlElementType ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value Ifc4x3_tc1::IfcUnitaryControlElementType::PredefinedType() const { return ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcUnitaryControlElementType::setPredefinedType(const ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcUnitaryControlElementType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1244]); } -void Ifc4x3_tc1::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitaryControlElementType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1244]); } +void Ifc4x3_tc1::IfcUnitaryControlElementType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcUnitaryEquipment std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value > Ifc4x3_tc1::IfcUnitaryEquipment::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcUnitaryEquipment::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcUnitaryEquipment::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1246]); } -void Ifc4x3_tc1::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitaryEquipment::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1246]); } +void Ifc4x3_tc1::IfcUnitaryEquipment::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcUnitaryEquipmentType ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value Ifc4x3_tc1::IfcUnitaryEquipmentType::PredefinedType() const { return ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcUnitaryEquipmentType::setPredefinedType(const ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcUnitaryEquipmentType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1247]); } -void Ifc4x3_tc1::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcUnitaryEquipmentType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1247]); } +void Ifc4x3_tc1::IfcUnitaryEquipmentType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcValve std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value > Ifc4x3_tc1::IfcValve::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcValveTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcValve::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcValve::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1254]); } -void Ifc4x3_tc1::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcValve::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1254]); } +void Ifc4x3_tc1::IfcValve::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcValveType ::Ifc4x3_tc1::IfcValveTypeEnum::Value Ifc4x3_tc1::IfcValveType::PredefinedType() const { return ::Ifc4x3_tc1::IfcValveTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcValveType::setPredefinedType(const ::Ifc4x3_tc1::IfcValveTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcValveType::setPredefinedType(const ::Ifc4x3_tc1::IfcValveTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcValveType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1255]); } -void Ifc4x3_tc1::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcValveType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1255]); } +void Ifc4x3_tc1::IfcValveType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcValveTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcValveTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVector ::Ifc4x3_tc1::IfcDirection Ifc4x3_tc1::IfcVector::Orientation() const { return ((express::Base)(get_attribute_value(0))).as<::Ifc4x3_tc1::IfcDirection>(); } @@ -16232,29 +16232,29 @@ double Ifc4x3_tc1::IfcVector::Magnitude() const { double v = get_attribute_valu void Ifc4x3_tc1::IfcVector::setMagnitude(const double& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcVector::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1258]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVector::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1258]); } void Ifc4x3_tc1::IfcVector::initialize(::Ifc4x3_tc1::IfcDirection v1_Orientation, double v2_Magnitude) { set_attribute_value(0, (v1_Orientation));set_attribute_value(1, (v2_Magnitude)); } // Function implementations for IfcVehicle std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value > Ifc4x3_tc1::IfcVehicle::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVehicleTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcVehicle::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcVehicle::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcVehicle::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1260]); } -void Ifc4x3_tc1::IfcVehicle::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVehicle::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1260]); } +void Ifc4x3_tc1::IfcVehicle::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVehicleType ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value Ifc4x3_tc1::IfcVehicleType::PredefinedType() const { return ::Ifc4x3_tc1::IfcVehicleTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcVehicleType::setPredefinedType(const ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcVehicleType::setPredefinedType(const ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcVehicleType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1261]); } -void Ifc4x3_tc1::IfcVehicleType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVehicleType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1261]); } +void Ifc4x3_tc1::IfcVehicleType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcVehicleTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVertex -const IfcParse::entity& Ifc4x3_tc1::IfcVertex::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1263]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVertex::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1263]); } void Ifc4x3_tc1::IfcVertex::initialize() { } // Function implementations for IfcVertexLoop @@ -16262,7 +16262,7 @@ void Ifc4x3_tc1::IfcVertex::initialize() { } void Ifc4x3_tc1::IfcVertexLoop::setLoopVertex(const ::Ifc4x3_tc1::IfcVertex& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcVertexLoop::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1264]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVertexLoop::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1264]); } void Ifc4x3_tc1::IfcVertexLoop::initialize(::Ifc4x3_tc1::IfcVertex v1_LoopVertex) { set_attribute_value(0, (v1_LoopVertex)); } // Function implementations for IfcVertexPoint @@ -16270,48 +16270,48 @@ void Ifc4x3_tc1::IfcVertexLoop::initialize(::Ifc4x3_tc1::IfcVertex v1_LoopVertex void Ifc4x3_tc1::IfcVertexPoint::setVertexGeometry(const ::Ifc4x3_tc1::IfcPoint& v) { set_attribute_value(0, v);if constexpr (false)unset_attribute_value(0); } -const IfcParse::entity& Ifc4x3_tc1::IfcVertexPoint::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1265]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVertexPoint::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1265]); } void Ifc4x3_tc1::IfcVertexPoint::initialize(::Ifc4x3_tc1::IfcPoint v1_VertexGeometry) { set_attribute_value(0, (v1_VertexGeometry)); } // Function implementations for IfcVibrationDamper std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value > Ifc4x3_tc1::IfcVibrationDamper::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcVibrationDamper::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcVibrationDamper::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1266]); } -void Ifc4x3_tc1::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVibrationDamper::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1266]); } +void Ifc4x3_tc1::IfcVibrationDamper::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationDamperType ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value Ifc4x3_tc1::IfcVibrationDamperType::PredefinedType() const { return ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcVibrationDamperType::setPredefinedType(const ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcVibrationDamperType::setPredefinedType(const ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcVibrationDamperType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1267]); } -void Ifc4x3_tc1::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVibrationDamperType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1267]); } +void Ifc4x3_tc1::IfcVibrationDamperType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVibrationIsolator std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value > Ifc4x3_tc1::IfcVibrationIsolator::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcVibrationIsolator::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcVibrationIsolator::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1269]); } -void Ifc4x3_tc1::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVibrationIsolator::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1269]); } +void Ifc4x3_tc1::IfcVibrationIsolator::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVibrationIsolatorType ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value Ifc4x3_tc1::IfcVibrationIsolatorType::PredefinedType() const { return ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcVibrationIsolatorType::setPredefinedType(const ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcVibrationIsolatorType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1270]); } -void Ifc4x3_tc1::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVibrationIsolatorType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1270]); } +void Ifc4x3_tc1::IfcVibrationIsolatorType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcVirtualElement std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value > Ifc4x3_tc1::IfcVirtualElement::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcVirtualElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcVirtualElement::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcVirtualElement::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1272]); } -void Ifc4x3_tc1::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVirtualElement::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1272]); } +void Ifc4x3_tc1::IfcVirtualElement::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcVirtualGridIntersection std::vector< ::Ifc4x3_tc1::IfcGridAxis > Ifc4x3_tc1::IfcVirtualGridIntersection::IntersectingAxes() const { std::vector es = get_attribute_value(0); return cast_vector<::Ifc4x3_tc1::IfcGridAxis>(es); } @@ -16320,54 +16320,54 @@ std::vector< double > /*[2:3]*/ Ifc4x3_tc1::IfcVirtualGridIntersection::OffsetDi void Ifc4x3_tc1::IfcVirtualGridIntersection::setOffsetDistances(const std::vector< double > /*[2:3]*/& v) { set_attribute_value(1, v);if constexpr (false)unset_attribute_value(1); } -const IfcParse::entity& Ifc4x3_tc1::IfcVirtualGridIntersection::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1274]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVirtualGridIntersection::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1274]); } void Ifc4x3_tc1::IfcVirtualGridIntersection::initialize(std::vector< ::Ifc4x3_tc1::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances) { set_attribute_value(0, cast_vector(v1_IntersectingAxes));set_attribute_value(1, (v2_OffsetDistances)); } // Function implementations for IfcVoidingFeature std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value > Ifc4x3_tc1::IfcVoidingFeature::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcVoidingFeature::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcVoidingFeature::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1275]); } -void Ifc4x3_tc1::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcVoidingFeature::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1275]); } +void Ifc4x3_tc1::IfcVoidingFeature::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWall std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > Ifc4x3_tc1::IfcWall::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWallTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcWall::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWall::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1279]); } -void Ifc4x3_tc1::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWall::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1279]); } +void Ifc4x3_tc1::IfcWall::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallStandardCase -const IfcParse::entity& Ifc4x3_tc1::IfcWallStandardCase::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1280]); } -void Ifc4x3_tc1::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWallStandardCase::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1280]); } +void Ifc4x3_tc1::IfcWallStandardCase::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWallType ::Ifc4x3_tc1::IfcWallTypeEnum::Value Ifc4x3_tc1::IfcWallType::PredefinedType() const { return ::Ifc4x3_tc1::IfcWallTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcWallType::setPredefinedType(const ::Ifc4x3_tc1::IfcWallTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcWallType::setPredefinedType(const ::Ifc4x3_tc1::IfcWallTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcWallType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1281]); } -void Ifc4x3_tc1::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWallType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1281]); } +void Ifc4x3_tc1::IfcWallType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWallTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcWallTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWasteTerminal std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value > Ifc4x3_tc1::IfcWasteTerminal::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcWasteTerminal::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWasteTerminal::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1286]); } -void Ifc4x3_tc1::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWasteTerminal::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1286]); } +void Ifc4x3_tc1::IfcWasteTerminal::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWasteTerminalType ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value Ifc4x3_tc1::IfcWasteTerminalType::PredefinedType() const { return ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcWasteTerminalType::setPredefinedType(const ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } -const IfcParse::entity& Ifc4x3_tc1::IfcWasteTerminalType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1287]); } -void Ifc4x3_tc1::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWasteTerminalType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1287]); } +void Ifc4x3_tc1::IfcWasteTerminalType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Class(),(size_t)v10_PredefinedType))); } // Function implementations for IfcWindow std::optional< double > Ifc4x3_tc1::IfcWindow::OverallHeight() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } double v = get_attribute_value(8); return v; } @@ -16375,15 +16375,15 @@ void Ifc4x3_tc1::IfcWindow::setOverallHeight(const std::optional< double >& v) { std::optional< double > Ifc4x3_tc1::IfcWindow::OverallWidth() const { if(get_attribute_value(9).isNull()) { return std::nullopt; } double v = get_attribute_value(9); return v; } void Ifc4x3_tc1::IfcWindow::setOverallWidth(const std::optional< double >& v) { if (v) {set_attribute_value(9, *v);} else {unset_attribute_value(9);} } std::optional< ::Ifc4x3_tc1::IfcWindowTypeEnum::Value > Ifc4x3_tc1::IfcWindow::PredefinedType() const { if(get_attribute_value(10).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWindowTypeEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } +void Ifc4x3_tc1::IfcWindow::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWindowTypeEnum::Value >& v) { if (v) {set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(10);} } std::optional< ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value > Ifc4x3_tc1::IfcWindow::PartitioningType() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(11)); } -void Ifc4x3_tc1::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, EnumerationReference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } +void Ifc4x3_tc1::IfcWindow::setPartitioningType(const std::optional< ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value >& v) { if (v) {set_attribute_value(11, enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(), (size_t) *v));} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_tc1::IfcWindow::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_tc1::IfcWindow::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWindow::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1289]); } -void Ifc4x3_tc1::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_tc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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_tc1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (EnumerationReference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWindow::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1289]); } +void Ifc4x3_tc1::IfcWindow::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_tc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ObjectType) {set_attribute_value(4, (*v5_ObjectType)); }set_attribute_value(5, (v6_ObjectPlacement));set_attribute_value(6, (v7_Representation)); 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, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(),(size_t)*v11_PredefinedType))); } if (v12_PartitioningType) {set_attribute_value(11, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(),(size_t)*v12_PartitioningType))); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWindowLiningProperties std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::LiningDepth() const { if(get_attribute_value(4).isNull()) { return std::nullopt; } double v = get_attribute_value(4); return v; } @@ -16412,14 +16412,14 @@ std::optional< double > Ifc4x3_tc1::IfcWindowLiningProperties::LiningToPanelOffs void Ifc4x3_tc1::IfcWindowLiningProperties::setLiningToPanelOffsetY(const std::optional< double >& v) { if (v) {set_attribute_value(15, *v);} else {unset_attribute_value(15);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWindowLiningProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1290]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWindowLiningProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1290]); } void Ifc4x3_tc1::IfcWindowLiningProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_tc1::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); 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)); 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)); } } // Function implementations for IfcWindowPanelProperties ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value Ifc4x3_tc1::IfcWindowPanelProperties::OperationType() const { return ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::FromString(get_attribute_value(4)); } -void Ifc4x3_tc1::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, EnumerationReference(&::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } +void Ifc4x3_tc1::IfcWindowPanelProperties::setOperationType(const ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value& v) { set_attribute_value(4, enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(4); } ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value Ifc4x3_tc1::IfcWindowPanelProperties::PanelPosition() const { return ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::FromString(get_attribute_value(5)); } -void Ifc4x3_tc1::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, EnumerationReference(&::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } +void Ifc4x3_tc1::IfcWindowPanelProperties::setPanelPosition(const ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value& v) { set_attribute_value(5, enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(5); } std::optional< double > Ifc4x3_tc1::IfcWindowPanelProperties::FrameDepth() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } double v = get_attribute_value(6); return v; } void Ifc4x3_tc1::IfcWindowPanelProperties::setFrameDepth(const std::optional< double >& v) { if (v) {set_attribute_value(6, *v);} else {unset_attribute_value(6);} } std::optional< double > Ifc4x3_tc1::IfcWindowPanelProperties::FrameThickness() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } double v = get_attribute_value(7); return v; } @@ -16428,22 +16428,22 @@ void Ifc4x3_tc1::IfcWindowPanelProperties::setFrameThickness(const std::optional void Ifc4x3_tc1::IfcWindowPanelProperties::setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v) { set_attribute_value(8, v);if constexpr (false)unset_attribute_value(8); } -const IfcParse::entity& Ifc4x3_tc1::IfcWindowPanelProperties::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1293]); } -void Ifc4x3_tc1::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (EnumerationReference(&::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (EnumerationReference(&::Ifc4x3_tc1::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)); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWindowPanelProperties::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1293]); } +void Ifc4x3_tc1::IfcWindowPanelProperties::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); }set_attribute_value(4, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Class(),(size_t)v5_OperationType)));set_attribute_value(5, (enumeration_reference(&::Ifc4x3_tc1::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)); } // Function implementations for IfcWindowType ::Ifc4x3_tc1::IfcWindowTypeEnum::Value Ifc4x3_tc1::IfcWindowType::PredefinedType() const { return ::Ifc4x3_tc1::IfcWindowTypeEnum::FromString(get_attribute_value(9)); } -void Ifc4x3_tc1::IfcWindowType::setPredefinedType(const ::Ifc4x3_tc1::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, EnumerationReference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } +void Ifc4x3_tc1::IfcWindowType::setPredefinedType(const ::Ifc4x3_tc1::IfcWindowTypeEnum::Value& v) { set_attribute_value(9, enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(9); } ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value Ifc4x3_tc1::IfcWindowType::PartitioningType() const { return ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::FromString(get_attribute_value(10)); } -void Ifc4x3_tc1::IfcWindowType::setPartitioningType(const ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, EnumerationReference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } +void Ifc4x3_tc1::IfcWindowType::setPartitioningType(const ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value& v) { set_attribute_value(10, enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(), (size_t) v));if constexpr (false)unset_attribute_value(10); } std::optional< bool > Ifc4x3_tc1::IfcWindowType::ParameterTakesPrecedence() const { if(get_attribute_value(11).isNull()) { return std::nullopt; } bool v = get_attribute_value(11); return v; } void Ifc4x3_tc1::IfcWindowType::setParameterTakesPrecedence(const std::optional< bool >& v) { if (v) {set_attribute_value(11, *v);} else {unset_attribute_value(11);} } std::optional< std::string > Ifc4x3_tc1::IfcWindowType::UserDefinedPartitioningType() const { if(get_attribute_value(12).isNull()) { return std::nullopt; } std::string v = get_attribute_value(12); return v; } void Ifc4x3_tc1::IfcWindowType::setUserDefinedPartitioningType(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWindowType::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1294]); } -void Ifc4x3_tc1::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (EnumerationReference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (EnumerationReference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWindowType::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1294]); } +void Ifc4x3_tc1::IfcWindowType::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {set_attribute_value(2, (*v3_Name)); } if (v4_Description) {set_attribute_value(3, (*v4_Description)); } if (v5_ApplicableOccurrence) {set_attribute_value(4, (*v5_ApplicableOccurrence)); } if (v6_HasPropertySets) {set_attribute_value(5, cast_vector(*v6_HasPropertySets)); } if (v7_RepresentationMaps) {set_attribute_value(6, cast_vector(*v7_RepresentationMaps)); } if (v8_Tag) {set_attribute_value(7, (*v8_Tag)); } if (v9_ElementType) {set_attribute_value(8, (*v9_ElementType)); }set_attribute_value(9, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypeEnum::Class(),(size_t)v10_PredefinedType)));set_attribute_value(10, (enumeration_reference(&::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Class(),(size_t)v11_PartitioningType))); if (v12_ParameterTakesPrecedence) {set_attribute_value(11, (*v12_ParameterTakesPrecedence)); } if (v13_UserDefinedPartitioningType) {set_attribute_value(12, (*v13_UserDefinedPartitioningType)); } } // Function implementations for IfcWorkCalendar std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > Ifc4x3_tc1::IfcWorkCalendar::WorkingTimes() const { if(get_attribute_value(6).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(6); return cast_vector<::Ifc4x3_tc1::IfcWorkTime>(es); } @@ -16451,11 +16451,11 @@ void Ifc4x3_tc1::IfcWorkCalendar::setWorkingTimes(const std::optional< std::vect std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > Ifc4x3_tc1::IfcWorkCalendar::ExceptionTimes() const { if(get_attribute_value(7).isNull()) { return std::nullopt; } std::vector es = get_attribute_value(7); return cast_vector<::Ifc4x3_tc1::IfcWorkTime>(es); } void Ifc4x3_tc1::IfcWorkCalendar::setExceptionTimes(const std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > >& v) { if (v) {set_attribute_value(7, cast_vector(*v));} else {unset_attribute_value(7);} } std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value > Ifc4x3_tc1::IfcWorkCalendar::PredefinedType() const { if(get_attribute_value(8).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::FromString(get_attribute_value(8)); } -void Ifc4x3_tc1::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, EnumerationReference(&::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } +void Ifc4x3_tc1::IfcWorkCalendar::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value >& v) { if (v) {set_attribute_value(8, enumeration_reference(&::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWorkCalendar::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1297]); } -void Ifc4x3_tc1::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (EnumerationReference(&::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkCalendar::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1297]); } +void Ifc4x3_tc1::IfcWorkCalendar::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v7_WorkingTimes)); } if (v8_ExceptionTimes) {set_attribute_value(7, cast_vector(*v8_ExceptionTimes)); } if (v9_PredefinedType) {set_attribute_value(8, (enumeration_reference(&::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Class(),(size_t)*v9_PredefinedType))); } } // Function implementations for IfcWorkControl std::string Ifc4x3_tc1::IfcWorkControl::CreationDate() const { std::string v = get_attribute_value(6); return v; } @@ -16474,24 +16474,24 @@ std::optional< std::string > Ifc4x3_tc1::IfcWorkControl::FinishTime() const { if void Ifc4x3_tc1::IfcWorkControl::setFinishTime(const std::optional< std::string >& v) { if (v) {set_attribute_value(12, *v);} else {unset_attribute_value(12);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWorkControl::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1299]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkControl::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1299]); } void Ifc4x3_tc1::IfcWorkControl::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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)); } } // Function implementations for IfcWorkPlan std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value > Ifc4x3_tc1::IfcWorkPlan::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_tc1::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_tc1::IfcWorkPlan::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWorkPlan::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1300]); } -void Ifc4x3_tc1::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_tc1::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkPlan::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1300]); } +void Ifc4x3_tc1::IfcWorkPlan::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkSchedule std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value > Ifc4x3_tc1::IfcWorkSchedule::PredefinedType() const { if(get_attribute_value(13).isNull()) { return std::nullopt; } return ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::FromString(get_attribute_value(13)); } -void Ifc4x3_tc1::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, EnumerationReference(&::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } +void Ifc4x3_tc1::IfcWorkSchedule::setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value >& v) { if (v) {set_attribute_value(13, enumeration_reference(&::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Class(), (size_t) *v));} else {unset_attribute_value(13);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWorkSchedule::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1302]); } -void Ifc4x3_tc1::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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_tc1::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkSchedule::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1302]); } +void Ifc4x3_tc1::IfcWorkSchedule::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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, cast_vector(*v8_Creators)); } 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, (enumeration_reference(&::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Class(),(size_t)*v14_PredefinedType))); } } // Function implementations for IfcWorkTime ::Ifc4x3_tc1::IfcRecurrencePattern Ifc4x3_tc1::IfcWorkTime::RecurrencePattern() const { if(get_attribute_value(3).isNull()) { return ::Ifc4x3_tc1::IfcRecurrencePattern{}; } return ((express::Base)(get_attribute_value(3))).as<::Ifc4x3_tc1::IfcRecurrencePattern>(); } @@ -16502,8 +16502,8 @@ std::optional< std::string > Ifc4x3_tc1::IfcWorkTime::FinishDate() const { if(ge void Ifc4x3_tc1::IfcWorkTime::setFinishDate(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_tc1::IfcWorkTime::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1304]); } -void Ifc4x3_tc1::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (EnumerationReference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcWorkTime::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1304]); } +void Ifc4x3_tc1::IfcWorkTime::initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate) { if (v1_Name) {set_attribute_value(0, (*v1_Name)); } if (v2_DataOrigin) {set_attribute_value(1, (enumeration_reference(&::Ifc4x3_tc1::IfcDataOriginEnum::Class(),(size_t)*v2_DataOrigin))); } if (v3_UserDefinedDataOrigin) {set_attribute_value(2, (*v3_UserDefinedDataOrigin)); }set_attribute_value(3, (v4_RecurrencePattern)); if (v5_StartDate) {set_attribute_value(4, (*v5_StartDate)); } if (v6_FinishDate) {set_attribute_value(5, (*v6_FinishDate)); } } // Function implementations for IfcZShapeProfileDef double Ifc4x3_tc1::IfcZShapeProfileDef::Depth() const { double v = get_attribute_value(3); return v; } @@ -16520,14 +16520,14 @@ std::optional< double > Ifc4x3_tc1::IfcZShapeProfileDef::EdgeRadius() const { if void Ifc4x3_tc1::IfcZShapeProfileDef::setEdgeRadius(const std::optional< double >& v) { if (v) {set_attribute_value(8, *v);} else {unset_attribute_value(8);} } -const IfcParse::entity& Ifc4x3_tc1::IfcZShapeProfileDef::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1306]); } -void Ifc4x3_tc1::IfcZShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (EnumerationReference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } +const ifcopenshell::entity& Ifc4x3_tc1::IfcZShapeProfileDef::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1306]); } +void Ifc4x3_tc1::IfcZShapeProfileDef::initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius) { set_attribute_value(0, (enumeration_reference(&::Ifc4x3_tc1::IfcProfileTypeEnum::Class(),(size_t)v1_ProfileType))); if (v2_ProfileName) {set_attribute_value(1, (*v2_ProfileName)); }set_attribute_value(2, (v3_Position));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)); } } // Function implementations for IfcZone std::optional< std::string > Ifc4x3_tc1::IfcZone::LongName() const { if(get_attribute_value(5).isNull()) { return std::nullopt; } std::string v = get_attribute_value(5); return v; } void Ifc4x3_tc1::IfcZone::setLongName(const std::optional< std::string >& v) { if (v) {set_attribute_value(5, *v);} else {unset_attribute_value(5);} } -const IfcParse::entity& Ifc4x3_tc1::IfcZone::Class() { return *((IfcParse::entity*)IFC4X3_TC1_types[1305]); } +const ifcopenshell::entity& Ifc4x3_tc1::IfcZone::Class() { return *((ifcopenshell::entity*)IFC4X3_TC1_types[1305]); } void Ifc4x3_tc1::IfcZone::initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName) { set_attribute_value(0, (v1_GlobalId));set_attribute_value(1, (v2_OwnerHistory)); if (v3_Name) {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)); } } diff --git a/src/ifcparse/schemas/Ifc4x3_tc1.h b/src/ifcparse/schemas/Ifc4x3_tc1.h index a971785523..141369fa6a 100644 --- a/src/ifcparse/schemas/Ifc4x3_tc1.h +++ b/src/ifcparse/schemas/Ifc4x3_tc1.h @@ -34,18 +34,18 @@ #include "../../ifcparse/ifc_parse_api.h" #include "../../ifcparse/express.h" -#include "../../ifcparse/IfcSchema.h" -#include "../../ifcparse/IfcException.h" -#include "../../ifcparse/Argument.h" +#include "../../ifcparse/schema.h" +#include "../../ifcparse/exception.h" +#include "../../ifcparse/argument.h" -namespace IfcParse { -class IfcFile; -class IfcSpfHeader; -} // namespace IfcParse +namespace ifcopenshell { +class file; +class spf_header; +} // namespace ifcopenshell struct Ifc4x3_tc1 { -IFC_PARSE_API static const IfcParse::schema_definition& get_schema(); +IFC_PARSE_API static const ifcopenshell::schema_definition& get_schema(); IFC_PARSE_API static void clear_schema(); @@ -70,7 +70,7 @@ public: IfcActorSelect() {} explicit IfcActorSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcOrganization as() const { return express::Base::as(); } @@ -109,7 +109,7 @@ public: IfcAppliedValueSelect() {} explicit IfcAppliedValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMeasureWithUnit as() const { return express::Base::as(); } @@ -805,7 +805,7 @@ public: IfcAxis2Placement() {} explicit IfcAxis2Placement(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAxis2Placement2D as() const { return express::Base::as(); } @@ -827,7 +827,7 @@ public: IfcBendingParameterSelect() {} explicit IfcBendingParameterSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLengthMeasure as() const { return express::Base::as(); } @@ -862,7 +862,7 @@ public: IfcBooleanOperand() {} explicit IfcBooleanOperand(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -907,7 +907,7 @@ public: IfcClassificationReferenceSelect() {} explicit IfcClassificationReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -939,7 +939,7 @@ public: IfcClassificationSelect() {} explicit IfcClassificationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClassification as() const { return express::Base::as(); } @@ -963,7 +963,7 @@ public: IfcColour() {} explicit IfcColour(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourSpecification as() const { return express::Base::as(); } @@ -985,7 +985,7 @@ public: IfcColourOrFactor() {} explicit IfcColourOrFactor(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColourRgb as() const { return express::Base::as(); } @@ -1007,7 +1007,7 @@ public: IfcCoordinateReferenceSystemSelect() {} explicit IfcCoordinateReferenceSystemSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCoordinateReferenceSystem as() const { return express::Base::as(); } @@ -1032,7 +1032,7 @@ public: IfcCsgSelect() {} explicit IfcCsgSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBooleanResult as() const { return express::Base::as(); } @@ -1056,7 +1056,7 @@ public: IfcCurveFontOrScaledCurveFontSelect() {} explicit IfcCurveFontOrScaledCurveFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFontAndScaling as() const { return express::Base::as(); } @@ -1088,7 +1088,7 @@ public: IfcCurveMeasureSelect() {} explicit IfcCurveMeasureSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcNonNegativeLengthMeasure as() const { return express::Base::as(); } @@ -1108,7 +1108,7 @@ public: IfcCurveOnSurface() {} explicit IfcCurveOnSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCompositeCurveOnSurface as() const { return express::Base::as(); } @@ -1141,7 +1141,7 @@ public: IfcCurveOrEdgeCurve() {} explicit IfcCurveOrEdgeCurve(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoundedCurve as() const { return express::Base::as(); } @@ -1165,7 +1165,7 @@ public: IfcCurveStyleFontSelect() {} explicit IfcCurveStyleFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurveStyleFont as() const { return express::Base::as(); } @@ -1191,7 +1191,7 @@ public: IfcDefinitionSelect() {} explicit IfcDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcObjectDefinition as() const { return express::Base::as(); } @@ -1284,7 +1284,7 @@ public: IfcDerivedMeasureValue() {} explicit IfcDerivedMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAbsorbedDoseMeasure as() const { return express::Base::as(); } @@ -1725,7 +1725,7 @@ public: IfcDocumentSelect() {} explicit IfcDocumentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDocumentInformation as() const { return express::Base::as(); } @@ -1750,7 +1750,7 @@ public: IfcFillStyleSelect() {} explicit IfcFillStyleSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcColour as() const { return express::Base::as(); } @@ -1798,7 +1798,7 @@ public: IfcGeometricSetSelect() {} explicit IfcGeometricSetSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCurve as() const { return express::Base::as(); } @@ -1831,7 +1831,7 @@ public: IfcGridPlacementDirectionSelect() {} explicit IfcGridPlacementDirectionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -1853,7 +1853,7 @@ public: IfcHatchLineDistanceSelect() {} explicit IfcHatchLineDistanceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPositiveLengthMeasure as() const { return express::Base::as(); } @@ -1873,7 +1873,7 @@ public: IfcInterferenceSelect() {} explicit IfcInterferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -1899,7 +1899,7 @@ public: IfcLayeredItem() {} explicit IfcLayeredItem(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcRepresentation as() const { return express::Base::as(); } @@ -1928,7 +1928,7 @@ public: IfcLibrarySelect() {} explicit IfcLibrarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcLibraryInformation as() const { return express::Base::as(); } @@ -1969,7 +1969,7 @@ public: IfcLightDistributionDataSourceSelect() {} explicit IfcLightDistributionDataSourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalReference as() const { return express::Base::as(); } @@ -2014,7 +2014,7 @@ public: IfcMaterialSelect() {} explicit IfcMaterialSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcMaterialDefinition as() const { return express::Base::as(); } @@ -2048,7 +2048,7 @@ public: IfcMeasureValue() {} explicit IfcMeasureValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAmountOfSubstanceMeasure as() const { return express::Base::as(); } @@ -2205,7 +2205,7 @@ public: IfcMetricValueSelect() {} explicit IfcMetricValueSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAppliedValue as() const { return express::Base::as(); } @@ -2917,7 +2917,7 @@ public: IfcModulusOfRotationalSubgradeReactionSelect() {} explicit IfcModulusOfRotationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2939,7 +2939,7 @@ public: IfcModulusOfSubgradeReactionSelect() {} explicit IfcModulusOfSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2961,7 +2961,7 @@ public: IfcModulusOfTranslationalSubgradeReactionSelect() {} explicit IfcModulusOfTranslationalSubgradeReactionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -2983,7 +2983,7 @@ public: IfcObjectReferenceSelect() {} explicit IfcObjectReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcAddress as() const { return express::Base::as(); } @@ -3051,7 +3051,7 @@ public: IfcPointOrVertexPoint() {} explicit IfcPointOrVertexPoint(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPoint as() const { return express::Base::as(); } @@ -3080,7 +3080,7 @@ public: IfcProcessSelect() {} explicit IfcProcessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProcess as() const { return express::Base::as(); } @@ -3100,7 +3100,7 @@ public: IfcProductRepresentationSelect() {} explicit IfcProductRepresentationSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProductDefinitionShape as() const { return express::Base::as(); } @@ -3128,7 +3128,7 @@ public: IfcProductSelect() {} explicit IfcProductSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcProduct as() const { return express::Base::as(); } @@ -3148,7 +3148,7 @@ public: IfcPropertySetDefinitionSelect() {} explicit IfcPropertySetDefinitionSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcPropertySetDefinition as() const { return express::Base::as(); } @@ -3170,7 +3170,7 @@ public: IfcResourceObjectSelect() {} explicit IfcResourceObjectSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcActorRole as() const { return express::Base::as(); } @@ -3288,7 +3288,7 @@ public: IfcResourceSelect() {} explicit IfcResourceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcResource as() const { return express::Base::as(); } @@ -3310,7 +3310,7 @@ public: IfcRotationalStiffnessSelect() {} explicit IfcRotationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3330,7 +3330,7 @@ public: IfcSegmentIndexSelect() {} explicit IfcSegmentIndexSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcArcIndex as() const { return express::Base::as(); } @@ -3360,7 +3360,7 @@ public: IfcShell() {} explicit IfcShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3398,7 +3398,7 @@ public: IfcSimpleValue() {} explicit IfcSimpleValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBinary as() const { return express::Base::as(); } @@ -3501,7 +3501,7 @@ public: IfcSizeSelect() {} explicit IfcSizeSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDescriptiveMeasure as() const { return express::Base::as(); } @@ -3551,7 +3551,7 @@ public: IfcSolidOrShell() {} explicit IfcSolidOrShell(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcClosedShell as() const { return express::Base::as(); } @@ -3582,7 +3582,7 @@ public: IfcSpaceBoundarySelect() {} explicit IfcSpaceBoundarySelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternalSpatialElement as() const { return express::Base::as(); } @@ -3602,7 +3602,7 @@ public: IfcSpatialReferenceSelect() {} explicit IfcSpatialReferenceSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcGroup as() const { return express::Base::as(); } @@ -3631,7 +3631,7 @@ public: IfcSpecularHighlightSelect() {} explicit IfcSpecularHighlightSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcSpecularExponent as() const { return express::Base::as(); } @@ -3659,7 +3659,7 @@ public: IfcStructuralActivityAssignmentSelect() {} explicit IfcStructuralActivityAssignmentSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcElement as() const { return express::Base::as(); } @@ -3687,7 +3687,7 @@ public: IfcSurfaceOrFaceSurface() {} explicit IfcSurfaceOrFaceSurface(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcFaceBasedSurfaceModel as() const { return express::Base::as(); } @@ -3721,7 +3721,7 @@ public: IfcSurfaceStyleElementSelect() {} explicit IfcSurfaceStyleElementSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedSurfaceStyle as() const { return express::Base::as(); } @@ -3765,7 +3765,7 @@ public: IfcTextFontSelect() {} explicit IfcTextFontSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcExternallyDefinedTextFont as() const { return express::Base::as(); } @@ -3786,7 +3786,7 @@ public: IfcTimeOrRatioSelect() {} explicit IfcTimeOrRatioSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDuration as() const { return express::Base::as(); } @@ -3808,7 +3808,7 @@ public: IfcTranslationalStiffnessSelect() {} explicit IfcTranslationalStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -3832,7 +3832,7 @@ public: IfcTrimmingSelect() {} explicit IfcTrimmingSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcCartesianPoint as() const { return express::Base::as(); } @@ -3864,7 +3864,7 @@ public: IfcUnit() {} explicit IfcUnit(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedUnit as() const { return express::Base::as(); } @@ -3899,7 +3899,7 @@ public: IfcValue() {} explicit IfcValue(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDerivedMeasureValue as() const { return express::Base::as(); } @@ -4580,7 +4580,7 @@ public: IfcVectorOrDirection() {} explicit IfcVectorOrDirection(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcDirection as() const { return express::Base::as(); } @@ -4602,7 +4602,7 @@ public: IfcWarpingStiffnessSelect() {} explicit IfcWarpingStiffnessSelect(const express::Base& c) : express::Select(c) {} - static const IfcParse::select_type& Class(); + static const ifcopenshell::select_type& Class(); // let's just use the as<>() from Base instead directly... // template, int> = 0> // IfcBoolean as() const { return express::Base::as(); } @@ -4630,13 +4630,13 @@ public: class IFC_PARSE_API IfcActionRequestTypeEnum : public express::DeclaredType { public: IfcActionRequestTypeEnum() {} - explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionRequestTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionRequestType_EMAIL, IfcActionRequestType_FAX, IfcActionRequestType_PHONE, IfcActionRequestType_POST, IfcActionRequestType_VERBAL, IfcActionRequestType_USERDEFINED, IfcActionRequestType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4649,13 +4649,13 @@ public: class IFC_PARSE_API IfcActionSourceTypeEnum : public express::DeclaredType { public: IfcActionSourceTypeEnum() {} - explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionSourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionSourceType_BRAKES, IfcActionSourceType_BUOYANCY, IfcActionSourceType_COMPLETION_G1, IfcActionSourceType_CREEP, IfcActionSourceType_CURRENT, IfcActionSourceType_DEAD_LOAD_G, IfcActionSourceType_EARTHQUAKE_E, IfcActionSourceType_ERECTION, IfcActionSourceType_FIRE, IfcActionSourceType_ICE, IfcActionSourceType_IMPACT, IfcActionSourceType_IMPULSE, IfcActionSourceType_LACK_OF_FIT, IfcActionSourceType_LIVE_LOAD_Q, IfcActionSourceType_PRESTRESSING_P, IfcActionSourceType_PROPPING, IfcActionSourceType_RAIN, IfcActionSourceType_SETTLEMENT_U, IfcActionSourceType_SHRINKAGE, IfcActionSourceType_SNOW_S, IfcActionSourceType_SYSTEM_IMPERFECTION, IfcActionSourceType_TEMPERATURE_T, IfcActionSourceType_TRANSPORT, IfcActionSourceType_WAVE, IfcActionSourceType_WIND_W, IfcActionSourceType_USERDEFINED, IfcActionSourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4670,13 +4670,13 @@ public: class IFC_PARSE_API IfcActionTypeEnum : public express::DeclaredType { public: IfcActionTypeEnum() {} - explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActionType_EXTRAORDINARY_A, IfcActionType_PERMANENT_G, IfcActionType_VARIABLE_Q, IfcActionType_USERDEFINED, IfcActionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4700,13 +4700,13 @@ public: class IFC_PARSE_API IfcActuatorTypeEnum : public express::DeclaredType { public: IfcActuatorTypeEnum() {} - explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcActuatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcActuatorType_ELECTRICACTUATOR, IfcActuatorType_HANDOPERATEDACTUATOR, IfcActuatorType_HYDRAULICACTUATOR, IfcActuatorType_PNEUMATICACTUATOR, IfcActuatorType_THERMOSTATICACTUATOR, IfcActuatorType_USERDEFINED, IfcActuatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4725,13 +4725,13 @@ public: class IFC_PARSE_API IfcAddressTypeEnum : public express::DeclaredType { public: IfcAddressTypeEnum() {} - explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAddressTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAddressType_DISTRIBUTIONPOINT, IfcAddressType_HOME, IfcAddressType_OFFICE, IfcAddressType_SITE, IfcAddressType_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4750,13 +4750,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxTypeEnum : public express::DeclaredType { public: IfcAirTerminalBoxTypeEnum() {} - explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalBoxType_CONSTANTFLOW, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREDEPENDANT, IfcAirTerminalBoxType_VARIABLEFLOWPRESSUREINDEPENDANT, IfcAirTerminalBoxType_USERDEFINED, IfcAirTerminalBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4777,13 +4777,13 @@ public: class IFC_PARSE_API IfcAirTerminalTypeEnum : public express::DeclaredType { public: IfcAirTerminalTypeEnum() {} - explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirTerminalType_DIFFUSER, IfcAirTerminalType_GRILLE, IfcAirTerminalType_LOUVRE, IfcAirTerminalType_REGISTER, IfcAirTerminalType_USERDEFINED, IfcAirTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4807,13 +4807,13 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryTypeEnum : public express::DeclaredType { public: IfcAirToAirHeatRecoveryTypeEnum() {} - explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAirToAirHeatRecoveryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAirToAirHeatRecoveryType_FIXEDPLATECOUNTERFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATECROSSFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_FIXEDPLATEPARALLELFLOWEXCHANGER, IfcAirToAirHeatRecoveryType_HEATPIPE, IfcAirToAirHeatRecoveryType_ROTARYWHEEL, IfcAirToAirHeatRecoveryType_RUNAROUNDCOILLOOP, IfcAirToAirHeatRecoveryType_THERMOSIPHONCOILTYPEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_THERMOSIPHONSEALEDTUBEHEATEXCHANGERS, IfcAirToAirHeatRecoveryType_TWINTOWERENTHALPYRECOVERYLOOPS, IfcAirToAirHeatRecoveryType_USERDEFINED, IfcAirToAirHeatRecoveryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4835,13 +4835,13 @@ public: class IFC_PARSE_API IfcAlarmTypeEnum : public express::DeclaredType { public: IfcAlarmTypeEnum() {} - explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlarmTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlarmType_BELL, IfcAlarmType_BREAKGLASSBUTTON, IfcAlarmType_LIGHT, IfcAlarmType_MANUALPULLBOX, IfcAlarmType_RAILWAYCROCODILE, IfcAlarmType_RAILWAYDETONATOR, IfcAlarmType_SIREN, IfcAlarmType_WHISTLE, IfcAlarmType_USERDEFINED, IfcAlarmType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4850,13 +4850,13 @@ public: class IFC_PARSE_API IfcAlignmentCantSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentCantSegmentTypeEnum() {} - explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentCantSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentCantSegmentType_BLOSSCURVE, IfcAlignmentCantSegmentType_CONSTANTCANT, IfcAlignmentCantSegmentType_COSINECURVE, IfcAlignmentCantSegmentType_HELMERTCURVE, IfcAlignmentCantSegmentType_LINEARTRANSITION, IfcAlignmentCantSegmentType_SINECURVE, IfcAlignmentCantSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4865,13 +4865,13 @@ public: class IFC_PARSE_API IfcAlignmentHorizontalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentHorizontalSegmentTypeEnum() {} - explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentHorizontalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentHorizontalSegmentType_BLOSSCURVE, IfcAlignmentHorizontalSegmentType_CIRCULARARC, IfcAlignmentHorizontalSegmentType_CLOTHOID, IfcAlignmentHorizontalSegmentType_COSINECURVE, IfcAlignmentHorizontalSegmentType_CUBIC, IfcAlignmentHorizontalSegmentType_HELMERTCURVE, IfcAlignmentHorizontalSegmentType_LINE, IfcAlignmentHorizontalSegmentType_SINECURVE, IfcAlignmentHorizontalSegmentType_VIENNESEBEND} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4880,13 +4880,13 @@ public: class IFC_PARSE_API IfcAlignmentTypeEnum : public express::DeclaredType { public: IfcAlignmentTypeEnum() {} - explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentType_USERDEFINED, IfcAlignmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4895,13 +4895,13 @@ public: class IFC_PARSE_API IfcAlignmentVerticalSegmentTypeEnum : public express::DeclaredType { public: IfcAlignmentVerticalSegmentTypeEnum() {} - explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAlignmentVerticalSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAlignmentVerticalSegmentType_CIRCULARARC, IfcAlignmentVerticalSegmentType_CLOTHOID, IfcAlignmentVerticalSegmentType_CONSTANTGRADIENT, IfcAlignmentVerticalSegmentType_PARABOLICARC} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4915,13 +4915,13 @@ public: class IFC_PARSE_API IfcAnalysisModelTypeEnum : public express::DeclaredType { public: IfcAnalysisModelTypeEnum() {} - explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisModelTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisModelType_IN_PLANE_LOADING_2D, IfcAnalysisModelType_LOADING_3D, IfcAnalysisModelType_OUT_PLANE_LOADING_2D, IfcAnalysisModelType_USERDEFINED, IfcAnalysisModelType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4936,13 +4936,13 @@ public: class IFC_PARSE_API IfcAnalysisTheoryTypeEnum : public express::DeclaredType { public: IfcAnalysisTheoryTypeEnum() {} - explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnalysisTheoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnalysisTheoryType_FIRST_ORDER_THEORY, IfcAnalysisTheoryType_FULL_NONLINEAR_THEORY, IfcAnalysisTheoryType_SECOND_ORDER_THEORY, IfcAnalysisTheoryType_THIRD_ORDER_THEORY, IfcAnalysisTheoryType_USERDEFINED, IfcAnalysisTheoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4951,13 +4951,13 @@ public: class IFC_PARSE_API IfcAnnotationTypeEnum : public express::DeclaredType { public: IfcAnnotationTypeEnum() {} - explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAnnotationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAnnotationType_ASBUILTAREA, IfcAnnotationType_ASBUILTLINE, IfcAnnotationType_ASBUILTPOINT, IfcAnnotationType_ASSUMEDAREA, IfcAnnotationType_ASSUMEDLINE, IfcAnnotationType_ASSUMEDPOINT, IfcAnnotationType_NON_PHYSICAL_SIGNAL, IfcAnnotationType_SUPERELEVATIONEVENT, IfcAnnotationType_WIDTHEVENT, IfcAnnotationType_USERDEFINED, IfcAnnotationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -4977,13 +4977,13 @@ public: class IFC_PARSE_API IfcArithmeticOperatorEnum : public express::DeclaredType { public: IfcArithmeticOperatorEnum() {} - explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArithmeticOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcArithmeticOperator_ADD, IfcArithmeticOperator_DIVIDE, IfcArithmeticOperator_MULTIPLY, IfcArithmeticOperator_SUBTRACT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5003,13 +5003,13 @@ public: class IFC_PARSE_API IfcAssemblyPlaceEnum : public express::DeclaredType { public: IfcAssemblyPlaceEnum() {} - explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAssemblyPlaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAssemblyPlace_FACTORY, IfcAssemblyPlace_SITE, IfcAssemblyPlace_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5031,13 +5031,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceTypeEnum : public express::DeclaredType { public: IfcAudioVisualApplianceTypeEnum() {} - explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAudioVisualApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcAudioVisualApplianceType_AMPLIFIER, IfcAudioVisualApplianceType_CAMERA, IfcAudioVisualApplianceType_COMMUNICATIONTERMINAL, IfcAudioVisualApplianceType_DISPLAY, IfcAudioVisualApplianceType_MICROPHONE, IfcAudioVisualApplianceType_PLAYER, IfcAudioVisualApplianceType_PROJECTOR, IfcAudioVisualApplianceType_RECEIVER, IfcAudioVisualApplianceType_RECORDINGEQUIPMENT, IfcAudioVisualApplianceType_SPEAKER, IfcAudioVisualApplianceType_SWITCHER, IfcAudioVisualApplianceType_TELEPHONE, IfcAudioVisualApplianceType_TUNER, IfcAudioVisualApplianceType_USERDEFINED, IfcAudioVisualApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5059,13 +5059,13 @@ public: class IFC_PARSE_API IfcBSplineCurveForm : public express::DeclaredType { public: IfcBSplineCurveForm() {} - explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineCurveForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineCurveForm_CIRCULAR_ARC, IfcBSplineCurveForm_ELLIPTIC_ARC, IfcBSplineCurveForm_HYPERBOLIC_ARC, IfcBSplineCurveForm_PARABOLIC_ARC, IfcBSplineCurveForm_POLYLINE_FORM, IfcBSplineCurveForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5074,13 +5074,13 @@ public: class IFC_PARSE_API IfcBSplineSurfaceForm : public express::DeclaredType { public: IfcBSplineSurfaceForm() {} - explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBSplineSurfaceForm (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBSplineSurfaceForm_CONICAL_SURF, IfcBSplineSurfaceForm_CYLINDRICAL_SURF, IfcBSplineSurfaceForm_GENERALISED_CONE, IfcBSplineSurfaceForm_PLANE_SURF, IfcBSplineSurfaceForm_QUADRIC_SURF, IfcBSplineSurfaceForm_RULED_SURF, IfcBSplineSurfaceForm_SPHERICAL_SURF, IfcBSplineSurfaceForm_SURF_OF_LINEAR_EXTRUSION, IfcBSplineSurfaceForm_SURF_OF_REVOLUTION, IfcBSplineSurfaceForm_TOROIDAL_SURF, IfcBSplineSurfaceForm_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5127,13 +5127,13 @@ public: class IFC_PARSE_API IfcBeamTypeEnum : public express::DeclaredType { public: IfcBeamTypeEnum() {} - explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBeamType_BEAM, IfcBeamType_CORNICE, IfcBeamType_DIAPHRAGM, IfcBeamType_EDGEBEAM, IfcBeamType_GIRDER_SEGMENT, IfcBeamType_HATSTONE, IfcBeamType_HOLLOWCORE, IfcBeamType_JOIST, IfcBeamType_LINTEL, IfcBeamType_PIERCAP, IfcBeamType_SPANDREL, IfcBeamType_T_BEAM, IfcBeamType_USERDEFINED, IfcBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5142,13 +5142,13 @@ public: class IFC_PARSE_API IfcBearingTypeEnum : public express::DeclaredType { public: IfcBearingTypeEnum() {} - explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBearingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBearingType_CYLINDRICAL, IfcBearingType_DISK, IfcBearingType_ELASTOMERIC, IfcBearingType_GUIDE, IfcBearingType_POT, IfcBearingType_ROCKER, IfcBearingType_ROLLER, IfcBearingType_SPHERICAL, IfcBearingType_USERDEFINED, IfcBearingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5196,13 +5196,13 @@ public: class IFC_PARSE_API IfcBenchmarkEnum : public express::DeclaredType { public: IfcBenchmarkEnum() {} - explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBenchmarkEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBenchmark_EQUALTO, IfcBenchmark_GREATERTHAN, IfcBenchmark_GREATERTHANOREQUALTO, IfcBenchmark_INCLUDEDIN, IfcBenchmark_INCLUDES, IfcBenchmark_LESSTHAN, IfcBenchmark_LESSTHANOREQUALTO, IfcBenchmark_NOTEQUALTO, IfcBenchmark_NOTINCLUDEDIN, IfcBenchmark_NOTINCLUDES} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5219,13 +5219,13 @@ public: class IFC_PARSE_API IfcBoilerTypeEnum : public express::DeclaredType { public: IfcBoilerTypeEnum() {} - explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoilerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBoilerType_STEAM, IfcBoilerType_WATER, IfcBoilerType_USERDEFINED, IfcBoilerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5242,13 +5242,13 @@ public: class IFC_PARSE_API IfcBooleanOperator : public express::DeclaredType { public: IfcBooleanOperator() {} - explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBooleanOperator (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBooleanOperator_DIFFERENCE, IfcBooleanOperator_INTERSECTION, IfcBooleanOperator_UNION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5257,13 +5257,13 @@ public: class IFC_PARSE_API IfcBridgePartTypeEnum : public express::DeclaredType { public: IfcBridgePartTypeEnum() {} - explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgePartType_ABUTMENT, IfcBridgePartType_DECK, IfcBridgePartType_DECK_SEGMENT, IfcBridgePartType_FOUNDATION, IfcBridgePartType_PIER, IfcBridgePartType_PIER_SEGMENT, IfcBridgePartType_PYLON, IfcBridgePartType_SUBSTRUCTURE, IfcBridgePartType_SUPERSTRUCTURE, IfcBridgePartType_SURFACESTRUCTURE, IfcBridgePartType_USERDEFINED, IfcBridgePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5272,13 +5272,13 @@ public: class IFC_PARSE_API IfcBridgeTypeEnum : public express::DeclaredType { public: IfcBridgeTypeEnum() {} - explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBridgeTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBridgeType_ARCHED, IfcBridgeType_CABLE_STAYED, IfcBridgeType_CANTILEVER, IfcBridgeType_CULVERT, IfcBridgeType_FRAMEWORK, IfcBridgeType_GIRDER, IfcBridgeType_SUSPENSION, IfcBridgeType_TRUSS, IfcBridgeType_USERDEFINED, IfcBridgeType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5294,13 +5294,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartTypeEnum : public express::DeclaredType { public: IfcBuildingElementPartTypeEnum() {} - explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementPartType_APRON, IfcBuildingElementPartType_ARMOURUNIT, IfcBuildingElementPartType_INSULATION, IfcBuildingElementPartType_PRECASTPANEL, IfcBuildingElementPartType_SAFETYCAGE, IfcBuildingElementPartType_USERDEFINED, IfcBuildingElementPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5319,13 +5319,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyTypeEnum : public express::DeclaredType { public: IfcBuildingElementProxyTypeEnum() {} - explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingElementProxyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingElementProxyType_COMPLEX, IfcBuildingElementProxyType_ELEMENT, IfcBuildingElementProxyType_PARTIAL, IfcBuildingElementProxyType_PROVISIONFORSPACE, IfcBuildingElementProxyType_PROVISIONFORVOID, IfcBuildingElementProxyType_USERDEFINED, IfcBuildingElementProxyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5347,13 +5347,13 @@ public: class IFC_PARSE_API IfcBuildingSystemTypeEnum : public express::DeclaredType { public: IfcBuildingSystemTypeEnum() {} - explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuildingSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuildingSystemType_FENESTRATION, IfcBuildingSystemType_FOUNDATION, IfcBuildingSystemType_LOADBEARING, IfcBuildingSystemType_OUTERSHELL, IfcBuildingSystemType_SHADING, IfcBuildingSystemType_TRANSPORT, IfcBuildingSystemType_USERDEFINED, IfcBuildingSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5362,13 +5362,13 @@ public: class IFC_PARSE_API IfcBuiltSystemTypeEnum : public express::DeclaredType { public: IfcBuiltSystemTypeEnum() {} - explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBuiltSystemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBuiltSystemType_EROSIONPREVENTION, IfcBuiltSystemType_FENESTRATION, IfcBuiltSystemType_FOUNDATION, IfcBuiltSystemType_LOADBEARING, IfcBuiltSystemType_MOORING, IfcBuiltSystemType_OUTERSHELL, IfcBuiltSystemType_PRESTRESSING, IfcBuiltSystemType_RAILWAYLINE, IfcBuiltSystemType_RAILWAYTRACK, IfcBuiltSystemType_REINFORCING, IfcBuiltSystemType_SHADING, IfcBuiltSystemType_TRACKCIRCUIT, IfcBuiltSystemType_TRANSPORT, IfcBuiltSystemType_USERDEFINED, IfcBuiltSystemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5383,13 +5383,13 @@ public: class IFC_PARSE_API IfcBurnerTypeEnum : public express::DeclaredType { public: IfcBurnerTypeEnum() {} - explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBurnerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcBurnerType_USERDEFINED, IfcBurnerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5407,13 +5407,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingTypeEnum : public express::DeclaredType { public: IfcCableCarrierFittingTypeEnum() {} - explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierFittingType_BEND, IfcCableCarrierFittingType_CONNECTOR, IfcCableCarrierFittingType_CROSS, IfcCableCarrierFittingType_JUNCTION, IfcCableCarrierFittingType_REDUCER, IfcCableCarrierFittingType_TEE, IfcCableCarrierFittingType_TRANSITION, IfcCableCarrierFittingType_USERDEFINED, IfcCableCarrierFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5431,13 +5431,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentTypeEnum : public express::DeclaredType { public: IfcCableCarrierSegmentTypeEnum() {} - explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableCarrierSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableCarrierSegmentType_CABLEBRACKET, IfcCableCarrierSegmentType_CABLELADDERSEGMENT, IfcCableCarrierSegmentType_CABLETRAYSEGMENT, IfcCableCarrierSegmentType_CABLETRUNKINGSEGMENT, IfcCableCarrierSegmentType_CATENARYWIRE, IfcCableCarrierSegmentType_CONDUITSEGMENT, IfcCableCarrierSegmentType_DROPPER, IfcCableCarrierSegmentType_USERDEFINED, IfcCableCarrierSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5456,13 +5456,13 @@ public: class IFC_PARSE_API IfcCableFittingTypeEnum : public express::DeclaredType { public: IfcCableFittingTypeEnum() {} - explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableFittingType_CONNECTOR, IfcCableFittingType_ENTRY, IfcCableFittingType_EXIT, IfcCableFittingType_FANOUT, IfcCableFittingType_JUNCTION, IfcCableFittingType_TRANSITION, IfcCableFittingType_USERDEFINED, IfcCableFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5482,13 +5482,13 @@ public: class IFC_PARSE_API IfcCableSegmentTypeEnum : public express::DeclaredType { public: IfcCableSegmentTypeEnum() {} - explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCableSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCableSegmentType_BUSBARSEGMENT, IfcCableSegmentType_CABLESEGMENT, IfcCableSegmentType_CONDUCTORSEGMENT, IfcCableSegmentType_CONTACTWIRESEGMENT, IfcCableSegmentType_CORESEGMENT, IfcCableSegmentType_FIBERSEGMENT, IfcCableSegmentType_FIBERTUBE, IfcCableSegmentType_OPTICALCABLESEGMENT, IfcCableSegmentType_STITCHWIRE, IfcCableSegmentType_WIREPAIRSEGMENT, IfcCableSegmentType_USERDEFINED, IfcCableSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5497,13 +5497,13 @@ public: class IFC_PARSE_API IfcCaissonFoundationTypeEnum : public express::DeclaredType { public: IfcCaissonFoundationTypeEnum() {} - explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCaissonFoundationTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCaissonFoundationType_CAISSON, IfcCaissonFoundationType_WELL, IfcCaissonFoundationType_USERDEFINED, IfcCaissonFoundationType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5522,13 +5522,13 @@ public: class IFC_PARSE_API IfcChangeActionEnum : public express::DeclaredType { public: IfcChangeActionEnum() {} - explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChangeActionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChangeAction_ADDED, IfcChangeAction_DELETED, IfcChangeAction_MODIFIED, IfcChangeAction_NOCHANGE, IfcChangeAction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5546,13 +5546,13 @@ public: class IFC_PARSE_API IfcChillerTypeEnum : public express::DeclaredType { public: IfcChillerTypeEnum() {} - explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChillerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChillerType_AIRCOOLED, IfcChillerType_HEATRECOVERY, IfcChillerType_WATERCOOLED, IfcChillerType_USERDEFINED, IfcChillerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5570,13 +5570,13 @@ public: class IFC_PARSE_API IfcChimneyTypeEnum : public express::DeclaredType { public: IfcChimneyTypeEnum() {} - explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcChimneyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcChimneyType_USERDEFINED, IfcChimneyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5606,13 +5606,13 @@ public: class IFC_PARSE_API IfcCoilTypeEnum : public express::DeclaredType { public: IfcCoilTypeEnum() {} - explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoilType_DXCOOLINGCOIL, IfcCoilType_ELECTRICHEATINGCOIL, IfcCoilType_GASHEATINGCOIL, IfcCoilType_HYDRONICCOIL, IfcCoilType_STEAMHEATINGCOIL, IfcCoilType_WATERCOOLINGCOIL, IfcCoilType_WATERHEATINGCOIL, IfcCoilType_USERDEFINED, IfcCoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5634,13 +5634,13 @@ public: class IFC_PARSE_API IfcColumnTypeEnum : public express::DeclaredType { public: IfcColumnTypeEnum() {} - explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcColumnTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcColumnType_COLUMN, IfcColumnType_PIERSTEM, IfcColumnType_PIERSTEM_SEGMENT, IfcColumnType_PILASTER, IfcColumnType_STANDCOLUMN, IfcColumnType_USERDEFINED, IfcColumnType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5664,13 +5664,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcCommunicationsApplianceTypeEnum() {} - explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCommunicationsApplianceType_ANTENNA, IfcCommunicationsApplianceType_AUTOMATON, IfcCommunicationsApplianceType_COMPUTER, IfcCommunicationsApplianceType_FAX, IfcCommunicationsApplianceType_GATEWAY, IfcCommunicationsApplianceType_INTELLIGENTPERIPHERAL, IfcCommunicationsApplianceType_IPNETWORKEQUIPMENT, IfcCommunicationsApplianceType_LINESIDEELECTRONICUNIT, IfcCommunicationsApplianceType_MODEM, IfcCommunicationsApplianceType_NETWORKAPPLIANCE, IfcCommunicationsApplianceType_NETWORKBRIDGE, IfcCommunicationsApplianceType_NETWORKHUB, IfcCommunicationsApplianceType_OPTICALLINETERMINAL, IfcCommunicationsApplianceType_OPTICALNETWORKUNIT, IfcCommunicationsApplianceType_PRINTER, IfcCommunicationsApplianceType_RADIOBLOCKCENTER, IfcCommunicationsApplianceType_REPEATER, IfcCommunicationsApplianceType_ROUTER, IfcCommunicationsApplianceType_SCANNER, IfcCommunicationsApplianceType_TELECOMMAND, IfcCommunicationsApplianceType_TELEPHONYEXCHANGE, IfcCommunicationsApplianceType_TRANSITIONCOMPONENT, IfcCommunicationsApplianceType_TRANSPONDER, IfcCommunicationsApplianceType_TRANSPORTEQUIPMENT, IfcCommunicationsApplianceType_USERDEFINED, IfcCommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5686,13 +5686,13 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplateTypeEnum : public express::DeclaredType { public: IfcComplexPropertyTemplateTypeEnum() {} - explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexPropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcComplexPropertyTemplateType_P_COMPLEX, IfcComplexPropertyTemplateType_Q_COMPLEX} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5722,13 +5722,13 @@ public: class IFC_PARSE_API IfcCompressorTypeEnum : public express::DeclaredType { public: IfcCompressorTypeEnum() {} - explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompressorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCompressorType_BOOSTER, IfcCompressorType_DYNAMIC, IfcCompressorType_HERMETIC, IfcCompressorType_OPENTYPE, IfcCompressorType_RECIPROCATING, IfcCompressorType_ROLLINGPISTON, IfcCompressorType_ROTARY, IfcCompressorType_ROTARYVANE, IfcCompressorType_SCROLL, IfcCompressorType_SEMIHERMETIC, IfcCompressorType_SINGLESCREW, IfcCompressorType_SINGLESTAGE, IfcCompressorType_TROCHOIDAL, IfcCompressorType_TWINSCREW, IfcCompressorType_WELDEDSHELLHERMETIC, IfcCompressorType_USERDEFINED, IfcCompressorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5749,13 +5749,13 @@ public: class IFC_PARSE_API IfcCondenserTypeEnum : public express::DeclaredType { public: IfcCondenserTypeEnum() {} - explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCondenserTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCondenserType_AIRCOOLED, IfcCondenserType_EVAPORATIVECOOLED, IfcCondenserType_WATERCOOLED, IfcCondenserType_WATERCOOLEDBRAZEDPLATE, IfcCondenserType_WATERCOOLEDSHELLCOIL, IfcCondenserType_WATERCOOLEDSHELLTUBE, IfcCondenserType_WATERCOOLEDTUBEINTUBE, IfcCondenserType_USERDEFINED, IfcCondenserType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5783,13 +5783,13 @@ public: class IFC_PARSE_API IfcConnectionTypeEnum : public express::DeclaredType { public: IfcConnectionTypeEnum() {} - explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConnectionType_ATEND, IfcConnectionType_ATPATH, IfcConnectionType_ATSTART, IfcConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5814,13 +5814,13 @@ public: class IFC_PARSE_API IfcConstraintEnum : public express::DeclaredType { public: IfcConstraintEnum() {} - explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstraintEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstraint_ADVISORY, IfcConstraint_HARD, IfcConstraint_SOFT, IfcConstraint_USERDEFINED, IfcConstraint_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5842,13 +5842,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceTypeEnum : public express::DeclaredType { public: IfcConstructionEquipmentResourceTypeEnum() {} - explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionEquipmentResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionEquipmentResourceType_DEMOLISHING, IfcConstructionEquipmentResourceType_EARTHMOVING, IfcConstructionEquipmentResourceType_ERECTING, IfcConstructionEquipmentResourceType_HEATING, IfcConstructionEquipmentResourceType_LIGHTING, IfcConstructionEquipmentResourceType_PAVING, IfcConstructionEquipmentResourceType_PUMPING, IfcConstructionEquipmentResourceType_TRANSPORTING, IfcConstructionEquipmentResourceType_USERDEFINED, IfcConstructionEquipmentResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5871,13 +5871,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceTypeEnum : public express::DeclaredType { public: IfcConstructionMaterialResourceTypeEnum() {} - explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionMaterialResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionMaterialResourceType_AGGREGATES, IfcConstructionMaterialResourceType_CONCRETE, IfcConstructionMaterialResourceType_DRYWALL, IfcConstructionMaterialResourceType_FUEL, IfcConstructionMaterialResourceType_GYPSUM, IfcConstructionMaterialResourceType_MASONRY, IfcConstructionMaterialResourceType_METAL, IfcConstructionMaterialResourceType_PLASTIC, IfcConstructionMaterialResourceType_WOOD, IfcConstructionMaterialResourceType_USERDEFINED, IfcConstructionMaterialResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5893,13 +5893,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceTypeEnum : public express::DeclaredType { public: IfcConstructionProductResourceTypeEnum() {} - explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConstructionProductResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConstructionProductResourceType_ASSEMBLY, IfcConstructionProductResourceType_FORMWORK, IfcConstructionProductResourceType_USERDEFINED, IfcConstructionProductResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5921,13 +5921,13 @@ public: class IFC_PARSE_API IfcControllerTypeEnum : public express::DeclaredType { public: IfcControllerTypeEnum() {} - explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcControllerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcControllerType_FLOATING, IfcControllerType_MULTIPOSITION, IfcControllerType_PROGRAMMABLE, IfcControllerType_PROPORTIONAL, IfcControllerType_TWOPOSITION, IfcControllerType_USERDEFINED, IfcControllerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5936,13 +5936,13 @@ public: class IFC_PARSE_API IfcConveyorSegmentTypeEnum : public express::DeclaredType { public: IfcConveyorSegmentTypeEnum() {} - explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcConveyorSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcConveyorSegmentType_BELTCONVEYOR, IfcConveyorSegmentType_BUCKETCONVEYOR, IfcConveyorSegmentType_CHUTECONVEYOR, IfcConveyorSegmentType_SCREWCONVEYOR, IfcConveyorSegmentType_USERDEFINED, IfcConveyorSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5969,13 +5969,13 @@ public: class IFC_PARSE_API IfcCooledBeamTypeEnum : public express::DeclaredType { public: IfcCooledBeamTypeEnum() {} - explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCooledBeamTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCooledBeamType_ACTIVE, IfcCooledBeamType_PASSIVE, IfcCooledBeamType_USERDEFINED, IfcCooledBeamType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -5995,13 +5995,13 @@ public: class IFC_PARSE_API IfcCoolingTowerTypeEnum : public express::DeclaredType { public: IfcCoolingTowerTypeEnum() {} - explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoolingTowerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoolingTowerType_MECHANICALFORCEDDRAFT, IfcCoolingTowerType_MECHANICALINDUCEDDRAFT, IfcCoolingTowerType_NATURALDRAFT, IfcCoolingTowerType_USERDEFINED, IfcCoolingTowerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6015,13 +6015,13 @@ public: class IFC_PARSE_API IfcCostItemTypeEnum : public express::DeclaredType { public: IfcCostItemTypeEnum() {} - explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostItemTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostItemType_USERDEFINED, IfcCostItemType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6042,13 +6042,13 @@ public: class IFC_PARSE_API IfcCostScheduleTypeEnum : public express::DeclaredType { public: IfcCostScheduleTypeEnum() {} - explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCostScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCostScheduleType_BUDGET, IfcCostScheduleType_COSTPLAN, IfcCostScheduleType_ESTIMATE, IfcCostScheduleType_PRICEDBILLOFQUANTITIES, IfcCostScheduleType_SCHEDULEOFRATES, IfcCostScheduleType_TENDER, IfcCostScheduleType_UNPRICEDBILLOFQUANTITIES, IfcCostScheduleType_USERDEFINED, IfcCostScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6057,13 +6057,13 @@ public: class IFC_PARSE_API IfcCourseTypeEnum : public express::DeclaredType { public: IfcCourseTypeEnum() {} - explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCourseTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCourseType_ARMOUR, IfcCourseType_BALLASTBED, IfcCourseType_CORE, IfcCourseType_FILTER, IfcCourseType_PAVEMENT, IfcCourseType_PROTECTION, IfcCourseType_USERDEFINED, IfcCourseType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6114,13 +6114,13 @@ public: class IFC_PARSE_API IfcCoveringTypeEnum : public express::DeclaredType { public: IfcCoveringTypeEnum() {} - explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCoveringTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCoveringType_CEILING, IfcCoveringType_CLADDING, IfcCoveringType_COPING, IfcCoveringType_FLOORING, IfcCoveringType_INSULATION, IfcCoveringType_MEMBRANE, IfcCoveringType_MOLDING, IfcCoveringType_ROOFING, IfcCoveringType_SKIRTINGBOARD, IfcCoveringType_SLEEVING, IfcCoveringType_TOPPING, IfcCoveringType_WRAPPING, IfcCoveringType_USERDEFINED, IfcCoveringType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6136,13 +6136,13 @@ public: class IFC_PARSE_API IfcCrewResourceTypeEnum : public express::DeclaredType { public: IfcCrewResourceTypeEnum() {} - explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCrewResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCrewResourceType_OFFICE, IfcCrewResourceType_SITE, IfcCrewResourceType_USERDEFINED, IfcCrewResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6159,13 +6159,13 @@ public: class IFC_PARSE_API IfcCurtainWallTypeEnum : public express::DeclaredType { public: IfcCurtainWallTypeEnum() {} - explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurtainWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurtainWallType_USERDEFINED, IfcCurtainWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6190,13 +6190,13 @@ public: class IFC_PARSE_API IfcCurveInterpolationEnum : public express::DeclaredType { public: IfcCurveInterpolationEnum() {} - explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurveInterpolationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcCurveInterpolation_LINEAR, IfcCurveInterpolation_LOG_LINEAR, IfcCurveInterpolation_LOG_LOG, IfcCurveInterpolation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6221,13 +6221,13 @@ public: class IFC_PARSE_API IfcDamperTypeEnum : public express::DeclaredType { public: IfcDamperTypeEnum() {} - explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDamperType_BACKDRAFTDAMPER, IfcDamperType_BALANCINGDAMPER, IfcDamperType_BLASTDAMPER, IfcDamperType_CONTROLDAMPER, IfcDamperType_FIREDAMPER, IfcDamperType_FIRESMOKEDAMPER, IfcDamperType_FUMEHOODEXHAUST, IfcDamperType_GRAVITYDAMPER, IfcDamperType_GRAVITYRELIEFDAMPER, IfcDamperType_RELIEFDAMPER, IfcDamperType_SMOKEDAMPER, IfcDamperType_USERDEFINED, IfcDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6243,13 +6243,13 @@ public: class IFC_PARSE_API IfcDataOriginEnum : public express::DeclaredType { public: IfcDataOriginEnum() {} - explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDataOriginEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDataOrigin_MEASURED, IfcDataOrigin_PREDICTED, IfcDataOrigin_SIMULATED, IfcDataOrigin_USERDEFINED, IfcDataOrigin_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6314,13 +6314,13 @@ public: class IFC_PARSE_API IfcDerivedUnitEnum : public express::DeclaredType { public: IfcDerivedUnitEnum() {} - explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDerivedUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDerivedUnit_ACCELERATIONUNIT, IfcDerivedUnit_ANGULARVELOCITYUNIT, IfcDerivedUnit_AREADENSITYUNIT, IfcDerivedUnit_COMPOUNDPLANEANGLEUNIT, IfcDerivedUnit_CURVATUREUNIT, IfcDerivedUnit_DYNAMICVISCOSITYUNIT, IfcDerivedUnit_HEATFLUXDENSITYUNIT, IfcDerivedUnit_HEATINGVALUEUNIT, IfcDerivedUnit_INTEGERCOUNTRATEUNIT, IfcDerivedUnit_IONCONCENTRATIONUNIT, IfcDerivedUnit_ISOTHERMALMOISTURECAPACITYUNIT, IfcDerivedUnit_KINEMATICVISCOSITYUNIT, IfcDerivedUnit_LINEARFORCEUNIT, IfcDerivedUnit_LINEARMOMENTUNIT, IfcDerivedUnit_LINEARSTIFFNESSUNIT, IfcDerivedUnit_LINEARVELOCITYUNIT, IfcDerivedUnit_LUMINOUSINTENSITYDISTRIBUTIONUNIT, IfcDerivedUnit_MASSDENSITYUNIT, IfcDerivedUnit_MASSFLOWRATEUNIT, IfcDerivedUnit_MASSPERLENGTHUNIT, IfcDerivedUnit_MODULUSOFELASTICITYUNIT, IfcDerivedUnit_MODULUSOFLINEARSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFROTATIONALSUBGRADEREACTIONUNIT, IfcDerivedUnit_MODULUSOFSUBGRADEREACTIONUNIT, IfcDerivedUnit_MOISTUREDIFFUSIVITYUNIT, IfcDerivedUnit_MOLECULARWEIGHTUNIT, IfcDerivedUnit_MOMENTOFINERTIAUNIT, IfcDerivedUnit_PHUNIT, IfcDerivedUnit_PLANARFORCEUNIT, IfcDerivedUnit_ROTATIONALFREQUENCYUNIT, IfcDerivedUnit_ROTATIONALMASSUNIT, IfcDerivedUnit_ROTATIONALSTIFFNESSUNIT, IfcDerivedUnit_SECTIONAREAINTEGRALUNIT, IfcDerivedUnit_SECTIONMODULUSUNIT, IfcDerivedUnit_SHEARMODULUSUNIT, IfcDerivedUnit_SOUNDPOWERLEVELUNIT, IfcDerivedUnit_SOUNDPOWERUNIT, IfcDerivedUnit_SOUNDPRESSURELEVELUNIT, IfcDerivedUnit_SOUNDPRESSUREUNIT, IfcDerivedUnit_SPECIFICHEATCAPACITYUNIT, IfcDerivedUnit_TEMPERATUREGRADIENTUNIT, IfcDerivedUnit_TEMPERATURERATEOFCHANGEUNIT, IfcDerivedUnit_THERMALADMITTANCEUNIT, IfcDerivedUnit_THERMALCONDUCTANCEUNIT, IfcDerivedUnit_THERMALEXPANSIONCOEFFICIENTUNIT, IfcDerivedUnit_THERMALRESISTANCEUNIT, IfcDerivedUnit_THERMALTRANSMITTANCEUNIT, IfcDerivedUnit_TORQUEUNIT, IfcDerivedUnit_VAPORPERMEABILITYUNIT, IfcDerivedUnit_VOLUMETRICFLOWRATEUNIT, IfcDerivedUnit_WARPINGCONSTANTUNIT, IfcDerivedUnit_WARPINGMOMENTUNIT, IfcDerivedUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6336,13 +6336,13 @@ public: class IFC_PARSE_API IfcDirectionSenseEnum : public express::DeclaredType { public: IfcDirectionSenseEnum() {} - explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDirectionSenseEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDirectionSense_NEGATIVE, IfcDirectionSense_POSITIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6359,13 +6359,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryTypeEnum : public express::DeclaredType { public: IfcDiscreteAccessoryTypeEnum() {} - explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDiscreteAccessoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDiscreteAccessoryType_ANCHORPLATE, IfcDiscreteAccessoryType_BIRDPROTECTION, IfcDiscreteAccessoryType_BRACKET, IfcDiscreteAccessoryType_CABLEARRANGER, IfcDiscreteAccessoryType_ELASTIC_CUSHION, IfcDiscreteAccessoryType_EXPANSION_JOINT_DEVICE, IfcDiscreteAccessoryType_FILLER, IfcDiscreteAccessoryType_FLASHING, IfcDiscreteAccessoryType_INSULATOR, IfcDiscreteAccessoryType_LOCK, IfcDiscreteAccessoryType_PANEL_STRENGTHENING, IfcDiscreteAccessoryType_POINTMACHINEMOUNTINGDEVICE, IfcDiscreteAccessoryType_POINT_MACHINE_LOCKING_DEVICE, IfcDiscreteAccessoryType_RAILBRACE, IfcDiscreteAccessoryType_RAILPAD, IfcDiscreteAccessoryType_RAIL_LUBRICATION, IfcDiscreteAccessoryType_RAIL_MECHANICAL_EQUIPMENT, IfcDiscreteAccessoryType_SHOE, IfcDiscreteAccessoryType_SLIDINGCHAIR, IfcDiscreteAccessoryType_SOUNDABSORPTION, IfcDiscreteAccessoryType_TENSIONINGEQUIPMENT, IfcDiscreteAccessoryType_USERDEFINED, IfcDiscreteAccessoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6374,13 +6374,13 @@ public: class IFC_PARSE_API IfcDistributionBoardTypeEnum : public express::DeclaredType { public: IfcDistributionBoardTypeEnum() {} - explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionBoardType_CONSUMERUNIT, IfcDistributionBoardType_DISPATCHINGBOARD, IfcDistributionBoardType_DISTRIBUTIONBOARD, IfcDistributionBoardType_DISTRIBUTIONFRAME, IfcDistributionBoardType_MOTORCONTROLCENTRE, IfcDistributionBoardType_SWITCHBOARD, IfcDistributionBoardType_USERDEFINED, IfcDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6404,13 +6404,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementTypeEnum : public express::DeclaredType { public: IfcDistributionChamberElementTypeEnum() {} - explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionChamberElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionChamberElementType_FORMEDDUCT, IfcDistributionChamberElementType_INSPECTIONCHAMBER, IfcDistributionChamberElementType_INSPECTIONPIT, IfcDistributionChamberElementType_MANHOLE, IfcDistributionChamberElementType_METERCHAMBER, IfcDistributionChamberElementType_SUMP, IfcDistributionChamberElementType_TRENCH, IfcDistributionChamberElementType_VALVECHAMBER, IfcDistributionChamberElementType_USERDEFINED, IfcDistributionChamberElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6419,13 +6419,13 @@ public: class IFC_PARSE_API IfcDistributionPortTypeEnum : public express::DeclaredType { public: IfcDistributionPortTypeEnum() {} - explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionPortTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionPortType_CABLE, IfcDistributionPortType_CABLECARRIER, IfcDistributionPortType_DUCT, IfcDistributionPortType_PIPE, IfcDistributionPortType_WIRELESS, IfcDistributionPortType_USERDEFINED, IfcDistributionPortType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6480,13 +6480,13 @@ public: class IFC_PARSE_API IfcDistributionSystemEnum : public express::DeclaredType { public: IfcDistributionSystemEnum() {} - explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDistributionSystemEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDistributionSystem_AIRCONDITIONING, IfcDistributionSystem_AUDIOVISUAL, IfcDistributionSystem_CATENARY_SYSTEM, IfcDistributionSystem_CHEMICAL, IfcDistributionSystem_CHILLEDWATER, IfcDistributionSystem_COMMUNICATION, IfcDistributionSystem_COMPRESSEDAIR, IfcDistributionSystem_CONDENSERWATER, IfcDistributionSystem_CONTROL, IfcDistributionSystem_CONVEYING, IfcDistributionSystem_DATA, IfcDistributionSystem_DISPOSAL, IfcDistributionSystem_DOMESTICCOLDWATER, IfcDistributionSystem_DOMESTICHOTWATER, IfcDistributionSystem_DRAINAGE, IfcDistributionSystem_EARTHING, IfcDistributionSystem_ELECTRICAL, IfcDistributionSystem_ELECTROACOUSTIC, IfcDistributionSystem_EXHAUST, IfcDistributionSystem_FIREPROTECTION, IfcDistributionSystem_FIXEDTRANSMISSIONNETWORK, IfcDistributionSystem_FUEL, IfcDistributionSystem_GAS, IfcDistributionSystem_HAZARDOUS, IfcDistributionSystem_HEATING, IfcDistributionSystem_LIGHTING, IfcDistributionSystem_LIGHTNINGPROTECTION, IfcDistributionSystem_MOBILENETWORK, IfcDistributionSystem_MONITORINGSYSTEM, IfcDistributionSystem_MUNICIPALSOLIDWASTE, IfcDistributionSystem_OIL, IfcDistributionSystem_OPERATIONAL, IfcDistributionSystem_OPERATIONALTELEPHONYSYSTEM, IfcDistributionSystem_OVERHEAD_CONTACTLINE_SYSTEM, IfcDistributionSystem_POWERGENERATION, IfcDistributionSystem_RAINWATER, IfcDistributionSystem_REFRIGERATION, IfcDistributionSystem_RETURN_CIRCUIT, IfcDistributionSystem_SECURITY, IfcDistributionSystem_SEWAGE, IfcDistributionSystem_SIGNAL, IfcDistributionSystem_STORMWATER, IfcDistributionSystem_TELEPHONE, IfcDistributionSystem_TV, IfcDistributionSystem_VACUUM, IfcDistributionSystem_VENT, IfcDistributionSystem_VENTILATION, IfcDistributionSystem_WASTEWATER, IfcDistributionSystem_WATERSUPPLY, IfcDistributionSystem_USERDEFINED, IfcDistributionSystem_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6506,13 +6506,13 @@ public: class IFC_PARSE_API IfcDocumentConfidentialityEnum : public express::DeclaredType { public: IfcDocumentConfidentialityEnum() {} - explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentConfidentialityEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentConfidentiality_CONFIDENTIAL, IfcDocumentConfidentiality_PERSONAL, IfcDocumentConfidentiality_PUBLIC, IfcDocumentConfidentiality_RESTRICTED, IfcDocumentConfidentiality_USERDEFINED, IfcDocumentConfidentiality_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6523,13 +6523,13 @@ public: class IFC_PARSE_API IfcDocumentStatusEnum : public express::DeclaredType { public: IfcDocumentStatusEnum() {} - explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDocumentStatusEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDocumentStatus_DRAFT, IfcDocumentStatus_FINAL, IfcDocumentStatus_FINALDRAFT, IfcDocumentStatus_REVISION, IfcDocumentStatus_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6570,13 +6570,13 @@ public: class IFC_PARSE_API IfcDoorPanelOperationEnum : public express::DeclaredType { public: IfcDoorPanelOperationEnum() {} - explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelOperation_DOUBLE_ACTING, IfcDoorPanelOperation_FIXEDPANEL, IfcDoorPanelOperation_FOLDING, IfcDoorPanelOperation_REVOLVING, IfcDoorPanelOperation_ROLLINGUP, IfcDoorPanelOperation_SLIDING, IfcDoorPanelOperation_SWINGING, IfcDoorPanelOperation_USERDEFINED, IfcDoorPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6591,13 +6591,13 @@ public: class IFC_PARSE_API IfcDoorPanelPositionEnum : public express::DeclaredType { public: IfcDoorPanelPositionEnum() {} - explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorPanelPosition_LEFT, IfcDoorPanelPosition_MIDDLE, IfcDoorPanelPosition_RIGHT, IfcDoorPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6621,13 +6621,13 @@ public: class IFC_PARSE_API IfcDoorTypeEnum : public express::DeclaredType { public: IfcDoorTypeEnum() {} - explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorType_BOOM_BARRIER, IfcDoorType_DOOR, IfcDoorType_GATE, IfcDoorType_TRAPDOOR, IfcDoorType_TURNSTILE, IfcDoorType_USERDEFINED, IfcDoorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6815,13 +6815,13 @@ public: class IFC_PARSE_API IfcDoorTypeOperationEnum : public express::DeclaredType { public: IfcDoorTypeOperationEnum() {} - explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoorTypeOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDoorTypeOperation_DOUBLE_DOOR_DOUBLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_FOLDING, IfcDoorTypeOperation_DOUBLE_DOOR_LIFTING_VERTICAL, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_LEFT, IfcDoorTypeOperation_DOUBLE_DOOR_SINGLE_SWING_OPPOSITE_RIGHT, IfcDoorTypeOperation_DOUBLE_DOOR_SLIDING, IfcDoorTypeOperation_DOUBLE_SWING_LEFT, IfcDoorTypeOperation_DOUBLE_SWING_RIGHT, IfcDoorTypeOperation_FOLDING_TO_LEFT, IfcDoorTypeOperation_FOLDING_TO_RIGHT, IfcDoorTypeOperation_LIFTING_HORIZONTAL, IfcDoorTypeOperation_LIFTING_VERTICAL_LEFT, IfcDoorTypeOperation_LIFTING_VERTICAL_RIGHT, IfcDoorTypeOperation_REVOLVING, IfcDoorTypeOperation_REVOLVING_VERTICAL, IfcDoorTypeOperation_ROLLINGUP, IfcDoorTypeOperation_SINGLE_SWING_LEFT, IfcDoorTypeOperation_SINGLE_SWING_RIGHT, IfcDoorTypeOperation_SLIDING_TO_LEFT, IfcDoorTypeOperation_SLIDING_TO_RIGHT, IfcDoorTypeOperation_SWING_FIXED_LEFT, IfcDoorTypeOperation_SWING_FIXED_RIGHT, IfcDoorTypeOperation_USERDEFINED, IfcDoorTypeOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6862,13 +6862,13 @@ public: class IFC_PARSE_API IfcDuctFittingTypeEnum : public express::DeclaredType { public: IfcDuctFittingTypeEnum() {} - explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctFittingType_BEND, IfcDuctFittingType_CONNECTOR, IfcDuctFittingType_ENTRY, IfcDuctFittingType_EXIT, IfcDuctFittingType_JUNCTION, IfcDuctFittingType_OBSTRUCTION, IfcDuctFittingType_TRANSITION, IfcDuctFittingType_USERDEFINED, IfcDuctFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6891,13 +6891,13 @@ public: class IFC_PARSE_API IfcDuctSegmentTypeEnum : public express::DeclaredType { public: IfcDuctSegmentTypeEnum() {} - explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSegmentType_FLEXIBLESEGMENT, IfcDuctSegmentType_RIGIDSEGMENT, IfcDuctSegmentType_USERDEFINED, IfcDuctSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6915,13 +6915,13 @@ public: class IFC_PARSE_API IfcDuctSilencerTypeEnum : public express::DeclaredType { public: IfcDuctSilencerTypeEnum() {} - explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuctSilencerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcDuctSilencerType_FLATOVAL, IfcDuctSilencerType_RECTANGULAR, IfcDuctSilencerType_ROUND, IfcDuctSilencerType_USERDEFINED, IfcDuctSilencerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6930,13 +6930,13 @@ public: class IFC_PARSE_API IfcEarthworksCutTypeEnum : public express::DeclaredType { public: IfcEarthworksCutTypeEnum() {} - explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksCutTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksCutType_BASE_EXCAVATION, IfcEarthworksCutType_CUT, IfcEarthworksCutType_DREDGING, IfcEarthworksCutType_EXCAVATION, IfcEarthworksCutType_OVEREXCAVATION, IfcEarthworksCutType_PAVEMENTMILLING, IfcEarthworksCutType_STEPEXCAVATION, IfcEarthworksCutType_TOPSOILREMOVAL, IfcEarthworksCutType_TRENCH, IfcEarthworksCutType_USERDEFINED, IfcEarthworksCutType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6945,13 +6945,13 @@ public: class IFC_PARSE_API IfcEarthworksFillTypeEnum : public express::DeclaredType { public: IfcEarthworksFillTypeEnum() {} - explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEarthworksFillTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEarthworksFillType_BACKFILL, IfcEarthworksFillType_COUNTERWEIGHT, IfcEarthworksFillType_EMBANKMENT, IfcEarthworksFillType_SLOPEFILL, IfcEarthworksFillType_SUBGRADE, IfcEarthworksFillType_SUBGRADEBED, IfcEarthworksFillType_TRANSITIONSECTION, IfcEarthworksFillType_USERDEFINED, IfcEarthworksFillType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -6988,13 +6988,13 @@ public: class IFC_PARSE_API IfcElectricApplianceTypeEnum : public express::DeclaredType { public: IfcElectricApplianceTypeEnum() {} - explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricApplianceType_DISHWASHER, IfcElectricApplianceType_ELECTRICCOOKER, IfcElectricApplianceType_FREESTANDINGELECTRICHEATER, IfcElectricApplianceType_FREESTANDINGFAN, IfcElectricApplianceType_FREESTANDINGWATERCOOLER, IfcElectricApplianceType_FREESTANDINGWATERHEATER, IfcElectricApplianceType_FREEZER, IfcElectricApplianceType_FRIDGE_FREEZER, IfcElectricApplianceType_HANDDRYER, IfcElectricApplianceType_KITCHENMACHINE, IfcElectricApplianceType_MICROWAVE, IfcElectricApplianceType_PHOTOCOPIER, IfcElectricApplianceType_REFRIGERATOR, IfcElectricApplianceType_TUMBLEDRYER, IfcElectricApplianceType_VENDINGMACHINE, IfcElectricApplianceType_WASHINGMACHINE, IfcElectricApplianceType_USERDEFINED, IfcElectricApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7012,13 +7012,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardTypeEnum : public express::DeclaredType { public: IfcElectricDistributionBoardTypeEnum() {} - explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricDistributionBoardTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricDistributionBoardType_CONSUMERUNIT, IfcElectricDistributionBoardType_DISTRIBUTIONBOARD, IfcElectricDistributionBoardType_MOTORCONTROLCENTRE, IfcElectricDistributionBoardType_SWITCHBOARD, IfcElectricDistributionBoardType_USERDEFINED, IfcElectricDistributionBoardType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7036,13 +7036,13 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowStorageDeviceTypeEnum() {} - explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowStorageDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowStorageDeviceType_BATTERY, IfcElectricFlowStorageDeviceType_CAPACITOR, IfcElectricFlowStorageDeviceType_CAPACITORBANK, IfcElectricFlowStorageDeviceType_COMPENSATOR, IfcElectricFlowStorageDeviceType_HARMONICFILTER, IfcElectricFlowStorageDeviceType_INDUCTOR, IfcElectricFlowStorageDeviceType_INDUCTORBANK, IfcElectricFlowStorageDeviceType_RECHARGER, IfcElectricFlowStorageDeviceType_UPS, IfcElectricFlowStorageDeviceType_USERDEFINED, IfcElectricFlowStorageDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7051,13 +7051,13 @@ public: class IFC_PARSE_API IfcElectricFlowTreatmentDeviceTypeEnum : public express::DeclaredType { public: IfcElectricFlowTreatmentDeviceTypeEnum() {} - explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricFlowTreatmentDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricFlowTreatmentDeviceType_ELECTRONICFILTER, IfcElectricFlowTreatmentDeviceType_USERDEFINED, IfcElectricFlowTreatmentDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7075,13 +7075,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorTypeEnum : public express::DeclaredType { public: IfcElectricGeneratorTypeEnum() {} - explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricGeneratorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricGeneratorType_CHP, IfcElectricGeneratorType_ENGINEGENERATOR, IfcElectricGeneratorType_STANDALONE, IfcElectricGeneratorType_USERDEFINED, IfcElectricGeneratorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7100,13 +7100,13 @@ public: class IFC_PARSE_API IfcElectricMotorTypeEnum : public express::DeclaredType { public: IfcElectricMotorTypeEnum() {} - explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricMotorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricMotorType_DC, IfcElectricMotorType_INDUCTION, IfcElectricMotorType_POLYPHASE, IfcElectricMotorType_RELUCTANCESYNCHRONOUS, IfcElectricMotorType_SYNCHRONOUS, IfcElectricMotorType_USERDEFINED, IfcElectricMotorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7123,13 +7123,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlTypeEnum : public express::DeclaredType { public: IfcElectricTimeControlTypeEnum() {} - explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricTimeControlTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElectricTimeControlType_RELAY, IfcElectricTimeControlType_TIMECLOCK, IfcElectricTimeControlType_TIMEDELAY, IfcElectricTimeControlType_USERDEFINED, IfcElectricTimeControlType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7156,13 +7156,13 @@ public: class IFC_PARSE_API IfcElementAssemblyTypeEnum : public express::DeclaredType { public: IfcElementAssemblyTypeEnum() {} - explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementAssemblyTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementAssemblyType_ABUTMENT, IfcElementAssemblyType_ACCESSORY_ASSEMBLY, IfcElementAssemblyType_ARCH, IfcElementAssemblyType_BEAM_GRID, IfcElementAssemblyType_BRACED_FRAME, IfcElementAssemblyType_CROSS_BRACING, IfcElementAssemblyType_DECK, IfcElementAssemblyType_DILATATIONPANEL, IfcElementAssemblyType_ENTRANCEWORKS, IfcElementAssemblyType_GIRDER, IfcElementAssemblyType_GRID, IfcElementAssemblyType_MAST, IfcElementAssemblyType_PIER, IfcElementAssemblyType_PYLON, IfcElementAssemblyType_RAIL_MECHANICAL_EQUIPMENT_ASSEMBLY, IfcElementAssemblyType_REINFORCEMENT_UNIT, IfcElementAssemblyType_RIGID_FRAME, IfcElementAssemblyType_SHELTER, IfcElementAssemblyType_SIGNALASSEMBLY, IfcElementAssemblyType_SLAB_FIELD, IfcElementAssemblyType_SUMPBUSTER, IfcElementAssemblyType_SUPPORTINGASSEMBLY, IfcElementAssemblyType_SUSPENSIONASSEMBLY, IfcElementAssemblyType_TRACKPANEL, IfcElementAssemblyType_TRACTION_SWITCHING_ASSEMBLY, IfcElementAssemblyType_TRAFFIC_CALMING_DEVICE, IfcElementAssemblyType_TRUSS, IfcElementAssemblyType_TURNOUTPANEL, IfcElementAssemblyType_USERDEFINED, IfcElementAssemblyType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7182,13 +7182,13 @@ public: class IFC_PARSE_API IfcElementCompositionEnum : public express::DeclaredType { public: IfcElementCompositionEnum() {} - explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElementCompositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcElementComposition_COMPLEX, IfcElementComposition_ELEMENT, IfcElementComposition_PARTIAL} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7204,13 +7204,13 @@ public: class IFC_PARSE_API IfcEngineTypeEnum : public express::DeclaredType { public: IfcEngineTypeEnum() {} - explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEngineTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEngineType_EXTERNALCOMBUSTION, IfcEngineType_INTERNALCOMBUSTION, IfcEngineType_USERDEFINED, IfcEngineType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7234,13 +7234,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerTypeEnum : public express::DeclaredType { public: IfcEvaporativeCoolerTypeEnum() {} - explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporativeCoolerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporativeCoolerType_DIRECTEVAPORATIVEAIRWASHER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVEPACKAGEDROTARYAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERANDOMMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVERIGIDMEDIAAIRCOOLER, IfcEvaporativeCoolerType_DIRECTEVAPORATIVESLINGERSPACKAGEDAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTDIRECTCOMBINATION, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVECOOLINGTOWERORCOILCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEPACKAGEAIRCOOLER, IfcEvaporativeCoolerType_INDIRECTEVAPORATIVEWETCOIL, IfcEvaporativeCoolerType_USERDEFINED, IfcEvaporativeCoolerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7261,13 +7261,13 @@ public: class IFC_PARSE_API IfcEvaporatorTypeEnum : public express::DeclaredType { public: IfcEvaporatorTypeEnum() {} - explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEvaporatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEvaporatorType_DIRECTEXPANSION, IfcEvaporatorType_DIRECTEXPANSIONBRAZEDPLATE, IfcEvaporatorType_DIRECTEXPANSIONSHELLANDTUBE, IfcEvaporatorType_DIRECTEXPANSIONTUBEINTUBE, IfcEvaporatorType_FLOODEDSHELLANDTUBE, IfcEvaporatorType_SHELLANDCOIL, IfcEvaporatorType_USERDEFINED, IfcEvaporatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7287,13 +7287,13 @@ public: class IFC_PARSE_API IfcEventTriggerTypeEnum : public express::DeclaredType { public: IfcEventTriggerTypeEnum() {} - explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTriggerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventTriggerType_EVENTCOMPLEX, IfcEventTriggerType_EVENTMESSAGE, IfcEventTriggerType_EVENTRULE, IfcEventTriggerType_EVENTTIME, IfcEventTriggerType_USERDEFINED, IfcEventTriggerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7312,13 +7312,13 @@ public: class IFC_PARSE_API IfcEventTypeEnum : public express::DeclaredType { public: IfcEventTypeEnum() {} - explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEventTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcEventType_ENDEVENT, IfcEventType_INTERMEDIATEEVENT, IfcEventType_STARTEVENT, IfcEventType_USERDEFINED, IfcEventType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7342,13 +7342,13 @@ public: class IFC_PARSE_API IfcExternalSpatialElementTypeEnum : public express::DeclaredType { public: IfcExternalSpatialElementTypeEnum() {} - explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcExternalSpatialElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcExternalSpatialElementType_EXTERNAL, IfcExternalSpatialElementType_EXTERNAL_EARTH, IfcExternalSpatialElementType_EXTERNAL_FIRE, IfcExternalSpatialElementType_EXTERNAL_WATER, IfcExternalSpatialElementType_USERDEFINED, IfcExternalSpatialElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7357,13 +7357,13 @@ public: class IFC_PARSE_API IfcFacilityPartCommonTypeEnum : public express::DeclaredType { public: IfcFacilityPartCommonTypeEnum() {} - explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityPartCommonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityPartCommonType_ABOVEGROUND, IfcFacilityPartCommonType_BELOWGROUND, IfcFacilityPartCommonType_JUNCTION, IfcFacilityPartCommonType_LEVELCROSSING, IfcFacilityPartCommonType_SEGMENT, IfcFacilityPartCommonType_SUBSTRUCTURE, IfcFacilityPartCommonType_SUPERSTRUCTURE, IfcFacilityPartCommonType_TERMINAL, IfcFacilityPartCommonType_USERDEFINED, IfcFacilityPartCommonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7372,13 +7372,13 @@ public: class IFC_PARSE_API IfcFacilityUsageEnum : public express::DeclaredType { public: IfcFacilityUsageEnum() {} - explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFacilityUsageEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFacilityUsage_LATERAL, IfcFacilityUsage_LONGITUDINAL, IfcFacilityUsage_REGION, IfcFacilityUsage_VERTICAL, IfcFacilityUsage_USERDEFINED, IfcFacilityUsage_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7400,13 +7400,13 @@ public: class IFC_PARSE_API IfcFanTypeEnum : public express::DeclaredType { public: IfcFanTypeEnum() {} - explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFanType_CENTRIFUGALAIRFOIL, IfcFanType_CENTRIFUGALBACKWARDINCLINEDCURVED, IfcFanType_CENTRIFUGALFORWARDCURVED, IfcFanType_CENTRIFUGALRADIAL, IfcFanType_PROPELLORAXIAL, IfcFanType_TUBEAXIAL, IfcFanType_VANEAXIAL, IfcFanType_USERDEFINED, IfcFanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7423,13 +7423,13 @@ public: class IFC_PARSE_API IfcFastenerTypeEnum : public express::DeclaredType { public: IfcFastenerTypeEnum() {} - explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFastenerType_GLUE, IfcFastenerType_MORTAR, IfcFastenerType_WELD, IfcFastenerType_USERDEFINED, IfcFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7450,13 +7450,13 @@ public: class IFC_PARSE_API IfcFilterTypeEnum : public express::DeclaredType { public: IfcFilterTypeEnum() {} - explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFilterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFilterType_AIRPARTICLEFILTER, IfcFilterType_COMPRESSEDAIRFILTER, IfcFilterType_ODORFILTER, IfcFilterType_OILFILTER, IfcFilterType_STRAINER, IfcFilterType_WATERFILTER, IfcFilterType_USERDEFINED, IfcFilterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7477,13 +7477,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalTypeEnum : public express::DeclaredType { public: IfcFireSuppressionTerminalTypeEnum() {} - explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFireSuppressionTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFireSuppressionTerminalType_BREECHINGINLET, IfcFireSuppressionTerminalType_FIREHYDRANT, IfcFireSuppressionTerminalType_FIREMONITOR, IfcFireSuppressionTerminalType_HOSEREEL, IfcFireSuppressionTerminalType_SPRINKLER, IfcFireSuppressionTerminalType_SPRINKLERDEFLECTOR, IfcFireSuppressionTerminalType_USERDEFINED, IfcFireSuppressionTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7499,13 +7499,13 @@ public: class IFC_PARSE_API IfcFlowDirectionEnum : public express::DeclaredType { public: IfcFlowDirectionEnum() {} - explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowDirection_SINK, IfcFlowDirection_SOURCE, IfcFlowDirection_SOURCEANDSINK, IfcFlowDirection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7529,13 +7529,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentTypeEnum : public express::DeclaredType { public: IfcFlowInstrumentTypeEnum() {} - explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowInstrumentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowInstrumentType_AMMETER, IfcFlowInstrumentType_COMBINED, IfcFlowInstrumentType_FREQUENCYMETER, IfcFlowInstrumentType_PHASEANGLEMETER, IfcFlowInstrumentType_POWERFACTORMETER, IfcFlowInstrumentType_PRESSUREGAUGE, IfcFlowInstrumentType_THERMOMETER, IfcFlowInstrumentType_VOLTMETER, IfcFlowInstrumentType_VOLTMETER_PEAK, IfcFlowInstrumentType_VOLTMETER_RMS, IfcFlowInstrumentType_USERDEFINED, IfcFlowInstrumentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7558,13 +7558,13 @@ public: class IFC_PARSE_API IfcFlowMeterTypeEnum : public express::DeclaredType { public: IfcFlowMeterTypeEnum() {} - explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFlowMeterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFlowMeterType_ENERGYMETER, IfcFlowMeterType_GASMETER, IfcFlowMeterType_OILMETER, IfcFlowMeterType_WATERMETER, IfcFlowMeterType_USERDEFINED, IfcFlowMeterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7586,13 +7586,13 @@ public: class IFC_PARSE_API IfcFootingTypeEnum : public express::DeclaredType { public: IfcFootingTypeEnum() {} - explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFootingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFootingType_CAISSON_FOUNDATION, IfcFootingType_FOOTING_BEAM, IfcFootingType_PAD_FOOTING, IfcFootingType_PILE_CAP, IfcFootingType_STRIP_FOOTING, IfcFootingType_USERDEFINED, IfcFootingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7613,13 +7613,13 @@ public: class IFC_PARSE_API IfcFurnitureTypeEnum : public express::DeclaredType { public: IfcFurnitureTypeEnum() {} - explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFurnitureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcFurnitureType_BED, IfcFurnitureType_CHAIR, IfcFurnitureType_DESK, IfcFurnitureType_FILECABINET, IfcFurnitureType_SHELF, IfcFurnitureType_SOFA, IfcFurnitureType_TABLE, IfcFurnitureType_TECHNICALCABINET, IfcFurnitureType_USERDEFINED, IfcFurnitureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7628,13 +7628,13 @@ public: class IFC_PARSE_API IfcGeographicElementTypeEnum : public express::DeclaredType { public: IfcGeographicElementTypeEnum() {} - explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeographicElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeographicElementType_SOIL_BORING_POINT, IfcGeographicElementType_TERRAIN, IfcGeographicElementType_VEGETATION, IfcGeographicElementType_USERDEFINED, IfcGeographicElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7683,13 +7683,13 @@ public: class IFC_PARSE_API IfcGeometricProjectionEnum : public express::DeclaredType { public: IfcGeometricProjectionEnum() {} - explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeometricProjectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeometricProjection_ELEVATION_VIEW, IfcGeometricProjection_GRAPH_VIEW, IfcGeometricProjection_MODEL_VIEW, IfcGeometricProjection_PLAN_VIEW, IfcGeometricProjection_REFLECTED_PLAN_VIEW, IfcGeometricProjection_SECTION_VIEW, IfcGeometricProjection_SKETCH_VIEW, IfcGeometricProjection_USERDEFINED, IfcGeometricProjection_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7698,13 +7698,13 @@ public: class IFC_PARSE_API IfcGeotechnicalStratumTypeEnum : public express::DeclaredType { public: IfcGeotechnicalStratumTypeEnum() {} - explicit IfcGeotechnicalStratumTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGeotechnicalStratumTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGeotechnicalStratumType_SOLID, IfcGeotechnicalStratumType_VOID, IfcGeotechnicalStratumType_WATER, IfcGeotechnicalStratumType_USERDEFINED, IfcGeotechnicalStratumType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7718,13 +7718,13 @@ public: class IFC_PARSE_API IfcGlobalOrLocalEnum : public express::DeclaredType { public: IfcGlobalOrLocalEnum() {} - explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGlobalOrLocalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGlobalOrLocal_GLOBAL_COORDS, IfcGlobalOrLocal_LOCAL_COORDS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7733,13 +7733,13 @@ public: class IFC_PARSE_API IfcGridTypeEnum : public express::DeclaredType { public: IfcGridTypeEnum() {} - explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGridTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcGridType_IRREGULAR, IfcGridType_RADIAL, IfcGridType_RECTANGULAR, IfcGridType_TRIANGULAR, IfcGridType_USERDEFINED, IfcGridType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7756,13 +7756,13 @@ public: class IFC_PARSE_API IfcHeatExchangerTypeEnum : public express::DeclaredType { public: IfcHeatExchangerTypeEnum() {} - explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatExchangerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHeatExchangerType_PLATE, IfcHeatExchangerType_SHELLANDTUBE, IfcHeatExchangerType_TURNOUTHEATING, IfcHeatExchangerType_USERDEFINED, IfcHeatExchangerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7790,13 +7790,13 @@ public: class IFC_PARSE_API IfcHumidifierTypeEnum : public express::DeclaredType { public: IfcHumidifierTypeEnum() {} - explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHumidifierTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcHumidifierType_ADIABATICAIRWASHER, IfcHumidifierType_ADIABATICATOMIZING, IfcHumidifierType_ADIABATICCOMPRESSEDAIRNOZZLE, IfcHumidifierType_ADIABATICPAN, IfcHumidifierType_ADIABATICRIGIDMEDIA, IfcHumidifierType_ADIABATICULTRASONIC, IfcHumidifierType_ADIABATICWETTEDELEMENT, IfcHumidifierType_ASSISTEDBUTANE, IfcHumidifierType_ASSISTEDELECTRIC, IfcHumidifierType_ASSISTEDNATURALGAS, IfcHumidifierType_ASSISTEDPROPANE, IfcHumidifierType_ASSISTEDSTEAM, IfcHumidifierType_STEAMINJECTION, IfcHumidifierType_USERDEFINED, IfcHumidifierType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7805,13 +7805,13 @@ public: class IFC_PARSE_API IfcImpactProtectionDeviceTypeEnum : public express::DeclaredType { public: IfcImpactProtectionDeviceTypeEnum() {} - explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcImpactProtectionDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcImpactProtectionDeviceType_BUMPER, IfcImpactProtectionDeviceType_CRASHCUSHION, IfcImpactProtectionDeviceType_DAMPINGSYSTEM, IfcImpactProtectionDeviceType_FENDER, IfcImpactProtectionDeviceType_USERDEFINED, IfcImpactProtectionDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7829,13 +7829,13 @@ public: class IFC_PARSE_API IfcInterceptorTypeEnum : public express::DeclaredType { public: IfcInterceptorTypeEnum() {} - explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInterceptorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInterceptorType_CYCLONIC, IfcInterceptorType_GREASE, IfcInterceptorType_OIL, IfcInterceptorType_PETROL, IfcInterceptorType_USERDEFINED, IfcInterceptorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7898,13 +7898,13 @@ public: class IFC_PARSE_API IfcInternalOrExternalEnum : public express::DeclaredType { public: IfcInternalOrExternalEnum() {} - explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInternalOrExternalEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInternalOrExternal_EXTERNAL, IfcInternalOrExternal_EXTERNAL_EARTH, IfcInternalOrExternal_EXTERNAL_FIRE, IfcInternalOrExternal_EXTERNAL_WATER, IfcInternalOrExternal_INTERNAL, IfcInternalOrExternal_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7921,13 +7921,13 @@ public: class IFC_PARSE_API IfcInventoryTypeEnum : public express::DeclaredType { public: IfcInventoryTypeEnum() {} - explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInventoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcInventoryType_ASSETINVENTORY, IfcInventoryType_FURNITUREINVENTORY, IfcInventoryType_SPACEINVENTORY, IfcInventoryType_USERDEFINED, IfcInventoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7942,13 +7942,13 @@ public: class IFC_PARSE_API IfcJunctionBoxTypeEnum : public express::DeclaredType { public: IfcJunctionBoxTypeEnum() {} - explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcJunctionBoxTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcJunctionBoxType_DATA, IfcJunctionBoxType_POWER, IfcJunctionBoxType_USERDEFINED, IfcJunctionBoxType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7957,13 +7957,13 @@ public: class IFC_PARSE_API IfcKerbTypeEnum : public express::DeclaredType { public: IfcKerbTypeEnum() {} - explicit IfcKerbTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKerbTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKerbType_USERDEFINED, IfcKerbType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -7972,13 +7972,13 @@ public: class IFC_PARSE_API IfcKnotType : public express::DeclaredType { public: IfcKnotType() {} - explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKnotType (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcKnotType_PIECEWISE_BEZIER_KNOTS, IfcKnotType_QUASI_UNIFORM_KNOTS, IfcKnotType_UNIFORM_KNOTS, IfcKnotType_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8010,13 +8010,13 @@ public: class IFC_PARSE_API IfcLaborResourceTypeEnum : public express::DeclaredType { public: IfcLaborResourceTypeEnum() {} - explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLaborResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLaborResourceType_ADMINISTRATION, IfcLaborResourceType_CARPENTRY, IfcLaborResourceType_CLEANING, IfcLaborResourceType_CONCRETE, IfcLaborResourceType_DRYWALL, IfcLaborResourceType_ELECTRIC, IfcLaborResourceType_FINISHING, IfcLaborResourceType_FLOORING, IfcLaborResourceType_GENERAL, IfcLaborResourceType_HVAC, IfcLaborResourceType_LANDSCAPING, IfcLaborResourceType_MASONRY, IfcLaborResourceType_PAINTING, IfcLaborResourceType_PAVING, IfcLaborResourceType_PLUMBING, IfcLaborResourceType_ROOFING, IfcLaborResourceType_SITEGRADING, IfcLaborResourceType_STEELWORK, IfcLaborResourceType_SURVEYING, IfcLaborResourceType_USERDEFINED, IfcLaborResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8041,13 +8041,13 @@ public: class IFC_PARSE_API IfcLampTypeEnum : public express::DeclaredType { public: IfcLampTypeEnum() {} - explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLampType_COMPACTFLUORESCENT, IfcLampType_FLUORESCENT, IfcLampType_HALOGEN, IfcLampType_HIGHPRESSUREMERCURY, IfcLampType_HIGHPRESSURESODIUM, IfcLampType_LED, IfcLampType_METALHALIDE, IfcLampType_OLED, IfcLampType_TUNGSTENFILAMENT, IfcLampType_USERDEFINED, IfcLampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8064,13 +8064,13 @@ public: class IFC_PARSE_API IfcLayerSetDirectionEnum : public express::DeclaredType { public: IfcLayerSetDirectionEnum() {} - explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLayerSetDirectionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLayerSetDirection_AXIS1, IfcLayerSetDirection_AXIS2, IfcLayerSetDirection_AXIS3} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8092,13 +8092,13 @@ public: class IFC_PARSE_API IfcLightDistributionCurveEnum : public express::DeclaredType { public: IfcLightDistributionCurveEnum() {} - explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightDistributionCurveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightDistributionCurve_TYPE_A, IfcLightDistributionCurve_TYPE_B, IfcLightDistributionCurve_TYPE_C, IfcLightDistributionCurve_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8123,13 +8123,13 @@ public: class IFC_PARSE_API IfcLightEmissionSourceEnum : public express::DeclaredType { public: IfcLightEmissionSourceEnum() {} - explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightEmissionSourceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightEmissionSource_COMPACTFLUORESCENT, IfcLightEmissionSource_FLUORESCENT, IfcLightEmissionSource_HIGHPRESSUREMERCURY, IfcLightEmissionSource_HIGHPRESSURESODIUM, IfcLightEmissionSource_LIGHTEMITTINGDIODE, IfcLightEmissionSource_LOWPRESSURESODIUM, IfcLightEmissionSource_LOWVOLTAGEHALOGEN, IfcLightEmissionSource_MAINVOLTAGEHALOGEN, IfcLightEmissionSource_METALHALIDE, IfcLightEmissionSource_TUNGSTENFILAMENT, IfcLightEmissionSource_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8148,13 +8148,13 @@ public: class IFC_PARSE_API IfcLightFixtureTypeEnum : public express::DeclaredType { public: IfcLightFixtureTypeEnum() {} - explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLightFixtureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLightFixtureType_DIRECTIONSOURCE, IfcLightFixtureType_POINTSOURCE, IfcLightFixtureType_SECURITYLIGHTING, IfcLightFixtureType_USERDEFINED, IfcLightFixtureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8163,13 +8163,13 @@ public: class IFC_PARSE_API IfcLiquidTerminalTypeEnum : public express::DeclaredType { public: IfcLiquidTerminalTypeEnum() {} - explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLiquidTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLiquidTerminalType_HOSEREEL, IfcLiquidTerminalType_LOADINGARM, IfcLiquidTerminalType_USERDEFINED, IfcLiquidTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8198,13 +8198,13 @@ public: class IFC_PARSE_API IfcLoadGroupTypeEnum : public express::DeclaredType { public: IfcLoadGroupTypeEnum() {} - explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLoadGroupTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLoadGroupType_LOAD_CASE, IfcLoadGroupType_LOAD_COMBINATION, IfcLoadGroupType_LOAD_GROUP, IfcLoadGroupType_USERDEFINED, IfcLoadGroupType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8456,13 +8456,13 @@ public: class IFC_PARSE_API IfcLogicalOperatorEnum : public express::DeclaredType { public: IfcLogicalOperatorEnum() {} - explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogicalOperatorEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcLogicalOperator_LOGICALAND, IfcLogicalOperator_LOGICALNOTAND, IfcLogicalOperator_LOGICALNOTOR, IfcLogicalOperator_LOGICALOR, IfcLogicalOperator_LOGICALXOR} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8471,13 +8471,13 @@ public: class IFC_PARSE_API IfcMarineFacilityTypeEnum : public express::DeclaredType { public: IfcMarineFacilityTypeEnum() {} - explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarineFacilityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarineFacilityType_BARRIERBEACH, IfcMarineFacilityType_BREAKWATER, IfcMarineFacilityType_CANAL, IfcMarineFacilityType_DRYDOCK, IfcMarineFacilityType_FLOATINGDOCK, IfcMarineFacilityType_HYDROLIFT, IfcMarineFacilityType_JETTY, IfcMarineFacilityType_LAUNCHRECOVERY, IfcMarineFacilityType_MARINEDEFENCE, IfcMarineFacilityType_NAVIGATIONALCHANNEL, IfcMarineFacilityType_PORT, IfcMarineFacilityType_QUAY, IfcMarineFacilityType_REVETMENT, IfcMarineFacilityType_SHIPLIFT, IfcMarineFacilityType_SHIPLOCK, IfcMarineFacilityType_SHIPYARD, IfcMarineFacilityType_SLIPWAY, IfcMarineFacilityType_WATERWAY, IfcMarineFacilityType_WATERWAYSHIPLIFT, IfcMarineFacilityType_USERDEFINED, IfcMarineFacilityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8486,13 +8486,13 @@ public: class IFC_PARSE_API IfcMarinePartTypeEnum : public express::DeclaredType { public: IfcMarinePartTypeEnum() {} - explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMarinePartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMarinePartType_ABOVEWATERLINE, IfcMarinePartType_ANCHORAGE, IfcMarinePartType_APPROACHCHANNEL, IfcMarinePartType_BELOWWATERLINE, IfcMarinePartType_BERTHINGSTRUCTURE, IfcMarinePartType_CHAMBER, IfcMarinePartType_CILL_LEVEL, IfcMarinePartType_COPELEVEL, IfcMarinePartType_CORE, IfcMarinePartType_CREST, IfcMarinePartType_GATEHEAD, IfcMarinePartType_GUDINGSTRUCTURE, IfcMarinePartType_HIGHWATERLINE, IfcMarinePartType_LANDFIELD, IfcMarinePartType_LEEWARDSIDE, IfcMarinePartType_LOWWATERLINE, IfcMarinePartType_MANUFACTURING, IfcMarinePartType_NAVIGATIONALAREA, IfcMarinePartType_PROTECTION, IfcMarinePartType_SHIPTRANSFER, IfcMarinePartType_STORAGEAREA, IfcMarinePartType_VEHICLESERVICING, IfcMarinePartType_WATERFIELD, IfcMarinePartType_WEATHERSIDE, IfcMarinePartType_USERDEFINED, IfcMarinePartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8517,13 +8517,13 @@ public: class IFC_PARSE_API IfcMechanicalFastenerTypeEnum : public express::DeclaredType { public: IfcMechanicalFastenerTypeEnum() {} - explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMechanicalFastenerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMechanicalFastenerType_ANCHORBOLT, IfcMechanicalFastenerType_BOLT, IfcMechanicalFastenerType_CHAIN, IfcMechanicalFastenerType_COUPLER, IfcMechanicalFastenerType_DOWEL, IfcMechanicalFastenerType_NAIL, IfcMechanicalFastenerType_NAILPLATE, IfcMechanicalFastenerType_RAILFASTENING, IfcMechanicalFastenerType_RAILJOINT, IfcMechanicalFastenerType_RIVET, IfcMechanicalFastenerType_ROPE, IfcMechanicalFastenerType_SCREW, IfcMechanicalFastenerType_SHEARCONNECTOR, IfcMechanicalFastenerType_STAPLE, IfcMechanicalFastenerType_STUDSHEARCONNECTOR, IfcMechanicalFastenerType_USERDEFINED, IfcMechanicalFastenerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8544,13 +8544,13 @@ public: class IFC_PARSE_API IfcMedicalDeviceTypeEnum : public express::DeclaredType { public: IfcMedicalDeviceTypeEnum() {} - explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMedicalDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMedicalDeviceType_AIRSTATION, IfcMedicalDeviceType_FEEDAIRUNIT, IfcMedicalDeviceType_OXYGENGENERATOR, IfcMedicalDeviceType_OXYGENPLANT, IfcMedicalDeviceType_VACUUMSTATION, IfcMedicalDeviceType_USERDEFINED, IfcMedicalDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8601,13 +8601,13 @@ public: class IFC_PARSE_API IfcMemberTypeEnum : public express::DeclaredType { public: IfcMemberTypeEnum() {} - explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMemberType_ARCH_SEGMENT, IfcMemberType_BRACE, IfcMemberType_CHORD, IfcMemberType_COLLAR, IfcMemberType_MEMBER, IfcMemberType_MULLION, IfcMemberType_PLATE, IfcMemberType_POST, IfcMemberType_PURLIN, IfcMemberType_RAFTER, IfcMemberType_STAY_CABLE, IfcMemberType_STIFFENING_RIB, IfcMemberType_STRINGER, IfcMemberType_STRUCTURALCABLE, IfcMemberType_STRUT, IfcMemberType_STUD, IfcMemberType_SUSPENDER, IfcMemberType_SUSPENSION_CABLE, IfcMemberType_TIEBAR, IfcMemberType_USERDEFINED, IfcMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8616,13 +8616,13 @@ public: class IFC_PARSE_API IfcMobileTelecommunicationsApplianceTypeEnum : public express::DeclaredType { public: IfcMobileTelecommunicationsApplianceTypeEnum() {} - explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMobileTelecommunicationsApplianceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMobileTelecommunicationsApplianceType_ACCESSPOINT, IfcMobileTelecommunicationsApplianceType_BASEBANDUNIT, IfcMobileTelecommunicationsApplianceType_BASETRANSCEIVERSTATION, IfcMobileTelecommunicationsApplianceType_E_UTRAN_NODE_B, IfcMobileTelecommunicationsApplianceType_GATEWAY_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_MASTERUNIT, IfcMobileTelecommunicationsApplianceType_MOBILESWITCHINGCENTER, IfcMobileTelecommunicationsApplianceType_MSCSERVER, IfcMobileTelecommunicationsApplianceType_PACKETCONTROLUNIT, IfcMobileTelecommunicationsApplianceType_REMOTERADIOUNIT, IfcMobileTelecommunicationsApplianceType_REMOTEUNIT, IfcMobileTelecommunicationsApplianceType_SERVICE_GPRS_SUPPORT_NODE, IfcMobileTelecommunicationsApplianceType_SUBSCRIBERSERVER, IfcMobileTelecommunicationsApplianceType_USERDEFINED, IfcMobileTelecommunicationsApplianceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8631,13 +8631,13 @@ public: class IFC_PARSE_API IfcMooringDeviceTypeEnum : public express::DeclaredType { public: IfcMooringDeviceTypeEnum() {} - explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMooringDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMooringDeviceType_BOLLARD, IfcMooringDeviceType_LINETENSIONER, IfcMooringDeviceType_MAGNETICDEVICE, IfcMooringDeviceType_MOORINGHOOKS, IfcMooringDeviceType_VACUUMDEVICE, IfcMooringDeviceType_USERDEFINED, IfcMooringDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8654,13 +8654,13 @@ public: class IFC_PARSE_API IfcMotorConnectionTypeEnum : public express::DeclaredType { public: IfcMotorConnectionTypeEnum() {} - explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMotorConnectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcMotorConnectionType_BELTDRIVE, IfcMotorConnectionType_COUPLING, IfcMotorConnectionType_DIRECTDRIVE, IfcMotorConnectionType_USERDEFINED, IfcMotorConnectionType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8669,13 +8669,13 @@ public: class IFC_PARSE_API IfcNavigationElementTypeEnum : public express::DeclaredType { public: IfcNavigationElementTypeEnum() {} - explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNavigationElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcNavigationElementType_BEACON, IfcNavigationElementType_BUOY, IfcNavigationElementType_USERDEFINED, IfcNavigationElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8712,13 +8712,13 @@ public: class IFC_PARSE_API IfcObjectiveEnum : public express::DeclaredType { public: IfcObjectiveEnum() {} - explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcObjectiveEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcObjective_CODECOMPLIANCE, IfcObjective_CODEWAIVER, IfcObjective_DESIGNINTENT, IfcObjective_EXTERNAL, IfcObjective_HEALTHANDSAFETY, IfcObjective_MERGECONFLICT, IfcObjective_MODELVIEW, IfcObjective_PARAMETER, IfcObjective_REQUIREMENT, IfcObjective_SPECIFICATION, IfcObjective_TRIGGERCONDITION, IfcObjective_USERDEFINED, IfcObjective_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8739,13 +8739,13 @@ public: class IFC_PARSE_API IfcOccupantTypeEnum : public express::DeclaredType { public: IfcOccupantTypeEnum() {} - explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOccupantTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOccupantType_ASSIGNEE, IfcOccupantType_ASSIGNOR, IfcOccupantType_LESSEE, IfcOccupantType_LESSOR, IfcOccupantType_LETTINGAGENT, IfcOccupantType_OWNER, IfcOccupantType_TENANT, IfcOccupantType_USERDEFINED, IfcOccupantType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8773,13 +8773,13 @@ public: class IFC_PARSE_API IfcOpeningElementTypeEnum : public express::DeclaredType { public: IfcOpeningElementTypeEnum() {} - explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOpeningElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOpeningElementType_OPENING, IfcOpeningElementType_RECESS, IfcOpeningElementType_USERDEFINED, IfcOpeningElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8800,13 +8800,13 @@ public: class IFC_PARSE_API IfcOutletTypeEnum : public express::DeclaredType { public: IfcOutletTypeEnum() {} - explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcOutletTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcOutletType_AUDIOVISUALOUTLET, IfcOutletType_COMMUNICATIONSOUTLET, IfcOutletType_DATAOUTLET, IfcOutletType_POWEROUTLET, IfcOutletType_TELEPHONEOUTLET, IfcOutletType_USERDEFINED, IfcOutletType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8815,13 +8815,13 @@ public: class IFC_PARSE_API IfcPavementTypeEnum : public express::DeclaredType { public: IfcPavementTypeEnum() {} - explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPavementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPavementType_FLEXIBLE, IfcPavementType_RIGID, IfcPavementType_USERDEFINED, IfcPavementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8835,13 +8835,13 @@ public: class IFC_PARSE_API IfcPerformanceHistoryTypeEnum : public express::DeclaredType { public: IfcPerformanceHistoryTypeEnum() {} - explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPerformanceHistoryTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPerformanceHistoryType_USERDEFINED, IfcPerformanceHistoryType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8871,13 +8871,13 @@ public: class IFC_PARSE_API IfcPermeableCoveringOperationEnum : public express::DeclaredType { public: IfcPermeableCoveringOperationEnum() {} - explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermeableCoveringOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermeableCoveringOperation_GRILL, IfcPermeableCoveringOperation_LOUVER, IfcPermeableCoveringOperation_SCREEN, IfcPermeableCoveringOperation_USERDEFINED, IfcPermeableCoveringOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8894,13 +8894,13 @@ public: class IFC_PARSE_API IfcPermitTypeEnum : public express::DeclaredType { public: IfcPermitTypeEnum() {} - explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPermitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPermitType_ACCESS, IfcPermitType_BUILDING, IfcPermitType_WORK, IfcPermitType_USERDEFINED, IfcPermitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8931,13 +8931,13 @@ public: class IFC_PARSE_API IfcPhysicalOrVirtualEnum : public express::DeclaredType { public: IfcPhysicalOrVirtualEnum() {} - explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPhysicalOrVirtualEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPhysicalOrVirtual_PHYSICAL, IfcPhysicalOrVirtual_VIRTUAL, IfcPhysicalOrVirtual_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8967,13 +8967,13 @@ public: class IFC_PARSE_API IfcPileConstructionEnum : public express::DeclaredType { public: IfcPileConstructionEnum() {} - explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileConstructionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileConstruction_CAST_IN_PLACE, IfcPileConstruction_COMPOSITE, IfcPileConstruction_PRECAST_CONCRETE, IfcPileConstruction_PREFAB_STEEL, IfcPileConstruction_USERDEFINED, IfcPileConstruction_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -8994,13 +8994,13 @@ public: class IFC_PARSE_API IfcPileTypeEnum : public express::DeclaredType { public: IfcPileTypeEnum() {} - explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPileType_BORED, IfcPileType_COHESION, IfcPileType_DRIVEN, IfcPileType_FRICTION, IfcPileType_JETGROUTING, IfcPileType_SUPPORT, IfcPileType_USERDEFINED, IfcPileType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9039,13 +9039,13 @@ public: class IFC_PARSE_API IfcPipeFittingTypeEnum : public express::DeclaredType { public: IfcPipeFittingTypeEnum() {} - explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeFittingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeFittingType_BEND, IfcPipeFittingType_CONNECTOR, IfcPipeFittingType_ENTRY, IfcPipeFittingType_EXIT, IfcPipeFittingType_JUNCTION, IfcPipeFittingType_OBSTRUCTION, IfcPipeFittingType_TRANSITION, IfcPipeFittingType_USERDEFINED, IfcPipeFittingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9068,13 +9068,13 @@ public: class IFC_PARSE_API IfcPipeSegmentTypeEnum : public express::DeclaredType { public: IfcPipeSegmentTypeEnum() {} - explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPipeSegmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPipeSegmentType_CULVERT, IfcPipeSegmentType_FLEXIBLESEGMENT, IfcPipeSegmentType_GUTTER, IfcPipeSegmentType_RIGIDSEGMENT, IfcPipeSegmentType_SPOOL, IfcPipeSegmentType_USERDEFINED, IfcPipeSegmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9100,13 +9100,13 @@ public: class IFC_PARSE_API IfcPlateTypeEnum : public express::DeclaredType { public: IfcPlateTypeEnum() {} - explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPlateType_BASE_PLATE, IfcPlateType_COVER_PLATE, IfcPlateType_CURTAIN_PANEL, IfcPlateType_FLANGE_PLATE, IfcPlateType_GUSSET_PLATE, IfcPlateType_SHEET, IfcPlateType_SPLICE_PLATE, IfcPlateType_STIFFENER_PLATE, IfcPlateType_WEB_PLATE, IfcPlateType_USERDEFINED, IfcPlateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9115,13 +9115,13 @@ public: class IFC_PARSE_API IfcPreferredSurfaceCurveRepresentation : public express::DeclaredType { public: IfcPreferredSurfaceCurveRepresentation() {} - explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPreferredSurfaceCurveRepresentation (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPreferredSurfaceCurveRepresentation_CURVE3D, IfcPreferredSurfaceCurveRepresentation_PCURVE_S1, IfcPreferredSurfaceCurveRepresentation_PCURVE_S2} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9143,13 +9143,13 @@ public: class IFC_PARSE_API IfcProcedureTypeEnum : public express::DeclaredType { public: IfcProcedureTypeEnum() {} - explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProcedureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProcedureType_ADVICE_CAUTION, IfcProcedureType_ADVICE_NOTE, IfcProcedureType_ADVICE_WARNING, IfcProcedureType_CALIBRATION, IfcProcedureType_DIAGNOSTIC, IfcProcedureType_SHUTDOWN, IfcProcedureType_STARTUP, IfcProcedureType_USERDEFINED, IfcProcedureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9165,13 +9165,13 @@ public: class IFC_PARSE_API IfcProfileTypeEnum : public express::DeclaredType { public: IfcProfileTypeEnum() {} - explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProfileTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProfileType_AREA, IfcProfileType_CURVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9190,13 +9190,13 @@ public: class IFC_PARSE_API IfcProjectOrderTypeEnum : public express::DeclaredType { public: IfcProjectOrderTypeEnum() {} - explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectOrderTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectOrderType_CHANGEORDER, IfcProjectOrderType_MAINTENANCEWORKORDER, IfcProjectOrderType_MOVEORDER, IfcProjectOrderType_PURCHASEORDER, IfcProjectOrderType_WORKORDER, IfcProjectOrderType_USERDEFINED, IfcProjectOrderType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9210,13 +9210,13 @@ public: class IFC_PARSE_API IfcProjectedOrTrueLengthEnum : public express::DeclaredType { public: IfcProjectedOrTrueLengthEnum() {} - explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectedOrTrueLengthEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectedOrTrueLength_PROJECTED_LENGTH, IfcProjectedOrTrueLength_TRUE_LENGTH} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9236,13 +9236,13 @@ public: class IFC_PARSE_API IfcProjectionElementTypeEnum : public express::DeclaredType { public: IfcProjectionElementTypeEnum() {} - explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProjectionElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProjectionElementType_BLISTER, IfcProjectionElementType_DEVIATOR, IfcProjectionElementType_USERDEFINED, IfcProjectionElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9288,13 +9288,13 @@ public: class IFC_PARSE_API IfcPropertySetTemplateTypeEnum : public express::DeclaredType { public: IfcPropertySetTemplateTypeEnum() {} - explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPropertySetTemplateType_PSET_MATERIALDRIVEN, IfcPropertySetTemplateType_PSET_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_PSET_PERFORMANCEDRIVEN, IfcPropertySetTemplateType_PSET_PROFILEDRIVEN, IfcPropertySetTemplateType_PSET_TYPEDRIVENONLY, IfcPropertySetTemplateType_PSET_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_QTO_OCCURRENCEDRIVEN, IfcPropertySetTemplateType_QTO_TYPEDRIVENONLY, IfcPropertySetTemplateType_QTO_TYPEDRIVENOVERRIDE, IfcPropertySetTemplateType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9309,13 +9309,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTrippingUnitTypeEnum() {} - explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTrippingUnitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceTrippingUnitType_ELECTROMAGNETIC, IfcProtectiveDeviceTrippingUnitType_ELECTRONIC, IfcProtectiveDeviceTrippingUnitType_RESIDUALCURRENT, IfcProtectiveDeviceTrippingUnitType_THERMAL, IfcProtectiveDeviceTrippingUnitType_USERDEFINED, IfcProtectiveDeviceTrippingUnitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9338,13 +9338,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTypeEnum : public express::DeclaredType { public: IfcProtectiveDeviceTypeEnum() {} - explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcProtectiveDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcProtectiveDeviceType_ANTI_ARCING_DEVICE, IfcProtectiveDeviceType_CIRCUITBREAKER, IfcProtectiveDeviceType_EARTHINGSWITCH, IfcProtectiveDeviceType_EARTHLEAKAGECIRCUITBREAKER, IfcProtectiveDeviceType_FUSEDISCONNECTOR, IfcProtectiveDeviceType_RESIDUALCURRENTCIRCUITBREAKER, IfcProtectiveDeviceType_RESIDUALCURRENTSWITCH, IfcProtectiveDeviceType_SPARKGAP, IfcProtectiveDeviceType_VARISTOR, IfcProtectiveDeviceType_VOLTAGELIMITER, IfcProtectiveDeviceType_USERDEFINED, IfcProtectiveDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9380,13 +9380,13 @@ public: class IFC_PARSE_API IfcPumpTypeEnum : public express::DeclaredType { public: IfcPumpTypeEnum() {} - explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPumpTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcPumpType_CIRCULATOR, IfcPumpType_ENDSUCTION, IfcPumpType_SPLITCASE, IfcPumpType_SUBMERSIBLEPUMP, IfcPumpType_SUMPPUMP, IfcPumpType_VERTICALINLINE, IfcPumpType_VERTICALTURBINE, IfcPumpType_USERDEFINED, IfcPumpType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9395,13 +9395,13 @@ public: class IFC_PARSE_API IfcRailTypeEnum : public express::DeclaredType { public: IfcRailTypeEnum() {} - explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailType_BLADE, IfcRailType_CHECKRAIL, IfcRailType_GUARDRAIL, IfcRailType_RACKRAIL, IfcRailType_RAIL, IfcRailType_STOCKRAIL, IfcRailType_USERDEFINED, IfcRailType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9429,13 +9429,13 @@ public: class IFC_PARSE_API IfcRailingTypeEnum : public express::DeclaredType { public: IfcRailingTypeEnum() {} - explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailingTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailingType_BALUSTRADE, IfcRailingType_FENCE, IfcRailingType_GUARDRAIL, IfcRailingType_HANDRAIL, IfcRailingType_USERDEFINED, IfcRailingType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9444,13 +9444,13 @@ public: class IFC_PARSE_API IfcRailwayPartTypeEnum : public express::DeclaredType { public: IfcRailwayPartTypeEnum() {} - explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayPartType_DILATATIONSUPERSTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTURE, IfcRailwayPartType_LINESIDESTRUCTUREPART, IfcRailwayPartType_PLAINTRACKSUPERSTRUCTURE, IfcRailwayPartType_SUPERSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTURE, IfcRailwayPartType_TRACKSTRUCTUREPART, IfcRailwayPartType_TURNOUTSUPERSTRUCTURE, IfcRailwayPartType_USERDEFINED, IfcRailwayPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9459,13 +9459,13 @@ public: class IFC_PARSE_API IfcRailwayTypeEnum : public express::DeclaredType { public: IfcRailwayTypeEnum() {} - explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRailwayTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRailwayType_USERDEFINED, IfcRailwayType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9484,13 +9484,13 @@ public: class IFC_PARSE_API IfcRampFlightTypeEnum : public express::DeclaredType { public: IfcRampFlightTypeEnum() {} - explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampFlightType_SPIRAL, IfcRampFlightType_STRAIGHT, IfcRampFlightType_USERDEFINED, IfcRampFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9546,13 +9546,13 @@ public: class IFC_PARSE_API IfcRampTypeEnum : public express::DeclaredType { public: IfcRampTypeEnum() {} - explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRampTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRampType_HALF_TURN_RAMP, IfcRampType_QUARTER_TURN_RAMP, IfcRampType_SPIRAL_RAMP, IfcRampType_STRAIGHT_RUN_RAMP, IfcRampType_TWO_QUARTER_TURN_RAMP, IfcRampType_TWO_STRAIGHT_RUN_RAMP, IfcRampType_USERDEFINED, IfcRampType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9581,13 +9581,13 @@ public: class IFC_PARSE_API IfcRecurrenceTypeEnum : public express::DeclaredType { public: IfcRecurrenceTypeEnum() {} - explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRecurrenceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRecurrenceType_BY_DAY_COUNT, IfcRecurrenceType_BY_WEEKDAY_COUNT, IfcRecurrenceType_DAILY, IfcRecurrenceType_MONTHLY_BY_DAY_OF_MONTH, IfcRecurrenceType_MONTHLY_BY_POSITION, IfcRecurrenceType_WEEKLY, IfcRecurrenceType_YEARLY_BY_DAY_OF_MONTH, IfcRecurrenceType_YEARLY_BY_POSITION} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9596,13 +9596,13 @@ public: class IFC_PARSE_API IfcReferentTypeEnum : public express::DeclaredType { public: IfcReferentTypeEnum() {} - explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReferentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReferentType_BOUNDARY, IfcReferentType_INTERSECTION, IfcReferentType_KILOPOINT, IfcReferentType_LANDMARK, IfcReferentType_MILEPOINT, IfcReferentType_POSITION, IfcReferentType_REFERENCEMARKER, IfcReferentType_STATION, IfcReferentType_USERDEFINED, IfcReferentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9626,13 +9626,13 @@ public: class IFC_PARSE_API IfcReflectanceMethodEnum : public express::DeclaredType { public: IfcReflectanceMethodEnum() {} - explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReflectanceMethodEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReflectanceMethod_BLINN, IfcReflectanceMethod_FLAT, IfcReflectanceMethod_GLASS, IfcReflectanceMethod_MATT, IfcReflectanceMethod_METAL, IfcReflectanceMethod_MIRROR, IfcReflectanceMethod_PHONG, IfcReflectanceMethod_PHYSICAL, IfcReflectanceMethod_PLASTIC, IfcReflectanceMethod_STRAUSS, IfcReflectanceMethod_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9641,13 +9641,13 @@ public: class IFC_PARSE_API IfcReinforcedSoilTypeEnum : public express::DeclaredType { public: IfcReinforcedSoilTypeEnum() {} - explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcedSoilTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcedSoilType_DYNAMICALLYCOMPACTED, IfcReinforcedSoilType_GROUTED, IfcReinforcedSoilType_REPLACED, IfcReinforcedSoilType_ROLLERCOMPACTED, IfcReinforcedSoilType_SURCHARGEPRELOADED, IfcReinforcedSoilType_VERTICALLYDRAINED, IfcReinforcedSoilType_USERDEFINED, IfcReinforcedSoilType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9674,13 +9674,13 @@ public: class IFC_PARSE_API IfcReinforcingBarRoleEnum : public express::DeclaredType { public: IfcReinforcingBarRoleEnum() {} - explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarRole_ANCHORING, IfcReinforcingBarRole_EDGE, IfcReinforcingBarRole_LIGATURE, IfcReinforcingBarRole_MAIN, IfcReinforcingBarRole_PUNCHING, IfcReinforcingBarRole_RING, IfcReinforcingBarRole_SHEAR, IfcReinforcingBarRole_STUD, IfcReinforcingBarRole_USERDEFINED, IfcReinforcingBarRole_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9697,13 +9697,13 @@ public: class IFC_PARSE_API IfcReinforcingBarSurfaceEnum : public express::DeclaredType { public: IfcReinforcingBarSurfaceEnum() {} - explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarSurfaceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarSurface_PLAIN, IfcReinforcingBarSurface_TEXTURED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9712,13 +9712,13 @@ public: class IFC_PARSE_API IfcReinforcingBarTypeEnum : public express::DeclaredType { public: IfcReinforcingBarTypeEnum() {} - explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingBarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingBarType_ANCHORING, IfcReinforcingBarType_EDGE, IfcReinforcingBarType_LIGATURE, IfcReinforcingBarType_MAIN, IfcReinforcingBarType_PUNCHING, IfcReinforcingBarType_RING, IfcReinforcingBarType_SHEAR, IfcReinforcingBarType_SPACEBAR, IfcReinforcingBarType_STUD, IfcReinforcingBarType_USERDEFINED, IfcReinforcingBarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9727,13 +9727,13 @@ public: class IFC_PARSE_API IfcReinforcingMeshTypeEnum : public express::DeclaredType { public: IfcReinforcingMeshTypeEnum() {} - explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReinforcingMeshTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcReinforcingMeshType_USERDEFINED, IfcReinforcingMeshType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9742,13 +9742,13 @@ public: class IFC_PARSE_API IfcRoadPartTypeEnum : public express::DeclaredType { public: IfcRoadPartTypeEnum() {} - explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadPartTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadPartType_BICYCLECROSSING, IfcRoadPartType_BUS_STOP, IfcRoadPartType_CARRIAGEWAY, IfcRoadPartType_CENTRALISLAND, IfcRoadPartType_CENTRALRESERVE, IfcRoadPartType_HARDSHOULDER, IfcRoadPartType_INTERSECTION, IfcRoadPartType_LAYBY, IfcRoadPartType_PARKINGBAY, IfcRoadPartType_PASSINGBAY, IfcRoadPartType_PEDESTRIAN_CROSSING, IfcRoadPartType_RAILWAYCROSSING, IfcRoadPartType_REFUGEISLAND, IfcRoadPartType_ROADSEGMENT, IfcRoadPartType_ROADSIDE, IfcRoadPartType_ROADSIDEPART, IfcRoadPartType_ROADWAYPLATEAU, IfcRoadPartType_ROUNDABOUT, IfcRoadPartType_SHOULDER, IfcRoadPartType_SIDEWALK, IfcRoadPartType_SOFTSHOULDER, IfcRoadPartType_TOLLPLAZA, IfcRoadPartType_TRAFFICISLAND, IfcRoadPartType_TRAFFICLANE, IfcRoadPartType_USERDEFINED, IfcRoadPartType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9757,13 +9757,13 @@ public: class IFC_PARSE_API IfcRoadTypeEnum : public express::DeclaredType { public: IfcRoadTypeEnum() {} - explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoadTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoadType_USERDEFINED, IfcRoadType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9800,13 +9800,13 @@ public: class IFC_PARSE_API IfcRoleEnum : public express::DeclaredType { public: IfcRoleEnum() {} - explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoleEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRole_ARCHITECT, IfcRole_BUILDINGOPERATOR, IfcRole_BUILDINGOWNER, IfcRole_CIVILENGINEER, IfcRole_CLIENT, IfcRole_COMMISSIONINGENGINEER, IfcRole_CONSTRUCTIONMANAGER, IfcRole_CONSULTANT, IfcRole_CONTRACTOR, IfcRole_COSTENGINEER, IfcRole_ELECTRICALENGINEER, IfcRole_ENGINEER, IfcRole_FACILITIESMANAGER, IfcRole_FIELDCONSTRUCTIONMANAGER, IfcRole_MANUFACTURER, IfcRole_MECHANICALENGINEER, IfcRole_OWNER, IfcRole_PROJECTMANAGER, IfcRole_RESELLER, IfcRole_STRUCTURALENGINEER, IfcRole_SUBCONTRACTOR, IfcRole_SUPPLIER, IfcRole_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9880,13 +9880,13 @@ public: class IFC_PARSE_API IfcRoofTypeEnum : public express::DeclaredType { public: IfcRoofTypeEnum() {} - explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRoofTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcRoofType_BARREL_ROOF, IfcRoofType_BUTTERFLY_ROOF, IfcRoofType_DOME_ROOF, IfcRoofType_FLAT_ROOF, IfcRoofType_FREEFORM, IfcRoofType_GABLE_ROOF, IfcRoofType_GAMBREL_ROOF, IfcRoofType_HIPPED_GABLE_ROOF, IfcRoofType_HIP_ROOF, IfcRoofType_MANSARD_ROOF, IfcRoofType_PAVILION_ROOF, IfcRoofType_RAINBOW_ROOF, IfcRoofType_SHED_ROOF, IfcRoofType_USERDEFINED, IfcRoofType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9921,13 +9921,13 @@ public: class IFC_PARSE_API IfcSIPrefix : public express::DeclaredType { public: IfcSIPrefix() {} - explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIPrefix (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIPrefix_ATTO, IfcSIPrefix_CENTI, IfcSIPrefix_DECA, IfcSIPrefix_DECI, IfcSIPrefix_EXA, IfcSIPrefix_FEMTO, IfcSIPrefix_GIGA, IfcSIPrefix_HECTO, IfcSIPrefix_KILO, IfcSIPrefix_MEGA, IfcSIPrefix_MICRO, IfcSIPrefix_MILLI, IfcSIPrefix_NANO, IfcSIPrefix_PETA, IfcSIPrefix_PICO, IfcSIPrefix_TERA} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -9974,13 +9974,13 @@ public: class IFC_PARSE_API IfcSIUnitName : public express::DeclaredType { public: IfcSIUnitName() {} - explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSIUnitName (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSIUnitName_AMPERE, IfcSIUnitName_BECQUEREL, IfcSIUnitName_CANDELA, IfcSIUnitName_COULOMB, IfcSIUnitName_CUBIC_METRE, IfcSIUnitName_DEGREE_CELSIUS, IfcSIUnitName_FARAD, IfcSIUnitName_GRAM, IfcSIUnitName_GRAY, IfcSIUnitName_HENRY, IfcSIUnitName_HERTZ, IfcSIUnitName_JOULE, IfcSIUnitName_KELVIN, IfcSIUnitName_LUMEN, IfcSIUnitName_LUX, IfcSIUnitName_METRE, IfcSIUnitName_MOLE, IfcSIUnitName_NEWTON, IfcSIUnitName_OHM, IfcSIUnitName_PASCAL, IfcSIUnitName_RADIAN, IfcSIUnitName_SECOND, IfcSIUnitName_SIEMENS, IfcSIUnitName_SIEVERT, IfcSIUnitName_SQUARE_METRE, IfcSIUnitName_STERADIAN, IfcSIUnitName_TESLA, IfcSIUnitName_VOLT, IfcSIUnitName_WATT, IfcSIUnitName_WEBER} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10007,13 +10007,13 @@ public: class IFC_PARSE_API IfcSanitaryTerminalTypeEnum : public express::DeclaredType { public: IfcSanitaryTerminalTypeEnum() {} - explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSanitaryTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSanitaryTerminalType_BATH, IfcSanitaryTerminalType_BIDET, IfcSanitaryTerminalType_CISTERN, IfcSanitaryTerminalType_SANITARYFOUNTAIN, IfcSanitaryTerminalType_SHOWER, IfcSanitaryTerminalType_SINK, IfcSanitaryTerminalType_TOILETPAN, IfcSanitaryTerminalType_URINAL, IfcSanitaryTerminalType_WASHHANDBASIN, IfcSanitaryTerminalType_WCSEAT, IfcSanitaryTerminalType_USERDEFINED, IfcSanitaryTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10031,13 +10031,13 @@ public: class IFC_PARSE_API IfcSectionTypeEnum : public express::DeclaredType { public: IfcSectionTypeEnum() {} - explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSectionType_TAPERED, IfcSectionType_UNIFORM} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10073,13 +10073,13 @@ public: class IFC_PARSE_API IfcSensorTypeEnum : public express::DeclaredType { public: IfcSensorTypeEnum() {} - explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSensorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSensorType_CO2SENSOR, IfcSensorType_CONDUCTANCESENSOR, IfcSensorType_CONTACTSENSOR, IfcSensorType_COSENSOR, IfcSensorType_EARTHQUAKESENSOR, IfcSensorType_FIRESENSOR, IfcSensorType_FLOWSENSOR, IfcSensorType_FOREIGNOBJECTDETECTIONSENSOR, IfcSensorType_FROSTSENSOR, IfcSensorType_GASSENSOR, IfcSensorType_HEATSENSOR, IfcSensorType_HUMIDITYSENSOR, IfcSensorType_IDENTIFIERSENSOR, IfcSensorType_IONCONCENTRATIONSENSOR, IfcSensorType_LEVELSENSOR, IfcSensorType_LIGHTSENSOR, IfcSensorType_MOISTURESENSOR, IfcSensorType_MOVEMENTSENSOR, IfcSensorType_OBSTACLESENSOR, IfcSensorType_PHSENSOR, IfcSensorType_PRESSURESENSOR, IfcSensorType_RADIATIONSENSOR, IfcSensorType_RADIOACTIVITYSENSOR, IfcSensorType_RAINSENSOR, IfcSensorType_SMOKESENSOR, IfcSensorType_SNOWDEPTHSENSOR, IfcSensorType_SOUNDSENSOR, IfcSensorType_TEMPERATURESENSOR, IfcSensorType_TRAINSENSOR, IfcSensorType_TURNOUTCLOSURESENSOR, IfcSensorType_WHEELSENSOR, IfcSensorType_WINDSENSOR, IfcSensorType_USERDEFINED, IfcSensorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10092,13 +10092,13 @@ public: class IFC_PARSE_API IfcSequenceEnum : public express::DeclaredType { public: IfcSequenceEnum() {} - explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSequenceEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSequence_FINISH_FINISH, IfcSequence_FINISH_START, IfcSequence_START_FINISH, IfcSequence_START_START, IfcSequence_USERDEFINED, IfcSequence_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10116,13 +10116,13 @@ public: class IFC_PARSE_API IfcShadingDeviceTypeEnum : public express::DeclaredType { public: IfcShadingDeviceTypeEnum() {} - explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShadingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcShadingDeviceType_AWNING, IfcShadingDeviceType_JALOUSIE, IfcShadingDeviceType_SHUTTER, IfcShadingDeviceType_USERDEFINED, IfcShadingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10131,13 +10131,13 @@ public: class IFC_PARSE_API IfcSignTypeEnum : public express::DeclaredType { public: IfcSignTypeEnum() {} - explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignType_MARKER, IfcSignType_MIRROR, IfcSignType_PICTORAL, IfcSignType_USERDEFINED, IfcSignType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10146,13 +10146,13 @@ public: class IFC_PARSE_API IfcSignalTypeEnum : public express::DeclaredType { public: IfcSignalTypeEnum() {} - explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSignalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSignalType_AUDIO, IfcSignalType_MIXED, IfcSignalType_VISUAL, IfcSignalType_USERDEFINED, IfcSignalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10178,13 +10178,13 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplateTypeEnum : public express::DeclaredType { public: IfcSimplePropertyTemplateTypeEnum() {} - explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSimplePropertyTemplateTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSimplePropertyTemplateType_P_BOUNDEDVALUE, IfcSimplePropertyTemplateType_P_ENUMERATEDVALUE, IfcSimplePropertyTemplateType_P_LISTVALUE, IfcSimplePropertyTemplateType_P_REFERENCEVALUE, IfcSimplePropertyTemplateType_P_SINGLEVALUE, IfcSimplePropertyTemplateType_P_TABLEVALUE, IfcSimplePropertyTemplateType_Q_AREA, IfcSimplePropertyTemplateType_Q_COUNT, IfcSimplePropertyTemplateType_Q_LENGTH, IfcSimplePropertyTemplateType_Q_NUMBER, IfcSimplePropertyTemplateType_Q_TIME, IfcSimplePropertyTemplateType_Q_VOLUME, IfcSimplePropertyTemplateType_Q_WEIGHT} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10224,13 +10224,13 @@ public: class IFC_PARSE_API IfcSlabTypeEnum : public express::DeclaredType { public: IfcSlabTypeEnum() {} - explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSlabTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSlabType_APPROACH_SLAB, IfcSlabType_BASESLAB, IfcSlabType_FLOOR, IfcSlabType_LANDING, IfcSlabType_PAVING, IfcSlabType_ROOF, IfcSlabType_SIDEWALK, IfcSlabType_TRACKSLAB, IfcSlabType_WEARING, IfcSlabType_USERDEFINED, IfcSlabType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10247,13 +10247,13 @@ public: class IFC_PARSE_API IfcSolarDeviceTypeEnum : public express::DeclaredType { public: IfcSolarDeviceTypeEnum() {} - explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolarDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSolarDeviceType_SOLARCOLLECTOR, IfcSolarDeviceType_SOLARPANEL, IfcSolarDeviceType_USERDEFINED, IfcSolarDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10273,13 +10273,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterTypeEnum : public express::DeclaredType { public: IfcSpaceHeaterTypeEnum() {} - explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceHeaterTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceHeaterType_CONVECTOR, IfcSpaceHeaterType_RADIATOR, IfcSpaceHeaterType_USERDEFINED, IfcSpaceHeaterType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10322,13 +10322,13 @@ public: class IFC_PARSE_API IfcSpaceTypeEnum : public express::DeclaredType { public: IfcSpaceTypeEnum() {} - explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpaceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpaceType_BERTH, IfcSpaceType_EXTERNAL, IfcSpaceType_GFA, IfcSpaceType_INTERNAL, IfcSpaceType_PARKING, IfcSpaceType_SPACE, IfcSpaceType_USERDEFINED, IfcSpaceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10361,13 +10361,13 @@ public: class IFC_PARSE_API IfcSpatialZoneTypeEnum : public express::DeclaredType { public: IfcSpatialZoneTypeEnum() {} - explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpatialZoneTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSpatialZoneType_CONSTRUCTION, IfcSpatialZoneType_FIRESAFETY, IfcSpatialZoneType_INTERFERENCE, IfcSpatialZoneType_LIGHTING, IfcSpatialZoneType_OCCUPANCY, IfcSpatialZoneType_RESERVATION, IfcSpatialZoneType_SECURITY, IfcSpatialZoneType_THERMAL, IfcSpatialZoneType_TRANSPORT, IfcSpatialZoneType_VENTILATION, IfcSpatialZoneType_USERDEFINED, IfcSpatialZoneType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10384,13 +10384,13 @@ public: class IFC_PARSE_API IfcStackTerminalTypeEnum : public express::DeclaredType { public: IfcStackTerminalTypeEnum() {} - explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStackTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStackTerminalType_BIRDCAGE, IfcStackTerminalType_COWL, IfcStackTerminalType_RAINWATERHOPPER, IfcStackTerminalType_USERDEFINED, IfcStackTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10413,13 +10413,13 @@ public: class IFC_PARSE_API IfcStairFlightTypeEnum : public express::DeclaredType { public: IfcStairFlightTypeEnum() {} - explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairFlightTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairFlightType_CURVED, IfcStairFlightType_FREEFORM, IfcStairFlightType_SPIRAL, IfcStairFlightType_STRAIGHT, IfcStairFlightType_WINDER, IfcStairFlightType_USERDEFINED, IfcStairFlightType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10520,13 +10520,13 @@ public: class IFC_PARSE_API IfcStairTypeEnum : public express::DeclaredType { public: IfcStairTypeEnum() {} - explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStairTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStairType_CURVED_RUN_STAIR, IfcStairType_DOUBLE_RETURN_STAIR, IfcStairType_HALF_TURN_STAIR, IfcStairType_HALF_WINDING_STAIR, IfcStairType_LADDER, IfcStairType_QUARTER_TURN_STAIR, IfcStairType_QUARTER_WINDING_STAIR, IfcStairType_SPIRAL_STAIR, IfcStairType_STRAIGHT_RUN_STAIR, IfcStairType_THREE_QUARTER_TURN_STAIR, IfcStairType_THREE_QUARTER_WINDING_STAIR, IfcStairType_TWO_CURVED_RUN_STAIR, IfcStairType_TWO_QUARTER_TURN_STAIR, IfcStairType_TWO_QUARTER_WINDING_STAIR, IfcStairType_TWO_STRAIGHT_RUN_STAIR, IfcStairType_USERDEFINED, IfcStairType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10547,13 +10547,13 @@ public: class IFC_PARSE_API IfcStateEnum : public express::DeclaredType { public: IfcStateEnum() {} - explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStateEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcState_LOCKED, IfcState_READONLY, IfcState_READONLYLOCKED, IfcState_READWRITE, IfcState_READWRITELOCKED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10576,13 +10576,13 @@ public: class IFC_PARSE_API IfcStructuralCurveActivityTypeEnum : public express::DeclaredType { public: IfcStructuralCurveActivityTypeEnum() {} - explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveActivityType_CONST, IfcStructuralCurveActivityType_DISCRETE, IfcStructuralCurveActivityType_EQUIDISTANT, IfcStructuralCurveActivityType_LINEAR, IfcStructuralCurveActivityType_PARABOLA, IfcStructuralCurveActivityType_POLYGONAL, IfcStructuralCurveActivityType_SINUS, IfcStructuralCurveActivityType_USERDEFINED, IfcStructuralCurveActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10608,13 +10608,13 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberTypeEnum : public express::DeclaredType { public: IfcStructuralCurveMemberTypeEnum() {} - explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralCurveMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralCurveMemberType_CABLE, IfcStructuralCurveMemberType_COMPRESSION_MEMBER, IfcStructuralCurveMemberType_PIN_JOINED_MEMBER, IfcStructuralCurveMemberType_RIGID_JOINED_MEMBER, IfcStructuralCurveMemberType_TENSION_MEMBER, IfcStructuralCurveMemberType_USERDEFINED, IfcStructuralCurveMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10634,13 +10634,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceActivityTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceActivityTypeEnum() {} - explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceActivityTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceActivityType_BILINEAR, IfcStructuralSurfaceActivityType_CONST, IfcStructuralSurfaceActivityType_DISCRETE, IfcStructuralSurfaceActivityType_ISOCONTOUR, IfcStructuralSurfaceActivityType_USERDEFINED, IfcStructuralSurfaceActivityType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10662,13 +10662,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberTypeEnum : public express::DeclaredType { public: IfcStructuralSurfaceMemberTypeEnum() {} - explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStructuralSurfaceMemberTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcStructuralSurfaceMemberType_BENDING_ELEMENT, IfcStructuralSurfaceMemberType_MEMBRANE_ELEMENT, IfcStructuralSurfaceMemberType_SHELL, IfcStructuralSurfaceMemberType_USERDEFINED, IfcStructuralSurfaceMemberType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10684,13 +10684,13 @@ public: class IFC_PARSE_API IfcSubContractResourceTypeEnum : public express::DeclaredType { public: IfcSubContractResourceTypeEnum() {} - explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSubContractResourceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSubContractResourceType_PURCHASE, IfcSubContractResourceType_WORK, IfcSubContractResourceType_USERDEFINED, IfcSubContractResourceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10709,13 +10709,13 @@ public: class IFC_PARSE_API IfcSurfaceFeatureTypeEnum : public express::DeclaredType { public: IfcSurfaceFeatureTypeEnum() {} - explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceFeatureType_DEFECT, IfcSurfaceFeatureType_HATCHMARKING, IfcSurfaceFeatureType_LINEMARKING, IfcSurfaceFeatureType_MARK, IfcSurfaceFeatureType_NONSKIDSURFACING, IfcSurfaceFeatureType_PAVEMENTSURFACEMARKING, IfcSurfaceFeatureType_RUMBLESTRIP, IfcSurfaceFeatureType_SYMBOLMARKING, IfcSurfaceFeatureType_TAG, IfcSurfaceFeatureType_TRANSVERSERUMBLESTRIP, IfcSurfaceFeatureType_TREATMENT, IfcSurfaceFeatureType_USERDEFINED, IfcSurfaceFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10734,13 +10734,13 @@ public: class IFC_PARSE_API IfcSurfaceSide : public express::DeclaredType { public: IfcSurfaceSide() {} - explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSurfaceSide (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSurfaceSide_BOTH, IfcSurfaceSide_NEGATIVE, IfcSurfaceSide_POSITIVE} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10764,13 +10764,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceTypeEnum : public express::DeclaredType { public: IfcSwitchingDeviceTypeEnum() {} - explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSwitchingDeviceTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSwitchingDeviceType_CONTACTOR, IfcSwitchingDeviceType_DIMMERSWITCH, IfcSwitchingDeviceType_EMERGENCYSTOP, IfcSwitchingDeviceType_KEYPAD, IfcSwitchingDeviceType_MOMENTARYSWITCH, IfcSwitchingDeviceType_RELAY, IfcSwitchingDeviceType_SELECTORSWITCH, IfcSwitchingDeviceType_STARTER, IfcSwitchingDeviceType_START_AND_STOP_EQUIPMENT, IfcSwitchingDeviceType_SWITCHDISCONNECTOR, IfcSwitchingDeviceType_TOGGLESWITCH, IfcSwitchingDeviceType_USERDEFINED, IfcSwitchingDeviceType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10786,13 +10786,13 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementTypeEnum : public express::DeclaredType { public: IfcSystemFurnitureElementTypeEnum() {} - explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSystemFurnitureElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcSystemFurnitureElementType_PANEL, IfcSystemFurnitureElementType_SUBRACK, IfcSystemFurnitureElementType_WORKSURFACE, IfcSystemFurnitureElementType_USERDEFINED, IfcSystemFurnitureElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10823,13 +10823,13 @@ public: class IFC_PARSE_API IfcTankTypeEnum : public express::DeclaredType { public: IfcTankTypeEnum() {} - explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTankTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTankType_BASIN, IfcTankType_BREAKPRESSURE, IfcTankType_EXPANSION, IfcTankType_FEEDANDEXPANSION, IfcTankType_OILRETENTIONTRAY, IfcTankType_PRESSUREVESSEL, IfcTankType_STORAGE, IfcTankType_VESSEL, IfcTankType_USERDEFINED, IfcTankType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10844,13 +10844,13 @@ public: class IFC_PARSE_API IfcTaskDurationEnum : public express::DeclaredType { public: IfcTaskDurationEnum() {} - explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskDurationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskDuration_ELAPSEDTIME, IfcTaskDuration_WORKTIME, IfcTaskDuration_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10876,13 +10876,13 @@ public: class IFC_PARSE_API IfcTaskTypeEnum : public express::DeclaredType { public: IfcTaskTypeEnum() {} - explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTaskTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTaskType_ADJUSTMENT, IfcTaskType_ATTENDANCE, IfcTaskType_CALIBRATION, IfcTaskType_CONSTRUCTION, IfcTaskType_DEMOLITION, IfcTaskType_DISMANTLE, IfcTaskType_DISPOSAL, IfcTaskType_EMERGENCY, IfcTaskType_INSPECTION, IfcTaskType_INSTALLATION, IfcTaskType_LOGISTIC, IfcTaskType_MAINTENANCE, IfcTaskType_MOVE, IfcTaskType_OPERATION, IfcTaskType_REMOVAL, IfcTaskType_RENOVATION, IfcTaskType_SAFETY, IfcTaskType_SHUTDOWN, IfcTaskType_STARTUP, IfcTaskType_TESTING, IfcTaskType_TROUBLESHOOTING, IfcTaskType_USERDEFINED, IfcTaskType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10891,13 +10891,13 @@ public: class IFC_PARSE_API IfcTendonAnchorTypeEnum : public express::DeclaredType { public: IfcTendonAnchorTypeEnum() {} - explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonAnchorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonAnchorType_COUPLER, IfcTendonAnchorType_FIXED_END, IfcTendonAnchorType_TENSIONING_END, IfcTendonAnchorType_USERDEFINED, IfcTendonAnchorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10906,13 +10906,13 @@ public: class IFC_PARSE_API IfcTendonConduitTypeEnum : public express::DeclaredType { public: IfcTendonConduitTypeEnum() {} - explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonConduitTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonConduitType_COUPLER, IfcTendonConduitType_DIABOLO, IfcTendonConduitType_DUCT, IfcTendonConduitType_GROUTING_DUCT, IfcTendonConduitType_TRUMPET, IfcTendonConduitType_USERDEFINED, IfcTendonConduitType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10921,13 +10921,13 @@ public: class IFC_PARSE_API IfcTendonTypeEnum : public express::DeclaredType { public: IfcTendonTypeEnum() {} - explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTendonTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTendonType_BAR, IfcTendonType_COATED, IfcTendonType_STRAND, IfcTendonType_WIRE, IfcTendonType_USERDEFINED, IfcTendonType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10942,13 +10942,13 @@ public: class IFC_PARSE_API IfcTextPath : public express::DeclaredType { public: IfcTextPath() {} - explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextPath (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTextPath_DOWN, IfcTextPath_LEFT, IfcTextPath_RIGHT, IfcTextPath_UP} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10967,13 +10967,13 @@ public: class IFC_PARSE_API IfcTimeSeriesDataTypeEnum : public express::DeclaredType { public: IfcTimeSeriesDataTypeEnum() {} - explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeSeriesDataTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTimeSeriesDataType_CONTINUOUS, IfcTimeSeriesDataType_DISCRETE, IfcTimeSeriesDataType_DISCRETEBINARY, IfcTimeSeriesDataType_PIECEWISEBINARY, IfcTimeSeriesDataType_PIECEWISECONSTANT, IfcTimeSeriesDataType_PIECEWISECONTINUOUS, IfcTimeSeriesDataType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -10982,13 +10982,13 @@ public: class IFC_PARSE_API IfcTrackElementTypeEnum : public express::DeclaredType { public: IfcTrackElementTypeEnum() {} - explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrackElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrackElementType_BLOCKINGDEVICE, IfcTrackElementType_DERAILER, IfcTrackElementType_FROG, IfcTrackElementType_HALF_SET_OF_BLADES, IfcTrackElementType_SLEEPER, IfcTrackElementType_SPEEDREGULATOR, IfcTrackElementType_TRACKENDOFALIGNMENT, IfcTrackElementType_VEHICLESTOP, IfcTrackElementType_USERDEFINED, IfcTrackElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11007,13 +11007,13 @@ public: class IFC_PARSE_API IfcTransformerTypeEnum : public express::DeclaredType { public: IfcTransformerTypeEnum() {} - explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransformerTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransformerType_CHOPPER, IfcTransformerType_COMBINED, IfcTransformerType_CURRENT, IfcTransformerType_FREQUENCY, IfcTransformerType_INVERTER, IfcTransformerType_RECTIFIER, IfcTransformerType_VOLTAGE, IfcTransformerType_USERDEFINED, IfcTransformerType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11037,13 +11037,13 @@ public: class IFC_PARSE_API IfcTransitionCode : public express::DeclaredType { public: IfcTransitionCode() {} - explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransitionCode (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransitionCode_CONTINUOUS, IfcTransitionCode_CONTSAMEGRADIENT, IfcTransitionCode_CONTSAMEGRADIENTSAMECURVATURE, IfcTransitionCode_DISCONTINUOUS} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11075,13 +11075,13 @@ public: class IFC_PARSE_API IfcTransportElementTypeEnum : public express::DeclaredType { public: IfcTransportElementTypeEnum() {} - explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTransportElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTransportElementType_CRANEWAY, IfcTransportElementType_ELEVATOR, IfcTransportElementType_ESCALATOR, IfcTransportElementType_HAULINGGEAR, IfcTransportElementType_LIFTINGGEAR, IfcTransportElementType_MOVINGWALKWAY, IfcTransportElementType_USERDEFINED, IfcTransportElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11100,13 +11100,13 @@ public: class IFC_PARSE_API IfcTrimmingPreference : public express::DeclaredType { public: IfcTrimmingPreference() {} - explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTrimmingPreference (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTrimmingPreference_CARTESIAN, IfcTrimmingPreference_PARAMETER, IfcTrimmingPreference_UNSPECIFIED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11122,13 +11122,13 @@ public: class IFC_PARSE_API IfcTubeBundleTypeEnum : public express::DeclaredType { public: IfcTubeBundleTypeEnum() {} - explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTubeBundleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcTubeBundleType_FINNED, IfcTubeBundleType_USERDEFINED, IfcTubeBundleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11172,13 +11172,13 @@ public: class IFC_PARSE_API IfcUnitEnum : public express::DeclaredType { public: IfcUnitEnum() {} - explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnit_ABSORBEDDOSEUNIT, IfcUnit_AMOUNTOFSUBSTANCEUNIT, IfcUnit_AREAUNIT, IfcUnit_DOSEEQUIVALENTUNIT, IfcUnit_ELECTRICCAPACITANCEUNIT, IfcUnit_ELECTRICCHARGEUNIT, IfcUnit_ELECTRICCONDUCTANCEUNIT, IfcUnit_ELECTRICCURRENTUNIT, IfcUnit_ELECTRICRESISTANCEUNIT, IfcUnit_ELECTRICVOLTAGEUNIT, IfcUnit_ENERGYUNIT, IfcUnit_FORCEUNIT, IfcUnit_FREQUENCYUNIT, IfcUnit_ILLUMINANCEUNIT, IfcUnit_INDUCTANCEUNIT, IfcUnit_LENGTHUNIT, IfcUnit_LUMINOUSFLUXUNIT, IfcUnit_LUMINOUSINTENSITYUNIT, IfcUnit_MAGNETICFLUXDENSITYUNIT, IfcUnit_MAGNETICFLUXUNIT, IfcUnit_MASSUNIT, IfcUnit_PLANEANGLEUNIT, IfcUnit_POWERUNIT, IfcUnit_PRESSUREUNIT, IfcUnit_RADIOACTIVITYUNIT, IfcUnit_SOLIDANGLEUNIT, IfcUnit_THERMODYNAMICTEMPERATUREUNIT, IfcUnit_TIMEUNIT, IfcUnit_VOLUMEUNIT, IfcUnit_USERDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11202,13 +11202,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementTypeEnum : public express::DeclaredType { public: IfcUnitaryControlElementTypeEnum() {} - explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryControlElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryControlElementType_ALARMPANEL, IfcUnitaryControlElementType_BASESTATIONCONTROLLER, IfcUnitaryControlElementType_COMBINED, IfcUnitaryControlElementType_CONTROLPANEL, IfcUnitaryControlElementType_GASDETECTIONPANEL, IfcUnitaryControlElementType_HUMIDISTAT, IfcUnitaryControlElementType_INDICATORPANEL, IfcUnitaryControlElementType_MIMICPANEL, IfcUnitaryControlElementType_THERMOSTAT, IfcUnitaryControlElementType_WEATHERSTATION, IfcUnitaryControlElementType_USERDEFINED, IfcUnitaryControlElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11228,13 +11228,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentTypeEnum : public express::DeclaredType { public: IfcUnitaryEquipmentTypeEnum() {} - explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcUnitaryEquipmentTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcUnitaryEquipmentType_AIRCONDITIONINGUNIT, IfcUnitaryEquipmentType_AIRHANDLER, IfcUnitaryEquipmentType_DEHUMIDIFIER, IfcUnitaryEquipmentType_ROOFTOPUNIT, IfcUnitaryEquipmentType_SPLITSYSTEM, IfcUnitaryEquipmentType_USERDEFINED, IfcUnitaryEquipmentType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11285,13 +11285,13 @@ public: class IFC_PARSE_API IfcValveTypeEnum : public express::DeclaredType { public: IfcValveTypeEnum() {} - explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcValveTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcValveType_AIRRELEASE, IfcValveType_ANTIVACUUM, IfcValveType_CHANGEOVER, IfcValveType_CHECK, IfcValveType_COMMISSIONING, IfcValveType_DIVERTING, IfcValveType_DOUBLECHECK, IfcValveType_DOUBLEREGULATING, IfcValveType_DRAWOFFCOCK, IfcValveType_FAUCET, IfcValveType_FLUSHING, IfcValveType_GASCOCK, IfcValveType_GASTAP, IfcValveType_ISOLATING, IfcValveType_MIXING, IfcValveType_PRESSUREREDUCING, IfcValveType_PRESSURERELIEF, IfcValveType_REGULATING, IfcValveType_SAFETYCUTOFF, IfcValveType_STEAMTRAP, IfcValveType_STOPCOCK, IfcValveType_USERDEFINED, IfcValveType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11300,13 +11300,13 @@ public: class IFC_PARSE_API IfcVehicleTypeEnum : public express::DeclaredType { public: IfcVehicleTypeEnum() {} - explicit IfcVehicleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVehicleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVehicleType_CARGO, IfcVehicleType_ROLLINGSTOCK, IfcVehicleType_VEHICLE, IfcVehicleType_VEHICLEAIR, IfcVehicleType_VEHICLEMARINE, IfcVehicleType_VEHICLETRACKED, IfcVehicleType_VEHICLEWHEELED, IfcVehicleType_USERDEFINED, IfcVehicleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11315,13 +11315,13 @@ public: class IFC_PARSE_API IfcVibrationDamperTypeEnum : public express::DeclaredType { public: IfcVibrationDamperTypeEnum() {} - explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationDamperTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationDamperType_AXIAL_YIELD, IfcVibrationDamperType_BENDING_YIELD, IfcVibrationDamperType_FRICTION, IfcVibrationDamperType_RUBBER, IfcVibrationDamperType_SHEAR_YIELD, IfcVibrationDamperType_VISCOUS, IfcVibrationDamperType_USERDEFINED, IfcVibrationDamperType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11338,13 +11338,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorTypeEnum : public express::DeclaredType { public: IfcVibrationIsolatorTypeEnum() {} - explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVibrationIsolatorTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVibrationIsolatorType_BASE, IfcVibrationIsolatorType_COMPRESSION, IfcVibrationIsolatorType_SPRING, IfcVibrationIsolatorType_USERDEFINED, IfcVibrationIsolatorType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11353,13 +11353,13 @@ public: class IFC_PARSE_API IfcVirtualElementTypeEnum : public express::DeclaredType { public: IfcVirtualElementTypeEnum() {} - explicit IfcVirtualElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVirtualElementTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVirtualElementType_BOUNDARY, IfcVirtualElementType_CLEARANCE, IfcVirtualElementType_PROVISIONFORVOID, IfcVirtualElementType_USERDEFINED, IfcVirtualElementType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11381,13 +11381,13 @@ public: class IFC_PARSE_API IfcVoidingFeatureTypeEnum : public express::DeclaredType { public: IfcVoidingFeatureTypeEnum() {} - explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVoidingFeatureTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcVoidingFeatureType_CHAMFER, IfcVoidingFeatureType_CUTOUT, IfcVoidingFeatureType_EDGE, IfcVoidingFeatureType_HOLE, IfcVoidingFeatureType_MITER, IfcVoidingFeatureType_NOTCH, IfcVoidingFeatureType_USERDEFINED, IfcVoidingFeatureType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11432,13 +11432,13 @@ public: class IFC_PARSE_API IfcWallTypeEnum : public express::DeclaredType { public: IfcWallTypeEnum() {} - explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWallTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWallType_ELEMENTEDWALL, IfcWallType_MOVABLE, IfcWallType_PARAPET, IfcWallType_PARTITIONING, IfcWallType_PLUMBINGWALL, IfcWallType_POLYGONAL, IfcWallType_RETAININGWALL, IfcWallType_SHEAR, IfcWallType_SOLIDWALL, IfcWallType_STANDARD, IfcWallType_WAVEWALL, IfcWallType_USERDEFINED, IfcWallType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11460,13 +11460,13 @@ public: class IFC_PARSE_API IfcWasteTerminalTypeEnum : public express::DeclaredType { public: IfcWasteTerminalTypeEnum() {} - explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWasteTerminalTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWasteTerminalType_FLOORTRAP, IfcWasteTerminalType_FLOORWASTE, IfcWasteTerminalType_GULLYSUMP, IfcWasteTerminalType_GULLYTRAP, IfcWasteTerminalType_ROOFDRAIN, IfcWasteTerminalType_WASTEDISPOSALUNIT, IfcWasteTerminalType_WASTETRAP, IfcWasteTerminalType_USERDEFINED, IfcWasteTerminalType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11558,13 +11558,13 @@ public: class IFC_PARSE_API IfcWindowPanelOperationEnum : public express::DeclaredType { public: IfcWindowPanelOperationEnum() {} - explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelOperationEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelOperation_BOTTOMHUNG, IfcWindowPanelOperation_FIXEDCASEMENT, IfcWindowPanelOperation_OTHEROPERATION, IfcWindowPanelOperation_PIVOTHORIZONTAL, IfcWindowPanelOperation_PIVOTVERTICAL, IfcWindowPanelOperation_REMOVABLECASEMENT, IfcWindowPanelOperation_SIDEHUNGLEFTHAND, IfcWindowPanelOperation_SIDEHUNGRIGHTHAND, IfcWindowPanelOperation_SLIDINGHORIZONTAL, IfcWindowPanelOperation_SLIDINGVERTICAL, IfcWindowPanelOperation_TILTANDTURNLEFTHAND, IfcWindowPanelOperation_TILTANDTURNRIGHTHAND, IfcWindowPanelOperation_TOPHUNG, IfcWindowPanelOperation_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11636,13 +11636,13 @@ public: class IFC_PARSE_API IfcWindowPanelPositionEnum : public express::DeclaredType { public: IfcWindowPanelPositionEnum() {} - explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowPanelPositionEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowPanelPosition_BOTTOM, IfcWindowPanelPosition_LEFT, IfcWindowPanelPosition_MIDDLE, IfcWindowPanelPosition_RIGHT, IfcWindowPanelPosition_TOP, IfcWindowPanelPosition_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11666,13 +11666,13 @@ public: class IFC_PARSE_API IfcWindowTypeEnum : public express::DeclaredType { public: IfcWindowTypeEnum() {} - explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowType_LIGHTDOME, IfcWindowType_SKYLIGHT, IfcWindowType_WINDOW, IfcWindowType_USERDEFINED, IfcWindowType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11751,13 +11751,13 @@ public: class IFC_PARSE_API IfcWindowTypePartitioningEnum : public express::DeclaredType { public: IfcWindowTypePartitioningEnum() {} - explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWindowTypePartitioningEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWindowTypePartitioning_DOUBLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_DOUBLE_PANEL_VERTICAL, IfcWindowTypePartitioning_SINGLE_PANEL, IfcWindowTypePartitioning_TRIPLE_PANEL_BOTTOM, IfcWindowTypePartitioning_TRIPLE_PANEL_HORIZONTAL, IfcWindowTypePartitioning_TRIPLE_PANEL_LEFT, IfcWindowTypePartitioning_TRIPLE_PANEL_RIGHT, IfcWindowTypePartitioning_TRIPLE_PANEL_TOP, IfcWindowTypePartitioning_TRIPLE_PANEL_VERTICAL, IfcWindowTypePartitioning_USERDEFINED, IfcWindowTypePartitioning_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11776,13 +11776,13 @@ public: class IFC_PARSE_API IfcWorkCalendarTypeEnum : public express::DeclaredType { public: IfcWorkCalendarTypeEnum() {} - explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkCalendarTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkCalendarType_FIRSTSHIFT, IfcWorkCalendarType_SECONDSHIFT, IfcWorkCalendarType_THIRDSHIFT, IfcWorkCalendarType_USERDEFINED, IfcWorkCalendarType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11801,13 +11801,13 @@ public: class IFC_PARSE_API IfcWorkPlanTypeEnum : public express::DeclaredType { public: IfcWorkPlanTypeEnum() {} - explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkPlanTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkPlanType_ACTUAL, IfcWorkPlanType_BASELINE, IfcWorkPlanType_PLANNED, IfcWorkPlanType_USERDEFINED, IfcWorkPlanType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11826,13 +11826,13 @@ public: class IFC_PARSE_API IfcWorkScheduleTypeEnum : public express::DeclaredType { public: IfcWorkScheduleTypeEnum() {} - explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWorkScheduleTypeEnum (const std::weak_ptr& data) : express::DeclaredType(data) {} typedef enum {IfcWorkScheduleType_ACTUAL, IfcWorkScheduleType_BASELINE, IfcWorkScheduleType_PLANNED, IfcWorkScheduleType_USERDEFINED, IfcWorkScheduleType_NOTDEFINED} Value; static const char* ToString(Value v); static Value FromString(const std::string& s); - static const IfcParse::enumeration_type& Class(); + static const ifcopenshell::enumeration_type& Class(); void initialize(Value v); void initialize(const std::string& v); operator Value() const; @@ -11845,9 +11845,9 @@ public: class IFC_PARSE_API IfcAbsorbedDoseMeasure : public express::DeclaredType { public: IfcAbsorbedDoseMeasure() {} - explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAbsorbedDoseMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11859,9 +11859,9 @@ public: class IFC_PARSE_API IfcAccelerationMeasure : public express::DeclaredType { public: IfcAccelerationMeasure() {} - explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAccelerationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11876,9 +11876,9 @@ public: class IFC_PARSE_API IfcAmountOfSubstanceMeasure : public express::DeclaredType { public: IfcAmountOfSubstanceMeasure() {} - explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAmountOfSubstanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11890,9 +11890,9 @@ public: class IFC_PARSE_API IfcAngularVelocityMeasure : public express::DeclaredType { public: IfcAngularVelocityMeasure() {} - explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAngularVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11900,9 +11900,9 @@ public: class IFC_PARSE_API IfcArcIndex : public express::DeclaredType { public: IfcArcIndex() {} - explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcArcIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:3]*/ v); operator std::vector< int > /*[3:3]*/() const; }; @@ -11910,9 +11910,9 @@ public: class IFC_PARSE_API IfcAreaDensityMeasure : public express::DeclaredType { public: IfcAreaDensityMeasure() {} - explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11926,9 +11926,9 @@ public: class IFC_PARSE_API IfcAreaMeasure : public express::DeclaredType { public: IfcAreaMeasure() {} - explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcAreaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -11936,9 +11936,9 @@ public: class IFC_PARSE_API IfcBinary : public express::DeclaredType { public: IfcBinary() {} - explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBinary (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::dynamic_bitset<> v); operator boost::dynamic_bitset<>() const; }; @@ -11950,9 +11950,9 @@ public: class IFC_PARSE_API IfcBoolean : public express::DeclaredType { public: IfcBoolean() {} - explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcBoolean (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -12002,9 +12002,9 @@ public: class IFC_PARSE_API IfcCardinalPointReference : public express::DeclaredType { public: IfcCardinalPointReference() {} - explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCardinalPointReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12022,9 +12022,9 @@ public: class IFC_PARSE_API IfcComplexNumber : public express::DeclaredType { public: IfcComplexNumber() {} - explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcComplexNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< double > /*[1:2]*/ v); operator std::vector< double > /*[1:2]*/() const; }; @@ -12079,9 +12079,9 @@ public: class IFC_PARSE_API IfcCompoundPlaneAngleMeasure : public express::DeclaredType { public: IfcCompoundPlaneAngleMeasure() {} - explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCompoundPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[3:4]*/ v); operator std::vector< int > /*[3:4]*/() const; }; @@ -12094,9 +12094,9 @@ public: class IFC_PARSE_API IfcContextDependentMeasure : public express::DeclaredType { public: IfcContextDependentMeasure() {} - explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcContextDependentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12109,9 +12109,9 @@ public: class IFC_PARSE_API IfcCountMeasure : public express::DeclaredType { public: IfcCountMeasure() {} - explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCountMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12125,9 +12125,9 @@ public: class IFC_PARSE_API IfcCurvatureMeasure : public express::DeclaredType { public: IfcCurvatureMeasure() {} - explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcCurvatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12140,9 +12140,9 @@ public: class IFC_PARSE_API IfcDate : public express::DeclaredType { public: IfcDate() {} - explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDate (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12167,9 +12167,9 @@ public: class IFC_PARSE_API IfcDateTime : public express::DeclaredType { public: IfcDateTime() {} - explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDateTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12188,9 +12188,9 @@ public: class IFC_PARSE_API IfcDayInMonthNumber : public express::DeclaredType { public: IfcDayInMonthNumber() {} - explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInMonthNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12231,9 +12231,9 @@ public: class IFC_PARSE_API IfcDayInWeekNumber : public express::DeclaredType { public: IfcDayInWeekNumber() {} - explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDayInWeekNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12246,9 +12246,9 @@ public: class IFC_PARSE_API IfcDescriptiveMeasure : public express::DeclaredType { public: IfcDescriptiveMeasure() {} - explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDescriptiveMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12262,9 +12262,9 @@ public: class IFC_PARSE_API IfcDimensionCount : public express::DeclaredType { public: IfcDimensionCount() {} - explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDimensionCount (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12276,9 +12276,9 @@ public: class IFC_PARSE_API IfcDoseEquivalentMeasure : public express::DeclaredType { public: IfcDoseEquivalentMeasure() {} - explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDoseEquivalentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12290,9 +12290,9 @@ public: class IFC_PARSE_API IfcDuration : public express::DeclaredType { public: IfcDuration() {} - explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDuration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12305,9 +12305,9 @@ public: class IFC_PARSE_API IfcDynamicViscosityMeasure : public express::DeclaredType { public: IfcDynamicViscosityMeasure() {} - explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcDynamicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12319,9 +12319,9 @@ public: class IFC_PARSE_API IfcElectricCapacitanceMeasure : public express::DeclaredType { public: IfcElectricCapacitanceMeasure() {} - explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCapacitanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12333,9 +12333,9 @@ public: class IFC_PARSE_API IfcElectricChargeMeasure : public express::DeclaredType { public: IfcElectricChargeMeasure() {} - explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricChargeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12347,9 +12347,9 @@ public: class IFC_PARSE_API IfcElectricConductanceMeasure : public express::DeclaredType { public: IfcElectricConductanceMeasure() {} - explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricConductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12363,9 +12363,9 @@ public: class IFC_PARSE_API IfcElectricCurrentMeasure : public express::DeclaredType { public: IfcElectricCurrentMeasure() {} - explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricCurrentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12377,9 +12377,9 @@ public: class IFC_PARSE_API IfcElectricResistanceMeasure : public express::DeclaredType { public: IfcElectricResistanceMeasure() {} - explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12391,9 +12391,9 @@ public: class IFC_PARSE_API IfcElectricVoltageMeasure : public express::DeclaredType { public: IfcElectricVoltageMeasure() {} - explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcElectricVoltageMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12405,9 +12405,9 @@ public: class IFC_PARSE_API IfcEnergyMeasure : public express::DeclaredType { public: IfcEnergyMeasure() {} - explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcEnergyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12428,9 +12428,9 @@ public: class IFC_PARSE_API IfcFontStyle : public express::DeclaredType { public: IfcFontStyle() {} - explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontStyle (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12449,9 +12449,9 @@ public: class IFC_PARSE_API IfcFontVariant : public express::DeclaredType { public: IfcFontVariant() {} - explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontVariant (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12481,9 +12481,9 @@ public: class IFC_PARSE_API IfcFontWeight : public express::DeclaredType { public: IfcFontWeight() {} - explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFontWeight (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12495,9 +12495,9 @@ public: class IFC_PARSE_API IfcForceMeasure : public express::DeclaredType { public: IfcForceMeasure() {} - explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12509,9 +12509,9 @@ public: class IFC_PARSE_API IfcFrequencyMeasure : public express::DeclaredType { public: IfcFrequencyMeasure() {} - explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12531,9 +12531,9 @@ public: class IFC_PARSE_API IfcGloballyUniqueId : public express::DeclaredType { public: IfcGloballyUniqueId() {} - explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcGloballyUniqueId (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12545,9 +12545,9 @@ public: class IFC_PARSE_API IfcHeatFluxDensityMeasure : public express::DeclaredType { public: IfcHeatFluxDensityMeasure() {} - explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12557,9 +12557,9 @@ public: class IFC_PARSE_API IfcHeatingValueMeasure : public express::DeclaredType { public: IfcHeatingValueMeasure() {} - explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcHeatingValueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12580,9 +12580,9 @@ public: class IFC_PARSE_API IfcIdentifier : public express::DeclaredType { public: IfcIdentifier() {} - explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIdentifier (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12594,9 +12594,9 @@ public: class IFC_PARSE_API IfcIlluminanceMeasure : public express::DeclaredType { public: IfcIlluminanceMeasure() {} - explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIlluminanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12608,9 +12608,9 @@ public: class IFC_PARSE_API IfcInductanceMeasure : public express::DeclaredType { public: IfcInductanceMeasure() {} - explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInductanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12624,9 +12624,9 @@ public: class IFC_PARSE_API IfcInteger : public express::DeclaredType { public: IfcInteger() {} - explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcInteger (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12640,9 +12640,9 @@ public: class IFC_PARSE_API IfcIntegerCountRateMeasure : public express::DeclaredType { public: IfcIntegerCountRateMeasure() {} - explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIntegerCountRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -12652,9 +12652,9 @@ public: class IFC_PARSE_API IfcIonConcentrationMeasure : public express::DeclaredType { public: IfcIonConcentrationMeasure() {} - explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIonConcentrationMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12666,9 +12666,9 @@ public: class IFC_PARSE_API IfcIsothermalMoistureCapacityMeasure : public express::DeclaredType { public: IfcIsothermalMoistureCapacityMeasure() {} - explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcIsothermalMoistureCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12680,9 +12680,9 @@ public: class IFC_PARSE_API IfcKinematicViscosityMeasure : public express::DeclaredType { public: IfcKinematicViscosityMeasure() {} - explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcKinematicViscosityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12703,9 +12703,9 @@ public: class IFC_PARSE_API IfcLabel : public express::DeclaredType { public: IfcLabel() {} - explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLabel (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12722,9 +12722,9 @@ public: class IFC_PARSE_API IfcLanguageId : public IfcIdentifier { public: IfcLanguageId() {} - explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} + explicit IfcLanguageId (const std::weak_ptr& data) : IfcIdentifier(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -12738,9 +12738,9 @@ public: class IFC_PARSE_API IfcLengthMeasure : public express::DeclaredType { public: IfcLengthMeasure() {} - explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12748,9 +12748,9 @@ public: class IFC_PARSE_API IfcLineIndex : public express::DeclaredType { public: IfcLineIndex() {} - explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLineIndex (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< int > /*[2:?]*/ v); operator std::vector< int > /*[2:?]*/() const; }; @@ -12762,9 +12762,9 @@ public: class IFC_PARSE_API IfcLinearForceMeasure : public express::DeclaredType { public: IfcLinearForceMeasure() {} - explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12776,9 +12776,9 @@ public: class IFC_PARSE_API IfcLinearMomentMeasure : public express::DeclaredType { public: IfcLinearMomentMeasure() {} - explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12790,9 +12790,9 @@ public: class IFC_PARSE_API IfcLinearStiffnessMeasure : public express::DeclaredType { public: IfcLinearStiffnessMeasure() {} - explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12804,9 +12804,9 @@ public: class IFC_PARSE_API IfcLinearVelocityMeasure : public express::DeclaredType { public: IfcLinearVelocityMeasure() {} - explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLinearVelocityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12818,9 +12818,9 @@ public: class IFC_PARSE_API IfcLogical : public express::DeclaredType { public: IfcLogical() {} - explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLogical (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(boost::logic::tribool v); operator boost::logic::tribool() const; }; @@ -12832,9 +12832,9 @@ public: class IFC_PARSE_API IfcLuminousFluxMeasure : public express::DeclaredType { public: IfcLuminousFluxMeasure() {} - explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12848,9 +12848,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityDistributionMeasure : public express::DeclaredType { public: IfcLuminousIntensityDistributionMeasure() {} - explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityDistributionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12864,9 +12864,9 @@ public: class IFC_PARSE_API IfcLuminousIntensityMeasure : public express::DeclaredType { public: IfcLuminousIntensityMeasure() {} - explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcLuminousIntensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12878,9 +12878,9 @@ public: class IFC_PARSE_API IfcMagneticFluxDensityMeasure : public express::DeclaredType { public: IfcMagneticFluxDensityMeasure() {} - explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12892,9 +12892,9 @@ public: class IFC_PARSE_API IfcMagneticFluxMeasure : public express::DeclaredType { public: IfcMagneticFluxMeasure() {} - explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMagneticFluxMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12906,9 +12906,9 @@ public: class IFC_PARSE_API IfcMassDensityMeasure : public express::DeclaredType { public: IfcMassDensityMeasure() {} - explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassDensityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12920,9 +12920,9 @@ public: class IFC_PARSE_API IfcMassFlowRateMeasure : public express::DeclaredType { public: IfcMassFlowRateMeasure() {} - explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12936,9 +12936,9 @@ public: class IFC_PARSE_API IfcMassMeasure : public express::DeclaredType { public: IfcMassMeasure() {} - explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12952,9 +12952,9 @@ public: class IFC_PARSE_API IfcMassPerLengthMeasure : public express::DeclaredType { public: IfcMassPerLengthMeasure() {} - explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMassPerLengthMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12966,9 +12966,9 @@ public: class IFC_PARSE_API IfcModulusOfElasticityMeasure : public express::DeclaredType { public: IfcModulusOfElasticityMeasure() {} - explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfElasticityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12980,9 +12980,9 @@ public: class IFC_PARSE_API IfcModulusOfLinearSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfLinearSubgradeReactionMeasure() {} - explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfLinearSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -12994,9 +12994,9 @@ public: class IFC_PARSE_API IfcModulusOfRotationalSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfRotationalSubgradeReactionMeasure() {} - explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfRotationalSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13012,9 +13012,9 @@ public: class IFC_PARSE_API IfcModulusOfSubgradeReactionMeasure : public express::DeclaredType { public: IfcModulusOfSubgradeReactionMeasure() {} - explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcModulusOfSubgradeReactionMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13026,9 +13026,9 @@ public: class IFC_PARSE_API IfcMoistureDiffusivityMeasure : public express::DeclaredType { public: IfcMoistureDiffusivityMeasure() {} - explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMoistureDiffusivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13040,9 +13040,9 @@ public: class IFC_PARSE_API IfcMolecularWeightMeasure : public express::DeclaredType { public: IfcMolecularWeightMeasure() {} - explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMolecularWeightMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13054,9 +13054,9 @@ public: class IFC_PARSE_API IfcMomentOfInertiaMeasure : public express::DeclaredType { public: IfcMomentOfInertiaMeasure() {} - explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMomentOfInertiaMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13067,9 +13067,9 @@ public: class IFC_PARSE_API IfcMonetaryMeasure : public express::DeclaredType { public: IfcMonetaryMeasure() {} - explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonetaryMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13132,9 +13132,9 @@ public: class IFC_PARSE_API IfcMonthInYearNumber : public express::DeclaredType { public: IfcMonthInYearNumber() {} - explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcMonthInYearNumber (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13146,9 +13146,9 @@ public: class IFC_PARSE_API IfcNonNegativeLengthMeasure : public IfcLengthMeasure { public: IfcNonNegativeLengthMeasure() {} - explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcNonNegativeLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13161,9 +13161,9 @@ public: class IFC_PARSE_API IfcNumericMeasure : public express::DeclaredType { public: IfcNumericMeasure() {} - explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcNumericMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13173,9 +13173,9 @@ public: class IFC_PARSE_API IfcPHMeasure : public express::DeclaredType { public: IfcPHMeasure() {} - explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPHMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13189,9 +13189,9 @@ public: class IFC_PARSE_API IfcParameterValue : public express::DeclaredType { public: IfcParameterValue() {} - explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcParameterValue (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13203,9 +13203,9 @@ public: class IFC_PARSE_API IfcPlanarForceMeasure : public express::DeclaredType { public: IfcPlanarForceMeasure() {} - explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlanarForceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13223,9 +13223,9 @@ public: class IFC_PARSE_API IfcPlaneAngleMeasure : public express::DeclaredType { public: IfcPlaneAngleMeasure() {} - explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPlaneAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13233,9 +13233,9 @@ public: class IFC_PARSE_API IfcPositiveInteger : public IfcInteger { public: IfcPositiveInteger() {} - explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} + explicit IfcPositiveInteger (const std::weak_ptr& data) : IfcInteger(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13248,9 +13248,9 @@ public: class IFC_PARSE_API IfcPositiveLengthMeasure : public IfcLengthMeasure { public: IfcPositiveLengthMeasure() {} - explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} + explicit IfcPositiveLengthMeasure (const std::weak_ptr& data) : IfcLengthMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13263,9 +13263,9 @@ public: class IFC_PARSE_API IfcPositivePlaneAngleMeasure : public IfcPlaneAngleMeasure { public: IfcPositivePlaneAngleMeasure() {} - explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} + explicit IfcPositivePlaneAngleMeasure (const std::weak_ptr& data) : IfcPlaneAngleMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13277,9 +13277,9 @@ public: class IFC_PARSE_API IfcPowerMeasure : public express::DeclaredType { public: IfcPowerMeasure() {} - explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13295,9 +13295,9 @@ public: class IFC_PARSE_API IfcPresentableText : public express::DeclaredType { public: IfcPresentableText() {} - explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPresentableText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13309,9 +13309,9 @@ public: class IFC_PARSE_API IfcPressureMeasure : public express::DeclaredType { public: IfcPressureMeasure() {} - explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13319,9 +13319,9 @@ public: class IFC_PARSE_API IfcPropertySetDefinitionSet : public express::DeclaredType { public: IfcPropertySetDefinitionSet() {} - explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcPropertySetDefinitionSet (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > v); operator std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition >() const; }; @@ -13333,9 +13333,9 @@ public: class IFC_PARSE_API IfcRadioActivityMeasure : public express::DeclaredType { public: IfcRadioActivityMeasure() {} - explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRadioActivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13352,9 +13352,9 @@ public: class IFC_PARSE_API IfcRatioMeasure : public express::DeclaredType { public: IfcRatioMeasure() {} - explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRatioMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13368,9 +13368,9 @@ public: class IFC_PARSE_API IfcReal : public express::DeclaredType { public: IfcReal() {} - explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcReal (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13382,9 +13382,9 @@ public: class IFC_PARSE_API IfcRotationalFrequencyMeasure : public express::DeclaredType { public: IfcRotationalFrequencyMeasure() {} - explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalFrequencyMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13397,9 +13397,9 @@ public: class IFC_PARSE_API IfcRotationalMassMeasure : public express::DeclaredType { public: IfcRotationalMassMeasure() {} - explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalMassMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13411,9 +13411,9 @@ public: class IFC_PARSE_API IfcRotationalStiffnessMeasure : public express::DeclaredType { public: IfcRotationalStiffnessMeasure() {} - explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcRotationalStiffnessMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13425,9 +13425,9 @@ public: class IFC_PARSE_API IfcSectionModulusMeasure : public express::DeclaredType { public: IfcSectionModulusMeasure() {} - explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13439,9 +13439,9 @@ public: class IFC_PARSE_API IfcSectionalAreaIntegralMeasure : public express::DeclaredType { public: IfcSectionalAreaIntegralMeasure() {} - explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSectionalAreaIntegralMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13453,9 +13453,9 @@ public: class IFC_PARSE_API IfcShearModulusMeasure : public express::DeclaredType { public: IfcShearModulusMeasure() {} - explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcShearModulusMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13469,9 +13469,9 @@ public: class IFC_PARSE_API IfcSolidAngleMeasure : public express::DeclaredType { public: IfcSolidAngleMeasure() {} - explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSolidAngleMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13479,9 +13479,9 @@ public: class IFC_PARSE_API IfcSoundPowerLevelMeasure : public express::DeclaredType { public: IfcSoundPowerLevelMeasure() {} - explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13493,9 +13493,9 @@ public: class IFC_PARSE_API IfcSoundPowerMeasure : public express::DeclaredType { public: IfcSoundPowerMeasure() {} - explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPowerMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13503,9 +13503,9 @@ public: class IFC_PARSE_API IfcSoundPressureLevelMeasure : public express::DeclaredType { public: IfcSoundPressureLevelMeasure() {} - explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureLevelMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13517,9 +13517,9 @@ public: class IFC_PARSE_API IfcSoundPressureMeasure : public express::DeclaredType { public: IfcSoundPressureMeasure() {} - explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSoundPressureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13531,9 +13531,9 @@ public: class IFC_PARSE_API IfcSpecificHeatCapacityMeasure : public express::DeclaredType { public: IfcSpecificHeatCapacityMeasure() {} - explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecificHeatCapacityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13547,9 +13547,9 @@ public: class IFC_PARSE_API IfcSpecularExponent : public express::DeclaredType { public: IfcSpecularExponent() {} - explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularExponent (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13565,9 +13565,9 @@ public: class IFC_PARSE_API IfcSpecularRoughness : public express::DeclaredType { public: IfcSpecularRoughness() {} - explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcSpecularRoughness (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13575,9 +13575,9 @@ public: class IFC_PARSE_API IfcStrippedOptional : public express::DeclaredType { public: IfcStrippedOptional() {} - explicit IfcStrippedOptional (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcStrippedOptional (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(bool v); operator bool() const; }; @@ -13589,9 +13589,9 @@ public: class IFC_PARSE_API IfcTemperatureGradientMeasure : public express::DeclaredType { public: IfcTemperatureGradientMeasure() {} - explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureGradientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13603,9 +13603,9 @@ public: class IFC_PARSE_API IfcTemperatureRateOfChangeMeasure : public express::DeclaredType { public: IfcTemperatureRateOfChangeMeasure() {} - explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTemperatureRateOfChangeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13623,9 +13623,9 @@ public: class IFC_PARSE_API IfcText : public express::DeclaredType { public: IfcText() {} - explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcText (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13642,9 +13642,9 @@ public: class IFC_PARSE_API IfcTextAlignment : public express::DeclaredType { public: IfcTextAlignment() {} - explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextAlignment (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13664,9 +13664,9 @@ public: class IFC_PARSE_API IfcTextDecoration : public express::DeclaredType { public: IfcTextDecoration() {} - explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextDecoration (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13692,9 +13692,9 @@ public: class IFC_PARSE_API IfcTextFontName : public express::DeclaredType { public: IfcTextFontName() {} - explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextFontName (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13711,9 +13711,9 @@ public: class IFC_PARSE_API IfcTextTransformation : public express::DeclaredType { public: IfcTextTransformation() {} - explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTextTransformation (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13725,9 +13725,9 @@ public: class IFC_PARSE_API IfcThermalAdmittanceMeasure : public express::DeclaredType { public: IfcThermalAdmittanceMeasure() {} - explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalAdmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13739,9 +13739,9 @@ public: class IFC_PARSE_API IfcThermalConductivityMeasure : public express::DeclaredType { public: IfcThermalConductivityMeasure() {} - explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalConductivityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13752,9 +13752,9 @@ public: class IFC_PARSE_API IfcThermalExpansionCoefficientMeasure : public express::DeclaredType { public: IfcThermalExpansionCoefficientMeasure() {} - explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalExpansionCoefficientMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13765,9 +13765,9 @@ public: class IFC_PARSE_API IfcThermalResistanceMeasure : public express::DeclaredType { public: IfcThermalResistanceMeasure() {} - explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalResistanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13779,9 +13779,9 @@ public: class IFC_PARSE_API IfcThermalTransmittanceMeasure : public express::DeclaredType { public: IfcThermalTransmittanceMeasure() {} - explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermalTransmittanceMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13795,9 +13795,9 @@ public: class IFC_PARSE_API IfcThermodynamicTemperatureMeasure : public express::DeclaredType { public: IfcThermodynamicTemperatureMeasure() {} - explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcThermodynamicTemperatureMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13812,9 +13812,9 @@ public: class IFC_PARSE_API IfcTime : public express::DeclaredType { public: IfcTime() {} - explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTime (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13828,9 +13828,9 @@ public: class IFC_PARSE_API IfcTimeMeasure : public express::DeclaredType { public: IfcTimeMeasure() {} - explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13841,9 +13841,9 @@ public: class IFC_PARSE_API IfcTimeStamp : public express::DeclaredType { public: IfcTimeStamp() {} - explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTimeStamp (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(int v); operator int() const; }; @@ -13855,9 +13855,9 @@ public: class IFC_PARSE_API IfcTorqueMeasure : public express::DeclaredType { public: IfcTorqueMeasure() {} - explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcTorqueMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13871,9 +13871,9 @@ public: class IFC_PARSE_API IfcURIReference : public express::DeclaredType { public: IfcURIReference() {} - explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcURIReference (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13885,9 +13885,9 @@ public: class IFC_PARSE_API IfcVaporPermeabilityMeasure : public express::DeclaredType { public: IfcVaporPermeabilityMeasure() {} - explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVaporPermeabilityMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13901,9 +13901,9 @@ public: class IFC_PARSE_API IfcVolumeMeasure : public express::DeclaredType { public: IfcVolumeMeasure() {} - explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumeMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13915,9 +13915,9 @@ public: class IFC_PARSE_API IfcVolumetricFlowRateMeasure : public express::DeclaredType { public: IfcVolumetricFlowRateMeasure() {} - explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcVolumetricFlowRateMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13929,9 +13929,9 @@ public: class IFC_PARSE_API IfcWarpingConstantMeasure : public express::DeclaredType { public: IfcWarpingConstantMeasure() {} - explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingConstantMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13943,9 +13943,9 @@ public: class IFC_PARSE_API IfcWarpingMomentMeasure : public express::DeclaredType { public: IfcWarpingMomentMeasure() {} - explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} + explicit IfcWarpingMomentMeasure (const std::weak_ptr& data) : express::DeclaredType(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -13977,9 +13977,9 @@ public: class IFC_PARSE_API IfcBoxAlignment : public IfcLabel { public: IfcBoxAlignment() {} - explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} + explicit IfcBoxAlignment (const std::weak_ptr& data) : IfcLabel(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(std::string v); operator std::string() const; }; @@ -13991,9 +13991,9 @@ public: class IFC_PARSE_API IfcNormalisedRatioMeasure : public IfcRatioMeasure { public: IfcNormalisedRatioMeasure() {} - explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcNormalisedRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14006,9 +14006,9 @@ public: class IFC_PARSE_API IfcPositiveRatioMeasure : public IfcRatioMeasure { public: IfcPositiveRatioMeasure() {} - explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} + explicit IfcPositiveRatioMeasure (const std::weak_ptr& data) : IfcRatioMeasure(data) {} - static const IfcParse::type_declaration& Class(); + static const ifcopenshell::type_declaration& Class(); void initialize(double v); operator double() const; }; @@ -14027,7 +14027,7 @@ public: class IFC_PARSE_API IfcActorRole : public express::Entity { public: IfcActorRole() {} - explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcActorRole (const std::weak_ptr& data) : express::Entity(data) {} /// The name of the role played by an actor. If the Role has value USERDEFINED, then /// the user defined role shall be provided as a value of the attribute UserDefinedRole. @@ -14044,7 +14044,7 @@ public: void setDescription(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRoleEnum::Value v1_Role, std::optional< std::string > v2_UserDefinedRole, std::optional< std::string > v3_Description); }; /// Definition: An abstract entity type for various kinds of postal and telecom addresses. @@ -14055,7 +14055,7 @@ public: class IFC_PARSE_API IfcAddress : public express::Entity { public: IfcAddress() {} - explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAddress (const std::weak_ptr& data) : express::Entity(data) {} /// Identifies the logical location of the address. std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > Purpose() const; @@ -14072,28 +14072,28 @@ public: std::vector< IfcPerson > OfPerson() const; // INVERSE IfcPerson::Addresses std::vector< IfcOrganization > OfOrganization() const; // INVERSE IfcOrganization::Addresses - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose); }; class IFC_PARSE_API IfcAlignmentParameterSegment : public express::Entity { public: IfcAlignmentParameterSegment() {} - explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAlignmentParameterSegment (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > StartTag() const; void setStartTag(const std::optional< std::string >& v); std::optional< std::string > EndTag() const; void setEndTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag); }; class IFC_PARSE_API IfcAlignmentVerticalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentVerticalSegment() {} - explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentVerticalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -14110,7 +14110,7 @@ public: ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartHeight, double v6_StartGradient, double v7_EndGradient, std::optional< double > v8_RadiusOfCurvature, ::Ifc4x3_tc1::IfcAlignmentVerticalSegmentTypeEnum::Value v9_PredefinedType); }; /// IfcApplication holds the information about an IFC compliant application developed by an application developer. The IfcApplication utilizes a short identifying name as provided by the application developer. @@ -14119,7 +14119,7 @@ public: class IFC_PARSE_API IfcApplication : public express::Entity { public: IfcApplication() {} - explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApplication (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the application developer, being requested to be member of the IAI. ::Ifc4x3_tc1::IfcOrganization ApplicationDeveloper() const; @@ -14134,7 +14134,7 @@ public: std::string ApplicationIdentifier() const; void setApplicationIdentifier(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcOrganization v1_ApplicationDeveloper, std::string v2_Version, std::string v3_ApplicationFullName, std::string v4_ApplicationIdentifier); }; /// IfcAppliedValue is an abstract supertype that specifies the common attributes for cost values. @@ -14154,7 +14154,7 @@ public: class IFC_PARSE_API IfcAppliedValue : public express::Entity { public: IfcAppliedValue() {} - explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcAppliedValue (const std::weak_ptr& data) : express::Entity(data) {} /// A name or additional clarification given to a cost value. std::optional< std::string > Name() const; @@ -14192,7 +14192,7 @@ public: void setComponents(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > >& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_Components); }; /// Definition: An IfcApproval represents information about approval processes such as for a plan, a design, a proposal, or a change order in a construction or facilities management project. IfcApproval is referenced by IfcRelAssociatesApproval in IfcControlExtension schema, and thereby can be related to all subtypes of IfcRoot. An approval may also be given to resource objects using IfcResourceApprovalRelationship @@ -14203,7 +14203,7 @@ public: class IFC_PARSE_API IfcApproval : public express::Entity { public: IfcApproval() {} - explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcApproval (const std::weak_ptr& data) : express::Entity(data) {} /// A computer interpretable identifier by which the approval is known. std::optional< std::string > Identifier() const; @@ -14244,7 +14244,7 @@ public: std::vector< IfcApprovalRelationship > IsRelatedWith() const; // INVERSE IfcApprovalRelationship::RelatedApprovals std::vector< IfcApprovalRelationship > Relates() const; // INVERSE IfcApprovalRelationship::RelatingApproval - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_TimeOfApproval, std::optional< std::string > v5_Status, std::optional< std::string > v6_Level, std::optional< std::string > v7_Qualifier, ::Ifc4x3_tc1::IfcActorSelect v8_RequestingApproval, ::Ifc4x3_tc1::IfcActorSelect v9_GivingApproval); }; /// Definition @@ -14265,13 +14265,13 @@ public: class IFC_PARSE_API IfcBoundaryCondition : public express::Entity { public: IfcBoundaryCondition() {} - explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcBoundaryCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this boundary condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14287,7 +14287,7 @@ public: class IFC_PARSE_API IfcBoundaryEdgeCondition : public IfcBoundaryCondition { public: IfcBoundaryEdgeCondition() {} - explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryEdgeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect TranslationalStiffnessByLengthX() const; @@ -14308,7 +14308,7 @@ public: ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect RotationalStiffnessByLengthZ() const; void setRotationalStiffnessByLengthZ(const ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect v2_TranslationalStiffnessByLengthX, ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect v3_TranslationalStiffnessByLengthY, ::Ifc4x3_tc1::IfcModulusOfTranslationalSubgradeReactionSelect v4_TranslationalStiffnessByLengthZ, ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect v5_RotationalStiffnessByLengthX, ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect v6_RotationalStiffnessByLengthY, ::Ifc4x3_tc1::IfcModulusOfRotationalSubgradeReactionSelect v7_RotationalStiffnessByLengthZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14324,7 +14324,7 @@ public: class IFC_PARSE_API IfcBoundaryFaceCondition : public IfcBoundaryCondition { public: IfcBoundaryFaceCondition() {} - explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryFaceCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaX() const; @@ -14336,7 +14336,7 @@ public: ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect TranslationalStiffnessByAreaZ() const; void setTranslationalStiffnessByAreaZ(const ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect v2_TranslationalStiffnessByAreaX, ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect v3_TranslationalStiffnessByAreaY, ::Ifc4x3_tc1::IfcModulusOfSubgradeReactionSelect v4_TranslationalStiffnessByAreaZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions. @@ -14352,7 +14352,7 @@ public: class IFC_PARSE_API IfcBoundaryNodeCondition : public IfcBoundaryCondition { public: IfcBoundaryNodeCondition() {} - explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} + explicit IfcBoundaryNodeCondition (const std::weak_ptr& data) : IfcBoundaryCondition(data) {} /// Translational stiffness value in x-direction of the coordinate system defined by the instance which uses this resource object. ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect TranslationalStiffnessX() const; @@ -14373,7 +14373,7 @@ public: ::Ifc4x3_tc1::IfcRotationalStiffnessSelect RotationalStiffnessZ() const; void setRotationalStiffnessZ(const ::Ifc4x3_tc1::IfcRotationalStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ); }; /// Definition from IAI: Describes linearly elastic support conditions or connection conditions, including linearly elastic warping restraints. @@ -14388,13 +14388,13 @@ public: class IFC_PARSE_API IfcBoundaryNodeConditionWarping : public IfcBoundaryNodeCondition { public: IfcBoundaryNodeConditionWarping() {} - explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} + explicit IfcBoundaryNodeConditionWarping (const std::weak_ptr& data) : IfcBoundaryNodeCondition(data) {} /// Defines the warping stiffness value. ::Ifc4x3_tc1::IfcWarpingStiffnessSelect WarpingStiffness() const; void setWarpingStiffness(const ::Ifc4x3_tc1::IfcWarpingStiffnessSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v2_TranslationalStiffnessX, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v3_TranslationalStiffnessY, ::Ifc4x3_tc1::IfcTranslationalStiffnessSelect v4_TranslationalStiffnessZ, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v5_RotationalStiffnessX, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v6_RotationalStiffnessY, ::Ifc4x3_tc1::IfcRotationalStiffnessSelect v7_RotationalStiffnessZ, ::Ifc4x3_tc1::IfcWarpingStiffnessSelect v8_WarpingStiffness); }; /// IfcConnectionGeometry is used to describe the geometric and topological constraints that facilitate the physical connection of two objects. It is envisioned as a control that applies to the element connection relationships. @@ -14414,10 +14414,10 @@ public: class IFC_PARSE_API IfcConnectionGeometry : public express::Entity { public: IfcConnectionGeometry() {} - explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConnectionGeometry (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcConnectionPointGeometry @@ -14439,7 +14439,7 @@ public: class IFC_PARSE_API IfcConnectionPointGeometry : public IfcConnectionGeometry { public: IfcConnectionPointGeometry() {} - explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionPointGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Point at which the connected object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_tc1::IfcPointOrVertexPoint PointOnRelatingElement() const; @@ -14448,7 +14448,7 @@ public: ::Ifc4x3_tc1::IfcPointOrVertexPoint PointOnRelatedElement() const; void setPointOnRelatedElement(const ::Ifc4x3_tc1::IfcPointOrVertexPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_tc1::IfcPointOrVertexPoint v2_PointOnRelatedElement); }; /// IfcConnectionSurfaceGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a surface or at a face with surface geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -14462,7 +14462,7 @@ public: class IFC_PARSE_API IfcConnectionSurfaceGeometry : public IfcConnectionGeometry { public: IfcConnectionSurfaceGeometry() {} - explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionSurfaceGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Surface at which related object is aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface SurfaceOnRelatingElement() const; @@ -14471,7 +14471,7 @@ public: ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface SurfaceOnRelatedElement() const; void setSurfaceOnRelatedElement(const ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSurfaceOrFaceSurface v1_SurfaceOnRelatingElement, ::Ifc4x3_tc1::IfcSurfaceOrFaceSurface v2_SurfaceOnRelatedElement); }; /// IfcConnectionVolumeGeometry is used to describe the geometric constraints that facilitate the physical connection (or overlap) of two objects at a volume defined by a solid or closed shell. It is envisioned as a control that applies to the element connection or interference relationships. @@ -14483,7 +14483,7 @@ public: class IFC_PARSE_API IfcConnectionVolumeGeometry : public IfcConnectionGeometry { public: IfcConnectionVolumeGeometry() {} - explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionVolumeGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// Volume at which related object overlaps with the relating element, given in the LCS of the relating element. ::Ifc4x3_tc1::IfcSolidOrShell VolumeOnRelatingElement() const; @@ -14492,7 +14492,7 @@ public: ::Ifc4x3_tc1::IfcSolidOrShell VolumeOnRelatedElement() const; void setVolumeOnRelatedElement(const ::Ifc4x3_tc1::IfcSolidOrShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSolidOrShell v1_VolumeOnRelatingElement, ::Ifc4x3_tc1::IfcSolidOrShell v2_VolumeOnRelatedElement); }; /// An IfcConstraint is used to define a constraint or limiting value or boundary condition that may be applied to an object or to the value of a property. @@ -14510,7 +14510,7 @@ public: class IFC_PARSE_API IfcConstraint : public express::Entity { public: IfcConstraint() {} - explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcConstraint (const std::weak_ptr& data) : express::Entity(data) {} /// A name to be used for the constraint (e.g., ChillerCoefficientOfPerformance). std::string Name() const; @@ -14539,7 +14539,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcResourceConstraintRelationship > PropertiesForConstraint() const; // INVERSE IfcResourceConstraintRelationship::RelatingConstraint - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade); }; /// Definition from OpenGIS® Abstract Specification, @@ -14591,7 +14591,7 @@ public: class IFC_PARSE_API IfcCoordinateOperation : public express::Entity { public: IfcCoordinateOperation() {} - explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateOperation (const std::weak_ptr& data) : express::Entity(data) {} /// Source coordinate reference system for the operation. ::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect SourceCRS() const; @@ -14600,7 +14600,7 @@ public: ::Ifc4x3_tc1::IfcCoordinateReferenceSystem TargetCRS() const; void setTargetCRS(const ::Ifc4x3_tc1::IfcCoordinateReferenceSystem& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_tc1::IfcCoordinateReferenceSystem v2_TargetCRS); }; /// Definition from OpenGIS® Abstract Specification, Topic @@ -14628,7 +14628,7 @@ public: class IFC_PARSE_API IfcCoordinateReferenceSystem : public express::Entity { public: IfcCoordinateReferenceSystem() {} - explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcCoordinateReferenceSystem (const std::weak_ptr& data) : express::Entity(data) {} /// Name by which the coordinate reference system is identified. /// Note  The name shall be taken from the list recognized by the European Petroleum Survey Group EPSG. @@ -14652,7 +14652,7 @@ public: void setVerticalDatum(const std::optional< std::string >& v); std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum); }; /// IfcCostValue is an amount of money or a value that affects an amount of money. @@ -14700,10 +14700,10 @@ public: class IFC_PARSE_API IfcCostValue : public IfcAppliedValue { public: IfcCostValue() {} - explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} + explicit IfcCostValue (const std::weak_ptr& data) : IfcAppliedValue(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcAppliedValueSelect v3_AppliedValue, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_UnitBasis, std::optional< std::string > v5_ApplicableDate, std::optional< std::string > v6_FixedUntilDate, std::optional< std::string > v7_Category, std::optional< std::string > v8_Condition, std::optional< ::Ifc4x3_tc1::IfcArithmeticOperatorEnum::Value > v9_ArithmeticOperator, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_Components); }; /// Definition from ISO/CD 10303-41:1992: A derived unit is an expression of units. @@ -14716,7 +14716,7 @@ public: class IFC_PARSE_API IfcDerivedUnit : public express::Entity { public: IfcDerivedUnit() {} - explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The group of units and their exponents that define the derived unit. std::vector< ::Ifc4x3_tc1::IfcDerivedUnitElement > Elements() const; @@ -14729,7 +14729,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcDerivedUnitElement > v1_Elements, ::Ifc4x3_tc1::IfcDerivedUnitEnum::Value v2_UnitType, std::optional< std::string > v3_UserDefinedType, std::optional< std::string > v4_Name); }; /// Definition from ISO/CD 10303-41:1992: A derived unit element is one of the unit quantities @@ -14744,7 +14744,7 @@ public: class IFC_PARSE_API IfcDerivedUnitElement : public express::Entity { public: IfcDerivedUnitElement() {} - explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDerivedUnitElement (const std::weak_ptr& data) : express::Entity(data) {} /// The fixed quantity which is used as the mathematical factor. ::Ifc4x3_tc1::IfcNamedUnit Unit() const; @@ -14753,7 +14753,7 @@ public: int Exponent() const; void setExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcNamedUnit v1_Unit, int v2_Exponent); }; /// Definition from ISO/CD 10303-41:1992: The dimensionality of any quantity can be expressed as a product of powers of the dimensions of base quantities. @@ -14776,7 +14776,7 @@ public: class IFC_PARSE_API IfcDimensionalExponents : public express::Entity { public: IfcDimensionalExponents() {} - explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcDimensionalExponents (const std::weak_ptr& data) : express::Entity(data) {} /// The power of the length base quantity. int LengthExponent() const; @@ -14800,7 +14800,7 @@ public: int LuminousIntensityExponent() const; void setLuminousIntensityExponent(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_LengthExponent, int v2_MassExponent, int v3_TimeExponent, int v4_ElectricCurrentExponent, int v5_ThermodynamicTemperatureExponent, int v6_AmountOfSubstanceExponent, int v7_LuminousIntensityExponent); }; /// An IfcExternalInformation is the identification of an information source that is not explicitly represented in the current model or in the project database (as an implementation of the current model). The IfcExternalInformation identifies the external source (classification, document, or library), but not the particular items such as a dictionary entry, a classification notation, or a document reference within the external source @@ -14812,10 +14812,10 @@ public: class IFC_PARSE_API IfcExternalInformation : public express::Entity { public: IfcExternalInformation() {} - explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalInformation (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// An IfcExternalReference is the identification of information that is not explicitly represented in the current model or in the project database (as an implementation of the current model). Such information may be contained in classifications, documents or libraries. The IfcExternalReference identifies a particular item, such as a @@ -14830,7 +14830,7 @@ public: class IFC_PARSE_API IfcExternalReference : public express::Entity { public: IfcExternalReference() {} - explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcExternalReference (const std::weak_ptr& data) : express::Entity(data) {} /// Location, where the external source (classification, document or library) can be accessed by electronic means. The electronic location is provided as an URI, and would normally be given as an URL location string. /// @@ -14853,7 +14853,7 @@ public: void setName(const std::optional< std::string >& v); std::vector< IfcExternalReferenceRelationship > ExternalReferenceForResources() const; // INVERSE IfcExternalReferenceRelationship::RelatingReference - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined hatch style is an entity which makes an external reference to a hatching style. @@ -14867,10 +14867,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedHatchStyle : public IfcExternalReference { public: IfcExternallyDefinedHatchStyle() {} - explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedHatchStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// IfcExternallyDefinedSurfaceStyle is a definition of a surface style through referencing an external source, such as a material library for rendering information. @@ -14883,10 +14883,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedSurfaceStyle : public IfcExternalReference { public: IfcExternallyDefinedSurfaceStyle() {} - explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedSurfaceStyle (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// Definition from ISO/CD 10303-46:1992: The externally defined text font is an external reference to a text font @@ -14899,10 +14899,10 @@ public: class IFC_PARSE_API IfcExternallyDefinedTextFont : public IfcExternalReference { public: IfcExternallyDefinedTextFont() {} - explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcExternallyDefinedTextFont (const std::weak_ptr& data) : IfcExternalReference(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name); }; /// An individual axis, IfcGridAxis, is defined in the context of a design grid. The axis definition is based on a curve of dimensionality 2. The grid axis is positioned within the XY plane of the position coordinate system defined by the IfcDesignGrid. @@ -14931,7 +14931,7 @@ public: class IFC_PARSE_API IfcGridAxis : public express::Entity { public: IfcGridAxis() {} - explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcGridAxis (const std::weak_ptr& data) : express::Entity(data) {} /// The tag or name for this grid axis. std::optional< std::string > AxisTag() const; @@ -14947,7 +14947,7 @@ public: std::vector< IfcGrid > PartOfU() const; // INVERSE IfcGrid::UAxes std::vector< IfcVirtualGridIntersection > HasIntersections() const; // INVERSE IfcVirtualGridIntersection::IntersectingAxes - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_AxisTag, ::Ifc4x3_tc1::IfcCurve v2_AxisCurve, bool v3_SameSense); }; /// The IfcIrregularTimeSeriesValue describes a value (or set of values) at a particular time point. @@ -14956,7 +14956,7 @@ public: class IFC_PARSE_API IfcIrregularTimeSeriesValue : public express::Entity { public: IfcIrregularTimeSeriesValue() {} - explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcIrregularTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// The specification of the time point. std::string TimeStamp() const; @@ -14965,7 +14965,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_tc1::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_TimeStamp, std::vector< ::Ifc4x3_tc1::IfcValue > v2_ListValues); }; /// An IfcLibraryInformation describes a library where a library is a structured store of information, normally organized in a manner which allows information lookup through an index or reference value. IfcLibraryInformation provides the library Name and optional Version, VersionDate and Publisher attributes. A Location may be added for electronic access to the library. @@ -14979,7 +14979,7 @@ public: class IFC_PARSE_API IfcLibraryInformation : public IfcExternalInformation { public: IfcLibraryInformation() {} - explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcLibraryInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// The name which is used to identify the library. std::string Name() const; @@ -15005,7 +15005,7 @@ public: std::vector< IfcRelAssociatesLibrary > LibraryInfoForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary std::vector< IfcLibraryReference > HasLibraryReferences() const; // INVERSE IfcLibraryReference::ReferencedLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Version, ::Ifc4x3_tc1::IfcActorSelect v3_Publisher, std::optional< std::string > v4_VersionDate, std::optional< std::string > v5_Location, std::optional< std::string > v6_Description); }; /// An IfcLibraryReference is a reference into a library of information by Location (provided as a URI). It also provides an optional inherited Identification key to allow more specific references to library sections or tables. The inherited Name attribute allows for a human interpretable identification of the library item. Also, general information on the library from which the reference is taken, is given by the ReferencedLibrary relation which identifies the relevant occurrence of IfcLibraryInformation. @@ -15018,7 +15018,7 @@ public: class IFC_PARSE_API IfcLibraryReference : public IfcExternalReference { public: IfcLibraryReference() {} - explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcLibraryReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Additional description provided for the library reference. /// @@ -15035,7 +15035,7 @@ public: void setReferencedLibrary(const ::Ifc4x3_tc1::IfcLibraryInformation& v); std::vector< IfcRelAssociatesLibrary > LibraryRefForObjects() const; // INVERSE IfcRelAssociatesLibrary::RelatingLibrary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_Language, ::Ifc4x3_tc1::IfcLibraryInformation v6_ReferencedLibrary); }; /// IfcLightDistributionData defines the luminous intensity of a light source given at a particular main plane angle. It is based on some standardized light distribution curves; the MainPlaneAngle is either the @@ -15056,7 +15056,7 @@ public: class IFC_PARSE_API IfcLightDistributionData : public express::Entity { public: IfcLightDistributionData() {} - explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightDistributionData (const std::weak_ptr& data) : express::Entity(data) {} /// The main plane angle (A, B or C angles, according to the light distribution curve chosen). double MainPlaneAngle() const; @@ -15070,7 +15070,7 @@ public: std::vector< double > /*[1:?]*/ LuminousIntensity() const; void setLuminousIntensity(const std::vector< double > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_MainPlaneAngle, std::vector< double > /*[1:?]*/ v2_SecondaryPlaneAngle, std::vector< double > /*[1:?]*/ v3_LuminousIntensity); }; /// IfcLightIntensityDistribution defines the the luminous intensity of a light source that changes according to the direction of the ray. It is based on some standardized light distribution curves, which are defined by the LightDistributionCurve attribute. @@ -15079,7 +15079,7 @@ public: class IFC_PARSE_API IfcLightIntensityDistribution : public express::Entity { public: IfcLightIntensityDistribution() {} - explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcLightIntensityDistribution (const std::weak_ptr& data) : express::Entity(data) {} /// Standardized light distribution curve used to define the luminous intensity of the light in all directions. ::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value LightDistributionCurve() const; @@ -15088,7 +15088,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcLightDistributionData > DistributionData() const; void setDistributionData(const std::vector< ::Ifc4x3_tc1::IfcLightDistributionData >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcLightDistributionCurveEnum::Value v1_LightDistributionCurve, std::vector< ::Ifc4x3_tc1::IfcLightDistributionData > v2_DistributionData); }; /// The map conversion deals with transforming the local engineering coordinate system, often called world coordinate system, into the coordinate reference system of the underlying map. @@ -15105,7 +15105,7 @@ public: class IFC_PARSE_API IfcMapConversion : public IfcCoordinateOperation { public: IfcMapConversion() {} - explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} + explicit IfcMapConversion (const std::weak_ptr& data) : IfcCoordinateOperation(data) {} /// Specifies the location along the easting of the coordinate system of the target map coordinate reference system. /// NOTE  for right-handed Cartesian coordinate systems this would establish the location along the x axis @@ -15137,7 +15137,7 @@ public: std::optional< double > ScaleZ() const; void setScaleZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCoordinateReferenceSystemSelect v1_SourceCRS, ::Ifc4x3_tc1::IfcCoordinateReferenceSystem v2_TargetCRS, double v3_Eastings, double v4_Northings, double v5_OrthogonalHeight, std::optional< double > v6_XAxisAbscissa, std::optional< double > v7_XAxisOrdinate, std::optional< double > v8_Scale, std::optional< double > v9_ScaleY, std::optional< double > v10_ScaleZ); }; /// IfcMaterialClassificationRelationship is a relationship assigning classifications to materials. @@ -15148,7 +15148,7 @@ public: class IFC_PARSE_API IfcMaterialClassificationRelationship : public express::Entity { public: IfcMaterialClassificationRelationship() {} - explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialClassificationRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// The material classifications identifying the type of material. std::vector< ::Ifc4x3_tc1::IfcClassificationSelect > MaterialClassifications() const; @@ -15157,7 +15157,7 @@ public: ::Ifc4x3_tc1::IfcMaterial ClassifiedMaterial() const; void setClassifiedMaterial(const ::Ifc4x3_tc1::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcClassificationSelect > v1_MaterialClassifications, ::Ifc4x3_tc1::IfcMaterial v2_ClassifiedMaterial); }; /// IfcMaterialDefinition is a general supertype for all @@ -15187,13 +15187,13 @@ public: class IFC_PARSE_API IfcMaterialDefinition : public express::Entity { public: IfcMaterialDefinition() {} - explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcMaterialProperties > HasProperties() const; // INVERSE IfcMaterialProperties::Material - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcMaterialLayer is a single and identifiable part of an element which is constructed of a number of layers (one or more). Each IfcMaterialLayer has a constant thickness and is located relative to the referencing IfcMaterialLayerSet along the MlsBase. @@ -15222,7 +15222,7 @@ public: class IFC_PARSE_API IfcMaterialLayer : public IfcMaterialDefinition { public: IfcMaterialLayer() {} - explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayer (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Optional reference to the material from which the layer is constructed. Note that if this value is not given, it does not denote a layer with no material (an air gap), it only means that the material is not specified at that point. ::Ifc4x3_tc1::IfcMaterial Material() const; @@ -15255,7 +15255,7 @@ public: void setPriority(const std::optional< int >& v); std::vector< IfcMaterialLayerSet > ToMaterialLayerSet() const; // INVERSE IfcMaterialLayerSet::MaterialLayers - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority); }; /// IfcMaterialLayerSet is a designation by which materials of an element constructed of a number of material layers is known and through which the relative positioning of individual layers can be expressed. @@ -15294,7 +15294,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSet : public IfcMaterialDefinition { public: IfcMaterialLayerSet() {} - explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialLayerSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Identification of the layers from which the material layer set is composed. std::vector< ::Ifc4x3_tc1::IfcMaterialLayer > MaterialLayers() const; @@ -15308,7 +15308,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcMaterialLayer > v1_MaterialLayers, std::optional< std::string > v2_LayerSetName, std::optional< std::string > v3_Description); }; /// IfcMaterialLayerWithOffsets is a specialization of IfcMaterialLayer enabling definition @@ -15357,7 +15357,7 @@ public: class IFC_PARSE_API IfcMaterialLayerWithOffsets : public IfcMaterialLayer { public: IfcMaterialLayerWithOffsets() {} - explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} + explicit IfcMaterialLayerWithOffsets (const std::weak_ptr& data) : IfcMaterialLayer(data) {} /// Orientation of the offset; shall be perpendicular to the parent layer set direction. ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value OffsetDirection() const; @@ -15366,7 +15366,7 @@ public: std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcMaterial v1_Material, double v2_LayerThickness, std::optional< boost::logic::tribool > v3_IsVentilated, std::optional< std::string > v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Category, std::optional< int > v7_Priority, ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value v8_OffsetDirection, std::vector< double > /*[1:2]*/ v9_OffsetValues); }; /// IfcMaterialList is a list of the different materials @@ -15389,13 +15389,13 @@ public: class IFC_PARSE_API IfcMaterialList : public express::Entity { public: IfcMaterialList() {} - explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialList (const std::weak_ptr& data) : express::Entity(data) {} /// Materials used in a composition of substances. std::vector< ::Ifc4x3_tc1::IfcMaterial > Materials() const; void setMaterials(const std::vector< ::Ifc4x3_tc1::IfcMaterial >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcMaterial > v1_Materials); }; /// IfcMaterialProfile is a single and identifiable part of an element which is constructed of a number of profiles (one or more). @@ -15406,7 +15406,7 @@ public: class IFC_PARSE_API IfcMaterialProfile : public IfcMaterialDefinition { public: IfcMaterialProfile() {} - explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfile (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile is known. std::optional< std::string > Name() const; @@ -15428,7 +15428,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialProfileSet > ToMaterialProfileSet() const; // INVERSE IfcMaterialProfileSet::MaterialProfiles - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_Material, ::Ifc4x3_tc1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category); }; /// IfcMaterialProfileSet is a designation by which individual material(s) of a prismatic element (for example, beam or column) constructed of a single or multiple material profiles is known. If only a single material profile is used (the most typical case) then no CompositeProfile is asserted. @@ -15439,7 +15439,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSet : public IfcMaterialDefinition { public: IfcMaterialProfileSet() {} - explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialProfileSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material profile set is known. std::optional< std::string > Name() const; @@ -15457,7 +15457,7 @@ public: ::Ifc4x3_tc1::IfcCompositeProfileDef CompositeProfile() const; void setCompositeProfile(const ::Ifc4x3_tc1::IfcCompositeProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcMaterialProfile > v3_MaterialProfiles, ::Ifc4x3_tc1::IfcCompositeProfileDef v4_CompositeProfile); }; /// IfcMaterialProfileWithOffsets is a specialization of IfcMaterialProfile enabling definition offset values for profile start or end in its use in parent material profile set usage. @@ -15468,13 +15468,13 @@ public: class IFC_PARSE_API IfcMaterialProfileWithOffsets : public IfcMaterialProfile { public: IfcMaterialProfileWithOffsets() {} - explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} + explicit IfcMaterialProfileWithOffsets (const std::weak_ptr& data) : IfcMaterialProfile(data) {} /// The numerical value of profile offset, in the direction of the axis direction - always AXIS1 i.e. the axis along the extrusion path. The OffsetValues[1] identifies the offset from the lower position along the axis direction (normally the start of the standard extrusion), the OffsetValues[2] identifies the offset from the upper position along the axis direction (normally the end of the standard extrusion), std::vector< double > /*[1:2]*/ OffsetValues() const; void setOffsetValues(const std::vector< double > /*[1:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_Material, ::Ifc4x3_tc1::IfcProfileDef v4_Profile, std::optional< int > v5_Priority, std::optional< std::string > v6_Category, std::vector< double > /*[1:2]*/ v7_OffsetValues); }; /// IfcMaterialUsageDefinition is a general supertype for all @@ -15511,11 +15511,11 @@ public: class IFC_PARSE_API IfcMaterialUsageDefinition : public express::Entity { public: IfcMaterialUsageDefinition() {} - explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMaterialUsageDefinition (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcRelAssociatesMaterial > AssociatedTo() const; // INVERSE IfcRelAssociatesMaterial::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-41:1992: A measure with unit is the specification of a physical quantity as defined in ISO 31 (clause 2). @@ -15531,7 +15531,7 @@ public: class IFC_PARSE_API IfcMeasureWithUnit : public express::Entity { public: IfcMeasureWithUnit() {} - explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMeasureWithUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The value of the physical quantity when expressed in the specified units. ::Ifc4x3_tc1::IfcValue ValueComponent() const; @@ -15540,7 +15540,7 @@ public: ::Ifc4x3_tc1::IfcUnit UnitComponent() const; void setUnitComponent(const ::Ifc4x3_tc1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcValue v1_ValueComponent, ::Ifc4x3_tc1::IfcUnit v2_UnitComponent); }; /// An IfcMetric is used to capture quantitative resultant metrics that can be applied to objectives. @@ -15598,7 +15598,7 @@ public: class IFC_PARSE_API IfcMetric : public IfcConstraint { public: IfcMetric() {} - explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcMetric (const std::weak_ptr& data) : IfcConstraint(data) {} /// Enumeration that identifies the type of benchmark data. ::Ifc4x3_tc1::IfcBenchmarkEnum::Value Benchmark() const; @@ -15612,7 +15612,7 @@ public: ::Ifc4x3_tc1::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_tc1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, ::Ifc4x3_tc1::IfcBenchmarkEnum::Value v8_Benchmark, std::optional< std::string > v9_ValueSource, ::Ifc4x3_tc1::IfcMetricValueSelect v10_DataValue, ::Ifc4x3_tc1::IfcReference v11_ReferencePath); }; /// IfcMonetaryUnit is a unit to define currency for money. @@ -15623,13 +15623,13 @@ public: class IFC_PARSE_API IfcMonetaryUnit : public express::Entity { public: IfcMonetaryUnit() {} - explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcMonetaryUnit (const std::weak_ptr& data) : express::Entity(data) {} /// Code or name of the currency. Permissible values are the three-letter alphabetic currency codes as per ISO 4217, for example CNY, EUR, GBP, JPY, USD. std::string Currency() const; void setCurrency(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Currency); }; /// Definition from ISO/CD 10303-41:1992: A named unit is a unit quantity associated with the word, or group of words, by which the unit is identified. @@ -15640,7 +15640,7 @@ public: class IFC_PARSE_API IfcNamedUnit : public express::Entity { public: IfcNamedUnit() {} - explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcNamedUnit (const std::weak_ptr& data) : express::Entity(data) {} /// The dimensional exponents of the SI base units by which the named unit is defined. ::Ifc4x3_tc1::IfcDimensionalExponents Dimensions() const; @@ -15649,7 +15649,7 @@ public: ::Ifc4x3_tc1::IfcUnitEnum::Value UnitType() const; void setUnitType(const ::Ifc4x3_tc1::IfcUnitEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType); }; /// IfcObjectPlacement is an abstract supertype for the special types defining the object coordinate system. The @@ -15666,14 +15666,14 @@ public: class IFC_PARSE_API IfcObjectPlacement : public express::Entity { public: IfcObjectPlacement() {} - explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcObjectPlacement (const std::weak_ptr& data) : express::Entity(data) {} ::Ifc4x3_tc1::IfcObjectPlacement PlacementRelTo() const; void setPlacementRelTo(const ::Ifc4x3_tc1::IfcObjectPlacement& v); std::vector< IfcProduct > PlacesObject() const; // INVERSE IfcProduct::ObjectPlacement std::vector< IfcObjectPlacement > ReferencedByPlacements() const; // INVERSE IfcObjectPlacement::PlacementRelTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo); }; /// An IfcObjective captures qualitative information for an objective-based constraint. @@ -15688,7 +15688,7 @@ public: class IFC_PARSE_API IfcObjective : public IfcConstraint { public: IfcObjective() {} - explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} + explicit IfcObjective (const std::weak_ptr& data) : IfcConstraint(data) {} /// A list of any benchmark values used for comparison purposes. std::optional< std::vector< ::Ifc4x3_tc1::IfcConstraint > > BenchmarkValues() const; @@ -15702,7 +15702,7 @@ public: std::optional< std::string > UserDefinedQualifier() const; void setUserDefinedQualifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraintEnum::Value v3_ConstraintGrade, std::optional< std::string > v4_ConstraintSource, ::Ifc4x3_tc1::IfcActorSelect v5_CreatingActor, std::optional< std::string > v6_CreationTime, std::optional< std::string > v7_UserDefinedGrade, std::optional< std::vector< ::Ifc4x3_tc1::IfcConstraint > > v8_BenchmarkValues, std::optional< ::Ifc4x3_tc1::IfcLogicalOperatorEnum::Value > v9_LogicalAggregator, ::Ifc4x3_tc1::IfcObjectiveEnum::Value v10_ObjectiveQualifier, std::optional< std::string > v11_UserDefinedQualifier); }; /// A named and structured grouping with a corporate identity. @@ -15716,7 +15716,7 @@ public: class IFC_PARSE_API IfcOrganization : public express::Entity { public: IfcOrganization() {} - explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the organization. std::optional< std::string > Identification() const; @@ -15738,7 +15738,7 @@ public: std::vector< IfcOrganizationRelationship > Relates() const; // INVERSE IfcOrganizationRelationship::RelatingOrganization std::vector< IfcPersonAndOrganization > Engages() const; // INVERSE IfcPersonAndOrganization::TheOrganization - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > v4_Roles, std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > v5_Addresses); }; /// IfcOwnerHistory defines all history and identification related information. In order to provide fast access it is directly attached to all independent objects, relationships and properties. @@ -15754,7 +15754,7 @@ public: class IFC_PARSE_API IfcOwnerHistory : public express::Entity { public: IfcOwnerHistory() {} - explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcOwnerHistory (const std::weak_ptr& data) : express::Entity(data) {} /// Direct reference to the end user who currently "owns" this object. Note that IFC includes the concept of ownership transfer from one user to another and therefore distinguishes between the Owning User and Creating User. ::Ifc4x3_tc1::IfcPersonAndOrganization OwningUser() const; @@ -15781,7 +15781,7 @@ public: int CreationDate() const; void setCreationDate(const int& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPersonAndOrganization v1_OwningUser, ::Ifc4x3_tc1::IfcApplication v2_OwningApplication, std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > v3_State, std::optional< ::Ifc4x3_tc1::IfcChangeActionEnum::Value > v4_ChangeAction, std::optional< int > v5_LastModifiedDate, ::Ifc4x3_tc1::IfcPersonAndOrganization v6_LastModifyingUser, ::Ifc4x3_tc1::IfcApplication v7_LastModifyingApplication, int v8_CreationDate); }; /// Definition: an individual human being. @@ -15796,7 +15796,7 @@ public: class IFC_PARSE_API IfcPerson : public express::Entity { public: IfcPerson() {} - explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPerson (const std::weak_ptr& data) : express::Entity(data) {} /// Identification of the person. std::optional< std::string > Identification() const; @@ -15830,7 +15830,7 @@ public: void setAddresses(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > >& v); std::vector< IfcPersonAndOrganization > EngagedIn() const; // INVERSE IfcPersonAndOrganization::ThePerson - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identification, std::optional< std::string > v2_FamilyName, std::optional< std::string > v3_GivenName, std::optional< std::vector< std::string > /*[1:?]*/ > v4_MiddleNames, std::optional< std::vector< std::string > /*[1:?]*/ > v5_PrefixTitles, std::optional< std::vector< std::string > /*[1:?]*/ > v6_SuffixTitles, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > v7_Roles, std::optional< std::vector< ::Ifc4x3_tc1::IfcAddress > > v8_Addresses); }; /// Definition: Identification of a person within an organization. @@ -15841,7 +15841,7 @@ public: class IFC_PARSE_API IfcPersonAndOrganization : public express::Entity { public: IfcPersonAndOrganization() {} - explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPersonAndOrganization (const std::weak_ptr& data) : express::Entity(data) {} /// The person who is related to the organization. ::Ifc4x3_tc1::IfcPerson ThePerson() const; @@ -15853,7 +15853,7 @@ public: std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > Roles() const; void setRoles(const std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPerson v1_ThePerson, ::Ifc4x3_tc1::IfcOrganization v2_TheOrganization, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorRole > > v3_Roles); }; /// The physical quantity, IfcPhysicalQuantity, is an abstract entity that holds a complex or simple quantity measure together with a semantic definition of the usage for the single or several measure value. @@ -15864,7 +15864,7 @@ public: class IFC_PARSE_API IfcPhysicalQuantity : public express::Entity { public: IfcPhysicalQuantity() {} - explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPhysicalQuantity (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the element quantity or measure. The name attribute has to be made recognizable by further agreements. std::string Name() const; @@ -15875,7 +15875,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcPhysicalComplexQuantity > PartOfComplex() const; // INVERSE IfcPhysicalComplexQuantity::HasQuantities - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description); }; /// The physical quantity, IfcPhysicalSimpleQuantity, is an entity that holds a single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity) together with a semantic definition of the usage for the measure value. @@ -15890,13 +15890,13 @@ public: class IFC_PARSE_API IfcPhysicalSimpleQuantity : public IfcPhysicalQuantity { public: IfcPhysicalSimpleQuantity() {} - explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalSimpleQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Optional assignment of a unit. If no unit is given, then the global unit assignment, as established at the IfcProject, applies to the quantity measures. ::Ifc4x3_tc1::IfcNamedUnit Unit() const; void setUnit(const ::Ifc4x3_tc1::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit); }; /// Definition: The address for delivery of paper based mail. @@ -15905,7 +15905,7 @@ public: class IFC_PARSE_API IfcPostalAddress : public IfcAddress { public: IfcPostalAddress() {} - explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcPostalAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// An organization defined address for internal mail delivery. std::optional< std::string > InternalLocation() const; @@ -15935,17 +15935,17 @@ public: std::optional< std::string > Country() const; void setCountry(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::string > v4_InternalLocation, std::optional< std::vector< std::string > /*[1:?]*/ > v5_AddressLines, std::optional< std::string > v6_PostalBox, std::optional< std::string > v7_Town, std::optional< std::string > v8_Region, std::optional< std::string > v9_PostalCode, std::optional< std::string > v10_Country); }; class IFC_PARSE_API IfcPresentationItem : public express::Entity { public: IfcPresentationItem() {} - explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationItem (const std::weak_ptr& data) : express::Entity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The presentation layer assignment provides the layer name (and optionally a description and an identifier) for a collection of geometric representation items. The IfcPresentationLayerAssignment corresponds to the term "CAD Layer" and is used mainly for grouping and visibility control. @@ -15966,7 +15966,7 @@ public: class IFC_PARSE_API IfcPresentationLayerAssignment : public express::Entity { public: IfcPresentationLayerAssignment() {} - explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationLayerAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the layer. std::string Name() const; @@ -15981,7 +15981,7 @@ public: std::optional< std::string > Identifier() const; void setIdentifier(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier); }; /// An IfcPresentationLayerAssignmentWithStyle extends the presentation layer assignment with capabilities to define visibility control, access control and common style information. @@ -16000,7 +16000,7 @@ public: class IFC_PARSE_API IfcPresentationLayerWithStyle : public IfcPresentationLayerAssignment { public: IfcPresentationLayerWithStyle() {} - explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} + explicit IfcPresentationLayerWithStyle (const std::weak_ptr& data) : IfcPresentationLayerAssignment(data) {} /// A logical setting, TRUE indicates that the layer is set to 'On', FALSE that the layer is set to 'Off', UNKNOWN that such information is not available. boost::logic::tribool LayerOn() const; @@ -16019,7 +16019,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > LayerStyles() const; void setLayerStyles(const std::vector< ::Ifc4x3_tc1::IfcPresentationStyle >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcLayeredItem > v3_AssignedItems, std::optional< std::string > v4_Identifier, boost::logic::tribool v5_LayerOn, boost::logic::tribool v6_LayerFrozen, boost::logic::tribool v7_LayerBlocked, std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > v8_LayerStyles); }; /// IfcPresentationStyle is an abstract generalization of style table for presentation information assigned to geometric representation items. It includes styles for curves, areas, surfaces, text and symbols. Style information may include colour, hatching, rendering, and text fonts. @@ -16030,13 +16030,13 @@ public: class IFC_PARSE_API IfcPresentationStyle : public express::Entity { public: IfcPresentationStyle() {} - explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPresentationStyle (const std::weak_ptr& data) : express::Entity(data) {} /// Name of the presentation style. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// IfcProductRepresentation defines a representation of a @@ -16059,7 +16059,7 @@ public: class IFC_PARSE_API IfcProductRepresentation : public express::Entity { public: IfcProductRepresentation() {} - explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProductRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// The word or group of words by which the product representation is known. std::optional< std::string > Name() const; @@ -16071,7 +16071,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcRepresentation > Representations() const; void setRepresentations(const std::vector< ::Ifc4x3_tc1::IfcRepresentation >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcRepresentation > v3_Representations); }; /// IfcProfileDef @@ -16247,7 +16247,7 @@ public: class IFC_PARSE_API IfcProfileDef : public express::Entity { public: IfcProfileDef() {} - explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcProfileDef (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the type of geometry into which this profile definition shall be resolved, either a curve or a surface area. In case of curve the profile should be referenced by a swept surface, in case of area the profile should be referenced by a swept area solid. ::Ifc4x3_tc1::IfcProfileTypeEnum::Value ProfileType() const; @@ -16258,7 +16258,7 @@ public: std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects std::vector< IfcProfileProperties > HasProperties() const; // INVERSE IfcProfileProperties::ProfileDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName); }; /// Definition from OpenGIS® Abstract Specification, @@ -16287,7 +16287,7 @@ public: class IFC_PARSE_API IfcProjectedCRS : public IfcCoordinateReferenceSystem { public: IfcProjectedCRS() {} - explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} + explicit IfcProjectedCRS (const std::weak_ptr& data) : IfcCoordinateReferenceSystem(data) {} /// Name by which the map projection is identified. /// @@ -16306,18 +16306,18 @@ public: ::Ifc4x3_tc1::IfcNamedUnit MapUnit() const; void setMapUnit(const ::Ifc4x3_tc1::IfcNamedUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_GeodeticDatum, std::optional< std::string > v4_VerticalDatum, std::optional< std::string > v5_MapProjection, std::optional< std::string > v6_MapZone, ::Ifc4x3_tc1::IfcNamedUnit v7_MapUnit); }; class IFC_PARSE_API IfcPropertyAbstraction : public express::Entity { public: IfcPropertyAbstraction() {} - explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcPropertyAbstraction (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcPropertyEnumeration is a collection of simple @@ -16369,7 +16369,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeration : public IfcPropertyAbstraction { public: IfcPropertyEnumeration() {} - explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPropertyEnumeration (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name of this enumeration. std::string Name() const; @@ -16381,7 +16381,7 @@ public: ::Ifc4x3_tc1::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_tc1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< ::Ifc4x3_tc1::IfcValue > v2_EnumerationValues, ::Ifc4x3_tc1::IfcUnit v3_Unit); }; /// IfcQuantityArea is a physical quantity that defines a derived area measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16392,7 +16392,7 @@ public: class IFC_PARSE_API IfcQuantityArea : public IfcPhysicalSimpleQuantity { public: IfcQuantityArea() {} - explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityArea (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Area measure value of this quantity. double AreaValue() const; @@ -16403,7 +16403,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_AreaValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityCount is a physical quantity that defines a derived count measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16414,7 +16414,7 @@ public: class IFC_PARSE_API IfcQuantityCount : public IfcPhysicalSimpleQuantity { public: IfcQuantityCount() {} - explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityCount (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Count measure value of this quantity. int CountValue() const; @@ -16425,7 +16425,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, int v4_CountValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityLength is a physical quantity that defines a derived length measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16436,7 +16436,7 @@ public: class IFC_PARSE_API IfcQuantityLength : public IfcPhysicalSimpleQuantity { public: IfcQuantityLength() {} - explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityLength (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Length measure value of this quantity. double LengthValue() const; @@ -16447,21 +16447,21 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_LengthValue, std::optional< std::string > v5_Formula); }; class IFC_PARSE_API IfcQuantityNumber : public IfcPhysicalSimpleQuantity { public: IfcQuantityNumber() {} - explicit IfcQuantityNumber (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityNumber (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} double NumberValue() const; void setNumberValue(const double& v); std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_NumberValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityTime is an element quantity that defines a time measure to provide an property of time related to an element. It is normally given by the recipe information of the element under the specific measure rules given by a method of measurement. @@ -16472,7 +16472,7 @@ public: class IFC_PARSE_API IfcQuantityTime : public IfcPhysicalSimpleQuantity { public: IfcQuantityTime() {} - explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityTime (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Time measure value of this quantity. double TimeValue() const; @@ -16483,7 +16483,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_TimeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityVolume is a physical quantity that defines a derived volume measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16494,7 +16494,7 @@ public: class IFC_PARSE_API IfcQuantityVolume : public IfcPhysicalSimpleQuantity { public: IfcQuantityVolume() {} - explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityVolume (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Volume measure value of this quantity. double VolumeValue() const; @@ -16505,7 +16505,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_VolumeValue, std::optional< std::string > v5_Formula); }; /// IfcQuantityWeight is a physical element quantity that defines a derived weight measure to provide an element's physical property. It is normally derived from the physical properties of the element under the specific measure rules given by a method of measurement. @@ -16516,7 +16516,7 @@ public: class IFC_PARSE_API IfcQuantityWeight : public IfcPhysicalSimpleQuantity { public: IfcQuantityWeight() {} - explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} + explicit IfcQuantityWeight (const std::weak_ptr& data) : IfcPhysicalSimpleQuantity(data) {} /// Mass measure value of this quantity. double WeightValue() const; @@ -16527,7 +16527,7 @@ public: std::optional< std::string > Formula() const; void setFormula(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcNamedUnit v3_Unit, double v4_WeightValue, std::optional< std::string > v5_Formula); }; /// IfcRecurrencePattern defines repetitive time periods on the basis of regular recurrences such as each Monday in a week, or every third Tuesday in a month. The population of the remaining attributes such as DayComponent, Position, and Interval depend on the specified recurrence type. @@ -16539,7 +16539,7 @@ public: class IFC_PARSE_API IfcRecurrencePattern : public express::Entity { public: IfcRecurrencePattern() {} - explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRecurrencePattern (const std::weak_ptr& data) : express::Entity(data) {} /// Defines the recurrence type that gives meaning to the used /// attributes and decides about possible attribute @@ -16579,14 +16579,14 @@ public: std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > > TimePeriods() const; void setTimePeriods(const std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRecurrenceTypeEnum::Value v1_RecurrenceType, std::optional< std::vector< int > /*[1:?]*/ > v2_DayComponent, std::optional< std::vector< int > /*[1:?]*/ > v3_WeekdayComponent, std::optional< std::vector< int > /*[1:?]*/ > v4_MonthComponent, std::optional< int > v5_Position, std::optional< int > v6_Interval, std::optional< int > v7_Occurrences, std::optional< std::vector< ::Ifc4x3_tc1::IfcTimePeriod > > v8_TimePeriods); }; class IFC_PARSE_API IfcReference : public express::Entity { public: IfcReference() {} - explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcReference (const std::weak_ptr& data) : express::Entity(data) {} std::optional< std::string > TypeIdentifier() const; void setTypeIdentifier(const std::optional< std::string >& v); @@ -16599,7 +16599,7 @@ public: ::Ifc4x3_tc1::IfcReference InnerReference() const; void setInnerReference(const ::Ifc4x3_tc1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_TypeIdentifier, std::optional< std::string > v2_AttributeIdentifier, std::optional< std::string > v3_InstanceName, std::optional< std::vector< int > /*[1:?]*/ > v4_ListPositions, ::Ifc4x3_tc1::IfcReference v5_InnerReference); }; /// Definition from ISO/CD 10303-43:1992: A @@ -16651,7 +16651,7 @@ public: class IFC_PARSE_API IfcRepresentation : public express::Entity { public: IfcRepresentation() {} - explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentation (const std::weak_ptr& data) : express::Entity(data) {} /// Definition of the representation context for which the different subtypes of representation are valid. ::Ifc4x3_tc1::IfcRepresentationContext ContextOfItems() const; @@ -16670,7 +16670,7 @@ public: std::vector< IfcPresentationLayerAssignment > LayerAssignments() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcProductRepresentation > OfProductRepresentation() const; // INVERSE IfcProductRepresentation::Representations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-42:1992: A representation context is a context in which a set of representation items are related. @@ -16686,7 +16686,7 @@ public: class IFC_PARSE_API IfcRepresentationContext : public express::Entity { public: IfcRepresentationContext() {} - explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationContext (const std::weak_ptr& data) : express::Entity(data) {} /// The optional identifier of the representation context as used within a project. std::optional< std::string > ContextIdentifier() const; @@ -16696,7 +16696,7 @@ public: void setContextType(const std::optional< std::string >& v); std::vector< IfcRepresentation > RepresentationsInContext() const; // INVERSE IfcRepresentation::ContextOfItems - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType); }; /// Definition from ISO/CD @@ -16734,12 +16734,12 @@ public: class IFC_PARSE_API IfcRepresentationItem : public express::Entity { public: IfcRepresentationItem() {} - explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationItem (const std::weak_ptr& data) : express::Entity(data) {} std::vector< IfcPresentationLayerAssignment > LayerAssignment() const; // INVERSE IfcPresentationLayerAssignment::AssignedItems std::vector< IfcStyledItem > StyledByItem() const; // INVERSE IfcStyledItem::Item - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A representation map is the identification of a representation and a representation item in that representation for the purpose of mapping. The representation item defines the origin of the mapping. The representation map is used as the source of a mapping by a mapped item. @@ -16756,7 +16756,7 @@ public: class IFC_PARSE_API IfcRepresentationMap : public express::Entity { public: IfcRepresentationMap() {} - explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRepresentationMap (const std::weak_ptr& data) : express::Entity(data) {} /// An axis2 placement that defines the position about which the mapped /// representation is mapped. @@ -16768,7 +16768,7 @@ public: std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape std::vector< IfcMappedItem > MapUsage() const; // INVERSE IfcMappedItem::MappingSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_MappingOrigin, ::Ifc4x3_tc1::IfcRepresentation v2_MappedRepresentation); }; /// IfcResourceLevelRelationship is an abstract base class for relationships between resource-level entities. @@ -16777,7 +16777,7 @@ public: class IFC_PARSE_API IfcResourceLevelRelationship : public express::Entity { public: IfcResourceLevelRelationship() {} - explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcResourceLevelRelationship (const std::weak_ptr& data) : express::Entity(data) {} /// A name used to identify or qualify the relationship. std::optional< std::string > Name() const; @@ -16786,7 +16786,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description); }; /// IfcRoot is the most abstract and root class for all IFC entity definitions that roots in the kernel or in subsequent layers of the IFC object model. It is therefore the common supertype of all IFC entities, beside those defined in an IFC resource schema. All entities that are subtypes of IfcRoot can be used independently, whereas resource schema entities, that are not subtypes of IfcRoot, are not supposed to be independent entities. @@ -16801,7 +16801,7 @@ public: class IFC_PARSE_API IfcRoot : public express::Entity { public: IfcRoot() {} - explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcRoot (const std::weak_ptr& data) : express::Entity(data) {} /// Assignment of a globally unique identifier within the entire software world. std::string GlobalId() const; @@ -16820,7 +16820,7 @@ public: std::optional< std::string > Description() const; void setDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from ISO/CD 10303-41:1992: An SI unit is the fixed quantity used as a standard in terms of which items are measured as defined by ISO 1000 (clause 2). @@ -16833,7 +16833,7 @@ public: class IFC_PARSE_API IfcSIUnit : public IfcNamedUnit { public: IfcSIUnit() {} - explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcSIUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The SI Prefix for defining decimal multiples and submultiples of the unit. std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value > Prefix() const; @@ -16844,7 +16844,7 @@ public: ::Ifc4x3_tc1::IfcSIUnitName::Value Name() const; void setName(const ::Ifc4x3_tc1::IfcSIUnitName::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::optional< ::Ifc4x3_tc1::IfcSIPrefix::Value > v3_Prefix, ::Ifc4x3_tc1::IfcSIUnitName::Value v4_Name); }; /// IfcSchedulingTime is the abstract supertype of entities that capture time-related information of processes. @@ -16853,7 +16853,7 @@ public: class IFC_PARSE_API IfcSchedulingTime : public express::Entity { public: IfcSchedulingTime() {} - explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcSchedulingTime (const std::weak_ptr& data) : express::Entity(data) {} /// Optional name for the time definition. std::optional< std::string > Name() const; @@ -16866,7 +16866,7 @@ public: std::optional< std::string > UserDefinedDataOrigin() const; void setUserDefinedDataOrigin(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin); }; /// Definition from ISO/CD 10303-41:1992: The shape @@ -16909,7 +16909,7 @@ public: class IFC_PARSE_API IfcShapeAspect : public express::Entity { public: IfcShapeAspect() {} - explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcShapeAspect (const std::weak_ptr& data) : express::Entity(data) {} /// List of shape representations. Each member defines a valid representation of a particular type within a particular representation context as being an aspect (or part) of a product definition. /// IFC2x Edition 3 CHANGE  The data type has been changed from IfcShapeRepresentation to IfcShapeModel with upward compatibility @@ -16932,7 +16932,7 @@ public: void setPartOfProductDefinitionShape(const ::Ifc4x3_tc1::IfcProductRepresentationSelect& v); std::vector< IfcExternalReferenceRelationship > HasExternalReferences() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcShapeModel > v1_ShapeRepresentations, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, boost::logic::tribool v4_ProductDefinitional, ::Ifc4x3_tc1::IfcProductRepresentationSelect v5_PartOfProductDefinitionShape); }; /// IfcShapeModel represents @@ -16956,11 +16956,11 @@ public: class IFC_PARSE_API IfcShapeModel : public IfcRepresentation { public: IfcShapeModel() {} - explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcShapeModel (const std::weak_ptr& data) : IfcRepresentation(data) {} std::vector< IfcShapeAspect > OfShapeAspect() const; // INVERSE IfcShapeAspect::ShapeRepresentations - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items); }; /// The IfcShapeRepresentation represents the concept of a @@ -17101,10 +17101,10 @@ public: class IFC_PARSE_API IfcShapeRepresentation : public IfcShapeModel { public: IfcShapeRepresentation() {} - explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcShapeRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describe more rarely needed connection properties. @@ -17113,13 +17113,13 @@ public: class IFC_PARSE_API IfcStructuralConnectionCondition : public express::Entity { public: IfcStructuralConnectionCondition() {} - explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralConnectionCondition (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this connection condition. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadOrResult is the supertype of all loads (actions or reactions) or of certain requirements resulting from structural analysis, or certain provisions which influence structural analysis. @@ -17128,13 +17128,13 @@ public: class IFC_PARSE_API IfcStructuralLoad : public express::Entity { public: IfcStructuralLoad() {} - explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcStructuralLoad (const std::weak_ptr& data) : express::Entity(data) {} /// Optionally defines a name for this load. std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: This class combines one or more load or result values in a 1- or 2-dimensional configuration. @@ -17151,7 +17151,7 @@ public: class IFC_PARSE_API IfcStructuralLoadConfiguration : public IfcStructuralLoad { public: IfcStructuralLoadConfiguration() {} - explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadConfiguration (const std::weak_ptr& data) : IfcStructuralLoad(data) {} /// List of load or result values. std::vector< ::Ifc4x3_tc1::IfcStructuralLoadOrResult > Values() const; @@ -17160,7 +17160,7 @@ public: std::optional< std::vector< std::vector< double > > > Locations() const; void setLocations(const std::optional< std::vector< std::vector< double > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_tc1::IfcStructuralLoadOrResult > v2_Values, std::optional< std::vector< std::vector< double > > > v3_Locations); }; /// Definition from IAI: Abstract superclass of simple load or result classes. @@ -17169,10 +17169,10 @@ public: class IFC_PARSE_API IfcStructuralLoadOrResult : public IfcStructuralLoad { public: IfcStructuralLoadOrResult() {} - explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} + explicit IfcStructuralLoadOrResult (const std::weak_ptr& data) : IfcStructuralLoad(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// Definition from IAI: The abstract entity IfcStructuralLoadStatic is the supertype of all static loads (actions or reactions) which can be defined. Within scope are single i.e. concentrated forces and moments, linear i.e. one-dimensionally distributed forces and moments, planar i.e. two-dimensionally distributed forces, furthermore displacements and temperature loads. @@ -17181,10 +17181,10 @@ public: class IFC_PARSE_API IfcStructuralLoadStatic : public IfcStructuralLoadOrResult { public: IfcStructuralLoadStatic() {} - explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcStructuralLoadStatic (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// An instance of the entity IfcStructuralLoadTemperature shall be used to define actions which are caused by a temperature change. As shown in Figure 332, the change of temperature is given with a constant value which is applied to the complete section and values for temperature differences between outer fibres of the section. @@ -17195,7 +17195,7 @@ public: class IFC_PARSE_API IfcStructuralLoadTemperature : public IfcStructuralLoadStatic { public: IfcStructuralLoadTemperature() {} - explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadTemperature (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Temperature change which affects the complete section of the structural member, or the uniform portion of a non-uniform temperature change. /// @@ -17213,7 +17213,7 @@ public: std::optional< double > DeltaTZ() const; void setDeltaTZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DeltaTConstant, std::optional< double > v3_DeltaTY, std::optional< double > v4_DeltaTZ); }; /// IfcStyleModel represents the concept of a particular presentation style defined for a material (or other characteristic) of a product or a product component within a representation context. This representation context may (but has not to be) a geometric representation context. @@ -17224,10 +17224,10 @@ public: class IFC_PARSE_API IfcStyleModel : public IfcRepresentation { public: IfcStyleModel() {} - explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} + explicit IfcStyleModel (const std::weak_ptr& data) : IfcRepresentation(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items); }; /// Definition from ISO/CD 10303-46:1992: The styled item is an assignment of style for presentation to a geometric representation item as it is used in a representation. @@ -17261,7 +17261,7 @@ public: class IFC_PARSE_API IfcStyledItem : public IfcRepresentationItem { public: IfcStyledItem() {} - explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcStyledItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A geometric representation item to which the style is assigned. /// @@ -17280,7 +17280,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRepresentationItem v1_Item, std::vector< ::Ifc4x3_tc1::IfcPresentationStyle > v2_Styles, std::optional< std::string > v3_Name); }; /// The IfcStyledRepresentation represents the concept of a styled presentation being a representation of a product or a product component, like material. within a representation context. This representation context does not need to be (but may be) a geometric representation context. @@ -17293,10 +17293,10 @@ public: class IFC_PARSE_API IfcStyledRepresentation : public IfcStyleModel { public: IfcStyledRepresentation() {} - explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} + explicit IfcStyledRepresentation (const std::weak_ptr& data) : IfcStyleModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items); }; /// Definition from IAI: Describes required or provided reinforcement area of surface members. @@ -17307,7 +17307,7 @@ public: class IFC_PARSE_API IfcSurfaceReinforcementArea : public IfcStructuralLoadOrResult { public: IfcSurfaceReinforcementArea() {} - explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} + explicit IfcSurfaceReinforcementArea (const std::weak_ptr& data) : IfcStructuralLoadOrResult(data) {} /// Reinforcement at the face of the member which is located at the side of the positive local z direction of the surface member. Specified as area per length, e.g. square metre per metre (hence length measure, e.g. metre). The reinforcement area may be specified for two or three directions of reinforcement bars. std::optional< std::vector< double > /*[2:3]*/ > SurfaceReinforcement1() const; @@ -17319,7 +17319,7 @@ public: std::optional< double > ShearReinforcement() const; void setShearReinforcement(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< double > /*[2:3]*/ > v2_SurfaceReinforcement1, std::optional< std::vector< double > /*[2:3]*/ > v3_SurfaceReinforcement2, std::optional< double > v4_ShearReinforcement); }; /// IfcSurfaceStyle is an assignment of one or many surface style elements to a surface, defined by subtypes of IfcSurface, IfcFaceBasedSurfaceModel, IfcShellBasedSurfaceModel, or by subtypes of IfcSolidModel. The positive direction of the surface normal relates to the positive side. In case of solids the outside of the solid is to be taken as positive side. @@ -17332,7 +17332,7 @@ public: class IFC_PARSE_API IfcSurfaceStyle : public IfcPresentationStyle { public: IfcSurfaceStyle() {} - explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcSurfaceStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// An indication of which side of the surface to apply the style. ::Ifc4x3_tc1::IfcSurfaceSide::Value Side() const; @@ -17341,7 +17341,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect > Styles() const; void setStyles(const std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcSurfaceSide::Value v2_Side, std::vector< ::Ifc4x3_tc1::IfcSurfaceStyleElementSelect > v3_Styles); }; /// IfcSurfaceStyleLighting is a container class for properties for calculation of physically exact illuminance related to a particular surface style. @@ -17358,7 +17358,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleLighting : public IfcPresentationItem { public: IfcSurfaceStyleLighting() {} - explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleLighting (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The degree of diffusion of the transmitted light. In the case of completely transparent materials there is no diffusion. The greater the diffusing power, the smaller the direct component of the transmitted light, up to the point where only diffuse light is produced.A value of 1 means totally diffuse for that colour part of the light. /// The factor can be measured physically and has three ratios for the red, green and blue part of the light. @@ -17377,7 +17377,7 @@ public: ::Ifc4x3_tc1::IfcColourRgb ReflectanceColour() const; void setReflectanceColour(const ::Ifc4x3_tc1::IfcColourRgb& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcColourRgb v1_DiffuseTransmissionColour, ::Ifc4x3_tc1::IfcColourRgb v2_DiffuseReflectionColour, ::Ifc4x3_tc1::IfcColourRgb v3_TransmissionColour, ::Ifc4x3_tc1::IfcColourRgb v4_ReflectanceColour); }; /// IfcSurfaceStyleRefraction extends the surface style lighting, or the surface style rendering definition for properties for calculation of physically exact illuminance by adding seldomly used properties. Currently this includes the refraction index (by which the light ray refracts when passing through a prism) and the dispersion factor (or Abbe constant) which takes into account the wavelength dependency of the refraction. @@ -17388,7 +17388,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRefraction : public IfcPresentationItem { public: IfcSurfaceStyleRefraction() {} - explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleRefraction (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The index of refraction for all wave lengths of light. The refraction index is the ratio between the speed of light in a vacuum and the speed of light in the medium. E.g. glass has a refraction index of 1.5, whereas water has an index of 1.33 std::optional< double > RefractionIndex() const; @@ -17397,7 +17397,7 @@ public: std::optional< double > DispersionFactor() const; void setDispersionFactor(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< double > v1_RefractionIndex, std::optional< double > v2_DispersionFactor); }; /// Definition from ISO/CD 10303-46:1992: The surface style rendering allows the realistic visualization of surfaces referring to rendering techniques based on the laws of physics and mathematics. @@ -17410,7 +17410,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleShading : public IfcPresentationItem { public: IfcSurfaceStyleShading() {} - explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleShading (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The colour used to render the surface. The surface colour for visualisation is defined by specifying the intensity of red, green and blue. ::Ifc4x3_tc1::IfcColourRgb SurfaceColour() const; @@ -17418,7 +17418,7 @@ public: std::optional< double > Transparency() const; void setTransparency(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency); }; /// The entity IfcSurfaceStyleWithTextures allows to include image textures in surface styles. These image textures can be applied repeating across the surface or mapped with a particular scale upon the surface. @@ -17442,13 +17442,13 @@ public: class IFC_PARSE_API IfcSurfaceStyleWithTextures : public IfcPresentationItem { public: IfcSurfaceStyleWithTextures() {} - explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceStyleWithTextures (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The textures applied to the surface. In case of more than one surface texture is included, the IfcSurfaceStyleWithTexture defines a multi texture. std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > Textures() const; void setTextures(const std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Textures); }; /// An IfcSurfaceTexture provides a 2-dimensional @@ -17546,7 +17546,7 @@ public: class IFC_PARSE_API IfcSurfaceTexture : public IfcPresentationItem { public: IfcSurfaceTexture() {} - explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcSurfaceTexture (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The RepeatS field specifies how the texture wraps in the S direction. If RepeatS is TRUE (the default), the texture map is repeated outside the [0.0, 1.0] texture coordinate range in the S direction so that it fills the shape. If RepeatS is FALSE, the texture coordinates are clamped in the S direction to lie within the [0.0, 1.0] range. bool RepeatS() const; @@ -17577,7 +17577,7 @@ public: std::vector< IfcTextureCoordinate > IsMappedBy() const; // INVERSE IfcTextureCoordinate::Maps std::vector< IfcSurfaceStyleWithTextures > UsedInStyles() const; // INVERSE IfcSurfaceStyleWithTextures::Textures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter); }; /// An IfcTable is a data structure for the provision of information in the form of rows and columns. Each instance may have IfcTableColumn instances that define the name, description and units for each column. The rows of information are stored as a list of IfcTableRow objects. @@ -17598,7 +17598,7 @@ public: class IFC_PARSE_API IfcTable : public express::Entity { public: IfcTable() {} - explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTable (const std::weak_ptr& data) : express::Entity(data) {} /// A unique name which is intended to describe the usage of the Table. std::optional< std::string > Name() const; @@ -17610,7 +17610,7 @@ public: std::optional< std::vector< ::Ifc4x3_tc1::IfcTableColumn > > Columns() const; void setColumns(const std::optional< std::vector< ::Ifc4x3_tc1::IfcTableColumn > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::vector< ::Ifc4x3_tc1::IfcTableRow > > v2_Rows, std::optional< std::vector< ::Ifc4x3_tc1::IfcTableColumn > > v3_Columns); }; /// An IfcTableColumn is a data structure that captures column information for use in an IfcTable. Each instance defines the name, description, identifier, and units of measure that are applicable to the columnar data associated with the IfcTableRow objects. @@ -17621,7 +17621,7 @@ public: class IFC_PARSE_API IfcTableColumn : public express::Entity { public: IfcTableColumn() {} - explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableColumn (const std::weak_ptr& data) : express::Entity(data) {} /// Table column identifier. std::optional< std::string > Identifier() const; @@ -17638,7 +17638,7 @@ public: ::Ifc4x3_tc1::IfcReference ReferencePath() const; void setReferencePath(const ::Ifc4x3_tc1::IfcReference& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Identifier, std::optional< std::string > v2_Name, std::optional< std::string > v3_Description, ::Ifc4x3_tc1::IfcUnit v4_Unit, ::Ifc4x3_tc1::IfcReference v5_ReferencePath); }; /// IfcTableRow contains data for a single row within an IfcTable. @@ -17657,7 +17657,7 @@ public: class IFC_PARSE_API IfcTableRow : public express::Entity { public: IfcTableRow() {} - explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTableRow (const std::weak_ptr& data) : express::Entity(data) {} /// The data value of the table cell.. std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > RowCells() const; @@ -17666,7 +17666,7 @@ public: std::optional< bool > IsHeading() const; void setIsHeading(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v1_RowCells, std::optional< bool > v2_IsHeading); }; /// IfcTaskTime captures the time-related information about a task including the different types (actual or scheduled) of starting and ending times. @@ -17680,7 +17680,7 @@ public: class IFC_PARSE_API IfcTaskTime : public IfcSchedulingTime { public: IfcTaskTime() {} - explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcTaskTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Enables to specify the type of duration values for ScheduleDuration, ActualDuration and RemainingTime. The duration type is either /// work time or elapsed time. @@ -17788,7 +17788,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion); }; /// IfcTaskTimeRecurring is a recurring instance of IfcTaskTime for handling regularly scheduled or repetitive tasks. @@ -17797,12 +17797,12 @@ public: class IFC_PARSE_API IfcTaskTimeRecurring : public IfcTaskTime { public: IfcTaskTimeRecurring() {} - explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} + explicit IfcTaskTimeRecurring (const std::weak_ptr& data) : IfcTaskTime(data) {} ::Ifc4x3_tc1::IfcRecurrencePattern Recurrence() const; void setRecurrence(const ::Ifc4x3_tc1::IfcRecurrencePattern& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< ::Ifc4x3_tc1::IfcTaskDurationEnum::Value > v4_DurationType, std::optional< std::string > v5_ScheduleDuration, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_EarlyStart, std::optional< std::string > v9_EarlyFinish, std::optional< std::string > v10_LateStart, std::optional< std::string > v11_LateFinish, std::optional< std::string > v12_FreeFloat, std::optional< std::string > v13_TotalFloat, std::optional< bool > v14_IsCritical, std::optional< std::string > v15_StatusTime, std::optional< std::string > v16_ActualDuration, std::optional< std::string > v17_ActualStart, std::optional< std::string > v18_ActualFinish, std::optional< std::string > v19_RemainingTime, std::optional< double > v20_Completion, ::Ifc4x3_tc1::IfcRecurrencePattern v21_Recurrence); }; /// Definition: Address to which telephone, electronic mail and other forms of telecommunications should be addressed. @@ -17814,7 +17814,7 @@ public: class IFC_PARSE_API IfcTelecomAddress : public IfcAddress { public: IfcTelecomAddress() {} - explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} + explicit IfcTelecomAddress (const std::weak_ptr& data) : IfcAddress(data) {} /// The list of telephone numbers at which telephone messages may be received. std::optional< std::vector< std::string > /*[1:?]*/ > TelephoneNumbers() const; @@ -17838,7 +17838,7 @@ public: std::optional< std::vector< std::string > /*[1:?]*/ > MessagingIDs() const; void setMessagingIDs(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< ::Ifc4x3_tc1::IfcAddressTypeEnum::Value > v1_Purpose, std::optional< std::string > v2_Description, std::optional< std::string > v3_UserDefinedPurpose, std::optional< std::vector< std::string > /*[1:?]*/ > v4_TelephoneNumbers, std::optional< std::vector< std::string > /*[1:?]*/ > v5_FacsimileNumbers, std::optional< std::string > v6_PagerNumber, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ElectronicMailAddresses, std::optional< std::string > v8_WWWHomePageURL, std::optional< std::vector< std::string > /*[1:?]*/ > v9_MessagingIDs); }; /// Definition from ISO/CD 10303-46:1992: The text style is a presentation style for annotation text. @@ -17872,7 +17872,7 @@ public: class IFC_PARSE_API IfcTextStyle : public IfcPresentationStyle { public: IfcTextStyle() {} - explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcTextStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A character style to be used for presented text. ::Ifc4x3_tc1::IfcTextStyleForDefinedFont TextCharacterAppearance() const; @@ -17892,7 +17892,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcTextStyleForDefinedFont v2_TextCharacterAppearance, ::Ifc4x3_tc1::IfcTextStyleTextModel v3_TextStyle, ::Ifc4x3_tc1::IfcTextFontSelect v4_TextFontStyle, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A text style for defined font is a character glyph style for pre-defined or externally defined text fonts. @@ -17915,7 +17915,7 @@ public: class IFC_PARSE_API IfcTextStyleForDefinedFont : public IfcPresentationItem { public: IfcTextStyleForDefinedFont() {} - explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleForDefinedFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// This property describes the text color of an element (often referred to as the foreground color). ::Ifc4x3_tc1::IfcColour Colour() const; @@ -17924,7 +17924,7 @@ public: ::Ifc4x3_tc1::IfcColour BackgroundColour() const; void setBackgroundColour(const ::Ifc4x3_tc1::IfcColour& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcColour v1_Colour, ::Ifc4x3_tc1::IfcColour v2_BackgroundColour); }; /// Definition from CSS1 (W3C Recommendation): The properties defined in the text model affect the visual presentation of characters, spaces, words, and paragraphs. @@ -17937,7 +17937,7 @@ public: class IFC_PARSE_API IfcTextStyleTextModel : public IfcPresentationItem { public: IfcTextStyleTextModel() {} - explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextStyleTextModel (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The property specifies the indentation that appears before the first formatted line. /// NOTE  It has been introduced for later compliance to full CSS1 support. @@ -17968,7 +17968,7 @@ public: ::Ifc4x3_tc1::IfcSizeSelect LineHeight() const; void setLineHeight(const ::Ifc4x3_tc1::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSizeSelect v1_TextIndent, std::optional< std::string > v2_TextAlign, std::optional< std::string > v3_TextDecoration, ::Ifc4x3_tc1::IfcSizeSelect v4_LetterSpacing, ::Ifc4x3_tc1::IfcSizeSelect v5_WordSpacing, std::optional< std::string > v6_TextTransform, ::Ifc4x3_tc1::IfcSizeSelect v7_LineHeight); }; /// The IfcTextureCoordinate a an abstract supertype of the different kinds to apply texture coordinates to geometries. For vertex based geometries an explicit assignment of 2D texture vertices to the 3D geometry points is supported by the subtype IfcTextureMap, in addition there can be a procedural description of how texture coordinates shall be applied to geometric items. If no IfcTextureCoordinate is provided for the IfcSurfaceTexture, the default mapping shall be used. @@ -17985,12 +17985,12 @@ public: class IFC_PARSE_API IfcTextureCoordinate : public IfcPresentationItem { public: IfcTextureCoordinate() {} - explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureCoordinate (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > Maps() const; void setMaps(const std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps); }; /// The IfcTextureCoordinateGenerator describes a procedurally defined mapping function with input parameter to map 2D texture coordinates to 3D geometry vertices. The allowable Mode values and input Parameter need to be agreed upon in view definitions and implementer agreements. @@ -18022,7 +18022,7 @@ public: class IFC_PARSE_API IfcTextureCoordinateGenerator : public IfcTextureCoordinate { public: IfcTextureCoordinateGenerator() {} - explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureCoordinateGenerator (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// The Mode attribute describes the algorithm used to compute texture coordinates. /// @@ -18035,14 +18035,14 @@ public: std::optional< std::vector< double > /*[1:?]*/ > Parameter() const; void setParameter(const std::optional< std::vector< double > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, std::string v2_Mode, std::optional< std::vector< double > /*[1:?]*/ > v3_Parameter); }; class IFC_PARSE_API IfcTextureCoordinateIndices : public express::Entity { public: IfcTextureCoordinateIndices() {} - explicit IfcTextureCoordinateIndices (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTextureCoordinateIndices (const std::weak_ptr& data) : express::Entity(data) {} std::vector< int > /*[3:?]*/ TexCoordIndex() const; void setTexCoordIndex(const std::vector< int > /*[3:?]*/& v); @@ -18050,19 +18050,19 @@ public: void setTexCoordsOf(const ::Ifc4x3_tc1::IfcIndexedPolygonalFace& v); std::vector< IfcIndexedPolygonalTextureMap > ToTexMap() const; // INVERSE IfcIndexedPolygonalTextureMap::TexCoordIndices - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf); }; class IFC_PARSE_API IfcTextureCoordinateIndicesWithVoids : public IfcTextureCoordinateIndices { public: IfcTextureCoordinateIndicesWithVoids() {} - explicit IfcTextureCoordinateIndicesWithVoids (const std::weak_ptr& data) : IfcTextureCoordinateIndices(data) {} + explicit IfcTextureCoordinateIndicesWithVoids (const std::weak_ptr& data) : IfcTextureCoordinateIndices(data) {} std::vector< std::vector< int > > InnerTexCoordIndices() const; void setInnerTexCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_TexCoordIndex, ::Ifc4x3_tc1::IfcIndexedPolygonalFace v2_TexCoordsOf, std::vector< std::vector< int > > v3_InnerTexCoordIndices); }; /// An IfcTextureMap provides the mapping of the @@ -18119,7 +18119,7 @@ public: class IFC_PARSE_API IfcTextureMap : public IfcTextureCoordinate { public: IfcTextureMap() {} - explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} /// List of texture coordinate vertices that are applied to the corresponding points of the polyloop defining a face bound. /// @@ -18129,7 +18129,7 @@ public: ::Ifc4x3_tc1::IfcFace MappedTo() const; void setMappedTo(const ::Ifc4x3_tc1::IfcFace& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, std::vector< ::Ifc4x3_tc1::IfcTextureVertex > v2_Vertices, ::Ifc4x3_tc1::IfcFace v3_MappedTo); }; /// An IfcTextureVertex is a list of 2 (S, T) texture coordinates. @@ -18162,25 +18162,25 @@ public: class IFC_PARSE_API IfcTextureVertex : public IfcPresentationItem { public: IfcTextureVertex() {} - explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertex (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The first coordinate[1] is the S, the second coordinate[2] is the T parameter value. std::vector< double > /*[2:2]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[2:2]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:2]*/ v1_Coordinates); }; class IFC_PARSE_API IfcTextureVertexList : public IfcPresentationItem { public: IfcTextureVertexList() {} - explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcTextureVertexList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > TexCoordsList() const; void setTexCoordsList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_TexCoordsList); }; /// IfcTimePeriod defines a time period given by a start and end time. Both time definitions consider the time zone and allow for the daylight savings offset. @@ -18192,7 +18192,7 @@ public: class IFC_PARSE_API IfcTimePeriod : public express::Entity { public: IfcTimePeriod() {} - explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimePeriod (const std::weak_ptr& data) : express::Entity(data) {} /// Start time of the time period. std::string StartTime() const; @@ -18201,7 +18201,7 @@ public: std::string EndTime() const; void setEndTime(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_StartTime, std::string v2_EndTime); }; /// A time series is a set of a time-stamped data entries. It allows a natural association of data collected over intervals of time. Time series can be regular or irregular. In regular time series data arrive predictably at predefined intervals. In irregular time series some or all time stamps do not follow a repetitive pattern and unpredictable bursts of data may arrive at unspecified points in time. @@ -18212,7 +18212,7 @@ public: class IFC_PARSE_API IfcTimeSeries : public express::Entity { public: IfcTimeSeries() {} - explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeries (const std::weak_ptr& data) : express::Entity(data) {} /// An unique name for the time series. std::string Name() const; @@ -18240,7 +18240,7 @@ public: void setUnit(const ::Ifc4x3_tc1::IfcUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit); }; /// A time series value is a list of values that comprise the time series. At least one value must be supplied. Applications are expected to normalize values by applying the following three rules: @@ -18255,13 +18255,13 @@ public: class IFC_PARSE_API IfcTimeSeriesValue : public express::Entity { public: IfcTimeSeriesValue() {} - explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcTimeSeriesValue (const std::weak_ptr& data) : express::Entity(data) {} /// A list of time-series values. At least one value is required. std::vector< ::Ifc4x3_tc1::IfcValue > ListValues() const; void setListValues(const std::vector< ::Ifc4x3_tc1::IfcValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcValue > v1_ListValues); }; /// Definition from ISO/CD 10303-42:1992: The topological representation item is the supertype for all the topological representation items in the geometry resource. @@ -18272,10 +18272,10 @@ public: class IFC_PARSE_API IfcTopologicalRepresentationItem : public IfcRepresentationItem { public: IfcTopologicalRepresentationItem() {} - explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcTopologicalRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcTopologyRepresentation @@ -18315,10 +18315,10 @@ public: class IFC_PARSE_API IfcTopologyRepresentation : public IfcShapeModel { public: IfcTopologyRepresentation() {} - explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} + explicit IfcTopologyRepresentation (const std::weak_ptr& data) : IfcShapeModel(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRepresentationContext v1_ContextOfItems, std::optional< std::string > v2_RepresentationIdentifier, std::optional< std::string > v3_RepresentationType, std::vector< ::Ifc4x3_tc1::IfcRepresentationItem > v4_Items); }; /// IfcUnitAssignment indicates a set of units which may be assigned. Within an IfcUnitAssigment each unit definition shall be unique; that is, there shall be no redundant unit definitions for the same unit type such as length unit or area unit. For currencies, there shall be only a single IfcMonetaryUnit within an IfcUnitAssignment. @@ -18329,13 +18329,13 @@ public: class IFC_PARSE_API IfcUnitAssignment : public express::Entity { public: IfcUnitAssignment() {} - explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcUnitAssignment (const std::weak_ptr& data) : express::Entity(data) {} /// Units to be included within a unit assignment. std::vector< ::Ifc4x3_tc1::IfcUnit > Units() const; void setUnits(const std::vector< ::Ifc4x3_tc1::IfcUnit >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcUnit > v1_Units); }; /// Definition from ISO/CD 10303-42:1992: A vertex is the topological construct corresponding to a point. It has dimensionality 0 and extent 0. The domain of a vertex, if present, is a point in m dimensional real space RM; this is represented by the vertex point subtype. @@ -18351,10 +18351,10 @@ public: class IFC_PARSE_API IfcVertex : public IfcTopologicalRepresentationItem { public: IfcVertex() {} - explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcVertex (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A vertex point is a vertex which has its geometry defined as a point. @@ -18369,13 +18369,13 @@ public: class IFC_PARSE_API IfcVertexPoint : public IfcVertex { public: IfcVertexPoint() {} - explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} + explicit IfcVertexPoint (const std::weak_ptr& data) : IfcVertex(data) {} /// The geometric point, which defines the position in geometric space of the vertex. ::Ifc4x3_tc1::IfcPoint VertexGeometry() const; void setVertexGeometry(const ::Ifc4x3_tc1::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPoint v1_VertexGeometry); }; /// IfcVirtualGridIntersection defines the derived location of the intersection between two grid axes. Offset values may be given to set an offset distance to the grid axis for the calculation of the virtual grid intersection. @@ -18440,7 +18440,7 @@ public: class IFC_PARSE_API IfcVirtualGridIntersection : public express::Entity { public: IfcVirtualGridIntersection() {} - explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} + explicit IfcVirtualGridIntersection (const std::weak_ptr& data) : express::Entity(data) {} /// Two grid axes which intersects at exactly one intersection (see also informal proposition at IfcGrid). If attribute OffsetDistances is omitted, the intersection defines the placement or ref direction of a grid placement directly. If OffsetDistances are given, the intersection is defined by the offset curves to the grid axes. std::vector< ::Ifc4x3_tc1::IfcGridAxis > IntersectingAxes() const; @@ -18449,7 +18449,7 @@ public: std::vector< double > /*[2:3]*/ OffsetDistances() const; void setOffsetDistances(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcGridAxis > v1_IntersectingAxes, std::vector< double > /*[2:3]*/ v2_OffsetDistances); }; /// IfcWorkTime defines time periods that are used by IfcWorkCalendar for either describing working times or non-working exception times. Besides start and finish dates, a set of time periods can be given by various types of recurrence patterns. @@ -18463,7 +18463,7 @@ public: class IFC_PARSE_API IfcWorkTime : public IfcSchedulingTime { public: IfcWorkTime() {} - explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcWorkTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Recurrence pattern that defines a time period, which, if given, is /// valid within the time period defined by @@ -18475,14 +18475,14 @@ public: std::optional< std::string > FinishDate() const; void setFinishDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcRecurrencePattern v4_RecurrencePattern, std::optional< std::string > v5_StartDate, std::optional< std::string > v6_FinishDate); }; class IFC_PARSE_API IfcAlignmentCantSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentCantSegment() {} - explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentCantSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} double StartDistAlong() const; void setStartDistAlong(const double& v); @@ -18499,14 +18499,14 @@ public: ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, double v3_StartDistAlong, double v4_HorizontalLength, double v5_StartCantLeft, std::optional< double > v6_EndCantLeft, double v7_StartCantRight, std::optional< double > v8_EndCantRight, ::Ifc4x3_tc1::IfcAlignmentCantSegmentTypeEnum::Value v9_PredefinedType); }; class IFC_PARSE_API IfcAlignmentHorizontalSegment : public IfcAlignmentParameterSegment { public: IfcAlignmentHorizontalSegment() {} - explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} + explicit IfcAlignmentHorizontalSegment (const std::weak_ptr& data) : IfcAlignmentParameterSegment(data) {} ::Ifc4x3_tc1::IfcCartesianPoint StartPoint() const; void setStartPoint(const ::Ifc4x3_tc1::IfcCartesianPoint& v); @@ -18523,7 +18523,7 @@ public: ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_StartTag, std::optional< std::string > v2_EndTag, ::Ifc4x3_tc1::IfcCartesianPoint v3_StartPoint, double v4_StartDirection, double v5_StartRadiusOfCurvature, double v6_EndRadiusOfCurvature, double v7_SegmentLength, std::optional< double > v8_GravityCenterLineHeight, ::Ifc4x3_tc1::IfcAlignmentHorizontalSegmentTypeEnum::Value v9_PredefinedType); }; /// An IfcApprovalRelationship associates approvals (one @@ -18536,7 +18536,7 @@ public: class IFC_PARSE_API IfcApprovalRelationship : public IfcResourceLevelRelationship { public: IfcApprovalRelationship() {} - explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The approval that other approval is related to. ::Ifc4x3_tc1::IfcApproval RelatingApproval() const; @@ -18545,7 +18545,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcApproval > RelatedApprovals() const; void setRelatedApprovals(const std::vector< ::Ifc4x3_tc1::IfcApproval >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcApproval v3_RelatingApproval, std::vector< ::Ifc4x3_tc1::IfcApproval > v4_RelatedApprovals); }; /// The closed profile IfcArbitraryClosedProfileDef defines an arbitrary two-dimensional profile for the use within the swept surface geometry, the swept area solid or a sectioned spine. It is given by an outer boundary from which the surface or solid can be constructed. @@ -18569,13 +18569,13 @@ public: class IFC_PARSE_API IfcArbitraryClosedProfileDef : public IfcProfileDef { public: IfcArbitraryClosedProfileDef() {} - explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryClosedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Bounded curve, defining the outer boundaries of the arbitrary profile. ::Ifc4x3_tc1::IfcCurve OuterCurve() const; void setOuterCurve(const ::Ifc4x3_tc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcCurve v3_OuterCurve); }; /// The open profile IfcArbitraryOpenProfileDef defines an arbitrary two-dimensional open profile for the use within the swept surface geometry. It is given by an open boundary from with the surface can be constructed. @@ -18596,13 +18596,13 @@ public: class IFC_PARSE_API IfcArbitraryOpenProfileDef : public IfcProfileDef { public: IfcArbitraryOpenProfileDef() {} - explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcArbitraryOpenProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Open bounded curve defining the profile. ::Ifc4x3_tc1::IfcBoundedCurve Curve() const; void setCurve(const ::Ifc4x3_tc1::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcBoundedCurve v3_Curve); }; /// The IfcArbitraryProfileDefWithVoids defines an arbitrary closed two-dimensional profile with holes defined for the use for the swept area solid or a sectioned spine. It is given by an outer boundary and inner boundaries from with the solid the can be constructed. @@ -18627,13 +18627,13 @@ public: class IFC_PARSE_API IfcArbitraryProfileDefWithVoids : public IfcArbitraryClosedProfileDef { public: IfcArbitraryProfileDefWithVoids() {} - explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} + explicit IfcArbitraryProfileDefWithVoids (const std::weak_ptr& data) : IfcArbitraryClosedProfileDef(data) {} /// Set of bounded curves, defining the inner boundaries of the arbitrary profile. std::vector< ::Ifc4x3_tc1::IfcCurve > InnerCurves() const; void setInnerCurves(const std::vector< ::Ifc4x3_tc1::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcCurve v3_OuterCurve, std::vector< ::Ifc4x3_tc1::IfcCurve > v4_InnerCurves); }; /// An IfcBlobTexture provides a 2-dimensional distribution of the lighting parameters of a surface onto which it is mapped. The texture itself is given as a single binary blob, representing the content of a pixel format file. The file format of the pixel file is given by the RasterFormat attribute and allowable formats are guided by where rule SupportedRasterFormat. @@ -18648,7 +18648,7 @@ public: class IFC_PARSE_API IfcBlobTexture : public IfcSurfaceTexture { public: IfcBlobTexture() {} - explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcBlobTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The format of the RasterCode often using a compression. std::string RasterFormat() const; @@ -18657,7 +18657,7 @@ public: boost::dynamic_bitset<> RasterCode() const; void setRasterCode(const boost::dynamic_bitset<>& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_RasterFormat, boost::dynamic_bitset<> v7_RasterCode); }; /// The profile IfcCenterLineProfileDef defines an arbitrary two-dimensional open, not self intersecting profile for the use within the swept solid geometry. It is given by an area defined by applying a constant thickness to a centerline, generating an area from which the solid can be constructed. @@ -18692,13 +18692,13 @@ public: class IFC_PARSE_API IfcCenterLineProfileDef : public IfcArbitraryOpenProfileDef { public: IfcCenterLineProfileDef() {} - explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} + explicit IfcCenterLineProfileDef (const std::weak_ptr& data) : IfcArbitraryOpenProfileDef(data) {} /// Constant thickness applied along the center line. double Thickness() const; void setThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcBoundedCurve v3_Curve, double v4_Thickness); }; /// An IfcClassification is used for the arrangement of objects into a class or category according to a common purpose or their possession of common @@ -18719,7 +18719,7 @@ public: class IFC_PARSE_API IfcClassification : public IfcExternalInformation { public: IfcClassification() {} - explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcClassification (const std::weak_ptr& data) : IfcExternalInformation(data) {} /// Source (or publisher) for this classification. /// @@ -18769,7 +18769,7 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Source, std::optional< std::string > v2_Edition, std::optional< std::string > v3_EditionDate, std::string v4_Name, std::optional< std::string > v5_Description, std::optional< std::string > v6_Specification, std::optional< std::vector< std::string > /*[1:?]*/ > v7_ReferenceTokens); }; /// An IfcClassificationReference is a reference into a classification system or source (see IfcClassification) for a specific classification key (or notation). @@ -18796,7 +18796,7 @@ public: class IFC_PARSE_API IfcClassificationReference : public IfcExternalReference { public: IfcClassificationReference() {} - explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcClassificationReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// The classification system or source that is referenced. ::Ifc4x3_tc1::IfcClassificationReferenceSelect ReferencedSource() const; @@ -18811,19 +18811,19 @@ public: std::vector< IfcRelAssociatesClassification > ClassificationRefForObjects() const; // INVERSE IfcRelAssociatesClassification::RelatingClassification std::vector< IfcClassificationReference > HasReferences() const; // INVERSE IfcClassificationReference::ReferencedSource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, ::Ifc4x3_tc1::IfcClassificationReferenceSelect v4_ReferencedSource, std::optional< std::string > v5_Description, std::optional< std::string > v6_Sort); }; class IFC_PARSE_API IfcColourRgbList : public IfcPresentationItem { public: IfcColourRgbList() {} - explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourRgbList (const std::weak_ptr& data) : IfcPresentationItem(data) {} std::vector< std::vector< double > > ColourList() const; void setColourList(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_ColourList); }; /// Definition from ISO/CD 10303-46:1992: The colour specification entity contains a direct colour definition. Colour component values refer directly to a specific colour space. @@ -18834,7 +18834,7 @@ public: class IFC_PARSE_API IfcColourSpecification : public IfcPresentationItem { public: IfcColourSpecification() {} - explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcColourSpecification (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Optional name given to a particular colour specification in addition to the colour components (like the RGB values). /// @@ -18843,7 +18843,7 @@ public: std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name); }; /// The IfcCompositeProfileDef @@ -18885,7 +18885,7 @@ public: class IFC_PARSE_API IfcCompositeProfileDef : public IfcProfileDef { public: IfcCompositeProfileDef() {} - explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcCompositeProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The profiles which are used to define the composite profile. std::vector< ::Ifc4x3_tc1::IfcProfileDef > Profiles() const; @@ -18894,7 +18894,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v3_Profiles, std::optional< std::string > v4_Label); }; /// Definition from ISO/CD 10303-42:1992: A connected_face_set is a set of faces such that the domain of faces together with their bounding edges and vertices is connected. @@ -18909,13 +18909,13 @@ public: class IFC_PARSE_API IfcConnectedFaceSet : public IfcTopologicalRepresentationItem { public: IfcConnectedFaceSet() {} - explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcConnectedFaceSet (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The set of faces arcwise connected along common edges or vertices. std::vector< ::Ifc4x3_tc1::IfcFace > CfsFaces() const; void setCfsFaces(const std::vector< ::Ifc4x3_tc1::IfcFace >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcFace > v1_CfsFaces); }; /// IfcConnectionCurveGeometry is used to describe the geometric constraints that facilitate the physical connection of two objects at a curve or at an edge with curve geometry associated. It is envisioned as a control that applies to the element connection relationships. @@ -18934,7 +18934,7 @@ public: class IFC_PARSE_API IfcConnectionCurveGeometry : public IfcConnectionGeometry { public: IfcConnectionCurveGeometry() {} - explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} + explicit IfcConnectionCurveGeometry (const std::weak_ptr& data) : IfcConnectionGeometry(data) {} /// The bounded curve at which the connected objects are aligned at the relating element, given in the LCS of the relating element. ::Ifc4x3_tc1::IfcCurveOrEdgeCurve CurveOnRelatingElement() const; @@ -18943,7 +18943,7 @@ public: ::Ifc4x3_tc1::IfcCurveOrEdgeCurve CurveOnRelatedElement() const; void setCurveOnRelatedElement(const ::Ifc4x3_tc1::IfcCurveOrEdgeCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurveOrEdgeCurve v1_CurveOnRelatingElement, ::Ifc4x3_tc1::IfcCurveOrEdgeCurve v2_CurveOnRelatedElement); }; /// IfcConnectionPointEccentricity is used to describe the geometric constraints that facilitate the physical connection of two objects at a point or vertex point with associated point coordinates. There is a physical distance, or eccentricity, etween the connection points of both object. The eccentricity can be either given by: @@ -18968,7 +18968,7 @@ public: class IFC_PARSE_API IfcConnectionPointEccentricity : public IfcConnectionPointGeometry { public: IfcConnectionPointEccentricity() {} - explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} + explicit IfcConnectionPointEccentricity (const std::weak_ptr& data) : IfcConnectionPointGeometry(data) {} /// Distance in x direction between the two points (or vertex points) engaged in the point connection. std::optional< double > EccentricityInX() const; @@ -18980,7 +18980,7 @@ public: std::optional< double > EccentricityInZ() const; void setEccentricityInZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPointOrVertexPoint v1_PointOnRelatingElement, ::Ifc4x3_tc1::IfcPointOrVertexPoint v2_PointOnRelatedElement, std::optional< double > v3_EccentricityInX, std::optional< double > v4_EccentricityInY, std::optional< double > v5_EccentricityInZ); }; /// Definition from ISO/CD 10303-41:1992: A context dependent unit is a unit which is not related to the SI system. @@ -18993,14 +18993,14 @@ public: class IFC_PARSE_API IfcContextDependentUnit : public IfcNamedUnit { public: IfcContextDependentUnit() {} - explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcContextDependentUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the context dependent unit is referred to. std::string Name() const; void setName(const std::string& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name); }; /// Definition from ISO/CD 10303-41:1992: A conversion based unit is a unit that is defined based on a measure with unit. @@ -19053,7 +19053,7 @@ public: class IFC_PARSE_API IfcConversionBasedUnit : public IfcNamedUnit { public: IfcConversionBasedUnit() {} - explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} + explicit IfcConversionBasedUnit (const std::weak_ptr& data) : IfcNamedUnit(data) {} /// The word, or group of words, by which the conversion based unit is referred to. std::string Name() const; @@ -19063,7 +19063,7 @@ public: void setConversionFactor(const ::Ifc4x3_tc1::IfcMeasureWithUnit& v); std::vector< IfcExternalReferenceRelationship > HasExternalReference() const; // INVERSE IfcExternalReferenceRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_ConversionFactor); }; /// IfcConversionBasedUnitWithOffset is a unit which is converted from another unit by applying a conversion factor and an offset. @@ -19087,13 +19087,13 @@ public: class IFC_PARSE_API IfcConversionBasedUnitWithOffset : public IfcConversionBasedUnit { public: IfcConversionBasedUnitWithOffset() {} - explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} + explicit IfcConversionBasedUnitWithOffset (const std::weak_ptr& data) : IfcConversionBasedUnit(data) {} /// A positive or negative offset to add after the inherited ConversionFactor was applied. double ConversionOffset() const; void setConversionOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDimensionalExponents v1_Dimensions, ::Ifc4x3_tc1::IfcUnitEnum::Value v2_UnitType, std::string v3_Name, ::Ifc4x3_tc1::IfcMeasureWithUnit v4_ConversionFactor, double v5_ConversionOffset); }; /// IfcCurrencyRelationship defines the rate of exchange @@ -19110,7 +19110,7 @@ public: class IFC_PARSE_API IfcCurrencyRelationship : public IfcResourceLevelRelationship { public: IfcCurrencyRelationship() {} - explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcCurrencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The monetary unit from which an exchange is derived. For instance, in the case of a conversion from GBP to USD, the relating monetary unit is GBP. ::Ifc4x3_tc1::IfcMonetaryUnit RelatingMonetaryUnit() const; @@ -19130,7 +19130,7 @@ public: ::Ifc4x3_tc1::IfcLibraryInformation RateSource() const; void setRateSource(const ::Ifc4x3_tc1::IfcLibraryInformation& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMonetaryUnit v3_RelatingMonetaryUnit, ::Ifc4x3_tc1::IfcMonetaryUnit v4_RelatedMonetaryUnit, double v5_ExchangeRate, std::optional< std::string > v6_RateDateTime, ::Ifc4x3_tc1::IfcLibraryInformation v7_RateSource); }; /// Definition from ISO/CD 10303-46:1992: A curve style specifies the visual appearance of curves. @@ -19153,7 +19153,7 @@ public: class IFC_PARSE_API IfcCurveStyle : public IfcPresentationStyle { public: IfcCurveStyle() {} - explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcCurveStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// A curve style font which is used to present a curve. It can either be a predefined curve font, or an explicitly defined curve font. Both may be scaled. If not given, then the curve font should be taken from the layer assignment with style, if that is not given either, then the default curve font applies. ::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect CurveFont() const; @@ -19167,7 +19167,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcCurveFontOrScaledCurveFontSelect v2_CurveFont, ::Ifc4x3_tc1::IfcSizeSelect v3_CurveWidth, ::Ifc4x3_tc1::IfcColour v4_CurveColour, std::optional< bool > v5_ModelOrDraughting); }; /// Definition from ISO/CD 10303-46:1992: A curve style font combines several curve style font pattern entities into a more complex pattern. The resulting pattern is repeated along the curve. @@ -19178,7 +19178,7 @@ public: class IFC_PARSE_API IfcCurveStyleFont : public IfcPresentationItem { public: IfcCurveStyleFont() {} - explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFont (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the curve font. std::optional< std::string > Name() const; @@ -19187,7 +19187,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcCurveStyleFontPattern > PatternList() const; void setPatternList(const std::vector< ::Ifc4x3_tc1::IfcCurveStyleFontPattern >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_tc1::IfcCurveStyleFontPattern > v2_PatternList); }; /// Definition from ISO/CD 10303-46:1992: A curve style font and scaling is a curve style font and a scalar factor for that font, so that a given curve style font may be applied at various scales. @@ -19204,7 +19204,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontAndScaling : public IfcPresentationItem { public: IfcCurveStyleFontAndScaling() {} - explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontAndScaling (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// Name that may be assigned with the scaling of a curve font. std::optional< std::string > Name() const; @@ -19215,7 +19215,7 @@ public: double CurveFontScaling() const; void setCurveFontScaling(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcCurveStyleFontSelect v2_CurveStyleFont, double v3_CurveFontScaling); }; /// Definition from ISO/CD 10303-46:1992: A curve style font pattern is a pair of visible and invisible curve segment length measures in presentation area units. @@ -19226,7 +19226,7 @@ public: class IFC_PARSE_API IfcCurveStyleFontPattern : public IfcPresentationItem { public: IfcCurveStyleFontPattern() {} - explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcCurveStyleFontPattern (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The length of the visible segment in the pattern definition. /// @@ -19239,7 +19239,7 @@ public: double InvisibleSegmentLength() const; void setInvisibleSegmentLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_VisibleSegmentLength, double v2_InvisibleSegmentLength); }; /// IfcDerivedProfileDef defines the profile by transformation from the parent profile. The transformation is given by a two dimensional transformation operator. Transformation includes translation, rotation, mirror and scaling. The latter can be uniform or non uniform. The derived profiles may be used to define swept surfaces, swept area solids or sectioned spines. @@ -19329,7 +19329,7 @@ public: class IFC_PARSE_API IfcDerivedProfileDef : public IfcProfileDef { public: IfcDerivedProfileDef() {} - explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcDerivedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// The parent profile provides the origin of the transformation. ::Ifc4x3_tc1::IfcProfileDef ParentProfile() const; @@ -19341,7 +19341,7 @@ public: std::optional< std::string > Label() const; void setLabel(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcProfileDef v3_ParentProfile, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_Operator, std::optional< std::string > v5_Label); }; /// IfcDocumentInformation captures "metadata" of an external document. The actual content of the document is not defined in IFC; instead, it can be found following the reference given to IfcDocumentReference. @@ -19350,7 +19350,7 @@ public: class IFC_PARSE_API IfcDocumentInformation : public IfcExternalInformation { public: IfcDocumentInformation() {} - explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} + explicit IfcDocumentInformation (const std::weak_ptr& data) : IfcExternalInformation(data) {} std::string Identification() const; void setIdentification(const std::string& v); @@ -19421,7 +19421,7 @@ public: std::vector< IfcDocumentInformationRelationship > IsPointedTo() const; // INVERSE IfcDocumentInformationRelationship::RelatedDocuments std::vector< IfcDocumentInformationRelationship > IsPointer() const; // INVERSE IfcDocumentInformationRelationship::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Identification, std::string v2_Name, std::optional< std::string > v3_Description, std::optional< std::string > v4_Location, std::optional< std::string > v5_Purpose, std::optional< std::string > v6_IntendedUse, std::optional< std::string > v7_Scope, std::optional< std::string > v8_Revision, ::Ifc4x3_tc1::IfcActorSelect v9_DocumentOwner, std::optional< std::vector< ::Ifc4x3_tc1::IfcActorSelect > > v10_Editors, std::optional< std::string > v11_CreationTime, std::optional< std::string > v12_LastRevisionTime, std::optional< std::string > v13_ElectronicFormat, std::optional< std::string > v14_ValidFrom, std::optional< std::string > v15_ValidUntil, std::optional< ::Ifc4x3_tc1::IfcDocumentConfidentialityEnum::Value > v16_Confidentiality, std::optional< ::Ifc4x3_tc1::IfcDocumentStatusEnum::Value > v17_Status); }; /// An IfcDocumentInformationRelationship is a relationship class that enables a document to have the ability to reference other documents. @@ -19435,7 +19435,7 @@ public: class IFC_PARSE_API IfcDocumentInformationRelationship : public IfcResourceLevelRelationship { public: IfcDocumentInformationRelationship() {} - explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcDocumentInformationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The document that acts as the parent, referencing or original document in a relationship. ::Ifc4x3_tc1::IfcDocumentInformation RelatingDocument() const; @@ -19447,7 +19447,7 @@ public: std::optional< std::string > RelationshipType() const; void setRelationshipType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcDocumentInformation v3_RelatingDocument, std::vector< ::Ifc4x3_tc1::IfcDocumentInformation > v4_RelatedDocuments, std::optional< std::string > v5_RelationshipType); }; /// An IfcDocumentReference is a reference @@ -19464,7 +19464,7 @@ public: class IFC_PARSE_API IfcDocumentReference : public IfcExternalReference { public: IfcDocumentReference() {} - explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} + explicit IfcDocumentReference (const std::weak_ptr& data) : IfcExternalReference(data) {} /// Description of the document reference for informational purposes. /// @@ -19476,7 +19476,7 @@ public: void setReferencedDocument(const ::Ifc4x3_tc1::IfcDocumentInformation& v); std::vector< IfcRelAssociatesDocument > DocumentRefForObjects() const; // INVERSE IfcRelAssociatesDocument::RelatingDocument - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Location, std::optional< std::string > v2_Identification, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcDocumentInformation v5_ReferencedDocument); }; /// Definition from ISO/CD 10303-42:1992: An edge is the @@ -19531,7 +19531,7 @@ public: class IFC_PARSE_API IfcEdge : public IfcTopologicalRepresentationItem { public: IfcEdge() {} - explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcEdge (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Start point (vertex) of the edge. ::Ifc4x3_tc1::IfcVertex EdgeStart() const; @@ -19540,7 +19540,7 @@ public: ::Ifc4x3_tc1::IfcVertex EdgeEnd() const; void setEdgeEnd(const ::Ifc4x3_tc1::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcVertex v1_EdgeStart, ::Ifc4x3_tc1::IfcVertex v2_EdgeEnd); }; /// Definition from ISO/CD 10303-42:1992: An edge curve is @@ -19579,7 +19579,7 @@ public: class IFC_PARSE_API IfcEdgeCurve : public IfcEdge { public: IfcEdgeCurve() {} - explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcEdgeCurve (const std::weak_ptr& data) : IfcEdge(data) {} /// The curve which defines the shape and spatial location of the edge. This curve may be unbounded and is implicitly trimmed by the vertices of the edge; this defines the edge domain. Multiple edges can reference the same curve. ::Ifc4x3_tc1::IfcCurve EdgeGeometry() const; @@ -19588,7 +19588,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcVertex v1_EdgeStart, ::Ifc4x3_tc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_tc1::IfcCurve v3_EdgeGeometry, bool v4_SameSense); }; /// IfcEventTime captures the time-related information about an event @@ -19617,7 +19617,7 @@ public: class IFC_PARSE_API IfcEventTime : public IfcSchedulingTime { public: IfcEventTime() {} - explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcEventTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// The date on which an event actually occurs. It is a measured value. std::optional< std::string > ActualDate() const; @@ -19634,14 +19634,14 @@ public: std::optional< std::string > ScheduleDate() const; void setScheduleDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ActualDate, std::optional< std::string > v5_EarlyDate, std::optional< std::string > v6_LateDate, std::optional< std::string > v7_ScheduleDate); }; class IFC_PARSE_API IfcExtendedProperties : public IfcPropertyAbstraction { public: IfcExtendedProperties() {} - explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcExtendedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} std::optional< std::string > Name() const; void setName(const std::optional< std::string >& v); @@ -19650,7 +19650,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcProperty > Properties() const; void setProperties(const std::vector< ::Ifc4x3_tc1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v3_Properties); }; /// IfcExternalReferenceRelationship is a relationship entity that enables objects from the @@ -19663,7 +19663,7 @@ public: class IFC_PARSE_API IfcExternalReferenceRelationship : public IfcResourceLevelRelationship { public: IfcExternalReferenceRelationship() {} - explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcExternalReferenceRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// An external reference that can be used to tag an object within the range of IfcResourceObjectSelect. /// @@ -19674,7 +19674,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcExternalReference v3_RelatingReference, std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// Definition from ISO/CD 10303-42:1992: A face is a topological @@ -19724,14 +19724,14 @@ public: class IFC_PARSE_API IfcFace : public IfcTopologicalRepresentationItem { public: IfcFace() {} - explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFace (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// Boundaries of the face. std::vector< ::Ifc4x3_tc1::IfcFaceBound > Bounds() const; void setBounds(const std::vector< ::Ifc4x3_tc1::IfcFaceBound >& v); std::vector< IfcTextureMap > HasTextureMaps() const; // INVERSE IfcTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcFaceBound > v1_Bounds); }; /// Definition from ISO/CD 10303-42:1992: A face bound is a loop which is intended to be used for bounding a face. @@ -19742,7 +19742,7 @@ public: class IFC_PARSE_API IfcFaceBound : public IfcTopologicalRepresentationItem { public: IfcFaceBound() {} - explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcFaceBound (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The loop which will be used as a face boundary. ::Ifc4x3_tc1::IfcLoop Bound() const; @@ -19751,7 +19751,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face outer bound is a special subtype of face bound which carries the additional semantics of defining an outer boundary on the face. No more than one boundary of a face shall be of this type. @@ -19762,10 +19762,10 @@ public: class IFC_PARSE_API IfcFaceOuterBound : public IfcFaceBound { public: IfcFaceOuterBound() {} - explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} + explicit IfcFaceOuterBound (const std::weak_ptr& data) : IfcFaceBound(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcLoop v1_Bound, bool v2_Orientation); }; /// Definition from ISO/CD 10303-42:1992: A face surface @@ -19807,7 +19807,7 @@ public: class IFC_PARSE_API IfcFaceSurface : public IfcFace { public: IfcFaceSurface() {} - explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} + explicit IfcFaceSurface (const std::weak_ptr& data) : IfcFace(data) {} /// The surface which defines the internal shape of the face. This surface may be unbounded. The domain of the face is defined by this surface and the bounding loops in the inherited attribute SELF\FaceBounds. ::Ifc4x3_tc1::IfcSurface FaceSurface() const; @@ -19816,7 +19816,7 @@ public: bool SameSense() const; void setSameSense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_tc1::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from IAI: Defines forces at which a support or connection fails. @@ -19829,7 +19829,7 @@ public: class IFC_PARSE_API IfcFailureConnectionCondition : public IfcStructuralConnectionCondition { public: IfcFailureConnectionCondition() {} - explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcFailureConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Tension force in x-direction leading to failure of the connection. std::optional< double > TensionFailureX() const; @@ -19850,7 +19850,7 @@ public: std::optional< double > CompressionFailureZ() const; void setCompressionFailureZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_TensionFailureX, std::optional< double > v3_TensionFailureY, std::optional< double > v4_TensionFailureZ, std::optional< double > v5_CompressionFailureX, std::optional< double > v6_CompressionFailureY, std::optional< double > v7_CompressionFailureZ); }; /// Definition from ISO/CD 10303-46:1992: The style for filling visible curve segments, annotation fill areas or surfaces with tiles or hatches. @@ -19890,7 +19890,7 @@ public: class IFC_PARSE_API IfcFillAreaStyle : public IfcPresentationStyle { public: IfcFillAreaStyle() {} - explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} + explicit IfcFillAreaStyle (const std::weak_ptr& data) : IfcPresentationStyle(data) {} /// The set of fill area styles to use in presenting visible curve segments, annotation fill areas or surfaces. std::vector< ::Ifc4x3_tc1::IfcFillStyleSelect > FillStyles() const; @@ -19898,7 +19898,7 @@ public: std::optional< bool > ModelOrDraughting() const; void setModelOrDraughting(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::vector< ::Ifc4x3_tc1::IfcFillStyleSelect > v2_FillStyles, std::optional< bool > v3_ModelOrDraughting); }; /// Definition from ISO/CD 10303-42:1992: A geometric @@ -19951,7 +19951,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationContext : public IfcRepresentationContext { public: IfcGeometricRepresentationContext() {} - explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} + explicit IfcGeometricRepresentationContext (const std::weak_ptr& data) : IfcRepresentationContext(data) {} /// The integer dimension count of the coordinate space modeled in a geometric representation context. int CoordinateSpaceDimension() const; @@ -19970,7 +19970,7 @@ public: std::vector< IfcGeometricRepresentationSubContext > HasSubContexts() const; // INVERSE IfcGeometricRepresentationSubContext::ParentContext std::vector< IfcCoordinateOperation > HasCoordinateOperation() const; // INVERSE IfcCoordinateOperation::SourceCRS - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, int v3_CoordinateSpaceDimension, std::optional< double > v4_Precision, ::Ifc4x3_tc1::IfcAxis2Placement v5_WorldCoordinateSystem, ::Ifc4x3_tc1::IfcDirection v6_TrueNorth); }; /// Definition from ISO/CD 10303-43:1992: An geometric representation item is a representation item that has the additional meaning of having geometric position or orientation or both. This meaning is present by virtue of: @@ -19995,10 +19995,10 @@ public: class IFC_PARSE_API IfcGeometricRepresentationItem : public IfcRepresentationItem { public: IfcGeometricRepresentationItem() {} - explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcGeometricRepresentationItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcGeometricRepresentationSubContext defines the context that applies to several shape representations of a product being a sub context, sharing the WorldCoordinateSystem, CoordinateSpaceDimension, Precision and TrueNorth attributes with the parent IfcGeometricRepresentationContext. @@ -20017,7 +20017,7 @@ public: class IFC_PARSE_API IfcGeometricRepresentationSubContext : public IfcGeometricRepresentationContext { public: IfcGeometricRepresentationSubContext() {} - explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} + explicit IfcGeometricRepresentationSubContext (const std::weak_ptr& data) : IfcGeometricRepresentationContext(data) {} /// Parent context from which the sub context derives its world coordinate system, precision, space coordinate dimension and true north. ::Ifc4x3_tc1::IfcGeometricRepresentationContext ParentContext() const; @@ -20042,7 +20042,7 @@ public: std::optional< std::string > UserDefinedTargetView() const; void setUserDefinedTargetView(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_ContextIdentifier, std::optional< std::string > v2_ContextType, ::Ifc4x3_tc1::IfcGeometricRepresentationContext v7_ParentContext, std::optional< double > v8_TargetScale, ::Ifc4x3_tc1::IfcGeometricProjectionEnum::Value v9_TargetView, std::optional< std::string > v10_UserDefinedTargetView); }; /// Definition from ISO/CD 10303-42:1992: This entity is intended for the transfer of models when a topological structure is not available. @@ -20055,13 +20055,13 @@ public: class IFC_PARSE_API IfcGeometricSet : public IfcGeometricRepresentationItem { public: IfcGeometricSet() {} - explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcGeometricSet (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric elements which make up the geometric set, these may be points, curves or surfaces; but are required to be of the same coordinate space dimensionality. std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > Elements() const; void setElements(const std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > v1_Elements); }; /// IfcGridPlacement provides a specialization of IfcObjectPlacement in which @@ -20112,7 +20112,7 @@ public: class IFC_PARSE_API IfcGridPlacement : public IfcObjectPlacement { public: IfcGridPlacement() {} - explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcGridPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Placement of the object coordinate system defined by the intersection of two grid axes. ::Ifc4x3_tc1::IfcVirtualGridIntersection PlacementLocation() const; @@ -20123,7 +20123,7 @@ public: ::Ifc4x3_tc1::IfcGridPlacementDirectionSelect PlacementRefDirection() const; void setPlacementRefDirection(const ::Ifc4x3_tc1::IfcGridPlacementDirectionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_tc1::IfcVirtualGridIntersection v2_PlacementLocation, ::Ifc4x3_tc1::IfcGridPlacementDirectionSelect v3_PlacementRefDirection); }; /// Definition from ISO/CD 10303-42:1992: A half space solid is defined by the half space which is the regular subset of the domain which lies on one side of an unbounded surface. The side of the surface which is in the half space is determined by the surface normal and the agreement flag. If the agreement flag is TRUE, then the subset is the one the normal points away from. If the agreement flag is FALSE, then the subset is the one the normal points into. For a valid half space solid the surface shall divide the domain into exactly two subsets. Also, within the domain the surface shall be manifold and all surface normals shall point into the same subset. @@ -20144,7 +20144,7 @@ public: class IFC_PARSE_API IfcHalfSpaceSolid : public IfcGeometricRepresentationItem { public: IfcHalfSpaceSolid() {} - explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcHalfSpaceSolid (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Surface defining side of half space. ::Ifc4x3_tc1::IfcSurface BaseSurface() const; @@ -20153,7 +20153,7 @@ public: bool AgreementFlag() const; void setAgreementFlag(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag); }; /// An IfcImageTexture provides a 2-dimensional texture that can be applied to a surface of an geometric item and that provides lighting parameters of a surface onto which it is mapped. The texture is provided as an image file at an external location for which an URL is provided. @@ -20194,20 +20194,20 @@ public: class IFC_PARSE_API IfcImageTexture : public IfcSurfaceTexture { public: IfcImageTexture() {} - explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcImageTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// Location, provided as an URI, at which the image texture is electronically published. std::string URLReference() const; void setURLReference(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::optional< std::vector< std::string > /*[1:?]*/ > v5_Parameter, std::string v6_URLReference); }; class IFC_PARSE_API IfcIndexedColourMap : public IfcPresentationItem { public: IfcIndexedColourMap() {} - explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcIndexedColourMap (const std::weak_ptr& data) : IfcPresentationItem(data) {} ::Ifc4x3_tc1::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_tc1::IfcTessellatedFaceSet& v); @@ -20218,33 +20218,33 @@ public: std::vector< int > /*[1:?]*/ ColourIndex() const; void setColourIndex(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcTessellatedFaceSet v1_MappedTo, std::optional< double > v2_Opacity, ::Ifc4x3_tc1::IfcColourRgbList v3_Colours, std::vector< int > /*[1:?]*/ v4_ColourIndex); }; class IFC_PARSE_API IfcIndexedTextureMap : public IfcTextureCoordinate { public: IfcIndexedTextureMap() {} - explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} + explicit IfcIndexedTextureMap (const std::weak_ptr& data) : IfcTextureCoordinate(data) {} ::Ifc4x3_tc1::IfcTessellatedFaceSet MappedTo() const; void setMappedTo(const ::Ifc4x3_tc1::IfcTessellatedFaceSet& v); ::Ifc4x3_tc1::IfcTextureVertexList TexCoords() const; void setTexCoords(const ::Ifc4x3_tc1::IfcTextureVertexList& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_tc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_tc1::IfcTextureVertexList v3_TexCoords); }; class IFC_PARSE_API IfcIndexedTriangleTextureMap : public IfcIndexedTextureMap { public: IfcIndexedTriangleTextureMap() {} - explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedTriangleTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::optional< std::vector< std::vector< int > > > TexCoordIndex() const; void setTexCoordIndex(const std::optional< std::vector< std::vector< int > > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_tc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_tc1::IfcTextureVertexList v3_TexCoords, std::optional< std::vector< std::vector< int > > > v4_TexCoordIndex); }; /// In an irregular time series, unpredictable bursts of data arrive at unspecified points in time, or most time stamps cannot be characterized by a repeating pattern. @@ -20255,13 +20255,13 @@ public: class IFC_PARSE_API IfcIrregularTimeSeries : public IfcTimeSeries { public: IfcIrregularTimeSeries() {} - explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcIrregularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// The collection of time series values. std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit, std::vector< ::Ifc4x3_tc1::IfcIrregularTimeSeriesValue > v9_Values); }; /// IfcLagTime describes the time parameters that may exist within a sequence relationship between two processes. @@ -20304,7 +20304,7 @@ public: class IFC_PARSE_API IfcLagTime : public IfcSchedulingTime { public: IfcLagTime() {} - explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcLagTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Value of the time lag selected as being either a ratio or a /// time measure. @@ -20315,7 +20315,7 @@ public: ::Ifc4x3_tc1::IfcTaskDurationEnum::Value DurationType() const; void setDurationType(const ::Ifc4x3_tc1::IfcTaskDurationEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcTimeOrRatioSelect v4_LagValue, ::Ifc4x3_tc1::IfcTaskDurationEnum::Value v5_DurationType); }; /// Definition from ISO/CD 10303-46:1992: The light source entity is determined by the reflectance specified in the surface style rendering. Lighting is applied on a surface by surface basis: no interactions between surfaces such as shadows or reflections are defined. @@ -20328,7 +20328,7 @@ public: class IFC_PARSE_API IfcLightSource : public IfcGeometricRepresentationItem { public: IfcLightSource() {} - explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcLightSource (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The name given to the light source in presentation. std::optional< std::string > Name() const; @@ -20344,7 +20344,7 @@ public: std::optional< double > Intensity() const; void setIntensity(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source ambient entity is a subtype of light source. It lights a surface independent of the surface's orientation and position. @@ -20357,10 +20357,10 @@ public: class IFC_PARSE_API IfcLightSourceAmbient : public IfcLightSource { public: IfcLightSourceAmbient() {} - explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceAmbient (const std::weak_ptr& data) : IfcLightSource(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity); }; /// Definition from ISO/CD 10303-46:1992: The light source directional is a subtype of light source. This entity has a light source direction. With a conceptual origin at infinity, all the rays of the light are parallel to this direction. This kind of light source lights a surface based on the surface's orientation, but not position. @@ -20375,14 +20375,14 @@ public: class IFC_PARSE_API IfcLightSourceDirectional : public IfcLightSource { public: IfcLightSourceDirectional() {} - explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceDirectional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: This direction is the direction of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the illumination emanating from the light source in the local coordinate system. Light is emitted along parallel rays from an infinite distance away. ::Ifc4x3_tc1::IfcDirection Orientation() const; void setOrientation(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcDirection v5_Orientation); }; /// IfcLightSourceGoniometric defines a light source for which exact lighting data is available. It specifies the type of a light emitter, defines the position and orientation of a light distribution curve and the data concerning lamp and photometric information. @@ -20395,7 +20395,7 @@ public: class IFC_PARSE_API IfcLightSourceGoniometric : public IfcLightSource { public: IfcLightSourceGoniometric() {} - explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourceGoniometric (const std::weak_ptr& data) : IfcLightSource(data) {} /// The position of the light source. It is used to orientate the light distribution curves. ::Ifc4x3_tc1::IfcAxis2Placement3D Position() const; @@ -20416,7 +20416,7 @@ public: ::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect LightDistributionDataSource() const; void setLightDistributionDataSource(const ::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcAxis2Placement3D v5_Position, ::Ifc4x3_tc1::IfcColourRgb v6_ColourAppearance, double v7_ColourTemperature, double v8_LuminousFlux, ::Ifc4x3_tc1::IfcLightEmissionSourceEnum::Value v9_LightEmissionSource, ::Ifc4x3_tc1::IfcLightDistributionDataSourceSelect v10_LightDistributionDataSource); }; /// Definition from ISO/CD 10303-46:1992: The light source positional entity is a subtype of light source. This entity has a light source position and attenuation coefficients. A positional light source affects a surface based on the surface's orientation and position. @@ -20437,7 +20437,7 @@ public: class IFC_PARSE_API IfcLightSourcePositional : public IfcLightSource { public: IfcLightSourcePositional() {} - explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} + explicit IfcLightSourcePositional (const std::weak_ptr& data) : IfcLightSource(data) {} /// Definition from ISO/CD 10303-46:1992: The Cartesian point indicates the position of the light source. /// Definition from VRML97 - ISO/IEC 14772-1:1997: A Point light node illuminates geometry within radius of its location. @@ -20457,7 +20457,7 @@ public: double QuadricAttenuation() const; void setQuadricAttenuation(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation); }; /// Definition from ISO/CD 10303-46:1992: The light source spot entity is a subtype of light source. Spot light source entities have a light source colour, position, direction, attenuation coefficients, concentration exponent, and spread angle. If a point lies outside the cone of influence of a light source of this type as determined by the light source position, direction and spread angle its colour is not affected by that light source. @@ -20478,7 +20478,7 @@ public: class IFC_PARSE_API IfcLightSourceSpot : public IfcLightSourcePositional { public: IfcLightSourceSpot() {} - explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} + explicit IfcLightSourceSpot (const std::weak_ptr& data) : IfcLightSourcePositional(data) {} /// Definition from ISO/CD 10303-46:1992: This is the direction of the axis of the cone of the light source specified in the coordinate space of the representation being projected.. /// Definition from VRML97 - ISO/IEC 14772-1:1997: The direction field specifies the direction vector of the light's central axis defined in the local coordinate system. @@ -20496,21 +20496,21 @@ public: double BeamWidthAngle() const; void setBeamWidthAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, ::Ifc4x3_tc1::IfcColourRgb v2_LightColour, std::optional< double > v3_AmbientIntensity, std::optional< double > v4_Intensity, ::Ifc4x3_tc1::IfcCartesianPoint v5_Position, double v6_Radius, double v7_ConstantAttenuation, double v8_DistanceAttenuation, double v9_QuadricAttenuation, ::Ifc4x3_tc1::IfcDirection v10_Orientation, std::optional< double > v11_ConcentrationExponent, double v12_SpreadAngle, double v13_BeamWidthAngle); }; class IFC_PARSE_API IfcLinearPlacement : public IfcObjectPlacement { public: IfcLinearPlacement() {} - explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLinearPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} ::Ifc4x3_tc1::IfcAxis2PlacementLinear RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_tc1::IfcAxis2PlacementLinear& v); ::Ifc4x3_tc1::IfcAxis2Placement3D CartesianPosition() const; void setCartesianPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_tc1::IfcAxis2PlacementLinear v2_RelativePlacement, ::Ifc4x3_tc1::IfcAxis2Placement3D v3_CartesianPosition); }; /// IfcLocalPlacement defines the relative placement of a product in relation to the @@ -20568,13 +20568,13 @@ public: class IFC_PARSE_API IfcLocalPlacement : public IfcObjectPlacement { public: IfcLocalPlacement() {} - explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} + explicit IfcLocalPlacement (const std::weak_ptr& data) : IfcObjectPlacement(data) {} /// Geometric placement that defines the transformation from the related coordinate system into the relating. The placement can be either 2D or 3D, depending on the dimension count of the coordinate system. ::Ifc4x3_tc1::IfcAxis2Placement RelativePlacement() const; void setRelativePlacement(const ::Ifc4x3_tc1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcObjectPlacement v1_PlacementRelTo, ::Ifc4x3_tc1::IfcAxis2Placement v2_RelativePlacement); }; /// Definition from ISO/CD 10303-42:1992: A loop is a topological @@ -20606,10 +20606,10 @@ public: class IFC_PARSE_API IfcLoop : public IfcTopologicalRepresentationItem { public: IfcLoop() {} - explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcLoop (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-43:1992: A mapped item is the use of an existing representation (the mapping source - mapped representation) as a representation item in a second representation. @@ -20634,7 +20634,7 @@ public: class IFC_PARSE_API IfcMappedItem : public IfcRepresentationItem { public: IfcMappedItem() {} - explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} + explicit IfcMappedItem (const std::weak_ptr& data) : IfcRepresentationItem(data) {} /// A representation map that is the source of the mapped item. It can be seen as a block (or cell or marco) definition. ::Ifc4x3_tc1::IfcRepresentationMap MappingSource() const; @@ -20643,7 +20643,7 @@ public: ::Ifc4x3_tc1::IfcCartesianTransformationOperator MappingTarget() const; void setMappingTarget(const ::Ifc4x3_tc1::IfcCartesianTransformationOperator& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcRepresentationMap v1_MappingSource, ::Ifc4x3_tc1::IfcCartesianTransformationOperator v2_MappingTarget); }; /// IfcMaterial is a homogeneous or inhomogeneous @@ -20676,7 +20676,7 @@ public: class IFC_PARSE_API IfcMaterial : public IfcMaterialDefinition { public: IfcMaterial() {} - explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterial (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// Name of the material. /// @@ -20701,7 +20701,7 @@ public: std::vector< IfcMaterialRelationship > IsRelatedWith() const; // INVERSE IfcMaterialRelationship::RelatedMaterials std::vector< IfcMaterialRelationship > RelatesTo() const; // INVERSE IfcMaterialRelationship::RelatingMaterial - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::optional< std::string > v3_Category); }; /// IfcMaterialConstituent is a single and identifiable part of an element which is constructed of a number of part (one or more) each having an individual material. The association of the material constituent to the part is provided by a keyword as value of the Name attribute. @@ -20712,7 +20712,7 @@ public: class IFC_PARSE_API IfcMaterialConstituent : public IfcMaterialDefinition { public: IfcMaterialConstituent() {} - explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituent (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the material constituent is known. std::optional< std::string > Name() const; @@ -20731,7 +20731,7 @@ public: void setCategory(const std::optional< std::string >& v); std::vector< IfcMaterialConstituentSet > ToMaterialConstituentSet() const; // INVERSE IfcMaterialConstituentSet::MaterialConstituents - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_Material, std::optional< double > v4_Fraction, std::optional< std::string > v5_Category); }; /// IfcMaterialConstituentSet is a collection of individual material constituents, each assigning a material to a part of an element. The parts are only identified by a keyword (as opposed to an IfcMaterialLayerSet or IfcMaterialProfileSet where each part has an individual shape parameter (layer thickness or layer profile). @@ -20751,7 +20751,7 @@ public: class IFC_PARSE_API IfcMaterialConstituentSet : public IfcMaterialDefinition { public: IfcMaterialConstituentSet() {} - explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} + explicit IfcMaterialConstituentSet (const std::weak_ptr& data) : IfcMaterialDefinition(data) {} /// The name by which the constituent set is known. std::optional< std::string > Name() const; @@ -20763,7 +20763,7 @@ public: std::optional< std::vector< ::Ifc4x3_tc1::IfcMaterialConstituent > > MaterialConstituents() const; void setMaterialConstituents(const std::optional< std::vector< ::Ifc4x3_tc1::IfcMaterialConstituent > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::optional< std::vector< ::Ifc4x3_tc1::IfcMaterialConstituent > > v3_MaterialConstituents); }; /// IfcMaterialDefinitionRepresentation defines presentation information relating to IfcMaterial. It allows for multiple presentations of the same material for different geometric representation contexts. @@ -20799,13 +20799,13 @@ public: class IFC_PARSE_API IfcMaterialDefinitionRepresentation : public IfcProductRepresentation { public: IfcMaterialDefinitionRepresentation() {} - explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcMaterialDefinitionRepresentation (const std::weak_ptr& data) : IfcProductRepresentation(data) {} /// Reference to the material to which the representation applies. ::Ifc4x3_tc1::IfcMaterial RepresentedMaterial() const; void setRepresentedMaterial(const ::Ifc4x3_tc1::IfcMaterial& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcRepresentation > v3_Representations, ::Ifc4x3_tc1::IfcMaterial v4_RepresentedMaterial); }; /// IfcMaterialLayerSetUsage determines the usage of @@ -20911,7 +20911,7 @@ public: class IFC_PARSE_API IfcMaterialLayerSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialLayerSetUsage() {} - explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialLayerSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialLayerSet set to which the usage is applied. ::Ifc4x3_tc1::IfcMaterialLayerSet ForLayerSet() const; @@ -20941,7 +20941,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcMaterialLayerSet v1_ForLayerSet, ::Ifc4x3_tc1::IfcLayerSetDirectionEnum::Value v2_LayerSetDirection, ::Ifc4x3_tc1::IfcDirectionSenseEnum::Value v3_DirectionSense, double v4_OffsetFromReferenceLine, std::optional< double > v5_ReferenceExtent); }; /// IfcMaterialProfileSetUsage determines the usage of IfcMaterialProfileSet in terms of its location relative to the associated element geometry. The location of a material profile set shall be compatible with the building element geometry (that is, material profiles shall fit inside the element geometry). The rules to ensure the compatibility depend on the type of the building element. For building elements with shape representations which are based on extruded solids, this is accomplished by referring to the identical profile definition in the shape model as in the material profile set. @@ -20954,7 +20954,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsage : public IfcMaterialUsageDefinition { public: IfcMaterialProfileSetUsage() {} - explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} + explicit IfcMaterialProfileSetUsage (const std::weak_ptr& data) : IfcMaterialUsageDefinition(data) {} /// The IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_tc1::IfcMaterialProfileSet ForProfileSet() const; @@ -20971,7 +20971,7 @@ public: std::optional< double > ReferenceExtent() const; void setReferenceExtent(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent); }; /// IfcMaterialProfileSetUsageTapering specifies dual material profile sets in association with tapered prismatic (beam- or column-like) elements. @@ -21002,7 +21002,7 @@ public: class IFC_PARSE_API IfcMaterialProfileSetUsageTapering : public IfcMaterialProfileSetUsage { public: IfcMaterialProfileSetUsageTapering() {} - explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} + explicit IfcMaterialProfileSetUsageTapering (const std::weak_ptr& data) : IfcMaterialProfileSetUsage(data) {} /// The second IfcMaterialProfileSet set to which the usage is applied. ::Ifc4x3_tc1::IfcMaterialProfileSet ForProfileEndSet() const; @@ -21011,7 +21011,7 @@ public: std::optional< int > CardinalEndPoint() const; void setCardinalEndPoint(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcMaterialProfileSet v1_ForProfileSet, std::optional< int > v2_CardinalPoint, std::optional< double > v3_ReferenceExtent, ::Ifc4x3_tc1::IfcMaterialProfileSet v4_ForProfileEndSet, std::optional< int > v5_CardinalEndPoint); }; /// IfcMaterialProperties is defined as an abstract @@ -21039,7 +21039,7 @@ public: class IFC_PARSE_API IfcMaterialProperties : public IfcExtendedProperties { public: IfcMaterialProperties() {} - explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcMaterialProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Reference to the material definition to which the set of properties is assigned. /// @@ -21047,7 +21047,7 @@ public: ::Ifc4x3_tc1::IfcMaterialDefinition Material() const; void setMaterial(const ::Ifc4x3_tc1::IfcMaterialDefinition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v3_Properties, ::Ifc4x3_tc1::IfcMaterialDefinition v4_Material); }; /// IfcMaterialRelationship defines a relationship between part and whole in material definitions (as in composite materials). The parts, expressed by the set of RelatedMaterials, are material constituents of which a single material aggregate is composed. @@ -21056,7 +21056,7 @@ public: class IFC_PARSE_API IfcMaterialRelationship : public IfcResourceLevelRelationship { public: IfcMaterialRelationship() {} - explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcMaterialRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Reference to the relating material (the composite). ::Ifc4x3_tc1::IfcMaterial RelatingMaterial() const; @@ -21067,7 +21067,7 @@ public: std::optional< std::string > MaterialExpression() const; void setMaterialExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcMaterial v3_RelatingMaterial, std::vector< ::Ifc4x3_tc1::IfcMaterial > v4_RelatedMaterials, std::optional< std::string > v5_MaterialExpression); }; /// The IfcMirroredProfileDef defines the profile by mirroring the parent profile about the y axis of the parent profile coordinate system. That is, left and right of the parent profile are swapped. @@ -21100,10 +21100,10 @@ public: class IFC_PARSE_API IfcMirroredProfileDef : public IfcDerivedProfileDef { public: IfcMirroredProfileDef() {} - explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} + explicit IfcMirroredProfileDef (const std::weak_ptr& data) : IfcDerivedProfileDef(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcProfileDef v3_ParentProfile, std::optional< std::string > v5_Label); }; /// An IfcObjectDefinition is the generalization of any @@ -21159,7 +21159,7 @@ public: class IFC_PARSE_API IfcObjectDefinition : public IfcRoot { public: IfcObjectDefinition() {} - explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcObjectDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelAssigns > HasAssignments() const; // INVERSE IfcRelAssigns::RelatedObjects std::vector< IfcRelNests > Nests() const; // INVERSE IfcRelNests::RelatedObjects @@ -21169,14 +21169,14 @@ public: std::vector< IfcRelAggregates > Decomposes() const; // INVERSE IfcRelAggregates::RelatedObjects std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcOpenCrossProfileDef : public IfcProfileDef { public: IfcOpenCrossProfileDef() {} - explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcOpenCrossProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} bool HorizontalWidths() const; void setHorizontalWidths(const bool& v); @@ -21189,7 +21189,7 @@ public: ::Ifc4x3_tc1::IfcCartesianPoint OffsetPoint() const; void setOffsetPoint(const ::Ifc4x3_tc1::IfcCartesianPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, bool v3_HorizontalWidths, std::vector< double > /*[1:?]*/ v4_Widths, std::vector< double > /*[1:?]*/ v5_Slopes, std::optional< std::vector< std::string > /*[2:?]*/ > v6_Tags, ::Ifc4x3_tc1::IfcCartesianPoint v7_OffsetPoint); }; /// Definition from ISO/CD 10303-42:1992: An open shell is a shell of @@ -21254,10 +21254,10 @@ public: class IFC_PARSE_API IfcOpenShell : public IfcConnectedFaceSet { public: IfcOpenShell() {} - explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcOpenShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcFace > v1_CfsFaces); }; /// Definition: establishes an association between one relating organization and one or more related organizations. @@ -21269,7 +21269,7 @@ public: class IFC_PARSE_API IfcOrganizationRelationship : public IfcResourceLevelRelationship { public: IfcOrganizationRelationship() {} - explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcOrganizationRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Organization which is the relating part of the relationship between organizations. ::Ifc4x3_tc1::IfcOrganization RelatingOrganization() const; @@ -21278,7 +21278,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcOrganization > RelatedOrganizations() const; void setRelatedOrganizations(const std::vector< ::Ifc4x3_tc1::IfcOrganization >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcOrganization v3_RelatingOrganization, std::vector< ::Ifc4x3_tc1::IfcOrganization > v4_RelatedOrganizations); }; /// Definition from ISO/CD 10303-42:1992: An oriented edge is an edge constructed from another edge and contains a BOOLEAN direction flag to indicate whether or not the orientation of the constructed edge agrees with the orientation of the original edge. Except for perhaps orientation, the oriented edge is equivalent to the original edge. @@ -21291,7 +21291,7 @@ public: class IFC_PARSE_API IfcOrientedEdge : public IfcEdge { public: IfcOrientedEdge() {} - explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcOrientedEdge (const std::weak_ptr& data) : IfcEdge(data) {} /// Edge entity used to construct this oriented edge. ::Ifc4x3_tc1::IfcEdge EdgeElement() const; @@ -21300,7 +21300,7 @@ public: bool Orientation() const; void setOrientation(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcEdge v3_EdgeElement, bool v4_Orientation); }; /// The parameterized profile definition @@ -21348,13 +21348,13 @@ public: class IFC_PARSE_API IfcParameterizedProfileDef : public IfcProfileDef { public: IfcParameterizedProfileDef() {} - explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} + explicit IfcParameterizedProfileDef (const std::weak_ptr& data) : IfcProfileDef(data) {} /// Position coordinate system of the parameterized profile definition. If unspecified, no translation and no rotation is applied. ::Ifc4x3_tc1::IfcAxis2Placement2D Position() const; void setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement2D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position); }; /// Definition from ISO/CD 10303-42:1992: A path is a topological entity consisting of an ordered collection of oriented edges, such that the edge start vertex of each edge coincides with the edge end of its predecessor. The path is ordered from the edge start of the first oriented edge to the edge end of the last edge. The BOOLEAN value sense in the oriented edge indicates whether the edge direction agrees with the direction of the path (TRUE) or is the opposite direction (FALSE). @@ -21374,13 +21374,13 @@ public: class IFC_PARSE_API IfcPath : public IfcTopologicalRepresentationItem { public: IfcPath() {} - explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} + explicit IfcPath (const std::weak_ptr& data) : IfcTopologicalRepresentationItem(data) {} /// The list of oriented edges which are concatenated together to form this path. std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_tc1::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > v1_EdgeList); }; /// The complex physical quantity, IfcPhysicalComplexQuantity, is an entity that holds a set of single quantity measure value (as defined at the subtypes of IfcPhysicalSimpleQuantity), that all apply to a given component or aspect of the element. @@ -21395,7 +21395,7 @@ public: class IFC_PARSE_API IfcPhysicalComplexQuantity : public IfcPhysicalQuantity { public: IfcPhysicalComplexQuantity() {} - explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} + explicit IfcPhysicalComplexQuantity (const std::weak_ptr& data) : IfcPhysicalQuantity(data) {} /// Set of physical quantities that are grouped by this complex physical quantity according to a given discrimination. std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > HasQuantities() const; @@ -21410,7 +21410,7 @@ public: std::optional< std::string > Usage() const; void setUsage(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > v3_HasQuantities, std::string v4_Discrimination, std::optional< std::string > v5_Quality, std::optional< std::string > v6_Usage); }; /// An IfcPixelTexture provides a 2D image-based texture map as an explicit array of pixel values (list of Pixel binary attributes). In contrary to the IfcImageTexture the IfcPixelTexture holds a 2 dimensional list of pixel color @@ -21434,7 +21434,7 @@ public: class IFC_PARSE_API IfcPixelTexture : public IfcSurfaceTexture { public: IfcPixelTexture() {} - explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} + explicit IfcPixelTexture (const std::weak_ptr& data) : IfcSurfaceTexture(data) {} /// The number of pixels in width (S) direction. int Width() const; @@ -21451,7 +21451,7 @@ public: std::vector< boost::dynamic_bitset<> > /*[1:?]*/ Pixel() const; void setPixel(const std::vector< boost::dynamic_bitset<> > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(bool v1_RepeatS, bool v2_RepeatT, std::optional< std::string > v3_Mode, ::Ifc4x3_tc1::IfcCartesianTransformationOperator2D v4_TextureTransform, std::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); }; /// Definition from ISO/CD 10303-42:1992: A placement entity defines the local environment for the definition of a geometry item. It locates the item to be defined and, in the case of the axis placement subtypes, gives its orientation. @@ -21466,13 +21466,13 @@ public: class IFC_PARSE_API IfcPlacement : public IfcGeometricRepresentationItem { public: IfcPlacement() {} - explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlacement (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The geometric position of a reference point, such as the center of a circle, of the item to be located. ::Ifc4x3_tc1::IfcPoint Location() const; void setLocation(const ::Ifc4x3_tc1::IfcPoint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPoint v1_Location); }; /// The planar extent defines the extent along the two axes of the two-dimensional coordinate system, independently of its position. @@ -21483,7 +21483,7 @@ public: class IFC_PARSE_API IfcPlanarExtent : public IfcGeometricRepresentationItem { public: IfcPlanarExtent() {} - explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPlanarExtent (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The extent in the direction of the x-axis. double SizeInX() const; @@ -21492,7 +21492,7 @@ public: double SizeInY() const; void setSizeInY(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY); }; /// Definition from ISO/CD 10303-42:1992: A point is a location in some real Cartesian coordinate space Rm, for m = 1, 2 or 3. @@ -21503,17 +21503,17 @@ public: class IFC_PARSE_API IfcPoint : public IfcGeometricRepresentationItem { public: IfcPoint() {} - explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcPoint (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcPointByDistanceExpression : public IfcPoint { public: IfcPointByDistanceExpression() {} - explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointByDistanceExpression (const std::weak_ptr& data) : IfcPoint(data) {} ::Ifc4x3_tc1::IfcCurveMeasureSelect DistanceAlong() const; void setDistanceAlong(const ::Ifc4x3_tc1::IfcCurveMeasureSelect& v); @@ -21526,7 +21526,7 @@ public: ::Ifc4x3_tc1::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_tc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurveMeasureSelect v1_DistanceAlong, std::optional< double > v2_OffsetLateral, std::optional< double > v3_OffsetVertical, std::optional< double > v4_OffsetLongitudinal, ::Ifc4x3_tc1::IfcCurve v5_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: A point on curve is a point which lies on a curve. The point is determined by evaluating the curve at a specific parameter value. The coordinate space dimensionality of the point is that of the basis curve. @@ -21541,7 +21541,7 @@ public: class IFC_PARSE_API IfcPointOnCurve : public IfcPoint { public: IfcPointOnCurve() {} - explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnCurve (const std::weak_ptr& data) : IfcPoint(data) {} /// The curve to which point parameter relates. ::Ifc4x3_tc1::IfcCurve BasisCurve() const; @@ -21550,7 +21550,7 @@ public: double PointParameter() const; void setPointParameter(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, double v2_PointParameter); }; /// Definition from ISO/CD 10303-42:1992: A point on surface is a point which lies on a parametric surface. The point is determined by evaluating the surface at a particular pair of parameter values. @@ -21565,7 +21565,7 @@ public: class IFC_PARSE_API IfcPointOnSurface : public IfcPoint { public: IfcPointOnSurface() {} - explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcPointOnSurface (const std::weak_ptr& data) : IfcPoint(data) {} /// The surface to which the parameter values relate. ::Ifc4x3_tc1::IfcSurface BasisSurface() const; @@ -21577,7 +21577,7 @@ public: double PointParameterV() const; void setPointParameterV(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, double v2_PointParameterU, double v3_PointParameterV); }; /// Definition from ISO/CD 10303-42:1992: A @@ -21622,13 +21622,13 @@ public: class IFC_PARSE_API IfcPolyLoop : public IfcLoop { public: IfcPolyLoop() {} - explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcPolyLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// List of points defining the loop. There are no repeated points in the list. std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > Polygon() const; void setPolygon(const std::vector< ::Ifc4x3_tc1::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v1_Polygon); }; /// The polygonal bounded @@ -21690,7 +21690,7 @@ public: class IFC_PARSE_API IfcPolygonalBoundedHalfSpace : public IfcHalfSpaceSolid { public: IfcPolygonalBoundedHalfSpace() {} - explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcPolygonalBoundedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// Definition of the position coordinate system for the bounding polyline and the base surface. ::Ifc4x3_tc1::IfcAxis2Placement3D Position() const; @@ -21701,7 +21701,7 @@ public: ::Ifc4x3_tc1::IfcBoundedCurve PolygonalBoundary() const; void setPolygonalBoundary(const ::Ifc4x3_tc1::IfcBoundedCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_tc1::IfcAxis2Placement3D v3_Position, ::Ifc4x3_tc1::IfcBoundedCurve v4_PolygonalBoundary); }; /// A pre defined item is a qualified name given to a style or font which is determined within the data exchange specification by convention on using the Name attribute value (in contrary to externally defined items, which are agreed by an external source). @@ -21714,23 +21714,23 @@ public: class IFC_PARSE_API IfcPreDefinedItem : public IfcPresentationItem { public: IfcPreDefinedItem() {} - explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} + explicit IfcPreDefinedItem (const std::weak_ptr& data) : IfcPresentationItem(data) {} /// The string by which the pre defined item is identified. Allowable values for the string are declared at the level of subtypes. std::string Name() const; void setName(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; class IFC_PARSE_API IfcPreDefinedProperties : public IfcPropertyAbstraction { public: IfcPreDefinedProperties() {} - explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcPreDefinedProperties (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The pre defined text font determines those qualified names which can be used for fonts that are in scope of the current data exchange specification (in contrary to externally defined text fonts). There are two choices: @@ -21747,10 +21747,10 @@ public: class IFC_PARSE_API IfcPreDefinedTextFont : public IfcPreDefinedItem { public: IfcPreDefinedTextFont() {} - explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedTextFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The IfcProductDefinitionShape defines all shape relevant information about an IfcProduct. It allows for multiple geometric shape representations of the same product. The shape relevant information includes: @@ -21768,12 +21768,12 @@ public: class IFC_PARSE_API IfcProductDefinitionShape : public IfcProductRepresentation { public: IfcProductDefinitionShape() {} - explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} + explicit IfcProductDefinitionShape (const std::weak_ptr& data) : IfcProductRepresentation(data) {} std::vector< IfcProduct > ShapeOfProduct() const; // INVERSE IfcProduct::Representation std::vector< IfcShapeAspect > HasShapeAspects() const; // INVERSE IfcShapeAspect::PartOfProductDefinitionShape - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcRepresentation > v3_Representations); }; /// This is a collection of properties applicable to section profile definitions. @@ -21790,13 +21790,13 @@ public: class IFC_PARSE_API IfcProfileProperties : public IfcExtendedProperties { public: IfcProfileProperties() {} - explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} + explicit IfcProfileProperties (const std::weak_ptr& data) : IfcExtendedProperties(data) {} /// Profile definition which is qualified by these properties. ::Ifc4x3_tc1::IfcProfileDef ProfileDefinition() const; void setProfileDefinition(const ::Ifc4x3_tc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v3_Properties, ::Ifc4x3_tc1::IfcProfileDef v4_ProfileDefinition); }; /// IfcProperty is an abstract generalization for all types of properties that can be associated with IFC objects through the property set mechanism. @@ -21805,7 +21805,7 @@ public: class IFC_PARSE_API IfcProperty : public IfcPropertyAbstraction { public: IfcProperty() {} - explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} + explicit IfcProperty (const std::weak_ptr& data) : IfcPropertyAbstraction(data) {} /// Name for this property. This label is the significant name string that defines the semantic meaning for the property. std::string Name() const; @@ -21819,7 +21819,7 @@ public: std::vector< IfcResourceConstraintRelationship > HasConstraints() const; // INVERSE IfcResourceConstraintRelationship::RelatedResourceObjects std::vector< IfcResourceApprovalRelationship > HasApprovals() const; // INVERSE IfcResourceApprovalRelationship::RelatedResourceObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification); }; /// IfcPropertyDefinition defines the generalization of @@ -21875,12 +21875,12 @@ public: class IFC_PARSE_API IfcPropertyDefinition : public IfcRoot { public: IfcPropertyDefinition() {} - explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcPropertyDefinition (const std::weak_ptr& data) : IfcRoot(data) {} std::vector< IfcRelDeclares > HasContext() const; // INVERSE IfcRelDeclares::RelatedDefinitions std::vector< IfcRelAssociates > HasAssociations() const; // INVERSE IfcRelAssociates::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcPropertyDependencyRelationship describes an identified dependency between the value of one property and that of another. @@ -21894,7 +21894,7 @@ public: class IFC_PARSE_API IfcPropertyDependencyRelationship : public IfcResourceLevelRelationship { public: IfcPropertyDependencyRelationship() {} - explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcPropertyDependencyRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The property on which the relationship depends. ::Ifc4x3_tc1::IfcProperty DependingProperty() const; @@ -21906,7 +21906,7 @@ public: std::optional< std::string > Expression() const; void setExpression(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcProperty v3_DependingProperty, ::Ifc4x3_tc1::IfcProperty v4_DependantProperty, std::optional< std::string > v5_Expression); }; /// IfcPropertySetDefinition is a generalization of all @@ -21954,13 +21954,13 @@ public: class IFC_PARSE_API IfcPropertySetDefinition : public IfcPropertyDefinition { public: IfcPropertySetDefinition() {} - explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertySetDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} std::vector< IfcTypeObject > DefinesType() const; // INVERSE IfcTypeObject::HasPropertySets std::vector< IfcRelDefinesByTemplate > IsDefinedBy() const; // INVERSE IfcRelDefinesByTemplate::RelatedPropertySets std::vector< IfcRelDefinesByProperties > DefinesOccurrence() const; // INVERSE IfcRelDefinesByProperties::RelatingPropertyDefinition - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcPropertyTemplateDefinition is a generalization of @@ -21991,20 +21991,20 @@ public: class IFC_PARSE_API IfcPropertyTemplateDefinition : public IfcPropertyDefinition { public: IfcPropertyTemplateDefinition() {} - explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} + explicit IfcPropertyTemplateDefinition (const std::weak_ptr& data) : IfcPropertyDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; class IFC_PARSE_API IfcQuantitySet : public IfcPropertySetDefinition { public: IfcQuantitySet() {} - explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcQuantitySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleProfileDef defines a rectangle as the profile definition used by the swept surface geometry or the swept area solid. It is given by its X extent and its Y extent, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system. @@ -22044,7 +22044,7 @@ public: class IFC_PARSE_API IfcRectangleProfileDef : public IfcParameterizedProfileDef { public: IfcRectangleProfileDef() {} - explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcRectangleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the rectangle in the direction of the x-axis. double XDim() const; @@ -22053,7 +22053,7 @@ public: double YDim() const; void setYDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim); }; /// In a regular time series, the data arrives predictably at predefined intervals. In a regular time series there is no need to store multiple time stamps and the algorithms for analyzing the time series are therefore significantly simpler. Using the start time provided in the supertype, the time step is used to identify the frequency of the occurrences of the list of values. @@ -22064,7 +22064,7 @@ public: class IFC_PARSE_API IfcRegularTimeSeries : public IfcTimeSeries { public: IfcRegularTimeSeries() {} - explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} + explicit IfcRegularTimeSeries (const std::weak_ptr& data) : IfcTimeSeries(data) {} /// A duration of time intervals between values. double TimeStep() const; @@ -22073,7 +22073,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue > Values() const; void setValues(const std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Description, std::string v3_StartTime, std::string v4_EndTime, ::Ifc4x3_tc1::IfcTimeSeriesDataTypeEnum::Value v5_TimeSeriesDataType, ::Ifc4x3_tc1::IfcDataOriginEnum::Value v6_DataOrigin, std::optional< std::string > v7_UserDefinedDataOrigin, ::Ifc4x3_tc1::IfcUnit v8_Unit, double v9_TimeStep, std::vector< ::Ifc4x3_tc1::IfcTimeSeriesValue > v10_Values); }; /// IfcReinforcementProperties defines the set of properties for a specific combination of reinforcement bar steel grade, bar type and effective depth. @@ -22084,7 +22084,7 @@ public: class IFC_PARSE_API IfcReinforcementBarProperties : public IfcPreDefinedProperties { public: IfcReinforcementBarProperties() {} - explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcReinforcementBarProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The total effective cross-section area of the reinforcement of a specific steel grade. double TotalCrossSectionArea() const; @@ -22105,7 +22105,7 @@ public: std::optional< int > BarCount() const; void setBarCount(const std::optional< int >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_TotalCrossSectionArea, std::string v2_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v3_BarSurface, std::optional< double > v4_EffectiveDepth, std::optional< double > v5_NominalBarDiameter, std::optional< int > v6_BarCount); }; /// IfcRelationship is the abstract generalization of all objectified relationships in IFC. Objectified relationships are the preferred way to handle relationships among objects. This allows to keep relationship specific properties directly at the relationship and opens the possibility to later handle relationship specific behavior. @@ -22119,10 +22119,10 @@ public: class IFC_PARSE_API IfcRelationship : public IfcRoot { public: IfcRelationship() {} - explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} + explicit IfcRelationship (const std::weak_ptr& data) : IfcRoot(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcResourceApprovalRelationship is used for @@ -22134,7 +22134,7 @@ public: class IFC_PARSE_API IfcResourceApprovalRelationship : public IfcResourceLevelRelationship { public: IfcResourceApprovalRelationship() {} - explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceApprovalRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// Resource objects that are approved. std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > RelatedResourceObjects() const; @@ -22143,7 +22143,7 @@ public: ::Ifc4x3_tc1::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_tc1::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > v3_RelatedResourceObjects, ::Ifc4x3_tc1::IfcApproval v4_RelatingApproval); }; /// An IfcResourceConstraintRelationship is a relationship @@ -22169,7 +22169,7 @@ public: class IFC_PARSE_API IfcResourceConstraintRelationship : public IfcResourceLevelRelationship { public: IfcResourceConstraintRelationship() {} - explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} + explicit IfcResourceConstraintRelationship (const std::weak_ptr& data) : IfcResourceLevelRelationship(data) {} /// The constraint that is to be related. ::Ifc4x3_tc1::IfcConstraint RelatingConstraint() const; @@ -22178,7 +22178,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > RelatedResourceObjects() const; void setRelatedResourceObjects(const std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< std::string > v2_Description, ::Ifc4x3_tc1::IfcConstraint v3_RelatingConstraint, std::vector< ::Ifc4x3_tc1::IfcResourceObjectSelect > v4_RelatedResourceObjects); }; /// IfcResourceTime captures the time-related information about a construction resource. @@ -22186,7 +22186,7 @@ public: class IFC_PARSE_API IfcResourceTime : public IfcSchedulingTime { public: IfcResourceTime() {} - explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} + explicit IfcResourceTime (const std::weak_ptr& data) : IfcSchedulingTime(data) {} /// Indicates the total work (e.g. person-hours) allocated to the task on behalf of the resource. /// Note: this is not necessarily the same as the task duration (IfcTaskTime.ScheduleDuration); it may vary according to the resource usage ratio and other resources assigned to the task. @@ -22234,7 +22234,7 @@ public: std::optional< double > Completion() const; void setCompletion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< ::Ifc4x3_tc1::IfcDataOriginEnum::Value > v2_DataOrigin, std::optional< std::string > v3_UserDefinedDataOrigin, std::optional< std::string > v4_ScheduleWork, std::optional< double > v5_ScheduleUsage, std::optional< std::string > v6_ScheduleStart, std::optional< std::string > v7_ScheduleFinish, std::optional< std::string > v8_ScheduleContour, std::optional< std::string > v9_LevelingDelay, std::optional< bool > v10_IsOverAllocated, std::optional< std::string > v11_StatusTime, std::optional< std::string > v12_ActualWork, std::optional< double > v13_ActualUsage, std::optional< std::string > v14_ActualStart, std::optional< std::string > v15_ActualFinish, std::optional< std::string > v16_RemainingWork, std::optional< double > v17_RemainingUsage, std::optional< double > v18_Completion); }; /// IfcRoundedRectangleProfileDef defines a rectangle with equally rounded corners as the profile definition used by the swept surface geometry or the swept area solid. It is given by the X extent, the Y extent, and the radius for the rounded corners, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -22277,13 +22277,13 @@ public: class IFC_PARSE_API IfcRoundedRectangleProfileDef : public IfcRectangleProfileDef { public: IfcRoundedRectangleProfileDef() {} - explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRoundedRectangleProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Radius of the circular arcs by which all four corners of the rectangle are equally rounded. double RoundingRadius() const; void setRoundingRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_RoundingRadius); }; /// IfcSectionProperties defines the cross section properties for a single longitudinal piece of a cross section. It is a special-purpose helper class for IfcSectionReinforcementProperties. @@ -22294,7 +22294,7 @@ public: class IFC_PARSE_API IfcSectionProperties : public IfcPreDefinedProperties { public: IfcSectionProperties() {} - explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// An indicator whether a specific piece of a cross section is uniform or tapered in longitudinal direction. ::Ifc4x3_tc1::IfcSectionTypeEnum::Value SectionType() const; @@ -22306,7 +22306,7 @@ public: ::Ifc4x3_tc1::IfcProfileDef EndProfile() const; void setEndProfile(const ::Ifc4x3_tc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSectionTypeEnum::Value v1_SectionType, ::Ifc4x3_tc1::IfcProfileDef v2_StartProfile, ::Ifc4x3_tc1::IfcProfileDef v3_EndProfile); }; /// IfcSectionReinforcementProperties defines the cross section properties of reinforcement for a single longitudinal piece of a cross section with a specific reinforcement usage type. @@ -22319,7 +22319,7 @@ public: class IFC_PARSE_API IfcSectionReinforcementProperties : public IfcPreDefinedProperties { public: IfcSectionReinforcementProperties() {} - explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} + explicit IfcSectionReinforcementProperties (const std::weak_ptr& data) : IfcPreDefinedProperties(data) {} /// The start position in longitudinal direction for the section reinforcement properties. double LongitudinalStartPosition() const; @@ -22340,7 +22340,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties > CrossSectionReinforcementDefinitions() const; void setCrossSectionReinforcementDefinitions(const std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_LongitudinalStartPosition, double v2_LongitudinalEndPosition, std::optional< double > v3_TransversePosition, ::Ifc4x3_tc1::IfcReinforcingBarRoleEnum::Value v4_ReinforcementRole, ::Ifc4x3_tc1::IfcSectionProperties v5_SectionDefinition, std::vector< ::Ifc4x3_tc1::IfcReinforcementBarProperties > v6_CrossSectionReinforcementDefinitions); }; /// Definition from ISO 10303-42:1999: A sectioned @@ -22399,7 +22399,7 @@ public: class IFC_PARSE_API IfcSectionedSpine : public IfcGeometricRepresentationItem { public: IfcSectionedSpine() {} - explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSectionedSpine (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A single composite curve, that defines the spine curve. Each of the composite curve segments correspond to the part between two cross-sections. ::Ifc4x3_tc1::IfcCompositeCurve SpineCurve() const; @@ -22411,20 +22411,20 @@ public: std::vector< ::Ifc4x3_tc1::IfcAxis2Placement3D > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_tc1::IfcAxis2Placement3D >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCompositeCurve v1_SpineCurve, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_tc1::IfcAxis2Placement3D > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSegment : public IfcGeometricRepresentationItem { public: IfcSegment() {} - explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSegment (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} ::Ifc4x3_tc1::IfcTransitionCode::Value Transition() const; void setTransition(const ::Ifc4x3_tc1::IfcTransitionCode::Value& v); std::vector< IfcCompositeCurve > UsingCurves() const; // INVERSE IfcCompositeCurve::Segments - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition); }; /// Definition from ISO/CD 10303-42:1992: A shell based surface model is described by a set of open or closed shells of dimensionality 2. The shells shall not intersect except at edges and vertices. In particular, distinct faces may not intersect. A complete face of one shell may be shared with another shell. Coincident portions of shells shall both reference the same faces, edges and vertices defining the coincident region. There shall be at least one shell. @@ -22442,12 +22442,12 @@ public: class IFC_PARSE_API IfcShellBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcShellBasedSurfaceModel() {} - explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcShellBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} std::vector< ::Ifc4x3_tc1::IfcShell > SbsmBoundary() const; void setSbsmBoundary(const std::vector< ::Ifc4x3_tc1::IfcShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcShell > v1_SbsmBoundary); }; /// IfcSimpleProperty is a generalization of a single property object. The various subtypes of IfcSimpleProperty establish different ways in which a property value can be set. @@ -22456,10 +22456,10 @@ public: class IFC_PARSE_API IfcSimpleProperty : public IfcProperty { public: IfcSimpleProperty() {} - explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcSimpleProperty (const std::weak_ptr& data) : IfcProperty(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification); }; /// Definition from IAI: Describes slippage in support conditions or connection conditions. Slippage means that a relative displacement may occur in a support or connection before support or connection reactions are awoken. @@ -22474,7 +22474,7 @@ public: class IFC_PARSE_API IfcSlippageConnectionCondition : public IfcStructuralConnectionCondition { public: IfcSlippageConnectionCondition() {} - explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} + explicit IfcSlippageConnectionCondition (const std::weak_ptr& data) : IfcStructuralConnectionCondition(data) {} /// Slippage in x-direction of the coordinate system defined by the instance which uses this resource object. std::optional< double > SlippageX() const; @@ -22486,7 +22486,7 @@ public: std::optional< double > SlippageZ() const; void setSlippageZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_SlippageX, std::optional< double > v3_SlippageY, std::optional< double > v4_SlippageZ); }; /// Definition from ISO/CD 10303-42:1992: A solid model is a complete representation of the nominal shape of a product such that all points in the interior are connected. Any point can be classified as being inside, outside, or on the boundary of a solid. There are several different types of solid model representations. @@ -22497,10 +22497,10 @@ public: class IFC_PARSE_API IfcSolidModel : public IfcGeometricRepresentationItem { public: IfcSolidModel() {} - explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSolidModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from IAI: An instance of the entity @@ -22511,7 +22511,7 @@ public: class IFC_PARSE_API IfcStructuralLoadLinearForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadLinearForce() {} - explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadLinearForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Linear force value in x-direction. std::optional< double > LinearForceX() const; @@ -22532,7 +22532,7 @@ public: std::optional< double > LinearMomentZ() const; void setLinearMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_LinearForceX, std::optional< double > v3_LinearForceY, std::optional< double > v4_LinearForceZ, std::optional< double > v5_LinearMomentX, std::optional< double > v6_LinearMomentY, std::optional< double > v7_LinearMomentZ); }; /// Definition from IAI: An instance of the entity @@ -22543,7 +22543,7 @@ public: class IFC_PARSE_API IfcStructuralLoadPlanarForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadPlanarForce() {} - explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadPlanarForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Planar force value in x-direction. std::optional< double > PlanarForceX() const; @@ -22555,7 +22555,7 @@ public: std::optional< double > PlanarForceZ() const; void setPlanarForceZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_PlanarForceX, std::optional< double > v3_PlanarForceY, std::optional< double > v4_PlanarForceZ); }; /// Definition from IAI: Instances of the entity @@ -22566,7 +22566,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacement : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleDisplacement() {} - explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleDisplacement (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Displacement in x-direction. std::optional< double > DisplacementX() const; @@ -22587,7 +22587,7 @@ public: std::optional< double > RotationalDisplacementRZ() const; void setRotationalDisplacementRZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ); }; /// Definition from IAI: Defines a displacement with warping. @@ -22596,13 +22596,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleDisplacementDistortion : public IfcStructuralLoadSingleDisplacement { public: IfcStructuralLoadSingleDisplacementDistortion() {} - explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} + explicit IfcStructuralLoadSingleDisplacementDistortion (const std::weak_ptr& data) : IfcStructuralLoadSingleDisplacement(data) {} /// The distortion curvature (warping, i.e. a cross-sectional deplanation) given to the displacement load. std::optional< double > Distortion() const; void setDistortion(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_DisplacementX, std::optional< double > v3_DisplacementY, std::optional< double > v4_DisplacementZ, std::optional< double > v5_RotationalDisplacementRX, std::optional< double > v6_RotationalDisplacementRY, std::optional< double > v7_RotationalDisplacementRZ, std::optional< double > v8_Distortion); }; /// Definition from IAI: Instances of the entity @@ -22614,7 +22614,7 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForce : public IfcStructuralLoadStatic { public: IfcStructuralLoadSingleForce() {} - explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} + explicit IfcStructuralLoadSingleForce (const std::weak_ptr& data) : IfcStructuralLoadStatic(data) {} /// Force value in x-direction. std::optional< double > ForceX() const; @@ -22635,7 +22635,7 @@ public: std::optional< double > MomentZ() const; void setMomentZ(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ); }; /// Definition from IAI: Instances of the entity @@ -22649,13 +22649,13 @@ public: class IFC_PARSE_API IfcStructuralLoadSingleForceWarping : public IfcStructuralLoadSingleForce { public: IfcStructuralLoadSingleForceWarping() {} - explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} + explicit IfcStructuralLoadSingleForceWarping (const std::weak_ptr& data) : IfcStructuralLoadSingleForce(data) {} /// The warping moment at the point load. std::optional< double > WarpingMoment() const; void setWarpingMoment(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, std::optional< double > v2_ForceX, std::optional< double > v3_ForceY, std::optional< double > v4_ForceZ, std::optional< double > v5_MomentX, std::optional< double > v6_MomentY, std::optional< double > v7_MomentZ, std::optional< double > v8_WarpingMoment); }; /// Definition from ISO/DIS 10303-42:1999(E): A subedge is an edge whose domain is a connected portion of the domain of an existing edge. The topological constraints on a subedge are the same as those on an edge. @@ -22671,13 +22671,13 @@ public: class IFC_PARSE_API IfcSubedge : public IfcEdge { public: IfcSubedge() {} - explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} + explicit IfcSubedge (const std::weak_ptr& data) : IfcEdge(data) {} /// The Edge, or Subedge, which contains the Subedge. ::Ifc4x3_tc1::IfcEdge ParentEdge() const; void setParentEdge(const ::Ifc4x3_tc1::IfcEdge& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcVertex v1_EdgeStart, ::Ifc4x3_tc1::IfcVertex v2_EdgeEnd, ::Ifc4x3_tc1::IfcEdge v3_ParentEdge); }; /// Definition from ISO/CD 10303-42:1992: A surface can be envisioned as a set of connected points in 3-dimensional space which is always locally 2-dimensional, but need not be a manifold. @@ -22693,10 +22693,10 @@ public: class IFC_PARSE_API IfcSurface : public IfcGeometricRepresentationItem { public: IfcSurface() {} - explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcSurface (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// IfcSurfaceStyleRendering holds the properties for visualization related to a particular surface side style. @@ -22747,7 +22747,7 @@ public: class IFC_PARSE_API IfcSurfaceStyleRendering : public IfcSurfaceStyleShading { public: IfcSurfaceStyleRendering() {} - explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} + explicit IfcSurfaceStyleRendering (const std::weak_ptr& data) : IfcSurfaceStyleShading(data) {} /// The diffuse part of the reflectance equation can be given as either a colour or a scalar factor. /// The diffuse colour field reflects all light sources depending on the angle of the surface with respect to the light source. The more directly the surface faces the light, the more diffuse light reflects. @@ -22781,7 +22781,7 @@ public: ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value ReflectanceMethod() const; void setReflectanceMethod(const ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcColourRgb v1_SurfaceColour, std::optional< double > v2_Transparency, ::Ifc4x3_tc1::IfcColourOrFactor v3_DiffuseColour, ::Ifc4x3_tc1::IfcColourOrFactor v4_TransmissionColour, ::Ifc4x3_tc1::IfcColourOrFactor v5_DiffuseTransmissionColour, ::Ifc4x3_tc1::IfcColourOrFactor v6_ReflectionColour, ::Ifc4x3_tc1::IfcColourOrFactor v7_SpecularColour, ::Ifc4x3_tc1::IfcSpecularHighlightSelect v8_SpecularHighlight, ::Ifc4x3_tc1::IfcReflectanceMethodEnum::Value v9_ReflectanceMethod); }; /// Definition from ISO/CD 10303-42:1992: The swept area @@ -22805,7 +22805,7 @@ public: class IFC_PARSE_API IfcSweptAreaSolid : public IfcSolidModel { public: IfcSweptAreaSolid() {} - explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptAreaSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The surface defining the area to be swept. It is given as a profile definition within the xy plane of the position coordinate system. ::Ifc4x3_tc1::IfcProfileDef SweptArea() const; @@ -22814,7 +22814,7 @@ public: ::Ifc4x3_tc1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position); }; /// Definition from ISO 10303-42:2002: A swept @@ -22873,7 +22873,7 @@ public: class IFC_PARSE_API IfcSweptDiskSolid : public IfcSolidModel { public: IfcSweptDiskSolid() {} - explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSweptDiskSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// The curve used to define the sweeping operation. The solid is generated by sweeping a circular disk along the Directrix. ::Ifc4x3_tc1::IfcCurve Directrix() const; @@ -22895,7 +22895,7 @@ public: std::optional< double > EndParam() const; void setEndParam(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam); }; /// The IfcSweptDiskSolidPolygonal is a IfcSweptDiskSolid where the Directrix is restricted to be provided by an IfcPolyline only. An optional FilletRadius attribute can be asserted, it is then applied as a fillet to all transitions between the segments of the IfcPolyline. @@ -22911,13 +22911,13 @@ public: class IFC_PARSE_API IfcSweptDiskSolidPolygonal : public IfcSweptDiskSolid { public: IfcSweptDiskSolidPolygonal() {} - explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} + explicit IfcSweptDiskSolidPolygonal (const std::weak_ptr& data) : IfcSweptDiskSolid(data) {} /// The fillet that is equally applied to all transitions between the segments of the IfcPolyline, providing the geometric representation for the Directrix. If omited, no fillet is applied to the segments. std::optional< double > FilletRadius() const; void setFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, double v2_Radius, std::optional< double > v3_InnerRadius, std::optional< double > v4_StartParam, std::optional< double > v5_EndParam, std::optional< double > v6_FilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A swept surface is one that is constructed by sweeping a curve along another curve. @@ -22928,7 +22928,7 @@ public: class IFC_PARSE_API IfcSweptSurface : public IfcSurface { public: IfcSweptSurface() {} - explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSweptSurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The curve to be swept in defining the surface. The curve is defined as a profile within the position coordinate system. ::Ifc4x3_tc1::IfcProfileDef SweptCurve() const; @@ -22937,7 +22937,7 @@ public: ::Ifc4x3_tc1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position); }; /// IfcTShapeProfileDef defines @@ -22971,7 +22971,7 @@ public: class IFC_PARSE_API IfcTShapeProfileDef : public IfcParameterizedProfileDef { public: IfcTShapeProfileDef() {} - explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23001,17 +23001,17 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_WebEdgeRadius, std::optional< double > v11_WebSlope, std::optional< double > v12_FlangeSlope); }; class IFC_PARSE_API IfcTessellatedItem : public IfcGeometricRepresentationItem { public: IfcTessellatedItem() {} - explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTessellatedItem (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The text literal is a geometric representation item which describes a text string using a string literal and additional position and path information. @@ -23027,7 +23027,7 @@ public: class IFC_PARSE_API IfcTextLiteral : public IfcGeometricRepresentationItem { public: IfcTextLiteral() {} - explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcTextLiteral (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The text literal to be presented. std::string Literal() const; @@ -23040,7 +23040,7 @@ public: ::Ifc4x3_tc1::IfcTextPath::Value Path() const; void setPath(const ::Ifc4x3_tc1::IfcTextPath::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_tc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_tc1::IfcTextPath::Value v3_Path); }; /// The text literal with extent is a text literal with the additional explicit information of the planar extent (or surrounding text box). An alignment attribute defines, how the text box is aligned to the placement and how it may expand. @@ -23055,7 +23055,7 @@ public: class IFC_PARSE_API IfcTextLiteralWithExtent : public IfcTextLiteral { public: IfcTextLiteralWithExtent() {} - explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} + explicit IfcTextLiteralWithExtent (const std::weak_ptr& data) : IfcTextLiteral(data) {} /// The extent in the x and y direction of the text literal. ::Ifc4x3_tc1::IfcPlanarExtent Extent() const; @@ -23064,7 +23064,7 @@ public: std::string BoxAlignment() const; void setBoxAlignment(const std::string& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Literal, ::Ifc4x3_tc1::IfcAxis2Placement v2_Placement, ::Ifc4x3_tc1::IfcTextPath::Value v3_Path, ::Ifc4x3_tc1::IfcPlanarExtent v4_Extent, std::string v5_BoxAlignment); }; /// Definition from CSS1 (W3C Recommendation): Setting font properties will be among the most common uses of style sheets. Unfortunately, there exists no well-defined and universally accepted taxonomy for classifying fonts, and terms that apply to one font family may not be appropriate for others. For example, 'italic' is commonly used to label slanted text, but slanted text may also be labeled as being Oblique, Slanted, Incline, Cursive or Kursiv. Therefore it is not a simple problem to map typical font selection properties to a specific font. @@ -23135,7 +23135,7 @@ public: class IFC_PARSE_API IfcTextStyleFontModel : public IfcPreDefinedTextFont { public: IfcTextStyleFontModel() {} - explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} + explicit IfcTextStyleFontModel (const std::weak_ptr& data) : IfcPreDefinedTextFont(data) {} /// The value is a prioritized list of font family names and/or generic family names. The first list entry has the highest priority, if this font fails, the next list item shall be used. The last list item should (if possible) be a generic family. std::vector< std::string > /*[1:?]*/ FontFamily() const; @@ -23156,7 +23156,7 @@ public: ::Ifc4x3_tc1::IfcSizeSelect FontSize() const; void setFontSize(const ::Ifc4x3_tc1::IfcSizeSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::vector< std::string > /*[1:?]*/ v2_FontFamily, std::optional< std::string > v3_FontStyle, std::optional< std::string > v4_FontVariant, std::optional< std::string > v5_FontWeight, ::Ifc4x3_tc1::IfcSizeSelect v6_FontSize); }; /// IfcTrapeziumProfileDef defines a trapezium as the profile definition used by the swept surface geometry or the swept area solid. It is given by its Top X and Bottom X extent and its Y extent as well as by the offset of the Top X extend, and placed within the 2D position coordinate system, established by the Position attribute. It is placed centric within the position coordinate system, that is, in the center of the bounding box. @@ -23200,7 +23200,7 @@ public: class IFC_PARSE_API IfcTrapeziumProfileDef : public IfcParameterizedProfileDef { public: IfcTrapeziumProfileDef() {} - explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcTrapeziumProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The extent of the bottom line measured along the implicit x-axis. double BottomXDim() const; @@ -23215,7 +23215,7 @@ public: double TopXOffset() const; void setTopXOffset(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_BottomXDim, double v5_TopXDim, double v6_YDim, double v7_TopXOffset); }; /// The object type defines the @@ -23252,7 +23252,7 @@ public: class IFC_PARSE_API IfcTypeObject : public IfcObjectDefinition { public: IfcTypeObject() {} - explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcTypeObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The attribute optionally defines the data type of the occurrence object, to which the assigned type object can relate. If not present, no instruction is given to which occurrence object the type object is applicable. The following conventions are used: /// @@ -23270,7 +23270,7 @@ public: void setHasPropertySets(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > >& v); std::vector< IfcRelDefinesByType > Types() const; // INVERSE IfcRelDefinesByType::RelatingType - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets); }; /// IfcTypeProcess defines a @@ -23304,7 +23304,7 @@ public: class IFC_PARSE_API IfcTypeProcess : public IfcTypeObject { public: IfcTypeProcess() {} - explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProcess (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a process type. std::optional< std::string > Identification() const; @@ -23319,7 +23319,7 @@ public: void setProcessType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType); }; /// IfcTypeProduct defines a type @@ -23391,7 +23391,7 @@ public: class IFC_PARSE_API IfcTypeProduct : public IfcTypeObject { public: IfcTypeProduct() {} - explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeProduct (const std::weak_ptr& data) : IfcTypeObject(data) {} /// List of unique representation maps. Each representation map describes a block definition of the shape of the product style. By providing more than one representation map, a multi-view block definition can be given. std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > RepresentationMaps() const; @@ -23401,7 +23401,7 @@ public: void setTag(const std::optional< std::string >& v); std::vector< IfcRelAssignsToProduct > ReferencedBy() const; // INVERSE IfcRelAssignsToProduct::RelatingProduct - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag); }; /// IfcTypeResource defines a specific (or type) definition of a resource.It is used to define a resource specification (the specific resource, that is common to all occurrences that are defined for that resource) and could act as a resource template. @@ -23419,7 +23419,7 @@ public: class IFC_PARSE_API IfcTypeResource : public IfcTypeObject { public: IfcTypeResource() {} - explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} + explicit IfcTypeResource (const std::weak_ptr& data) : IfcTypeObject(data) {} /// An identifying designation given to a resource type. std::optional< std::string > Identification() const; @@ -23434,7 +23434,7 @@ public: void setResourceType(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType); }; /// IfcUShapeProfileDef defines @@ -23468,7 +23468,7 @@ public: class IFC_PARSE_API IfcUShapeProfileDef : public IfcParameterizedProfileDef { public: IfcUShapeProfileDef() {} - explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcUShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web lengths, see illustration above (= h). double Depth() const; @@ -23492,7 +23492,7 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius, std::optional< double > v10_FlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The vector is defined in terms of the direction and magnitude of the vector. The value of the magnitude attribute defines the magnitude of the vector. @@ -23505,7 +23505,7 @@ public: class IFC_PARSE_API IfcVector : public IfcGeometricRepresentationItem { public: IfcVector() {} - explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcVector (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction of the vector. ::Ifc4x3_tc1::IfcDirection Orientation() const; @@ -23514,7 +23514,7 @@ public: double Magnitude() const; void setMagnitude(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDirection v1_Orientation, double v2_Magnitude); }; /// Definition from ISO/CD 10303-42:1992: A vertex_loop is a loop of @@ -23532,13 +23532,13 @@ public: class IFC_PARSE_API IfcVertexLoop : public IfcLoop { public: IfcVertexLoop() {} - explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcVertexLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// The vertex which defines the entire loop. ::Ifc4x3_tc1::IfcVertex LoopVertex() const; void setLoopVertex(const ::Ifc4x3_tc1::IfcVertex& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcVertex v1_LoopVertex); }; /// IfcZShapeProfileDef defines @@ -23569,7 +23569,7 @@ public: class IFC_PARSE_API IfcZShapeProfileDef : public IfcParameterizedProfileDef { public: IfcZShapeProfileDef() {} - explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcZShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Web length, see illustration above (= h). double Depth() const; @@ -23590,7 +23590,7 @@ public: std::optional< double > EdgeRadius() const; void setEdgeRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_FlangeWidth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_EdgeRadius); }; /// An advanced face is a specialization of a face surface that has to meet requirements on using particular topological and geometric representation items for the definition of the faces, edges and vertices. @@ -23609,10 +23609,10 @@ public: class IFC_PARSE_API IfcAdvancedFace : public IfcFaceSurface { public: IfcAdvancedFace() {} - explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} + explicit IfcAdvancedFace (const std::weak_ptr& data) : IfcFaceSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcFaceBound > v1_Bounds, ::Ifc4x3_tc1::IfcSurface v2_FaceSurface, bool v3_SameSense); }; /// Definition from ISO/CD 10303-46:1992: An annotation fill area is a set of curves that may be filled with hatching, colour or tiling. The annotation fill are is described by boundaries which consist of non-intersecting, non-self-intersecting closed curves. These curves form the boundary of planar areas to be filled according to the style for the annotation fill area. @@ -23638,7 +23638,7 @@ public: class IFC_PARSE_API IfcAnnotationFillArea : public IfcGeometricRepresentationItem { public: IfcAnnotationFillArea() {} - explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcAnnotationFillArea (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A closed curve that defines the outer boundary of the fill area. The areas defined by the outer boundary (minus potentially defined inner boundaries) is filled by the fill area style. /// @@ -23651,7 +23651,7 @@ public: std::optional< std::vector< ::Ifc4x3_tc1::IfcCurve > > InnerBoundaries() const; void setInnerBoundaries(const std::optional< std::vector< ::Ifc4x3_tc1::IfcCurve > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_OuterBoundary, std::optional< std::vector< ::Ifc4x3_tc1::IfcCurve > > v2_InnerBoundaries); }; /// IfcAsymmetricIShapeProfileDef @@ -23694,7 +23694,7 @@ public: class IFC_PARSE_API IfcAsymmetricIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcAsymmetricIShapeProfileDef() {} - explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcAsymmetricIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} double BottomFlangeWidth() const; void setBottomFlangeWidth(const double& v); @@ -23724,7 +23724,7 @@ public: std::optional< double > TopFlangeSlope() const; void setTopFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_BottomFlangeWidth, double v5_OverallDepth, double v6_WebThickness, double v7_BottomFlangeThickness, std::optional< double > v8_BottomFlangeFilletRadius, double v9_TopFlangeWidth, std::optional< double > v10_TopFlangeThickness, std::optional< double > v11_TopFlangeFilletRadius, std::optional< double > v12_BottomFlangeEdgeRadius, std::optional< double > v13_BottomFlangeSlope, std::optional< double > v14_TopFlangeEdgeRadius, std::optional< double > v15_TopFlangeSlope); }; /// Definition from ISO/CD 10303-42:1992: The direction and location in three dimensional space of a single axis. An axis1_placement is defined in terms of a locating point (inherited from placement supertype) and an axis direction: this is either the direction of axis or defaults to (0.0,0.0,1.0). The actual direction for the axis placement is given by the derived attribute z (Z). @@ -23739,13 +23739,13 @@ public: class IFC_PARSE_API IfcAxis1Placement : public IfcPlacement { public: IfcAxis1Placement() {} - explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis1Placement (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction of the local Z axis. ::Ifc4x3_tc1::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_Axis); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in two dimensional space of two mutually perpendicular axes. An axis2_placement_2d is defined in terms of a point, (inherited from the placement supertype), and an axis. It can be used to locate and originate an object in two dimensional space and to define a placement coordinate system. The class includes a point which forms the origin of the placement coordinate system. A direction vector is required to complete the definition of the placement coordinate system. The reference direction defines the placement X axis direction, the placement Y axis is derived from this. @@ -23762,13 +23762,13 @@ public: class IFC_PARSE_API IfcAxis2Placement2D : public IfcPlacement { public: IfcAxis2Placement2D() {} - explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement2D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The direction used to determine the direction of the local X axis. If a value is omited that it defaults to [1.0, 0.0.]. ::Ifc4x3_tc1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: The location and orientation in three dimensional space of three mutually perpendicular axes. An axis2_placement_3D is defined in terms of a point (inherited from placement supertype) and two (ideally orthogonal) axes. It can be used to locate and originate an object in three dimensional space and to define a placement coordinate system. The entity includes a point which forms the origin of the placement coordinate system. Two direction vectors are required to complete the definition of the placement coordinate system. The axis is the placement Z axis direction and the ref_direction is an approximation to the placement X axis direction. @@ -23787,7 +23787,7 @@ public: class IFC_PARSE_API IfcAxis2Placement3D : public IfcPlacement { public: IfcAxis2Placement3D() {} - explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2Placement3D (const std::weak_ptr& data) : IfcPlacement(data) {} /// The exact direction of the local Z Axis. ::Ifc4x3_tc1::IfcDirection Axis() const; @@ -23796,21 +23796,21 @@ public: ::Ifc4x3_tc1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_Axis, ::Ifc4x3_tc1::IfcDirection v3_RefDirection); }; class IFC_PARSE_API IfcAxis2PlacementLinear : public IfcPlacement { public: IfcAxis2PlacementLinear() {} - explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} + explicit IfcAxis2PlacementLinear (const std::weak_ptr& data) : IfcPlacement(data) {} ::Ifc4x3_tc1::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_tc1::IfcDirection& v); ::Ifc4x3_tc1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPoint v1_Location, ::Ifc4x3_tc1::IfcDirection v2_Axis, ::Ifc4x3_tc1::IfcDirection v3_RefDirection); }; /// Definition from ISO/CD 10303-42:1992: A Boolean result @@ -23842,7 +23842,7 @@ public: class IFC_PARSE_API IfcBooleanResult : public IfcGeometricRepresentationItem { public: IfcBooleanResult() {} - explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBooleanResult (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The Boolean operator used in the operation to create the result. ::Ifc4x3_tc1::IfcBooleanOperator::Value Operator() const; @@ -23854,7 +23854,7 @@ public: ::Ifc4x3_tc1::IfcBooleanOperand SecondOperand() const; void setSecondOperand(const ::Ifc4x3_tc1::IfcBooleanOperand& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_tc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_tc1::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded surface is a surface of finite area with identifiable boundaries. @@ -23872,10 +23872,10 @@ public: class IFC_PARSE_API IfcBoundedSurface : public IfcSurface { public: IfcBoundedSurface() {} - explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcBoundedSurface (const std::weak_ptr& data) : IfcSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: A box domain @@ -23903,7 +23903,7 @@ public: class IFC_PARSE_API IfcBoundingBox : public IfcGeometricRepresentationItem { public: IfcBoundingBox() {} - explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcBoundingBox (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// Location of the bottom left corner (having the minimum values). ::Ifc4x3_tc1::IfcCartesianPoint Corner() const; @@ -23918,7 +23918,7 @@ public: double ZDim() const; void setZDim(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCartesianPoint v1_Corner, double v2_XDim, double v3_YDim, double v4_ZDim); }; /// Definition from ISO/CD 10303-42:1992: This entity is a subtype of the half space solid which is trimmed by a surrounding rectangular box. The box has its edges parallel to the coordinate axes of the geometric coordinate system. @@ -23954,13 +23954,13 @@ public: class IFC_PARSE_API IfcBoxedHalfSpace : public IfcHalfSpaceSolid { public: IfcBoxedHalfSpace() {} - explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} + explicit IfcBoxedHalfSpace (const std::weak_ptr& data) : IfcHalfSpaceSolid(data) {} /// The box which bounds the resulting solid of the Boolean operation involving the half space solid for computational purposes only. ::Ifc4x3_tc1::IfcBoundingBox Enclosure() const; void setEnclosure(const ::Ifc4x3_tc1::IfcBoundingBox& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSurface v1_BaseSurface, bool v2_AgreementFlag, ::Ifc4x3_tc1::IfcBoundingBox v3_Enclosure); }; /// IfcCShapeProfileDef defines @@ -23988,7 +23988,7 @@ public: class IFC_PARSE_API IfcCShapeProfileDef : public IfcParameterizedProfileDef { public: IfcCShapeProfileDef() {} - explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Profile depth, see illustration above (= h). double Depth() const; @@ -24006,7 +24006,7 @@ public: std::optional< double > InternalFilletRadius() const; void setInternalFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, double v5_Width, double v6_WallThickness, double v7_Girth, std::optional< double > v8_InternalFilletRadius); }; /// Definition from ISO/CD 10303-42:1992: A point defined by its coordinates in a two or three dimensional rectangular Cartesian coordinate system, or in a two dimensional parameter space. The entity is defined in a two or three dimensional space. @@ -24019,51 +24019,51 @@ public: class IFC_PARSE_API IfcCartesianPoint : public IfcPoint { public: IfcCartesianPoint() {} - explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} + explicit IfcCartesianPoint (const std::weak_ptr& data) : IfcPoint(data) {} /// The first, second, and third coordinate of the point location. If placed in a two or three dimensional rectangular Cartesian coordinate system, Coordinates[1] is the X coordinate, Coordinates[2] is the Y coordinate, and Coordinates[3] is the Z coordinate. std::vector< double > /*[1:3]*/ Coordinates() const; void setCoordinates(const std::vector< double > /*[1:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[1:3]*/ v1_Coordinates); }; class IFC_PARSE_API IfcCartesianPointList : public IfcGeometricRepresentationItem { public: IfcCartesianPointList() {} - explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianPointList (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; class IFC_PARSE_API IfcCartesianPointList2D : public IfcCartesianPointList { public: IfcCartesianPointList2D() {} - explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList2D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; class IFC_PARSE_API IfcCartesianPointList3D : public IfcCartesianPointList { public: IfcCartesianPointList3D() {} - explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} + explicit IfcCartesianPointList3D (const std::weak_ptr& data) : IfcCartesianPointList(data) {} std::vector< std::vector< double > > CoordList() const; void setCoordList(const std::vector< std::vector< double > >& v); std::optional< std::vector< std::string > /*[1:?]*/ > TagList() const; void setTagList(const std::optional< std::vector< std::string > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< std::vector< double > > v1_CoordList, std::optional< std::vector< std::string > /*[1:?]*/ > v2_TagList); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator defines a geometric transformation composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed, by the base axis function, from the direction attributes axis1, axis2 and, in Cartesian transformation operator 3d, axis3. If |T|= -1, the transformation includes mirroring. The local origin point A, the scale value S and the matrix T together define a transformation. @@ -24099,7 +24099,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator : public IfcGeometricRepresentationItem { public: IfcCartesianTransformationOperator() {} - explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCartesianTransformationOperator (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The direction used to determine U[1], the derived X axis direction. ::Ifc4x3_tc1::IfcDirection Axis1() const; @@ -24114,7 +24114,7 @@ public: std::optional< double > Scale() const; void setScale(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 2d defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1 and axis2 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24125,10 +24125,10 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator2D() {} - explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator2D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale); }; /// A Cartesian transformation operator 2d non uniform defines a geometric transformation in two-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by two different scaling factors: @@ -24144,13 +24144,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator2DnonUniform : public IfcCartesianTransformationOperator2D { public: IfcCartesianTransformationOperator2DnonUniform() {} - explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} + explicit IfcCartesianTransformationOperator2DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator2D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; void setScale2(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, std::optional< double > v5_Scale2); }; /// Definition from ISO/CD 10303-42:1992: A Cartesian transformation operator 3d defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and uniform scaling. The list of normalized vectors u defines the columns of an orthogonal matrix T. These vectors are computed from the direction attributes axis1, axis2 and axis3 by the base axis function. If |T|= -1, the transformation includes mirroring. @@ -24161,13 +24161,13 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3D : public IfcCartesianTransformationOperator { public: IfcCartesianTransformationOperator3D() {} - explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} + explicit IfcCartesianTransformationOperator3D (const std::weak_ptr& data) : IfcCartesianTransformationOperator(data) {} /// The exact direction of U[3], the derived Z axis direction. ::Ifc4x3_tc1::IfcDirection Axis3() const; void setAxis3(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_tc1::IfcDirection v5_Axis3); }; /// A Cartesian transformation operator 3d non uniform defines a geometric transformation in three-dimensional space composed of translation, rotation, mirroring and non uniform scaling. Non uniform scaling is given by three different scaling factors: @@ -24184,7 +24184,7 @@ public: class IFC_PARSE_API IfcCartesianTransformationOperator3DnonUniform : public IfcCartesianTransformationOperator3D { public: IfcCartesianTransformationOperator3DnonUniform() {} - explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} + explicit IfcCartesianTransformationOperator3DnonUniform (const std::weak_ptr& data) : IfcCartesianTransformationOperator3D(data) {} /// The scaling value specified for the transformation along the axis 2. This is normally the y scale factor. std::optional< double > Scale2() const; @@ -24193,7 +24193,7 @@ public: std::optional< double > Scale3() const; void setScale3(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcDirection v1_Axis1, ::Ifc4x3_tc1::IfcDirection v2_Axis2, ::Ifc4x3_tc1::IfcCartesianPoint v3_LocalOrigin, std::optional< double > v4_Scale, ::Ifc4x3_tc1::IfcDirection v5_Axis3, std::optional< double > v6_Scale2, std::optional< double > v7_Scale3); }; /// IfcCircleProfileDef defines a circle as the profile definition used by the swept surface geometry or by the swept area solid. It is given by its Radius attribute and placed within the 2D position coordinate system, established by the Position attribute. @@ -24211,13 +24211,13 @@ public: class IFC_PARSE_API IfcCircleProfileDef : public IfcParameterizedProfileDef { public: IfcCircleProfileDef() {} - explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcCircleProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The radius of the circle. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Radius); }; /// Definition from ISO/CD 10303-42:1992: A closed shell is a shell @@ -24272,10 +24272,10 @@ public: class IFC_PARSE_API IfcClosedShell : public IfcConnectedFaceSet { public: IfcClosedShell() {} - explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} + explicit IfcClosedShell (const std::weak_ptr& data) : IfcConnectedFaceSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcFace > v1_CfsFaces); }; /// Definition from ISO/CD 10303-46:1992: A colour rgb as a subtype of colour specifications is defined by three colour component values for red, green, and blue in the RGB colour model. @@ -24289,7 +24289,7 @@ public: class IFC_PARSE_API IfcColourRgb : public IfcColourSpecification { public: IfcColourRgb() {} - explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} + explicit IfcColourRgb (const std::weak_ptr& data) : IfcColourSpecification(data) {} /// The intensity of the red colour component. /// @@ -24307,7 +24307,7 @@ public: double Blue() const; void setBlue(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::optional< std::string > v1_Name, double v2_Red, double v3_Green, double v4_Blue); }; /// IfcComplexProperty is used to define complex properties to be handled completely within a property set. The included set of properties may be a mixed or consistent collection of IfcProperty subtypes. This enables the definition of a set of properties to be included as a single 'property' entry in an IfcPropertySet. The definition of such an IfcComplexProperty can be reused in many different IfcPropertySet's. @@ -24318,7 +24318,7 @@ public: class IFC_PARSE_API IfcComplexProperty : public IfcProperty { public: IfcComplexProperty() {} - explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} + explicit IfcComplexProperty (const std::weak_ptr& data) : IfcProperty(data) {} /// Usage description of the IfcComplexProperty within the property set which references the IfcComplexProperty. /// NOTE: Consider a complex property for glazing properties. The Name attribute of the IfcComplexProperty could be Pset_GlazingProperties, and the UsageName attribute could be OuterGlazingPane. @@ -24328,7 +24328,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_tc1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::string v3_UsageName, std::vector< ::Ifc4x3_tc1::IfcProperty > v4_HasProperties); }; /// Definition from ISO/CD 10303-42:1992: A composite curve segment is a bounded curve together with transition information which is used to construct a composite curve (IfcCompositeCurve). @@ -24341,7 +24341,7 @@ public: class IFC_PARSE_API IfcCompositeCurveSegment : public IfcSegment { public: IfcCompositeCurveSegment() {} - explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCompositeCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} /// An indicator of whether or not the sense of the segment agrees with, or opposes, that of the parent curve. If SameSense is false, the point with highest parameter value is taken as the first point of the segment. /// @@ -24352,7 +24352,7 @@ public: ::Ifc4x3_tc1::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_tc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_tc1::IfcCurve v3_ParentCurve); }; /// IfcConstructionResourceType is an abstract generalization of the different resource types used in construction projects, mainly labor, material, equipment and product resource types, plus subcontracted resource types and aggregations such as a crew resource type. @@ -24373,14 +24373,14 @@ public: class IFC_PARSE_API IfcConstructionResourceType : public IfcTypeResource { public: IfcConstructionResourceType() {} - explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} + explicit IfcConstructionResourceType (const std::weak_ptr& data) : IfcTypeResource(data) {} std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > BaseCosts() const; void setBaseCosts(const std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > >& v); ::Ifc4x3_tc1::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_tc1::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity); }; /// IfcContext is the generalization of a project context in which objects, type objects, property sets, and properties are defined. The IfcProject as subtype of IfcContext provides the context for all information on a construction project, it may include one or several IfcProjectLibrary as subtype of IfcContext to register the included libraries for the project. @@ -24399,7 +24399,7 @@ public: class IFC_PARSE_API IfcContext : public IfcObjectDefinition { public: IfcContext() {} - explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcContext (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. std::optional< std::string > ObjectType() const; @@ -24423,7 +24423,7 @@ public: std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects std::vector< IfcRelDeclares > Declares() const; // INVERSE IfcRelDeclares::RelatingContext - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_tc1::IfcUnitAssignment v9_UnitsInContext); }; /// The resource type IfcCrewResourceType defines commonly shared information for occurrences of crew resources. The set of shared information may include: @@ -24439,13 +24439,13 @@ public: class IFC_PARSE_API IfcCrewResourceType : public IfcConstructionResourceType { public: IfcCrewResourceType() {} - explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcCrewResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of crew resources. ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value v12_PredefinedType); }; /// IfcCsgPrimitive3D is an abstract supertype of all three dimensional primitives used as either tree root item, or as Boolean results within a CSG solid model. All 3D CSG primitives are defined within a three-dimensional placement coordinate system. @@ -24456,13 +24456,13 @@ public: class IFC_PARSE_API IfcCsgPrimitive3D : public IfcGeometricRepresentationItem { public: IfcCsgPrimitive3D() {} - explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCsgPrimitive3D (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The placement coordinate system to which the parameters of each individual CSG primitive apply. ::Ifc4x3_tc1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position); }; /// Definition from ISO/CD 10303-42:1992: A solid @@ -24509,13 +24509,13 @@ public: class IFC_PARSE_API IfcCsgSolid : public IfcSolidModel { public: IfcCsgSolid() {} - explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcCsgSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} /// Boolean expression of primitives and regularized operators describing the solid. The root of the tree of Boolean expressions is given explicitly as an IfcBooleanResult entitiy or as a primitive (subtypes of IfcCsgPrimitive3D). ::Ifc4x3_tc1::IfcCsgSelect TreeRootExpression() const; void setTreeRootExpression(const ::Ifc4x3_tc1::IfcCsgSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCsgSelect v1_TreeRootExpression); }; /// Definition from ISO/CD 10303-42:1992: A curve can be envisioned as the path of a point moving in its coordinate space. @@ -24531,10 +24531,10 @@ public: class IFC_PARSE_API IfcCurve : public IfcGeometricRepresentationItem { public: IfcCurve() {} - explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcCurve (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// Definition from ISO/CD 10303-42:1992: The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. The bounded surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24553,7 +24553,7 @@ public: class IFC_PARSE_API IfcCurveBoundedPlane : public IfcBoundedSurface { public: IfcCurveBoundedPlane() {} - explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedPlane (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bound. ::Ifc4x3_tc1::IfcPlane BasisSurface() const; @@ -24565,7 +24565,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcCurve > InnerBoundaries() const; void setInnerBoundaries(const std::vector< ::Ifc4x3_tc1::IfcCurve >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPlane v1_BasisSurface, ::Ifc4x3_tc1::IfcCurve v2_OuterBoundary, std::vector< ::Ifc4x3_tc1::IfcCurve > v3_InnerBoundaries); }; /// Definition from ISO/CD 10303-42:1992 The curve bounded surface is a parametric surface with curved boundaries defined by one or more boundary curves. One of the boundary curves may be the outer boundary; any number of inner boundaries is permissible. The region of the curve bounded surface in the basis surface is defined to be the portion of the basis surface in the direction of N x T from any point on the boundary, where N is the surface normal and T the boundary curve tangent vector at this point. The region so defined shall be arcwise connected. @@ -24592,7 +24592,7 @@ public: class IFC_PARSE_API IfcCurveBoundedSurface : public IfcBoundedSurface { public: IfcCurveBoundedSurface() {} - explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcCurveBoundedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// The surface to be bounded. ::Ifc4x3_tc1::IfcSurface BasisSurface() const; @@ -24603,14 +24603,14 @@ public: bool ImplicitOuter() const; void setImplicitOuter(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, std::vector< ::Ifc4x3_tc1::IfcBoundaryCurve > v2_Boundaries, bool v3_ImplicitOuter); }; class IFC_PARSE_API IfcCurveSegment : public IfcSegment { public: IfcCurveSegment() {} - explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} + explicit IfcCurveSegment (const std::weak_ptr& data) : IfcSegment(data) {} ::Ifc4x3_tc1::IfcPlacement Placement() const; void setPlacement(const ::Ifc4x3_tc1::IfcPlacement& v); @@ -24621,7 +24621,7 @@ public: ::Ifc4x3_tc1::IfcCurve ParentCurve() const; void setParentCurve(const ::Ifc4x3_tc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, ::Ifc4x3_tc1::IfcPlacement v2_Placement, ::Ifc4x3_tc1::IfcCurveMeasureSelect v3_SegmentStart, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_SegmentLength, ::Ifc4x3_tc1::IfcCurve v5_ParentCurve); }; /// Definition from ISO/CD 10303-42:1992: This entity defines a general direction vector in two or three dimensional space. The actual magnitudes of the components have no effect upon the direction being defined, only the ratios X:Y:Z or X:Y are significant. @@ -24634,20 +24634,20 @@ public: class IFC_PARSE_API IfcDirection : public IfcGeometricRepresentationItem { public: IfcDirection() {} - explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcDirection (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The components in the direction of X axis (DirectionRatios[1]), of Y axis (DirectionRatios[2]), and of Z axis (DirectionRatios[3]) std::vector< double > /*[2:3]*/ DirectionRatios() const; void setDirectionRatios(const std::vector< double > /*[2:3]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< double > /*[2:3]*/ v1_DirectionRatios); }; class IFC_PARSE_API IfcDirectrixCurveSweptAreaSolid : public IfcSweptAreaSolid { public: IfcDirectrixCurveSweptAreaSolid() {} - explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcDirectrixCurveSweptAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} ::Ifc4x3_tc1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_tc1::IfcCurve& v); @@ -24656,7 +24656,7 @@ public: ::Ifc4x3_tc1::IfcCurveMeasureSelect EndParam() const; void setEndParam(const ::Ifc4x3_tc1::IfcCurveMeasureSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam); }; /// Definition from ISO/CD 10303-42:1992: An edge_loop is a loop with nonzero extent. It is a path in which the start and end vertices are the same. Its domain, if present, is a closed curve. An edge_loop may overlap itself. @@ -24673,13 +24673,13 @@ public: class IFC_PARSE_API IfcEdgeLoop : public IfcLoop { public: IfcEdgeLoop() {} - explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} + explicit IfcEdgeLoop (const std::weak_ptr& data) : IfcLoop(data) {} /// A list of oriented edge entities which are concatenated together to form this path. std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > EdgeList() const; void setEdgeList(const std::vector< ::Ifc4x3_tc1::IfcOrientedEdge >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcOrientedEdge > v1_EdgeList); }; /// Definition from IAI: An IfcElementQuantity @@ -24762,7 +24762,7 @@ public: class IFC_PARSE_API IfcElementQuantity : public IfcQuantitySet { public: IfcElementQuantity() {} - explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} + explicit IfcElementQuantity (const std::weak_ptr& data) : IfcQuantitySet(data) {} /// Name of the method of measurement used to calculate the element quantity. The method of measurement attribute has to be made recognizable by further agreements. /// @@ -24773,7 +24773,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > Quantities() const; void setQuantities(const std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_MethodOfMeasurement, std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > v6_Quantities); }; /// Definition from IAI: The IfcElementType @@ -24801,13 +24801,13 @@ public: class IFC_PARSE_API IfcElementType : public IfcTypeProduct { public: IfcElementType() {} - explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An elementary surface (IfcElementarySurface) is a simple analytic surface with defined parametric representation. @@ -24818,13 +24818,13 @@ public: class IFC_PARSE_API IfcElementarySurface : public IfcSurface { public: IfcElementarySurface() {} - explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcElementarySurface (const std::weak_ptr& data) : IfcSurface(data) {} /// The position and orientation of the surface. This attribute is used in the definition of the parameterization of the surface. ::Ifc4x3_tc1::IfcAxis2Placement3D Position() const; void setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position); }; /// IfcEllipseProfileDef defines an ellipse as the profile definition used by the swept surface geometry @@ -24846,7 +24846,7 @@ public: class IFC_PARSE_API IfcEllipseProfileDef : public IfcParameterizedProfileDef { public: IfcEllipseProfileDef() {} - explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcEllipseProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// The first radius of the ellipse. It is measured along the direction of Position.P[1]. double SemiAxis1() const; @@ -24855,7 +24855,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_SemiAxis1, double v5_SemiAxis2); }; /// An IfcEventType defines a particular type of event that may be specified. @@ -24867,7 +24867,7 @@ public: class IFC_PARSE_API IfcEventType : public IfcTypeProcess { public: IfcEventType() {} - explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcEventType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -24883,7 +24883,7 @@ public: std::optional< std::string > UserDefinedEventTriggerType() const; void setUserDefinedEventTriggerType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcEventTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value v11_EventTriggerType, std::optional< std::string > v12_UserDefinedEventTriggerType); }; /// The IfcExtrudedAreaSolid is defined by sweeping a cross @@ -24957,7 +24957,7 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolid : public IfcSweptAreaSolid { public: IfcExtrudedAreaSolid() {} - explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcExtrudedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// The direction in which the surface, provided by SweptArea is to be swept. ::Ifc4x3_tc1::IfcDirection ExtrudedDirection() const; @@ -24967,7 +24967,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// IfcExtrudedAreaSolidTapered is defined by sweeping a cross @@ -25071,13 +25071,13 @@ public: class IFC_PARSE_API IfcExtrudedAreaSolidTapered : public IfcExtrudedAreaSolid { public: IfcExtrudedAreaSolidTapered() {} - explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} + explicit IfcExtrudedAreaSolidTapered (const std::weak_ptr& data) : IfcExtrudedAreaSolid(data) {} /// The surface defining the end of the swept area. It is given as a profile definition. The position coordinate system of the EndSwptArea is generated by translating the SELF\IfcSweptAreaSolid.Position along the SELF\IfcExtrudedAreaSolid.ExtrudedDirection by the distance of SELF\IfcExtrudedAreaSolid.Depth. ::Ifc4x3_tc1::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_tc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcDirection v3_ExtrudedDirection, double v4_Depth, ::Ifc4x3_tc1::IfcProfileDef v5_EndSweptArea); }; /// Definition from ISO/CD 10303-42:1992: A face based surface model is described by a set of connected face sets of dimensionality 2. The connected face sets shall not intersect except at edges and vertices, except that a face in one connected face set may overlap a face in another connected face set, provided the face boundaries are identical. There shall be at least one connected face set. @@ -25095,13 +25095,13 @@ public: class IFC_PARSE_API IfcFaceBasedSurfaceModel : public IfcGeometricRepresentationItem { public: IfcFaceBasedSurfaceModel() {} - explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFaceBasedSurfaceModel (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The set of connected face sets comprising the face based surface model. std::vector< ::Ifc4x3_tc1::IfcConnectedFaceSet > FbsmFaces() const; void setFbsmFaces(const std::vector< ::Ifc4x3_tc1::IfcConnectedFaceSet >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcConnectedFaceSet > v1_FbsmFaces); }; /// Definition from ISO/CD 10303-46:1992: The fill area style hatching defines a styled pattern of curves for hatching an annotation fill area or a surface. @@ -25154,7 +25154,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleHatching : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleHatching() {} - explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleHatching (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// The curve style of the hatching lines. Any curve style pattern shall start at the origin of each hatch line. ::Ifc4x3_tc1::IfcCurveStyle HatchLineAppearance() const; @@ -25180,7 +25180,7 @@ public: double HatchLineAngle() const; void setHatchLineAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurveStyle v1_HatchLineAppearance, ::Ifc4x3_tc1::IfcHatchLineDistanceSelect v2_StartOfNextHatchLine, ::Ifc4x3_tc1::IfcCartesianPoint v3_PointOfReferenceHatchLine, ::Ifc4x3_tc1::IfcCartesianPoint v4_PatternStart, double v5_HatchLineAngle); }; /// Definition from ISO/CD 10303-46:1992: The fill area style tiles defines a two dimensional tile to be used for the filling of annotation fill areas or other closed regions. The content of a tile is defined by the tile set, and the placement of each tile determined by the filling pattern which indicates how to place tiles next to each other. Tiles or parts of tiles outside of the annotation fill area or closed region shall be clipped at the of the area or region. @@ -25191,7 +25191,7 @@ public: class IFC_PARSE_API IfcFillAreaStyleTiles : public IfcGeometricRepresentationItem { public: IfcFillAreaStyleTiles() {} - explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} + explicit IfcFillAreaStyleTiles (const std::weak_ptr& data) : IfcGeometricRepresentationItem(data) {} /// A two direction repeat factor defining the shape and relative positioning of the tiles. std::vector< ::Ifc4x3_tc1::IfcVector > TilingPattern() const; @@ -25203,7 +25203,7 @@ public: double TilingScale() const; void setTilingScale(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcVector > v1_TilingPattern, std::vector< ::Ifc4x3_tc1::IfcStyledItem > v2_Tiles, double v3_TilingScale); }; /// A fixed reference swept area solid is a type of swept area solid @@ -25267,13 +25267,13 @@ public: class IFC_PARSE_API IfcFixedReferenceSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcFixedReferenceSweptAreaSolid() {} - explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcFixedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The direction providing the fixed axis1 (x-axis) direction for orienting the swept area during the sweeping operation along the Directrix. ::Ifc4x3_tc1::IfcDirection FixedReference() const; void setFixedReference(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_tc1::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -25307,10 +25307,10 @@ public: class IFC_PARSE_API IfcFurnishingElementType : public IfcElementType { public: IfcFurnishingElementType() {} - explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcFurnishingElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The furnishing element type IfcFurnitureType defines commonly shared information for occurrences of furnitures. The set of shared information may include: @@ -25353,7 +25353,7 @@ public: class IFC_PARSE_API IfcFurnitureType : public IfcFurnishingElementType { public: IfcFurnitureType() {} - explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcFurnitureType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} /// A designation of where the assembly is intended to take place. A selection of alternatives s provided in an enumerated list. ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value AssemblyPlace() const; @@ -25361,7 +25361,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value v10_AssemblyPlace, std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: An @@ -25428,13 +25428,13 @@ public: class IFC_PARSE_API IfcGeographicElementType : public IfcElementType { public: IfcGeographicElementType() {} - explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcGeographicElementType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the geographic element. There may be property set definitions available for each predefined type. ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A geometric curve set is a collection of two or three dimensional points and curves. @@ -25447,10 +25447,10 @@ public: class IFC_PARSE_API IfcGeometricCurveSet : public IfcGeometricSet { public: IfcGeometricCurveSet() {} - explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} + explicit IfcGeometricCurveSet (const std::weak_ptr& data) : IfcGeometricSet(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcGeometricSetSelect > v1_Elements); }; /// IfcIShapeProfileDef @@ -25519,7 +25519,7 @@ public: class IFC_PARSE_API IfcIShapeProfileDef : public IfcParameterizedProfileDef { public: IfcIShapeProfileDef() {} - explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcIShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Total extent of the width, defined parallel to the x axis of the position coordinate system. double OverallWidth() const; @@ -25541,45 +25541,45 @@ public: std::optional< double > FlangeSlope() const; void setFlangeSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_OverallWidth, double v5_OverallDepth, double v6_WebThickness, double v7_FlangeThickness, std::optional< double > v8_FilletRadius, std::optional< double > v9_FlangeEdgeRadius, std::optional< double > v10_FlangeSlope); }; class IFC_PARSE_API IfcIndexedPolygonalFace : public IfcTessellatedItem { public: IfcIndexedPolygonalFace() {} - explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcIndexedPolygonalFace (const std::weak_ptr& data) : IfcTessellatedItem(data) {} std::vector< int > /*[3:?]*/ CoordIndex() const; void setCoordIndex(const std::vector< int > /*[3:?]*/& v); std::vector< IfcPolygonalFaceSet > ToFaceSet() const; // INVERSE IfcPolygonalFaceSet::Faces std::vector< IfcTextureCoordinateIndices > HasTexCoords() const; // INVERSE IfcTextureCoordinateIndices::TexCoordsOf - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex); }; class IFC_PARSE_API IfcIndexedPolygonalFaceWithVoids : public IfcIndexedPolygonalFace { public: IfcIndexedPolygonalFaceWithVoids() {} - explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} + explicit IfcIndexedPolygonalFaceWithVoids (const std::weak_ptr& data) : IfcIndexedPolygonalFace(data) {} std::vector< std::vector< int > > InnerCoordIndices() const; void setInnerCoordIndices(const std::vector< std::vector< int > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< int > /*[3:?]*/ v1_CoordIndex, std::vector< std::vector< int > > v2_InnerCoordIndices); }; class IFC_PARSE_API IfcIndexedPolygonalTextureMap : public IfcIndexedTextureMap { public: IfcIndexedPolygonalTextureMap() {} - explicit IfcIndexedPolygonalTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} + explicit IfcIndexedPolygonalTextureMap (const std::weak_ptr& data) : IfcIndexedTextureMap(data) {} std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices > TexCoordIndices() const; void setTexCoordIndices(const std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSurfaceTexture > v1_Maps, ::Ifc4x3_tc1::IfcTessellatedFaceSet v2_MappedTo, ::Ifc4x3_tc1::IfcTextureVertexList v3_TexCoords, std::vector< ::Ifc4x3_tc1::IfcTextureCoordinateIndices > v4_TexCoordIndices); }; /// IfcLShapeProfileDef @@ -25636,7 +25636,7 @@ public: class IFC_PARSE_API IfcLShapeProfileDef : public IfcParameterizedProfileDef { public: IfcLShapeProfileDef() {} - explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} + explicit IfcLShapeProfileDef (const std::weak_ptr& data) : IfcParameterizedProfileDef(data) {} /// Leg length, see illustration above (= h). Same as the overall depth. double Depth() const; @@ -25657,7 +25657,7 @@ public: std::optional< double > LegSlope() const; void setLegSlope(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Depth, std::optional< double > v5_Width, double v6_Thickness, std::optional< double > v7_FilletRadius, std::optional< double > v8_EdgeRadius, std::optional< double > v9_LegSlope); }; /// The resource type IfcLaborResourceType defines commonly shared information for occurrences of labor resources. The set of shared information may include: @@ -25674,13 +25674,13 @@ public: class IFC_PARSE_API IfcLaborResourceType : public IfcConstructionResourceType { public: IfcLaborResourceType() {} - explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcLaborResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of labor resources. ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value v12_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A line is an unbounded curve with constant tangent direction. A line is defined by a point and a direction. The positive direction of the line is in the direction of the Dir vector. The line is parameterized as follows: @@ -25699,7 +25699,7 @@ public: class IFC_PARSE_API IfcLine : public IfcCurve { public: IfcLine() {} - explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcLine (const std::weak_ptr& data) : IfcCurve(data) {} /// The location of the line. ::Ifc4x3_tc1::IfcCartesianPoint Pnt() const; @@ -25708,7 +25708,7 @@ public: ::Ifc4x3_tc1::IfcVector Dir() const; void setDir(const ::Ifc4x3_tc1::IfcVector& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCartesianPoint v1_Pnt, ::Ifc4x3_tc1::IfcVector v2_Dir); }; /// Definition from ISO/CD 10303-42:1992: A manifold solid @@ -25777,13 +25777,13 @@ public: class IFC_PARSE_API IfcManifoldSolidBrep : public IfcSolidModel { public: IfcManifoldSolidBrep() {} - explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcManifoldSolidBrep (const std::weak_ptr& data) : IfcSolidModel(data) {} /// A closed shell defining the exterior boundary of the solid. The shell normal shall point away from the interior of the solid. ::Ifc4x3_tc1::IfcClosedShell Outer() const; void setOuter(const ::Ifc4x3_tc1::IfcClosedShell& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer); }; /// An IfcObject is the @@ -25871,7 +25871,7 @@ public: class IFC_PARSE_API IfcObject : public IfcObjectDefinition { public: IfcObject() {} - explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} + explicit IfcObject (const std::weak_ptr& data) : IfcObjectDefinition(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute PredefinedType is set to USERDEFINED. std::optional< std::string > ObjectType() const; @@ -25881,19 +25881,19 @@ public: std::vector< IfcRelDefinesByType > IsTypedBy() const; // INVERSE IfcRelDefinesByType::RelatedObjects std::vector< IfcRelDefinesByProperties > IsDefinedBy() const; // INVERSE IfcRelDefinesByProperties::RelatedObjects - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; class IFC_PARSE_API IfcOffsetCurve : public IfcCurve { public: IfcOffsetCurve() {} - explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcOffsetCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_tc1::IfcCurve BasisCurve() const; void setBasisCurve(const ::Ifc4x3_tc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 2d (IfcOffsetCurve2d) is a curve at a constant distance from a basis curve in two-dimensional space. This entity defines a simple plane-offset curve by offsetting by distance along the normal to basis curve in the plane of basis curve. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve, the transition code between each segment shall be cont same gradient or cont same gradient same curvature. @@ -25910,7 +25910,7 @@ public: class IFC_PARSE_API IfcOffsetCurve2D : public IfcOffsetCurve { public: IfcOffsetCurve2D() {} - explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve2D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. distance may be positive, negative or zero. A positive value of distance defines an offset in the direction which is normal to the curve in the sense of an anti-clockwise rotation through 90 degrees from the tangent vector T at the given point. (This is in the direction of orthogonal complement(T).) double Distance() const; @@ -25919,7 +25919,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: An offset curve 3d is a curve at a constant distance from a basis curve in three-dimensional space. The underlying curve shall have a well-defined tangent direction at every point. In the case of a composite curve the transition code between each segment shall be cont same gradient or cont same gradient same curvature. The offset curve at any point (parameter) on the basis curve is in the direction V x T where V is the fixed reference direction and T is the unit tangent to the basis curve. For the offset direction to be well defined, T shall not at any point of the curve be in the same, or opposite, direction as V. @@ -25940,7 +25940,7 @@ public: class IFC_PARSE_API IfcOffsetCurve3D : public IfcOffsetCurve { public: IfcOffsetCurve3D() {} - explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurve3D (const std::weak_ptr& data) : IfcOffsetCurve(data) {} /// The distance of the offset curve from the basis curve. The distance may be positive, negative or zero. double Distance() const; @@ -25952,21 +25952,21 @@ public: ::Ifc4x3_tc1::IfcDirection RefDirection() const; void setRefDirection(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, double v2_Distance, boost::logic::tribool v3_SelfIntersect, ::Ifc4x3_tc1::IfcDirection v4_RefDirection); }; class IFC_PARSE_API IfcOffsetCurveByDistances : public IfcOffsetCurve { public: IfcOffsetCurveByDistances() {} - explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} + explicit IfcOffsetCurveByDistances (const std::weak_ptr& data) : IfcOffsetCurve(data) {} std::vector< ::Ifc4x3_tc1::IfcPointByDistanceExpression > OffsetValues() const; void setOffsetValues(const std::vector< ::Ifc4x3_tc1::IfcPointByDistanceExpression >& v); std::optional< std::string > Tag() const; void setTag(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_tc1::IfcPointByDistanceExpression > v2_OffsetValues, std::optional< std::string > v3_Tag); }; /// Definition from ISO/CD 10303-42:1992: A pcurve is a curve which lies on the basis of a surface and is defined in the parameter space of that surface. The basis curve is a curve defined in the two-dimensional parametric space of a reference basis surface. Although it is defined by a curve in two dimensional space, the variables involved are u and v, which occur in the parametric representation of the referenced surface, rather than the x, y, Cartesian coordinates. @@ -25979,14 +25979,14 @@ public: class IFC_PARSE_API IfcPcurve : public IfcCurve { public: IfcPcurve() {} - explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPcurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_tc1::IfcSurface BasisSurface() const; void setBasisSurface(const ::Ifc4x3_tc1::IfcSurface& v); ::Ifc4x3_tc1::IfcCurve ReferenceCurve() const; void setReferenceCurve(const ::Ifc4x3_tc1::IfcCurve& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, ::Ifc4x3_tc1::IfcCurve v2_ReferenceCurve); }; /// Definition from ISO/CD 10303-46:1992: A planar box specifies an arbitrary rectangular box and its location in a two dimensional Cartesian coordinate system. @@ -25998,14 +25998,14 @@ public: class IFC_PARSE_API IfcPlanarBox : public IfcPlanarExtent { public: IfcPlanarBox() {} - explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} + explicit IfcPlanarBox (const std::weak_ptr& data) : IfcPlanarExtent(data) {} /// The IfcAxis2Placement positions a local coordinate system for the definition of the rectangle. The origin of this local coordinate system serves as the lower left corner of the rectangular box. /// NOTE  In case of a 3D placement by IfcAxisPlacement3D the IfcPlanarBox is defined within the xy plane of the definition coordinate system. ::Ifc4x3_tc1::IfcAxis2Placement Placement() const; void setPlacement(const ::Ifc4x3_tc1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(double v1_SizeInX, double v2_SizeInY, ::Ifc4x3_tc1::IfcAxis2Placement v3_Placement); }; /// Definition from ISO/CD 10303-42:1992: A plane is an unbounded surface with a constant normal. A plane is defined by a point on the plane and the normal direction to the plane. The data is to be interpreted as follows: @@ -26047,17 +26047,17 @@ public: class IFC_PARSE_API IfcPlane : public IfcElementarySurface { public: IfcPlane() {} - explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcPlane (const std::weak_ptr& data) : IfcElementarySurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position); }; class IFC_PARSE_API IfcPolynomialCurve : public IfcCurve { public: IfcPolynomialCurve() {} - explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcPolynomialCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_tc1::IfcPlacement Position() const; void setPosition(const ::Ifc4x3_tc1::IfcPlacement& v); @@ -26068,7 +26068,7 @@ public: std::optional< std::vector< double > /*[2:?]*/ > CoefficientsZ() const; void setCoefficientsZ(const std::optional< std::vector< double > /*[2:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcPlacement v1_Position, std::optional< std::vector< double > /*[2:?]*/ > v2_CoefficientsX, std::optional< std::vector< double > /*[2:?]*/ > v3_CoefficientsY, std::optional< std::vector< double > /*[2:?]*/ > v4_CoefficientsZ); }; /// The pre defined colour determines those qualified names which can be used to identify a colour that is in scope of the current data exchange specification (in contrary to colour specification which defines the colour directly by its colour components). @@ -26079,10 +26079,10 @@ public: class IFC_PARSE_API IfcPreDefinedColour : public IfcPreDefinedItem { public: IfcPreDefinedColour() {} - explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from ISO/CD 10303-46:1992: The predefined curve font type is an abstract supertype provided to define an application specific curve font. The name label shall be constrained in the application protocol to values that are given specific meaning for curve fonts in that application protocol. @@ -26095,10 +26095,10 @@ public: class IFC_PARSE_API IfcPreDefinedCurveFont : public IfcPreDefinedItem { public: IfcPreDefinedCurveFont() {} - explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} + explicit IfcPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedItem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// IfcPreDefinedPropertySet @@ -26124,10 +26124,10 @@ public: class IFC_PARSE_API IfcPreDefinedPropertySet : public IfcPropertySetDefinition { public: IfcPreDefinedPropertySet() {} - explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPreDefinedPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// An IfcProcedureType defines a particular type of procedure that may be specified. @@ -26146,14 +26146,14 @@ public: class IFC_PARSE_API IfcProcedureType : public IfcTypeProcess { public: IfcProcedureType() {} - explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcProcedureType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO9000: A process is a set of @@ -26199,7 +26199,7 @@ public: class IFC_PARSE_API IfcProcess : public IfcObject { public: IfcProcess() {} - explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProcess (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a process or activity. /// It is the identifier at the occurrence level. @@ -26216,7 +26216,7 @@ public: std::vector< IfcRelSequence > IsSuccessorFrom() const; // INVERSE IfcRelSequence::RelatedProcess std::vector< IfcRelAssignsToProcess > OperatesOn() const; // INVERSE IfcRelAssignsToProcess::RelatingProcess - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// Any object that relates to a @@ -26313,7 +26313,7 @@ public: class IFC_PARSE_API IfcProduct : public IfcObject { public: IfcProduct() {} - explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcProduct (const std::weak_ptr& data) : IfcObject(data) {} /// Placement of the product in space, the placement can either be absolute (relative to the world coordinate system), relative (relative to the object placement of another product), or constraint (e.g. relative to grid axes). It is determined by the various subtypes of IfcObjectPlacement, which includes the axis placement information to determine the transformation for the object coordinate system. ::Ifc4x3_tc1::IfcObjectPlacement ObjectPlacement() const; @@ -26325,7 +26325,7 @@ public: std::vector< IfcRelPositions > PositionedRelativeTo() const; // INVERSE IfcRelPositions::RelatedProducts std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation); }; /// IfcProject indicates the undertaking of some design, engineering, construction, or @@ -26375,10 +26375,10 @@ public: class IFC_PARSE_API IfcProject : public IfcContext { public: IfcProject() {} - explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProject (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_tc1::IfcUnitAssignment v9_UnitsInContext); }; /// IfcProjectLibrary collects all library elements that are included within a referenced project data set. @@ -26408,10 +26408,10 @@ public: class IFC_PARSE_API IfcProjectLibrary : public IfcContext { public: IfcProjectLibrary() {} - explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} + explicit IfcProjectLibrary (const std::weak_ptr& data) : IfcContext(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< std::string > v7_Phase, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationContext > > v8_RepresentationContexts, ::Ifc4x3_tc1::IfcUnitAssignment v9_UnitsInContext); }; /// A property with a bounded @@ -26521,7 +26521,7 @@ public: class IFC_PARSE_API IfcPropertyBoundedValue : public IfcSimpleProperty { public: IfcPropertyBoundedValue() {} - explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyBoundedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Upper bound value for the interval defining the property value. If the value is not given, it indicates an open bound (all values to be greater than or equal to LowerBoundValue). ::Ifc4x3_tc1::IfcValue UpperBoundValue() const; @@ -26538,7 +26538,7 @@ public: ::Ifc4x3_tc1::IfcValue SetPointValue() const; void setSetPointValue(const ::Ifc4x3_tc1::IfcValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_tc1::IfcValue v3_UpperBoundValue, ::Ifc4x3_tc1::IfcValue v4_LowerBoundValue, ::Ifc4x3_tc1::IfcUnit v5_Unit, ::Ifc4x3_tc1::IfcValue v6_SetPointValue); }; /// A property with an enumerated @@ -26621,7 +26621,7 @@ public: class IFC_PARSE_API IfcPropertyEnumeratedValue : public IfcSimpleProperty { public: IfcPropertyEnumeratedValue() {} - explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyEnumeratedValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Enumeration values, which shall be listed in the referenced IfcPropertyEnumeration, if such a reference is provided. /// @@ -26632,7 +26632,7 @@ public: ::Ifc4x3_tc1::IfcPropertyEnumeration EnumerationReference() const; void setEnumerationReference(const ::Ifc4x3_tc1::IfcPropertyEnumeration& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_EnumerationValues, ::Ifc4x3_tc1::IfcPropertyEnumeration v4_EnumerationReference); }; /// An IfcPropertyListValue @@ -26703,7 +26703,7 @@ public: class IFC_PARSE_API IfcPropertyListValue : public IfcSimpleProperty { public: IfcPropertyListValue() {} - explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyListValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of property values. /// @@ -26714,7 +26714,7 @@ public: ::Ifc4x3_tc1::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_tc1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_ListValues, ::Ifc4x3_tc1::IfcUnit v4_Unit); }; /// IfcPropertyReferenceValue allows a property value to @@ -26735,7 +26735,7 @@ public: class IFC_PARSE_API IfcPropertyReferenceValue : public IfcSimpleProperty { public: IfcPropertyReferenceValue() {} - explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyReferenceValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Description of the use of the referenced value within the property. std::optional< std::string > UsageName() const; @@ -26746,7 +26746,7 @@ public: ::Ifc4x3_tc1::IfcObjectReferenceSelect PropertyReference() const; void setPropertyReference(const ::Ifc4x3_tc1::IfcObjectReferenceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::string > v3_UsageName, ::Ifc4x3_tc1::IfcObjectReferenceSelect v4_PropertyReference); }; /// IfcPropertySet defines all dynamically extensible @@ -26805,13 +26805,13 @@ public: class IFC_PARSE_API IfcPropertySet : public IfcPropertySetDefinition { public: IfcPropertySet() {} - explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} + explicit IfcPropertySet (const std::weak_ptr& data) : IfcPropertySetDefinition(data) {} /// Contained set of properties. For property sets defined as part of the IFC Object model, the property objects within a property set are defined as part of the standard. If a property is not contained within the set of predefined properties, its value has not been set at this time. std::vector< ::Ifc4x3_tc1::IfcProperty > HasProperties() const; void setHasProperties(const std::vector< ::Ifc4x3_tc1::IfcProperty >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcProperty > v5_HasProperties); }; /// IfcPropertySetTemplate defines the template for all @@ -26848,7 +26848,7 @@ public: class IFC_PARSE_API IfcPropertySetTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertySetTemplate() {} - explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertySetTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} /// Property set type defining whether the property set is applicable to a type (subtypes of IfcTypeObject), to an occurrence (subtypes of IfcObject), or as a special case to a performance history. /// The attribute ApplicableEntity may further refine the applicability to a single or multiple entity type(s). @@ -26871,7 +26871,7 @@ public: void setHasPropertyTemplates(const std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate >& v); std::vector< IfcRelDefinesByTemplate > Defines() const; // INVERSE IfcRelDefinesByTemplate::RelatingTemplate - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_tc1::IfcPropertySetTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_ApplicableEntity, std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > v7_HasPropertyTemplates); }; /// The property with a single value @@ -26921,7 +26921,7 @@ public: class IFC_PARSE_API IfcPropertySingleValue : public IfcSimpleProperty { public: IfcPropertySingleValue() {} - explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertySingleValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// Value and measure type of this property. /// @@ -26934,7 +26934,7 @@ public: ::Ifc4x3_tc1::IfcUnit Unit() const; void setUnit(const ::Ifc4x3_tc1::IfcUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, ::Ifc4x3_tc1::IfcValue v3_NominalValue, ::Ifc4x3_tc1::IfcUnit v4_Unit); }; /// A property with a range value @@ -27056,7 +27056,7 @@ public: class IFC_PARSE_API IfcPropertyTableValue : public IfcSimpleProperty { public: IfcPropertyTableValue() {} - explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} + explicit IfcPropertyTableValue (const std::weak_ptr& data) : IfcSimpleProperty(data) {} /// List of defining values, which determine the defined values. This list shall have unique values only. /// @@ -27083,7 +27083,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value > CurveInterpolation() const; void setCurveInterpolation(const std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name, std::optional< std::string > v2_Specification, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v3_DefiningValues, std::optional< std::vector< ::Ifc4x3_tc1::IfcValue > > v4_DefinedValues, std::optional< std::string > v5_Expression, ::Ifc4x3_tc1::IfcUnit v6_DefiningUnit, ::Ifc4x3_tc1::IfcUnit v7_DefinedUnit, std::optional< ::Ifc4x3_tc1::IfcCurveInterpolationEnum::Value > v8_CurveInterpolation); }; /// The IfcPropertyTemplate is an abstract supertype @@ -27113,12 +27113,12 @@ public: class IFC_PARSE_API IfcPropertyTemplate : public IfcPropertyTemplateDefinition { public: IfcPropertyTemplate() {} - explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} + explicit IfcPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplateDefinition(data) {} std::vector< IfcComplexPropertyTemplate > PartOfComplexTemplate() const; // INVERSE IfcComplexPropertyTemplate::HasPropertyTemplates std::vector< IfcPropertySetTemplate > PartOfPsetTemplate() const; // INVERSE IfcPropertySetTemplate::HasPropertyTemplates - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// IfcRectangleHollowProfileDef defines a section profile that provides the defining parameters of a rectangular (or square) hollow section to be used by the swept surface geometry or the swept area solid. Its parameters and orientation relative to the position coordinate system are according to the following illustration. A square hollow section can be defined by equal values for h and b. The centre of the position coordinate system is in the profiles centre of the bounding box (for symmetric profiles identical with the centre of gravity). Normally, the longer sides are parallel to the y-axis, the shorter sides parallel to the x-axis. @@ -27144,7 +27144,7 @@ public: class IFC_PARSE_API IfcRectangleHollowProfileDef : public IfcRectangleProfileDef { public: IfcRectangleHollowProfileDef() {} - explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} + explicit IfcRectangleHollowProfileDef (const std::weak_ptr& data) : IfcRectangleProfileDef(data) {} /// Thickness of the material. double WallThickness() const; @@ -27156,7 +27156,7 @@ public: std::optional< double > OuterFilletRadius() const; void setOuterFilletRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_XDim, double v5_YDim, double v6_WallThickness, std::optional< double > v7_InnerFilletRadius, std::optional< double > v8_OuterFilletRadius); }; /// The IfcRectangularPyramid is a Construction Solid @@ -27250,7 +27250,7 @@ public: class IFC_PARSE_API IfcRectangularPyramid : public IfcCsgPrimitive3D { public: IfcRectangularPyramid() {} - explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRectangularPyramid (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The length of the base measured along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -27262,7 +27262,7 @@ public: double Height() const; void setHeight(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_Height); }; /// Definition from ISO/CD 10303-42:1992: The trimmed surface is a simple bounded surface in which the boundaries are the constant parametric lines u1 = u1, u2 = u2, v1 = v1 and v2 = v2. All these values shall be within the parametric range of the referenced surface. Cyclic properties of the parameter range are assumed. @@ -27283,7 +27283,7 @@ public: class IFC_PARSE_API IfcRectangularTrimmedSurface : public IfcBoundedSurface { public: IfcRectangularTrimmedSurface() {} - explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcRectangularTrimmedSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Surface being trimmed. ::Ifc4x3_tc1::IfcSurface BasisSurface() const; @@ -27307,7 +27307,7 @@ public: bool Vsense() const; void setVsense(const bool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcSurface v1_BasisSurface, double v2_U1, double v3_V1, double v4_U2, double v5_V2, bool v6_Usense, bool v7_Vsense); }; /// Definition from IAI: An @@ -27339,7 +27339,7 @@ public: class IFC_PARSE_API IfcReinforcementDefinitionProperties : public IfcPreDefinedPropertySet { public: IfcReinforcementDefinitionProperties() {} - explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcReinforcementDefinitionProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Descriptive type name applied to reinforcement definition properties. std::optional< std::string > DefinitionType() const; @@ -27348,7 +27348,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcSectionReinforcementProperties > ReinforcementSectionDefinitions() const; void setReinforcementSectionDefinitions(const std::vector< ::Ifc4x3_tc1::IfcSectionReinforcementProperties >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_DefinitionType, std::vector< ::Ifc4x3_tc1::IfcSectionReinforcementProperties > v6_ReinforcementSectionDefinitions); }; /// The assignment relationship, IfcRelAssigns, is a generalization of "link" relationships among instances of IfcObject and its various 1st level subtypes. A link denotes the specific association through which one object (the client) applies the services of other objects (the suppliers), or through which one object may navigate to other objects. @@ -27365,7 +27365,7 @@ public: class IFC_PARSE_API IfcRelAssigns : public IfcRelationship { public: IfcRelAssigns() {} - explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssigns (const std::weak_ptr& data) : IfcRelationship(data) {} /// Related objects, which are assigned to a single object. The type of the single (or relating) object is defined in the subtypes of IfcRelAssigns. std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > RelatedObjects() const; @@ -27375,7 +27375,7 @@ public: std::optional< bool > RelatedObjectsType() const; void setRelatedObjectsType(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType); }; /// The objectified relationship IfcRelAssignsToActor handles the assignment of objects (subtypes of IfcObject) to an actor (subtypes of IfcActor). @@ -27390,7 +27390,7 @@ public: class IFC_PARSE_API IfcRelAssignsToActor : public IfcRelAssigns { public: IfcRelAssignsToActor() {} - explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToActor (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the information about the actor. It comprises the information about the person or organization and its addresses. ::Ifc4x3_tc1::IfcActor RelatingActor() const; @@ -27399,7 +27399,7 @@ public: ::Ifc4x3_tc1::IfcActorRole ActingRole() const; void setActingRole(const ::Ifc4x3_tc1::IfcActorRole& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcActor v7_RelatingActor, ::Ifc4x3_tc1::IfcActorRole v8_ActingRole); }; /// The objectified relationship IfcRelAssignsToControl handles the assignment of a control (represented by subtypes of IfcControl) to other objects (represented by subtypes of IfcObject, with the exception of controls). @@ -27410,13 +27410,13 @@ public: class IFC_PARSE_API IfcRelAssignsToControl : public IfcRelAssigns { public: IfcRelAssignsToControl() {} - explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToControl (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the IfcControl that applies a control upon objects. ::Ifc4x3_tc1::IfcControl RelatingControl() const; void setRelatingControl(const ::Ifc4x3_tc1::IfcControl& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcControl v7_RelatingControl); }; /// The objectified relationship IfcRelAssignsToGroup handles the assignment of object definitions (individual object occurrences as subtypes of IfcObject, and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27435,13 +27435,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroup : public IfcRelAssigns { public: IfcRelAssignsToGroup() {} - explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToGroup (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to group that contains all assigned group members. ::Ifc4x3_tc1::IfcGroup RelatingGroup() const; void setRelatingGroup(const ::Ifc4x3_tc1::IfcGroup& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcGroup v7_RelatingGroup); }; /// The objectified relationship IfcRelAssignsToGroupByFactor is a specialization of the general grouping mechanism. It allows to add a factor to define the ratio that applies to the assignment of object definitions (individual object occurrences as subtypes of IfcObject and object types as subtypes of IfcTypeObject) to a group (subtypes of IfcGroup). @@ -27456,13 +27456,13 @@ public: class IFC_PARSE_API IfcRelAssignsToGroupByFactor : public IfcRelAssignsToGroup { public: IfcRelAssignsToGroupByFactor() {} - explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} + explicit IfcRelAssignsToGroupByFactor (const std::weak_ptr& data) : IfcRelAssignsToGroup(data) {} /// Factor provided as a ratio measure that identifies the fraction or weighted factor that applies to the group assignment. double Factor() const; void setFactor(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcGroup v7_RelatingGroup, double v8_Factor); }; /// The objectified relationship IfcRelAssignsToProcess handles the assignment of one or many objects to a process or activity. An object can be a product that is the item the process operates on. Processes and activities can operate on things other than products, and can operate in ways other than input and output. @@ -27490,7 +27490,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProcess : public IfcRelAssigns { public: IfcRelAssignsToProcess() {} - explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProcess (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the process to which the objects are assigned to. /// @@ -27501,7 +27501,7 @@ public: ::Ifc4x3_tc1::IfcMeasureWithUnit QuantityInProcess() const; void setQuantityInProcess(const ::Ifc4x3_tc1::IfcMeasureWithUnit& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcProcessSelect v7_RelatingProcess, ::Ifc4x3_tc1::IfcMeasureWithUnit v8_QuantityInProcess); }; /// The objectified relationshipIfcRelAssignsToProduct handles the assignment of objects (subtypes of IfcObject) to a product (subtypes of IfcProduct). The Name attribute should be used to classify the usage of the IfcRelAssignsToProduct objectified relationship. The following Name values are proposed: @@ -27515,7 +27515,7 @@ public: class IFC_PARSE_API IfcRelAssignsToProduct : public IfcRelAssigns { public: IfcRelAssignsToProduct() {} - explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToProduct (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the product or product type to which the objects are assigned to. /// @@ -27523,7 +27523,7 @@ public: ::Ifc4x3_tc1::IfcProductSelect RelatingProduct() const; void setRelatingProduct(const ::Ifc4x3_tc1::IfcProductSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcProductSelect v7_RelatingProduct); }; /// The objectified relationship IfcRelAssignsToResource handles the assignment of objects @@ -27535,7 +27535,7 @@ public: class IFC_PARSE_API IfcRelAssignsToResource : public IfcRelAssigns { public: IfcRelAssignsToResource() {} - explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} + explicit IfcRelAssignsToResource (const std::weak_ptr& data) : IfcRelAssigns(data) {} /// Reference to the resource to which the objects are assigned to. /// @@ -27543,7 +27543,7 @@ public: ::Ifc4x3_tc1::IfcResourceSelect RelatingResource() const; void setRelatingResource(const ::Ifc4x3_tc1::IfcResourceSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, std::optional< bool > v6_RelatedObjectsType, ::Ifc4x3_tc1::IfcResourceSelect v7_RelatingResource); }; /// The association relationship @@ -27590,7 +27590,7 @@ public: class IFC_PARSE_API IfcRelAssociates : public IfcRelationship { public: IfcRelAssociates() {} - explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelAssociates (const std::weak_ptr& data) : IfcRelationship(data) {} /// Set of object or property definitions to which the external references or information is associated. It includes object and type objects, property set templates, property templates and property sets and contexts. /// @@ -27598,7 +27598,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects); }; /// The entity IfcRelAssociatesApproval is used to apply approval information defined by IfcApproval, in IfcApprovalResource schema, to subtypes of IfcRoot. @@ -27607,13 +27607,13 @@ public: class IFC_PARSE_API IfcRelAssociatesApproval : public IfcRelAssociates { public: IfcRelAssociatesApproval() {} - explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesApproval (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to approval that is being applied using this relationship. ::Ifc4x3_tc1::IfcApproval RelatingApproval() const; void setRelatingApproval(const ::Ifc4x3_tc1::IfcApproval& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcApproval v6_RelatingApproval); }; /// The objectified relationship @@ -27649,13 +27649,13 @@ public: class IFC_PARSE_API IfcRelAssociatesClassification : public IfcRelAssociates { public: IfcRelAssociatesClassification() {} - explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesClassification (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Classification applied to the objects. ::Ifc4x3_tc1::IfcClassificationSelect RelatingClassification() const; void setRelatingClassification(const ::Ifc4x3_tc1::IfcClassificationSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcClassificationSelect v6_RelatingClassification); }; /// The entity IfcRelAssociatesConstraint is used to apply constraint information defined by IfcConstraint, in the IfcConstraintResource schema, to subtypes of IfcRoot. @@ -27664,7 +27664,7 @@ public: class IFC_PARSE_API IfcRelAssociatesConstraint : public IfcRelAssociates { public: IfcRelAssociatesConstraint() {} - explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesConstraint (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// The intent of the constraint usage with regard to its related IfcConstraint and IfcObjects, IfcPropertyDefinitions or IfcRelationships. Typical values can be e.g. RATIONALE or EXPECTED PERFORMANCE. std::optional< std::string > Intent() const; @@ -27673,7 +27673,7 @@ public: ::Ifc4x3_tc1::IfcConstraint RelatingConstraint() const; void setRelatingConstraint(const ::Ifc4x3_tc1::IfcConstraint& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, std::optional< std::string > v6_Intent, ::Ifc4x3_tc1::IfcConstraint v7_RelatingConstraint); }; /// The objectified relationship (IfcRelAssociatesDocument) handles the assignment of a document information (items of the select IfcDocumentSelect) to objects occurrences (subtypes of IfcObject) or object types (subtypes of IfcTypeObject). @@ -27686,13 +27686,13 @@ public: class IFC_PARSE_API IfcRelAssociatesDocument : public IfcRelAssociates { public: IfcRelAssociatesDocument() {} - explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesDocument (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Document information or reference which is applied to the objects. ::Ifc4x3_tc1::IfcDocumentSelect RelatingDocument() const; void setRelatingDocument(const ::Ifc4x3_tc1::IfcDocumentSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcDocumentSelect v6_RelatingDocument); }; /// The objectified relationship (IfcRelAssociatesLibrary) handles the assignment of a library item (items of the select IfcLibrarySelect) to subtypes of IfcObjectDefinition or IfcPropertyDefinition. @@ -27705,13 +27705,13 @@ public: class IFC_PARSE_API IfcRelAssociatesLibrary : public IfcRelAssociates { public: IfcRelAssociatesLibrary() {} - explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesLibrary (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Reference to a library, from which the definition of the property set is taken. ::Ifc4x3_tc1::IfcLibrarySelect RelatingLibrary() const; void setRelatingLibrary(const ::Ifc4x3_tc1::IfcLibrarySelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcLibrarySelect v6_RelatingLibrary); }; /// Definition from IAI: Objectified relationship between a @@ -27811,25 +27811,25 @@ public: class IFC_PARSE_API IfcRelAssociatesMaterial : public IfcRelAssociates { public: IfcRelAssociatesMaterial() {} - explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesMaterial (const std::weak_ptr& data) : IfcRelAssociates(data) {} /// Material definition assigned to the elements or element types. ::Ifc4x3_tc1::IfcMaterialSelect RelatingMaterial() const; void setRelatingMaterial(const ::Ifc4x3_tc1::IfcMaterialSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcMaterialSelect v6_RelatingMaterial); }; class IFC_PARSE_API IfcRelAssociatesProfileDef : public IfcRelAssociates { public: IfcRelAssociatesProfileDef() {} - explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} + explicit IfcRelAssociatesProfileDef (const std::weak_ptr& data) : IfcRelAssociates(data) {} ::Ifc4x3_tc1::IfcProfileDef RelatingProfileDef() const; void setRelatingProfileDef(const ::Ifc4x3_tc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v5_RelatedObjects, ::Ifc4x3_tc1::IfcProfileDef v6_RelatingProfileDef); }; /// IfcRelConnects is a connectivity relationship that connects objects under some criteria. As a general connectivity it does not imply constraints, however subtypes of the relationship define the applicable object types for the connectivity relationship and the semantics of the particular connectivity. @@ -27838,10 +27838,10 @@ public: class IFC_PARSE_API IfcRelConnects : public IfcRelationship { public: IfcRelConnects() {} - explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelConnects (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// Definition from IAI: The @@ -27869,7 +27869,7 @@ public: class IFC_PARSE_API IfcRelConnectsElements : public IfcRelConnects { public: IfcRelConnectsElements() {} - explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// The geometric shape representation of the connection geometry that is provided in the object coordinate system of the RelatingElement (mandatory) and in the object coordinate system of the RelatedElement (optionally). ::Ifc4x3_tc1::IfcConnectionGeometry ConnectionGeometry() const; @@ -27881,7 +27881,7 @@ public: ::Ifc4x3_tc1::IfcElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_tc1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_tc1::IfcElement v6_RelatingElement, ::Ifc4x3_tc1::IfcElement v7_RelatedElement); }; /// The @@ -27917,7 +27917,7 @@ public: class IFC_PARSE_API IfcRelConnectsPathElements : public IfcRelConnectsElements { public: IfcRelConnectsPathElements() {} - explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsPathElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Priorities for connection. It refers to the layers of the RelatingObject. std::vector< int > /*[0:?]*/ RelatingPriorities() const; @@ -27932,7 +27932,7 @@ public: ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value RelatingConnectionType() const; void setRelatingConnectionType(const ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_tc1::IfcElement v6_RelatingElement, ::Ifc4x3_tc1::IfcElement v7_RelatedElement, std::vector< int > /*[0:?]*/ v8_RelatingPriorities, std::vector< int > /*[0:?]*/ v9_RelatedPriorities, ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value v10_RelatedConnectionType, ::Ifc4x3_tc1::IfcConnectionTypeEnum::Value v11_RelatingConnectionType); }; /// The objectified relationship @@ -27963,7 +27963,7 @@ public: class IFC_PARSE_API IfcRelConnectsPortToElement : public IfcRelConnects { public: IfcRelConnectsPortToElement() {} - explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPortToElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an Port that is connected by the objectified relationship. ::Ifc4x3_tc1::IfcPort RelatingPort() const; @@ -27974,7 +27974,7 @@ public: ::Ifc4x3_tc1::IfcDistributionElement RelatedElement() const; void setRelatedElement(const ::Ifc4x3_tc1::IfcDistributionElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPort v5_RelatingPort, ::Ifc4x3_tc1::IfcDistributionElement v6_RelatedElement); }; /// Definition from IAI: An IfcRelConnectsPorts @@ -27993,7 +27993,7 @@ public: class IFC_PARSE_API IfcRelConnectsPorts : public IfcRelConnects { public: IfcRelConnectsPorts() {} - explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsPorts (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the first port that is connected by the objectified relationship. ::Ifc4x3_tc1::IfcPort RelatingPort() const; @@ -28005,7 +28005,7 @@ public: ::Ifc4x3_tc1::IfcElement RealizingElement() const; void setRealizingElement(const ::Ifc4x3_tc1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPort v5_RelatingPort, ::Ifc4x3_tc1::IfcPort v6_RelatedPort, ::Ifc4x3_tc1::IfcElement v7_RealizingElement); }; /// Definition from IAI: The IfcRelConnectsStructuralActivity relationship connects a structural activity (either an action or reaction) to a structural member, structural connection, or element. @@ -28014,7 +28014,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralActivity : public IfcRelConnects { public: IfcRelConnectsStructuralActivity() {} - explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralActivity (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a structural item or element to which the specified activity is applied. ::Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect RelatingElement() const; @@ -28023,7 +28023,7 @@ public: ::Ifc4x3_tc1::IfcStructuralActivity RelatedStructuralActivity() const; void setRelatedStructuralActivity(const ::Ifc4x3_tc1::IfcStructuralActivity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcStructuralActivityAssignmentSelect v5_RelatingElement, ::Ifc4x3_tc1::IfcStructuralActivity v6_RelatedStructuralActivity); }; /// The entity IfcRelConnectsStructuralMember defines all needed properties describing the connection between structural members and structural connection objects (nodes or supports). @@ -28053,7 +28053,7 @@ public: class IFC_PARSE_API IfcRelConnectsStructuralMember : public IfcRelConnects { public: IfcRelConnectsStructuralMember() {} - explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelConnectsStructuralMember (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to an instance of IfcStructuralMember (or its subclasses) which is connected to the specified structural connection. ::Ifc4x3_tc1::IfcStructuralMember RelatingStructuralMember() const; @@ -28074,7 +28074,7 @@ public: ::Ifc4x3_tc1::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_tc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_tc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_tc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_tc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem); }; /// Definition from IAI: The entity IfcRelConnectsWithEccentricity adds the definition of eccentricity to the connection between a structural member and a structural connection (representing either a node or support). @@ -28097,13 +28097,13 @@ public: class IFC_PARSE_API IfcRelConnectsWithEccentricity : public IfcRelConnectsStructuralMember { public: IfcRelConnectsWithEccentricity() {} - explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} + explicit IfcRelConnectsWithEccentricity (const std::weak_ptr& data) : IfcRelConnectsStructuralMember(data) {} /// The connection constraint explicitly states the eccentricity between a structural member and a structural connection by means of two topological objects (vertex and vertex, or edge and edge, or face and face). ::Ifc4x3_tc1::IfcConnectionGeometry ConnectionConstraint() const; void setConnectionConstraint(const ::Ifc4x3_tc1::IfcConnectionGeometry& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcStructuralMember v5_RelatingStructuralMember, ::Ifc4x3_tc1::IfcStructuralConnection v6_RelatedStructuralConnection, ::Ifc4x3_tc1::IfcBoundaryCondition v7_AppliedCondition, ::Ifc4x3_tc1::IfcStructuralConnectionCondition v8_AdditionalConditions, std::optional< double > v9_SupportedLength, ::Ifc4x3_tc1::IfcAxis2Placement3D v10_ConditionCoordinateSystem, ::Ifc4x3_tc1::IfcConnectionGeometry v11_ConnectionConstraint); }; /// Definition from IAI: @@ -28132,7 +28132,7 @@ public: class IFC_PARSE_API IfcRelConnectsWithRealizingElements : public IfcRelConnectsElements { public: IfcRelConnectsWithRealizingElements() {} - explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} + explicit IfcRelConnectsWithRealizingElements (const std::weak_ptr& data) : IfcRelConnectsElements(data) {} /// Defines the elements that realize a connection relationship. std::vector< ::Ifc4x3_tc1::IfcElement > RealizingElements() const; @@ -28141,7 +28141,7 @@ public: std::optional< std::string > ConnectionType() const; void setConnectionType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcConnectionGeometry v5_ConnectionGeometry, ::Ifc4x3_tc1::IfcElement v6_RelatingElement, ::Ifc4x3_tc1::IfcElement v7_RelatedElement, std::vector< ::Ifc4x3_tc1::IfcElement > v8_RealizingElements, std::optional< std::string > v9_ConnectionType); }; /// This objectified relationship, @@ -28207,7 +28207,7 @@ public: class IFC_PARSE_API IfcRelContainedInSpatialStructure : public IfcRelConnects { public: IfcRelContainedInSpatialStructure() {} - explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelContainedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of elements products, which are contained within this level of the spatial structure hierarchy. /// @@ -28218,7 +28218,7 @@ public: ::Ifc4x3_tc1::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_tc1::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcProduct > v5_RelatedElements, ::Ifc4x3_tc1::IfcSpatialElement v6_RelatingStructure); }; /// Definition from IAI: The @@ -28240,7 +28240,7 @@ public: class IFC_PARSE_API IfcRelCoversBldgElements : public IfcRelConnects { public: IfcRelCoversBldgElements() {} - explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversBldgElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the building element that is covered. /// @@ -28251,7 +28251,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_tc1::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingBuildingElement, std::vector< ::Ifc4x3_tc1::IfcCovering > v6_RelatedCoverings); }; /// Definition from IAI: The objectified relationship, @@ -28283,7 +28283,7 @@ public: class IFC_PARSE_API IfcRelCoversSpaces : public IfcRelConnects { public: IfcRelCoversSpaces() {} - explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelCoversSpaces (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Relationship to the space object that is covered. /// @@ -28294,7 +28294,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcCovering > RelatedCoverings() const; void setRelatedCoverings(const std::vector< ::Ifc4x3_tc1::IfcCovering >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpace v5_RelatingSpace, std::vector< ::Ifc4x3_tc1::IfcCovering > v6_RelatedCoverings); }; /// The objectified relationship IfcRelDeclares handles the declaration of objects (subtypes of IfcObject) or properties (subtypes of IfcPropertyDefinition) to a project or project library (represented by IfcProject, or IfcProjectLibrary). @@ -28311,7 +28311,7 @@ public: class IFC_PARSE_API IfcRelDeclares : public IfcRelationship { public: IfcRelDeclares() {} - explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDeclares (const std::weak_ptr& data) : IfcRelationship(data) {} /// Reference to the IfcProject to which additional information is assigned. ::Ifc4x3_tc1::IfcContext RelatingContext() const; @@ -28320,7 +28320,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > RelatedDefinitions() const; void setRelatedDefinitions(const std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcContext v5_RelatingContext, std::vector< ::Ifc4x3_tc1::IfcDefinitionSelect > v6_RelatedDefinitions); }; /// The decomposition relationship, @@ -28356,10 +28356,10 @@ public: class IFC_PARSE_API IfcRelDecomposes : public IfcRelationship { public: IfcRelDecomposes() {} - explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDecomposes (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// A generic and abstract relationship which subtypes are used to: @@ -28392,10 +28392,10 @@ public: class IFC_PARSE_API IfcRelDefines : public IfcRelationship { public: IfcRelDefines() {} - explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} + explicit IfcRelDefines (const std::weak_ptr& data) : IfcRelationship(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description); }; /// The objectified relationship IfcRelDefinesByObject defines the relationship between an object taking part in an object type decomposition and an object occurrences taking part in an occurrence decomposition of that type. @@ -28416,7 +28416,7 @@ public: class IFC_PARSE_API IfcRelDefinesByObject : public IfcRelDefines { public: IfcRelDefinesByObject() {} - explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByObject (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Objects being part of an object occurrence decomposition, acting as the "reflecting parts" in the relationship. std::vector< ::Ifc4x3_tc1::IfcObject > RelatedObjects() const; @@ -28425,7 +28425,7 @@ public: ::Ifc4x3_tc1::IfcObject RelatingObject() const; void setRelatingObject(const ::Ifc4x3_tc1::IfcObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_tc1::IfcObject v6_RelatingObject); }; /// The objectified relationship @@ -28446,7 +28446,7 @@ public: class IFC_PARSE_API IfcRelDefinesByProperties : public IfcRelDefines { public: IfcRelDefinesByProperties() {} - explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByProperties (const std::weak_ptr& data) : IfcRelDefines(data) {} /// Reference to the objects (or single object) to which the property definition applies. std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > RelatedObjects() const; @@ -28455,7 +28455,7 @@ public: ::Ifc4x3_tc1::IfcPropertySetDefinitionSelect RelatingPropertyDefinition() const; void setRelatingPropertyDefinition(const ::Ifc4x3_tc1::IfcPropertySetDefinitionSelect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v5_RelatedObjects, ::Ifc4x3_tc1::IfcPropertySetDefinitionSelect v6_RelatingPropertyDefinition); }; /// The objectified relationship @@ -28473,7 +28473,7 @@ public: class IFC_PARSE_API IfcRelDefinesByTemplate : public IfcRelDefines { public: IfcRelDefinesByTemplate() {} - explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByTemplate (const std::weak_ptr& data) : IfcRelDefines(data) {} /// One or many property sets defined by a single property set template. std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > RelatedPropertySets() const; @@ -28482,7 +28482,7 @@ public: ::Ifc4x3_tc1::IfcPropertySetTemplate RelatingTemplate() const; void setRelatingTemplate(const ::Ifc4x3_tc1::IfcPropertySetTemplate& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > v5_RelatedPropertySets, ::Ifc4x3_tc1::IfcPropertySetTemplate v6_RelatingTemplate); }; /// The objectified relationship @@ -28557,7 +28557,7 @@ public: class IFC_PARSE_API IfcRelDefinesByType : public IfcRelDefines { public: IfcRelDefinesByType() {} - explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} + explicit IfcRelDefinesByType (const std::weak_ptr& data) : IfcRelDefines(data) {} std::vector< ::Ifc4x3_tc1::IfcObject > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObject >& v); @@ -28565,7 +28565,7 @@ public: ::Ifc4x3_tc1::IfcTypeObject RelatingType() const; void setRelatingType(const ::Ifc4x3_tc1::IfcTypeObject& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcObject > v5_RelatedObjects, ::Ifc4x3_tc1::IfcTypeObject v6_RelatingType); }; /// IfcRelFillsElement is an objectified relationship between an opening element and an element that fills (or partially fills) the opening element. It is an one-to-one relationship. @@ -28580,7 +28580,7 @@ public: class IFC_PARSE_API IfcRelFillsElement : public IfcRelConnects { public: IfcRelFillsElement() {} - explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFillsElement (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Opening Element being filled by virtue of this relationship. ::Ifc4x3_tc1::IfcOpeningElement RelatingOpeningElement() const; @@ -28591,7 +28591,7 @@ public: ::Ifc4x3_tc1::IfcElement RelatedBuildingElement() const; void setRelatedBuildingElement(const ::Ifc4x3_tc1::IfcElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcOpeningElement v5_RelatingOpeningElement, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement); }; /// Objectified relationship between a distribution flow element occurrence instance and one-to-many control element occurrence instances indicating that the control element(s) sense or control some aspect of the flow element. It is applied to IfcDistributionFlowElement and IfcDistributionControlElement. @@ -28604,7 +28604,7 @@ public: class IFC_PARSE_API IfcRelFlowControlElements : public IfcRelConnects { public: IfcRelFlowControlElements() {} - explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelFlowControlElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// References control elements which may be used to impart control on the Distribution Element. std::vector< ::Ifc4x3_tc1::IfcDistributionControlElement > RelatedControlElements() const; @@ -28613,7 +28613,7 @@ public: ::Ifc4x3_tc1::IfcDistributionFlowElement RelatingFlowElement() const; void setRelatingFlowElement(const ::Ifc4x3_tc1::IfcDistributionFlowElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcDistributionControlElement > v5_RelatedControlElements, ::Ifc4x3_tc1::IfcDistributionFlowElement v6_RelatingFlowElement); }; /// Definition from IAI: The @@ -28666,7 +28666,7 @@ public: class IFC_PARSE_API IfcRelInterferesElements : public IfcRelConnects { public: IfcRelInterferesElements() {} - explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelInterferesElements (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to a subtype of IfcElement that is the RelatingElement in the interference relationship. Depending on the value of ImpliedOrder the RelatingElement may carry the notion to be the element from which the interference geometry should be subtracted. ::Ifc4x3_tc1::IfcInterferenceSelect RelatingElement() const; @@ -28686,7 +28686,7 @@ public: ::Ifc4x3_tc1::IfcSpatialZone InterferenceSpace() const; void setInterferenceSpace(const ::Ifc4x3_tc1::IfcSpatialZone& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcInterferenceSelect v5_RelatingElement, ::Ifc4x3_tc1::IfcInterferenceSelect v6_RelatedElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_InterferenceGeometry, std::optional< std::string > v8_InterferenceType, boost::logic::tribool v9_ImpliedOrder, ::Ifc4x3_tc1::IfcSpatialZone v10_InterferenceSpace); }; /// The nesting relationship @@ -28717,7 +28717,7 @@ public: class IFC_PARSE_API IfcRelNests : public IfcRelDecomposes { public: IfcRelNests() {} - explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelNests (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an non-product object type or a non-product object occurrence, that represents the nest. It is the whole within the whole/part relationship. /// @@ -28730,21 +28730,21 @@ public: std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRelPositions : public IfcRelConnects { public: IfcRelPositions() {} - explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelPositions (const std::weak_ptr& data) : IfcRelConnects(data) {} ::Ifc4x3_tc1::IfcPositioningElement RelatingPositioningElement() const; void setRelatingPositioningElement(const ::Ifc4x3_tc1::IfcPositioningElement& v); std::vector< ::Ifc4x3_tc1::IfcProduct > RelatedProducts() const; void setRelatedProducts(const std::vector< ::Ifc4x3_tc1::IfcProduct >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPositioningElement v5_RelatingPositioningElement, std::vector< ::Ifc4x3_tc1::IfcProduct > v6_RelatedProducts); }; /// The IfcRelProjectsElement is an objectified relationship @@ -28782,7 +28782,7 @@ public: class IFC_PARSE_API IfcRelProjectsElement : public IfcRelDecomposes { public: IfcRelProjectsElement() {} - explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelProjectsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// Element at which a projection is created by the associated IfcProjectionElement. ::Ifc4x3_tc1::IfcElement RelatingElement() const; @@ -28791,7 +28791,7 @@ public: ::Ifc4x3_tc1::IfcFeatureElementAddition RelatedFeatureElement() const; void setRelatedFeatureElement(const ::Ifc4x3_tc1::IfcFeatureElementAddition& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingElement, ::Ifc4x3_tc1::IfcFeatureElementAddition v6_RelatedFeatureElement); }; /// The objectified relationship, @@ -28846,7 +28846,7 @@ public: class IFC_PARSE_API IfcRelReferencedInSpatialStructure : public IfcRelConnects { public: IfcRelReferencedInSpatialStructure() {} - explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelReferencedInSpatialStructure (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Set of products, which are referenced within this level of the spatial structure hierarchy. /// NOTE  Referenced elements are contained elsewhere within the spatial structure, they are referenced additionally by this spatial structure element, e.g., because they span several stories. @@ -28858,7 +28858,7 @@ public: ::Ifc4x3_tc1::IfcSpatialElement RelatingStructure() const; void setRelatingStructure(const ::Ifc4x3_tc1::IfcSpatialElement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::vector< ::Ifc4x3_tc1::IfcSpatialReferenceSelect > v5_RelatedElements, ::Ifc4x3_tc1::IfcSpatialElement v6_RelatingStructure); }; /// IfcRelSequence is a @@ -28918,7 +28918,7 @@ public: class IFC_PARSE_API IfcRelSequence : public IfcRelConnects { public: IfcRelSequence() {} - explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSequence (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to the process, that is the predecessor. ::Ifc4x3_tc1::IfcProcess RelatingProcess() const; @@ -28946,7 +28946,7 @@ public: std::optional< std::string > UserDefinedSequenceType() const; void setUserDefinedSequenceType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcProcess v5_RelatingProcess, ::Ifc4x3_tc1::IfcProcess v6_RelatedProcess, ::Ifc4x3_tc1::IfcLagTime v7_TimeLag, std::optional< ::Ifc4x3_tc1::IfcSequenceEnum::Value > v8_SequenceType, std::optional< std::string > v9_UserDefinedSequenceType); }; /// Definition from IAI: An objectified relationship @@ -28973,7 +28973,7 @@ public: class IFC_PARSE_API IfcRelServicesBuildings : public IfcRelConnects { public: IfcRelServicesBuildings() {} - explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelServicesBuildings (const std::weak_ptr& data) : IfcRelConnects(data) {} /// System that services the Buildings. ::Ifc4x3_tc1::IfcSystem RelatingSystem() const; @@ -28986,7 +28986,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcSpatialElement > RelatedBuildings() const; void setRelatedBuildings(const std::vector< ::Ifc4x3_tc1::IfcSpatialElement >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSystem v5_RelatingSystem, std::vector< ::Ifc4x3_tc1::IfcSpatialElement > v6_RelatedBuildings); }; /// The space boundary defines the @@ -29154,7 +29154,7 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary : public IfcRelConnects { public: IfcRelSpaceBoundary() {} - explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} + explicit IfcRelSpaceBoundary (const std::weak_ptr& data) : IfcRelConnects(data) {} /// Reference to one spaces that is delimited by this boundary. ::Ifc4x3_tc1::IfcSpaceBoundarySelect RelatingSpace() const; @@ -29178,7 +29178,7 @@ public: ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value InternalOrExternalBoundary() const; void setInternalOrExternalBoundary(const ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary); }; /// The 1st level space boundary @@ -29231,14 +29231,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary1stLevel : public IfcRelSpaceBoundary { public: IfcRelSpaceBoundary1stLevel() {} - explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} + explicit IfcRelSpaceBoundary1stLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary(data) {} /// Reference to the host, or parent, space boundary within which this inner boundary is defined. ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel ParentBoundary() const; void setParentBoundary(const ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel& v); std::vector< IfcRelSpaceBoundary1stLevel > InnerBoundaries() const; // INVERSE IfcRelSpaceBoundary1stLevel::ParentBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary); }; /// The 2nd level space boundary defines the physical or virtual delimiter of a space by the relationship IfcRelSpaceBoundary2ndLevel to the surrounding elements. 2nd level space boundaries are characterized by: @@ -29276,14 +29276,14 @@ public: class IFC_PARSE_API IfcRelSpaceBoundary2ndLevel : public IfcRelSpaceBoundary1stLevel { public: IfcRelSpaceBoundary2ndLevel() {} - explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} + explicit IfcRelSpaceBoundary2ndLevel (const std::weak_ptr& data) : IfcRelSpaceBoundary1stLevel(data) {} /// Reference to the other space boundary of the pair of two space boundaries on either side of a space separating thermal boundary element. ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel CorrespondingBoundary() const; void setCorrespondingBoundary(const ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel& v); std::vector< IfcRelSpaceBoundary2ndLevel > Corresponds() const; // INVERSE IfcRelSpaceBoundary2ndLevel::CorrespondingBoundary - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcSpaceBoundarySelect v5_RelatingSpace, ::Ifc4x3_tc1::IfcElement v6_RelatedBuildingElement, ::Ifc4x3_tc1::IfcConnectionGeometry v7_ConnectionGeometry, ::Ifc4x3_tc1::IfcPhysicalOrVirtualEnum::Value v8_PhysicalOrVirtualBoundary, ::Ifc4x3_tc1::IfcInternalOrExternalEnum::Value v9_InternalOrExternalBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary1stLevel v10_ParentBoundary, ::Ifc4x3_tc1::IfcRelSpaceBoundary2ndLevel v11_CorrespondingBoundary); }; /// IfcRelVoidsElement is an objectified relationship between a building element and one opening element that creates a void in the element. It is a one-to-one relationship. This relationship implies a Boolean operation of subtraction between the geometric bodies of the element and the opening. @@ -29296,14 +29296,14 @@ public: class IFC_PARSE_API IfcRelVoidsElement : public IfcRelDecomposes { public: IfcRelVoidsElement() {} - explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelVoidsElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_tc1::IfcElement RelatingBuildingElement() const; void setRelatingBuildingElement(const ::Ifc4x3_tc1::IfcElement& v); ::Ifc4x3_tc1::IfcFeatureElementSubtraction RelatedOpeningElement() const; void setRelatedOpeningElement(const ::Ifc4x3_tc1::IfcFeatureElementSubtraction& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingBuildingElement, ::Ifc4x3_tc1::IfcFeatureElementSubtraction v6_RelatedOpeningElement); }; /// Definition from ISO/CD 10303-42:1992: The @@ -29332,12 +29332,12 @@ public: class IFC_PARSE_API IfcReparametrisedCompositeCurveSegment : public IfcCompositeCurveSegment { public: IfcReparametrisedCompositeCurveSegment() {} - explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} + explicit IfcReparametrisedCompositeCurveSegment (const std::weak_ptr& data) : IfcCompositeCurveSegment(data) {} double ParamLength() const; void setParamLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcTransitionCode::Value v1_Transition, bool v2_SameSense, ::Ifc4x3_tc1::IfcCurve v3_ParentCurve, double v4_ParamLength); }; /// IfcResource contains the information needed to represent the costs, schedule, and other impacts from the use of a thing in a process. It is not intended to use IfcResource to model the general properties of the things themselves, while an optional linkage from IfcResource to the things to be used can be specified (specifically, the relationship from subtypes of IfcResource to IfcProduct through the IfcRelAssignsToResource relationship). @@ -29356,7 +29356,7 @@ public: class IFC_PARSE_API IfcResource : public IfcObject { public: IfcResource() {} - explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcResource (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a resource. /// It is the identifier at the occurrence level. @@ -29371,7 +29371,7 @@ public: void setLongDescription(const std::optional< std::string >& v); std::vector< IfcRelAssignsToResource > ResourceOf() const; // INVERSE IfcRelAssignsToResource::RelatingResource - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription); }; /// An IfcRevolvedAreaSolid is a solid created by revolving @@ -29453,7 +29453,7 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolid : public IfcSweptAreaSolid { public: IfcRevolvedAreaSolid() {} - explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} + explicit IfcRevolvedAreaSolid (const std::weak_ptr& data) : IfcSweptAreaSolid(data) {} /// Axis about which revolution will take place. ::Ifc4x3_tc1::IfcAxis1Placement Axis() const; @@ -29462,7 +29462,7 @@ public: double Angle() const; void setAngle(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcAxis1Placement v3_Axis, double v4_Angle); }; /// IfcRevolvedAreaSolidTapered is defined by revolving a @@ -29526,12 +29526,12 @@ public: class IFC_PARSE_API IfcRevolvedAreaSolidTapered : public IfcRevolvedAreaSolid { public: IfcRevolvedAreaSolidTapered() {} - explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} + explicit IfcRevolvedAreaSolidTapered (const std::weak_ptr& data) : IfcRevolvedAreaSolid(data) {} ::Ifc4x3_tc1::IfcProfileDef EndSweptArea() const; void setEndSweptArea(const ::Ifc4x3_tc1::IfcProfileDef& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcAxis1Placement v3_Axis, double v4_Angle, ::Ifc4x3_tc1::IfcProfileDef v5_EndSweptArea); }; /// The IfcRightCircularCone is a Construction Solid @@ -29602,7 +29602,7 @@ public: class IFC_PARSE_API IfcRightCircularCone : public IfcCsgPrimitive3D { public: IfcRightCircularCone() {} - explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCone (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the base of the cone and the apex. double Height() const; @@ -29611,7 +29611,7 @@ public: double BottomRadius() const; void setBottomRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_BottomRadius); }; /// The IfcRightCircularCylinder is a Construction Solid @@ -29698,7 +29698,7 @@ public: class IFC_PARSE_API IfcRightCircularCylinder : public IfcCsgPrimitive3D { public: IfcRightCircularCylinder() {} - explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcRightCircularCylinder (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The distance between the planar circular faces of the cylinder. double Height() const; @@ -29707,40 +29707,40 @@ public: double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Height, double v3_Radius); }; class IFC_PARSE_API IfcSectionedSolid : public IfcSolidModel { public: IfcSectionedSolid() {} - explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} + explicit IfcSectionedSolid (const std::weak_ptr& data) : IfcSolidModel(data) {} ::Ifc4x3_tc1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_tc1::IfcCurve& v); std::vector< ::Ifc4x3_tc1::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_tc1::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v2_CrossSections); }; class IFC_PARSE_API IfcSectionedSolidHorizontal : public IfcSectionedSolid { public: IfcSectionedSolidHorizontal() {} - explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} + explicit IfcSectionedSolidHorizontal (const std::weak_ptr& data) : IfcSectionedSolid(data) {} std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > CrossSectionPositions() const; void setCrossSectionPositions(const std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v2_CrossSections, std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > v3_CrossSectionPositions); }; class IFC_PARSE_API IfcSectionedSurface : public IfcSurface { public: IfcSectionedSurface() {} - explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} + explicit IfcSectionedSurface (const std::weak_ptr& data) : IfcSurface(data) {} ::Ifc4x3_tc1::IfcCurve Directrix() const; void setDirectrix(const ::Ifc4x3_tc1::IfcCurve& v); @@ -29749,7 +29749,7 @@ public: std::vector< ::Ifc4x3_tc1::IfcProfileDef > CrossSections() const; void setCrossSections(const std::vector< ::Ifc4x3_tc1::IfcProfileDef >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_Directrix, std::vector< ::Ifc4x3_tc1::IfcAxis2PlacementLinear > v2_CrossSectionPositions, std::vector< ::Ifc4x3_tc1::IfcProfileDef > v3_CrossSections); }; /// The IfcSimplePropertyTemplate defines the template for @@ -29800,7 +29800,7 @@ public: class IFC_PARSE_API IfcSimplePropertyTemplate : public IfcPropertyTemplate { public: IfcSimplePropertyTemplate() {} - explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcSimplePropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} /// Property type defining whether the property template defines a property with a single value, a bounded value, a list value, a table value, an enumerated value, or a reference value. Or the quantity type defining whether the template defines a quantity with a length, area, volume, weight or time value. /// @@ -29850,7 +29850,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > AccessState() const; void setAccessState(const std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< ::Ifc4x3_tc1::IfcSimplePropertyTemplateTypeEnum::Value > v5_TemplateType, std::optional< std::string > v6_PrimaryMeasureType, std::optional< std::string > v7_SecondaryMeasureType, ::Ifc4x3_tc1::IfcPropertyEnumeration v8_Enumerators, ::Ifc4x3_tc1::IfcUnit v9_PrimaryUnit, ::Ifc4x3_tc1::IfcUnit v10_SecondaryUnit, std::optional< std::string > v11_Expression, std::optional< ::Ifc4x3_tc1::IfcStateEnum::Value > v12_AccessState); }; /// Definition from IAI: A spatial element is the @@ -29887,7 +29887,7 @@ public: class IFC_PARSE_API IfcSpatialElement : public IfcProduct { public: IfcSpatialElement() {} - explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcSpatialElement (const std::weak_ptr& data) : IfcProduct(data) {} /// Long name for a spatial structure element, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -29900,7 +29900,7 @@ public: std::vector< IfcRelInterferesElements > IsInterferedByElements() const; // INVERSE IfcRelInterferesElements::RelatedElement std::vector< IfcRelInterferesElements > InterferesElements() const; // INVERSE IfcRelInterferesElements::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from IAI: The IfcSpatialElementType @@ -29937,13 +29937,13 @@ public: class IFC_PARSE_API IfcSpatialElementType : public IfcTypeProduct { public: IfcSpatialElementType() {} - explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} + explicit IfcSpatialElementType (const std::weak_ptr& data) : IfcTypeProduct(data) {} /// The type denotes a particular type that indicates the object further. The use has to be established at the level of instantiable subtypes. In particular it holds the user defined type, if the enumeration of the attribute 'PredefinedType' is set to USERDEFINED. std::optional< std::string > ElementType() const; void setElementType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// A spatial structure element @@ -30023,7 +30023,7 @@ public: class IFC_PARSE_API IfcSpatialStructureElement : public IfcSpatialElement { public: IfcSpatialStructureElement() {} - explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Denotes, whether the predefined spatial structure element represents itself, or an aggregate (complex) or a part (part). The interpretation is given separately for each subtype of spatial structure element. If no CompositionType is asserted, the dafault value 'ELEMENT' applies. /// @@ -30032,7 +30032,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > CompositionType() const; void setCompositionType(const std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType); }; /// Definition from IAI: The element type @@ -30072,10 +30072,10 @@ public: class IFC_PARSE_API IfcSpatialStructureElementType : public IfcSpatialElementType { public: IfcSpatialStructureElementType() {} - explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialStructureElementType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A spatial element is the @@ -30130,13 +30130,13 @@ public: class IFC_PARSE_API IfcSpatialZone : public IfcSpatialElement { public: IfcSpatialZone() {} - explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcSpatialZone (const std::weak_ptr& data) : IfcSpatialElement(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The IfcSpatialZoneType @@ -30172,7 +30172,7 @@ public: class IFC_PARSE_API IfcSpatialZoneType : public IfcSpatialElementType { public: IfcSpatialZoneType() {} - explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} + explicit IfcSpatialZoneType (const std::weak_ptr& data) : IfcSpatialElementType(data) {} /// Predefined types to define the particular type of the spatial zone. There may be property set definitions available for each predefined type. ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value PredefinedType() const; @@ -30180,7 +30180,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpatialZoneTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The IfcSphere is a Construction Solid Geometry (CSG) 3D @@ -30236,37 +30236,37 @@ public: class IFC_PARSE_API IfcSphere : public IfcCsgPrimitive3D { public: IfcSphere() {} - explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcSphere (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The radius of the sphere. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSphericalSurface : public IfcElementarySurface { public: IfcSphericalSurface() {} - explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcSphericalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcSpiral : public IfcCurve { public: IfcSpiral() {} - explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSpiral (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_tc1::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position); }; /// Definition from IAI: The abstract entity IfcStructuralActivity combines the definition of actions (such as forces, displacements, etc.) and reactions (support reactions, internal forces, deflections, etc.) which are specified by using the basic load definitions from the IfcStructuralLoadResource. @@ -30365,7 +30365,7 @@ public: class IFC_PARSE_API IfcStructuralActivity : public IfcProduct { public: IfcStructuralActivity() {} - explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralActivity (const std::weak_ptr& data) : IfcProduct(data) {} /// Load or result resource object which defines the load type, direction, and load values. /// @@ -30393,7 +30393,7 @@ public: void setGlobalOrLocal(const ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value& v); std::vector< IfcRelConnectsStructuralActivity > AssignedToStructuralItem() const; // INVERSE IfcRelConnectsStructuralActivity::RelatedStructuralActivity - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: The abstract entity IfcStructuralItem is the generalization of structural members and structural connections, i.e. analysis idealizations of elements in the building model. It defines the relation between structural members and connections with structural activities (actions and reactions). @@ -30486,11 +30486,11 @@ public: class IFC_PARSE_API IfcStructuralItem : public IfcProduct { public: IfcStructuralItem() {} - explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcStructuralItem (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsStructuralActivity > AssignedStructuralActivity() const; // INVERSE IfcRelConnectsStructuralActivity::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: The abstract entity IfcStructuralMember is the superclass of all structural items which represent the idealized structural behavior of building elements. @@ -30500,11 +30500,11 @@ public: class IFC_PARSE_API IfcStructuralMember : public IfcStructuralItem { public: IfcStructuralMember() {} - explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralMember (const std::weak_ptr& data) : IfcStructuralItem(data) {} std::vector< IfcRelConnectsStructuralMember > ConnectedBy() const; // INVERSE IfcRelConnectsStructuralMember::RelatingStructuralMember - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation); }; /// Definition from IAI: A structural reaction is a structural activity that results from a @@ -30530,10 +30530,10 @@ public: class IFC_PARSE_API IfcStructuralReaction : public IfcStructuralActivity { public: IfcStructuralReaction() {} - explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralReaction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of IfcStructuralSurfaceMember describe face members, i.e. structural analysis idealizations of slabs, walls, shells, etc.. Surface members may be planar or curved. @@ -30559,7 +30559,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMember : public IfcStructuralMember { public: IfcStructuralSurfaceMember() {} - explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralSurfaceMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value PredefinedType() const; @@ -30568,7 +30568,7 @@ public: std::optional< double > Thickness() const; void setThickness(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Describes surface members with varying section properties. The properties are provided by means of a property set and IfcRelDefinesByProperties or by means of aggregation: An instance of IfcStructuralSurfaceMemberVarying may be composed of two or more instances of IfcStructuralSurfaceMember with differing section properties. These subordinate members relate to the instance of IfcStructuralSurfaceMemberVarying by IfcRelAggregates. @@ -30592,10 +30592,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceMemberVarying : public IfcStructuralSurfaceMember { public: IfcStructuralSurfaceMemberVarying() {} - explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} + explicit IfcStructuralSurfaceMemberVarying (const std::weak_ptr& data) : IfcStructuralSurfaceMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralSurfaceMemberTypeEnum::Value v8_PredefinedType, std::optional< double > v9_Thickness); }; /// Definition from IAI: Defines a reaction which occurs distributed over a surface. A surface reaction may be connected with a surface member or surface connection. @@ -30623,13 +30623,13 @@ public: class IFC_PARSE_API IfcStructuralSurfaceReaction : public IfcStructuralReaction { public: IfcStructuralSurfaceReaction() {} - explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralSurfaceReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v10_PredefinedType); }; /// The resource type IfcSubContractResourceType defines commonly shared information for occurrences of subcontract resources. The set of shared information may include: @@ -30646,20 +30646,20 @@ public: class IFC_PARSE_API IfcSubContractResourceType : public IfcConstructionResourceType { public: IfcSubContractResourceType() {} - explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcSubContractResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of subcontract resources. ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value v12_PredefinedType); }; class IFC_PARSE_API IfcSurfaceCurve : public IfcCurve { public: IfcSurfaceCurve() {} - explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcSurfaceCurve (const std::weak_ptr& data) : IfcCurve(data) {} ::Ifc4x3_tc1::IfcCurve Curve3D() const; void setCurve3D(const ::Ifc4x3_tc1::IfcCurve& v); @@ -30668,7 +30668,7 @@ public: ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// The IfcSurfaceCurveSweptAreaSolid is the result of @@ -30736,13 +30736,13 @@ public: class IFC_PARSE_API IfcSurfaceCurveSweptAreaSolid : public IfcDirectrixCurveSweptAreaSolid { public: IfcSurfaceCurveSweptAreaSolid() {} - explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} + explicit IfcSurfaceCurveSweptAreaSolid (const std::weak_ptr& data) : IfcDirectrixCurveSweptAreaSolid(data) {} /// The surface containing the Directrix. ::Ifc4x3_tc1::IfcSurface ReferenceSurface() const; void setReferenceSurface(const ::Ifc4x3_tc1::IfcSurface& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_tc1::IfcSurface v6_ReferenceSurface); }; /// Definition from ISO/CD 10303-42:1992: This surface is a simple swept surface or a generalized cylinder obtained by sweeping a curve in a given direction. The parameterization is as follows where the curve has a parameterization l(u): @@ -30761,7 +30761,7 @@ public: class IFC_PARSE_API IfcSurfaceOfLinearExtrusion : public IfcSweptSurface { public: IfcSurfaceOfLinearExtrusion() {} - explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfLinearExtrusion (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// The direction of the extrusion. ::Ifc4x3_tc1::IfcDirection ExtrudedDirection() const; @@ -30770,7 +30770,7 @@ public: double Depth() const; void setDepth(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcDirection v3_ExtrudedDirection, double v4_Depth); }; /// Definition from ISO/CD 10303-42:1992: A surface of revolution (IfcSurfaceOfRevolution) is the surface obtained by rotating a curve one complete revolution about an axis. The data shall be interpreted as below. @@ -30793,13 +30793,13 @@ public: class IFC_PARSE_API IfcSurfaceOfRevolution : public IfcSweptSurface { public: IfcSurfaceOfRevolution() {} - explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} + explicit IfcSurfaceOfRevolution (const std::weak_ptr& data) : IfcSweptSurface(data) {} /// A point on the axis of revolution and the direction of the axis of revolution. ::Ifc4x3_tc1::IfcAxis1Placement AxisPosition() const; void setAxisPosition(const ::Ifc4x3_tc1::IfcAxis1Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptCurve, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcAxis1Placement v3_AxisPosition); }; /// The furnishing element type IfcSystemFurnitureElementType defines commonly shared information for occurrences of furniture elements. The set of shared information may include: @@ -30835,12 +30835,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElementType : public IfcFurnishingElementType { public: IfcSystemFurnitureElementType() {} - explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} + explicit IfcSystemFurnitureElementType (const std::weak_ptr& data) : IfcFurnishingElementType(data) {} std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > v10_PredefinedType); }; /// An IfcTask is an identifiable unit of work to be @@ -31091,7 +31091,7 @@ public: class IFC_PARSE_API IfcTask : public IfcProcess { public: IfcTask() {} - explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcTask (const std::weak_ptr& data) : IfcProcess(data) {} /// Current status of the task. /// @@ -31133,7 +31133,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< std::string > v8_Status, std::optional< std::string > v9_WorkMethod, bool v10_IsMilestone, std::optional< int > v11_Priority, ::Ifc4x3_tc1::IfcTaskTime v12_TaskTime, std::optional< ::Ifc4x3_tc1::IfcTaskTypeEnum::Value > v13_PredefinedType); }; /// An IfcTaskType defines a @@ -31179,7 +31179,7 @@ public: class IFC_PARSE_API IfcTaskType : public IfcTypeProcess { public: IfcTaskType() {} - explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} + explicit IfcTaskType (const std::weak_ptr& data) : IfcTypeProcess(data) {} /// Identifies the predefined types of a task type from which /// the type required may be set. @@ -31189,28 +31189,28 @@ public: std::optional< std::string > WorkMethod() const; void setWorkMethod(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ProcessType, ::Ifc4x3_tc1::IfcTaskTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_WorkMethod); }; class IFC_PARSE_API IfcTessellatedFaceSet : public IfcTessellatedItem { public: IfcTessellatedFaceSet() {} - explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} + explicit IfcTessellatedFaceSet (const std::weak_ptr& data) : IfcTessellatedItem(data) {} ::Ifc4x3_tc1::IfcCartesianPointList3D Coordinates() const; void setCoordinates(const ::Ifc4x3_tc1::IfcCartesianPointList3D& v); std::vector< IfcIndexedColourMap > HasColours() const; // INVERSE IfcIndexedColourMap::MappedTo std::vector< IfcIndexedTextureMap > HasTextures() const; // INVERSE IfcIndexedTextureMap::MappedTo - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates); }; class IFC_PARSE_API IfcThirdOrderPolynomialSpiral : public IfcSpiral { public: IfcThirdOrderPolynomialSpiral() {} - explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcThirdOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double CubicTerm() const; void setCubicTerm(const double& v); @@ -31221,38 +31221,38 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_CubicTerm, std::optional< double > v3_QuadraticTerm, std::optional< double > v4_LinearTerm, std::optional< double > v5_ConstantTerm); }; class IFC_PARSE_API IfcToroidalSurface : public IfcElementarySurface { public: IfcToroidalSurface() {} - explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcToroidalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} double MajorRadius() const; void setMajorRadius(const double& v); double MinorRadius() const; void setMinorRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_MajorRadius, double v3_MinorRadius); }; class IFC_PARSE_API IfcTransportationDeviceType : public IfcElementType { public: IfcTransportationDeviceType() {} - explicit IfcTransportationDeviceType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcTransportationDeviceType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcTriangulatedFaceSet : public IfcTessellatedFaceSet { public: IfcTriangulatedFaceSet() {} - explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcTriangulatedFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< std::vector< std::vector< double > > > Normals() const; void setNormals(const std::optional< std::vector< std::vector< double > > >& v); @@ -31263,31 +31263,31 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex); }; class IFC_PARSE_API IfcTriangulatedIrregularNetwork : public IfcTriangulatedFaceSet { public: IfcTriangulatedIrregularNetwork() {} - explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} + explicit IfcTriangulatedIrregularNetwork (const std::weak_ptr& data) : IfcTriangulatedFaceSet(data) {} std::vector< int > /*[1:?]*/ Flags() const; void setFlags(const std::vector< int > /*[1:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates, std::optional< std::vector< std::vector< double > > > v2_Normals, std::optional< bool > v3_Closed, std::vector< std::vector< int > > v4_CoordIndex, std::optional< std::vector< int > /*[1:?]*/ > v5_PnIndex, std::vector< int > /*[1:?]*/ v6_Flags); }; class IFC_PARSE_API IfcVehicleType : public IfcTransportationDeviceType { public: IfcVehicleType() {} - explicit IfcVehicleType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} + explicit IfcVehicleType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value v10_PredefinedType); }; /// The window lining is the outer @@ -31391,7 +31391,7 @@ public: class IFC_PARSE_API IfcWindowLiningProperties : public IfcPreDefinedPropertySet { public: IfcWindowLiningProperties() {} - explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the window lining (dimension measured perpendicular to window elevation plane). std::optional< double > LiningDepth() const; @@ -31438,7 +31438,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_TransomThickness, std::optional< double > v8_MullionThickness, std::optional< double > v9_FirstTransomOffset, std::optional< double > v10_SecondTransomOffset, std::optional< double > v11_FirstMullionOffset, std::optional< double > v12_SecondMullionOffset, ::Ifc4x3_tc1::IfcShapeAspect v13_ShapeAspectStyle, std::optional< double > v14_LiningOffset, std::optional< double > v15_LiningToPanelOffsetX, std::optional< double > v16_LiningToPanelOffsetY); }; /// A window panel is a casement, that is, a component, fixed or opening, @@ -31489,7 +31489,7 @@ public: class IFC_PARSE_API IfcWindowPanelProperties : public IfcPreDefinedPropertySet { public: IfcWindowPanelProperties() {} - explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcWindowPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of window panel operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value OperationType() const; @@ -31509,7 +31509,7 @@ public: ::Ifc4x3_tc1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcWindowPanelOperationEnum::Value v5_OperationType, ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle); }; /// The IfcActor defines all actors or human agents involved in a project during its full life cycle. It facilitates the use of person and organization definitions in the resource part of the IFC object model. This includes name, address, telecommunication addresses, and roles. @@ -31530,14 +31530,14 @@ public: class IFC_PARSE_API IfcActor : public IfcObject { public: IfcActor() {} - explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcActor (const std::weak_ptr& data) : IfcObject(data) {} /// Information about the actor. ::Ifc4x3_tc1::IfcActorSelect TheActor() const; void setTheActor(const ::Ifc4x3_tc1::IfcActorSelect& v); std::vector< IfcRelAssignsToActor > IsActingUpon() const; // INVERSE IfcRelAssignsToActor::RelatingActor - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcActorSelect v6_TheActor); }; /// An advanced B-rep is a boundary @@ -31576,10 +31576,10 @@ public: class IFC_PARSE_API IfcAdvancedBrep : public IfcManifoldSolidBrep { public: IfcAdvancedBrep() {} - explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcAdvancedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer); }; /// The IfcAdvancedBrepWithVoids is a specialization of an @@ -31606,12 +31606,12 @@ public: class IFC_PARSE_API IfcAdvancedBrepWithVoids : public IfcAdvancedBrep { public: IfcAdvancedBrepWithVoids() {} - explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} + explicit IfcAdvancedBrepWithVoids (const std::weak_ptr& data) : IfcAdvancedBrep(data) {} std::vector< ::Ifc4x3_tc1::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_tc1::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_tc1::IfcClosedShell > v2_Voids); }; /// Definition from IAI: An annotation is a graphical @@ -31790,13 +31790,13 @@ public: class IFC_PARSE_API IfcAnnotation : public IfcProduct { public: IfcAnnotation() {} - explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcAnnotation (const std::weak_ptr& data) : IfcProduct(data) {} std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value >& v); std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcAnnotationTypeEnum::Value > v8_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived. @@ -31871,7 +31871,7 @@ public: class IFC_PARSE_API IfcBSplineSurface : public IfcBoundedSurface { public: IfcBSplineSurface() {} - explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} + explicit IfcBSplineSurface (const std::weak_ptr& data) : IfcBoundedSurface(data) {} /// Algebraic degree of basis functions in u. int UDegree() const; @@ -31895,7 +31895,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_tc1::IfcBSplineSurfaceForm::Value v4_SurfaceForm, boost::logic::tribool v5_UClosed, boost::logic::tribool v6_VClosed, boost::logic::tribool v7_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is a B-spline surface in which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline surfaces, and may also be used for other knot types. @@ -31908,7 +31908,7 @@ public: class IFC_PARSE_API IfcBSplineSurfaceWithKnots : public IfcBSplineSurface { public: IfcBSplineSurfaceWithKnots() {} - explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} + explicit IfcBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurface(data) {} /// The multiplicities of the knots in the u parameter direction. std::vector< int > /*[2:?]*/ UMultiplicities() const; @@ -31926,7 +31926,7 @@ public: ::Ifc4x3_tc1::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v12_KnotSpec); }; /// The IfcBlock is a Construction Solid Geometry (CSG) 3D @@ -32029,7 +32029,7 @@ public: class IFC_PARSE_API IfcBlock : public IfcCsgPrimitive3D { public: IfcBlock() {} - explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} + explicit IfcBlock (const std::weak_ptr& data) : IfcCsgPrimitive3D(data) {} /// The size of the block along the placement X axis. It is provided by the inherited axis placement through SELF\IfcCsgPrimitive3D.Position.P[1]. double XLength() const; @@ -32041,7 +32041,7 @@ public: double ZLength() const; void setZLength(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_XLength, double v3_YLength, double v4_ZLength); }; /// A clipping result is defined as a special subtype of the general Boolean result (IfcBooleanResult). It constrains the operands and the operator of the Boolean result. @@ -32054,10 +32054,10 @@ public: class IFC_PARSE_API IfcBooleanClippingResult : public IfcBooleanResult { public: IfcBooleanClippingResult() {} - explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} + explicit IfcBooleanClippingResult (const std::weak_ptr& data) : IfcBooleanResult(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcBooleanOperator::Value v1_Operator, ::Ifc4x3_tc1::IfcBooleanOperand v2_FirstOperand, ::Ifc4x3_tc1::IfcBooleanOperand v3_SecondOperand); }; /// Definition from ISO/CD 10303-42:1992: A bounded curve is a curve of finite arc length with identifiable end points. @@ -32073,10 +32073,10 @@ public: class IFC_PARSE_API IfcBoundedCurve : public IfcCurve { public: IfcBoundedCurve() {} - explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcBoundedCurve (const std::weak_ptr& data) : IfcCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(); }; /// The building storey has an @@ -32259,23 +32259,23 @@ public: class IFC_PARSE_API IfcBuildingStorey : public IfcSpatialStructureElement { public: IfcBuildingStorey() {} - explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcBuildingStorey (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Elevation of the base of this storey, relative to the 0,00 internal reference height of the building. The 0.00 level is given by the absolute above sea level height by the ElevationOfRefHeight attribute given at IfcBuilding. std::optional< double > Elevation() const; void setElevation(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_Elevation); }; class IFC_PARSE_API IfcBuiltElementType : public IfcElementType { public: IfcBuiltElementType() {} - explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcBuiltElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: The IfcChimneyType @@ -32306,13 +32306,13 @@ public: class IFC_PARSE_API IfcChimneyType : public IfcBuiltElementType { public: IfcChimneyType() {} - explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcChimneyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a chimney element from which the type required may be set. ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value v10_PredefinedType); }; /// IfcCircleHollowProfileDef @@ -32336,35 +32336,35 @@ public: class IFC_PARSE_API IfcCircleHollowProfileDef : public IfcCircleProfileDef { public: IfcCircleHollowProfileDef() {} - explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} + explicit IfcCircleHollowProfileDef (const std::weak_ptr& data) : IfcCircleProfileDef(data) {} /// Thickness of the material, it is the difference between the outer and inner radius. double WallThickness() const; void setWallThickness(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileTypeEnum::Value v1_ProfileType, std::optional< std::string > v2_ProfileName, ::Ifc4x3_tc1::IfcAxis2Placement2D v3_Position, double v4_Radius, double v5_WallThickness); }; class IFC_PARSE_API IfcCivilElementType : public IfcElementType { public: IfcCivilElementType() {} - explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcCivilElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcClothoid : public IfcSpiral { public: IfcClothoid() {} - explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcClothoid (const std::weak_ptr& data) : IfcSpiral(data) {} double ClothoidConstant() const; void setClothoidConstant(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_ClothoidConstant); }; /// Definition from IAI: The element type @@ -32468,13 +32468,13 @@ public: class IFC_PARSE_API IfcColumnType : public IfcBuiltElementType { public: IfcColumnType() {} - explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcColumnType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a column element from which the type required may be set. ::Ifc4x3_tc1::IfcColumnTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcColumnTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcColumnTypeEnum::Value v10_PredefinedType); }; /// The IfcComplexPropertyTemplate defines the template for @@ -32488,7 +32488,7 @@ public: class IFC_PARSE_API IfcComplexPropertyTemplate : public IfcPropertyTemplate { public: IfcComplexPropertyTemplate() {} - explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} + explicit IfcComplexPropertyTemplate (const std::weak_ptr& data) : IfcPropertyTemplate(data) {} std::optional< std::string > UsageName() const; void setUsageName(const std::optional< std::string >& v); @@ -32498,7 +32498,7 @@ public: std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > > HasPropertyTemplates() const; void setHasPropertyTemplates(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_UsageName, std::optional< ::Ifc4x3_tc1::IfcComplexPropertyTemplateTypeEnum::Value > v6_TemplateType, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertyTemplate > > v7_HasPropertyTemplates); }; /// Definition from ISO/CD 10303-42:1992: A composite @@ -32570,7 +32570,7 @@ public: class IFC_PARSE_API IfcCompositeCurve : public IfcBoundedCurve { public: IfcCompositeCurve() {} - explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcCompositeCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The component bounded curves, their transitions and senses. The transition attribute for the last segment defines the transition between the end of the last segment and the start of the first; this transition attribute may take the value discontinuous, which indicates an open curve. std::vector< ::Ifc4x3_tc1::IfcSegment > Segments() const; @@ -32579,7 +32579,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992 A composite curve on surface is a collection of segments which are curves on a surface. Each segment shall lie on the basis surface. @@ -32596,10 +32596,10 @@ public: class IFC_PARSE_API IfcCompositeCurveOnSurface : public IfcCompositeCurve { public: IfcCompositeCurveOnSurface() {} - explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcCompositeCurveOnSurface (const std::weak_ptr& data) : IfcCompositeCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// Definition from ISO/CD 10303-42:1992: A conic (IfcConic) is a planar curve which could be produced by intersecting a plane with a cone. A conic is defined in terms of its intrinsic geometric properties rather than being described in terms of other geometry. A conic class always has a placement coordinate system defined by a two or three dimensional placement. The parametric representation is defined in terms of this placement coordinate system. @@ -32610,13 +32610,13 @@ public: class IFC_PARSE_API IfcConic : public IfcCurve { public: IfcConic() {} - explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} + explicit IfcConic (const std::weak_ptr& data) : IfcCurve(data) {} /// The location and orientation of the conic. Further details of the interpretation of this attribute are given for the individual subtypes." ::Ifc4x3_tc1::IfcAxis2Placement Position() const; void setPosition(const ::Ifc4x3_tc1::IfcAxis2Placement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position); }; /// The resource type IfcConstructionEquipmentType defines commonly shared information for occurrences of construction equipment resources. The set of shared information may include: @@ -32635,13 +32635,13 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResourceType : public IfcConstructionResourceType { public: IfcConstructionEquipmentResourceType() {} - explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionEquipmentResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction equipment resources. ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionMaterialType defines commonly shared information for occurrences of construction material resources. The set of shared information may include: @@ -32660,13 +32660,13 @@ public: class IFC_PARSE_API IfcConstructionMaterialResourceType : public IfcConstructionResourceType { public: IfcConstructionMaterialResourceType() {} - explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionMaterialResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction material resources. ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value v12_PredefinedType); }; /// The resource type IfcConstructionProductType defines commonly shared information for occurrences of construction product resources. The set of shared information may include: @@ -32685,13 +32685,13 @@ public: class IFC_PARSE_API IfcConstructionProductResourceType : public IfcConstructionResourceType { public: IfcConstructionProductResourceType() {} - explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} + explicit IfcConstructionProductResourceType (const std::weak_ptr& data) : IfcConstructionResourceType(data) {} /// Defines types of construction product resources. ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::string > v7_Identification, std::optional< std::string > v8_LongDescription, std::optional< std::string > v9_ResourceType, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v10_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v11_BaseQuantity, ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value v12_PredefinedType); }; /// IfcConstructionResource is an abstract generalization of the different resources used in @@ -32769,7 +32769,7 @@ public: class IFC_PARSE_API IfcConstructionResource : public IfcResource { public: IfcConstructionResource() {} - explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} + explicit IfcConstructionResource (const std::weak_ptr& data) : IfcResource(data) {} ::Ifc4x3_tc1::IfcResourceTime Usage() const; void setUsage(const ::Ifc4x3_tc1::IfcResourceTime& v); @@ -32778,7 +32778,7 @@ public: ::Ifc4x3_tc1::IfcPhysicalQuantity BaseQuantity() const; void setBaseQuantity(const ::Ifc4x3_tc1::IfcPhysicalQuantity& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity); }; /// IfcControl is the abstract generalization of all concepts that control or constrain the utilization of products, processes, or resources in general. It can be seen as a regulation, cost schedule, request or order, or other requirements applied to a product, process or resource whose requirements and provisions must be fulfilled. @@ -32794,7 +32794,7 @@ public: class IFC_PARSE_API IfcControl : public IfcObject { public: IfcControl() {} - explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcControl (const std::weak_ptr& data) : IfcObject(data) {} /// An identifying designation given to a control /// It is the identifier at the occurrence level. @@ -32804,21 +32804,21 @@ public: void setIdentification(const std::optional< std::string >& v); std::vector< IfcRelAssignsToControl > Controls() const; // INVERSE IfcRelAssignsToControl::RelatingControl - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification); }; class IFC_PARSE_API IfcCosineSpiral : public IfcSpiral { public: IfcCosineSpiral() {} - explicit IfcCosineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcCosineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double CosineTerm() const; void setCosineTerm(const double& v); std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_CosineTerm, std::optional< double > v3_ConstantTerm); }; /// An IfcCostItem describes a cost or financial value together with descriptive information that describes its context in a form that enables it to be used within a cost schedule. An IfcCostItem can be used to represent the cost of goods and services, the execution of works by a process, lifecycle cost and more. @@ -32860,7 +32860,7 @@ public: class IFC_PARSE_API IfcCostItem : public IfcControl { public: IfcCostItem() {} - explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostItem (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost item that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -32882,7 +32882,7 @@ public: std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > > CostQuantities() const; void setCostQuantities(const std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcCostItemTypeEnum::Value > v7_PredefinedType, std::optional< std::vector< ::Ifc4x3_tc1::IfcCostValue > > v8_CostValues, std::optional< std::vector< ::Ifc4x3_tc1::IfcPhysicalQuantity > > v9_CostQuantities); }; /// An IfcCostSchedule brings together instances of IfcCostItem either for the purpose of identifying purely cost information as in an estimate for constructions costs or for including cost information within another presentation form such as a work order. @@ -32911,7 +32911,7 @@ public: class IFC_PARSE_API IfcCostSchedule : public IfcControl { public: IfcCostSchedule() {} - explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcCostSchedule (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a cost schedule that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// @@ -32938,19 +32938,19 @@ public: std::optional< std::string > UpdateDate() const; void setUpdateDate(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcCostScheduleTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_SubmittedOn, std::optional< std::string > v10_UpdateDate); }; class IFC_PARSE_API IfcCourseType : public IfcBuiltElementType { public: IfcCourseType() {} - explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCourseType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_tc1::IfcCourseTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCourseTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCourseTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -33035,13 +33035,13 @@ public: class IFC_PARSE_API IfcCoveringType : public IfcBuiltElementType { public: IfcCoveringType() {} - explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCoveringType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value v10_PredefinedType); }; /// IfcCrewResource represents a collection of internal resources used in construction processes. @@ -33057,14 +33057,14 @@ public: class IFC_PARSE_API IfcCrewResource : public IfcConstructionResource { public: IfcCrewResource() {} - explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcCrewResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of crew resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcCrewResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcCurtainWallType) @@ -33091,13 +33091,13 @@ public: class IFC_PARSE_API IfcCurtainWallType : public IfcBuiltElementType { public: IfcCurtainWallType() {} - explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcCurtainWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a curtain wall element from which the type required may be set. ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A cylindrical surface is a surface at a constant distance (the radius) from a straight line. A cylindrical surface is defined by its radius and its orientation and location. The data is to be interpreted as follows: @@ -33157,33 +33157,33 @@ public: class IFC_PARSE_API IfcCylindricalSurface : public IfcElementarySurface { public: IfcCylindricalSurface() {} - explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} + explicit IfcCylindricalSurface (const std::weak_ptr& data) : IfcElementarySurface(data) {} /// The radius of the cylindrical surface. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement3D v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcDeepFoundationType : public IfcBuiltElementType { public: IfcDeepFoundationType() {} - explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDeepFoundationType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; class IFC_PARSE_API IfcDirectrixDerivedReferenceSweptAreaSolid : public IfcFixedReferenceSweptAreaSolid { public: IfcDirectrixDerivedReferenceSweptAreaSolid() {} - explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} + explicit IfcDirectrixDerivedReferenceSweptAreaSolid (const std::weak_ptr& data) : IfcFixedReferenceSweptAreaSolid(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcProfileDef v1_SweptArea, ::Ifc4x3_tc1::IfcAxis2Placement3D v2_Position, ::Ifc4x3_tc1::IfcCurve v3_Directrix, ::Ifc4x3_tc1::IfcCurveMeasureSelect v4_StartParam, ::Ifc4x3_tc1::IfcCurveMeasureSelect v5_EndParam, ::Ifc4x3_tc1::IfcDirection v6_FixedReference); }; /// Definition from IAI: The @@ -33217,10 +33217,10 @@ public: class IFC_PARSE_API IfcDistributionElementType : public IfcElementType { public: IfcDistributionElementType() {} - explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcDistributionElementType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcDistributionFlowElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -33291,10 +33291,10 @@ public: class IFC_PARSE_API IfcDistributionFlowElementType : public IfcDistributionElementType { public: IfcDistributionFlowElementType() {} - explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionFlowElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The door lining is the frame which @@ -33395,7 +33395,7 @@ public: class IFC_PARSE_API IfcDoorLiningProperties : public IfcPreDefinedPropertySet { public: IfcDoorLiningProperties() {} - explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorLiningProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door lining, measured perpendicular to the plane of the door lining. If omitted (and with a given value to lining thickness) it indicates an adjustable depth (i.e. a depth that adjusts to the thickness of the wall into which the occurrence of this door style is inserted). std::optional< double > LiningDepth() const; @@ -33443,7 +33443,7 @@ public: std::optional< double > LiningToPanelOffsetY() const; void setLiningToPanelOffsetY(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_LiningDepth, std::optional< double > v6_LiningThickness, std::optional< double > v7_ThresholdDepth, std::optional< double > v8_ThresholdThickness, std::optional< double > v9_TransomThickness, std::optional< double > v10_TransomOffset, std::optional< double > v11_LiningOffset, std::optional< double > v12_ThresholdOffset, std::optional< double > v13_CasingThickness, std::optional< double > v14_CasingDepth, ::Ifc4x3_tc1::IfcShapeAspect v15_ShapeAspectStyle, std::optional< double > v16_LiningToPanelOffsetX, std::optional< double > v17_LiningToPanelOffsetY); }; /// A door panel is normally a door leaf that opens to allow people or @@ -33494,7 +33494,7 @@ public: class IFC_PARSE_API IfcDoorPanelProperties : public IfcPreDefinedPropertySet { public: IfcDoorPanelProperties() {} - explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcDoorPanelProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Depth of the door panel, measured perpendicular to the plane of the door leaf. std::optional< double > PanelDepth() const; @@ -33514,7 +33514,7 @@ public: ::Ifc4x3_tc1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< double > v5_PanelDepth, ::Ifc4x3_tc1::IfcDoorPanelOperationEnum::Value v6_PanelOperation, std::optional< double > v7_PanelWidth, ::Ifc4x3_tc1::IfcDoorPanelPositionEnum::Value v8_PanelPosition, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle); }; /// Definition from IAI: The element type @@ -33648,7 +33648,7 @@ public: class IFC_PARSE_API IfcDoorType : public IfcBuiltElementType { public: IfcDoorType() {} - explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcDoorType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a door element from which the type required may be set. ::Ifc4x3_tc1::IfcDoorTypeEnum::Value PredefinedType() const; @@ -33661,7 +33661,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDoorTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value v11_OperationType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedOperationType); }; /// The draughting pre defined colour is a pre defined colour for the purpose to identify a colour by name. Allowable names are: @@ -33739,10 +33739,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedColour : public IfcPreDefinedColour { public: IfcDraughtingPreDefinedColour() {} - explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} + explicit IfcDraughtingPreDefinedColour (const std::weak_ptr& data) : IfcPreDefinedColour(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// The draughting predefined curve font type defines a selection of widely used curve fonts for draughting purposes by name. @@ -33761,10 +33761,10 @@ public: class IFC_PARSE_API IfcDraughtingPreDefinedCurveFont : public IfcPreDefinedCurveFont { public: IfcDraughtingPreDefinedCurveFont() {} - explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} + explicit IfcDraughtingPreDefinedCurveFont (const std::weak_ptr& data) : IfcPreDefinedCurveFont(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_Name); }; /// Definition from IAI: Generalization of all components @@ -33823,7 +33823,7 @@ public: class IFC_PARSE_API IfcElement : public IfcProduct { public: IfcElement() {} - explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcElement (const std::weak_ptr& data) : IfcProduct(data) {} /// The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level. std::optional< std::string > Tag() const; @@ -33841,7 +33841,7 @@ public: std::vector< IfcRelCoversBldgElements > HasCoverings() const; // INVERSE IfcRelCoversBldgElements::RelatingBuildingElement std::vector< IfcRelAdheresToElement > HasSurfaceFeatures() const; // INVERSE IfcRelAdheresToElement::RelatingElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcElementAssembly @@ -33941,7 +33941,7 @@ public: class IFC_PARSE_API IfcElementAssembly : public IfcElement { public: IfcElementAssembly() {} - explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementAssembly (const std::weak_ptr& data) : IfcElement(data) {} /// A designation of where the assembly is intended to take place defined by an Enum. std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value > AssemblyPlace() const; @@ -33952,7 +33952,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAssemblyPlaceEnum::Value > v9_AssemblyPlace, std::optional< ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value > v10_PredefinedType); }; /// Definition from IAI: The IfcElementAssemblyType @@ -33980,13 +33980,13 @@ public: class IFC_PARSE_API IfcElementAssemblyType : public IfcElementType { public: IfcElementAssemblyType() {} - explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementAssemblyType (const std::weak_ptr& data) : IfcElementType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElementAssemblyTypeEnum::Value v10_PredefinedType); }; /// An element component is a representation for minor items included in, added to or connecting to or between @@ -34069,10 +34069,10 @@ public: class IFC_PARSE_API IfcElementComponent : public IfcElement { public: IfcElementComponent() {} - explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcElementComponent (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: @@ -34087,10 +34087,10 @@ public: class IFC_PARSE_API IfcElementComponentType : public IfcElementType { public: IfcElementComponentType() {} - explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} + explicit IfcElementComponentType (const std::weak_ptr& data) : IfcElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from ISO/CD 10303-42:1992: An ellipse (IfcEllipse) is a conic section defined by the lengths of the semi-major and semi-minor diameters and the position (center or mid point of the line joining the foci) and orientation of the curve. Interpretation of the data shall be as follows: @@ -34123,7 +34123,7 @@ public: class IFC_PARSE_API IfcEllipse : public IfcConic { public: IfcEllipse() {} - explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcEllipse (const std::weak_ptr& data) : IfcConic(data) {} /// The first radius of the ellipse which shall be positive. Placement.Axes[1] gives the direction of the SemiAxis1. double SemiAxis1() const; @@ -34132,7 +34132,7 @@ public: double SemiAxis2() const; void setSemiAxis2(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_SemiAxis1, double v3_SemiAxis2); }; /// The element type IfcEnergyConversionType defines a list of commonly shared property @@ -34161,10 +34161,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDeviceType : public IfcDistributionFlowElementType { public: IfcEnergyConversionDeviceType() {} - explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcEnergyConversionDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The energy conversion device type IfcEngineType defines commonly shared information for occurrences of engines. The set of shared information may include: @@ -34196,12 +34196,12 @@ public: class IFC_PARSE_API IfcEngineType : public IfcEnergyConversionDeviceType { public: IfcEngineType() {} - explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEngineType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_tc1::IfcEngineTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcEngineTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEngineTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporativeCoolerType defines commonly shared information for occurrences of evaporative coolers. The set of shared information may include: @@ -34233,13 +34233,13 @@ public: class IFC_PARSE_API IfcEvaporativeCoolerType : public IfcEnergyConversionDeviceType { public: IfcEvaporativeCoolerType() {} - explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporativeCoolerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporative cooler. ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcEvaporatorType defines commonly shared information for occurrences of evaporators. The set of shared information may include: @@ -34271,13 +34271,13 @@ public: class IFC_PARSE_API IfcEvaporatorType : public IfcEnergyConversionDeviceType { public: IfcEvaporatorType() {} - explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcEvaporatorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of evaporator. ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value v10_PredefinedType); }; /// An IfcEvent is something @@ -34360,7 +34360,7 @@ public: class IFC_PARSE_API IfcEvent : public IfcProcess { public: IfcEvent() {} - explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcEvent (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of an event from which /// the type required may be set. @@ -34379,7 +34379,7 @@ public: ::Ifc4x3_tc1::IfcEventTime EventOccurenceTime() const; void setEventOccurenceTime(const ::Ifc4x3_tc1::IfcEventTime& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_tc1::IfcEventTypeEnum::Value > v8_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcEventTriggerTypeEnum::Value > v9_EventTriggerType, std::optional< std::string > v10_UserDefinedEventTriggerType, ::Ifc4x3_tc1::IfcEventTime v11_EventOccurenceTime); }; /// Definition from IAI: The external spatial structure @@ -34390,10 +34390,10 @@ public: class IFC_PARSE_API IfcExternalSpatialStructureElement : public IfcSpatialElement { public: IfcExternalSpatialStructureElement() {} - explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} + explicit IfcExternalSpatialStructureElement (const std::weak_ptr& data) : IfcSpatialElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName); }; /// Definition from ISO/CD 10303-42:1992: A faceted B-rep @@ -34423,10 +34423,10 @@ public: class IFC_PARSE_API IfcFacetedBrep : public IfcManifoldSolidBrep { public: IfcFacetedBrep() {} - explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} + explicit IfcFacetedBrep (const std::weak_ptr& data) : IfcManifoldSolidBrep(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer); }; /// The IfcFacetedBrepWithVoids @@ -34456,47 +34456,47 @@ public: class IFC_PARSE_API IfcFacetedBrepWithVoids : public IfcFacetedBrep { public: IfcFacetedBrepWithVoids() {} - explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} + explicit IfcFacetedBrepWithVoids (const std::weak_ptr& data) : IfcFacetedBrep(data) {} /// Set of closed shells defining voids within the solid. std::vector< ::Ifc4x3_tc1::IfcClosedShell > Voids() const; void setVoids(const std::vector< ::Ifc4x3_tc1::IfcClosedShell >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcClosedShell v1_Outer, std::vector< ::Ifc4x3_tc1::IfcClosedShell > v2_Voids); }; class IFC_PARSE_API IfcFacility : public IfcSpatialStructureElement { public: IfcFacility() {} - explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacility (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType); }; class IFC_PARSE_API IfcFacilityPart : public IfcSpatialStructureElement { public: IfcFacilityPart() {} - explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcFacilityPart (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value UsageType() const; void setUsageType(const ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType); }; class IFC_PARSE_API IfcFacilityPartCommon : public IfcFacilityPart { public: IfcFacilityPartCommon() {} - explicit IfcFacilityPartCommon (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcFacilityPartCommon (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcFacilityPartCommonTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: @@ -34510,13 +34510,13 @@ public: class IFC_PARSE_API IfcFastener : public IfcElementComponent { public: IfcFastener() {} - explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of fastener std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: @@ -34545,13 +34545,13 @@ public: class IFC_PARSE_API IfcFastenerType : public IfcElementComponentType { public: IfcFastenerType() {} - explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of fastener ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFastenerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all existence @@ -34651,10 +34651,10 @@ public: class IFC_PARSE_API IfcFeatureElement : public IfcElement { public: IfcFeatureElement() {} - explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFeatureElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: A specialization of the general @@ -34715,11 +34715,11 @@ public: class IFC_PARSE_API IfcFeatureElementAddition : public IfcFeatureElement { public: IfcFeatureElementAddition() {} - explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementAddition (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelProjectsElement > ProjectsElements() const; // INVERSE IfcRelProjectsElement::RelatedFeatureElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The IfcFeatureElementSubtraction is specialization of @@ -34775,11 +34775,11 @@ public: class IFC_PARSE_API IfcFeatureElementSubtraction : public IfcFeatureElement { public: IfcFeatureElementSubtraction() {} - explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcFeatureElementSubtraction (const std::weak_ptr& data) : IfcFeatureElement(data) {} std::vector< IfcRelVoidsElement > VoidsElements() const; // INVERSE IfcRelVoidsElement::RelatedOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The element type IfcFlowControllerType defines a list of commonly shared property @@ -34807,10 +34807,10 @@ public: class IFC_PARSE_API IfcFlowControllerType : public IfcDistributionFlowElementType { public: IfcFlowControllerType() {} - explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowControllerType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowFittingType defines a list of commonly shared property @@ -34839,10 +34839,10 @@ public: class IFC_PARSE_API IfcFlowFittingType : public IfcDistributionFlowElementType { public: IfcFlowFittingType() {} - explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowFittingType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The flow controller type IfcFlowMeterType defines commonly shared information for occurrences of flow meters. The set of shared information may include: @@ -34880,13 +34880,13 @@ public: class IFC_PARSE_API IfcFlowMeterType : public IfcFlowControllerType { public: IfcFlowMeterType() {} - explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcFlowMeterType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Defines the type of flow meter. ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value v10_PredefinedType); }; /// The element type IfcFlowMovingDeviceType defines a list of commonly shared property @@ -34914,10 +34914,10 @@ public: class IFC_PARSE_API IfcFlowMovingDeviceType : public IfcDistributionFlowElementType { public: IfcFlowMovingDeviceType() {} - explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowMovingDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowSegmentType defines a list of commonly shared property @@ -34954,10 +34954,10 @@ public: class IFC_PARSE_API IfcFlowSegmentType : public IfcDistributionFlowElementType { public: IfcFlowSegmentType() {} - explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowSegmentType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowStorageDeviceType defines a list of commonly shared property set definitions of a flow storage device and an optional set of product representations. It is used to define a flow storage device specification (the specific product information that is common to all occurrences of that product type). @@ -34970,10 +34970,10 @@ public: class IFC_PARSE_API IfcFlowStorageDeviceType : public IfcDistributionFlowElementType { public: IfcFlowStorageDeviceType() {} - explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowStorageDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTerminalType defines a list of commonly shared property set definitions of a flow terminal and an optional set of product representations. It is used to define a flow terminal specification (the specific product information that is common to all occurrences of that product type). @@ -34986,10 +34986,10 @@ public: class IFC_PARSE_API IfcFlowTerminalType : public IfcDistributionFlowElementType { public: IfcFlowTerminalType() {} - explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTerminalType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// The element type IfcFlowTreatmentDeviceType defines a list of commonly shared property set definitions of a flow treatment device and an optional set of product representations. It is used to define a flow treatment device specification (the specific product information that is common to all occurrences of that product type). @@ -35003,10 +35003,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDeviceType : public IfcDistributionFlowElementType { public: IfcFlowTreatmentDeviceType() {} - explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcFooting. @@ -35021,13 +35021,13 @@ public: class IFC_PARSE_API IfcFootingType : public IfcBuiltElementType { public: IfcFootingType() {} - explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcFootingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Subtype of footing. ::Ifc4x3_tc1::IfcFootingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcFootingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFootingTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Generalization of all furniture @@ -35137,10 +35137,10 @@ public: class IFC_PARSE_API IfcFurnishingElement : public IfcElement { public: IfcFurnishingElement() {} - explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcFurnishingElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Furniture defines complete furnishings such as a table, desk, chair, or cabinet, which may or may not be permanently attached to a building structure. @@ -35177,12 +35177,12 @@ public: class IFC_PARSE_API IfcFurniture : public IfcFurnishingElement { public: IfcFurniture() {} - explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcFurniture (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFurnitureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcGeographicElement is @@ -35328,49 +35328,49 @@ public: class IFC_PARSE_API IfcGeographicElement : public IfcElement { public: IfcGeographicElement() {} - explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeographicElement (const std::weak_ptr& data) : IfcElement(data) {} /// Predefined generic types for a geographic element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcGeographicElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalElement : public IfcElement { public: IfcGeotechnicalElement() {} - explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcGeotechnicalElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeotechnicalStratum : public IfcGeotechnicalElement { public: IfcGeotechnicalStratum() {} - explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalStratum (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcGeotechnicalStratumTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGradientCurve : public IfcCompositeCurve { public: IfcGradientCurve() {} - explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcGradientCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_tc1::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_tc1::IfcBoundedCurve& v); ::Ifc4x3_tc1::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_tc1::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_tc1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_tc1::IfcPlacement v4_EndPoint); }; /// IfcGroup is an generalization of any arbitrary group. A group is a logical collection of objects. It does not have its own position, nor can it hold its own shape representation. Therefore a group is an aggregation under some non-geometrical / topological grouping aspects. @@ -35406,12 +35406,12 @@ public: class IFC_PARSE_API IfcGroup : public IfcObject { public: IfcGroup() {} - explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} + explicit IfcGroup (const std::weak_ptr& data) : IfcObject(data) {} std::vector< IfcRelAssignsToGroup > IsGroupedBy() const; // INVERSE IfcRelAssignsToGroup::RelatingGroup std::vector< IfcRelReferencedInSpatialStructure > ReferencedInStructures() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// The energy conversion device type IfcHeatExchangerType defines commonly shared information for occurrences of heat exchangers. The set of shared information may include: @@ -35446,13 +35446,13 @@ public: class IFC_PARSE_API IfcHeatExchangerType : public IfcEnergyConversionDeviceType { public: IfcHeatExchangerType() {} - explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHeatExchangerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the basic types of heat exchanger (e.g., plate, shell and tube, etc.). ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcHumidifierType defines commonly shared information for occurrences of humidifiers. The set of shared information may include: @@ -35484,44 +35484,44 @@ public: class IFC_PARSE_API IfcHumidifierType : public IfcEnergyConversionDeviceType { public: IfcHumidifierType() {} - explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcHumidifierType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of humidifier. ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDevice : public IfcElementComponent { public: IfcImpactProtectionDevice() {} - explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcImpactProtectionDevice (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcImpactProtectionDeviceType : public IfcElementComponentType { public: IfcImpactProtectionDeviceType() {} - explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcImpactProtectionDeviceType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcImpactProtectionDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIndexedPolyCurve : public IfcBoundedCurve { public: IfcIndexedPolyCurve() {} - explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcIndexedPolyCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} ::Ifc4x3_tc1::IfcCartesianPointList Points() const; void setPoints(const ::Ifc4x3_tc1::IfcCartesianPointList& v); @@ -35530,7 +35530,7 @@ public: std::optional< bool > SelfIntersect() const; void setSelfIntersect(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCartesianPointList v1_Points, std::optional< std::vector< ::Ifc4x3_tc1::IfcSegmentIndexSelect > > v2_Segments, std::optional< bool > v3_SelfIntersect); }; /// The flow treatment device type IfcInterceptorType defines commonly shared information for occurrences of interceptors. The set of shared information may include: @@ -35569,22 +35569,22 @@ public: class IFC_PARSE_API IfcInterceptorType : public IfcFlowTreatmentDeviceType { public: IfcInterceptorType() {} - explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcInterceptorType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcIntersectionCurve : public IfcSurfaceCurve { public: IfcIntersectionCurve() {} - explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcIntersectionCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; /// An inventory is a list of items within an enterprise. @@ -35601,7 +35601,7 @@ public: class IFC_PARSE_API IfcInventory : public IfcGroup { public: IfcInventory() {} - explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcInventory (const std::weak_ptr& data) : IfcGroup(data) {} /// A list of the types of inventories from which that required may be selected. /// @@ -35626,7 +35626,7 @@ public: ::Ifc4x3_tc1::IfcCostValue OriginalValue() const; void setOriginalValue(const ::Ifc4x3_tc1::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcInventoryTypeEnum::Value > v6_PredefinedType, ::Ifc4x3_tc1::IfcActorSelect v7_Jurisdiction, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_ResponsiblePersons, std::optional< std::string > v9_LastUpdateDate, ::Ifc4x3_tc1::IfcCostValue v10_CurrentValue, ::Ifc4x3_tc1::IfcCostValue v11_OriginalValue); }; /// The flow fitting type IfcJunctionBoxType defines commonly shared information for occurrences of junction boxs. The set of shared information may include: @@ -35659,25 +35659,25 @@ public: class IFC_PARSE_API IfcJunctionBoxType : public IfcFlowFittingType { public: IfcJunctionBoxType() {} - explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcJunctionBoxType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of junction boxes from which the type required may be set. ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcKerbType : public IfcBuiltElementType { public: IfcKerbType() {} - explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcKerbType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_tc1::IfcKerbTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcKerbTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcKerbTypeEnum::Value v10_PredefinedType); }; /// An IfcLaborResource is used in construction with particular skills or crafts required to perform certain types of construction or management related work. @@ -35707,14 +35707,14 @@ public: class IFC_PARSE_API IfcLaborResource : public IfcConstructionResource { public: IfcLaborResource() {} - explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcLaborResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of labor resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcLaborResourceTypeEnum::Value > v11_PredefinedType); }; /// The flow terminal type IfcLampType defines commonly shared information for occurrences of lamps. The set of shared information may include: @@ -35749,13 +35749,13 @@ public: class IFC_PARSE_API IfcLampType : public IfcFlowTerminalType { public: IfcLampType() {} - explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLampType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of lamp from which the type required may be set. ::Ifc4x3_tc1::IfcLampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcLampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLampTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcLightFixtureType defines commonly shared information for occurrences of light fixtures. The set of shared information may include: @@ -35792,59 +35792,59 @@ public: class IFC_PARSE_API IfcLightFixtureType : public IfcFlowTerminalType { public: IfcLightFixtureType() {} - explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLightFixtureType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of light fixture from which the type required may be set. ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcLinearElement : public IfcProduct { public: IfcLinearElement() {} - explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcLinearElement (const std::weak_ptr& data) : IfcProduct(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminalType : public IfcFlowTerminalType { public: IfcLiquidTerminalType() {} - explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcLiquidTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMarineFacility : public IfcFacility { public: IfcMarineFacility() {} - explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcMarineFacility (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcMarineFacilityTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcMarinePart : public IfcFacilityPart { public: IfcMarinePart() {} - explicit IfcMarinePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcMarinePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcMarinePartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: Fasteners connecting building elements mechanically. A single instance of this class may represent one or many of actual mechanical fasteners, for example an array of bolts or a row of nails. @@ -35879,7 +35879,7 @@ public: class IFC_PARSE_API IfcMechanicalFastener : public IfcElementComponent { public: IfcMechanicalFastener() {} - explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcMechanicalFastener (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -35889,7 +35889,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_NominalDiameter, std::optional< double > v10_NominalLength, std::optional< ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcMechanicalFastenerType) defines a list of commonly shared property set definitions of a fastener and an optional set of product representations. It is used to define mechanical fasteners mainly within structural and building services domains (i.e. the specific type information common to all occurrences of that type). @@ -35930,7 +35930,7 @@ public: class IFC_PARSE_API IfcMechanicalFastenerType : public IfcElementComponentType { public: IfcMechanicalFastenerType() {} - explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcMechanicalFastenerType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of mechanical fastener ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value PredefinedType() const; @@ -35942,7 +35942,7 @@ public: std::optional< double > NominalLength() const; void setNominalLength(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMechanicalFastenerTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_NominalLength); }; /// The flow terminal type IfcMedicalDeviceType defines commonly shared information for occurrences of medical devices. The set of shared information may include: @@ -35974,12 +35974,12 @@ public: class IFC_PARSE_API IfcMedicalDeviceType : public IfcFlowTerminalType { public: IfcMedicalDeviceType() {} - explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMedicalDeviceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -36086,37 +36086,37 @@ public: class IFC_PARSE_API IfcMemberType : public IfcBuiltElementType { public: IfcMemberType() {} - explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMemberType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a linear structural member element from which the type required may be set. ::Ifc4x3_tc1::IfcMemberTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcMemberTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMemberTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsApplianceType : public IfcFlowTerminalType { public: IfcMobileTelecommunicationsApplianceType() {} - explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcMobileTelecommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcMooringDeviceType : public IfcBuiltElementType { public: IfcMooringDeviceType() {} - explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcMooringDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcMotorConnectionType defines commonly shared information for occurrences of motor connections. The set of shared information may include: @@ -36149,25 +36149,25 @@ public: class IFC_PARSE_API IfcMotorConnectionType : public IfcEnergyConversionDeviceType { public: IfcMotorConnectionType() {} - explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcMotorConnectionType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of motor connection from which the type required may be set. ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcNavigationElementType : public IfcBuiltElementType { public: IfcNavigationElementType() {} - explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcNavigationElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value v10_PredefinedType); }; /// An occupant is a type of actor that defines the form of occupancy of a property. @@ -36180,7 +36180,7 @@ public: class IFC_PARSE_API IfcOccupant : public IfcActor { public: IfcOccupant() {} - explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} + explicit IfcOccupant (const std::weak_ptr& data) : IfcActor(data) {} /// Predefined occupant types from which that required may be set. /// @@ -36188,7 +36188,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcActorSelect v6_TheActor, std::optional< ::Ifc4x3_tc1::IfcOccupantTypeEnum::Value > v7_PredefinedType); }; /// The opening element stands for @@ -36396,7 +36396,7 @@ public: class IFC_PARSE_API IfcOpeningElement : public IfcFeatureElementSubtraction { public: IfcOpeningElement() {} - explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcOpeningElement (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Predefined generic type for an opening that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -36405,7 +36405,7 @@ public: void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value >& v); std::vector< IfcRelFillsElement > HasFillings() const; // INVERSE IfcRelFillsElement::RelatingOpeningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcOpeningElementTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcOutletType defines commonly shared information for occurrences of outlets. The set of shared information may include: @@ -36440,25 +36440,25 @@ public: class IFC_PARSE_API IfcOutletType : public IfcFlowTerminalType { public: IfcOutletType() {} - explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcOutletType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of outlet from which the type required may be set. ::Ifc4x3_tc1::IfcOutletTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcOutletTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcOutletTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPavementType : public IfcBuiltElementType { public: IfcPavementType() {} - explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPavementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_tc1::IfcPavementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcPavementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPavementTypeEnum::Value v10_PredefinedType); }; /// IfcPerformanceHistory is used to document the actual performance of an occurrence instance over time. In practice, performance-related data are generally not easy to obtain as they can originate from different sources (predicted, simulated, or measured) and occur during different stages of the building life-cycle. Such time-related data cover a large spectrum, including meteorological data, schedules, operational status measurements, trend reports, etc. @@ -36469,7 +36469,7 @@ public: class IFC_PARSE_API IfcPerformanceHistory : public IfcControl { public: IfcPerformanceHistory() {} - explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPerformanceHistory (const std::weak_ptr& data) : IfcControl(data) {} /// Describes the applicable building life-cycle phase. Typical values should be DESIGNDEVELOPMENT, SCHEMATICDEVELOPMENT, CONSTRUCTIONDOCUMENT, CONSTRUCTION, ASBUILT, COMMISSIONING, OPERATION, etc. std::string LifeCyclePhase() const; @@ -36480,7 +36480,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_LifeCyclePhase, std::optional< ::Ifc4x3_tc1::IfcPerformanceHistoryTypeEnum::Value > v8_PredefinedType); }; /// This entity is a description of a panel within a @@ -36517,7 +36517,7 @@ public: class IFC_PARSE_API IfcPermeableCoveringProperties : public IfcPreDefinedPropertySet { public: IfcPermeableCoveringProperties() {} - explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} + explicit IfcPermeableCoveringProperties (const std::weak_ptr& data) : IfcPreDefinedPropertySet(data) {} /// Types of permeable covering operations. Also used to assign standard symbolic presentations according to national building standards. ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value OperationType() const; @@ -36535,7 +36535,7 @@ public: ::Ifc4x3_tc1::IfcShapeAspect ShapeAspectStyle() const; void setShapeAspectStyle(const ::Ifc4x3_tc1::IfcShapeAspect& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcPermeableCoveringOperationEnum::Value v5_OperationType, ::Ifc4x3_tc1::IfcWindowPanelPositionEnum::Value v6_PanelPosition, std::optional< double > v7_FrameDepth, std::optional< double > v8_FrameThickness, ::Ifc4x3_tc1::IfcShapeAspect v9_ShapeAspectStyle); }; /// A permit is a permission to perform work in places and on artifacts where regulatory, security or other access restrictions apply. @@ -36578,7 +36578,7 @@ public: class IFC_PARSE_API IfcPermit : public IfcControl { public: IfcPermit() {} - explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcPermit (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined types of permit that can be granted. /// @@ -36596,7 +36596,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcPermitTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// Definition from IAI: Provides shared material, decomposition, representation maps, and property sets for instances of IfcPile. @@ -36609,13 +36609,13 @@ public: class IFC_PARSE_API IfcPileType : public IfcDeepFoundationType { public: IfcPileType() {} - explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcPileType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} /// Subtype of pile. ::Ifc4x3_tc1::IfcPileTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcPileTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPileTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcPipeFittingType defines commonly shared information for occurrences of pipe fittings. The set of shared information may include: @@ -36650,13 +36650,13 @@ public: class IFC_PARSE_API IfcPipeFittingType : public IfcFlowFittingType { public: IfcPipeFittingType() {} - explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcPipeFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of pipe fitting. ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcPipeSegmentType defines commonly shared information for occurrences of pipe segments. The set of shared information may include: @@ -36695,13 +36695,13 @@ public: class IFC_PARSE_API IfcPipeSegmentType : public IfcFlowSegmentType { public: IfcPipeSegmentType() {} - explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcPipeSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of pipe segment. ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value v10_PredefinedType); }; /// The element type IfcPlateType defines commonly shared @@ -36784,20 +36784,20 @@ public: class IFC_PARSE_API IfcPlateType : public IfcBuiltElementType { public: IfcPlateType() {} - explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcPlateType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a planar member element from which the type required may be set. ::Ifc4x3_tc1::IfcPlateTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcPlateTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPlateTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcPolygonalFaceSet : public IfcTessellatedFaceSet { public: IfcPolygonalFaceSet() {} - explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} + explicit IfcPolygonalFaceSet (const std::weak_ptr& data) : IfcTessellatedFaceSet(data) {} std::optional< bool > Closed() const; void setClosed(const std::optional< bool >& v); @@ -36806,7 +36806,7 @@ public: std::optional< std::vector< int > /*[1:?]*/ > PnIndex() const; void setPnIndex(const std::optional< std::vector< int > /*[1:?]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCartesianPointList3D v1_Coordinates, std::optional< bool > v2_Closed, std::vector< ::Ifc4x3_tc1::IfcIndexedPolygonalFace > v3_Faces, std::optional< std::vector< int > /*[1:?]*/ > v4_PnIndex); }; /// Definition from ISO/CD 10303-42:1992: A polyline @@ -36826,13 +36826,13 @@ public: class IFC_PARSE_API IfcPolyline : public IfcBoundedCurve { public: IfcPolyline() {} - explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcPolyline (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The points defining the polyline. std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > Points() const; void setPoints(const std::vector< ::Ifc4x3_tc1::IfcCartesianPoint >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v1_Points); }; /// Definition from IAI: An IfcPort provides the @@ -36891,25 +36891,25 @@ public: class IFC_PARSE_API IfcPort : public IfcProduct { public: IfcPort() {} - explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPort (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelConnectsPortToElement > ContainedIn() const; // INVERSE IfcRelConnectsPortToElement::RelatingPort std::vector< IfcRelConnectsPorts > ConnectedFrom() const; // INVERSE IfcRelConnectsPorts::RelatedPort std::vector< IfcRelConnectsPorts > ConnectedTo() const; // INVERSE IfcRelConnectsPorts::RelatingPort - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcPositioningElement : public IfcProduct { public: IfcPositioningElement() {} - explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} + explicit IfcPositioningElement (const std::weak_ptr& data) : IfcProduct(data) {} std::vector< IfcRelContainedInSpatialStructure > ContainedInStructure() const; // INVERSE IfcRelContainedInSpatialStructure::RelatedElements std::vector< IfcRelPositions > Positions() const; // INVERSE IfcRelPositions::RelatingPositioningElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation); }; /// An IfcProcedure is a @@ -37019,14 +37019,14 @@ public: class IFC_PARSE_API IfcProcedure : public IfcProcess { public: IfcProcedure() {} - explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} + explicit IfcProcedure (const std::weak_ptr& data) : IfcProcess(data) {} /// Identifies the predefined types of a procedure from which /// the type required may be set. std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, std::optional< ::Ifc4x3_tc1::IfcProcedureTypeEnum::Value > v8_PredefinedType); }; /// A project order is a directive to purchase products and/or perform work, such as for construction or facilities management. @@ -37075,7 +37075,7 @@ public: class IFC_PARSE_API IfcProjectOrder : public IfcControl { public: IfcProjectOrder() {} - explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcProjectOrder (const std::weak_ptr& data) : IfcControl(data) {} /// Predefined generic type for a project order that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37097,7 +37097,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcProjectOrderTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The projection element is a @@ -37210,7 +37210,7 @@ public: class IFC_PARSE_API IfcProjectionElement : public IfcFeatureElementAddition { public: IfcProjectionElement() {} - explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} + explicit IfcProjectionElement (const std::weak_ptr& data) : IfcFeatureElementAddition(data) {} /// Predefined generic type for a projection element that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// @@ -37218,7 +37218,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProjectionElementTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcProtectiveDeviceType defines commonly shared information for occurrences of protective devices. The set of shared information may include: @@ -37259,13 +37259,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceType : public IfcFlowControllerType { public: IfcProtectiveDeviceType() {} - explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcProtectiveDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of protective device from which the type required may be set. ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcPumpType defines commonly shared information for occurrences of pumps. The set of shared information may include: @@ -37299,25 +37299,25 @@ public: class IFC_PARSE_API IfcPumpType : public IfcFlowMovingDeviceType { public: IfcPumpType() {} - explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcPumpType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of pump typically used in building services. ::Ifc4x3_tc1::IfcPumpTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcPumpTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcPumpTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailType : public IfcBuiltElementType { public: IfcRailType() {} - explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_tc1::IfcRailTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcRailTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRailTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcRailingType) @@ -37343,37 +37343,37 @@ public: class IFC_PARSE_API IfcRailingType : public IfcBuiltElementType { public: IfcRailingType() {} - explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRailingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a railing element from which the type required may be set. ::Ifc4x3_tc1::IfcRailingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcRailingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRailingTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcRailway : public IfcFacility { public: IfcRailway() {} - explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRailway (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcRailwayTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcRailwayPart : public IfcFacilityPart { public: IfcRailwayPart() {} - explicit IfcRailwayPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcRailwayPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcRailwayPartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type (IfcRampFlightType) @@ -37399,13 +37399,13 @@ public: class IFC_PARSE_API IfcRampFlightType : public IfcBuiltElementType { public: IfcRampFlightType() {} - explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp flight element from which the type required may be set. ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -37444,13 +37444,13 @@ public: class IFC_PARSE_API IfcRampType : public IfcBuiltElementType { public: IfcRampType() {} - explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRampType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a ramp element from which the type required may be set. ::Ifc4x3_tc1::IfcRampTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcRampTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRampTypeEnum::Value v10_PredefinedType); }; /// A rational B-spline surface with knots is a piecewise parametric rational surface described in terms of control points, and associated weight values. @@ -37469,25 +37469,25 @@ public: class IFC_PARSE_API IfcRationalBSplineSurfaceWithKnots : public IfcBSplineSurfaceWithKnots { public: IfcRationalBSplineSurfaceWithKnots() {} - explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} + explicit IfcRationalBSplineSurfaceWithKnots (const std::weak_ptr& data) : IfcBSplineSurfaceWithKnots(data) {} /// The weights associated with the control points in the rational case. std::vector< std::vector< double > > WeightsData() const; void setWeightsData(const std::vector< std::vector< double > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_UDegree, int v2_VDegree, std::vector< std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > > v3_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v12_KnotSpec, std::vector< std::vector< double > > v13_WeightsData); }; class IFC_PARSE_API IfcReferent : public IfcPositioningElement { public: IfcReferent() {} - explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcReferent (const std::weak_ptr& data) : IfcPositioningElement(data) {} std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcReferentTypeEnum::Value > v8_PredefinedType); }; /// Definition from IAI: Bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37501,12 +37501,12 @@ public: class IFC_PARSE_API IfcReinforcingElement : public IfcElementComponent { public: IfcReinforcingElement() {} - explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcReinforcingElement (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< std::string > SteelGrade() const; void setSteelGrade(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade); }; /// Definition from IAI: Types of bars, wires, strands, meshes, tendons, and other components embedded in concrete in such a manner that the reinforcement and the concrete act together in resisting forces. @@ -37515,10 +37515,10 @@ public: class IFC_PARSE_API IfcReinforcingElementType : public IfcElementComponentType { public: IfcReinforcingElementType() {} - explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcReinforcingElementType (const std::weak_ptr& data) : IfcElementComponentType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37548,7 +37548,7 @@ public: class IFC_PARSE_API IfcReinforcingMesh : public IfcReinforcingElement { public: IfcReinforcingMesh() {} - explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingMesh (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > MeshLength() const; void setMeshLength(const std::optional< double >& v); @@ -37570,7 +37570,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_MeshLength, std::optional< double > v11_MeshWidth, std::optional< double > v12_LongitudinalBarNominalDiameter, std::optional< double > v13_TransverseBarNominalDiameter, std::optional< double > v14_LongitudinalBarCrossSectionArea, std::optional< double > v15_TransverseBarCrossSectionArea, std::optional< double > v16_LongitudinalBarSpacing, std::optional< double > v17_TransverseBarSpacing, std::optional< ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value > v18_PredefinedType); }; /// Definition from IAI: A series of longitudinal and transverse wires or bars of various gauges, arranged at right angles to each other and welded at all points of intersection; usually used for concrete slab reinforcement. Also known as welded wire fabric. @@ -37587,7 +37587,7 @@ public: class IFC_PARSE_API IfcReinforcingMeshType : public IfcReinforcingElementType { public: IfcReinforcingMeshType() {} - explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingMeshType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always MESH. ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value PredefinedType() const; @@ -37621,21 +37621,21 @@ public: std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcReinforcingMeshTypeEnum::Value v10_PredefinedType, std::optional< double > v11_MeshLength, std::optional< double > v12_MeshWidth, std::optional< double > v13_LongitudinalBarNominalDiameter, std::optional< double > v14_TransverseBarNominalDiameter, std::optional< double > v15_LongitudinalBarCrossSectionArea, std::optional< double > v16_TransverseBarCrossSectionArea, std::optional< double > v17_LongitudinalBarSpacing, std::optional< double > v18_TransverseBarSpacing, std::optional< std::string > v19_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > v20_BendingParameters); }; class IFC_PARSE_API IfcRelAdheresToElement : public IfcRelDecomposes { public: IfcRelAdheresToElement() {} - explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAdheresToElement (const std::weak_ptr& data) : IfcRelDecomposes(data) {} ::Ifc4x3_tc1::IfcElement RelatingElement() const; void setRelatingElement(const ::Ifc4x3_tc1::IfcElement& v); std::vector< ::Ifc4x3_tc1::IfcSurfaceFeature > RelatedSurfaceFeatures() const; void setRelatedSurfaceFeatures(const std::vector< ::Ifc4x3_tc1::IfcSurfaceFeature >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcElement v5_RelatingElement, std::vector< ::Ifc4x3_tc1::IfcSurfaceFeature > v6_RelatedSurfaceFeatures); }; /// The aggregation relationship @@ -37663,7 +37663,7 @@ public: class IFC_PARSE_API IfcRelAggregates : public IfcRelDecomposes { public: IfcRelAggregates() {} - explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} + explicit IfcRelAggregates (const std::weak_ptr& data) : IfcRelDecomposes(data) {} /// The object definition, either an object type or an object occurrence, that represents the aggregation. It is the whole within the whole/part relationship. /// @@ -37676,31 +37676,31 @@ public: std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > RelatedObjects() const; void setRelatedObjects(const std::vector< ::Ifc4x3_tc1::IfcObjectDefinition >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, ::Ifc4x3_tc1::IfcObjectDefinition v5_RelatingObject, std::vector< ::Ifc4x3_tc1::IfcObjectDefinition > v6_RelatedObjects); }; class IFC_PARSE_API IfcRoad : public IfcFacility { public: IfcRoad() {} - explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcRoad (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcRoadTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcRoadPart : public IfcFacilityPart { public: IfcRoadPart() {} - explicit IfcRoadPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcRoadPart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcRoadPartTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: The element type @@ -37738,13 +37738,13 @@ public: class IFC_PARSE_API IfcRoofType : public IfcBuiltElementType { public: IfcRoofType() {} - explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcRoofType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a roof element from which the type required may be set. ::Ifc4x3_tc1::IfcRoofTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcRoofTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcRoofTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcSanitaryTerminalType defines commonly shared information for occurrences of sanitary terminals. The set of shared information may include: @@ -37787,30 +37787,30 @@ public: class IFC_PARSE_API IfcSanitaryTerminalType : public IfcFlowTerminalType { public: IfcSanitaryTerminalType() {} - explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSanitaryTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of sanitary terminal from which the type required may be set. ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSeamCurve : public IfcSurfaceCurve { public: IfcSeamCurve() {} - explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} + explicit IfcSeamCurve (const std::weak_ptr& data) : IfcSurfaceCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_Curve3D, std::vector< ::Ifc4x3_tc1::IfcPcurve > v2_AssociatedGeometry, ::Ifc4x3_tc1::IfcPreferredSurfaceCurveRepresentation::Value v3_MasterRepresentation); }; class IFC_PARSE_API IfcSecondOrderPolynomialSpiral : public IfcSpiral { public: IfcSecondOrderPolynomialSpiral() {} - explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSecondOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double QuadraticTerm() const; void setQuadraticTerm(const double& v); @@ -37819,28 +37819,28 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_QuadraticTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; class IFC_PARSE_API IfcSegmentedReferenceCurve : public IfcCompositeCurve { public: IfcSegmentedReferenceCurve() {} - explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} + explicit IfcSegmentedReferenceCurve (const std::weak_ptr& data) : IfcCompositeCurve(data) {} ::Ifc4x3_tc1::IfcBoundedCurve BaseCurve() const; void setBaseCurve(const ::Ifc4x3_tc1::IfcBoundedCurve& v); ::Ifc4x3_tc1::IfcPlacement EndPoint() const; void setEndPoint(const ::Ifc4x3_tc1::IfcPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect, ::Ifc4x3_tc1::IfcBoundedCurve v3_BaseCurve, ::Ifc4x3_tc1::IfcPlacement v4_EndPoint); }; class IFC_PARSE_API IfcSeventhOrderPolynomialSpiral : public IfcSpiral { public: IfcSeventhOrderPolynomialSpiral() {} - explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSeventhOrderPolynomialSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double SepticTerm() const; void setSepticTerm(const double& v); @@ -37859,7 +37859,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_SepticTerm, std::optional< double > v3_SexticTerm, std::optional< double > v4_QuinticTerm, std::optional< double > v5_QuarticTerm, std::optional< double > v6_CubicTerm, std::optional< double > v7_QuadraticTerm, std::optional< double > v8_LinearTerm, std::optional< double > v9_ConstantTerm); }; /// Definition from IAI: The IfcShadingDeviceType @@ -37886,56 +37886,56 @@ public: class IFC_PARSE_API IfcShadingDeviceType : public IfcBuiltElementType { public: IfcShadingDeviceType() {} - explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcShadingDeviceType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a shading device element from which the type required may be set. ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSign : public IfcElementComponent { public: IfcSign() {} - explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcSign (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSignTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignType : public IfcElementComponentType { public: IfcSignType() {} - explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcSignType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_tc1::IfcSignTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcSignTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSignTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSignalType : public IfcFlowTerminalType { public: IfcSignalType() {} - explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSignalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_tc1::IfcSignalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcSignalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSignalTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcSineSpiral : public IfcSpiral { public: IfcSineSpiral() {} - explicit IfcSineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} + explicit IfcSineSpiral (const std::weak_ptr& data) : IfcSpiral(data) {} double SineTerm() const; void setSineTerm(const double& v); @@ -37944,7 +37944,7 @@ public: std::optional< double > ConstantTerm() const; void setConstantTerm(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_SineTerm, std::optional< double > v3_LinearTerm, std::optional< double > v4_ConstantTerm); }; /// Definition from ISO 6707-1:1989: Area where construction @@ -38139,7 +38139,7 @@ public: class IFC_PARSE_API IfcSite : public IfcSpatialStructureElement { public: IfcSite() {} - explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSite (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// World Latitude at reference point (most likely defined in legal description). Defined as integer values for degrees, minutes, seconds, and, optionally, millionths of seconds with respect to the world geodetic system WGS84. /// Latitudes are measured relative to the geodetic equator, north of the equator by positive values - from 0 till +90, south of the equator by negative values - from 0 till -90. @@ -38160,7 +38160,7 @@ public: ::Ifc4x3_tc1::IfcPostalAddress SiteAddress() const; void setSiteAddress(const ::Ifc4x3_tc1::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< std::vector< int > /*[3:4]*/ > v10_RefLatitude, std::optional< std::vector< int > /*[3:4]*/ > v11_RefLongitude, std::optional< double > v12_RefElevation, std::optional< std::string > v13_LandTitleNumber, ::Ifc4x3_tc1::IfcPostalAddress v14_SiteAddress); }; /// The element type IfcSlabType defines commonly shared @@ -38243,13 +38243,13 @@ public: class IFC_PARSE_API IfcSlabType : public IfcBuiltElementType { public: IfcSlabType() {} - explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcSlabType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a slab element from which the type required may be set. ::Ifc4x3_tc1::IfcSlabTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcSlabTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSlabTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcSolarDeviceType defines commonly shared information for occurrences of solar devices. The set of shared information may include: @@ -38281,12 +38281,12 @@ public: class IFC_PARSE_API IfcSolarDeviceType : public IfcEnergyConversionDeviceType { public: IfcSolarDeviceType() {} - explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcSolarDeviceType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value v10_PredefinedType); }; /// A space represents an area or volume @@ -38542,7 +38542,7 @@ public: class IFC_PARSE_API IfcSpace : public IfcSpatialStructureElement { public: IfcSpace() {} - explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} + explicit IfcSpace (const std::weak_ptr& data) : IfcSpatialStructureElement(data) {} /// Predefined generic types for a space that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -38557,7 +38557,7 @@ public: std::vector< IfcRelCoversSpaces > HasCoverings() const; // INVERSE IfcRelCoversSpaces::RelatingSpace std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_ElevationWithFlooring); }; /// The energy conversion device type IfcSpaceHeaterType defines commonly shared information for occurrences of space heaters. The set of shared information may include: @@ -38593,13 +38593,13 @@ public: class IFC_PARSE_API IfcSpaceHeaterType : public IfcFlowTerminalType { public: IfcSpaceHeaterType() {} - explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcSpaceHeaterType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Enumeration of possible types of space heater (e.g., baseboard heater, convector, radiator, etc.). ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A space represents an area or @@ -38686,7 +38686,7 @@ public: class IFC_PARSE_API IfcSpaceType : public IfcSpatialStructureElementType { public: IfcSpaceType() {} - explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} + explicit IfcSpaceType (const std::weak_ptr& data) : IfcSpatialStructureElementType(data) {} /// Predefined types to define the particular type of space. There may be property set definitions available for each predefined type. ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value PredefinedType() const; @@ -38694,7 +38694,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSpaceTypeEnum::Value v10_PredefinedType, std::optional< std::string > v11_LongName); }; /// The flow terminal type IfcStackTerminalType defines commonly shared information for occurrences of stack terminals. The set of shared information may include: @@ -38726,13 +38726,13 @@ public: class IFC_PARSE_API IfcStackTerminalType : public IfcFlowTerminalType { public: IfcStackTerminalType() {} - explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcStackTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of stack terminal from which the type required may be set. ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type (IfcStairFlightType) @@ -38758,13 +38758,13 @@ public: class IFC_PARSE_API IfcStairFlightType : public IfcBuiltElementType { public: IfcStairFlightType() {} - explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairFlightType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair flight element from which the type required may be set. ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -38803,13 +38803,13 @@ public: class IFC_PARSE_API IfcStairType : public IfcBuiltElementType { public: IfcStairType() {} - explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcStairType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a stair element from which the type required may be set. ::Ifc4x3_tc1::IfcStairTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcStairTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcStairTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A structural action is a structural activity that acts upon @@ -38834,13 +38834,13 @@ public: class IFC_PARSE_API IfcStructuralAction : public IfcStructuralActivity { public: IfcStructuralAction() {} - explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} + explicit IfcStructuralAction (const std::weak_ptr& data) : IfcStructuralActivity(data) {} /// Indicates if this action may cause a stability problem. If it is 'FALSE', no further investigations regarding stability problems are necessary. std::optional< bool > DestabilizingLoad() const; void setDestabilizingLoad(const std::optional< bool >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: An IfcStructuralConnection represents a structural connection object (node i.e. vertex connection, or edge connection, or surface connection) or supports. @@ -38849,14 +38849,14 @@ public: class IFC_PARSE_API IfcStructuralConnection : public IfcStructuralItem { public: IfcStructuralConnection() {} - explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} + explicit IfcStructuralConnection (const std::weak_ptr& data) : IfcStructuralItem(data) {} /// Optional boundary conditions which define support conditions of this connection object, given in local coordinate directions of the connection object. If left unspecified, the connection object is assumed to have no supports besides being connected with members. ::Ifc4x3_tc1::IfcBoundaryCondition AppliedCondition() const; void setAppliedCondition(const ::Ifc4x3_tc1::IfcBoundaryCondition& v); std::vector< IfcRelConnectsStructuralMember > ConnectsStructuralMembers() const; // INVERSE IfcRelConnectsStructuralMember::RelatedStructuralConnection - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition); }; /// Definition from IAI: Defines an action which is distributed over a curve. @@ -38918,7 +38918,7 @@ public: class IFC_PARSE_API IfcStructuralCurveAction : public IfcStructuralAction { public: IfcStructuralCurveAction() {} - explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralCurveAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true length of the curve on which they act, or per length of the projection of the curve in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -38927,7 +38927,7 @@ public: ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralCurveConnection describe edge 'nodes', i.e. edges where two or more surface members are joined, or edge supports. Edge curves may be straight or curved. @@ -38950,12 +38950,12 @@ public: class IFC_PARSE_API IfcStructuralCurveConnection : public IfcStructuralConnection { public: IfcStructuralCurveConnection() {} - explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralCurveConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} ::Ifc4x3_tc1::IfcDirection AxisDirection() const; void setAxisDirection(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_tc1::IfcDirection v9_AxisDirection); }; /// Definition from IAI: Instances of IfcStructuralCurveMember describe edge members, i.e. structural analysis idealizations of beams, columns, rods etc.. Curve members may be straight or curved. @@ -38998,7 +38998,7 @@ public: class IFC_PARSE_API IfcStructuralCurveMember : public IfcStructuralMember { public: IfcStructuralCurveMember() {} - explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} + explicit IfcStructuralCurveMember (const std::weak_ptr& data) : IfcStructuralMember(data) {} /// Type of member with respect to its load carrying behavior in this analysis idealization. ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value PredefinedType() const; @@ -39009,7 +39009,7 @@ public: ::Ifc4x3_tc1::IfcDirection Axis() const; void setAxis(const ::Ifc4x3_tc1::IfcDirection& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_tc1::IfcDirection v9_Axis); }; /// Definition from IAI: Describes edge members with varying profile properties. Each instance of IfcStructuralCurveMemberVarying is composed of two or more instances of IfcStructuralCurveMember with differing profile properties. These subordinate members relate to the instance of IfcStructuralCurveMemberVarying by IfcRelAggregates. @@ -39035,10 +39035,10 @@ public: class IFC_PARSE_API IfcStructuralCurveMemberVarying : public IfcStructuralCurveMember { public: IfcStructuralCurveMemberVarying() {} - explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} + explicit IfcStructuralCurveMemberVarying (const std::weak_ptr& data) : IfcStructuralCurveMember(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralCurveMemberTypeEnum::Value v8_PredefinedType, ::Ifc4x3_tc1::IfcDirection v9_Axis); }; /// Definition from IAI: Defines a reaction which occurs distributed over a curve. @@ -39094,13 +39094,13 @@ public: class IFC_PARSE_API IfcStructuralCurveReaction : public IfcStructuralReaction { public: IfcStructuralCurveReaction() {} - explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralCurveReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} /// Type of reaction according to its distribution of load values. ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Defines an action with constant value which is distributed over a curve. @@ -39113,10 +39113,10 @@ public: class IFC_PARSE_API IfcStructuralLinearAction : public IfcStructuralCurveAction { public: IfcStructuralLinearAction() {} - explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} + explicit IfcStructuralLinearAction (const std::weak_ptr& data) : IfcStructuralCurveAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralCurveActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: The entity IfcStructuralLoadGroup is used to structure the @@ -39155,7 +39155,7 @@ public: class IFC_PARSE_API IfcStructuralLoadGroup : public IfcGroup { public: IfcStructuralLoadGroup() {} - explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralLoadGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Selects a predefined type for the load group. It can be differentiated between load groups, load cases, load combinations, or userdefined grouping levels. ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value PredefinedType() const; @@ -39175,7 +39175,7 @@ public: std::vector< IfcStructuralResultGroup > SourceOfResultGroup() const; // INVERSE IfcStructuralResultGroup::ResultForLoadGroup std::vector< IfcStructuralAnalysisModel > LoadGroupFor() const; // INVERSE IfcStructuralAnalysisModel::LoadedBy - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose); }; /// Definition from IAI: Defines an action which acts on a point. @@ -39226,10 +39226,10 @@ public: class IFC_PARSE_API IfcStructuralPointAction : public IfcStructuralAction { public: IfcStructuralPointAction() {} - explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralPointAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad); }; /// Definition from IAI: Instances of IfcStructuralPointConnection describe structural nodes or point supports. @@ -39248,13 +39248,13 @@ public: class IFC_PARSE_API IfcStructuralPointConnection : public IfcStructuralConnection { public: IfcStructuralPointConnection() {} - explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralPointConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} /// Defines a coordinate system used for the description of the support condition properties in SELF\IfcStructuralConnection.SupportCondition, specified relative to the global coordinate system (global to the structural analysis model) established by SELF.\IfcProduct.ObjectPlacement. If left unspecified, the placement IfcAxis2Placement3D((x,y,z), ?, ?) is implied with x,y,z being the coordinates of the reference point of this IfcStructuralPointConnection and the default axes directions being in parallel with the global axes. ::Ifc4x3_tc1::IfcAxis2Placement3D ConditionCoordinateSystem() const; void setConditionCoordinateSystem(const ::Ifc4x3_tc1::IfcAxis2Placement3D& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition, ::Ifc4x3_tc1::IfcAxis2Placement3D v9_ConditionCoordinateSystem); }; /// Definition from IAI: Defines a reaction which occurs at a point. @@ -39303,10 +39303,10 @@ public: class IFC_PARSE_API IfcStructuralPointReaction : public IfcStructuralReaction { public: IfcStructuralPointReaction() {} - explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} + explicit IfcStructuralPointReaction (const std::weak_ptr& data) : IfcStructuralReaction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal); }; /// Definition from IAI: Instances of the entity IfcStructuralResultGroup are used to group results of structural analysis calculations and to capture the connection to the underlying basic load group. The basic functionality for grouping inherited from IfcGroup is used to collect instances from IfcStructuralReaction or its respective subclasses. @@ -39316,7 +39316,7 @@ public: class IFC_PARSE_API IfcStructuralResultGroup : public IfcGroup { public: IfcStructuralResultGroup() {} - explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcStructuralResultGroup (const std::weak_ptr& data) : IfcGroup(data) {} /// Specifies the analysis theory used to obtain the respective results. ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value TheoryType() const; @@ -39329,7 +39329,7 @@ public: void setIsLinear(const bool& v); std::vector< IfcStructuralAnalysisModel > ResultGroupFor() const; // INVERSE IfcStructuralAnalysisModel::HasResults - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcAnalysisTheoryTypeEnum::Value v6_TheoryType, ::Ifc4x3_tc1::IfcStructuralLoadGroup v7_ResultForLoadGroup, bool v8_IsLinear); }; /// Definition from IAI: Defines an action which is distributed over a surface. @@ -39387,7 +39387,7 @@ public: class IFC_PARSE_API IfcStructuralSurfaceAction : public IfcStructuralAction { public: IfcStructuralSurfaceAction() {} - explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} + explicit IfcStructuralSurfaceAction (const std::weak_ptr& data) : IfcStructuralAction(data) {} /// Defines whether load values are given per true lengths of the surface on which they act, or per lengths of the projection of the surface in load direction. The latter is only applicable to loads which act in global coordinate directions. std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > ProjectedOrTrue() const; @@ -39396,7 +39396,7 @@ public: ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// Definition from IAI: Instances of IfcStructuralSurfaceConnection describe face 'nodes', i.e. faces where two or more surface members are joined, or face supports. Face surfaces may be planar or curved. @@ -39414,10 +39414,10 @@ public: class IFC_PARSE_API IfcStructuralSurfaceConnection : public IfcStructuralConnection { public: IfcStructuralSurfaceConnection() {} - explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} + explicit IfcStructuralSurfaceConnection (const std::weak_ptr& data) : IfcStructuralConnection(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcBoundaryCondition v8_AppliedCondition); }; /// IfcSubContractResource is a construction resource needed in a construction process that represents a sub-contractor. @@ -39447,14 +39447,14 @@ public: class IFC_PARSE_API IfcSubContractResource : public IfcConstructionResource { public: IfcSubContractResource() {} - explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcSubContractResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of subcontract resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcSubContractResourceTypeEnum::Value > v11_PredefinedType); }; /// Definition from IAI: A surface feature is a modification at (onto, or into) of the surface of an element. Parts of the surface of the entire surface may be affected. The volume and mass of the element may be increased, remain unchanged, or be decreased by the surface feature, depending on manufacturing technology. @@ -39492,14 +39492,14 @@ public: class IFC_PARSE_API IfcSurfaceFeature : public IfcFeatureElement { public: IfcSurfaceFeature() {} - explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} + explicit IfcSurfaceFeature (const std::weak_ptr& data) : IfcFeatureElement(data) {} /// Indicates the kind of surface feature. std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value >& v); std::vector< IfcRelAdheresToElement > AdheresToElement() const; // INVERSE IfcRelAdheresToElement::RelatedSurfaceFeatures - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSurfaceFeatureTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcSwitchingDeviceType defines commonly shared information for occurrences of switching devices. The set of shared information may include: @@ -39545,13 +39545,13 @@ public: class IFC_PARSE_API IfcSwitchingDeviceType : public IfcFlowControllerType { public: IfcSwitchingDeviceType() {} - explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcSwitchingDeviceType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of switch from which the type required may be set. ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Organized combination of @@ -39574,12 +39574,12 @@ public: class IFC_PARSE_API IfcSystem : public IfcGroup { public: IfcSystem() {} - explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcSystem (const std::weak_ptr& data) : IfcGroup(data) {} std::vector< IfcRelServicesBuildings > ServicesBuildings() const; // INVERSE IfcRelServicesBuildings::RelatingSystem std::vector< IfcRelReferencedInSpatialStructure > ServicesFacilities() const; // INVERSE IfcRelReferencedInSpatialStructure::RelatedElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType); }; /// A system furniture element defines components of modular furniture which are not directly placed in a building structure but aggregated inside furniture. @@ -39609,12 +39609,12 @@ public: class IFC_PARSE_API IfcSystemFurnitureElement : public IfcFurnishingElement { public: IfcSystemFurnitureElement() {} - explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} + explicit IfcSystemFurnitureElement (const std::weak_ptr& data) : IfcFurnishingElement(data) {} std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSystemFurnitureElementTypeEnum::Value > v9_PredefinedType); }; /// The flow storage device type IfcTankType defines commonly shared information for occurrences of tanks. The set of shared information may include: @@ -39652,20 +39652,20 @@ public: class IFC_PARSE_API IfcTankType : public IfcFlowStorageDeviceType { public: IfcTankType() {} - explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcTankType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Defines the type of tank. ::Ifc4x3_tc1::IfcTankTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcTankTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTankTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendon : public IfcReinforcingElement { public: IfcTendon() {} - explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendon (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value >& v); @@ -39684,62 +39684,62 @@ public: std::optional< double > MinCurvatureRadius() const; void setMinCurvatureRadius(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcTendonTypeEnum::Value > v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_TensionForce, std::optional< double > v14_PreStress, std::optional< double > v15_FrictionCoefficient, std::optional< double > v16_AnchorageSlip, std::optional< double > v17_MinCurvatureRadius); }; class IFC_PARSE_API IfcTendonAnchor : public IfcReinforcingElement { public: IfcTendonAnchor() {} - explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonAnchor (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcTendonAnchorType : public IfcReinforcingElementType { public: IfcTendonAnchorType() {} - explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonAnchorType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonAnchorTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduit : public IfcReinforcingElement { public: IfcTendonConduit() {} - explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcTendonConduit (const std::weak_ptr& data) : IfcReinforcingElement(data) {} ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonConduitType : public IfcReinforcingElementType { public: IfcTendonConduitType() {} - explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonConduitType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonConduitTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTendonType : public IfcReinforcingElementType { public: IfcTendonType() {} - explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcTendonType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} ::Ifc4x3_tc1::IfcTendonTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcTendonTypeEnum::Value& v); @@ -39750,19 +39750,19 @@ public: std::optional< double > SheathDiameter() const; void setSheathDiameter(const std::optional< double >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTendonTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_SheathDiameter); }; class IFC_PARSE_API IfcTrackElementType : public IfcBuiltElementType { public: IfcTrackElementType() {} - explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcTrackElementType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcTransformerType defines commonly shared information for occurrences of transformers. The set of shared information may include: @@ -39795,13 +39795,13 @@ public: class IFC_PARSE_API IfcTransformerType : public IfcEnergyConversionDeviceType { public: IfcTransformerType() {} - explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTransformerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of transformer from which the type required may be set. ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -39870,23 +39870,23 @@ public: class IFC_PARSE_API IfcTransportElementType : public IfcTransportationDeviceType { public: IfcTransportElementType() {} - explicit IfcTransportElementType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} + explicit IfcTransportElementType (const std::weak_ptr& data) : IfcTransportationDeviceType(data) {} /// Predefined types to define the particular type of the transport element. There may be property set definitions available for each predefined type. ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcTransportationDevice : public IfcElement { public: IfcTransportationDevice() {} - explicit IfcTransportationDevice (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcTransportationDevice (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from ISO/CD 10303-42:1992: @@ -39970,7 +39970,7 @@ public: class IFC_PARSE_API IfcTrimmedCurve : public IfcBoundedCurve { public: IfcTrimmedCurve() {} - explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcTrimmedCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The curve to be trimmed. For curves with multiple representations any parameter values given as Trim1 or Trim2 refer to the master representation of the BasisCurve only. ::Ifc4x3_tc1::IfcCurve BasisCurve() const; @@ -39988,7 +39988,7 @@ public: ::Ifc4x3_tc1::IfcTrimmingPreference::Value MasterRepresentation() const; void setMasterRepresentation(const ::Ifc4x3_tc1::IfcTrimmingPreference::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcCurve v1_BasisCurve, std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > v2_Trim1, std::vector< ::Ifc4x3_tc1::IfcTrimmingSelect > v3_Trim2, bool v4_SenseAgreement, ::Ifc4x3_tc1::IfcTrimmingPreference::Value v5_MasterRepresentation); }; /// The energy conversion device type IfcTubeBundleType defines commonly shared information for occurrences of tube bundles. The set of shared information may include: @@ -40023,13 +40023,13 @@ public: class IFC_PARSE_API IfcTubeBundleType : public IfcEnergyConversionDeviceType { public: IfcTubeBundleType() {} - explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcTubeBundleType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of tube bundle. ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcUnitaryEquipmentType defines commonly shared information for occurrences of unitary equipments. The set of shared information may include: @@ -40063,13 +40063,13 @@ public: class IFC_PARSE_API IfcUnitaryEquipmentType : public IfcEnergyConversionDeviceType { public: IfcUnitaryEquipmentType() {} - explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcUnitaryEquipmentType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// The type of unitary equipment. ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcValveType defines commonly shared information for occurrences of valves. The set of shared information may include: @@ -40113,49 +40113,49 @@ public: class IFC_PARSE_API IfcValveType : public IfcFlowControllerType { public: IfcValveType() {} - explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcValveType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The type of valve. ::Ifc4x3_tc1::IfcValveTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcValveTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcValveTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcVehicle : public IfcTransportationDevice { public: IfcVehicle() {} - explicit IfcVehicle (const std::weak_ptr& data) : IfcTransportationDevice(data) {} + explicit IfcVehicle (const std::weak_ptr& data) : IfcTransportationDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVehicleTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamper : public IfcElementComponent { public: IfcVibrationDamper() {} - explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationDamper (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcVibrationDamperType : public IfcElementComponentType { public: IfcVibrationDamperType() {} - explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationDamperType (const std::weak_ptr& data) : IfcElementComponentType(data) {} ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVibrationDamperTypeEnum::Value v10_PredefinedType); }; /// A vibration isolator is a device used to minimize the effects of vibration transmissibility in a building. @@ -40195,12 +40195,12 @@ public: class IFC_PARSE_API IfcVibrationIsolator : public IfcElementComponent { public: IfcVibrationIsolator() {} - explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcVibrationIsolator (const std::weak_ptr& data) : IfcElementComponent(data) {} std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value > v9_PredefinedType); }; /// The element component type IfcVibrationIsolatorType defines commonly shared information for occurrences of vibration isolators. The set of shared information may include: @@ -40228,13 +40228,13 @@ public: class IFC_PARSE_API IfcVibrationIsolatorType : public IfcElementComponentType { public: IfcVibrationIsolatorType() {} - explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcVibrationIsolatorType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Defines the type of vibration isolator. ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcVibrationIsolatorTypeEnum::Value v10_PredefinedType); }; /// A virtual element is a special element used to provide imaginary boundaries, such as between two adjacent, but not separated, spaces. Virtual elements are usually not displayed and does not have quantities and other measures. Therefore IfcVirtualElement does not have material information and quantities attached. @@ -40326,12 +40326,12 @@ public: class IFC_PARSE_API IfcVirtualElement : public IfcElement { public: IfcVirtualElement() {} - explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcVirtualElement (const std::weak_ptr& data) : IfcElement(data) {} std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVirtualElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A voiding feature is a modification of an element which reduces its volume. Such a feature may be manufactured in different ways, for example by cutting, drilling, or milling of members made of various materials, or by inlays into the formwork of cast members made of materials such as concrete. @@ -40369,13 +40369,13 @@ public: class IFC_PARSE_API IfcVoidingFeature : public IfcFeatureElementSubtraction { public: IfcVoidingFeature() {} - explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcVoidingFeature (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} /// Qualifies the feature regarding its shape and configuration relative to the voided element. std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcVoidingFeatureTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -40465,13 +40465,13 @@ public: class IFC_PARSE_API IfcWallType : public IfcBuiltElementType { public: IfcWallType() {} - explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWallType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a wall element from which the type required may be set. ::Ifc4x3_tc1::IfcWallTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcWallTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWallTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcWasteTerminalType defines commonly shared information for occurrences of waste terminals. The set of shared information may include: @@ -40513,13 +40513,13 @@ public: class IFC_PARSE_API IfcWasteTerminalType : public IfcFlowTerminalType { public: IfcWasteTerminalType() {} - explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcWasteTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of waste terminal from which the type required may be set. ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: The element type @@ -40646,7 +40646,7 @@ public: class IFC_PARSE_API IfcWindowType : public IfcBuiltElementType { public: IfcWindowType() {} - explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcWindowType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a window element from which the type required may be set. ::Ifc4x3_tc1::IfcWindowTypeEnum::Value PredefinedType() const; @@ -40659,7 +40659,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcWindowTypeEnum::Value v10_PredefinedType, ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value v11_PartitioningType, std::optional< bool > v12_ParameterTakesPrecedence, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// An IfcWorkCalendar defines working and non-working time periods for tasks and resources. It enables to define both specific time periods, such as from 7:00 till 12:00 on 25th August 2009, as well as repetitive time periods based on frequently used recurrence patterns, such as each Monday from 7:00 till 12:00 between 1st March 2009 and 31st December 2009. @@ -40678,7 +40678,7 @@ public: class IFC_PARSE_API IfcWorkCalendar : public IfcControl { public: IfcWorkCalendar() {} - explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkCalendar (const std::weak_ptr& data) : IfcControl(data) {} /// Set of times periods that are regarded as an initial set-up /// of working times. Exception times can then further restrict @@ -40697,7 +40697,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > v7_WorkingTimes, std::optional< std::vector< ::Ifc4x3_tc1::IfcWorkTime > > v8_ExceptionTimes, std::optional< ::Ifc4x3_tc1::IfcWorkCalendarTypeEnum::Value > v9_PredefinedType); }; /// An IfcWorkControl is an abstract supertype which captures information that is common to both IfcWorkPlan and IfcWorkSchedule. @@ -40747,7 +40747,7 @@ public: class IFC_PARSE_API IfcWorkControl : public IfcControl { public: IfcWorkControl() {} - explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcWorkControl (const std::weak_ptr& data) : IfcControl(data) {} /// The date that the plan is created. std::string CreationDate() const; @@ -40771,7 +40771,7 @@ public: std::optional< std::string > FinishTime() const; void setFinishTime(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime); }; /// An IfcWorkPlan represents work plans in a construction or a facilities management project. @@ -40802,14 +40802,14 @@ public: class IFC_PARSE_API IfcWorkPlan : public IfcWorkControl { public: IfcWorkPlan() {} - explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkPlan (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work plan from which /// the type required may be set. std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_tc1::IfcWorkPlanTypeEnum::Value > v14_PredefinedType); }; /// An IfcWorkSchedule @@ -40855,14 +40855,14 @@ public: class IFC_PARSE_API IfcWorkSchedule : public IfcWorkControl { public: IfcWorkSchedule() {} - explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} + explicit IfcWorkSchedule (const std::weak_ptr& data) : IfcWorkControl(data) {} /// Identifies the predefined types of a work schedule from which /// the type required may be set. std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::string v7_CreationDate, std::optional< std::vector< ::Ifc4x3_tc1::IfcPerson > > v8_Creators, std::optional< std::string > v9_Purpose, std::optional< std::string > v10_Duration, std::optional< std::string > v11_TotalFloat, std::string v12_StartTime, std::optional< std::string > v13_FinishTime, std::optional< ::Ifc4x3_tc1::IfcWorkScheduleTypeEnum::Value > v14_PredefinedType); }; /// Definition from IAI: A zone isa group of spaces, @@ -40953,7 +40953,7 @@ public: class IFC_PARSE_API IfcZone : public IfcSystem { public: IfcZone() {} - explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcZone (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a zone, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -40963,7 +40963,7 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName); }; /// A request is the act or instance of asking for something, such as a request for information, bid submission, or performance of work. @@ -41007,7 +41007,7 @@ public: class IFC_PARSE_API IfcActionRequest : public IfcControl { public: IfcActionRequest() {} - explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} + explicit IfcActionRequest (const std::weak_ptr& data) : IfcControl(data) {} /// Identifies the predefined type of sources through which a request can be made. /// @@ -41029,7 +41029,7 @@ public: std::optional< std::string > LongDescription() const; void setLongDescription(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< ::Ifc4x3_tc1::IfcActionRequestTypeEnum::Value > v7_PredefinedType, std::optional< std::string > v8_Status, std::optional< std::string > v9_LongDescription); }; /// The flow controller type IfcAirTerminalBoxType defines commonly shared information for occurrences of air boxes. The set of shared information may include: @@ -41061,13 +41061,13 @@ public: class IFC_PARSE_API IfcAirTerminalBoxType : public IfcFlowControllerType { public: IfcAirTerminalBoxType() {} - explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcAirTerminalBoxType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// The air terminal box type. ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcAirTerminalType defines commonly shared information for occurrences of air terminals. The set of shared information may include: @@ -41099,12 +41099,12 @@ public: class IFC_PARSE_API IfcAirTerminalType : public IfcFlowTerminalType { public: IfcAirTerminalType() {} - explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAirTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcAirToAirHeatRecoveryType defines commonly shared information for occurrences of air-to-air heat recovery devices. The set of shared information may include: @@ -41136,57 +41136,57 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecoveryType : public IfcEnergyConversionDeviceType { public: IfcAirToAirHeatRecoveryType() {} - explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcAirToAirHeatRecoveryType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of air to air heat recovery device. ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignmentCant : public IfcLinearElement { public: IfcAlignmentCant() {} - explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentCant (const std::weak_ptr& data) : IfcLinearElement(data) {} double RailHeadDistance() const; void setRailHeadDistance(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, double v8_RailHeadDistance); }; class IFC_PARSE_API IfcAlignmentHorizontal : public IfcLinearElement { public: IfcAlignmentHorizontal() {} - explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentHorizontal (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcAlignmentSegment : public IfcLinearElement { public: IfcAlignmentSegment() {} - explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentSegment (const std::weak_ptr& data) : IfcLinearElement(data) {} ::Ifc4x3_tc1::IfcAlignmentParameterSegment DesignParameters() const; void setDesignParameters(const ::Ifc4x3_tc1::IfcAlignmentParameterSegment& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcAlignmentParameterSegment v8_DesignParameters); }; class IFC_PARSE_API IfcAlignmentVertical : public IfcLinearElement { public: IfcAlignmentVertical() {} - explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} + explicit IfcAlignmentVertical (const std::weak_ptr& data) : IfcLinearElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation); }; /// An asset is a uniquely identifiable grouping of elements acting as a single entity that has a financial value or that can be operated on as a single unit. @@ -41216,7 +41216,7 @@ public: class IFC_PARSE_API IfcAsset : public IfcGroup { public: IfcAsset() {} - explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} + explicit IfcAsset (const std::weak_ptr& data) : IfcGroup(data) {} /// A unique identification assigned to an asset that enables its differentiation from other assets. /// NOTE: The asset identifier is unique within the asset register. It differs from the globally unique id assigned to the instance of an entity populating a database. @@ -41251,7 +41251,7 @@ public: ::Ifc4x3_tc1::IfcCostValue DepreciatedValue() const; void setDepreciatedValue(const ::Ifc4x3_tc1::IfcCostValue& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, ::Ifc4x3_tc1::IfcCostValue v7_OriginalValue, ::Ifc4x3_tc1::IfcCostValue v8_CurrentValue, ::Ifc4x3_tc1::IfcCostValue v9_TotalReplacementCost, ::Ifc4x3_tc1::IfcActorSelect v10_Owner, ::Ifc4x3_tc1::IfcActorSelect v11_User, ::Ifc4x3_tc1::IfcPerson v12_ResponsiblePerson, std::optional< std::string > v13_IncorporationDate, ::Ifc4x3_tc1::IfcCostValue v14_DepreciatedValue); }; /// The flow terminal type IfcAudioVisualApplianceType defines commonly shared information for occurrences of audio-visual appliances. The set of shared information may include: @@ -41299,13 +41299,13 @@ public: class IFC_PARSE_API IfcAudioVisualApplianceType : public IfcFlowTerminalType { public: IfcAudioVisualApplianceType() {} - explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcAudioVisualApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of audio-visual appliance from which the type required may be set. ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type. @@ -41360,7 +41360,7 @@ public: class IFC_PARSE_API IfcBSplineCurve : public IfcBoundedCurve { public: IfcBSplineCurve() {} - explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} + explicit IfcBSplineCurve (const std::weak_ptr& data) : IfcBoundedCurve(data) {} /// The algebraic degree of the basis functions. int Degree() const; @@ -41378,7 +41378,7 @@ public: boost::logic::tribool SelfIntersect() const; void setSelfIntersect(const boost::logic::tribool& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_tc1::IfcBSplineCurveForm::Value v3_CurveForm, boost::logic::tribool v4_ClosedCurve, boost::logic::tribool v5_SelfIntersect); }; /// Definition from ISO 10303:42:1994: This is the type of b-spline curve for which the knot values are explicitly given. This subtype shall be used to represent non-uniform B-spline curves and may be used for other knot types. @@ -41401,7 +41401,7 @@ public: class IFC_PARSE_API IfcBSplineCurveWithKnots : public IfcBSplineCurve { public: IfcBSplineCurveWithKnots() {} - explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} + explicit IfcBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurve(data) {} /// The multiplicities of the knots. This list defines the number of times each knot in the knots list is to be repeated in constructing the knot array. std::vector< int > /*[2:?]*/ KnotMultiplicities() const; @@ -41413,7 +41413,7 @@ public: ::Ifc4x3_tc1::IfcKnotType::Value KnotSpec() const; void setKnotSpec(const ::Ifc4x3_tc1::IfcKnotType::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v8_KnotSpec); }; /// Definition from IAI: The element type @@ -41517,25 +41517,25 @@ public: class IFC_PARSE_API IfcBeamType : public IfcBuiltElementType { public: IfcBeamType() {} - explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBeamType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Identifies the predefined types of a beam element from which the type required may be set. ::Ifc4x3_tc1::IfcBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBeamTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcBearingType : public IfcBuiltElementType { public: IfcBearingType() {} - explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBearingType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} ::Ifc4x3_tc1::IfcBearingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcBearingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBearingTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcBoilerType defines commonly shared information for occurrences of boilers. The set of shared information may include: @@ -41570,13 +41570,13 @@ public: class IFC_PARSE_API IfcBoilerType : public IfcEnergyConversionDeviceType { public: IfcBoilerType() {} - explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBoilerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines types of boilers. ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 A boundary curve @@ -41589,34 +41589,34 @@ public: class IFC_PARSE_API IfcBoundaryCurve : public IfcCompositeCurveOnSurface { public: IfcBoundaryCurve() {} - explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} + explicit IfcBoundaryCurve (const std::weak_ptr& data) : IfcCompositeCurveOnSurface(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; class IFC_PARSE_API IfcBridge : public IfcFacility { public: IfcBridge() {} - explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBridge (const std::weak_ptr& data) : IfcFacility(data) {} std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< ::Ifc4x3_tc1::IfcBridgeTypeEnum::Value > v10_PredefinedType); }; class IFC_PARSE_API IfcBridgePart : public IfcFacilityPart { public: IfcBridgePart() {} - explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} + explicit IfcBridgePart (const std::weak_ptr& data) : IfcFacilityPart(data) {} std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, ::Ifc4x3_tc1::IfcFacilityUsageEnum::Value v10_UsageType, std::optional< ::Ifc4x3_tc1::IfcBridgePartTypeEnum::Value > v11_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction work that @@ -41796,7 +41796,7 @@ public: class IFC_PARSE_API IfcBuilding : public IfcFacility { public: IfcBuilding() {} - explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} + explicit IfcBuilding (const std::weak_ptr& data) : IfcFacility(data) {} /// Elevation above sea level of the reference height used for all storey elevation measures, equals to height 0.0. It is usually the ground floor level. std::optional< double > ElevationOfRefHeight() const; @@ -41808,7 +41808,7 @@ public: ::Ifc4x3_tc1::IfcPostalAddress BuildingAddress() const; void setBuildingAddress(const ::Ifc4x3_tc1::IfcPostalAddress& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcElementCompositionEnum::Value > v9_CompositionType, std::optional< double > v10_ElevationOfRefHeight, std::optional< double > v11_ElevationOfTerrain, ::Ifc4x3_tc1::IfcPostalAddress v12_BuildingAddress); }; /// Definition from IAI: Layers or major components as subordinate @@ -41831,13 +41831,13 @@ public: class IFC_PARSE_API IfcBuildingElementPart : public IfcElementComponent { public: IfcBuildingElementPart() {} - explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcBuildingElementPart (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of building element part std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The building element part type defines @@ -41847,13 +41847,13 @@ public: class IFC_PARSE_API IfcBuildingElementPartType : public IfcElementComponentType { public: IfcBuildingElementPartType() {} - explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcBuildingElementPartType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of building element part ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBuildingElementPartTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: @@ -41893,13 +41893,13 @@ public: class IFC_PARSE_API IfcBuildingElementProxyType : public IfcBuiltElementType { public: IfcBuildingElementProxyType() {} - explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} + explicit IfcBuildingElementProxyType (const std::weak_ptr& data) : IfcBuiltElementType(data) {} /// Predefined types to define the particular type of an building element proxy. There may be property set definitions available for each predefined or user defined type. ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: A building system is a @@ -41941,7 +41941,7 @@ public: class IFC_PARSE_API IfcBuildingSystem : public IfcSystem { public: IfcBuildingSystem() {} - explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuildingSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Predefined types of distribution systems. std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value > PredefinedType() const; @@ -41949,31 +41949,31 @@ public: std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcBuildingSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; class IFC_PARSE_API IfcBuiltElement : public IfcElement { public: IfcBuiltElement() {} - explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcBuiltElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcBuiltSystem : public IfcSystem { public: IfcBuiltSystem() {} - explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcBuiltSystem (const std::weak_ptr& data) : IfcSystem(data) {} std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value >& v); std::optional< std::string > LongName() const; void setLongName(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< ::Ifc4x3_tc1::IfcBuiltSystemTypeEnum::Value > v6_PredefinedType, std::optional< std::string > v7_LongName); }; /// The energy conversion device type IfcBurnerType defines commonly shared information for occurrences of burners. The set of shared information may include: @@ -42006,12 +42006,12 @@ public: class IFC_PARSE_API IfcBurnerType : public IfcEnergyConversionDeviceType { public: IfcBurnerType() {} - explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcBurnerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableCarrierFittingType defines commonly shared information for occurrences of cable carrier fittings. The set of shared information may include: @@ -42043,13 +42043,13 @@ public: class IFC_PARSE_API IfcCableCarrierFittingType : public IfcFlowFittingType { public: IfcCableCarrierFittingType() {} - explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableCarrierFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableCarrierSegmentType defines commonly shared information for occurrences of cable carrier segments. The set of shared information may include: @@ -42087,13 +42087,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegmentType : public IfcFlowSegmentType { public: IfcCableCarrierSegmentType() {} - explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableCarrierSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow fitting type IfcCableFittingType defines commonly shared information for occurrences of cable fittings. The set of shared information may include: @@ -42127,13 +42127,13 @@ public: class IFC_PARSE_API IfcCableFittingType : public IfcFlowFittingType { public: IfcCableFittingType() {} - explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcCableFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcCableSegmentType defines commonly shared information for occurrences of cable segments. The set of shared information may include: @@ -42180,25 +42180,25 @@ public: class IFC_PARSE_API IfcCableSegmentType : public IfcFlowSegmentType { public: IfcCableSegmentType() {} - explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcCableSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundationType : public IfcDeepFoundationType { public: IfcCaissonFoundationType() {} - explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} + explicit IfcCaissonFoundationType (const std::weak_ptr& data) : IfcDeepFoundationType(data) {} ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcChillerType defines commonly shared information for occurrences of chillers. The set of shared information may include: @@ -42236,13 +42236,13 @@ public: class IFC_PARSE_API IfcChillerType : public IfcEnergyConversionDeviceType { public: IfcChillerType() {} - explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcChillerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of chillers (e.g., air-cooled, water-cooled, etc.). ::Ifc4x3_tc1::IfcChillerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcChillerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcChillerTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction @@ -42289,14 +42289,14 @@ public: class IFC_PARSE_API IfcChimney : public IfcBuiltElement { public: IfcChimney() {} - explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcChimney (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a chimney that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcChimneyType is assigned, providing its own IfcChimneyType.PredefinedType. std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcChimneyTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992: An IfcCircle is defined by a radius and the location and orientation of the circle. Interpretation of data should be as follows: @@ -42329,23 +42329,23 @@ public: class IFC_PARSE_API IfcCircle : public IfcConic { public: IfcCircle() {} - explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} + explicit IfcCircle (const std::weak_ptr& data) : IfcConic(data) {} /// The radius of the circle, which shall be greater than zero. double Radius() const; void setRadius(const double& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(::Ifc4x3_tc1::IfcAxis2Placement v1_Position, double v2_Radius); }; class IFC_PARSE_API IfcCivilElement : public IfcElement { public: IfcCivilElement() {} - explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcCivilElement (const std::weak_ptr& data) : IfcElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The energy conversion device type IfcCoilType defines commonly shared information for occurrences of coils. The set of shared information may include: @@ -42378,13 +42378,13 @@ public: class IFC_PARSE_API IfcCoilType : public IfcEnergyConversionDeviceType { public: IfcCoilType() {} - explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoilType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines typical types of coils (e.g., Cooling, Heating, etc.) ::Ifc4x3_tc1::IfcCoilTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCoilTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoilTypeEnum::Value v10_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member of @@ -42661,7 +42661,7 @@ public: class IFC_PARSE_API IfcColumn : public IfcBuiltElement { public: IfcColumn() {} - explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcColumn (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a column that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcColumnType is assigned, providing its own IfcColumnType.PredefinedType. @@ -42670,7 +42670,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcColumnTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcCommunicationsApplianceType defines commonly shared information for occurrences of communications appliances. The set of shared information may include: @@ -42708,13 +42708,13 @@ public: class IFC_PARSE_API IfcCommunicationsApplianceType : public IfcFlowTerminalType { public: IfcCommunicationsApplianceType() {} - explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcCommunicationsApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of communications appliance from which the type required may be set. ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow moving device type IfcCompressorType defines commonly shared information for occurrences of compressors. The set of shared information may include: @@ -42747,13 +42747,13 @@ public: class IFC_PARSE_API IfcCompressorType : public IfcFlowMovingDeviceType { public: IfcCompressorType() {} - explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcCompressorType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of compressor (e.g., hermetic, reciprocating, etc.). ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCondenserType defines commonly shared information for occurrences of condensers. The set of shared information may include: @@ -42786,13 +42786,13 @@ public: class IFC_PARSE_API IfcCondenserType : public IfcEnergyConversionDeviceType { public: IfcCondenserType() {} - explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCondenserType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of condenser. ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value v10_PredefinedType); }; /// IfcConstructionEquipmentResource is usage of construction equipment to assist in the performance of construction. Construction Equipment resources are wholly or partially consumed or occupied in the performance of construction. @@ -42820,14 +42820,14 @@ public: class IFC_PARSE_API IfcConstructionEquipmentResource : public IfcConstructionResource { public: IfcConstructionEquipmentResource() {} - explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionEquipmentResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction equipment resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionEquipmentResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionMaterialResource identifies a material resource type in a construction project. @@ -42859,14 +42859,14 @@ public: class IFC_PARSE_API IfcConstructionMaterialResource : public IfcConstructionResource { public: IfcConstructionMaterialResource() {} - explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionMaterialResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction material resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionMaterialResourceTypeEnum::Value > v11_PredefinedType); }; /// IfcConstructionProductResource defines the role of a product that is consumed (wholly or partially), or occupied in the performance of construction. @@ -42887,26 +42887,26 @@ public: class IFC_PARSE_API IfcConstructionProductResource : public IfcConstructionResource { public: IfcConstructionProductResource() {} - explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} + explicit IfcConstructionProductResource (const std::weak_ptr& data) : IfcConstructionResource(data) {} /// Defines types of construction product resources. /// IFC2x4 New attribute std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_Identification, std::optional< std::string > v7_LongDescription, ::Ifc4x3_tc1::IfcResourceTime v8_Usage, std::optional< std::vector< ::Ifc4x3_tc1::IfcAppliedValue > > v9_BaseCosts, ::Ifc4x3_tc1::IfcPhysicalQuantity v10_BaseQuantity, std::optional< ::Ifc4x3_tc1::IfcConstructionProductResourceTypeEnum::Value > v11_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegmentType : public IfcFlowSegmentType { public: IfcConveyorSegmentType() {} - explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcConveyorSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCooledBeamType defines commonly shared information for occurrences of cooled beams. The set of shared information may include: @@ -42941,13 +42941,13 @@ public: class IFC_PARSE_API IfcCooledBeamType : public IfcEnergyConversionDeviceType { public: IfcCooledBeamType() {} - explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCooledBeamType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the type of cooled beam. ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcCoolingTowerType defines commonly shared information for occurrences of cooling towers. The set of shared information may include: @@ -42986,25 +42986,25 @@ public: class IFC_PARSE_API IfcCoolingTowerType : public IfcEnergyConversionDeviceType { public: IfcCoolingTowerType() {} - explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcCoolingTowerType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Defines the typical types of cooling towers (e.g., OpenTower, ClosedTower, CrossFlow, etc.). ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcCourse : public IfcBuiltElement { public: IfcCourse() {} - explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCourse (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCourseTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: term used: Finishing - @@ -43234,7 +43234,7 @@ public: class IFC_PARSE_API IfcCovering : public IfcBuiltElement { public: IfcCovering() {} - explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCovering (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined types to define the particular type of the covering. There may be property set definitions available for each predefined type. std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value > PredefinedType() const; @@ -43242,7 +43242,7 @@ public: std::vector< IfcRelCoversSpaces > CoversSpaces() const; // INVERSE IfcRelCoversSpaces::RelatedCoverings std::vector< IfcRelCoversBldgElements > CoversElements() const; // INVERSE IfcRelCoversBldgElements::RelatedCoverings - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoveringTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Non load bearing wall @@ -43386,7 +43386,7 @@ public: class IFC_PARSE_API IfcCurtainWall : public IfcBuiltElement { public: IfcCurtainWall() {} - explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcCurtainWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a curtain wall that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcCurtainWallType is assigned, providing its own IfcCurtainWallType.PredefinedType. @@ -43395,7 +43395,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCurtainWallTypeEnum::Value > v9_PredefinedType); }; /// The flow controller type IfcDamperType defines commonly shared information for occurrences of dampers. The set of shared information may include: @@ -43435,23 +43435,23 @@ public: class IFC_PARSE_API IfcDamperType : public IfcFlowControllerType { public: IfcDamperType() {} - explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDamperType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Type of damper. ::Ifc4x3_tc1::IfcDamperTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcDamperTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDamperTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDeepFoundation : public IfcBuiltElement { public: IfcDeepFoundation() {} - explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDeepFoundation (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: Representation of different kinds of @@ -43630,13 +43630,13 @@ public: class IFC_PARSE_API IfcDiscreteAccessory : public IfcElementComponent { public: IfcDiscreteAccessory() {} - explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} + explicit IfcDiscreteAccessory (const std::weak_ptr& data) : IfcElementComponent(data) {} /// Subtype of discrete accessory std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The element type @@ -43830,25 +43830,25 @@ public: class IFC_PARSE_API IfcDiscreteAccessoryType : public IfcElementComponentType { public: IfcDiscreteAccessoryType() {} - explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} + explicit IfcDiscreteAccessoryType (const std::weak_ptr& data) : IfcElementComponentType(data) {} /// Subtype of discrete accessory ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDiscreteAccessoryTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoardType : public IfcFlowControllerType { public: IfcDistributionBoardType() {} - explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element type IfcDistributionChamberElementType defines commonly shared information for occurrences of distribution chamber elements. The set of shared information may include: @@ -43891,13 +43891,13 @@ public: class IFC_PARSE_API IfcDistributionChamberElementType : public IfcDistributionFlowElementType { public: IfcDistributionChamberElementType() {} - explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} + explicit IfcDistributionChamberElementType (const std::weak_ptr& data) : IfcDistributionFlowElementType(data) {} /// Predefined types of distribution chambers. ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value v10_PredefinedType); }; /// The element type IfcDistributionControlElementType defines a list of commonly shared property set definitions of an element and an optional set of product representations. It is used to define an element specification (the specific product information that is common to all occurrences of that product type). @@ -43957,10 +43957,10 @@ public: class IFC_PARSE_API IfcDistributionControlElementType : public IfcDistributionElementType { public: IfcDistributionControlElementType() {} - explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} + explicit IfcDistributionControlElementType (const std::weak_ptr& data) : IfcDistributionElementType(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType); }; /// Definition from IAI: Generalization of all elements @@ -44128,11 +44128,11 @@ public: class IFC_PARSE_API IfcDistributionElement : public IfcElement { public: IfcDistributionElement() {} - explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} + explicit IfcDistributionElement (const std::weak_ptr& data) : IfcElement(data) {} std::vector< IfcRelConnectsPortToElement > HasPorts() const; // INVERSE IfcRelConnectsPortToElement::RelatedElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution element IfcDistributionFlowElement defines occurrence elements of a distribution system that facilitate the distribution of energy or matter, such as air, water or power. @@ -44206,11 +44206,11 @@ public: class IFC_PARSE_API IfcDistributionFlowElement : public IfcDistributionElement { public: IfcDistributionFlowElement() {} - explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionFlowElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > HasControlElements() const; // INVERSE IfcRelFlowControlElements::RelatingFlowElement - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A distribution port is an inlet or outlet of a product through which a particular substance may flow. @@ -44298,7 +44298,7 @@ public: class IFC_PARSE_API IfcDistributionPort : public IfcPort { public: IfcDistributionPort() {} - explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} + explicit IfcDistributionPort (const std::weak_ptr& data) : IfcPort(data) {} /// Enumeration that identifies if this port is a Sink (inlet), a Source (outlet) or both a SinkAndSource. std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value > FlowDirection() const; @@ -44309,7 +44309,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > SystemType() const; void setSystemType(const std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcFlowDirectionEnum::Value > v8_FlowDirection, std::optional< ::Ifc4x3_tc1::IfcDistributionPortTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v10_SystemType); }; /// A distribution system is a network designed to receive, store, maintain, distribute, or control the flow of a distribution media. A common example is a heating hot water system that consists of a pump, a tank, and an interconnected piping system for distributing hot water to terminals. @@ -44355,7 +44355,7 @@ public: class IFC_PARSE_API IfcDistributionSystem : public IfcSystem { public: IfcDistributionSystem() {} - explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcDistributionSystem (const std::weak_ptr& data) : IfcSystem(data) {} /// Long name for a system, used for informal purposes. It should be used, if available, in conjunction with the inherited Name attribute. /// @@ -44366,7 +44366,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction for @@ -44728,7 +44728,7 @@ public: class IFC_PARSE_API IfcDoor : public IfcBuiltElement { public: IfcDoor() {} - explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcDoor (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the door opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the door is inserted. /// @@ -44756,7 +44756,7 @@ public: std::optional< std::string > UserDefinedOperationType() const; void setUserDefinedOperationType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_tc1::IfcDoorTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcDoorTypeOperationEnum::Value > v12_OperationType, std::optional< std::string > v13_UserDefinedOperationType); }; /// The flow fitting type IfcDuctFittingType defines commonly shared information for occurrences of duct fittings. The set of shared information may include: @@ -44791,13 +44791,13 @@ public: class IFC_PARSE_API IfcDuctFittingType : public IfcFlowFittingType { public: IfcDuctFittingType() {} - explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} + explicit IfcDuctFittingType (const std::weak_ptr& data) : IfcFlowFittingType(data) {} /// The type of duct fitting. ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value v10_PredefinedType); }; /// The flow segment type IfcDuctSegmentType defines commonly shared information for occurrences of duct segments. The set of shared information may include: @@ -44832,13 +44832,13 @@ public: class IFC_PARSE_API IfcDuctSegmentType : public IfcFlowSegmentType { public: IfcDuctSegmentType() {} - explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} + explicit IfcDuctSegmentType (const std::weak_ptr& data) : IfcFlowSegmentType(data) {} /// The type of duct segment. ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcDuctSilencerType defines commonly shared information for occurrences of duct silencers. The set of shared information may include: @@ -44870,47 +44870,47 @@ public: class IFC_PARSE_API IfcDuctSilencerType : public IfcFlowTreatmentDeviceType { public: IfcDuctSilencerType() {} - explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcDuctSilencerType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of duct silencer. ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcEarthworksCut : public IfcFeatureElementSubtraction { public: IfcEarthworksCut() {} - explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} + explicit IfcEarthworksCut (const std::weak_ptr& data) : IfcFeatureElementSubtraction(data) {} std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEarthworksCutTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcEarthworksElement : public IfcBuiltElement { public: IfcEarthworksElement() {} - explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcEarthworksElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcEarthworksFill : public IfcEarthworksElement { public: IfcEarthworksFill() {} - explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcEarthworksFill (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEarthworksFillTypeEnum::Value > v9_PredefinedType); }; /// The flow terminal type IfcElectricApplianceType defines commonly shared information for occurrences of electric appliances. The set of shared information may include: @@ -44945,13 +44945,13 @@ public: class IFC_PARSE_API IfcElectricApplianceType : public IfcFlowTerminalType { public: IfcElectricApplianceType() {} - explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcElectricApplianceType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of electrical appliance from which the type required may be set. ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricDistributionBoardType defines commonly shared information for occurrences of distribution boards. The set of shared information may include: @@ -44984,13 +44984,13 @@ public: class IFC_PARSE_API IfcElectricDistributionBoardType : public IfcFlowControllerType { public: IfcElectricDistributionBoardType() {} - explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricDistributionBoardType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electric distribution type from which the type required may be set. ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value v10_PredefinedType); }; /// The flow storage device type IfcElectricFlowStorageDeviceType defines commonly shared information for occurrences of electric flow storage devices. The set of shared information may include: @@ -45023,25 +45023,25 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDeviceType : public IfcFlowStorageDeviceType { public: IfcElectricFlowStorageDeviceType() {} - explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} + explicit IfcElectricFlowStorageDeviceType (const std::weak_ptr& data) : IfcFlowStorageDeviceType(data) {} /// Identifies the predefined types of electric flow storage devices from which the type required may be set. ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDeviceType : public IfcFlowTreatmentDeviceType { public: IfcElectricFlowTreatmentDeviceType() {} - explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcElectricFlowTreatmentDeviceType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricGeneratorType defines commonly shared information for occurrences of electric generators. The set of shared information may include: @@ -45079,13 +45079,13 @@ public: class IFC_PARSE_API IfcElectricGeneratorType : public IfcEnergyConversionDeviceType { public: IfcElectricGeneratorType() {} - explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricGeneratorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric generators from which the type required may be set. ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value v10_PredefinedType); }; /// The energy conversion device type IfcElectricMotorType defines commonly shared information for occurrences of electric motors. The set of shared information may include: @@ -45118,13 +45118,13 @@ public: class IFC_PARSE_API IfcElectricMotorType : public IfcEnergyConversionDeviceType { public: IfcElectricMotorType() {} - explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} + explicit IfcElectricMotorType (const std::weak_ptr& data) : IfcEnergyConversionDeviceType(data) {} /// Identifies the predefined types of electric motor from which the type required may be set. ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value v10_PredefinedType); }; /// The flow controller type IfcElectricTimeControlType defines commonly shared information for occurrences of electric time controls. The set of shared information may include: @@ -45157,13 +45157,13 @@ public: class IFC_PARSE_API IfcElectricTimeControlType : public IfcFlowControllerType { public: IfcElectricTimeControlType() {} - explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} + explicit IfcElectricTimeControlType (const std::weak_ptr& data) : IfcFlowControllerType(data) {} /// Identifies the predefined types of electrical time control from which the type required may be set. ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcEnergyConversionDevice defines @@ -45178,10 +45178,10 @@ public: class IFC_PARSE_API IfcEnergyConversionDevice : public IfcDistributionFlowElement { public: IfcEnergyConversionDevice() {} - explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcEnergyConversionDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// An engine is a device that converts fuel into mechanical energy through combustion. @@ -45228,12 +45228,12 @@ public: class IFC_PARSE_API IfcEngine : public IfcEnergyConversionDevice { public: IfcEngine() {} - explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEngine (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEngineTypeEnum::Value > v9_PredefinedType); }; /// An evaporative cooler is a device that cools air by saturating it with water vapor. @@ -45283,12 +45283,12 @@ public: class IFC_PARSE_API IfcEvaporativeCooler : public IfcEnergyConversionDevice { public: IfcEvaporativeCooler() {} - explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporativeCooler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEvaporativeCoolerTypeEnum::Value > v9_PredefinedType); }; /// An evaporator is a device in which a liquid refrigerent is vaporized and absorbs heat from the surrounding fluid. @@ -45358,12 +45358,12 @@ public: class IFC_PARSE_API IfcEvaporator : public IfcEnergyConversionDevice { public: IfcEvaporator() {} - explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcEvaporator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcEvaporatorTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: The external spatial element @@ -45384,14 +45384,14 @@ public: class IFC_PARSE_API IfcExternalSpatialElement : public IfcExternalSpatialStructureElement { public: IfcExternalSpatialElement() {} - explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} + explicit IfcExternalSpatialElement (const std::weak_ptr& data) : IfcExternalSpatialStructureElement(data) {} /// Predefined generic types for an external spatial element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value >& v); std::vector< IfcRelSpaceBoundary > BoundedBy() const; // INVERSE IfcRelSpaceBoundary::RelatingSpace - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_LongName, std::optional< ::Ifc4x3_tc1::IfcExternalSpatialElementTypeEnum::Value > v9_PredefinedType); }; /// The flow moving device type IfcFanType defines commonly shared information for occurrences of fans. The set of shared information may include: @@ -45425,13 +45425,13 @@ public: class IFC_PARSE_API IfcFanType : public IfcFlowMovingDeviceType { public: IfcFanType() {} - explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} + explicit IfcFanType (const std::weak_ptr& data) : IfcFlowMovingDeviceType(data) {} /// Defines the type of fan typically used in building services. ::Ifc4x3_tc1::IfcFanTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcFanTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFanTypeEnum::Value v10_PredefinedType); }; /// The flow treatment device type IfcFilterType defines commonly shared information for occurrences of filters. The set of shared information may include: @@ -45466,13 +45466,13 @@ public: class IFC_PARSE_API IfcFilterType : public IfcFlowTreatmentDeviceType { public: IfcFilterType() {} - explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} + explicit IfcFilterType (const std::weak_ptr& data) : IfcFlowTreatmentDeviceType(data) {} /// The type of air filter. ::Ifc4x3_tc1::IfcFilterTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcFilterTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFilterTypeEnum::Value v10_PredefinedType); }; /// The flow terminal type IfcFireSuppressionTerminalType defines commonly shared information for occurrences of fire suppression terminals. The set of shared information may include: @@ -45511,13 +45511,13 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminalType : public IfcFlowTerminalType { public: IfcFireSuppressionTerminalType() {} - explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} + explicit IfcFireSuppressionTerminalType (const std::weak_ptr& data) : IfcFlowTerminalType(data) {} /// Identifies the predefined types of fire suppression terminal from which the type required may be set. ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value v10_PredefinedType); }; /// The distribution flow element IfcFlowController defines @@ -45532,10 +45532,10 @@ public: class IFC_PARSE_API IfcFlowController : public IfcDistributionFlowElement { public: IfcFlowController() {} - explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowController (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowFitting defines the occurrence of a junction or transition in a flow distribution system, such as an elbow or tee. Its type is defined by IfcFlowFittingType or its subtypes. @@ -45546,10 +45546,10 @@ public: class IFC_PARSE_API IfcFlowFitting : public IfcDistributionFlowElement { public: IfcFlowFitting() {} - explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowFitting (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution control element type IfcFlowInstrumentType defines commonly shared information for occurrences of flow instruments. The set of shared information may include: @@ -45585,13 +45585,13 @@ public: class IFC_PARSE_API IfcFlowInstrumentType : public IfcDistributionControlElementType { public: IfcFlowInstrumentType() {} - explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcFlowInstrumentType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of flow instrument from which the type required may be set. ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value v10_PredefinedType); }; /// A flow meter is a device that is used to measure the flow rate in a system. @@ -45677,12 +45677,12 @@ public: class IFC_PARSE_API IfcFlowMeter : public IfcFlowController { public: IfcFlowMeter() {} - explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcFlowMeter (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFlowMeterTypeEnum::Value > v9_PredefinedType); }; /// The distribution flow element IfcFlowMovingDevice defines the occurrence of an apparatus used to distribute, circulate or perform conveyance of fluids, including liquids and gases (such as a pump or fan), and typically participates in a flow distribution system. Its type is defined by IfcFlowMovingDeviceType or its subtypes. @@ -45693,10 +45693,10 @@ public: class IFC_PARSE_API IfcFlowMovingDevice : public IfcDistributionFlowElement { public: IfcFlowMovingDevice() {} - explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowMovingDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowSegment defines the occurrence of a segment of a flow distribution system. @@ -45725,10 +45725,10 @@ public: class IFC_PARSE_API IfcFlowSegment : public IfcDistributionFlowElement { public: IfcFlowSegment() {} - explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowSegment (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowStorageDevice defines @@ -45743,10 +45743,10 @@ public: class IFC_PARSE_API IfcFlowStorageDevice : public IfcDistributionFlowElement { public: IfcFlowStorageDevice() {} - explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowStorageDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTerminal defines the @@ -45763,10 +45763,10 @@ public: class IFC_PARSE_API IfcFlowTerminal : public IfcDistributionFlowElement { public: IfcFlowTerminal() {} - explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTerminal (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// The distribution flow element IfcFlowTreatmentDevice defines the occurrence of a device typically used to remove unwanted matter from a fluid, either liquid or gas, and typically participates in a flow distribution system. Its type is defined by IfcFlowTreatmentDeviceType or its subtypes. @@ -45777,10 +45777,10 @@ public: class IFC_PARSE_API IfcFlowTreatmentDevice : public IfcDistributionFlowElement { public: IfcFlowTreatmentDevice() {} - explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcFlowTreatmentDevice (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A footing is a part of the foundation of a structure that spreads and transmits the load to the soil, either directly or via piles. @@ -45808,7 +45808,7 @@ public: class IFC_PARSE_API IfcFooting : public IfcBuiltElement { public: IfcFooting() {} - explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcFooting (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// The generic type of the footing. /// @@ -45816,17 +45816,17 @@ public: std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFootingTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeotechnicalAssembly : public IfcGeotechnicalElement { public: IfcGeotechnicalAssembly() {} - explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} + explicit IfcGeotechnicalAssembly (const std::weak_ptr& data) : IfcGeotechnicalElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// IfcGrid ia a planar design @@ -45928,7 +45928,7 @@ public: class IFC_PARSE_API IfcGrid : public IfcPositioningElement { public: IfcGrid() {} - explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcGrid (const std::weak_ptr& data) : IfcPositioningElement(data) {} /// List of grid axes defining the first row of grid lines. std::vector< ::Ifc4x3_tc1::IfcGridAxis > UAxes() const; @@ -45942,7 +45942,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::vector< ::Ifc4x3_tc1::IfcGridAxis > v8_UAxes, std::vector< ::Ifc4x3_tc1::IfcGridAxis > v9_VAxes, std::optional< std::vector< ::Ifc4x3_tc1::IfcGridAxis > > v10_WAxes, std::optional< ::Ifc4x3_tc1::IfcGridTypeEnum::Value > v11_PredefinedType); }; /// A heat exchanger is a device used to provide heat transfer between non-mixing media such as plate and shell and tube heat exchangers. @@ -45998,12 +45998,12 @@ public: class IFC_PARSE_API IfcHeatExchanger : public IfcEnergyConversionDevice { public: IfcHeatExchanger() {} - explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHeatExchanger (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcHeatExchangerTypeEnum::Value > v9_PredefinedType); }; /// A humidifier is a device that adds moisture into the air. @@ -46052,12 +46052,12 @@ public: class IFC_PARSE_API IfcHumidifier : public IfcEnergyConversionDevice { public: IfcHumidifier() {} - explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcHumidifier (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcHumidifierTypeEnum::Value > v9_PredefinedType); }; /// An interceptor is a device designed and installed in order to separate and retain deleterious, hazardous or undesirable matter while permitting normal sewage or liquids to discharge into a collection system by gravity. @@ -46120,12 +46120,12 @@ public: class IFC_PARSE_API IfcInterceptor : public IfcFlowTreatmentDevice { public: IfcInterceptor() {} - explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcInterceptor (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcInterceptorTypeEnum::Value > v9_PredefinedType); }; /// A junction box is an enclosure within which cables are connected. @@ -46197,24 +46197,24 @@ public: class IFC_PARSE_API IfcJunctionBox : public IfcFlowFitting { public: IfcJunctionBox() {} - explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcJunctionBox (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcJunctionBoxTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcKerb : public IfcBuiltElement { public: IfcKerb() {} - explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcKerb (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcKerbTypeEnum::Value > v9_PredefinedType); }; /// A lamp is an artificial light source such as a light bulb or tube. @@ -46267,12 +46267,12 @@ public: class IFC_PARSE_API IfcLamp : public IfcFlowTerminal { public: IfcLamp() {} - explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLamp (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLampTypeEnum::Value > v9_PredefinedType); }; /// A light fixture is a container that is designed for the purpose of housing one or more lamps and optionally devices that control, restrict or vary their emission. @@ -46344,34 +46344,34 @@ public: class IFC_PARSE_API IfcLightFixture : public IfcFlowTerminal { public: IfcLightFixture() {} - explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLightFixture (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLightFixtureTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcLinearPositioningElement : public IfcPositioningElement { public: IfcLinearPositioningElement() {} - explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} + explicit IfcLinearPositioningElement (const std::weak_ptr& data) : IfcPositioningElement(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation); }; class IFC_PARSE_API IfcLiquidTerminal : public IfcFlowTerminal { public: IfcLiquidTerminal() {} - explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcLiquidTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcLiquidTerminalTypeEnum::Value > v9_PredefinedType); }; /// A medical device is attached to a medical piping system and operates upon medical gases to perform a specific function. Medical gases include medical air, medical vacuum, oxygen, carbon dioxide, nitrogen, and nitrous oxide. @@ -46421,12 +46421,12 @@ public: class IFC_PARSE_API IfcMedicalDevice : public IfcFlowTerminal { public: IfcMedicalDevice() {} - explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMedicalDevice (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMedicalDeviceTypeEnum::Value > v9_PredefinedType); }; /// An IfcMember is a @@ -46682,7 +46682,7 @@ public: class IFC_PARSE_API IfcMember : public IfcBuiltElement { public: IfcMember() {} - explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMember (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a member that is specified in an enumeration. There may be a property set given for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcMemberType is assigned, providing its own IfcMemberType.PredefinedType. @@ -46691,31 +46691,31 @@ public: std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMemberTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMobileTelecommunicationsAppliance : public IfcFlowTerminal { public: IfcMobileTelecommunicationsAppliance() {} - explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcMobileTelecommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMobileTelecommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcMooringDevice : public IfcBuiltElement { public: IfcMooringDevice() {} - explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcMooringDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMooringDeviceTypeEnum::Value > v9_PredefinedType); }; /// A motor connection provides the means for connecting a motor as the driving device to the driven device. @@ -46762,24 +46762,24 @@ public: class IFC_PARSE_API IfcMotorConnection : public IfcEnergyConversionDevice { public: IfcMotorConnection() {} - explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcMotorConnection (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcMotorConnectionTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcNavigationElement : public IfcBuiltElement { public: IfcNavigationElement() {} - explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcNavigationElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcNavigationElementTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO/CD 10303-42:1992 This is a special subtype of boundary curve which has the additional semantics of defining an outer boundary of a surface. No more than one such curve shall be included in the set of boundaries of a curve bounded surface. @@ -46790,10 +46790,10 @@ public: class IFC_PARSE_API IfcOuterBoundaryCurve : public IfcBoundaryCurve { public: IfcOuterBoundaryCurve() {} - explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} + explicit IfcOuterBoundaryCurve (const std::weak_ptr& data) : IfcBoundaryCurve(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::vector< ::Ifc4x3_tc1::IfcSegment > v1_Segments, boost::logic::tribool v2_SelfIntersect); }; /// An outlet is a device installed at a point to receive one or more inserted plugs for electrical power or communications. @@ -46865,24 +46865,24 @@ public: class IFC_PARSE_API IfcOutlet : public IfcFlowTerminal { public: IfcOutlet() {} - explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcOutlet (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcOutletTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcPavement : public IfcBuiltElement { public: IfcPavement() {} - explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPavement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPavementTypeEnum::Value > v9_PredefinedType); }; /// A pile is a slender timber, concrete, or steel structural element, driven, jetted, or otherwise embedded on end in the ground for the purpose of supporting a load. @@ -46906,7 +46906,7 @@ public: class IFC_PARSE_API IfcPile : public IfcDeepFoundation { public: IfcPile() {} - explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcPile (const std::weak_ptr& data) : IfcDeepFoundation(data) {} /// The predefined generic type of the pile according to function. /// @@ -46919,7 +46919,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value > ConstructionType() const; void setConstructionType(const std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPileTypeEnum::Value > v9_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcPileConstructionEnum::Value > v10_ConstructionType); }; /// A pipe fitting is a junction or transition in a piping flow distribution system or used to connect pipe segments, resulting changes in flow characteristics to the fluid such as direction or flow rate. @@ -47010,12 +47010,12 @@ public: class IFC_PARSE_API IfcPipeFitting : public IfcFlowFitting { public: IfcPipeFitting() {} - explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcPipeFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPipeFittingTypeEnum::Value > v9_PredefinedType); }; /// A pipe segment is used to typically join two sections of a piping network. @@ -47081,12 +47081,12 @@ public: class IFC_PARSE_API IfcPipeSegment : public IfcFlowSegment { public: IfcPipeSegment() {} - explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcPipeSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPipeSegmentTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: An IfcPlate is a planar and @@ -47320,7 +47320,7 @@ public: class IFC_PARSE_API IfcPlate : public IfcBuiltElement { public: IfcPlate() {} - explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcPlate (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a plate that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcPlateType is assigned, providing its own IfcPlateType.PredefinedType. @@ -47329,7 +47329,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPlateTypeEnum::Value > v9_PredefinedType); }; /// A protective device breaks an electrical circuit when a stated electric current that passes through it is exceeded. @@ -47411,12 +47411,12 @@ public: class IFC_PARSE_API IfcProtectiveDevice : public IfcFlowController { public: IfcProtectiveDevice() {} - explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcProtectiveDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcProtectiveDeviceTrippingUnitType defines commonly shared information for occurrences of protective device tripping units. The set of shared information may include: @@ -47462,13 +47462,13 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnitType : public IfcDistributionControlElementType { public: IfcProtectiveDeviceTrippingUnitType() {} - explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcProtectiveDeviceTrippingUnitType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of protective device tripping unit types from which the type required may be set. ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value v10_PredefinedType); }; /// A pump is a device which imparts mechanical work on fluids or slurries to move them through a channel or pipeline. A typical use of a pump is to circulate chilled water or heating hot water in a building services distribution system. @@ -47523,24 +47523,24 @@ public: class IFC_PARSE_API IfcPump : public IfcFlowMovingDevice { public: IfcPump() {} - explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcPump (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcPumpTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcRail : public IfcBuiltElement { public: IfcRail() {} - explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRail (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRailTypeEnum::Value > v9_PredefinedType); }; /// Definition of IAI: The railing is a frame assembly @@ -47678,7 +47678,7 @@ public: class IFC_PARSE_API IfcRailing : public IfcBuiltElement { public: IfcRailing() {} - explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRailing (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic types for a railing that are specified in an enumeration. There may be a property set given for the predefined types. /// NOTE: The use of the predefined type directly at the occurrence object level of IfcRailing is only permitted, if no type object IfcRailingType is assigned. @@ -47686,7 +47686,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRailingTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Inclined way or floor @@ -47825,7 +47825,7 @@ public: class IFC_PARSE_API IfcRamp : public IfcBuiltElement { public: IfcRamp() {} - explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRamp (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a ramp that are specified in an enumeration. /// @@ -47835,7 +47835,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRampTypeEnum::Value > v9_PredefinedType); }; /// A ramp is an inclined slab segment, normally @@ -48029,7 +48029,7 @@ public: class IFC_PARSE_API IfcRampFlight : public IfcBuiltElement { public: IfcRampFlight() {} - explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRampFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a ramp flight that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcRampFlightType is assigned, providing its own IfcRampFlightType.PredefinedType. @@ -48038,7 +48038,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRampFlightTypeEnum::Value > v9_PredefinedType); }; /// A rational B-spline curve with knots is a B-spline curve @@ -48080,25 +48080,25 @@ public: class IFC_PARSE_API IfcRationalBSplineCurveWithKnots : public IfcBSplineCurveWithKnots { public: IfcRationalBSplineCurveWithKnots() {} - explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} + explicit IfcRationalBSplineCurveWithKnots (const std::weak_ptr& data) : IfcBSplineCurveWithKnots(data) {} /// The supplied values of the weights. std::vector< double > /*[2:?]*/ WeightsData() const; void setWeightsData(const std::vector< double > /*[2:?]*/& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(int v1_Degree, std::vector< ::Ifc4x3_tc1::IfcCartesianPoint > v2_ControlPointsList, ::Ifc4x3_tc1::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_tc1::IfcKnotType::Value v8_KnotSpec, std::vector< double > /*[2:?]*/ v9_WeightsData); }; class IFC_PARSE_API IfcReinforcedSoil : public IfcEarthworksElement { public: IfcReinforcedSoil() {} - explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} + explicit IfcReinforcedSoil (const std::weak_ptr& data) : IfcEarthworksElement(data) {} std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcReinforcedSoilTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48132,7 +48132,7 @@ public: class IFC_PARSE_API IfcReinforcingBar : public IfcReinforcingElement { public: IfcReinforcingBar() {} - explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} + explicit IfcReinforcingBar (const std::weak_ptr& data) : IfcReinforcingElement(data) {} std::optional< double > NominalDiameter() const; void setNominalDiameter(const std::optional< double >& v); @@ -48146,7 +48146,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > BarSurface() const; void setBarSurface(const std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< std::string > v9_SteelGrade, std::optional< double > v10_NominalDiameter, std::optional< double > v11_CrossSectionArea, std::optional< double > v12_BarLength, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value > v13_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface); }; /// Definition from IAI: A steel bar, usually with manufactured deformations in the surface, @@ -48168,7 +48168,7 @@ public: class IFC_PARSE_API IfcReinforcingBarType : public IfcReinforcingElementType { public: IfcReinforcingBarType() {} - explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} + explicit IfcReinforcingBarType (const std::weak_ptr& data) : IfcReinforcingElementType(data) {} /// The predefined type is always BAR. ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value PredefinedType() const; @@ -48190,7 +48190,7 @@ public: std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > BendingParameters() const; void setBendingParameters(const std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcReinforcingBarTypeEnum::Value v10_PredefinedType, std::optional< double > v11_NominalDiameter, std::optional< double > v12_CrossSectionArea, std::optional< double > v13_BarLength, std::optional< ::Ifc4x3_tc1::IfcReinforcingBarSurfaceEnum::Value > v14_BarSurface, std::optional< std::string > v15_BendingShapeCode, std::optional< std::vector< ::Ifc4x3_tc1::IfcBendingParameterSelect > > v16_BendingParameters); }; /// Definition from ISO 6707-1:1989: Construction enclosing the building from above. @@ -48341,7 +48341,7 @@ public: class IFC_PARSE_API IfcRoof : public IfcBuiltElement { public: IfcRoof() {} - explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcRoof (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a roof that are specified in an enumeration. /// @@ -48349,7 +48349,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcRoofTypeEnum::Value > v9_PredefinedType); }; /// A sanitary terminal is a fixed appliance or terminal usually supplied with water and used for drinking, cleaning or foul water disposal or that is an item of equipment directly used with such an appliance or terminal. @@ -48481,12 +48481,12 @@ public: class IFC_PARSE_API IfcSanitaryTerminal : public IfcFlowTerminal { public: IfcSanitaryTerminal() {} - explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSanitaryTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSanitaryTerminalTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcSensorType defines commonly shared information for occurrences of sensors. The set of shared information may include: @@ -48540,13 +48540,13 @@ public: class IFC_PARSE_API IfcSensorType : public IfcDistributionControlElementType { public: IfcSensorType() {} - explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcSensorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of sensor from which the type required may be set. ::Ifc4x3_tc1::IfcSensorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcSensorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcSensorTypeEnum::Value v10_PredefinedType); }; /// Definition from IAI: Shading devices are purpose built @@ -48566,26 +48566,26 @@ public: class IFC_PARSE_API IfcShadingDevice : public IfcBuiltElement { public: IfcShadingDevice() {} - explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcShadingDevice (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a shading device that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcShadingDeviceType is assigned, providing its own IfcShadingDeviceType.PredefinedType. std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcShadingDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcSignal : public IfcFlowTerminal { public: IfcSignal() {} - explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSignal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSignalTypeEnum::Value > v9_PredefinedType); }; /// A slab is a component of the @@ -48851,7 +48851,7 @@ public: class IFC_PARSE_API IfcSlab : public IfcBuiltElement { public: IfcSlab() {} - explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcSlab (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a slab that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcSlabType is assigned, providing its own IfcSlabType.PredefinedType. @@ -48860,7 +48860,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSlabTypeEnum::Value > v9_PredefinedType); }; /// A solar device converts solar radiation into other energy such as electric current or thermal energy. @@ -48913,12 +48913,12 @@ public: class IFC_PARSE_API IfcSolarDevice : public IfcEnergyConversionDevice { public: IfcSolarDevice() {} - explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcSolarDevice (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSolarDeviceTypeEnum::Value > v9_PredefinedType); }; /// Space heaters utilize a combination of radiation and/or natural convection using a heating source such as electricity, steam or hot water to heat a limited space or area. Examples of space heaters include radiators, convectors, baseboard and finned-tube heaters. @@ -48986,12 +48986,12 @@ public: class IFC_PARSE_API IfcSpaceHeater : public IfcFlowTerminal { public: IfcSpaceHeater() {} - explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcSpaceHeater (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSpaceHeaterTypeEnum::Value > v9_PredefinedType); }; /// A stack terminal is placed at the top of a ventilating stack (such as to prevent ingress by birds or rainwater) or rainwater pipe (to act as a collector or hopper for discharge from guttering). @@ -49047,12 +49047,12 @@ public: class IFC_PARSE_API IfcStackTerminal : public IfcFlowTerminal { public: IfcStackTerminal() {} - explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcStackTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcStackTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Construction comprising @@ -49223,7 +49223,7 @@ public: class IFC_PARSE_API IfcStair : public IfcBuiltElement { public: IfcStair() {} - explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStair (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined shape types for a stair that are specified in an enumeration. /// @@ -49231,7 +49231,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcStairTypeEnum::Value > v9_PredefinedType); }; /// A stair flight is an assembly of @@ -49404,7 +49404,7 @@ public: class IFC_PARSE_API IfcStairFlight : public IfcBuiltElement { public: IfcStairFlight() {} - explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcStairFlight (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< int > NumberOfRisers() const; void setNumberOfRisers(const std::optional< int >& v); @@ -49430,7 +49430,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< int > v9_NumberOfRisers, std::optional< int > v10_NumberOfTreads, std::optional< double > v11_RiserHeight, std::optional< double > v12_TreadLength, std::optional< ::Ifc4x3_tc1::IfcStairFlightTypeEnum::Value > v13_PredefinedType); }; /// Definition from IAI: The IfcStructuralAnalysisModel is used to assemble all information needed to represent a structural analysis model. It encompasses certain general properties (such as analysis type), references to all contained structural members, structural supports or connections, as well as loads and the respective load results. @@ -49459,7 +49459,7 @@ public: class IFC_PARSE_API IfcStructuralAnalysisModel : public IfcSystem { public: IfcStructuralAnalysisModel() {} - explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} + explicit IfcStructuralAnalysisModel (const std::weak_ptr& data) : IfcSystem(data) {} /// Defines the type of the structural analysis model. ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value PredefinedType() const; @@ -49490,7 +49490,7 @@ public: ::Ifc4x3_tc1::IfcObjectPlacement SharedPlacement() const; void setSharedPlacement(const ::Ifc4x3_tc1::IfcObjectPlacement& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcAnalysisModelTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcAxis2Placement3D v7_OrientationOf2DPlane, std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralLoadGroup > > v8_LoadedBy, std::optional< std::vector< ::Ifc4x3_tc1::IfcStructuralResultGroup > > v9_HasResults, ::Ifc4x3_tc1::IfcObjectPlacement v10_SharedPlacement); }; /// Definition from IAI: A load case is a load group, commonly used to group loads from the same action source. @@ -49499,7 +49499,7 @@ public: class IFC_PARSE_API IfcStructuralLoadCase : public IfcStructuralLoadGroup { public: IfcStructuralLoadCase() {} - explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} + explicit IfcStructuralLoadCase (const std::weak_ptr& data) : IfcStructuralLoadGroup(data) {} /// The self weight coefficients specify ratios at which loads due to weight of members shall be included in the load case. These loads are not explicitly modeled as instances of IfcStructuralAction. Instead they shall be calculated according to geometry, section, and material of each member. /// @@ -49509,7 +49509,7 @@ public: std::optional< std::vector< double > /*[3:3]*/ > SelfWeightCoefficients() const; void setSelfWeightCoefficients(const std::optional< std::vector< double > /*[3:3]*/ >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcLoadGroupTypeEnum::Value v6_PredefinedType, ::Ifc4x3_tc1::IfcActionTypeEnum::Value v7_ActionType, ::Ifc4x3_tc1::IfcActionSourceTypeEnum::Value v8_ActionSource, std::optional< double > v9_Coefficient, std::optional< std::string > v10_Purpose, std::optional< std::vector< double > /*[3:3]*/ > v11_SelfWeightCoefficients); }; /// Definition from IAI: Defines an action with constant value which is distributed over a surface. @@ -49522,10 +49522,10 @@ public: class IFC_PARSE_API IfcStructuralPlanarAction : public IfcStructuralSurfaceAction { public: IfcStructuralPlanarAction() {} - explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} + explicit IfcStructuralPlanarAction (const std::weak_ptr& data) : IfcStructuralSurfaceAction(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, ::Ifc4x3_tc1::IfcStructuralLoad v8_AppliedLoad, ::Ifc4x3_tc1::IfcGlobalOrLocalEnum::Value v9_GlobalOrLocal, std::optional< bool > v10_DestabilizingLoad, std::optional< ::Ifc4x3_tc1::IfcProjectedOrTrueLengthEnum::Value > v11_ProjectedOrTrue, ::Ifc4x3_tc1::IfcStructuralSurfaceActivityTypeEnum::Value v12_PredefinedType); }; /// A switch is used in a cable distribution system (electrical circuit) to control or modulate the flow of electricity. @@ -49619,12 +49619,12 @@ public: class IFC_PARSE_API IfcSwitchingDevice : public IfcFlowController { public: IfcSwitchingDevice() {} - explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcSwitchingDevice (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSwitchingDeviceTypeEnum::Value > v9_PredefinedType); }; /// A tank is a vessel or container in which a fluid or gas is stored for later use. @@ -49690,24 +49690,24 @@ public: class IFC_PARSE_API IfcTank : public IfcFlowStorageDevice { public: IfcTank() {} - explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcTank (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTankTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcTrackElement : public IfcBuiltElement { public: IfcTrackElement() {} - explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcTrackElement (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTrackElementTypeEnum::Value > v9_PredefinedType); }; /// A transformer is an inductive stationary device that transfers electrical energy from one circuit to another. @@ -49755,12 +49755,12 @@ public: class IFC_PARSE_API IfcTransformer : public IfcEnergyConversionDevice { public: IfcTransformer() {} - explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTransformer (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTransformerTypeEnum::Value > v9_PredefinedType); }; /// Definition from IAI: Generalization of all transport @@ -49882,7 +49882,7 @@ public: class IFC_PARSE_API IfcTransportElement : public IfcTransportationDevice { public: IfcTransportElement() {} - explicit IfcTransportElement (const std::weak_ptr& data) : IfcTransportationDevice(data) {} + explicit IfcTransportElement (const std::weak_ptr& data) : IfcTransportationDevice(data) {} /// Predefined generic types for a transportation element that are specified in an enumeration. There might be property sets defined specifically for each predefined type. /// @@ -49890,7 +49890,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTransportElementTypeEnum::Value > v9_PredefinedType); }; /// A tube bundle is a device consisting of tubes and bundles of tubes used for heat transfer and contained typically within other energy conversion devices, such as a chiller or coil. @@ -49943,12 +49943,12 @@ public: class IFC_PARSE_API IfcTubeBundle : public IfcEnergyConversionDevice { public: IfcTubeBundle() {} - explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcTubeBundle (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcTubeBundleTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcUnitaryControlElementType defines commonly shared information for occurrences of unitary control elements. The set of shared information may include: @@ -49980,13 +49980,13 @@ public: class IFC_PARSE_API IfcUnitaryControlElementType : public IfcDistributionControlElementType { public: IfcUnitaryControlElementType() {} - explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcUnitaryControlElementType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of unitary control element from which the type required may be set. ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value v10_PredefinedType); }; /// Unitary equipment typically combine a number of components into a single product, such as air handlers, pre-packaged rooftop air-conditioning units, and split systems. @@ -50064,12 +50064,12 @@ public: class IFC_PARSE_API IfcUnitaryEquipment : public IfcEnergyConversionDevice { public: IfcUnitaryEquipment() {} - explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcUnitaryEquipment (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcUnitaryEquipmentTypeEnum::Value > v9_PredefinedType); }; /// A valve is used in a building services piping distribution system to control or modulate the flow of the fluid. @@ -50261,12 +50261,12 @@ public: class IFC_PARSE_API IfcValve : public IfcFlowController { public: IfcValve() {} - explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcValve (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcValveTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Vertical construction @@ -50514,7 +50514,7 @@ public: class IFC_PARSE_API IfcWall : public IfcBuiltElement { public: IfcWall() {} - explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWall (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a wall that is specified in an enumeration. There may be a property set given specifically for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcWallType is assigned, providing its own IfcWallType.PredefinedType. @@ -50523,7 +50523,7 @@ public: std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// The IfcWallStandardCase defines a wall with certain @@ -50731,10 +50731,10 @@ public: class IFC_PARSE_API IfcWallStandardCase : public IfcWall { public: IfcWallStandardCase() {} - explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} + explicit IfcWallStandardCase (const std::weak_ptr& data) : IfcWall(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWallTypeEnum::Value > v9_PredefinedType); }; /// A waste terminal has the purpose of collecting or intercepting waste from one or more sanitary terminals or other fluid waste generating equipment and discharging it into a single waste/drainage system. @@ -50844,12 +50844,12 @@ public: class IFC_PARSE_API IfcWasteTerminal : public IfcFlowTerminal { public: IfcWasteTerminal() {} - explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcWasteTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcWasteTerminalTypeEnum::Value > v9_PredefinedType); }; /// Definition form ISO 6707-1:1989: Construction for @@ -51213,7 +51213,7 @@ public: class IFC_PARSE_API IfcWindow : public IfcBuiltElement { public: IfcWindow() {} - explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcWindow (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Overall measure of the height, it reflects the Z Dimension of a bounding box, enclosing the body of the window opening. If omitted, the OverallHeight should be taken from the geometric representation of the IfcOpening in which the window is inserted. /// @@ -51241,7 +51241,7 @@ public: std::optional< std::string > UserDefinedPartitioningType() const; void setUserDefinedPartitioningType(const std::optional< std::string >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< double > v9_OverallHeight, std::optional< double > v10_OverallWidth, std::optional< ::Ifc4x3_tc1::IfcWindowTypeEnum::Value > v11_PredefinedType, std::optional< ::Ifc4x3_tc1::IfcWindowTypePartitioningEnum::Value > v12_PartitioningType, std::optional< std::string > v13_UserDefinedPartitioningType); }; /// The distribution control element type IfcActuatorType defines commonly shared information for occurrences of actuators. The set of shared information may include: @@ -51278,13 +51278,13 @@ public: class IFC_PARSE_API IfcActuatorType : public IfcDistributionControlElementType { public: IfcActuatorType() {} - explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcActuatorType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of actuator from which the type required may be set. ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value v10_PredefinedType); }; /// An air terminal is a terminating or origination point for the transfer of air between distribution system(s) and one or more spaces. It can also be used for the transfer of air between adjacent spaces. @@ -51347,12 +51347,12 @@ public: class IFC_PARSE_API IfcAirTerminal : public IfcFlowTerminal { public: IfcAirTerminal() {} - explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAirTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirTerminalTypeEnum::Value > v9_PredefinedType); }; /// An air terminal box typically participates in an HVAC duct distribution system and is used to control or modulate the amount of air delivered to its downstream ductwork. An air terminal box type is often referred to as an "air flow regulator". @@ -51400,12 +51400,12 @@ public: class IFC_PARSE_API IfcAirTerminalBox : public IfcFlowController { public: IfcAirTerminalBox() {} - explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcAirTerminalBox (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirTerminalBoxTypeEnum::Value > v9_PredefinedType); }; /// An air-to-air heat recovery device employs a counter-flow heat exchanger between inbound and outbound air flow. It is typically used to transfer heat from warmer air in one chamber to cooler air in the second chamber (i.e., typically used to recover heat from the conditioned air being exhausted and the outside air being supplied to a building), resulting in energy savings from reduced heating (or cooling) requirements. @@ -51456,12 +51456,12 @@ public: class IFC_PARSE_API IfcAirToAirHeatRecovery : public IfcEnergyConversionDevice { public: IfcAirToAirHeatRecovery() {} - explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcAirToAirHeatRecovery (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAirToAirHeatRecoveryTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcAlarmType defines commonly shared information for occurrences of alarms. The set of shared information may include: @@ -51493,25 +51493,25 @@ public: class IFC_PARSE_API IfcAlarmType : public IfcDistributionControlElementType { public: IfcAlarmType() {} - explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcAlarmType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of alarm from which the type required may be set. ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcAlignment : public IfcLinearPositioningElement { public: IfcAlignment() {} - explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} + explicit IfcAlignment (const std::weak_ptr& data) : IfcLinearPositioningElement(data) {} std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< ::Ifc4x3_tc1::IfcAlignmentTypeEnum::Value > v8_PredefinedType); }; /// An audio-visual appliance is a device that displays, captures, transmits, or receives audio or video. @@ -51695,12 +51695,12 @@ public: class IFC_PARSE_API IfcAudioVisualAppliance : public IfcFlowTerminal { public: IfcAudioVisualAppliance() {} - explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcAudioVisualAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAudioVisualApplianceTypeEnum::Value > v9_PredefinedType); }; /// Definition from ISO 6707-1:1989: Structural member designed to carry loads between or beyond points of support, usually narrow in relation to its length and horizontal or nearly so. @@ -51943,7 +51943,7 @@ public: class IFC_PARSE_API IfcBeam : public IfcBuiltElement { public: IfcBeam() {} - explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBeam (const std::weak_ptr& data) : IfcBuiltElement(data) {} /// Predefined generic type for a beam that is specified in an enumeration. There may be a property set given specificly for the predefined types. /// NOTE The PredefinedType shall only be used, if no type object IfcBeamType is assigned, providing its own IfcBeamType.PredefinedType. @@ -51952,19 +51952,19 @@ public: std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBeamTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBearing : public IfcBuiltElement { public: IfcBearing() {} - explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBearing (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBearingTypeEnum::Value > v9_PredefinedType); }; /// A boiler is a closed, pressure-rated vessel in which water or other fluid is heated using an energy source such as natural gas, heating oil, or electricity. The fluid in the vessel is then circulated out of the boiler for use in various processes or heating applications. @@ -52039,22 +52039,22 @@ public: class IFC_PARSE_API IfcBoiler : public IfcEnergyConversionDevice { public: IfcBoiler() {} - explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBoiler (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBoilerTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcBorehole : public IfcGeotechnicalAssembly { public: IfcBorehole() {} - explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcBorehole (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Definition from IAI: The IfcBuildingElementProxy @@ -52250,12 +52250,12 @@ public: class IFC_PARSE_API IfcBuildingElementProxy : public IfcBuiltElement { public: IfcBuildingElementProxy() {} - explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} + explicit IfcBuildingElementProxy (const std::weak_ptr& data) : IfcBuiltElement(data) {} std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBuildingElementProxyTypeEnum::Value > v9_PredefinedType); }; /// A burner is a device that converts fuel into heat through combustion. It includes gas, oil, and wood burners. @@ -52302,12 +52302,12 @@ public: class IFC_PARSE_API IfcBurner : public IfcEnergyConversionDevice { public: IfcBurner() {} - explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcBurner (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcBurnerTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier fitting is a fitting that is placed at junction or transition in a cable carrier system. @@ -52374,13 +52374,13 @@ public: class IFC_PARSE_API IfcCableCarrierFitting : public IfcFlowFitting { public: IfcCableCarrierFitting() {} - explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableCarrierFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable carrier fitting from which the type required may be set. std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableCarrierFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable carrier segment is a flow segment that is specifically used to carry and support cabling. @@ -52445,13 +52445,13 @@ public: class IFC_PARSE_API IfcCableCarrierSegment : public IfcFlowSegment { public: IfcCableCarrierSegment() {} - explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableCarrierSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable carrier segment from which the type required may be set. std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableCarrierSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cable fitting is a fitting that is placed at a junction, transition or termination in a cable system. @@ -52531,13 +52531,13 @@ public: class IFC_PARSE_API IfcCableFitting : public IfcFlowFitting { public: IfcCableFitting() {} - explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcCableFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} /// Identifies the predefined types of cable fitting from which the type required may be set. std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableFittingTypeEnum::Value > v9_PredefinedType); }; /// A cable segment is a flow segment used to carry electrical power, data, or telecommunications signals. @@ -52630,25 +52630,25 @@ public: class IFC_PARSE_API IfcCableSegment : public IfcFlowSegment { public: IfcCableSegment() {} - explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcCableSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} /// Identifies the predefined types of cable segment from which the type required may be set. std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCableSegmentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcCaissonFoundation : public IfcDeepFoundation { public: IfcCaissonFoundation() {} - explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} + explicit IfcCaissonFoundation (const std::weak_ptr& data) : IfcDeepFoundation(data) {} std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCaissonFoundationTypeEnum::Value > v9_PredefinedType); }; /// A chiller is a device used to remove heat from a liquid via a vapor-compression or absorption refrigeration cycle to cool a fluid, typically water or a mixture of water and glycol. The chilled fluid is then used to cool and dehumidify air in a building. @@ -52723,12 +52723,12 @@ public: class IFC_PARSE_API IfcChiller : public IfcEnergyConversionDevice { public: IfcChiller() {} - explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcChiller (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcChillerTypeEnum::Value > v9_PredefinedType); }; /// A coil is a device used to provide heat transfer between non-mixing media. A common example is a cooling coil, which utilizes a finned coil in which circulates chilled water, antifreeze, or refrigerant that is used to remove heat from air moving across the surface of the coil. A coil may be used either for heating or cooling purposes by placing a series of tubes (the coil) carrying a heating or cooling fluid into an airstream. The coil may be constructed from tubes bundled in a serpentine form or from finned tubes that give a extended heat transfer surface. @@ -52800,12 +52800,12 @@ public: class IFC_PARSE_API IfcCoil : public IfcEnergyConversionDevice { public: IfcCoil() {} - explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoil (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoilTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -52913,12 +52913,12 @@ public: class IFC_PARSE_API IfcCommunicationsAppliance : public IfcFlowTerminal { public: IfcCommunicationsAppliance() {} - explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcCommunicationsAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCommunicationsApplianceTypeEnum::Value > v9_PredefinedType); }; /// A compressor is a device that compresses a fluid typically used in a refrigeration circuit. @@ -52970,12 +52970,12 @@ public: class IFC_PARSE_API IfcCompressor : public IfcFlowMovingDevice { public: IfcCompressor() {} - explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcCompressor (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCompressorTypeEnum::Value > v9_PredefinedType); }; /// A condenser is a device that is used to dissipate heat, typically by condensing a substance such as a refrigerant from its gaseous to its liquid state. @@ -53047,12 +53047,12 @@ public: class IFC_PARSE_API IfcCondenser : public IfcEnergyConversionDevice { public: IfcCondenser() {} - explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCondenser (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCondenserTypeEnum::Value > v9_PredefinedType); }; /// The distribution control element type IfcControllerType defines commonly shared information for occurrences of controllers. The set of shared information may include: @@ -53094,25 +53094,25 @@ public: class IFC_PARSE_API IfcControllerType : public IfcDistributionControlElementType { public: IfcControllerType() {} - explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} + explicit IfcControllerType (const std::weak_ptr& data) : IfcDistributionControlElementType(data) {} /// Identifies the predefined types of controller from which the type required may be set. ::Ifc4x3_tc1::IfcControllerTypeEnum::Value PredefinedType() const; void setPredefinedType(const ::Ifc4x3_tc1::IfcControllerTypeEnum::Value& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ApplicableOccurrence, std::optional< std::vector< ::Ifc4x3_tc1::IfcPropertySetDefinition > > v6_HasPropertySets, std::optional< std::vector< ::Ifc4x3_tc1::IfcRepresentationMap > > v7_RepresentationMaps, std::optional< std::string > v8_Tag, std::optional< std::string > v9_ElementType, ::Ifc4x3_tc1::IfcControllerTypeEnum::Value v10_PredefinedType); }; class IFC_PARSE_API IfcConveyorSegment : public IfcFlowSegment { public: IfcConveyorSegment() {} - explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcConveyorSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcConveyorSegmentTypeEnum::Value > v9_PredefinedType); }; /// A cooled beam (or chilled beam) is a device typically used to cool air by circulating a fluid such as chilled water through exposed finned tubes above a space. Typically mounted overhead near or within a ceiling, the cooled beam uses convection to cool the space below it by acting as a heat sink for the naturally rising warm air of the space. Once cooled, the air naturally drops back to the floor where the cycle begins again. @@ -53167,12 +53167,12 @@ public: class IFC_PARSE_API IfcCooledBeam : public IfcEnergyConversionDevice { public: IfcCooledBeam() {} - explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCooledBeam (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCooledBeamTypeEnum::Value > v9_PredefinedType); }; /// A cooling tower is a device which rejects heat to ambient air by circulating a fluid such as water through it to reduce its temperature by partial evaporation. @@ -53235,12 +53235,12 @@ public: class IFC_PARSE_API IfcCoolingTower : public IfcEnergyConversionDevice { public: IfcCoolingTower() {} - explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcCoolingTower (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcCoolingTowerTypeEnum::Value > v9_PredefinedType); }; /// A damper typically participates in an HVAC duct distribution system and is used to control or modulate the flow of air. @@ -53317,24 +53317,24 @@ public: class IFC_PARSE_API IfcDamper : public IfcFlowController { public: IfcDamper() {} - explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDamper (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDamperTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionBoard : public IfcFlowController { public: IfcDistributionBoard() {} - explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// A distribution chamber element defines a place at which distribution systems and their constituent elements may be inspected or through which they may travel. @@ -53371,22 +53371,22 @@ public: class IFC_PARSE_API IfcDistributionChamberElement : public IfcDistributionFlowElement { public: IfcDistributionChamberElement() {} - explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} + explicit IfcDistributionChamberElement (const std::weak_ptr& data) : IfcDistributionFlowElement(data) {} std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDistributionChamberElementTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcDistributionCircuit : public IfcDistributionSystem { public: IfcDistributionCircuit() {} - explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} + explicit IfcDistributionCircuit (const std::weak_ptr& data) : IfcDistributionSystem(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, std::optional< std::string > v6_LongName, std::optional< ::Ifc4x3_tc1::IfcDistributionSystemEnum::Value > v7_PredefinedType); }; /// The distribution element IfcDistributionControlElement defines occurrence elements of a building automation control system that are used to impart control over elements of a distribution system. @@ -53470,11 +53470,11 @@ public: class IFC_PARSE_API IfcDistributionControlElement : public IfcDistributionElement { public: IfcDistributionControlElement() {} - explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} + explicit IfcDistributionControlElement (const std::weak_ptr& data) : IfcDistributionElement(data) {} std::vector< IfcRelFlowControlElements > AssignedToFlowElement() const; // INVERSE IfcRelFlowControlElements::RelatedControlElements - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// A duct fitting is a junction or transition in a ducted flow distribution system or used to connect duct segments, resulting changes in flow characteristics to the fluid such as direction and flow rate. @@ -53555,12 +53555,12 @@ public: class IFC_PARSE_API IfcDuctFitting : public IfcFlowFitting { public: IfcDuctFitting() {} - explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} + explicit IfcDuctFitting (const std::weak_ptr& data) : IfcFlowFitting(data) {} std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctFittingTypeEnum::Value > v9_PredefinedType); }; /// A duct segment is used to typically join two sections of duct network. @@ -53615,12 +53615,12 @@ public: class IFC_PARSE_API IfcDuctSegment : public IfcFlowSegment { public: IfcDuctSegment() {} - explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} + explicit IfcDuctSegment (const std::weak_ptr& data) : IfcFlowSegment(data) {} std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctSegmentTypeEnum::Value > v9_PredefinedType); }; /// A duct silencer is a device that is typically installed inside a duct distribution system for the purpose of reducing the noise levels from air movement, fan noise, etc. in the adjacent space or downstream of the duct silencer device. @@ -53668,12 +53668,12 @@ public: class IFC_PARSE_API IfcDuctSilencer : public IfcFlowTreatmentDevice { public: IfcDuctSilencer() {} - explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcDuctSilencer (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcDuctSilencerTypeEnum::Value > v9_PredefinedType); }; /// A communications appliance transmits and receives electronic or digital information as data or sound. @@ -53777,12 +53777,12 @@ public: class IFC_PARSE_API IfcElectricAppliance : public IfcFlowTerminal { public: IfcElectricAppliance() {} - explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcElectricAppliance (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricApplianceTypeEnum::Value > v9_PredefinedType); }; /// A distribution board is a flow controller in which instances of electrical devices are brought together at a single place for a particular purpose. @@ -53845,12 +53845,12 @@ public: class IFC_PARSE_API IfcElectricDistributionBoard : public IfcFlowController { public: IfcElectricDistributionBoard() {} - explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricDistributionBoard (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricDistributionBoardTypeEnum::Value > v9_PredefinedType); }; /// An electric flow storage device is a device in which electrical energy is stored and from which energy may be progressively released. @@ -53897,24 +53897,24 @@ public: class IFC_PARSE_API IfcElectricFlowStorageDevice : public IfcFlowStorageDevice { public: IfcElectricFlowStorageDevice() {} - explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} + explicit IfcElectricFlowStorageDevice (const std::weak_ptr& data) : IfcFlowStorageDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricFlowStorageDeviceTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcElectricFlowTreatmentDevice : public IfcFlowTreatmentDevice { public: IfcElectricFlowTreatmentDevice() {} - explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcElectricFlowTreatmentDevice (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricFlowTreatmentDeviceTypeEnum::Value > v9_PredefinedType); }; /// An electric generator is an engine that is a machine for converting mechanical energy into electrical energy. @@ -53967,12 +53967,12 @@ public: class IFC_PARSE_API IfcElectricGenerator : public IfcEnergyConversionDevice { public: IfcElectricGenerator() {} - explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricGenerator (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricGeneratorTypeEnum::Value > v9_PredefinedType); }; /// An electric motor is an engine that is a machine for converting electrical energy into mechanical energy. @@ -54019,12 +54019,12 @@ public: class IFC_PARSE_API IfcElectricMotor : public IfcEnergyConversionDevice { public: IfcElectricMotor() {} - explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} + explicit IfcElectricMotor (const std::weak_ptr& data) : IfcEnergyConversionDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricMotorTypeEnum::Value > v9_PredefinedType); }; /// An electric time control is a device that applies control to the provision or flow of electrical energy over time. @@ -54071,12 +54071,12 @@ public: class IFC_PARSE_API IfcElectricTimeControl : public IfcFlowController { public: IfcElectricTimeControl() {} - explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} + explicit IfcElectricTimeControl (const std::weak_ptr& data) : IfcFlowController(data) {} std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcElectricTimeControlTypeEnum::Value > v9_PredefinedType); }; /// A fan is a device which imparts mechanical work on a gas. A typical usage of a fan is to induce airflow in a building services air distribution system. @@ -54136,12 +54136,12 @@ public: class IFC_PARSE_API IfcFan : public IfcFlowMovingDevice { public: IfcFan() {} - explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} + explicit IfcFan (const std::weak_ptr& data) : IfcFlowMovingDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFanTypeEnum::Value > v9_PredefinedType); }; /// A filter is an apparatus used to remove particulate or gaseous matter from fluids and gases. @@ -54234,12 +54234,12 @@ public: class IFC_PARSE_API IfcFilter : public IfcFlowTreatmentDevice { public: IfcFilter() {} - explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} + explicit IfcFilter (const std::weak_ptr& data) : IfcFlowTreatmentDevice(data) {} std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFilterTypeEnum::Value > v9_PredefinedType); }; /// A fire suppression terminal has the purpose of delivering a fluid (gas or liquid) that will suppress a fire. @@ -54311,12 +54311,12 @@ public: class IFC_PARSE_API IfcFireSuppressionTerminal : public IfcFlowTerminal { public: IfcFireSuppressionTerminal() {} - explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} + explicit IfcFireSuppressionTerminal (const std::weak_ptr& data) : IfcFlowTerminal(data) {} std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFireSuppressionTerminalTypeEnum::Value > v9_PredefinedType); }; /// A flow instrument reads and displays the value of a particular property of a system at a point, or displays the difference in the value of a property between two points. @@ -54374,32 +54374,32 @@ public: class IFC_PARSE_API IfcFlowInstrument : public IfcDistributionControlElement { public: IfcFlowInstrument() {} - explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcFlowInstrument (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcFlowInstrumentTypeEnum::Value > v9_PredefinedType); }; class IFC_PARSE_API IfcGeomodel : public IfcGeotechnicalAssembly { public: IfcGeomodel() {} - explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeomodel (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; class IFC_PARSE_API IfcGeoslice : public IfcGeotechnicalAssembly { public: IfcGeoslice() {} - explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} + explicit IfcGeoslice (const std::weak_ptr& data) : IfcGeotechnicalAssembly(data) {} - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag); }; /// Entity Definition @@ -54457,12 +54457,12 @@ public: class IFC_PARSE_API IfcProtectiveDeviceTrippingUnit : public IfcDistributionControlElement { public: IfcProtectiveDeviceTrippingUnit() {} - explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcProtectiveDeviceTrippingUnit (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcProtectiveDeviceTrippingUnitTypeEnum::Value > v9_PredefinedType); }; /// A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. @@ -54602,12 +54602,12 @@ public: class IFC_PARSE_API IfcSensor : public IfcDistributionControlElement { public: IfcSensor() {} - explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcSensor (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcSensorTypeEnum::Value > v9_PredefinedType); }; /// A unitary control element combines a number of control components into a single product, such as a thermostat or humidistat. @@ -54668,12 +54668,12 @@ public: class IFC_PARSE_API IfcUnitaryControlElement : public IfcDistributionControlElement { public: IfcUnitaryControlElement() {} - explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcUnitaryControlElement (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcUnitaryControlElementTypeEnum::Value > v9_PredefinedType); }; /// An actuator is a mechanical device for moving or controlling a mechanism or system. An actuator takes energy, usually created by air, electricity, or liquid, and converts that into some kind of motion. @@ -54741,12 +54741,12 @@ public: class IFC_PARSE_API IfcActuator : public IfcDistributionControlElement { public: IfcActuator() {} - explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcActuator (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcActuatorTypeEnum::Value > v9_PredefinedType); }; /// An alarm is a device that signals the existence of a condition or situation that is outside the boundaries of normal expectation or that activates such a device. @@ -54794,12 +54794,12 @@ public: class IFC_PARSE_API IfcAlarm : public IfcDistributionControlElement { public: IfcAlarm() {} - explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcAlarm (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcAlarmTypeEnum::Value > v9_PredefinedType); }; /// A controller is a device that monitors inputs and controls outputs within a building automation system. @@ -54911,12 +54911,12 @@ public: class IFC_PARSE_API IfcController : public IfcDistributionControlElement { public: IfcController() {} - explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} + explicit IfcController (const std::weak_ptr& data) : IfcDistributionControlElement(data) {} std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value > PredefinedType() const; void setPredefinedType(const std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value >& v); - static const IfcParse::entity& Class(); + static const ifcopenshell::entity& Class(); void initialize(std::string v1_GlobalId, ::Ifc4x3_tc1::IfcOwnerHistory v2_OwnerHistory, std::optional< std::string > v3_Name, std::optional< std::string > v4_Description, std::optional< std::string > v5_ObjectType, ::Ifc4x3_tc1::IfcObjectPlacement v6_ObjectPlacement, ::Ifc4x3_tc1::IfcProductRepresentation v7_Representation, std::optional< std::string > v8_Tag, std::optional< ::Ifc4x3_tc1::IfcControllerTypeEnum::Value > v9_PredefinedType); }; diff --git a/src/ifcparse/IfcSIPrefix.cpp b/src/ifcparse/si_prefix.cpp similarity index 59% rename from src/ifcparse/IfcSIPrefix.cpp rename to src/ifcparse/si_prefix.cpp index b0725445b0..2e38d3a865 100644 --- a/src/ifcparse/IfcSIPrefix.cpp +++ b/src/ifcparse/si_prefix.cpp @@ -17,8 +17,8 @@ * * ********************************************************************************/ -#include "IfcSIPrefix.h" -#include "InstanceData.h" +#include "si_prefix.h" +#include "instance_data.h" #ifdef HAS_SCHEMA_2x3 #include "schemas/Ifc2x3.h" @@ -57,7 +57,7 @@ #include "schemas/Ifc4x3_add2.h" #endif -double IfcParse::IfcSIPrefixToValue(const std::string& prefix) { +double ifcopenshell::si_prefix_to_value(const std::string& prefix) { if (prefix == "EXA") { return 1.e18; } @@ -110,7 +110,7 @@ double IfcParse::IfcSIPrefixToValue(const std::string& prefix) { } template -double IfcParse::get_SI_equivalent(const typename Schema::IfcNamedUnit& named_unit) { +double ifcopenshell::get_SI_equivalent(const typename Schema::IfcNamedUnit& named_unit) { double scale = 1.; typename Schema::IfcSIUnit si_unit; @@ -126,7 +126,7 @@ double IfcParse::get_SI_equivalent(const typename Schema::IfcNamedUnit& named_un } if (si_unit) { if (si_unit.Prefix()) { - scale *= IfcSIPrefixToValue(Schema::IfcSIPrefix::ToString(*si_unit.Prefix())); + scale *= si_prefix_to_value(Schema::IfcSIPrefix::ToString(*si_unit.Prefix())); } } else { scale = 0.; @@ -138,79 +138,79 @@ double IfcParse::get_SI_equivalent(const typename Schema::IfcNamedUnit& named_un #if defined(_MSC_VER) && _MSC_VER < 1900 #ifdef HAS_SCHEMA_2x3 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc2x3::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc2x3::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x1 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x1::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x1::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x2 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x2::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x2::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_rc1 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x3_rc1::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x3_rc1::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_rc2 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x3_rc2::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x3_rc2::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_rc3 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x3_rc3::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x3_rc3::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_rc4 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x3_rc4::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x3_rc4::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x3::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x3::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_tc1 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x3_tc1::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x3_tc1::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_add1 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x3_add1::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x3_add1::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_add2 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const Ifc4x3_add2::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const Ifc4x3_add2::IfcNamedUnit& named_unit); #endif #else #ifdef HAS_SCHEMA_2x3 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc2x3::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc2x3::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x1 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x1::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x1::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x2 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x2::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x2::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_rc1 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x3_rc1::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x3_rc1::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_rc2 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x3_rc2::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x3_rc2::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_rc3 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x3_rc3::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x3_rc3::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_rc4 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x3_rc4::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x3_rc4::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x3::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x3::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_tc1 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x3_tc1::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x3_tc1::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_add1 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x3_add1::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x3_add1::IfcNamedUnit& named_unit); #endif #ifdef HAS_SCHEMA_4x3_add2 -template double IFC_PARSE_API IfcParse::get_SI_equivalent(const typename Ifc4x3_add2::IfcNamedUnit& named_unit); +template double IFC_PARSE_API ifcopenshell::get_SI_equivalent(const typename Ifc4x3_add2::IfcNamedUnit& named_unit); #endif #endif diff --git a/src/ifcparse/IfcSIPrefix.h b/src/ifcparse/si_prefix.h similarity index 93% rename from src/ifcparse/IfcSIPrefix.h rename to src/ifcparse/si_prefix.h index c2ff6ded5e..c93b11c606 100644 --- a/src/ifcparse/IfcSIPrefix.h +++ b/src/ifcparse/si_prefix.h @@ -24,11 +24,11 @@ #include -namespace IfcParse { -IFC_PARSE_API double IfcSIPrefixToValue(const std::string& prefix); +namespace ifcopenshell { +IFC_PARSE_API double si_prefix_to_value(const std::string& prefix); template IFC_PARSE_API double get_SI_equivalent(const typename Schema::IfcNamedUnit&); -} // namespace IfcParse +} // namespace ifcopenshell #endif diff --git a/src/ifcparse/spf_header.cpp b/src/ifcparse/spf_header.cpp new file mode 100644 index 0000000000..e68c1ab9f5 --- /dev/null +++ b/src/ifcparse/spf_header.cpp @@ -0,0 +1,97 @@ +#include "spf_header.h" + +#include "file.h" + +static const char* const ISO_10303_21 = "ISO-10303-21"; +static const char* const HEADER = "HEADER"; +static const char* const ENDSEC = "ENDSEC"; +static const char* const DATA = "DATA"; + +using namespace ifcopenshell; + +namespace { + +std::shared_ptr make_header_entity(ifcopenshell::file* file, const ifcopenshell::entity& decl) { + const bool in_memory = file == nullptr || std::visit([](auto& storage) { + return std::is_same_v, ifcopenshell::impl::in_memory_file_storage>; + }, file->storage_); + + if (in_memory) { + return std::make_shared(file, &decl, 0, in_memory_attribute_storage(decl.attribute_count())); + } + + return std::make_shared(file, &decl, 0, rocks_db_attribute_storage{}); +} + +} // namespace + +ifcopenshell::spf_header::spf_header(ifcopenshell::file* file) + : file_(file) { + Header_section_schema::get_schema(); + + header_entities_[0] = make_header_entity(file_, Header_section_schema::file_description::Class()); + header_entities_[1] = make_header_entity(file_, Header_section_schema::file_name::Class()); + header_entities_[2] = make_header_entity(file_, Header_section_schema::file_schema::Class()); +} + +ifcopenshell::spf_header::~spf_header() = default; + +void spf_header::write(std::ostream& out) const { + out << ISO_10303_21 << ";" + << "\n"; + out << HEADER << ";" + << "\n"; + file_description().to_string(out, true); + out << ";" + << "\n"; + file_name().to_string(out, true); + out << ";" + << "\n"; + file_schema().to_string(out, true); + out << ";" + << "\n"; + out << ENDSEC << ";" + << "\n"; + out << DATA << ";" + << "\n"; +} + +void ifcopenshell::spf_header::file(ifcopenshell::file* file) { + file_ = file; +} + +void ifcopenshell::spf_header::set_file_description(const std::shared_ptr& data) { + header_entities_[0] = data; +} + +void ifcopenshell::spf_header::set_file_name(const std::shared_ptr& data) { + header_entities_[1] = data; +} + +void ifcopenshell::spf_header::set_file_schema(const std::shared_ptr& data) { + header_entities_[2] = data; +} + +const Header_section_schema::file_description ifcopenshell::spf_header::file_description() const { + return Header_section_schema::file_description(header_entities_[0]); +} + +const Header_section_schema::file_name ifcopenshell::spf_header::file_name() const { + return Header_section_schema::file_name(header_entities_[1]); +} + +const Header_section_schema::file_schema ifcopenshell::spf_header::file_schema() const { + return Header_section_schema::file_schema(header_entities_[2]); +} + +Header_section_schema::file_description ifcopenshell::spf_header::file_description() { + return Header_section_schema::file_description(header_entities_[0]); +} + +Header_section_schema::file_name ifcopenshell::spf_header::file_name() { + return Header_section_schema::file_name(header_entities_[1]); +} + +Header_section_schema::file_schema ifcopenshell::spf_header::file_schema() { + return Header_section_schema::file_schema(header_entities_[2]); +} diff --git a/src/ifcparse/IfcSpfHeader.h b/src/ifcparse/spf_header.h similarity index 76% rename from src/ifcparse/IfcSpfHeader.h rename to src/ifcparse/spf_header.h index ec0ee00f14..dd8b35899a 100644 --- a/src/ifcparse/IfcSpfHeader.h +++ b/src/ifcparse/spf_header.h @@ -21,31 +21,31 @@ #define IFCSPFHEADER_H #include "ifc_parse_api.h" -#include "InstanceData.h" -#include "Header_section_schema.h" +#include "instance_data.h" +#include "schemas/Header_section_schema.h" -namespace IfcParse { +namespace ifcopenshell { -class IfcFile; +class file; -class IFC_PARSE_API IfcSpfHeader { +class IFC_PARSE_API spf_header { private: - IfcFile* file_; + file* file_; - std::array, 3> header_entities_; + std::array, 3> header_entities_; public: - explicit IfcSpfHeader(IfcParse::IfcFile* file); - ~IfcSpfHeader(); + explicit spf_header(ifcopenshell::file* file); + ~spf_header(); void write(std::ostream& out) const; - IfcParse::IfcFile* file() { return file_; } - void file(IfcParse::IfcFile* file); + ifcopenshell::file* file() { return file_; } + void file(ifcopenshell::file* file); - void set_file_description(const std::shared_ptr& data); - void set_file_name(const std::shared_ptr& data); - void set_file_schema(const std::shared_ptr& data); + void set_file_description(const std::shared_ptr& data); + void set_file_name(const std::shared_ptr& data); + void set_file_schema(const std::shared_ptr& data); const Header_section_schema::file_description file_description() const; const Header_section_schema::file_name file_name() const; @@ -56,6 +56,6 @@ class IFC_PARSE_API IfcSpfHeader { Header_section_schema::file_schema file_schema(); }; -} // namespace IfcParse +} // namespace ifcopenshell #endif diff --git a/src/ifcparse/storage.h b/src/ifcparse/storage.h index 41680d6c93..8ceb18936f 100644 --- a/src/ifcparse/storage.h +++ b/src/ifcparse/storage.h @@ -13,7 +13,7 @@ namespace rocksdb { class WriteOptions {}; class ReadOptions {}; class Iterator {}; - class Status {}; + class status {}; } #endif @@ -115,11 +115,11 @@ private: #endif -class MutableAttributeValue; +class mutable_attribute_value; -namespace IfcParse { +namespace ifcopenshell { - struct InstanceReference { + struct instance_reference { int v; size_t file_offset; operator int() const { @@ -127,15 +127,15 @@ namespace IfcParse { } }; - typedef std::variant reference_or_simple_type; - typedef std::list, std::vector>>>> unresolved_references; + typedef std::variant reference_or_simple_type; + typedef std::list, std::vector>>>> unresolved_references; - class IfcFile; + class file; template - class IfcSpfLexer; + class spf_lexer; - struct Token { - enum TokenType { + struct token { + enum token_type { Token_NONE, Token_STRING, Token_IDENTIFIER, @@ -149,31 +149,31 @@ namespace IfcParse { }; size_t start_pos; - TokenType type; + token_type type; union { char value_char; //types: OPERATOR int value_int; //types: INT, IDENTIFIER double value_double; //types: FLOAT - const std::string* value_string; //types: STR, ENUM, KEYWORD; lifetime managed by IfcSpfLexer::string_pool_ + const std::string* value_string; //types: STR, ENUM, KEYWORD; lifetime managed by spf_lexer::string_pool_ }; - Token() : start_pos(0), + token() : start_pos(0), type(Token_NONE) {} - Token(size_t start, TokenType ty, const std::string& str) + token(size_t start, token_type ty, const std::string& str) : start_pos(start), type(ty), value_string(&str) {} - Token(size_t start, TokenType ty, int i) + token(size_t start, token_type ty, int i) : start_pos(start), type(ty), value_int(i) {} - Token(size_t start, double d) + token(size_t start, double d) : start_pos(start), type(Token_FLOAT), value_double(d) {} - Token(size_t start, char op) + token(size_t start, char op) : start_pos(start), type(Token_OPERATOR), value_char(op) {} - Token(size_t start, TokenType ty, char c) + token(size_t start, token_type ty, char c) : start_pos(start), type(ty), value_char(c) {} bool is_string(); @@ -219,7 +219,7 @@ namespace IfcParse { std::vector< std::variant< express::Base, - Token, + token, parse_context_handle >> tokens_; @@ -242,11 +242,11 @@ namespace IfcParse { parse_context& push(); - void push(Token t); + void push(token t); void push(const express::Base& inst); - std::shared_ptr construct(IfcParse::IfcFile* owner, std::optional name, unresolved_references& references_to_resolve, const IfcParse::declaration* decl, std::optional expected_size, int resolve_reference_index, bool coerce_attribute_count=true); + std::shared_ptr construct(ifcopenshell::file* owner, std::optional name, unresolved_references& references_to_resolve, const ifcopenshell::declaration* decl, std::optional expected_size, int resolve_reference_index, bool coerce_attribute_count=true); }; struct parse_context_pool { @@ -283,23 +283,23 @@ namespace IfcParse { namespace impl { struct IFC_PARSE_API in_memory_file_storage { - IfcParse::parse_context_pool context_pool_; + ifcopenshell::parse_context_pool context_pool_; - std::vector> read_simple_type_instances; - std::vector> steal_instances() { + std::vector> read_simple_type_instances; + std::vector> steal_instances() { return read_simple_type_instances; } // Either one of these needs to be set - IfcParse::IfcFile* file; - const IfcParse::schema_definition* schema; + ifcopenshell::file* file; + const ifcopenshell::schema_definition* schema; unresolved_references* references_to_resolve = nullptr; - typedef std::map> entities_by_type_t; - typedef boost::unordered_map> entity_instance_by_name_storage_t; - typedef map_transformer)>> entity_instance_by_name_t; - typedef boost::unordered_map> type_instance_by_name_t; + typedef std::map> entities_by_type_t; + typedef boost::unordered_map> entity_instance_by_name_storage_t; + typedef map_transformer)>> entity_instance_by_name_t; + typedef boost::unordered_map> type_instance_by_name_t; typedef std::map entity_instance_by_guid_t; typedef std::tuple inverse_attr_record; enum INVERSE_ATTR { @@ -310,7 +310,7 @@ namespace IfcParse { typedef std::map> entities_by_ref_t; typedef entity_instance_by_name_t::iterator iterator; - in_memory_file_storage(IfcParse::IfcFile* f = nullptr) : file(f), schema(nullptr), byid_read_(&byid_, [this](const std::shared_ptr& d) { return express::Base(d); }) {}; + in_memory_file_storage(ifcopenshell::file* f = nullptr) : file(f), schema(nullptr), byid_read_(&byid_, [this](const std::shared_ptr& d) { return express::Base(d); }) {}; in_memory_file_storage(const in_memory_file_storage&) = delete; in_memory_file_storage(const in_memory_file_storage&&) = delete; @@ -356,15 +356,15 @@ namespace IfcParse { entity_instance_by_name_t byid_read_; template - void load(IfcParse::IfcSpfLexer* tokens, std::optional entity_instance_name, const IfcParse::entity* entity, parse_context&, int attribute_index = -1); + void load(ifcopenshell::spf_lexer* tokens, std::optional entity_instance_name, const ifcopenshell::entity* entity, parse_context&, int attribute_index = -1); template - void try_read_semicolon(IfcParse::IfcSpfLexer* tokens) const; + void try_read_semicolon(ifcopenshell::spf_lexer* tokens) const; - void register_inverse(unsigned, const IfcParse::entity* from_entity, int inst_id, int attribute_index); - void unregister_inverse(unsigned, const IfcParse::entity* from_entity, const express::Base&, int attribute_index); + void register_inverse(unsigned, const ifcopenshell::entity* from_entity, int inst_id, int attribute_index); + void unregister_inverse(unsigned, const ifcopenshell::entity* from_entity, const express::Base&, int attribute_index); template - void read_from_stream(Reader* stream, const IfcParse::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass); + void read_from_stream(Reader* stream, const ifcopenshell::schema_definition*& schema, unsigned int& max_id, const std::set& typed_to_bypass); file_open_status good_ = file_open_status::SUCCESS; @@ -392,7 +392,7 @@ namespace IfcParse { template T create(int id=-1); - express::Base create(const IfcParse::declaration* decl, int id=-1); + express::Base create(const ifcopenshell::declaration* decl, int id=-1); }; class IFC_PARSE_API rocks_db_file_storage { @@ -400,7 +400,7 @@ namespace IfcParse { rocksdb::DB* db; rocksdb::WriteOptions wopts; rocksdb::ReadOptions ropts; - IfcParse::IfcFile* file; + ifcopenshell::file* file; enum instance_ref { typedecl_ref, @@ -409,8 +409,8 @@ namespace IfcParse { // to make sure that instance pointer are constant during file lifetime // cache instances because we want stable pointers - // @todo this is silly, but we cannot have the same type, this should be just a pointer then on the IfcFile side? - typedef std::map> entity_by_iden_cache_t; + // @todo this is silly, but we cannot have the same type, this should be just a pointer then on the file side? + typedef std::map> entity_by_iden_cache_t; entity_by_iden_cache_t instance_cache_, type_instance_cache_; // @todo all these size_ts should probably be uint32_t for consistency with in-mem storage @@ -423,7 +423,7 @@ namespace IfcParse { typedef set_to_map_transformer> entity_instance_by_name_t; entity_instance_by_name_t instance_by_name_; - // typedef map_transformer, std::function, std::function> entity_by_id_t; + // typedef map_transformer, std::function, std::function> entity_by_id_t; // storage is now Instance name -> Identity -> Pointer (cached) // entity_by_id_t byidentity_; @@ -449,10 +449,10 @@ namespace IfcParse { entities_by_ref_t byref_excl_; // @todo naming - rocks_db_file_storage(const std::string& filepath, IfcParse::IfcFile* file, bool readonly=false); + rocks_db_file_storage(const std::string& filepath, ifcopenshell::file* file, bool readonly=false); ~rocks_db_file_storage(); - bool read_schema(const IfcParse::schema_definition*& schema); + bool read_schema(const ifcopenshell::schema_definition*& schema); express::Base assert_existance(size_t instanceId, instance_ref r); @@ -480,7 +480,7 @@ namespace IfcParse { } public: using iterator_category = std::forward_iterator_tag; - using value_type = const IfcParse::declaration*; + using value_type = const ifcopenshell::declaration*; // @todo ? using difference_type = ptrdiff_t; using pointer = value_type const*; @@ -555,8 +555,8 @@ namespace IfcParse { // @todo rocksdb_instance_iterator? using const_iterator = entity_instance_by_name_t::iterator; - void register_inverse(unsigned, const IfcParse::entity* from_entity, int inst_id, int attribute_index); - void unregister_inverse(unsigned, const IfcParse::entity* from_entity, const express::Base&, int attribute_index); + void register_inverse(unsigned, const ifcopenshell::entity* from_entity, int inst_id, int attribute_index); + void unregister_inverse(unsigned, const ifcopenshell::entity* from_entity, const express::Base&, int attribute_index); // @todo a bit hard as a map because of value_type being an aggregate void add_type_ref(const express::Base& new_entity); @@ -569,7 +569,7 @@ namespace IfcParse { template T create(int id=-1); - express::Base create(const IfcParse::declaration* decl, int id=-1); + express::Base create(const ifcopenshell::declaration* decl, int id=-1); }; } } diff --git a/src/ifcparse/IfcUtil.cpp b/src/ifcparse/utils.cpp similarity index 61% rename from src/ifcparse/IfcUtil.cpp rename to src/ifcparse/utils.cpp index eeecbf3977..49f14d2428 100644 --- a/src/ifcparse/IfcUtil.cpp +++ b/src/ifcparse/utils.cpp @@ -1,4 +1,4 @@ -/******************************************************************************** +/******************************************************************************** * * * This file is part of IfcOpenShell. * * * @@ -51,11 +51,11 @@ #include #endif -#include "Argument.h" +#include "argument.h" #include "express.h" -#include "IfcException.h" +#include "exception.h" #include "utils.h" -#include "IfcFile.h" +#include "file.h" #include #include @@ -87,11 +87,11 @@ static const char* const argument_type_string[] = { "UNKNOWN"}; -const char* IfcUtil::ArgumentTypeToString(ArgumentType argument_type) { +const char* ifcopenshell::argument_type_to_string(argument_type argument_type) { return argument_type_string[static_cast(argument_type)]; } -bool IfcUtil::valid_binary_string(const std::string& str) { +bool ifcopenshell::valid_binary_string(const std::string& str) { for (std::string::const_iterator it = str.begin(); it != str.end(); ++it) { if (*it != '0' && *it != '1') { return false; @@ -100,13 +100,13 @@ bool IfcUtil::valid_binary_string(const std::string& str) { return true; } -void IfcUtil::sanitate_material_name(std::string& str) { +void ifcopenshell::sanitate_material_name(std::string& str) { // Spaces in material names have been observed to cause problems with obj and dae importers. // Handle other potential problematic characters here too if observing problems. boost::replace_all(str, " ", "_"); } -void IfcUtil::escape_xml(std::string& str) { +void ifcopenshell::escape_xml(std::string& str) { boost::replace_all(str, "&", "&"); boost::replace_all(str, "\"", """); boost::replace_all(str, "'", "'"); @@ -114,7 +114,7 @@ void IfcUtil::escape_xml(std::string& str) { boost::replace_all(str, ">", ">"); } -void IfcUtil::unescape_xml(std::string& str) { +void ifcopenshell::unescape_xml(std::string& str) { boost::replace_all(str, "&", "&"); boost::replace_all(str, """, "\""); boost::replace_all(str, "'", "'"); @@ -122,19 +122,19 @@ void IfcUtil::unescape_xml(std::string& str) { boost::replace_all(str, ">", ">"); } -void InstanceData::populate_derived_() { +void instance_data::populate_derived_() { if (auto* ent = declaration_->as_entity()) { for (auto it = ent->derived().begin(); it != ent->derived().end(); ++it) { if (*it) { set_attribute_value( std::distance(ent->derived().begin(), it), - Derived{}); + derived{}); } } } } -AttributeValue express::Entity::get(const std::string& name) const { +attribute_value express::Entity::get(const std::string& name) const { auto attrs = declaration().as_entity()->all_attributes(); auto iter = attrs.begin(); size_t idx = 0; @@ -143,104 +143,104 @@ AttributeValue express::Entity::get(const std::string& name) const { return get_attribute_value(idx); } } - throw IfcParse::IfcException(name + " not found on " + declaration().name()); + throw ifcopenshell::exception(name + " not found on " + declaration().name()); } std::vector express::Entity::get_inverse(const std::string& name) const { - const std::vector attrs = declaration().as_entity()->all_inverse_attributes(); - std::vector::const_iterator iter = attrs.begin(); + const std::vector attrs = declaration().as_entity()->all_inverse_attributes(); + std::vector::const_iterator iter = attrs.begin(); for (; iter != attrs.end(); ++iter) { if ((*iter)->name() == name) { - return file()->getInverse( + return file()->get_inverse( id(), (*iter)->entity_reference(), (int)(*iter)->entity_reference()->attribute_index((*iter)->attribute_reference())); } } - throw IfcParse::IfcException(name + " not found on " + declaration().name()); + throw ifcopenshell::exception(name + " not found on " + declaration().name()); } /* -void IfcUtil::IfcBaseClass::data(InstanceData* data) { +void ifcopenshell::IfcBaseClass::data(instance_data* data) { delete data_; data_ = data; } */ -IfcUtil::ArgumentType IfcUtil::make_aggregate(IfcUtil::ArgumentType elem_type) { +ifcopenshell::argument_type ifcopenshell::make_aggregate(ifcopenshell::argument_type elem_type) { switch (elem_type) { - case IfcUtil::Argument_INT: - return IfcUtil::Argument_AGGREGATE_OF_INT; - case IfcUtil::Argument_DOUBLE: - return IfcUtil::Argument_AGGREGATE_OF_DOUBLE; - case IfcUtil::Argument_STRING: - return IfcUtil::Argument_AGGREGATE_OF_STRING; - case IfcUtil::Argument_BINARY: - return IfcUtil::Argument_AGGREGATE_OF_BINARY; - case IfcUtil::Argument_ENTITY_INSTANCE: - return IfcUtil::Argument_AGGREGATE_OF_ENTITY_INSTANCE; - case IfcUtil::Argument_AGGREGATE_OF_INT: - return IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_INT; - case IfcUtil::Argument_AGGREGATE_OF_DOUBLE: - return IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE; - case IfcUtil::Argument_AGGREGATE_OF_ENTITY_INSTANCE: - return IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE; - case IfcUtil::Argument_EMPTY_AGGREGATE: - return IfcUtil::Argument_AGGREGATE_OF_EMPTY_AGGREGATE; + case ifcopenshell::Argument_INT: + return ifcopenshell::Argument_AGGREGATE_OF_INT; + case ifcopenshell::Argument_DOUBLE: + return ifcopenshell::Argument_AGGREGATE_OF_DOUBLE; + case ifcopenshell::Argument_STRING: + return ifcopenshell::Argument_AGGREGATE_OF_STRING; + case ifcopenshell::Argument_BINARY: + return ifcopenshell::Argument_AGGREGATE_OF_BINARY; + case ifcopenshell::Argument_ENTITY_INSTANCE: + return ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE; + case ifcopenshell::Argument_AGGREGATE_OF_INT: + return ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_INT; + case ifcopenshell::Argument_AGGREGATE_OF_DOUBLE: + return ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE; + case ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE: + return ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE; + case ifcopenshell::Argument_EMPTY_AGGREGATE: + return ifcopenshell::Argument_AGGREGATE_OF_EMPTY_AGGREGATE; default: - return IfcUtil::Argument_UNKNOWN; + return ifcopenshell::Argument_UNKNOWN; } } -IfcUtil::ArgumentType IfcUtil::from_parameter_type(const IfcParse::parameter_type* pt) { +ifcopenshell::argument_type ifcopenshell::from_parameter_type(const ifcopenshell::parameter_type* pt) { // TODO: How to detect derived types here without a reference to the refering entity? - const IfcParse::aggregation_type* at = pt->as_aggregation_type(); - const IfcParse::named_type* nt = pt->as_named_type(); - const IfcParse::simple_type* st = pt->as_simple_type(); + const ifcopenshell::aggregation_type* at = pt->as_aggregation_type(); + const ifcopenshell::named_type* nt = pt->as_named_type(); + const ifcopenshell::simple_type* st = pt->as_simple_type(); if (at != nullptr) { return make_aggregate(from_parameter_type(at->type_of_element())); } if (nt != nullptr) { if (nt->declared_type()->as_entity() != nullptr) { - return IfcUtil::Argument_ENTITY_INSTANCE; + return ifcopenshell::Argument_ENTITY_INSTANCE; } if (nt->declared_type()->as_enumeration_type() != nullptr) { - return IfcUtil::Argument_ENUMERATION; + return ifcopenshell::Argument_ENUMERATION; } if (nt->declared_type()->as_select_type() != nullptr) { - return IfcUtil::Argument_ENTITY_INSTANCE; + return ifcopenshell::Argument_ENTITY_INSTANCE; } if (nt->declared_type()->as_type_declaration() != nullptr) { return from_parameter_type(nt->declared_type()->as_type_declaration()->declared_type()); } } else if (st != nullptr) { switch (st->declared_type()) { - case IfcParse::simple_type::binary_type: - return IfcUtil::Argument_BINARY; - case IfcParse::simple_type::boolean_type: - return IfcUtil::Argument_BOOL; - case IfcParse::simple_type::integer_type: - return IfcUtil::Argument_INT; - case IfcParse::simple_type::logical_type: - return IfcUtil::Argument_LOGICAL; - case IfcParse::simple_type::number_type: - return IfcUtil::Argument_DOUBLE; - case IfcParse::simple_type::real_type: - return IfcUtil::Argument_DOUBLE; - case IfcParse::simple_type::string_type: - return IfcUtil::Argument_STRING; - case IfcParse::simple_type::datatype_COUNT: - throw IfcParse::IfcException("Invalid simple type encountered"); + case ifcopenshell::simple_type::binary_type: + return ifcopenshell::Argument_BINARY; + case ifcopenshell::simple_type::boolean_type: + return ifcopenshell::Argument_BOOL; + case ifcopenshell::simple_type::integer_type: + return ifcopenshell::Argument_INT; + case ifcopenshell::simple_type::logical_type: + return ifcopenshell::Argument_LOGICAL; + case ifcopenshell::simple_type::number_type: + return ifcopenshell::Argument_DOUBLE; + case ifcopenshell::simple_type::real_type: + return ifcopenshell::Argument_DOUBLE; + case ifcopenshell::simple_type::string_type: + return ifcopenshell::Argument_STRING; + case ifcopenshell::simple_type::datatype_COUNT: + throw ifcopenshell::exception("Invalid simple type encountered"); } } - return IfcUtil::Argument_UNKNOWN; + return ifcopenshell::Argument_UNKNOWN; } #ifdef _MSC_VER -std::string IfcUtil::path::to_utf8(const std::wstring& str) { +std::string ifcopenshell::path::to_utf8(const std::wstring& str) { int buffer_size = WideCharToMultiByte(CP_UTF8, 0, str.c_str(), -1, 0, 0, 0, 0); char* buffer = new char[buffer_size]; WideCharToMultiByte(CP_UTF8, 0, str.c_str(), -1, buffer, buffer_size, 0, 0); @@ -249,7 +249,7 @@ std::string IfcUtil::path::to_utf8(const std::wstring& str) { return str_utf8; } -std::wstring IfcUtil::path::from_utf8(const std::string& str) { +std::wstring ifcopenshell::path::from_utf8(const std::string& str) { int buffer_size = MultiByteToWideChar(CP_UTF8, 0, str.c_str(), -1, 0, 0); wchar_t* buffer = new wchar_t[buffer_size]; MultiByteToWideChar(CP_UTF8, 0, str.c_str(), -1, buffer, buffer_size); @@ -258,7 +258,7 @@ std::wstring IfcUtil::path::from_utf8(const std::string& str) { return str_wide; } -IFC_PARSE_API bool IfcUtil::path::rename_file(const std::string& old_filename, const std::string& new_filename) { +IFC_PARSE_API bool ifcopenshell::path::rename_file(const std::string& old_filename, const std::string& new_filename) { std::wstring old_filename_w = from_utf8(old_filename); std::wstring new_filename_w = from_utf8(new_filename); delete_file(new_filename); @@ -266,7 +266,7 @@ IFC_PARSE_API bool IfcUtil::path::rename_file(const std::string& old_filename, c return success; } -IFC_PARSE_API bool IfcUtil::path::delete_file(const std::string& filename) { +IFC_PARSE_API bool ifcopenshell::path::delete_file(const std::string& filename) { std::wstring filename_w = from_utf8(filename); const bool success = !!DeleteFileW(filename_w.c_str()); return success; @@ -274,14 +274,14 @@ IFC_PARSE_API bool IfcUtil::path::delete_file(const std::string& filename) { #else -IFC_PARSE_API bool IfcUtil::path::rename_file(const std::string& old_filename, const std::string& new_filename) { +IFC_PARSE_API bool ifcopenshell::path::rename_file(const std::string& old_filename, const std::string& new_filename) { // Whether or not rename() replaces an existing file is implementation-specific, // so remove() possible existing file always. delete_file(new_filename); return std::rename(old_filename.c_str(), new_filename.c_str()) == 0; } -IFC_PARSE_API bool IfcUtil::path::delete_file(const std::string& filename) { +IFC_PARSE_API bool ifcopenshell::path::delete_file(const std::string& filename) { return std::remove(filename.c_str()) != 0; } diff --git a/src/ifcparse/utils.h b/src/ifcparse/utils.h index e1623a8cdb..236c244e36 100644 --- a/src/ifcparse/utils.h +++ b/src/ifcparse/utils.h @@ -24,7 +24,7 @@ #ifndef IFCPARSE_UTILS_H #define IFCPARSE_UTILS_H -namespace IfcUtil { +namespace ifcopenshell { /// Replaces spaces and potentially other problem causing characters with underscores. IFC_PARSE_API void sanitate_material_name(std::string& str); @@ -54,6 +54,6 @@ IFC_PARSE_API inline std::string from_utf8(const std::string& str) { return str; } // namespace path -} // namespace IfcUtil +} // namespace ifcopenshell #endif diff --git a/src/ifcparse/variantarray.h b/src/ifcparse/variant_array.h similarity index 94% rename from src/ifcparse/variantarray.h rename to src/ifcparse/variant_array.h index 16e2659564..b06c4af282 100644 --- a/src/ifcparse/variantarray.h +++ b/src/ifcparse/variant_array.h @@ -34,7 +34,7 @@ variant - which is the maximum size of its constituents - is reduced. #include #include -#include "IfcException.h" +#include "exception.h" namespace impl { // Trait to detect unique_ptr @@ -114,11 +114,11 @@ namespace impl { } template -class VariantArray { +class variant_array { public: using TypesTuple = ::impl::MapTypes_t; - VariantArray(size_t size) + variant_array(size_t size) : size_and_indices_(size ? new uint8_t[size + 1] : nullptr) , storage_(size ? new StorageType[size] : nullptr) { @@ -132,7 +132,7 @@ public: } } - VariantArray(VariantArray&& other) noexcept + variant_array(variant_array&& other) noexcept : size_and_indices_(other.size_and_indices_) , storage_(other.storage_) { @@ -140,7 +140,7 @@ public: other.storage_ = nullptr; } - VariantArray& operator=(VariantArray&& other) noexcept { + variant_array& operator=(variant_array&& other) noexcept { if (this != &other) { free_(); @@ -153,11 +153,11 @@ public: return *this; } - VariantArray(const VariantArray&) = delete; - VariantArray(const VariantArray&&) = delete; - VariantArray& operator= (const VariantArray&) = delete; + variant_array(const variant_array&) = delete; + variant_array(const variant_array&&) = delete; + variant_array& operator= (const variant_array&) = delete; - template, VariantArray>>> + template, variant_array>>> void set(std::size_t index, T&& value) { using U = std::decay_t; static_assert(::impl::TypeIndex_v < sizeof...(Types), "Type not supported by variant"); @@ -177,13 +177,13 @@ public: } } - ~VariantArray() { + ~variant_array() { free_(); } std::size_t index(std::size_t index) const { if (index >= size()) { - throw IfcParse::IfcException( + throw ifcopenshell::exception( "Index " + std::to_string(index) + " is out of range for variant of size " + std::to_string(size()) ); } @@ -193,7 +193,7 @@ public: template T& get(std::size_t index) { if (index >= size()) { - throw IfcParse::IfcException( + throw ifcopenshell::exception( "Index " + std::to_string(index) + " is out of range for variant of size " + std::to_string(size()) ); } @@ -216,15 +216,15 @@ public: template const T& get(std::size_t index) const { if (index >= size()) { - throw IfcParse::IfcException( + throw ifcopenshell::exception( "Index " + std::to_string(index) + " is out of range for variant of size " + std::to_string(size()) ); } if (size_and_indices_[index + 1] != ::impl::TypeIndex::value) { - // @todo this IfcException is silly. Figure out what + // @todo this exception is silly. Figure out what // to do, but at the moment it is specifically caught // in various places. - throw IfcParse::IfcException( + throw ifcopenshell::exception( "Type held at index " + std::to_string(index) + " is " + get_type_name(size_and_indices_[index + 1]) + " and not " + typeid(T).name() ); @@ -240,7 +240,7 @@ public: template auto apply_visitor(Visitor&& visitor, std::size_t index) const { if (index >= size()) { - throw IfcParse::IfcException( + throw ifcopenshell::exception( "Index " + std::to_string(index) + " is out of range for variant of size " + std::to_string(size()) ); } diff --git a/src/ifcwrap/IfcGeomWrapper.i b/src/ifcwrap/IfcGeomWrapper.i index 5e23ba4a0e..d6faa6e549 100644 --- a/src/ifcwrap/IfcGeomWrapper.i +++ b/src/ifcwrap/IfcGeomWrapper.i @@ -449,7 +449,7 @@ assign_matrix_access(revolve); std::vector select_box(const express::Base& e, bool completely_within = false, double extend=-1.e-5) const { if (!e.declaration().is("IfcProduct")) { - throw IfcParse::IfcException("Instance should be an IfcProduct"); + throw ifcopenshell::exception("Instance should be an IfcProduct"); } return cast_vector($self->select_box(e.as(), completely_within, extend)); } @@ -464,7 +464,7 @@ assign_matrix_access(revolve); std::vector select(const express::Base& e, bool completely_within = false, double extend = 0.0) const { if (!e.declaration().is("IfcProduct")) { - throw IfcParse::IfcException("Instance should be an IfcProduct"); + throw ifcopenshell::exception("Instance should be an IfcProduct"); } return cast_vector($self->select(e.as(), completely_within, extend)); } @@ -512,13 +512,13 @@ assign_matrix_access(revolve); std::vector set_b_entities; for (auto& e : set_a) { if (!e.declaration().is("IfcProduct")) { - throw IfcParse::IfcException("All instances should be of type IfcProduct"); + throw ifcopenshell::exception("All instances should be of type IfcProduct"); } set_a_entities.push_back(e.as()); } for (auto& e : set_b) { if (!e.declaration().is("IfcProduct")) { - throw IfcParse::IfcException("All instances should be of type IfcProduct"); + throw ifcopenshell::exception("All instances should be of type IfcProduct"); } set_b_entities.push_back(e.as()); } @@ -530,13 +530,13 @@ assign_matrix_access(revolve); std::vector set_b_entities; for (auto& e : set_a) { if (!e.declaration().is("IfcProduct")) { - throw IfcParse::IfcException("All instances should be of type IfcProduct"); + throw ifcopenshell::exception("All instances should be of type IfcProduct"); } set_a_entities.push_back(e.as()); } for (auto& e : set_b) { if (!e.declaration().is("IfcProduct")) { - throw IfcParse::IfcException("All instances should be of type IfcProduct"); + throw ifcopenshell::exception("All instances should be of type IfcProduct"); } set_b_entities.push_back(e.as()); } @@ -548,13 +548,13 @@ assign_matrix_access(revolve); std::vector set_b_entities; for (auto& e : set_a) { if (!e.declaration().is("IfcProduct")) { - throw IfcParse::IfcException("All instances should be of type IfcProduct"); + throw ifcopenshell::exception("All instances should be of type IfcProduct"); } set_a_entities.push_back(e.as()); } for (auto& e : set_b) { if (!e.declaration().is("IfcProduct")) { - throw IfcParse::IfcException("All instances should be of type IfcProduct"); + throw ifcopenshell::exception("All instances should be of type IfcProduct"); } set_b_entities.push_back(e.as()); } @@ -618,17 +618,17 @@ struct ShapeRTTI : public boost::static_visitor // I couldn't get the vector typemap to be applied when %extending Iterator constructor. // anyway it does not matter as SWIG generates C code without actual constructors %inline %{ - IfcGeom::Iterator* construct_iterator(const std::string& geometry_library, ifcopenshell::geometry::Settings settings, IfcParse::IfcFile* file, int num_threads) { + IfcGeom::Iterator* construct_iterator(const std::string& geometry_library, ifcopenshell::geometry::Settings settings, ifcopenshell::file* file, int num_threads) { return new IfcGeom::Iterator(ifcopenshell::geometry::kernels::construct(file, geometry_library, settings), settings, file, num_threads); } - IfcGeom::Iterator* construct_iterator_with_include_exclude(const std::string& geometry_library, ifcopenshell::geometry::Settings settings, IfcParse::IfcFile* file, std::vector elems, bool include, int num_threads) { + IfcGeom::Iterator* construct_iterator_with_include_exclude(const std::string& geometry_library, ifcopenshell::geometry::Settings settings, ifcopenshell::file* file, std::vector elems, bool include, int num_threads) { std::set elems_set(elems.begin(), elems.end()); IfcGeom::entity_filter ef{ include, false, elems_set }; return new IfcGeom::Iterator(ifcopenshell::geometry::kernels::construct(file, geometry_library, settings), settings, file, {ef}, num_threads); } - IfcGeom::Iterator* construct_iterator_with_include_exclude_globalid(const std::string& geometry_library, ifcopenshell::geometry::Settings settings, IfcParse::IfcFile* file, std::vector elems, bool include, int num_threads) { + IfcGeom::Iterator* construct_iterator_with_include_exclude_globalid(const std::string& geometry_library, ifcopenshell::geometry::Settings settings, ifcopenshell::file* file, std::vector elems, bool include, int num_threads) { std::set elems_set(elems.begin(), elems.end()); IfcGeom::attribute_filter af; af.attribute_name = "GlobalId"; @@ -637,7 +637,7 @@ struct ShapeRTTI : public boost::static_visitor return new IfcGeom::Iterator(ifcopenshell::geometry::kernels::construct(file, geometry_library, settings), settings, file, {af}, num_threads); } - IfcGeom::Iterator* construct_iterator_with_include_exclude_id(const std::string& geometry_library, ifcopenshell::geometry::Settings settings, IfcParse::IfcFile* file, std::vector elems, bool include, int num_threads) { + IfcGeom::Iterator* construct_iterator_with_include_exclude_id(const std::string& geometry_library, ifcopenshell::geometry::Settings settings, ifcopenshell::file* file, std::vector elems, bool include, int num_threads) { std::set elems_set(elems.begin(), elems.end()); IfcGeom::instance_id_filter af(include, false, elems_set); return new IfcGeom::Iterator(ifcopenshell::geometry::kernels::construct(file, geometry_library, settings), settings, file, {af}, num_threads); @@ -864,19 +864,19 @@ struct ShapeRTTI : public boost::static_visitor template static std::variant helper_fn_create_shape(const std::string& geometry_library, ifcopenshell::geometry::Settings& st, const express::Base& instance, const express::Base& representation = express::Base()) { - IfcParse::IfcFile* file = instance.file(); + ifcopenshell::file* file = instance.file(); ifcopenshell::geometry::Converter kernel(ifcopenshell::geometry::kernels::construct(file, geometry_library, st), file, st); if (auto product = instance.as()) { if (representation) { if (!representation.declaration().is(Schema::IfcRepresentation::Class())) { - throw IfcParse::IfcException("Supplied representation not of type IfcRepresentation"); + throw ifcopenshell::exception("Supplied representation not of type IfcRepresentation"); } } if (!representation && !product.Representation()) { - throw IfcParse::IfcException("Representation is NULL"); + throw ifcopenshell::exception("Representation is NULL"); } auto prodrep = product.Representation(); @@ -936,16 +936,16 @@ struct ShapeRTTI : public boost::static_visitor // Return a random representation ifc_representation = reps.front(); } else { - throw IfcParse::IfcException("No suitable IfcRepresentation found"); + throw ifcopenshell::exception("No suitable IfcRepresentation found"); } } IfcGeom::BRepElement* brep = kernel.create_brep_for_representation_and_product(ifc_representation, product); if (!brep) { std::ostringstream oss_repr, oss_product; - ifc_representation.toString(oss_repr); - product.toString(oss_product); - throw IfcParse::IfcException("Failed to process shape. Product: " + oss_product.str() + ", representation: " + oss_repr.str()); + ifc_representation.to_string(oss_repr); + product.to_string(oss_product); + throw ifcopenshell::exception("Failed to process shape. Product: " + oss_product.str() + ", representation: " + oss_repr.str()); } if (st.get().get() == ifcopenshell::geometry::settings::SERIALIZED) { IfcGeom::SerializedElement* serialization = new IfcGeom::SerializedElement(*brep); @@ -961,7 +961,7 @@ struct ShapeRTTI : public boost::static_visitor } else if (instance.as() || instance.as()) { auto item = ifcopenshell::geometry::taxonomy::cast(kernel.mapping()->map(instance)); if (item == nullptr) { - throw IfcParse::IfcException("Failed to convert placement"); + throw ifcopenshell::exception("Failed to convert placement"); } if (st.get().get()) { // we pass the settings to the Transformation object, but access the data just offloads to the @@ -982,8 +982,8 @@ struct ShapeRTTI : public boost::static_visitor shapes = kernel.convert(instance); } catch (...) { std::ostringstream oss; - instance.toString(oss); - throw IfcParse::IfcException("Failed to process shape. Instance: " + oss.str()); + instance.to_string(oss); + throw ifcopenshell::exception("Failed to process shape. Instance: " + oss.str()); } IfcGeom::Representation::BRep brep(kernel.settings(), instance.declaration().name(), to_locale_invariant_string(instance.id()), shapes); @@ -994,11 +994,11 @@ struct ShapeRTTI : public boost::static_visitor return new IfcGeom::Representation::Triangulation(brep); } } catch (...) { - throw IfcParse::IfcException("Error during shape serialization"); + throw ifcopenshell::exception("error during shape serialization"); } } } else { - throw IfcParse::IfcException("Invalid additional representation specified"); + throw ifcopenshell::exception("Invalid additional representation specified"); } } return std::variant(); @@ -1104,7 +1104,7 @@ ifcopenshell::geometry::taxonomy::item::ptr try_upcast(PyObject* obj0, swig_type } #endif - throw IfcParse::IfcException("No geometry support for " + schema_name); + throw ifcopenshell::exception("No geometry support for " + schema_name); } // Manual definition of overload without representation argument @@ -1116,7 +1116,7 @@ ifcopenshell::geometry::taxonomy::item::ptr try_upcast(PyObject* obj0, swig_type #ifdef IFOPSH_WITH_OPENCASCADE %inline %{ - express::Base serialise(IfcParse::IfcFile& f, const std::string& shape_str, bool advanced=true) { + express::Base serialise(ifcopenshell::file& f, const std::string& shape_str, bool advanced=true) { std::stringstream stream(shape_str); BRepTools_ShapeSet shapes; shapes.Read(stream); @@ -1125,7 +1125,7 @@ ifcopenshell::geometry::taxonomy::item::ptr try_upcast(PyObject* obj0, swig_type return IfcGeom::serialise(f, shp, advanced); } - express::Base tesselate(IfcParse::IfcFile& f, const std::string& shape_str, double d) { + express::Base tesselate(ifcopenshell::file& f, const std::string& shape_str, double d) { std::stringstream stream(shape_str); BRepTools_ShapeSet shapes; shapes.Read(stream); diff --git a/src/ifcwrap/IfcParseWrapper.i b/src/ifcwrap/IfcParseWrapper.i index 57579df835..b78a3ce804 100644 --- a/src/ifcwrap/IfcParseWrapper.i +++ b/src/ifcwrap/IfcParseWrapper.i @@ -17,22 +17,22 @@ * * ********************************************************************************/ -%ignore IfcParse::IfcFile::register_inverse; -%ignore IfcParse::IfcFile::unregister_inverse; -%ignore IfcParse::IfcFile::schema; -%ignore IfcParse::IfcFile::begin; -%ignore IfcParse::IfcFile::end; -%ignore IfcParse::IfcFile::types_begin; -%ignore IfcParse::IfcFile::types_end; -%ignore IfcParse::IfcFile::internal_guid_map; -%ignore IfcParse::IfcFile::storage_; -%ignore IfcParse::IfcFile::byguid_; -%ignore IfcParse::IfcFile::byid_; -%ignore IfcParse::IfcFile::byref_excl_; -%ignore IfcParse::IfcFile::types_to_bypass_loading_; +%ignore ifcopenshell::file::register_inverse; +%ignore ifcopenshell::file::unregister_inverse; +%ignore ifcopenshell::file::schema; +%ignore ifcopenshell::file::begin; +%ignore ifcopenshell::file::end; +%ignore ifcopenshell::file::types_begin; +%ignore ifcopenshell::file::types_end; +%ignore ifcopenshell::file::internal_guid_map; +%ignore ifcopenshell::file::storage_; +%ignore ifcopenshell::file::byguid_; +%ignore ifcopenshell::file::byid_; +%ignore ifcopenshell::file::byref_excl_; +%ignore ifcopenshell::file::types_to_bypass_loading_; -%ignore IfcParse::InstanceStreamer>::readInstance; -%ignore IfcParse::InstanceStreamer>::stealInstances; +%ignore ifcopenshell::instance_streamer>::read_instance; +%ignore ifcopenshell::instance_streamer>::steal_instances; %ignore express::Entity; %ignore express::Select; @@ -41,24 +41,24 @@ %ignore in_memory_file_storage; %ignore rocks_db_file_storage; // Available as get_inverse(). -%ignore IfcParse::IfcFile::instances_by_reference; +%ignore ifcopenshell::file::instances_by_reference; -%ignore IfcParse::parse_context; +%ignore ifcopenshell::parse_context; %ignore operator<<; -%ignore IfcParse::FileDescription::FileDescription; -%ignore IfcParse::FileName::FileName; -%ignore IfcParse::FileSchema::FileSchema; -%ignore IfcParse::IfcFile::tokens; +%ignore ifcopenshell::FileDescription::FileDescription; +%ignore ifcopenshell::FileName::FileName; +%ignore ifcopenshell::FileSchema::FileSchema; +%ignore ifcopenshell::file::tokens; -%ignore IfcParse::IfcSpfHeader::file_description; -%ignore IfcParse::IfcSpfHeader::file_name; -%ignore IfcParse::IfcSpfHeader::file_schema; +%ignore ifcopenshell::spf_header::file_description; +%ignore ifcopenshell::spf_header::file_name; +%ignore ifcopenshell::spf_header::file_schema; -%ignore IfcParse::HeaderEntity::is; +%ignore ifcopenshell::HeaderEntity::is; -%ignore IfcParse::IfcFile::type_iterator; +%ignore ifcopenshell::file::type_iterator; %ignore express::Base::is; %ignore express::Base::operator==; @@ -67,13 +67,13 @@ %rename("by_guid") instance_by_guid; %rename("_by_type") instances_by_type; %rename("_by_type_excl_subtypes") instances_by_type_excl_subtypes; -%rename("get_inverses_by_declaration") getInverse; -%rename("get_total_inverses_by_id") getTotalInverses; +%rename("get_inverses_by_declaration") get_inverse; +%rename("get_total_inverses_by_id") get_total_inverses; %rename("entity_instance") express::Base; -%rename("file") IfcFile; +%rename("file") file; // _add() because mixin defined add which adds transaction logic -%rename("_add") addEntity; -%rename("_remove") removeEntity; +%rename("_add") add_entity; +%rename("_remove") remove_entity; %rename("_traverse") traverse; %rename("_traverse_breadth_first") traverse_breadth_first; @@ -112,29 +112,29 @@ PyObject* get_feature(const std::string& x) { %{ -static const std::string& helper_fn_declaration_get_name(const IfcParse::declaration* decl) { +static const std::string& helper_fn_declaration_get_name(const ifcopenshell::declaration* decl) { return decl->name(); } -static IfcUtil::ArgumentType helper_fn_attribute_type(const express::Base* instp, unsigned i) { +static ifcopenshell::argument_type helper_fn_attribute_type(const express::Base* instp, unsigned i) { const auto& inst = *instp; - const IfcParse::parameter_type* pt = 0; + const ifcopenshell::parameter_type* pt = 0; if (inst.declaration().as_entity()) { pt = inst.declaration().as_entity()->attribute_by_index(i)->type_of_attribute(); if (inst.declaration().as_entity()->derived()[i]) { - return IfcUtil::Argument_DERIVED; + return ifcopenshell::Argument_DERIVED; } } else if (inst.declaration().as_type_declaration() && i == 0) { pt = inst.declaration().as_type_declaration()->declared_type(); } else if (inst.declaration().as_enumeration_type() && i == 0) { // Enumeration is always from string in Python - return IfcUtil::Argument_STRING; + return ifcopenshell::Argument_STRING; } if (pt == 0) { - return IfcUtil::Argument_UNKNOWN; + return ifcopenshell::Argument_UNKNOWN; } else { - return IfcUtil::from_parameter_type(pt); + return ifcopenshell::from_parameter_type(pt); } } %} @@ -148,7 +148,7 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const express::Base* instp class RocksDBPrefixIterator { public: - RocksDBPrefixIterator(const IfcParse::impl::rocks_db_file_storage* storage, + RocksDBPrefixIterator(const ifcopenshell::impl::rocks_db_file_storage* storage, const std::string& prefix) : it_(storage->db->NewIterator(storage->ropts)), prefix_(prefix) { @@ -184,9 +184,9 @@ private: #endif %} -%newobject IfcParse::IfcFile::key_value_store_iter; +%newobject ifcopenshell::file::key_value_store_iter; -%extend IfcParse::IfcFile { +%extend ifcopenshell::file { /* // Use to correlate to entity_instance.file_pointer, so that we // can trace file ownership of instances on the python side. @@ -195,33 +195,33 @@ private: } */ - IfcFile(const std::string& schema) { - return new IfcParse::IfcFile(IfcParse::schema_by_name(schema)); + file(const std::string& schema) { + return new ifcopenshell::file(ifcopenshell::schema_by_name(schema)); } std::vector _get_inverse(const express::Base& e) { if (auto e_ = e.as()) { - return cast_vector($self->getInverse(e_.id(), 0, -1)); + return cast_vector($self->get_inverse(e_.id(), 0, -1)); } - throw IfcParse::IfcException("Only entities with ids are supported for get_inverse. Provided entity: '" + e.declaration().name() + "'."); + throw ifcopenshell::exception("Only entities with ids are supported for get_inverse. Provided entity: '" + e.declaration().name() + "'."); } std::vector _get_inverse_indices(const express::Base& e) { if (auto e_ = e.as()) { return $self->get_inverse_indices(e_.id()); } - throw IfcParse::IfcException("Only entities with ids are supported for get_inverse_indices. Provided entity: '" + e.declaration().name() + "'."); + throw ifcopenshell::exception("Only entities with ids are supported for get_inverse_indices. Provided entity: '" + e.declaration().name() + "'."); } int get_total_inverses(const express::Base& e) { if (auto e_ = e.as()) { - return $self->getTotalInverses(e_.id()); + return $self->get_total_inverses(e_.id()); } - throw IfcParse::IfcException("Only entities with ids are supported for get_total_inverses. Provided entity: '" + e.declaration().name() + "'."); + throw ifcopenshell::exception("Only entities with ids are supported for get_total_inverses. Provided entity: '" + e.declaration().name() + "'."); } void _write(const std::string& fn) { - std::ofstream f(IfcUtil::path::from_utf8(fn).c_str()); + std::ofstream f(ifcopenshell::path::from_utf8(fn).c_str()); if (!f.good()) { throw std::runtime_error("Failed to write to path: '" + fn + "', check folder and file permissions."); } @@ -235,9 +235,9 @@ private: } express::Base create(const std::string& entity_name, int id=-1) { - const IfcParse::declaration* decl = $self->schema()->declaration_by_name(entity_name); + const ifcopenshell::declaration* decl = $self->schema()->declaration_by_name(entity_name); if (!decl || !(decl->as_entity() || decl->as_type_declaration())) { - throw IfcParse::IfcException("No such entity or type declaration: '" + entity_name + "' in schema '" + $self->schema()->name()); + throw ifcopenshell::exception("No such entity or type declaration: '" + entity_name + "' in schema '" + $self->schema()->name()); } return $self->create(decl, id); } @@ -276,9 +276,9 @@ private: int storage_mode() const { return std::visit([](auto& m) -> int { - if constexpr (std::is_same_v, IfcParse::impl::in_memory_file_storage>) { + if constexpr (std::is_same_v, ifcopenshell::impl::in_memory_file_storage>) { return 0; - } else if constexpr (std::is_same_v, IfcParse::impl::rocks_db_file_storage>) { + } else if constexpr (std::is_same_v, ifcopenshell::impl::rocks_db_file_storage>) { return 1; } return -1; @@ -287,8 +287,8 @@ private: #ifdef IFOPSH_WITH_ROCKSDB RocksDBPrefixIterator* key_value_store_iter(const std::string& prefix) const { - auto* storage = std::visit([](auto& m) -> IfcParse::impl::rocks_db_file_storage const * { - if constexpr (std::is_same_v, IfcParse::impl::rocks_db_file_storage>) { + auto* storage = std::visit([](auto& m) -> ifcopenshell::impl::rocks_db_file_storage const * { + if constexpr (std::is_same_v, ifcopenshell::impl::rocks_db_file_storage>) { return &m; } return nullptr; @@ -301,8 +301,8 @@ private: #endif PyObject* key_value_store_query(const std::string& key) const { - auto* storage = std::visit([](auto& m) -> IfcParse::impl::rocks_db_file_storage const * { - if constexpr (std::is_same_v, IfcParse::impl::rocks_db_file_storage>) { + auto* storage = std::visit([](auto& m) -> ifcopenshell::impl::rocks_db_file_storage const * { + if constexpr (std::is_same_v, ifcopenshell::impl::rocks_db_file_storage>) { return &m; } return nullptr; @@ -354,8 +354,8 @@ private: } { - const std::vector attrs = $self->declaration().as_entity()->all_attributes(); - std::vector::const_iterator it = attrs.begin(); + const std::vector attrs = $self->declaration().as_entity()->all_attributes(); + std::vector::const_iterator it = attrs.begin(); for (; it != attrs.end(); ++it) { if ((*it)->name() == name) { if ($self->declaration().as_entity()->derived()[std::distance(attrs.begin(), it)]) { @@ -368,8 +368,8 @@ private: } { - const std::vector attrs = $self->declaration().as_entity()->all_inverse_attributes(); - std::vector::const_iterator it = attrs.begin(); + const std::vector attrs = $self->declaration().as_entity()->all_inverse_attributes(); + std::vector::const_iterator it = attrs.begin(); for (; it != attrs.end(); ++it) { if ((*it)->name() == name) { return 2; @@ -406,12 +406,12 @@ private: return std::vector(1, "wrappedValue"); } - const std::vector attrs = $self->declaration().as_entity()->all_attributes(); + const std::vector attrs = $self->declaration().as_entity()->all_attributes(); std::vector attr_names; attr_names.reserve(attrs.size()); - std::vector::const_iterator it = attrs.begin(); + std::vector::const_iterator it = attrs.begin(); for (; it != attrs.end(); ++it) { attr_names.push_back((*it)->name()); } @@ -424,12 +424,12 @@ private: return std::vector(0); } - const std::vector attrs = $self->declaration().as_entity()->all_inverse_attributes(); + const std::vector attrs = $self->declaration().as_entity()->all_inverse_attributes(); std::vector attr_names; attr_names.reserve(attrs.size()); - std::vector::const_iterator it = attrs.begin(); + std::vector::const_iterator it = attrs.begin(); for (; it != attrs.end(); ++it) { attr_names.push_back((*it)->name()); } @@ -449,11 +449,11 @@ private: return t; } - AttributeValue get_argument(unsigned i) { + attribute_value get_argument(unsigned i) { return $self->get_attribute_value(i); } - AttributeValue get_argument(const std::string& a) { + attribute_value get_argument(const std::string& a) { auto i = $self->declaration().as_entity()->attribute_index(a); if (i == -1) { throw std::runtime_error("Attribute '" + a + "' not found on entity named " + $self->declaration().name()); @@ -521,13 +521,13 @@ private: std::string __repr__() const { std::ostringstream oss; - $self->toString(oss); + $self->to_string(oss); return oss.str(); } std::string to_string(bool valid_spf = true) const { std::ostringstream oss; - $self->toString(oss, valid_spf); + $self->to_string(oss, valid_spf); return oss.str(); } @@ -544,7 +544,7 @@ private: } else if (a == "wrappedValue") { return 0; } else { - throw IfcParse::IfcException(a + " not found on " + $self->declaration().name()); + throw ifcopenshell::exception(a + " not found on " + $self->declaration().name()); } } @@ -552,16 +552,16 @@ private: if ($self->declaration().as_entity()) { return cast_vector($self->as().get_inverse(a)); } else { - throw IfcParse::IfcException(a + " not found on " + $self->declaration().name()); + throw ifcopenshell::exception(a + " not found on " + $self->declaration().name()); } } const char* const attribute_type(unsigned int i) const { - return IfcUtil::ArgumentTypeToString(helper_fn_attribute_type($self, i)); + return ifcopenshell::argument_type_to_string(helper_fn_attribute_type($self, i)); } const char* const attribute_type(const std::string& name) const { - return IfcUtil::ArgumentTypeToString(helper_fn_attribute_type($self, express_Base_get_argument_index($self, name))); + return ifcopenshell::argument_type_to_string(helper_fn_attribute_type($self, express_Base_get_argument_index($self, name))); } const std::string& attribute_name(unsigned int i) const { @@ -571,7 +571,7 @@ private: static std::string WRAPPED = "wrappedValue"; return WRAPPED; } else { - throw IfcParse::IfcException(boost::lexical_cast(i) + " out of bounds on " + $self->declaration().name()); + throw ifcopenshell::exception(boost::lexical_cast(i) + " out of bounds on " + $self->declaration().name()); } } @@ -580,7 +580,7 @@ private: // @nb we don't check anymore if the attribute is optional here, because it should be // possible to go back to the state at construction time. // bool is_optional = $self->declaration().as_entity()->attribute_by_index(i)->optional(); - self->set_attribute_value(i, Blank{}); + self->set_attribute_value(i, blank{}); return; } @@ -588,13 +588,13 @@ private: PyObject* idx = PyNumber_Index(o); // accepts numpy ints, bools, etc. if (!idx) { PyErr_Clear(); - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); } long v = PyLong_AsLong(idx); Py_DECREF(idx); if (PyErr_Occurred()) { PyErr_Clear(); - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); } return v; }; @@ -603,7 +603,7 @@ private: double v = PyFloat_AsDouble(o); // accepts ints and float-like objects if (PyErr_Occurred()) { PyErr_Clear(); - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); } return v; }; @@ -614,7 +614,7 @@ private: const char* s = PyUnicode_AsUTF8AndSize(o, &n); if (!s) { PyErr_Clear(); - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); } return std::string(s, static_cast(n)); } @@ -623,18 +623,18 @@ private: Py_ssize_t n = 0; if (PyBytes_AsStringAndSize(o, &s, &n) == -1) { PyErr_Clear(); - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); } return std::string(s, static_cast(n)); } - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); }; auto seq_fast = [&](PyObject* o) -> PyObject* { PyObject* fast = PySequence_Fast(o, "expected a sequence"); if (!fast) { PyErr_Clear(); - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); } return fast; // new ref }; @@ -704,7 +704,7 @@ private: } } - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); }; auto to_vec_base = [&](PyObject* o) -> std::vector { @@ -768,20 +768,20 @@ private: }; // Dispatch based on the IFC argument type (same decision Python was making before) - IfcUtil::ArgumentType arg_type = helper_fn_attribute_type($self, i); + ifcopenshell::argument_type arg_type = helper_fn_attribute_type($self, i); switch (arg_type) { - case IfcUtil::Argument_INT: { + case ifcopenshell::Argument_INT: { self->set_attribute_value(i, static_cast(to_index_long(value))); return; } - case IfcUtil::Argument_BOOL: { + case ifcopenshell::Argument_BOOL: { if (PyBool_Check(value)) { self->set_attribute_value(i, value == Py_True); } return; } - case IfcUtil::Argument_LOGICAL: { + case ifcopenshell::Argument_LOGICAL: { boost::logic::tribool t(boost::logic::indeterminate); if (PyBool_Check(value)) { t = (value == Py_True); @@ -789,7 +789,7 @@ private: if (PyObject* ascii = PyUnicode_AsEncodedString(value, "UTF-8", "strict")) { // value is kept as indeterminate if (strcmp(PyBytes_AS_STRING(ascii), "UNKNOWN") != 0) { - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); } Py_DECREF(ascii); } @@ -798,82 +798,82 @@ private: if (v == 0) t = false; else if (v == 1) t = true; else if (v == -1 || v == 2) t = boost::logic::tribool(boost::logic::indeterminate); - else throw IfcParse::IfcException("Attribute not set"); + else throw ifcopenshell::exception("Attribute not set"); } self->set_attribute_value(i, t); return; } - case IfcUtil::Argument_DOUBLE: { + case ifcopenshell::Argument_DOUBLE: { self->set_attribute_value(i, to_double(value)); return; } - case IfcUtil::Argument_STRING: + case ifcopenshell::Argument_STRING: self->set_attribute_value(i, to_string(value)); return; - case IfcUtil::Argument_ENUMERATION: { - const IfcParse::enumeration_type* enum_type = $self->declaration().schema()->declaration_by_name($self->declaration().type())->as_entity()-> + case ifcopenshell::Argument_ENUMERATION: { + const ifcopenshell::enumeration_type* enum_type = $self->declaration().schema()->declaration_by_name($self->declaration().type())->as_entity()-> attribute_by_index(i)->type_of_attribute()->as_named_type()->declared_type()->as_enumeration_type(); - self->set_attribute_value(i, EnumerationReference(enum_type, enum_type->lookup_enum_offset(to_string(value)))); + self->set_attribute_value(i, enumeration_reference(enum_type, enum_type->lookup_enum_offset(to_string(value)))); return; - } case IfcUtil::Argument_BINARY: { + } case ifcopenshell::Argument_BINARY: { std::string s = to_string(value); - if (IfcUtil::valid_binary_string(s)) { + if (ifcopenshell::valid_binary_string(s)) { boost::dynamic_bitset<> bits(s); self->set_attribute_value(i, bits); } return; } - case IfcUtil::Argument_AGGREGATE_OF_INT: { + case ifcopenshell::Argument_AGGREGATE_OF_INT: { self->set_attribute_value(i, to_vec_int(value)); return; } - case IfcUtil::Argument_AGGREGATE_OF_DOUBLE: { + case ifcopenshell::Argument_AGGREGATE_OF_DOUBLE: { self->set_attribute_value(i, to_vec_double(value)); return; } - case IfcUtil::Argument_AGGREGATE_OF_STRING: + case ifcopenshell::Argument_AGGREGATE_OF_STRING: self->set_attribute_value(i, to_vec_string(value)); return; - case IfcUtil::Argument_AGGREGATE_OF_BINARY: { + case ifcopenshell::Argument_AGGREGATE_OF_BINARY: { auto vs = to_vec_string(value); std::vector< boost::dynamic_bitset<> > bits; bits.reserve(vs.size()); for (auto& v : vs) { - if (IfcUtil::valid_binary_string(v)) { + if (ifcopenshell::valid_binary_string(v)) { bits.push_back(boost::dynamic_bitset<>(v)); } else { - throw IfcParse::IfcException("String not a valid binary representation"); + throw ifcopenshell::exception("String not a valid binary representation"); } } self->set_attribute_value(i, bits); return; } - case IfcUtil::Argument_ENTITY_INSTANCE: { + case ifcopenshell::Argument_ENTITY_INSTANCE: { self->set_attribute_value(i, to_base(value)); return; } - case IfcUtil::Argument_AGGREGATE_OF_ENTITY_INSTANCE: { + case ifcopenshell::Argument_AGGREGATE_OF_ENTITY_INSTANCE: { self->set_attribute_value(i, to_vec_base(value)); return; } - case IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_INT: { + case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_INT: { self->set_attribute_value(i, to_vec_vec_int(value)); return; } - case IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE: { + case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_DOUBLE: { self->set_attribute_value(i, to_vec_vec_double(value)); return; } - case IfcUtil::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE: { + case ifcopenshell::Argument_AGGREGATE_OF_AGGREGATE_OF_ENTITY_INSTANCE: { self->set_attribute_value(i, to_vec_vec_base(value)); return; } default: - throw IfcParse::IfcException("Attribute not set"); + throw ifcopenshell::exception("Attribute not set"); } } - IfcParse::IfcFile* file_py() const { + ifcopenshell::file* file_py() const { return $self->file(); } @@ -883,7 +883,7 @@ private: %} } -%extend IfcParse::IfcSpfHeader { +%extend ifcopenshell::spf_header { // Upcast to header instances for SWIG, because // it has no idea about the schema definitions. express::Base file_description_py() { @@ -904,7 +904,7 @@ private: }; %include "../ifcparse/ifc_parse_api.h" -%include "../ifcparse/IfcSpfHeader.h" +%include "../ifcparse/spf_header.h" %pythoncode %{ ### hack hack hack @@ -916,8 +916,8 @@ from .file import file_mixin as custom_base object = custom_base %} -%include "../ifcparse/IfcFile.h" -%template(InstanceStreamer) IfcParse::InstanceStreamer>; +%include "../ifcparse/file.h" +%template(instance_streamer) ifcopenshell::instance_streamer>; %pythoncode %{ ### hack hack hack @@ -945,64 +945,64 @@ object = custom_base object = _old_object %} -%include "../ifcparse/IfcSchema.h" +%include "../ifcparse/schema.h" %include "../serializers/RocksDbSerializer.h" -// The IfcFile* returned by open() is to be freed by SWIG/Python +// The file* returned by open() is to be freed by SWIG/Python %newobject open; %newobject read; %newobject parse_ifcxml; %newobject stream_from_string; %inline %{ - IfcParse::IfcFile* open(const std::string& fn, bool readonly=false) { - IfcParse::IfcFile* f; + ifcopenshell::file* open(const std::string& fn, bool readonly=false) { + ifcopenshell::file* f; Py_BEGIN_ALLOW_THREADS; - f = new IfcParse::IfcFile(fn, IfcParse::FT_AUTODETECT, readonly); + f = new ifcopenshell::file(fn, ifcopenshell::FT_AUTODETECT, readonly); Py_END_ALLOW_THREADS; return f; } - IfcParse::IfcFile* read(const std::string& data) { + ifcopenshell::file* read(const std::string& data) { char* copiedData = new char[data.length()]; memcpy(copiedData, data.c_str(), data.length()); - IfcParse::IfcFile* f; + ifcopenshell::file* f; Py_BEGIN_ALLOW_THREADS; - f = new IfcParse::IfcFile((void *)copiedData, data.length()); + f = new ifcopenshell::file((void *)copiedData, data.length()); Py_END_ALLOW_THREADS; return f; } - IfcParse::InstanceStreamer>* stream_from_string(const std::string& data) { + ifcopenshell::instance_streamer>* stream_from_string(const std::string& data) { char* copiedData = new char[data.length()]; memcpy(copiedData, data.c_str(), data.length()); - return new IfcParse::InstanceStreamer>((void *)copiedData, data.length()); + return new ifcopenshell::instance_streamer>((void *)copiedData, data.length()); } const char* version() { return IFCOPENSHELL_VERSION; } - express::Base new_IfcBaseClass(IfcParse::IfcFile* file, const std::string& name) { + express::Base new_IfcBaseClass(ifcopenshell::file* file, const std::string& name) { return file->create(file->schema()->declaration_by_name(name)); } %} -%extend IfcParse::named_type { +%extend ifcopenshell::named_type { %pythoncode %{ def __repr__(self): return repr(self.declared_type()) %} } -%extend IfcParse::simple_type { +%extend ifcopenshell::simple_type { %pythoncode %{ def __repr__(self): return "<%s>" % self.declared_type() %} } -%extend IfcParse::aggregation_type { +%extend ifcopenshell::aggregation_type { std::string type_of_aggregation_string() const { static const char* const aggr_strings[] = {"array", "bag", "list", "set"}; return aggr_strings[(int) $self->type_of_aggregation()]; @@ -1019,50 +1019,50 @@ object = _old_object %} } -%extend IfcParse::type_declaration { +%extend ifcopenshell::type_declaration { %pythoncode %{ def __repr__(self): return "" % (self.name(), self.declared_type()) %} std::vector argument_types() { std::vector r; - auto at = IfcUtil::Argument_UNKNOWN; + auto at = ifcopenshell::Argument_UNKNOWN; auto pt = $self->declared_type(); if (pt) { - at = IfcUtil::from_parameter_type(pt); + at = ifcopenshell::from_parameter_type(pt); } - r.push_back(IfcUtil::ArgumentTypeToString(at)); + r.push_back(ifcopenshell::argument_type_to_string(at)); return r; } } -%extend IfcParse::select_type { +%extend ifcopenshell::select_type { %pythoncode %{ def __repr__(self): return "